GitHub Zen API
api.github.com
api.github.com
Anything added dilutes everything else.
Approachable is better than simple.
Avoid administrative distraction.
Design for failure.
Encourage flow.
Favor focus over features.
Half measures are as bad as nothing at all.
It's not fully shipped until it's fast.
Keep it logically awesome.
Mind your words, they are important.
Non-blocking is better than blocking.
Practicality beats purity.
Responsive is better than fast.
Speak like a human.I currently use the "Cluefire and Damnation"[1] fortunes and pipe it into ponysay[2] at login.
$ curl https://api.github.com/zen -s | cowsay
_____________________
< Speak like a human. >
--------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| || ls /usr/share/cowsay | xargs -n1 -I{} cowsay -f {} foo | less
Some of them are.. well.."Cow Operation"? WTF
Kosh works exceptionally well with tiny zen sayings.
______________________________________
< Mind your words, they are important. >
--------------------------------------
\
\
\
___ _____ ___
/ \ / /| / \
| | / / | | |
| | /____/ | | |
| | | | | | |
| | | {} | / | |
| | |____|/ | |
| | |==| | |
| \___________/ |
| |
| | $ ls /usr/share/cows/
beavis.zen.cow dragon-and-cow.cow hellokitty.cow moofasa.cow sodomized.cow turtle.cow
bong.cow dragon.cow kiss.cow moose.cow stegosaurus.cow tux.cow
bud-frogs.cow elephant.cow kitty.cow mutilated.cow stimpy.cow udder.cow
bunny.cow elephant-in-snake.cow koala.cow ren.cow supermilker.cow vader.cow
cheese.cow eyes.cow kosh.cow satanic.cow surgery.cow vader-koala.cow
cower.cow flaming-sheep.cow luke-koala.cow sheep.cow telebears.cow www.cow
daemon.cow ghostbusters.cow meow.cow skeleton.cow three-eyes.cow
default.cow head-in.cow milk.cow small.cow turkey.cowCows are installed to /usr/share/cowsay/cows
For instance: cowsay -f kosh "Understanding is a three-edged sword."
$ curl https://api.github.com/octocat
MMM. .MMM
MMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMM _____________________
MMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMM | Speak like a human. |
MMMMMMMMMMMMMMMMMMMMMMMM |_ _________________|
MMMM::- -:::::::- -::MMMM |/
MM~:~ ~:::::~ ~:~MM
.. MMMMM::. .:::+:::. .::MMMMM ..
.MM::::: ._. :::::MM.
MMMM;:::::;MMMM
-MM MMMMMMM
^ M+ MMMMMMMMM
MMMMMMM MM MM MM
MM MM MM MM
MM MM MM MM
.~~MM~MM~MM~MM~~.
~~~~MM:~MM~~~MM~:MM~~~~
~~~~~~==~==~~~==~==~~~~~~
~~~~~~==~==~==~==~~~~~~
:~==~==~==~==~~
You can also append `?s="your message here"` to use it to say something other than one of the GitHub Zen messages.... and ponysay: http://i.imgur.com/Df09hpV.png
$ grep bofh .bash_aliases
alias bofh="nc bofh.jeffballard.us 666 | tail -n 1 | sed -e 's/Your excuse is: //'"
$ bofh
The air conditioning water supply pipe ruptured over the machine roomGreat conversation starter though!
It grabs a random commit message from a github repo and displays it. By default, it pulls from a repo containing the original debian fortunes as commit messages. But you can point it to other repos like this:
http://git-fortune.bclune.org/twbs/bootstrap
Inspired by What the Commit? and /usr/bin/fortune.
You don't say.
Is Node.js VS Ruby even a thing?
Node has a weird subset of web people who haven't discovered erlang and think they are too good for deploying a message/job dispatch queue with python or ruby.
If you want to be really bored with all these "modern" programming advancements, learn erlang and lisp and smalltalk. Everything is just reinventing their aspects over and over and over again targeted to audiences as "new new new!"
I got "practicality beats purity", that is in it ("Special cases aren't special enough to break the rules. Although practicality beats purity.").
$ zen
A Node Module which prints the zens (offline list). https://github.com/arjunbajaj/github-zens
I wonder if GitHub has a static list of quotes (like fortune does) or they generate them dynamically.
I don't agree with this.
[1]: http://manpages.ubuntu.com/manpages/raring/man1/ionice.1.htmlBeing fast gets you to far away places, but being responsive gets you places where you want to be.
[edit] okay i get it refreshing gives another message etc. etc.