This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
config, | |
pkgs, | |
options, | |
... | |
}: let | |
hostname = "oatman-pc"; # to alllow per-machine config | |
in { | |
networking.hostName = hostname; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check if an argument is provided | |
if ($args.Count -eq 0) { | |
Write-Host "No video file provided. Usage: .\script.ps1 [video file]" | |
exit | |
} | |
# Assign the first argument as the input file | |
$inputFile = $args[0] | |
# Check if the file exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ######## | |
# # bash # | |
# ######## | |
# pattern="ATLauncher-.*" | |
# repo="Alistair1231/ATLauncher-Offline" | |
# # remove old files | |
# rm -f description.txt && rm -f ATLauncher-*.jar | |
# # get the files | |
# curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -oP '"browser_download_url":\s*"\K[^"]+' | grep -E "$pattern" | wget -q --show-progress -i - |
How to install tikz-uml package on Windows
- console: https://tex.stackexchange.com/questions/69483/create-a-local-texmf-tree-in-miktex
- or gui: https://miktex.org/howto/miktex-console
How to install tikz-uml package on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# just copy/paste into powershell and edit variables before pressing enter. | |
$user="user"; ` | |
$server="example.com"; ` | |
$port=22; ` | |
$file="id_rsa"; ` | |
type $env:USERPROFILE\.ssh\$file.pub | ssh $user@$server -p $port "mkdir -p ~/.ssh && cat >> .ssh/authorized_keys" |
Table of Contents
-
install voicemeeter banana
-
- uninstall asio4all driver
- plug device in while installing for it to work. If it is already plugged in the setup might time out.
-
Settings in Voicemeeter for having one virtual input for voice only and one for having both inputs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yt-dlp 'https://www.youtube.com/playlist?list=PLXkGLqXZchysA87AHg0fYOZTLEHBZsMuT' ` | |
-I 1:200 <# only download index 1 - 200 #> ` | |
-o "%(playlist_count+1-playlist_index)d - %(uploader)s - %(title)s.%(ext)s" <# name is "index (reverse) - uploader - title" #> ` | |
--embed-thumbnail <# needs atomicparsley to be installed #> ` | |
-S "abr:192" <# yt-dlp only!, best audio that has at max 192kbit/s #> ` | |
-f "ba" <# format with best audio #> ` | |
-x <# audio only #> ` | |
--audio-format mp3 <# needs ffmpeg installed #> ` | |
--download-archive ./archive.txt <# only download files that weren't already downloaded #> ` | |
--restrict-filenames <# only ascii characters in filename #> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance, Force | |
SendMode Input | |
SetWorkingDir, %A_ScriptDir% | |
; icon file download | |
; https://mir.cr/N9HJXVGH | |
I_Icon = antiafk.ico | |
ICON [I_Icon] ;Changes a compiled script's icon (.exe) | |
if I_Icon <> |
NewerOlder