Skip to content

Instantly share code, notes, and snippets.

View a-nldisr's full-sized avatar
Pipe it to bash

Rogier Dikkes a-nldisr

Pipe it to bash
View GitHub Profile
kwlzn /
Created July 17, 2017 19:27
jupyter + pex entrypoint shim
from contextlib import contextmanager
import errno
import json
import os
import shutil
import sys
import tempfile
from notebook.notebookapp import main as notebook_main
chetan /
Last active January 18, 2019 21:55
Description of available Apache Mesos isolators
benley / linkerd.conf.yml
Last active November 8, 2016 10:27
example: linkerd config for aurora job backends
# Example linkerd.conf for aurora jobs
admin: { port: '31218' }
- kind: io.l5d.serversets
prefix: /zk/dal09
- { host:, port: '2181'}
- { host:, port: '2181'}
tristanfisher / Ansible-Vault
Last active June 11, 2024 13:23
A short tutorial on how to use Vault in your Ansible workflow. Ansible-vault allows you to more safely store sensitive information in a source code repository or on disk.

Working with ansible-vault

I've been using a lot of Ansible lately and while almost everything has been great, finding a clean way to implement ansible-vault wasn't immediately apparent.

What I decided on was the following: put your secret information into a vars file, reference that vars file from your task, and encrypt the whole vars file using ansible-vault encrypt.

Let's use an example: You're writing an Ansible role and want to encrypt the spoiler for the movie Aliens.