This file contains hidden or 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
# 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:\\" |
This file contains hidden or 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
# Wake Room | |
# Leverage SCCM to wake any room | |
# Robin Universe [D] | |
# 04 . 29 . 25 | |
param( | |
[string]$SiteCode = "", | |
[string]$FQDN = "" | |
) |
This file contains hidden or 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
<!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 */ |
This file contains hidden or 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
[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] |
This file contains hidden or 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 | |
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 & |
This file contains hidden or 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
[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 |
This file contains hidden or 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
# 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 | |
) |
This file contains hidden or 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
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 |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
# 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 | |
) |
NewerOlder