Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Evans bencevans

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bencevans on github.
  • I am bencevans (https://keybase.io/bencevans) on keybase.
  • I have a public key ASCcacXpuZoLtEql7RBh6Qan9X3NjqBIF-WPotYbn8lFZAo

To claim this, I am signing this object:

@bencevans
bencevans / dabblet.css
Last active Oct 21, 2019
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
html, body {
font-family: 'Inconsolata', monospace;
max-width: 800px;
}
table {
@bencevans
bencevans / Makefile
Created Nov 5, 2018
GitHub Style Markdown -> PDF with Pandoc + Weasyprint
View Makefile
build:
pandoc writing.md --standalone \
--bibliography writing.bib --csl writing.csl \
-c https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.10.0/github-markdown.css \
-t html \
| sed '/<body>/c\<body class="markdown-body">' \
| weasyprint - output.pdf
View keybase.md

Keybase proof

I hereby claim:

  • I am bencevans on github.
  • I am bencevans (https://keybase.io/bencevans) on keybase.
  • I have a public key ASBdQHTwQoYlNESpTFvtlpIvn5A_OsGx-F2T-3l7TyeK0wo

To claim this, I am signing this object:

@bencevans
bencevans / dabblet.css
Created Feb 25, 2017
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
View dabblet.css
/**
* Search Bar
*/
body {
margin: 0;
}
.topbar {
height: 42px;
View dabblet.css
/**
* Search Bar
*/
body {
margin: 0;
}
.topbar {
height: 42px;
View dabblet.css
/**
* Search Bar
*/
body {
margin: 0;
}
.topbar {
height: 42px;
@bencevans
bencevans / dabblet.css
Last active Dec 9, 2016
Transit Popups
View dabblet.css
/**
* Transit Popups
*/
html, body {
margin: 0;
height: 100%;
font-family: Verdana;
font-size: 16px;
@bencevans
bencevans / repos.js
Created Aug 4, 2016
List Projects .js
View repos.js
// https://github.com/bencevans?tab=repositories
var repos = document.getElementsByClassName('repo-list-name')
var arr = Array.prototype.slice.call( repos )
var names = arr.map((r) => { return 'bencevans/' + r.innerText })
names.join('&')