原创 [Ant]scp target
You can use sch target to At first, you should download jsch-0.1.24 and c
原创 [Linux]Samba server
第一步: 更改smb.conf cd /etc/samba sudo mv smb.conf smb.confBAK sudo vim smb.
原创 [Ant]svnant
<path id="svnant.classpath"> <fileset dir="D:/resource/svnant-1
原创 [Linux]Tar Command
tar -zcvf /tmp/etc.tar.gz /etc tar -jcvf /tmp/etc.tar.bz2 /etcOnly decompression etc/passwd filetar -zxvf /tmp/etc.
原创 [Linux]Introduction Of Trac
What is Trac Trac is an open source, web-based project management and bug-tracking tool. The program is inspired by
原创 [Ant]Solutions of outOfMemory when run ant
there are 2 solutions: 1、in linux server, edit ant: java -Xms128m -Xmx2
原创 [Linux]modify vim's color in ubuntu
1. install vim 2. cp /etc/vim/vimrc ~/.vimrc 3. vi ~/.vimrc delete " befor
原创 [Linux]Date and Time Commands
date //顯示當前日期 date -s //設置當前時間,據說只有root權限才能設置,其他只能查看。 date -s 20061010 //設
原创 [Java]Design Patten
設計模式說到底就是各種接口編程和父類對象指向子類引用 代理(proxy)模式 爲什麼要使用代理模式:對一些類中的方法進行某些操作,比方說計算方法的運行時間等等 哪種代理方式更好,1.繼承方式 2.實現同一接口:2比1要好很多,更加靈活,例
原创 [Java]JavaScript
提高網頁的互動能力,作爲java程序員主要着眼於表單驗證,Ajax技術,操作網頁元素 javascript不是java,它運行在瀏覽器中,java需
原创 [Linux]Personal summary of configure cisco server
軟件安裝: 以安裝ant爲例:一開始先用apt-cache search ant命令查詢ant有哪些版本可以下載,根據查詢到的列表選擇下載 用su
原创 [Java]css
行內樣式表 <html> <head> <title>行內樣式表</title> </head> <body style="background=red"> 這是一個紅色的頁面
原创 [Java]Configuration of Log4j
Here is a configuration file that uses multiple appenders. ===============
原创 [Linux]Shut Down Firewall
在172.16.3.6的ubuntu上執行 sudo ufw disable 可以關閉防火牆 1) 重啓後生效 開啓: chkconfig ipt
原创 [Ant]Note of
ant使用XML中最不尋常的一點就是它不能使用DTD 一個定期清理的構建是個好的實踐 將源文件和生成的輸出文件分隔開 爲每個目標增加description屬性,並且爲整個工程增加<description>標記