This file contains hidden or 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 http = require('http'); | |
const fileSystem = require('fs'); | |
const path = require('path'); | |
const hostname = 'localhost'; | |
const host_port = 8000; | |
const client_port = 8001; | |
function serveAsset(rootPath, url, res) { | |
// default root route to index.html in the folder |
This file contains hidden or 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
<?xml version='1.0' encoding='utf-8'?> | |
<!DOCTYPE hsreplay SYSTEM "https://hearthsim.info/hsreplay/dtd/hsreplay-1.6.dtd"> | |
<HSReplay version="1.6"> | |
<Game ts="11:27:02.657831"> | |
<GameEntity id="1"> | |
<Tag tag="202" value="1"/> | |
<Tag tag="49" value="1"/> | |
<Tag tag="53" value="1"/> | |
</GameEntity> | |
<Player id="2" playerID="1" accountHi="144115193835963207" accountLo="24163744" name="jrott#1315"> |
This file contains hidden or 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
var mysql = require('mysql'); | |
var connection = mysql.createConnection({ | |
host : 'redacted', | |
user : 'redacted', | |
password : 'redacted', | |
database : 'redacted' | |
}); | |
function randomClass() { |
NewerOlder