Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am asdqwex on github.
  • I am asdqwex (https://keybase.io/asdqwex) on keybase.
  • I have a public key whose fingerprint is 4C1C F68D 3433 B7B6 F94F 83D4 3DD3 7B6B 0BA5 4132

To claim this, I am signing this object:

View gist:78d60af9e34a888c0918
#!/bin/bash
# Author: Jim Rosser
# Email: jarosser06@gmail.com
#
# Cloning a data bag:
# This will create a new data bag with the same items as the existing
# data bag. If -n is not set it will create a new key and encrypt the
# new data bag with that.
#
# Create data bag new_data_bag that has been encrypted with a new key:
@asdqwex
asdqwex / Notes
Last active Aug 29, 2015
Ansible300
View Notes
Create Vault for secrets
ansible-vault create secrets.yml
Run playbook with secrets from secret vault file:
RAX_CREDS_FILE=~/.rackspace_cloud_credentials ansible-playbook -i rax.py /root/ansible-tower/vault-test.yml --ask-vault-pass
Create a Server
View server.js
//
// This server will start a bash shell and expose it
// over socket.io to a browser. See ./term.html for the
// client side.
//
// You should probably:
//
// npm install socket.io
// curl -O https://github.com/LearnBoost/Socket.IO/raw/master/socket.io.min.js
//