This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# | |
# |b9 b8 b7| | |
# |b6 b5 b4| | |
# |b3 b2 b1| | |
# ---------- | |
# |u1 u2 u3| | |
# |u4 u5 u6| | |
# |u7 u8 u9| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"net" | |
"strconv" | |
) | |
type connection interface { | |
Bind(conn net.Conn) |