- Python 3
- Pip 3
$ brew install python3
// Website you intended to retrieve for users. | |
const upstream = 'api.openai.com' | |
// Custom pathname for the upstream website. | |
const upstream_path = '/' | |
// Website you intended to retrieve for users using mobile devices. | |
const upstream_mobile = upstream | |
// Countries and regions where you wish to suspend your service. |
'use strict' | |
/** | |
* static files (404.html, sw.js, conf.js) | |
*/ | |
const ASSET_URL = 'https://etherdream.github.io/jsproxy' | |
const JS_VER = 10 | |
const MAX_RETRY = 1 |
// Website you intended to retrieve for users. | |
const upstream = 'www.google.com' | |
// Custom pathname for the upstream website. | |
const upstream_path = '/' | |
// Website you intended to retrieve for users using mobile devices. | |
const upstream_mobile = 'www.google.com' | |
// Countries and regions where you wish to suspend your service. |
On your Mac, choose Apple menu > System Preferences, then click Sharing.
Click Edit, then enter a new local hostname.
Github provides no facility to do this via the UI. This is sad, because it would be extremely useful in order to draft something before publishing it. It would also be trivial for them to implement. Never mind; here's how to do it manually:
https://gist.github.com/b9cc265982870c091a1e.git
, and extract the ID b9cc265982870c091a1e
.https://gist.github.com/8270253.git
, and extract the ID 8270253
.git clone [email protected]:b9cc265982870c091a1e tmp-dir && cd tmp-dir && git push -f [email protected]:8270253.git
#!/usr/bin/env python3 -tt | |
""" | |
Module documentation. | |
""" | |
# Imports | |
import sys | |
#import os | |
# Global variables |
{ | |
"log": { | |
"loglevel": "none" | |
}, | |
"inbound": { | |
"port": 23456, | |
"listen": "127.0.0.1", | |
"protocol": "socks", | |
"settings": { | |
"udp": true |
<useragentswitcher> | |
<folder description="Browsers - Windows"> | |
<folder description="Legacy Browsers"> | |
<useragent description="Arora 0.6.0 - (Vista)" useragent="Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527 (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/> | |
<useragent description="Avant Browser 1.2" useragent="Avant Browser/1.2.789rel1 (http://www.avantbrowser.com)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/> | |
<useragent description="Chrome 4.0.249.0 (Win 7)" useragent="Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.0 Safari/532.5" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub=""/> | |
<useragent description="Chrome 5.0.310.0 (Server 2003)" useragent="Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.310.0 Safari/532.9" appcodename="" appname="" |
plutil -p /usr/share/mecabra/updates/com.apple.inputmethod.SCIM.bundle/Contents/Resources/blocking_zh-Hans.plist | |
{ | |
"blocking data" => { | |
"柱头" => 0 | |
"共匪" => 0 | |
"班玛" => 0 | |
} | |
"priority" => 123 | |
} |