Metro界面无解。
Candy版: http://candy-sky.net/2014/01/21/mactype-20131231/ Baidu Yun:
| #!/bin/sh | |
| # by Jakukyo Friel <[email protected]> | |
| # under Apache License, Version 2.0, <http://www.apache.org/licenses/LICENSE-2.0.html> | |
| ### Submit offline download tasks to Baidu Pan. | |
| ## Requires: | |
| # | |
| # - [jq](http://stedolan.github.io/jq/) |
Metro界面无解。
Candy版: http://candy-sky.net/2014/01/21/mactype-20131231/ Baidu Yun:
| [General] | |
| Icon=Candy.ico,0 | |
| DirectWrite=1 | |
| HintSmallFont=1 | |
| HintingMode=1 | |
| AntiAliasMode=2 | |
| NormalWeight=10 | |
| BoldWeight=1 | |
| ItalicSlant=-2 | |
| EnableKerning=0 |
| #user nobody; | |
| worker_processes 1; | |
| #error_log logs/error.log; | |
| #error_log logs/error.log notice; | |
| #error_log logs/error.log info; | |
| #pid logs/nginx.pid; |
| <?php | |
| $tel_no = $_GET['hm']; | |
| $c = $_GET['c']?$_GET['c']:0; | |
| $c++; | |
| ?> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>迷你轰炸台 - 短信炸弹 - BETA!</title> | |
| <?php |
| # unlimit history | |
| export HISTFILESIZE= | |
| export HISTSIZE= | |
| # color history out | |
| export HISTTIMEFORMAT="[$(tput setaf 6)%F %T$(tput sgr0)]: " | |
| # append to the history file, don't overwrite it | |
| shopt -s histappend |
分布式系统的核心是分布式通信,而传统上开发一套支持上千台规模集群,可靠性非常高的分布式通信框架,需要不少的精力投入。而在多数情景下,我们(特别是时间宝贵的OP)并不是非常关注技术实现的细节,而是希望有一套成熟、轻量、可靠性高、使用方便而且易于调试的分布式通信框架,可以直接使用,从而把时间放在具体业务逻辑上。
在PyCon 2012大会上,dotcloud公司开源了一套基于ZeroMQ和MessagePack的分布式通信框架(或者说是协议+Python实现)。该框架因为基于ZeroMQ,使用方法是RPC,所以被命名为ZeroRPC。ZeroRPC的特点在其官网的介绍中一目了然[1]:
ZeroRPC is a light-weight, reliable and language-agnostic library for distributed communication between server-side processes.
| #!/bin/bash | |
| #Usage: sh $0 <app_id> | |
| if [[ $? != 1 ]];then | |
| echo "Usage: sh $0 <extension_id>" >&2 | |
| echo "Output: <extension_id>.crx (zip file)" | |
| exit 1 | |
| fi | |
| app_id=$1 |
| text |