Skip to content

Instantly share code, notes, and snippets.

View iandol's full-sized avatar
👾
typing away...

Ian Max Andolina iandol

👾
typing away...
  • Institute of Neuroscience, Chinese Academy of Sciences
  • Shanghai
  • 13:27 (UTC +08:00)
View GitHub Profile
@iandol
iandol / convertOM2OSXTags.sh
Created July 27, 2018 01:07 — forked from scottstanfield/convertOM2OSXTags.sh
This script converts OpenMeta to OS X Mavericks tags.
#!/bin/bash
#
# This script converts OpenMeta to OS X Mavericks tags.
#
# http://code2k.net
#
# Copyright © 2013 CODE2K:LABS. All Rights Reserved.
mdfind "kMDItemOMUserTags == *" -onlyin "." | while IFS= read -r file; do
echo "$file"
@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