Skip to content

Instantly share code, notes, and snippets.

@irodion
irodion / gist:75f65ab38475e7a682e8cd5904efe040
Created May 2, 2025 17:04
Desktop Commander MCP + Claude Desktop setup
# Desktop MCP Connector Container & Claude Config
## Containerfile
```dockerfile
# ─── Builder Stage ───────────────────────────────
FROM node:22-alpine AS builder
# give Node a bit more heap for big builds
ENV NODE_OPTIONS="--max-old-space-size=1024"
@irodion
irodion / fix-wsl2-dns-resolution
Created March 25, 2023 09:47 — forked from coltenkrauter/fix-wsl2-dns-resolution.md
Fix DNS resolution in WSL2
More recent resolution:
1. cd ~/../../etc (go to etc folder in WSL).
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line).
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line).
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian).
5. cd ~/../../etc (go to etc folder in WSL).
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file).
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and
secondary.
@irodion
irodion / cmdergitwin.md
Created March 18, 2022 09:37
Cmder Git for Windows

Start Cmder. Settings -> Tasks. [+] Name: { Git Bash } Task parameters: /icon "C:\Program Files\Git\mingw64\share\git\git-for-windows.ico" /dir "D:" Command: "C:\Program Files\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i

@irodion
irodion / gist:81b2c814b39d4e55bf3896b2f578097d
Created June 16, 2019 06:37
Rasberry pi install newer Go
1. Look up the most recent go version:
https://golang.org/dl/
find "armv6"
Copy the download link:
https://dl.google.com/go/go1.x.x.linux-armv6l.tar.gz
@irodion
irodion / .vimrc
Created April 2, 2017 17:00
vim config
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
# use UTF8
set -g utf8
set-window-option -g utf8 on
# 256 colors
set -g default-terminal screen-256color
# history
set -g history-limit 10000