原创 UI Thread & Worker Thread

UI Thread & Worker Thread A process is an executing instance of an application. A thread is a path of execution wit

原创 消息循環不會導致cup使用率過高

BOOL WINAPI GetMessage(//阻塞型函數 _Out_ LPMSG lpMsg, _In_opt_ HWND hWnd, _In_ UINT wMsgFilterMin, _In

原创 讀書筆記-TheDeadLine

通往智慧的路啊,明白而簡單, 我們一錯再錯,一錯再錯, 但會越來越好,越來越好。 ——派特.海恩 優質管理的四大要素 1)選擇正確的人 2)爲他們分配正確的工作 3)保持他們的積極性 4)幫助團隊凝聚起來並保持團隊的凝

原创 MongoDB使用

本文參照https://docs.mongodb.com/manual/ 嘗試 1.下載https://docs.mongodb.com 找對應的windows版本,直接安裝 2.添加環境變量 D:\Program Files\M

原创 message-oriented sockets & byte stream-style sockets

Message Oriented protocols send data in distinct chunks or groups. The receiver of data can determine where one m

原创 socket網絡編程基礎

IP地址結果 在winsock中,APP通過SOCKADDR_IN結構來指定IP和Port信息, 其中的sin_zero只充當填充項,以使SOCKADDR_IN結構和SOCKADDR結構的長度一樣。 unsigned long

原创 C#基礎筆記

切套類的使用 There is no strong convention on using nested classes in C#, but I tend to use them when I need to define a

原创 window type

About Windows https://msdn.microsoft.com/en-us/library/windows/desktop/ms632597(v=vs.85).aspx About Window Classe

原创 PRISM基本知識

Prism框架是用於創建低耦合,易維護,易測試的應用的。最初由微軟開發,後提交給開源社區由開源社區維護的開源項目。每個平臺都有獨立的版本。 Prism實現了一系列的設計模式,有助於編寫well-structured和可維護的XAM

原创 IJG庫

網址:http://www.ijg.org/ Build過程: 1)下載源代碼:http://www.ijg.org/files/jpegsr9b.zip 2)解壓到:F:\IJG\jpeg-9b 3)運行vc命令提示

原创 使用 go-wkhtmltopdf 將html轉pdf

GoLand IDE創建go項目 這裏項目名稱爲 toPDF 添加main.go文件,添加main函數, 例子來自: https://github.com/adrg/go-wkhtmltopdf package main

原创 Hyper-v Ubuntu 設置分辨率

Hyper-v Ubuntu 設置分辨率Hyper-v Ubuntu root賬號vim設置分辨率 Hyper-v Ubuntu root賬號 安裝完ubuntu desktop版本,默認情況下,root賬號是關閉的。而要修改配置需要

原创 Linux tutorial 2 - centos 基本配置

1. Linux常識 1.1 版本 1.2 幫助命令: 1.3 命令執行時的查找路徑順序 2. 配置語言環境 3. 配置時區 3.1 查看日期/時間/時區:timedatectl 3.2 設置日期和/或時間:timedatect

原创 Rabbit MQ - tutorial 1:hello rabbit mq

Rabbit MQ RabbitMQ是一個消息代理:它接受和轉發消息。 你可以把它想象成一個郵局,RabbitMQ是郵箱,郵局和郵遞員。 Rabbit MQ Tutorial 1 - Hello Rabbit MQ Rabbit MQ