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
############################################################# | |
# Generic Makefile for C/C++ Program | |
# | |
# License: GPL (General Public License) | |
# Author: whyglinux <whyglinux AT gmail DOT com> | |
# Date: 2006/03/04 (version 0.1) | |
# 2007/03/24 (version 0.2) | |
# 2007/04/09 (version 0.3) | |
# 2007/06/26 (version 0.4) | |
# 2008/04/05 (version 0.5) |
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
#!/bin/bash | |
sshac="/usr/bin/ssh -p 22 -o StrictHostKeyChecking=no -o ConnectTimeout=5" | |
host=("172.16.10.48") | |
if [ $# -lt 3 ]; then | |
echo "$0 a2s trunk lib_common 5" | |
exit 1 | |
fi | |
src=$1 | |
des=$2 | |
file=$3 |
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/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import socket | |
from struct import pack, unpack | |
class IPInfo(object): | |
def __init__(self, dbname = "qqwry.dat"): | |
self.dbname = dbname |
NewerOlder