Posted by joseph on November 23, 2011 ·
Has your subversion repository ever been abused by massive commitments?
If not, I should say that you are lucky. Never mind that someday you might be abused as it’s hard to predict what the non-Ops are working on and trying to do.
Posted by joseph on October 16, 2011 ·
I met this issue last week, and finally got a proper way to handle it.
We normally init a list like this “list=[]“, then how can we initialize a python list with a string variable?
Posted by joseph on April 28, 2011 ·
In one of our former post, we give an example on how to query IP whois info by Python, here is an example on how to query whois information for a domain name.
#!/usr/bin/python
#encoding = utf8
Posted by joseph on December 5, 2010 ·
This is a python script that can be used to generate random Chinese characters. Funny script!
#!/usr/bin/python
import random
def rand_ch_ch():
Posted by joseph on January 18, 2005 ·
This is a simple python script based on some former rwhois code. It shows us an easy way on how to get detailed information about a specific IP address:
joseph@e54:~$ python ip-whois.py 94.75.214.11
====== whois.arin.net
OrgName: RIPE Network Coordination Centre
OrgID: [...]