Skip to content

Instantly share code, notes, and snippets.

View clarencemorse's full-sized avatar

Clay clarencemorse

  • Greater Boston Area
View GitHub Profile
@clarencemorse
clarencemorse / gist:790d94dbb6350f996811dca7a268503b
Created January 12, 2018 10:50
Customized User-Agent Switcher Config
{"UserAgents":[{"append_to_default_ua":false,"badge":"","getUserAgentString":{},"group":"Chrome","is_managed":false,"is_preset":true,"key":"c_1","show_in_list":false,"title":"Default","ua_string":"","vendor":""},{"append_to_default_ua":false,"badge":"IE10","getUserAgentString":{},"group":"Internet Explorer","is_managed":false,"is_preset":true,"key":"c_10","show_in_list":false,"title":"Internet Explorer 10","ua_string":"Mozilla/5.0 (MSIE 10.0; Windows NT 6.1; Trident/5.0)","vendor":"Microsoft"},{"append_to_default_ua":false,"badge":"IP6","getUserAgentString":{},"group":"iOS","is_managed":false,"is_preset":true,"key":"c_11","show_in_list":false,"title":"iPhone 6","ua_string":"Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25","vendor":"Apple, Inc."},{"append_to_default_ua":false,"badge":"iPad","getUserAgentString":{},"group":"iOS","is_managed":false,"is_preset":true,"key":"c_12","show_in_list":false,"title":"iPad","ua_string":
@clarencemorse
clarencemorse / web-servers.md
Created May 10, 2017 20:33 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000