Skip to content

Instantly share code, notes, and snippets.

@nviet
nviet / stable-diffusion-webui-termux.md
Last active April 1, 2024 02:14
Install stable-diffusion-webui on Termux (Android) + PRoot

Install stable-diffusion-webui on Termux (Android) + PRoot

This will guide you on installing AUTOMATIC1111/stable-diffusion-webui on Termux (Android) + PRoot Distro. Make sure that you have a high-end phone to actually make this usable. On my phone with 8GB RAM, launch the webui alone take at least ~ 2 GB RAM, thus making it impossible to load any model and process further.

1. Prerequisites

First you have to install Termux and install PRoot. Then install and login to Ubuntu in PRoot

2. Installing AUTOMATIC1111/stable-diffusion-webui

@nviet
nviet / convert_Excel_externalLinks.html
Created August 22, 2023 10:00
Convert external link in Excel file to human-readable format
@nviet
nviet / php character map generator
Created April 10, 2013 11:49
Generates a character map contains selected characters in a TrueType font to an image
<?php
/**
* PHP Character Map Generator
*
* Generates a character map contains selected characters in a TrueType font
* to an image. Require PHP 5 or higher with GD extension enabled
*
* Example:
* <code>
* <?php