Skip to content

Instantly share code, notes, and snippets.

View mjrdnk's full-sized avatar
👋

Maciej Jordanek mjrdnk

👋
View GitHub Profile
#!/usr/bin/env bash
# claude-omlx — run Claude Code as a UI for a local omlx server.
#
# Builds on the env-var profile from https://github.com/vitorallo/claude-code-local
# (the 15 problems it documents), but keeps omlx as the backend instead of
# vllm-mlx (omlx is forked from vllm-mlx, adds paged-SSD KV cache, and is
# actively maintained for Claude Code).
#
# Token lives in macOS Keychain — service "claude-omlx", account "omlx":
# security add-generic-password -s claude-omlx -a omlx -w '<token>' -U
@mjrdnk
mjrdnk / gist:bd6b0fc3cb9b07194c6ee07493023cf3
Created April 30, 2026 16:54
Macbook international keyboard: right option + backspace to delete to mimic Logitech mx mini keyboard fn key placement
Edit ~/.config/karabiner/karabiner.json and add this to the complex_modifications.rules array of your active profile:
{
"description": "Right Option + Backspace → Forward Delete",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
https://github.com/anthropics/skills
https://github.com/obra/superpowers
https://github.com/VoltAgent/awesome-claude-code-subagents
https://github.com/OthmanAdi/planning-with-files
https://github.com/huangserva/skill-prompt-generator
@mjrdnk
mjrdnk / README.md
Created March 16, 2017 22:11 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@mjrdnk
mjrdnk / reverse-geocode-geohash.js
Last active May 3, 2017 15:20
Reverse Google Maps geocoding with geohash for area of 3-letter hash accuracy
let NodeGeocoder = require('node-geocoder');
let geohash = require('latlon-geohash');
const options = {
provider: 'google',
httpAdapter: 'https',
apiKey: process.env.GOOGLE_MAPS_KEY,
formatter: null
};