Published by daryl September 23rd, 2008
in Linux, Ubuntu and 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.
Published by daryl September 22nd, 2008
in Libretto U100.
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.
Published by daryl September 21st, 2008
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’
Published by daryl September 20th, 2008
in free web.
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>
Published by daryl September 20th, 2008
in Linux, Ubuntu and irc.
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’
Published by daryl September 16th, 2008
in Linux and Ubuntu.
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’
Published by daryl September 11th, 2008
in Ubuntu and dolphin.
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’