Skip to content

Instantly share code, notes, and snippets.

@radekkozak
radekkozak / obsidian_to_marked_wikilink_preprocessor.rb
Last active September 2, 2022 21:58
Obsidian [[WikiLinks|with aliases]] preprocessor for Marked app
@rpapallas
rpapallas / pdf_compressor.scpt
Created June 30, 2019 17:37
A simple AppleScript to automatically (lossless) compress a PDF using PDFExpert Compress Feature.
# Copyright (C) 2019 Rafael Papallas
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@ZelphirKaltstahl
ZelphirKaltstahl / pandoc-template-english.tex
Created November 3, 2016 14:08
Pandoc template for English documents
% BETTER ERROR MESSAGES
\errorcontextlines 10000
% DOCUMENT ATTRIBUTES
\documentclass[11pt, a4paper, parskip=full, openany, twoside]{book}
% 12pt : main font size
% a4paper : paper format
% parskip=full : ???
% openany : no need for an additional (second) pagebreak after a chapter to move new chapters always to the right page
\usepackage[
@stephenhowells
stephenhowells / ia-writer_marked.applescript
Last active November 21, 2022 23:07
iA Writer AppleScript to preview text in Marked.
-- Preview the currently active iA Writer document using Marked.
tell application "iA Writer"
activate
-- Ask iA Writer for it's active document.
set the_document to document 1
-- Save the document or prompt if not previously saved.
save the_document
@nschneid
nschneid / zotselect-link.js
Last active January 15, 2024 02:56
Zotero export translator that generates a zotero://select link to an item in the Zotero library. (First a simple version, as well as a version that displays minimal citation information and stores further details as title text.)