View build ingress or
FROM centos:7.3.1611 | |
RUN yum update -y && yum install -y wget make gcc gcc-c++ unzip git patch readline-devel \ | |
bzip2 zlib zlib-devel | |
ENV BUILD_PATH=/tmp/build | |
RUN mkdir --verbose -p "$BUILD_PATH" | |
ENV PCRE_VERSION=8.43 |
View lunch.py
# coding: utf-8 | |
import random | |
menu = ''' | |
菜心(18元) | |
茄子(18元) | |
芋艿(18元) | |
红烧豆腐(18元) | |
干锅土豆片(22元) |
View echo.go
// $ 6g echo.go && 6l -o echo echo.6 | |
// $ ./echo | |
// | |
// ~ in another terminal ~ | |
// | |
// $ nc localhost 3540 | |
package main | |
import ( |
View cjk_auto_formating.py
#!/usr/bin/env python | |
# encoding: utf-8 | |
from __future__ import (unicode_literals, print_function) | |
import os | |
import re | |
import sys | |
import codecs |
View gist:3fb17a3637d7855f5807
马驰.*新加坡|新加坡.*马驰 | |
自由光诚 | |
陈光诚事件 | |
光诚.*沂南|沂南.*光诚 | |
陈光诚.*使馆|使馆.*陈光诚 | |
职称英语.*答案|答案.*职称英语 | |
公务员.*答案|答案.*公务员 | |
薄瓜瓜 | |
海伍德 | |
尼尔伍德 |