I commonly need to get a big list of all the stuff people think of when they think new and shiny these days. This list is for that.
I take a very inclusionist approach to it. 1
- Web Storage (localStorage, sessionStorage)
- Web SQL Database
I commonly need to get a big list of all the stuff people think of when they think new and shiny these days. This list is for that.
I take a very inclusionist approach to it. 1
| // ==UserScript== | |
| // @name Disable the SOPA overlay on English Wikipedia | |
| // @author Mathias Bynens <http://mathiasbynens.be/> | |
| // @match http://en.wikipedia.org/wiki/* | |
| // ==/UserScript== | |
| // http://mths.be/unsafewindow | |
| window.unsafeWindow || ( | |
| unsafeWindow = (function() { | |
| var el = document.createElement('p'); |
| def tip(msg); puts; puts msg; puts "-"*100; end | |
| # | |
| # 30 Ruby 1.9 Tips, Tricks & Features: | |
| # http://www.igvita.com/2011/02/03/new-ruby-19-features-tips-tricks/ | |
| # | |
| tip "Upgrading to Ruby 1.9 is simple: rvm install 1.9.2 && rvm --default 1.9.2" | |
| tip "Ruby 1.9 supports named captures in regular expressions!" |
| P = programmer; NP = non-programmer | |
| NP: How long will it take? | |
| P: It'll take as long as it takes. | |
| NP: I don't understand. What does that mean? | |
| P: When you tell me that the product is finished, it's done. | |
| NP: You mean you can't estimate how long it'll take? | |
| P: I can't estimate when you'll decide that it is done, therefore an | |
| accurate prediction is impossible. From experience I know that a | |
| project like this can take from three to nine months. A lot |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| http://norvig.com/21-days.html | |
| http://developers.whatwg.org/ | |
| http://dev.opera.com/articles/view/1-introduction-to-the-web-standards-cur/#toc | |
| Local Business connections | |
| http://www.startupconnection.org/ | |
| http://stlouis.startupweekend.org/ | |
| Ruby/Heroku/Rails | |
| http://www.nofluffjuststuff.com/blog/david_bock/2010/12/google_analytics_and_rails3 |
| #! /usr/bin/env thor | |
| require 'mysql2' | |
| class Tonkla < Thor | |
| desc 'migrate', 'migrate tonkla.com\'s blog posts from Drupal to Rails' | |
| def migrate | |
| db_from = Mysql2::Client.new(host: 'localhost', username: 'root', database: 'tonkla_com') | |
| db_to = Mysql2::Client.new(host: 'localhost', username: 'root', database: 'klass_blog_development') | |
| result = db_from.query('SELECT r.title, r.body, n.created AS created_at, r.timestamp AS updated_at |