公告版位
部落格現在轉到 http://blog.carlcarl.me 囉,要跟pixnet的部落格說掰掰哩>.<

最近好久沒有用C寫程式了, 一直狂卡QQ

晚上在用open函式開檔案, 結果後來看發現權限都沒有設

卡卡 發表在 痞客邦 留言(0) 人氣()

文章新版網址:http://blog.carlcarl.me/11/c-getopt-usage/

getopt是用來判斷程式參數的函式

文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()

設定 Tab 長度為 4,以及自動縮排長度為 4:
在.vimrc中加入下面兩行

文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()

在settings裏面已經設好MEDIA_URL了
可是一直不知道怎麼在templates中使用

文章標籤

卡卡 發表在 痞客邦 留言(1) 人氣()

之前用原生的HTMLParser用到很囧
感覺功能還是不夠強大

文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()

 

frame.load(function()
        {                 
                var frm = frames['frame'].document;
                                
                var otherhead = frm.getElementsByTagName("head")[0];                        
                var link = frm.createElement("link");                        
                link.setAttribute("rel", "stylesheet");                        
                link.setAttribute("type", "text/css");
                link.setAttribute("href", "style.css");                        
                otherhead.appendChild(link);
       }
 );

文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()

在側邊欄位設定裡->頁尾描述的部分貼上下面的code

<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shAutoloader.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushBash.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPowerShell.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js"></script>
<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js"></script>
<script type="text/javascript">
  SyntaxHighlighter.all();
</script>
文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()

大步向前走看到不錯的設定檔 把顏色稍微改一下

文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()