Skip to content

Instantly share code, notes, and snippets.

gekosurf

Block or report user

Report or block gekosurf

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
@gekosurf
gekosurf / reset_routing_table.sh
Created Jun 28, 2018 — forked from midwire/reset_routing_table.sh
Reset routing table on OSX
View reset_routing_table.sh
#!/usr/bin/env bash
# Reset routing table on OSX
# display current routing table
echo "********** BEFORE ****************************************"
netstat -r
echo "**********************************************************"
for i in {0..4}; do
sudo route -n flush # several times
View .gitignore
## Unity ##
## src :: https://gist.github.com/nemotoo/b8a1c3a0f1225bb9231979f389fd4f3f ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
## *.unity merge=unityyamlmerge eol=lf - Not recommended as it only allows a single user ##
View gist:4823f8833c89b4492455
// after geth1.x installed.
mkdir /tmp/eth/70
geth console
personal.newAccount('password')
eth.accounts[0]
// you can check the eth.accounts[0] address, copy it and memo to somewhere
// control + c then escape from geth console.
// next make the private net genesisblock json file.
vim privatenet_genesis_block.json
View gist:3c5d6aadb397b94d9a2c
if (typeof jQuery != 'undefined') {
// jQuery is loaded => print the version
alert(jQuery.fn.jquery);
}
You can’t perform that action at this time.