<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1494421716922300545</id><updated>2024-11-01T19:33:33.777+09:00</updated><category term="単語"/><category term="programing"/><category term="mac"/><category term="news"/><category term="java"/><category term="英語で日記"/><category term="javascript"/><category term="sjc-p"/><category term="Objective-C"/><category term="programming"/><category term="Logistics"/><category term="apple"/><category term="学習日記"/><category term="japan"/><category term="web"/><category term="RareJob"/><category term="bbc"/><category term="英語"/><category term="語源"/><category term="NSString"/><category term="php"/><category term="travel"/><category term="ビジネス英語"/><category term="OS X"/><category term="food"/><category term="homebrew"/><category term="html"/><category term="linux"/><category term="unix"/><category term="文字列"/><category term="CoreData"/><category term="CoreLocation"/><category term="applescript"/><category term="economics"/><category term="iPhone"/><category term="ギター"/><category term="勉強方法"/><category term="教材"/><category term="造語"/><category term="Brewfile"/><category term="ECO"/><category term="Xcode"/><category term="android"/><category term="brew"/><category term="closure compiler"/><category term="css"/><category term="gauche"/><category term="git"/><category term="haskell"/><category term="ipad"/><category term="jasmine"/><category term="json"/><category term="lisp"/><category term="nokogiri"/><category term="pear"/><category term="rlwrap"/><category term="ruby"/><category term="shell"/><category term="wget"/><category term="ことわざ"/><category term="ジャズ"/><category term="ニュース"/><category term="モナド"/><category term="例文"/><category term="年末調整"/><category term="情報"/><category term="早口言葉"/><category term="正規表現"/><category term="能率アップ"/><category term="英検１級"/><category term="音楽"/><title type='text'>勉強部屋</title><subtitle type='html'>英語だけでなく、経済とかプログラミングなんかの勉強メモです。&#xa;勉強とは関係ないものも出てくるでしょう。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>153</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-2473888042729185803</id><published>2021-02-07T17:51:00.005+09:00</published><updated>2021-02-07T17:51:41.267+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="programing"/><title type='text'>解決：Android : More than one file was found with OS independent path ‘META-INF/rxjava.properties’</title><content type='html'>&lt;p&gt;
AndroidでYouTube API を使おうとしたら、
&lt;/p&gt;

&lt;pre&gt;
More than one file was found with OS independent path ‘META-INF/rxjava.properties’
&lt;/pre&gt;

&lt;p&gt;
というエラーがでた。
&lt;/p&gt;

対応方法は、


&lt;pre class=&quot;prettyprint&quot;&gt;
app/build.gradle
&lt;/pre&gt;

に、以下を追加することで解決。

