I hereby claim:
- I am larsar on github.
- I am larsar (https://keybase.io/larsar) on keybase.
- I have a public key ASBKn12pNjd5t6lYKZARkU8atBVOYGr-22tU43Nu5RUtfgo
To claim this, I am signing this object:
enable_uart=1 | |
dtoverlay=pi3-miniuart-bt | |
dtoverlay=uart0-full | |
core_freq=250 |
python3 gen_invite_codes.py > all_codes.csv | |
sed 's/\([[:digit:]][[:digit:]][[:digit:]]\)\([[:digit:]][[:digit:]][[:digit:]]\)\([[:digit:]][[:digit:]][[:digit:]]\)/\1-\2-\3/' all_codes.csv > formatted_codes.csv |
WITH query1 AS (SELECT * FROM ...), | |
query2 AS (SELECT * FROM ...), | |
in_query1 AS (SELECT * FROM query1 EXCEPT SELECT * FROM query2), | |
in_query2 AS (SELECT * FROM query2 EXCEPT SELECT * FROM query1) | |
SELECT 'query1' AS query, * | |
FROM in_query1 | |
UNION ALL | |
SELECT 'query2' AS query, * | |
FROM in_query2; |
#!/usr/bin/env bash | |
d=2016-02-14 | |
while [ "$d" != 2016-03-01 ]; do | |
curl -X DELETE http://<HOST>/_snapshot/<INDEX>/snapshot-`echo $d | tr - .` -H 'content-type: application/json' | |
d=$(date -I -d "$d + 1 day") | |
done |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
URL="https://<HOST>/rest/api/1.0/projects" | |
>&2 printf "Enter Bitbucket Server credentials\n" | |
>&2 printf "Username: " | |
read username | |
>&2 printf "Password: " | |
read -s password |
#!/usr/bin/env bash | |
URL="https://<HOST>/rest/api/1.0/projects" | |
>&2 printf "Enter Bitbucket Server credentials\n" | |
>&2 printf "Username: " | |
read username | |
>&2 printf "Password: " | |
read -s password |
#!/usr/bin/env bash | |
[[ $@ ]] || { | |
printf "Usage\n\t./$0 server username password\n" | |
exit 1 | |
} | |
SERVER=$1 | |
MAILUSER=$2 | |
PASSWORD=$3 |
/* global _ */ | |
/* | |
* Complex scripted Logstash dashboard | |
* This script generates a dashboard object that Kibana can load. It also takes a number of user | |
* supplied URL parameters, none are required: | |
* | |
* index :: Which index to search? If this is specified, interval is set to 'none' | |
* pattern :: Does nothing if index is specified. Set a timestamped index pattern. Default: [logstash-]YYYY.MM.DD |
Search: @(\S*)\s= | |
Replace: let(:$1) { |