【電腦】Turn win7 ahci mode on


原本再安裝win7的時候,如果你的BIOS沒有設成ahcimode,基本上win7是不會enable ahci driver的。這樣就會造成如果你安裝完之後在bios切到ahci mode 電腦會無法開機。

這時候就要再切回原本的mode,開機之後坐下面的動作把ahci driver enable。

  1. Exit all Windows-based programs.
  2. Click Start, type regedit in the Start Search box, and then press ENTER.
  3. If you receive the User Account Control dialog box, click Continue.
  4. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
  5. In the right pane, right-click Start in the Name column, and then click Modify.
  6. In the Value data box, type 0, and then click OK.
  7. On the File menu, click Exit to close Registry Editor.
Please navigate to the article for more detail;

CHMEditor


CHMEditor是一個可以用來編輯chm檔的工具。雖然目前用不到,不過記起來先。

用php發送msn


參考

【Blogger】用Google Docs 來寫Blog


用Google Docs 來寫Blog 的方式:
  1. 右鍵選擇需要輸出到Blogspot的文件
  2. Publish...
  3. 填入你的資料
    image

個人還是覺得Windows Live Writer比較好用。

【C】用C寫OO


C++雖然有OO的觀念程式容易擴充但有時build出來的bin也蠻大的,有時就須使用C來搞定使用OO觀念的東西。

【參考】

【英文】Vocabulary


記錄一下最近學到的英文字
  1. legacy
  2. dongle
  3. platform
  4. investgation
  5. warning
  6. partition
  7. destroy
  8. commercial

關於USB和SMM 的一些資料


最近碰到一些usb的問題,記錄一下

一般加解密套件


  1. xor
    參考一般 c code
  2. crc16/32
    參考一般 c code
  3. md5
    shasum
  4. rsa
    axTLS
  5. sha1    http://svn.ghostscript.com/jbig2dec/tags/release_0_02/sha1.c

【Shell】dd用法


dd的seek用法,有一個seek參數比較少用

  1. seek=blocks
    在拷貝之前,跳過輸出檔案的前blocks塊,每塊大小為obs-byte字節。(MBR是第 0sector/0block)
    ex.
    dd if=file(image) of=dest_disk(/dev/sdc) seek=16
  2. 查看dd進度
    ex.
    $dd if=/dev/zero of=/dev/null& pid=$!
    $kill -USR1 $pid; sleep 1; kill $pid

【參考】

  1. http://manpages.ubuntu.com/manpages/karmic/zh_TW/man1/dd.1.html
  2. http://phorum.study-area.org/index.php?topic=45328.0
  3. dd進度 http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html

查詢對方IP的地理位置


輸入IP,就會出現對方IP的國別與經緯度。
滿足個人小小的好奇心。

http://dir.twseo.org/ip-check.php

image

 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com