This file contains hidden or 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
# nginx-entrypoint.sh | |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nginx-entrypoint | |
data: | |
entrypoint.sh: | | |
!/bin/sh | |
POD_NAME_SANITIZED=$(echo "$POD_NAME" | sed 's/[^a-zA-Z0-9_-]/_/g') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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 : [email protected] | |
# Date : 14/08/09 00:22:28 | |
# Desc : excel to mysql operation | |
# | |
import sys |
This file contains hidden or 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 hidden or 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 : [email protected] | |
# Date : 14/03/31 20:39:23 | |
# Desc : test-igetui-corutine | |
# | |
import httplib, urlparse, hashlib, json, datetime, types |
This file contains hidden or 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 : [email protected] | |
# Date : 14/03/29 10:49:44 | |
# Desc : Test pony-orm 0.5.0-beta | |
# | |
from decimal import Decimal |
This file contains hidden or 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 hidden or 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 : [email protected] | |
# Date : 14/01/20 00:42:52 | |
# Desc : 全局變量錯誤 | |
# | |
This file contains hidden or 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; |
NewerOlder