Skip to content

Instantly share code, notes, and snippets.

View avarayr's full-sized avatar
🏠
Working from home

Avarayr avarayr

🏠
Working from home
View GitHub Profile
@avarayr
avarayr / altermail.sh
Created January 30, 2022 08:08
Fix AltPlugin.mailbundle after MacOS updates
#!/bin/sh
# Check if running as root
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
token=`cat /System/Applications/Mail.app/Contents/Info.plist | grep -A1 "PluginCompatibilityUUID" | grep string | sed 's/<string>//' | sed 's/<\/string>//'`
path="/Library/Mail/Bundles/AltPlugin.mailbundle/Contents/Info.plist"
// ==UserScript==
// @name Powerschool graphing
// @version 1.0
// @author You
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.18.2/babel.js
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.16.0/polyfill.js
// @require https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js
// ---------------------------------------------------------------
// ------------------ UPDATE THE URL YOURSELF --------------------
// @match https://powerschool.*.net/guardian/scores.html?*
@avarayr
avarayr / cmd.bat
Last active July 10, 2023 21:01
Fake cmd for scambaiting
REM Replace this file with cmd.exe in C:\Windows\System32\
@echo off
title C:\WINDOWS\system32\cmd.exe
echo Microsoft Windows [Version 10.0.16299.309]
echo (c) 2017 Microsoft Corporation. All rights reserved.
echo.