Skip to content

Instantly share code, notes, and snippets.

@frob
frob / karabiner-import.sh
Created January 22, 2018 18:23
Karabiner Export
#!/bin/sh
cli=/Applications/Karabiner.app/Contents/Library/bin/karabiner
$cli set remap.pclikehomeend_emacs 1
/bin/echo -n .
$cli set remap.pclikepageupdown_except_emacs 1
/bin/echo -n .
/bin/echo
@frob
frob / templates.json
Last active March 7, 2018 04:20
custom list of ask templates
{
"Decision Tree": {
"gitUrl": "https://github.com/alexa/skill-sample-nodejs-decision-tree.git"
},
"City Guide": {
"gitUrl": "https://github.com/alexa/skill-sample-nodejs-city-guide.git"
},
"Trivia": {
"gitUrl": "https://github.com/alexa/skill-sample-nodejs-trivia.git"
},
@frob
frob / gist:66f13be5b8789ed8a61c2c1083fd51d6
Last active February 24, 2021 18:30 — forked from amandavisconti/gist:e909e41e6896d2a90de8
Setting up Annotator.js annotation on Drupal

Annotator.js works on Drupal as two modules and a library (installed, as usual, under /sites/all):

    /modules/annotator
    /modules/annotation
    /libraries/annotator

The files in libraries/annotator are the latest from the Annotator.js repo (https://github.com/openannotation/annotator/releases). Although the modules Infinite Ulysses uses have been significantly changed from the modules you could download on Drupal.org, the Drupal.org Annotator (https://www.drupal.org/project/annotator) and Annotation (https://www.drupal.org/project/annotation) modules pages might still have useful info if you're troubleshooting.

@frob
frob / Makefile
Last active February 18, 2019 19:56 — forked from rcmachado/Makefile
Add a help target to a Makefile that will allow all targets to be self documenting
.SILENT:
.PHONY: help
# Based on https://gist.github.com/prwhite/8168133#comment-1313022
## Print this help screen.
help:
printf "Available targets\n\n"
awk '/^[a-zA-Z\-\_0-9]+:/ { \
helpMessage = match(lastLine, /^## (.*)/); \

Local Development Techniques with Kubernetes

This talk is all live demos of tools developers can use in their inner-loop, at development time to be more productive with containers.

Start Easier

Docker Compose captures the build arguments and run arguments so we can focus on our coding.