Skip to content

Instantly share code, notes, and snippets.

Gene Wood gene1wood

Block or report user

Report or block gene1wood

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 symbol_literals.rb
$ ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
$ ruby symbol_literals.rb
valid as first char:
valid as middle char:
valid as end char:
for i in $(eval echo {1..$1})
echo $(date +"%T")
if ! curl -v "" -o /dev/null &>/tmp/c.out; then
cat /tmp/c.out
echo "success"
#!/usr/bin/env python
import argparse
import ConfigParser
conf_parser = argparse.ArgumentParser(
# Turn off help, so we print all options in response to -h
conf_parser.add_argument("-c", "--conf_file",
help="Specify config file", metavar="FILE")
gene1wood /
Created Aug 22, 2012 — forked from jrgm/
enumerate possible urls
#!/usr/bin/env python
import json
import os
import requests
# - POSTs MUST never redirect
# - POST over non-SSL MUST fail 400 Bad Non-SSL
# - GETs to the old domains MUST redirect to the new domain
# - www. MUST always redirect
You can’t perform that action at this time.