Skip to content

Instantly share code, notes, and snippets.

@espy
espy / monorepo-todo.md
Last active April 5, 2018 12:16 — forked from Realtin/monorepo-todo.md
What is left todo for the monorepo release

TODO Monorepo

⚠️ Needs to be fixed before further testing ⚠️

Features

  • Greenkeeper can find all package.json files in a repository.
  • The combined package information from all package.json files is stored in a repository document in the Greenkeeper database.
  • By default there will be one pull request per dependency (affecting multiple package.json files).
@espy
espy / gist:8e53138e3c6f27c24ade683059a5904e
Last active June 17, 2016 13:52
A-Class request and response for Beaconsfield
// REQUEST
{
"priority": "Location",
"model": 1,
"transmission": 0,
"fueltype": 0,
"engine": 0,
"trim": 0,
"postcode": "hp201xg",
  • What's your favorite animal?

As a species, the Red Panda. It's hard to argue with so much cuteness. Otters are similarly cute, but soggier. However, for an individual animal, I'd have to pick this cat.

best_cat_ever-alpine_lynx_bengal_mix

No idea where this jpg originally came from, and I don't really know much about the cat itself, other than what’s revealed by the filename, best_cat_ever-Alpine_Lynx_Bengal_mix.jpg. It’s true though. That is undoubtedly the best cat ever.

  • What's your role / what have you contributed to Hoodie?
// Google Forms Slack Notification
// Andy Chase <github.com/andychase>
// License: CC0 1.0 Universal <creativecommons.org/publicdomain/zero/1.0>
// Install 1: This code goes in ( tools > script editor... ) of your google docs form
// Install 2: ( resources > current project triggers ) ( [onSubmit], [from Form], [On form submit] )
// Setup 1: Put your slack api url below
var POST_URL = "https://hooks.slack.com/services/";
function onSubmit(e) {
@espy
espy / corsserver.py
Last active August 29, 2015 14:20
Run `python corsserver.py`. This will start a local server on port 8000.
#! /usr/bin/env python2
from SimpleHTTPServer import SimpleHTTPRequestHandler
import BaseHTTPServer
class CORSRequestHandler (SimpleHTTPRequestHandler):
def end_headers (self):
self.send_header('Access-Control-Allow-Origin', '*')
SimpleHTTPRequestHandler.end_headers(self)
if __name__ == '__main__':
@espy
espy / post-commit
Last active August 29, 2015 14:16
Place in .git/hooks if you keep forgetting to update the CHANGELOG
#!/bin/sh
#
# A super-simple hook that nags you about the CHANGELOG after every commit
echo "" >&2
echo "\\033[93m---------------------------------------------------\\033[0;39m" >&2
echo "\\033[93mDon't forget to update the CHANGELOG if neccessary!\\033[0;39m" >&2
echo "\\033[93m---------------------------------------------------\\033[0;39m" >&2
echo "" >&2
@espy
espy / gist:19e73aeea7490d2fb2b7
Created February 3, 2015 10:17
Administrative regions of Guinea
--------------------------------
Administrative regions of Guinea
--------------------------------
1. Conakry (C)
└ Conakry (CY)
├ Dixinn (71)
├ Kaloum (131)
├ Matam (225)
├ Matoto (226)
└ Ratoma (264)
lr-ehealth-sense-followup@ /Users/espy/Sites/ehealth/lr-sense-ebola-followup
├─┬ cca@0.5.1
│ ├── cca-manifest-logic@0.0.6
│ ├─┬ chrome-app-developer-tool-client@0.0.4
│ │ ├─┬ adbkit@2.1.6
│ │ │ ├── adbkit-logcat@1.0.3
│ │ │ ├─┬ adbkit-monkey@1.0.1
│ │ │ │ └── async@0.2.10
│ │ │ ├── bluebird@1.1.1
│ │ │ ├── commander@2.6.0
espy@Espybook ~/Sites/sandbox
>hoodie new -t gr2m/hoodie-store-and-account-tutorial
.d$b. .d$b. .d$$$$$$b. .d$$$$$$b. .d$$$$$$b. .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P' 'Q$P' 'Q$$$$$$P' 'Q$$$$$$P' 'Q$$$$$$$P 'Q$P''Q$$$$$$$$P'
{
"new_edits": false,
"docs": [
{
"type": "inspectionphoto",
"_id": "1008-3",
"_rev": "3-3a210e2bd34ee12bd75c9a26766059ed",
"_revisions": {
"start": 3,
"ids": [