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" encoding="UTF-8"?> | |
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> | |
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
<MaxAgeSeconds>3000</MaxAgeSeconds> | |
<AllowedHeader>*</AllowedHeader> | |
</CORSRule> | |
</CORSConfiguration> |
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
<html> | |
<head> | |
<title>Hello River</title> | |
<!-- | |
The Hello World of Rivers | |
https://github.com/scripting/river5/blob/master/docs/HELLOWORLD.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
<html> | |
<head> | |
<title>View Linkblog</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="http://fargo.io/code/bootstrap.css" rel="stylesheet"> | |
<script src="http://fargo.io/code/bootstrap.min.js"></script> |
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 s = ""; | |
for (var i = 1; i < 1000; i++) { | |
s += i + "\r\n"; | |
} | |
s; |
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 s = "<ul>"; | |
for (var i = 1; i <= 10; i++) { | |
s += "<li>" + i + "</li>"; | |
} | |
s += "</ul>"; | |
s; |
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
{ | |
"folder": "feeds/", | |
"items": [ | |
{ | |
"username": "Circa", | |
"feedname": "circa.xml" | |
}, | |
{ | |
"username": "reportedly", | |
"feedname": "reportedly.xml" |
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
{ | |
"urlSiteRedirect": "http://nodestorage.io" | |
} |
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 buildLiveblogOpml () { | |
«Changes | |
«1/30/15; 12:19:27 PM by DW | |
«Created. | |
local (jsontext = tcp.httpreadurl ("http://liveblog.co/prefs/userwhitelist.json"), jstruct); | |
json.compile (jsontext, @jstruct); | |
«scratchpad.jstruct = jstruct | |
local (xstruct = nodeEditorSuite.data.opmlShellStruct, now = clock.now ()); | |
local (adrbody = xml.opml.getBodyAddress (@xstruct), adritem, name, i); |
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
function readOpml (urloutline, callback) { | |
var outlineArray = new Array (); | |
var req = request (urloutline); | |
var opmlparser = new opmlParser (); | |
req.on ("response", function (res) { | |
var stream = this; | |
if (res.statusCode == 200) { | |
stream.pipe (opmlparser); | |
} |
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
httpReadUrl ("http://scripting.com/misc/uppertext.txt", function (s) { | |
httpReturn (s.toUpperCase (), "text/plain"); | |
}); | |
undefined; //return undefined so PagePark knows not to return a value |