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.”
View GitHub Profile
@bullishpip
bullishpip / claude-code-vscode-sidebar-setup.md
Created October 8, 2025 19:10
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 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 December 9, 2025 09:53
Ollama + Open-Webui + Nvidia/CUDA + Docker + docker-compose

image

UPDATE: This is tested and working on both Linux and Windows 11 used for LlaMa & DeepSeek

Here's a sample README.md file written by Llama3.2 using this docker-compose.yaml file that explains the purpose and usage of the Docker Compose configuration:

ollama-portal

A multi-container Docker application for serving OLLAMA API.

@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 December 27, 2025 05:31
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

@gptkrsh
gptkrsh / 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 December 30, 2025 05:22
/r/freemediaheckyeah, in one single file (view raw)
@SwitHak
SwitHak / 20211210-TLP-WHITE_LOG4J.md
Last active November 24, 2025 11:24
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/*/*