Skip to content

Instantly share code, notes, and snippets.

@klauern
klauern / file1.yaml
Last active November 18, 2020 14:09
Test for combined rego/conftest policy
type: scrum_group
group_name: first
members:
- one
- two
@klauern
klauern / countdown.markdown
Created December 6, 2019 18:53
Countdown

Countdown

Simple countdown powered by HTML, Javascript, and CSS. Originally made in 2013 and updated in 2017 using es6/es2015 JS, BEM methodology for CSS, and some ARIA sprinkled into the HTML.

A Pen by Nick Klauer on CodePen.

License.

@klauern
klauern / # teleport - 2019-01-18_09-35-30.txt
Created January 18, 2019 15:39
teleport on Ubuntu 18.04.1 LTS - Homebrew build logs
Homebrew build logs for teleport on Ubuntu 18.04.1 LTS
Build date: 2019-01-18 09:35:30
@klauern
klauern / minishift-start-logs-v5.log
Created August 4, 2018 02:16
minishift start on personal laptop fails with nameserver issues
C:\Users\klauer
λ minishift stop; minishift delete --force --clear-cache
The 'discourse' VM is already stopped.
Removed cache content at: 'C:\Users\klauer\.minishift\cache'
Deleting the Minishift VM...
Minishift VM deleted.
C:\Users\klauer
λ minishift start --show-libmachine-logs -v5
-- minishift version: v1.22.0+7163416e
-- Starting profile 'discourse'
@klauern
klauern / MiniShift-Start-New-Server.log
Last active August 3, 2018 21:06
Minishift Startup errors
-- minishift version: v1.22.0+7163416
-- Starting profile 'shifttest'
-- Using proxy for the setup
Using http proxy: http://user:pass@myproxy:8080
Using https proxy: http://user:pass@myproxy:8080
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'hyperv' is supported on this platform ... OK
@klauern
klauern / extension-install.ps1
Created May 2, 2018 00:44
list of extensions to install
code --install-extension aalaap.theme-toothpaste
code --install-extension akamud.vscode-theme-onedark
code --install-extension akmittal.hugofy
code --install-extension arcticicestudio.nord-visual-studio-code
code --install-extension azemoh.one-monokai
code --install-extension azemoh.theme-onedark
code --install-extension bajdzis.vscode-database
code --install-extension chrmarti.regex
code --install-extension codezombiech.gitignore
code --install-extension DavidAnson.vscode-markdownlint
https://tools.ietf.org/pdf/rfc6750.pdf | RFC 6750 - The OAuth 2.0 Authorization Framework: Bearer Token Usage
https://blog.codeship.com/the-top-four-exception-tracking-services/?utm_campaign=Weekly%20Newsletters&utm_source=hs_email&utm_medium=email&utm_content=59985837&_hsenc=p2ANqtz-9eT2r5GjNRlu9O6bQSTDNEthAwMghv8ae5YEW698E8LMw1pGJ3dfWYt6GuaXH1JdBYuvsxZ7T_KEkRJ2b0XHz5X19A_g&_hsmi=59986787 | The Top Four Exception Tracking Services - via @codeship | via @codeship
https://about.mattermost.com/customer-stories/how-uber-uses-mattermost-to-enhance-enterprise-wide-communications/ | Why Uber switched from Slack to Mattermost for enterprise collaboration – Mattermost
https://github.com/aws/aws-lambda-go/tree/master/events | aws-lambda-go/events at master · aws/aws-lambda-go
https://courses.edx.org/dashboard | Dashboard | edX
https://github.com/dastergon/awesome-chaos-engineering | dastergon/awesome-chaos-engineering: A curated list of awesome Chaos Engineering resources.
http://blog.kubernetes.io/2018/01/kubernetes-
@klauern
klauern / binstale-pkgs-install.txt
Last active January 24, 2018 16:17
Manjaro Work Laptop 'binstale' output
github.com/shurcooL/Go-Package-Store/cmd/Go-Package-Store
github.com/FiloSottile/Heartbleed
github.com/kr/text/cmd/agg
github.com/maruel/panicparse/vendor/github.com/kr/text/cmd/agg
github.com/workfit/tester/vendor/github.com/kr/text/cmd/agg
periph.io/x/periph/cmd/apa102
github.com/klauspost/asmfmt/cmd/asmfmt
github.com/awslabs/aws-sam-local
github.com/dave/rebecca/cmd/becca
github.com/davelondon/rebecca/cmd/becca
@klauern
klauern / winpath.sh
Created April 15, 2017 16:15
Change a Unix path in to Windows path for WSL
winpath() {
# get the Windows user path, convert to Unix line endings
user_path=$(echo "$(/mnt/c/Windows/System32/cmd.exe /C echo %HOMEDRIVE%%HOMEPATH%)" | tr -d "\r")
# expand the specified path
target_path=$(readlink -f $1)
# change ~ to $user_path
if grep -q "^/home/" <<< $target_path; then
temp_user_path=$(echo "$user_path" | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|' -e 's|^M$||')
@klauern
klauern / brew-osx-linux.sh
Last active June 23, 2016 21:39
OSX Setup Scripts
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
# one small modification from the above is to include dupes, so we can install those over top of the base ones.
# core
brew install coreutils
brew tap homebrew/dupes
brew tap homebrew/versions
# key commands