meld – cvs diff with ease

2012-10-17 1 min read Fedora
Visualization of the "history tree" ...
Visualization of the “history tree” of a revision controlled project, showing branching, merging, tagging, etc. (Photo credit: Wikipedia)

There are couple of ways to make life easier with CVS diff. But here is one that is really good.
First if you haven’t, install meld:

sudo yum install meld

meld is basically a diff viewer and pretty good at it 😉

Continue reading

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

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

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

gnome-terminal color schemes.

2012-08-21 1 min read Fedora
Colours
Colours (Photo credit: CherrySoda!)

I was looking for a way to set the terminal colors for gnome. There is a GUI way to change the same by going to the Preferences->Colors. And then you can change the colors that you see in the color pallete in the bottom of the dialog box.

But I was looking at doing it faster and better, and finally I found this page.

Continue reading
Older posts Newer posts