Example of a bare-minimum terraform script to setup an API Gateway endpoint that takes records and puts them into an SQS queue.
Start by creating the SQS queue.
resource "aws_sqs_queue" "queue" {Example of a bare-minimum terraform script to setup an API Gateway endpoint that takes records and puts them into an SQS queue.
Start by creating the SQS queue.
resource "aws_sqs_queue" "queue" {| diff -ruN Python-3.6.3.orig/setup.py Python-3.6.3.new/setup.py | |
| --- Python-3.6.3.orig/setup.py 2017-10-02 22:52:02.000000000 -0700 | |
| +++ Python-3.6.3.new/setup.py 2017-11-16 13:35:45.000000000 -0800 | |
| @@ -811,10 +811,15 @@ | |
| exts.append( Extension('_socket', ['socketmodule.c'], | |
| depends = ['socketmodule.h']) ) | |
| # Detect SSL support for the socket module (via _ssl) | |
| + openssl_root = os.getenv('OPENSSL_ROOT') | |
| + | |
| search_for_ssl_incs_in = [ |
| import java.io.Serializable; | |
| // must implement Serializable in order to be sent | |
| public class Message implements Serializable{ | |
| private final String text; | |
| public Message(String text) { | |
| this.text = text; | |
| } |
| """ | |
| The default tf.Print op goes to STDERR | |
| Use the function below to direct the output to stdout instead | |
| Usage: | |
| > x=tf.ones([1, 2]) | |
| > y=tf.zeros([1, 3]) | |
| > p = x*x | |
| > p = tf_print(p, [x, y], "hello") | |
| > p.eval() | |
| hello [[ 0. 0.]] |
These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.
Install the following packages:
apt-get install -y strongswan xl2tpd
Configure strong swan
Picking the right architecture = Picking the right battles + Managing trade-offs
| # United States of America Python Dictionary to translate States, | |
| # Districts & Territories to Two-Letter codes and vice versa. | |
| # | |
| # Canonical URL: https://gist.github.com/rogerallen/1583593 | |
| # | |
| # Dedicated to the public domain. To the extent possible under law, | |
| # Roger Allen has waived all copyright and related or neighboring | |
| # rights to this code. Data originally from Wikipedia at the url: | |
| # https://en.wikipedia.org/wiki/ISO_3166-2:US | |
| # |