Archive for the ‘Tips & Tricks’ Category

Query Posts keyword

While I was creating a search function in WordPress I found it hard to filter query_posts with a keyword. Then I simply tried to add &s=keyword and it worked. So for all you out there, having the same problem here is a pice of code how to make this work: <?php global $query_string; $keyword = “my [...]


Import large CSV file into MySQL

When I was about to import a large CSV file into MySQL I kind of ran into a problem. Since phpMyAdmin does not like large files I had to find another solution. ( Dident get it if I could SSH it, hehe). Well I found dbForge! Perfect program for the job, though it cost some [...]


Recover Asus Laptop

When I was about to recover a Asus Laptop I find it kind of hard to find the recovery bot up if the Windows is broken. But after a while I found out that if you press F9 on boot up you will get into the recovery screen. From there it is kind of easy. [...]


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! [...]


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 [...]


.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 [...]


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