Latest blog posts



         7 years ago  

转载 纽约时间比加州时间早三个小时, New York is 3 hours ahead of California, 但加州时间并没有变慢。 but it does not make Ca ...



         7 years ago  

It seems there is no official Linux driver for TP-Link T9E AC1900 fromTp-Link website. However, you can install Broadcom driver for this model. On Ubun ...




         7 years ago  

so.. my life as anaroxic girl started since i was 13 .. everyone in my life that love me said that i'm too young to have anaroxia nervosa... at first, ...



         7 years ago  

"Map lookup requires an equality operator, which slices do not implement. They don't implement equality because equality is not well defined on such ty ...



         7 years ago  

What is Kafka "Apache kafka is a distributed streaming platform. It lets you publish and subscribe to streams of records; it lets you store streams of ...



         7 years ago  

test ...



         7 years ago  

微服务(Microservice)是一种构建风格。它可以用来开发一个由多个小型服务构成的应用程序。每个小的服务能够运行在 ...



         7 years ago  

When editing a html file in vim, the http links are automatically underlined by default. To disable it do the following. $cp /usr/share/vim/vim72/synta ...



         7 years ago  

Sometimes I need to copy files from my windows laptop to my Linux server.  One easy way to do is to use pscp. pscp is an SCP client which can run on W ...



         7 years ago  

Golang's package expvar exp oses var iables via HTTP.  Operations on the exposed varibles are atomic. It can be used for the purpose of web page ana ...



         7 years ago  

~/.config/sxhkd/sxhkdrc file # # wm independent hotkeys # # terminal emulator alt + Return gnome-terminal # program launcher alt + space dme ...



         7 years ago  

Follow the instructions descibed in bspwm for dummies and https://github.com/baskerville/bspwm/wiki to install bspwm. Install dmenu. sudo apt-get ins ...



         8 years ago  

imagemagick software suite is used to processing images on Linux. It can be used to capture screen as well. $ sudo aptitude install imagemagick To ca ...



         8 years ago  

x ^ 0s = x x & 1s = x x & x = x x | x = x x | 0s = x x ^ 1s = ~x x ^ x  = 0s x & 0s = 0s x | 1s = 1s a ^ b ^ a = b a ^ b ^ b = a Shifting ...



         8 years ago  

Interface in Go is a type which provides a way to specify the behavior of objects: if something can do this, then it can be used here. So interface is ...



         8 years ago  

RPC server registers two paths ( /_goRPC_ and /debug/rpc ) and their handlers as HTTP server. The handler of /debug/rpc handles the http requests and ...



         8 years ago  

This is an example that access exported members from a unexported struct. // pk/pk.go package pk type point struct { X, Y int } func NewPoint(x, ...



         8 years ago  

1. strings.Reader func NewReader(s string) *Reader 2. bytes.Buffer implements io.Reader, io.Writer interface. func NewBuffer(buf []byte) *Buffer fun ...



         8 years ago  

func SHA1(s string) []byte { h := sha1.New() io.WriteString(h, s) v := h.Sum(nil) ...



         8 years ago  

init function is executed before main function and after all global variable declarations have evaluated (including the varibles and init functions de ...



Newer    Older