This file contains hidden or 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 folder = "/root/Dropbox/Miami/littleoutliner/publicFiles/users/"; | |
var url = options.httpRequest.url; | |
var splits = url.split ("?"); | |
url = splits [0]; | |
splits = url.split ("/"); | |
var username = splits [1], fname = splits [2]; | |
if ((username === undefined) || (fname === undefined)) { //tell pagePark we're not handling it | |
callback (undefined, {flNotHandled: true}); | |
} |
This file contains hidden or 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 folder = "/root/Dropbox/Miami/littleoutliner/publicFiles/users/"; | |
var url = options.httpRequest.url; | |
var splits = url.split ("?"); | |
url = splits [0]; | |
splits = url.split ("/"); | |
var username = splits [1], fname = splits [2]; | |
if ((username === undefined) || (fname === undefined)) { //tell pagePark we're not handling it | |
callback (undefined, {flNotHandled: true}); | |
} |
This file contains hidden or 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
<div class="divDayContainer" id="idDayContainer"> | |
<div class="divDayTitle"> | |
<a href="http://scripting.com/2020/10/30.html">Friday, October 30, 2020</a> | |
</div> | |
<div class="divSingularItem" data-type="outline" data-commentsetup="true"> | |
<a name="a143253"></a> | |
<a href="http://this.how/frontier/nodeEditorExample.opml">A new doc</a> explains, through an example, how my Frontier-based code-writing system for JavaScript works. I started this suite about seven years ago, and have been using it ever since. It allows me to edit my code in an outliner, and use Frontier's scripting ability to distribute the results to S3, GitHub, NPM and pretty much anywhere else I want. | |
<span class="spPermaLink"> | |
<a href="http://scripting.com/2020/10/30.html#a143253" title="Direct link to this item.">#</a> | |
</span> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<opml version="2.0"> | |
<head> | |
<title>demoblog.opml</title> | |
<dateCreated>Wed, 11 Nov 2020 17:14:44 GMT</dateCreated> | |
<dateModified>Wed, 11 Nov 2020 17:20:45 GMT</dateModified> | |
<flPublic>true</flPublic> | |
<expansionState>1,2,4,14,15</expansionState> | |
<lastCursor>14</lastCursor> | |
<ownerId>https://twitter.com/davewiner/</ownerId> |
This file contains hidden or 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
{} |
This file contains hidden or 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 listChangedProjects (whenStart, whenEnd) { | |
«Changes | |
«1/16/21; 10:36:01 AM by DW | |
«Created. Generates a table with the names of the most recent version of each of the projects that | |
were edited in the period we're looking at. whenStart is the day we start our search, whenEnd is | |
when we stop searching. We go back in time, so whenStart must be more recent than whenEnd. | |
local (basefolder = nodeEditorSuite.getFolder () + "backups:"); | |
local (destfolder = "Marin:changedProjects:"); | |
local (when = whenStart, adrtable = @scratchpad.changedProjects); | |
new (tabletype, adrtable); |
This file contains hidden or 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
makeFilePublic: function (path) { | |
return new Promise (function (resolve, reject) { | |
servercall ("makefilepublic", {relpath: path}, true, function (err, data) { | |
if (err) { | |
reject (err); | |
} | |
else { | |
resolve (data.url); | |
} | |
}); |
This file contains hidden or 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
var flfirst = true; | |
op.insert ("Early Twitter signups", down); | |
for (var i = 12; i < 25; i++) { | |
op.insert (twitter.getScreenname (i), (flfirst) ? "right" : "down"); | |
flfirst = false; | |
} | |
op.go (left, 1); |
This file contains hidden or 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
{ | |
"mirrors": { | |
"/test.opml": "http://scripting.com/publicfolder/pageparkTestFiles/rssjs.opml", | |
"/test.jpg": "http://scripting.com/publicfolder/pageparkTestFiles/peach.jpg", | |
"/test.png": "http://scripting.com/publicfolder/pageparkTestFiles/tree.png", | |
"/test.xml": "http://scripting.com/publicfolder/pageparkTestFiles/davetwitterfeed.xml", | |
"/test.json": "http://scripting.com/publicfolder/pageparkTestFiles/wodemo.json", | |
"/test.txt": "http://scripting.com/publicfolder/pageparkTestFiles/applejoke.txt", | |
"/test.md": "http://scripting.com/publicfolder/pageparkTestFiles/test.md" | |
} |
This file contains hidden or 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
{ | |
"github": { | |
"username": "scripting", | |
"repo": "instantOutlines", | |
"repoPath": "", | |
"password": "xxx", | |
"committer": { | |
"name": "Bull Mancuso", | |
"email": "[email protected]" | |
}, |