This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getRandomSnarkySlogan (flReturnArray) { //8/15/14 by DW | |
const snarkySlogans = [ | |
"Good for the environment.", | |
"All baking done on premises.", | |
"Still diggin!", | |
"It's even worse than it appears.", | |
"You should never argue with a crazy man.", | |
"Welcome back my friends to the show that never ends.", | |
"Greetings, citizen of Planet Earth. We are your overlords. :-)", | |
"We don't need no stinkin rock stars.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "wpupload", | |
"description": "Develop and test code to upload images to wordpress.com.", | |
"version": "0.4.0", | |
"main": "wpupload.js", | |
"dependencies" : { | |
"daveutils": "*", | |
"wpcom": "*" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on letsWatchThatStinkingFolder () { | |
«Changes | |
«3/7/23; 11:55:58 AM by DW | |
«Created. | |
local (prefix = "chat-gpt-"); | |
local (sourcefolder = "Macintosh HD:Users:davewiner:Downloads:"); | |
local (destfolder = user.prefs.publicfolder + "chatgpt:"); | |
fileloop (f in sourcefolder) { | |
local (fname = file.filefrompath (f)); | |
if fname beginswith prefix { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getBlogrollOptions (headLevelAtts) { | |
/* | |
4/15/24; 8:58:41 AM by DW | |
The author of the blog can enable a blogroll via three head-level attributes. | |
We're looking for these -- | |
blogrollUsername -- required | |
blogrollServer -- optional | |
blogrollCategory -- optional | |
Defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const appConsts = { | |
title: "Chuck's Blogroll", | |
idWhereToAppend: "idBlogrollContainer", | |
urlFeedlandServer: "https://feedland.social/", | |
urlSocketServer: "wss://feedland.social/", | |
urlBlogrollOpml: "https://feedland.com/opml?screenname=cagrimmett&catname=blogroll", | |
urlFeedlandViewBlogroll: "https://feedland.com/?username=cagrimmett&catname=blogroll", | |
maxItemsInBlogroll: 40, | |
flShowSocketMessages: true, | |
flBlogrollUpdates: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "People and Blogs", | |
"script": "console.log('Made with FeedLand - https://feedland.com'); var ribbon = document.createElement('div'); ribbon.classList.add('ribbon'); ribbon.innerHTML = '<a href=\"https://feedland.com\" target=\"_blank\">Made with FeedLand</a></div>'; document.getElementsByClassName('divPageBody')[0].appendChild(ribbon);", | |
"style": <code> | |
body { font-family: 'Sentient', 'Georgia',serif; background-color: #fffcf2; } | |
.ribbon { background-color: #f2a93c; overflow: hidden; white-space: nowrap; position: absolute; left: -50px; top: 40px; transform: rotate(-45deg); box-shadow: 0 0 10px #999;} | |
.ribbon a { color: #fff; display: block; font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 1px 0; padding: 8px 50px; text-align: center; text-decoration: none; } | |
.divNewsProduct .divProductTitle { font-family: unset; letter-spacing: unset; } | |
.divTabsContainer .divTabs li { font-family: unset; } | |
.divPageBody |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"githubServeFrom": { | |
"username": "scripting", | |
"repository": "SomePrivateRepoasdfasdfxxxx", | |
"path": "docs", | |
"accessToken": "hellofromsanjose" | |
}, | |
"indexFilename": "README", | |
"urlDefaultMarkdownTemplate": "https://s3.amazonaws.com/scripting.com/code/feedland/docswebsite/markdowntemplate.txt", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on saveReadingList (screenname, catname, fname) { | |
local (url = "https://feedland.com/opml?screenname=" + screenname + "&catname=" + catname); | |
local (opmltext = tcp.httpreadurl (url)); | |
file.writewholefile (githubfolder + "lists:" + fname, opmltext) | |
}; | |
saveReadingList ("davewiner", "podcasts", "davepodcasts.opml") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table programs ( | |
id varchar (255), | |
type varchar (32), | |
title varchar (255), | |
screenname varchar (255), | |
approved boolean, | |
whencreated datetime, | |
whenmodified datetime, | |
primary key (id) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const urlRiver = "https://feedland.org/getriverfromreadinglist?url=https://lists.feedcorps.org/artshow.opml"; | |
function httpRequest (url, timeout, headers, callback) { | |
timeout = (timeout === undefined) ? 30000 : timeout; | |
var jxhr = $.ajax ({ | |
url: url, | |
dataType: "text", | |
headers, | |
timeout | |
}) |
NewerOlder