News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by amirexdev on Monday January 14, 2019 @10:39AM (#18903743)
These are my favorites:

alias ia="open $1 -a /Applications/iA\ Writer\ Classic.app"

alias makepass="pwgen -s 30 | awk '{print $NF}' | pbcopy"

alias phplint="find . -name \".php\" -print0 | xargs -0 -n1 -P8 php -l"

alias quicklint="find . -name \".php\" -depth 1 -print0 | xargs -0 -n1 -P8 php -l"

alias loc="find . -name '*.php' | xargs wc -l"

There are no comments on this comment yet.