Skip to content

Instantly share code, notes, and snippets.

View kb1ns's full-sized avatar

Kachinsky kb1ns

  • Asgardia
View GitHub Profile
@kb1ns
kb1ns / config.el
Last active December 10, 2023 08:42
doom emacs config backup
;; doom config.el
(add-to-list 'initial-frame-alist '(fullscreen . maximized))
(map! "C-x =" #'enlarge-window)
(setq doom-theme nil)
(custom-set-faces
'(default ((t (:background "#083642"
:foreground "#73B839"))))
@kb1ns
kb1ns / dict.sh
Created December 6, 2017 02:44
Linux/Mac shell dictionary
# add this to .zshrc/.bashrc
alias youdao='ydict(){w3m -dump "http://dict.youdao.com/search?q=$1" | grep "go top" -A 100 | tail -n +3 | more};ydict'
@kb1ns
kb1ns / socks5.go
Created November 5, 2017 10:43
socks5 server
package main
import (
"log"
"net"
"strconv"
)
type connection interface {
Bind(conn net.Conn)