start new:
tmux
start new with session name:
tmux new -s myname
CC=gcc | |
CCFLAGS=-Wall | |
LDFLAGS= | |
SOURCES=$(wildcard *.c) | |
OBJECTS=$(SOURCES:.c=.o) | |
TARGET=des | |
all: $(TARGET) | |
$(TARGET): $(OBJECTS) |
#!/usr/bin/env python | |
# encoding: utf-8 | |
# dmhy-magdl.py -- command-downloader for share.dmhy.org | |
import sys | |
import urllib | |
import urllib2 | |
from datetime import datetime, timedelta | |
import webbrowser | |
import xml.etree.ElementTree as ElementTree |
# using such a setup requires `apt-get install lua-nginx-redis` under Ubuntu Trusty | |
# more info @ http://wiki.nginx.org/HttpLuaModule#access_by_lua | |
http { | |
lua_package_path "/etc/nginx/include.d/?.lua;;"; | |
lua_socket_pool_size 100; | |
lua_socket_connect_timeout 10ms; | |
lua_socket_read_timeout 10ms; | |
server { |
This article is now published on my website: When are circular imports fatal?
Install OS X El Capitan
is createdThis Gist is based on Self Signed Certificate with Custom Root CA gist.
It adds the use of AWS KMS to generate and decrypt the Root CA private key, so that this key does not need to be stored in plaintext. Instead, the key is stored encrypted, and is being decrypted using AWS KMS only when needed.
Create symmetic CMK (customer-managed key) and give it an alias of alias/root-ca-encrypting-key
that will be used later
to reference to it: