Skip to content

Instantly share code, notes, and snippets.

echo "amogus jarson script go brrrr"
echo "firewall is being lit on fire"
Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled True
echo "windows will start scanning automatically *some* of the time"
Set-ItemProperty -Path "HKLM:SOFTWARE\Microsoft\Windows Defender" -Name PassiveMode -Value 2 -Force
@CuboidRaptor
CuboidRaptor / bat2exe.py
Created July 15, 2023 23:17
stupid batch wrapper that wraps yoru scripts into an exe for convienience
# imports...?
import argparse
import os
import tempfile
import random
import time
import subprocess
import shutil
class FileNameError(Exception):
@CuboidRaptor
CuboidRaptor / AutoWrapTxt.py
Last active July 13, 2023 02:55
Auto wrap.
from Npp import notepad, editor # imports...?
from Npp import NOTIFICATION, MENUCOMMAND
from Npp import SCINTILLANOTIFICATION as SCN
# This plugin auto-adjusts Notepad++ word wrap for txt/new files.
import os
import re
# constants