Skip to content

Instantly share code, notes, and snippets.

CScriptBaseButton
DT_ScriptBaseButton
script_func_button
.?AV?$CEntityFactory@VCScriptBaseButton@@@@
Attempted to ConvertToCopiedData for unsupported type (%d)
ScriptSetPoseParameter
@xPaw
xPaw / README.md
Last active November 11, 2023 11:32
Counter-Strike 2 Text Mod
2003-09-01 430,159
2003-10-01 164,740
2003-11-01 115,910
2003-12-01 125,061
2004-01-01 105,668
2004-02-01 85,764
2004-03-01 118,380
2004-04-01 126,378
2004-05-01 99,905
2004-06-01 84,291
Range Count
1060000000 1029447
1050000000 9997326
1040000000 9984846
1030000000 9981487
1020000000 9978689
1010000000 9978952
1000000000 9978825
990000000 9988693
980000000 9993601
AppID Name
332780 National Zombie Park
341980 Dispatcher
345920 The Note
348020 Bloodbath Kavkaz
350710 Wizards' Clash
354260 Bloodbath Kavkaz - Soundtrack
366890 Zombie Zoeds
371210 Gridberd
371690 Pixel Space
<?php
declare(strict_types=1);
// path to where svg folder from twemoji repository lies
// https://github.com/twitter/twemoji/tree/master/assets/svg
$input = __DIR__ . DIRECTORY_SEPARATOR . 'svg' . DIRECTORY_SEPARATOR;
$output = __DIR__ . DIRECTORY_SEPARATOR . 'flags' . DIRECTORY_SEPARATOR;
if( !file_exists( $input ) )
{
( function()
{
const darkMode = document.getElementById( 'dark-mode-toggle' );
if( darkMode )
{
const isDarkSchemePreferred = () => window.matchMedia && window.matchMedia( '(prefers-color-scheme: dark)' ).matches;
darkMode.addEventListener( 'click', function( e )
{
// ==UserScript==
// @name Grand Prix Chart
// @namespace me.xpaw.grandprixchart
// @version 0.6
// @match https://store.steampowered.com/grandprix*
// @grant GM_xmlhttpRequest
// @grant unsafeWindow
// @require https://cdnjs.cloudflare.com/ajax/libs/highcharts/7.1.2/highstock.js
// @run-at document-end
// ==/UserScript==
if( $args.Length -lt 1 )
{
"Pass in appids as arguments: 440 570 730"
Exit 1
}
foreach( $AppID in $args )
{
# Parse appids from links
$AppID = $AppID -creplace '.*?/([0-9]+).*', '$1'
@xPaw
xPaw / localhost_cert.sh
Last active January 1, 2022 20:23
Localhost certificate
#!/bin/bash
openssl ecparam -name prime256v1 -genkey -out localhost.key
openssl req -new -x509 -days 7300 -out localhost.crt -key localhost.key \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost, DNS:*.localhost, IP:127.0.0.1, IP:::1\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
openssl dhparam -out dhparam.pem 4096