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
USE_PKGBUILD=1 | |
include /usr/local/share/luggage/luggage.make | |
TITLE=DisableSetupAssistant | |
PACKAGE_VERSION=1.0.1 | |
REVERSE_DOMAIN=edu.whitby | |
PAYLOAD=prep-var-db-AppleSetupDone \ | |
prep-Library-SetupRegComplete | |
# apply Lion-specific perms fix: |
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
node 'default' { | |
package {"munkitools": | |
ensure => installed, | |
provider => "pkgdmg", | |
source => "/Users/vagrant/Desktop/VMware Shared Folders/-vagrant/munkitools2-latest.pkg", | |
} | |
} |
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>Description</key> | |
<string>Downloads the latest version of Box Edit.</string> | |
<key>Identifier</key> | |
<string>com.github.hansen-m.download.boxedit</string> | |
<key>Input</key> | |
<dict> |
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
import re | |
import urllib2 | |
import urllib | |
import urlparse | |
index_url = 'https://www.makerbot.com/desktop' | |
f = urllib2.urlopen(index_url) | |
html = f.read() | |
f.close() |
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
class bootstrap::defaultpdf { | |
exec {'set_pdf_reader': | |
command => "/opt/boxen/homebrew/bin/duti -s com.apple.Preview .pdf all", | |
unless => "/opt/boxen/homebrew/bin/duti -x pdf | grep Preview", | |
user => $mac_current_user, | |
} | |
} |
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
--- | |
module::class::var1: 'use_this_value' | |
module::class::var1: 'use_this_value' |
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 ruby | |
# | |
# File: Warranty.rb | |
# | |
# Decription: Contact's Apple's selfserve servers to capture warranty | |
# information about your product. Accepts arguments of | |
# machine serial numbers. | |
# | |
# Author: Gary Larizza | |
# Last Modified: 8/13/2012 |
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
core@coreos1 ~ $ fleetctl list-units | |
UNIT STATE LOAD ACTIVE SUB DESC MACHINE | |
margarita.service launched loaded active running Nginx Container that serves the files from the data container. 7b05bb54.../192.168.180.255 | |
munki-data.service launched loaded inactive dead Data container that mounts the munki repo volume. 7b05bb54.../192.168.180.255 | |
munki.service launched loaded active running Nginx Container that serves the files from the data container. 7b05bb54.../192.168.180.255 | |
munkiwebadmin-pgdata.service launched loaded active running Data container for postgres-munkiwebadmin 7b05bb54.../192.168.180.255 | |
munkiwebadmin.service launched loaded failed failed MunkiWebAdmin container 7b05bb54.../192.168.180.255 | |
postgres-munkiwebadmin.service launched loaded active running PostgreSQL-MunkiWebAdmin 7b05bb54.../192.168.180.255 | |
reposado-data.service launched loaded inactive dead Data container for reposado. 7b05bb54.../192.168.180.255 | |
reposado.service launched loaded active runni |
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
[Unit] | |
Description=Nginx Container that serves the files from the data container. | |
After=munki-data.service | |
Requires=docker.service | |
[Service] | |
ExecStartPre=/usr/bin/docker kill munki-%i | |
ExecStartPre=/usr/bin/docker rm -f munki-%i | |
ExecStartPre=/usr/bin/docker pull macadmins/munki | |
ExecStart=/usr/bin/docker run --rm --name munki-%i --volumes-from munki-data -p 8000:80 macadmins/munki |
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/docker run -i -t --rm --link postgres-munkiwebadmin:db \ | |
-w /home/app/munkiwebadmin \ | |
-e DB_USER=admin -e DB_PASS=password \ | |
-e DB_NAME=munkiwebadmin \ | |
macadmins/munkiwebadmin python manage.py changepassword admin |
OlderNewer