Skip to content

Instantly share code, notes, and snippets.

# Table name: share_clicks
#
# id :bigint not null, primary key
# page_type :string not null
# page_id :bigint not null
# medium :string not null
# member_id :bigint
# created_at :datetime not null
# updated_at :datetime not null
# token :uuid not null
@woodhull
woodhull / keybase.md
Created August 10, 2016 08:38
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@woodhull
woodhull / auto_scaling_group.rb
Created July 31, 2015 02:01
random bits of ruby for doing green/blue deploys
require "timeout"
class AutoScalingGroup
attr_accessor :name
def initialize(attrs = {})
attrs.each do |key,value|
if self.respond_to?("#{key}=")
self.send("#{key}=", value)
end
@woodhull
woodhull / gist:02281ad7bd5115693bd1
Created November 14, 2014 22:58
Display Petition
{
"administered_at": "2014-11-07T10:52:15-05:00",
"alias": null,
"bsd_constituent_group_id": null,
"created_at": "2014-07-24T18:22:34-04:00",
"delivery_details": null,
"id": 28859,
"location_id": null,
"slug": "stop-making-excuses-for-sexual-violence-repeal-harmful-laws",
"source": "homepage",
@woodhull
woodhull / gist:77f59eae5fb235667a7a
Created November 14, 2014 22:56
Categories in a Petition
{
"current_page": 1,
"total_pages": 1,
"previous_page": null,
"next_page": null,
"name": "mice",
"results": [
{
"title": "$10 million more in ME research funding",
"id": 89473,
@woodhull
woodhull / gist:60c36f1b4ba1f94e4602
Last active August 29, 2015 14:09
JSONP Categories List API Endpoints
[
{
"category_name": "cats",
"category_count": 22,
"slug": "cats",
"url": "https://demo.controlshiftlabs.com/categories/cats.json"
},
{
"category_name": "mice",
"category_count": 16,
@woodhull
woodhull / hello.twiml
Created July 27, 2011 01:29
helloworld twiml
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
<Say>Hello World</Say>
</Response>