I hereby claim:
- I am marcinb on github.
- I am marcinb (https://keybase.io/marcinb) on keybase.
- I have a public key whose fingerprint is 6A63 C878 BCF6 1EF5 823D AC44 9FB7 A1CC 3864 ED3D
To claim this, I am signing this object:
| # To run this code: | |
| # | |
| # gem install rspec | |
| # rspec code.rb | |
| # | |
| require 'rspec' | |
| User = Struct.new(:github_handle, :followers) | |
| class Github # External dependency |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Chicks</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| <!-- Le styles --> |
| def self.all | |
| [ | |
| { :code => '', :desc => 'All wings', :unit => '' }, | |
| { :code => 'de', :desc => 'Germany', :unit => 'EUR' }, | |
| { :code => 'gr', :desc => 'Greece', :unit => 'EUR' }, | |
| { :code => 'it', :desc => 'Italy', :unit => 'EUR' }, | |
| { :code => 'pl', :desc => 'Poland', :unit => 'PLN' }, | |
| { :code => 'ro', :desc => 'Romania', :unit => 'EUR' }, | |
| { :code => 'ru', :desc => 'Russia', :unit => 'RUB' }, | |
| { :code => 'tr', :desc => 'Turkey', :unit => 'TRY' }, |
| What does it say? | |
| What does it mean? | |
| Is what it says and what it means the same thing? | |
| Do we want that? | |
| Why do we need to say that here? | |
| If you stopped reading here, what’s the message? | |
| What’s the take away after 8 seconds? | |
| How does this make you feel? | |
| What’s down below? | |
| How else can we say this? |
| page = require('webpage').create() | |
| injectjQuery = -> | |
| # phantom allows to dynamically inject any javascript | |
| # into page context. | |
| # Make sure you add jquery to your script dir. | |
| page.injectJs './jquery.js' | |
| # ALWAYS do that when injecting jQuery into other page | |
| page.evaluate -> |