原创 Non SQL Error : Could not load class oracle.jdbc.driver.OracleDriver

解決方法:將Oracle的jar包加入環境變量ClassPath中.    

原创 mac上安裝tomcat apr

最近使用tomcat 6.0.33這個版本,啓動的時候有個提示: 信息: The APR based Apache Tomcat Native library which allows optimal performance in pro

原创 Jquery分步指引給件

http://www.helloweba.com/demo/reg_wizard/ jQuery滑動式分步註冊表單插件效果演示 jQuery滑動式分步註冊表單插件效果演示 http://www.htmleaf.com/Demo/2

原创 hadoop combine,partition,shuffe概念詳解

Mapreduce在hadoop中是一個比較難以的概念。下面需要用心看,然後自己就能總結出來了。概括:combine和partition都是函數,中間的步驟應該只有shuffle!1.combinecombine分爲map端和reduce

原创 SQL優化,處理百萬級以上的數據處理

處理百萬級以上的數據提高查詢速度的方法:  1.應儘量避免在 where 子句中使用!=或<>操作符,否則將引擎放棄使用索引而進行全表掃描。  2.對查詢進行優化,應儘量避免全表掃描,首先應考慮在 where 及 order by

原创 MySQL修改root密碼的多種方法

方法1: 用SET PASSWORD命令   mysql -u root   mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass'); 方法2:用mys

原创 How To Replace jQuery 1.9.1's $.parseJSON function with the implementation from jQuery 1.8.3

jQuery._parseJSON = jQuery.parseJSON; jQuery.parseJSON = function( data ) {     if ( !data || typeof data !== "string")

原创 liunx常用命令

查看磁盤情況 df -h 按文件大小查看 sudo du -sh *

原创 redis常用命令

啓動 Redis 服務src/redis-server或者src/redis-server redis.conf src/redis-server redis.conf 1>log.log 2>errlog.log 1爲標準輸出,2爲

原创 jar包中配置文件修改

用unzip修改 解包至當前目錄tmp子目錄下進入子目錄 修改配置文件內部jar文件逐個修改配置:流程相同(解包至tmp子目錄、修改配置文件、打包、移除tmp子目錄)打包至原jar文件返回上級目錄,刪除tmp子目錄 1 2 3

原创 [HBase]數據模型(邏輯結構)

HBase以表的形式存儲數據。表由行和列族組成。列劃分爲若干個列族(row family),其邏輯視圖如下:     下面分別說說幾個關鍵概念: 1)行鍵(RowKey) -- 行鍵是字節數組, 任何字符串都可以作爲行鍵; -- 表中的

原创 maven封裝jar,得到所有依賴,及設置主類

maven打包jar,得到所有依賴,及設置主類   pom中加入   <plugin>         <groupId>org.apache.maven.plugins</groupId>         <artifactId>ma

原创 教你怎麼在 Mac 電腦上進行語音實時輸入

http://jingyan.baidu.com/article/455a9950aba1ada1662778a3.html

原创 linux 改回python2.6

原來ubuntu系統默認的是python2.6,我下載了2.7單獨安裝了,想重新改回python2.6。 看到/usr/lib/下有python2.6/ python2.7/ python3.1/ 三個目錄 追答:cd /usr/bin

原创 技術中常見的一些名詞

單元化