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
| #!/usr/bin/env python | |
| import gevent.monkey | |
| gevent.monkey.patch_all() | |
| import boto | |
| import config | |
| import gevent | |
| import gevent.pool | |
| import os |
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
| require 'net/https' | |
| require 'base64' | |
| require 'json' | |
| require 'uri' | |
| class Catchpoint | |
| @@host = 'https://io.catchpoint.com' | |
| @@prefix = '/ui/api' | |
| @@version = 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
Show hidden characters
| # Get Sublime Text to use your rvm ruby without hardcoding a `$USER`. | |
| # | |
| # Include the configurations below the commend in the appropriate file listed below: | |
| # | |
| # - OS X ST2: ~/Library/Application Support/Sublime Text 2/Packages/Ruby/Ruby.sublime-build | |
| # - OS X ST3: ~/Library/Application Support/Sublime Text 3/Packages/User/Ruby.sublime-build | |
| # - Linux ST2: ~/.config/sublime-text-2/Packages/Ruby/Ruby.sublime-build | |
| # - Linux ST3: ~/.config/sublime-text-3/Packages/User/Ruby.sublime-build | |
| { |
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
| #!/usr/bin/python | |
| import urllib2 | |
| import json | |
| import pprint | |
| pp = pprint.PrettyPrinter(indent=4) | |
| class instance_size: | |
| def __init__(self): | |
| pass |
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
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |
NewerOlder