Skip to content

Instantly share code, notes, and snippets.

View S-Shimotori's full-sized avatar

SHIMOTORI Shigure S-Shimotori

View GitHub Profile
@jmatsu
jmatsu / taconv.sh
Last active August 29, 2015 14:22
Converts report files, which are non-text format although "txt", into text format or into correct format. For MacOSX.
#!/usr/bin/env bash
set -ue
function judge(){ echo "$1" | grep -e "$2" &> /dev/null; return $?; }
function judge_ms(){ unzip -Z "$1" | grep "$2" &> /dev/null; return $?; }
_FUCK_U=""
for txt in `find . -type f -iname \*.txt`; do
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: