今天在 commit 程式碼到 github 網站,不小心把 Plurk 帳號密碼給 commit 上去,發生這種事情,所以趕快上網查了一下如何移除 commit 歷史紀錄:假設我們的 commit tree 如下:R–A–B–C–D–E–HEAD接下來要移除 B 跟 C 的 commit tree,變成R–A–D’–E–HEAD有兩種方式可以移除 B & C# detach head and move to D commitgit checkout <SHA1-for-D>
UTF的位元組序和BOMUTF-8以位元組為編碼單元,沒有位元組序的問題。UTF-16以兩個位元組為編碼單元,在解釋一個UTF-16文本前,首先要弄清楚每個編碼單元的位元組序。例如收到一個“奎”的Unicode編碼是594E,“乙”的Unicode編碼是4E59。如果我們收到UTF-16位元組流“594E”,那麼這是“奎”還是“乙”?Unicode規範中推薦的標記位元組順序的方法是BOM。BOM不是“Bill Of Material”的BOM表,而是Byte Order
原網站無法訪問,故保留google快照How things work : SQL Select StatementIntroduction:Ever asked your self how things work inside the SQL Selectstatement? In this article we won’t be talking about how to writeSQL Select statement but rather we will be talking about
新安裝了FC 17 64位,在運行32位程式的時候有些問題,最直接的錯誤是:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory從網路上搜到文章,解決方案是用yum安裝32位的glibc庫,我的環境yum無法工作,此方法作罷。手頭恰好有32位的FC 12,於是考慮最直接的方法:缺哪個檔案就從FC
On the hardware platforms supported by Windows, external I/O interrupts come into one of the lines on an interrupt controller. The controller in turn interrupts the processor on a single line. Once the processor is interrupted, it queries the