Skip to content

Instantly share code, notes, and snippets.

@azyu
azyu / mcp.json
Last active March 27, 2025 04:08
Cursor config (Running Cursor editor for Windows, running an MCP server on WSL2)
{
"mcpServers": {
"server-sequential-thinking": {
"command": "wsl",
"args": [
"bash",
"-c",
"'source /home/user/.nvm/nvm.sh && /home/user/.nvm/versions/node/v22.11.0/bin/npx -y @smithery/cli@latest run @smithery-ai/server-sequential-thinking --key xxxx'"
]
},

Delta VX-600VA Driver settings

driver = blazer_usb
subdriver = cypress
protocol = mustek
vendorid = 0665
productid = 5161
port = auto
@azyu
azyu / bsky_keyboard_shortcut.user.js
Last active September 7, 2024 03:15
Bluesky Keyboard Shortcut (for Tampermonkey)
// ==UserScript==
// @name Bluesky Keyboard Shortcut
// @namespace https://bsky.app/profile/azyu.bsky.social
// @version 0.13
// @description Bluesky Keyboard Shortcut
// @author Azyu (azyu.bsky.social)
// @match https://bsky.app/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bsky.app
// @grant none
// @updateURL https://gist.github.com/azyu/e72d6a4ff0da23876ab95a5be7d18490/raw/43fe4e703be2c7253973244e1996399f52ff7282/bsky_keyboard_shortcut.user.js
@azyu
azyu / .vimrc
Created June 28, 2022 17:13
neovim
call plug#begin('~/.config/nvim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdtree'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'kyazdani42/nvim-web-devicons'
Plug 'romgrk/barbar.nvim'
Plug 'Mofiqul/vscode.nvim'
@azyu
azyu / openssl_sha256.sh
Last active March 22, 2022 14:45
openssl sha256 sign / verify command line
openssl dgst -sha256 -sign private.pem -out text.txt.rsa text.txt
openssl dgst -sha256 -verify public.pem -signature text.txt.rsa text.txt
cat text.txt.rsa | base64
@azyu
azyu / cloud-init.yaml
Created February 15, 2022 07:17
cloud-init for multipass
---
repo_update: true
repo_upgrade: true
timezone: Asia/Seoul
locale: ko_KR.utf8
packages:
- zsh
- unzip
@azyu
azyu / k3s_cluster_on_windows.cmd
Last active February 15, 2022 07:18
Local kubernetes cluster on Windows (k3s)
@echo off
multipass launch -c 1 -m 4G -d 8G -n k3s-master 20.04 --cloud-init cloud-init.yaml
multipass exec k3s-master eval "curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE=644 sh -s -"
multipass launch -c 1 -m 2G -d 8G -n k3s-node-01 20.04 --cloud-init cloud-init.yaml
multipass launch -c 1 -m 2G -d 8G -n k3s-node-02 20.04 --cloud-init cloud-init.yaml
REM IPV4
multipass info k3s-master | for /f ="tokens=2" %a in ('findstr "IPv4"') do @echo %a > k3s_url.txt
@azyu
azyu / _ubuntu_2204_dev_settings.md
Last active June 18, 2022 13:01
Ubuntu 22.04 LTS 개발 설정

Ubuntu 20.04 LTS 개발 설정

최초 실행

> sudo apt-get update
> sudo apt-get upgrade

git 설치

> sudo apt-get install git git-lfs
@azyu
azyu / install_kube_on_ubuntu.md
Last active June 30, 2021 07:48
Install Kubernetes 1.21 on Ubuntu 20.04

install cri-o

# .conf 파일을 만들어 부팅 시 모듈을 로드한다
cat <<EOF | sudo tee /etc/modules-load.d/crio.conf
overlay
br_netfilter
EOF

modprobe overlay
modprobe br_netfilter