This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/expect | |
cd /home/huanghao/Documents/vpn/ | |
spawn sudo openvpn client.conf | |
expect "Enter Private Key Password:" | |
send "7s7t2y2v\r" | |
expect eof |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf8 | |
import compiler, sys, os, getopt, re | |
def usage(): | |
print '''usage: %s [options] <package_dir ...> | |
display import-relationship of modules in a package in dot format | |
-v REGEX excluding module in regex, just like grep -v | |
''' % sys.argv[0] |
NewerOlder