Copy these files to your ~/Library/Application Support/Notational Velocity/
folder.
This file contains hidden or 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
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleTypeExtensions</key> | |
<array> | |
<string>jpg</string> | |
<string>jpeg</string> | |
<string>png</string> | |
<string>tif</string> | |
<string>tiff</string> |
This file contains hidden or 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 python | |
""" | |
This script is designed to generate a simple html file with _all_ of your | |
Pinboard.in bookmarks The HTML file can be added to Launchbar's index as a | |
custom bookmark file and you can search your entire Pinboard.in collection | |
instantly from Launchbar (by title only). It includes any applied tags as part | |
of the title to aid in searching. | |
You should edit the `username`, `bookmark_filename`, and `local_timezone` |
This file contains hidden or 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
#!/bin/sh | |
# .git/hooks/pre-commit | |
# | |
# NEEDS registered version of Balsamiq Mockups (mandatory for PNG export) | |
# | |
# Exports *.bmml files to PNGs, but only for new or modified ones (files in stage area). | |
# This should be installed as .git/hooks/pre-commit in your local repository (with +x flag). | |
# As git hook it ensures that your new/modified (and staged) files will be exported before commit | |
# your changes to the repository automatically. |
This file contains hidden or 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 theDate to (current date) | |
set theStartDate to theDate | |
repeat until weekday of theStartDate = Sunday | |
set theStartDate to theStartDate - 1 * days | |
end repeat | |
set theEndDate to theDate | |
repeat until weekday of theEndDate = Saturday | |
set theEndDate to theEndDate + 1 * days | |
end repeat | |
set theDate to (short date string of theStartDate) & " - " & (short date string of theEndDate) |
This file contains hidden or 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
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name=$inputline | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url=$inputline |
This file contains hidden or 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
#!/bin/bash | |
# | |
# This script backups an OS X system to an external volume, effectively | |
# cloning it. It is based on [0], [1] and [2] for OS X and [3] and [4] for | |
# Linux. One could also use commercial tools like SuperDuper! or Carbon Copy | |
# Cloner. The latter website has an interesting list[5] on what files to | |
# exclude when cloning. | |
# | |
# Exclusions (from CCC[5]), see rsync_excludes_osx.txt | |
# |
This file contains hidden or 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
# A stupid script that actually makes a handy system service | |
# Use it to right click files and extract their text content to the clipboard | |
# Brett Terpstra 2013, no rights reserved | |
txtcount=`file "$@"|grep -c text` | |
response=0 | |
msg="" | |
if [ $txtcount -eq $# ]; then | |
cat "$@"|pbcopy | |
if [ "$?" -ne "0" ]; then | |
msg="Error running command" |
This bookmarklet works on pages such as http://5by5.tv/systematic/1 and grabs the show links and gets them ready for a quick ⌘C to grab a Markdown list. It adds next/prev navigation to the resulting overlay for quickly drilling through a show's episode link history.
Create a new bookmarklet with the Bookmarklet version below to try it out.