Skip to content

Instantly share code, notes, and snippets.

View dsingleton's full-sized avatar

David Singleton dsingleton

View GitHub Profile
@dsingleton
dsingleton / install-and-run.sh
Created October 22, 2015 15:56
Running a GOV.UK Frontend app
git clone git@github.com:alphagov/government-frontend.git
cd government-frontend
bundle
PLEK_SERVICE_STATIC_URI="http://assets.digital.cabinet-office.gov.uk" PLEK_SERVICE_CONTENT_STORE_URI="https://govuk-content-store-examples.herokuapp.com" ./startup.sh
open http://localhost:3090/government/case-studies/get-britain-building-carlisle-park
@dsingleton
dsingleton / custom-fourth-wall.css
Created July 3, 2015 12:36
custom-fourth-wall.css
#pulls li {
background: #333 !important;
padding-right: 40px;
opacity: .8;
}
#pulls li .status {
right: 0;
top: 0;
height: 100%;
@dsingleton
dsingleton / Gemfile
Last active July 22, 2020 22:25 — forked from boffbowsh/Gemfile
source "https://rubygems.org"
Rails.application.routes.draw do
concern :scrobbles do
resources :scrobbles, only: [:index]
end
concern :users do
resources :users, only: [:index]
end
class Artist < ActiveRecord::Base
extend FriendlyId
friendly_id :name, use: :finders
end
@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 ;
}
@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%;
Post your documents and the form.
##1. Check your documents
Post your documents and the form.
##1. Check your documents