1.Enable Group and Tab Windows
2.key binding
- select winodws : <super>+s
- Grouping : <super>+g
- Ungroup : <super>+u
- Tabbing : Tab Group : <super>+t
- Chang Tab left : <super>+Left
compiz config settings manager
--> effect --> Reflection -->reflection for Decorations 取消,...
APTonCD 套件整合程式..
1.安裝 --> 終端機下輸入
sudo apt-get install aptoncd
安裝完成後
2.系統 -->管理 --> 啟動 APTonCD --> 可以將目前所有的套件檔燒成 映像檔 燒到光碟中
3.可以還原時還原套件檔
最近部落格主機遭到 spam 攻擊,..都是從大陸的ip過來的
乾脆直接從apache 的設定檔中去擋,..
httpd.conf 中設定
cgi-bin 的部份加上
order allow,deny
allow from all
deny from 222.66.0.0/16
直接限制使用cgi-bin
看看有沒有用..
20081020修:
改了設定後發現沒有再受spam攻擊.....
<div class="sidetitle">
Recent posts</div>
<div class="side">
<ul>
{foreach from=$recentposts item=recentpost}
<li><a title="{$recentpost->getText()|truncate:100:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a></li>
{/foreach}
</ul>
</div>
增加 奶油獅的表情圖示.奶油獅下載 file
張君雅小妹妹表情圖示 --張君雅下載 file
在單篇匯整模版中 加入.
<img onclick="function anonymous()
{
writeImgTag('msn_1.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_1.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_2.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_2.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_3.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_3.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_4.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_4.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_5.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_5.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_6.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_6.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_7.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_7.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_8.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_8.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_9.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_9.gif" width="50" align="absMiddle" border="0" /> <br /><img onclick="function anonymous()
{
writeImgTag('msn_10.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_10.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_11.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_11.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_12.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_12.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_13.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_13.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_14.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_14.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_15.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_15.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_16.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_16.gif" width="50" align="absMiddle" border="0" /> <img onclick="function anonymous()
{
writeImgTag('msn_17.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/msn_17.gif" width="50" align="absMiddle" border="0" /> <br /><img onclick="function anonymous()
{
writeImgTag('1860202476.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202476.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202477.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202477.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202478.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202478.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202479.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202479.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202480.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202480.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202481.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202481.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202482.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202482.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202483.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202483.gif" width="50" align="absMiddle" border="0" /><img onclick="function anonymous()
{
writeImgTag('1860202484.gif','50','50','absmiddle')
}" height="50" src="http://blog.fyjh.tpc.edu.tw/~jam/smiles/1860202484.gif" width="50" align="absMiddle" border="0" />
這篇遮罩教學講得蠻詳細的.http://projectxblue.blogspot.com/2007/05/photoshop.html
圖片中2個箭頭指的地方就是遮色片工具左邊的遮色片工具
這個比較可以算是一種選取工具
下面會在介紹
右下的遮色片工具
這個是對你選擇的圖層做一個專有的遮色片
運用範圍很廣
下面會一一介紹
左邊的遮色片工具先來介紹左邊的遮色片工具吧
先點一下遮色片工具,進入遮色片模式
啊?沒有變化?別緊張
注意看你的選單列中的顏色 變成黑白2種顏色了!?
遮色片模式是只有灰階的
它會依照你顏色的明度不同做出不同的選取
塗上
純黑色就是"不選取" 也可說是保護
純白色就是"選取" 一般來說是沒必要塗白色 因為畫了=白畫
而灰階就是"半選取" 可以製造出柔邊、半透明(為了讓大家清楚的觀察我把背景改成了淺綠色 )
我在遮色片模式中分別用筆刷畫了4條不同深淺的線條
畫出來的是粉紅色別緊張
那是PHOTOSHOP內定的
可以到偏好設定中更改(沒什麼必要)我們按一下遮色片旁邊的圖示
回到一般模式
發現到剛剛塗上顏色的部份沒有被選取到
也可算是被"保護"了
而較淺的顏色是被"半選取"
要進行填色才能看出效果我們按下Shift+F5將它填上一個大粉紅色
會發現到黑色部分完全沒有上色
而越淺的部分被填上的顏色越多這個工具主要是被用在影像合成中的去背
可以做到比用魔術棒和擦子更為精確漂亮
不過相對的要一筆一筆的去畫
也可用在CG上色時
用來選取要上色的範圍等等
這個工具可以用來做出這種的效果
</div>
</div><div id="links">
<div class="side-log" align="center">
<a href="http://jam.fyjh.tpc.edu.tw/lifetype/admin.php">*登入-- 管理*</a><br/>
<a href="http://teacher.fyjh.tpc.edu.tw/~jam/gallery/" target=_blank>橘子工廠-相簿</a><br />
文章總數:{$blog->getTotalPosts()}<br />迴響總數:{$blog->getTotalComments()}
</div>
<a href="http://jas9.blogspot.com/2007/07/blog-post_9075.html" target="_blank"><img src="http://www.jas9.com/Jas9Taipei/images/Anti-Parrot-badge200x80.png" alt="網摘、引用、連結,不轉載" width="200" height="80" border="0"/></a>
<div class="sidetitle-comment">Recent Comments <br /></div>
<div class="side-comment">
{if $recentcomments->isEnabled()}
{assign var=comments value=$recentcomments->getRecentComments()}{foreach from=$comments item=comment}
{assign var=commentpostid value=$comment->getArticleId()}
{assign var=commentpost value=$recentcomments->getArticle($commentpostid)}<img src="http://jam.fyjh.tpc.edu.tw/lifetype/imgs/comment_icon1.gif"> - <a title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}:</b>{$comment->getText()|truncate:100:"..."|strip_tags|regex_replace:"/http:[^ ]+/":"[link]"}</a><br />
{/foreach}{/if}
</div>
{assign var=blogOwner value=$blog->getOwnerInfo()}
{assign var=AboutMyself value=$blogOwner->getAboutMyself()}
{if $blogOwner->hasPicture() && $AboutMyself}
<div class="sidetitle">{$locale->tr("about_myself")}</div>
<div class="side">
<ul>
{assign var=picture value=$blogOwner->getPicture()}
<li><img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" /></li>
<li>{$AboutMyself}</li>
</ul>
</div>
{/if}
<div class="sidetitle">{$locale->tr("calendar")}</div>
<div class="sidecal">{$calendar}</div><div class="sidetitle">{$locale->tr("archives")}</div>
<div class="side">
<p>
<ul>
{foreach from=$archives item=archive}
<li><a href="{$archive->getUrl()}">{$archive->getName()}</a></li>
{/foreach}
</ul>
</p>
</div><div class="sidetitle">{$locale->tr("categories")}</div>
<div class="side">
<p>
<ul>
{foreach from=$articlecategories item=category}
<li><a href="{$url->categoryLink($category)}">{$category->getName()}</a></li>
{/foreach}
</ul>
</p>
</div>
<div class="sidetitle">
~推薦網誌~</div>
<div class="side">
對民宿旅遊有興趣的朋友,一定要來這裡看看<br />
<a target="new" href="http://www.wretch.cc/blog/playplay365/13063473">
<img border="" src="
http://f5.wretch.yimg.com/playplay365/1/1909723870.jpg"></a><br /></div>
<div class="sidetitle">{$locale->tr("links")}</div>
<div class="side">
<p>
<ul>
{foreach from=$mylinkscategories item=linkcategory}
<li><b>{$linkcategory->getName()}</b>
<ul>
{foreach from=$linkcategory->getLinks() item=link}
<li><a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a></li>
{/foreach}
</ul>
</li>
{/foreach}
</ul>
</p>
</div><div class="sidetitle-url">~好友聯播~<a href="
http://www.newsgator.com/ngs/subscriber/subext.aspx?url=RSS_URL_HERE"><br /><img runat="server" src="http://www.newsgator.com/images/ngsub1.gif" alt="Subscribe in NewsGator Online" border="0" /></a>
<div class="sidetitle">{$locale->tr("syndicate")}</div>
<div class="side">
<ul>
<p>
<li><a class="nodecoration" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a></li>
<li><a class="nodecoration" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a></li>
<li><a class="nodecoration" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a></li>
<li><a class="nodecoration" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a></li>
<li><a class="nodecoration" title="Link to the Atom 0.3 feed." href="http://jam.fyjh.tpc.edu.tw/lifetype/rss.php?blogId=1&profile=rss20comments"><img src="http://jam.fyjh.tpc.edu.tw/~jam/pic/rsscomment.png" style="border:0px;" alt="RssComments" /></a></li>
</p>
</div>
<div class="powered">
Powered by <a href="LifeType
http://www.lifetype.net">LifeType</a><br />
</div>
</div>
</body>
</html>
lifetype - 修正迴響 tag 問題
在 postandcomments.template 模版中
加入{$comment->getId()}"
{include file="$blogtemplate/header.template"}
{assign var="poster" value=$post->getUserInfo()}
{assign var="postDate" value=$post->getDateObject()}
<h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
<div class="blogbody">
<!-- {$url->postTrackbackLink($post)} -->
<p>{include file="$blogtemplate/post.template"}</p>
{pager style="links"}
</div>
{foreach from=$comments item=comment}
<div class="blogbody-com">
<p class="com-title">
<a name="{$comment->getId()}"></a> <img src="{$url->getUrl("/imgs/comment_icon1.gif")}"/> {$comment->getTopic()} <span class="categoryinfo">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
</p>
{if $comment->IsPosterAuthenticated()}
{assign var=poster value=$comment->getUser()}
{if $poster->hasPicture()}
{assign var=posterimg value=$poster->getPicture()}
<img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
{/if}
{/if}
{$comment->gettext()}
<div class="posted">
{assign var="commentDate" value=$comment->getTimestamp()}
Comment by
{if $comment->getUserUrl() != "" }
<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>
{else}
{$comment->getUsername()}
{/if}
({$locale->formatDate($commentDate, "%m/%d/%Y %H:%M")})</div></div>
{/foreach}
{if $post->getCommentsEnabled()}
<p>
<div style="padding-left: 20px">
<h3>{$locale->tr("add_comment")}</h3>
{include file="$blogtemplate/commentform.template"}
</div>
</p>
{/if}
{include file="$blogtemplate/footer.template"}
原文-http://163.21.22.6/plog/post/1/378
修正中文無法作為標籤(tag)問題,tag請選css
將ostube/include/class.mediainformation.php中的function setTagsRaw($mid, $tags_raw)
由下方程式完全取代,約在961行左右:
function setTagsRaw($mid, $tags_raw){
$array = array();
$tags = array();
$pattern="#^\s*([^,\s]+)\s*$|^\s*([^,\s]+)\s*,|\s*([^,\s]+)\s*,|\s*([^,\s]+)\s*$#msi";
preg_match_all($pattern, $tags_raw, $array);
$tags = array();
each($array);
while(list($key, $arrayx) = each($array)){
while(list($key, $val) = each($arrayx)){
$tag = trim($val);
if(!empty($tag)) {
if(!in_array($tag, $tags)) {$tags[]=$tag; }
}
}
}
$this -> setTags($mid, $tags);
}
修正過後可以加入中文的tag 名稱,..可是tagcloud 並不會顯示出中文的tag
迴響的模版 commentform.template 放在
/usr/local/www/apache22/data/lifetype/templates/default/下
找到下面....加入value="Re:{$post->getTopic()}"
<input tabindex="1" id="subject" name="commentTopic" value="Re:{$post->getTopic()}" >
如此一來,就會預設出現 Re: 文章標題
apache22 的 httpd.conf 設定方法,...和原本的 apache2 的不一樣,
apache22 中httpd.conf 把一部份的東西放到 extra 的目錄中, user home directory
放到 http-userdir.conf 檔案中, 把httpd.conf 中
Include etc/apache22/extra/httpd-userdir.conf
前面的 # 取消掉...
再把 httpd-userdir.conf 中
改成 userDir www
<Directory "/home/*/www">
.............
......
就ok了
將原本安裝在win98的系統換成2000系統,..
1.用A7N266vm主機板(用教師辦公室的Ghost檔做)
2.安裝speaker 程式,
3.將97新生註冊的資料庫檔copy進去
4.先啟動speaker 程式
5.控制台->電腦管理-> 服務->ClipBook 設定成自動,啟動
這樣speaker在執行時就不會一直跳出錯誤
=================================
2.把舊的硬碟Ghost 到新的硬碟中
1.原本的硬碟有兩個開機選項,ghost後 沒辦法啟動,先用spfdisk-> 進階功能->將開機磁區修復-->修復後只能第一個開機磁區(剛好要用的就是在第一個開機磁區中)..
2.用P-III 800的電腦就可以直接使用
www 主機加裝了 mt blog系統m..
修改default-templates.pl檔,..
1.修改 迴響表情圖示,..
2.css樣式(預設為 summer)
3.css 中新增 blog2..迴響預覽,迴響錯誤,的blog標籤改成 blog2標籤
(以 note-book 改)
登入奇摩帳號→到自己的部落格→管理部落格→管理自訂欄位→打上標題→輸入內容
台北語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/taipeiicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/taipei.htm" style="text-decoration: none">台北</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taipeilowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taipeihightemp.gif" width="27"/></td></tr></table>
基隆語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/jilungicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/jilung.htm" style="text-decoration: none">基隆</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/jilunglowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/jilunghightemp.gif" width="27"/></td></tr></table>
桃園語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/taoyuanicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/taoyuan.htm" style="text-decoration: none">桃園</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taoyuanlowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taoyuanhightemp.gif" width="27"/></td></tr></table>
新竹語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/xinjuicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/xinju.htm">新竹</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/xinjulowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/xinjuhightemp.gif" width="27"/></td></tr></table>
苗栗語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/miaoliicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/miaoli.htm" style="text-decoration: none">苗栗</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/miaolilowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/miaolihightemp.gif" width="27"/></td></tr></table
台中語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/taichungicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/taichung.htm" style="text-decoration: none">台中</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taichunglowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taichunghightemp.gif" width="27"/></td></tr></table>
彰化語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/zhanghuaicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/zhanghua.htm" style="text-decoration: none">彰化</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/zhanghualowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/zhanghuahightemp.gif" width="27"/></td></tr></table>
南投語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/nantouicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://http:/udn.com/WEATHER/nantou.htm">南投</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/nantoulowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/nantouhightemp.gif" width="27"/></td></tr></table>
雲林語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/yunlinicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/yunlin.htm">雲林</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/yunlinlowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/yunlinhightemp.gif" width="27"/></td></tr></table>
高雄語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/kaoshiungicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/kaoshiung.htm" style="text-decoration: none">高雄</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/kaoshiunglowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/kaoshiunghightemp.gif" width="27"/></td></tr></table>
台南語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/tainanicon.gif" width="38"/></td><td colspan="3">
<strong>
<a href="http://udn.com/WEATHER/tainan.htm" style="text-decoration: none">台南</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/tainanlowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/tainanhightemp.gif" width="27"/></td></tr></table>
台東語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/taitungicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/taitung.htm">台東</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taitunglowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/taitunghightemp.gif" width="27"/></td></tr></table>
屏東語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/pingtongicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/pingtong.htm">屏東</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/pingtonglowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/pingtonghightemp.gif" width="27"/></td></tr></table>
花蓮語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/hualianicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/hualian.htm">花蓮</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/hualianlowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/hualianhightemp.gif" width="27"/></td></tr></table>
宜蘭語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/yilanicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/yilan.htm">宜蘭</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/yilanlowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/yilanhightemp.gif" width="27"/></td></tr></table>
馬祖語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/matsuicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/matsu.htm">馬祖</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/matsulowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/matsuhightemp.gif" width="27"/></td></tr></table>
金門語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/jinmengicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/jinmeng.htm">金門</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/jinmenglowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/jinmenghightemp.gif" width="27"/></td></tr></table>
澎湖語法
<table cellspacing="0" cellpadding="3" border="0"><tr><td rowspan="2">
<img height="31" src="http://udn.com/WEATHER/IMAGES/penghuicon.gif" width="38"/></td><td colspan="3">
<strong>
<a style="text-decoration: none" href="http://udn.com/WEATHER/penghu.htm">澎湖</a></strong></td></tr><tr><td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/penghulowtemp.gif" width="27"/></td><td>-</td> <td>
<img height="13" src="http://udn.com/WEATHER/IMAGES/penghuhightemp.gif" width="27"/></td></tr></table>
/etc/rc.conf 中加入
nfs_server_enable="NO"
nfs_client_enable="NO"
portmap_enable="NO"
syslogd_enable="YES"
syslogd_flags="-ss"
inetd_enable="NO"
tcp_drop_synfin="YES"
(在kernel 中 加入 options TCP_DROP_SYNFIN 重新編譯)
icmp_drop_redirect="YES"
clear_tmp_enable="YES" --> 將原本 scode 的目錄改到 /home/scode/www下 將 www設為 777
將LiveCD移植到USB隨身碟
下載了LiveCD,還要燒成光碟才能用,環保嗎?
燒成飛盤就要丟,新版出來舊版丟,心痛嗎?
光碟速度緩慢,您有耐心等嗎?
LiveCD越來越大,要換dvd嗎?
反正USB隨身碟越來越便宜,何不環保一點?不要再作用完即丟的事情!!
其實把LiveCD移植到USB,已有許多先賢嘗試完畢,小弟在此整理近日心得,作壹簡報。
移植成功之版本:
ftp://linux400.dfes.tpc.edu.tw/pub/ 內各版本
ftp://ftp3.tnc.edu.tw/KNOPPIX/health/2007/B2DpureKGB20070309.iso
ubuntu7.04Beta版
移植辦法:(各版本統統一樣)
1.建立可開機之隨身碟
2.建立linux指引檔
3.複製光碟內容
4.完成
1.建立可開機之隨身碟
a.在M$系統內插入隨身碟,您應該可以用檔案總管建立fat或fat32的磁區。
或是在linux系統內用cfdisk作這件事。
b.下載sayslinux這套跨平台的開機程式,如果真不知道,可以到
http://www.kernel.org/pub/linux/utils/boot/syslinux/
看看。
c.在M$系統用命令提示字元執行win32資料夾下的syslinux,例如您的隨身碟是j:
syslinux -ma j:
或是在linux系統內用
syslinux -s /dev/sdb1(假設您的隨身碟為/dev/sdb)
2.建立linux指引檔
在M$系統內得有類似winiso之類的程式。好偷看iso檔案內容,
在linux就不用囉唆,反正檔案總管就可以看了。
a.將資料夾isolinux內的東西統統複製到隨身碟根目錄內。
b.將isolinux.cfg改名為syslinux.cfg
c.將isolinux.bin改名為syslinux.bin
3.複製光碟內容
將光碟片內的所有東西都複製到隨身碟中。
4.完成
卸載隨身碟,再找一台可usb開機的電腦來試試吧。早期的電腦對usb偵測時間很短,萬一不能成功,建議把硬碟設為none試試看!
part2
要將另一個隨身碟切成兩個partition
1. 將隨身碟插上 usb knoppix 開好的系統上
2.先在 console 中將 usb umount :
umount sdc1
3. sudo fdisk /dev/sdc
d --> 先刪除原來的分割
n --> p --> 1-->給定大小 --> n-->p-->2--> 給定大小 --> w
4. 格式化兩個分割成fat32
格式化(format)USB隨身碟成 fat32 (或稱之為 vfat)
指令:「mkfs.vfat /dev/sdc1」
指令:「mkfs.vfat /dev/sdc2」
教師網段改成縣網的新架構 10.241.165.0/24
sambaserver要跟著改
1.先把網卡改成 10.241.165.4
改 /etc/rc.conf
fxp0: 10.241.165.4
2.改samba 的設定檔 /usr/local/etc/smb.conf
28行 host allow 改成 10.241.165.
81行 interfaces 改成 10.241.165.4/255.255.255.0
3.改 /etc/hosts
改成 10.241.165.4
參考 oui-blog 的作法
http://www.oui-blog.com/2005/01/mtgravatar.php
..
自從小弟公開介紹了這個有趣的全球通用留言大頭貼服務後,引起廣大迴響,似乎各位格主們對這個服務都抱持高度興趣,因此小弟將安裝方法截選翻譯如下:
Gravatar支援的Blog系統很多,包含有MovableType、WordPress、TextPattern、
Expression Engine、PMachine、Nucleus、YACS、Blojsom皆在支援之列,至於pLog的使用者,可至Mark那了解實作方法。本文將只介紹MT的部分,敬請其他Blog系統愛用者見諒。
什麼是級別?
所有向Gravatar提交的大頭貼都需要由該網站分及人員分級後才能使用,以保障使用者的網站不會出現不適當的大頭貼,並分為G、PG、R、X四級;G為一般級、PR為輔導級、R為限制級、X為很厲害的限制級,詳細分級解說請見官網。
<p><img src="<$MTGravatar rating="G" size="40" border="000000"$>" /></p>
以上,基本的使用方法已經介紹完畢,各位如果還有興趣,小弟可以再繼續寫下一篇有關調整大頭貼顯示位置的Gravatar進階使用心法。
PS:Oui-Blog的會員請直接跳過Plugin上傳的步驟,直接修改模板即可。
2005/01/24補充:
依照Gravatar官方釋出的使用設定總是無法正確顯示框線,Grandai很熱心的提供解決辦法,依上述範例繼續推展,使用者可以利用以下語法設定框線:
<p><img src="<$MTGravatar rating="G" size="40"$>" style="border:1px solid #777"/></p>
以上紅色粗體部分可自由調整
使用者只要到 Gravatar的網站申請一個大頭貼帳號 並上傳你的大頭貼...設定好以後..只要留言的時候輸入 email 就會顯現你的大頭貼了...
Gravatar 的網站... http://site.gravatar.com/
1. signup --> 填寫 email --> 收信 --> 登入 --> 設定密碼 --> 上傳大頭貼 --> ok