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 October 19, 2026 19:44
Immersive Chat for YouTube
// ==UserScript==
// @name Immersive Chat for YouTube
// @namespace https://www.youtube.com
// @icon https://icons.duckduckgo.com/ip2/youtube.com.ico
// @version 1.2.4
// @description Immersive fullscreen chat experience for YouTube with Ambient mode on + configurable chat width and show/hide avatars
// @license GPL-3.0
//
// @match https://www.youtube.com/*
// @noframes
@cjmaxik
cjmaxik / webhook.md
Last active October 7, 2026 07:30
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
@SimplicityGuy
SimplicityGuy / rclone-notify
Last active July 26, 2025 10:08
rclone with discord notifications
#!/bin/bash
if [ -e "rclone.env" ]; then
# NOTE: rclone.env specifies DISCORD_WEBHOOK_URL
# shellcheck source=/dev/null
source rclone.env
fi
rclone_sync() {
src=$1
@cjmaxik
cjmaxik / README.md
Last active October 9, 2026 09:02
Перевод валюты в рубли в Steam

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

Поддерживаются тенге, лиры, евро, фунты стерлингов, песо, гривны и доллары. Курс обновляется раз в 6 часов https://cjmaxik.com/steam-valute

Последние изменения

  • 1.4 - добавил поддержку конвертации в расширении SteamDB (минимальная зафиксированная цена)
Details

История версий

@tvaliasek
tvaliasek / main.js
Created June 5, 2018 20:09
electron axios stream download with progress
import {ipcMain} from 'electron'
const fs = require('fs')
const axios = require('axios')
/* ... */
ipcMain.on('downloadFile', function (event, data) {
const filePath = data.filePath
const item = data.item