Abracadabra
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
alias drmi="docker rmi `docker images | awk '{ print $3; }'`" | |
alias drm="docker rm -v $(docker ps -a -q)" |
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
fs = require('fs') | |
request = require('request') | |
cheerio = require('cheerio') | |
username = 'barumunk' | |
holdingPage = false | |
count = 0 | |
for page in [0...99] |
I hereby claim:
- I am christopherdebeer on github.
- I am c15r (https://keybase.io/c15r) on keybase.
- I have a public key whose fingerprint is 4CA1 A441 EFB4 7D86 512A 60A1 84EB 4AB7 4CE5 7F94
To claim this, I am signing this object:
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/sh | |
# linux firewall/forwarding | |
modprobe iptable_nat | |
echo 1 | tee /proc/sys/net/ipv4/ip_forward | |
iptables -t nat -A POSTROUTING -s 10.10.10.1/2 -o eth0 -j MASQUERADE | |
# install openvpn | |
apt-get update && apt-get install -y openvpn | |
cd /etc/openvpn/ | |
INSTANCE=$(curl http://169.254.169.254/latest/meta-data/public-hostname) | |
openvpn --genkey --secret ${INSTANCE}.key |
Cell 01 - Address: C4:3D:C7:3B:12:34
Quality=53/70 Signal level=-57 dBm
ESSID:"MWR"
Cell 02 - Address: 2C:B0:5D:FB:67:F6
Quality=33/70 Signal level=-77 dBm
ESSID:"virginmedia1000829"
Cell 03 - Address: 5C:7D:5E:B6:69:00
Quality=19/70 Signal level=-91 dBm
ESSID:"TALKTALK-B668F8"
Cell 04 - Address: 7C:03:4C:A9:A0:36
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
class Person | |
get = (props) => | |
@::__defineGetter__ name, func for name, func of props | |
set = (props) => | |
@::__defineSetter__ name, func for name, func of props | |
get age: -> (Date.now() - @birthdate) / MILLIS_PER_YEAR |
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
"{"version":1.2,"stores":{"wood":4421,"fur":19082,"bait":354,"meat":55,"teeth":144,"cloth":400,"scales":73,"leather":508,"cured meat":925,"torch":5,"bone spear":10,"rucksack":1,"waterskin":1,"charm":1,"l armour":1,"compass":1,"iron sword":0,"bolas":0,"iron":1127,"cask":1,"wagon":1,"coal":1349,"steel":627,"water tank":1,"steel sword":0,"convoy":1,"s armour":1,"bullets":5,"rifle":2,"grenade":1,"alien alloy":4},"perks":{"precise":true,"stealthy":true},"room":{"temperature":{"value":2,"text":"mild"},"fire":{"value":2,"text":"flickering"},"buttons":{"trap":true,"cart":true,"hut":true,"lodge":true,"trading post":true,"tannery":true,"smokehouse":true,"workshop":true,"torch":true,"waterskin":true,"rucksack":true,"l armour":true,"bone spear":true,"cask":true,"wagon":true,"i armour":true,"iron sword":true,"steelworks":true,"water tank":true,"convoy":true,"s armour":true,"steel sword":true},"builder":4},"outside":{"buildings":{"trap":10,"cart":1,"lodge":1,"hut":20,"trading post":1,"tannery":1,"smokehouse":1,"workshop":1 |
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
### | |
Module dependencies | |
### | |
require.paths.unshift "#{__dirname}/lib/support/express-csrf/" | |
require.paths.unshift "#{__dirname}/lib/support/node_hash/lib/" | |
express = require 'express' | |
app = module.exports = express.createServer() | |
RedisStore = require 'connect-redis' |
Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
NewerOlder