Skip to content

Instantly share code, notes, and snippets.

View moolex's full-sized avatar
🏠
lazying from home

MOYO moolex

🏠
lazying from home
View GitHub Profile
@moolex
moolex / Dockerfile
Last active May 7, 2017 13:37
shadowsocks-libev + simple-obfs
#
# Dockerfile for shadowsocks-libev
#
FROM alpine
MAINTAINER kev <[email protected]>
ARG OB_VER=0.0.3
ARG SS_VER=3.0.6
ARG SS_URL=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$SS_VER/shadowsocks-libev-$SS_VER.tar.gz
@moolex
moolex / thrift2psr4.php
Created June 13, 2017 08:31
Convert thrift generated files to psr4 standard
<?php
/**
* Convert thrift generated files to psr4 standard
* User: moyo
* Date: 13/06/2017
* Time: 3:25 PM
*/
$argc < 3 && exit('Usage: ./thrift2psr4.php srcFolder dstFolder');
@moolex
moolex / .editorconfig
Created March 23, 2018 03:47
editor config of carno-php
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.php]
charset = utf-8
indent_style = space
indent_size = 4