Author Archive
Invoke pure virtual function
十二月.11, 2009 Posted in RSS
沒錯 你沒看錯
這篇的標題是呼叫純虛擬函式
一個沒有實作的純虛擬函式是有可能被呼叫起來的
class A {
public:
virtual void f(void) = 0;
};
class B : public A {
...
C/C++ with MySQL
七月.28, 2009 Posted in RSS
最近一直找一個bug 找很久都找不出來
狀況是這樣子
在一台linux上裝上 MySQL 5.0, Apache 2.0, django 1.0, openssl 5.5.2
建立一台有網頁 有cgi 有ssl的平台
之後複製另一台成master an...
The Show
七月.25, 2009 Posted in RSS
http://www.youtube.com/watch?v=hnN30rs5NkQ十分值得聽的歌 澳洲的創作女歌生 lenka
The Show
I’m just a little bit
caught in the middle
Life is a maze
and love is a riddle
I don’t know where...
you and i both
十二月.09, 2008 Posted in RSS
歌名:you and i both
演唱:jason mraz
Was it you who spoke the words that things would happen but not to me?
All things are gonna happen naturally
Oh, taking your advice and I’m looking on the bright side
And bal...
Apache+MySQL+PHP+OpenSSL in Ubuntu
十一月.15, 2008 Posted in RSS
SSL介紹
SSL(Secure Socket Layer)是Netscape所提出來的資料保密協定,採用了RC4、MD5,以及RSA等加密演算法。
網路上需要確定網站真的是那個網站,所以SSL也具備認證的機能。SSL是以金字塔...
Reverse Engineering Tools
十一月.09, 2008 Posted in RSS
Microsoft Windows
Three tools pervade the warchest of the contemporary analyst on the Windows platform: IDA, SoftICE, and PE Tools. IDA is the Interactive Disassembler from Data Rescue. IDA is used to examine the executable on-disk. IDA provides...
struct的特別用法
十一月.03, 2008 Posted in RSS
#include
typedef struct A {
int up : 1;
int down : 1;
int left : 1;
int right : 1;
}Cell;
int main(void) {
Cell c;
c.up = c.down = c.left = c.right = 0;
[...]<...























