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
-- adapted from http://forums.macosxhints.com/showthread.php?t=17762 but it actually works here | |
tell application "Address Book" | |
set pineBook to "" | |
-- Count people as we loop over all of the people in each group | |
set i to 1 | |
repeat with thePerson in every person | |
-- Check that there are e-mail entries for this person | |
if email of thePerson exists then | |
set theName to (name of thePerson) as string | |
-- Output every e-mail address entered for this person |
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
# https://www.varnish-cache.org/docs/2.1/tutorial/vcl.html | |
# https://www.varnish-cache.org/trac/wiki/VCLExamples | |
# Summary | |
# 1. Varnish will poll the backend at /health_check to make sure it is | |
# healthy. If the backend goes down, varnish will server stale content | |
# from the cache for up to 1 hour. | |
# 2. Varnish will pass X-Forwarded-For headers through to the backend | |
# 3. Varnish will remove cookies from urls that match static content file | |
# extensions (jpg, gif, ...) |