This is what happens when I try to pick a language.
Note: If I didn't think it was possible to create a development environment without any of these issues (which I consider "major" for the most part), I would not have written this list.
- NOTHNX.
| rack-contrib | |
| rack-rewrite |
| require 'rubygems' | |
| require 'json' | |
| require 'net/http' | |
| # Sentiments on tweets | |
| # http://data.tweetsentiments.com:8080/api/search.json?topic=<topic to analyze> | |
| url = "http://data.tweetsentiments.com:8080/api/analyze.json?q=i%20am%20happy" | |
| resp = Net::HTTP.get_response(URI.parse(url)) | |
| data = resp.body | |
| result = JSON.parse(data) |
| results_per_page: 100 | |
| result_type: recent | |
| search_term: 'biersounterwegs+isitbeeroclock' #find tweets containing any of these terms | |
| twitter_timestamp: 61847783463854082 # the timestamp you want to start searching at | |
| api_endpoint_twitter: 'http://search.twitter.com/search.json' | |
| api_endpoint_tumblr: 'http://www.tumblr.com' | |
| tumblr_username: 'youremail@example.com' | |
| tumblr_password: 'bier?' | |
| update_period: 3 #check for updates every 300 secs = 5 minutes | |
| shouts: 'says' # will be concatenated after the username, before the message: @mr_x says: awesome things on a photo! |
This is what happens when I try to pick a language.
Note: If I didn't think it was possible to create a development environment without any of these issues (which I consider "major" for the most part), I would not have written this list.
| brew update | |
| brew versions FORMULA | |
| cd `brew --prefix` | |
| git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
| brew install FORMULA | |
| brew switch FORMULA VERSION | |
| git checkout -- Library/Formula/FORMULA.rb # reset formula | |
| ## Example: Using Subversion 1.6.17 | |
| # |
| ## The quick-and-nasty CVE-2013-0156 Heroku inspector! | |
| ## Originally brought to you by @elliottkember with changes by @markpundsack @ Heroku | |
| ## Download and run using: | |
| ## ruby heroku-CVE-2013-0156.rb | |
| `heroku list`.split("\n").each do |app| | |
| app = app.strip | |
| # Some "heroku apps" lines have === formatting for grouping. They're not apps. | |
| next if app[0..2] == "===" |
| Versioning is an anti-pattern | |
| ============================= | |
| We often say "use the right tool for the job", but when managing change | |
| in software systems, we always use versioning. Hypermedia APIs are | |
| actually hindered by introducing versioning and manage change in a | |
| different way. With that in mind, there are also a lot of options for | |
| managing change in a Hypermedia API. We'd like to change our service and | |
| break as few clients as possible. Versioning is only one way to manage | |
| change, though... and my contention is that it's not appropriate for |