I hereby claim:
- I am bsnape on github.
- I am bsnape (https://keybase.io/bsnape) on keybase.
- I have a public key ASDW2X76h7KjXs91WikHSAEt9YGobKZlgfv0nabowf77Xwo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| set -x | |
| set -e | |
| if [ $# -eq 0 ]; then | |
| echo "Received no arguments. Exiting..." | |
| exit | |
| fi | |
| # $@ is one-based and not zero-based |
| function Invoke-SeqLogConfiguration { | |
| $tempRoot = "D:" | |
| $tempDirectory = "$tempRoot\temp" | |
| if ([System.IO.Directory]::Exists($tempDirectory) -eq $true) { | |
| rm $tempDirectory -Recurse -Force -Verbose -ErrorAction Ignore | |
| } | |
| mkdir $tempDirectory -ErrorAction Ignore |
| configuration SeqInstall { | |
| Import-DscResource –ModuleName 'PSDesiredStateConfiguration' | |
| node "localhost" { | |
| File CreateFile { | |
| DestinationPath = 'C:\Windows\Temp\foo3.txt' | |
| Ensure = "Present" | |
| Contents = 'Hello World!' | |
| } | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
| # in every instance boot inject the public key to every instance | |
| aws --profile deirdre-dev ec2 create-key-pair --key-name deirdre-ec2-provision |
| find: | |
| \'(\w+)\'\s*=> | |
| replace: | |
| $1: | |
| replace symbol hash rockets with new syntax | |
| find: |
| brew install rpm | |
| brew install rpm2cpio | |
| rpm2cpio <rpm> | cpio -i -d |
| for i in {1..50}; do curl localhost:9086/status; echo; sleep 1; done |
| git branch --merged master | grep -v 'master$' | xargs git branch -d |
| #!/bin/bash | |
| while : | |
| do | |
| clear | |
| git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all | |
| sleep 1 | |
| done |