My requirements for organizing a huge number of PDF e-books:- - An automated way of renaming all of these e-books to their actual titles. - Removing all duplicate files. My solution:- - git clone https://github.com/sayak-sarkar/pdf-title-rename - export PYTHONPATH=${PYTHONPATH}:$(pwd)/xmp.py - python pdf-title-rename/pdf-title-rename.py /* - ./remove_duplicate.sh
-
-
Using Vim to generate HTML output of code
This is an interesting bit that I learnt about from an email in a mailing list by James Pryor. To generate html output for code within a shell script you can use: vim myscript.sh '+syntax on' '+ set nu' '+set background=light' +TOhtml '+w myscript.html' '+qall!' If you don’t want numbers…
-
Installing EditorConfig on Sublime Text
To install Editor Config on Sublime Text all you need to do is to follow the following steps:- Go the Preferences tab -> Package Control. Select Install Package from the drop down menu. Wait for the list to load, once it loads it will show you a list of packages.…
-
Installing Sublime Text 3 on RHEL / Fedora
Here’s another three step guide to installing Sublime Text 3 on RHEL 6,7 / Fedora 18, 19, 20:- Download the installation script from the following gist. https://gist.github.com/sayak-sarkar/11b039f398ddcae88139 Extract it to your home directory [or anywhere you like]. $tar -xvf gist11b039f398ddcae88139-e339084ef22e956ea6ef8d04f8279ca70772f534.tar.gz Open your terminal (preferably as super user), navigate to your…
-
Installing Firefox Nightly with Australis on Fedora 18 / 19 / 20
Are you a Fedora user who wants to check out the new Australis Theme for Firefox scheduled for release with Firefox 28? However, you are a bit apprehensive of letting go that stable release of Firefox in bundled within your Fedora installation by default, just in case something goes wrong…
-
Installing Skype on Fedora 18 / 19 / 20
Here’s a list of command line steps to install Skype on Fedora 19:- Step 1: Open up the terminal and switch to super user: $su – Step 2: Install the dependencies: yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 qtwebkit.i686 zlib.i686 Step…
-
Installing VLC player on Fedora 18 / 19 / 20
Here’s a simple three step guide to installing VLC media player on Fedora 19 [Schrodinger’s Cat]:- Login as Super User: $su Setup rpmfusion: #rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm Install vlc using the default yum package manager: #yum install vlc mozilla-vlc Voila! You now have VLC media player installed on you computer! 🙂
-
Installing Steam for Linux Beta | Counter Strike for Fedora 17 / 18 / 19 / 20
Here’s the link to a really interesting article by Russel Bryant that I found on the web. Especially helpful for all my geeky gamer friends who keep on complaining about how they are not able to play Counter Strike or Team Fortress 2 on their Linux based systems. Enjoy! If…
-
Debugging NO KEY warning during “yum install vlc”
This is a problem that I encountered today while tryiing to install VLC media player on my brand new Fedora 18 installation. Right after the dependency resolutions are complete, yum returns the following warning:- Transaction Summary =============================================== Install 1 Package (+45 Dependent packages) Total size: 37 M Installed size: 118…