Skip to content

Instantly share code, notes, and snippets.

@Bluscream
Bluscream / obs_twitch_chat.css
Last active April 17, 2024 22:39
Twitch chat transparent popout for OBS
/*
Twitch chat browsersource CSS for OBS
Original by twitch.tv/starvingpoet modified by github.com/Bluscream
Just set the URL as either one of
- https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true
- https://www.twitch.tv/popout/%%TWITCHCHANNEL%%/chat
- https://www.twitch.tv/embed/%%TWITCHCHANNEL%%/chat?parent=localhost
And paste this entire file into the CSS box or paste direct import css like
@Bluscream
Bluscream / ets2_options.md
Last active March 30, 2024 18:46
Euro Truck Simulator 2 Launch Options (Command Line Arguments)
Parameter Arguments Description Version Reference
-32bit launch directly in 32bit mode
@Bluscream
Bluscream / quick.user.css
Created March 28, 2024 11:08
Vencord QuickCSS
button[aria-label="Send a gift"], /* textbox gift button */
[class^=nitroBadgeSvg__], /* nitro user badge */
.textBadge_f05120, /* aRPC bar */
div[class="notice__5fd4c colorDefault__438d3"],
.vc-rdb-review:has(span.botText_daff56) {
display: none;
}
img[src="/assets/5cdb518bb425d85a0f51.svg"] { /* red x emoji */
content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNiAzNiI+PHBhdGggZmlsbD0iI0REMkU0NCIgZD0iTTM2IDMyYzAgMi4yMDktMS43OTEgNC00IDRINGMtMi4yMDkgMC00LTEuNzkxLTQtNFY0YzAtMi4yMDkgMS43OTEtNCA0LTRoMjhjMi4yMDkgMCA0IDEuNzkxIDQgNHYyOHoiLz48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMjEuNTI5IDE4LjAwNmw4LjIzOC04LjIzOGMuOTc3LS45NzYuOTc3LTIuNTU5IDAtMy41MzUtLjk3Ny0uOTc3LTIuNTU5LS45NzctMy41MzUgMGwtOC4yMzggOC4yMzgtOC4yMzgtOC4yMzhjLS45NzYtLjk3Ny0yLjU2LS45NzctMy41MzUgMC0uOTc3Ljk3Ni0uOTc3IDIuNTU5IDAgMy41MzVsOC4yMzggOC4yMzgtOC4yNTggOC4yNThjLS45NzcuOTc3LS45NzcgMi41NTkgMCAzLjUzNS40ODguNDg4IDEuMTI4LjczMiAxLjc2OC43MzJzMS4yOC0uMjQ0IDEuNzY4LS43MzJsOC4yNTgtOC4yNTkgOC4yMzggOC4yMzhj
@Bluscream
Bluscream / discord_auth_purger.user.js
Last active March 28, 2024 06:22
Discord Bot Permission Purger Userscript
// ==UserScript==
// @name Discord Auth Scope and Permission Purger
// @namespace http://github.com/Bluscream
// @version 1.0
// @description Combines functionality to purge bot permissions and purge "guilds.join" user auth scope
// @author Bluscream, phind.com
// @match *://discord.com/oauth2/authorize?*permissions=*
// @match *://discord.com/oauth2/authorize?*scope=*
// @grant GM_getValue
// @downloadURL https://update.greasyfork.org/scripts/491068/Discord%20Auth%20Scope%20and%20Permission%20Purger.user.js
@Bluscream
Bluscream / fbt-tracker-comparison.md
Last active February 8, 2024 00:26
Full Body Tracking Solutions Comparison
SlimeVR Vive Tundra AprilTag Amethyst StonX owoTrack
Developer SlimeVR HTC Tundra Ju1ce, DIY K2VR Team
Form factor 5x 50 g trackers 3x 75 g trackers 3x 50 g trackers QR codes & central camera Central camera
Battery Life 15 h 7.5 h 7 h
Base station No (Wi-Fi) SteamVR Lighthouse SteamVR Lighthouse An
@Bluscream
Bluscream / toggle_targets.yaml
Last active January 15, 2024 20:35
HomeAssistant blueprints
blueprint:
name: Toggle Targets
description: A script that toggles selected targets with a delay.
domain: script
input:
targets:
name: Targets
description: The devices to toggle.
selector:
entity: {}
@Bluscream
Bluscream / generator.html
Last active January 7, 2024 13:18
Github Compare link/URL generator
<!DOCTYPE html>
<html>
<!-- Example: http://minopia.de/gh/compare/?base=https://github.com/IKennyAgain/iw4x_waypoints/tree/master&compare=https://github.com/xlabs-mirror/iw4x-bot-waypoints/tree/master -->
<head>
<meta charset="UTF-8">
<title>GitHub Compare URL Generator</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<style>
.dark-mode {
background-color: rgb(71, 71, 71);
@Bluscream
Bluscream / selfcert.sh
Created October 26, 2023 08:26
Self-Signed wildcard certificate generator
#!/bin/bash
# Create the openssl.cnf file
cat > openssl.cnf << EOF
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
[req_distinguished_name]
commonName = Common Name (e.g. server FQDN or YOUR name)
@Bluscream
Bluscream / edit.py
Created January 5, 2024 02:44
CrocDB language token modifier
import csv
from random import choice, randint, sample
from typing import Any
from sqlite3 import connect
funny_names = ["Bluscream","Your mom","Joe Mama", "Stinky Frank"]
db_file = "C:/Users/blusc/Desktop/croc/CrocLOTG/croc.db"
input_csv = "translate/input.csv"
output_csv = "translate/out/replaced.csv"