Install packages:
pip install open-webui mlx-lm
Start Open WebUI server:
| # Helix-mode keybindings for Ghostty. | |
| # | |
| # Adapted from vim.ghostty https://gist.github.com/mitchellh/1c5be5c083a2315f22f1cb8f239e9dcd | |
| # Note: We're missing a number of actions to produce a better vim experience. | |
| # This is what is possible today! But we plan on adding more actions to make | |
| # this even better in the future. | |
| # Entry point | |
| keybind = alt+v=activate_key_table:helix |
| { | |
| // go away copilot and other ai slop machines | |
| "accessibility.verbosity.inlineChat": false, | |
| "accessibility.verbosity.panelChat": false, | |
| "ansible.lightspeed.suggestions.waitWindow": 360000, | |
| "chat.agent.enabled": false, | |
| "chat.agent.maxRequests": 0, | |
| "chat.commandCenter.enabled": false, | |
| "chat.detectParticipant.enabled": false, | |
| "chat.disableAIFeatures": true, |
| #!/usr/bin/env bash | |
| counter=1 | |
| echo "demo: error state" | |
| while [ $counter -le 25 ]; do | |
| printf "\x1b]9;4;2;${counter}\x07" | |
| ((counter++)) | |
| sleep 0.1 | |
| done | |
| echo "demo: normal state" |
| "use client"; | |
| import { useState, useEffect, useRef } from "react"; | |
| function SimpleRecordButton() { | |
| const [isRecording, setIsRecording] = useState(false); | |
| const [audioStream, setAudioStream] = useState(null); | |
| const [mediaRecorder, setMediaRecorder] = useState(null); | |
| const [audioBlob, setAudioBlob] = useState(null); | |
| const [recordingTime, setRecordingTime] = useState(0); | |
| const timerRef = useRef(null); |
This guide will show you how to download, compile and install the nvidia-legacy-340xx-driver on Debian 12. Some people install the driver directly from sid but this will mix packages from both stable and unstable which may create issues. It's recommended to update and upgrade your system before you start.
| // | |
| // VolumePopupView.swift | |
| // | |
| // Created by Alex Rosenberg on 1/24/24. | |
| // | |
| import SwiftUI | |
| import AVFoundation | |
| import MediaPlayer |
| local wezterm = require 'wezterm' | |
| local themes = {} | |
| for k, _ in pairs(wezterm.get_builtin_color_schemes()) do | |
| table.insert(themes, k) | |
| end | |
| local fav_themes = { | |
| "SweetTerminal (Gogh)", | |
| "PaulMillr", |