Skip to content

Instantly share code, notes, and snippets.

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

Daisy Universe daisyUniverse

💭
🌟 ✨ 💖 💫 🌟
View GitHub Profile
@daisyUniverse
daisyUniverse / CADBUSTER.ps1
Created August 7, 2025 20:03
Leverage SCCM in transferring large folders over the network to a large device collection
# CAD BLASTER 25
# Copy some folders to the cad machines at all costs
# Robin Universe [S]
# 08 . 07 . 25
param(
[string]$Source,
[string]$Target = "temp\",
[string]$Collection = "CAD Computers",
[string]$Site = "ABC:\\"
# Wake Room
# Leverage SCCM to wake any room
# Robin Universe [D]
# 04 . 29 . 25
param(
[string]$SiteCode = "",
[string]$FQDN = ""
)
@daisyUniverse
daisyUniverse / index.html
Last active April 29, 2025 17:57
the worst fucking CSS you have ever seen (XP Photoreel web recreation)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Windows XP</title>
<style>
/* A war was fought here */
@daisyUniverse
daisyUniverse / blogsync.service
Last active April 22, 2025 18:34
BlogSync - a service + timer + script combo that periodically reads content from a folder, and then converts it to Jekyll formatting (changing the name, adding the file headers) and writes it to the appropriate blogs _posts folder
[Unit]
Description=Run a script to sync blog directory from NextCloud to my Jekyll blogs
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/daisy/blogsites
ExecStart=/usr/bin/python3 /home/daisy/blogsites/jekyllformatter.py
[Install]
@daisyUniverse
daisyUniverse / screenshot.sh
Created April 21, 2025 18:17
simple screenshot script that saves to a folder and copies image to your clipboard
#!/bin/bash
normalScrot(){
sleep 0.2
scrot /tmp/clip.png --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
}
windowScrot(){
sleep 0.2
scrot -u /tmp/Fclip.png -o && discho -u /tmp/Fclip.png -c general && cp /tmp/Fclip.png $HOME/Pictures/Screenshots/`date +"%m-%d-%Y(%H:%M:%S)"`.png &
@daisyUniverse
daisyUniverse / jekyll.service
Last active April 18, 2025 18:55
Copy all files from a local nextcloud accessible drive into a jekyll blog's post folder, add the date to the filename and write the header info to the target
[Unit]
Description=Jekyll Blog
After=network.target
[Service]
Type=simple
User=daisy
WorkingDirectory=/home/daisy/blog
ExecStart=/home/daisy/gems/bin/bundle exec jekyll serve
Restart=always
@daisyUniverse
daisyUniverse / screenbuffer.ps1
Created April 10, 2025 18:18
Continued experiments in creating a Powershell Screenbuffer
# Screenbuffer Experiments
# More experiments in learning how to implement a fast powershell screenbuffer
# Robin Universe [D]
# 03 . 05 . 25
param(
[switch]$stepthrough,
[switch]$cls,
[switch]$slow
)
@daisyUniverse
daisyUniverse / FPS.ps1
Created April 9, 2025 18:15
Powershell FPS Counter class
class FPSCounter {
[int]$FrameCount = 0
[System.Diagnostics.Stopwatch]$Stopwatch
[double]$LastTime = 0
[double]$FPS = 0
FPSCounter() {
$this.Stopwatch = [System.Diagnostics.Stopwatch]::new()
$this.Stopwatch.Start()
$this.LastTime = 0
@daisyUniverse
daisyUniverse / lapse.ps1
Last active March 29, 2025 13:11
Create a timelapse with Powershell and Task Scheduler
# Lapse!
# Create a timelapse of my desk
# The intention is for this to be triggered via Window's Task Scheduler, for example...
#
# action : <powershell.exe "-File C:\lapse\lapse.ps1"> (simply takes a capture and files away by time and date)
# trigger: At 6:00AM every day - After triggered, repeat every 5 minutes for a duration of 12 hours.
#
# action : <powershell.exe "-File C:\lapse\lapse.ps1" "-vid" "-zip"> (Combines all of today's pictures into a timelapse video, and then zips up the images)
# trigger: At 6:3PM every day
# Screenbuffer Experiments
# More experiments in learning how to implement a fast powershell screenbuffer
# Robin Universe [D]
# 03 . 05 . 25
param(
[switch]$stepthrough,
[switch]$cls,
[switch]$slow
)