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:
#!/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() |
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 |
{ | |
"firewall": { | |
"ipv6-name": { | |
"wan_in-6": { | |
"default-action": "drop", | |
"description": "wan_in", | |
"enable-default-log": "''", | |
"rule": { | |
"1": { | |
"action": "accept", |
I hereby claim:
To claim this, I am signing this object:
param( | |
[string]$Exe7z, | |
[string]$PackageDir, | |
[string]$InstallDir | |
) | |
Function Expand-ToDirectory { | |
param( | |
[string]$Archive, | |
[string]$TargetDir |
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) |