Skip to content

Instantly share code, notes, and snippets.

Chris Yu tititake

Block or report user

Report or block tititake

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tititake /
Created Jun 24, 2014
Install OpenVPN server on Ubuntu and Debian
# Quick and dirty OpenVPN install script
# Tested on debian 5.0 32bit, openvz minimal debian OS template
# and Ubuntu 9.04 32 bit minimal, should work on 64bit images as well
# Please submit feedback and questions at
# John Malkowski 01/18/2010
WANIF=`ip route get | awk '{ for(f=0;f<NF;f++){if($f=="dev"){print $(f+1);exit;}} }'`
tititake /
Last active Dec 20, 2015 — forked from ravageralpha/
Get subtitles from shooter
# Author: RA <>
# Author: Chris Yu <>
echo "Usage:$(basename $0) [-eng] [-suf] [-togbk] [-toutf8] files..."
echo "OPTIONS"
echo " -eng : download English subtitle, default is Chinese"
echo " -suf : add language suffix in subtitle file name"
echo " -togbk : try to convert file content from big5 to gbk with iconv"
You can’t perform that action at this time.