Simulacre.org

Javascript, Ruby and Japan

Archive for the ‘Infrastructure’ Category and Its Children

Create a 2GB RAM Disk in OSX

1
            
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://4194304`
            

The only variable is the number of sectors. Calculate it by (size in MB) * 2048

Back in Time: Time Machine for Ubuntu Linux

Back In Time is a great GUI that reproduces the most important OSX Time Machine features: simple graphical configuration and snapshot backups. The current version (0.9.26) is, unfortunately, broken if you want to back up an entire installation. There is a fix, but the developer has not released it yet. Applying the fix yourself is, fortunately, very easy.

Read More »

Setup a Content Delivery Network in 30 Minutes

Using a Content Delivery Network will cut down on your hosting fees and improve user experience. Most CDNs are expensive. Building your own is horribly expensive and complicated. Google is cheap and easy, but in a good way.

Read More »