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
#!/bin/sh | |
ipython notebook --quiet \ | |
--KernelManager.kernel_cmd="['python', 'kernel.py', '{connection_file}']" |
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
// equivalent of ss.module ... inlined here for a sample | |
function module(name, obj) { | |
var x = {}; | |
x[name] = obj; | |
return x; | |
} | |
// generated module | |
(function($global) { |
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
using System; | |
using System.Collections.Generic; | |
using NodeApi; | |
using NodeApi.Network; | |
[ScriptModule] | |
internal static class App { | |
static App() { | |
Http.CreateServer(delegate(HttpServerRequest request, HttpServerResponse response) { |
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 isn't all the code, but hopefully enough to get you started... | |
// ResxScriptGenerator.cs | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
using System.Text; |