pod install --verbose --no-repo-update
pod update --verbose --no-repo-update
var $buttons = $('button.star-button') | |
var index = 0 | |
var timer = window.setInterval(function(){ | |
if(index >= $buttons.length){ | |
window.clearInterval(timer); | |
}else{ | |
$buttons[index++].click(); | |
} | |
}, 1000) |
#!/bin/sh | |
# | |
# git autodeploy script when it matches the string "[deploy]" | |
# | |
# @author icyleaf <[email protected]> | |
# @link http://icyleaf.com | |
# @version 0.1 | |
# | |
# Usage: | |
# 1. put this into the post-receive hook file itself below |
#编辑~/.vimrc文件,加上如下几行: | |
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 | |
set termencoding=utf-8 | |
set encoding=utf-8 |
var list = new Array("Bulgaria", "93.123.23.1/59", | |
"Egypt", "197.199.253.1/59", | |
"Egypt", "197.199.254.1/59", | |
"Hong Kong", "218.189.25.129/187", | |
"Hong Kong", "218.253.0.76/92", "218.253.0.140/187", | |
"Iceland", "149.126.86.1/59", | |
"Indonesia", "111.92.162.4/6", "111.92.162.12/59", | |
"Iraq", "62.201.216.196/251", | |
"Japan", "218.176.242.4/251", | |
"Kenya", "41.84.159.12/30", |
IP Addresses of Google Global Cache | |
www.kookle.co.nr | |
Bulgaria 93.123.23.1 93.123.23.2 93.123.23.3 93.123.23.4 93.123.23.5 93.123.23.6 93.123.23.7 93.123.23.8 93.123.23.9 | |
93.123.23.10 93.123.23.11 93.123.23.12 93.123.23.13 93.123.23.14 93.123.23.15 93.123.23.16 93.123.23.17 93.123.23.18 93.123.23.19 | |
93.123.23.20 93.123.23.21 93.123.23.22 93.123.23.23 93.123.23.24 93.123.23.25 93.123.23.26 93.123.23.27 93.123.23.28 93.123.23.29 | |
93.123.23.30 93.123.23.31 93.123.23.32 93.123.23.33 93.123.23.34 93.123.23.35 93.123.23.36 93.123.23.37 93.123.23.38 93.123.23.39 | |
93.123.23.40 93.123.23.41 93.123.23.42 93.123.23.43 93.123.23.44 93.123.23.45 93.123.23.46 93.123.23.47 93.123.23.48 93.123.23.49 | |
93.123.23.50 93.123.23.51 93.123.23.52 93.123.23.53 93.123.23.54 93.123.23.55 93.123.23.56 93.123.23.57 93.123.23.58 93.123.23.59 | |
Egypt 197.199.253.1 197.199.253.2 197.199.253.3 197.199.253.4 197.199.253.5 197.199.253.6 197.199.253.7 197.199.253.8 197.199.253.9 |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
resolver 8.8.8.8; | |
resolver_timeout 5s; | |
listen 80; | |
server_name ""; |
apt-get update | |
apt-get install -y python-software-properties software-properties-common | |
add-apt-repository ppa:chris-lea/node.js | |
apt-get update | |
apt-get install nodejs |
1、首先我们要把nginx的apt源加入/etc/apt/sources.list: | |
Debian 6(squeeze): | |
deb http://nginx.org/packages/debian/ squeeze nginx | |
deb-src http://nginx.org/packages/debian/ squeeze nginx | |
如果是Debian 5,则将上面的squeeze改成lenny即可。 | |
Ubuntu 12.04 LTS(precise): |
#!/bin/sh | |
# | |
# An example hook script to prepare a packed repository for use over | |
# dumb transports. | |
# | |
# To enable this hook, rename this file to "post-update". | |
#执行pull | |
unset $(git rev-parse --local-env-vars) |