Resource: http://tech.jocke.no/2010/09/27/add-timestamp-to-ping/
I modified the original suggestion of… ping google.com | while read pong; do echo "$(date): $pong"; done
ping google.com | while read pong; do echo "$(date): $pong"; done
ab is a tool for benchmarking your Apache HTTP server. (source)
ab
I saw Ryan Dahl’s Introduction to Node presentation where he used the ab command line utility.
git log | subl allows you to view the Git log in Sublime Text (assuming your symlink has been established). Or you can write into a file with git log > gitlog.txt! More about these strange symbols (like >, >>, |, and <) here.
git log | subl
git log > gitlog.txt
>
>>
|
<
NOTE (Jan 22, 2017): I no longer use brew to install node; I use nvm to install node instead.
brew
node
nvm
I followed John Papa’s “How to use npm global without sudo on OSX” guide here.