Skip to content

Instantly share code, notes, and snippets.


Dave Winer scripting

View GitHub Profile
scripting / nodeerr.txt
Created May 31, 2022
just a random node error log
View nodeerr.txt davewiner$ npx electron-builder -m
Need to install the following packages:
Ok to proceed? (y) y
npm WARN deprecated dmg-license@1.0.11: Disk image license agreements are deprecated by Apple and will probably be removed in a future macOS release. Discussion at:
• electron-builder version=23.0.3 os=20.5.0
• loaded configuration file=/Users/davewiner/nodeEditor/
• writing effective config file=dist/builder-effective-config.yaml
• installing production dependencies platform=darwin arch=arm64 appDir=/Users/davewiner/nodeEditor/
⨯ /usr/local/bin/node process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
View item.xml
<description>This is an &lt;b&gt;example&lt;/b&gt; of an item with a source:markdown element</description>
<pubDate>Sat, 28 May 2022 17:19:21 GMT</pubDate>
<guid isPermaLink="false">7305</guid>
<source:markdown>This is an **example** of an item with a source:markdown element.</source:markdown>
View gist:86dea43e854eefbe04b2a4df9ea93b37
<meta charset="UTF-8">
body {
font-family: TwitterChirp, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif
View wordleTweet.json
"created_at": "Sun May 01 15:07:15 +0000 2022",
"id": 1520781905175662600,
"id_str": "1520781905175662594",
"full_text": "Wordle 316 5/6\n\n⬜⬜⬜⬜⬜\n⬜🟩⬜⬜⬜\n⬜⬜⬜🟨⬜\n⬜🟩🟩⬜⬜\n🟩🟩🟩🟩🟩",
"truncated": false,
"display_text_range": [
scripting / rollover.js
Created Jan 1, 2022
This is the code I ran to do a rollover of the index of my blog in Daytona
View rollover.js
daytona.removeOutlineRefs ("") ("")
scripting / root.txt
Last active Dec 29, 2021
Example from my E/D
View root.txt
user {
prefs: {
dropboxfolder: "/users/davewiner/Dropbox/",
publicfolder: "/users/davewiner/publicFolder/"
scripting / convertOpmlArchive.txt
Created Dec 22, 2021
A script that runs in Frontier to convert the big OPML archive to the current form.
View convertOpmlArchive.txt
on convertOpmlArchive () {
«12/21/21; 3:25:01 PM by DW
«This script converts the archive from the form I found it in on, to the form used in the GitHub-based archive.
«Input: One OPML file for each day.
«Output: One OPML file for each month, broken down by day inside the outline.
«All other files, indexes and sitemaps, garbage left around by crappy server software, were not passed through.
local (sourcefolder = "Macintosh HD:Users:davewiner:tmp:opmlArchive:");
local (destfolder = "Macintosh HD:Users:davewiner:tmp:opmlArchive2:");
fileloop (fyear in sourcefolder) {
scripting / config.json
Last active Nov 24, 2021
An example config.json for PublicFolder that does not delete files when they are removed from the watched folder.
View config.json
"watchFolder": "/Users/cluelessnewbie/publicFolder/",
"s3Folder": "/",
"urlS3Folder": "",
"flDeleteEnabled": false
scripting / buildVerbList.js
Last active Nov 24, 2021
A script that generates the current list of Drumkit verbs.
View buildVerbList.js
//11/23/2021 by DW
//Updated to handle a subcategory of verbs, such as op.attributes.
//11/22/2021 by DW
var theOutline = {
opml: {
head: {
title: "Drumkit verb list",
dateCreated: "Mon, 22 Nov 2021 21:49:22 GMT",
scripting / getCursorLink.js
Last active Nov 15, 2021
The source for the Drummer oldSchool.getCursorLink verb.
View getCursorLink.js