Skip to content

Instantly share code, notes, and snippets.

View quis's full-sized avatar

Chris Hill-Scott quis

View GitHub Profile

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:

<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'
@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
*/
@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 / 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 / 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 / 1-route.png
Last active August 29, 2015 14:07
Morocco planning
1-route.png
@quis
quis / gist:efbac0338930efece675
Created September 25, 2014 10:15
Prototype Gruntfile snippet
grunt.registerTask('production', [
'copy:govuk_template',
'copy:govuk_frontend_toolkit',
'copy:assets_js',
'copy:toolkit_js',
'bower',
'convert_template',
'copy:govuk_frontend_toolkit',
'replace',
'sass',
@quis
quis / map.js
Last active August 29, 2015 14:04
/*
USAGE:
<div class="onMap" style="padding-top: 80%" data-route-to=""><img src="photo.jpg" /></div>
Where data-route-to is an encoded polyline that you can get from the Google Maps XML API, e.g.
https://maps.googleapis.com/maps/api/directions/xml?origin=marrakech%20airport&destination=merzouga
(look for the data inside <overview_polyline><points>
@quis
quis / smootherWindowResize.js
Created March 18, 2012 11:09
jQuery-based window resizing hook with rate limiting
/*
Usage: $.windowResize(yourFunction);
Intended as a replacement for $(window).resize(yourFunction)
yourFunction will only be called once the resize action has been completed, improving performance
Code is public domain
*/