原创 函數式編程語言F#

文/高昂 作爲微軟支持的第一個函數式語言,F#在項目中被越來越多的開發者選用,8月的TIOBE排行榜,F#挺進前二十。 源於微軟研究院的F#語言因其優良的設計和強大的並行編程能力,正得到越來越多.NET開發者的選用。在8月的TIOBE語言

原创 Linux 中輕量級文本編輯器 nano

Nano是一個在Linux系統中普遍存在的輕量級文本編輯器,其使用非常方便,在任何一個終端中鍵入如下命令即可打開 nano 編輯器: $nano filename.txt nano 編輯器窗口分爲四個主要部分。 最頂部顯示當前 na

原创 Linux kernel ASLR Implementation

See here: http://xorl.wordpress.com/2011/01/16/linux-kernel-aslr-implementation/ linux2.6.27下的地址隨機分佈: cat /proc/se

原创 C Programming Tips

http://www.stanford.edu/~pgbovine/c-programming-tips.htm#debug-tips

原创 Linux下搜索指定目錄下文件中特定字符串並高亮顯示匹配關鍵詞

find ./ -name "*" | xargs grep --color=auto "mysql" 這是查找當前目錄下所有文件中包含mysql字符串的文件,並且高亮顯示mysql關鍵詞。 而auto則只在輸出到終端時才加上顏色。 可以

原创 How to reduce the font size of bibliography/reference

1.  {                                                                                             \footnotesize        

原创 Ubuntu11.10 kvm Fix: failed to find romfile "pxe-rtl8139.bin"

how to get pxe-rtl8139.bin ? While trying to boot image with network interface card "-net nic" with this command sudo

原创 應該知道的Linux技巧

原文鏈接:http://coolshell.cn/articles/8883.html 應該知道的Linux技巧 2013年1月9日陳皓 這篇文章來源於Quroa的一個問答《What are some time-saving tips

原创 一些鮮爲人知的但卻很有趣的Unix/Linux命令

原帖鏈接: http://www.diguage.com/archives/8.html   xargs 或者 parallel,從標準輸入中讀取信息作爲參數,初始化可執行命令,然後一次或多次運行該指令。可並行執行。 sed 和 awk,

原创 linux 下 讀取某個文件的某一行或者某幾行

wc -l  a.txt  統計a.txt 行數   查看文件a.txt的第190行到196行, sed -n '190,196p' a.txt 如果查看某一行用 sed -n '190,1p' a.txt sed -n 'a,bp'

原创 windbg跟蹤NtOpenProcess

過程: OpenProcess->NtOpenProcess->KiFastSystemCall->sysenter kd> u ntdll!NtOpenProcess ntdll!ZwOpenProcess: 7c92d5fe b87a

原创 Loading Rootkit using SystemLoadAndCallImage

From: Greg Hoglund <hoglund () IEWAY COM>Date: Tue, 29 Aug 2000 12:31:48 -0700Greets, For a while there has been a thre

原创 如何解決“Offending key in ~/.ssh/known_hosts” file

Remove the offending ssh key Following error will be displayed when the remote host key changes (after you’ve connected

原创 解決Error: ‘nmake’ 不是內部或外部命令,也不是可運行的程序或批處理文件。”

When you get this error … something got really broken.  I do not know the reason how I got this error – but actually

原创 Some IoControlCodes for AFD (Ancillary Function Driver for WinSock)

#define AFD_RECV  0x12017 #define AFD_BIND  0x12003 #define AFD_CONNECT  0x12007 #define AFD_SET_CONTEXT 0x12047 #defin