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 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 |
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
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 |
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
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);} |
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
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 |