Skip to content

Instantly share code, notes, and snippets.

View WWDC Food

WWDC Food Guide 2015

All of these restaurants can be found on Yelp. Yelp is a San Francisco native, so San Franciscans have very enthusiastically reported all of their restaurant findings to the Internet so that you may get an idea what to expect. Yelp is a great resource for finding information about local businesses in SF.

All of the block distances are from Moscone Center West.

Breakfast in the area

Mo'z Cafe - 1 block away

nmcspadden /
Created Jun 4, 2014
This is for historical purposes, and likely can be done better via the new JSS 9.x API
import sys
import csv
import subprocess
import xml.etree.cElementTree as ElementTree
except ImportError:
import xml.etree.ElementTree as ElementTree
View pg_hba.conf
sed '/host all all\/32 trust/a host all all\/16 trust' pg_hba.conf
nmcspadden / Log in script for ARD
Last active Aug 29, 2015
Send UNIX Command for ARD to log in a device
View Log in script for ARD
osascript <<EndOfMyScript
set logInUser to "username"
set logInPassword to "password"
tell application "System Events"
tell application process "loginwindow"
key code 53
delay 1
key code 125
delay 1
key code 36 using option down
View SecurelyBootstrapping_init.pp
class munki_ssl {
if $::operatingsystem != 'Darwin' {
fail('The munki_ssl module is only supported on Darwin/OS X')
file { ['/Library/Managed Installs', '/Library/Managed Installs/certs/' ]:
ensure => directory,
owner => 'root',
group => 'wheel',
View SecurelyBootstrapping_site.pp
user { 'puppet':
ensure => 'absent',
group { 'puppet':
ensure => 'absent',
if $::operatingsystem == 'Darwin' {
include munki_ssl
View SecurelyBootstrapping_InstallYosemite-PuppetMunki.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>/Applications/Install OS X</string>
View SecurelyBootstrapping_ManagedInstalls-10.10-SSL.mobileconfig
<string>/Library/Managed Installs/certs/ca.pem</string>
View BuildingMunkiDockerWithChef_BasicMunkiDockerfile
FROM nginx
RUN mkdir -p /munki_repo
Run mkdir -p /etc/nginx/sites-enabled/
ADD nginx.conf /etc/nginx/nginx.conf
ADD munki-repo.conf /etc/nginx/sites-enabled/
VOLUME /munki_repo
View BuildingMunkiDockerWithChef_Client.rb
log_location STDOUT
chef_server_url ""
validation_client_name "ssh-validator"
ssl_verify_mode :verify_peer