- One d4 Nibble die http://www.amazon.com/gp/product/B001AV9C0M/
- One d8 Octal die http://www.amazon.com/gp/product/B001AV9C0W/
- One d10 Decimal die http://www.amazon.com/gp/product/B001AVEIOW
- One d16 Hexadecimal die http://www.amazon.com/gp/product/B0012YVYXU/
- One d30 Alphanumeric die (26 letters + 4 wild spaces) http://www.amazon.com/dp/B001BIZD02/
- Paper or some way of recording the password
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
# $Rev$ from $Date$ | |
# Catalog assumes your InstallESD is at the lastest build available on the Mac App Store. If you are on an older build, uncomment the combo updater. | |
Installer Disc Builds: 12A269, 12B19, 12C60, 12D78 | |
Output Volume Name: Macintosh HD | |
Output File Name: 10.8_vanilla | |
OS Updates: |
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
Kerio Connect on CentOS 6 | |
------------------------- | |
1. Start installer, install Basic Server edition of CentOS 6. | |
Kerio Connect stores itself and data by default in /opt, so make that large enough for your purposes. | |
2. After first boot, update the OS |
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
# Config | |
config windowHintsFontSize 100 | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsShowIcons true | |
config windowHintsSpread true | |
#config windowHintsTopLeftX (windowSizeX/2)-(windowHintsWidth/2) | |
#config windowHintsTopLeftY (windowSizeY/2)-(windowHintsHeight/2) | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize |
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
# SaferScanner is just like re.Scanner, but it neuters any grouping in the lexicon | |
# regular expressions and throws an error on group references, named groups, or | |
# regex in-pattern flags. Any of those can break correct operation of Scanner. | |
import re | |
from sre_constants import BRANCH, SUBPATTERN, GROUPREF, GROUPREF_IGNORE, GROUPREF_EXISTS | |
class SaferScanner(re.Scanner): | |
def __init__(self, lexicon, flags=0): | |
self.lexicon = lexicon |
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/sh | |
echo "ds_finish.sh - v0.1 ("`date`")" | |
# Set the munki server URL | |
defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "https://munki.production.example.com/" | |
# Set the Munki ClientIdentifier to be the hostname of this computer | |
defaults write /Library/Preferences/ManagedInstalls ClientIdentifier "${DS_HOSTNAME}" |
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
import math | |
p = [5,10] | |
q = [9,12] | |
print math.sqrt((p[0] - q[0])**2+(p[1] - q[1])**2) |
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
Common Mac Admin tools requirements | |
=================================== | |
Requires OS X Server | |
-------------------- | |
DeployStudio (for NetBoot/OD integration) | |
Requires OS X, and same version as being deployed |
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
- name: allow http traffic through firewall | |
lineinfile: dest=/etc/sysconfig/iptables | |
regexp="^-A INPUT -p {{item.protocol}} -m {{item.protocol}} --dport {{item.port}} -j ACCEPT$" | |
line="-A INPUT -p {{item.protocol}} -m {{item.protocol}} --dport {{item.port}} -j ACCEPT" | |
insertafter="^-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT$" | |
with_items: | |
- { protocol: tcp, port: 80 } | |
notify: | |
- restart iptables |
OlderNewer