Skip to content

Instantly share code, notes, and snippets.

View francisrupert's full-sized avatar

Francis Rupert francisrupert

View GitHub Profile
@francisrupert
francisrupert / test.csv
Created March 4, 2016 15:23
Sample CSV file, demos GitHub's preview ability
Branch Department Agency Public APIs Developer Hub Write APIs
Legislative ~~~ Architect of the Capitol
Legislative ~~~ Congressional Budget Office
Legislative ~~~ Government Accountability Office
Legislative ~~~ Government Printing Office *
Legislative ~~~ Library of Congress *
Legislative ~~~ Office of Compliance
Legislative ~~~ United States Capitol Guide Service
Legislative ~~~ United States Capitol Police
Judicial ~~~ Administrative Office of the United States Courts *
@francisrupert
francisrupert / government-and-civic-design-systems.md
Last active March 30, 2016 20:30
Design Systems and Style Guides: Government, Civic
@francisrupert
francisrupert / Quantity Queries
Last active August 29, 2015 14:20
Quantity Queries
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>page title</title>
<style>
.container {
margin: 40px;
@francisrupert
francisrupert / YUI port of a05
Last active August 29, 2015 14:01
YUI port of a05
// Stripped out of https://s.yimg.com/zz/combo?ge/tyc/js/1.0/backyard-min.js&ge/tyc/js/1.3/tyc-components-min.js
YUI().use("node", "event", "event-resize", "io", "io-xdr", "json-parse", "node-event-simulate", function (c) {
var b = 1;
c.all('input[type="radio"]').each(function (e) {
var d = e.get("name");
if (d == "govt data requests") {
if (b == 1) {
e.set("checked", true)
} else {
e.set("checked", false)
<!--From /library/asdf.html-->
<div data-component="asdf" data-variation="v0" data-source="library"></div>
<!--From /components/asdf.html-->
<div data-component="asdf" data-variation="v0"></div>
@francisrupert
francisrupert / index.html
Created March 27, 2014 20:34
A Pen by Francis Rupert.
<ul>
<li><a href="link.html">thing 1</a></li>
<li><a href="link.html">thing 2</a></li>
<li><a href="link.html">thing 3</a></li>
</ul>
@francisrupert
francisrupert / gist:9817847
Created March 27, 2014 20:29
scatch.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>page title</title>
</head>
<body>
<ul>
<li><a href="link.html">thing 1</a></li>
chore: add Oyster build script
docs: explain hat wobble
feat: add beta sequence
fix: remove broken confirmation message
refactor: share logic between 4d3d3d3 and flarhgunnstow
style: convert tabs to spaces
test: ensure Tayne retains clothing
@mixin flexbox( $display: flex, $direction: row, $wrap: wrap, $justify: start, $items: start, $content: start ) {
// <display> - flex | inline-flex
// <direction> - row | row-reverse | column | column-reverse
// <wrap> - wrap | nowrap | wrap-reverse
// <justify> - start | end | center | space-between | space-around
// <items> - start | end | center | baseline | stretch
// <content> - start | end | center | space-between | space-around | stretch
// @include flexbox( flex, row, wrap, start, start, start );
// @include flexbox( inline-flex, column, nowrap, center, start, stretch );