Skip to content

Instantly share code, notes, and snippets.

@surfernsk
surfernsk / bootstrap-5-user-calendar-scheduler-drag-drop.markdown
Created March 18, 2023 18:38
Bootstrap 5 - User calendar/scheduler - Drag & Drop
@NickDarvey
NickDarvey / init.ps1
Last active May 28, 2025 20:58
VB6 on Windows 11
# Depends on
# ./msadc/msadcf.dll # https://stackoverflow.com/a/54931661/1259408
# ./msadc/msadcfr.dll
# ./msadc/msadcs.dll
# ./msvcrt/msvcrt20.dll # from a Windows 7 installation, for Crystal Reports only
# ./vb6/vb98ent.stf # attached in this gist, customizable with acost.exe
# ./vb6/vb6_1.iso # https://archive.org/download/en_vb6_ent_cd
# ./vb6/vb6_2.iso
# ./vb6/vb6_sp6.iso # https://my.visualstudio.com/downloads 'visual studio 6.0'
# ./vb6/updates/* # e.g. VB60SP6-KB2708437-x86-ENU.msi, VB60SP6-KB3096896-x86-ENU.msi
blueprint:
name: Add Hildebrand CAD Entities
description: Create devices and entities using MQTT discovery
domain: script
source_url: https://gist.github.com/si458/2a9ec8d0e2b07205e4859886cc5222b0
input:
input_cad_mac:
name: MAC Address
description: "MAC address of CAD (without :s)"
default: ""
@willglynn
willglynn / doc.md
Created November 1, 2023 00:18
Change SMBIOS UUID on AMI firmware PCs

PCs have SMBIOS data containing small amount of identifying information. One piece of information in this SMBIOS data is the universally unique identifier. Some PC and motherboard manufacturers fail to set this, often leaving the UUID set to 03000200-0400-0500-0006-000700080009.

If your system uses an AMI firmware (sometimes called AMIBIOS), you may be able to use AMI utilities to reset the UUID. Obtain AMIDEEFIx86.efi and an EFI shell executable, such as from inside m1ujt73usa.zip for the Lenovo ThinkStation P330 Tiny download center.

Once you have those two files, create USB drive with the FAT32 filesystem and the following structure:

\
  \AMIDEEFIx86.efi
  \efi
@maxfield-allison
maxfield-allison / virt-customize-ubuntu22
Last active May 28, 2024 14:20 — forked from si458/virt-customize-ubuntu24
virt-customize ubuntu22
#!/bin/sh
# Define storage variable
STORAGE=nas
# Install necessary tools
echo "Checking tools"
apt update -y && apt install nano wget curl libguestfs-tools -y
# Remove old image