This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Teams Activity | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-08-29 | |
// @author Carcigenicate | |
// @match https://teams.microsoft.com/v2/ | |
// @grant none | |
// ==/UserScript== | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/env bash | |
# Attempts to set the mic profile to HFP since it randomly started defaulting to A2DP, which doesn't allow mic input | |
command="pacmd set-card-profile bluez_card.your_card handsfree_head_unit" | |
count=0 | |
maxCount=100 | |
output=$(eval $command) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 0 LOAD_CONST 0 (0) | |
2 LOAD_CONST 1 (('loads',)) | |
4 IMPORT_NAME 0 (json) | |
6 IMPORT_FROM 1 (loads) | |
8 STORE_NAME 1 (loads) | |
10 POP_TOP | |
2 12 LOAD_CONST 0 (0) | |
14 LOAD_CONST 2 (('choice',)) | |
16 IMPORT_NAME 2 (random) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Reply Saver | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Saves unposted top-level replies to localStorage, and restores them on nav back to the page. | |
// @author carcigenicate | |
// @match https://old.reddit.com/r/*/comments/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const obsArr = [ | |
'.', | |
'-', | |
'replaceAll', | |
'ip', | |
':', | |
'hostname', | |
'location', | |
'', | |
'unk.com', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Seed Counter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Counts seeds | |
// @author carcigenicate | |
// @match https://www.zeldadungeon.net/breath-of-the-wild-interactive-map?* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Subtitle Language Changer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Spawns a small textbox and button to easily allow changing YouTube's subtitle language. | |
// @author You | |
// @match https://www.youtube.com/watch* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from unittest import TestCase | |
from my_dataclass import MyDataclass | |
class BasicTestCaseBase(TestCase): | |
def setUp(self): | |
class TestClass(MyDataclass): | |
a: int | |
b: int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using namespace System.Net.Sockets | |
$Encoder = [System.Text.Encoding]::UTF8 | |
$SIZE_BUFFER_SIZE = 4 | |
$PROMPT = ">>> " | |
function Read-NBytes { | |
Param($Stream, $NToRead) |
NewerOlder