-
brew install gnupg21, pinentry-mac
(this includes gpg-agent and pinentry) -
Generate a key:
$ gpg2 --gen-key
-
Take the defaults. Whatevs
-
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf
This file contains 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
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.8.2_windows_amd64.zip | |
unzip telegraf-1.8.2_windows_amd64.zip |
This file contains 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
[core] | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
editor = nvim -f | |
autocrlf = false | |
safecrlf = true | |
excludesfile = ~/.gitignore | |
pager = diff-so-fancy | less --tabs=4 -RFX | |
[pull] | |
rebase = true | |
[push] |
This file contains 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
# Another quick function to shorten something like this: | |
# ps aux | grep PROCESS_NAME. (Usage: psa NAME) | |
psa () { | |
ps aux | grep $1 | |
} | |
myuptime () { | |
uptime | awk '{ print "Uptime:", $3, $4, $5 }' | sed 's/,//g' | |
return; | |
} |
This file contains 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
# Kibana is served by a back end server. This setting specifies the port to use. | |
#server.port: 5601 | |
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values. | |
# The default is 'localhost', which usually means remote machines will not be able to connect. | |
# To allow connections from remote users, set this parameter to a non-loopback address. | |
server.host: '0.0.0.0' | |
# Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects | |
# the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests |
This file contains 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
/* | |
This example was built using standard create-react-app out of the box with no modifications or ejections | |
to the underlying scripts. | |
In this example, i'm using Google as a social provider configured within the Cognito User Pool. | |
Each step also represents a file, so you can see how I've chosen to organize stuff...you can do it however | |
you'd like so long as you follow the basic flow (which may or may not be the official way....but its what I found that works. | |
The docs are pretty horrible) | |
This file contains 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
#!/bin/bash | |
set -eu | |
function ensureMounted() { | |
source=$1 | |
shift | |
target=$1 | |
shift | |
type=$1 |
This file contains 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 | |
# Dependencies: | |
# - capsh | |
# - cgroup-utils | |
# - systemd | |
# - ruby | |
# | |
require 'fileutils' | |
require 'logger' | |
require 'optparse' |