This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
;; mattyw's solution to Reverse a Sequence | |
;; https://4clojure.com/problem/23 | |
(fn [seq] (reduce (fn [a b] (cons b a)) '() seq)) |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Speaking of getting things done, not sure if this has been catalogued, but here's a list of the first two seasons of the sub-podcast "Grey’s Efficiencies" (term coined by /u/JeffDujon) for those that liked 41 and 39. | |
- [Work-Life Balance… Or Maybe Not.](http://youtu.be/DtSXlTTGFrQ?t=8m14s) | |
- [Delay… Delay… Delay \(aka the first mention of OmniFocus\)](http://youtu.be/ieHQCXiXREM?t=31m24s) | |
- [Owning and Moving Objects](http://youtu.be/-j-tCHzjam4?t=20m27s) | |
- [Travel Checklists](http://youtu.be/-j-tCHzjam4?t=38m1s) | |
- [Minimalism vs Functionalism](http://youtu.be/-6gKdbFhla4?t=11m5s) | |
- [Email](http://youtu.be/-6gKdbFhla4?t=40m00s) | |
- [Grey's Least Favorite Emails](http://youtu.be/WeXaEOOXWk0?t=4m53s) | |
- [Grey’s Bayesian Email Filter Named Brady](http://youtu.be/JfIrFBoUH44?t=14m05s) |
[ Update 2025-03-24: Commenting is disabled permanently. Previous comments are archived at web.archive.org. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.