Skip to content

Instantly share code, notes, and snippets.

@neilxp
neilxp / wimax_filter.c
Created October 29, 2011 07:47
Linux Wimax filter
/*
* Wimax filter by Ricky Wen <cwen01390@cienet.com.cn>
*/
#include <linux/types.h>
#include <linux/string.h>
#include <linux/fcntl.h>
#include <linux/if.h>
#include <linux/in.h>
#include <net/ip.h>
#include <net/tcp.h>
@neilxp
neilxp / svn_ana.sh
Created October 19, 2011 06:26
Analyze SVN committer productivity
#!/bin/sh
# This is a script that help you get your team member's productivity
# by analyzing his/her code commiting in SVN repository, for the day before
#
# You can get a rough num for comparing between team members by using it in the way below
# ./svn_ana.sh SVN_ACCOUNT_NAME | wc -l
#
uname=vr
password=reader
@neilxp
neilxp / .vimrc
Created October 5, 2011 07:59
.vimrc
set ts=2 sw=2
set hlsearch
syntax on
set fileencodings=ucs-bom,utf-8,cp936
if has("gui_macvim")
set gfn=Monaco:h13
set transparency=8
colorscheme desert
set go=egmt