I hereby claim:
- I am msnelling on github.
- I am marksnelling (https://keybase.io/marksnelling) on keybase.
- I have a public key ASAsJh3STLx6TF2izWRfUyvKtbbV3exZFi7GramqHAo7-Ao
To claim this, I am signing this object:
| function Remove-ANSICodes | |
| { | |
| param([string][Parameter(ValueFromPipeline=$true)]$String) | |
| $String -replace '\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]', '' | |
| } | |
| function Run-Command | |
| { | |
| param([string]$Command) |
| param( | |
| [string]$Exe7z, | |
| [string]$PackageDir, | |
| [string]$InstallDir | |
| ) | |
| Function Expand-ToDirectory { | |
| param( | |
| [string]$Archive, | |
| [string]$TargetDir |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "firewall": { | |
| "ipv6-name": { | |
| "wan_in-6": { | |
| "default-action": "drop", | |
| "description": "wan_in", | |
| "enable-default-log": "''", | |
| "rule": { | |
| "1": { | |
| "action": "accept", |
| usage() { | |
| err "Invalid usage. Usage: " | |
| err "\t$0 init" | |
| err "\t$0 mount <mount dir> <json params>" | |
| err "\t$0 unmount <mount dir>" | |
| exit 1 | |
| } | |
| debug() { | |
| date +"%Y-%m-%d %H:%M:%S DEBUG: $*" >>/var/log/solaise-cifs.log |
| #!/bin/bash | |
| # GitSync | |
| # | |
| # Syncs all remotely-tracked branches on a git repo passed as first argument ($1). It also pulls any new branches | |
| # and tags attached to the repo. | |
| # | |
| # $1 - The dir to check | |
| # | |
| GitSync() |
| DECLARE @collate nvarchar(100); | |
| DECLARE @schema nvarchar(255); | |
| DECLARE @table nvarchar(255); | |
| DECLARE @column_name nvarchar(255); | |
| DECLARE @column_id int; | |
| DECLARE @data_type nvarchar(255); | |
| DECLARE @max_length nvarchar(255); | |
| DECLARE @row_id int; | |
| DECLARE @sql nvarchar(max); | |
| DECLARE @nullable bit; |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: ingress-cloudflare | |
| --- | |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: argo-tunnel | |
| namespace: ingress-cloudflare |
| #!/bin/sh | |
| echo nameserver 127.0.0.1 > /etc/resolvconf/resolv.conf.d/base | |
| rm -f /etc/resolv.conf | |
| ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf | |
| resolvconf --enable-updates | |
| resolvconf -u | |
| systemctl disable systemd-resolved.service | |
| systemctl stop systemd-resolved.service |
| #cloud-config | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6Tvl6E1eMdyvazTIRH3eA2qUqTn5lR7pVdWpQQeVT4sBxzN273XqPvxznmVBMxo0QSWYqLPWVLcygmUo/ZYcEOJBgpdDrX71km3iyEp07TMGJzpSJ6Ioy1HHK3P8G+XCESX6SxJS4XrD/IIM9MBL5yAjrjU8lmqQ5s4/y8LLzsTrPiSU3aFaFWRaRUmFSx07zq78pp+B+vVOvM4CC/uaASQbbIz+zfGlIDsOHXjUmYmZVpnHgQMbXldy+ftEGDwqZcFcJOqgEGEMe9+BILh24NuKq8jj6uHXlGw1hoXHn8FPUZ09yMnE5Z+PGgjWqDZa6BOxdcgo/I68l8Jj9pWRH | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDcQE/cTtzHHZ6c1R0ZwGGmebYQI4mzZcdAydfJR/MlQnjW1974tP7EDQ4lM0jL/PqNoePc2t/5TVuG7e+JR/SnJi4wpflRuCZPVyfnf5Q6z/gXPzzdeL15XYPlZJNRrZF5UCBMVR6u9+nMCOLp5uIrSGisBya40elTvxxWeTbmhheXwlUgRFFqujgDm69LaqgQMfctrbjGqbMtmzWxtczYL2ArQKyuml6BYt9itrAb2MGJFLTyyqooWP2rcrrpoKEYhTj6cXA/b750q+CwXhieQuquy2E4ceDDqk2Z/ysiocnnfAsYiUI6lnDTjnJpGJetcR5zLftnHlYXJVxPwBSt | |
| runcmd: | |
| - apt update | |
| - apt dist-upgrade -y | |
| - apt install -y python3 |