Skip to content

Instantly share code, notes, and snippets.

@danielherken
danielherken / setup.sh
Created April 22, 2026 08:39
Ubuntu AMD Ryzen AI Max Server Setup
#!/bin/bash
# ========================================================
# 🚀 2026 KI-SERVER SETUP: OPENCLAW + OLLAMA + WEBUI
# ========================================================
echo "========================================================"
echo "Starte Installation auf Ubuntu 24.04 LTS (Noble Numbat)..."
echo "========================================================"
@danielherken
danielherken / sample.cs
Last active December 14, 2015 03:19
URL2Picture.com Sample
string Apikey = "Your-api-key";
string Secret = "Your-secret";
string UrlPart = "apikey=" + Apikey + "&url=http://www.nytimes.com&browser=CHROME";
MD5 md5Hasher = MD5.Create();
byte[] data = md5Hasher.ComputeHash(Encoding.Default.GetBytes(UrlPart + Secret));
StringBuilder sBuilder = new StringBuilder();
for (int i = 0; i < data.Length; i++)
{
sBuilder.Append(data[i].ToString("x2"));