git clone git@github.com:jschauma/jass $GOPATH/src/github.com/jschauma/jass
cd $GOPATH/src/github.com/jschauma/jass
make install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "<DOCKERHUB IMAGE NAME>", | |
"version": "1.0.0", | |
"private": true, | |
"publishConfig": { | |
"dockerhub": "<DOCKERHUB USERNAME>" | |
}, | |
"scripts": { | |
"bump:major": "npm version major", | |
"bump:minor": "npm version minor", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is the function to use in the cell | |
// e.g. =getJSONvalue(A2,"members.0.id") | |
// note: make sure you use double quotes! | |
function getJSONvalue(cell, path) { | |
try { | |
let content | |
try { | |
content = JSON.parse(cell); | |
} catch (e) { | |
return `Not JSON: ${cell}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"conventionalCommits.showNewVersionNotes": false, | |
"conventionalCommits.autoCommit": false, | |
"conventionalCommits.gitmoji": true, | |
"conventionalCommits.emojiFormat": "emoji", | |
"conventionalCommits.lineBreak": " ", | |
"conventionalCommits.showEditor": true, | |
"conventionalCommits.editor.keepAfterSave": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx -p `pwd`/ -c nginx.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change defaults:docker:image for a different docker image | |
# change jobs:checkout:steps:restore_cache:keys and :save_cache:key to the file needed for checksum | |
# change jobs:checkout:steps:run to whatever is needed for dep installation | |
# change jobs:checkout:steps:save_cache:paths to the paths you'd like to cache between runs | |
# change task:steps:run:command to the bash command to run | |
# change workflows:repeated:triggers:schedule:cron to the appropriate cron syntax | |
# cron reference: https://www.unix.com/man-page/POSIX/1posix/crontab/ | |
# cron recipes: https://alvinalexander.com/linux/unix-linux-crontab-every-minute-hour-day-syntax | |
defaults: &defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Awesome Sketch | |
First State | |
some event -> Second State | |
Second State |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -vL www.saleae.com | |
* Rebuilt URL to: www.saleae.com/ | |
* Trying 151.101.66.49... | |
* TCP_NODELAY set | |
* Connected to www.saleae.com (151.101.66.49) port 80 (#0) | |
> GET / HTTP/1.1 | |
> Host: www.saleae.com | |
> User-Agent: curl/7.54.0 | |
> Accept: */* | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: my-lambda | |
provider: | |
name: aws | |
region: us-east-1 | |
profile: personal | |
functions: | |
legacyApiTransform: | |
runtime: nodejs6.10 | |
events: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const crypto = require('crypto'); | |
/** | |
* Convert a valid Uservoice user object into an SSO token | |
* | |
* Uservoice documentation: https://developer.uservoice.com/docs/single-sign-on/single-sign-on/ | |
* | |
* ##### documented on 4/10/2018, 4:29:17 PM | |
* | |
* #### gotchas |
NewerOlder