原创 Qt的Layout學習記錄

使用Layout的一些Tips When you use a layout, you do not need to pass a parent when constructing the child widgets. The l

原创 Mpeg2 Learning Notes

一些記號 bslbf : Bit string, left bit first. ch : Channel. main_data : The main_data portion of the bit stream contains

原创 PostgreSQL常用命令

備份某表的數據到SQL文件(Insert形式) pg_dump -U postgres --table=export_table --data-only --column-inserts my_database > data.sq

原创 Nginx Notes

Nginx Notes Reverse Proxy Edit file conf/nginx.conf, add the following configurations to it: stream { server {

原创 C# Learning Notes

C# Learning Notes This is just learning notes on C# and CLR. Terminology CLR: Common Language Runtime. FCL: Framewo

原创 CSAPP學習筆記

數字的二進制表示 C中的類型轉化 當從一個較小的類型, 轉化爲一個較大的類型時, 先是進行大小轉換, 然後再進行符號的轉換. 也就是, 一個short -> unsigned int, 是先由short變爲int, 然後再轉化爲

原创 Emacs快捷鍵

CC Mode (C/C++) C-M-a C-M-e :     移動到所處函數的開始/結束處. M-a M-e :     移動到下一個語句的開頭/上一個語句的結尾. C-c C-c : comment-region C-u

原创 Ubuntu系統雜記

默認安裝的頭文件以及庫文件位置 默認頭文件安裝在目錄/usr/include裏, 默認庫文件在/usr/lib/x86_64-linux-gnu內.

原创 Effective Modern C++ Item Lists

Item 9 : Prefer alias declarations to typedefs. Item 10 : Prefer scoped enums to unscoped enums. Item 11 : Prefer del

原创 vim實用技巧

Copy and paste between different vim process v : visual mode :set paste : paste with no extra indent :set nopaste : r

原创 R Markdown使用技巧備忘

將一個chunk的輸出在運行完一起打印 results = "hold" ( chunk option )

原创 Interesting problems

Fibonacci numbers modulo n, the period.

原创 SQL命令類型

Data Definition Language (DDL) Data definite statements are used to define the structures of databases or tables. State

原创 圖論學習筆記

一些定義 breadth-first search(廣度優先搜索) : It operates by processing vertices in layers: the vertices closest to the start are

原创 正則表達式備忘

<regular expressions> 需要轉義的元字符(metacharactes) $ ( ) * + . ? [ \ ^ { | Note: 並不包括右方括號],連字符-和右花括號}。]與-只在有 [ 的情況下才成爲metac