Skip to content

Instantly share code, notes, and snippets.

View glamrock's full-sized avatar
🐝
hacking on things at Berkman <3

Griffin Boyce glamrock

🐝
hacking on things at Berkman <3
View GitHub Profile
# _____ _ _
#/ __ \ | | | |
#| / \/_ __ __ _| |__ __ _ _ __ _ __ | | ___
#| | | '__/ _` | '_ \ / _` | '_ \| '_ \| |/ _ \
#| \__/\ | | (_| | |_) | (_| | |_) | |_) | | __/
# \____/_| \__,_|_.__/ \__,_| .__/| .__/|_|\___|
# | | | |
# |_| |_|
#### BASICS
@glamrock
glamrock / data_brokers.txt
Created December 5, 2016 20:40
A simply complicated guide to removing your info from data brokers
I've compiled a list of data
aggregators, data brokers, direct marketing firms, and others who trade
personal data. Many of these are very quickly dealt with via web forms,
but others require a letter and a copy of a photo ID. Many of the data
brokers came from my notes, but others have come from Reddit threads,
and stopdatamining.me. All sources were fairly out of date, so I've gone
through and listed the current contact info and process for each. Feel
free to pass it along and let me know if there are any errors or
omissions. ^_^
# __________ .__
# \______ \_______|__|____ _______
# | | _/\_ __ \ \__ \\_ __ \
# | | \ | | \/ |/ __ \| | \/
# |______ / |__| |__(____ /__|
# \/ \/
#
#### BASICS
(function(a) {
a.fn.swiftfilter = function(b) {
jQuery(this).each(function() {
jQuery(this)._swiftfilter()
})
};
a.fn._swiftfilter = function(l) {
l = a.extend(l, a(this).data());
var c = a.extend({
container: "html",
@glamrock
glamrock / tweet_sample.json
Created September 8, 2016 14:49 — forked from rmoff/tweet_sample.json
Twitter JSON sample
{"created_at":"Thu Jul 21 09:11:50 +0000 2016","id":756054063439982593,"id_str":"756054063439982593","text":"RT @Mojahedineng: #Iran #News Merkel says no one wants prolonged period of Brexit limbo https://t.co/zFb8Wl8V3q https://t.co/vY7rMeqVzx","source":"<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Mobile Web (M2)</a>","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":2395606770,"id_str":"2395606770","name":"Esmail Abobakr","screen_name":"Esmail_Abobakr","location":"City of London, England","url":"http://mojahedin.org","description":"Human rights","protected":false,"verified":false,"followers_count":512,"friends_count":356,"listed_count":25,"favourites_count":0,"statuses_count":22910,"created_at":"Tue Mar 18 04:30:09 +0000 2014","utc_offset":null,"time_zone":null,"geo_enabled":false,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_col
@glamrock
glamrock / twitter-shared-sample.json
Created September 8, 2016 14:49
twitter-shared-sample.json
{
"took" : 335,
"timed_out" : false,
"_shards" : {
"total" : 260,
"successful" : 260,
"failed" : 0
},
"hits" : {
"total" : 290848930,
@glamrock
glamrock / twVideo.json
Created September 8, 2016 14:49 — forked from AKB428/twVideo.json
Twitter Video JSON
{
"contributors": null,
"text": "ツイッター動画投稿テスト http://t.co/y9hjEfABw1",
"geo": null,
"retweeted": false,
"in_reply_to_screen_name": null,
"possibly_sensitive": false,
"truncated": false,
"lang": "ja",
"entities": {
"i don't believe in the devil / he don't believe in me neither / we got something in common / we're non believers"
@glamrock
glamrock / nmap-return
Created May 10, 2016 23:56
stage.wepay-api.com:443 varnish/fastly 404
# sudo nmap -sV --script ssl-enum-ciphers -p 443,465,993,995 stage.wepayapi.com
SF-Port443-TCP:V=6.40%T=SSL%I=7%D=5/10%Time=57327309%P=x86_64-pc-linux-gnu
SF:%r(GetRequest,1BD,"HTTP/1\.1\x20500\x20Domain\x20Not\x20Found\r\nServer
SF::\x20Varnish\r\nRetry-After:\x200\r\ncontent-type:\x20text/html\r\nCach
SF:e-Control:\x20private,\x20no-cache\r\nconnection:\x20keep-alive\r\nCont
SF:ent-Length:\x20179\r\nAccept-Ranges:\x20bytes\r\nDate:\x20Tue,\x2010\x2
SF:0May\x202016\x2023:47:22\x20GMT\r\nVia:\x201\.1\x20varnish\r\nConnectio
SF:n:\x20close\r\n\r\n\n<html>\n<head>\n<title>Fastly\x20error:\x20unknown
SF:\x20domain\x20</title>\n</head>\n<body>\nFastly\x20error:\x20unknown\x2
@glamrock
glamrock / cf-detect.sh
Last active April 10, 2022 21:05
List of sites within top 100k that use CloudFlare (updated 4/19/16)
#!/bin/bash
# Cloudflare namesever detector
# takes top sites from Alexa and outputs matching sites to a file
# Please note that for 100k sites, this takes hours and hours
readarray -t array < sites-1.txt
cf="cloudflare.com"
for i in "${array[@]}"