I hereby claim:
- I am mblarsen on github.
- I am mblarsen (https://keybase.io/mblarsen) on keybase.
- I have a public key ASDazMiuoLmVqtEF123TAjZvE7S47WTshQTiHzeg1-H7lAo
To claim this, I am signing this object:
-- public/tabline.lua | |
-- orginal version actually used tabline, this version uses a floating window | |
-- @bassamsdata added the window logic https://gist.github.com/bassamsdata/80d59a68e5560da37c4ff9161897c691 | |
-- this gist contains adds styling as it the original, version 1, of the gist | |
local function current_time() | |
return os.date "%H:%M" | |
end | |
local function current_day() |
#!/usr/bin/env bash | |
for f in $(ls /usr/share/figlet/*{flf,tlf}); do | |
f=$(basename -s .tlf $f) | |
f=$(basename -s .flf $f) | |
figlet -f $f $f | |
toilet --gay -S -f $f $f | |
echo $f | |
done |
rm -f ~/.zcompdump* | |
exec zsh -l |
func TestHandler(t *testing.T) { | |
req := api.Req{} | |
reqBody, _ := json.Marshal(map[string]interface{}{ | |
"requestContext": map[string]interface{}{ | |
"Authorizer": map[string]interface{}{ | |
"claims": map[string]interface{}{ | |
"cognito:username": "my user", | |
}, | |
}, | |
}, |
#!/usr/bin/env bash | |
set -euo pipefail | |
function builds() { | |
curl -s https://graphql.buildkite.com/v1 \ | |
-H "Authorization: Bearer $GRAPHQL_KEY" \ | |
-d '{ | |
"query": "query SuccessfullBuilds { pipeline(slug: \"'"$BUILDKITE_ORGANIZATION_SLUG/$BUILDKITE_PIPELINE_SLUG"'\") { builds { edges { node { id commit message state } } } } }", | |
"variables": "{ }" | |
}' |
I hereby claim:
To claim this, I am signing this object:
Object.defineProperty( // eslint-disable-line | |
Array.prototype, 'flatMap', { | |
value: function (mapFunction) { | |
return Array.prototype.concat.call([], ...this.map(mapFunction)) | |
} | |
} | |
) | |
Object.defineProperty( // eslint-disable-line | |
Array.prototype, 'tap', { |
<template> | |
<div class="source-text"> | |
<div class="source-text__code" ref="content" @input="throttledUpdate" contenteditable="true" spellcheck="false"></div> | |
<div class="has-text-left"> | |
<button @click="$emit('input', '')" class="button is-success">Clear</button> | |
</div> | |
</div> | |
</template> | |
<script> | |
import {debounce} from 'lodash-es' |
<template> | |
<div class="split"> | |
<div class="split__item"> | |
<cms-page v-model="content"></cms-page> | |
<source-text v-model="content"></source-text> | |
</div> | |
<div class="split__item"> | |
<front-page v-model="content"></front-page> | |
</div> | |
</div> |
"scripts": { | |
"begin": "git reset --hard start", | |
"complete": "git reset --hard complete", | |
"previous": "git reset --hard complete", | |
"next": "git reset --hard $(git describe --tags)", | |
"reset": "git reset --hard $(git describe --tags)", | |
"current": "echo \"You are at step \"$(git describe --tags)" | |
} |