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
-
-
Working around untrusted certificate errors in Express JS
Quick workaround for Error: DEPTH_ZERO_SELF_SIGNED_CERT and UNABLE_TO_VERIFY_LEAF_SIGNATURE while using express requests.
-
Installing Sublime Text 2 on Fedora 18 / 19 / 20
Here’s another three step guide to installing Sublime Text 2 on Fedora 19 – Schrodinger’s Cat:- Download the installation script from the following gist. https://gist.github.com/sayak-sarkar/5810101 Extract it to your home directory [or anywhere you like]. $tar -xvf gist5810101-3b0e9bb3ef5128760df9e3e06877fa4f7e5689ec.tar.gz Open your terminal (preferably as super user), navigate to your home directory…