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
//@ts-ignore | |
import dxt from 'dxt-js'; | |
import { createCanvas, loadImage } from 'canvas'; | |
import fs from 'fs'; | |
import { Buffer } from 'buffer'; | |
(async () => { | |
const image = await loadImage('${__dirname}/input.jpg'); | |
const { width, height } = image; |
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 * as tf from "@tensorflow/tfjs-core"; | |
const CKPTSDIR = | |
document.URL.substr(0, document.URL.lastIndexOf("/")) + "/ckpts/"; | |
export const loadStyle = (id, ckptsDir = CKPTSDIR) => | |
fetch(ckptsDir + id + "/manifest.json") | |
.then(r => r.json()) | |
.then(manifest => { | |
const variableNames = Object.keys(manifest); |
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 p = r.place; | |
const colors = [ | |
{ r: 255, g: 255, b: 255 }, | |
{ r: 228, g: 228, b: 228 }, | |
{ r: 136, g: 136, b: 136 }, | |
{ r: 34, g: 34, b: 34 }, | |
{ r: 255, g: 167, b: 209 }, | |
{ r: 229, g: 0, b: 0 }, | |
{ r: 229, g: 149, b: 0 }, | |
{ r: 160, g: 106, b: 66 }, |
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
<?php | |
echo "Testing bit stream:\n"; | |
$handle = fopen('80_team-ldlc-fnatic_de_dust2.dem', 'rb'); | |
$byteStream = new phpgo\IO\ByteStream($handle); | |
$stream = new phpgo\IO\BitStream($byteStream); | |
// show first int | |
var_dump($stream->int32()); |
This file has been truncated, but you can view the full file.
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
CAI_BaseNPC { | |
var m_flAnimTime = null; | |
var m_vecMins = null; | |
var m_vecMaxs = null; | |
var m_nSolidType = null; | |
var m_usSolidFlags = null; | |
var m_nSurroundType = null; | |
var m_triggerBloat = null; | |
var m_vecSpecifiedSurroundingMins = null; | |
var m_vecSpecifiedSurroundingMaxs = 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
We won!, We bet: 1, We rolled 12, New balance = 11 | |
We lost!, We bet: 1, We rolled 35, New balance = 10 | |
We won!, We bet: 2, We rolled 34, New balance = 12 | |
We lost!, We bet: 1, We rolled 2, New balance = 11 | |
We won!, We bet: 2, We rolled 21, New balance = 13 | |
We lost!, We bet: 1, We rolled 33, New balance = 12 | |
We won!, We bet: 2, We rolled 7, New balance = 14 | |
We won!, We bet: 1, We rolled 23, New balance = 15 | |
We lost!, We bet: 1, We rolled 31, New balance = 14 | |
We lost!, We bet: 2, We rolled 24, New balance = 12 |
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
0 : 4f 56 52 57 54 43 48 31 26 8c 47 01 d8 f8 ab 60 [OVRWTCH1&.G....`] | |
10 : 33 5b 75 07 24 66 7b ab 45 bf 9d f7 94 dd 70 78 [3[u.$f{.E.....px] | |
20 : 4e 87 f6 12 e7 54 5d 19 ef 00 2a e0 2b a4 2a 83 [N....T]...*.+.*.] | |
30 : 4c 76 e3 4c 83 9b b0 f6 69 c7 e2 7b d7 89 e7 25 [Lv.L....i..{...%] | |
40 : e9 0f 95 4a 70 8d 81 d7 a2 5d 7f ae e7 67 ed 6b [...Jp....]...g.k] | |
50 : 6f 91 83 0a 46 34 d9 29 31 1f ac 8c bd 22 6e 13 [o...F4.)1...."n.] | |
60 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] | |
70 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] | |
80 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] |
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
0 : 4e 87 f6 12 e7 54 5d 19 ef 00 2a e0 2b a4 2a 83 [N....T]...*.+.*.] | |
10 : 4c 76 e3 4c 83 9b b0 f6 69 c7 e2 7b d7 89 e7 25 [Lv.L....i..{...%] | |
20 : e9 0f 95 4a 70 8d 81 d7 a2 5d 7f ae e7 67 ed 6b [...Jp....]...g.k] | |
30 : 6f 91 83 0a 46 34 d9 29 31 1f ac 8c bd 22 6e 13 [o...F4.)1...."n.] | |
40 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] | |
50 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] | |
60 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] | |
70 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] | |
80 : 6b 6a eb cb f6 f2 9c ed 6b 6a eb cb f6 f2 9c ed [kj......kj......] |
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
0 : 0a fa b9 4c 0f 53 65 d5 8d 4d 36 76 3c f6 a7 52 [...L.Se..M6v<..R] | |
10 : dd 16 51 7c 58 6e ac f6 54 13 d3 9a d3 bf 93 50 [..Q|Xn..T......P] | |
20 : cb de 0c 86 ed 52 aa 6e aa f0 1a 70 5f c4 9f e8 [.....R.n...p_...] | |
30 : 0d e7 e5 19 93 7f 17 af 29 c4 b2 46 72 0b a8 b1 [........)..Fr...] | |
40 : 26 a3 dd 59 33 53 76 ad 26 a3 dd 59 33 53 76 ad [&..Y3Sv.&..Y3Sv.] | |
50 : 26 a3 dd 59 33 53 76 ad 26 a3 dd 59 33 53 76 ad [&..Y3Sv.&..Y3Sv.] | |
60 : 26 a3 dd 59 33 53 76 ad 26 a3 dd 59 33 53 76 ad [&..Y3Sv.&..Y3Sv.] | |
70 : 26 a3 dd 59 33 53 76 ad 26 a3 dd 59 33 53 76 ad [&..Y3Sv.&..Y3Sv.] | |
80 : 26 a3 dd 59 33 53 76 ad 26 a3 dd 59 33 53 76 ad [&..Y3Sv.&..Y3Sv.] |
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
0 : 48 4c 32 44 45 4d 4f 00 04 00 00 00 08 34 00 00 [HL2DEMO......4..] | |
10 : 56 61 6c 76 65 20 43 53 3a 47 4f 20 45 55 20 57 [Valve CS:GO EU W] | |
20 : 65 73 74 20 53 65 72 76 65 72 20 28 73 72 63 64 [est Server (srcd] | |
30 : 73 30 34 38 2e 31 33 36 2e 31 35 29 00 00 00 00 [s048.136.15)....] | |
40 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................] | |
50 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................] | |
60 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................] | |
70 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................] | |
80 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................] |
NewerOlder