Archive for September, 2008

HOWTO: Install a .TTF Font in Ubuntu Hardy Heron

If you have a .ttf file (lets call it your_font.ttf) that you have downloaded and want to install it as an available font you should follow these steps:

1. Create somewhere to keep your .ttf fonts:
sudo mkdir /usr/share/fonts/truetype/custom

2. Copy your font there:
sudo cp your_font.ttf /usr/share/fonts/truetype/custom

3. Run the following command to rebuild your font cache:
sudo fc-cache -f -v

That should be it! Your sexy new font should now be available.

Toshiba U100 Maintenance Manual

My U100 needs a replacement screen so I’ve been hunting around for some information on how to replace it.  I was lucky enough to come across the U100 maintenance manual which I’ve made available here.

HOW TO: Load and display images from a folder in PHP

If you have an unknown quantity of images in a folder and want to cycle through them and display (in a table or similar) then this snippet should get you started.

Continue reading ‘HOW TO: Load and display images from a folder in PHP’

Add a ‘Stop Phorm’ button to your website.

As you probably already know Phorm plan to spy on every move you make on the internet so they can target advertising at you, cuz they figure you don’t see enough in a day…  This is the thin edge of a very dangerous wedge and needs to be stopped now.

The British Government appears to be caving in to it’s commercial sponsors and is set to allow this to be rolled out.  Once it’s done there will be little hope of ever getting it removed so if you care about your privacy you need to act now.

Please go here and sign the petitition, add the ’stop phorm’ button below to your website or blog if you have  one to encourage others to do the same. If you are in the UK then write to your MP.  If you can do nothing else then please at least Digg this article or share somehow using one of the options below.

Thanks

To add the ‘Stop Phorm’ button to your website or blog copy and paste the code below:
<a href="http://petitions.number10.gov.uk/ispphorm/"><img src="http://www.daryl.mu/images/stop_phorm.png" title="Stop Phorm" alt="Stop Phorm!" border="0" height="15" width="80" /></a>

HOW TO: Auto login to IRC using IRSSI

For Linux I reckon irssi is probably the coolest IRC client out there and has some nifty features for a terminal app. It can be installed with:

sudo apt-get install irssi

One of the first thing you will probably need to do is set it up to auto login.  This can be done in a couple of simple steps:

Continue reading ‘HOW TO: Auto login to IRC using IRSSI’

HOW TO: Harden and Secure SSH on Ubuntu Linux

If you want to harden and secure your SSH installation on Ubuntu Linux then there are a few simple steps you can follow:

Continue reading ‘HOW TO: Harden and Secure SSH on Ubuntu Linux’

HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu

Dolphin Smart Community Builder is a very cool open source social networking script that oddly does not seem to have much in the way of installation instructions.  After some digging around I managed to get in installed by following these steps:

Continue reading ‘HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu’




Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS