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
Host * | |
StrictHostKeyChecking no | |
ServerAliveInterval 60 | |
FingerprintHash md5 | |
VisualHostKey yes | |
ControlPath /tmp/%r@%h:%p | |
IdentityFile ~/.ssh/id_rsa | |
Host github.com | |
ControlMaster auto |
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
#!/bin/sh | |
set -e | |
[ -z "$VAULT_ADDR" ] && VAULT_ADDR="https://127.0.0.1:8200" | |
case $1 in | |
store) | |
security add-generic-password -U -a "VAULT-$USER" -c "hvlt" -C "hvlt" -D "Hashicorp Vault" -s "$VAULT_ADDR" -w "$(cat)" | |
;; | |
get) |
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
FROM alpine:latest | |
LABEL maintainer="Tristan Morgan <[email protected]>" | |
LABEL Description="AWS-CLI in a minimal container" | |
ARG AWS_CLI_VERSION=1.14.42 | |
RUN apk add --no-cache python3 groff \ | |
&& python3 -m pip install wheel --upgrade pip \ | |
&& python3 -m pip install awscli==$AWS_CLI_VERSION \ | |
&& rm -rf /root/.cache |
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
# Authenticate via the AWS EC2 authentication method (IAM method). If authentication is | |
# successful, the resulting token will be stored on the client and used | |
# for future requests. | |
# | |
# @example | |
# Vault.auth.aws_ec2_iam("dev-role-iam", "vault.example.com") #=> #<Vault::Secret lease_id=""> | |
# | |
# @param [String] role | |
# @param [String] iam_auth_header_value | |
# |
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
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | |
/var/log/com.oho.cntlm.daemon.err 644 5 1000 * NJ /var/run/com.oho.cntlm.daemon.pid | |
/var/log/com.oho.cntlm.daemon.out 644 5 1000 * NJ /var/run/com.oho.cntlm.daemon.pid | |
# /etc/newsyslog.d/com.oho.cntlm.daemon.conf |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Thanks to OHO's Blog --> | |
<!-- /Library/LaunchDaemons/com.oho.cntlm.daemon.plist --> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<dict> | |
<key>SuccessfulExit</key> | |
<true/> |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
NewerOlder