Add files via upload

This commit is contained in:
2021-08-18 00:12:37 -07:00
committed by GitHub
parent ecd6246099
commit 9d759573d2
55 changed files with 3098 additions and 0 deletions

BIN
server/uploads/RBTu.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1 @@
button{border-radius:0}button:focus{outline:dotted 1px;outline:-webkit-focus-ring-color auto 5px}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.125rem}.alert-success{color:#496330;background-color:#e8f2df;border-color:#dfedd2}.close{float:right;font-size:1.3125rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:focus,.close:hover{color:#000;text-decoration:none;opacity:.75}.close:not(:disabled):not(.disabled){cursor:pointer}button.close{padding:0;background-color:transparent;border:0;-webkit-appearance:none}.mr-1,.mx-1{margin-right:.3125rem!important}.icon{width:20px;height:20px;vertical-align:middle;display:inline-block;background-size:auto}.fbox3>div[class*=col]{padding-top:5px;padding-bottom:5px}.features-clean{color:#313437;background-color:#fff;padding-bottom:30px}.features-clean p{color:#7d8285}.features-clean h2{font-weight:700;margin-bottom:40px;padding-top:40px;color:inherit}@media (max-width:767px){.features-clean{padding-bottom:10px}.features-clean h2{margin-bottom:25px;padding-top:25px;font-size:24px}}.features-clean .intro{font-size:16px;max-width:500px;margin:0 auto 60px}.features-clean .item{min-height:100px;padding-left:80px;margin-bottom:40px}@media (max-width:767px){.features-clean .intro{margin-bottom:40px}.features-clean .item{min-height:0}}.features-clean .item .name{font-size:20px;font-weight:700;margin-top:0;margin-bottom:20px;color:inherit}.features-clean .item .description{font-size:15px;margin-bottom:0}.features-clean .item .icon{font-size:40px;color:#1485ee;float:left;margin-left:-65px}.form-control.d-xl-flex.justify-content-center.align-items-center.align-content-center.align-self-end.justify-content-lg-center.justify-content-xl-center{text-align:center}.login-clean{background:#f1f7fc;padding:80px 0}.login-clean form{max-width:320px;width:90%;margin:0 auto;background-color:#fff;padding:40px;border-radius:4px;color:#505e6c;box-shadow:1px 1px 5px rgba(0,0,0,.1)}.login-clean .illustration{text-align:center;padding:0 0 20px;font-size:100px;color:#f4476b}.login-clean form .form-control{background:#f7f9fc;border:none;border-bottom:1px solid #dfe7f1;border-radius:0;box-shadow:none;outline:0;color:inherit;text-indent:8px;height:42px}.login-clean form .btn-primary{background:#f4476b;border:none;border-radius:4px;padding:11px;box-shadow:none;margin-top:26px;text-shadow:none;outline:0!important}.login-clean form .btn-primary:active,.login-clean form .btn-primary:hover{background:#eb3b60}.login-clean form .btn-primary:active{transform:translateY(1px)}.login-clean form .forgot{display:block;text-align:center;font-size:12px;color:#6f7a85;opacity:.9;text-decoration:none}.login-clean form .forgot:active,.login-clean form .forgot:hover{opacity:1;text-decoration:none}.navigation-clean{background:#fff;padding-top:.75rem;padding-bottom:.75rem;color:#333;border-radius:0;box-shadow:none;border:none;margin-bottom:0}@media (min-width:768px){.navigation-clean{padding-top:1rem;padding-bottom:1rem}}.navigation-clean .navbar-brand{font-weight:700;color:inherit}.navigation-clean .navbar-brand:hover{color:#222}.navigation-clean .navbar-toggler{border-color:#ddd;color:#888}.navigation-clean .navbar-toggler:focus,.navigation-clean .navbar-toggler:hover{background:0 0}.navigation-clean .form-inline,.navigation-clean .navbar-collapse{border-top-color:#ddd}.navigation-clean.navbar-light .navbar-nav .nav-link.active,.navigation-clean.navbar-light .navbar-nav .nav-link.active:focus,.navigation-clean.navbar-light .navbar-nav .nav-link.active:hover{color:#8f8f8f;box-shadow:none;background:0 0;pointer-events:none}.navigation-clean.navbar .navbar-nav .nav-link{padding-left:18px;padding-right:18px}.navigation-clean.navbar-light .navbar-nav .nav-link{color:#465765}.navigation-clean.navbar-light .navbar-nav .nav-link:focus,.navigation-clean.navbar-light .navbar-nav .nav-link:hover{color:#37434d!important;background-color:transparent}.navigation-clean .navbar-nav>li>.dropdown-menu{margin-top:-5px;box-shadow:none;background-color:#fff;border-radius:2px}.navigation-clean .dropdown-menu .dropdown-item,.navigation-clean .dropdown-menu .dropdown-item:focus{line-height:2;color:#37434d}.navigation-clean .dropdown-menu .dropdown-item:focus,.navigation-clean .dropdown-menu .dropdown-item:hover{background:#eee;color:inherit}.social-icons{color:#313437;background-color:#fff;text-align:center;padding:70px 0}@media (max-width:767px){.social-icons{padding:50px 0}}.social-icons i{font-size:32px;display:inline-block;color:#757980;margin:0 10px;width:60px;height:60px;border:1px solid #c8ced7;text-align:center;border-radius:50%;line-height:60px}

View File

@ -0,0 +1,110 @@
/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/
.hljs {
display: block;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
width: 100%;
height: 100%;
word-wrap: break-word;
}
td.hljs-ln-code {
white-space: pre-wrap;
}
body {
padding: 20px;
}
.hljs-comment,
.hljs-quote {
color: #5c6370;
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #c678dd;
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e06c75;
}
.hljs-literal {
color: #56b6c2;
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: #98c379;
}
.hljs-built_in,
.hljs-class .hljs-title {
color: #e6c07b;
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #d19a66;
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #61aeee;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
body {
background-color: #282C34;
}

179
server/uploads/css/404.css Normal file
View File

@ -0,0 +1,179 @@
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400);
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
color: #aca49c;
font-size: 0.875em;
}
input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
color: #bbb5af;
}
input::-moz-placeholder, textarea::-moz-placeholder {
color: #aca49c;
font-size: 0.875em;
}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
color: #bbb5af;
}
input::placeholder, textarea::placeholder {
color: #aca49c;
font-size: 0.875em;
}
input:focus::placeholder, textarea::focus:placeholder {
color: #bbb5af;
}
input::-ms-placeholder, textarea::-ms-placeholder {
color: #aca49c;
font-size: 0.875em;
}
input:focus::-ms-placeholder, textarea:focus::-ms-placeholder {
color: #bbb5af;
}
/* on hover placeholder */
input:hover::-webkit-input-placeholder, textarea:hover::-webkit-input-placeholder {
color: #e2dedb;
font-size: 0.875em;
}
input:hover:focus::-webkit-input-placeholder, textarea:hover:focus::-webkit-input-placeholder {
color: #cbc6c1;
}
input:hover::-moz-placeholder, textarea:hover::-moz-placeholder {
color: #e2dedb;
font-size: 0.875em;
}
input:hover:focus::-moz-placeholder, textarea:hover:focus::-moz-placeholder {
color: #cbc6c1;
}
input:hover::placeholder, textarea:hover::placeholder {
color: #e2dedb;
font-size: 0.875em;
}
input:hover:focus::placeholder, textarea:hover:focus::placeholder {
color: #cbc6c1;
}
input:hover::placeholder, textarea:hover::placeholder {
color: #e2dedb;
font-size: 0.875em;
}
input:hover:focus::-ms-placeholder, textarea:hover::focus:-ms-placeholder {
color: #cbc6c1;
}
body {
font-family: 'Lato', sans-serif;
background: #e2dedb;
color: #b3aca7;
}
header {
position: relative;
margin: 100px 0 25px 0;
font-size: 2.3em;
text-align: center;
letter-spacing: 7px;
}
return {
position: relative;
margin: 100px 0 25px 0;
font-size: 1.0em;
text-align: center;
letter-spacing: 3px;
}
#form {
position: relative;
width: 500px;
margin: 50px auto 100px auto;
}
input {
font-family: 'Lato', sans-serif;
font-size: 0.875em;
width: 470px;
height: 50px;
padding: 0px 15px 0px 15px;
background: transparent;
outline: none;
color: #726659;
border: solid 1px #b3aca7;
border-bottom: none;
transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
}
input:hover {
background: #b3aca7;
color: #e2dedb;
}
textarea {
width: 470px;
max-width: 470px;
height: 110px;
max-height: 110px;
padding: 15px;
background: transparent;
outline: none;
color: #726659;
font-family: 'Lato', sans-serif;
font-size: 0.875em;
border: solid 1px #b3aca7;
transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
}
textarea:hover {
background: #b3aca7;
color: #e2dedb;
}
#submit {
width: 470px;
padding: 0;
margin: -5px 0px 0px 0px;
font-family: 'Lato', sans-serif;
font-size: 0.875em;
color: #b3aca7;
outline:none;
cursor: pointer;
border: solid 1px #b3aca7;
}
#submit:hover {
color: #e2dedb;
}
a {
color: #726659;
}

