Skip to content

Instantly share code, notes, and snippets.

@xPaw
xPaw / steam_quick_queue.user.js
Last active Jul 6, 2022
This script has been integrated into SteamDB browser extension!
View steam_quick_queue.user.js
// ==UserScript==
// @name Steam Queue Auto Discoverer
// @description Discover the Steam queue three times to get the sale cards
// @version 2.3.0
// @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==
View steam_commands
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-cef-disable-breakpad - disables breakpad in crash dumps
View steam_accountids.csv
Range Count
1060000000 1029447
1050000000 9997326
1040000000 9984846
1030000000 9981487
1020000000 9978689
1010000000 9978952
1000000000 9978825
990000000 9988693
980000000 9993601
@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

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",
@xPaw
xPaw / localhost_cert.sh
Last active Jan 1, 2022
Localhost certificate
View localhost_cert.sh
#!/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
View YoutubeHideWatched.user.js
// ==UserScript==
// @version 1.4.1
// @name Hide watched videos on YouTube
// @icon https://www.youtube.com/favicon.ico
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
// @exclude https://www.youtube.com/api/*
// @namespace https://gist.github.com/xPaw/6324624
// @updateURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
// @downloadURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
View short-steam-url.md
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 KeyValues.cpp
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#if defined( _WIN32 ) && !defined( _X360 )
#include <windows.h> // for widechartomultibyte and multibytetowidechar