find . ! -name '*.apk*' -deleteunzip xxxx.apk -d ${target_dir}| set incsearch | |
| set hls | |
| set smartcase | |
| set ignorecase | |
| set visualbell | |
| set noerrorbells | |
| set easymotion |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "syscall" | |
| "unsafe" | |
| ) |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "io" | |
| ) |
govendor fetch github.com/nsqio/go-nsq/...go get github.com/nsqio/[email protected]| import os | |
| import socket | |
| s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
| s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) | |
| print('create socket') | |
| s.bind(('0.0.0.0', 19823)) |
| package utils | |
| import ( | |
| "regexp" | |
| "sort" | |
| "strings" | |
| ) | |
| // match html tag and replace it with "" | |
| func RemoveHtmlTag(in string) string { |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
| echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
| sudo apt update | |
| sudo apt install -y --allow-unauthenticated mongodb-org-shell |
| // pretty print for find() | |
| DBQuery.prototype._prettyShell = true |