- Frodo
- Samwise
- Gandalf
- Legolas
- Gimli
- Aragorn
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 bash | |
set -e | |
if [ -z "$CF_BIN" ]; then CF_BIN=$(which cf); fi | |
function construct_params_from_environment() { | |
local serviceName="$1" | |
local serviceNameVar=$(echo "$serviceName" | tr a-z A-Z) |
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
license: gpl-3.0 |
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/sh | |
# Requires CredHub CLI 1.7.5 or newer | |
credhub export -p /from \ | |
| sed -e ‘/from/to/‘ \ | |
| grep -v password_hash \ | |
| credhub import |
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 | |
# To import, run "credhub import -f credhub-backup.yml" | |
source <CREDHUB/CONCOURSE TARGET SCRIPT> 2>&1 > /dev/null | |
echo "credentials:" | |
for path in $(credhub find -a | grep path: | awk '{print $3}') | |
do |
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
# Jumpbox Solution Alternatives | |
## Requirements | |
- Responsible use of resources | |
- Explicitly manage dependencies and versions (bbl, bosh, az, fly, cf, etc.) | |
- Support multiple team members and environments | |
- Easy to maintain | |
- Easy access | |
- Secure access |
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
Mon Dec 18 19:47:06 UTC 2017 |
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
❯ apm stars | |
Packages starred by you (46) | |
├── ⭐ atom-beautify Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom (3867537 downloads, 4333 stars) | |
├── ⭐ build Build your current project, directly from Atom (313416 downloads, 325 stars) | |
├── ⭐ build-gulp Runs gulp targets (13040 downloads, 34 stars) | |
├── ⭐ color-picker Right click or press CMD-SHIFT-C/CTRL-ALT-C to open it. (1507977 downloads, 2859 stars) | |
├── ⭐ concourse-vis Preview Concourse pipelines in Atom! (638 downloads, 2 stars) | |
├── ⭐ editorconfig Helps developers maintain consistent coding styles between different editors (369822 downloads, 1197 stars) | |
├── ⭐ emmet Emmet – the essential tool for web developers (1496466 downloads, 2438 stars) | |
├── ⭐ escape-utils Encode/decode URLs, Base64 or escape HTML entites. (6617 downloads, 31 stars) |
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
service='api.sys.us-east.big.co' | |
username='adam.admin@big.co' | |
#get the password from the keychain | |
password=$(security find-generic-password -ga "$username" -w) | |
#if the security command does not run sucessfully, prompt | |
if [ $? -gt 0 ]; then | |
echo "Please enter the password for '$username' on '$service': " | |
read -p "Password: " -s password |