Skip to content

Instantly share code, notes, and snippets.

@dschense
dschense / obsidian-web-clipper.js
Created January 3, 2024 09:24 — 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 = "";
/* Optional folder name such as "Clippings/" */
@dschense
dschense / network.bat
Last active December 23, 2020 09:15
windows change network
@echo off
REM https://community.spiceworks.com/how_to/320-batch-file-script-to-change-ip-addresses
echo Choose:
echo [A] Set Static IP
echo [B] Set DHCP
echo.
:choice
SET /P C=[A,B]?
for %%? in (A) do if /I "%C%"=="%%?" goto A
for %%? in (B) do if /I "%C%"=="%%?" goto B