- Open Terminal
- Type
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
- Type
sublime
This file contains 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
# Copyright (c) .NET Foundation | |
# Licensed under the MIT License | |
author "Sourabh Shirhatti" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
script | |
exec start-stop-daemon --start --make-pidfile --pidfile /var/run/aspnet5webserver.pid --chuid aspnet --exec /home/shirhatti/.dnx/runtimes/dnx-mono.1.0.0-beta6/bin/dnx /home/shirhatti/output/approot/src/WebApplicationBasic/ kestrel >> /var/log/aspnet5webserver.sys.log 2>&1 | |
end script |
This file contains 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
sudo apt-get install unzip | |
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh |
This file contains 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
{ | |
"version": "0.1-alpha-*", | |
"dependencies": { | |
"Microsoft.AspNet.Diagnostics": "0.1-alpha-build-0682", | |
"Microsoft.AspNet.Hosting": "0.1-alpha-build-0572", | |
"Microsoft.AspNet.Mvc": "0.1-alpha-build-1268", | |
"Microsoft.AspNet.Server.WebListener": "0.1-alpha-build-0520" | |
}, | |
"commands": { | |
"web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" |
This file contains 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/bash | |
git clone https://git01.codeplex.com/roslyn | |
git reset --hard 2ebbf78de5377dba1ec7d4420858c320fa38d0f3 | |
wget http://tirania.org/roslyn-patches/0001-Backport-from-Marek-Allow-to-bootstrap-with-mcs.patch | |
wget http://tirania.org/roslyn-patches/0002-Backport-from-Marek-Disable-assemblies-not-available.patch | |
wget http://tirania.org/roslyn-patches/0003-Backport-from-Marek-Make-some-code-portable.patch | |
wget http://tirania.org/roslyn-patches/0004-Update-wrong-merge.patch | |
wget http://tirania.org/roslyn-patches/0005-Add-another-bootstrap-workaround.patch | |
wget http://tirania.org/roslyn-patches/0006-More-bootstrap-changes.patch | |
wget http://tirania.org/roslyn-patches/0007-Add-build-files.patch |
This file contains 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 http = require('http'); | |
test_data = [ | |
["test_1", "test_1_data"], | |
["test_2", "test_2_data"], | |
["test_3", "test_3_data"] | |
] | |
http.createServer(function (req, res) { | |
switch(req.url) { | |
case '/complete': |
This file contains 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
C:\src\test\MvcApplication1> ls | |
Directory: C:\src\test\MvcApplication1 | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d---- 7/29/2014 10:03 AM Controllers | |
d---- 7/29/2014 10:03 AM Models |
This file contains 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
{ | |
"ProjectName": "DesignTimeHostDemo", | |
"Configurations": [ | |
{ | |
"FrameworkName": "net45", | |
"LongFrameworkName": ".NETFramework,Version=v4.5", | |
"FriendlyFrameworkName": ".NET Framework 4.5", | |
"CompilationSettings": { | |
"LanguageVersion": 6, | |
"Defines": [ |
This file contains 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
Set-Alias sublime 'C:\Program Files\Sublime Text 3\sublime_text.exe' |
This file contains 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
azureuser@shirhatti:~/tmp/MvcApplication1$ kpm restore | |
Restoring packages for /home/azureuser/tmp/MvcApplication1/project.json | |
Attempting to resolve dependency MvcApplication1 >= 0.1-alpha-SNAPSHOT | |
Attempting to resolve dependency Microsoft.AspNet.Diagnostics >= 1.0.0 | |
Attempting to resolve dependency Microsoft.AspNet.Hosting >= 1.0.0 | |
Attempting to resolve dependency Microsoft.AspNet.Mvc >= 6.0.0 | |
Attempting to resolve dependency Microsoft.AspNet.Server.WebListener >= 1.0.0 | |
Attempting to resolve dependency Kestrel >= 1.0.0 | |
Attempting to resolve dependency mscorlib >= | |
Attempting to resolve dependency System >= |
OlderNewer