Generate your CSR This generates a unique private key, skip this if you already have one.
sudo openssl genrsa -out etc/ssl/yourdomain.com/yourdomain.com.key 1024Next generate your CSR (Certificate Signing Request), required by GoDaddy:
| #! /usr/bin/env bash | |
| #sudo apt-get install --yes autoconf | |
| WORKING_DIR=`pwd` | |
| LIBLBFGS_GIT=https://github.com/chokkan/liblbfgs.git | |
| LIBLBFGS_SRC_DIR=./liblbfgs/ | |
| LIBLBFGS_INSTALL_DIR=$WORKING_DIR/local/lbfgs/ | |
| CRFSUITE_GIT=https://github.com/chokkan/crfsuite.git | |
| CRFSUITE_SRC_DIR=./crfsuite/ |
| #! /usr/bin/env bash | |
| # Insert a USB key. | |
| # if needed initialize it with MS/DOS FAT and MBR | |
| # Download the Mint ISO image | |
| # Convert the ISO -> IMG | |
| hdiutil convert -format UDRW -o linuxmint-17.3-cinnamon-64bit linuxmint-17.3-cinnamon-64bit.iso | |
| # Run a diskutil list to know the device for the USB key, e.g.: /dev/disk3 |
Generate your CSR This generates a unique private key, skip this if you already have one.
sudo openssl genrsa -out etc/ssl/yourdomain.com/yourdomain.com.key 1024Next generate your CSR (Certificate Signing Request), required by GoDaddy:
| #!/usr/bin/env python | |
| from github import Github | |
| import urllib2 | |
| import codecs | |
| import sys | |
| import re | |
| UTF8Writer = codecs.getwriter('utf8') | |
| sys.stdout = UTF8Writer(sys.stdout) | |
| oauthToken = open('.oauthToken', 'r').read() |
Here is the raw output from examining the Python LambdaContext context object in a AWS Lambda function when called from a CloudFormation stack. More information on the context object can be found here : http://docs.aws.amazon.com/lambda/latest/dg/python-context-object.html
<__main__.LambdaContext object at 0x7fd706780710>
This document describes how Airflow jobs (or workflows) get deployed onto production system.
/home/airflow$HOME/airflow-git-dir/dags/$HOME/airflow-git-dir/configs/$HOME/airflow-git-dir/tests/. Preferable, discoverable by both nose and py.test| ZigZag-Encoding | |
| --------------- | |
| Maps negative values to positive values while going back and | |
| forth (0 = 0, -1 = 1, 1 = 2, -2 = 3, 2 = 4, -3 = 5, 3 = 6 ...) | |
| (i >> bitlength-1) ^ (i << 1) | |
| with "i" being the number to be encoded, "^" being | |
| XOR-operation and ">>" would be arithemtic shifting-operation |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| Instructions for trying ext4+overlay with docker! In an up-to-date SDK: | |
| Write the following to /build/amd64-usr/etc/portage/package.keywords/overlay | |
| sys-kernel/coreos-sources | |
| sys-kernel/coreos-kernel | |
| sys-fs/btrfs-progs | |
| app-emulation/docker | |
| In src/scripts make the following change to switch to ext4: |
| #!/bin/bash | |
| if ! which wget > /dev/null; then | |
| yum install -y wget | |
| fi | |
| export DOCKER_VERSION=1.3.0 | |
| pushd /tmp | |
| if [ ! -f /usr/bin/docker ]; then |