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>font-name-aliases</key> | |
<dict> | |
<!-- N.B. 'system-font' is also available as an alias; it will be mapped to the actual system font at runtime. --> | |
<key>light</key> | |
<string>.SFNSText-Light</string> | |
<key>light-italic</key> |
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
tell application "Finder" | |
set theFile to selection as alias | |
tell application "System Events" to tell disk item (theFile as text) to set {theName, theExtension} to {name, name extension} | |
if theExtension is not "" then set theName to text 1 thru -((count theExtension) + 2) of theName -- the name part | |
set comment of theFile to theName | |
end tell |
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
html{min-height:100%;margin-bottom:1px}body{background:#fff;padding:0;color:#333;font-family:Helvetica, Arial, sans-serif;min-height:100%;margin:0}a{text-decoration:none;color:#c1382b;cursor:pointer}a:hover{color:#6e2018;text-decoration:underline}code,pre{background-color:#E8E8E8;opacity:0.75;font:10px/14px Monaco, monospace}pre{padding:8px;overflow:auto}img,object{max-width:100%;height:auto}form{padding:0 0 3px}form table{width:100%}th.proto{white-space:nowrap}td.proto{width:100%}form tr>*{padding:8px 10px 5px 0;background:url(images/bg-form-divider.png) 50% 0 no-repeat}fieldset table:first-child tr:first-child>*{background-image:none}form tr>*:first-child{padding-left:15px;background-position:0 0}form tr>*:last-child{padding-right:15px;background-position:100% 0}.dialog form tr>*:first-child{padding-left:5px}.dialog form tr>*:last-child{padding-right:5px}#service-template{display:none}table.embedded th{padding:4px 0 0}table.embedded th strong{display:block;position:relative;top:2px;left:0;background:url(ima |
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
tell application "Reminders" | |
delete (every reminder whose completed is true) | |
end tell |
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
(* | |
Modified by Jonathan Poritsky in the smallest way: | |
March 6, 2015: Switched from Growl to OS X Notifications | |
Created and since updated by Chris Suave. Full Details at: | |
http://cmsauve.com/projects/templates/ | |
For whatever reason the lasest version isn't working as well as this two year old version (save for the growl to notifications change I made). |
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
@font-face{font-family:'FontAwesome';src:url('http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?v=4.2.0');src:url('http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),url('http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),url('http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),url('http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal} | |
#tag_cloud{display:none} | |
#timer{display:none;} | |
#logo{margin-left:120px;} | |
#pinboard{width:100%;padding:0 !important;margin:0 !important;background-color:#f9f9f9 !important;} | |
#banner{background:rgb(15,128,255) !important;width:100% !important;min-width:1100px;position:fixed;left:0;padding:15px 0 16px 0 !important;z-index:10;font-family:"Avenir Next Condensed";} | |
# |
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
(* | |
Apple Mail Rules to FastMail Advanced Sieve Rules | |
Jonathan Poritsky, candlerblog.com | |
November 8, 2013 | |
--- | |
For more information on FastMail server rules (and requisite warnings) read Gabe Weatherhead's piece on transitioning to server-side mail rules: | |
http://www.macdrifter.com/2013/11/server-side-mail-rules.html | |
*) |
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
# Automate MailTags Tagging | |
# by Jonathan Poritsky | |
# http://candlerblog.com | |
# | |
# Instructions for editing inline. | |
tell application "Mail" | |
activate | |
set m to (selection) | |
set s to (extract address from sender of item 1 of m) |
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
set l to {} | |
set r to "Archive" --Apple Mail Rule from which to pull addresses | |
set f to "Archive" --Name of folder to move messages from sender to | |
tell application "Mail" | |
set m to properties of rule conditions of rule r | |
repeat with v in m | |
set p to the expression of v | |
set l to l & ".*" & p & "|" as list | |
end repeat |
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
tell application "System Events" | |
tell process "Mail" | |
tell menu bar 1 | |
tell menu "Mail" | |
click menu item "Preferences…" | |
end tell | |
end tell | |
end tell | |
end tell | |
tell application "System Events" |
NewerOlder