Skip to content

Instantly share code, notes, and snippets.

{
"AWSTemplateFormatVersion": "2010-09-09",
"Metadata": {
},
"Parameters": {
"EnvironmentParameter": {
"Type": "String",
"Default": "dev",
"AllowedValues": ["dev", "test", "stage", "lt", "prod"],
"Description": "Supply an environment from the choices: dev, test, stage, lt, or prod. The default is dev."
@sandcastle
sandcastle / install-teamcity.md
Last active December 7, 2023 18:02
Install TeamCity 9.0.3 on Ubuntu with Nginx
@beaufour
beaufour / gzipinputstream.py
Created December 4, 2012 16:03
Python: Streaming Gzip reader
import zlib
import string
BLOCK_SIZE = 16384
"""Read block size"""
WINDOW_BUFFER_SIZE = 16 + zlib.MAX_WBITS
"""zlib window buffer size, set to gzip's format"""