Originally Posted by
kingwilly
Erm, my inner math nerd is delighted with the possibilities of grapher, but I still dont know anything about Macs yet....please
If you want to look busy while you go off for a coffee or a smoke then open up Terminal drag the lower right corner to make it a bit bigger than the default window size and enter:
Code:
cat /dev/urandom | hexdump -C | grep "ca fe"
Green ca fe:
Code:
export GREP_COLOR='1;32'; cat /dev/urandom | hexdump -C | grep --color=auto "ca fe"
This version is easier on the CPU:
Code:
while [ true ]; do head -n 100 /dev/urandom; sleep .1; done | hexdump -C | grep "ca fe"
Easy on the CPU with colour & flashing!
Code:
export GREP_COLOR='05;31'; while [ true ]; do head -n 100 /dev/urandom; sleep .1; done | hexdump -C | grep --color=auto "ca fe"
Then press enter. Ctrl+C to stop it.