[ Launch: Tributary inlet ] 5414818 by Kelindar
[ Launch: Tributary inlet ] 5415145 by Kelindar[ Launch: Tributary inlet ] 5414818 by Kelindar
[ Launch: Tributary inlet ] 5415233 by Kelindar[ Launch: Tributary inlet ] 5415145 by Kelindar[ Launch: Tributary inlet ] 5414818 by Kelindar
[ Launch: Tributary inlet ] 5415300 by Kelindar[ Launch: Tributary inlet ] 5415233 by Kelindar[ Launch: Tributary inlet ] 5415145 by Kelindar[ Launch: Tributary inlet ] 5414818 by Kelindar
[ Launch: Tributary inlet ] 5417175 by Kelindar[ Launch: Tributary inlet ] 5415300 by Kelindar[ Launch: Tributary inlet ] 5415233 by Kelindar[ Launch: Tributary inlet ] 5415145 by Kelindar[ Launch: Tributary inlet ] 5414818 by Kelindar
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
| [Get("/random/{min}/{max}")] | |
| public static int Random(int min, int max) | |
| { | |
| return new Random().Next(min, max); | |
| } | |
| [Post("/hello")] | |
| public object Hello(string name) | |
| { | |
| return new |
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
| Service.Cors.AllowMethods | |
| = "POST,GET,PUT,DELETE,OPTIONS"; | |
| Service.Cors.AllowHeaders | |
| = "X-Requested-With,Content-Type"; | |
| Service.Cors.AllowOrigin = "*"; | |
| Service.Cors.AllowCredentials = true; | |
| Service.Cors.Enabled = true; |
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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Misakai CoreOS Cluster for EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
| "Mappings" : { | |
| "RegionMap" : { | |
| "eu-central-1" : { | |
| "AMI" : "ami-3a093a27" | |
| }, |
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
| // Program A: some account with associated reputation | |
| struct Account { | |
| long id; | |
| char[64] name; | |
| char[300] address; | |
| float reputation; | |
| } | |
| // we want to update and add some reputation every day | |
| void increaseReputation(){ |
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
| struct Particle { | |
| float x; | |
| float y; | |
| float z; | |
| float w; | |
| float vx; | |
| float vy; | |
| float vz; | |
| float vw; | |
| } |
OlderNewer