mkdir $GOPATH/src/github.com/derekparker
cd $GOPATH/src/github.com/derekparker
git clone https://github.com/derekparker/delve.git
cd delve
CERT=dlv-cert make install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| generate server.pem: | |
| openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
| """ | |
| from http.server import HTTPServer, SimpleHTTPRequestHandler | |
| import ssl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import datetime | |
| import boto3 | |
| MAX_BACKUPS = 3 | |
| dynamo = boto3.client('dynamodb') | |
| def lambda_handler(event, context): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tap "aws/tap" | |
| tap "buo/cask-upgrade" | |
| tap "cjbassi/gotop" | |
| tap "garethr/kubeval" | |
| tap "homebrew/bundle" | |
| tap "homebrew/cask" | |
| tap "homebrew/cask-fonts" | |
| tap "homebrew/cask-versions" | |
| tap "homebrew/core" | |
| tap "homebrew/services" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import json | |
| from botocore.vendored import requests | |
| def lambda_handler(event, context): | |
| kms_client = boto3.client('kms') | |
| ssm_client = boto3.client('ssm') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "runtime" | |
| "time" | |
| ) | |
| func main() { | |
| n := runtime.NumCPU() | |
| runtime.GOMAXPROCS(n) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| # Default options | |
| options = { | |
| verbose: false, | |
| preset: "Fast 1080p30" | |
| } | |
| OptionParser.new do |opt| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Bootstrap script for setting up a new OSX machine | |
| # | |
| # This should be idempotent so it can be run multiple times. | |
| # | |
| # Some apps don't have a cask and so still need to be installed by hand. These | |
| # include: | |
| # | |
| # - Twitter (app store) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openssl pkcs8 -in aws-keypair.pem -nocrypt -topk8 -outform DER | openssl sha1 -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -module platyPS | |
| <# | |
| .SYNOPSIS | |
| Export a module's documentation in markdown. | |
| .DESCRIPTION | |
| Export a module's documentation in markdown. |