<?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>さらにやる気の無いブログ</title>
	<atom:link href="http://blog.lciel.jp/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lciel.jp</link>
	<description>@lciel のチラシの裏です。</description>
	<lastBuildDate>Sun, 24 Jul 2011 15:25:19 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Unity3.3 を mac にインストール</title>
		<link>http://blog.lciel.jp/archives/182</link>
		<comments>http://blog.lciel.jp/archives/182#comments</comments>
		<pubDate>Sun, 24 Jul 2011 15:25:19 +0000</pubDate>
		<dc:creator>lciel</dc:creator>
				<category><![CDATA[logs]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[unity]]></category>

		<guid isPermaLink="false">http://blog.lciel.jp/?p=182</guid>
		<description><![CDATA[今日の marukosugi_debu で、プレゼンまでは至らなかったけれど、 前々からちょっと気になっていた Unity をいじったので、 インストールから Hello, world 的なものまでをまとめておきます。  [...]]]></description>
			<content:encoded><![CDATA[<p>
<img src="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725.gif" alt="" title="20110725" width="120" height="120" class="alignleft size-full wp-image-187" />
今日の marukosugi_debu で、プレゼンまでは至らなかったけれど、<br />
前々からちょっと気になっていた <a href="http://unity3d.com/japan/">Unity</a> をいじったので、<br />
インストールから Hello, world 的なものまでをまとめておきます。<br />
<br />
とりあえず、インストールから。<br />
<br />
<br />
<span id="more-182"></span><br />
<br />
<br />
各プラットフォームに publish するには、ライセンスを購入する必要があるが、<br />
本体は無料でダウンロードできるので、とりあえずどんな感じか試してみる。<br />
<br />
<br />
<h3>インストール</h3>
まずは、Unity をダウンロードする。<br />
<a href="https://store.unity3d.com/shop/">https://store.unity3d.com/shop/</a> から、Unity / Free にチェックを入れ、Proceed をクリック。<br />
表示されるダウンロードボタンから、 unity-3.3.0.dmg をダウンロードする。<br />
<br />
dmg をマウントして、画面の指示に従ってインストールする。<br />
<br />
インストール完了後、初回起動時にライセンス使用許諾をして、<br />
ソフトウェアをアクティベートする必要がある。<br />
<a href="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725a.png"><img src="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725a-300x203.png" alt="" title="20110725a" width="300" height="203" class="alignnone size-medium wp-image-195" /></a><br />
Internet Activation と Manual Activation があるようだが、 Internet Activation では何度やっても<br />
<pre>
Unable to complete internet activation. The internet activation server returned an error (-50).
</pre>
と出てしまったので、 Manual Activation を行う。<br />
<br />
<a href="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725b.png"><img src="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725b-300x203.png" alt="" title="20110725b" width="300" height="203" class="alignnone size-medium wp-image-197" /></a><br />
まず、 Manual activation -> Save License Request で Unity_v3.x.ilr をディスク上に保存する。<br />
続いて、 <a href="https://store.unity3d.com/manual/">https://store.unity3d.com/manual/</a> にアクセスし、 Free Activation にチェックを入れた後、<br />
先ほど保存した Unity_v3.x.ilr をアップロードする。<br />
Activate Unity で UnityLicense.ilr がダウンロードできるので、それを Save License Request の横にある<br />
Read License から読み込み、 Finish でアクティベート完了。<br />
<br />
<br />
<h3>起動〜デモの確認</h3>
unity を起動する。<br />
初回起動時は、サンプルの Bootcamp Demo が表示されている。<br />
<br />
<a href="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725c.png"><img src="http://blog.lciel.jp/wp-content/uploads/2011/07/20110725c-300x202.png" alt="" title="20110725c" width="300" height="202" class="alignnone size-medium wp-image-198" /></a><br />
<br />
しかし、初っぱなのデモが高機能すぎてヤバいw<br />
unity 上部の再生ボタンからゲームをスタートできるので、とりあえず試してみる。<br />
<br />
とりあえず操作方法としてはこんな感じ？<br />
<pre>
マウスカーソル移動 : 視点移動
マウス右クリック: 銃を撃つ
w, a, s, dキー : 移動
Shiftキー : 走る
Ctrlキー : しゃがむ
Spaceキー : ジャンプ 
</pre>
<br />
適当にうろうろして、建物の中まで入ると、「unity を使ってくれてありがとう」<br />
という感じのメッセージが突然流れるw<br />
<br />
しかし、ぱっと見では、モデリングされたステージの中に、<br />
光源や音源が置かれているだけなのだけれど、そこらのものが勝手に光を反射しているわ、<br />
物陰に隠れれば音が小さくなるわ、これが3Dゲームエンジンというやつか。。。<br />
<br />
<br />
次のエントリでは、Hello, world 的なものを作ってみます。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lciel.jp/archives/182/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xcode をインストール中に Installation Alert</title>
		<link>http://blog.lciel.jp/archives/176</link>
		<comments>http://blog.lciel.jp/archives/176#comments</comments>
		<pubDate>Sat, 23 Jul 2011 17:33:43 +0000</pubDate>
		<dc:creator>lciel</dc:creator>
				<category><![CDATA[logs]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://blog.lciel.jp/?p=176</guid>
		<description><![CDATA[Xcode を Mac App Store から落としてインストールしていたら、 close the following application のアラートが出て、iTunes を落とせとの指示が&#8230; iTun [...]]]></description>
			<content:encoded><![CDATA[<p>
<img src="http://blog.lciel.jp/wp-content/uploads/2011/07/20110724.jpg" alt="" title="20110724" width="108" height="108" class="alignleft size-full wp-image-177" />
Xcode を Mac App Store から落としてインストールしていたら、<br />
close the following application のアラートが出て、iTunes を落とせとの指示が&#8230;<br />
iTunes なんて起動していないのになあ。。<br />
<br />
虫眼鏡ボタン押しても、新しい iTunes のプロセスが立ち上がり、<br />
それを終了しても、インストールは先に進まない。<br />
<br />
探したら、AlertAll  を kill すると良いとあったので、<br />
<ul>
<li><a href="http://stackoverflow.com/questions/2810070/close-window-xcodes-installation-alert-that-has-no-kind-of-closing-elements">Close Window (Xcodes “Installation Alert”) that has no kind of closing elements.</a></li>
</ul>
kill してみたら何事もなかったかのようにインストールが完了した。<br />
<br />
<pre>
$ ps ax | grep AlertAll
  548   0.0  0.2   710276   8032   ??  S     2:09AM   0:01.91 ./Tools/AlertAll.app/Contents/MacOS/AlertAll /Applications/Install Xcode.app/Contents/Resources/Packages/MobileDevice.pkg
$ kill 548
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lciel.jp/archives/176/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress で使っているプラグイン</title>
		<link>http://blog.lciel.jp/archives/154</link>
		<comments>http://blog.lciel.jp/archives/154#comments</comments>
		<pubDate>Sun, 17 Jul 2011 14:49:18 +0000</pubDate>
		<dc:creator>lciel</dc:creator>
				<category><![CDATA[logs]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.lciel.jp/?p=154</guid>
		<description><![CDATA[WordPress で使っている（あるいは使う予定のある）プラグインをメモ的に列挙しておきます。 定期的に更新されるかも。 プラグインのインストールはこちらなどを参照。 Akismet とりあえずスパム対策として、評判の [...]]]></description>
			<content:encoded><![CDATA[<p>
<img src="http://blog.lciel.jp/wp-content/uploads/2011/07/20110717.png" alt="" title="20110717" width="120" height="120" class="alignleft size-full wp-image-155" />
WordPress で使っている（あるいは使う予定のある）プラグインをメモ的に列挙しておきます。<br />
定期的に更新されるかも。<br />
<br />
<br />
<br />
<span id="more-154"></span><br />
<br />
プラグインのインストールは<a href="http://zone.maple4ever.net/blog/archives/308/">こちら</a>などを参照。<br />
<br />
<ul>
<li><a href="http://akismet.com/">Akismet</a><br />
とりあえずスパム対策として、評判の高い Akismet を導入してみた。<br />
（良いのか悪いのかは今のところまだ分からない。。）</li>
<li><a href="http://camcam.info/wordpress/101">brBrbr</a><br />
改行を&lt;br /&gt;に変換してくれるプラグイン。<br />
wiki記法に甘えないと決心してブログを書いてるけれど、これだけは我慢できなかった。</li>
<li><a href="http://www.linewbie.com/wordpress-plugins/">Hot Linked Image Cacher</a><br />
画像への直リンクを禁止するプラグイン。</li>
<li><a href="http://www.4mj.it/lightbox-js-v20-wordpress/">Lightbox 2</a><br />
毎回無理矢理ブログに組み込んでいた Lightbox も、プラグインで簡単に導入できます。<br />
そう、 WordPress ならね。</li>
<li><a href="http://julienappert.com/developpements-wordpress/plugin-link-to-post">Link to Post</a><br />
過去記事へのリンクを追加するプラグイン。<br />
面倒くさがり屋の自分には、そのうち重宝するはず。</li>
<li><a href="http://blog.matrixagents.org/wp-plugins/">StatPress Reloaded</a><br />
高機能なアクセス解析ツール。<br />
日本語化けるもできるみたい（未導入）。<br />
→<a href="http://blog.ecworks.jp/archives/890">【WordPress】「StatPress Reloaded」の日本語化ファイル公開</a></li>
<li><a href="http://wppluginsj.sourceforge.jp/syntax-highlighter/">Syntax Highlighter for WordPress</a><br />
SyntaxHilighter を使えるようにするプラグイン。<br />
導入が簡単で素敵です。</li>
<li><a href="http://andreapernici.com/wordpress/google-plus-one-button/">WordPress Google Plus One Button</a><br />
なんとなく入れてみた Google+ ボタン。<br />
プラグインとしては、記事詳細ページにしかボタンを貼付けられないのが少しイマイチ。</li>
<li><a href="http://www.roytanck.com/2008/03/15/wp-cumulus-released">WP-Cumulus</a><br />
タグクラウドを 3D 化してくれるプラグイン。<br />
面白いけど、見やすいかと言われると微妙。そのうち普通のタグクラウドに戻すかも。<br />
Flash で実現されるので、そこも少しネックか。</li>
<li><a href="http://lesterchan.net/portfolio/programming/php/">WP-DBManager</a><br />
DBのバックアップをしてくれるプラグイン。<br />
別個にバックアップ用スクリプト書かないで良さそうだし、機能もパッと見よい感じに見える。</li>
<li><a href="http://wordpress.org/extend/plugins/wp-pagenavi/">WP-PageNavi</a><br />
標準のページャはイマイチだったので、探してみたら良いものがあったので導入。<br />
現在何ページ目かが分かるなど、良い感じのページナビゲーションを提供してくれます。</li>
<li>[無効化中]<a href="http://www.slocumstudio.com/">WP Evernote Site Memory</a><br />
Evernote にページを clip するためのボタンを付けてくれるプラグイン。</li>
<li><a href="http://eastcoder.com/code/wp-multibyte-patch/">WP Multibyte Patch</a><br />
さまざまなマルチバイト文字の不具合を修正してくれるプラグイン。</li>
<li>[無効化中]<a href="http://www.ninxit.com/blog/2010/06/13/wp-social-bookmarking-light/">WP Social Bookmarking Light</a><br />
各種ソーシャル系サービスにポストするためのボタンを表示してくれるプラグイン。<br />
表示ずれがすごかったため、調整してから有効化する予定。</li>
<li><a href="http://wordpress.org/extend/plugins/wptouch/">WPtouch</a><br />
スマートフォンでアクセスした際に、スマートフォン向けのページを表示してくれるプラグイン。<br />
スマートフォンに対応しているテーマを呼び出してくれるプラグインもあるみたい？<br />
（まだあまり探していない）</li>
</ul></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lciel.jp/archives/154/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS5.5 に PHP5.3.6 + MySQL5.6.2 いれる</title>
		<link>http://blog.lciel.jp/archives/40</link>
		<comments>http://blog.lciel.jp/archives/40#comments</comments>
		<pubDate>Sat, 16 Jul 2011 11:10:40 +0000</pubDate>
		<dc:creator>lciel</dc:creator>
				<category><![CDATA[logs]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://frontier.ddo.jp/blog/?p=40</guid>
		<description><![CDATA[今までずっと愛用してきた自宅サーバが爆散してしまったので、さくらの VPS を使い始めた訳ですが、まっさらな CentOS5.5 なので、遊ぶための環境をチマチマ構築していきます。 とりあえず、 Apache は Cen [...]]]></description>
			<content:encoded><![CDATA[<p>
<img src="http://blog.lciel.jp//HLIC/mysqlphp.jpg" alt="" title="mysqlphp" width="120" height="106" class="alignleft size-full wp-image-132" />今までずっと愛用してきた<a href="http://pc.usy.jp/wiki/index.php?DNRH-001">自宅サーバ</a>が爆散してしまったので、さくらの VPS を使い始めた訳ですが、まっさらな CentOS5.5 なので、遊ぶための環境をチマチマ構築していきます。<br />
<br />
とりあえず、 Apache は CentOS のパッケージのものを使用し、加えて PHP5.3.6+MySQL5.6.2 をインストールしたときのログを垂れ流しに。<br />
<br />
<span id="more-40"></span><br />
<h3>http-develを入れる</h3>
PHP と Apache2.x を連携させるために、 http-devel を入れておく。<br />
<pre>$ sudo yum install httpd-devel</pre>
<br />
<h3>MySQL5.6.2 を入れる</h3>
良い感じに rpm があるので <a href="http://dev.mysql.com/">http://dev.mysql.com/</a> から rpm を落とす。<br />
64bit OS なので x86_64 を選択する。<br />
client, server, shared, devel を落とす。<br />
devel パッケージは PHP と連携させるために必要。<br />
<pre>$ ls MySQL-*
MySQL-client-5.6.2_m5-1.rhel5.x86_64.rpm
MySQL-server-5.6.2_m5-1.rhel5.x86_64.rpm
MySQL-devel-5.6.2_m5-1.rhel5.x86_64.rpm
MySQL-shared-5.6.2_m5-1.rhel5.x86_64.rpm
$ sudo rpm -Uvh MySQL-*
$ sudo service mysql start
$ mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1064
Server version: 5.6.2-m5 MySQL Community Server (GPL)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql&gt;</pre>
とりあえず root ユーザにパスワードつけたり、ユーザを追加したりする。<br />
<br />
<h3>PHP5.3.6 を入れる</h3>
<a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a> から tar ball を落とす。<br />
<pre>$ tar xvzf php-5.3.6.tar.gz
$ cd php-5.3.6
$ ./configure --with-apxs2 \
--with-mysql \
--enable-mbstring \
--enable-zend-multibyte \
--with-libdir=lib64 \
--with-zlib \
--with-gd \
--with-gettext \
--with-config-file-path=/etc/php \
--with-config-file-scan-dir=/etc/php/include
$ make
$ make test
$ sudo make install</pre>
configure には以下のオプションがほぼ必須。あとはお好み。<br />
[php gutter="false"]<br />
&#8216;&#8211;with-apxs2&#8242;                                // Apache2.x と連携<br />
&#8216;&#8211;with-mysql&#8217;                                // MySQL と連携<br />
&#8216;&#8211;enable-mystring&#8217; &#8216;&#8211;enable-zend-multibyte&#8217; // マルチバイト文字対応<br />
&#8216;&#8211;with-config-file-path&#8217;                     // php.ini のディレクトリを指定<br />
&#8216;&#8211;with-config-file-scan-dir&#8217;                 // 追加設定ファイルのディレクトリを指定<br />
[/php]<br />
続いて php の設定ファイルを作る。<br />
<pre>$ sudo mkdir -p /etc/php
$ pwd
~/tmp/php-5.3.6
$ sudo cp php.ini-production /etc/php/php.ini

$ sudo vim /etc/httpd/conf.d/php.conf
----
LoadFile /usr/lib64/libmysqlclient.so
LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so

DirectoryIndex index.php  index.html

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
----

$ sudo service httpd restart</pre>
以上で設定完了。<br />
最後に動作確認をする。<br />
<pre>$ cd /paht/to/my/document/root
$ echo "&lt;?php phpinfo(); ?&gt;" &gt; info.php</pre>
<br />
<a href="http://frontier.ddo.jp/blog/wp-content/uploads/2011/07/0716a.png"><img src="http://blog.lciel.jp//HLIC/0716a-300x150.png" alt="" title="0716a" width="300" height="150" class="alignnone size-medium wp-image-136" /></a><br />
動いてる。<br />
<br />
<a href="http://frontier.ddo.jp/blog/wp-content/uploads/2011/07/0716b.png"><img src="http://blog.lciel.jp//HLIC/0716b-300x130.png" alt="" title="0716b" width="300" height="130" class="alignnone size-medium wp-image-139" /></a><br />
MySQL との連携もOK。<br />
<br />
&#8230; こういうログはセキュリティ的にはよろしくないなw</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lciel.jp/archives/40/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“さらにやる気のない日記” -&gt; “さらにやる気の無いブログ”</title>
		<link>http://blog.lciel.jp/archives/30</link>
		<comments>http://blog.lciel.jp/archives/30#comments</comments>
		<pubDate>Sat, 16 Jul 2011 11:10:32 +0000</pubDate>
		<dc:creator>lciel</dc:creator>
				<category><![CDATA[not_alassified]]></category>
		<category><![CDATA[hello world]]></category>

		<guid isPermaLink="false">http://frontier.ddo.jp/blog/?p=30</guid>
		<description><![CDATA[こんにちは、まっつー / @lcielです。 サーバをさくらの VPS に移したついでに、ブログも移転しました。 ブログソフトウェアは WordPress で運用しています。 新しいアドレスは http://blog.l [...]]]></description>
			<content:encoded><![CDATA[<p>
<img class="size-full wp-image-69 alignleft" style="border-style: initial; border-color: initial;" title="引っ越し" src="http://blog.lciel.jp//HLIC/star.jpg" alt="引っ越し" width="120" height="120" />
こんにちは、まっつー / @lcielです。<br />
<br />
サーバをさくらの VPS に移したついでに、ブログも移転しました。<br />
ブログソフトウェアは WordPress で運用しています。<br />
新しいアドレスは http://blog.lciel.jp/ です。<br />
（今まで : http://lciel.blog38.fc2.com/ ）<br />
<br />
今回もタイトルに恥じぬよう、更新しすぎないように努力します。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lciel.jp/archives/30/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

