Skip to content

Instantly share code, notes, and snippets.

View zverhope's full-sized avatar

Zachary Verleyen-Hope zverhope

View GitHub Profile
@iandol
iandol / bookends_to_bibtex.scpt
Last active February 24, 2019 05:48 — forked from naupaka/bookends_to_bibtex.scpt
Applescript to export selected groups in the Bookends bibliography management software to bibtex files. This has been modified to write to file for batches of references which stops Bookends crashes. Also I've added a script (fixCase.rb) to enforce the case of keywords using {}. These should both be placed on the path, then called using: `booken…
#!/usr/bin/osascript
(*
Script written by Naupaka Zimmerman
March 17, 2017
MIT License
Copyright (c) 2017 Naupaka Zimmerman
@naupaka
naupaka / bookends_to_bibtex.scpt
Last active November 15, 2021 22:15
Applescript to export selected groups in the Bookends bibliography management software to bibtex files
#!/usr/bin/osascript
(*
Script written by Naupaka Zimmerman
March 17, 2017
MIT License
Copyright (c) 2017 Naupaka Zimmerman
@florido
florido / DevonThink Search operators
Last active April 3, 2025 15:35 — forked from keicoder/snippet.txt
DevonThink Search operators
DevonThink Search operators
In the toolbar search field, as well as in both the interactive and the simple web interface, you can use standard and extended Boolean operators, parenthesis, and more to fine tune your search.
The syntax of the operators is compatible to DEVONagent and EasyFind, the Finder, Spotlight, common search engines as well as common programming languages such as C, C++, Objective-C, Java, and JavaScript. The complexity of the query is unlimited.
Case
All terms are case-insensitive. You may, if you wish, use capitalization for proper names in a query, but DEVONthink Pro Office will ignore case in interpreting the query.
@svmotha
svmotha / Sublime Text 3 Build 3103 License Key - CRACK
Created February 12, 2017 09:07
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@wbotelhos
wbotelhos / libreadline_6_not_found.sh
Created November 29, 2016 20:42
Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
ln -s /usr/local/opt/readline/lib/libreadline.7.0.dylib /usr/local/opt/readline/lib/libreadline.6.dylib
@sirtimbly
sirtimbly / airmail-to-textfile.scpt
Created November 1, 2016 02:14
Plain Text Productivity - Airmail email client messages become new tasks in a text file
-- Create a new task based on the currently selected message in Airmail
-- When Script is run (I suggest FastScripts https://red-sweater.com/fastscripts/) A new line will be added to the taskpaper file of your choice.
-- Quite a lot modified to input text into a plain text file like used by taskpaper. Originally based somewhere back in time on Efficient Computing's AppleScript: http://efficientcomputing.commons.gc.cuny.edu/2012/03/17/copy-email-message-in-mail-app-to-evernote-applescript/
set theTaskFile to "/Users/tbendt/Dropbox/_Tim/Projects/_tasks/projects.taskpaper"
tell application "Airmail 2"
--get selected messages
set theSelection to selected messages
--loop through all selected messages
(* EXPORT ALL SKIM NOTES TO THE CLIPBOARD WITH MARKDOWN REFERENCE LINKS
(no longer) requires hackademic URL handler from github user smargh
entirely rewritten to take advantage of Skim's built-in templating
2016-06-26 by derickfay
*)
@graceavery
graceavery / harryPotterAliases
Last active September 20, 2024 22:13
bash aliases for Harry Potter enthusiasts
alias accio=wget
alias avadaKedavra='rm -f'
alias imperio=sudo
alias priorIncantato='echo `history |tail -n2 |head -n1` | sed "s/[0-9]* //"'
alias stupefy='sleep 5'
alias wingardiumLeviosa=mv
alias sonorus='set -v'
alias quietus='set +v'
@iandol
iandol / Search ID-Bookends.scpt
Last active October 26, 2018 22:50
Applescripts that ease integration of Bookends reference manager (http://www.sonnysoftware.com) with other applications. They take selected text in any application and paste it into Bookends Pubmed browser, Live-Search, and unique ID search respectively. So you can, for example, find a ref like (Hubel and Wiesel, 1962), select it, search for [Hu…
on run
tell application "System Events"
keystroke "c" using command down
delay 0.5
do shell script "id=$(pbpaste); open \"bookends://sonnysoftware.com/$id\""
end tell
end run
@d2s
d2s / installing-node-with-nvm.md
Last active July 4, 2025 04:54
Installing Node.js to Linux & macOS & WSL with nvm

Installing Node.js with nvm to Linux & macOS & WSL

A quick guide on how to setup Node.js development environment.

Install nvm for managing Node.js versions

nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.

  1. Open new Terminal window.