Skip to main content

First post using stackedit

Welcome to StackEdit! Hey! I’m your first Markdown document in StackEdit 1 . Don’t delete me, I’m very helpful! I can be recovered anyway in the Utils tab of the Settings dialog. Documents StackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible offline! Note: StackEdit is accessible offline after the application has been loaded for the first time. Your local documents are not shared between different browsers or computers. Clearing your browser’s data may delete all your local documents! Make sure your documents are synchronized with Google Drive or Dropbox (check out the Synchronization section). Create a document The document panel is accessible using the button in the navigation bar. You can create a new document by clicking New document in the document panel. Switch to another document All your local documents are listed in the document panel. You can switch from one to anoth

Tam Quốc diễn nghĩa thiên mạt thi

Cao Tổ đề kiếm nhập Hàm Dương,
Viêm viêm hồng nhật thăng phù tang.
Quang Vũ long hưng thành đại thống,
Kim ô phi thượng thiên trung ương.
Ai tai Hiến Đế thiệu hải vũ,
Hồng luân tây truỵ hàm trì bàng!
Hà Tiến vô mưu trung quý loạn,
Lương Châu Đổng Trác ký triều đường.
Vương Doãn định kế tru nghịch đảng,
Lý Thôi Quách Dĩ hứng đao thương.
Tứ phương đạo tặc như nghĩ tụ,
Lục hợp gian hùng giai ưng dương.
Tôn Kiên Tôn Sách khởi Giang Tả,
Viên Thiệu Viên Thuật hưng Hà Lương.
Lưu Yên phụ tử cư Ba Thục,
Lưu Biểu quân lữ truân Kinh Tương.
Trương Yên Trương Lỗ phách Nam Trịnh,
Mã Đằng Hàn Toại thủ Tây Lương.
Đào Khiêm Trương Tú Công Tôn Toản,
Các sính hùng tài chiêm nhất phương.
Tào Tháo chuyên quyền cư tướng phủ,
Lao lung anh tuấn dụng văn vũ.
Uy hiệp thiên tử lệnh chư hầu,
Tổng lĩnh mạo hưu trấn trung thổ.
Lâu Tang Huyền Đức bổn hoàng tôn,
Nghĩa kết Quan Trương nguyện phù chủ.
Đông tây bôn tẩu hận vô gia,
Tương quả binh vi tác ki lữ.
Nam Dương tam cố tình hà thâm,
Ngoạ Long nhất kiến phân hoàn vũ.
Tiên thủ Kinh Châu hậu thủ Xuyên,
Bá nghiệp đồ vương tại thiên phủ.
Ô hô tam tái thệ thăng hà,
Bạch Đế thác cô kham thống sở!
Khổng Minh lục xuất Kì Sơn tiền,
Nguyện dĩ chỉ thủ tương thiên bổ.
Hà kì lịch sổ đáo thử chung,
Trường tinh bán dạ lạc san ổ!
Khương Duy độc bằng khí lực cao,
Cửu phạt Trung Nguyên không cù lao.
Chung Hội Đặng Ngải phân binh tiến,
Hán thất giang san tẫn chúc Tào.
Phi Duệ Phương Mao tài cập Hoán,
Tư Mã hựu tương thiên hạ giao.
Thu Thiện đài tiền vân vụ khởi,
Thạch đầu thành hạ vô ba đào.
Trần Lưu quy mệnh dữ an nhạc,
Vương hầu công tước tòng căn miêu.
Phân phân thế sự vô cùng tẫn,
Thiên sổ mang mang bất khả đào.
Đỉnh túc tam phân dĩ thành mộng,
Hậu nhân bằng điếu không lao tao.

Comments

Popular posts from this blog

Sử dụng gcov để kiểm tra sourcecode

Sau khi hoàn thành source code, trong test phase, có thể chúng ta cần kiểm tra tập test case của chúng ta có coverage tất cả các trường hợp có thể xảy ra hay không, hành động này gọi là test code coverage. Có nhiều tool miễn phí cũng như có phí để thực hiện việc này, nhưng đơn giản nhất là sử dụng công cụ gcov đi kèm trong trình biên dịch gcc. Để đọc chi tiết hơn về gcov, bạn có thể vào http://gcc.gnu.org/onlinedocs/gcc/Gcov.html#Gcov, hoặc tìm kiếm với Google. Sử dụng gcov khá đơn giản, giả sử ta có 3 file a.c, b.c và c.c. Truy cập vào thư mục chứa 3 files này, gõ: gcc -fprofile-arcs -ftest-coverage a.c b.c c.c Mặc định gcc sẽ tạo ra file a.out trong thư mục hiện thời, cùng với 3 file a.gcno, b.gcno và c.gcno. Sau đó bạn chạy file a.out với các parameter cần thiết, sẽ tạo ra thêm 3 file a.gcda, b.gcda và c.gcda. Sau đó, giả sử cần phân tích file b.c, chúng ta gõ: gcov b.c Có hai tham số thường dùng là -b và -f: -b: thêm thông tin về branch trong code. -f: thêm thông tin về hàm. Thông

Getting started with Cryptpad in Ubuntu: step by step

Cryptpad is an open source collaborative editor which is hosted at: https://github.com/cjdelisle/cryptpad It is easy to clone the github repository and start to try, but if you are a newbie, there maybe some difficulties. Suppose that you have a clean Ubuntu machine, and want to try with Cryptpad, you can follow these steps: 1. Download mongodb for Linux: https://www.mongodb.org/downloads 2. Unzip the file you got to a location you want. You will start mongodb from there, or add this directory to your PATH variable so you can start mongodb from anywhere. 3. Suppose that you chose the easier way, i.e start mongodb from its directory. 4. Open Terminal (Ctrl + Alt + T for shortcut), move to the directory of mongodb 5. Type: mkdir db mongod --dbpath=./db These above commands will first, create a directory 'db' insider the directory mongodb, then start mongodb server. 6. Keep the terminal with mongodb server running 7. Open another terminal (Ctrl + Shift +

First post using stackedit

Welcome to StackEdit! Hey! I’m your first Markdown document in StackEdit 1 . Don’t delete me, I’m very helpful! I can be recovered anyway in the Utils tab of the Settings dialog. Documents StackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible offline! Note: StackEdit is accessible offline after the application has been loaded for the first time. Your local documents are not shared between different browsers or computers. Clearing your browser’s data may delete all your local documents! Make sure your documents are synchronized with Google Drive or Dropbox (check out the Synchronization section). Create a document The document panel is accessible using the button in the navigation bar. You can create a new document by clicking New document in the document panel. Switch to another document All your local documents are listed in the document panel. You can switch from one to anoth