Skip to content

Instantly share code, notes, and snippets.

View gist:0329e69b2ead4956bb81916d742cdd50
### Keybase proof
I hereby claim:
* I am erithmetic on github.
* I am erithmetic (https://keybase.io/erithmetic) on keybase.
* I have a public key ASAPTfgVHzVEcYA5oFJR6zz7E5UOnW6HZQ1rueEL2wuzaQo
To claim this, I am signing this object:
View keybase.md

Keybase proof

I hereby claim:

  • I am erithmetic on github.
  • I am dkastner (https://keybase.io/dkastner) on keybase.
  • I have a public key ASDaFEZkAeG7sfRYHLEG25e1Wf0_EzxRb9IHKMuA3icDpwo

To claim this, I am signing this object:

View gist:fbd5caa13a120aba7f4428c969ed873b
https://blog.testlodge.com/wp-content/uploads/2016/02/seo_cheat_sheet.png
https://d2eeipcrcdle6.cloudfront.net/seo-cheat-sheet.pdf
http://www.rickeliason.com/cheat-sheets/seo-cheat-sheet/
View middleware.go
package main
import (
"bufio"
"encoding/json"
"log"
"os"
)
type requestDetails struct {
View keybase.md

Keybase proof

I hereby claim:

  • I am dkastner on github.
  • I am dkastner (https://keybase.io/dkastner) on keybase.
  • I have a public key whose fingerprint is C94E E936 BB6C 27A1 06EF CEC8 7CA7 AA38 47D8 F82E

To claim this, I am signing this object:

View Dockerfile
FROM ruby:2.1.5
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
RUN bundle
ADD . /app
View gist:7c2883b9e3556b385f3a
Please publicly post the following Gist, and name it keybase.md: [33/268]
### Keybase proof
I hereby claim:
* I am dkastner on github.
* I am dkastner (https://keybase.io/dkastner) on keybase.
* I have a public key whose fingerprint is 6E27 F7CE FDDF F531 9757 4613 3032 E611 7C27 FF4C
View gist:5527720
[root@00-22-4d-81-93-4d ~]# imgadm list
UUID NAME VERSION OS PUBLISHED
da144ada-a558-11e2-8762-538b60994628 ubuntu-12.04 2.4.1 linux 2013-04-15T20:18:53Z
f669428c-a939-11e2-a485-b790efc0f0c1 base 13.1.0 smartos 2013-04-26T15:16:02Z
View gist:5271064
class Article < ActiveRecord::Base
has_many :authorships
has_many :authors, through: :authorships
def total_kudos
authors.sum(&:kudos)
end
end
# OK
View content_dependent.rb
click 'add Widget'
page.should have_content('widget added')