Skip to content

Instantly share code, notes, and snippets.

View unixpickle's full-sized avatar

Alex Nichol unixpickle

View GitHub Profile
@adamv
adamv / watch_log.sh
Created November 4, 2010 22:35
Colorize access_log
#!/bin/bash
# Escaped color codes
BLACK=`echo -e '\033[0;30m'`
DK_GREY=`echo -e '\033[1;30m'`
RED=`echo -e '\033[0;31m'`
PINK=`echo -e '\033[1;31m'`
GREEN=`echo -e '\033[0;32m'`
LT_GREEN=`echo -e '\033[1;32m'`
BROWN=`echo -e '\033[0;33m'`
@Manouchehri
Manouchehri / fix-broken-epub.txt.sh
Created December 4, 2015 06:37
Fix a broken EPUB to upload to Google Play Books. Requires calibre.
ebook-convert broken-book.epub fixed-book.epub