Skip to content

Instantly share code, notes, and snippets.

View loopyd's full-sized avatar

Robert Michael Smith loopyd

View GitHub Profile
@loopyd
loopyd / BlAse.ps1
Last active October 23, 2023 08:13
[BlAse.ps1] Autonomous Single-File Aseprite Build Tool
################################################################################
#
# BLASE - AUTOMATED AESPRITE BUILDING FOR WINDOWS
#
# Created by loopyd <[email protected]>
# Version: 1.0.0
# License: Unlicense (https://unlicense.org/)
#
# ==============================================================================
# Inferred from Blep - the draconic windows automation tool
@loopyd
loopyd / blep.ps1
Last active August 10, 2023 06:53
[Powershell] Blep.ps1 - ShadowPC setup in the Draconic Way.
<#
----------------------------------------------
Blep - Draconic keystroke saver for ShadowPC
==============================================
Author: LoopyD <[email protected]>
Version: 1.1.0
License: Unlicense (https://unlicense.org)
----------------------------------------------
INRODUCTION
@loopyd
loopyd / Remove-HPbloatware.ps1
Created August 5, 2023 04:54 — forked from mark05e/Remove-HPbloatware.ps1
Remove HP bloatware
# ██████╗ ███████╗███╗ ███╗ ██████╗ ██╗ ██╗███████╗ ██╗ ██╗██████╗
# ██╔══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██║██╔════╝ ██║ ██║██╔══██╗
# ██████╔╝█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗ ███████║██████╔╝
# ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██║██╔═══╝
# ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗ ██║ ██║██║
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝
#
# ██████╗ ██╗ ██████╗ █████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ███████╗
# ██╔══██╗██║ ██╔═══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝
# ██████╔╝██║ ██║ ██║███████║ ██║ ██║ █╗ ██║███████║██████╔╝█████╗
@loopyd
loopyd / run.ps1
Created May 17, 2023 10:56
[PowerShell] Simple Azure DevOps pipeline executor
# Author: Robert Smith <loopyd@github> | Date Created: 2023-05-17 | License: DBAD Public License vv1.1 09-2016
#
# Description: This script will create a pipeline in Azure DevOps, and run it.
#
# Usage: run.ps1 -Organization https://dev.azure.com/organization -Project ProjectName
# -Repository RepositoryName -RepositoryType github -Branch master -PATToken <PATToken>
# -PipelineName PipelineName -YAMLFilePath /path/to/yaml/file
# -ConfigFilePath /path/to/config/file -DeleteExistingPipeline $true -BuildStage BuildStageName
#
# Parameters:
@loopyd
loopyd / NoesisViewManager.cs
Last active May 27, 2023 00:53
[Unity 3D] [Corgi Engine] [NoesisGUI] [Component] NoesisView Manager - Corgi Singleton
/* **********************************************************************************************************************
NoesisViewManager.cs - A lightweight Noesis singleton ribbon for NoesisView pool management - Release 1.1.0
Copyright (C) 2023 DeityDurg / LoopyD / Saber7ooth
DBAD Licensed -> Please read LICENSE: section for details
**********************************************************************************************************************
FEATURES (current):
- Single component on the Manager prefab does it all
- Queries accelerated by LINQ compile time optimizations (can handle a lot of NoesisView components)
@loopyd
loopyd / catmull-rom.glsl
Last active December 9, 2022 09:36
[GLSL] Catmull-rom as expressed by ChatGPT
// As expressed by ChatGPT -> https://openai.com/blog/chatgpt/
// Calculates a point along a Catmull-Rom spline
// given a set of control points, a tension parameter,
// and a step value in the range [0, 1].
vec2 catmullRom(vec2 p0, vec2 p1, vec2 p2, vec2 p3, float t, float tension) {
vec2 a = 0.5 * (tension * (p2 - p0) + 2.0 * p1 + tension * (p3 - p1)) * t * t * t +
(2.0 * tension * p0 - 3.0 * tension * p1 + (tension + 2.0) * p2 - tension * p3) * t * t +
(tension * p1 + p3 - tension * p2) * t +
2.0 * p1;
@loopyd
loopyd / starfield.sh
Created October 12, 2022 23:12
[ANSI Art] Starfield
#!/bin/bash
# Have an ascii starfield a really half ass one I wrote while drunk. It looked good
# while i was drinking, now i'm sober and it has problems and so do I please don't tell my husband.
#
# Just call:
#
# msg_anim 'Pooping is healthy' 'Moved the bowels today!' 30
#
# and it will be gone after 30 seconds.
@loopyd
loopyd / freshclam.conf
Created October 8, 2022 11:18
[ClamAV] freshclam.conf for Windows
DatabaseDirectory "E:\Program Files\ClamAV\database"
UpdateLogFile "E:\Program Files\ClamAV\freshclam.log"
LogFileMaxSize 2M
LogTime yes
LogVerbose yes
LogSyslog yes
LogFacility LOG_MAIL
LogRotate yes
PidFile "E:\Program Files\ClamAV\freshclam.pid"
DNSDatabaseInfo current.cvd.clamav.net
@loopyd
loopyd / calmd.conf
Created October 8, 2022 11:17
[ClamAV] clamd.conf for Windows
# YouTube Config ClamAV
LogFile "E:\Program Files\ClamAV\clamd.log"
#LogFileUnlock yes
LogFileMaxSize 2M
LogTime yes
LogClean yes
LogVerbose yes
LogRotate yes
PreludeEnable yes
@loopyd
loopyd / install.sh
Created October 4, 2022 05:28
[Script] Unattended installation in WSL (Custom Installer)
#!/bin/bash -ie
########################################################################################
## kinky-ui installer by saber7ooth#7527 - Release 1.3.3
########################################################################################
##
## CREDITS AND GREETZ:
##
## CompVis (required citation under the RAIL license): https://github.com/CompVis/stable-diffusion
## Official Stable Diffusion Discord: https://discord.gg/stablediffusion
## HuggingFace: https://huggingface.co/