Skip to content

Instantly share code, notes, and snippets.


Tomas Salazar atomsfat

Block or report user

Report or block atomsfat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
naholyr /
Created Dec 13, 2012
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.


Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
elidupuis / handlebars-helpers.js
Last active Dec 26, 2019
Simple Handlebars.js helpers
View handlebars-helpers.js
/*! ******************************
Handlebars helpers
// debug helper
// usage: {{debug}} or {{debug someValue}}
// from: @commondream (
Handlebars.registerHelper("debug", function(optionalValue) {
console.log("Current Context");
daicham / gist:10253947
Last active May 31, 2019
SSH config for connecting to github and bitbucket over proxy
View gist:10253947
ProxyCommand "C:\Program Files\git\bin\connect.exe" -H %h %p
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
domix /
Created Jan 15, 2012
Delete all keys in Redis
redis-cli KEYS "*" | xargs redis-cli DEL
topfunky /
Created Jul 25, 2011
Shell shortcut to setup a Git repo with GitHub. Works with zsh or bash.
# Usage: new-github topfunky tidy_table
function new-github() {
git remote add origin$1/$2.git
git push origin master
git config branch.master.remote origin
git config branch.master.merge refs/heads/master
git config push.default current
You can’t perform that action at this time.