I hereby claim:
- I am gordlea on github.
- I am gordtron (https://keybase.io/gordtron) on keybase.
- I have a public key ASANvou6M__LnUn4ySBZShNczzSatlcJnkDfwlTSoGkbkQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| snapshot_containers () { | |
| running_containers=() | |
| while IFS= read -r line; do | |
| running_containers+=( "$line" ) | |
| done < <( lxc list --columns=ns --format=json \ | |
| | jq --raw-output 'map(select(.status | contains("Running")) | .name) | .[]' ) | |
| for i in "${running_containers[@]}"; do | |
| echo "taking snapshot of apt based container: $i" |
| MESSAGE=" | |
| <table><thead><tr><td colspan=\"2\"><b>Build starting</b></td></tr></thead> | |
| <tbody> | |
| <tr><td><b>Tag</b></td><td>${build_tag}</td></tr> | |
| <tr><td><b>Built for</b></td><td>${built_for}</td></tr> | |
| <tr><td><b>Built by</b></td><td>${built_by}</td></tr> | |
| </tbody> | |
| </table> | |
| " | |
| curl -s -X POST \ |
| # current as of edgeos v1.10.5 | |
| # cobbled together from: | |
| # https://medium.com/@nurblieh/ipv6-on-the-edgerouter-lite-c95e3cc8d49d | |
| # https://heald.ca/configuring-telus-optik-ipv6-ubiquiti-edgerouter/ | |
| configure | |
| edit firewall ipv6-name WANv6_IN | |
| set default-action drop | |
| set rule 10 action accept |
| license: mit |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # taken from https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively | |
| find . -name "node_modules" -exec rm -rf '{}' + |
| /* | |
| * DOMParser HTML extension | |
| * 2012-09-04 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ | |
| /*! @source https://gist.github.com/1129031 */ |
| // Use this file as a starting point for your project's .eslintrc. | |
| // Copy this file, and add rule overrides as needed. | |
| { | |
| "extends": "airbnb", | |
| "parserOptions": { | |
| "ecmaFeatures": { | |
| "experimentalObjectRestSpread": true | |
| } | |
| }, | |
| "rules": { |
| # scope - start weave after weave | |
| # place under /etc/init/scope.conf | |
| description "starts weave.scope" | |
| author "Gord Lea <[email protected]>" | |
| # Stanzas | |
| # | |
| # Stanzas control when and how a process is started and stopped | |
| # See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas |
| git branch -m old_branch new_branch # Rename branch locally | |
| # OR | |
| git branch -m new_branch # Rename current branch | |
| # THEN | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |