Time of Update: 2018-12-05
zlib 在 Visual Studio 2005 下編譯失敗的解決辦法(轉) 最近需要讀寫 png 檔案,按照以前的辦法實驗,卻發現無法編譯zlib 1.2.3。出錯資訊為:inffas32.asm(594) : error A2070: invalid instruction operands inffas32.asm(596) : error A2070: invalid instruction operands
Time of Update: 2018-12-05
最近做一個項目,布暑後出現"Could not open Hibernate Session for transaction",大意是資料庫連接逾時,需要設定重連.在這裡轉一個網上找的解決方案: spring2.x+hibernate3+struts2 在首次登陸系統時拋出的異常,再登陸就正常。 異常:javax.servlet.ServletException: org.springframework.transaction.CannotCreateTransactionException:
Time of Update: 2018-12-05
使用Struts2 結合POI 完成Excel 檔案的資料匯入匯出1. 匯入 Excel 資料 在web 應用中需要將excel 檔案中的資料匯入到系統,儲存到資料庫中。其思路就 是把excel 檔案(*.xls或者*.xlsx)上傳到伺服器,上傳的過程我們可以使用 Struts2 中的 上傳組件來完成。 上傳完畢之後,使用POI 解析上傳的xls 或者xlsx
Time of Update: 2018-12-05
jmpi是段間跳轉指令,用於x86實模式下, 如:BOOTSEG = 0x0c70 jmpi 4, #BOOTSEG 假如當前段CS==00h,那麼執行此指令後將跳轉到段CS==0x0c70,當然段cs的值也變為0x0c70,接下來將執行指令0x0c70:0004處的指令。
Time of Update: 2018-12-05
Ubuntu server版本預設沒有安裝圖形介面可以按照下列步驟安裝wget http://Ubuntu.cn99.com/sources.list.cn99sudo cp sources.list.cn99 /etc/apt/sources.list升級並安裝x windows(GNOME)案頭環境sudo apt-get update安裝 X 視窗系統:sudo apt-get install x-window-system-core。 安裝登入管理器:sudo apt-get
Time of Update: 2018-12-05
原文出自:http://blog.chinaunix.net/space.php?uid=20396006&do=blog&id=19512991.什麼是ASN.1(抽象文法記法一)? ASN.1是ITU-T的一個標準集,它用來編碼及表示通用資料類型,這些資料類型有可列印串值,八位位組串值,位串值,整數值以及用可移值方式組合而成的其他類型序列值.簡單的說,ASN.1指定了以何種方式對非平凡的資料類型進行編碼,以便其他任何平台及第三方工具都能夠解釋其內容.比如,字母a在
Time of Update: 2018-12-05
前幾天轉載的資料,確實挺有用處的,但是不得不說,對於中興的使用者手冊中,配置選項都命名為evdo,最後再pppd call evdo的時候,對應的哪個evdo都不知道。 先說說最簡單的一種,那就是使用wvdial+pppd命令。 這種方式的設定檔只有一個,即,wvdial.conf(目錄為/etc/)。但是請注意:如果你的系統的wvdial命令版本超過了2.3.0,還需要另外一個設定檔,即/etc/ppp/peers/wvdial。 man wvdial
Time of Update: 2018-12-05
在git中,只要你擁有了hash碼,你就擁有了一切,任何時候你都可以reset到你想要的任何一個曆史狀態,不管這個曆史是在什麼時候,或許相對於當前位置是曆史,或許相對於當前位置是未來,你都可以去,所以你最好把你的hash碼寫到紙上,這樣最保險。基於這個原因,我期望能將我在終端的操作和終端輸出全部記錄下來,以便在使用git時確保可恢複。在網上搜了一下,發現只有這個script用起來最不錯!以下內容是網上搜的,沒整理,將就著看吧。反正我只用簡單script命令實現我想要的功能而已。許多系統管理員都知
Time of Update: 2018-12-05
#根據網上常見的一個測試程式修改而來 by rockie cheng#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <getopt.h> #include <fcntl.h> #include <unistd.h>#include
Time of Update: 2018-12-05
題目連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=77類型: 雜湊判重 + 類比原題:The game of Spot is played on an NxN board as shown below for N = 4. During the game, alternate players may either
Time of Update: 2018-12-05
題目連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=108&page=show_problem&problem=953類型: 回溯原題:Ian's going to California, and he has to pack his things, including his collection of circles. Given a set
Time of Update: 2018-12-05
題目描述:SPOJ Problem Set (classical)1108. Card TrickProblem code: CTRICKThe magician shuffles a small pack of cards, holds it face down and performs the following procedure:1. The top card is moved to the bottom of the pack. The new top card is dealt
Time of Update: 2018-12-05
一、環境配置: MyEclipse7.0 Felx Builder3.0 JDK1.6 Flex sdk3.2 Tomcat6.0二、建立JAVA Web工程 在MyEclipse中建立Web Project:TestProject 將相關JAR包拷貝到WEB-INF/lib下,並引入到項目的Build Path中三、建立FLEX工程 在Flex Builder中建立Flex Project:TestProject
Time of Update: 2018-12-05
他被紐約時報稱為“Web 易用性大師”,被 Internet Magazine 稱為 “易用之王”,1995年以來,他通過自己的 Alertbox 郵件清單以及 useit.com 網站,向成千上萬的 Web 設計師傳授 Web 易用性方面的知識,儘管他的一些觀點可能帶來爭議,至少在 Web 設計師眼中,他是 Web 易用性領域的頂尖領袖,他的名字叫 Jakob Nielsen, 本文是 WDD
Time of Update: 2018-12-05
#################################################################1、log4cpp.可以省略#2、等號左右兩側的名稱大小寫敏感#3、rootAppender是隨便取的名字#4、Win32DebugAppender等都是log4cpp類庫裡的類(class)#5、日誌輸出的開啟層級(DEBUG,INFO,WARM,ERROR等)必須全部大寫#EMERG =0,FATAL = 0,#ALERT = 100,CRIT = 20
Time of Update: 2018-12-05
pe_xscan 08-08-01 by Purple Endurer 2008-12-19 9:32:16 Windows XP Service Pack 2(5.1.2600) MSIE:6.0.2900.2180 管理使用者組 正常模式 [System Process] * 0 C:/WINDOWS/system32/wd1123.dll | 2008-12-17 9:57:48 C:/WINDOWS/system32/apvejpul.dll | 2008-12-19 1:10:
Time of Update: 2018-12-05
(本文著作權屬20CN網路安全小組及其作者所有) 本人是在無意中發現了這個方法,說來也簡單,就是適用
Time of Update: 2018-12-05
Windows 2000 Resource Kit 好像帶有一個命令列工具,通過指定參數,可以實現這個功能。不過不是每個人手頭上都有Windows 2000 Resource Kit 的。偶用 MASM32 寫了個GUI的。支援檔案拖放。1:http://download.csdn.net/source/3502212:http://purpleendurer.ys168.com/ 下的 myworks/tools中檔案說明符 :
Time of Update: 2018-12-05
Purple Endurer 收集整理2006-12-25 第1版 1、Dancing Santa(跳舞的聖誕老人,430KB) 伴隨著季節性音樂,看著聖誕老人在飄落案頭的雪花中歡快地跳舞蹦躍,你也會躍躍欲試的。 :http://www.qualitysavers.to/files1/santa-dance.exe 2、Happy Holidays
Time of Update: 2018-12-05
文章目錄 1、在/etc/httpd/conf.d/中建立一個檔案mod_fcgi.conf,內容如下: 2、修改Redmine下的目錄許可權: 3、修改/etc/httpd/logs目錄許可權: 4、一個還沒有解決的問題。 1、再Git的Repository中添加hook 2、許可權,許可權,還是許可權