I like to solder the headers facing up. More convenient for putting in a case, but a bit irritating on a breadboard because the pinout diagrams dont match when it upside down. I needed to see a reverse diagram so I made one.
| /** | |
| CHANGELOG | |
| 2-10-25 - Ask about whether to use webviews. | |
| */ | |
| /** | |
| * This script is a JavaScript for Automation (JXA) script that uses the SiteSucker app to download a website. | |
| * | |
| * Background: JXA is dogshit. I know there is no need to hold back on the cursing, because if you are using JXA, | |
| * you have already explored every explitive available. The official JXA documentation is apple's changelog which |
| const tf = function (attachPoint) { | |
| const root = globalThis || window | |
| const dom = root.document || document | |
| function selectEl(el) { | |
| if (el.ELEMENT_NODE) { | |
| return el | |
| } | |
| else { | |
| return dom.querySelector(el) |
| const walk = (acc = [], outer) => { | |
| if (typeof outer === null) { | |
| return acc | |
| } | |
| if (typeof outer === 'string') { | |
| if (outer === ' ') { | |
| return acc | |
| } |
** originally posted here: nirvdrum/svn2git#295 ** ** Note this guide is old, but svn2git still hasn't been updated. **
Hello my fellow SVN refugees. We are bailing from Cloudforge as they are shutting down their SVN services. Here's how I got svn2git to work on my Mac locally. (Mojave 10.14.6). This should help with (#292) and (#283)
| (function () { | |
| return new Promise(async (final) => { | |
| const list = await new Promise((res) => { | |
| let l = document.querySelectorAll("[aria-label=Members]")[0] | |
| .parentElement; | |
| l.scrollTo({ top: 0, left: 0, behavior: "instant" }); | |
| setTimeout(() => res(l), 500); | |
| }); | |
| let names = []; | |
| const height = list.scrollHeight - window.innerHeight; |
| {"ass":[ | |
| [ | |
| "2010-07-12", | |
| "7911.39" | |
| ], | |
| [ | |
| "2010-07-13", | |
| "14810.13" | |
| ], | |
| [ |
| function twitchCom | |
| # requires jq, fish shell, wget and curl | |
| set videoId "$argv[1]" | |
| set clientId kimne78kx3ncx6brgo4mv6wki5h1ko | |
| set deviceId p7vCimC0LlUFnAlNYCQVMuztj9DhSZa5 | |
| set jsonPart 0 | |
| set dirPrefix "$videoId-comments" | |
| set partFormatted (string pad -c 0 -w 3 "$jsonPart") | |
| set avatars "$dirPrefix/avatars" | |
| set raw "$dirPrefix/raw" |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |