This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.cow/rc => | |
listen = http://0.0.0.0:7070 # <-- Multiple line is allowed for multiple port | |
#logFile = | |
#alwaysProxy = true <- if you want to pass always over the proxy | |
loadBalance = backup/latency # <-- Choose backup or latency | |
# One is enaugh, but cow can do load balance :) ==> Start parent proxy list | |
proxy = ss://<enc-method>:<password>@<host>:<port> #<-- shadowsocks server | |
proxy = http://user:password@host:port # <--http(s) server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[remote "origin"] | |
url = gitserver:master/neo-services.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
push = +refs/heads/*:refs/heads/* | |
push = +refs/tags/*:refs/tags/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read oldrev newrev refname | |
do | |
branch=$(git rev-parse --symbolic --abbrev-ref $refname) | |
if [ "staging" == "$branch" ]; then | |
git push staging #Whatever | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; emacs kicker --- kick start emacs setup | |
;; Copyright (C) 2010 Dimitri Fontaine | |
;; | |
;; Author: Dimitri Fontaine <[email protected]> | |
;; URL: https://github.com/dimitri/emacs-kicker | |
;; Created: 2011-04-15 | |
;; Keywords: emacs setup el-get kick-start starter-kit | |
;; Licence: WTFPL, grab your copy here: http://sam.zoy.org/wtfpl/ | |
;; | |
;; This file is NOT part of GNU Emacs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code.google.com | |
googleapis.com | |
googleusercontent.com | |
ytimg.com | |
youtube.com | |
youtube-nocookie.com | |
bitbucket.org | |
thepiratebay.se | |
humblebundle.com | |
plus.url.google.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log-level=error | |
2max-connection-per-server=10 | |
3max-file-not-found=5 | |
4min-split-size=1M | |
5remote-time=true | |
6summary-interval=60 | |
7max-concurrent-downloads=15 | |
8split=10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# /etc/pacman.conf | |
# | |
# See the pacman.conf(5) manpage for option and repository directives | |
# | |
# GENERAL OPTIONS | |
# | |
[options] | |
# The following paths are commented out with their default values listed. |