I hereby claim:
- I am alexeckermann on github.
- I am alexeckermann (https://keybase.io/alexeckermann) on keybase.
- I have a public key whose fingerprint is CBAA 4632 B67F B4A3 0D03 3832 6446 9476 2557 891E
To claim this, I am signing this object:
| module OauthMocking | |
| def login_with_oauth(provider = :twitter) | |
| visit "/auth/#{provider}" | |
| end | |
| end |
| $golden-ratio: 1.61803399; // Everyone's doing it! | |
| @function golden-division($value, $times: 1) { | |
| @for $i from 1 through $times { | |
| $value: $value / $golden-ratio; | |
| } | |
| @return round($value); | |
| } |
| # app/models/registration.rb | |
| class Registration | |
| attr_accessor :current_step | |
| end | |
| # Registration then ONLY has :current_step in it and the other methods from the engine are blasted |
| StatePostcodeMatchers = { SA: /^5([0-9]){3}/, ACT: /^[2](?:[6](?:[0][0-9]|[1][0-8])|[9](?:[0-1][0-9]|20))/, | |
| VIC: /^3([0-9]){3}/, QLD: /^4([0-9]){3}/, NT: /^08(?:[0-9]){2}/, TAS: /^7[0-7](?:[0-9]){2}/, WA: /^6(?:[0-6](?:[0-9]){2}|[7](?:[0-8][0-9]|[9][0-7]))/, | |
| NSW: /^2(?:[0-6](?:[0-9]){2}|[6](?:[1][9]|[2-7][0-9])|[7](?:[0-9]{2})|[8](?:[0-8](?:[0-9]){1}|[9][0-8])|[9](?:[2][1-9]|[3-9][0-9]))/ } | |
| # Probably dont do this. |
I hereby claim:
To claim this, I am signing this object:
| # Better… not really. Nicer… maybe. | |
| $search = $('#main-navbar .search') | |
| $search.find('input').css | |
| border: '1px solid #cccccc' | |
| $search.find('button').hide() | |
| $search.find('.results').html(loading) | |
| $search.find('.active, .results').show() |
| # iPhone 6 Reservation Availability in Australia | |
| # !! Please use responsibly. Personal use only !! | |
| # `ruby iphone6.rb` - list all available models in all stores | |
| # `ruby iphone6.rb R405` - list available models for a specific store, Rundle Place in this example. | |
| require 'open-uri' | |
| require 'json' | |
| MODEL_NAMES = { | |
| "MG4A2X/A" => "iPhone 6 Space Grey 128GB", |
| # Put this in your shell and smoke it | |
| mkdir -p /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp} |
| import Foundation | |
| import XCPlayground | |
| import Dispatch | |
| class Looper { | |
| var loopQueue : dispatch_queue_t! | |
| var tickSource : dispatch_source_t! | |
| init() { |
| # iPhone 6 Reservation Availability in Australia | |
| # !! Please use responsibly. Personal use only !! | |
| # `ruby iphone6.rb` - list all available models in all stores | |
| # `ruby iphone6.rb R405` - list available models for a specific store, Rundle Place in this example. | |
| require 'open-uri' | |
| require 'json' | |
| MODEL_NAMES = { | |
| "MN8X2X/A" => "7 32 Black", | |
| "MN8Y2X/A" => "7 32 Silver", |