View bleh.js
scriptEl.onload = function() {
alert('yo')
View keybase.md

Keybase proof

I hereby claim:

  • I am gerrywastaken on github.
  • I am gerrywastaken (https://keybase.io/gerrywastaken) on keybase.
  • I have a public key ASAbJrjqql8qJmAmZPeL_3KneKZ9iOh0oWtiQkxWMTKVjgo

To claim this, I am signing this object:

View bigquery-most-popular-gems.sql
View machine_learning_iris_example.rb
iris[0].data = {
target: :setosa
sepal_length: 5.1,
sepal_width: 3.5,
petal_length: 1.4,
petal_width: 0.2
}
View less_repetitive_weather_links.html
View angular_resource_get_callback.js
$scope.weatherResult = $scope.weatherApi.get(
{ q: $scope.city, cnt: 2 },
function(result) {
console.log(result)
}
);
View famous-101-positioning-4-simplified.js
var Engine = require('famous/core/Engine');
var Surface = require('famous/core/Surface');
var StateModifier = require('famous/modifiers/StateModifier');
var Transform = require('famous/core/Transform');
var mainContext = Engine.createContext();
function translateModifier(){
return new StateModifier({
transform: Transform.translate(200, 0, 0)
View gist:85d5d13408d0dc4ed7db
irb(main):017:0> val = RBENV_VERSI0N
NameError: uninitialized constant RBENV_VERSI0N
from (irb):17
from /Users/gerardcaulfield/.rbenv/versions/2.1.2/bin/irb:11:in `<main>' # Fair enough
irb(main):018:0> val = rbenv_versi0n
NameError: undefined local variable or method `rbenv_versi0n' for main:Object
from (irb):18
from /Users/gerardcaulfield/.rbenv/versions/2.1.2/bin/irb:11:in `<main>' # Oh right
View gist:2c59bb5602e5a41b0dba
require "delegate"
class CollectionProxy
def products
@products ||= HasManyAssociation.new([])
@products.associated_class ||= Product
@products
end
end
View rvm ruby install issue
me@debian:/storage/webstore$ sudo ./rvm.sh stable --ruby=1.9.3 --debug
Turning on debug mode.
Running(1): Selected RVM branch stableDownloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
Running(1): Running(15): curl --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/stable.tar.gz -o /usr/local/rvm/archives/rvm-stable.tgzRunning(1): Running(6): tar xzf /usr/local/rvm/archives/rvm-stable.tgz --no-same-owner --strip-components 1step> 'system_installation_check' started
step< 'system_installation_check' finished with status 0 in 0.001156285 seconds
step> 'setup_rvm_group_and_users' started
Group 'rvm' already exists
step< 'setup_rvm_group_and_users' finished with status 0 in 0.002343942 seconds
step> 'print_install_header' started