This file contains 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
# cat /proc/cpuinfo | |
processor : 0 | |
vendor_id : Geode by NSC | |
cpu family : 5 | |
model : 5 | |
model name : Geode(TM) Integrated Processor by National Semi | |
stepping : 2 | |
cpu MHz : 333.282 | |
cache size : 32 KB | |
fdiv_bug : no |
This file contains 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/env python | |
# compressor. it's like upx for python. | |
# decompression stub. this will decompress the data and evaluate the module code stored in the docstring. | |
DECOMPRESS = """from marshal import loads | |
__doc__ = loads(__doc__.decode('bz2')) | |
del loads | |
eval(__doc__)""" | |
from bz2 import compress |
This file contains 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/sh | |
# The SNMP community to use. Normally this will be "public". Only need read access. | |
COMMUNITY="public" | |
# default interface | |
IFACE="5" | |
case "$2" in | |
"e" | "wired" | "eth" | "ethernet" | "7402vl") |
NewerOlder