Skip to content

Instantly share code, notes, and snippets.

View coneo's full-sized avatar

与剑同醉 coneo

View GitHub Profile
server {
listen 80; ## listen for ipv4; this line is default and implied
listen [::]:80 default ipv6only=on; ## listen for ipv6
root /usr/share/nginx/www;
index index.html index.htm index.php;
# Make site accessible from http://localhost/
server_name localhost;
@coneo
coneo / gencomsrc.py
Created September 6, 2015 05:34
根据一定规则进行cpp文件名的合并
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Filename: gencomsrc.py
# Author: HongXiaoqiang
# mail: prove_hxq@gmail.com
import os, sys
import glob