Skip to content

Instantly share code, notes, and snippets.

View maksii's full-sized avatar

maksii

  • Ukraine
View GitHub Profile
@maksii
maksii / 1. audio_extract_sound.ps1
Last active October 12, 2024 09:07
windows PowerShell scripts to batch(bulk) ffmpeg commands to manipulate media. require ffmpeg installed
# Check FFmpeg availability
$ffmpegPath = "ffmpeg" # Default to ffmpeg in PATH
# Check FFprobe availability
$ffprobePath = "ffprobe" # Default to ffprobe in PATH
# Function to check if ffmpeg exists in PATH
function Check-FFmpeg {
try {
$output = & $ffmpegPath -version 2>&1
@maksii
maksii / utpblockvote.js
Last active August 22, 2024 18:20
utpblockvote.js
// ==UserScript==
// @name UTP Request Checker
// @namespace Violentmonkey Scripts
// @version 1.2.1
// @description Compare amounts and modify the vote button on UTP requests.
// @match https://utp.to/requests/*
// @grant none
// @updateURL https://gist.github.com/maksii/b8c4bf8bdf0de841532a3b4320cf9a1a.js
// @downloadURL https://gist.github.com/maksii/b8c4bf8bdf0de841532a3b4320cf9a1a.js
// ==/UserScript==
@maksii
maksii / linkedin auto-inviter
Last active December 19, 2020 16:54
Script to automatically add connections from "People You May Know" page
var inviter = {} || inviter;
inviter.userList = [];
inviter.className = 'button-secondary-small';
inviter.refresh = function () {
window.scrollTo(0, document.body.scrollHeight);
window.scrollTo(document.body.scrollHeight, 0);
window.scrollTo(0, document.body.scrollHeight);
};