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
[submodule "wireit"] | |
path = wireit | |
url = git://github.com/neyric/wireit.git |
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
# in userbag.py: | |
def tiddler_get(self, tiddler): | |
store = self.main_store | |
username = tiddler.title | |
user = User(username) | |
user = store.get(user) | |
userTiddler = Tiddler(username) | |
userTiddler.bag = self.environ['tiddlyweb.config']['userbag_bag'] | |
userTiddler = store.get(userTiddler) |
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
system.use("com.joyent.Sammy"); | |
POST('/eval', function() { | |
/* get q like this because request.body doesn't correctly collect parameters with '+' characters - they get converted to ' ' */ | |
var q = decodeURIComponent(this.request.content.split('=')[1].replace(/\+/g," ")); | |
var func; | |
eval('func = function() { '+q+'};'); | |
var res = func(); | |
if(!res) { | |
res = "no return value"; |
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
diff --git a/socket.io.js b/socket.io.js | |
index dfd777a..6185082 100644 | |
--- a/socket.io.js | |
+++ b/socket.io.js | |
@@ -329,6 +329,12 @@ if (typeof window != 'undefined') this.io.setPath('/socket.io/'); | |
XHR.prototype._request = function(url, method, multipart){ | |
var req = request(this.base._isXDomain()); | |
if (multipart) req.multipart = true; | |
+ | |
+ // JRL: adding this to enable cross-browser XHR in FF |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Partition - Sunburst</title> | |
<script src="http://d3js.org/d3.v2.js"></script> | |
<style type="text/css"> | |
path { | |
stroke: #fff; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Basic</title> | |
<script src="http://d3js.org/d3.v2.js"></script> | |
<script src="jshbrdly_days.json"></script> | |
<style type="text/css"> | |
</style> |
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
{ | |
"name": "nodejs", | |
"subdomain": "jayfresh.nodejs", | |
"scripts": { | |
"start": "server.js" | |
}, | |
"version": "0.0.0-1", | |
"engines": { | |
"node": "0.8.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
info: Creating snapshot 0.0.0-1 | |
info Uploading: [=========================== ] 94% | |
info: Updating app nodejs | |
info: Activating snapshot 0.0.0-1 for nodejs | |
info: Starting app nodejs | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: | |
error: There was an error while attempting to start the app | |
error: Error spawning drone |
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
info: Creating snapshot 0.0.0-2 | |
info Uploading: [=============================] 99% | |
info: Updating app nodejs | |
info: Activating snapshot 0.0.0-2 for nodejs | |
info: Starting app nodejs | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
warn: Error returned from Nodejitsu | |
error: Error: socket hang up | |
error: at createHangUpError (http.js:1264:15) |
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
prompt: Is this ok?: (yes) | |
info: Creating snapshot 0.0.0-3 | |
info Uploading: [=============================] 99% | |
info: Updating app nodejs | |
info: Activating snapshot 0.0.0-3 for nodejs | |
info: Starting app nodejs | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
error: | |
error: There was an error while attempting to start the app |
OlderNewer