#The Great Firewall (GFW) Contributors List
注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量
###Binxing Fang (方滨兴)
中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
from PySide import QtGui | |
class CustomSortFilterProxyModel(QtGui.QSortFilterProxyModel): | |
""" | |
Implements a QSortFilterProxyModel that allows for custom | |
filtering. Add new filter functions using addFilterFunction(). | |
New functions should accept two arguments, the column to be | |
filtered and the currently set filter string, and should | |
return True to accept the row, False otherwise. |
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
#The Great Firewall (GFW) Contributors List
注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量
###Binxing Fang (方滨兴)
中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing
import sys | |
from PyQt4 import QtGui | |
from PyQt4 import QtCore | |
from PyQt4.QtCore import Qt | |
class DragFromWidget(QtGui.QDockWidget): | |
def __init__(self, parent=None): | |
super(DragFromWidget, self).__init__(parent=parent) |
This is a local copy of the commands from:
This guide serves as a reference of collected information necessary for strict management of PGP keys. This includes keeping a master key that always remains
// Plain text URL to anchor tags Handlebars Helper | |
(function(){ | |
// defines markup enhancement regex | |
var protocol = /(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim | |
, scheme = /(^|[^\/])(www\.[\S]+(\b|$))/gim; | |
/* | |
* Registers a Helper method with handlebars which, given a string of | |
* plain text or existing markup, provides enhancements of plain text |
This gist assumes:
#! /usr/bin/env python | |
#coding=utf-8 | |
#----config part---- | |
INIT_CMDS = ["iptables -F",#clean all | |
"iptables -X", | |
"iptables -t nat -F", | |
"iptables -t nat -X", | |
"iptables -P INPUT DROP",#forbid all | |
"iptables -A INPUT -i lo -j ACCEPT"#accept all localhost |
#!/usr/bin/env python | |
# coding: utf-8 | |
class AttrDict(object): | |
def __init__(self, init=None): | |
if init is not None: | |
self.__dict__.update(init) | |
def __getitem__(self, key): | |
return self.__dict__[key] |