Skip to content

Instantly share code, notes, and snippets.

@chockenberry
chockenberry / Hosts.txt
Created January 22, 2015 17:58
Host headers from China
1.gravatar.com
127.0.0.1:9010
2003---el-oro-de-moscu-xvid-avi.foldforper7.appspot.com
a.tracker.thepiratebay.org
a2.l3-images.myspacecdn.com
a248.e.akamai.net
acyd-karpathicus.deviantart.com
ads.exoclick.com
agentoftrickery.deviantart.com
airinya.deviantart.com
@chockenberry
chockenberry / HelloChina.log
Created January 22, 2015 17:23
First traffic from China
183.60.243.240 - - [15/Jan/2015:23:34:10 -0800] "GET / HTTP/1.1" 403 13 "http://www.baidu.com/search/spider.htm" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"
113.224.238.213 - - [15/Jan/2015:23:34:13 -0800] "GET /feeds/api/standardfeeds/GB/most_popular?time=this_week&format=2%2C3%2C9&start-index=1&max-results=10&safeSearch=moderate HTTP/1.1" 403 13 "-" "Android-YouTube/2"
113.224.238.213 - - [15/Jan/2015:23:34:13 -0800] "GET /feeds/api/standardfeeds/GB/recently_featured?format=2%2C3%2C9&start-index=1&max-results=10&safeSearch=moderate HTTP/1.1" 403 13 "-" "Android-YouTube/2"
118.228.30.248 - - [15/Jan/2015:23:34:14 -0800] "GET /file/OYwzhcyF/Power-Puff_Girls_-_Mojo_Jojo_a.htm HTTP/1.0" 403 13 "-" "Python-urllib/1.17"
60.168.38.222 - - [15/Jan/2015:23:34:14 -0800] "GET /announce?info_hash=4%BF%AEy%60f%85M%AA%BD%7BcBk%10%7Ct%2D%AE%C7&peer_id=%2DSD0100%2D%E8V%2C%CE%9F%E39%06e%17%23%CA&ip=192.168.1.101&port=11277&uploaded=8380544196&downloaded=8380544196&left=3255698354&nu

Keybase proof

I hereby claim:

  • I am chockenberry on github.
  • I am chockenberry (https://keybase.io/chockenberry) on keybase.
  • I have a public key whose fingerprint is 2E64 59C9 0BBD C169 3C0F 5C37 8EE0 CB38 3C52 E2F7

To claim this, I am signing this object:

@genadyo
genadyo / gist:295a5e8f0d743f57137f
Created November 27, 2014 17:21
app_store_app_data.json
{
"491289025" : "ijinshan-kappmarket://",
"301521403" : "fb103361823069955://",
"492178411" : "ils492178411://",
"346142396" : "fb234434003713://",
"310633997" : "whatsapp://",
"370614765" : "com.condenet.newyorker://",
"325058491" : "rnmddisco://",
"382952264" : "epichttp://",
"477048487" : "predictwind://",
@philgruneich
philgruneich / sourceCodeTextastic.js
Created November 17, 2014 03:16
Opens the source code from the current page on Textastic
javascript:location.href=(function(){var href=location.href;return "textastic"+href.substring(href.indexOf("://"));})();
@philgruneich
philgruneich / sendFeedToPinboard.py
Created November 17, 2014 02:22
Send entire feed to Pinboard
#coding: utf-8
import feedparser
import urllib
import bs4
import keychain
import console
import pickle
# Get your token at:
# http://pinboard.in/settings/password
@chockenberry
chockenberry / gist:055bd31f28f3bc5904ea
Last active October 22, 2020 19:24
LAST TIME I WAS IN A PLAY GROUND I GOT BUSTED
typealias BOOLAEN = Bool
typealias LIKEON68K = UInt16
typealias LIKEONPENTIUM = UInt32
typealias STRING = String
typealias STRINGINDEX = String.Index
typealias BOOL = Bool
typealias UNICODESCALER = UnicodeScalar
typealias GONADS = String
typealias NUMBERSWITHDOTS = Double
@chockenberry
chockenberry / gist:85d10a83a924e415ece6
Created October 31, 2014 18:07
xScope Status Items
- (void)createStatusItems
{
const CGFloat itemLength = 22.0f;
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
if ([userDefaults boolForKey:generalStatusbarSingleItemKey]) {
// create a single status item with a menu to access tools
NSMenu *statusMenu = [[[NSMenu alloc] initWithTitle:@"Status"] autorelease];
#!/bin/sh
find=`find /Applications /Applications/Utilities -maxdepth 2 -name '*.app' -exec echo \{\} \;`
#echo $find
IFS=$'\n'
apps=($find)
total=${#apps[*]}
echo "Checking $total applications..."
echo "The following applications will break in Gatekeeper on 10.9.5 and Yosemite:"
count=0
@gruber
gruber / JavaScript Blacklist
Last active May 6, 2024 01:54
My list of blocked sites for use with Drew Thaler's JavaScript Blacklist extension for Safari (https://code.google.com/p/jsblacklist/downloads/list)
adclick.g.doubleclick.net, addthis.com, adgardener.com, adnxs.com, ads.pointroll.com, ads.shorttail.net, apture.com, bop.fm, cdn.taboolasyndication.com, chartbeat.com, chartbeat.net, d1.openx.org, doubleclick.net, doubleverify.com, exitjunction.com, fyre.co, getconnected.southwestwi-fi.com, googleadservices.com, gravity.com, grvcdn.com, imrworldwide.com, intellitxt.com, jetpackdigital.com, kontera.com, livefyre.com, luminate.com, meebo.com, moovmanage.com, outbrain.com, parsely.com, po.st, pointroll.com, pubmatic.com, quantserve.com, s.ppjol.net, scorecardresearch.com, serving-sys.com, sharethis.com, snap.com, superclick.com, taboola.com, taboolasyndication.com, tynt.com, wibiya.com, zergnet.com