
the conky and wallpaper come from Jesse Avalos's Post in G+
code {
padding: 2px 4px;
color: #d14;
}
pre {
font-family: monospace;
padding: 6px;
margin: 0;
font-size: 12.025px;
line-height: 18px;
word-break: break-all;
word-wrap: break-word;
background-color: #f5f5f5;
border: 1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
blockquote {
color:#222;
background-color: #FFD5A0;
padding: .3em .5em;
border: 2px #E2C8AF dashed;
}
reference {
display: block; /* fixes a strange ie margin bug */
background: #FEE url(http://chenkaie.googlepages.com/Code_REF.gif) left top repeat-y;
border: 1px dotted #933;
padding: 10px 10px 10px 20px;
margin: 5px 0 0 5px;
font-size: 13px;
font: Courier New;
line-height: 1.6em;
}
$ git show <commit>
$ git show --name-only <commit>
$ git show --pretty="format:" --name-only <commit>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/> <!-- add brushes here --> <script type='text/javascript'> SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.all(); </script>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushBash.js' type='text/javascript'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDiff.js' type='text/javascript'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>
<pre class="brush:js"> alert('hello syntax'); </pre>用 <pre> tag時,要注意一些 html 的特殊字元要轉成 html 專用的編碼(ex. < 換成 <)
<script type="syntaxhighlighter" class="brush:js"><![CDATA[ /** * SyntaxHighlighter */ function foo() { if (counter <= 10) return; // it works! } ]]></script>
vi ~/.local/share/applications/eclipse.desktop
[Desktop Entry] Encoding=UTF-8 Name=Eclipse Name[zh_TW]=Eclipse Comment=Eclipse IDE Exec=/home/user/eclipse/eclipse Icon=/home/user/eclipse/icon.xpm Terminal=false StartupNotify=true Type=Application Categories=Application;Development;