Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jamesfzhang on github.
  • I am jamesfzhang (https://keybase.io/jamesfzhang) on keybase.
  • I have a public key ASD-HLLSbsW7fMLnA253_Bs8xOdl1S26tHEvP-_DxEGI3go

To claim this, I am signing this object:

@jamesfzhang
jamesfzhang / remove_trailing_whitespace
Last active August 29, 2015 13:56
Remove trailing white spaces from ruby, haml, coffee, sass and erb files in current directory.
find . \( -name *.rb -or -name *.haml -or -name *.coffee -or -name *.sass -or -name *.erb \) -print0 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"