I hereby claim:
- I am kesor on github.
- I am kesor (https://keybase.io/kesor) on keybase.
- I have a public key ASBXaH4PUfL6oeNFmPX5ZOyZ-9aO21ZE9wc-gtK5o4dnZQo
To claim this, I am signing this object:
// based on https://nodejs.org/en/knowledge/HTTP/servers/how-to-serve-static-files/ | |
const http = require('http'), | |
fs = require('fs') | |
const PORT = process.env.PORT || '8080' | |
function handler(req, res) { | |
const filename = __dirname + req.url | |
let stat |
module.exports = { | |
env: { | |
browser: true, | |
commonjs: true, | |
es2020: true, | |
node: true, | |
mocha: true | |
}, | |
extends: [ | |
'eslint:recommended', |
FROM rust:alpine | |
RUN apk add --no-cache \ | |
bash \ | |
binutils-gold \ | |
ca-certificates \ | |
clang \ | |
curl \ | |
g++ \ | |
git \ |
<html> | |
<body> | |
<button id="button" onclick="toggleStartStop()"></button> | |
<div style="border:dotted;padding:10px"> | |
<span id="final_span"></span> | |
<span id="interim_span" style="color:grey"></span> | |
</div> | |
<script type="text/javascript"> | |
var recognizing; | |
var recognition = new (window['SpeechRecognition'] || window['webkitSpeechRecognition']) |
#!/bin/sh | |
just_the_file_please() { | |
sed -e 's!^[^/]*\(/.*\)$!\1!' | |
} | |
remove_magic() { | |
sed -e 's!__pycache__/!!; s!\.[^.]*\.pyc$!.pyc!' | |
} |
const hierarchy = { | |
config: { | |
settings: sinon.fake(), | |
log: { | |
info: sinon.fake() | |
} | |
} | |
} | |
verifyPassword(hierarchy) |
/* This work is licensed under Creative Commons GNU LGPL License. | |
License: http://creativecommons.org/licenses/LGPL/2.1/ | |
Version: 0.9 | |
Author: Stefan Goessner/2006 | |
Web: http://goessner.net/ | |
Original file: https://goessner.net/download/prj/jsonxml/ | |
*/ | |
function xml2json(xml) { |
I hereby claim:
To claim this, I am signing this object:
PUT _template/cloudtrail | |
{ | |
"index_patterns": ["cloudtrail-*"], | |
"settings": { | |
"number_of_shards": 1, | |
"mapping": { | |
"total_fields": { | |
"limit": 10000 | |
} | |
} |
#!/bin/bash | |
HELM_TILLER_SA=tiller | |
HELM_TILLER_NS=kube-system | |
tiller_tls() { | |
[ ! -f tiller-ca.crt ] && \ | |
openssl req -x509 -new -newkey rsa:2048 -keyout tiller-ca.key -nodes -sha256 -days 3650 -out tiller-ca.crt -subj "/CN=tiller-ca" | |
[ ! -f tiller.crt ] && { | |
echo subjectAltName=IP:127.0.0.1 > extfile.cnf |