Skip to content

Instantly share code, notes, and snippets.

View cjmaxik's full-sized avatar
🤦‍♂️

CJMAXiK cjmaxik

🤦‍♂️
View GitHub Profile
@cjmaxik
cjmaxik / script.user.js
Last active September 6, 2025 08:38
YouTube Screenshotter
// ==UserScript==
// @name YouTube Screenshotter
// @namespace https://www.youtube.com
// @version 2025-09-06
// @description Takes a screenshot from a YouTube video in current quality, saves to the clipboard (Ctrl+Alt+Shift+Q) or a file (Ctrl+Alt+Shift+W).
// @author CJMAXiK
// @license MIT
// @match https://www.youtube.com/watch*
// @icon https://icons.duckduckgo.com/ip2/youtube.com.ico
// @website https://gist.github.com/cjmaxik/6211f5381c98fbd55267623de4650032
@cjmaxik
cjmaxik / script.user.js
Last active September 6, 2025 08:38
YouTube Auto High Quality
// ==UserScript==
// @name YouTube Auto High Quality
// @namespace https://www.youtube.com
// @license GPL-3.0
// @version 1.0.0
// @description Auto select the highest quality on YouTube (incl. Premium, if applicable)
// @author CJMAXiK
// @license GPL-3.0
// @match https://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
@cjmaxik
cjmaxik / webhook.md
Last active November 5, 2025 20:55
Proxmox - Discord notification via Webhook

Proxmox - Discord notifications via Webhook

Note

If you have error 400 when sending the notification, that means that your message is too long, since Discord has a character limit of 2000. If you don't care about the logs, remove {{ escape message }} from the description field. Otherwise, seek another way to send notifications (i.e. via Cloudflare worker that truncates the description field).

image
  1. Add Notification Target
  • Endpoint name: Discord
  • Method: POST
@cjmaxik
cjmaxik / script.user.js
Last active July 6, 2025 14:53
Filmot QoL
// ==UserScript==
// @name Filmot QOL
// @namespace http://tampermonkey.net/
// @version 2025-03-29
// @license MIT
// @homepage https://gist.github.com/cjmaxik/dd9268ec65a727c800b49dc98c7fc23c
// @downloadURL https://gist.github.com/cjmaxik/dd9268ec65a727c800b49dc98c7fc23c/raw/script.user.js
// @updateURL https://gist.github.com/cjmaxik/dd9268ec65a727c800b49dc98c7fc23c/raw/script.user.js
// @description Quality-of-life features for Filmot
// @author CJMAXiK
@cjmaxik
cjmaxik / README.md
Last active June 27, 2025 11:50
Skeb Helper

Skeb Helper

https://cjmaxik.com/skeb-helper

This userscript provides QoL features for Skeb:

  1. Currency conversion
  2. Price alerts (visible self-imposed limits)
  3. Timestamps are based on the locale
  4. Artist's stats on the works pages (prices, response and complete average, complete rate)
  5. NSFW works are blurred out (if NSFW is disabled in Settings, you won't even know the artist does NSFW, this is a good fix)
@cjmaxik
cjmaxik / README.md
Last active September 6, 2025 08:37
Перевод валюты в рубли в Steam

Перевод валюты в рубли в Steam

Поддерживаются тенге, лиры, евро, фунты стерлингов, песо, гривны и доллары. Курс обновляется раз в 6 часов

Версия

  • 1.2 - добавил поддержку инвентаря и торговой площадки, исправил рекомендации
История версий
  • 1.1 - добавил доллары (USD)
@cjmaxik
cjmaxik / installer.txt
Created October 25, 2022 05:09
[Lutris] Hard Truck 2
Runner: Wine
Version: GOG - 1.3 (Eng, Rus)
Description: Supports both English and Russian versions of GOG version 1.3.
Technical notes:
- Please select the desired language when downloading the installation file from GOG.
- The game itself will be widescreen, while the UI and truck interior will still be stretched
- It is highly recommended to go to Graphics, hit Autodetect, then set Screen Resolution to 1024x768x16
- If you want to have video cutscenes working:
1) Open `iv5setup.exe` from game directory via `Run EXE within Wine prefix` option in Lutris UI
@cjmaxik
cjmaxik / wot.php
Last active May 8, 2021 17:09
World of Trucks loading screen pictures
<?php
$images = file_get_contents('http://lscreens.eut2.online.scssoft.com/eut2/lscr/data'); // Download WoT loading screens data file
$images = trim(substr($images, 1025)); // Trim and cut first 1024 symbols (idk what to do with it)
// Making array of things
$images_array = explode('\\n', json_encode($images));
foreach ($images_array as $key => &$value) {
$value = explode(';', $value);
}