Skip to content

Instantly share code, notes, and snippets.

View liijunwei's full-sized avatar
🎯
Focusing

junwei liijunwei

🎯
Focusing
View GitHub Profile
@chrisnordqvist
chrisnordqvist / init.lua
Created February 14, 2018 10:03
My hammerspoon config
logger = hs.logger.new('main')
--- functions
function open(name)
return function()
hs.application.launchOrFocus(name)
if name == 'Finder' then
hs.appfinder.appFromName(name):activate()
end
end
@dustin
dustin / tcpproxy.go
Last active March 20, 2025 00:47
hex dumping tcp proxy
package main
import (
"encoding/hex"
"flag"
"io"
"io/ioutil"
"log"
"net"
"os"