For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
package main | |
import ( | |
"flag" | |
"fmt" | |
"net/http" | |
"github.com/codegangsta/martini" | |
"github.com/garyburd/redigo/redis" | |
"github.com/martini-contrib/render" |
[Unit] | |
Description=consul-template | |
Requires=network-online.target | |
After=network-online.target consul.service vault.service | |
[Service] | |
EnvironmentFile=-/etc/sysconfig/consul-template | |
Restart=on-failure | |
ExecStart=/usr/local/sbin/consul-template $OPTIONS -config=/etc/consul-template.d |
import json | |
import chef | |
# Copy your .chef directory into the root folder of the deployment package: | |
# http://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html#deployment-pkg-for-virtualenv | |
# See also https://github.com/coderanger/pychef/issues/41 | |
print('Loading function') | |
def lambda_handler(event, context): |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
# How to encrypt/decrypt your text/blob secret with AWS KMS with AWS cli | |
KEY_ID=alias/my-key | |
SECRET_BLOB_PATH=fileb://my-secret-blob | |
SECRET_TEXT="my secret text" | |
ENCRYPTED_SECRET_AS_BLOB=encrypted_secret_blob | |
DECRYPTED_SECRET_AS_BLOB=decrypted_secret_blob # Result of decrypt-blob target | |
encrypt-text: |
Functional reactive programming (FRP) is very popular nowadays. The JavaScript community provides us with excellent tools like RxJS, Bacon, and Kefir. But, as we know, they have nothing to do with React. So how we can use the power of FRP in our React application? Using the correct state management, we can make friends with FRP and React and make our application truly reactive. In my lightning talk, I will talk about Focal