原创 Golang 連接 SQL Server
package main import ( "database/sql" "fmt" . "github.com/soekchl/myUtils" _ "github.com/soekchl/odbc_for_google"
原创 Golang API 類型 Get
package main import ( "encoding/json" "fmt" "net/http" "strconv" . "github.com/soekchl/myUtils" ) type Student
原创 Windows 批處理啓動程序
開啓程序 start "" "test.exe" 關閉程序 taskkill /f /im test.exe 關閉提示 @echo off只需要按照需求寫進記事本 保存的時候後綴改爲 xx.bat 就可雙擊運行
原创 golang pprof 更多詳細內容
package main import ( "log" "net/http" "net/http/pprof" "strings" ) func main() { mux := http.NewServeMux() pa
原创 linux 中 man 查看 C++函數的方法
正常查找是 man std::iostream 以這種類型來查看 man namespace::header man 命名空間:
原创 一個表中數據插入到另一個表中
1、表結構相同 跳過重複 INSERT ignore INTO scc_batchd(number,bid) SELECT number,2 from scc_batch2 2、表結構相同 不跳過重複 INSERT INTO sc
原创 Ubuntu 啓動進入命令行模式
1: 運行 sudo gedit /etc/default/grub 2: 找到 GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 3: 改爲 GRUB_CMDLINE_LINUX_D
原创 Golang + MYSQL + Bee 數據庫連接和操作
// tsetMysql project main.go package main import ( "strings" "time" "github.com/astaxie/beego/orm" . "github.com/
原创 gcc,gdb,makefile
gcc 預處理,編譯,彙編,連接 步驟 gdb 單步調試功能講解 簡單 makefile 編寫 收藏於 2013-09-04
原创 C# Winform ListView 雙緩衝開啓
class ListViewNF : System.Windows.Forms.ListView { public ListViewNF() {
原创 ubuntu windows7 雙系統的 grub.conf
Windows7 啓動 menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os { insmod part_msdos
原创 Golang http Get 和 Post
// testHttpGetPost project main.go package main import ( "fmt" "io/ioutil" "net/http" "strings" . "
原创 git 簡單命令
1、代碼提交 git commit -am "註釋" 2、代碼上傳(代碼提交後必須上傳到服務器) git push 3、獲取網上git源代碼 git clone https://git.coding.net/test/test.git
原创 Golang Restful API
利用 Bee工具創建 Restful Api 創建 testApi 項目 bee api testApi運行項目 bee run -gendoc=true -downdoc=true 測試api地址 http://localhos
原创 mysql 多張表聯合查詢、一個字段 結構相同
方法1 select * from table1 union all select * from table2 方法2 select * from scc_cdr p1,scc_cdr p2 where p1.xuid = p2.xu