&lt;pre class=&quot;prettyprint&quot;&gt;
android {
    packagingOptions {
        // google-api-client:1.31.2
        exclude &#39;META-INF/DEPENDENCIES&#39;

    }
｝
&lt;/pre&gt;

</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/2473888042729185803/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/2473888042729185803' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2473888042729185803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2473888042729185803'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2021/02/android-more-than-one-file-was-found.html' title='解決：Android : More than one file was found with OS independent path ‘META-INF/rxjava.properties’'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-1395832632004969883</id><published>2015-01-23T12:15:00.001+09:00</published><updated>2015-01-27T08:21:15.732+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jasmine"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>javascriptでもユニットテスト （jasmine関連のリンク集）</title><content type='html'>GitHub :&lt;br /&gt;
http://jasmine.github.io/2.0/introduction.html&lt;br /&gt;
&lt;br /&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;a href=&quot;http://qiita.com/opengl-8080/items/cf3acafda9756f4b04c9&quot;&gt;Jasmine使い方メモ&lt;/a&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;dd&gt;一般的な、ブラウザから実行する場合の使い方&lt;/dd&gt;&lt;dd&gt;&lt;br /&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/naka-06_18/20130123/1358956593&quot;&gt;jasmine-node とRequireJS&lt;/a&gt;
&lt;/div&gt;
&lt;/dt&gt;
&lt;dd&gt;nodeでコマンドラインで実行する方法。RequireJSとの使い方についても書いてあるので参考になる。&lt;/dd&gt;&lt;dd&gt;&lt;br /&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;a href=&quot;http://codezine.jp/article/detail/7622&quot;&gt;JavaScriptのテストコードをNode.js＋Jasmineで実行してみよう&lt;/a&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;dd&gt;codezineの記事
&lt;/dd&gt;&lt;/dl&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/1395832632004969883/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/1395832632004969883' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/1395832632004969883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/1395832632004969883'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2015/01/javascript-jasmine.html' title='javascriptでもユニットテスト （jasmine関連のリンク集）'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-216624946943389219</id><published>2015-01-13T07:42:00.001+09:00</published><updated>2015-01-13T07:42:35.683+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="closure compiler"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Google Closure CompilerでADVANCED_OPTIMIZATIONSしたいけど、元の名前でも呼び出したいメソッド、クラスがあるとき</title><content type='html'>&lt;div style=&quot;font-family: Monaco, monospace, &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Meiryo, sans-serif; font-size: 13px; line-height: 1.6em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;a href=&quot;https://developers.google.com/closure/compiler/docs/api-tutorial3#export&quot; style=&quot;border-bottom-color: rgb(17, 126, 198); border-bottom-style: dashed; border-bottom-width: 1px; color: #117ec6; margin: 0px 2px; text-decoration: none;&quot; title=&quot;https://developers.google.com/closure/compiler/docs/api-tutorial3#export&quot;&gt;Solution: Export the Symbols You Want to Keep&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Monaco, monospace, &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Meiryo, sans-serif; font-size: 13px; line-height: 1.6em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
上記のリンクに全て書かれているんやけど、要はwindowのプロパティに追加します。追加の方法も&lt;/div&gt;
&lt;div class=&quot;code-frame&quot; style=&quot;background-color: #f6f6f6; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); font-family: Monaco, monospace, &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Meiryo, sans-serif; font-size: 13px; line-height: 0; margin: 1em 0px;&quot;&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;pre style=&quot;background-color: transparent; border: none; font-family: monospace, serif; font-size: 1em; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;&lt;code class=&quot;haskell&quot; style=&quot;background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; display: block; font-family: Monaco, monospace, Courier, Inconsolata, &#39;Bitstream Vera Sans Mono&#39;; font-size: 0.9em; line-height: 1.44em; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;title&quot; style=&quot;color: #990000; font-weight: bold;&quot;&gt;window&lt;/span&gt;[&#39;myfunc&#39;] = myfunc;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: Monaco, monospace, &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Meiryo, sans-serif; font-size: 13px; line-height: 1.6em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
と、文字列キーに代入する方法を使います。（どうやらClosure Compilerはクォーテーションで囲まれた文字列はそのまま扱うようになっているぽい。）&lt;/div&gt;
&lt;div style=&quot;font-family: Monaco, monospace, &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Kaku Gothic Pro&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Meiryo, sans-serif; font-size: 13px; line-height: 1.6em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/216624946943389219/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/216624946943389219' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/216624946943389219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/216624946943389219'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2015/01/google-closure-compileradvancedoptimiza.html' title='Google Closure CompilerでADVANCED_OPTIMIZATIONSしたいけど、元の名前でも呼び出したいメソッド、クラスがあるとき'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-5261972673514196290</id><published>2014-11-03T22:29:00.000+09:00</published><updated>2014-11-03T22:29:13.109+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="造語"/><title type='text'>SISO (Shoso-In Shoso-Out [正倉-in 正倉-out] ) : 蔵入れ蔵出し</title><content type='html'>SISO (Shoso-In Shoso-Out [正倉-in 正倉-out] ) : 蔵入れ蔵出し&lt;br /&gt;
&lt;br /&gt;
今日、正倉院に行って思いついたので・・・。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/5261972673514196290/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/5261972673514196290' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/5261972673514196290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/5261972673514196290'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/11/siso-shoso-in-shoso-out-in-out.html' title='SISO (Shoso-In Shoso-Out [正倉-in 正倉-out] ) : 蔵入れ蔵出し'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-8234179901733148052</id><published>2014-04-06T12:30:00.005+09:00</published><updated>2014-04-06T12:46:55.275+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Javascriptで文字列をbool型に変換する方法</title><content type='html'>Javascriptで文字列をbool型に変換する方法。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
否定演算子を２回使う(!!)かBoolean関数で変換する。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
【実行結果】&lt;br /&gt;
!!を使った場合&lt;br /&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; var str;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #828282; font-family: Monaco; font-size: 12px;&quot;&gt;
undefined&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; !!str;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
false&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; str = true;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
true&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; !!str;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
true&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; str = &#39;&#39;;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #34bd26; font-family: Monaco; font-size: 12px;&quot;&gt;
&#39;&#39;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; !!str;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
false&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; str = &#39;0&#39;;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #34bd26;&quot;&gt;&#39;0&lt;/span&gt;&lt;span style=&quot;color: #34bd26;&quot;&gt;&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; !!str&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
true&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; &amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Boolean関数を使った場合&lt;br /&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; var str;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #828282; font-family: Monaco; font-size: 12px;&quot;&gt;
undefined&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; Boolean(str);&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
false&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; str = &#39;&#39;;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #34bd26; font-family: Monaco; font-size: 12px;&quot;&gt;
&#39;&#39;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; Boolean(str);&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
false&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; str = &#39;0&#39;;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #34bd26; font-family: Monaco; font-size: 12px;&quot;&gt;
&#39;0&#39;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt; Boolean(str);&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #afad24; font-family: Monaco; font-size: 12px;&quot;&gt;
true&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
【参考】&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/263965/how-can-i-convert-a-string-to-boolean-in-javascript&quot;&gt;How can I convert a string to boolean in JavaScript?&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/8234179901733148052/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/8234179901733148052' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8234179901733148052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8234179901733148052'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/04/javascriptbool.html' title='Javascriptで文字列をbool型に変換する方法'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-1668086359532883516</id><published>2014-03-27T00:47:00.001+09:00</published><updated>2014-03-27T00:47:39.384+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="applescript"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><title type='text'>メモ：AppleScriptの参考（iTerm2, Safari）</title><content type='html'>AppleScriptの参考（iTerm2, Safari）&lt;br /&gt;
&lt;br /&gt;
AppleScriptでiterm2を操作する実用的なサンプルがある。&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/11706171/how-to-open-a-new-window-and-multiple-urls-in-safari-with-apple-script&quot;&gt;Development site for iTerm2 (wiki)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
こちらはAppleScriptでSafariのウインドウを開くなど。&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/11706171/how-to-open-a-new-window-and-multiple-urls-in-safari-with-apple-script&quot;&gt;How to open a new window and multiple urls in Safari with apple script?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/1668086359532883516/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/1668086359532883516' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/1668086359532883516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/1668086359532883516'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/03/applescriptiterm2-safari.html' title='メモ：AppleScriptの参考（iTerm2, Safari）'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-8249932187378147533</id><published>2014-03-26T00:13:00.000+09:00</published><updated>2014-03-26T00:14:58.376+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="homebrew"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="nokogiri"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>Mac OS Xにgem install nokogiriでclangのエラー（一応解決済み）</title><content type='html'>Mac OS Xにもともと入っているRubyに、gemでnokogiriをインストールしようとしたら次のエラーが出ました。&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
compiling xslt_stylesheet.c&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
linking shared-object nokogiri/nokogiri.bundle&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
clang: error: unknown argument: &#39;-multiply_definedsuppress&#39; [-Wunused-command-line-argument-hard-error-in-future]&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
make: *** [nokogiri.bundle] Error 1&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px; min-height: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px; min-height: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.1 for inspection.&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
Results logged to /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.1/ext/nokogiri/gem_make.out&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
以下のリンク先をみて、環境変数をいじってインストールしてみましたがダメで、最終的にはhomebrewでrubyをインストールして、そこにnokogiriを入れました。&lt;br /&gt;
&lt;br /&gt;
【上記エラーが出た場合の回避方法についてのリンク】&lt;br /&gt;
&lt;a href=&quot;http://qiita.com/takaaki-mizuno/items/11111a889c5ccd467c34&quot;&gt;Xcode 5.1でpip install lxmlがエラーになった場合の対応策&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-is-a-harsh-mistress/&quot;&gt;-Wunused-command-line-argument-hard-error-in-future is a harsh mistress&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/22390655/ansible-installation-clang-error-unknown-argument-mno-fused-madd&quot;&gt;Ansible Installation -clang: error: unknown argument: &#39;-mno-fused-madd&#39;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
【homebrewでMac OS Xにrubyをインストール】&lt;br /&gt;
&lt;a href=&quot;http://qiita.com/hirokishirai/items/e38b29a7075459ff6032&quot;&gt;Ruby + Ruby on Rails4 開発環境の準備【Mac OSX 10.8.5】&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/8249932187378147533/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/8249932187378147533' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8249932187378147533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8249932187378147533'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/03/mac-os-xgem-install-nokogiriclang.html' title='Mac OS Xにgem install nokogiriでclangのエラー（一応解決済み）'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-2233049046949379582</id><published>2014-03-23T23:32:00.001+09:00</published><updated>2014-03-23T23:32:36.102+09:00</updated><title type='text'>How Wolves Change Rivers</title><content type='html'>とても素晴らしい内容だったので、また見たくなるとも思うので、ここに残しておきます。&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;//www.youtube.com/embed/ysa5OBhXz-Q&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/2233049046949379582/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/2233049046949379582' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2233049046949379582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2233049046949379582'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/03/how-wolves-change-rivers.html' title='How Wolves Change Rivers'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-2166633017826456229</id><published>2014-03-09T15:32:00.000+09:00</published><updated>2014-03-09T15:32:48.394+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="applescript"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><title type='text'>メモ：AppleScrptで現在の日付文字列を取得</title><content type='html'>&lt;br /&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 39.2px; text-indent: -39.3px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #812fdc;&quot;&gt;result&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;getCurrentDateString&lt;span style=&quot;color: black;&quot;&gt;()&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 39.2px; text-indent: -39.3px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;to&lt;/b&gt; &lt;/span&gt;getCurrentDateString&lt;span style=&quot;color: black;&quot;&gt;()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;current_date&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #012fbe;&quot;&gt;&lt;b&gt;current date&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; min-height: 15px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;val_year&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #812fdc;&quot;&gt;year&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;of&lt;/b&gt; &lt;/span&gt;current_date&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;val_month&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #0433ff;&quot;&gt;&lt;i&gt;month&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;of&lt;/b&gt; &lt;/span&gt;current_date&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;as&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #0433ff;&quot;&gt;&lt;i&gt;number&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;val_day&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #812fdc;&quot;&gt;day&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;of&lt;/b&gt; &lt;/span&gt;current_date&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;val_time&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #812fdc;&quot;&gt;time string&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;of&lt;/b&gt; &lt;/span&gt;current_date&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;date_time_string&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &quot;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; min-height: 15px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;if&lt;/b&gt; &lt;span style=&quot;color: #4f8f00;&quot;&gt;val_month&lt;/span&gt; &amp;lt; 10 &lt;b&gt;then&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 117.8px; text-indent: -117.8px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;span style=&quot;color: #4f8f00;&quot;&gt;val_month&lt;/span&gt; &lt;b&gt;to&lt;/b&gt; &quot;0&quot; &amp;amp; &lt;span style=&quot;color: #4f8f00;&quot;&gt;val_month&lt;/span&gt; &lt;b&gt;as&lt;/b&gt; &lt;span style=&quot;color: #0433ff;&quot;&gt;&lt;i&gt;string&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;end&lt;/b&gt; &lt;b&gt;if&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; min-height: 15px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;if&lt;/b&gt; &lt;span style=&quot;color: #4f8f00;&quot;&gt;val_day&lt;/span&gt; &amp;lt; 10 &lt;b&gt;then&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 117.8px; text-indent: -117.8px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;span style=&quot;color: #4f8f00;&quot;&gt;val_day&lt;/span&gt; &lt;b&gt;to&lt;/b&gt; &quot;0&quot; &amp;amp; &lt;span style=&quot;color: #4f8f00;&quot;&gt;val_day&lt;/span&gt; &lt;b&gt;as&lt;/b&gt; &lt;span style=&quot;color: #0433ff;&quot;&gt;&lt;i&gt;string&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;end&lt;/b&gt; &lt;b&gt;if&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px; margin-left: 78.5px; min-height: 15px; text-indent: -78.6px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;set&lt;/b&gt; &lt;/span&gt;date_time_string&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;to&lt;/b&gt; &lt;/span&gt;val_year&lt;span style=&quot;color: black;&quot;&gt; &amp;amp; &quot;-&quot; &amp;amp; &lt;/span&gt;val_month&lt;span style=&quot;color: black;&quot;&gt; &amp;amp; &quot;-&quot; &amp;amp; &lt;/span&gt;val_day&lt;span style=&quot;color: black;&quot;&gt; &amp;amp; &quot; &quot; &amp;amp; &lt;/span&gt;val_time&lt;span style=&quot;color: black;&quot;&gt; &lt;b&gt;as&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;color: #0433ff;&quot;&gt;&lt;i&gt;string&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 78.5px; text-indent: -78.6px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;return&lt;/b&gt; &lt;/span&gt;date_time_string&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 39.2px; text-indent: -39.3px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;end&lt;/b&gt; &lt;/span&gt;getCurrentDateString&lt;/div&gt;
&lt;div style=&quot;color: #4f8f00; font-family: Verdana; font-size: 12px; margin-left: 39.2px; text-indent: -39.3px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
【実行結果】&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana; font-size: 12px;&quot;&gt;
&quot;2014-03-09 13:35:22&quot;&lt;/div&gt;
&lt;br /&gt;
【参考】&lt;br /&gt;
http://blog.goo.ne.jp/vallie/e/faab3427d0a5892ac0ae5d88e765f7d4</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/2166633017826456229/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/2166633017826456229' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2166633017826456229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2166633017826456229'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/03/applescrpt.html' title='メモ：AppleScrptで現在の日付文字列を取得'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-3759211902961522275</id><published>2014-02-28T03:54:00.002+09:00</published><updated>2014-02-28T03:54:44.366+09:00</updated><title type='text'>Brewfile ( homebrew )でphpをインストールするための内容とboris ( PHPのREPL - 対話型評価環境 ) </title><content type='html'>Brewfile ( homebrew )でphpをインストールするための内容。&lt;br /&gt;
brewコマンドでインストールの場合は brew install 〜 とする。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: black; color: #5330e1; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;31 &lt;/span&gt;# === PHP ===&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;32 &lt;/span&gt;install php54 --with-mysql --with-fpm&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;33 &lt;/span&gt;install php54-apc&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;34 &lt;/span&gt;install php54-xdebug&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;35 &lt;/span&gt;install boris&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;36 &lt;/span&gt;install composer&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #5330e1; font-family: Monaco; font-size: 12px;&quot;&gt;





&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: #ce7924;&quot;&gt;&amp;nbsp;37 &lt;/span&gt;install php-code-sniffer&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
35行目のborisがものすごく便利。（REPL - 対話型評価環境というのですね。）&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ターミナルでborisと呼び出すと、以下のようにコードを実行できる。&lt;/div&gt;
&lt;div&gt;
ちょっと動作を調べるのにもとても便利。オススメ。&lt;/div&gt;
&lt;div&gt;
ちなみにborisのgithubはこちら→ https://github.com/d11wtq/boris&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
$ boris&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
[1] boris&amp;gt; $a=array(&#39;key1&#39;=&amp;gt;&#39;value1&#39;, &#39;key2&#39;=&amp;gt;&#39;value2&#39;);&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #34bbc7; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: whitesmoke;&quot;&gt;&amp;nbsp;→ &lt;/span&gt;array&lt;span style=&quot;color: whitesmoke;&quot;&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #c33720; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: whitesmoke;&quot;&gt;&amp;nbsp; &lt;/span&gt;&#39;key1&#39;&lt;span style=&quot;color: whitesmoke;&quot;&gt; =&amp;gt; &lt;/span&gt;&#39;value1&#39;&lt;span style=&quot;color: whitesmoke;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #c33720; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: whitesmoke;&quot;&gt;&amp;nbsp; &lt;/span&gt;&#39;key2&#39;&lt;span style=&quot;color: whitesmoke;&quot;&gt; =&amp;gt; &lt;/span&gt;&#39;value2&#39;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
)&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
[2] boris&amp;gt; var_dump($a);&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
array(2) {&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;nbsp; &#39;key1&#39; =&amp;gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;nbsp; string(6) &quot;value1&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;nbsp; &#39;key2&#39; =&amp;gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&amp;nbsp; string(6) &quot;value2&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #34bbc7; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;span style=&quot;color: whitesmoke;&quot;&gt;&amp;nbsp;→ &lt;/span&gt;NULL&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
[3] boris&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: whitesmoke; font-family: Monaco; font-size: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/3759211902961522275/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/3759211902961522275' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/3759211902961522275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/3759211902961522275'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/02/brewfile-homebrew-phpboris-phprepl.html' title='Brewfile ( homebrew )でphpをインストールするための内容とboris ( PHPのREPL - 対話型評価環境 ) '/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-8460157872811996313</id><published>2014-02-23T01:48:00.002+09:00</published><updated>2014-02-23T01:52:34.203+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gauche"/><category scheme="http://www.blogger.com/atom/ns#" term="homebrew"/><category scheme="http://www.blogger.com/atom/ns#" term="lisp"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="rlwrap"/><title type='text'>macにgaucheをインストールするときにやること ( using homebrew )</title><content type='html'>&lt;h3&gt;
&lt;/h3&gt;
&lt;div&gt;
gaucheのインストール自体はhomebrew + Brewfileで問題なく出来ましたが 、goshを実行すると上下左右のキー入力が効かず不便だったので 調べたところ、rlwrapというものもインストールすれば解決できるとのことでやってみました。結果はバッチリでした。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
インストール方法&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
gaucheだけでなくrlwrapもインストールする。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
インストール方法はコマンドラインから次を実行するか、&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
brew install gauche&lt;br /&gt;
brew install rlwrap&lt;/blockquote&gt;
&lt;br /&gt;
Brewfileを使う場合は以下を記入してbrew bundleを実行しインストールする。&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
install gauche&lt;br /&gt;
install rlwrap&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
実行方法&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
goshの実行方法を以下のようにする。&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
rlwrap gosh&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;/pre&gt;
【参考リンク】&lt;br /&gt;
&lt;a href=&quot;http://qiita.com/sawa-@github/items/e20786d610f70c2d75a8&quot;&gt;GaucheのインタプリタgoshでC-hがバックスペースにならなくて困った時&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://magro.jp/blogs/tak/archives/95&quot;&gt;OS X + gosh でデリートキー（バックスペース）矢印キーがきかない&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/8460157872811996313/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/8460157872811996313' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8460157872811996313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8460157872811996313'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/02/macgauche-using-homebrew.html' title='macにgaucheをインストールするときにやること ( using homebrew )'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-8396468386870940410</id><published>2014-02-21T00:46:00.001+09:00</published><updated>2014-02-21T01:11:36.346+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="brew"/><category scheme="http://www.blogger.com/atom/ns#" term="Brewfile"/><category scheme="http://www.blogger.com/atom/ns#" term="homebrew"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><title type='text'>BoxenからBrewfileに乗り換える時に参考にしたページ集</title><content type='html'>Macの構成管理を、BoxenからBrewfileに乗り換える時に参考にしたページ集。&lt;br /&gt;
&lt;br /&gt;
Boxenは便利だけれど、&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4486019245/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4486019245&amp;amp;linkCode=as2&amp;amp;tag=wordswideweb-22&quot;&gt;素数夜曲: 女王陛下のLISP&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://ir-jp.amazon-adsystem.com/e/ir?t=wordswideweb-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4486019245&quot; height=&quot;1&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
の後半をやろうとgaucheをインストールしようとしたところ、どうしてもエラーになってしまい、面倒になってHomebrew + Brewfileに乗り換え。シンプルでエエね。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
【Homebrew】&lt;br /&gt;
&lt;a href=&quot;http://brew.sh/&quot;&gt;Homebrew&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://github.com/Homebrew/homebrew&quot;&gt;Homebrew(Git)&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/Homebrew/homebrew/wiki/Installation&quot;&gt;Installation&lt;/a&gt;（インストール環境についてなど）&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
【Brewfileの書き方など】&lt;br /&gt;
&lt;a href=&quot;http://deeeet.com/writing/2013/12/23/brewfile/&quot;&gt;BrewfileでHomebrewパッケージを管理する&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://rcmdnk.github.io/blog/2013/09/12/computer-mac-install/&quot;&gt;Homebrewの拡張:brewdler, tap, cask&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://nomnel.net/blog/boxen-to-brewfile/&quot;&gt;BoxenやめてBrewfile+homebrew-caskにした&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://coderwall.com/p/afmnbq&quot;&gt;Homebrew&#39;s new feature: Brewfiles&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
　ここのサンプルコードのコメントに以下の一文があって、なるほどと思った。&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: HiraKakuProN-W3; font-size: 13px;&quot;&gt;# `bundle` simply prefixes every line in the Brewfile with “brew&quot;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
【その他】&lt;br /&gt;
Boxenでインストールした時に、apacheが起動しないように設定されていたのでその解除方法も調べた。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://tosbourn.com/2013/04/osx/turn-off-the-built-in-apache-on-osx/&quot;&gt;Turn Off the built in apache on OSx&lt;/a&gt;
&lt;a href=&quot;http://www.maruko2.com/mw/LaunchDaemons_(launchctl,_launchd.plist)_の使い方&quot;&gt;LaunchDaemons (launchctl, launchd.plist) の使い方&lt;/a&gt;
&lt;br /&gt;
[ON]&lt;br /&gt;
&lt;pre&gt;sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
&lt;/pre&gt;
&lt;br /&gt;
[OFF]&lt;br /&gt;
&lt;pre&gt;sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/8396468386870940410/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/8396468386870940410' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8396468386870940410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8396468386870940410'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/02/boxenbrewfile.html' title='BoxenからBrewfileに乗り換える時に参考にしたページ集'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-3824540649164602943</id><published>2014-02-11T15:53:00.002+09:00</published><updated>2014-02-11T15:53:29.694+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="OS X"/><title type='text'>メモ：OS X の更新でgitコマンドが見つからなくなった時の対処</title><content type='html'>Mac OS X を更新したらgitが使えなくなったけれど、XCode + Command Line Toolsを入れなおせばいいのね。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.hongkiat.com/blog/mountain-lion-git-fix/&quot;&gt;Git “Command Not Found” Error In Mountain Lion [Quickfix]&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/3824540649164602943/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/3824540649164602943' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/3824540649164602943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/3824540649164602943'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/02/os-x-git.html' title='メモ：OS X の更新でgitコマンドが見つからなくなった時の対処'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-4456252860052710567</id><published>2014-01-30T04:55:00.001+09:00</published><updated>2014-01-30T04:55:49.109+09:00</updated><title type='text'>Mac Book Proのバッテリーを長持ちさせるための方法について（リンク）</title><content type='html'>Mac Book Proのバッテリーを長持ちさせるための方法について。&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&amp;nbsp;Appleのページ&lt;/h4&gt;
&amp;nbsp;
&lt;a href=&quot;http://www.apple.com/jp/batteries/notebooks.html&quot;&gt;Apple - バッテリー - Appleのノートブックコンピュータ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&amp;nbsp;日常でできること。&lt;/h4&gt;
&amp;nbsp;
&lt;a href=&quot;http://www.itea30.jp/2013/01/how-to-maintain-macbook-battery.html&quot;&gt;Macのバッテリー駆動時間と寿命をのばすための7つのメンテナンス&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;



一歩踏み込んだアダプターの使い方。（やるかどうかは別にして）&amp;nbsp;&lt;/h4&gt;
&lt;br /&gt;
&amp;nbsp;
&lt;a href=&quot;http://note.chiebukuro.yahoo.co.jp/detail/n143197&quot;&gt;MacBook Air Pro 充電制限方法(ACアダプタを常時接続する人用の裏ワザ/電池長持ちのコツ)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&amp;nbsp;スリープの種類を変える。&lt;/h4&gt;
&amp;nbsp;

&lt;a href=&quot;http://inforati.jp/apple/mac-tips-techniques/system-hints/how-to-change-the-sleep-mode-of-mac.html&quot;&gt;MacBookやMacBook Proのスリープ方式を切り替えてバッテリー消費を減らす方法&lt;/a&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/4456252860052710567/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/4456252860052710567' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/4456252860052710567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/4456252860052710567'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/01/mac-book-pro.html' title='Mac Book Proのバッテリーを長持ちさせるための方法について（リンク）'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-969629803483634470</id><published>2014-01-03T00:17:00.001+09:00</published><updated>2014-01-03T00:17:15.796+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Javascriptのイテレータに関するリンク</title><content type='html'>PHPのイテレータを使ってみたついでに、ちょっとJavascriptのイテレータも調べてみた。
参考になるページが有ったのでここに記しておく。

&lt;a href=&quot;https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Iterators_and_Generators&quot;&gt;イテレータとジェネレータ &lt;/a&gt;

&lt;a href=&quot;http://taiju.hatenablog.com/entry/20110112/1294795572&quot;&gt;JavaScriptでIteratorを書く&lt;/a&gt;

&lt;a href=&quot;http://jintrick.net/agenda/2008/02/javascript-4.html&quot;&gt;Javascriptのイテレータ備忘録&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/969629803483634470/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/969629803483634470' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/969629803483634470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/969629803483634470'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2014/01/javascript.html' title='Javascriptのイテレータに関するリンク'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-4220489798128341640</id><published>2013-12-15T12:50:00.002+09:00</published><updated>2013-12-15T12:50:36.684+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="json"/><title type='text'>Javascriptで文字列からオブジェクトを生成する方法</title><content type='html'>&lt;br /&gt;
Javascriptで文字列からオブジェクトを生成する方法。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://hamalog.tumblr.com/post/4047826621/json-javascript&quot;&gt;JSONらしき文字列をオブジェクトに変換するJavaScript&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
参考になりました。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
最終的に、以下のような使い方で使っています。
&lt;br /&gt;

&lt;script src=&quot;https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js&quot;&gt;&lt;/script&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
var ret = &#39;&#39;;
/*
変数retにJSON形式の文字列を組み立てる。
*/
var data = &#39;{&#39; + ret + &#39;}&#39;;
return (new Function(&quot;return &quot; + data))();
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/4220489798128341640/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/4220489798128341640' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/4220489798128341640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/4220489798128341640'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/12/javascript.html' title='Javascriptで文字列からオブジェクトを生成する方法'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-5391749520946721558</id><published>2013-12-13T18:12:00.000+09:00</published><updated>2013-12-13T18:12:14.883+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="haskell"/><category scheme="http://www.blogger.com/atom/ns#" term="モナド"/><title type='text'>モナドを理解するためのリンク - Haskellを始めてみようか</title><content type='html'>オーム社の１００周年記念セールでPDFがやすくなっていたので、&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://estore.ohmsha.co.jp/titles/978427406885P&quot;&gt;すごいHaskellたのしく学ぼう！&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
を買いました。だって、次のセールは１００年後かも知れないですから。&lt;br /&gt;
&lt;br /&gt;
で、会社の人に「買ったよー」といったら、「モナドが解ったらおしえて」と&lt;br /&gt;
言われて、さらに&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/qtamaki/20130624/1372086242&quot; style=&quot;font-family: arial, sans-serif; font-size: 14.166666030883789px;&quot;&gt;モナドが解らない人へ、図解で絶対わかるモナドのしくみ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
がわかりやすかったよと教えてもらいました。&lt;br /&gt;
そもそも、まだ１頁も読んでないんですが・・・・。&lt;br /&gt;
&lt;br /&gt;
さらに自分で検索して、&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.sampou.org/haskell/a-a-monads/html/index.html&quot;&gt;モナドのすべて - Haskell におけるモナドプログラミングの理論と実践に関する包括的ガイド &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
も見つけました。こちらも良心的でわかりやすそう。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/5391749520946721558/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/5391749520946721558' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/5391749520946721558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/5391749520946721558'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/12/haskell.html' title='モナドを理解するためのリンク - Haskellを始めてみようか'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-6074589276638520899</id><published>2013-12-13T17:43:00.000+09:00</published><updated>2013-12-13T17:43:18.876+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="年末調整"/><title type='text'>2013年の年末調整で参考になったリンク</title><content type='html'>2013年の年末調整で参考になったページヘのリンクです。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gasuuu.hatenadiary.com/entry/2013/10/31/230809&quot;&gt;【平成25年】一番わかりやすい年末調整書類の書き方 〜その１・扶養控除等申告書〜&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gasuuu.hatenadiary.com/entry/2012/12/28/085212&quot;&gt;これくらいは知っときたい！源泉徴収票の見方&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/6074589276638520899/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/6074589276638520899' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/6074589276638520899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/6074589276638520899'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/12/2013.html' title='2013年の年末調整で参考になったリンク'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-8911279609922370585</id><published>2013-08-24T17:42:00.001+09:00</published><updated>2013-08-24T17:42:46.138+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>ブログに投稿したソースコードの予約語・コメントの色を変える：Javascript code prettifier </title><content type='html'>いくつかのブログでソースコードの予約語・コメントの色がいい感じになっていたのでソースを拝見させていただいたら、&lt;a href=&quot;http://google-code-prettify.googlecode.com/svn/trunk/README.html&quot;&gt;Javascript code prettifier&lt;/a&gt;を使っていらっしゃるようでしたので、ここでもちょっと実験してみます。

&lt;script src=&quot;https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js&quot;&gt;&lt;/script&gt;

&lt;code&gt;
&lt;script src=&quot;https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js&quot;&gt;&lt;/script&gt;
&lt;/code&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
// comment
var test[&#39;key&#39;]=&#39;value1&#39;;

/*
 comment
*/
var test[&#39;key&#39;]=&#39;value1&#39;;

testfunc(7);
function testfunc(inArg){
console.log(inArg);
}
&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
class MyClass{
protected $mMember;
public function __construct($inArg1){
    $this-&gt;mMember = $inArg1;
}
}
&lt;/pre&gt;

&lt;a href=&quot;http://google-code-prettify.googlecode.com/svn/trunk/README.html&quot;&gt;リンク先&lt;/a&gt;にもありますが、かなりお手軽に使えてこの感じならありですね。是非使わせていただきます。
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/8911279609922370585/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/8911279609922370585' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8911279609922370585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/8911279609922370585'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/08/javascript-code-prettifier.html' title='ブログに投稿したソースコードの予約語・コメントの色を変える：Javascript code prettifier '/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-2450458803211603814</id><published>2013-08-11T12:31:00.002+09:00</published><updated>2013-08-11T12:31:51.556+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="文字列"/><title type='text'>秒数から時刻フォーマット（javascriptの数値を0埋めする）</title><content type='html'>秒数を時刻表示のフォーマット - 00:00 - にして返す関数
&lt;br /&gt;
sprintfを探したけれど無いみたい。でもこの方法は簡単でよかった。&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;function getTimeFormatedString(inSec){
    var one=(&#39;0&#39; + parseInt(inSec%60)).slice(-2);
    var ten=(&#39;0&#39; + parseInt(inSec/60)).slice(-2);
    return ten + &quot; : &quot; + one;
}
&lt;/pre&gt;

参考にしたサイト
http://developer.unlax.com/2009/12/javascript-0.html
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/2450458803211603814/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/2450458803211603814' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2450458803211603814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2450458803211603814'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/08/javascript0.html' title='秒数から時刻フォーマット（javascriptの数値を0埋めする）'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-2306198961322936878</id><published>2013-08-11T10:40:00.001+09:00</published><updated>2014-03-28T07:51:06.638+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>親クラスのprototypeを子クラスにコピー</title><content type='html'>親クラスのprototypeを小クラスにコピーしたかったので作ったfunction&lt;br /&gt;
function mergeProperties(obj1,obj2) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;var properties = {};&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for (var key in obj1){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;properties[key] = obj1[key];&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for (var key in obj2){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;properties[key] = obj2[key];&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return properties;&lt;br /&gt;
}&lt;br /&gt;
【テストコード】&lt;br /&gt;
//親クラス&lt;br /&gt;
function ParentClass(){&lt;br /&gt;
}&lt;br /&gt;
ParentClass.prototype={&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;func1: function(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;print(&quot;ParentClass::func1&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;},&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;func2: function(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;print(&quot;ParentClass::func2&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;},&lt;br /&gt;
}&lt;br /&gt;
//子クラス　このクラスにはfunc2は無い&lt;br /&gt;
function ChildClass(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ChildClass.prototype = mergeProperties(new ParentClass(),this);&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.func1=function(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;print(&quot;ChildClass::func1&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
print(&quot;----- Parent Class -----&quot;);&lt;br /&gt;
var b = new ParentClass();&lt;br /&gt;
b.func1();&lt;br /&gt;
b.func2();&lt;br /&gt;
&lt;br /&gt;
print(&quot;----- Child Class -----&quot;);&lt;br /&gt;
var c = new ChildClass();&lt;br /&gt;
c.func1();&lt;br /&gt;
c.func2();&lt;br /&gt;
【実行結果】
&lt;br /&gt;
&lt;pre&gt;----- Parent Class -----
ParentClass::func1
ParentClass::func2
----- Child Class -----
ChildClass::func1
ParentClass::func2
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/2306198961322936878/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/2306198961322936878' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2306198961322936878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/2306198961322936878'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/08/prototype.html' title='親クラスのprototypeを子クラスにコピー'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-256554007984850614</id><published>2013-08-05T05:58:00.002+09:00</published><updated>2013-08-05T05:58:46.743+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>JavaScriptのコンストラクタについてのリンク</title><content type='html'>JavaScriptでのクラスの継承方法がイマイチわからなかったので調べていたところ、いくつか特に参考になったリンクがあったのでメモ。&lt;br /&gt;
&lt;br /&gt;
◯言語仕様的な話&lt;br /&gt;
&lt;a href=&quot;https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Details_of_the_Object_Model&quot;&gt;Mozilla - オブジェクトモデルの詳細&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.atmarkit.co.jp/ait/articles/0709/25/news148.html&quot;&gt;第4回　JavaScriptでオブジェクト指向プログラミング (1/4)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
◯コンストラクタの書き方&lt;br /&gt;
&lt;a href=&quot;http://blog.livedoor.jp/aki_mana/archives/2383135.html&quot;&gt;JavaScript : コンストラクタの書き方&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://ejohn.org/blog/simple-class-instantiation/&quot;&gt;Simple “Class” Instantiation&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
◯継承について&lt;br /&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/kiwanami/20061101/1162530087&quot;&gt;JavaScriptでの継承について調べてみた&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/256554007984850614/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/256554007984850614' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/256554007984850614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/256554007984850614'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/08/javascript_5.html' title='JavaScriptのコンストラクタについてのリンク'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-525024851885243265</id><published>2013-08-04T07:02:00.001+09:00</published><updated>2013-08-04T07:06:48.175+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="ipad"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><title type='text'>ipadをサブディスプレイにする(Splashtop XDisplay)</title><content type='html'>こちらのリンク先を参考にしてインストール。&lt;br /&gt;
&lt;br /&gt;
http://number333.org/2013/01/11/splashtop-xdisplay/&lt;br /&gt;
&lt;br /&gt;
【SplashtopのURL】&lt;br /&gt;
http://www.splashtop.com/ja/home&lt;br /&gt;
&lt;br /&gt;
【設定手順の概要】&lt;br /&gt;
&lt;br /&gt;
Mac : 専用ソフトをインストール&lt;br /&gt;
iPad : 専用アプリをインストール&lt;br /&gt;
&lt;br /&gt;
（尚、iPadアプリ自体は無料だが無料試用の場合は１０分間しか使えない。気に入ったらアドオンを購入して制限を解除する。）&lt;br /&gt;
&lt;br /&gt;
Macにインストールしたソフトにて、&lt;br /&gt;
・Splashtopのアカウントを作成&lt;br /&gt;
・セキュリティーコードを設定&lt;br /&gt;
&lt;br /&gt;
iPadアプリを起動し、設定したセキュリティーコードを入力&lt;br /&gt;
&lt;br /&gt;
画面共有が開始&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/525024851885243265/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/525024851885243265' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/525024851885243265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/525024851885243265'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/08/ipad.html' title='ipadをサブディスプレイにする(Splashtop XDisplay)'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-3440781589288659834</id><published>2013-04-08T19:47:00.003+09:00</published><updated>2013-04-08T19:47:29.619+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><category scheme="http://www.blogger.com/atom/ns#" term="wget"/><title type='text'>mac os x lion にwgetをインストール</title><content type='html'>







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
Mac OS X Lion 10.7.5の標準SSLはopensslなので./configureのオプション指定が必要。&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;curl -O &lt;a href=&quot;http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz&quot;&gt;&lt;span class=&quot;s2&quot;&gt;http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
gunzip wget-1.14.tar.gz&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
tar xfv wget-1.14.tar&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
cd wget-1.14&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
./configure --with-ssl=openssl&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
make&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
sudo make install&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
which wget&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
/usr/local/bin/wget&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
--with-ssl=openssl無しで実行した場合、以下のエラーが出た。&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
checking for gpg_err_init in -lgpg-error... no&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
checking for gcry_control in -lgcrypt... no&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
checking for libgnutls... no&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
configure: error: --with-ssl was given, but GNUTLS is not available.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
参考サイト：&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;a href=&quot;http://thomashunter.name/blog/install-wget-on-os-x-lion/&quot;&gt;Install wget on OS X Lion&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;a href=&quot;http://ext.omo3.com/webmaster/wget.html&quot;&gt;wgetでサイト（ディレクトリ）を丸ごとダウンロード&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/3440781589288659834/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/3440781589288659834' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/3440781589288659834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/3440781589288659834'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/04/mac-os-x-lion-wget.html' title='mac os x lion にwgetをインストール'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1494421716922300545.post-4768474724423014217</id><published>2013-04-06T17:55:00.000+09:00</published><updated>2013-04-08T06:30:43.384+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="programing"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><title type='text'>シェルから複数台のサーバーにsshでログインしてコマンドを実行する方法</title><content type='html'>シェルから複数台のサーバーにsshでログインしてコマンドを実行する方法です。&lt;br /&gt;
&lt;br /&gt;
以下の例は、サーバーserver0001.guitar-i.net 〜 server0010.guitar-i.net上でargsに設定したコマンドを実行します。&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;args=; cmd=ssh;prefix=server;hostname=.guitar-i.net;for ((i=1;i&amp;lt;=10;i++));do ${cmd} ${prefix}`printf &quot;%03d&quot; ${i}`${hostname} ${args};done&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
args :sshに渡す引数&lt;br /&gt;
cmd :コマンド名 - ssh&lt;br /&gt;
prefix :サーバー名の接頭辞&lt;br /&gt;
hostname :ホスト名&lt;br /&gt;
&amp;nbsp;i :サーバー番号等&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
参考にしたサイト：http://d.hatena.ne.jp/kmn23/20120426/1335454930
</content><link rel='replies' type='application/atom+xml' href='http://eigostudy.blogspot.com/feeds/4768474724423014217/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1494421716922300545/4768474724423014217' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/4768474724423014217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1494421716922300545/posts/default/4768474724423014217'/><link rel='alternate' type='text/html' href='http://eigostudy.blogspot.com/2013/04/ssh.html' title='シェルから複数台のサーバーにsshでログインしてコマンドを実行する方法'/><author><name>Takeoh</name><uri>http://www.blogger.com/profile/03185245240500453294</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>