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/sh | |
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh | |
set -e | |
# Must be a valid filename | |
NAME=foo | |
PIDFILE=/var/run/$NAME.pid | |
#This is the command to be run, give the full pathname | |
DAEMON=/usr/local/bin/bar |
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/sh | |
chmod 0000 "/Applications/QQ.app/Contents/Library/LoginItems/QQ jietu plugin.app/Contents/MacOS/QQ jietu plugin" |
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
[{"iata":"UTK","iso":"MH","name":"UtirikAirport"},{"iata":"FIV","iso":"US","name":"FiveFingerCGHeliport"},{"iata":"FAK","iso":"US","name":"FalseIslandSeaplaneBase"},{"iata":"BWS","iso":"US","name":"BlaineMunicipalAirport"},{"iata":"WKK","iso":"US","name":"Aleknagik\/NewAirport"},{"iata":"TSS","iso":"US","name":"East34thStreetHeliport"},{"iata":"FOB","iso":"US","name":"FortBraggAirport"},{"iata":"ABP","iso":"PG","name":"AtkambaAirport"},{"iata":"ALV","iso":"AD","name":"AndorralaVellaHeliport"},{"iata":"ADC","iso":"PG","name":"AndakombeAirport"},{"iata":"TJP","iso":"PR","name":"AreopuertoInternacionalMichaelGonzalez"},{"iata":"AEE","iso":"SS","name":"AdareilAirport"},{"iata":"AEI","iso":"ES","name":"AlgecirasHeliport"},{"iata":"AEK","iso":"PG","name":"AsekiAirport"},{"iata":"OLR","iso":"AF","name":"SalernoLandingZoneAirport"},{"iata":"AFR","iso":"PG","name":"AforeAirstrip"},{"iata":"AFT","iso":"SB","name":"AfutaraAerodrome"},{"iata":"ATD","iso":"SB","name":"UruHarbourAirport"},{"iata":"VEV","iso":"SB","name":"B |
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 | |
find `pwd` -type d -name ".git" > git_dir.txt | |
sed -i "s/\/.git/\//g" git_dir.txt | |
while read LINE | |
do | |
echo $LINE | |
cd "$LINE" | |
git pull |
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/sh | |
# proxychains wrapper | |
# Choose pre-supposed profile with -1,-2,-3 OR appoint by -n proxy(Node)_ip(hostname):port and -p proxy_protocol and -q as quiet mode | |
# Default profile | |
proxy_hostname=127.0.0.1 | |
proxy_port=1080 | |
protocol=socks5 | |
# profile 1 | |
proxy_hostname_1=127.0.0.1 |
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
(function (context, trackingId, options) { | |
const history = context.history; | |
const doc = document; | |
const nav = navigator || {}; | |
const storage = localStorage; | |
const encode = encodeURIComponent; | |
const pushState = history.pushState; | |
const typeException = 'exception'; | |
const generateId = () => Math.random().toString(36); | |
const getId = () => { |
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
{ | |
"AMS": { | |
"name": "Amsterdam, Netherlands", | |
"cnName": "荷兰阿姆斯特丹" | |
}, | |
"ATH": { | |
"name": "Athens, Greece", | |
"cnName": "希腊雅典" | |
}, | |
"BCN": { |
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 python3 | |
# Recursively generate index.html files for | |
# all subdirectories in a directory tree | |
########################################################################## | |
## ❗️❗️❗️ WARNING: This version is outdated and unmaintained! | |
## For an up-to-date version with cleaner CSS styling see: | |
## https://gist.github.com/glowinthedark/625eb4caeca12c5aa52778a3b4b0adb4 | |
########################################################################## |