diff --git a/1.hello-world/app.js b/1.hello-world/app.js index 4665111c..0a827030 100644 --- a/1.hello-world/app.js +++ b/1.hello-world/app.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + const express = require('express'); const bodyParser = require('body-parser'); require('isomorphic-fetch'); diff --git a/2.hello-kubernetes/node.js/app.js b/2.hello-kubernetes/node.js/app.js index 6c010b71..b4c4a4d5 100644 --- a/2.hello-kubernetes/node.js/app.js +++ b/2.hello-kubernetes/node.js/app.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + const express = require('express'); const bodyParser = require('body-parser'); require('isomorphic-fetch'); diff --git a/2.hello-kubernetes/python/app.py b/2.hello-kubernetes/python/app.py index 29da6f45..59bdb068 100644 --- a/2.hello-kubernetes/python/app.py +++ b/2.hello-kubernetes/python/app.py @@ -1,3 +1,8 @@ +# ------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------------------------------ + import time import requests import os diff --git a/3.distributed-calculator/C#/Controllers/SubtractController.cs b/3.distributed-calculator/C#/Controllers/SubtractController.cs index 2fcdd2a6..e2d6edfe 100644 --- a/3.distributed-calculator/C#/Controllers/SubtractController.cs +++ b/3.distributed-calculator/C#/Controllers/SubtractController.cs @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + using System; using System.Collections.Generic; using System.Linq; diff --git a/3.distributed-calculator/C#/Models/Operands.cs b/3.distributed-calculator/C#/Models/Operands.cs index c2a1a7c2..6e562841 100644 --- a/3.distributed-calculator/C#/Models/Operands.cs +++ b/3.distributed-calculator/C#/Models/Operands.cs @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + namespace Subtract.Models { public class Operands { public string OperandOne { get; set;} diff --git a/3.distributed-calculator/C#/Program.cs b/3.distributed-calculator/C#/Program.cs index 0b807743..f5623b21 100644 --- a/3.distributed-calculator/C#/Program.cs +++ b/3.distributed-calculator/C#/Program.cs @@ -1,4 +1,9 @@ -using System; +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/3.distributed-calculator/C#/Startup.cs b/3.distributed-calculator/C#/Startup.cs index 0970c922..1f3a0a9c 100644 --- a/3.distributed-calculator/C#/Startup.cs +++ b/3.distributed-calculator/C#/Startup.cs @@ -1,4 +1,9 @@ -using System; +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/3.distributed-calculator/go/app.go b/3.distributed-calculator/go/app.go index ab643590..cf3521e3 100644 --- a/3.distributed-calculator/go/app.go +++ b/3.distributed-calculator/go/app.go @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + package main import ( diff --git a/3.distributed-calculator/node/app.js b/3.distributed-calculator/node/app.js index 1a7f5f72..c257de26 100644 --- a/3.distributed-calculator/node/app.js +++ b/3.distributed-calculator/node/app.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + const express = require('express'); const bodyParser = require('body-parser'); const app = express(); diff --git a/3.distributed-calculator/python/app.py b/3.distributed-calculator/python/app.py index 07c9d484..c6a83f2c 100644 --- a/3.distributed-calculator/python/app.py +++ b/3.distributed-calculator/python/app.py @@ -1,3 +1,8 @@ +# ------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------------------------------ + import flask from flask import request, jsonify from flask_cors import CORS diff --git a/4.pub-sub/node-subscriber/app.js b/4.pub-sub/node-subscriber/app.js index 888e2c10..f93ea2d0 100644 --- a/4.pub-sub/node-subscriber/app.js +++ b/4.pub-sub/node-subscriber/app.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + const express = require('express'); const bodyParser = require('body-parser'); diff --git a/4.pub-sub/python-subscriber/app.py b/4.pub-sub/python-subscriber/app.py index 66cf2abf..3d0256d1 100644 --- a/4.pub-sub/python-subscriber/app.py +++ b/4.pub-sub/python-subscriber/app.py @@ -1,3 +1,8 @@ +# ------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------------------------------ + import flask from flask import request, jsonify from flask_cors import CORS diff --git a/4.pub-sub/react-form/client/src/App.js b/4.pub-sub/react-form/client/src/App.js index 80500946..2a4d64ac 100644 --- a/4.pub-sub/react-form/client/src/App.js +++ b/4.pub-sub/react-form/client/src/App.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + import React from 'react'; import { MessageForm } from './MessageForm'; import { Nav } from './Nav'; diff --git a/4.pub-sub/react-form/client/src/App.test.js b/4.pub-sub/react-form/client/src/App.test.js index a754b201..7ea51dab 100644 --- a/4.pub-sub/react-form/client/src/App.test.js +++ b/4.pub-sub/react-form/client/src/App.test.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; diff --git a/4.pub-sub/react-form/client/src/MessageForm.js b/4.pub-sub/react-form/client/src/MessageForm.js index 76d5adb3..20a46e8c 100644 --- a/4.pub-sub/react-form/client/src/MessageForm.js +++ b/4.pub-sub/react-form/client/src/MessageForm.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + import React from 'react'; export class MessageForm extends React.Component { diff --git a/4.pub-sub/react-form/client/src/Nav.js b/4.pub-sub/react-form/client/src/Nav.js index 3366b930..9c03657a 100644 --- a/4.pub-sub/react-form/client/src/Nav.js +++ b/4.pub-sub/react-form/client/src/Nav.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + import React from 'react'; export function Nav(){ diff --git a/4.pub-sub/react-form/client/src/index.js b/4.pub-sub/react-form/client/src/index.js index 87d1be55..62059bd4 100644 --- a/4.pub-sub/react-form/client/src/index.js +++ b/4.pub-sub/react-form/client/src/index.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; diff --git a/4.pub-sub/react-form/client/src/serviceWorker.js b/4.pub-sub/react-form/client/src/serviceWorker.js index f8c7e50c..6b17d95e 100644 --- a/4.pub-sub/react-form/client/src/serviceWorker.js +++ b/4.pub-sub/react-form/client/src/serviceWorker.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + // This optional code is used to register a service worker. // register() is not called by default. diff --git a/4.pub-sub/react-form/server.js b/4.pub-sub/react-form/server.js index a0326468..c706d550 100644 --- a/4.pub-sub/react-form/server.js +++ b/4.pub-sub/react-form/server.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + const express = require('express'); const path = require('path'); const request = require('request'); diff --git a/5.bindings/node/app.js b/5.bindings/node/app.js index 35132319..33121d76 100644 --- a/5.bindings/node/app.js +++ b/5.bindings/node/app.js @@ -1,3 +1,8 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +// ------------------------------------------------------------ + const express = require('express'); const bodyParser = require('body-parser'); require('isomorphic-fetch'); diff --git a/5.bindings/python/app.py b/5.bindings/python/app.py index 6a98655e..cd4a5662 100644 --- a/5.bindings/python/app.py +++ b/5.bindings/python/app.py @@ -1,3 +1,8 @@ +# ------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------------------------------ + import time import requests import os diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..63447fd8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +Copyright (c) Microsoft Corporation. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file