blog/content/post/2008/11/24/2008-11-24-00001074.md

59 lines
3.9 KiB
Markdown
Raw Normal View History

2019-03-31 11:00:21 +00:00
---
title: outputz試してみました。
author: kazu634
date: 2008-11-24
url: /2008/11/24/_1152/
wordtwit_post_info:
- 'O:8:"stdClass":13:{s:6:"manual";b:0;s:11:"tweet_times";i:1;s:5:"delay";i:0;s:7:"enabled";i:1;s:10:"separation";s:2:"60";s:7:"version";s:3:"3.7";s:14:"tweet_template";b:0;s:6:"status";i:2;s:6:"result";a:0:{}s:13:"tweet_counter";i:2;s:13:"tweet_log_ids";a:1:{i:0;i:4393;}s:9:"hash_tags";a:0:{}s:8:"accounts";a:1:{i:0;s:7:"kazu634";}}'
categories:
- つれづれ
---
<div class="section">
<h4>
今日の成果
</h4>
<p>
<center>
</center>
</p>
<p>
<div style="width:530px;padding:20px 0;margin:0;">
<div style="margin:0;padding:10px 20px 3px 20px;font-size:90%;font-weight:bold;background:transparent url('http://outputz.com/images/op_bg.png') 0 -60px no-repeat;font-family:Meiryo,Osaka,sans-serif,Arial,Helvetica;line-height:100%;">
11/24/2008 Outputz
</div>
<div style="margin:0;padding:0;background:transparent url('http://outputz.com/images/op_bg.png') 0 bottom no-repeat;line-height:100%;">
<div style="margin:0px 20px 0 20px;padding:7px 1em 7px 38px;border:3px solid #d9d7d7;background:#f5f5f5 url('http://outputz.com/images/op_bg.png') 5px 5px no-repeat;font-size:95%;font-family:Meiryo,Osaka,sans-serif,Arial,Helvetica;line-height:100%;">
2,016bytes
</div>
<p>
<img src="http://chart.apis.google.com/chart?chs=500x180&cht=p3&chd=t:12.9,86.4,0.5&chl=www.google.c... 12.9%|emacs.com 86.4%|login.yahoo.... 0.5%&chco=fa9c17,fdf1c5" style="margin:0;padding:0 0 0 15px;" />
<p style="margin:0; padding: 15px 130px 17px 17px;font-size:80%;font-weight:bold;color:#666666;">
powered by <a href="http://outputz.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://outputz.com/', 'Outputz');" style="color:#FF9900" title="Outputz - Record how much do you output to the Internet? with Outputz.">Outputz</a>.
</p></div> </div>
</p>
<h4>
outputz.elの設定
</h4>
<p>
<a href="http://d.hatena.ne.jp/antipop/20081120/1227180641" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/antipop/20081120/1227180641', 'EmacsからOutputzに文字数を投げる &#8211; antipop');" target="_blank">EmacsからOutputzに文字数を投げる &#8211; antipop</a>」を参照しよう:
</p>
<pre class="syntax-highlight">
<span class="synSpecial">(</span><span class="synStatement">require</span> <span class="synSpecial">'</span><span class="synIdentifier">outputz</span><span class="synSpecial">)</span>
<span class="synSpecial">(</span><span class="synStatement">setq</span> outputz-key <span class="synConstant">&#34;****************&#34;</span><span class="synSpecial">)</span> <span class="synComment">;; 復活の呪文</span>
<span class="synSpecial">(</span><span class="synStatement">setq</span> outputz-uri <span class="synConstant">&#34;http://emacs.com/%s&#34;</span><span class="synSpecial">)</span> <span class="synComment">;; 適当なURL。%sにmajor-modeの名前が入るので、major-modeごとのURLで投稿できます。</span>
<span class="synSpecial">(</span>global-outputz-mode <span class="synStatement">t</span><span class="synSpecial">)</span>
<span class="synComment">;; Add to the modes:</span>
<span class="synComment">;; http://d.hatena.ne.jp/higepon/20081121/1227234534</span>
<span class="synSpecial">(</span>add-to-list <span class="synSpecial">'</span><span class="synIdentifier">outputz-modes</span> <span class="synSpecial">'</span><span class="synIdentifier">hatena-mode</span><span class="synSpecial">)</span> <span class="synComment">;; Hey, hatena-mode!</span>
<span class="synSpecial">(</span>add-to-list <span class="synSpecial">'</span><span class="synIdentifier">outputz-modes</span> <span class="synSpecial">'</span><span class="synIdentifier">scheme-mode</span><span class="synSpecial">)</span> <span class="synComment">;; Hey, Scheme!</span>
</pre>
</div>