BIN
server/uploads/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(n,e){"use strict";function t(){var n=e.createElement("style");n.type="text/css",n.innerHTML=h(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[f,m,j]),e.getElementsByTagName("head")[0].appendChild(n)}function r(t){"complete"===e.readyState?l(t):n.addEventListener("DOMContentLoaded",function(){l(t)})}function l(t){try{var r=e.querySelectorAll("code.hljs");for(var l in r)r.hasOwnProperty(l)&&i(r[l],t)}catch(o){n.console.error("LineNumbers error: ",o)}}function i(n,e){if("object"==typeof n){e=e||{singleLine:!1};var t=e.singleLine?0:1;u(function(){s(n),n.innerHTML=o(n.innerHTML,t)})}}function o(n,e){var t=c(n);if(""===t[t.length-1].trim()&&t.pop(),t.length>e){for(var r="",l=0,i=t.length;l<i;l++)r+=h('<tr><td class="{0}"><div class="{1} {2}" {3}="{5}"></div></td><td class="{4}"><div class="{1}">{6}</div></td></tr>',[v,g,m,j,p,l+1,t[l].length>0?t[l]:" "]);return h('<table class="{0}">{1}</table>',[f,r])}return n}function s(n){var e=n.childNodes;for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];d(r.textContent)>0&&(r.childNodes.length>0?s(r):a(r.parentNode))}}function a(n){var e=n.className;if(/hljs-/.test(e)){for(var t=c(n.innerHTML),r=0,l="";r<t.length;r++)l+=h('<span class="{0}">{1}</span>\n',[e,t[r]]);n.innerHTML=l.trim()}}function c(n){return 0===n.length?[]:n.split(L)}function d(n){return(n.trim().match(L)||[]).length}function u(e){n.setTimeout(e,0)}function h(n,e){return n.replace(/\{(\d+)\}/g,function(n,t){return e[t]?e[t]:n})}var f="hljs-ln",g="hljs-ln-line",p="hljs-ln-code",v="hljs-ln-numbers",m="hljs-ln-n",j="data-line-number",L=/\r\n|\r|\n/g;n.hljs?(n.hljs.initLineNumbersOnLoad=r,n.hljs.lineNumbersBlock=i,t()):n.console.error("highlight.js not detected!")}(window,document);

