Productivity Sauce

Dmitri Popov
Generate Slick Galleries in Seconds with 1Page Gallery

Nov 11, 2014 GMT

At first glance, 1Page Gallery looks like yet another single-page PHP script for publishing photos. But if you look closer, you'll notice that unlike its counterparts, the tiny application generates galleries from a zip archive containing photos. This unusual approach makes 1Page Gallery an ideal tool for publishing a set of photos with a minimum of effort. And thanks to clever use of modern technologies like jQuery, HTML5, and CSS3, the generated galleries are both elegant and responsive. Unlike Mejiro and other similar apps that generate thumbnails on-the-fly, 1Page Gallery comes with the build Bash shell script for creating the required directories, extracting photos from a zip file,...
Generate EPUB Ebooks from Markdown Files with Bash PubKit

Nov 10, 2014 GMT

Markdown has become a popular choice for authoring ebooks, and there are several tools that can help you to turn Markdown-formatted files into an EPUB file. Among them is Bash PubKit maintained by yours truly. This toolset comes with everything you need to get started, including an ebook template and a Bash script for compiling EPUB files.Bash PubKit is based on BASC-eBookGenerator, but it does feature several significant modifications. For example, unlike BASC-eBookGenerator, which uses the non-free KindleGen utility to produce a MOBI file, Bash PubKit relies on Calibre's ebook-convert tool for generating ebooks in the MOBI and PDF formats. Bash PubKit comes with an installer script...
Extend Bash and Zsh Prompt with Liquid Prompt

Oct 28, 2014 GMT

The default Bash or Zsh prompt isn't exactly a hub of useful information, but you can change that by deploying Liquid prompt. Once enabled, Liquid prompt turns the humble prompt into a dashboard capable of displaying all sorts of data: from processor load and battery status to current time and the key info of the current Git repo. Better still, Liquid prompt is easy to install and requires no tweaking or complicated configuration. Provided Git is installed on your system, clone the project's GitHub repository to your home directory using the git clone command, then add the source ~/liquidprompt/liquidprompt line to the ~/.bashrc file. Use then...
Run Live Presentations in Terminal with doitlive

Oct 17, 2014 GMT

The ability to script a command-line tool can come in handy in many situations. It can be useful when you give a live presentation, and you don't want your audience to fall asleep while you are pecking commands in the terminal, or when you need to create a smooth screencast demonstrating the capabilities of a command-line utility.Enter doitlive, a tool that makes it possible to create a script containing a list of commands, and then run them in a fake terminal session by typing random text. This creates a perfect illusion of a real command-line activity. Installing and using doitlive is as easy as it gets. First of all, make sure that you have Python 2.7 or 3.3 (or higher) and pip...
Transfer Files from the Command Line with

Oct 09, 2014 GMT

Need to share a file without leaving the convenience of the terminal? The service got you covered. Using the good old curl tool, you can share and download shared files using a handful of simple commands. To upload the foo.txt file, run the curl --upload-file ./foo.txt command. When the upload is completed, the service returns the download link which you can pass to other users. Downloading the share file is as easy as running the curl command (where SbhMe is a unique identifier of the shared file). All shared files automatically expire after two weeks, so there is no need to worry about removing them manually.If...
Prettify Wikipedia with WikiWand

Sep 29, 2014 GMT

Wikipedia is undeniably an excellent online reference, but its interface looks not only dated but also not particularly user-friendly. The WikiWand service provides an alternative Wikipedia interface which is both polished and streamlined. The new interface sports an optimized layout that features a collapsible table of contents. WikiWand adds pop-ups to links in the currently viewed article, so you can preview them without leaving the page. The interface also sports significantly improved typography which not only improves the overall appearance, but also makes text more readable. Photos are displayed in a lightbox complete with a thumbnail bar for browsing images. In addition to...
sncli: Command-Line Client for Simple Note

Sep 26, 2014 GMT

One of the things that make Simple Note such a convenient note-taking solution is the choice of client tools that let you access and edit notes on a variety of platforms and devices. But if you take a closer look at the  list of available applications and utilities, you'll notice that it doesn't include any command-line tools. That doesn't mean, though, that CLI tools for Simple Note don't exist, and sncli is here to prove that. Written in Python, sncli boasts comprehensive functionality, including two-way sync, sorting, searching, editing, pinning, tag editing, and much more. The tool supports Vim-like key bindings and fully-customizable colors. sncli...

Issue 174/2015

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)