[SOLVED] VLC does not support the audio or video format “h.264” on Ubuntu

I got the following error in VLC today while trying to play some media file: VLC does not support the audio or video format “h.264″. Unfortunately there is no way for you to fix this.” All other media files game same error with different codec names. I couldn’t play anything in VLC. To fix the… Continue reading [SOLVED] VLC does not support the audio or video format “h.264” on Ubuntu

[SOLVED] “undefined symbol: menu_proxy_module_load” error in GNOME applications

In all GTK apps I used to get the following warnings when run from terminal: `menu_proxy_module_load’: /usr/lib/virtualbox/VirtualBox: undefined symbol: menu_proxy_module_load   (<unknown>:23888): Gtk-WARNING **: Failed to load type module: (null) This error was received while running Virtualbox. Though, it seems just a warning and doesn’t really change anything in the application, it does make the… Continue reading [SOLVED] “undefined symbol: menu_proxy_module_load” error in GNOME applications

[HowTo] Stop phpmyadmin from asking username, password in localhost

Yesterday, I showed you how you can keep local installation of phpmyadmin from logging you out every few minutes. I took one more step and edited configuration to not ask me username, password at all. Now phpmyadmin never asks me for mysql username and password. Keep in mind if you follow this tutorial anyone would be able… Continue reading [HowTo] Stop phpmyadmin from asking username, password in localhost

[HowTo] Save all flash video files being played in Chrome/Chromium to Home directory

After watching a video on youtube in chrome, I felt like saving it. I couldn’t find the flv in ~/.cache or in /tmp. So I dug around and found this link: http://superuser.com/questions/235535/in-google-chrome-on-linux-where-is-the-flv-if-not-in-tmp. The solution by omab worked for me. So I wrote this one line command which would save all the currently playing files in Chrome… Continue reading [HowTo] Save all flash video files being played in Chrome/Chromium to Home directory

[HowTo] Stop phpmyadmin from asking username, password in localhost

Yesterday, I showed you how you can keep local installation of phpmyadmin from logging you out every few minutes. I took one more step and edited configuration to not ask me username, password at all. Now phpmyadmin never asks me for mysql username and password. Keep in mind if you follow this tutorial anyone would be able… Continue reading [HowTo] Stop phpmyadmin from asking username, password in localhost

[HowTo] Save all flash video files being played in Chrome/Chromium to Home directory

After watching a video on youtube in chrome, I felt like saving it. I couldn’t find the flv in ~/.cache or in /tmp. So I dug around and found this link: http://superuser.com/questions/235535/in-google-chrome-on-linux-where-is-the-flv-if-not-in-tmp. The solution by omab worked for me. So I wrote this one line command which would save all the currently playing files in Chrome… Continue reading [HowTo] Save all flash video files being played in Chrome/Chromium to Home directory

[HowTo] Remove admin bar from wordpress 3.1

The new admin bar in wordpress 3.1 is one good feature to have but sometimes its unwanted. For example you might already have some other kind of top bar with which admin bar may interfere. You can remove the admin bar by putting the following code in /wp-content/YOURTHEME/functions.php: if(function_exists(‘show_admin_bar’)){ show_admin_bar(false); }

[SOLVED] ‘Error at offset’ error in unserialize()

I came across this weird error in unserialize() where it refused to unserialize the serialized data. After hours of trying different things to solve it, finally converting the encoding worked. The solution to the problem is to use the following function instead of unserialize(): function safe_unserialize($str){ return unserialize( trim( mb_convert_encoding( $str,’auto’,’UTF-8′ ) ) ); }… Continue reading [SOLVED] ‘Error at offset’ error in unserialize()