Skip to content

Instantly share code, notes, and snippets.


Daniel Demmel daaain

View GitHub Profile
View gbfs_datasets.json
"info": {
"label": "Service areas bcp",
"id": "GBFS_Service_areas_1"
"data": {
"fields": [
"name": "_geojson",
daaain / index.js
Created May 12, 2017
requirebin sketch
View index.js
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var createHmac = require('create-hmac')
var hmac = createHmac('sha224', new Buffer("secret key"))
hmac.update('synchronous write') //optional encoding parameter
hmac.digest() // synchronously get result with optional encoding parameter
daaain / output.txt
Created Feb 10, 2017
Phenomic build output
View output.txt
yarn build v0.19.1
$ phenomic build
ℹ Phenomic is starting +0.18s
ServiceWorker (for Offline access) only works with HTTPS protocol.You are currently using HTTP, so ServiceWorker will be ignored by browsers.
✔ Copying assets +0.7s
✔ Building client files +27.31s
✔ Warning: %s Critical dependencies:
44:17-28 the request of a dependency is an expression +8.45s
✔ Warning: %s Module build failed: Error: You are using phenomic loader without the corresponding plugin. This plugin should be added automatically by Phenomic, so if you are facing this issue, you are probably playing with the fire. To get more information, you can reach us on our community chat.
at Object.loader (/Users/dain/workspace/daily-journal/node_modules/phenomic/lib/loader/index.js:88:11)
daaain / prototype.html
Last active Aug 13, 2016
Quick prototyping boilerplate: React + Babel + Foundation + Sheetrock. See it running here:
View prototype.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="">
<script src="" type="text/javascript"></script>
<script src="" type="text/javascript"></script>
<script src="" type="text/javascript"></script>
<script src=""></script>

Keybase proof

I hereby claim:

  • I am daaain on github.
  • I am daaain ( on keybase.
  • I have a public key whose fingerprint is BEB9 2040 59A2 1002 7E31 A76C FF48 404A E461 1308

To claim this, I am signing this object:

daaain / gist:3932602
Created Oct 22, 2012
Google App Script - Spreadsheet JSON export
View gist:3932602
* Adds a custom menu to the active spreadsheet, containing a single menu item
* for invoking the exportJSON() function specified above.
* The onOpen() function, when defined, is automatically invoked whenever the
* spreadsheet is opened.
* For more information on using the Spreadsheet API, see
function onOpen() {
var sheet = SpreadsheetApp.getActiveSpreadsheet();
daaain /
Created Sep 12, 2012
Minimum file to serve up the folder with Pow
require 'rack'
daaain / gist:3497095
Created Aug 28, 2012
.jshintrc setting
View gist:3497095
// based on:
// documentation at:
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"jquery" : true, // jQuert globals