原创 django 名詞解釋

1) 什麼是slug http://stackoverflow.com/questions/427102/what-is-a-slug-in-django 如上鍊接紅色部分就是slug,它就是鏈接的最後一部分,slug有一些特殊的格式要求

原创 WebSocket

百度百科解釋得很好就直接貼過來了 本詞條缺少信息欄、名片圖,補充相關內容使詞條更完整,還能快速升級,趕緊來編輯吧! WebSocket protocol 是HTML5一種新的協議。它實現了瀏覽器與服務器全雙工通信(full-

原创 qml

用qt很久了,但是一直沒有注意到一個叫做qml的東西,今天google了一下,總結一下我的理解。 從表面上看qml就是用css javascript那一套來做軟件的GUI,和原來的C++的widget之類的完全是兩個獨立的系統,它比較適合

原创 The Linux user login management (/etc/passwd and /etc/shadow files)

原文出自: https://www.ibm.com/developerworks/mydeveloperworks/blogs/58e72888-6340-46ac-b488-d31aa4058e9c/entry/the_linux_us

原创 valgrind massif檢測內存使用比例

http://valgrind.org/docs/manual/ms-manual.html 9. Massif: a heap profiler Table of Contents 9.1. Overview9.2. U

原创 django_table2

django-tables2 - An app for creating HTML tables django-tables2 turns data into HTML tables. Features: Pagin

原创 Research Topics TODO

http://www.zhihu.com/question/19621777 f you're starting from zero, definitely go for some books first. I'd recomm

原创 linux ctime/mtime/atime

linux使用ctime/mtime/atime 來標記文檔時間, ctime: c不代表create而是change的意思,比如文件內容的修改權限的修改都會改變ctime mtime:  m是modify的意思,和ctime唯一的區別

原创 sqlite3 腳本的使用

本來想找個專門查看數據庫的工具的,後來發現腳本也很簡單,就直接用腳本了。 sqlite3的腳本可以方便的查看當前數據庫裏的內容,使用起來其實很簡單,這一列舉一些最簡單的用法,以後如果有更多的應用再補充 1) 首先導入數據庫   sqli

原创 systemd概述

systemd是linux系統啓動各種服務的一種管理程序。歷史上linux有多種啓動服務的程序。 要理解linux的啓動的過程就離不開systemd,最早的linux中進程是從init開始順序啓動的,這個很慢,systemd的特點就是比較

原创 Linux x86 Program Start Up

HOME TUTORIALS PHOTOGRAPHY DEBUGGING STUFF <iframe frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolli

原创 爲什麼vector的remove_if實際上並沒有刪除元素,而要配合erase使用

Erase–remove idiom Motivation[edit] A common programming task is to remove all elements that have a certain value or