Skip to content

Instantly share code, notes, and snippets.

View xchwarze's full-sized avatar

DSR! xchwarze

View GitHub Profile
@xchwarze
xchwarze / msi-center-manual.bat
Last active July 24, 2024 20:25
MSI Center manual control
@echo off
title MSI Service and Process Management Script
:: Check for administrative privileges
net session >nul 2>&1
IF NOT %ERRORLEVEL% EQU 0 (
ECHO ERROR: Please run this script as Administrator.
PAUSE
EXIT /B 1
)
@xchwarze
xchwarze / index.js
Last active October 13, 2024 01:33
Github artifacts cleaner script
// install axios first!: yarn add axios
// based on https://www.meziantou.net/deleting-github-actions-artifacts-using-the-github-rest-api.htm
const axios = require('axios');
// https://github.com/settings/tokens/new
const githubToken = 'ghp_xxxxxxxxxxxxxxxxxx'
const httpClient = axios.create({
baseURL: 'https://api.github.com',
headers: {
@xchwarze
xchwarze / jetbrains-win-blocker.bat
Created August 25, 2023 22:37
JetBrains Toolbox 2 - autoblock internet of tools
@echo off
setlocal enabledelayedexpansion
set "mainFolderPath=%LOCALAPPDATA%\Programs\"
set "foundDirectory="
rem Groncho-banner
echo JetBrains Toolbox 2 autoblock - by DSR!
echo git: https://github.com/xchwarze
@xchwarze
xchwarze / Readme.md
Last active November 11, 2024 14:10 — forked from stecman/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. ...
@xchwarze
xchwarze / jetbrains-win-blocker.bat
Last active August 25, 2023 22:37
JetBrains Toolbox 1 block internet
@echo off
setlocal enabledelayedexpansion
set "mainFolderPath=%LOCALAPPDATA%\JetBrains\Toolbox\apps\"
set "subfolderName=ch-0"
set "foundDirectory="
rem Groncho-banner
echo JetBrains Toolbox autoblock - by DSR!
@xchwarze
xchwarze / icue-clean.bat
Last active June 3, 2021 00:57
iCUE clean script - eliminates all the extra services that consume cpu and memory
@echo off
:: https://www.reddit.com/r/Corsair/comments/g1ws05/icue_disabling_redundant_services/
title iCUE clean script
:: I understand that it is safe to stop these: "CorsairService" and "CorsairLLAService"
:: this is responsible for starting Corsair.Service.DisplayAdapter and Corsair.Service.CpuIdRemote
sc config "CorsairService" start= disabled
sc stop "CorsairService"