Skip to content

Commit ac64e0e

Browse files
committed
Added MIT license
1 parent 9ff862a commit ac64e0e

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

src/PerfProblemSimulator/wwwroot/js/dashboard.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,6 +1793,24 @@ async function fetchAppConfig() {
17931793
}
17941794

17951795
document.addEventListener('DOMContentLoaded', async () => {
1796+
// Display license disclaimer and usage warning
1797+
console.warn(
1798+
'%c⚠️ WARNING: Performance Problem Simulator',
1799+
'color: #d13438; font-size: 16px; font-weight: bold;'
1800+
);
1801+
console.warn(
1802+
'This application intentionally creates performance problems for educational ' +
1803+
'and diagnostic purposes only.\n\n' +
1804+
'This software is provided "AS IS", without warranty of any kind. The authors ' +
1805+
'and Microsoft Corporation shall not be liable for any damages, including but ' +
1806+
'not limited to service disruptions, data loss, or costs arising from the use ' +
1807+
'or misuse of this software.\n\n' +
1808+
'By using this application, you acknowledge that it is designed to stress ' +
1809+
'system resources and should ONLY be deployed in isolated, non-production ' +
1810+
'environments. You assume all responsibility for its deployment and use.\n\n' +
1811+
'Licensed under the MIT License. See LICENSE file for details.'
1812+
);
1813+
17961814
// Initialize charts first
17971815
initializeCharts();
17981816

0 commit comments

Comments
 (0)