Skip to content

Instantly share code, notes, and snippets.

View evanharmon1's full-sized avatar
🎧
Focusing

Evan Harmon evanharmon1

🎧
Focusing
View GitHub Profile
@evanharmon1
evanharmon1 / obsidian-web-clipper.js
Last active October 19, 2023 15:19 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "Memex";
/* Optional folder name such as "Clippings/" */
@evanharmon1
evanharmon1 / README.md
Created December 27, 2022 17:03 — forked from arikfr/README.md
Redash Query Export Tool

Setup

$ pip install click requests

Usage

$ python query_export.py --redash-url "https://app.redash.io/" --api-key ""
@evanharmon1
evanharmon1 / markdownBlockQuoteClip.js
Last active October 14, 2021 01:47 — forked from idelem/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
/* My modified version to only copy the selection as markdown block quotes */
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");