Skip to content

Instantly share code, notes, and snippets.

View pk11's full-sized avatar

Peter Hausel pk11

  • Silicon Valley, CA
View GitHub Profile
@pk11
pk11 / gist:6797500
Last active December 24, 2015 12:28
var sys = require("sys"),
my_http = require("http");
my_http.createServer(function(request,response){
sys.puts("yay");
response.writeHeader(200, {"Content-Type": "text/plain"});
response.write("Hello World");
response.end();
}).listen(8080);
sys.puts("Server Running on 8080");
@pk11
pk11 / reactjs.js
Last active August 29, 2016 17:42
/** @jsx React.DOM */
/**
* Our component structure will look like the following:
* - WikiBox
* -- AutoCompleteBox
* --- AutoComplete
*/
// this component renders a single entity coming from wikipedia
$ dotnet -v watch
Telemetry is: Enabled
Running /usr/local/share/dotnet/dotnet exec --depsfile /Users/phausel/.nuget/packages/.tools/Microsoft.DotNet.Watcher.Tools/1.0.0-preview1-final/netcoreapp1.0/Microsoft.DotNet.Watcher.Tools.deps.json --additionalprobingpath /Users/phausel/.nuget/packages /Users/phausel/.nuget/packages/Microsoft.DotNet.Watcher.Tools/1.0.0-preview1-final/lib/netcoreapp1.0/dotnet-watch.dll
Process ID: 2013
[DotNetWatcher] info: Running dotnet with the following arguments: run
[DotNetWatcher] info: dotnet process id: 2019
Project asp (.NETCoreApp,Version=v1.0) will be compiled because expected outputs are missing
/Users/phausel/workspace/asp/bin/Debug/netcoreapp1.0/asp.dll
/Users/phausel/workspace/asp/bin/Debug/netcoreapp1.0/asp.pdb
/Users/phausel/workspace/asp/bin/Debug/netcoreapp1.0/asp.deps.json