This can be seen with my other projects, fxdeviantart, and fxtwitter they try to, as simply as possible, fix or try to greatly improve the quality of embeds from one site (DeviantArt and Twitter) to Discord clients, along with any other platform I can extend that support to.
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
# PowerWatch | |
# Monitor a directory for changes and upload the file to a filehost, then include a link to that file in a webhook. | |
# Daisy Universe [D] | |
# 05 . 08 . 24 | |
$filehost_url = "https://basedbin.fly.dev" | |
# You should point this to a trusted filehost. this script is set up to use https://github.com/wantguns/bin | |
$watch_path = "C:\Users\robins\Documents\PowerWatch" | |
# Pont this to your screenshots folder |
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
#!/bin/bash | |
# REQUIRES: inotify-tools, bash, curl | |
# Automatic Image Webhook Poster | |
# Detects when an image is created in a specific folder, uploads it to a filehost, and then posts the link in an Embed to a Discord webhook | |
# Essentially made just to allow for automatic minecraft screenshot uploads as soon as I press F2 | |
# Daisy Universe [D] | |
# 05 . 07 . 24 |
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
# who am i ? | |
# Simple flask server that checks the current fronter of a system and returns their name | |
# Daisy Universe [Tr] | |
# 04 . 24 . 24 | |
from pluralkit import Client | |
from flask import Flask | |
from flask_cors import CORS, cross_origin | |
from threading import Thread, current_thread | |
import asyncio |
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
#!/bin/sh | |
clipboard=`xclip -o` # Grab the contents of the clipboard | |
DLDIR="$1" # Takes whatever dir was passed to it and sets it to the downloads dir | |
OPEN="$2" # Is there a second arg? if there is, set OPEN to whatever it is | |
NAME="${clipboard##*/}" # Get everything past the last / | |
EXT="${NAME##*.}" # Grab the file extension by itself | |
NAME="${NAME%.*}" # Remove the file extension from the filename | |
NAME="${NAME////}" # Remove any possible remaining / chars |
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
#!/bin/bash | |
# Mousebutton action script made by Daisy Universe | |
# TODO: Write good code | |
normalScrot(){ | |
echo "Taking a normal screenshot and pasting it to your clipboard" | |
sleep 0.2 | |
scrot /tmp/clip.png -z --overwrite -s --freeze -e 'xclip -selection clipboard -target image/png -i $f' | |
cp /tmp/clip.png $HOME/Pictures/screenshots/`date +"%m-%d-%Y(%H:%M:%S)"`.png |
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
# Animate Job | |
# Show a ticker animation on any long winded jobs to it's not just a blank screen | |
# Pass args to this as $ArgumentList and access them in the job via $args[] | |
# Robin Universe [X] | |
# 02 . 23 . 23 | |
# ANIMATIONS | |
Function anim { # Run one animation cycle |
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
# Pretty Printer | |
# Robin Univere [R] | |
# 02 . 22 . 23 | |
function pretty{param($msg,$col)$i=0;foreach($pt in $msg){Write-Host "$pt" -NoNewline -ForegroundColor $col[$i]; $i++}Write-Host} | |
# Example Usage | |
$front = "Robin" | |
pretty " >>> ", "Creating registry entry signifying ", $front, " as current fronter" "Magenta", "Green", "White", "Green" |
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
#!/usr/bin/env python3 | |
# Licensed under the WTFNOPL | |
# Written by the Multiverse System, mostly Theta. | |
# Requires Tweepy & Mastodon.py modules | |
from mastodon import Mastodon | |
import tweepy | |
import os | |
import argparse |
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 discord | |
import random | |
import subprocess | |
import asyncio | |
import aiohttp | |
import logging | |
import json | |
import time | |
import sys | |
import os |
NewerOlder