Skip to content

Instantly share code, notes, and snippets.

View Alistair1231's full-sized avatar

Alistair1231 Alistair1231

View GitHub Profile
@Alistair1231
Alistair1231 / ffmpeg-normalize.adoc
Created January 21, 2023 19:14
ffmpeg-normalize

‎‎​

@Alistair1231
Alistair1231 / deck.adoc
Last active January 19, 2023 16:36
LoR Decks

Decks

Table of Contents

Gwen/Katarina

CEDAGBQFBQIBYAIFAUFQCAQDBEAQCBJRAEAQGNYBAUBQ6BADAYCQ2DRAAEAQKKACAEBSULQBAQBRMAICAECQGNI
@Alistair1231
Alistair1231 / trakt-for-plex.md
Last active October 25, 2022 10:00
Trakt scrobbling for Plex setup guide

Trakt scrobbling for Plex

Get and install Trakttv.bundle

  • SSH into server and cd into the Plex Plug-Ins directory for me that was /storage/.appdata/plex/Library/Application Support/Plex Media Server/Plug-ins
  • git clone https://github.com/Cornishman/Plex-Trakt-Scrobbler.git
  • mv Plex-Trakt-Scrobbler/Trakttv.bundle/ .
  • rm -rdf Plex-Trakt-Scrobbler
  • now restart plex
@Alistair1231
Alistair1231 / pokemon.md
Last active October 20, 2022 11:51
PokeMMO Notes - Pokemon
@Alistair1231
Alistair1231 / _settings_pic.md
Created October 13, 2022 19:57
Use both inputs on Behringer UM2
  • install voicemeeter banana

  • Driver from here or here

    • 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 https://i.imgur.com/WLZqjmz.png

@Alistair1231
Alistair1231 / download.ps1
Last active December 14, 2024 09:10
yt-dlp (Youtube-dl) download music playlist
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 #>
@Alistair1231
Alistair1231 / PIA JDownloader Reconnect.md
Created August 23, 2022 17:30 — forked from flostellbrink/PIA JDownloader Reconnect.md
Script to get new IP addresses in JDownloader by reconnecting Private Internet Access

PIA JDownloader Reconnect

Script to get new IP addresses in JDownloader by reconnecting Private Internet Access.

  1. Go to Settings -> Reconnect
  2. Tick all three checkboxes.
  3. Set method to External Batch Reconnect
  4. Set interpreter to cmd /c
  5. Set script to
@Alistair1231
Alistair1231 / lostArk-anti-afk.ahk
Last active June 13, 2022 04:05
Lost Ark Anti AFK kick script | click out of the game for it to work!
#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 <>
{
"Author": "cassandra308",
"Name": "Where am I again?",
"InternalName": "WhereAmIAgain",
"AssemblyVersion": "0.0.0.3",
"Description": "Shows what zone/region/territory you are in up in the corner next to the server and time info. Open config with /waia. Does not play nicely with Orchestrion Plugin when the 'Show current song in the server info UI element in-game' is enabled, since it uses the same element.",
"ApplicableVersion": "any",
"RepoUrl": "https://github.com/cassandra308/WhereAmIAgain",
"Tags": [
"Area",
@Alistair1231
Alistair1231 / main.py
Last active December 3, 2021 20:55
reconnect nordvpn until good IP
import os
import time
import requests
from bs4 import BeautifulSoup as bs
import subprocess
def jaNein(what):
if what == "Ja":
return True