I hereby claim:
- I am nroberson on github.
- I am nolan (https://keybase.io/nolan) on keybase.
- I have a public key ASArOwQvbpk59BHKL1_tRkw7oN0U4PixZfbb6IbQ1V3BoAo
To claim this, I am signing this object:
import json | |
import urllib2 | |
import time | |
GET_IP_URI = 'https://freegeoip.net/json' | |
SLEEP_TIME_S = 25 * 60 | |
def get_geo_json(): | |
content = urllib2.urlopen(GET_IP_URI).read() |
Test if your system is vulnerable, | |
$ env X="() { :;}; echo shellshock" `which bash` -c "echo completed" | |
shellshock | |
completed | |
If you got “shellshock” in output then it is vulnerable. |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
echo "Removing by-products (that prevent proper archiving)" | |
echo "$INSTALL_ROOT/Headers" | |
echo "$INSTALL_ROOT/PrivateHeaders" | |
rm -fr "$INSTALL_ROOT/usr"; | |
if [ "$INSTALL_ROOT/Headers" != "/Headers" ]; then | |
rm -fr "$INSTALL_ROOT/Headers"; |
#ifndef NDEBUG | |
# define DLOG(format, ...) NSLog((@":NR: %s (L: %d) " format), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) | |
#else | |
# define DLOG(...) | |
#endif |
# /etc/ddclient.conf | |
daemon=1800 # Check every 30 minutes | |
syslog=yes # log messages to syslog | |
pid=/var/run/ddclient.pid # record the pid | |
ssl=yes # use ssl | |
## Obtain ip address from dyndns' ip checker. make sure check interval is greater than 600 | |
## otherwise dyndns may block you. |
git branch -r | sed 's/origin\///g' | xargs -n 1 git push --delete origin |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |