Skip to content

Instantly share code, notes, and snippets.

@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
@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
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: ""
@surfernsk
surfernsk / bootstrap-5-user-calendar-scheduler-drag-drop.markdown
Created March 18, 2023 18:38
Bootstrap 5 - User calendar/scheduler - Drag & Drop
@fernandoaleman
fernandoaleman / how-to-install-and-run-clamav-on-centos7.md
Last active April 1, 2025 10:35
How to install and run ClamAV on CentOS 7

How To Install and Run ClamAV on CentOS 7

ClamAV is an open-source antivirus. It is used to detect viruses, trojans, and malware.

Install ClamAV

Install EPEL repository

yum install -y epel-release
@tomdaley92
tomdaley92 / README.md
Last active April 14, 2025 17:56
Proxmox - SPICE Client setup for MacOS

Proxmox - SPICE client setup for MacOS

  1. Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.

    brew tap jeffreywildman/homebrew-virt-manager
    brew install virt-viewer
  2. Once that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface

@si458
si458 / ubuntu_install_stuff
Last active November 18, 2024 11:39
ubuntu_install_stuff
#!/bin/bash
echo Starting ...
echo Setting Variables ...
MARIADB=10.11
NODEJS=22
PHPMYADMIN=5.2.1
ADMINER=4.8.1
PHP=8.3
@si458
si458 / openebs-uninstall.sh
Created February 9, 2021 14:08
openebs uninstall script
#!/bin/bash
# Copyright 2020 The OpenEBS Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@msabramo
msabramo / build_mac.sh
Last active February 20, 2025 00:32 — forked from SchizoDuckie/build_mac.sh
Build an OSX .pkg installer from Linux using mkbom and xar
#!/bin/bash
# change the values below to match your system.
# target the BUILD_DIR to output from an nw.io build process. nwjs-shell-builder recommended!
# https://github.com/Gisto/nwjs-shell-builder
# BASE_DIR is the target directory for this script, where files will be gathered and packaged to
BUILD_DIR="/var/www/deploy/TMP/osx-ia32/latest-git"
BASE_DIR="/var/www/deploy/osx" 
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active March 26, 2025 17:03
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat