- 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
{ | |
"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 >= |
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:~$ mcs -r System.Net.Http.dll test.cs | |
warning CS8029: Compatibility: Use -r:LIBRARY instead of -r library | |
azureuser@shirhatti:~$ mono test.exe | |
Unhandled Exception: | |
System.AggregateException: One or more errors occurred ---> System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a | |
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.RemoteValidation (Mono.Security.Protocol.Tls.ClientContext context, AlertDescription description) [0x00000] in <filename unknown>:0 | |
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] in <filename unknown>:0 | |
at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.Proces |
#EE382V/379K: Multicore Computing
##Agenda 0. Communicating Sequencer Processes 0. Temporal Logic
##Backus-Naur Form
- Developed to describe the Syntax of ALGOL
- Context-free grammar used describe the syntax of programming langauages.
OlderNewer