原创 CSS優先級的判定
A selector's specificity is calculated as follows: count 1 if the declaration is from is a 'style' attribute rather tha
原创 wine qq 2010 sp1 完美運行
有圖爲證.
原创 用position做圓角邊框
.green-round-new .head{ position:relative; background:url("/images/r_m2.gif") repeat-x scroll 0 0 transparent;
原创 重置gnome-panel
進入終端模式 sudo /etc/init.d/gdm stop sudo rm -rf .gconf/apps/panel sudo /etc/init.d/gdm start
原创 Wine QQ 0.3 deb
0.11版(強烈推薦) 1、繼續使用QQ2009preview版,但非深度極速精簡版 2、更改文件存儲位置,放在usr/share/tencent下,避免解壓到主目錄的空間浪費 3、添加兩個按鍵,空間按鍵及郵箱按鍵,有的設置,空間按鍵能夠
原创 去除FreeMarker可惡的Stack Trace
Freemarker的確是不錯又簡潔的模板語言. 不過用在servlet中會產生非常非常多的錯誤日誌,多得讓人發暈. 對於ftl文件,錯誤是很明顯的,只需要一點點的提示,說明錯誤在哪一行就行了,不需要把stack trace打來出.
原创 Linux Chrome Unstable DEB
每次弄系統都會把這個鏈接丟了,於是記下來備忘 http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb http://www.google.co
原创 真正的泛域名透明代理
#三級域名泛域名代理 server { listen 127.0.0.1:80; server_name *.host.example.com; #也可以用 server_name _; #不
原创 nginx盜鏈手記
故事是這樣的,公司有線上環境example.com,由於線上網站是一個多域名的網站, 線下測試的時候,總是需要改host表,把a.example.com , b.example.com ,c.example.com ... 都改到 本地
原创 man nail
nail [-BDdFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] to-add
原创 整合mantis和svn
mantis通過core/checkin.php 即可在svn提交的同時把問題標記爲解決! 1. svn -> pre-commit.bat @echo off setlocal set REPOS=%1 set TXN=%
原创 用Freemarker搭了一個小玩意
[#ftl] [@html] [@head title='測試頁面'] [@keywords '中國房產_房產超市 | 中國房產超市網' /] [@description '做中國最好的房產導購網站' /] [@style
原创 ubuntu 配置 adsl
首次撥號:應用程序–系統工具–終端 打開一終端,輸入命令:sudo pppoeconf中途需要輸入adsl用戶名和密碼。 以後,要手工撥號,打開終端,輸入命令:sudo pon dsl-provider一般情況下,一次撥通後以後登陸ub
原创 IE 6 兼容性問題大全
CSS 對瀏覽器的兼容性有時讓人很頭疼,或許當你瞭解當中的技巧跟原理,就會覺得也不是難事,從網上收集了IE7,6與Fireofx的兼容性處理方法並整理了 一下.對於web2.0的過度,請儘量用xhtml格式寫代碼,而且DOCTYPE
原创 How to change byte to HexString
private final static String[] bts= { "00","01","02","03","04","05","06","07","08","09","0A","0B","0C","0D","0E","0F",