Skip to content

Instantly share code, notes, and snippets.

View bcdavasconcelos's full-sized avatar

Bernardo C.D.A. Vasconcelos bcdavasconcelos

View GitHub Profile
@bcdavasconcelos
bcdavasconcelos / Add Reference Smart Rule for DT3.scpt
Last active March 17, 2020 21:11
Add ABNT Reference Smart Rule for DT3 #DEVONthink3 #Applescript
on performSmartRule(theRecords)
tell application id "DNtp"
try
set these_items to the selection
if these_items is {} then error "Please select some contents."
repeat with this_item in these_items
@bcdavasconcelos
bcdavasconcelos / Bibdesk to DEVONthink Pro 3.scpt
Last active January 6, 2020 23:53
Script to link Bibdesk entries to DEVONthink Pro records along with custom metadata #Bibdesk #DEVONthink3 #Applescript
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
-- Script to link Bibdesk entries to DEVONthink Pro records along with custom metadata - by Bernardo Vasconcelos (July 2019).
-- This script is based on Kyle Eggletons script for Bookends and DEVONthink, April 2019.
-- Use at your own risk
tell application "BibDesk"
@bcdavasconcelos
bcdavasconcelos / article-style.css
Last active January 6, 2020 23:54
Dracula Theme for GoldenDict. Based on the CSS provided by @babygau. #CSS #GoldenDict
body
{
background: #212121;
margin-top: 1px;
margin-right: 3px;
margin-left: 2px;
margin-bottom: 3px;
color: #f0f0f0;
font-family: EB Garamond;
line-height: 1.3;