Skip to content

Instantly share code, notes, and snippets.

View jeshan's full-sized avatar
🏠
Always working from home

Jeshan Giovanni BABOOA jeshan

🏠
Always working from home
  • Independent
  • Mauritius
View GitHub Profile
@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
@xigh
xigh / extractgc.sh
Created February 5, 2019 08:12
Extracting LLVM bitcode from ELF files generated with -fembed-bitcode.
#!/bin/sh
if [ "*$1" == "*" ]; then
echo "usage: extract.sh src dst"
fi
if [ "*$2" == "*" ]; then
echo "usage: extract.sh src dst"
fi
@DavidWells
DavidWells / aws-lambda-redirect.js
Created June 28, 2018 20:48
How to do a 301 redirect from an AWS lambda function
exports.handler = (event, context, callback) => {
const response = {
statusCode: 301,
headers: {
Location: 'https://google.com',
}
};
return callback(null, response);
}
@csarron
csarron / scrcpy_shortcut.md
Created April 20, 2018 02:08
Scrcpy Shortcuts

Scrcpy Shortcuts

Action Shortcut
switch fullscreen mode Ctrl+f
resize window to 1:1 (pixel-perfect) Ctrl+g
resize window to remove black borders Ctrl+x | Double-click¹
click on HOME Ctrl+h | Middle-click
click on BACK Ctrl+b | Right-click²
click on APP_SWITCH Ctrl+m
@matti
matti / add.sh
Created July 29, 2017 11:12
alpine docker add package from edge testing
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
x11vnc
@mechcozmo
mechcozmo / IAM Permissions List.md
Last active November 5, 2026 06:51
A list of IAM permissions you can use in policy documents. Collected from the myriad of places Amazon hides them. (incomplete)
@kwilczynski
kwilczynski / disable-ipv6.sh
Last active December 22, 2025 00:41
Amazon Linux OS tweaks
#!/bin/bash
set -u
set -e
set -o pipefail
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf