Skip to content

Instantly share code, notes, and snippets.

View zhangxiaoyang's full-sized avatar

Yang Zhang zhangxiaoyang

View GitHub Profile
@zhangxiaoyang
zhangxiaoyang / SimpleHTTPServerWithUpload.py
Created July 31, 2017 06:57 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@zhangxiaoyang
zhangxiaoyang / cmd.md
Last active January 26, 2021 09:05
常用命令

网络

TCPDump

# 列出所有的Interface
sudo tcpdump -D

# 抓包
sudo tcpdump -i 1 -A -s 0 'tcp port 8080'
@zhangxiaoyang
zhangxiaoyang / kafka.js
Created December 28, 2016 15:40 — forked from JasonGiedymin/kafka.js
High Level Kafka High Level Wrapper :-) )
'use strict';
// Imports
var bunyan = require('bunyan');
var Promise = require('bluebird');
var lodash = require('lodash');
var kafka = require('kafka-node');
// Vars
var Producer = kafka.Producer;
@zhangxiaoyang
zhangxiaoyang / gist:4134636
Created November 23, 2012 09:04
在公司用到的东西

跟大家分享下在公司一般会用到的东西。

##wiki

团队内部知识共享

目前采用DokuWiki+openshift搭建了一个临时的wiki 地址 ##project management

项目管理,团队协作。业界比较知名的是37signals的 basecamp

由于咱的项目貌似更偏重于科研方面,暂时用不到这么多复杂的功能。暂时使用简洁清爽版本的trello.