Daily update
[cnwhitelist.git] / README.md
blobe49fa9c81da82177e50f884cc3066ce1125ff7f4
1 cnwhitelist
2 ===========
4 A whitelist to bypass proxy settings for Chinese website.
6 Note
7 ------------
9 * You may need to change your DNS to Google Public DNS or alternatives.
10 * You may also change your proxy port if you don't like mine.
12 How to Contribute?
13 ------------------
15 * Fork it and download it to your Mac.
16 * Edit, remember to put your sites in right categories.
17 * Send me Pull Request.
19 Format
20 ------
22 Let's assume a website is accessed by `sparanoid.com`, then we use the following rule to bypass the proxy:
24         'sparanoid.com/*',
26 And it can be also accessed via `www.sparanoid.com`, and it has a blog in subdomain `log.sparanoid.com`, then we use:
28         'sparanoid.com/*',
29         '*.sparanoid.com/*',
31 Oh, I forgot, it also has FTP access: `ftp://sparanoid.com/` and it uses HTTPS for WordPress dashboard like `https://log.sparanoid.com/wp-admin/`, so now we modify them to:
33         '*://sparanoid.com/*'
34         '*://*.sparanoid.com/*'
36 For convenience, I just treated all domains as the last situation I described above.
39 License
40 -------
42 (The MIT License)
44 Copyright (c) 2011 Tunghsiao Liu
46 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
48 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
50 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
52 [jk]: https://github.com/mojombo/jekyll
53 [sp]: http://sparanoid.com/