Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Custom Outlook Background Image
// @namespace https://paw.dev/
// @version 0.0.9
// @description Allows users to set their own custom background within Outlook!
// @author Faux
// @match https://outlook.office.com/*
// @match https://outlook.office365.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=office.com
// @updateURL https://gist.githubusercontent.com/TheFauxFox/b06a9f5f8310e2f8f1e92d024eaf083b/raw/CustomOutlookBackgroundImage.js
import requests, os, time, math, glob, argparse
from threading import Thread
from urllib.parse import urlparse
class Globals:
def __init__(self):
self.contained = {}
def put(self,name,value):
self.contained[name] = value
@TheFauxFox
TheFauxFox / master pragmaster.java
Last active November 28, 2018 18:54
I'm otnay ootay uresay why I idday isthay
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args) {
while(true) {
Scanner s = new Scanner(System.in);
String st = s.nextLine();
if(st.equals("")) {System.exit(0);}
@TheFauxFox
TheFauxFox / hx2st.sh
Created October 15, 2018 17:44
Converts hex to string, delimeter of " "
readarray -t arr <<< $@ #Read all args into readarray
for i in ${arr}; do #Loop over array
echo $i | xxd -r #Convert 0x65 to 'e'
done
echo #Echos newline to stop headaches