Skip to content

Instantly share code, notes, and snippets.

View SANCTI-afk's full-sized avatar
🏠
Working from home

loai ahmad SANCTI-afk

🏠
Working from home
View GitHub Profile
@kus
kus / steam-cs-key-history.js
Last active April 10, 2024 17:29
Find out how much you have spent on Counter-Strike keys
// Open https://store.steampowered.com/account/history and make sure you are logged in to Steam.
// Scroll to the bottom and load all history.
// Open your browsers console (Ctrl + Shift + J on Chrome or Ctrl + Shift + K on Firefox)
// and paste all of this code (select all) in the text box (bottom) and hit enter
// If you get an error from the script you likely aren't running a modern browser
// you can paste the code here https://babeljs.io/repl and copy the output and run that.
(() => {
const HISTORY_URL = 'https://store.steampowered.com/account/history';
// English and Cyrillic alphabet
const CURRENCY_REGEXP = /([A-Za-z\u0400-\u04FF]+)?([^0-9]{1})?([0-9.]+)([A-Za-z€¥\$£\u0400-\u04FF\.]+)?/;
@vivekkupadhyay
vivekkupadhyay / autoexec.cfg
Last active June 18, 2023 23:24
CS:GO main config file | <Steam_Installation_Location>\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
// 1. Main Settings
con_enable "1" //Enables Console
cl_disablehtmlmotd "1" //Removes "Message of the day" page when joining a server
cl_forcepreload "1" // Pre-loads The Whole Map & Sounds.
gameinstructor_enable "0" //Removes in-game instructions
cl_showhelp "0" //Removes on-screen help
cl_autohelp "0" //Removes automatic help
cl_disablefreezecam "1" //Disables Freezecam
cl_righthand "0" //Makes Player View Model Left-Handed
ui_steam_overlay_notification_position "bottomright" //Steam Overlay Notifications will appear Bottom-Right corner