Skip to content

Instantly share code, notes, and snippets.

View daylightnanalog's full-sized avatar

daylightnanalog

  • Kansas City
View GitHub Profile
@AshtakaOOf
AshtakaOOf / gui.md
Last active March 20, 2025 09:56
Stable Diffusion GUI list

⚠️ This list isn't maintained right now

Stable Diffusion GUIs list

I will try to redo this list because it's getting kind of bad

This will help me and hopefully other to get everything going and generate waifus images with Stable Diffusion, and maybe other txt2img things maybe.

I will probably add shields.io to make it more easier to read (maybe)

@Balder1840
Balder1840 / Microsoft.PowerShell_profile.ps1
Last active April 19, 2025 11:59
beautify windows terminal with powershell & cmder
# https://ohmyposh.dev/docs/faq
[Console]::OutputEncoding = [Text.Encoding]::UTF8
#$ExecutionContext.SessionState.LanguageMode = "FullLanguage"
#$ExecutionContext.SessionState.LanguageMode
$env:POSH_CONSTRAINED_LANGUAGE = 1
Import-Module PSReadLine
Import-Module posh-git
Import-Module oh-my-posh
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 21/04/21 01:05
Description: mouseClicked event handler
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft$WorldSelectionType
at net.minecraft.client.Minecraft.func_238192_a_(Minecraft.java:1685) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:itlt:CustomWindowTitle,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:randompatches.mixins.json:client.MinecraftMixin,pl:mixin:APP:charm.mixins.json:accessor.MinecraftAccessor,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.CreateWorldScreen.func_195352_j(CreateWorldScreen.java:260) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.CreateWorldScreen.lambda$init$11(CreateWorldScreen.java:205) ~[?:
@m90khan
m90khan / DOM.js
Last active January 18, 2023 17:07
JavsScript Basics 101 - Part 1
// document.title = "NOt JS";
// const header = document.getElementsByTagName("h2");
// //there will only be one ID
// document.getElementById("btn").style.backgroundColor = "red";
// const hero = (document.querySelector(".hero").style.backgroundColor = "salmon");
/*
Query selector vs rest
@WolvenSpirit
WolvenSpirit / gen.js
Created September 8, 2019 17:26
Generate html
/* --- generate html from json ---
* ~ A lot of things are taken for granted here. ~
* - ajax has content-type hardcoded as json
* - div have bootstrap container class and schema section key as id
* - inputs have bootstrap form-control class
* - each content is a separate div container
* Limited custom behavior can be made by writing in custom
*/
var custom = ()=>{
document.getElementById("product").className="";
@Tras2
Tras2 / cloudflare-ddns-update.sh
Last active August 18, 2025 04:46
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record
@Floofies
Floofies / bits.js
Last active January 18, 2023 17:30
A collection of small utility functions I have written over the years. Will receive updates.
/* Table Of Contents:
GeneratorFunction
The GeneratorFunction constructor, exposed.
isSetIterator
Returns true if the object is a bultin Set Iterator.
isMapIterator
Returns true if the object is a builtin Map Iterator.
iterableObject
Make a regular Object an iterable.
get
@lygaret
lygaret / index.js
Last active July 3, 2025 09:26
ES6 Quasi-Literal for JSX
define(function(require) {
var React = require('react');
var paramRegex = /__(\d)+/;
var parser = new DOMParser();
var errorDoc = parser.parseFromString('INVALID', 'text/xml');
var errorNs = errorDoc.getElementsByTagName("parsererror")[0].namespaceURI;
// turns the array of string parts into a DOM
// throws if the result is an invalid XML document.