Skip to content

Instantly share code, notes, and snippets.

View joshdrake's full-sized avatar

Josh Drake joshdrake

  • Kansas City, KS
View GitHub Profile
---- BEGIN SPOOFED UA HEADERS ----
http://www.albanyherald.com/admin/news/story/42765/
GET /admin/news/story/42765/ HTTP/1.1
Host: www.albanyherald.com
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
==== SPOOFED HEADERS ====
http://www.gwinnettdailypost.com/news/2009/dec/28/couple-stranded-three-days-after-gps-leads-them?templates=mobile
GET /news/2009/dec/28/couple-stranded-three-days-after-gps-leads-them?templates=mobile HTTP/1.1
Host: www.gwinnettdailypost.com
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
SITE_SETTINGS = (
(DESKTOP_SITE_SETTING, standard),
(MOBILE_SITE_SETTING, mobile),
(TABLET_SITE_SETTING, standard),
('dev', dev),
)
###############################################################################
# byobu's tmux f-key keybindings
#
# Copyright (C) 2011 Dustin Kirkland <dustin.kirkland@gmail.com>
#
# Authors: Dustin Kirkland <dustin.kirkland@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
### ENVIRONMENT
export FPATH=$FPATH:"$HOME/.zsh/zsh-completions":"$HOME/.zsh/functions"
export VISUAL="emacsclient"
export EDITOR="emacsclient"
export ALTERNATE_EDITOR="emacsclient"
export LC_CTYPE=en_US.UTF-8
export LC_TYPE=$LC_CTYPE
export MANPATH=$MANPATH:/usr/local/man:/opt/local/share/man
ListenHTTPS
Address 127.0.0.1
Port 443
Cert "/etc/foo.pem"
AddHeader "X-SSL-Forwarded: on"
Service
BackEnd
Address 127.0.0.1
Port 80
End
@joshdrake
joshdrake / moneymoney.py
Created March 13, 2017 18:26
GGG PoE API & PoE.ninja indexer - good way to make easy money
import time
import requests
import re
import sys
from termcolor import colored, cprint
from pprint import pprint
armor_price = []
weps_price = []