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
--- | |
- hosts: localhost | |
vars: | |
main: | |
Foo: false | |
aBool: false | |
myLoop: | |
- override: | |
Foo: false |
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
"NetworkSettings": { | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "", | |
"Bridge": "", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/milligram/1.4.1/milligram.min.css"> | |
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.1.2/styles/github.min.css"> | |
<script type="application/javascript" src="https://cdn.bootcdn.net/ajax/libs/marked/1.1.1/marked.min.js"></script> | |
<script type="application/javascript" src="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.1.2/highlight.min.js"></script> | |
<style rel="stylesheet"> | |
body { |
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
// ==UserScript== | |
// @name Fix production Bloomington Data Portal | |
// @namespace https://data.bloomington.in.gov | |
// @description Add GeoJSON spec-compliant projection to URL links | |
// @include https://data.bloomington.in.gov/* | |
// | |
// ==/UserScript== | |
var regex_list = [ | |
/^https:\/\/bloomington\.in\.gov\/geoserver/ |
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": "Corne 3x6 v2, markstos layout (All Layers)", | |
"author": "https://github.com/markstos", | |
"plate": false, | |
"keyboard-layout-editor": "http://www.keyboard-layout-editor.com/#/gists/adfa7c3cd8f0c6d3a7b9155c6eab1748#file-corne-crkbd_c0psrul3-default-json", | |
"qmk-config": "https://config.qmk.fm/#/crkbd/rev1/LAYOUT" | |
}, | |
[ | |
{ |
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
#!/usr/bin/fish | |
# Uncomment and add your pinboard token here or export it globally somewhere | |
# PINBOARD_API_TOKEN="username:token" | |
# Put this file in ~/.local/share/qutebrowser/userscripts and chmod +x | |
# Run it from Qutebrowser with :spawn --userscript pinboard-add.fish | |
# Bind it to "A" key with :bind --mode normal A spawn --userscript pinboard-add.fish | |
# All this does is set PINBOARD_API_TOKEN |
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
["~\n\n\n\n\n\n`\n\n\nEsc",{a:5},"[\n{","]\n}","\\\n|",{a:7},"Home","End",{c:"#00c6e0",a:5},"&\n\n\n\n\n\n7","*\n\n\n\n\n\n8","(\n\n\n\n\n\n9",{c:"#cccccc"},"Pg\n\n\n\n\n\nDown","Pg\n\n\n\n\n\nUp","Prt\n\n\n\n\n\nScr","_\n\n\n\n\n\n-","+\n\n\n\n\n\n=",{a:7},"Bksp"], | |
["Tab","Q","W","E","R","T",{c:"#00c6e0",a:5},"$\n\n\n\n\n\n4","%\n\n\n\n\n\n5","^\n\n\n\n\n\n6",{c:"#cccccc",a:7},"Y","U","I","O","P",{a:5},"\"\n\n\n\n\n\n'"], | |
[{c:"#00c6e0",a:7},"Hyper",{c:"#cccccc"},"A","S","D","F","G",{c:"#00c6e0",a:5},"!\n\n\n\n\n\n1","@\n\n\n\n\n\n2","#\n\n\n\n\n\n3",{c:"#cccccc",a:7},"H","J","K","L",{a:5},":\n\n\n\n\n\n;",{c:"#00c6e0",a:7},"Enter"], | |
["Shift",{c:"#cccccc"},"Z","X","C","V","B",{c:"#00c6e0",a:5},")\n\n\n\n\n\n0",{a:7,fa:[8]},"↑",{f:3},"Ins",{c:"#cccccc",f:3},"N",{f:3},"M",{a:5,f:3},"<\n\n\n\n\n\n,",{f:3},">\n\n\n\n\n\n.",{sm:"cherry",sb:"gateron",st:"KS-3-White",f:3},"?\n\n\n\n\n\n/",{c:"#00c6e0",a:7,f:3},"Shift"], | |
[{f:3},"Ctrl",{c:"#cccccc",f:3},"Meta",{f:3},"Alt",{f:3},"Fn0",{w:2},"",{c:"#00c6e0",f:3},"& |
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
[Unit] | |
Description=journald-to-logentries.service | |
# Install the nmap package to get the `ncat` dependency. | |
# If you want to forward just a specific unit, add `-u your-unit.service` after `journalctl` | |
[Service] | |
Environment=ACCESS_TOKEN=YOUR_LOGENTRIES_ACCESS_TOKEN | |
ExecStart=/bin/sh -c 'journalctl -f | sed \"s/^/${ACCESS_TOKEN} \\0/g\" | ncat --ssl data.logentries.com 443' |
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
ssh() { | |
if [ "$(ps -p $(ps -p $$ -o ppid=) -o comm=)" = "tmux" ]; then | |
tmux rename-window "$(echo $* | cut -d . -f 1)" | |
command ssh "$@" | |
tmux set-window-option automatic-rename "on" 1>/dev/null | |
else | |
command ssh "$@" | |
fi | |
} |
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
#!/bin/bash | |
USAGE="Usage: $0 file.txt. Start a webserver on port $PORT, serve this file and close the connection."; | |
# exit if there's an error | |
set -e | |
HOSTNAME=`hostname -I | cut -d' ' -f1`; | |
PORT=8000 |
NewerOlder