Golang 获取线程ID

11-02 3,786 views

package main import ( "bytes" "fmt" "runtime" "strconv" ) func main() { fmt.Println(getGID()) } func getGID() uint64 { ...
阅读全文 1

Linux 挂载 samba 目录

10-28 1,462 views

ubuntu mount -t cifs //120.24.217.174/share /mnt/share -o user=yourname,pass=yourpass,iocharset=utf8 censtos mount -t cifs //120.24.217.174/share ...
阅读全文 0

golang 不能获取命令行程序的输出

10-25 1,158 views

package main import ( "bufio" "bytes" "fmt" "os" "os/exec" "time" ) var cmd *exec.Cmd = exec.Command("TyphoonSocksClient...
阅读全文 0

golang cmd

10-13 1,016 views

cmd := exec.Command("TyphoonSync", `-home=config`, `-gui-apikey=123`) // 当前进程启动 // err := cmd.Run() // 异步启动 err := cmd.Start()
阅读全文 0

golang DES加密解密

10-08 1,709 views

http://www.iteye.com/topic/1122076/ package main import( "crypto/des" "crypto/cipher" "fmt" "bytes" ) func PKCS5Padding(cipherte...
阅读全文 0

QT 开发

10-04 1,113 views

安装 开源mingw32版 qml 与 c++交互 QWidget no such file or directory 在.pro文件中添加 QT += widgets QT Json http://qjson.sourceforge.net/usage/
阅读全文 0

Draft.js

10-03 1,095 views

阅读全文 0

Nuclide

10-03 739 views

阅读全文 0

Proxygen

10-03 954 views

阅读全文 0

libPhenom

10-03 769 views

阅读全文 0