Vitobotta - vitobotta.com - has_many :codes
General Information:
Latest News:
Securely copying files via an intermediate server with SSH or SCP 19 Mar 2013 | 02:00 am
A couple tricks to copy files from a remote server through an intermediate gateway; useful when you don't have direct access to the remote server but the gateway does. [[ This is a content summary on...
Setting up a Percona/Galera MySQL Cluster 17 Mar 2013 | 02:00 am
In which I go through the steps required to set up a MySQL cluster based on Galera's synchronous replication using Percona's optimised distribution of MySQL. [[ This is a content summary only. Visit ...
Setting up an L2TP over IPSec VPN server on Ubuntu, also compatible with iOS devices 28 Feb 2013 | 03:00 am
A simple guide on how to quickly setup a secure VPN access for use with computers as well as iPhones and other mobile devices. [[ This is a content summary only. Visit my website for full links, othe...
OS X: Moving a user's home directory to an encrypted second drive 17 Aug 2012 | 02:00 am
FileVault2 makes it easy to fully encrypt the main drive, but if you want to migrate your home directory to a second drive also encrypted, you are normally out of luck. Here's a workaround to achieve ...
Bitwise operations in Ruby, and an example application to testing with Rspec 9 Aug 2012 | 02:00 am
How to simplify some scenarios in testing by applying simple bitwise operations. [[ This is a content summary only. Visit my website for full links, other content, and more! ]]
Recovering from MySQL replication stops caused by failing statements 6 Jun 2012 | 05:00 am
A simple tip on how to quickly get a slave in sync again when replication stops and there is no need to rebuild the slave. [[ This is a content summary only. Visit my website for full links, other co...
Resque: automatically kill stuck workers and retry failed jobs 24 May 2012 | 09:00 am
If you use Resque for your background jobs, and have to manually intervene when workers get stuck or jobs fail for some reason, you might find this tip useful. [[ This is a content summary only. Visi...
Managing KVM-LVM based virtual machines: backups, cloning, and more 21 May 2012 | 09:00 am
In this follow up I'll mention a few commands that I use to do basic management of my KVM virtual machines - things such as backups, cloning VMs and more. [[ This is a content summary only. Visit my ...
Setting up a KVM-LVM based virtual machine host 7 May 2012 | 09:00 am
In this post I describe the environment and tasks I am currently using to manage virtual machines for development, testing and fun. The setup involves KVM as hypervisor and using an LVM-based storage ...
Custom RSpec matchers for blocks, and the Ruby magic behind their inner workings 25 Feb 2012 | 12:00 pm
In RSpec it is possible to define special custom matchers that enable us to test with a neat syntax what happens when some code is executed, while also helping reduce duplication. [[ This is a conten...