Skip to content

Instantly share code, notes, and snippets.

View gowk's full-sized avatar
⛏️
Playing in the hole

gowk gowk

⛏️
Playing in the hole
View GitHub Profile
@wey-gu
wey-gu / omarchy-chinese-simplified-input-config.md
Created September 28, 2025 14:17
Omarchy Chinese Simplified Input Config
sudo pacman -S fcitx5 fcitx5-configtool fcitx5-gtk fcitx5-qt fcitx5-rime

# edit /etc/security/pam_env.conf
# add:

# FCITX input-related
GLFW_IM_MODULE          DEFAULT=fcitx
INPUT_METHOD DEFAULT=fcitx

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@davidfowl
davidfowl / .NET6Migration.md
Last active June 28, 2026 14:13
.NET 6 ASP.NET Core Migration
@evilH2O2
evilH2O2 / .Xresources
Last active April 10, 2024 09:38
[ArchLinux+I3wm] #config
! ------ ~/.Xresources -----
! 刷新配置: xrdb -merge ~/.Xresources
!
! ----- font ---
Xft.dpi:96
URxvt.font: xft:Inconsolata Nerd:size=11, xft:DejaVuSansMono Nerd:size=11, xft:Source Code Pro:size:9, xft:WenQuanYi Micro Hei:size=10
! DejaVuSansMono Nerd 和 Inconsolata Nerd 配合 Vim 插件 file icon
!URxvt.font: xft:Fira Code:size=10, xft:WenQuanYi Micro Hei:size=10
!字体间距
! URxvt.letterSpace: 1
@Justsoos
Justsoos / p.sh
Last active February 3, 2023 02:31
proxychains CLI wrapper (updated)
#!/bin/sh
# proxychains wrapper
# Choose pre-supposed profile with -1,-2,-3 OR appoint by -n proxy(Node)_ip(hostname):port and -p proxy_protocol and -q as quiet mode
# Default profile
proxy_hostname=127.0.0.1
proxy_port=1080
protocol=socks5
# profile 1
proxy_hostname_1=127.0.0.1
@3n21c0
3n21c0 / main.go
Last active June 21, 2026 12:51
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@Khoulaiz
Khoulaiz / gist:41b387883a208d6e914b
Last active December 3, 2025 13:13
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23
@kachayev
kachayev / concurrency-in-go.md
Last active September 23, 2025 16:12
Channels Are Not Enough or Why Pipelining Is Not That Easy

C#编码规范

概述

规范制定原则

  • 方便代码的交流和维护。
  • 不影响编码的效率,不与大众习惯冲突。
  • 使代码更美观、阅读更方便。
  • 使代码的逻辑更清晰、更易于理解。