Skip to content

Instantly share code, notes, and snippets.

View dsingleton's full-sized avatar

David Singleton dsingleton

View GitHub Profile
@dsingleton
dsingleton / custom.css
Last active August 29, 2015 14:01 — forked from norm/custom.css
Fourth Wall config
#pulls li.age-aging,
#pulls li.age-old {
/*background: #9Fa098;*/
}
Bundler could not find compatible versions for gem "nokogiri":
In Gemfile:
govspeak (= 1.5.4) ruby depends on
nokogiri (~> 1.5.10) ruby
slimmer (= 4.1.0) ruby depends on
nokogiri (1.5.9)
@dsingleton
dsingleton / agile-planner-styles
Last active August 29, 2015 14:06
Custom CSS to display agile planner on a TV/radiator
{"www.agileplannerapp.com":{"_enabled":true,"_rules":{".masthead":{"display":"none"},"#page > p.update":{"display":"none"},".kanban-board > header":{"display":"none"},".column[data-collection=Blocked] .cards > li > article":{"border":"4px solid red"},".column .bar":{"display":"none"}}}}
@dsingleton
dsingleton / smartdown-spl-outcome-generator.rake
Last active August 29, 2015 14:06
Generate all outcomes based on next-node rules for SPL
namespace :smartdown do
def smartdown_coversheet_path(flow_name, coversheet_name= flow_name)
File.join(smartdown_flow_path(flow_name), "#{coversheet_name}.txt")
end
def smartdown_flow_path(flow_name)
Rails.root.join('lib', 'smartdown_flows', flow_name)
end
[
{
"userName": "alphagov",
"repo": "calculators"
},
{
"userName": "alphagov",
"repo": "calendars"
},
{
Post your documents and the form.
##1. Check your documents
Post your documents and the form.
##1. Check your documents
@dsingleton
dsingleton / custom.css
Last active August 29, 2015 14:14
Election fourth wall
#pulls li {
background: #333 !important;
padding-right: 40px;
opacity: .8;
}
#pulls li .status {
right: 0;
top: 0;
height: 100%;
@dsingleton
dsingleton / election-deploy-lag.css
Created February 10, 2015 17:33
election-deploy-lag
body {
background: #000;
color: #fff;
margin: 10px;
}
a {
color: #fff ;
}
class Artist < ActiveRecord::Base
extend FriendlyId
friendly_id :name, use: :finders
end