謝廣霖tftp serverI am frustrated with starting a tftp server on Ubuntu. I found a lot of blog to explain the problem about the xinted based service. There…May 20, 2017May 20, 2017
謝廣霖Resolve hostsI use pssh to batch the command of many servers. The pssh needs a file which contains a host list, a file called examplehost and like this:Mar 24, 2017Mar 24, 2017
謝廣霖golang Anonymous Functions and Closures這個方式可以讓你在同一個A func 的scope裡面,直接在某個函數裡面放入一個B func callback函數。 如果要在C語言裡面要放這種callback函數,必須在A func裡面某行先填入一個function pointer,然後等到A…Feb 11, 2016Feb 11, 2016
謝廣霖golang 多型運用# 案例一 一開始想找一個kay-value的儲存方式,先找到了一個gkvlite的開源項目。經過測試以後也覺得應該適用,於是使用了之後發現到它轉成json的方式好像不如預期。…Feb 11, 2016Feb 11, 2016