Skip to content

Instantly share code, notes, and snippets.

View chongshenng's full-sized avatar

Chong Shen Ng chongshenng

View GitHub Profile
@chongshenng
chongshenng / .bash_profile
Last active January 3, 2023 11:30
Useful .bash_profile settings for MacOS and *nix
export PS1='\u@mac \W:~\$ '
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias ls='ls -Ga --color'
alias ll='ls -l'
alias llrt='ll -rth'
alias lls='ll -l --block-size=MB'
alias la='ls -a'
@ikusalic
ikusalic / notes_on_testing.md
Created October 24, 2013 21:12
Exploration: how to do unit testing

Testing notes

Uncle Bob: Test First

Source: http://blog.8thlight.com/uncle-bob/2013/09/23/Test-first.html

  • tests are specs for the system and are more important than the system itself
  • (Tests should be) short, well factored, and well named. They ought to read like specifications; because they are specifications
  • (Goal:) trust your test suite to the extent that, if it passes, you know you
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active February 6, 2026 17:33
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname