Squeeze: Installing VirtualBox 3.2_3.2.12-68302~Debian~squeeze_amd64

First we install some required packages sudo aptitude install libqt4-network libqt4-opengl libqtcore4 libqtgui4 Then we install VirtualBox download from VirtualBox.org : sudo dpkg -i virtualbox-3.2_3.2.12-68302~Debian~squeeze_amd64.deb Include your user in the group “vboxusers”

Linux:: settings shortcuts for your ssh connections to hosts

If you wish you could use friendly names to access your servers, here’s how to do it: Edit your ~/.ssh/config and add the following: Host myserver HostName 123.123.123.123 Port 12345 User bob Host other_server HostName test.something.org User alice CheckHostIP no Cipher blowfish Please, remember to customize “HostName” and “User” values… Continue reading

Google Talk freezes when selecting “Show Current Music Track” and Winamp 5 is running

I have been a fan on Winamp since version 1.0 and I like Google talk too. Sometimes I want to show people what music is playing on my box and wish that Google Talk would not freeze when I do it. That’s not the case by default unfortunately. So here’s… Continue reading

Great way to integrate SwiftMailer and Kohana 3

Just found this post: http://www.flynsarmy.com/2010/06/integrating-swift-mailer-into-kohana-3/ by Flynsarmy showing the simplest way to integrate SwiftMailer and Kohana 3 Create the following files/folders: /modules/swiftmailer /modules/swiftmailer/init.php /modules/swiftmailer/classes Inside /modules/swiftmailer/classes/ drop the official latest build of Swift Mailer. Enter the following into init.php. <?php require Kohana::find_file(‘classes’, ‘Swift-4.0.6/lib/swift_required’); There. Wasn’t that easy? Remember to enable… Continue reading

Windows 7: Enabling auto-logon

Here’s what you do to enable automatic log on to your Windows 7 user account Hit WindowsKey+R and execute control userpasswords2 On the dialog that opens, click on the username that you wish to enable automatic log on and uncheck the “Users must enter a user name and password to… Continue reading

WRT160n v3 flawed 3.0.02 firmware: DHCP can’t keep track of leases: IP conflicts all over the place

Very often here at the office we have loss of internet connection even though it seems the local network connection never goes down. Besides losing the internet connection, my laptop frequently displays a message saying there’s an IP conflict, which doesn’t make much sense as the only DHCP server running… Continue reading

How Gullible Are We?

This was found on the newsgroup: rec.humor.funny / found using StumbleUpon H2O: Dangerous Chemical! A student at Eagle Rock Junior High won first prize at the Greater Idaho Falls Science Fair, April 26. He was attempting to show how conditioned we have become to alarmists practicing junk science and spreading fear… Continue reading

Organize your DropBox shared folders the right way

When someone shares a DropBox folder with you, it goes to the root folder of your DropBox, which most of the times will not be good enough and ends up messing the very well planned structure that you wanted 🙂 If you simply drag and drop the shared folder somewhere… Continue reading

NGINX with Kohana 3.x friendly URLs

I really enjoy working with Kohana and since I got a server from one of the hosting companies listed at LowEndBox, I decided to ditch Apache and go with Nginx, thing is… I also like pretty URLs 🙂 As a backup from the comment located here: http://forum.kohanaframework.org/discussion/comment/11553/#Comment_11553 I’m copying and… Continue reading

php:// function to clean string for SEO usage

If you need a good function to clean strings to use them as URLs for SEO purposes, here’s a suggestion: function chunk_special_chars($string) { $normalizeChars = array( ‘Š’=>’S’, ‘š’=>’s’, ‘Ð’=>’Dj’,’Ž’=>’Z’, ‘ž’=>’z’, ‘À’=>’A’, ‘Á’=>’A’, ‘Â’=>’A’, ‘Ã’=>’A’, ‘Ä’=>’A’, ‘Å’=>’A’, ‘Æ’=>’A’, ‘Ç’=>’C’, ‘È’=>’E’, ‘É’=>’E’, ‘Ê’=>’E’, ‘Ë’=>’E’, ‘Ì’=>’I’, ‘Í’=>’I’, ‘Î’=>’I’, ‘Ï’=>’I’, ‘Ñ’=>’N’, ‘Ò’=>’O’, ‘Ó’=>’O’, ‘Ô’=>’O’, ‘Õ’=>’O’,… Continue reading