Skip to content

Instantly share code, notes, and snippets.

View hashtegner's full-sized avatar
🏠
Working from home

Alessandro Tegner hashtegner

🏠
Working from home
View GitHub Profile
@hashtegner
hashtegner / obsidian-web-clipper.js
Created August 9, 2024 13:13 — 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/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@hashtegner
hashtegner / mongod.service
Created October 13, 2016 13:25 — forked from benileo/mongod.service
Systemd Service Script for Mongod On Ubuntu 15.04, 15.10, 16.04 Xenial
[Unit]
Description=High-performance, schema-free document-oriented database
Documentation=man:mongod(1)
After=network.target
[Service]
Type=forking
User=mongodb
Group=mongodb