Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| 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/" */ |
| # table for regex replacements | |
| tabRegEx=[ | |
| [r"ml(-\d)", r"ms\1"], | |
| [r"mr(-\d)", r"me\1"], | |
| [r"pl(-\d)", r"ps\1"], | |
| [r"pr(-\d)", r"pr\1"], | |
| [r"data-toggle=([\"'](?:collapse|dropdown|tab)[\"'])", r"data-bs-toggle=\1"], | |
| [r"data-target=", r"data-bs-target="], | |
| ["float-left", "float-start"], | |
| ["float-right", "float-end"], |
This was a response to a Hacker News comment asking me what I've been up to since 2010. I'm posting it here since HN rejects it with "that comment is too long." I suppose that's fair, since this ended up being something of an autobiography.
--
What happened after 2010?
| --Hammerspoon config to replace Cinch & Size-up (Microsoft Windows style) window management for free | |
| --Windows Vista/7's Areo Snap on MacOS | |
| --By Jayden Pearse (spartanatreyu) | |
| ------------------------------------------------------------------- | |
| --Options, feel free to edit these: | |
| ------------------------------------------------------------------- | |
| --Set this to true to snap windows by dragging them to the edge of your screen | |
| enable_window_snapping_with_mouse = true |
| // https://gist.github.com/dblandin/2991970 | |
| Alaska | |
| Alabama | |
| Arkansas | |
| American Samoa | |
| Arizona | |
| California | |
| Colorado | |
| Connecticut |
| A | |
| A's | |
| AA's | |
| AB's | |
| ABM's | |
| AC's | |
| ACTH's | |
| AI's | |
| AIDS's |
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |