Skip to content

Instantly share code, notes, and snippets.

View wordle.js
const words = [
"cigar", "rebut", "sissy", "humph", "awake", "blush", "focal", "evade", "naval", "serve", "heath", "dwarf", "model", "karma", "stink", "grade", "quiet", "bench", "abate", "feign", "major", "death", "fresh", "crust", "stool", "colon", "abase", "marry", "react", "batty", "pride", "floss", "helix", "croak", "staff", "paper", "unfed", "whelp", "trawl", "outdo", "adobe", "crazy", "sower", "repay", "digit", "crate", "cluck", "spike", "mimic", "pound", "maxim", "linen", "unmet", "flesh", "booby", "forth", "first", "stand", "belly", "ivory", "seedy", "print", "yearn", "drain", "bribe", "stout", "panel", "crass", "flume", "offal", "agree", "error", "swirl", "argue", "bleed", "delta", "flick", "totem", "wooer", "front", "shrub", "parry", "biome", "lapel", "start", "greet", "goner", "golem", "lusty", "loopy", "round", "audit", "lying", "gamma", "labor", "islet", "civic", "forge", "corny", "moult", "basic", "salad", "agate", "spicy", "spray", "essay", "fjord", "spend", "kebab", "guild", "aback", "motor",
View igdb-id.user.js
// ==UserScript==
// @name Display game id on IGDB
// @namespace https://www.igdb.com/games/
// @version 1.0
// @author xPaw
// @match https://www.igdb.com/games/*
// @icon https://www.igdb.com/favicon.ico
// @grant none
// ==/UserScript==
View short-steam-url.md
View KeyValues.cpp
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#if defined( _WIN32 ) && !defined( _X360 )
#include <windows.h> // for widechartomultibyte and multibytetowidechar
@xPaw
xPaw / lazyload_intersection.js
Last active Oct 20, 2020
Lazy load elements when they appear in view using IntersectionObserver
View lazyload_intersection.js
let observer;
function LazyLoad( element, callback )
{
if( !( 'IntersectionObserver' in window ) )
{
callback();
return;
}
View underlords_mobile_download.php
<?php
declare(strict_types=1);
// Alternatively manifest_ios
$manifest = file_get_contents( 'https://raw.githubusercontent.com/SteamDatabase/GameTracking-Underlords-Android/master/manifest_android.json' );
$manifest = json_decode( $manifest, true );
$out = "#!/bin/bash\n";
foreach( $manifest[ 'assets' ] as $assetName => $asset )
View alien_swarm_p4_binary_changes.txt
//ValveGames/rel/swarm/game/bin/AdminServer.dll#8 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/Dist2alpha.exe#9 - edit change 6019183 (binary+x)
//ValveGames/rel/swarm/game/bin/Dist2alpha.pdb#9 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystemOpenDialog.dll#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystemOpenDialog.pdb#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystem_Stdio.dll#12 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/MaterialSystem.dll#10 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/QC_Eyes.exe#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/QC_Eyes.pdb#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/SDKLauncher.exe#15 - edit change 6019183 (binary)
View gist:5edd1c3f207559ad4192975888e709d6
//ValveGames/rel/swarm/game/bin/ep3.fgd#1 - branch change 863790 (text)
//ValveGames/rel/swarm/game/swarm/sound/scapes/2D/interior1/Beep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/metal/metal_box_footstep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/plaster/ceiling_tile_step3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/plaster/drywall_footstep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/game/swarm_base/sound/physics/wood/wood_box_footstep3.wav#1 - branch change 863790 (binary)
//ValveGames/rel/swarm/src/game/client/client_ep3.vpc#1 - branch change 863790 (text)
//ValveGames/rel/swarm/src/game/client/ep3/Splatter.cpp#1 - branch change 863790 (text)
//ValveGames/rel/swarm/src/game/client/ep3/c_blob_mine.cpp#1 - branch change 863790 (text)
//ValveGames/rel/swarm/src/game/client/ep3/c_blob_mine.h#1 - branch change 863790 (text)
View l4d2_beta_diff.txt
CScriptBaseButton
DT_ScriptBaseButton
script_func_button
.?AV?$CEntityFactory@VCScriptBaseButton@@@@
Attempted to ConvertToCopiedData for unsupported type (%d)
ScriptSetPoseParameter
@xPaw
xPaw / _install.md
Last active Jun 13, 2022
CS:GO Text Mod
View _install.md

Installing text mod

  1. Move csgo_bananagaming.txt inside this folder: Steam\SteamApps\Common\Counter-Strike Global Offensive\csgo\resource
  2. Add -language bananagaming to your launch options

Not working? Make sure that:

  • csgo_bananagaming.txt is placed in the right folder (it needs to be inside the resource folder)
  • Launch options is spelled correctly, this is an example that will work: -novid -language bananagaming -tickrate 128

Installing radio mod