Skip to content

Instantly share code, notes, and snippets.

View li-qiang's full-sized avatar

LiQiang li-qiang

  • ThoughtWorks
  • beijing
View GitHub Profile
@li-qiang
li-qiang / Dockerfile
Last active May 29, 2016 03:45
Prepare node env
FROM ubuntu
RUN apt-get update --fix-missing
RUN apt-get install -y curl
RUN apt-get install -y xz-utils
ENV NODE_VERSION "6.2.0"
require 'openssl/cipher'
require 'base64'
module Cipher
BLOCK_SIZE = 32
CIPHER = 'AES-256-CBC'.freeze
extend self