Skip to content

Instantly share code, notes, and snippets.

View PSingletary's full-sized avatar
🔍
Search

PSingletary PSingletary

🔍
Search
View GitHub Profile
@PSingletary
PSingletary / streamlink_options.txt
Created June 16, 2023 15:13
Streamlink options
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
TASKKILL /IM Teams.exe /F
TASKKILL /IM OUTLOOK.EXE /F
RMDIR %appdata%\Microsoft\Teams
@PSingletary
PSingletary / New-VLC_transcode.ps1
Created May 24, 2023 00:52
use vlc to trancode wav to mp3
<#
.link
https://wiki.videolan.org/VLC_HowTo/Transcode_multiple_videos/
#>
$outputExtension = ".mp3"
$bitrate = 160
$channels = 2
foreach($inputFile in get-childitem -recurse -Filter *.wav)
{
@PSingletary
PSingletary / markdown-text-101.md
Created March 16, 2023 00:18 — forked from matthewzring/markdown-text-101.md
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

Sweet Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__

@PSingletary
PSingletary / golive.cmd
Created November 12, 2022 16:09
OBS launch - Switch to single display and start streaming
displayswitch /internal && C:\Progra~1\obs-studio\bin\64bit\obs64.exe --startstreaming --scene "Starting" --disable-updater --disable-missing-files-check
@PSingletary
PSingletary / readme.md
Last active June 2, 2022 11:10
Gist of Gists
@PSingletary
PSingletary / synology-import-ssl.sh
Created April 22, 2022 18:11 — forked from Nepherte/synology-import-ssl.sh
Script to import an SSL certificate into a Synology NAS.
#!/usr/bin/env bash
# The id of the certificate to install.
CERT_ID="$1"
# The packages whose certificate to replace.
CERT_PKGS="${@:2}"
# The directory that holds to certificate to import.
CERT_IMPORT_DIR="/tmp/certificate/$CERT_ID"
@PSingletary
PSingletary / twitch-recorder.py
Created February 11, 2022 09:33 — forked from junian/twitch-recorder.py
Record Twitch Streams Automatically in Python
# This code is based on tutorial by slicktechies modified as needed to use oauth token from Twitch.
# You can read more details at: https://www.junian.net/2017/01/how-to-record-twitch-streams.html
# original code is from https://slicktechies.com/how-to-watchrecord-twitch-streams-using-livestreamer/
import requests
import os
import time
import json
import sys
import subprocess
@PSingletary
PSingletary / twitch-filter.txt
Last active June 13, 2024 12:34
uBlock Origin - Twitch Chat Text Only
www.twitch.tv##.chat-line__message--emote.chat-image
||static-cdn.jtvnw.net/*-reward-images/$image
||static-cdn.jtvnw.net/automatic-reward-images/$image
||static-cdn.jtvnw.net/badges/$image
||static-cdn.jtvnw.net/channel-points-icons/$image
||static-cdn.jtvnw.net/custom-reward-images/$image
||static-cdn.jtvnw.net/custom-reward-images/*/*/*/$image
||static-cdn.jtvnw.net/emoticons/$image
||static-cdn.jtvnw.net/emoticons/v2/*/static/dark/*.0
||static-cdn.jtvnw.net/jtv_user_pictures/$image