Skip to content

Instantly share code, notes, and snippets.

Ming Zhou zhouming

Block or report user

Report or block zhouming

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
daicham / .gitlab-ci.yml
Last active May 21, 2020
A sample of .gitlab-ci.yml for a gradle project
View .gitlab-ci.yml
image: java:8-jdk
- build
- test
- deploy
# - echo `pwd` # debug
leon / nginx.conf
Created Jun 29, 2012
Nginx PHP-FPM Symfony 2 minimal config
View nginx.conf
server {
listen 80;
server_name localhost;
root /home/website/web;
rewrite ^/app\.php/?(.*)$ /$1 permanent;
try_files $uri @rewriteapp;
location @rewriteapp {
alvinl /
Created Apr 21, 2012
Script to install pptp on Debian 6
apt-get update
apt-get install pptpd -y
echo localip >> /etc/pptpd.conf
echo remoteip >> /etc/pptpd.conf
echo ms-dns >> /etc/ppp/pptpd-options
echo ms-dns >> /etc/ppp/pptpd-options
echo "vpn pptpd pass123 *" | tee -a /etc/ppp/chap-secrets
/etc/init.d/pptpd restart
erikh /
Created Mar 31, 2012 — forked from DAddYE/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
You can’t perform that action at this time.