Skip to content

Instantly share code, notes, and snippets.

View PSingletary's full-sized avatar
🔍
Search

PSingletary PSingletary

🔍
Search
View GitHub Profile
@PSingletary
PSingletary / expand.js
Last active December 21, 2024 13:02
expand account switcher
// ==UserScript==
// @name Bluesky Account Switcher
// @namespace http://tampermonkey.net/
// @version 2024-11-20
// @description Automatically expands account switcher on Bluesky settings page
// @author https://github.com/aliceisjustplaying
// @match https://bsky.app/*
// @run-at document-start
// @icon https://www.google.com/s2/favicons?sz=64&domain=bsky.app
// @grant none
@PSingletary
PSingletary / like-bomb.js
Last active December 21, 2024 12:59
bookmarklet to userscript conversion of Like-bomb
// ==UserScript==
// @name 💞💣
// @namespace http://tampermonkey.net/
// @version 2024-12-21
// @description like all loaded posts on bsky.app
// @author https://PSingletary.me
// @license MIT
// @downloadURL https://gist.githubusercontent.com/PSingletary/fdb6e121890e044b6310e8b5fc4039e7/raw/0dd909abbe2f71771a53400fff493ab50887914b/like-bomb.js
// @updateURL https://gist.githubusercontent.com/PSingletary/fdb6e121890e044b6310e8b5fc4039e7/raw/0dd909abbe2f71771a53400fff493ab50887914b/like-bomb.js
// @match https://bsky.app/*
@PSingletary
PSingletary / 0.md
Created December 19, 2024 16:44 — forked from b0o/0.md
Bluesky Starter Pack List Adder

Install UserScript Follow Me

2024-12-18_21-22-05_region_re.mp4
@PSingletary
PSingletary / bsky_user_stats.rb
Created September 7, 2024 19:19 — forked from mackuba/bsky_user_stats.rb
Script to check how much given Bluesky users post daily on average
#!/usr/bin/env ruby
begin
require 'minisky'
rescue LoadError
puts "Install minisky: '[sudo] gem install minisky'"
exit 1
end
require 'time'
@PSingletary
PSingletary / Bootstrap-OBS.ps1
Last active October 19, 2024 17:31
OBS-bootstrapper
# Function to check and install Python
function Install-Python {
if (-not (Get-Command python -ErrorAction SilentlyContinue)) {
Write-Output "Python not found. Installing..."
$pythonInstaller = "https://www.python.org/ftp/python/3.10.2/python-3.10.2-amd64.exe"
$installerPath = "$env:TEMP\python-installer.exe"
Invoke-WebRequest -Uri $pythonInstaller -OutFile $installerPath
Start-Process -FilePath $installerPath -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -NoNewWindow -Wait
Remove-Item $installerPath
Write-Output "Python installed."
@PSingletary
PSingletary / chatterino_calling_streamlink.md
Last active August 17, 2024 10:31
Streamlink in chatterino
@PSingletary
PSingletary / minimal BRB.json
Created July 30, 2024 03:52
OBS Scene - BRB
{
"sources": [
{
"prev_ver": 503447554,
"name": "Twitch Gradient",
"uuid": "1f296c6e-bd5b-480d-968e-e47c8d2a3176",
"id": "gradient_source",
"versioned_id": "gradient_source",
"settings": {
"width": 1920,
@PSingletary
PSingletary / chatterino-UMBRA.json
Last active July 15, 2024 04:13
Cyberpunk Themes
{
"colors": {
"accent": "#00aeef",
"messages": {
"backgrounds": {
"alternate": "#1e1d43",
"regular": "#0f0d22"
},
"disabled": "#352A6060",
"highlightAnimationEnd": "#00e6e6e6",
@PSingletary
PSingletary / SimCity4.md
Last active June 17, 2024 22:32
Sim City 4 Deluxe reference

Commandline options

-w -intro:off -CustomResolution:enabled -r1600x1200x32 -CPUCount:2 -CPUPriority:high -Cursors:fullcolor

  • -AllowMultipleInstances
  • -audio:off : Turns all the audio output off
  • -BackgroundLoader:on/off : Background Loading
  • -CodePage:id : Sets the code page portion of the locale for the C runtime library. Normally, the code page is determined by the language the application runs in (see the -l command line option)
  • -ConfigLog:server | off : Sets the destination of where to write the computer configuration log specified by the -WriteLog command line option. By default, the server is "studiotech.max.ad.ea.com".
  • -CPUCount:X
  • -CPUPriority:low
  • -Cursors:disabled/bw/color16/color256/fullcolor : Sets the color depth of the game cursors. Some hardware doesn't like some cursor color depths.
@PSingletary
PSingletary / delete-follow-orphans.ts
Created June 14, 2024 13:32 — forked from mary-ext/delete-follow-orphans.ts
bluesky delete orphaned follows
import { Agent } from '@externdefs/bluesky-client/agent';
import type { Records, RefOf } from '@externdefs/bluesky-client/atp-schema';
const BSKY_USERNAME = '';
const BSKY_PASSWORD = '';
const agent = new Agent({ serviceUri: 'https://bsky.social' });
await agent.login({ identifier: BSKY_USERNAME, password: BSKY_PASSWORD });
const did = agent.session!.did;