Skip to content

Instantly share code, notes, and snippets.

View yowu's full-sized avatar

WU Yong yowu

  • Shanghai, China
View GitHub Profile
@yowu
yowu / .vimrc
Last active May 29, 2025 11:48
.vimrc
vim9script
# Basic Settings
set nocp # No compability
set number # Show line numbers
set tabstop=4 # Number of spaces for a tab
set shiftwidth=4 # Number of spaces for auto-indent
set expandtab # Use spaces instead of tabs
set ignorecase # Case-insensitive search
set smartcase # Case-sensitive if uppercase is used
@yowu
yowu / XipIoProxy.go
Created September 17, 2015 04:32
A Go Proxy which can help resolve local .xip.io address
package main
import (
"flag"
"github.com/elazarl/goproxy"
"log"
"net"
"net/http"
"regexp"
"strings"
@yowu
yowu / HttpProxy.go
Last active June 4, 2025 03:43
A simple HTTP proxy by Golang
package main
import (
"flag"
"io"
"log"
"net"
"net/http"
"strings"
)