Skip to content

Instantly share code, notes, and snippets.

View jcanfield's full-sized avatar
💭
If I don't reply quickly, please try me on Twitter/X at @creativeboulder

Joshua Canfield jcanfield

💭
If I don't reply quickly, please try me on Twitter/X at @creativeboulder
View GitHub Profile
@jcanfield
jcanfield / autologinnickserv2.mrc
Last active July 28, 2026 22:59
mIRC Identification Script (by Gekkie)
; Auto-login and Highlight script
; by Gekkie (revisions by dev_zero)
; Copy into Remotes (Alt+R)
on *:START:{
if (!$hget(ns_secure)) hmake ns_secure 10
}
alias ns.setpass {
var %p = $input(Enter your NickServ password:, p, NickServ Password)
@jcanfield
jcanfield / yahoo-com_20260725.log
Created July 25, 2026 19:15
Yahoo.com Adblock Error
Thank you for reaching out to us regarding the issue. To help us resolve the problem, please provide the following information:
- Which Adblock are you using? :
- Are you using VPN or custom DNS settings? :
- Screenshot of the website:
- Screenshot of the browser extension list:
================================================
Error message: Failed to fetch script: Error: TypeError: Failed to fetch
@jcanfield
jcanfield / steamos-add-to-steam
Created July 22, 2026 21:38 — forked from wallentx/steamos-add-to-steam
SteamOS CLI scripts
#! /bin/sh
set -e
add_to_steam() {
encodedUrl="steam://addnonsteamgame/$(python3 -c "import urllib.parse;print(urllib.parse.quote(\"$1\", safe=''))")"
touch /tmp/addnonsteamgamefile
steam "$encodedUrl"
}
@jcanfield
jcanfield / gow2-setup.sh
Last active July 23, 2026 21:45
Setting up Gears of War 2 Hollow Installer/Launcher on SteamOS (ArchLinux)
#!/usr/bin/env bash
set -euo pipefail
# Alright, so assuming you already own a copy of Gears of War 2 and have the data file, as a ZIP, ready to roll-- here are a few steps
# for setting up on linux using Winetricks and Steam
# Setting sudo password if needed
echo "Setting up environment..."
passwd || true
@jcanfield
jcanfield / setup-steamos.sh
Created June 11, 2026 22:17
SteamOS Setup Script
#!/bin/bash
# Setup SteamOS script
# SYNOPSIS- The goal with this script is to use a one-time setup script with commands that increase security and install common apps.
# Also to setup/install SteamOS related tools like Decky
# Shoutout to @sharkusmanch for the initial starting point
set -euo pipefail
YELLOW=$'\033[1;33m'
RED=$'\033[0;31m'
@jcanfield
jcanfield / Perplexity-Ai-output.20260410.log
Last active June 30, 2026 19:33
Perplexity AI Output (Bug)
We have 1 tool call only this turn actually search_web. Need answer with citations every sourced sentence. User says "So, I store my key in Bitwarden which I host on private VPS". Need respond likely contextual risk assessment, not definitive. Need direct answer, maybe state that is reasonable if Bitwarden setup secure but compromises of vault or unlocked clients expose key. Cite from tool outputs: Bitwarden security FAQ says all vault data E2E encrypted and self-hosted server cannot access by anyone except user. Synacktiv says high privilege server breach doesn't immediately expose all secrets but metadata and 2FA tokens can be exposed; backup DB exfiltration exposes emails, 2FA tokens? Let's be careful. Could say self-hosting does not negate Bitwarden's zero-knowledge design but the server becomes additional attack surface. Synacktiv article snippet says robust password manager self-hosting; attacker gaining high privileges does not immediately gain access to all secrets, but exfiltrating backup DB exposes
@jcanfield
jcanfield / weechat_crash_20260129_87921.log
Created January 29, 2026 20:34
weechat_crash_20260129_87921.log
This file has been truncated, but you can view the full file.
[2026-01-29 13:15:34] WeeChat 4.5.1 (compiled on Jan 20 2025 14:39:42)
[2026-01-29 13:15:34] Writing configuration file sec.conf (default options)
[2026-01-29 13:15:34] Reading configuration file sec.conf
[2026-01-29 13:15:34] Writing configuration file weechat.conf (default options)
[2026-01-29 13:15:34] Reading configuration file weechat.conf
[2026-01-29 13:15:34] Writing configuration file plugins.conf (default options)
[2026-01-29 13:15:34] Reading configuration file plugins.conf
[2026-01-29 13:15:34] Writing configuration file charset.conf (default options)
[2026-01-29 13:15:34] Reading configuration file charset.conf
@jcanfield
jcanfield / VSCode_Marketplace_Tutorial.md
Created October 23, 2025 22:46 — forked from anxkhn/VSCode_Marketplace_Tutorial.md
Enable Marketplace on non MS VSCode Forks.

Enabling VS Code Marketplace in VSCodium and Trae

Microsoft claims Visual Studio Code (VS Code) is open source, yet it restricts the use of its Marketplace extensions in non-Microsoft products like VSCodium (telemetry/tracking free open source fork), Cursor, Windsurf, Trae, and other VS Code-based IDEs, enforcing what some see as monopolistic control. This guide provides a workaround to enable the VS Code Marketplace in VSCodium and Trae (more to be added soon), allowing you to freely use extensions. Note that using the VS Code Marketplace with non-Microsoft products may violate its terms of use, which state that extensions are intended for use only with Microsoft Visual Studio products. Proceed at your discretion after reviewing the terms.


Enabling VS Code Marketplace in VSCodium

To configure VSCodium to use the VS Code Marketplace instead of the default OpenVSX Registry, you can either set environment variables or create a custom product.json file.

@jcanfield
jcanfield / Portfolio-Associates.blocked.csv
Last active October 24, 2025 18:02
Phone Numbers (USA) that Portfolio Recovery Associates, LLC Use To Harrass Americans
First Name Middle Name Last Name Phonetic First Name Phonetic Middle Name Phonetic Last Name Name Prefix Name Suffix Nickname File As Organization Name Organization Title Organization Department Birthday Notes Photo Labels Phone 1 - Label Phone 1 - Value
Blocked Calls Imported on 9/23 ::: Unwanted Callers ::: * myContacts Portfolio Recovery Associates +18007721413 ::: +18887727326 ::: +18663225258 ::: +18006548818 ::: +12054234137 ::: +18559651508 ::: +12396428598 ::: +16782651568 ::: +17704622198 ::: +17573216280 ::: +17573216278 ::: +17608494216 ::: +18008755104 ::: +17026377273 ::: +14128844940 ::: +14049418938 ::: +18446753407 ::: +13473942384 ::: +14698081472 ::: +18778030008 ::: +18884694520 ::: +17273273328 ::: +17273477828 ::: +18132213328 ::: +19413663328https://gist.github.com/jcanfield/3a63110ecf97f63c3a59534b98f01b6f/edit
@jcanfield
jcanfield / stubby.yml
Created September 24, 2025 20:27 — forked from sepsemi/stubby.yml
Dns over tls (unbound + stubby)
resolution_type: GETDNS_RESOLUTION_STUB
round_robin_upstreams: 1
tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
tls_query_padding_blocksize: 256
edns_client_subnet_private: 1
idle_timeout: 9000
listen_addresses:
- 127.0.0.1@8053
- 0::1@8053
dns_transport_list: