Skip to content

Instantly share code, notes, and snippets.

View Avaray's full-sized avatar
🙂
Looking for work

Avaray Avaray

🙂
Looking for work
View GitHub Profile
@Avaray
Avaray / index.html
Created January 17, 2024 14:04 — forked from bellbind/index.html
[chrome][android] BarcodeDetector example
<!doctype html>
<html>
<head>
<script type="module">
// WICG Shape Detection API
// - https://wicg.github.io/shape-detection-api/
try {
const start = document.getElementById("start");
const video = document.getElementById("video");
const result = document.getElementById("result");
@Avaray
Avaray / default.sh
Last active May 4, 2024 06:42
ai-dock/provisioning/default.sh
#!/bin/false
DISK_GB_REQUIRED=30
MAMBA_PACKAGES=(
#"package1"
#"package2=version"
)
PIP_PACKAGES=(
@Avaray
Avaray / default-pony.sh
Last active May 11, 2024 06:31
AI-Dock Provisioning Script - Pony Diffusion SDXL V6 - Starter with useful Lora's
#!/bin/bash
DISK_GB_REQUIRED=30
MAMBA_PACKAGES=(
#"package1"
#"package2=version"
)
PIP_PACKAGES=(
@Avaray
Avaray / BME280.py
Last active May 7, 2024 15:33
BME280 I2C Micropython Library for ESP32 based development boards
"""
BME280 I2C Micropython Library for ESP32 based development boards
Originally created by Foxdan
https://github.com/foxdan/ubme280
Modified by Avaray, including tiny cosmetic changes:
- using 'uctypes' instead of 'ctypes'
- using 'SoftI2C' instead of 'I2C' in example code
- using Pins 22 and 21 in example code