I hereby claim:
- I am cheungpat on github.
- I am cheungpat (https://keybase.io/cheungpat) on keybase.
- I have a public key whose fingerprint is B5BD 21ED DFBB 4835 75FE BC1E 617D 7093 12CD A17C
To claim this, I am signing this object:
#!/usr/bin/python¬ | |
¬ | |
import argparse¬ | |
import subprocess¬ | |
¬ | |
if __name__ == '__main__':¬ | |
parser = argparse.ArgumentParser()¬ | |
parser.add_argument('-o', dest='options')¬ | |
parser.add_argument('s3path')¬ | |
parser.add_argument('localpath')¬ |
#!/usr/bin/python | |
import argparse | |
import sys | |
def should_embed(line): | |
return True in (line.startswith(k) for k in ['ca', 'key', 'cert', 'dh']) | |
def embed(filename, out): | |
for line in (l.strip() for l in open(filename, 'r').readlines()): |
FROM python:3 | |
MAINTAINER cheungpat <me@cheungpat.com> | |
RUN pip install rq-scheduler==0.5.0 | |
ENTRYPOINT rqscheduler |
I hereby claim:
To claim this, I am signing this object:
FROM fluent/fluentd:latest | |
MAINTAINER Kwok-kuen Cheung <me@cheungpat.com> | |
RUN gem install fluent-plugin-s3 |
#!/bin/bash | |
# Copyright 2015 The Kubernetes Authors All rights reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
FROM node:6.1 | |
ENV TINI_VERSION v0.9.0 | |
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini | |
RUN chmod +x /tini | |
ENTRYPOINT ["/tini", "--"] |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
version: '2' | |
services: | |
imapproxy: | |
image: cheungpat/imapproxy | |
environment: | |
SERVER_HOSTNAME: imap.gmail.com | |
roundcube: | |
image: robbertkl/roundcube |
# ----------------------------- | |
# PostgreSQL configuration file | |
# ----------------------------- | |
# | |
# This file consists of lines of the form: | |
# | |
# name = value | |
# | |
# (The "=" is optional.) Whitespace may be used. Comments are introduced with | |
# "#" anywhere on a line. The complete list of parameter names and allowed |