Skip to content

Instantly share code, notes, and snippets.

@hkfuertes
hkfuertes / proxmox_alpine_lxc_ollama_igpu.md
Last active January 13, 2025 18:14
Alpine LXC Container with iGPU Ollama Server on Proxmox

How to setup an LXC container with AMD iGPU (Ryzen 7 5800H) passthrougth for Ollama in Proxmox

Proxmox

First we need to install the Alpine LXC, the easiest way is to use Proxmox Helper scripts: https://tteck.github.io/Proxmox/

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/alpine.sh)"

I would install in "advance" mode and be generous with the resources (8-16 cores, 16G ram, 128GB disk)

@Axel-Erfurt
Axel-Erfurt / PlutoTV_aktuell.m3u
Last active January 9, 2025 02:55
Pluto TV german Channels
#EXTM3U
#EXTINF:-1 tvg-name="World Poker Tour" group-title="Sport" tvg-logo="http://images.pluto.tv/channels/5ad9b7aae738977e2c312132/solidLogoPNG.png" tvg-id="",World Poker Tour
https://service-stitcher.clusters.pluto.tv/v1/stitch/embed/hls/channel/5ad9b7aae738977e2c312132/master.m3u8?deviceType=unknown&deviceMake=unknown&deviceModel=unknown&deviceVersion=unknown&appVersion=unknown&deviceLat=90&deviceLon=0&deviceDNT=TARGETOPT&deviceId=PSID&advertisingId=PSID&us_privacy=1YNY&profileLimit=&profileFloor=&embedPartner=
#EXTINF:-1 tvg-name="Explore" group-title="Dokus + Wissen" tvg-logo="http://images.pluto.tv/channels/5ad9b8551b95267e225e59c1/solidLogoPNG.png" tvg-id="",Explore
https://service-stitcher.clusters.pluto.tv/v1/stitch/embed/hls/channel/5ad9b8551b95267e225e59c1/master.m3u8?deviceType=unknown&deviceMake=unknown&deviceModel=unknown&deviceVersion=unknown&appVersion=unknown&deviceLat=90&deviceLon=0&deviceDNT=TARGETOPT&deviceId=PSID&advertisingId=PSID&us_privacy=1YNY&profileLimit=&profileFloor=&embedPartne
@SteveGotthardt
SteveGotthardt / VA-HC32-notes.md
Last active December 9, 2024 12:08
Voxelab Aquila HC32 Klipper
@JohannesDeml
JohannesDeml / README.md
Last active January 13, 2025 13:25
Batch convert images with inkscape on windows

Batch convert svg|pdf|eps|emf|wmf|ai|ps|cdr to eps|pdf|png|jpg|tiff|svg|ps|emf|wmf

Screenshot Batch converter for Windows using Inkscape with the command line
InkscapeBatchConvert is an easy to use solution to quickly convert all files of a folder to another type without the need to open Inkscape. The program uses Windows Batch scripting and will only work on Windows.
Tested with Inkscape 1.0.x - 1.3.x ✅ (The last version that supports Inkscape 0.9.x can be found here)

Usage

  1. Download _InkscapeBatchConvert.bat
  2. Put it in the folder where you have files you wish to convert (will also scan on all subfolders for files of input type).
  3. Then double click the file to start it.
@jhincapie
jhincapie / Util.KeyCodes.cs
Last active June 1, 2024 01:19
Mapping between Windows API virtual keyboard keyCodes and Unity KeyCode enum
using System.Collections.Generic;
using UnityEngine;
namespace Util
{
public class KeyCodes
{
public const int VK_ABNT_C1 = 0xC1;// Abnt C1
public const int VK_ABNT_C2 = 0xC2;// Abnt C2
public const int VK_ADD = 0x6B;// Numpad +
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
#include <PubSubClient.h>
//-------- Customise these values -----------
const char* homeSSID = "BTHub5-72W5";
const char* homePswd = "<homePswd>";
@DashW
DashW / ScreenRecorder.cs
Last active January 9, 2025 09:01
ScreenRecorder - High Performance Unity Video Capture Script
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
class BitmapEncoder
{
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData)