<?xml version="1.0" encoding="UTF-8" ?>
<feed xml:lang="ja" xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="text">じゆうちょう</title>
  <subtitle type="html">ＦＦ１１＠尻鯖活動記録 ＆ すごくどーでもいい雑記</subtitle>
  <link rel="self" type="application/atom+xml" href="http://ossan.omaww.net/atom"/>
  <link rel="alternate" type="text/html" href="http://ossan.omaww.net/"/>
  <updated>2010-05-02T18:58:15+09:00</updated>
  <author><name>おっさん</name></author>
  <generator uri="//www.ninja.co.jp/blog/" version="0.9">忍者ブログ</generator>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
  <entry>
    <id>ossan.omaww.net://entry/166</id>
    <link rel="alternate" type="text/html" href="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" />
    <published>2014-09-16T15:22:39+09:00</published> 
    <updated>2014-09-16T15:22:39+09:00</updated> 
    <category term="その他" label="その他" />
    <title>オンラインストレージ</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<a href="http://synclogue-navi.com/online-storage" title="" target="_blank">http://synclogue-navi.com/online-storage</a><br />
<br />
アクセスコントロールできるやつがよいな。]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/165</id>
    <link rel="alternate" type="text/html" href="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" />
    <published>2014-09-12T16:55:38+09:00</published> 
    <updated>2014-09-12T16:55:38+09:00</updated> 
    <category term="その他" label="その他" />
    <title>Ajax 通信中にリクエストが発生した場合の通信中断</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![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>]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/164</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/centos%207" />
    <published>2014-08-26T09:32:35+09:00</published> 
    <updated>2014-08-26T09:32:35+09:00</updated> 
    <category term="その他" label="その他" />
    <title>CentOS 7</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![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]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/163</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/rails%20version" />
    <published>2014-08-08T14:41:39+09:00</published> 
    <updated>2014-08-08T14:41:39+09:00</updated> 
    <category term="その他" label="その他" />
    <title>Rails Version</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[rails _4.0.5_ new application_name]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/162</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/phpcs" />
    <published>2014-06-26T13:38:20+09:00</published> 
    <updated>2014-06-26T13:38:20+09:00</updated> 
    <category term="その他" label="その他" />
    <title>phpcs</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![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]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/161</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/bof%20iii" />
    <published>2014-06-20T09:12:14+09:00</published> 
    <updated>2014-06-20T09:12:14+09:00</updated> 
    <category term="その他" label="その他" />
    <title>BoF III</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<div>&nbsp;- Cedar Woods</div>
<div>&nbsp;- Casually</div>]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/160</id>
    <link rel="alternate" type="text/html" href="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" />
    <published>2014-05-29T18:53:51+09:00</published> 
    <updated>2014-05-29T18:53:51+09:00</updated> 
    <category term="その他" label="その他" />
    <title>curl オプション</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![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>]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/159</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/php_uname" />
    <published>2014-03-17T13:57:24+09:00</published> 
    <updated>2014-03-17T13:57:24+09:00</updated> 
    <category term="その他" label="その他" />
    <title>php_uname </title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![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>]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/158</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/cakephp2%20multipul%20checkbox" />
    <published>2013-12-06T11:26:08+09:00</published> 
    <updated>2013-12-06T11:26:08+09:00</updated> 
    <category term="その他" label="その他" />
    <title>cakephp2 multipul checkbox</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![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 />
としている。]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
  <entry>
    <id>ossan.omaww.net://entry/157</id>
    <link rel="alternate" type="text/html" href="http://ossan.omaww.net/%E3%81%9D%E3%81%AE%E4%BB%96/regularexpression" />
    <published>2013-11-06T13:42:04+09:00</published> 
    <updated>2013-11-06T13:42:04+09:00</updated> 
    <category term="その他" label="その他" />
    <title>REGularEXpression</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<div>/^(?:(?![NG|NG|NG])[OK])+/</div>
<div>/^(?:(?![\(|\)|\&lt;|\&gt;|\,|\;|\:|\\|\"|\[|\]|\@])[\x21-\x7e])+/</div>
<div></div>]]> 
    </content>
    <author>
            <name>おっさん</name>
        </author>
  </entry>
</feed>