phpmyadmin access problem and change server from URL

2012-09-30 1 min read Database Fedora

I was having issues with one of the phpmyadmin setups. The first server defined in the config file was not accessible and the theme that I was using was not allowing me to change the server from the first page. This resulted in a state where I was not able to access phpmyadmin in any way. I could not connect to any of the servers. And thus had to hack my way in to phpmyadmin to find out how to connect to other servers from URL. And here is my finding:

Continue reading

Shortcut to run current command with sudo in bash

2012-09-20 1 min read Fedora Linux

For me, I mostly forget to add “sudo” to the command until the time I am actually supposed to run it. Also sometimes, on some systems, bash completion does not work as expected with “sudo”. With these in mind, I wanted something such that when I have completed the command, I could insert sudo in the begining of the command without much ado. So, finally this is what I came up with in my “~/.inputrc” file. Note: If you don’t have this file, then simply create this file.

Continue reading

Ubuntu – Really force remove a package.

2012-09-17 1 min read Linux

I was trying to remove a package on one of the Ubuntu installations the other day and was not able to do so. I tried google and tried all the options mentioned in various forums like “-f”, purge, reinstall and few others but nothing helped. I kept getting some errors about some files being already deleted. I also tried “set -e” in the prompt but the only result I got was terminal also getting killed.

Continue reading

snmpd -verify if the mibs are loaded.

2012-09-10 1 min read Fedora Linux

If you are setting up the snmpd server and have added your own mibs and do not really know if the mibs are loaded or not then simply go to the directory:

/var/lib/net-snmp/mib-indexes

This can save you a lot of time, if you are not getting results with snmpwalk. You can even use snmpwalk as :

snmpwalk -v  -c

Well, these little things can save you a lot of time 🙂

Continue reading

pdfjs – html5+javascript based pdf viewer for Firefox.

2012-09-05 1 min read Firefox

Firefox 15 has arrived and there is lot to brag about. Since there are already many blogs on this, so just  giving you a link to one of those. But what is most interesting is the integration of PDF.js. It is a new html5 + javascript based pdf viewer.

GHacks Link

And to enable this viewer all you need to do is go to “about:config“. Search for pdfjs and set pdfjs.disabled to “FALSE” and your browser is all set to use the inline pdf viewer.

Continue reading

using iTerm color schmes with gnome-terminal.

2012-08-29 1 min read Fedora
the OS X Lion install key
the OS X Lion install key (Photo credit: blakespot)

Found this great page and thought of sharing this:

http://www.sharms.org/blog/2012/08/using-iterm-2-themes-with-gnome-terminal/

When using this, you will need to install :

https://github.com/caseyhoward/nokogiri-plist

and when you install this, you will find that the permissions for the files are not appropriately set, so go to your ruby gems directory or the installation directory for nokogiri-plist and change the permissions.

Continue reading

script for changing gnome-terminal color schemes.

2012-08-25 3 min read Fedora
This is the Gnome-Logo made with vectors. GNOM...
This is the Gnome-Logo made with vectors. GNOME and the foot logo are trademarks of the GNOME Foundation. Español: Éste es el logo de Gnome hecho con vectores. GNOME y el logo del pie son marcas registradas de la Fundación GNOME (Photo credit: Wikipedia)

Earlier I had posted this. So, if you want to try all of these schemes, then you need not have to copy paste the schemes from the web page, you can try the below script.

Continue reading
Older posts Newer posts