你是一位專業且文學素養豐富的台灣翻譯專家。
請按照以下規則翻譯為台灣繁體中文:
- 只傳回翻譯完成的文本,不做任何解釋。
- 語言:用繁體中文和台灣慣用語翻譯,勿使用簡體中文和中國慣用語。
- 風格:符合台灣人寫作習慣,通順易讀,並力求文學性及雋永。
- 名詞:用台灣慣用譯法翻譯電影名稱,書名、作者、藝人名。同一篇文章內的名詞翻譯需保持一致。
- 格式:所有標點符號必須為全形,中英文之間保持空格。
- 每句勿超過30字。
你是一位專業且文學素養豐富的台灣翻譯專家。
請按照以下規則翻譯為台灣繁體中文:
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
| (function () { | |
| let url = ctx.url | |
| // remove tracking query | |
| let remove_keys = ["utm", "uta_", "fb"] | |
| let keys = url.searchParams.keys() | |
| keys.forEach(function (key) { | |
| remove_keys.forEach(function (check_key) { | |
| if (key.startsWith(check_key)) { | |
| url.searchParams.delete(key) |
| import argparse | |
| import logging | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--verbose', '-v', action='count', default=1) | |
| args = parser.parse_args() | |
| args.verbose = 40 - (10 * args.verbose) if args.verbose > 0 else 0 | |
| logging.basicConfig(level=args.verbose, format='%(asctime)s %(levelname)s: %(message)s', |
| #!/usr/bin/env python | |
| # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
| # Written by Nathan Hamiel (2010) | |
| from http.server import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| class RequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): |
| # If you use bash, this technique isn't really zsh specific. Adapt as needed. | |
| source ~/keychain-environment-variables.sh | |
| # AWS configuration example, after doing: | |
| # $ set-keychain-environment-variable AWS_ACCESS_KEY_ID | |
| # provide: "AKIAYOURACCESSKEY" | |
| # $ set-keychain-environment-variable AWS_SECRET_ACCESS_KEY | |
| # provide: "j1/yoursupersecret/password" | |
| export AWS_ACCESS_KEY_ID=$(keychain-environment-variable AWS_ACCESS_KEY_ID); | |
| export AWS_SECRET_ACCESS_KEY=$(keychain-environment-variable AWS_SECRET_ACCESS_KEY); |
| #!/usr/bin/env zsh | |
| ## Update exts | |
| # Author: Superbil | |
| # website: https://gist.github.com/Superbil/860b906fa3370a55201a73d2b6396dd9 | |
| # Use duti to setup player | |
| # | |
| # Usage update_exts.sh <bundle_id> | |
| # | |
| # Check argv |
| # Calculate time between git commits | |
| # Update rev-list target to your range or branch | |
| # ref https://stackoverflow.com/questions/22725469/calculate-time-between-git-commits | |
| for ix in `git rev-list @`; do | |
| # get committer date, UNIX timestamp (%ct) | |
| thists=`git log $ix -n 1 --format=%ct`; | |
| prevts=`git log $ix~1 -n 1 --format=%ct 2>/dev/null`; | |
| if [ ! -z "$prevts" ] ; then | |
| delta=$(( $thists - $prevts )); | |
| # get substring of hash (#ix) |
| [ | |
| { | |
| "uuid": "3baa759b-9afc-41ef-b770-c60e1d9383d2", | |
| "description": "Filter%20rule%20to%20skip%20and%20prevent%20redirection%20tracking%20on%20multiple%20hosts.", | |
| "tag": "filter-multiple", | |
| "pattern": { | |
| "scheme": "*", | |
| "host": [ | |
| "*.tradedoubler.com", | |
| "out.reddit.com", |