- exo CLI
- cs
- jq
The usual Markdown Cheatsheet does not cover some of the more advanced Markdown tricks, but here is one. You can include verbatim HTML in your Markdown document. This is particularly useful for tables. Check this out:
Version 1Version 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const json = { | |
| "routes": [{ | |
| "legs": [{ | |
| "summary": "Avenida Infante Dom Henrique, Autoestrada do Norte", | |
| "weight": 11481.1, | |
| "duration": 10976.2, | |
| "steps": [{ | |
| "intersections": [{ | |
| "out": 0, | |
| "entry": [true], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "Caps Lock (Fn) + IJKL", | |
| "rules": [ | |
| { "description": "Caps Lock to fn", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "caps_lock", "modifiers": {"optional": ["any"]}}, "to": [{"key_code": "fn"}]}] }, | |
| { "description": "Fn + I/J/K/L to Arrow Keys", | |
| "manipulators": [{"type": "basic", "from": {"key_code": "i", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "up_arrow"}] }, | |
| {"type": "basic", "from": {"key_code": "j", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "left_arrow"}]}, | |
| {"type": "basic", "from": {"key_code": "k", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "down_arrow"}]}, | |
| {"type": "basic", "from": {"key_code": "l", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "right_arrow"}]}] }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn partition-while | |
| "Given a coll, partition the coll whenever `(f a b)` returns `false`. | |
| Example: `(partition-when #(<= 0 (Math/abs (- %1 %2)) 1) [1 2 3 5 6 8 10 10]) | |
| returns `[[1 2 3] [5 6] [8] [10 10]]` | |
| " | |
| ([f coll] (partition-while f coll [] [])) | |
| ([f [_ & t :as c] result intermediate] | |
| (let [[a b & _] c] | |
| (cond | |
| (nil? a) result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns com.heroku.sdk.CljKeyStore | |
| "Dynamically generated class to allow creating custom key stores by directly passing the certs and keys | |
| instead of relying on env vars" | |
| (:gen-class | |
| :name com.heroku.sdk.CljKeyStore | |
| :extends com.heroku.sdk.EnvKeyStore | |
| :methods [#^{:static true} [fromTrustWithRandomPassword [String] com.heroku.sdk.EnvKeyStore] | |
| #^{:static true} [fromKeyAndCertWithRandomPassword [String String] com.heroku.sdk.EnvKeyStore]] | |
| :constructors {[String String] [String String], | |
| [String String String] [String String String]})) |
(:identity req)is auth backend independent way to access user data- login and logout implementation depends on auth backend
:current-userdoesn't imply that authentication is required, route should also have:auth-rulesif authentication is required
- http://the-paper-trail.org/blog/distributed-systems-theory-for-the-distributed-systems-engineer/
- https://github.com/palvaro/CMPS290S-Winter16/blob/master/readings.md
- http://muratbuffalo.blogspot.com/2015/12/my-distributed-systems-seminars-reading.html
- http://christophermeiklejohn.com/distributed/systems/2013/07/12/readings-in-distributed-systems.html
- http://michaelrbernste.in/2013/11/06/distributed-systems-archaeology-works-cited.html
- http://rxin.github.io/db-readings/
- http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.html
- http://pdos.csail.mit.edu/dsrg/papers/
- http://scalingsystems.com/2011/09/07/reading-list-for-distributed-systems/
- http://courses.engr.illinois.edu/cs525/sp2011/sched.htm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:user {:plugins [[cider/cider-nrepl "0.16.0"] | |
| [lein-midje "3.1.3"] | |
| [lein-cloverage "1.0.9"] | |
| [com.jakemccrary/lein-test-refresh "0.21.1"] | |
| [lein-ancient "0.5.5"] | |
| [jonase/eastwood "0.2.5"] | |
| [lein-kibit "0.0.8"] | |
| [lein-pprint "1.1.2"]]}} |