This file contains 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
import React, { useEffect, useMemo, useRef, useState } from "react"; | |
import JSONEditor from "jsoneditor/dist/jsoneditor"; | |
import "jsoneditor/dist/jsoneditor.css"; | |
/* Minimal React Wrapper for 'jsoneditor' (https://www.npmjs.com/package/jsoneditor) */ | |
// Uncontrolled Usage Example: | |
// return <ReactJsonEditor value={value}/>; | |
// Controlled Usage Example: | |
// const [value, setValue] = useState({}); |
This file contains 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
sv_cheats 1; | |
sv_lan 1; | |
mp_limitteams 0; | |
mp_autoteambalance 0; | |
mp_roundtime 60; | |
mp_freezetime 0; | |
bot_kick; | |
bot_difficulty 3; | |
mp_autokick 0; | |
mp_warmup_end; |
This file contains 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
//---------------------------------------------------------------------------- | |
// BotProfile.db | |
// Author: Michael S. Booth, Turtle Rock Studios (www.turtlerockstudios.com) | |
// | |
// This database defines bot "personalities". | |
// Feel free to edit it and define your own bots. | |
// | |
// 2017: NEW BOT EDITS, PROFILES, NAMES, and SKILLS V1.5 BY dDefinder | |
// New bot names, skill and weapon trees. Aim and movement for bots should now simulate keyboard and mouse and not a controller. | |
// Playing on normal difficulty will be like playing on a public server with mixed skill levels between normal and expert. More harder bots will join on hard difficultly and only high level bots will be in expert. |
This file contains 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
(() => | |
{ | |
const list = [ | |
{ a: "A", b: "2", c: 2, d: "2019-01-25T23:27:50.859Z", z: false }, | |
{ a: "c", b: "4", c: 4, d: "2019-01-27T23:27:50.859Z", z: true }, | |
{ a: "aa", b: "13", c: 11, d: "2019-01-28T23:27:50.859Z", z: false }, | |
{ a: "aa", b: "11", c: 11, d: "2019-01-29T23:27:50.859Z", z: true }, | |
{ a: "aa", b: "11", c: 11, d: "2019-02-29T23:27:50.859Z", z: false }, | |
{ a: "aa", b: "11", c: 11, d: "2019-01-28T23:27:50.859Z", z: false }, | |
{ a: "aa", b: "12", c: 11, d: "2019-01-28T23:27:50.859Z", z: false }, |
This file contains 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
const csvStringToArray = strData => | |
{ | |
const objPattern = new RegExp(("(\\,|\\r?\\n|\\r|^)(?:\"([^\"]*(?:\"\"[^\"]*)*)\"|([^\\,\\r\\n]*))"),"gi"); | |
let arrMatches = null, arrData = [[]]; | |
while (arrMatches = objPattern.exec(strData)){ | |
if (arrMatches[1].length && arrMatches[1] !== ",")arrData.push([]); | |
arrData[arrData.length - 1].push(arrMatches[2] ? | |
arrMatches[2].replace(new RegExp( "\"\"", "g" ), "\"") : | |
arrMatches[3]); | |
} |
This file contains 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
const path = require('path'); | |
const webpack = require('webpack'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const CompressionPlugin = require("compression-webpack-plugin"); | |
const productionConfig = | |
{ | |
devtool: 'source-map', | |
entry: [ | |
'babel-polyfill', |
This file contains 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
using GoogleCloudPrintApi; | |
using GoogleCloudPrintApi.Models; | |
using Microsoft.Win32; | |
using Newtonsoft.Json; | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Net.Security; | |
using System.Net.Sockets; | |
using System.Text; |
This file contains 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
06:48:09.579 INFO - Launching a standalone Selenium Server | |
Setting system property webdriver.ie.driver to IEDriverServer_x64_2.47.0.exe | |
06:48:09.641 INFO - Java: Oracle Corporation 25.60-b23 | |
06:48:09.641 INFO - OS: Windows 7 6.1 amd64 | |
06:48:09.641 INFO - v2.47.1, with Core v2.47.1. Built from revision 411b314 | |
06:48:09.719 INFO - Driver class not found: com.opera.core.systems.OperaDriver | |
06:48:09.719 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered | |
06:48:09.844 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
06:48:09.844 INFO - Selenium Server is up and running | |
06:48:10.141 INFO - Executing: [new session: Capabilities [{acceptSslCerts=true, name=Test1, browserName=internet explorer, javascriptEnabled=true, platform=ANY}]]) |
This file contains 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
Starting selenium server... started - PID: 5584 | |
[Test1] Test Suite | |
================== | |
Running: Demo test Google | |
INFO Request: POST /wd/hub/session | |
- data: {"desiredCapabilities":{"browserName":"internet explorer","javascriptEnabled":true,"acceptSslCerts":true,"platform":"ANY","name":"Test1"}} | |
- headers: {"Content-Type":"application/json; charset=utf-8","Content-Length":138} | |
INFO Response 200 POST /wd/hub/session{ state: null, |
This file contains 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
13:05:06.799 INFO - Launching a standalone Selenium Server | |
Setting system property webdriver.ie.driver to IEDriverServer_x64_2.47.0.exe | |
13:05:06.846 INFO - Java: Oracle Corporation 25.60-b23 | |
13:05:06.846 INFO - OS: Windows 7 6.1 amd64 | |
13:05:06.862 INFO - v2.47.1, with Core v2.47.1. Built from revision 411b314 | |
13:05:06.924 INFO - Driver class not found: com.opera.core.systems.OperaDriver | |
13:05:06.924 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered | |
13:05:07.049 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
13:05:07.049 INFO - Selenium Server is up and running | |
13:05:07.346 INFO - Executing: [new session: Capabilities [{acceptSslCerts=true, name=Test1, browserName=internet explorer, javascriptEnabled=true, platform=ANY}]]) |
NewerOlder