Archive for the ‘Tips & Tricks’ Category

Strtoupper Å Ä Ö fix UTF-8

As you might know the Stroupper dont work with special chars like Å Ä Ö. Also its not working to do str_replace sice Å Ä Ö is not supported there. But there is a way to do this easy with mb_stroupper and use UTF-8, see my example:
$string = “åäö”;
$string=mb_strtoupper($string, “utf-8″);
echo $string;
Enjoy!
$string=mb_strtoupper($string, “utf-8″);


FTP server Ubuntu with graphic

GproFTPD is a good graphic based FTP server for Ubuntu. For install simpley type:
sudo apt-get update
sudo apt-get install gproftpd.
After installation just start the program by: sudo gproftpd and setup your FTP server and users.


Unexpected end of mysql – EasyPHP

When I was running EasyPHP on my Vista machine I got error:
unexpected end of mysql
To solve this just quit easyPHP and then right click on easyphp.exe and run as administrator. Hope it helped. Dident find this trick on google so perhaps you did
Good luck!


Skype in your Nokia N97

Now I finally got my new Nokia N97 and I really like this “little” phone! But since I am as you already know a huge fan of Skype I just had to install it on my new phone. But skype have not yet created a offical version of Skype to Nokia N97 so I decide [...]


Add printer in Ubuntu, Linux

Little tips how to add network or regular printer to Ubuntu. Go to System>Admin>Printers.
Then New > Printer. Here you choose if you have a network or regular (ex USB). If you have network just enter the IP address and then serch. After you have to select printer for install drivers. All mine networks printer have [...]


.local domain message Ubuntu, Linux

I was getting a message when i connected to my wireless network that said I hade .local domain thats not recommended. To get this dissapere I just wrote this two command into the terminal and rebooted. After that it worked fine:
sudo sed -i -e’/AVAHI_DAEMON_DETECT_LOCAL/s/1/0/’ /etc/default/avahi-daemon
sudo service avahi-daemon start
Did see it on: http://ubuntu-se.org/phpBB3/viewtopic.php?f=17&t=41977&hilit=dom%C3%A4n#p340853
Thanks!


Open RAR in Ubuntu, Linux

To open RAR in Ubuntu, install unrar by typing in the terminal:
sudo aptitude install unrar
Then you can open your rar file as usually


Convert AVI to ISO (DVD) easy on Ubuntu

Was in need to convert a avi file to iso file and did find a perfect program for this. DeVeDe is the name and you will find it in synaptic. Install and use, choose video DVD if you want to burn it out and then watch it on your DVD-player. You can add subtitles and [...]


Webcame driver/program for Ubuntu

Today I did get a tip for a webcam program(driver?) on a forum. The program is called Cheese, its in synaptic or if you more like the terminal just write “sudo aptitude install cheese”. After installation you will find it under graphic. Try out some cool effects while testing, take a look at mine below [...]


Best MSN client for Ubntu

Now i finally have found a good MSN client for Ubuntu and iom the best. It’s name is emesene and it have some nice futures. Please take a look at the pics below to see a demo of it. For install just do “sudo apt-get install emesene” and it will work perfect.