I hereby claim:
- I am smarthall on github.
- I am smarthall (https://keybase.io/smarthall) on keybase.
- I have a public key ASBwv-LmwQhwYFEcoZU7EJus8dpu7abfW1kyRzD3lq2j4Ao
To claim this, I am signing this object:
#!/bin/bash | |
set -euo pipefail | |
function checknspolicy() { | |
ns=$1 | |
policy=$2 | |
out=$(kubectl label --dry-run=server --overwrite ns $ns pod-security.kubernetes.io/enforce=${policy} 2>&1 > /dev/null) |
// ==UserScript== | |
// @name Amazon Transaction Export to CSV | |
// @namespace http://www.danielhall.me/ | |
// @version 0.4 | |
// @description Adds a link to Amazon to export transactions as a CSV for import into YNAB | |
// @updateURL https://gist.github.com/smarthall/5b01a396ff30921625b1ac7175842d10/raw/amzn-txn-export-csv.user.js | |
// @downloadURL https://gist.github.com/smarthall/5b01a396ff30921625b1ac7175842d10/raw/amzn-txn-export-csv.user.js | |
// @author Daniel Hall <[email protected]> | |
// @match https://www.amazon.com.au/cpe/yourpayments/transactions | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com.au |
#!/bin/bash | |
set -uo pipefail | |
version="" | |
CEPH_HEALTH_TIMEOUT="15m" | |
NODE_HEALTH_TIMEOUT="15m" | |
NODE_UPGRADE_TIMEOUT="15m" |
I hereby claim:
To claim this, I am signing this object:
#include "lifx.h" | |
#include <arpa/inet.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <string.h> |
### Keybase proof | |
I hereby claim: | |
* I am smarthall on github. | |
* I am smarthall (https://keybase.io/smarthall) on keybase. | |
* I have a public key whose fingerprint is A7FC 317E A9D0 5A34 45E7 2BCD 8AD9 D99E 2E0A 44E2 | |
To claim this, I am signing this object: |
# In Ansible lots of things take lists (or comma seperated | |
# strings), however lots of things return dicts. One | |
# example of this is the hostvars and groups variable. | |
# | |
# groups returns a list of machines in a group, and | |
# hostvars is a dict containing all the hosts. So if you | |
# need a list of ip addresses of those hosts for the | |
# route53 module you cant. This filter makes this possible. | |
def fetchlistfromdict(d, l): |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
http://filamentgroup.com/lab/responsive_design_approach_for_complex_multicolumn_data_tables/ |
function pve { | |
VENVFILE="$HOME/usr/venv/$1/bin/activate" | |
if [ -f $VENVFILE ]; then | |
source $VENVFILE | |
else | |
virtualenv $HOME/usr/venv/$1 | |
source $VENVFILE | |
fi | |
} |