Skip to content

Instantly share code, notes, and snippets.

View primaryobjects's full-sized avatar

Kory Becker primaryobjects

View GitHub Profile
@primaryobjects
primaryobjects / hotspot-keepalive.bat
Last active May 14, 2026 03:42
Script to Enable Windows 10 Wifi Mobile Hotspot Automatically and Keep Alive on Disconnect
PowerShell -Command "Set-ExecutionPolicy Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1
PowerShell C:\Users\YOUR_USERNAME\Desktop\hotspot-keepalive.ps1 >> "%TEMP%\StartupLog.txt" 2>&1
@primaryobjects
primaryobjects / tplink-archer-tx20u-plus.md
Last active May 8, 2026 03:33
How to install TP-Link Archer TX20U Plus USB Wifi Adapter on Linux Minut
@primaryobjects
primaryobjects / openclaw.json
Created February 7, 2026 18:33
OpenClaw configuration file openclaw.json for clawdbot / moltbot.
{
"meta": {
"lastTouchedVersion": "2026.2.3-1",
"lastTouchedAt": "2026-02-07T18:20:24.416Z"
},
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-PLACEHOLDER"
},
"wizard": {
"lastRunAt": "2026-02-07T01:25:45.128Z",
@primaryobjects
primaryobjects / paypal.txt
Last active March 18, 2026 12:59
Bypass the annoying PayPal interstitial ad to login directly to your account. Simply append the following to the PayPal.com domain: /us/cgi-bin/webscr?cmd=_account
https://paypal.com/us/cgi-bin/webscr?cmd=_account
@primaryobjects
primaryobjects / hotspot-keep-alive.ps1
Last active March 8, 2026 15:48
Script to Enable Windows 10 Mobile Hotspot Automatically After Reboot
# https://superuser.com/a/1434648
Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
$netTask = $asTask.Invoke($null, @($WinRtTask))
$netTask.Wait(-1) | Out-Null
$netTask.Result
@primaryobjects
primaryobjects / screenshot.lua
Created February 24, 2026 03:58
FCEUX script to automatically capture screenshots from Nintendo (nes) roms
-- Download https://fceux.com/web/download.html
-- FCEUX 2.6.6 Qt/SDL win64 Binary
-- Usage:
-- .\qfceux.exe 1942.nes --loadlua ../luascripts/capture.lua
local frame = 0
local count = 0
while count <= 3 do
frame = frame + 1
@primaryobjects
primaryobjects / tplink-archer-t4u.md
Last active February 14, 2026 06:42
Steps to Install the TP-Link Archer T4U Plus AC1300 USB WiFi Adapter on Linux Mint
@primaryobjects
primaryobjects / cardano-crawl.ipynb
Last active January 31, 2026 18:44
Cardano Crawl - A Jupyter notebook to search metadata on the blockchain using interesting common keys.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@primaryobjects
primaryobjects / hello-world.ipynb
Created January 29, 2026 21:50
Save a message on the Cardano blockchain example using Python.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@primaryobjects
primaryobjects / game.js
Created January 18, 2026 23:31
Isometric Maze Walker 2D/3D Game
// Game variables
let scene, camera, renderer, player, coins = [], walls = [], score = 0;
const coinSound = new Audio('assets/coin-sound.wav');
const keys = {};
const textureLoader = new THREE.TextureLoader();
let snowflakes = [];
let controls;
let ground; // Reference to the ground plane
let groundTexture1, groundTexture2; // Global texture references
let playerInitialized = false;