GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/CST1022/Resources/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/CST1022/Resources/debug.js
// debug.js
// Setup DEBUG values for colored console statements.

// Begin with no console color enhancements.
var CA = '';		// attention
var CB = '';		// black
var CC = '';		// call.
var CD = '';		// do.
var CE = '';		// error.
var CF = '';		// false.
var CG = '';		// group. recall.
var CH = '';		// group (DEBUG = false).
var CI = '';		// info
var CL = '';		// log.
var CN = '';		// normal.
var CQ = '';		// question.
var CR = '';		// return value.
var CS = '';		// set.
var CT = '';		// true.
var CU = '';		// UpdateInclude.
var CW = '';		// warn.
var CX = '';		// eXpand.
var PC = '%c';	// Placeholder for css. The 'Cn' list after log text.
var NL = "\n";	// Used in console functions for newline.
var TB = "\t";	// Used in console functions for tab.
var PB = '';		// Prepended for start.
var PE = '';		// Prepended for end.
var SB = '';		// start. console.log(PB+text,SB,ST)
var SE = '';		// end. console.log(PE+text,SE,ST);
var ST = '';		// Text part for start and end.
var C_B;        // bold.
var C_L;        // large font.
var C_R;        // regular font.

var ScriptSrc = '';
var ScriptText = '';

// _Initialize_debug();
function _Initialize_debug(showColors=false) {
  // console color enhancements.
  C_B = ' font-weight:bold;'; // bold.
  C_L = ' font-size:14px;'; // large font.
  C_R = ' font-size:12px;'; // regular font.
  CA = 'background-color:#af3; color: #000;'+C_R;		// attention.     console.log(`${PC}text`, CA);	+C_B for bold.
  CB = 'background-color:#fff; color: #000;' + C_R;	// black.         console.log(`${PC}text`, CB);
  CC = 'background-color:#84b; color: #fff;' + C_R;	// call.          console.log(`${PC}text`, CC);
  CD = 'background-color:#afc; color: #000;' + C_R;	// do.            console.log(`${PC}text`, CD);
  CE = 'background-color:#f11; color: #000;' + C_R;	// error.         console.log(`${PC}text`, CE);
  CF = 'background-color:#800; color: #fff;' + C_R;	// false.         console.log(`${PC}text`, CF);
  CG = 'background-color:#c60; color: #fff;' + C_R + C_B + C_L;	// group. recall. console.group(`${PC}text`, CG); May also use console.groupCollapsed(); End with console.groupEnd(); Also if setTimeout() needed.
  CH = 'background-color:#950; color: #fff;' + C_R + C_B + C_L;	// group. (DEBUG = false).
  CI = 'background-color:#aef; color: #000;' + C_R;	// info.          console.log(`${PC}text`, CI);
  CL = 'background-color:#222; color: #ccc;' + C_R;	// log.           console.log(`${PC}text`, CL);
  CN = 'background-color:#ccc; color: #222;' + C_R;	// normal.        console.log(`${PC}text`, CN);
  CQ = 'background-color:#00a; color: #fff;' + C_R;	// question.      console.log(`${PC}text`, CQ);
  CR = 'background-color:#000; color: #eb2;' + C_R;	// return value.  console.log(`${PC}text`, CR);
  CS = 'background-color:#e8f; color: #000;' + C_R;	// set.           console.log(`${PC}text`, CS);
  CT = 'background-color:#080; color: #fff;' + C_R;	// true.          console.log(`${PC}text`, CT);
  CU = 'background-color:#408; color: #fff;' + C_R;	// UpdateInclude. console.log(`${PC}text`, CU);
  CW = 'background-color:#fda; color: #000;' + C_R;	// warn.          console.log(`${PC}text`, CW);
  CX = 'background-color:#00a; color: #ff0;' + C_R;	// eXpand.        console.log(`${PC}text`, CX);
  PB = '%cBEGIN%c '; // Prepended for start.
  PE = '%c  END%c '; // Prepended for end.
  SB = 'background-color:#ffa; color: #000;' + C_L + C_B;	// start.   console.log(`${PB}text`, SB, ST);
  SE = 'background-color:#ffa; color: #000;' + C_L + C_B;	// end.     console.log(`${PE}text`, SE, ST);
  ST = 'background-color:#fff; color: #000;' + C_R;			  // Text part for start and end.
  _Initialize_debug.initalized = true;
  console.log(`${PC}_Initialize_debug[]`, CH);
  if (showColors) { DEBUGcolors(); }
}
_Initialize_debug.initalized = false;


function DEBUGcolors() {
  console.log(`${PC}CA attention`, CA);
  console.log(`${PC}CB black`, CB);
  console.log(`${PC}CC call`, CC);
  console.log(`${PC}CD do`, CD);
  console.log(`${PC}CE error`, CE);
  console.log(`${PC}CF false`, CF);
  console.log(`${PC}CG group`, CG);
  console.log(`${PC}CH group DEBUG=false`, CH);
  console.log(`${PC}CI info`, CI);
  console.log(`${PC}CL log`, CL);
  console.log(`${PC}CR return value`, CR);
  console.log(`${PC}CS set`, CS);
  console.log(`${PC}CT true`, CT);
  console.log(`${PC}CU UpdateInclude`, CU);
  console.log(`${PC}CW warn`, CW);
  console.log(`${PC}CX eXpand`, CX);
  console.log(`${PB}start text`, SB, ST);
  console.log(`${PE}end text`, SB, ST);
}

Anon7 - 2022
AnonSec Team