<?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>QuicSRAM / ktu.jp</title>
	<atom:link href="http://www.ktu.jp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ktu.jp</link>
	<description>ktu.jp</description>
	<lastBuildDate>Tue, 18 Jan 2011 01:39:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>チェックボックスをチェックしたらボタン押せるjQuery</title>
		<link>http://www.ktu.jp/2011/01/jquery-checkbotton/</link>
		<comments>http://www.ktu.jp/2011/01/jquery-checkbotton/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 01:34:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=240</guid>
		<description><![CDATA[
$(&#34;:submit&#34;).attr(&#34;disabled&#34;, &#34;disabled&#34;);
$(&#34;:checkbox&#34;).click(funct [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: jscript; title: ;">
$(&quot;:submit&quot;).attr(&quot;disabled&quot;, &quot;disabled&quot;);
$(&quot;:checkbox&quot;).click(function() {
	if (this.checked) {
		$(&quot;:submit&quot;).removeAttr(&quot;disabled&quot;);
	} else {
		$(&quot;:submit&quot;).attr(&quot;disabled&quot;, &quot;disabled&quot;);
	}
});
</pre>
<p>attr(key,value) : キーと値を渡して、全ての要素に属性を設定する<br />
key<br />
String<br />
属性の名前<br />
value<br />
Object<br />
属性の値</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2011/01/jquery-checkbotton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MTでアップロードした幅が基準以下だったらそのまま表示</title>
		<link>http://www.ktu.jp/2010/10/mt%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%97%e3%81%9f%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%8c%e5%9f%ba%e6%ba%96%e4%bb%a5%e4%b8%8b%e3%81%a0%e3%81%a3%e3%81%9f%e3%82%89%e6%8b%a1/</link>
		<comments>http://www.ktu.jp/2010/10/mt%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%97%e3%81%9f%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%8c%e5%9f%ba%e6%ba%96%e4%bb%a5%e4%b8%8b%e3%81%a0%e3%81%a3%e3%81%9f%e3%82%89%e6%8b%a1/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 18:18:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MT]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=235</guid>
		<description><![CDATA[
&#60;mt:If tag=&#34;entrymainimg&#34;&#62;&#60;div id=&#34;mainimg&#34;&#62;
&#60;mt:entrymainimgAsset&#62;
&#60;mt:SetVarBlock name=&#34;imageWidth&#34;&#62;&#60;mt:AssetProperty property=&#34;image_width&#34;&#62;&#60;/mt:SetVarBlock&#62;
&#60;mt:If name=&#34;imageWidth&#34; gt=&#34;435&#34;&#62;
&#60;mt:SetVar name=&#34;imageWidth&#34; value=&#34;435&#34;&#62;
&#60;/mt:If&#62;
&#60;img src=&#34;&#60;$MTAssetThumbnailURL width=&#34;$imageWidth&#34;$&#62;&#34; alt=&#34;&#60;$MTAssetLabel$&#62;&#34; /&#62;&#60;/mt:entrymainimgAsset&#62;
&#60;/div&#62;&#60;/mt:If&#62;

gt=&#8221;foo&#8221;はfooより大きかった場合。
]]></description>
			<content:encoded><![CDATA[<pre class="brush: xml; title: ;">
&lt;mt:If tag=&quot;entrymainimg&quot;&gt;&lt;div id=&quot;mainimg&quot;&gt;
&lt;mt:entrymainimgAsset&gt;
&lt;mt:SetVarBlock name=&quot;imageWidth&quot;&gt;&lt;mt:AssetProperty property=&quot;image_width&quot;&gt;&lt;/mt:SetVarBlock&gt;
&lt;mt:If name=&quot;imageWidth&quot; gt=&quot;435&quot;&gt;
&lt;mt:SetVar name=&quot;imageWidth&quot; value=&quot;435&quot;&gt;
&lt;/mt:If&gt;
&lt;img src=&quot;&lt;$MTAssetThumbnailURL width=&quot;$imageWidth&quot;$&gt;&quot; alt=&quot;&lt;$MTAssetLabel$&gt;&quot; /&gt;&lt;/mt:entrymainimgAsset&gt;
&lt;/div&gt;&lt;/mt:If&gt;
</pre>
<p>gt=&#8221;foo&#8221;はfooより大きかった場合。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/10/mt%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%81%97%e3%81%9f%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%8c%e5%9f%ba%e6%ba%96%e4%bb%a5%e4%b8%8b%e3%81%a0%e3%81%a3%e3%81%9f%e3%82%89%e6%8b%a1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>あるかないか判断して削除</title>
		<link>http://www.ktu.jp/2010/05/removechild/</link>
		<comments>http://www.ktu.jp/2010/05/removechild/#comments</comments>
		<pubDate>Wed, 12 May 2010 12:28:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=233</guid>
		<description><![CDATA[なんかよく忘れるんだよね。

if (contains(mc)) removeChild(mc);

]]></description>
			<content:encoded><![CDATA[<p>なんかよく忘れるんだよね。</p>
<pre class="brush: as3; title: ;">
if (contains(mc)) removeChild(mc);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/05/removechild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[as3] 重複する配列を削除する</title>
		<link>http://www.ktu.jp/2010/03/as3-array/</link>
		<comments>http://www.ktu.jp/2010/03/as3-array/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 07:12:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=227</guid>
		<description><![CDATA[
private function xGetUniqueArray(_array:Array):Array {
	var result_array:Array = new Array();
	var oValues:Ob [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: as3; title: ;">
private function xGetUniqueArray(_array:Array):Array {
	var result_array:Array = new Array();
	var oValues:Object = new Object();
	var nLength:Number = _array.length;
	for (var i:Number = 0; i&lt;nLength; ++i) {
		var myValue:Object = _array[i];
		if (!oValues[myValue]) {
			oValues[myValue] = true;
			result_array.push(myValue);
		}
	}
	return result_array;
}
</pre>
<p>どこから探してきたんだっけな。。<br />
<a href="http://www.flash-jp.com/modules/newbb/viewtopic.php?topic_id=4242&#038;forum=6&#038;post_id=22405">Flash-jpだたー。</a></p>
<p>ついでにシャッフルも。</p>
<pre class="brush: as3; title: ;">
public function shuffle(array:Array):Array{
	return array.sort(function():int{return int(Math.random()*3)-1});
}
</pre>
<p><a href="http://wonderfl.net/code/8cfa39c9e91a268791142fe605c010dc30338588">１行でArrayをシャッフルする</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/03/as3-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MTのcountupしてごにょごにょ</title>
		<link>http://www.ktu.jp/2010/03/mt%e3%81%aecountup%e3%81%97%e3%81%a6%e3%81%94%e3%81%ab%e3%82%87%e3%81%94%e3%81%ab%e3%82%87/</link>
		<comments>http://www.ktu.jp/2010/03/mt%e3%81%aecountup%e3%81%97%e3%81%a6%e3%81%94%e3%81%ab%e3%82%87%e3%81%94%e3%81%ab%e3%82%87/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 05:46:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MT]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=224</guid>
		<description><![CDATA[なにかと良く使うのでメモメモ。なんつーんだこれ。

&#60;MTSetVarBlock name=&#34;cat&#34;&#62;&#60;$MTCategoryLabel&#62;&#60;/MTSetVarBlock&#62;
&#60;MTSetvar name=&#34;count&#34; value=&#34;0&#34;&#62;
&#60;MTEntries category=&#34;$cat&#34;&#62;
&#60;MTSetVar name=&#34;count&#34; op=&#34;++&#34;&#62;
&#60;mt:if name=&#34;count&#34; op=&#34;%&#34; value=&#34;6&#34; eq=&#34;0&#34;&#62;
&#60;div class=&#34;contents_itemspage_thums_n&#34;&#62;
&#60;mt:else&#62;
&#60;div class=&#34;contents_itemspage_thums&#34;&#62;
&#60;/mt:if&#62;
&#60;/div&#62;

]]></description>
			<content:encoded><![CDATA[<p>なにかと良く使うのでメモメモ。なんつーんだこれ。</p>
<pre class="brush: xml; title: ;">
&lt;MTSetVarBlock name=&quot;cat&quot;&gt;&lt;$MTCategoryLabel&gt;&lt;/MTSetVarBlock&gt;
&lt;MTSetvar name=&quot;count&quot; value=&quot;0&quot;&gt;
&lt;MTEntries category=&quot;$cat&quot;&gt;
&lt;MTSetVar name=&quot;count&quot; op=&quot;++&quot;&gt;
&lt;mt:if name=&quot;count&quot; op=&quot;%&quot; value=&quot;6&quot; eq=&quot;0&quot;&gt;
&lt;div class=&quot;contents_itemspage_thums_n&quot;&gt;
&lt;mt:else&gt;
&lt;div class=&quot;contents_itemspage_thums&quot;&gt;
&lt;/mt:if&gt;
&lt;/div&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/03/mt%e3%81%aecountup%e3%81%97%e3%81%a6%e3%81%94%e3%81%ab%e3%82%87%e3%81%94%e3%81%ab%e3%82%87/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MTで概要がない時は本文をいれないようにする</title>
		<link>http://www.ktu.jp/2010/03/mt_mtentryexcerpt/</link>
		<comments>http://www.ktu.jp/2010/03/mt_mtentryexcerpt/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 05:24:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MT]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=213</guid>
		<description><![CDATA[
&#60;MTSetVarBlock name=&#34;entrydescript&#34;&#62;&#60;$MTEntryExcerpt no_generate=&#34;1&#34;$&#62;&#60;/MT [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: xml; title: ;">
&lt;MTSetVarBlock name=&quot;entrydescript&quot;&gt;&lt;$MTEntryExcerpt no_generate=&quot;1&quot;$&gt;&lt;/MTSetVarBlock&gt;
&lt;MTIf name=&quot;entrydescript&quot; ne=&quot;&quot;&gt;
&lt;$MTEntryExcerpt$&gt;&quot;&gt;
&lt;MTElse&gt;
&lt;/MTIf&gt;
</pre>
<p><a href="http://www.zelazny.mydns.jp/archives/000908.php">こちら</a>を参考にさせていただきました。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/03/mt_mtentryexcerpt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>携帯サイトの分岐</title>
		<link>http://www.ktu.jp/2010/02/%e6%90%ba%e5%b8%af%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e5%88%86%e5%b2%90/</link>
		<comments>http://www.ktu.jp/2010/02/%e6%90%ba%e5%b8%af%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e5%88%86%e5%b2%90/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 07:38:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=211</guid>
		<description><![CDATA[RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^(DoCoMo&#124;KDDI\-&#124;SoftBank&#124;Vodafone&#124;J-PHONE&#124;MOT\-)
RewriteRule . [...]]]></description>
			<content:encoded><![CDATA[<p>RewriteEngine On<br />
RewriteCond %{HTTP_USER_AGENT} ^(DoCoMo|KDDI\-|SoftBank|Vodafone|J-PHONE|MOT\-)<br />
RewriteRule .* url [R,L]</p>
<p>同サイトだとループしてしまうので、別途以下のhtaccessを携帯サイトのフォルダに。<br />
RewriteEngine Off</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/02/%e6%90%ba%e5%b8%af%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e5%88%86%e5%b2%90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>クラスを文字列で参照したい</title>
		<link>http://www.ktu.jp/2010/02/%e3%82%af%e3%83%a9%e3%82%b9%e3%82%92%e6%96%87%e5%ad%97%e5%88%97%e3%81%a7%e5%8f%82%e7%85%a7%e3%81%97%e3%81%9f%e3%81%84/</link>
		<comments>http://www.ktu.jp/2010/02/%e3%82%af%e3%83%a9%e3%82%b9%e3%82%92%e6%96%87%e5%ad%97%e5%88%97%e3%81%a7%e5%8f%82%e7%85%a7%e3%81%97%e3%81%9f%e3%81%84/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 05:01:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=209</guid>
		<description><![CDATA[as3以前には良く使ってた手法。as3ではこんな感じでやるみたい。

import flash.utils.getDefinitionByName;
for (var i:int = 0; i&#60;3; i++) {
 [...]]]></description>
			<content:encoded><![CDATA[<p>as3以前には良く使ってた手法。as3ではこんな感じでやるみたい。</p>
<pre class="brush: as3; title: ;">
import flash.utils.getDefinitionByName;
for (var i:int = 0; i&lt;3; i++) {
  var name_str:String = &quot;Pen&quot;+i;
  var myClass:Class = Class(getDefinitionByName(name_str));
  var myInstance:MovieClip = new myClass();
  addChild(myInstance);
  // インスタンスの座標などを設定する処理
}
</pre>
<p><a href="http://f-site.org/articles/2008/01/17051234.html" target="_blank">F-site : クラスを文字列で参照したい</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2010/02/%e3%82%af%e3%83%a9%e3%82%b9%e3%82%92%e6%96%87%e5%ad%97%e5%88%97%e3%81%a7%e5%8f%82%e7%85%a7%e3%81%97%e3%81%9f%e3%81%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>豚キムチ（キムチなし）</title>
		<link>http://www.ktu.jp/2009/11/butakimuchi/</link>
		<comments>http://www.ktu.jp/2009/11/butakimuchi/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 13:07:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Food]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=194</guid>
		<description><![CDATA[
冷蔵庫にニラがあったので何かを作ろうと思って、豚キムチに決めて豚肉を買ってきたら、途中でキムチがないことに気づきキムチ抜きの豚キムチを作った。豚キムチになってないけど、豚キムチ風で。昆布つゆに豆板醤を混ぜて、最後に卵を [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ktu.jp/wp-content/uploads/2009/11/IMGP2335.JPG" alt="IMGP2335" title="IMGP2335" width="570" height="379" class="alignnone size-full wp-image-195" /></p>
<p>冷蔵庫にニラがあったので何かを作ろうと思って、豚キムチに決めて豚肉を買ってきたら、途中でキムチがないことに気づきキムチ抜きの豚キムチを作った。豚キムチになってないけど、豚キムチ風で。昆布つゆに豆板醤を混ぜて、最後に卵を絡めてできあがり。だいぶ甘めになったけど美味かった。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2009/11/butakimuchi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新宿御苑</title>
		<link>http://www.ktu.jp/2009/11/shinjukugyoen/</link>
		<comments>http://www.ktu.jp/2009/11/shinjukugyoen/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 15:10:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://www.ktu.jp/?p=198</guid>
		<description><![CDATA[
嫁の里帰り出産前の最後の休日。思い出の地「新宿御苑」へ。当日は天皇成婚のおかげで入場無料。催し物もやっていて大勢の人がいた。紅葉もいくらかしていて、夕方にもなると大分寒い。家で入れたコーヒーを飲みつつごろりする。行くの [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ktu.jp/wp-content/uploads/2009/11/IMGP2291.JPG" alt="IMGP2291" title="IMGP2291" width="570" height="379" class="alignnone size-full wp-image-199" /></p>
<p>嫁の里帰り出産前の最後の休日。思い出の地「新宿御苑」へ。当日は天皇成婚のおかげで入場無料。催し物もやっていて大勢の人がいた。紅葉もいくらかしていて、夕方にもなると大分寒い。家で入れたコーヒーを飲みつつごろりする。行くのが遅くなってしまったから少しの時間しかいれなかったけど、行けてよかったと思う。嫁とはつきあう前からよく来たもんだ。<br />
子供が産まれて大きくなったら、一緒に来たいね。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ktu.jp/2009/11/shinjukugyoen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

