Skip to content

Instantly share code, notes, and snippets.

@PSingletary
PSingletary / policies.md
Last active May 10, 2024 11:19
template of Content Creator (streamer focus) polices for online and offline moderation

Mod Team: Guidelines + Policies

Attendance

Attendance is never considered mandatory, however moderators who are incommunicado for an extended period may be unmodded so that individuals who are able to be present can be given moderation privileges. This is not considered a poor reflection on the individual but a necessity in order to keep a healthy moderator presence in chat. If you are unable to attend a stream that you normally attend or will be absent for an extended period, please use the moderator channel in discord to let the team know so that others with availability know to be present Emergency Contact In the event of an emergency, please contact the broadcaster or Mod Manager, to alert them of the issue immediately so that they can handle the situation. A ____ message is the best way to get ahold of Streamer yourself. Examples of an emergency include: Stream did not end automatically after a raid Bulk bot follows Hate raids

@PSingletary
PSingletary / chatterino_regex.md
Created May 10, 2024 11:15
helpful chatterino regex

Chatterinoe regex

(hi|hello|hey|yo|salutations|greeting|whatup|welcome|hiya|(morning|afternoon|evening|timezone)) (p5|patrick|p5ingletary|papa mesh) combined (hi|hello|hey|yo|salutations|greeting|whatup|welcome|hiya|(morning|afternoon|evening|timezone))\s+(p5|patrick|p5ingletary|papa mesh)

@PSingletary
PSingletary / Live_Channel.html
Created April 7, 2024 15:25
Show Twitch Channel Embed when live, hide when offline
<html>
<head>
<style>
.hide { display:none; }
/* Optional: The following css just makes sure the twitch video stays responsive */
#twitch {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
@PSingletary
PSingletary / Bossett_copyList.js
Last active March 12, 2024 10:21
BlueSky list copy
// ORIGINAL https://gist.githubusercontent.com/Bossett/c012ed574d96114569af7ba3b25693f1/raw/copyList.js
// COPIES ALL MEMBERS OF A LIST TO ANOTHER LIST
// --------------------------------------------
// 1. Navigate from https://bsky.app/ to the list you want to copy TO and copy its url
// (e.g. https://bsky.app/profile/bossett.social/lists/3k22v6pbfk32t)
// 2. Change the value of DESTINATION_LIST to your value from 1.
// 3. Navigate from https://bsky.app/ to the list you want to copy FROM
// 4. Open the developer tools, and copy/paste this into the console tab & ENTER
// It may take a little while to run - the page will reload when finished
$dateTime = Get-Date -Format "yyyyMMdd_HHmmss"
$filename = "LoginDetails_$dateTime.csv"
# Prompt for a GitHub repository
$repo = Read-Host -Prompt 'Input your GitHub repository (format: owner/repo)'
# $repo = 'bluesky-social/social-app'
# Prompt for a GitHub token
$GitHubtoken = Read-Host -Prompt 'Input your GitHub token (with read-only permissions)'
# If no token is provided, prompt for GitHub credentials and retrieve a read-only token
@PSingletary
PSingletary / color.md
Created December 22, 2023 16:32
Twitch Colors from Brand Assets (publicly available)
@PSingletary
PSingletary / obsbackup.cmd
Last active December 10, 2023 21:30
Backup OBS
@echo off
set obs_path=C:\Program Files\obs-studio
set backup_path=C:\Users\%USERNAME%\Documents\OBS_Backup
mkdir %backup_path%
xcopy /E /I "%obs_path%\data" "%backup_path%\data"
xcopy /E /I "%obs_path%\obs-plugins" "%backup_path%\obs-plugins"
xcopy /E /I "%obs_path%\obs-plugins64" "%backup_path%\obs-plugins64"
xcopy /E /I "%obs_path%\obs-plugins-win64" "%backup_path%\obs-plugins-win64"
xcopy /E /I "%obs_path%\obs-plugins-win32" "%backup_path%\obs-plugins-win32"
xcopy /E /I "%obs_path%\obs-plugins-64bit" "%backup_path%\obs-plugins-64bit"
#!/usr/bin/env python3
"""
Script demonstrating how to create posts using the Bluesky API, covering most of the features and embed options.
To run this Python script, you need the 'requests' and 'bs4' (BeautifulSoup) packages installed.
"""
import re
import os
@PSingletary
PSingletary / LUL.json
Last active December 24, 2023 19:43
FFZ settings
{"action":"chat","appearance":{"type":"text","text":"LUL","tooltip":"LUL"},"ctx":"hover","options":{"command":"LUL @{{user.displayName}}"},"display":{}}
@PSingletary
PSingletary / obs_twitch_chat.css
Created November 10, 2023 23:11 — forked from Bluscream/obs_twitch_chat.css
Twitch chat transparent popout for OBS
/*
Twitch chat browsersource CSS for OBS
Just set the URL as https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true
And paste this entire file into the CSS box
Original by twitch.tv/starvingpoet modified by github.com/Bluscream
General Settings
*/
body {
color: #FFFFFF!important;