Skip to content

Instantly share code, notes, and snippets.

# Adapted from http://brettterpstra.com/2014/01/20/open-together-notes-in-marked/
# Save as ~/Library/Scripts/Applications/Together 3/Open Note in Marked.applescript
tell application "Together 3"
set _sel to selected items
repeat with _note in _sel
set _file to original filename of _note
tell application "Marked" to open POSIX path of _file
tell application "Marked" to activate
end repeat
end tell
@cdwilson
cdwilson / Folder Preferences
Created August 4, 2012 02:47 — forked from chrisyour/Folder Preferences
Show hidden files and hidden folders (except .git) in your TextMate project drawer
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences.
# Instructions:
# Go to TextMate > Preferences...
# Click Advanced
# Select Folder References
# Replace the following:
# File Pattern (original)
@cdwilson
cdwilson / add_empty_dirs.sh
Created October 7, 2011 17:27 — forked from justinfrench/Recursively add .gitignore files to empty dirs
Add .gitignore to empty directories
#!/bin/sh
# Recursively add a .gitignore file to all directories
# in the working directory which are empty and don't
# start with a dot. Helpful for tracking empty dirs
# in a git repository.
for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done;