Skip to content

Instantly share code, notes, and snippets.

View Technetium1's full-sized avatar
💭
If an immediate response is required, contact via Discord

Technetium1 Technetium1

💭
If an immediate response is required, contact via Discord
View GitHub Profile
Start-Process -FilePath "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -ArgumentList "http://captive.apple.com/hotspot-detect.html"
timeout /T 10 /NOBREAK
echo "ENDING EDGE!"
Get-Process -Name "*Edge*" | Stop-Process

Franks and Corn Bread Recipe:

Ingredients:

  • 2 cans Bush's country style baked beans (30-35oz total)
  • 1 package ballpark franks, halved lengthwise and diced (12-14 oz total)
  • 1 package corn bread or muffin mix (8.5oz total)
  • 1 TBSP brown sugar
  • 1 TBSP Worcestershire sauce
  • 1 TBSP mustard (can be fancy mustard for more flavor)
  • 1 CUP shredded cheddar cheese (4oz)
@Technetium1
Technetium1 / pyfiglet_test.py
Created November 24, 2020 01:19
Test all the pyfiglet fonts with a string. You should probably pipe the output to a file.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from time import sleep
import pyfiglet
with open("pyfigletfonts.txt", "r") as file:
fonts = file.read().splitlines()
for fonty in fonts:
@Technetium1
Technetium1 / MS DISABLE EDGE SCRIPT.bat
Last active August 6, 2020 20:05
I fucking hate Windows so much. This will fail because permanence is set to permanent in the manifest for KB4559309. This tool was inspired by the garbage at https://docs.microsoft.com/en-us/deployedge/microsoft-edge-blocker-toolkit
@ECHO off
ECHO MICROSOFT EDGE IS FUCKING GARBAGE! LET'S GET RID OF IT FOREVER!
ECHO
SLEEP 1
goto admincheck
:admincheck
ECHO CHECKING FOR ADMIN PERMISSION TO CONTINUE!
net session >nul 2>&1
// ==UserScript==
// @name JumpinChat Open Dyslexic Mono Font
// @version 1.0
// @description Uses Open Dyslexic Mono Font on jumpin.chat & jumpinchat.com
// @author https://github.com/Technetium1
// @updateURL 127.0.0.1
// @match https://jumpin.chat/*
// @match https://jumpinchat.com/*
// @grant GM_addStyle
// @run-at document-start
// ==UserScript==
// @name JumpinChat Roboto Mono Font
// @version 1.1
// @description Uses Roboto Mono Nerd Font on jumpin.chat & jumpinchat.com
// @author https://github.com/Technetium1
// @updateURL 127.0.0.1
// @match https://jumpin.chat/*
// @match https://jumpinchat.com/*
// @grant GM_addStyle
// @run-at document-start
This file has been truncated, but you can view the full file.
// ==UserScript==
// @name JumpinChat B612 Mono Nerd Font
// @version 1.0
// @description Uses B612 Mono Nerd Font on jumpin.chat & jumpinchat.com
// @author https://github.com/Technetium1
// @updateURL https://127.0.0.1
// @match https://jumpin.chat/*
// @match https://jumpinchat.com/*
// @grant GM_addStyle
// @run-at document-start
@Technetium1
Technetium1 / TINYCHAT_SUCKS.user.js
Created October 31, 2019 21:38
TC is dead, move to a better site
// ==UserScript==
// @name TC SUCKS
// @match https://tinychat.com/*
// @exclude https://tinychat.com/*?1*
// @exclude /.*tinychat\.com\/(settings|promote|gifts|subscription|coins|start|privacy\.|terms\.)([#\/].+)?/
// ==/UserScript==
(function() {
'use strict';
@Technetium1
Technetium1 / ExportGoogleDomainContacts.user.js
Last active October 11, 2019 01:22
Don't scroll too fast or it won't be able to keep up. Results can be retrieved from local storage.
// ==UserScript==
// @name Export Google Domain Directory Contacts
// @version 1.0
// @description Export Google Contacts Domain Directory to LocalStorage
// @match *://contacts.google.com/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
#!/usr/bin/env bash
sudo modprobe v4l2loopback exclusive_caps=1
ffmpeg -f x11grab -r 15 -s 1920x1080 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video2