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
{ | |
"redirects": { | |
"/outlinerhowto.html": "http://fargo.io/docs/outlinerHowto.html" | |
} | |
} |
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
{ | |
"flWatchForQuitFile": 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
{ | |
"flWatchAppDateChange": true, | |
"fnameApp": "river4.js" | |
} |
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 page has moved to -- | |
https://gist.github.com/scripting/be89904f454086103eb5 | |
Still diggin! ;-) | |
Dave |
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>mlbriver.com</title> | |
<!-- | |
This is a lightly modified version of the source for mlbriver.com. | |
I took out the hit counting code, because that's specific to the way I run my sites. | |
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>aboutdialog test</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="http://fargo.io/code/jquery-1.9.1.min.js"></script> | |
<link href="http://fargo.io/code/bootstrap.css" rel="stylesheet"> | |
<script src="http://fargo.io/code/bootstrap.min.js"></script> | |
<link rel="stylesheet" href="http://fargo.io/code/fontAwesome/css/font-awesome.min.css"/> |
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 includeScriptCode (url, callback) { | |
var head = document.getElementsByTagName ("head") [0]; | |
var x = document.createElement ("script"); | |
x.src = url; | |
if (callback !== undefined) { | |
x.onload = callback; | |
} | |
head.appendChild (x); | |
} |
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 useStylesheet (url) { | |
var head = document.getElementsByTagName ("head") [0]; | |
var styleSheet = document.createElement ("link"); | |
styleSheet.rel = "stylesheet"; | |
styleSheet.type = "text/css"; | |
styleSheet.href = url; | |
head.appendChild (styleSheet); | |
} |
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>WebSocket client example</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="http://fargo.io/code/jquery-1.9.1.min.js"></script> | |
<link href="http://fargo.io/code/ubuntuFont.css" rel="stylesheet" type="text/css"> | |
<script> | |
var urlMySocket = "ws://localhost:1337/"; | |
var ctSeconds = 0; |
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 ws = require ("nodejs-websocket"); | |
var myPort = 1337; | |
function handleConnection (conn) { | |
conn.on ("text", function (s) { | |
var returnstring = s.toUpperCase () + "!!!"; | |
console.log ("handleConnection: returning " + returnstring); | |
conn.sendText (returnstring) | |
}); | |
} |