Skip to content

Instantly share code, notes, and snippets.

http://weibo.com/ttarticle/p/show?id=2309404031238817078712
设置PPTP服务
sudo docker run -d --privileged --net=host \
-v {/path_to_file/chap-secrets}:/etc/ppp/chap-secrets \
mobtitude/vpn-pptp
PPTP 使用 /etc/ppp/chap-secrets 文件设置用户名和密码,所以你需要给docker容器提供这个文件,下面是这个文件的示例:
# Secrets for authentication using PAP
@otw1248
otw1248 / recommendation list: software & app & framework.md
Created September 28, 2016 06:08
recommendation,software,app,tool,framework,ecos,

###TOP 20:

  1. google:email,drive,

####DEV & OPS

  1. IDE: IntelliJ,
  2. source code repository: gitlab,github;
  3. database:postgresql
@otw1248
otw1248 / .gitignore
Created September 27, 2016 01:30
git
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
@otw1248
otw1248 / maven.md
Created September 5, 2016 06:40
maven,mvn
  1. install the unknown jar locally

mvn install:install-file -Dfile=.jar -DgroupId=com.oracle -DartifactId=ojdbc -Dversion= -Dpackaging=jar

@otw1248
otw1248 / recommendations.md
Last active August 26, 2016 06:21
software,tool,recommendation

#recommendations

###software and tools

  • docker
  • InteliJ IDEA
  • mailinator used in UT: MAILINATOR IS FREE, PUBLIC, EMAIL SYSTEM WHERE YOU CAN USE ANY INBOX YOU WANT!
  • debug service
@otw1248
otw1248 / port.md
Last active August 25, 2016 06:55
port

###PROXY/tunnel: 251XX ->QA; 252XX-->STG; 253XX-->PRD

PORT

51XXX docker port

  • 510XX database instances;
  • 514XX UT
@otw1248
otw1248 / starred items.md
Last active September 24, 2016 14:46
star,good,recommendations

Internet Scale Services Checklist: A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
System Design Cheatsheet :Picking the right architecture = Picking the right battles + Managing trade-offs

@otw1248
otw1248 / linux.md
Last active September 6, 2016 07:59
linux,commands