Skip to content

Instantly share code, notes, and snippets.

View loftwah's full-sized avatar
💭
“Any sufficiently advanced technology is equivalent to magic.”

Dean Lofts loftwah

💭
“Any sufficiently advanced technology is equivalent to magic.”
  • Melbourne, Australia
View GitHub Profile
@bullishpip
bullishpip / claude-code-vscode-sidebar-setup.md
Last active August 8, 2026 12:02
Adding Claude-Code Visual Studio Code extension to Chat Panel

How to Configure Claude Code Extension in Visual Studio Code Side Panel

Last Updated: October 7, 2025
Extension Version Tested: Claude Code for VS Code v2.0.10

This guide will help you set up the Claude Code extension in Visual Studio Code's side panel for easy access. You can also use this process for other chat extentions like Codex.

Prerequisites

VPS Setup Script for Bun Applications

An automated setup script for deploying Bun applications on a VPS with Nginx reverse proxy, SSL, and PM2 process management.

Features

  • 🚀 One-command setup for Bun applications
  • 🔒 Automatic SSL certificate configuration via Let's Encrypt
  • 🔄 Nginx reverse proxy with optimized settings
  • 📊 PM2 process management
@usrbinkat
usrbinkat / README.md
Last active August 16, 2026 18:13
Ollama + Open-Webui + Nvidia/CUDA + Docker + docker-compose

⚠️ This gist is archived development continues at usrbinkat/dmr

Thank you to everyone who starred, forked, commented, and reported issues here. The troubleshooting sections, model profiles, and deployment patterns in the new repository were informed by this community.

The new repository carries forward everything from this gist and adds:

  • Docker Model Runner — run Qwen3.8-27B via Docker Compose with no Ollama dependency
  • OpenCode integration — thin path from Docker Model Runner to local agentic coding via OpenCode
  • Platform install guides — tested Linux setup (Docker Engine + DMR + NVIDIA CUDA), macOS and Windows coming
  • All 12 Ollama model profiles from this gist, plus Open-WebUI integration
@joeldrapper
joeldrapper / keymap.json
Last active March 27, 2025 23:43
My Zed Config
[
{
"context": "Editor",
"bindings": {
"alt-up": "editor::SelectLargerSyntaxNode",
"alt-down": "editor::SelectSmallerSyntaxNode",
"ctrl-cmd-up": "editor::MoveLineUp",
"ctrl-cmd-down": "editor::MoveLineDown"
}
}
@alexrudall
alexrudall / #ChatGPT Streaming.md
Last active June 22, 2026 02:22
ChatGPT streaming with ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind!

How to add ChatGPT streaming to your Ruby on Rails 7 app!

This guide will walk you through adding a ChatGPT-like messaging stream to your Ruby on Rails 7 app using ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind. All code included below!

Want more content like this, for free? Check out my free book, RailsAI!

Alt Text

@suitupstan
suitupstan / readme.md
Created January 14, 2023 04:09
Hubber API Design

API Design

API

This is a draft on how we can design the API for EddieHubCommunity/LinkFree.

LinkFree consists of 4 main data models:

  1. User Profile
  2. User Link
@rssws
rssws / install-k8s-flannel-debian+ubuntu.bash
Last active June 28, 2024 06:55
Install k8s + flannel on debian / ubuntu for master / worker node
install_docker () {
distro=$(cat /etc/*-release | grep DISTRIB_ID | awk -F '=' '{print $2}' | awk '{print tolower($0)}')
distroList=("debian" "ubuntu")
if [[ -n "${distro}" ]]; then
if [[ " ${distroList[*]} " =~ " ${distro} " ]]; then
echo "Installing kubernetes on $distro"
else
echo "Upsupported system distro: ${distro}"
echo "<distro> must be one of: ${distroList[*]}"
@taskylizard
taskylizard / fmhy.md
Last active September 9, 2026 13:56
/r/freemediaheckyeah, in one single file (view raw)
@SwitHak
SwitHak / 20211210-TLP-WHITE_LOG4J.md
Last active September 14, 2026 17:39
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-20 2238 UTC

Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great resources

  • Royce Williams list sorted by vendors responses Royce List
  • Very detailed list NCSC-NL
  • The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List
// ==UserScript==
// @name GitHub - Header Sticky On Top
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Vic P. @ https://vic.onl/
// @match https://github.com
// @match https://github.com/*/*
// @match https://gist.github.com/*
// @exclude https://gist.github.com/*/*