Skip to content

Instantly share code, notes, and snippets.

View cawa0505's full-sized avatar

Jimmy Yen cawa0505

View GitHub Profile
@ashokvarmamatta
ashokvarmamatta / graphify-mcp-guide.md
Last active September 2, 2026 06:12
🧠 Make Your AI Coding Assistant 500x Smarter — Complete Guide to graphify + code-review-graph + MCP (Knowledge Graphs for Claude Code, Cursor, Windsurf)

🧠 Make Your AI Coding Assistant 500x Smarter

Stop Burning Tokens — Use Knowledge Graphs + MCP to Give AI a Map of Your Code

Typing SVG
@DaGeRe
DaGeRe / rx480llama.md
Last active November 21, 2025 09:00
Run llama.cpp on RX 480

Running llama.cpp on RX 480

Even though the RX 480 is not a very recent GPU, the 8 GB VRAM are quite decent and make it possible to run LLMs much faster than with the CPU.

To make it running, three steps are necessary: Installing vulkan, building shaderc and finally building lama.cpp including the vulkan backend (assuming git, a c compiler, cmake, ninja, etc. are installed on a sufficiently recent Ubuntu).

Step 1: Installing Vulkan

Run sudo apt install libvulkan-dev vulkan-tools glslang-tools.

@augustin-laurent
augustin-laurent / rocm_arch_guide.md
Last active August 18, 2026 04:56
ROCm Installation guide on Arch
Date of the guide : April, 2026

Introduction

In this post, I will provide the solution that worked on my system on how to install Radeon Open Compute (ROCm) on Arch (linux- 6.19.11.arch1-1) for RX 6900 XT (Should work on other 6000 series and more recent). ROCm is an open-source software platform that allows GPU-accelerated computation. This tool is a prerequist to use GPU Acceleration on TensorFlow or PyTorch.

Prerequisites

@jvelezmagic
jvelezmagic / main.py
Last active July 17, 2025 02:39
QA Chatbot streaming with source documents example using FastAPI, LangChain Expression Language, OpenAI, and Chroma.
"""QA Chatbot streaming using FastAPI, LangChain Expression Language , OpenAI, and Chroma.
Features
--------
- Persistent Chat Memory:
Stores chat history in a local file.
- Persistent Vector Store:
Stores document embeddings in a local vector store.
- Standalone Question Generation:
Rephrases follow-up questions to standalone questions in their original language.
@nomaster
nomaster / configuration.nix
Last active February 15, 2025 09:37
NixOS Configuration for experimental K3S cluster node
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@Vertecedoc4545
Vertecedoc4545 / Hyprland-Ubuntu.md
Last active August 6, 2026 14:48
Ubuntu 23.04 Build and Install instructions for Hyprland

Building on Ubuntu 23.04

You have 2 options, use the script descrived bellow or follow the instrutions

script in this gist if you want the source code

wget https://gist.githubusercontent.com/Vertecedoc4545/6e54487f07a1888b656b656c0cdd9764/raw/2c5e8ccb428fc331307e2f653cab88174c051310/build-ubuntu-23.sh
chmod +x build-ubuntu-23.sh
./build-ubuntu-23.sh
#!/bin/bash
set -e -o errexit -o pipefail -o nounset
###################################
# This script can be used by itself, but it's recommended that you read
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/
###################################
# Do not modify these variables (set by Proxmox when calling the script)
vmId="$1"
@ikrishagarwal
ikrishagarwal / setup-zsh-in-codespaces.md
Last active July 13, 2026 12:10
Setup starship, zsh suggestions and syntax highlight for your codespaces.
@mallendeo
mallendeo / 100.conf
Last active February 20, 2026 18:36
Windows 11 Gaming VM on Proxmox VFIO
##/etc/pve/qemu-server/100.conf
##Network and disks not included in this example
##Set halt_poll_ns
#set_halt_poll 0
##CPU pinning
#cpu_taskset 1-7
#assign_interrupts --sleep=10s 1-7 --all
agent: 1
@Zeioth
Zeioth / gist:d8c1fd75b5721c2170b4a2a5f19a986e
Last active May 8, 2026 21:34
Sway HiDPI settings (GTK/QT/Sway) - How to
set $cursor_size 54
```
# GTK
# This is the only place where you must set GTK scaling
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Matcha-dark-sea'
gsettings set $gnome-schema icon-theme 'Numix-Square'
gsettings set org.gnome.desktop.interface text-scaling-factor 2.73