Skip to content

Instantly share code, notes, and snippets.

@0xallie
0xallie / altermail.sh
Created March 15, 2023 23:11 — forked from avarayr/altermail.sh
Fix SideloadlyPlugin.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/SideloadlyPlugin.mailbundle/Contents/Info.plist"
@0xallie
0xallie / btn-site-tags.md
Last active May 29, 2022 12:54 — forked from rlaphoenix/btn-site-tags.md
BTN Site Tags
Site/Network Abbreviation
9Now 9NOW
A&E AE
ABC (AU) iView AUBC
ABC (US) AMBC
Adult Swim AS
Al Jazeera English AJAZ
All4 (Channel 4, ex-4oD) ALL4
Amazon AMZN
@0xallie
0xallie / pallas.sh
Last active April 7, 2021 14:58 — forked from Siguza/pallas.sh
newstyle OTA
#!/bin/zsh
set -e;
incr=false;
if [ "$1" = '-i' ]; then
incr=true;
shift;
fi;
@0xallie
0xallie / entire_bee_movie_script
Created May 22, 2020 19:53 — forked from ozwaldorf/entire_bee_movie_script
The entire bee movie script
According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway because bees don't care what humans think is impossible. Yellow, black. Yellow, black. Yellow, black. Yellow, black. Ooh, black and yellow! Let's shake it up a little. Barry! Breakfast is ready! Ooming! Hang on a second. Hello? - Barry? - Adam? - Oan you believe this is happening? - I can't. I'll pick you up. Looking sharp. Use the stairs. Your father paid good money for those. Sorry. I'm excited. Here's the graduate. We're very proud of you, son. A perfect report card, all B's. Very proud. Ma! I got a thing going here. - You got lint on your fuzz. - Ow! That's me! - Wave to us! We'll be in row 118,000. - Bye! Barry, I told you, stop flying in the house! - Hey, Adam. - Hey, Barry. - Is that fuzz gel? - A little. Special day, graduation. Never thought I'd make it. Three days grade school, three days high school. Those were awkw
# -*- coding: utf-8 -*-
#
# Copyright 2014-2015, nyuszika7h <nyuszika7h@openmailbox.org>
# Copyright 2015, fwilson <fwilson@fwilson.me>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
#!/usr/bin/env python
# Quick and dirty IRC triviabot script
testing = False # test bot *offline* using stdin/stdout debug shell
lurkmode = False # "lurk" mode - ask questions infrequently
exec_shell = False
# - based somewhat on example code at http://www.osix.net/modules/article/?id=780
# - based on ircbot.ps by darkf
# - got some help from reading old stackoverflow pages: