- Roy T. Fielding: Architectural Styles and the Design of Network-based Software Architectures
- Mike Amundsen: Building Hypermedia APIs with HTML5 and Node
- Steve Klabnik Designing Hypermedia APIs
- Gustaf Nilsson Kotte: Combining HTML Hypermedia APIs and Adaptive Web Design
- Björn Rochel: My Pain With a Non Hypermedia HTTP API
- Jan Kronquist and Mads Enevoldsen: Why hypermedia APIs?
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
| --- EASY PEASY LEMON SQUEEZY --- | |
| Highlight identical words (a la IDA) | |
| Make JS run use jsc if node is unavailable | |
| Xcode integration | |
| URL field in Web Preview | |
| Shortcut to add next occurrence of word or selection to selection | |
| Select arbitrary blockedit region using the keyboard | |
| Add symbol list to status bar | |
| --- MEDIUM --- |
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
| # xcode-build-bump.sh | |
| # @desc Auto-increment the build number every time the project is run. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
| # 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
All links are amazon affiliate. I'm recommending you books, it's how I pay to buy my own. ;)
Links for essays ref'd in http://blog.fogus.me/2009/03/11/seven-books/
- On the Criteria to Be Used in Decomposing Systems Into Modules – David Parnas
- A Note On Distributed Computing – Jim Waldo, Geoff Wyant, Ann Wollrath, Sam Kendall
- The Next 700 Programming Languages – P. J. Landin
- Can Programming Be Liberated from the von Neumann Style? – John Backus
- Reflections on Trusting Trust – Ken Thompson
- Lisp: Good News, Bad News, How to Win Big – Richard Gabriel
- An Experimental Evaluation of the Assumption of Independence in Multiversion Programming – John Knight and Nancy Leveson
- [Arguments and Results –
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
| Tricks to add encrypted private SSH key to .travis.yml file | |
| To encrypt the private SSH key into the "-secure: xxxxx....." lines to place in the .travis.yml file, generate a deploy key then run: (to see what the encrypted data looks like, see an example here: https://github.com/veewee-community/veewee-push/blob/486102e6f508214b04414074c921475e5943f682/.travis.yml#L21 | |
| base64 --wrap=0 ~/.ssh/id_rsa > ~/.ssh/id_rsa_base64 | |
| ENCRYPTION_FILTER="echo \$(echo \"-\")\$(travis encrypt veewee-community/veewee-push \"\$FILE='\`cat $FILE\`'\" | grep secure:)" | |
| split --bytes=100 --numeric-suffixes --suffix-length=2 --filter="$ENCRYPTION_FILTER" ~/.ssh/id_rsa_base64 id_rsa_ | |
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 robotics-parser) | |
| (def conveyor-symbols { \# :wall \| :laser }) | |
| (def robot-symbol "X") | |
| (defn wall-data [text] (map #(conveyor-symbols %) text)) | |
| (defn parse [input] | |
| (let [[north middle south] (clojure.string/split input #"\n")] | |
| { :north_side (wall-data north) | |
| :south_side (wall-data south) |
- see https://gist.github.com/machty/5723945 for the latest API (unlikely to change from now on)
- latest Ember build: https://machty.s3.amazonaws.com/ember/ember-async-routing-10.js
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
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
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |