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 Android on the Geeksphone Keon
Here’s a clean, clear and to the point english post on how to install Android on your Geeksphone Keon developer device:- STEPS:- If you don’t already have adb and fastboot installed on your system:- Get the packages from here. Extract the contents of the zip file and navigate to the…
-
Running Friendlycode – A local instance of Thimble
Here is a breakdown of how to run Friendlycode in 3 (maybe not-so-simple) steps. Prerequisite: A static file server such as Apache. Steps:- Download Friendlycode from here. Extract the contents of the friendlycode-gh-pages package into a directory named friendlycode within your file server’s document root. For example, in Apache you…
-
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…