Skip to content

Instantly share code, notes, and snippets.

View fzerorubigd's full-sized avatar
🤷‍♂️
/shrug

Forud fzerorubigd

🤷‍♂️
/shrug
View GitHub Profile
~/.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
@fzerorubigd
fzerorubigd / config
Created June 25, 2014 07:31
push every thing. git config
[remote "origin"]
url = gitserver:master/neo-services.git
fetch = +refs/heads/*:refs/remotes/origin/*
push = +refs/heads/*:refs/heads/*
push = +refs/tags/*:refs/tags/*
@fzerorubigd
fzerorubigd / post-receive.sh
Created June 25, 2014 07:33
Just if there is a change in a branch available Hook
#!/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
@fzerorubigd
fzerorubigd / gist:7a5a7a3d3bcdde982067
Last active August 29, 2015 14:04
censor dns result in Iran
We couldn’t find that file to show.
@fzerorubigd
fzerorubigd / connect.org
Last active August 29, 2015 14:06
راهنمای بازی کانکت!
@fzerorubigd
fzerorubigd / init.el
Created September 26, 2014 12:59
~/.emacs/init.el
;; 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.
@fzerorubigd
fzerorubigd / blocked
Created December 8, 2014 20:11
my block list for go
code.google.com
googleapis.com
googleusercontent.com
ytimg.com
youtube.com
youtube-nocookie.com
bitbucket.org
thepiratebay.se
humblebundle.com
plus.url.google.com
@fzerorubigd
fzerorubigd / zsh_stats
Created December 9, 2014 16:07
Zsh stats from oh-my-zsh
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
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
#
# /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.