上周末,美国白宫新闻发言人Sarah Sanders以“欧威尔式胡言乱语”(Orwellian nonsense)抨击中国要求美国航空公司,不得将台湾列为“国家”的行为。她用了川普总统的话说,川普会坚定对抗中共强加政治正确,在美国公司与人民身上。原文是: “This is Orwellian nonsense and part of a growing trend by the Chinese Communist Party to impose its political views on American citizens and companies and China's internal internet repression is world famous,China's efforts to export its censorship and political correctness to Americans and the rest of the free world will be resisted.” “President Donald J. Trump ran against political correctness in the United States,” “He will stand up for Americans resisting efforts by the Chinese Communist Party to impose Chinese political correctness on American companies and citizens. ” 这是美国对中国态度的最新形势。用语犀利,不留情面。另一个可以观察美国对中国的内心愤怒,也发生在上周。 美方代表团在登机赴北京谈判的几个小时前,重量级成员美国商务部长罗斯接受了CNBC的采访。罗斯在采访中表明,川普不会再容忍中共的“邪恶”。他说,“川普总统已经明白现在就是行动的最好时机。中美赤字过于巨大,时间也过于长久,就像慢性疾病一样折磨美国,而且是由邪恶行为激发的(INSPIRED BY EVIL PRACTICES)。” 罗斯强调,“我们现在不是打算要自杀。我们不想让他们(中共)和美国死。但事实是,(如果贸易战继续),他们死亡的危险比我们要大。”(NOW,WE ARE NOT GOING TO BE TRYING TO COMMIT SUICIDE HERE. WE DON'T WANT TO HAVE THEM DIE AND US DIE. BUT IT'S A FACT THEY HAVE MORE RISK THAN WE DO.) 不论是“欧威尔式胡言乱语”(Orwellian nonsense)或是“由邪恶行为激发”(INSPIRED BY EVIL PRACTICES)。或是用“死”DIE这个字来描述目前中美之间的关系,都表达了美国对中共的容忍已到了极限。 美国这样的表态,特别是对台湾议题的鲜明立场,简单说,就是台湾不是中国的一部分,要中共不要胡言乱语了。美国用国内法《台湾关系法》,39年来所建立的美台关系,虽然不是外交关系,可是确实是“特殊的国与国关系”(special state to state relationship),台湾不属于中华人民共和国,是常识,中共要美国航空公司,违背常识来标示,完全是胡说八道。 用“邪恶”两字来描述中共,几乎已是世界各国在谈及中共迫害人权方面的常用语。这种规模的对抗,已不能用贸易战来认知。这是全面战争的讯号。未来,可以看到美国会有更多激烈手段,直接让中共兵败如山倒。因为美国已无任何悬念,要除魔斩妖了.
Fallback proxy (missing requests defer to another server)
Install
Binaries See the latest release or download it with this one-liner: curl i.jpillora.com/serve | bash Source
$ go get -v github.com/jpillora/serve
Usage
serve --help
<tmpl,code: go run main.go --help>
Usage: serve [options] [directory]
[directory] from which files will be served (default .)
Options: --host, -h Host interface (default 0.0.0.0) --port, -p Listening port (default 3000) --livereload, -l Enable LiveReload, a websocket server which triggers browser refresh after each file change --pushstate, -s Enable PushState mode, causes missing directory paths to return the root index.html file, instead of a 404. This allows correct use of the HTML5 History API. --noindex, -n Disable automatic loading of index.html --noslash Disable automatic slash insertion when loading an index.html or directory --nolist Disable directory listing --noarchive Disable directory archiving (download directories by appending .zip .tar .tar.gz, archives are streamed without buffering) --quiet, -q Disable all output --timefmt, -t Set timestamp output format (default [2006-01-02 15:04:05.000]) --open, -o On server startup, open the root in the default browser (uses the 'open' command) --fallback, -f Requests that yeild a 404, will instead proxy through to the provided path (swaps in the appropriate Host header) --help --version, -v
Version: 0.0.0
Read more: https://github.com/jpillora/serve
from https://github.com/jpillora/serve
--------------------------
Simple command-line file / directory server.
serve
Simple 5 minute command-line file / directory server built with connect, inspired by nodejitsu's http-server to show off the simplicity and flexibility of connect as a modular server.
Usage: serve [options] [dir] Options: -h, --help output usage information -V, --version output the version number -o, --open opens a browser window to this server -a, --auth <user>:<pass> specify basic auth credentials -F, --format <fmt> specify the log format string -p, --port <port> specify the port [3000] -r, --root <root> specify the root directory [] --https-port <port> specify the port [3443] -H, --hidden enable hidden file serving -S, --no-stylus disable stylus rendering -J, --no-jade disable jade rendering --no-less disable less css rendering -I, --no-icons disable icons -L, --no-logs disable request logging -D, --no-dirs disable directory serving -f, --favicon <path> serve the given favicon -C, --cors allows cross origin access serving -s, --https also serve over https --key key file path for https --cert certificate file for https --ca CA certificate file for https --compress gzip or deflate the response --exec <cmd> execute command on each request
Examples
HTTP Accept support built into connect.directory(): $ curl http://local:3000/ -H "Accept: text/plain" bin History.md node_modules package.json Readme.md Requesting a file: $ curl http://local:3000/Readme.md # serve ...
from https://github.com/tj/serve -------- Static file serving and directory listing https://npmjs.com/serve
serve
Have you ever wanted to share a project on your network by running just a command? Then this module is exactly what you're looking for: It provides a neat interface for listing the directory's contents and switching into sub folders. In addition, it's also awesome when it comes to serving static sites!
Usage
Firstly, install the package from npm (you'll need at least Node.js 7.6.0):
Once that's done, you can run this command inside your project's directory:
serve [options] <path>
Options
Run this command to see a list of all available options:
serve help
Authentication
If you set the --auth flag, the package will look for a username and password in the SERVE_USER and SERVE_PASSWORD environment variables. As an example, this is how such a command could look like:
SERVE_USER=leo SERVE_PASSWORD=1234 serve --auth
API
You can also use the package inside your application. Just load it:
constserve=require('serve')
And call it with flags (run this command for the full list):