<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>low level life</title>
	<atom:link href="http://lowlevellife.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lowlevellife.com</link>
	<description></description>
	<lastBuildDate>Wed, 09 May 2012 03:48:57 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>arduinoかってみた</title>
		<link>http://lowlevellife.com/2012/05/arduino%e3%81%8b%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f/</link>
		<comments>http://lowlevellife.com/2012/05/arduino%e3%81%8b%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f/#comments</comments>
		<pubDate>Wed, 02 May 2012 02:30:40 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[どうでもいい]]></category>
		<category><![CDATA[arduino]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1764</guid>
		<description><![CDATA[AOSCでarduinoの話がでていたので、前からほしかったので買ってみました。 どこで買おうかと探していたけど、とりあえずamazonでArduinoをはじめようキット を買いました。 あとは、イーサシールドとモータ。 &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/05/arduino%e3%81%8b%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://asahikawa-oss.org/">AOSC</a>でarduinoの話がでていたので、前からほしかったので買ってみました。<br />
どこで買おうかと探していたけど、とりあえずamazonで<a href="http://www.amazon.co.jp/gp/product/B0025Y6C5G/ref=as_li_ss_tl?ie=UTF8&#038;tag=lowlevellife-22&#038;linkCode=as2&#038;camp=247&#038;creative=7399&#038;creativeASIN=B0025Y6C5G">Arduinoをはじめようキット</a><img src="http://www.assoc-amazon.jp/e/ir?t=lowlevellife-22&#038;l=as2&#038;o=9&#038;a=B0025Y6C5G" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
を買いました。</p>
<p>あとは、イーサシールドとモータ。<br />
<a href="http://lowlevellife.com/wp-content/uploads/2012/05/20120430_arduino_kit.jpg"><img src="http://lowlevellife.com/wp-content/uploads/2012/05/20120430_arduino_kit-462x360.jpg" alt="" title="20120430_arduino_kit" width="462" height="360" class="aligncenter size-thumbnail wp-image-1765" /></a></p>
<p>箱がかっこよすぎる。</p>
<p>とりあえず、LED光らせて遊んでいます。</p>
<p>高専の頃、電気の授業でもっと複雑なことしてた気がするけど、全く覚えてないｗ<br />
あの頃は電気回路なんてめんどくさかったけど、今適当にやると楽しいねー。</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/05/arduino%e3%81%8b%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 12.04 beta2で。</title>
		<link>http://lowlevellife.com/2012/04/ubuntu-12-04-beta2%e3%81%a7%e3%80%82/</link>
		<comments>http://lowlevellife.com/2012/04/ubuntu-12-04-beta2%e3%81%a7%e3%80%82/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 21:58:46 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[サーバー]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1757</guid>
		<description><![CDATA[ubuntu 12.04でのopenstack環境構築の予習ってことでbeta2を試してみました。 インストーラーの画面に選択肢としてでてきました。 おー。 こりゃらくちん。 と思いきや。 ぎゃー まぁ、とりあえず、no &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/04/ubuntu-12-04-beta2%e3%81%a7%e3%80%82/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>ubuntu 12.04でのopenstack環境構築の予習ってことでbeta2を試してみました。</p>
<p>インストーラーの画面に選択肢としてでてきました。</p>
<p><a href="http://lowlevellife.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-22-at-10.27.03-PM.png"><img src="http://lowlevellife.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-22-at-10.27.03-PM-480x339.png" alt="" title="Screen Shot 2012-04-22 at 10.27.03 PM" width="480" height="339" class="aligncenter size-thumbnail wp-image-1758" /></a></p>
<p>おー。<br />
こりゃらくちん。</p>
<p>と思いきや。</p>
<p><a href="http://lowlevellife.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-23-at-4.07.22-AM.png"><img src="http://lowlevellife.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-23-at-4.07.22-AM-480x341.png" alt="" title="Screen Shot 2012-04-23 at 4.07.22 AM" width="480" height="341" class="aligncenter size-thumbnail wp-image-1759" /></a></p>
<p>ぎゃー</p>
<p>まぁ、とりあえず、nova-*とかはインストールされていたので、rabbitmqとかglanceとかmysqlとかの設定を元々作ってあったホストに向けてみたら</p>
<pre class="brush: bash; title: ; notranslate">
AVAILABILITYZONE	nova	available
AVAILABILITYZONE	|- ubuntu1204beta2
AVAILABILITYZONE	| |- nova-cert	enabled :-) 2012-04-22 21:47:37
AVAILABILITYZONE	| |- nova-scheduler	enabled :-) 2012-04-22 21:47:37
AVAILABILITYZONE	| |- nova-compute	enabled :-) 2012-04-22 21:47:38
AVAILABILITYZONE	| |- nova-network	enabled :-) 2012-04-22 21:47:37
</pre>
<p>認識はされた。</p>
<p>認識はされたけど、インスタンスを配置しようとするとglanceで認証がうまくいっていないようだ。</p>
<p>nova.confは余り変わっていないけど、api-paste.iniがわりと変わってました。<br />
keystoneの認証もなんか変わってる？</p>
<p>まぁ、やっぱり正式リリースされてからにしよう・・・。</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/04/ubuntu-12-04-beta2%e3%81%a7%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPSぷち比較</title>
		<link>http://lowlevellife.com/2012/04/vps%e3%81%b7%e3%81%a1%e6%af%94%e8%bc%83/</link>
		<comments>http://lowlevellife.com/2012/04/vps%e3%81%b7%e3%81%a1%e6%af%94%e8%bc%83/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 02:40:14 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[サーバー]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1727</guid>
		<description><![CDATA[最近またVPSが熱いですなぁ。 熱いよね？ さくらのVPSは昔からよかったけど最近のリニューアルでまたよくなりました。 お名前.comのVPSにもVZだけではなくKVMも登場しました。 HDBenchのスコアはさくらより &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/04/vps%e3%81%b7%e3%81%a1%e6%af%94%e8%bc%83/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>最近またVPSが熱いですなぁ。<br />
熱いよね？</p>
<p>さくらのVPSは昔からよかったけど最近のリニューアルでまたよくなりました。</p>
<p>お名前.comのVPSにもVZだけではなくKVMも登場しました。<br />
HDBenchのスコアはさくらよりも良いし、値段もお手頃です。<br />
ISOアップロードが可能で好きなOSをインストールできます。</p>
<p>cloudcoreは、いいなこれ！と思ったけどキャンペーンなしの月額にするととても高いので却下。</p>
<p>逆にHDD容量がお得で使ってたsaasesの良さが霞みました。ここは思いっきって同じ値段で3倍くらいの容量にしてください。<br />
と思ってたら、プラン改定によりGT2プランでHDD 5円/1GBとなりました。安い。<br />
回線も補強するって書いてたから前よりよくなっているかもですね。</p>
<p>joesクラウドもKVMで安くやるようですね。</p>
<p>というわけで、ちょっとメモってみました。</p>
<p><a href="http://lowlevellife.com/vps/">VPSメモ</a></p>
<p>ちなみに、実験ということでflask + gunicorn + supervisordで動いています。</p>
<p>内容に関しては、以下のサイトの方がすっきりして見やすいし、カタログ以外の情報もあるのでおすすめです。</p>
<p><a href="http://temog.info/archives/vps/vps%E6%AF%94%E8%BC%83-saases-%E3%81%95%E3%81%8F%E3%82%89-serversmanvps.html">VPS比較 SaaSes, さくら, ServersMan@VPS</a></p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/04/vps%e3%81%b7%e3%81%a1%e6%af%94%e8%bc%83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openstack vlanmanagerで動かしてみた。</title>
		<link>http://lowlevellife.com/2012/04/openstack-vlanmanager%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/</link>
		<comments>http://lowlevellife.com/2012/04/openstack-vlanmanager%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 20:18:13 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[サーバー]]></category>
		<category><![CDATA[openstack]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1741</guid>
		<description><![CDATA[catalyst 3500 XLを貸してもらっちゃっいました。 初めてのシリアルコンソールでの設定にうきうきしながら、以前に設定したOpenStackをVlanManagerで設定してみました。 14. OpenStac &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/04/openstack-vlanmanager%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>catalyst 3500 XLを貸してもらっちゃっいました。<br />
初めてのシリアルコンソールでの設定にうきうきしながら、以前に設定したOpenStackをVlanManagerで設定してみました。</p>
<p><a href="http://lowlevellife.com/docs/essex-4/vlan/openstack_vlan.html">14. OpenStack VlanManager / catalyst 3500 XL — Installing OpenStack essex-4 1 documentation</a></p>
<p>たぶん動いた気がします・・・。スイッチの設定があってるのかさっぱり・・・。<br />
catalyst3500の中古の値段を見たら割と安いから１こほしいなーと思ったけど、起動しているとすごくうるさいし、なんか暑いので、もっと静かで暑くないのを探そう・・・。</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/04/openstack-vlanmanager%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pythonプロフェッショナルプログラミング</title>
		<link>http://lowlevellife.com/2012/04/python%e3%83%97%e3%83%ad%e3%83%95%e3%82%a7%e3%83%83%e3%82%b7%e3%83%a7%e3%83%8a%e3%83%ab%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0/</link>
		<comments>http://lowlevellife.com/2012/04/python%e3%83%97%e3%83%ad%e3%83%95%e3%82%a7%e3%83%83%e3%82%b7%e3%83%a7%e3%83%8a%e3%83%ab%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 23:52:47 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1737</guid>
		<description><![CDATA[Pythonプロフェッショナルプログラミング を読みました。 昨年１年かけて色々なサイトや本を見て覚えたことが１冊にまとまっている感じでした。 深いことや目新しいことは書いていなかったけど、pythonを使って（主に）ウ &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/04/python%e3%83%97%e3%83%ad%e3%83%95%e3%82%a7%e3%83%83%e3%82%b7%e3%83%a7%e3%83%8a%e3%83%ab%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p><a href="http://px.a8.net/svt/ejp?a8mat=1NWEWQ+9FD3LE+249K+BWGDT&#038;a8ejpredirect=http%3A%2F%2Fwww.amazon.co.jp%2FPython%25E3%2583%2597%25E3%2583%25AD%25E3%2583%2595%25E3%2582%25A7%25E3%2583%2583%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%258A%25E3%2583%25AB%25E3%2583%2597%25E3%2583%25AD%25E3%2582%25B0%25E3%2583%25A9%25E3%2583%259F%25E3%2583%25B3%25E3%2582%25B0-%25E3%2583%2593%25E3%2583%25BC%25E3%2583%2597%25E3%2583%25A9%25E3%2582%25A6%25E3%2583%2589%2Fdp%2F4798032948%3Ftag%3Da8-affi-17055-22" target="_blank">Pythonプロフェッショナルプログラミング </a><img border="0" width="1" height="1" src="http://www14.a8.net/0.gif?a8mat=1NWEWQ+9FD3LE+249K+BWGDT" alt="">を読みました。</p>
<p>昨年１年かけて色々なサイトや本を見て覚えたことが１冊にまとまっている感じでした。<br />
深いことや目新しいことは書いていなかったけど、pythonを使って（主に）ウェブアプリを作ろうとしたときに、頭に入っていると便利なことが一通り載っています。</p>
<p>virtualenvでの環境の構築<br />
mercurialでソース管理<br />
redmineでプロジェクト（チケット）管理<br />
JenkinsでCI<br />
sphinxでのドキュメント<br />
nginxとgunicornで実稼働などなど</p>
<p>広く浅く、でも実用的な話が満載です。</p>
<p>これからpythonを使って何かするには読む価値ありです。</p>
<p>それにしてもビープラウドって会社は楽しそうだねー。</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/04/python%e3%83%97%e3%83%ad%e3%83%95%e3%82%a7%e3%83%83%e3%82%b7%e3%83%a7%e3%83%8a%e3%83%ab%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ghc-7.0.4とhaskell-platformのインストール</title>
		<link>http://lowlevellife.com/2012/04/ghc-7-0-4%e3%81%a8haskell-platform%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://lowlevellife.com/2012/04/ghc-7-0-4%e3%81%a8haskell-platform%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 20:33:50 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[haskell]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1729</guid>
		<description><![CDATA[ghc-7.0.4がよいというコメントを頂いたので、試してみました。 とりあえず、入れてみただけですが、すんなりと入れることができました。 環境はさくらのクラウドのテンプレートから Scientific Linux re &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/04/ghc-7-0-4%e3%81%a8haskell-platform%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>ghc-7.0.4がよいというコメントを頂いたので、試してみました。<br />
とりあえず、入れてみただけですが、すんなりと入れることができました。<br />
環境はさくらのクラウドのテンプレートから Scientific Linux release 6.1 (Carbon) です。<br />
さくらのクラウドやＶＰＳのテンプレートはgccやmakeは最初からインストール済だった気もする。<br />
ライブラリは gmp-devel zlib-devel freeglut-develがあればmakeできたけど、「<br />
<a href="https://groups.google.com/forum/?fromgroups#!topic/start-haskell/UjCVKvrpI0k">Haskell環境構築：Linux &#8211; Google グループ</a>」によると以下の準備に書いたものが必要そうです。</p>
<h4>準備</h4>
<pre class="brush: bash; title: ; notranslate">
sudo yum install gcc make gmp-devel libffi-devel zlib-devel mesa-libGL-devel mesa-libGLU-devel freeglut-devel
</pre>
<h4>isntall ghc</h4>
<pre class="brush: bash; title: ; notranslate">
    cd
    mkdir src
    cd src
    wget http://www.haskell.org/ghc/dist/7.0.4/ghc-7.0.4-x86_64-unknown-linux.tar.bz2
    tar jxf ghc-7.0.4-x86_64-unknown-linux.tar.bz2
    cd ghc-7.0.4
    ./configure
    make install
</pre>
<h4>install haskell platform</h4>
<pre class="brush: bash; title: ; notranslate">

    cd ~/src
    wget http://lambda.haskell.org/platform/download/2011.4.0.0/haskell-platform-2011.4.0.0.tar.gz
    tar zxf haskell-platform-2011.4.0.0.tar.gz
    cd haskell-platform-2011.4.0.0
    ./configure
    make
    make install
</pre>
<h4>cabal</h4>
<pre class="brush: bash; title: ; notranslate">
cabal update
</pre>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/04/ghc-7-0-4%e3%81%a8haskell-platform%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kobito &#8211; プログラマの技術情報記録に最適なMacアプリケーション</title>
		<link>http://lowlevellife.com/2012/04/kobito-%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9e%e3%81%ae%e6%8a%80%e8%a1%93%e6%83%85%e5%a0%b1%e8%a8%98%e9%8c%b2%e3%81%ab%e6%9c%80%e9%81%a9%e3%81%aamac%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1/</link>
		<comments>http://lowlevellife.com/2012/04/kobito-%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9e%e3%81%ae%e6%8a%80%e8%a1%93%e6%83%85%e5%a0%b1%e8%a8%98%e9%8c%b2%e3%81%ab%e6%9c%80%e9%81%a9%e3%81%aamac%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 20:20:29 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[どうでもいい]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1732</guid>
		<description><![CDATA[こういうのほしかったけど、できればevernoteが更に軽くなった上で、インデントの空白数を調整できて、reStructuredTextで書いて見れるといいんだけどねー。 Kobito &#8211; プログラマの技術情 &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/04/kobito-%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9e%e3%81%ae%e6%8a%80%e8%a1%93%e6%83%85%e5%a0%b1%e8%a8%98%e9%8c%b2%e3%81%ab%e6%9c%80%e9%81%a9%e3%81%aamac%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>こういうのほしかったけど、できればevernoteが更に軽くなった上で、インデントの空白数を調整できて、reStructuredTextで書いて見れるといいんだけどねー。</p>
<p><a href='http://kobitoapp.com/'>Kobito &#8211; プログラマの技術情報記録に最適なMacアプリケーション</a>.</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/04/kobito-%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9e%e3%81%ae%e6%8a%80%e8%a1%93%e6%83%85%e5%a0%b1%e8%a8%98%e9%8c%b2%e3%81%ab%e6%9c%80%e9%81%a9%e3%81%aamac%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to sphinxjp.themes.impressjs’s documentation</title>
		<link>http://lowlevellife.com/2012/03/welcome-to-sphinxjp-themes-impressjss-documentation/</link>
		<comments>http://lowlevellife.com/2012/03/welcome-to-sphinxjp-themes-impressjss-documentation/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 21:15:35 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1715</guid>
		<description><![CDATA[次に何かで話す機会があればコレ使ってみよう＠ｖ＠ Welcome to sphinxjp.themes.impressjs’s documentation sphinxjp.themes.impressjs 0.1.2  &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/03/welcome-to-sphinxjp-themes-impressjss-documentation/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>次に何かで話す機会があればコレ使ってみよう＠ｖ＠</p>
<pre class="brush: bash; title: ; notranslate">
pip install sphinxjp.themes.impressjs
mkdir test
cd test
sphinx-quickstart
vi conf.py
</pre>
<pre class="brush: python; title: ; notranslate">
extensions = ['sphinxjp.themecore']
html_theme = 'impressjs'
html_use_index = False
</pre>
<pre class="brush: bash; title: ; notranslate">
vi index.rst
</pre>
<pre class="brush: plain; title: ; notranslate">
.. This is sample documentation file for sphinxjp.themes.impressjs.

======================================================
 Welcome to sphinxjp.themes.impressjs's documentation
======================================================

.. impressjs:: title
   :data-x: 0
   :data-y: 0
   :data-z: -1000
   :data-rotate-x: -90
   :data-scale: 4

   *sphinxjp.themes.impressjs*

.. impressjs:: features
   :data-x: 1000
   :data-y: 800
   :data-rotate: 180
   :data-rotate-y: -30
   :data-scale: 1

   *Feature:*

      * provide ``impressjs`` directive for impress.js presentaion control
      * provide ``impressjs`` presentation theme for render HTML document

.. impressjs:: installation
   :data-x: -1000
   :data-y: -800
   :data-rotate-y: 30
   :data-scale: 1

   *Install:*

   .. code-block:: bash

      $ easy_install sphinxjp.themes.impressjs

.. impressjs:: setup
   :data-x: 0
   :data-y: -800
   :data-z: -200
   :data-scale: 1

   *setup your* ``conf.py`` *with:*

   .. code-block:: python

      extensions = ['sphinxjp.themecore']
      html_theme = 'sphinxjp.themes.impressjs'
      html_use_index = False

.. impressjs:: make
   :data-x: 1000
   :data-y: -800
   :data-rotate-y: -30
   :data-scale: 1

   *and run:*

   .. code-block:: bash

      $ make html

   then you'll get this page's style HTML output. Enjoy!

.. impressjs:: requirements
   :data-x: 1000
   :data-y: 0
   :data-rotate: 90
   :data-rotate-y: -30
   :data-scale: 1

   *requirement:*

   Python 2.4 or later (not support 3.x)

   Sphinx 1.0.x or later

.. impressjs:: license
   :data-x: -1000
   :data-y: 0
   :data-rotate: -90
   :data-rotate-y: 30
   :data-scale: 1

   *license:*

   Licensed under the MIT_ license.

   See LICENSE file in details.

.. impressjs:: links
   :data-x: -1000
   :data-y: 800
   :data-rotate: -180
   :data-rotate-y: 30
   :data-scale: 1

   *Links:*

   All codes on Github:

   repository_, downloads_, issues_

   Feel free to fork them on Github!

.. impressjs:: contents
   :data-x: 0
   :data-y: 0
   :data-z: -200
   :data-scale: 1

   .. toctree::

      options
      history
      authors

.. impressjs:: overview
   :data-x: 0
   :data-y: 0
   :data-scale: 3

   .. content

.. _mit:        http://www.opensource.org/licenses/mit-license.php
.. _repository: https://github.com/shkumagai/sphinxjp.themes.impressjs
.. _downloads:  https://github.com/shkumagai/sphinxjp.themes.impressjs/downloads
.. _issues:     https://github.com/shkumagai/sphinxjp.themes.impressjs/issues

.. END
</pre>
<pre class="brush: bash; title: ; notranslate">
make html
open _build/html/index.html
</pre>
<p><a href="http://packages.python.org/sphinxjp.themes.impressjs/#/overview">Welcome to sphinxjp.themes.impressjs’s documentation</a><br />
<a href="http://pypi.python.org/pypi/sphinxjp.themes.impressjs/0.1.2">sphinxjp.themes.impressjs 0.1.2 : Python Package Index</a><br />
<a href="http://bartaz.github.com/impress.js/#/bored">impress.js | presentation tool based on the power of CSS3 transforms and transitions in modern browsers | by Bartek Szopka @bartaz</a></p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/03/welcome-to-sphinxjp-themes-impressjss-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sudoersファイルを書き間違えてsudoできなくなる</title>
		<link>http://lowlevellife.com/2012/03/sudoers%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e6%9b%b8%e3%81%8d%e9%96%93%e9%81%95%e3%81%88%e3%81%a6sudo%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%82%8b/</link>
		<comments>http://lowlevellife.com/2012/03/sudoers%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e6%9b%b8%e3%81%8d%e9%96%93%e9%81%95%e3%81%88%e3%81%a6sudo%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%82%8b/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 21:08:33 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1710</guid>
		<description><![CDATA[openstackを設定するのにsudoers.dを書いてたんですけど、まちがってdevstackのstack.shを動かしてしまったくらいのタイミングで、下のような感じになってしまい、同じ定義を2回しようとしてるよ、と &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/03/sudoers%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e6%9b%b8%e3%81%8d%e9%96%93%e9%81%95%e3%81%88%e3%81%a6sudo%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%82%8b/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>openstackを設定するのにsudoers.dを書いてたんですけど、まちがってdevstackのstack.shを動かしてしまったくらいのタイミングで、下のような感じになってしまい、同じ定義を2回しようとしてるよ、と怒られてsudoできなくなりました。</p>
<pre class="brush: bash; title: ; notranslate">
#includedir /etc/sudoers.d
#includedir /etc/sudoers.d
</pre>
<p>ちなみにこの#はコメントではないようです。<br />
（<a href="http://kaworu.jpn.org/kaworu/2011-08-13-1.php">sudo の設定は visudo を使わずに sudoers.d に書く</a>）</p>
<p>ここで、rootにパスワードが設定してあれば、suできるんですが、そうでない場合、sudoできなくて終わります。<br />
（終わるよね？　他に方法ある？）</p>
<p>で、終わるわけにはいかないので、起動ディスクを使ってsudoersを修正しました。</p>
<p>#. ubuntu live cd で起動する。<br />
#. インストールせずに試す、で起動。<br />
#. gnome-terminal<br />
#. sudo apt-get install mdadm lvm2<br />
#. あとはお好きに。</p>
<p>うちのはmdでraidにしてあったので、適当にmd0を作って、</p>
<p>sudo mdadm &#8211;assemble /dev/md0 /dev/sdc2 /dev/sdd2<br />
sudo lvscan<br />
sudo mount /dev/VolGroup00/LogVol01 /mnt<br />
# sudoerなどを編集<br />
sudo umount /mnt</p>
<p># 本当はこれをしたいのだけど、失敗する。lvmが動いてるから？？<br />
# sudo mdadm &#8211;stop /dev/md0</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/03/sudoers%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e6%9b%b8%e3%81%8d%e9%96%93%e9%81%95%e3%81%88%e3%81%a6sudo%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%8f%e3%81%aa%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>はじめてのhaskell　Text.Parsec.Stringがない</title>
		<link>http://lowlevellife.com/2012/03/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aehaskell%e3%80%80text-parsec-string%e3%81%8c%e3%81%aa%e3%81%84/</link>
		<comments>http://lowlevellife.com/2012/03/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aehaskell%e3%80%80text-parsec-string%e3%81%8c%e3%81%aa%e3%81%84/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 21:47:27 +0000</pubDate>
		<dc:creator>planset</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[haskell]]></category>

		<guid isPermaLink="false">http://lowlevellife.com/?p=1695</guid>
		<description><![CDATA[WEB+DB PRESS vol.67に入門関数プログラミングという記事があったので買って読んでみました。 まずはサンプルコードを試すのにhaskell環境の準備ですが、centosについては特に記述がなかったので、yu &#8230;<p class="read-more"><a href="http://lowlevellife.com/2012/03/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aehaskell%e3%80%80text-parsec-string%e3%81%8c%e3%81%aa%e3%81%84/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[
<p>WEB+DB PRESS vol.67に入門関数プログラミングという記事があったので買って読んでみました。</p>
<p>まずはサンプルコードを試すのにhaskell環境の準備ですが、centosについては特に記述がなかったので、yum search haskellしてでてきた ghcというパッケージをインストールしました。<br />
順調に動かすことができたのですが、csv.hsを読み込んだところで、こんなエラーがでました。</p>
<pre class="brush: bash; title: ; notranslate">
GHCi, version 6.10.4: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.

csv.hs:3:7:
    Could not find module `Text.Parsec.String':
      Use -v to see a list of the files searched for.
Failed, modules loaded: none.
Prelude&gt;
</pre>
<p>Text.Parsec.Stringがないって言ってる感じです。</p>
<p>きっと、このバージョンにはText.Parsec.Stringというライブラリがないのでしょう。よーし。きっと最新版を入れれば解決だ。</p>
<p><span id="more-1695"></span></p>
<h4>最新版のghcを入れてみる・・・</h4>
<p>そもそもghcって何かをよくわかってないけど、yumでインストールしたのがghcなので探して入れてみよう。</p>
<p><a href="http://www.haskell.org/ghc/download_ghc_7_4_1#x86_64linux">GHC: Download version 7.4.1</a></p>
<p>しかし、ダウンロードして./configureしてみるも、centos5.8だとlibcのバージョンが古いからだめだと言われます。</p>
<p>ちょっとめんどうそうなので、これは放置します。</p>
<p>つぎに、どうやらcabalというパッケージ管理ツールがあって、それでパッケージをインストールできるらしいことを見つけました。そのcabalというのはhaskell-platformの中にあるらしい。じゃあ、それをインストールしよう。</p>
<h4>haskell-platform</h4>
<p>新しめのバージョンでは、おまえのghcのバージョンは古いぞ、って言われるので、古めのバージョンをダウンロードします。</p>
<pre class="brush: bash; title: ; notranslate">
sudo freeglut-devel libedit-devel
wget http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2.tar.gz
tar zxf haskell-platform-2009.2.0.2.tar.gz
cd haskell-platform-2009.2.0.2
</pre>
<p>ここで、./configure -> make -> make install とします。<br />
しかし、どうも失敗します。</p>
<p>#. ビルドが始まる。<br />
#. 既にインストールされているライブラリは時間の無駄なのでビルド処理をスキップ<br />
#. スキップしないライブラリのビルドが走るが、スキップしたビルドの生成物を参照している！？<br />
#. そのためファイルが見つからずエラー<br />
#. make installでもスキップしたライブラリは、インストール対象がない、とエラー。そりゃあスキップしたからね。</p>
<p>というような感じで意味がわからないので、スキップする処理はコメントアウトして全部ビルドさせます。</p>
<p>scripts/build.sh </p>
<pre class="literal-block">113 cd packages
114 for pkg in `cat platform.packages`; do
115   #if is_pkg_installed \"${pkg}\"; then
116   #  echo \"Platform package ${pkg} is already installed. Skipping...\"
117   #else
118     echo \"Building ${PKG}\"
119     build_pkg \"${pkg}\"
120   #fi
121 done</pre>
<pre class="literal-block">./configure
make
sudo make install</pre>
<p>あと、makeを途中で止めたりエラーで止まった場合、途中までの結果はmake cleanだけでは消えないし、続けてmakeをしてもうまくいきません。<br />
どれを消して良いかわからないので、一旦全部削除して圧縮ファイルの展開からやり直しました。</p>
<p>あと、こんなエラーも出てました。いつ出てたかは忘れました・・・。たしか、ビルドのスキップでのエラーのときだったかなぁ。</p>
<pre class="literal-block">Setup: The program happy is required but it could not be found</pre>
<h4>cabal</h4>
<p>haskell-platformのインストールが終わると、cabalというパッケージ管理ツールを使うことができます。<br />
ライブラリのリストをアップデートして、parsecをインストールします。アップグレードかも。</p>
<pre class="literal-block">sudo cabal update
sudo cabal install parsec</pre>
<p>cabal自体をアップグレード・・・は失敗しました。</p>
<h4>これで、Text.Parsec.STringが使えた</h4>
<p>というわけで、これでWEB+DBのサンプルコードが動きました。<br />
ubuntuあたりでapt-getすればこんなことしなくても動きそうですけどね・・・。</p>

]]></content:encoded>
			<wfw:commentRss>http://lowlevellife.com/2012/03/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aehaskell%e3%80%80text-parsec-string%e3%81%8c%e3%81%aa%e3%81%84/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: lowlevellife.com @ 2012-05-20 15:49:08 -->
