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
kwlzn / jupyter_pex.py
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
chetan / mesos_isolators.md
Last active January 18, 2019 21:55
Description of available Apache Mesos isolators
@benley
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' }
namers:
- kind: io.l5d.serversets
prefix: /zk/dal09
zkAddrs:
- { host: zk1.dal09.prod.example.com, port: '2181'}
- { host: zk2.dal09.prod.example.com, port: '2181'}
@tristanfisher
tristanfisher / Ansible-Vault how-to.md
Last active April 3, 2024 13:55
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.