Skip to content

Instantly share code, notes, and snippets.

Jermine JermineHu

Block or report user

Report or block JermineHu

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
View proxy-shell
#!/bin/bash
#http_proxy="socks5://127.0.0.1:1080" https_proxy="socks5://127.0.0.1:1080" $* && unset http_proxy && unset https_proxy
export http_proxy="socks5://127.0.0.1:1080"
export https_proxy="socks5://127.0.0.1:1080"
exec ${@:1}
@JermineHu
JermineHu / start-runit
Created Feb 12, 2019
Docker, runit, and graceful termination
View start-runit
#!/bin/sh
export PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
exec runsvdir -P /etc/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
@JermineHu
JermineHu / 0_reuse_code.js
Created Mar 8, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.