Skip to content

Instantly share code, notes, and snippets.

[10:12:54] Francisco Ferreira: http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course
[10:15:53] Andrzej Grzesik: set -g utf8 on
set -g status-utf8 on
set -g default-terminal "screen-256color"
setw -g automatic-rename
setw -g mode-mouse on
set -g mouse-select-pane on
set -g history-limit 30000
# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# http://www.floatlearning.com/
# Extension Copyright (c) 2013 Weptun Gmbh
# http://www.weptun.de
#
# Extended by Ronan O Ciosoig January 2012
#
# Extended by Patrick Blitz, April 2013
@scheibinger
scheibinger / .vimrc
Created February 3, 2014 20:55 — forked from napcs/.vimrc
" this is the configuration file for linux and mac systems
" symlink this to your home folder as .vimrc
" It loads ~/.vim/vundle and loads all modules from ~/.vim/bundle.
" It then loads ~/.vim/vimrc_main which has the main
" configuration that works across all systems.
source ~/.vim/vundle
source ~/.vim/vimrc_main
" Put platform specific stuff here.
@scheibinger
scheibinger / osx-sh
Last active August 29, 2015 13:57
osx bash snippets
#what is listening on port 8080 ?
lsof -i -n -P | grep TCP | grep LISTEN | grep 8080
@scheibinger
scheibinger / git-tips.sh
Created March 11, 2014 17:56
git-tips.sh
#remove untracked files:
git clean -f
#unstage file
git reset HEAD file
@scheibinger
scheibinger / RxJS-two-way-binding-example.markdown
Created October 28, 2014 22:55
A Pen by Radoslaw Scheibinger.
@scheibinger
scheibinger / good-mocha-test.js
Last active December 16, 2015 01:38
Good mocha test
//describe what are you testing: given
describe('button widget', function(){
//describe the aspect of object that you are testing: when
describe('when button is clicked', function(){
//verify the expectation: then
it('onClickHandler should be called ', function(){
expect(onClickHandler).to.have.been.called
})
})
});
@scheibinger
scheibinger / tmux-cheatsheet.markdown
Created December 31, 2015 19:41 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@scheibinger
scheibinger / bash_cheatsheet.md
Last active April 1, 2016 17:54
Useful bash commands
#show disk usage of folders
find . -type d -maxdepth 1 -exec du -hcs {} \; | grep "./"	

#unzip recursively
find . -name "*.zip" -exec unzip {} \; -exec /bin/rm {} \;	

#curl POST data and newlines
cat /tmp/mm.txt | curl -d @- http://localhost:3000/message/new
cat /tmp/mm.txt | lwp-request -m POST http://localhost:7600/edges/2269000