Skip to content

Instantly share code, notes, and snippets.

@thematho
thematho / Readme.md
Last active February 4, 2026 09:58 — forked from xchwarze/Readme.md
Steam auto trader

Maximum Hax

Automates the UI actions (clicks, typing) to sell Steam trading cards from the Steam web interface. To use this:

  1. Log into your Steam account in Chrome
  2. Go to [Username] -> Inventory
  3. Open the Javascript console (View -> Developer -> Javascript Console)
  4. Paste in the entire script below and press enter
  5. To start selling all trading cards in your inventory, type doHax() in the console and press enter
  6. ...
@lukateras
lukateras / disable-gtk-buttons.sh
Created February 12, 2023 22:52
Disable the close button on GTK decorated windows (great with tiling window managers!)
gsettings set org.gnome.desktop.wm.preferences button-layout appmenu:none
@dretax
dretax / gist:fe37b8baf55bc30e9d63
Created February 1, 2016 09:38
DirectInput Keyboard Scan Codes DirectX Programming
#ifndef H_DIK
#define H_DIK
// Listed are keyboard scan code constants, taken from dinput.h
#define DIK_ESCAPE 0x01
#define DIK_1 0x02
#define DIK_2 0x03
#define DIK_3 0x04
#define DIK_4 0x05