原创 intellij idea與git/github整合。

一,到github官網註冊賬號 官網:https://github.com/ 二,創建一個倉庫: 例如 AOP 參考:http://blog.csdn.net/duxinfeng2010/article/details/8654690 

原创 連接池的實現要點總結

序言: 因爲ssdb(一種nosql數據庫) java客戶端沒有實現連接池,需要模仿jdbc裏面的連接池的思想,實現一個簡單的連接池,以下是自己的總結: 思想: 每new 一個SSDB實例 ,用完之後close,其實底層就是開了一個soc

原创 Parsed configuration file: 'class path resource [Configuration.xml]'

DEBUG - Found bean property 'typeAliasesSuperType' of type [java.lang.Clas

原创 windows下如何在命令端上傳本地代碼到git倉庫

1、(先進入項目文件夾)通過命令 git init 把這個目錄變成git可以管理的倉庫 git init 2、把文件添加到版本庫中,使用命令 git add .添加到暫存區裏面去,不要忘記後面的小數點“.”,意爲添加文件夾下的所有文件

原创 通過chrome禁用掉一個http請求。

要禁用掉一個特定的http請求我的解決方案是禁用掉髮起這個請求的js: 1:找到這個請求的發起者: 2:在chrome 控制檯下重寫替換這個方法。 世界靜止了!

原创 How can I remove this user

When trying to remove the user, it returns "user is currently logged in". I already killed the user using pkill -KIL

原创 js prototype 詳解 js實現面向對象

js prototype 詳解 prototype只能用在類型上。 以下是一些關於類型和對象的例子,大家看完例子後可能更容易理解類型和對象之間的聯繫: 1、可以在類型上使用proptotype來爲類型添加行爲。這些行爲只能在類型的實

原创 ThreadPoolExecutor 理解

從 Java 5 開始,Java 提供了自己的線程池。線程池就是一個線程的容器,每次只執行額定數量的線程。 java.util.concurrent.ThreadPoolExecutor 就是這樣的線程池。它很靈活,但使用起來也比較複雜

原创 從 Redis 遷移到 SSDB

Centos6 php+redis: yum install php wget https://github.com/nicolasff/phpredis/archive/master.zip unzip phpredis-mast

原创 fedora 上安裝Sybase Ase

This article documents how to install ASE 15.0.3 on Fedora Linux 10. It may be useful for later versions as well.  

原创 Installing Microsoft True Type Core Fonts in Fedora 19

 Installing Microsoft True Type Core Fonts in Fedora 19  November 17th, 2013 | Author: Haider M. al-Khateeb

原创 java多線程模仿發牌的小程序

package threadtest; import java.util.*; /** * desc: * User: weiguili([email protected]) * Date: 13-11-12 * Ti