Skip to content

Instantly share code, notes, and snippets.

View tomeightyeight's full-sized avatar
:octocat:
Hello, World!

Tom Humphris tomeightyeight

:octocat:
Hello, World!
View GitHub Profile
@tomeightyeight
tomeightyeight / salt-stack-stuff.txt
Created July 18, 2018 10:33
Salt Stack Manual Update
salt-call state.apply
salt-call saltutil.pillar_refresh
@tomeightyeight
tomeightyeight / vs-code-debug.json
Created July 18, 2018 10:34
VSCode Jest Debugger Config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
@tomeightyeight
tomeightyeight / fail-loud.sh
Created July 18, 2018 10:34
Bash Fail Loud
#!/bin/bash
set -uo pipefail
trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
IFS=$'\n\t'
while sleep 0.5; do dig A glastonbury.seetickets.com | grep glastonbury.seetickets.com; done;