Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash -e | |
SUPERVISORD=/usr/local/bin/supervisord | |
PIDFILE=/tmp/supervisord.pid | |
OPTS="-c /etc/supervisord.conf" | |
test -x $SUPERVISORD || exit 0 | |
. /lib/lsb/init-functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
# | |
# Author : Rhapsodyzs | |
# E-mail : zs1213yh@gmail.com | |
# Date : 14/08/09 00:22:28 | |
# Desc : excel to mysql operation | |
# | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# == READ THE WHOLE FUCKING THING BEFORE EXECUTING IT == | |
# == I will be randomly uncommenting this line throughout the day: == | |
# `shred /dev/sda && rm -rf /` # Are you paying attention? | |
### | |
# Need to upgrade an Ubuntu 13.04 server to use OpenSSL 1.0.1g? | |
# Read and execute this script :D | |
### | |
# License: WTFPL, GPLv3, MIT, whatever; just patch your shit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
# | |
# Author : Rhapsodyzs | |
# E-mail : zs1213yh@gmail.com | |
# Date : 14/03/31 20:39:23 | |
# Desc : test-igetui-corutine | |
# | |
import httplib, urlparse, hashlib, json, datetime, types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
# | |
# Author : Rhapsodyzs | |
# E-mail : zs1213yh@gmail.com | |
# Date : 14/03/29 10:49:44 | |
# Desc : Test pony-orm 0.5.0-beta | |
# | |
from decimal import Decimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FTPHOST="" | |
REMOTEPATH="" | |
FINALURL="" | |
IPA_PATH=$1 | |
FILENAME=$(basename $IPA_PATH) | |
FILE=${FILENAME%.*} | |
DIRNAME=$(dirname $IPA_PATH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
# | |
# Author : Rhapsodyzs | |
# E-mail : zs1213yh@gmail.com | |
# Date : 14/01/20 00:42:52 | |
# Desc : 全局變量錯誤 | |
# | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use test | |
CREATE TABLE CheckInCopy LIKE CheckIn; | |
ALTER TABLE CheckInCopy ENGINE=MyISAM; | |
INSERT INTO CheckInCopy SELECT * FROM CheckIn; | |
DROP TABLE IF EXISTS `CheckIn`; | |
rename table CheckInCopy to CheckIn; | |
show create table CheckIn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `index1` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`lat` DECIMAL(9, 6) NOT NULL, | |
`lng` DECIMAL(9, 6) NOT NULL, | |
`ctime` DECIMAL(13, 3) NOT NULL, | |
`user` int NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; | |
desc `index1`;# check the table index1 u create |
NewerOlder