Skip to content

Instantly share code, notes, and snippets.

View daisyUniverse's full-sized avatar
💭
🌟 ✨ 💖 💫 🌟

Daisy Universe daisyUniverse

💭
🌟 ✨ 💖 💫 🌟
View GitHub Profile
# Replacement Data Retrieval
# Retrieves data from replacement coms
# Also sends out an email to users via a input file and a CSV
# Robin Universe [D]
# 03 . 11 . 25
param (
[switch]$email,
[string]$CMDrive = "i dunno! im just a dog.",
[string]$csv = "replacements.csv",
# Semi Manually """"UPDATE"""" Visual Studio Community 2022 on some specific computers
# This is fucked up
# Robin Universe [D]
# 03 . 21 . 25
$coms = "C223_04","C223_05","A213_01"
foreach ($com in $coms){
$s = New-PSSession $com
echo " [$com]`tSTART"
#include <furi.h>
#include <input/input.h>
#include <furi_hal_gpio.h>
#include <furi/core/log.h>
#define GPIO_BUTTON_UP &gpio_ext_pa7
#define GPIO_BUTTON_DOWN &gpio_ext_pa6
#define GPIO_BUTTON_LEFT &gpio_ext_pa4
#define GPIO_BUTTON_RIGHT &gpio_ext_pb3
#define GPIO_BUTTON_OK &gpio_ext_pb2
#include <furi.h>
#include <input/input.h>
#include <furi_hal_gpio.h>
#include <furi/core/log.h>
#define GPIO_BUTTON_UP &gpio_ext_pa7
#define GPIO_BUTTON_DOWN &gpio_ext_pa6
#define GPIO_BUTTON_LEFT &gpio_ext_pa4
#define GPIO_BUTTON_RIGHT &gpio_ext_pb3
#define GPIO_BUTTON_OK &gpio_ext_pb2
#include <furi.h>
#include <input/input.h>
#include <furi_hal_gpio.h>
#include <furi/core/log.h> // Include logging library
// Global queue handle
static FuriMessageQueue* input_queue = NULL;
static int32_t gpio_input_worker(void* context) {
UNUSED(context);
@daisyUniverse
daisyUniverse / nuke-sophos.ps1
Created February 15, 2025 21:06
Powershell script that interfaces with SCCM to wipe out faulty Sophos installs
# Nuke-Sophos
# obliterate all sophos installations in a specified SCCM device group
# Robin Universe [D]
# 02 . 14 . 25
param (
[string]$collectionName,
[string[]]$TestComputers
)
@daisyUniverse
daisyUniverse / powerwatch.ps1
Created May 10, 2024 14:45
Powershell script that automatically uploads fresh minecraft screenshots to discord using webhooks
# 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
@daisyUniverse
daisyUniverse / watch.sh
Created May 8, 2024 01:41
Bash script that automatically uploads fresh minecraft screenshots to discord using webhooks
#!/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
@daisyUniverse
daisyUniverse / whoami.py
Last active April 24, 2024 19:54
whoami - simple Flask server that returns who in a PluralKit system is fronting
# 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
@daisyUniverse
daisyUniverse / clipDL
Created July 17, 2023 04:42
ClipDL: Script to automatically download / edit content from any URL in your clipboard
#!/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