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/bash | |
# | |
# This removes lines containing passwordAsUTF8String in /var/log/secure.log* | |
templog=`mktemp -t securelog` | |
for logfile in /var/log/secure.log*; do | |
echo "Filtering passwords from $logfile" | |
if [ ${logfile##*.} == "bz2" ]; then |
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
#!/usr/bin/python | |
import sys | |
import optparse | |
from Foundation import * | |
SRV_NAME = u"HelloServer" |
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
#!/usr/bin/env python | |
import sys | |
import os.path | |
import shutil | |
import subprocess | |
import re | |
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
- .DS_Store | |
- /Shared | |
- /Guest | |
- /*/Library/Application Support/SyncServices/data.version | |
- /*/Library/Application Support/Firefox/Crash Reports | |
- /*/Library/Caches | |
- /*/Library/Logs | |
- /*/Library/Mail/Envelope Index | |
- /*/Library/Mail/Envelope Index-journal | |
- /*/Library/Mail/AvailableFeeds |
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
#!/usr/bin/python | |
import sys | |
import optparse | |
import random | |
rndgen = random.SystemRandom() | |
words = list(s.rstrip() for s in open("/usr/share/dict/words")) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ID</key> | |
<string>com.googlecode.autopkg.VLC</string> | |
<key>Input</key> | |
<dict> | |
<key>NAME</key> | |
<string>VLC</string> |
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/bash -e | |
REPO_PATH="/Volumes/Big HD/PackageRepo" | |
package_list="$1" | |
output_dmg="$2" | |
hdiutil attach -noverify -mountpoint /tmp/installesd /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg | |
hdiutil create -size 32g -type SPARSE -fs HFS+J -volname "Macintosh HD" -uid 0 -gid 80 -mode 1775 /tmp/output.sparseimage | |
hdiutil attach -noverify -mountpoint /tmp/os -owners on /tmp/output.sparseimage |
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
from scene import * | |
import heapq | |
TILE_W = 32 | |
TILE_H = 32 | |
COST_DIAG = 7 | |
COST_ORTH = 5 | |
MODE_DRAW = 1 | |
MODE_START = 2 |
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
. 40755 0/0 | |
./._private 40755 0/0 0 0 | |
./._usr 40755 0/0 0 0 | |
./private 40755 0/0 | |
./private/var 40755 0/0 | |
./private/var/db 40755 0/0 | |
./private/var/db/._docket 100755 0/0 0 0 | |
./private/var/db/._locsetup.plist 100755 0/0 0 0 | |
./private/var/db/docket 100755 0/0 21136 3011547098 | |
./private/var/db/locsetup.plist 100755 0/0 12066 979095458 |
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/bash | |
# | |
# Start a linked clone of a VM and list available software updates. | |
declare -r FUSION_PATH="/Applications/VMware Fusion.app" | |
declare -r GUEST_USER="swup" | |
declare -r GUEST_PASSWORD="swup" | |
# Exit status constants. |
OlderNewer