其它 分類的彙整

MSN傳檔 用 AntiVir 掃毒

因為很懶得去找什麼破解還是啥盜版的… 我通常都是直接推薦裝 小紅傘 (Antivir)
MSN傳檔時也設定用AntiVir , 不過都會忘了要怎麼設參數,在這邊筆記一下…

".Antivir安裝路徑.\avscan.exe" /GUIMODE=3 /PATH=%FILE%

GUIMODE 的值

1= 大視窗
2= 小視窗
3= 背景執行

讓TinyMCE不自動放 p tag

  1. open /wp-includes/js/tiny_mce_config.php
  2. at line 136
    1. $initArray = array (
  3. Add
    1. 'forced_root_block' => false,
    2. 'force_br_newlines' => false,
    3. 'force_p_newlines' => false,

最近用到的 .htaccess 筆記

Redirect
ex: http://domain/yahoo redirect to tw.yahoo.com

Redirect /yahoo http://tw.yahoo.com

RedirectMatch
ex: http://domain/i/ file to http://other_domain/ file

RedirectMatch /i/(.*) http://other_domain/$1

[CSS] img tag 加邊框

  1. img{
  2.     border:1px solid #C0C0C0;
  3.     padding:6px;
  4.     margin-bottom:0px;
  5.     margin-top:0px;
  6. }

border: 1px=邊框粗細 , solid=邊框顏色
padding:tag包的東西和邊緣的距離。
margin-bottom:文字和底部邊緣的距離。
margin-top:文字和頂部邊緣的距離。

[WordPress] 增加發文快速tag

除了使用quick tag 外掛外,可以用手動的方法…
在 /wp-include/js/quicktags.js 中
找到

  1. edButtons[edButtons.length] =
  2. new edButton('ed_strong'
  3. ,'b'
  4. ,'<strong>'
  5. ,'</strong>'
  6. ,'b'
  7. );

繼續閱讀 ‘[WordPress] 增加發文快速tag’