Skip to content

Instantly share code, notes, and snippets.

View PSingletary's full-sized avatar
🔍
Search

PSingletary PSingletary

🔍
Search
View GitHub Profile
@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;
@PSingletary
PSingletary / big-league-me.ts
Created September 30, 2023 14:57 — forked from nuklearfiziks/big-league-me.ts
big-league-me.ts
import dotenv from 'dotenv'
import { BskyAgent } from '@atproto/api'
import { ProfileView } from '@atproto/api/dist/client/types/app/bsky/actor/defs'
const bigLeagueMe = async () => {
dotenv.config()
// YOUR bluesky handle
// Ex: user.bsky.social
const handle = process.env.BSKYHANDLE || ''
@PSingletary
PSingletary / ybov_schedule.html
Created July 30, 2023 16:47
Carrd.co embed schedule with timezone adjustment
<style>
body {
color: #FFFFFF;
}
.schedule {
color: #FFFFFF;
font-family: 'Sora', sans-serif;
letter-spacing: 0.1rem;
width: calc(100% + 0.1rem);
@PSingletary
PSingletary / LUL.json
Last active July 17, 2023 13:26
FrankerFaceZ Chat Actions
{"action":"chat","appearance":{"type":"text","text":"LUL","tooltip":"LUL"},"ctx":"hover","options":{"command":"LUL @{{user.displayName}}"},"display":{}}
@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>
/*