TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GitHub Zen API

97 pointsby bencevansover 11 years ago

17 comments

packetbeatsover 11 years ago
After curl-ing for a while in a loop, and sort -u:<p><pre><code> 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&#x27;s not fully shipped until it&#x27;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.</code></pre>
评论 #6380663 未加载
bryogenicover 11 years ago
Great fun with cowsay<p><pre><code> $ curl https:&#x2F;&#x2F;api.github.com&#x2F;zen -s | cowsay _____________________ &lt; Speak like a human. &gt; -------------------- \ ^__^ \ (oo)\_______ (__)\ )\&#x2F;\ ||----w | || ||</code></pre>
评论 #6380808 未加载
评论 #6380652 未加载
评论 #6380668 未加载
评论 #6381523 未加载
评论 #6381228 未加载
评论 #6381693 未加载
brbcodingover 11 years ago
Never realized there was an emojis api too... <a href="https://api.github.com/emojis" rel="nofollow">https:&#x2F;&#x2F;api.github.com&#x2F;emojis</a>
gizzlonover 11 years ago
Surprisingly profound: <i>Anything added dilutes everything else</i>
评论 #6382551 未加载
评论 #6380856 未加载
jlgaddisover 11 years ago
<p><pre><code> $ grep bofh .bash_aliases alias bofh=&quot;nc bofh.jeffballard.us 666 | tail -n 1 | sed -e &#x27;s&#x2F;Your excuse is: &#x2F;&#x2F;&#x27;&quot; $ bofh The air conditioning water supply pipe ruptured over the machine room</code></pre>
RobAleyover 11 years ago
The comments below demonstrate that, while cute, virtually all of the statements it comes up with are entirely subjective, quite superficial, totally ambiguous, and useless for most things.<p>Great conversation starter though!
burgeralarmover 11 years ago
This reminds me of a small project I tossed together:<p><a href="http://git-fortune.bclune.org" rel="nofollow">http:&#x2F;&#x2F;git-fortune.bclune.org</a><p>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:<p><a href="http://git-fortune.bclune.org/twbs/bootstrap" rel="nofollow">http:&#x2F;&#x2F;git-fortune.bclune.org&#x2F;twbs&#x2F;bootstrap</a><p>Inspired by What the Commit? and &#x2F;usr&#x2F;bin&#x2F;fortune.
nekgrimover 11 years ago
&quot;Non-blocking is better than blocking.&quot;<p>You don&#x27;t say.
评论 #6380475 未加载
tallesover 11 years ago
Is there anything related to the zen of python?<p>I got &quot;practicality beats purity&quot;, that is in it (&quot;Special cases aren&#x27;t special enough to break the rules. Although practicality beats purity.&quot;).
arjunbajajover 11 years ago
$ npm install github-zens -g<p>$ zen<p>A Node Module which prints the zens (offline list). <a href="https://github.com/arjunbajaj/github-zens" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;arjunbajaj&#x2F;github-zens</a>
ismaelcover 11 years ago
<a href="https://www.mashape.com/community/github-zen#!documentation" rel="nofollow">https:&#x2F;&#x2F;www.mashape.com&#x2F;community&#x2F;github-zen#!documentation</a>
Void_over 11 years ago
If you wanna read short messages from which you won&#x27;t benefit in any way, might as well try:<p><a href="http://whatthecommit.com" rel="nofollow">http:&#x2F;&#x2F;whatthecommit.com</a>
leddtover 11 years ago
Is this used anywhere at all, or is it just an easter egg ?
andmariosover 11 years ago
I had made something like that with fortune and php many-many years ago.<p>I wonder if GitHub has a static list of quotes (like fortune does) or they generate them dynamically.
cliveowenover 11 years ago
&quot;Responsive is better than fast.&quot;<p>I don&#x27;t agree with this.
评论 #6380421 未加载
评论 #6380540 未加载
评论 #6380693 未加载
评论 #6380389 未加载
评论 #6380413 未加载
odirootover 11 years ago
Check response headers. Pretty strict rate limiting.
taf2over 11 years ago
it just says &quot;design for failure&quot; ?<p>[edit] okay i get it refreshing gives another message etc. etc.