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

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

procinfo and procinfo-ng : Get system information from /proc.

2012-08-10 1 min read Fedora
The Fedora Project logo
The Fedora Project logo (Photo credit: Wikipedia)

Install procinfo or procinfo-ng. The procinfo contains three programs :

/usr/bin/lsdev
/usr/bin/procinfo
/usr/bin/socklist

and procinfo-ng contains ::

/usr/bin/procinfo-ng

The description for both of them is similar ::

Name        : procinfo-ng
Version     : 2.0.304
Release     : 5.fc17
Architecture: i686
Install Date: Tue 24 Jul 2012 05:45:10 PM IST
Group       : Applications/System
Size        : 140366
License     : GPLv2 and LGPLv2
Signature   : RSA/SHA256, Mon 12 Mar 2012 09:56:55 PM IST, Key ID 50e94c991aca3465
Source RPM  : procinfo-ng-2.0.304-5.fc17.src.rpm
Build Date  : Wed 29 Feb 2012 02:30:54 AM IST
Build Host  : x86-06.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://sourceforge.net/projects/procinfo-ng/
Summary     : Console-based system monitoring utility
Description :
Procinfo-NG is a complete rewrite of the old system monitoring application
procinfo.  The goal is to make more readable (and reusable) code and to
restore broken functionality.

Continue reading

vim mappings for multiple files.

2012-08-06 1 min read Vim Tips

If you open multiple files in vim with command line option. Then the only way to move between the files is “:n” and “:N”. There is a easier way to do this. Just add mappings for this in vimrc. Here is what you can use.

map  :N
map  :n

And if you want to make sure that you move to the prev or next file after saving the file, then you modifyt the mapping like this:

Continue reading
Older posts Newer posts