git clone https://gist.github.com/dd6f95398c1bdc9f1038.git vault
cd vault
docker-compose up -d
export VAULT_ADDR=http://192.168.99.100:8200
Initializing a vault:
vault init
git clone https://gist.github.com/dd6f95398c1bdc9f1038.git vault
cd vault
docker-compose up -d
export VAULT_ADDR=http://192.168.99.100:8200
Initializing a vault:
vault init
| import sys | |
| from suds import client | |
| from suds.wsse import Security, UsernameToken | |
| from suds.sax.text import Raw | |
| from suds.sudsobject import asdict | |
| from suds import WebFault | |
| ''' | |
| Given a Workday Employee_ID, returns the last name of that employee. |
| from protorpc import messages | |
| class MultiMessage(messages.Message): | |
| """Has a field for each basic value type. | |
| """ | |
| boolean = messages.BooleanField(1) | |
| integer = messages.IntegerField(2) | |
| float = messages.FloatField(3) | |
| string = messages.StringField(4) |
| Because of 'Meslo for Powerline' font doens't work with Putty. | |
| So we need another patched font to display powerline correctly. | |
| Here are the list: | |
| - DejaVu Sans Mono for Powerline (https://github.com/powerline/fonts/tree/master/DejaVuSansMono) | |
| - Droid Sans Mono for Powerline (https://github.com/powerline/fonts/tree/master/DroidSansMono) | |
| To change font: On main window (Putty Configuration) -> Window -> Apearance -> Font settings -> Change | |
| To test, enter this in the terminal screen: echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699" |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """This module's docstring summary line. | |
| This is a multi-line docstring. Paragraphs are separated with blank lines. | |
| Lines conform to 79-column limit. | |
| Module and packages names should be short, lower_case_with_underscores. | |
| Notice that this in not PEP8-cheatsheet.py |
| class Specification: | |
| def __and__(self, other): | |
| return And(self, other) | |
| def __or__(self, other): | |
| return Or(self, other) | |
| def __xor__(self, other): | |
| return Xor(self, other) |
%title: Kubeception %author: @dghubble
// Youtube: https://www.youtube.com/watch?v=tlUiQa2JYQU
-> Experiments with QEMU/KVM on Kubernetes <-
This is a primer on how to install PlusNuts using materials readily available from your local hardware store.
PlusNuts, sometimes called "pre-bulbed cross nuts," are a machine threaded sheet metal equivalent to a drywall anchor. They are useful because they can be installed into a thin metal surface, blind (i.e. with access from only one side). Here are two pictures of a PlusNut, before and after installation (backside view):
| passwd: | |
| users: | |
| - name: "root" | |
| groups: | |
| - "sudo" | |
| - "wheel" | |
| password_hash: "$6$gO2u2Sjk$Q5T/SqiwFzK95jRqO6FArDDmDGmdXblnKHtL4HiA.NrGgfJk8CJF5AfAfoMt8kF/jlsqHEgRDxYOFYzw9sroS/" | |
| - name: "user" | |
| groups: | |
| - "sudo" |