Imperial vs. Metric Units

In metric, one milliliter of water occupies one cubic centimeter, weighs one gram, and requires one calorie of energy to heat up by one degree centigrade — which is 1 percent of the difference between its freezing point and its boiling point. An amount of hydrogen weighing the same amount has exactly one mole of atoms in it. Whereas in the American system, the answer to ‘How much energy does it take to boil a room-temperature gallon of water?’ is ‘Go fuck yourself,’ because you can’t directly relate any of those quantities.
Josh Bazell: Wild Thng


Also check out Alessandro Rossini’s excellent post about this quote.

Make a Bootable Ubuntu USB stick: The Easy Way

By far the fastest way to install a new operating system is from a USB memory stick. In this post I’m going to show you the easiest way of making an Ubuntu bootable USB stick. For this we’ll use UNetbootin, a small portable program that turns your USB stick into a bootable drive – the alternative of a CD for example, from which you can install an operating system.

You will need:

  • A USB stick at least 1GB in size
  • Decent internet access for downloading Ubuntu or another Linux distribution of your choice
  • A computer that can boot from USB (check your BIOS settings and boot options)

Step 1: Prepare your USB drive

Insert your USB memory stick into an empty port and make sure to backup any files that you need from it as we’ll be formatting the drive later. This isn’t mandatory, but I like to format the drives I’m working with as it makes things much neater if you don’t mix personal files with the Linux distribution that you’re installing.

Step 2: Download & Run UNetbootin

Navigate to UNetbootin’s SourceForge page and download the latest version of the program. Once it’s downloaded you can run it straight away as it doesn’t require an installation.

Step 3: Select your desired distribution and destination memory stick

For this tutorial we’ll pick Ubuntu. By default the program will select the most recent Live version of the distribution, but since I have a 64-bit processor, I’ll go for the x64 version.

The next thing you’ll want to do is to make sure that you’ve selected the correct drive letter. Check in Start -> Computer to confirm. In my case this is drive E:\

Step 4: Run the program and sit back

At this stage you just have to press OK and let UNetbootin do its thing. It will download the correct ISO, unpack the files and make your flash drive bootable.

Step 5: Boot from the USB stick

Now the only thing you need to do is boot from the memory stick and you’ll be able to run Ubuntu Live. Check your BIOS settings to make sure USB boot is enabled. During restart most systems will allow you to select a boot device by pressing a key like Esc, Del or F12 – check Google or your manufacturer’s website for more information.

How to enable WordPress permalinks using Webuzo and Nginx

If you are using WordPress on Webuzo with a LEMP stack, chances are you’ve had trouble with making the permalinks on your website work. Below is a tutorial on how to fix this in Webuzo and enable pretty URLs.

The first thing we’ll need to do is create a config file on the server. For this you can use SSH, file transfer or even the File Manager under Server Utilities in Webuzo’s Enduser Panel.

I like to put my custom configuration files under /home/user/myconfigs/ so I can easily find them, but you can pick any destination you want. In our chosen folder, we create the file or files that will be enabling pretty URLs on the server. You can have one common file across multiple websites, or if you require different configurations, you might have /home/user/myconfigs/type1.conf and /home/user/myconfigs/type2.conf

Inside the config file you’ll need the following code that is standard for enabling permalinks in WordPress on Nginx (thanks Soumik Ghosh).

location / {
    index index.php index.html index.htm;
    try_files $uri $uri/ /index.php?$args;

Note the location attribute; if your WordPress installation is in a subfolder like /blog , you’ll need to create a separate file for that domain and alter the line as follows:

location /blog/ {

Now that we’ve created the configuration file(s), we need to navigate to Features > Extra Configuration and add them as records to our domains. Select the desired website and the Nginx server and paste the path to your config file; then click Add Record.

Webuzo Extra Configuration

If your WordPress permalink settings are correct, everything should start working straight away, even without the need to manually restart Nginx yourself. Enjoy your new beautiful URL functionality!