Skip to content

Instantly share code, notes, and snippets.

View quis's full-sized avatar

Chris Hill-Scott quis

View GitHub Profile
@quis
quis / Screen Shot 2014-12-04 at 21.06.15.png
Last active August 29, 2015 14:10
Demonstrating rebasing and no-fast-forward merges in git
Screen Shot 2014-12-04 at 21.06.15.png
@quis
quis / gist:abd281ef8737c7215824
Last active August 29, 2015 14:19
Pyrenees packing list
TAIL PACK
---------------------------------------
Tarp
Groundsheet
Pegs
Camera charger/batteries
Running shoes
Head torch
2.5L fuel can
@quis
quis / gist:a94126ce35a7b1b24ac9
Created June 24, 2015 16:29
Branching questions in express prototype
var bodyParser = require("body-parser");
app.use(bodyParser.urlencoded({ extended: false }));
var pages = [
{
next: {
yes: 1,
no: 4
}
},
@quis
quis / styles.less
Created February 1, 2016 11:46
~/.atom/styles.less
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
<table class='mbm mhc' border='0' cellpadding='0' cellspacing='0'><tr><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'></td><td height='1' width='1' bgcolor='##0#0#0'

Keybase proof

I hereby claim:

  • I am quis on github.
  • I am quis (https://keybase.io/quis) on keybase.
  • I have a public key ASC5Opm_BHr7cnGGsnUX2gcmFHwEcTAr-vZnv40UaIJCHQo

To claim this, I am signing this object:

@quis
quis / routes.js
Last active August 1, 2018 14:41
How to integrate the prototype kit with GOV.UK Notify
// Add this code to the top of routes.js
// process.env.NOTIFYAPIKEY is a special kind of variable that Node
// pulls from the environment your prototype is running in
//
// To set it locally, run this command in your Terminal, in the root
// folder of your prototype:
// echo NOTIFYAPIKEY=xxxxxxx >> .env
// (where xxxxxxx is a key you’ve created in Notify)
//
// To set it on Heroku, go to the settings page on your app, click
@quis
quis / footer.html
Created May 4, 2017 11:57
Notify email template (plain HTML, GOV.UK branding only)
@quis
quis / domains.txt
Last active November 21, 2017 09:20
Domains of public sector organisations not on gov.uk
acas.org.uk
ahdb.org.uk
ahrc.ac.uk
arb.org.uk
artscouncil.org.uk
bankofengland.co.uk
bbc.co.uk
bbsrc.ac.uk
bfi.org.uk
biglotteryfund.org.uk
@quis
quis / example.txt
Last active April 6, 2018 15:27
GOV.UK Notify plain text email changes
1. one
2. two
3. three
=================================================================
Heading
-----------------------------------------------------------------