Skip to content

Instantly share code, notes, and snippets.

@uui-dev
uui-dev / whisperx.md
Created April 29, 2026 06:52
Use batch_size = 3 to be able to use whisperx with large-v3 model in RTX 3050 Laptop 4GB VRAM

whisperx --model large-v3 --batch_size 3 --compute_type int8 --language id --no_align audio.mp3

@uui-dev
uui-dev / custom-install.sh
Created April 28, 2026 16:52
Stable Diffusion Webui custom install script using uv in a virtual disk and different model location
#!/bin/bash
IMG_DIR=/run/media/user/img
IMG_SIZE=7G
INSTALL_DIR=/mnt
MODEL_DIR=/run/media/user/models
echo "Starting the installation of Stable Diffusion WebUI..."
echo "Creating a disk image for Stable Diffusion WebUI..."
@uui-dev
uui-dev / install.sh
Created April 28, 2026 16:10
Stable Diffusion Webui 1.10.1 linux install script using uv
#!/bin/bash
echo "Starting the installation of Stable Diffusion WebUI..."
echo "Downloading Stable Diffusion WebUI version 1.10.1..."
curl -L -o stable-diffusion-webui-1.10.1.zip "https://github.com/AUTOMATIC1111/stable-diffusion-webui/archive/refs/tags/v1.10.1.zip"
echo "Unzipping the downloaded file..."
unzip stable-diffusion-webui-1.10.1.zip
@uui-dev
uui-dev / launch.sh
Created April 28, 2026 16:06
Stable Diffusion Webui 1.10.1 linux launcher using uv with 4GB VRAM
#!/bin/bash
SCRIPT_DIR="$(dirname "$0")"
cd $SCRIPT_DIR
uv run --script launch.py --xformers --medvram
@uui-dev
uui-dev / httpd-custom.conf
Created December 10, 2022 04:28
PEM HTTPD 2.4.51 configuration for PHP 7.3.33
LoadModule php7_module "C:/php/php7apache2_4.dll"
PHPIniDir "C:/php"
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
# Enable dir_module to use DirectoryIndex
DirectoryIndex index.php
@uui-dev
uui-dev / Product.xml
Last active September 3, 2022 05:38
.Net Framework 3.5 SP1 Product Manifest
<?xml version="1.0" encoding="utf-8" ?>
<Product
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
ProductCode="Microsoft.Net.Framework.3.5.SP1"
>
<!-- Defines list of files to be copied on build -->
<PackageFiles CopyAllPackageFiles="IfNotHomeSite">
<PackageFile Name="dotNetFX20\aspnet.msp" PublicKey="3082010A0282010100A2DB0A8DCFC2C1499BCDAA3A34AD23596BDB6CBE2122B794C8EAAEBFC6D526C232118BBCDA5D2CFB36561E152BAE8F0DDD14A36E284C7F163F41AC8D40B146880DD98194AD9706D05744765CEAF1FC0EE27F74A333CB74E5EFE361A17E03B745FFD53E12D5B0CA5E0DD07BF2B7130DFC606A2885758CB7ADBC85E817B490BEF516B6625DED11DF3AEE215B8BAF8073C345E3958977609BE7AD77C1378D33142F13DB62C9AE1AA94F9867ADD420393071E08D6746E2C61CF40D5074412FE805246A216B49B092C4B239C742A56D5C184AAB8FD78E833E780A47D8A4B28423C3E2F27B66B14A74BD26414B9C6114604E30C882F3D00B707CEE554D77D2085576810203010001" />
@uui-dev
uui-dev / bootstrapper_packages_directories.txt
Last active September 3, 2022 04:59
Bootstrapper Packages Directories
Visual Studio Bootstrapper Packages directories:
1. Visual Studio 2022 Community Edition
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\BootstrapperPackages
2. Visual Studio 2019 Community Edition
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\BootstrapperPackages
3. Visual Studio 2015 Community Edition
C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper