<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" >
  <channel>
  <title>じゆうちょう</title>
  <link>http://ossan.omaww.net/</link>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://ossan.omaww.net/RSS/" />
  <description>ＦＦ１１＠尻鯖活動記録 ＆ すごくどーでもいい雑記</description>
  <lastBuildDate>Tue, 16 Sep 2014 06:22:39 GMT</lastBuildDate>
  <language>ja</language>
  <copyright>© Ninja Tools Inc.</copyright>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />

    <item>
    <title>オンラインストレージ</title>
    <description>
    <![CDATA[<a href="http://synclogue-navi.com/online-storage" title="" target="_blank">http://synclogue-navi.com/online-storage</a><br />
<br />
アクセスコントロールできるやつがよいな。]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%AC%E3%83%BC%E3%82%B8</link>
    <pubDate>Tue, 16 Sep 2014 06:22:39 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/166</guid>
  </item>
    <item>
    <title>Ajax 通信中にリクエストが発生した場合の通信中断</title>
    <description>
    <![CDATA[<div><span style="font-size: small;">Ajax 通信中に、ページの更新が行われたり</span></div>
<div><span style="font-size: small;">リンク等からページを遷移（リクエストが発生）した場合</span></div>
<div><span style="font-size: small;">一部のブラウザで通信エラーが発生する。</span></div>
<br />

<div><span style="font-size: small;">Chrome では、通信中だった Ajax リクエスト先に、再度リクエストを行うような挙動となる。</span></div>
<div><span style="font-size: small;">つまり、Ajax 通信中が正常に完了するまでは、別ページに遷移できない。</span></div>
<br />

<div><span style="font-size: small;">これを回避するため、別ページへの遷移を beforeunload によりイベントキャッチし</span></div>
<div><span style="font-size: small;">Ajax の XMLHttpRequest を abort() で中断させることで</span></div>
<div><span style="font-size: small;">正常に遷移させることができるようになる。</span></div>
<br />

<div><span style="font-size: small;"><a href="http://blog.webcreativepark.net/2009/10/09-020452.html" title="" target="_blank">http://blog.webcreativepark.net/2009/10/09-020452.html</a></span></div>
<div><span style="font-size: small;"><a href="http://ameblo.jp/blueskyame/entry-11071818511.html" title="" target="_blank">http://ameblo.jp/blueskyame/entry-11071818511.html</a></span></div>
<br />

<div><span style="font-size: small;">$("body").bind("ajaxSend", function(c, xhr) {</span></div>
<div><span style="font-size: small;">&nbsp; &nbsp; $( window ).bind( 'beforeunload', function() {</span></div>
<div><span style="font-size: small;">&nbsp; &nbsp; &nbsp; &nbsp; xhr.abort();</span></div>
<div><span style="font-size: small;">&nbsp; &nbsp; })</span></div>
<div><span style="font-size: small;">});</span></div>]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/ajax%20%E9%80%9A%E4%BF%A1%E4%B8%AD%E3%81%AB%E3%83%AA%E3%82%AF%E3%82%A8%E3%82%B9%E3%83%88%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E9%80%9A%E4%BF%A1%E4%B8%AD%E6%96%AD</link>
    <pubDate>Fri, 12 Sep 2014 07:55:38 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/165</guid>
  </item>
    <item>
    <title>CentOS 7</title>
    <description>
    <![CDATA[http://server-setting.info/blog/sakura_vps_centos7_first_setup.html<br />
<br />
http://server-setting.info/blog/lamp-wordpress-centos7.html<br />
http://server-setting.info/centos/nginx-wordpress-centos7.html<br />
<br />
http://server-setting.info/blog/kdump-no-memory-reserved-for-crash-kernel.html]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/centos%207</link>
    <pubDate>Tue, 26 Aug 2014 00:32:35 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/164</guid>
  </item>
    <item>
    <title>Rails Version</title>
    <description>
    <![CDATA[rails _4.0.5_ new application_name]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/rails%20version</link>
    <pubDate>Fri, 08 Aug 2014 05:41:39 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/163</guid>
  </item>
    <item>
    <title>phpcs</title>
    <description>
    <![CDATA[phpcs<br />
&nbsp;--encoding=utf-8<br />
&nbsp;--report-checkstyle=CakePHP<br />
&nbsp;--standard=CakePHP<br />
&nbsp;--extensions=php<br />
&nbsp;--report=summary<br />
&nbsp;./app<br />
<br />
phpcs<br />
&nbsp;--encoding=utf-8<br />
&nbsp;--report-checkstyle=CakePHP<br />
&nbsp;--standard=CakePHP<br />
&nbsp;--extensions=php<br />
&nbsp;--report=full<br />
&nbsp;./app/Model/ExampleModel.php]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/phpcs</link>
    <pubDate>Thu, 26 Jun 2014 04:38:20 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/162</guid>
  </item>
    <item>
    <title>BoF III</title>
    <description>
    <![CDATA[<div>&nbsp;- Cedar Woods</div>
<div>&nbsp;- Casually</div>]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/bof%20iii</link>
    <pubDate>Fri, 20 Jun 2014 00:12:14 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/161</guid>
  </item>
    <item>
    <title>curl オプション</title>
    <description>
    <![CDATA[<div>-s, --silent</div>
<div>沈黙モードにします。</div>
<div>プログレスメータやエラーメッセージは表示されません。</div>
<div>curl の出力を止めます。</div>
<div>要求されたデータは出力されます（リダイレクトしない限り，ターミナル／stdout にも）。</div>
<div></div>
<div>-S, --show-error</div>
<div>-s, --silent と伴用すると、失敗時にはエラーメッセージが表示されるようになります。</div>
<div></div>]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/curl%20%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3</link>
    <pubDate>Thu, 29 May 2014 09:53:51 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/160</guid>
  </item>
    <item>
    <title>php_uname </title>
    <description>
    <![CDATA[<div>PHP が稼動しているオペレーティングシステムに関する情報を返す</div>
<div></div>
<div>string php_uname ([ string $mode = "a" ])</div>
<div></div>
<div>mode</div>
<div>a: すべてのモードを "s n r v m" の順で返す (デフォルト)</div>
<div>s: オペレーティングシステム名</div>
<div>n: ホスト名</div>
<div>r: リリース名</div>
<div>v: バージョン情報</div>
<div>m: マシン型</div>
<div></div>]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/php_uname</link>
    <pubDate>Mon, 17 Mar 2014 04:57:24 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/159</guid>
  </item>
    <item>
    <title>cakephp2 multipul checkbox</title>
    <description>
    <![CDATA[チェックボックスに付与される、個別の div タグ消し（やっつけ）<br />
<br />
// FormHelper.php (function&nbsp;_selectOptions)<br />
<br />
-&nbsp;$select[] = $this-&gt;Html-&gt;div($attributes['class'], $item . $label);<br />
<br />
+&nbsp;if ($attributes['class'] === 'checkbox') {<br />
+&nbsp;<span class="Apple-tab-span" style="white-space: pre;"> </span>$select[] = $item . $label;<br />
+&nbsp;} else {<br />
+&nbsp;<span class="Apple-tab-span" style="white-space: pre;"> </span>$select[] = $this-&gt;Html-&gt;div($attributes['class'], $item . $label);<br />
+&nbsp;}<br />
<br />
修正箇所の少し上あたりで $attributes['class'] が無い場合に<br />
$attributes['class'] = 'checkbox'<br />
としている。]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/cakephp2%20multipul%20checkbox</link>
    <pubDate>Fri, 06 Dec 2013 02:26:08 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/158</guid>
  </item>
    <item>
    <title>REGularEXpression</title>
    <description>
    <![CDATA[<div>/^(?:(?![NG|NG|NG])[OK])+/</div>
<div>/^(?:(?![\(|\)|\&lt;|\&gt;|\,|\;|\:|\\|\"|\[|\]|\@])[\x21-\x7e])+/</div>
<div></div>]]>
    </description>
    <category>その他</category>
    <link>http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/regularexpression</link>
    <pubDate>Wed, 06 Nov 2013 04:42:04 GMT</pubDate>
    <guid isPermaLink="false">ossan.omaww.net://entry/157</guid>
  </item>

    </channel>
</rss>