20
server/uploads/paste.css Normal file
View File

@ -0,0 +1,20 @@
::selection {
background: rgba(0, 0, 0, 0.46); /* WebKit/Blink Browsers */
}
::-moz-selection {
background: rgba(0, 0, 0, 0.46); /* Gecko Browsers */
}
td.hljs-ln-numbers {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: center;
color: #414754;
vertical-align: top;
padding-right: 12px !important;
}

239
server/uploads/sample.html Normal file
View File

@ -0,0 +1,239 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="atom-one-dark.css">
<link rel="stylesheet" href="paste.css">
<script src="highlight.pack.js"></script>
</head>
<body>
<pre><code id="code">using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Script
{
public class ScriptVariable
{
public object Value { get; set; }
public ScriptTypes Type { get; set; }
public string Name { get; set; }
public ScriptVariable()
{
Value = null;
Type = ScriptTypes.Undefined;
}
public ScriptVariable(object value)
{
Value = value;
Type = value is string ? ScriptTypes.String
: value is int ? ScriptTypes.Integer
: value is double ? ScriptTypes.Double
: value is bool ? ScriptTypes.Boolean
: value is Regex ? ScriptTypes.Regex
: value is List<string> ? ScriptTypes.ListString
: value is List<int> ? ScriptTypes.ListInteger
: value is List<double> ? ScriptTypes.ListDouble
: value is List<bool> ? ScriptTypes.ListBoolean
: ScriptTypes.Null;
}
public ScriptVariable(object value, ScriptTypes type)
{
Value = value;
Type = type;
}
public ScriptVariable(string name, object value)
{
Name = name;
Value = value;
Type = value is string ? ScriptTypes.String
: value is int ? ScriptTypes.Integer
: value is double ? ScriptTypes.Double
: value is bool ? ScriptTypes.Boolean
: value is Regex ? ScriptTypes.Regex
: value is List<string> ? ScriptTypes.ListString
: value is List<int> ? ScriptTypes.ListInteger
: value is List<double> ? ScriptTypes.ListDouble
: value is List<bool> ? ScriptTypes.ListBoolean
: ScriptTypes.Null;
}
public ScriptVariable(string name, object value, ScriptTypes type)
{
Name = name;
Value = value;
Type = type;
}
public T Return<T>()
{
var returnT = ScriptType.ToEnum(typeof(T));
switch (returnT)
{
case ScriptTypes.String:
case ScriptTypes.Integer:
case ScriptTypes.Double:
case ScriptTypes.Boolean:
case ScriptTypes.Regex:
return (T)this.Value;
case ScriptTypes.ListString:
return (T)(object)((List<ScriptVariable>)this.Value).Select(x => x.Value.ToString()).ToList();
case ScriptTypes.ListInteger:
return (T)(object)((List<ScriptVariable>)(this.Value)).Select(x => x).ToList();
case ScriptTypes.ListDouble:
return (T)(object)((List<ScriptVariable>)(this.Value)).Select(x => x).ToList();
case ScriptTypes.ListBoolean:
return (T)(object)((List<ScriptVariable>)(this.Value)).Select(x => x).ToList();
default:
return default(T);
}
}
public ScriptVariable Cast<ReturnT>(Lexer lexer)
{
var outputType = ScriptType.ToEnum(typeof(ReturnT));
switch (outputType)
{
case ScriptTypes.String:
switch (this.Type)
{
case ScriptTypes.Integer:
case ScriptTypes.Double:
this.Value = this.Value.ToString();
break;
case ScriptTypes.Boolean:
this.Value = (bool)this.Value ? "true" : "false";
break;
case ScriptTypes.Null:
this.Value = "null";
break;
}
this.Type = ScriptTypes.String;
break;
case ScriptTypes.Integer:
switch (this.Type)
{
case ScriptTypes.String:
int tryInt = 0;
if (int.TryParse(this.Value.ToString(), out tryInt))
{
this.Value = tryInt;
}
else
{
goto castError;
}
break;
case ScriptTypes.Double:
double tryDouble = 0;
if (double.TryParse(this.Value.ToString(), out tryDouble))
{
this.Value = tryDouble;
}
else
{
goto castError;
}
break;
case ScriptTypes.Boolean:
this.Value = (bool)this.Value ? 1 : 0;
break;
}
this.Type = ScriptTypes.Integer;
break;
case ScriptTypes.Double:
switch (this.Type)
{
case ScriptTypes.String:
case ScriptTypes.Integer:
double tryDouble = 0;
if (double.TryParse(this.Value.ToString(), out tryDouble))
{
this.Value = tryDouble;
}
else
{
goto castError;
}
break;
case ScriptTypes.Boolean:
this.Value = (bool)this.Value ? 1.0 : 0.0;
break;
}
this.Type = ScriptTypes.Double;
break;
case ScriptTypes.Boolean:
switch (this.Type)
{
case ScriptTypes.String:
this.Value = this.Value.ToString() == "true";
break;
}
this.Type = ScriptTypes.Boolean;
break;
case ScriptTypes.ListString:
case ScriptTypes.ListInteger:
case ScriptTypes.ListDouble:
case ScriptTypes.ListBoolean:
break;
case ScriptTypes.Void:
this.Value = default(ReturnT);
break;
}
return this;
castError:
lexer.Prev();
lexer.Prev();
throw new ScriptException(
message: String.Format("Unable to cast value '{0}' from '{1}' to '{2}' on Line {3} Col {4}",
Value.ToString(),
Type.ToString(),
outputType.ToString(),
lexer.LineNumber,
lexer.Position),
row: lexer.LineNumber,
column: lexer.Position,
method: lexer.TokenContents
);
}
/*public ScriptVariable Cast<ReturnT>(Lexer lexer)
{
var outputType = ScriptType.ToEnum(typeof(ReturnT));
var outValue = default(ReturnT);
if (TryCast<ReturnT>(Type, Value, out outValue))
{
return this;
}
lexer.Prev();
lexer.Prev();
throw new ScriptException(
message: String.Format("Unable to cast value '{0}' from '{1}' to '{2}' on Line {3} Col {4}",
Value.ToString(),
Type.ToString(),
outputType.ToString(),
lexer.LineNumber,
lexer.Position),
row: lexer.LineNumber,
column: lexer.Position,
method: lexer.TokenContents
);
}*/
}
}</code></pre>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>

BIN
server/uploads/sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB