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
# Bash functions for notifying when your internet connection comes back up | |
# A truly atrocious way to get your attention | |
nag() { | |
while true; do | |
for phrase in "$@"; do | |
afplay /System/Library/Sounds/Ping.aiff | |
say "$phrase" | |
sleep 3 | |
done |
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/ruby | |
# <bitbar.title>Countdown Timer</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Chris Yuen</bitbar.author> | |
# <bitbar.author.github>kizzx2</bitbar.author.github> | |
# <bitbar.desc>Simple countdown timer. Set the time by calling the script from terminal.</bitbar.desc> | |
# <bitbar.dependencies>ruby</bitbar.dependencies> | |
# <bitbar.image>https://raw.githubusercontent.com/kizzx2/bitbar-countdown-timer/master/screenshot.png</bitbar.image> | |
# <bitbar.abouturl>http://github.com/kizzx2/bitbar-countdown-timer</bitbar.abouturl> |
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
(* Import and update your Pinboard bookmarks to DEVONthink | |
Based on work done by Christian Grunenberg on Mon Jan 23 2006, | |
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and | |
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished. | |
By Sascha A. Carlin <https://sascha.carlin.de/> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items | |
Copyright (c) 2018. All rights reserved. *) | |
use framework "Foundation" |
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
(setq org-capture-templates (quote (("SA" "Skim Annotation" entry | |
(file+function org-ref-bibliography-notes my-org-move-point-to-capture-skim-annotation) | |
"* %^{Logging for...} :skim_annotation:read:literature: | |
:PROPERTIES: | |
:Created: %U | |
:CITE: cite:%(my-as-get-skim-bibtex-key) | |
:SKIM_NOTE: %(my-org-mac-skim-get-page) | |
:SKIM_PAGE: %(my-as-get-skim-page) | |
:END: | |
%i |
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
import ui | |
from ctypes import py_object | |
from objc_util import * | |
import sys | |
from objc_classes import objcmethod, objcclass | |
UISearchController=ObjCClass('UISearchController') | |
class SearchableTableView(ui.View): | |
'''Works like a tableview, except that search bar is shown. |
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
((options) => { | |
'use strict'; | |
// (NB JavaScript for Automation – JXA: Save as .scpt ) | |
// Selected DEVONthink Sheet -> DEVONthink markdown record (MMD table) | |
// (New record containing MMD table created is same group as selection) | |
// Uses original fileName stem, with '.md' appended. | |
// Default alignment string is centered ':--:' |
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/osascript | |
--Script to Export Bookends Notes to OPML file v1.18 | |
--Written by Dave Glogowski (modified by iandol) | |
--07 August 2017 | |
-- | |
--This script converts Bookends references and associated notes into an OPML structured file which can then be imported into Scrivener's research folder. | |
--Each reference is a top level card which contains the Title, Author, Date, Type, Publisher, Abstract, and Bookends citation key | |
--If there are notes associated with a reference, each note creates its own subordinate note card with the Page number (if any), note header, quotes, | |
--comments, and keywords (tags). This allows you to individually review each comment and change its status (label) within Scrivener. | |
-- |
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
replaced by https://gist.github.com/mayel/c07bc0acb91824501d5bdbdc9eb7b33a |
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
@charset "UTF-8"; | |
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none} | |
html { | |
background: #fff; | |
} | |
body { | |
background: #fff; |
