Skip to content

Instantly share code, notes, and snippets.

View yangbinnnn's full-sized avatar
🎯
Focusing

yangbinnnn

🎯
Focusing
View GitHub Profile
call plug#begin('~/.config/nvim/plugged')
Plug 'ervandew/supertab'
Plug 'fatih/vim-go'
Plug 'roxma/SimpleAutoComplPop'
Plug 'Raimondi/delimitMate'
Plug 'scrooloose/nerdtree'
Plug 'kien/ctrlp.vim'
Plug 'majutsushi/tagbar'
Plug 'easymotion/vim-easymotion'
####################
# Build base image
####################
FROM golang:1.9.4-alpine3.7 as build-base
LABEL maintainer [email protected]
ENV FALCON_DIR=/root/monitor CONFIG_DIR=/config
ENV PROJ_PATH=${GOPATH}/src/github.com/open-falcon/falcon-plus
RUN apk add --no-cache ca-certificates bash git g++ perl make
COPY . ${PROJ_PATH}
# -*- coding: utf-8 -*-
"""
httpbin.utils
~~~~~~~~~~~~~~~
Utility functions.
"""
import random
@yangbinnnn
yangbinnnn / start-mongo-replset.sh
Created February 9, 2017 02:01 — forked from leetreveil/start-mongo-replset.sh
Shell scripts to create a mongodb replica set and sharded cluster locally
#!/bin/bash
# shell script to create a simple mongodb replica set (tested on osx)
set -e
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
default=$(tput sgr0)
@yangbinnnn
yangbinnnn / centos6.ks
Created May 10, 2016 08:38 — forked from kenjiskywalker/centos6.ks
CentOS 6.3 install on KVM from kickstart
# Kickstart file automatically generated by anaconda.
#version=RHEL6
install
rootpw --iscrypted [HASH PASSWORD]
text
keyboard us
lang en_US.UTF-8
selinux --disabled
timezone --utc Asia/Tokyo