Until death do us part

How come it’s so hard to let go of a simple small material possession you’ve owned for five years and have carried with you for that whole time? I never imagined myself to be such a sucker for sentimentality, but it turns out I am, or at least – I am considering this. This little ribbon of gold is harder to remove than I would have ever thought it would be.  […]   »

All good things must come to an end.

It’s a shame, but its true – they do. Most of the time you wonder why they did, but in some cases that’s pretty clear. Doesn’t take away the fact that you can ponder everything else regarding it endlessly. I think a week of that is enough and I am going to stop analyzing everything and just let things be. Not to say it won’t be on my mind, but at least I am not actively going to give my self a headache going over and over it all.  […]   »

No comment

Due to the extreme (200 a week) spam comments, I decided to remove the comments altogether. It’s not like I need comments to be posted, as this site is just a notepad for me to write interesting stuff down on. If anyone feels they need to leave an opinion about anything I posted here, they can use the contact form.  […]   »

Play Sid Meier’s Alpha Centauri on Linux

Installation

Insert the cd or mount the iso.

sudo mount -o loop -t iso9660 Alpha_Centauri.iso /mnt/

Follow the steps of the installer, be sure to do a full install so the cd isn’t needed to play the game. (How cool would it be if you could still do that these days?)
 

Now install the patch using this file.
(Be sure to right click and select save as!)

Cd into the folder where the patch is and make the file executable with;

chmod +x smac-6.0b-x86.run

And then run it.  […]   »

After installing Bodhi

I use Linux and Bodhi is my OS of choice. Bodhi’s core beliefs are minimalism and user choice, this means that after you’re done installing you end up with a bare bones OS, which you can totally make your own due to the use of Enlightenment as its desktop environment. The following is what I usually do after installing Bodhi.
 

First Run

When you first launch Bodhi, after logging in, you’re asked to pick a profile.  […]   »

ATI driver on Bodhi 1.4

This is the result of two days of messing with the new ATI driver (12.3) on Bodhi 1.4.0. After two whole days of battling this poor excuse of a driver/graphics card I decided to simply use an older version (11.11) which will work on the current Bodhi kernel without throwing heaps of errors about compiling, modules, fire and natural disasters.

So here goes. As the driver needs headers we’re going to install the ones that belong to the kernel Bodhi is currently using, as well as several other packages we also will need.  […]   »

Useful Commands

A bunch of random useful terminal commands.

du -sh [folder/file]
Shows the size of the folder or file.

rsync -avP [source folder] [destination folder]
Use rsync to copy a folder to another folder, using the archive, verbose and progress flags.
Notice: you can “pause” this command using CTRL+C and continue it later.

sudo leafpad /etc/apt/sources.list
Show the sources list, to add, remove or edit repositories.

sudo add-apt-repository ppa:[repo]
Add a repo to the sources list.  […]   »

How Linux is built

Thanks Jeff for pointing me to it. Awesome video on how Linux is built.

  […]   »

Useful web development websites

While creating web content you come across many sites. Some useful, some not so much. The following few I found to be very convenient while creating online content.
 

Stack Overflow

This – in my humble opinion – is the best place to go with any and all web/programming related questions you can’t solve on your own using a search engine. There are loads of people willing and able to help.  […]   »

Ripping and encoding MP3

Fast easy way to rip an audio cd and encode it in mp3 format. First install two applications;
sudo apt-get install lame && sudo apt-get install cdparanoia
 

Rip

To rip run;
cdparanoia -B
More options are available, use -h to see the list.
 

Encode

Next, encode it to mp3.

For simple batch encoding when the file names have no spaces, from its directory;
for f in *.wav ; do lame $f ; done
 

If the files do have spaces in the name use;
for f in *.wav ; do lame "$f" ; done
 

And if you want to remove the .wav files after encoding use;
for f in *.mp3 ; do AUFILE=`basename "$f" .mp3` ; rm "$AUFILE"; done  […]   »

Syndicate content