<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>qazqaz note</title>
	<atom:link href="http://qazqaz.net/feed" rel="self" type="application/rss+xml" />
	<link>http://qazqaz.net</link>
	<description>とりあえずの備忘録で。。</description>
	<lastBuildDate>Wed, 21 Sep 2011 03:47:06 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/feed" />
		<item>
		<title>CSS スプライトのコードを簡単に生成</title>
		<link>http://qazqaz.net/archives/144</link>
		<comments>http://qazqaz.net/archives/144#comments</comments>
		<pubDate>Wed, 21 Sep 2011 03:45:21 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[WEBサービス]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=144</guid>
		<description><![CDATA[CSSスプライト（CSS Sprite）とは、複数の画像をひとつにまとめて、CSSでポジションを指定することにより表示させるCSSの技のひとつです。画像の数とサーバへのリクエストを減らすことで、サイトの表示を速めることが [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.spritecow.com/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://www.spritecow.com/" alt="http://www.spritecow.com/" title="Sprite Cow - Generate CSS for sprite sheets" width="300" class="alignright" /></a>CSSスプライト（CSS Sprite）とは、複数の画像をひとつにまとめて、CSSでポジションを指定することにより表示させるCSSの技のひとつです。画像の数とサーバへのリクエストを減らすことで、サイトの表示を速めることができます。</p>
<p>以前よりYoutubeなどに使用されているので、その名前を一度は聞いたことがあるかもしれません。↓の画像は投稿当時にYouTubeで使用されていたCSSスプライトで使用されていた元画像です。</p>
<p><a href="/uploads/2011/09/youtube_sprite.png"><img src="/uploads/2011/09/youtube_sprite.png" alt="" title="youtube_sprite" width="327" height="199" class="alignnone size-full wp-image-145" /></a></p>
<p>このCSSスプライトを利用する際、バックグラウンドでXとY方向の指定をしなくてはいけないのですが、画像を適当に作ってしまうと何pxなのか分かりにくく・・・となってしまいます（泣）</p>
<pre class="brush: css; title: ; notranslate">
.sprite {
	background: url('imgs/test-sprite-grey.png') no-repeat -30px -28px;
	width: 395px;
	height: 178px;
}
</pre>
<p>そんな時に利用したいのが、「Sprite Cow」です。<br />
<a href="http://www.spritecow.com/">Sprite Cow &#8211; Generate CSS for sprite sheets</a></p>
<p>使い方はいたって簡単ｗ。<br />
まず、画像をアップし、範囲をドラッグ＆ドロップで指定するだけで、画面下部にコードが生成されます♪</p>
<p>また、範囲の微調整はサーバ側でやってくれるのでぴったりと範囲指定出来ます！</p>
<p>アイコンのような画像なら、クリック一発で。複数を跨いで（離れて）いる画像（文字等）はドラッグアンドドロップで範囲指定可能。</p>
<p>他にも似たようなツールはあるが、個人的には一番使いやすいのではないかと思ったり。よろしければどうぞ。</p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/144/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/144" />
	</item>
		<item>
		<title>お勧めレンタルサーバ（X Server編）</title>
		<link>http://qazqaz.net/archives/108</link>
		<comments>http://qazqaz.net/archives/108#comments</comments>
		<pubDate>Tue, 06 Sep 2011 09:50:51 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[レンタルサーバ]]></category>
		<category><![CDATA[共有サーバ]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=108</guid>
		<description><![CDATA[高性能、高機能を望むなら業界トップクラスを誇る「Xserver（エックスサーバー）」がお勧めです！ クアッドコアCPUを使用し、メモリもなんと12GB搭載で大容量！さらに少人数でのサーバ使用につき、快適動作♪ レンタルサ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://px.a8.net/svt/ejp?a8mat=1U1423+E7FE6Y+CO4+644DT" target="_blank"><img src="http://www25.a8.net/svt/bgt?aid=110906571859&amp;wid=002&amp;eno=01&amp;mid=s00000001642001027000&amp;mc=1" border="0" alt="" width="350" height="240" class="alignright size-full" /></a><img src="http://www17.a8.net/0.gif?a8mat=1U1423+E7FE6Y+CO4+644DT" border="0" alt="" width="1" height="1" /><br />
高性能、高機能を望むなら業界トップクラスを誇る「Xserver（エックスサーバー）」がお勧めです！<br />
クアッドコアCPUを使用し、メモリもなんと12GB搭載で大容量！さらに少人数でのサーバ使用につき、快適動作♪<br />
レンタルサーバ初心者の人はもちろん、中・上級者の人も満足なスペックです！</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="400" cellspacing="0">
<tbody>
<tr>
<th>マルチドメイン</th>
<td>無制限</td>
<th>PHP4/PHP5</th>
<td>あり</td>
</tr>
<tr>
<th>サブドメイン</th>
<td>無制限</td>
<th>MySQL4/MySQL5</th>
<td>あり</td>
</tr>
<tr>
<th>メールアカウント</th>
<td>無制限</td>
<th>共有SSL</th>
<td>あり</td>
</tr>
<tr>
<th>FTPアカウント</th>
<td>無制限</td>
<th>アクセス解析</th>
<td>あり</td>
</tr>
<tr>
<th>転送量課金</th>
<td>なし</td>
<th>Webメール</th>
<td>あり</td>
</tr>
<tr>
<th>バックアップ</th>
<td>あり</td>
<th>自動インストール（※）</th>
<td>あり</td>
</tr>
<tr>
<th>オリジナルCGI・SSI</th>
<td>あり</td>
<th>ウィルス駆除</th>
<td>あり</td>
</tr>
</tbody>
</table>
<p>※・・・WordPressやMovableType、Xoops Cube等のオープンソーススクリプトの自動インストール機能です。</p>
<h3>■プランについて</h3>
<p>プランは、「X10プラン」、「X20プラン」、「X30プラン」の3構成。<br />
どのプランもウイルスチェック（駆除）はもちろん、メールアドレスは無制限、マルチドメイン・サブドメインも無制限です！<br />
さらにサーバサイドスクリプトのPHPは、バージョン4とバージョン5の切り替えが可能で、バージョン4でしか動かないスクリプトも実行可能です！！<br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/108/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/108" />
	</item>
		<item>
		<title>WEBサイトのスクリーンショットを作るワザ</title>
		<link>http://qazqaz.net/archives/94</link>
		<comments>http://qazqaz.net/archives/94#comments</comments>
		<pubDate>Fri, 05 Aug 2011 03:58:33 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[linux関連]]></category>
		<category><![CDATA[ソフトウエア]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=94</guid>
		<description><![CDATA[WEBサイトのスクリーンショット（サムネイル画像）を作成するサービスを以前に紹介しましたが、独自のサービスとして運用が出来そうなモノを見つけました♪ wkhtmltopdf &#8211; Convert html to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/wkhtmltopdf/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://code.google.com/p/wkhtmltopdf/" alt="http://code.google.com/p/wkhtmltopdf/" title="wkhtmltopdf - Convert html to pdf using webkit (qtwebkit) - Google Project Hosting" width="300" class="alignright" /></a><a href="http://qazqaz.net/archives/88">WEBサイトのスクリーンショット（サムネイル画像）を作成するサービス</a>を以前に紹介しましたが、独自のサービスとして運用が出来そうなモノを見つけました♪</p>
<p><a href="http://code.google.com/p/wkhtmltopdf/">wkhtmltopdf &#8211; Convert html to pdf using webkit (qtwebkit)</a></p>
<p>このソフトはLinuxやMacOS、Windows上で実行可能なコマンドラインツールで、これをサーバにインストール、PHP等で実行させれば、結構簡単にPDFファイルやスクリーンショットの画像を作成することが出来ます。。</p>
<p>今回は、wkhtmltopdfに含まれる「wkhtmltoimage」を使用します。</p>
<p>例＞<br />
<code>wkhtmltoimage --height 600 --width 1024 --quality 50 http://qazqaz.net/ snapshot.jpg</code></p>
<p>このソフトウエア自体にはオプション項目が多数あるので、駆使すればイロイロと細かい指定が可能です。<br />
例えば、JavaScriptをオフにした状態や、HTTP認証が掛かったページを取得したり、proxy経由で取得なんかも出来ます。。</p>
<hr />
<pre class="brush: plain; gutter: false; title: ; notranslate">#wkhtmltoimage -H
Name:
  wkhtmltoimage 0.10.0 rc2

Synopsis:
  wkhtmltoimage [OPTIONS]... &lt;input file&gt; &lt;output file&gt;

Description:
  Converts an HTML page into an image,

General Options:
      --allow &lt;path&gt;                  Allow the file or files from the specified

                                      folder to be loaded (repeatable)
      --checkbox-checked-svg &lt;path&gt;   Use this SVG file when rendering checked
                                      checkboxes
      --checkbox-svg &lt;path&gt;           Use this SVG file when rendering unchecked

                                      checkboxes
      --cookie &lt;name&gt; &lt;value&gt;         Set an additional cookie (repeatable)
      --cookie-jar &lt;path&gt;             Read and write cookies from and to the
                                      supplied cookie jar file
      --crop-h &lt;int&gt;                  Set height for croping
      --crop-w &lt;int&gt;                  Set width for croping
      --crop-x &lt;int&gt;                  Set x coordinate for croping
      --crop-y &lt;int&gt;                  Set y coordinate for croping
      --custom-header &lt;name&gt; &lt;value&gt;  Set an additional HTTP header (repeatable)

      --custom-header-propagation     Add HTTP headers specified by
                                      --custom-header for each resource request.

      --no-custom-header-propagation  Do not add HTTP headers specified by
                                      --custom-header for each resource request.

      --debug-javascript              Show javascript debugging output
      --no-debug-javascript           Do not show javascript debugging output
                                      (default)
      --encoding &lt;encoding&gt;           Set the default text encoding, for input
  -H, --extended-help                 Display more extensive help, detailing
                                      less common command switches
  -f, --format &lt;format&gt;               Output file format (default is jpg)
      --height &lt;int&gt;                  Set screen height (default is calculated
                                      from page content) (default 0)
  -h, --help                          Display help
      --htmldoc                       Output program html help
      --images                        Do load or print images (default)
      --no-images                     Do not load or print images
  -n, --disable-javascript            Do not allow web pages to run javascript
      --enable-javascript             Do allow web pages to run javascript
                                      (default)
      --javascript-delay &lt;msec&gt;       Wait some milliseconds for javascript
                                      finish (default 200)
      --load-error-handling &lt;handler&gt; Specify how to handle pages that fail to
                                      load: abort, ignore or skip (default
                                      abort)
      --disable-local-file-access     Do not allowed conversion of a local file
                                      to read in other local files, unless
                                      explecitily allowed with --allow
      --enable-local-file-access      Allowed conversion of a local file to read

                                      in other local files. (default)
      --manpage                       Output program man page
      --minimum-font-size &lt;int&gt;       Minimum font size
      --password &lt;password&gt;           HTTP Authentication password
      --disable-plugins               Disable installed plugins (default)
      --enable-plugins                Enable installed plugins (plugins will
                                      likely not work)
      --post &lt;name&gt; &lt;value&gt;           Add an additional post field (repeatable)
      --post-file &lt;name&gt; &lt;path&gt;       Post an additional file (repeatable)
  -p, --proxy &lt;proxy&gt;                 Use a proxy
      --quality &lt;int&gt;                 Output image quality (between 0 and 100)
                                      (default 94)
      --radiobutton-checked-svg &lt;path&gt; Use this SVG file when rendering checked
                                      radiobuttons
      --radiobutton-svg &lt;path&gt;        Use this SVG file when rendering unchecked

                                      radiobuttons
      --readme                        Output program readme
      --run-script &lt;js&gt;               Run this additional javascript after the
                                      page is done loading (repeatable)
  -0, --disable-smart-width           Use the specified width even if it is not
                                      large enough for the content
      --stop-slow-scripts             Stop slow running javascripts (default)
      --no-stop-slow-scripts          Do not Stop slow running javascripts
                                      (default)
      --transparent                   Make the background transparent in pngs
      --user-style-sheet &lt;url&gt;        Specify a user style sheet, to load with
                                      every page
      --username &lt;username&gt;           HTTP Authentication username
  -V, --version                       Output version information an exit
      --width &lt;int&gt;                   Set screen width (default is 1024)
                                      (default 1024)
      --window-status &lt;windowStatus&gt;  Wait until window.status is equal to this
                                      string before rendering page
      --zoom &lt;float&gt;                  Use this zoom factor (default 1)

Specifying A Proxy:
  By default proxy information will be read from the environment variables:
  proxy, all_proxy and http_proxy, proxy options can also by specified with the
  -p switch

  &lt;type&gt; := &quot;http://&quot; | &quot;socks5://&quot;
  &lt;serif&gt; := &lt;username&gt; (&quot;:&quot; &lt;password&gt;)? &quot;@&quot;
  &lt;proxy&gt; := &quot;None&quot; | &lt;type&gt;? &lt;sering&gt;? &lt;host&gt; (&quot;:&quot; &lt;port&gt;)?

  Here are some examples (In case you are unfamiliar with the BNF):

http://user:password@myproxyserver:8080

  socks5://myproxyserver
</pre>
<hr />
<p>PHPのライブラリを公開して頂いている方もいるようで、今後の進歩を期待してます！</p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/94/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/94" />
	</item>
		<item>
		<title>WEBページのキャプチャ画像を取得してくれるサービス</title>
		<link>http://qazqaz.net/archives/88</link>
		<comments>http://qazqaz.net/archives/88#comments</comments>
		<pubDate>Mon, 25 Jul 2011 15:39:14 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[WEBサービス]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=88</guid>
		<description><![CDATA[このブログでも度々使用させていただいてますが、WEBページを紹介する際に、該当ページのキャプチャ画像があったら便利だね～。。自分で画像やサービス自体を作ることも可能ですが面倒で（汗）。世の中にはタダ（善意）でこういうサー [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://capture.heartrails.com/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://capture.heartrails.com/" alt="http://capture.heartrails.com/" title="HeartRails Capture | サムネイル画像／PDF ファイル作成サービス" width="300" class="alignright" /></a>このブログでも度々使用させていただいてますが、WEBページを紹介する際に、該当ページのキャプチャ画像があったら便利だね～。。自分で画像やサービス自体を作ることも可能ですが面倒で（汗）。世の中にはタダ（善意）でこういうサービスをやっていただいている企業さまや個人さんがおりますので、徹底活用させていただいてます。</p>
<p><a href="http://capture.heartrails.com/">HeartRails Capture | サムネイル画像／PDF ファイル作成サービス</a></p>
<p>他のサービスもいいんですが、HeartRailsさんはココが違う！</p>
<ul>
<li>サムネイル化した画像の細かなアレンジが可能</li>
<li>↑項目の指定が可能なAPIを用意してくれている♪</li>
<li>画像のキャプチャ時間が非常に速い</li>
<li>PDF形式のファイルも作成が可能ｗ</li>
</ul>
<hr />
<p>念のため別のサービスもご紹介。</p>
<ul>
<li><a href="http://img.simpleapi.net/">SimpleAPI &#8211; ウェブサイト・サムネイル化ツール</a></li>
<li><a href="http://mozshot.nemui.org/">MozShot</a></li>
<li><a href="http://x-row.cc/igwebcap/">IgWebCap</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/88/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/88" />
	</item>
		<item>
		<title>ISOファイルを仮想CD／DVDドライブへマウント「WinCDEmu」</title>
		<link>http://qazqaz.net/archives/81</link>
		<comments>http://qazqaz.net/archives/81#comments</comments>
		<pubDate>Sun, 24 Jul 2011 17:16:36 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[ソフトウエア]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=81</guid>
		<description><![CDATA[WinCDEmu &#8211; the easiest way to mount an ISO. And more&#8230; ISOファイルをダブルクリックするだけでマウントして、実在のCDやDVDと同じように扱え [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wincdemu.sysprogs.org/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://wincdemu.sysprogs.org/" alt="http://wincdemu.sysprogs.org/" title="WinCDEmu - the easiest way to mount an ISO. And more..." width="300" class="alignright" /></a><a href="http://wincdemu.sysprogs.org/">WinCDEmu &#8211; the easiest way to mount an ISO. And more&#8230;</a></p>
<p>ISOファイルをダブルクリックするだけでマウントして、実在のCDやDVDと同じように扱えるフリーソフト。</p>
<p>世の中には様々な仮想CD/DVDドライブのアプリケーションが存在（<a href="http://www.daemon-tools.cc/JPN/" target="_blank">DAEMON Tools</a> や <a href="http://www.elby.ch/products/clone_dvd/" target="_blank">Virtual CloneDrive</a> 等）してますが、基本的に常駐しているものが多く、何かと不便なものでしたがこの「WinCDEmu」は使い方は至って簡単。ダブルクリックするだけでマウント出来ちゃいます。。</p>
<hr />
<p>ファイルをダウンロードするまで英語ですが、ソフトウエア自体は日本語に完全対応してます。（ま、右のキャプチャ画像の緑色した画像クリックすればダウンロードできますけどね。。）</p>
<p>インストール時に、UAC云々を言っている項目があるので、自分の好きなようにチェックを入れるなり、外すなりしてくだされ。。</p>
<p>あと、インストール中にドライバの認証ダイアログが表示されるので、問答無用で「このドライバー ソフトウェアをインストールします」をクリック！</p>
<p><a href="/uploads/2011/07/20110725_WinCDEmu_dialog.png"><img src="/uploads/2011/07/20110725_WinCDEmu_dialog-300x182.png" alt="" title="20110725_WinCDEmu_dialog" width="300" height="182" class="alignnone size-medium wp-image-82" /></a></p>
<hr />
<p>使い勝手に関しては至って簡単。。</p>
<p>ISOファイルをWinCDEmuに関連付けしていれば、ダブルクリックで自動的に仮想CD／DVDドライブにマウントされます。。<br />
同じように、アンマウントの操作をすると、勝手に同ドライブごと解除されます。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/81/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/81" />
	</item>
		<item>
		<title>中古パソコンって？？</title>
		<link>http://qazqaz.net/archives/79</link>
		<comments>http://qazqaz.net/archives/79#comments</comments>
		<pubDate>Tue, 12 Jul 2011 17:17:38 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[ハードウエア]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=79</guid>
		<description><![CDATA[自宅で使っていたパソコンが熱暴走＆お亡くなりになり、急遽新しいモノを用意したいと思ってたんですが、中古ジャンルも全然アリと思い、イロイロと探してみました。 以前、仕事で使うために調達した秋葉原の某店は凄く良かったんですが [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hb.afl.rakuten.co.jp/hsc/0e6c5d31.b1cac271.0e6c5d30.2953f72a/" target="_blank"><img src="http://hbb.afl.rakuten.co.jp/hsb/0e6c5d31.b1cac271.0e6c5d30.2953f72a/" alt="アルフシステム楽天市場店" class="alignright" /></a><br />
自宅で使っていたパソコンが熱暴走＆お亡くなりになり、急遽新しいモノを用意したいと思ってたんですが、中古ジャンルも全然アリと思い、イロイロと探してみました。</p>
<p>以前、仕事で使うために調達した秋葉原の某店は凄く良かったんですが、中古PCの取り扱いを辞めてしまったので。。</p>
<p>楽天さんの店舗で良いお店見つけました♪</p>
<p>●チェックがしっかりしてます！<br />
<a href="http://item.rakuten.co.jp/alfsystem/c/0000000100/">http://item.rakuten.co.jp/alfsystem/c/0000000100/</a></p>
<p>&nbsp;</p>
<p>テスト用サーバに1台買おうかな？？</p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/79/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/79" />
	</item>
		<item>
		<title>GoogleにホスティングされているjQuery等のJavascriptタグを一瞬でコピーできる便利サイト「ScriptSrc.net」</title>
		<link>http://qazqaz.net/archives/75</link>
		<comments>http://qazqaz.net/archives/75#comments</comments>
		<pubDate>Mon, 11 Jul 2011 07:40:18 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[WEBサービス]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=75</guid>
		<description><![CDATA[jQuery google api and other google hosted javascript libraries. &#8211; ScriptSrc.net jQueryを使うサイトでは、通常、自分のサーバ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://scriptsrc.net/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://scriptsrc.net/" alt="http://scriptsrc.net/" title="jQuery google api and other google hosted javascript libraries. - ScriptSrc.net" width="300" class="alignright" /></a><br />
<a id="captured_title" href="http://scriptsrc.net/" target="_blank">jQuery google api and other google hosted javascript libraries. &#8211; ScriptSrc.net</a></p>
<p>jQueryを使うサイトでは、通常、自分のサーバにjQueryをアップロードして、&lt;script&gt;タグを書いて、srcでその位置を指定して、なんていう面倒なステップを踏むわけですが、このサイトにアクセスしてボタンを1回押せば、タグがクリップボードにコピーされます。</p>
<p>コピーできるライブラリは、jQuery／jQuery UI／swfObject／Chrome Frame／prototype／script.aculo.us／ExtJS／mootools／YUI／dojo という主要なものです。<br />
コピー後、ペーストすれば、ローカルにおいたHTMLにさえ、jQueryコードをそのまま書いて開発に移ることができますね。</p>
<p>＜貼り付け例＞<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&#8221;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js&#8221;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js&#8221;&gt;&lt;/script&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/75/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/75" />
	</item>
		<item>
		<title>無料で使える使い捨てメールアドレス（捨てアド）</title>
		<link>http://qazqaz.net/archives/63</link>
		<comments>http://qazqaz.net/archives/63#comments</comments>
		<pubDate>Sun, 10 Jul 2011 19:06:05 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[WEBサービス]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=63</guid>
		<description><![CDATA[使い捨てメールアドレスとは？ 捨てアドでのメール送信 &#160; 無料レポートやプログラムのダウンロードをする時など、メールアドレスの入力を要求される場面は結構あると思います。 興味はあるけど、迷惑メールがくるかもしれ [...]]]></description>
			<content:encoded><![CDATA[<h3>使い捨てメールアドレスとは？ 捨てアドでのメール送信</h3>
<p>&nbsp;</p>
<div>無料レポートやプログラムのダウンロードをする時など、メールアドレスの入力を要求される場面は結構あると思います。<br />
興味はあるけど、迷惑メールがくるかもしれないしメールアドレスを入力するにはちょっと抵抗がある。<br />
そんな時には、使い捨てメールアドレス（捨てアド）として、フリーメールを利用する人は多いと思います。</div>
<div>Yahoo! や、Gmail 、Hotmail など、フリーメールは沢山ありますが、いちいちユーザー登録していくのが面倒だ、という人に便利なのが登録不要、ワンクリックで作成可能な使い捨てメールアドレスです。</div>
<p>&nbsp;</p>
<h3>捨てアドを2秒で取得「Super Mailer（スーパーメイラー）」</h3>
<p><a href="http://supermailer.jp/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://supermailer.jp/" alt="http://supermailer.jp/" title="フリーメールを2秒で取得 - Super Mailer（スーパーメイラー）" width="300" class="alignright" /></a></p>
<div>Super Mailer（スーパーメイラー） ( <a title="Super Mailer（スーパーメイラー）" href="http://supermailer.jp/" target="_blank">http://supermailer.jp/</a> )</div>
<div>ココのメールアドレスの有効期限は7日間です。7日以内にサイトを訪れれば、そこからまた継続して、7日間ご利用いただくことが可能です。別のメールアドレスを発行したい場合は、新たに作成して頂くことにより可能ですが、現在のメールアドレスや、受信・送信メールは全て削除されます。</div>
<p>&nbsp;</p>
<hr style="clear: right;" />
<h3>10 Minute Mail（10分メアド）の使い方 ★受信専用★</h3>
<p><a href="http://10minutemail.com/10MinuteMail/"><img src="http://capture.heartrails.com/300x300/cool/shorten?http://10minutemail.com/10MinuteMail/" alt="http://10minutemail.com/10MinuteMail/" title="10 Minute Mail" width="300" class="alignright" /></a></p>
<div>10 Minute Mail ( <a title="10 Minute Mail" href="http://10minutemail.com/10MinuteMail/" target="_blank">http://10minutemail.com/10MinuteMail/ </a>)</div>
<div>10分間だけ有効な使い捨てメールアドレスです。使い方は簡単で、上記ＵＲＬより「10分メアドを取得する」をクリックするだけです。<br />
そうすると、10分間だけ有効なメールアドレスが作成され、その受信トレイが表示されます。</p>
<p>あとは、通常のWEBメールと使用方法はほとんど変わりありません。</p>
<p>10分間でメールアドレスが無くなってしまいますので、もう少し使い続けたい場合は、「もう10分延長!」をクリックします。<br />
最長10分まで延長する事が出来ます。</p>
<p>また、届いたメールに返信を行うことも可能です。<br />
ただし、返信メールが文字化けしてしまう事があるようです。<br />
返信を受け取った人が、メールソフトの表示エンコードを UTF-8に切り替えれば読む事も出来るようですが、基本的には受信専用と考えておいた方が良いでしょう。</p>
<p>必要が無くなったらそのままブラウザを閉じましょう。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/63/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/63" />
	</item>
		<item>
		<title>SPFレコードの記述例</title>
		<link>http://qazqaz.net/archives/49</link>
		<comments>http://qazqaz.net/archives/49#comments</comments>
		<pubDate>Wed, 25 May 2011 18:44:16 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[linux関連]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=49</guid>
		<description><![CDATA[1 SPFレコードの例 SPFレコードは、記述ミスを防ぐため、なるべく簡潔に記述するよう心がけましょう。 また、簡潔に記述することが、受信側での認証処理の負荷を軽減することにもつながります。 includeやredire [...]]]></description>
			<content:encoded><![CDATA[
<h4>1 SPFレコードの例</h4>
<p>SPFレコードは、記述ミスを防ぐため、なるべく簡潔に記述するよう心がけましょう。<br />
また、簡潔に記述することが、受信側での認証処理の負荷を軽減することにもつながります。</p>
<p>includeやredirect、またマクロの機能等は、間違えを起こしやすいので、本当に必要な場合にのみ利用し、ip4やip6の記法で簡潔に記述することを推奨します。</p>
<p><span style="text-decoration: underline;">Sample 1: ホストのIPアドレスで記述</span><br />
メールを外部に送出するメールサーバのIPアドレスを直接指定します。送信メールサーバの数があまり多くない場合には、記述ミスを防ぐためや、受信側でのDNSクエリを抑制するために、この記述方法を強く推奨します。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 ip4:10.0.3.1 ip4:10.0.3.2 ip4:10.0.3.3 -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 2: ホスト名で記述</span><br />
メールを外部に送出するメールサーバのホスト名を指定します。Sample 1 のIPアドレスを直接指定する方法に比べて、メンテナンスが簡単ですが、受信側の認証処理でDNSへの負荷が少し増える可能性があります。ホスト名は、必ずFQDNで指定します。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 a:mx01.example.org a:mx02.exmaple.org a:ns.example.org -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 3: ネットワークでの指定</span><br />
メールを送出する可能性のあるホストが存在するネットワークを、CIDR方式で指定します。CIDRにあまり小さい値を指定すると（つまりネットワークの領域をあまり広く指定すると）、SPFレコード自体の意味がなくなるため、最小限のネットワーク範囲で利用します。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 ip4:10.0.4.0/28 -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 4: ホストのIPアドレスとネットワークアドレスの混在</span><br />
Sample 2 のホストのIPアドレスの指定とSample 3 のネットワークの指定とを混在させることも可能です。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 ip4:10.0.3.0 ip4:10.0.3.1 ip4:10.0.3.2 ip4:10.0.4.0/28 -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 5: MXに指定したホストを利用</span><br />
MXに指定したホストからしかメールを外部に送出しない場合は、mxを利用します。メンテナンスが楽であり、記述ミスの発生を防ぐことができます。ただし、受信側での認証処理でややDNSへの負荷が大きくなる可能性があります。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 mx -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 6: メールを送信しないドメイン</span><br />
管理しているドメインがまったくメール送信しない場合は、&#8221;-all&#8221;を利用して、その旨を公開できます。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 7: サブドメインに個別のSPFレコードを定義する</span><br />
顧客へのアナウンスメールやキャンペーンメールを外部業者に委託しているような組織の場合では、それらの配信メールの送信元サーバのIPアドレスをSPFレコードに追加する必要があります。しかし、外部業者が多数に上る場合など、レコードの管理が複雑になることが考えられるので、可能であれば、それらの業者ごとに専用のサブドメインを払い出して、本来の業務用のドメインと切り離して管理するという方法もあります。業者が既にSPFレコードを公開していれば、includeを利用してそのレコードを利用できます。ただし、includeする場合、参照先のSPFレコードに記述ミスがあったり、includeや、redirectで、参照元を相互参照していたりしないか十分に確認した上で行います。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 ip4:10.0.3.0 ip4:10.0.3.1 ip4:10.0.3.2 -all&quot;
announce.example.org. IN TXT &quot;v=spf1 ip4:10.1.4.0 ip4:10.1.4.1 -all&quot;
campaign.example.org. IN TXT &quot;v=spf1 include:example.net -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 8: redirectを利用してマルチドメイン環境での記述を簡略化する</span><br />
1つの企業でも複数のドメインを利用している場合や、複数のドメインのメールで1つのメールシステムを共有する場合には、redirectを利用して共有化を図ることで、メンテナンスの負荷を軽減し記述ミスを防ぐことが考えられます。ただし、参照先が必ず存在するように注意し、また、相互に参照して参照のループを起こすことのないように、参照先のレコードではincludeやredirectを利用しないようにします。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 ip4:10.0.3.0 ip4:10.0.3.1 ip4:10.0.3.2 -all&quot;
example.net. IN TXT &quot;v=spf1 redirect=example.org&quot;
example.com. IN TXT &quot;v=spf1 redirect=example.org&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 9: 大きなレコードを複数の文字列で記述する</span><br />
通信事業者や大きな組織ではメールサーバの数が多く、SPFのレコードのサイズが大きくなる可能性があります。SPFのRFCにおいて、1つのTXTレコードでは複数の文字列を含むことが可能であり、1つの文字列の最大長は255バイトであると説明されています。1つのTXTが複数の文字列で構成されている場合には、認証を実施する受信側では、その文字列はすべてつなぎ合わせして1つの文字列として評価します。ただ、複数の文字列を1つの文字列に連結するときに、つなぎ目に空白文字は挿入されないので注意が必要です。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 ip4:10.0.3.0 ip4:10.0.3.1 ip4:10.0.3.2&quot; &quot; ip4:10.0.3.3 ip4:10.0.3.4
ip4:10.0.3.5&quot; &quot; include:example.net -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 10: 大きなレコードをサブドメインを利用して記述する</span><br />
RFCでは、連結した後の1つのレコードが450バイト以下であることが目安とされています。DNSのクエリに対するレスポンスが全体で512バイト以下でないとDNSのクライアントが無視する可能性があるからです。450バイトを超えるような長いレコードを記述するのはあまり勧められませんが、どうしても必要な場合は、サブドメインを定義してそれらにレコードを分割して記述した上で、それらをincludeするような対応が必要です。繰り返しますが、相互参照やループの発生を防ぐため、include文を利用する場合、参照先ではなるべくinclude文やredirect文を利用しないようにします。</p>
<pre class="brush: plain; title: ; notranslate">
example.org. IN TXT &quot;v=spf1 include:_spf-a.example.com include:_spf-b.example.com
include:_spf-c.example.com -all&quot;
_spf-a.example.org. IN TXT &quot;v=spf1 ip4:10.0.3.0 ip4:10.0.3.1 ip4:10.0.3.2 ip4:10.0.3.3 -all&quot;
_spf-b.example.org. IN TXT &quot;v=spf1 ip4:10.0.5.0 ip4:10.0.5.1 ip4: 10.0.5.2 ip4: 10.0.5.3 -all&quot;
_spf-c.example.org. IN TXT &quot;v=spf1 ip4:10.0.7.0 ip4: 10.0.7.1 ip4: 10.0.7.2 ip4: 10.0.7.3 -all&quot;
</pre>
<h4>2 SPFレコードの間違い例</h4>
<p>文法的に間違ったSPFレコードを公開すると、受信側ではpermerrorと扱われ、せっかく公開しても正しく扱われないことになってしまうばかりでなく、受信側で認証をpassしたメール以外受信しないようなサービスを提供していた場合、メールが届かなくなる可能性があります。<br />
ここでは以下に間違えやすい例を示しますので、これらを参考に誤った記述が少なくなることを期待します。<br />
<span style="text-decoration: underline;">Sample 1: バージョンの間違い(その1）</span><br />
&#8220;v=spf1.0&#8243; は間違っており、&#8221;v=spf1&#8243; でなければなりません。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf1.0 include:example-example.org -all&quot;
(正)
example.org. IN TXT &quot;v=spf1 include:example-example.org -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 2: バージョンの間違い(その2)</span><br />
SPFv2のレコードを公開する場合、SPFv1での記述方法や、&#8221;v=spf2.0/pra&#8221;という記述方法は間違っており、&#8221;spf2.0/pra&#8221;でなければなりません。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf2.0/pra include:example-example.org -all&quot;
(正)
example.org. IN TXT &quot;spf2.0/pra include:example-example.org -all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 3: 機構が省略されている</span><br />
誤り例では、機構が省略されている上に、ドメイン名がFQDNではないため、エラーとなってしまいます。+a:ホスト名(FQDN)と記述することが必要です。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf1 mx nm nm1 ~all&quot;
(正)
example.org. IN TXT &quot;v=spf1 mx a:nm.example.org a:nm1.example.org ~all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 4: 1つのドメインに対して複数のSPF1レコードを公開している</span><br />
1つのドメインに対しては1つのSPF1レコードだけ公開可能です。複数公開するとエラーになります。ただし、SPF2のレコードとSPF1のレコードを1つずつ同時に公開することはできます。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0 ip4: 10.0.3.1 ~all&quot;
example.org. IN TXT &quot;v=spf1 a:mx01.example.org ~all&quot;
example.org. IN TXT &quot;v=spf1 a:web.example.org ~all&quot;
(正1)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0 ip4: 10.0.3.1 a:mx01.example.com a:web.example.org ~all&quot;
(正2)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0 ip410.0.3.1 a:mx01.example.com a:web.example.org ~all&quot;
example.org. IN TXT &quot;spf2.0 ip4: 10.0.3.0 ip4: 10.0.3.1 a:mx01.example.com a:web.example.org ~all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 5: タイプミス</span><br />
&#8220;ip4:&#8221;を&#8221;ipv4:&#8221;や&#8221;ip:&#8221;などと間違えるケースが非常に多く見受けられます。また、誤7の例のように、SPFレコードを作成するために使ったツールなどが、&#8221;~(チルダ)&#8221;の文字を間違って変換してしまう場合などもあるので、注意が必要です。</p>
<pre class="brush: plain; title: ; notranslate">
(誤1)
example.org. IN TXT &quot;v=spf1 ipv4: 10.0.3.0 mx ~all&quot;
</pre>
<p>“ipv4:“は間違い</p>
<pre class="brush: plain; title: ; notranslate">
(誤2)
example.org. IN TXT &quot;v=spf1 ip: 10.0.3.0 mx ~all&quot;
</pre>
<p>“ip:“は間違い</p>
<pre class="brush: plain; title: ; notranslate">
(誤3)
example.org. IN TXT &quot;v=spf1 ip10.0.3.0 mx ~all&quot;
</pre>
<p>“:“が抜けている</p>
<pre class="brush: plain; title: ; notranslate">
(誤4)
example.org. IN TXT &quot;v=spf1 ip4=10.0.3.0 mx ~all&quot;
</pre>
<p>“:“の代わりに“=“を使っている</p>
<pre class="brush: plain; title: ; notranslate">
(誤5)
example.org. IN TXT &quot;v=v=spf1 ip4: 10.0.3.0 mx ~all&quot;
</pre>
<p>“v=v=“とバージョン記述を間違えている</p>
<pre class="brush: plain; title: ; notranslate">
(誤6)
example.org. IN TXT &quot;v=spf1 ip4&quot;
</pre>
<p>書きかけで終わっている</p>
<pre class="brush: plain; title: ; notranslate">
(誤7)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0 mx ¥150all&quot;
</pre>
<p>“~“が文字化けしている</p>
<pre class="brush: plain; title: ; notranslate">
(正)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0 mx ~all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 6: 空白文字(SP)が抜ける</span><br />
SPFレコードを二重引用符で複数にわけて記述することは可能ですが、その場合には、&#8221;ip4:10.0.3.0/26&#8243; &#8220;ip4:10.5.0.0 ~all&#8221; は&#8221;v=spf1 ip4:10.0.3.0/26 ip4:10.5.0.0 ~all&#8221; という大きな1つのレコードとして扱われることに注意が必要です。&#8221;" でくくられた2つの部分を接続するとき空白文字は補われないため、区切り文字として空白文字が入りません。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0/26&quot;&quot;ip4: 10.0.4.0 ~all&quot;
(正)
example.org. IN TXT &quot;v=spf1 ip4: 10.0.3.0/26 ip4: 10.0.4.0 ~all&quot;
</pre>
<p><span style="text-decoration: underline;">Sample 7: redirect やinclude の先がない</span><br />
includeしている先のドメインのSPFレコードが存在しないとエラーになります。誤り例では、_spf.example.orgのレコードが存在していないためエラーになります。公開当初は存在していたものの、その後のDNSレコードの整理などでの変更を反映していないことなどが原因として考えられます。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf1 include:_spf.example.org ~all&quot;
* Can't find _spf.exmaple.org: Non-exisitent domain
</pre>
<p><span style="text-decoration: underline;">Sample 8: redirect やinclude のループ(相互参照)</span><br />
include している先のドメインのSPFレコードで、元となるドメインをincludeしてしまい、相互参照が起こるとエラーになります。誤り例では、example.orgと_spf.example.orgがお互いに相手を参照しあっておりエラーになります。</p>
<pre class="brush: plain; title: ; notranslate">
(誤)
example.org. IN TXT &quot;v=spf1 include:_spf.example.org ~all&quot;
_spf.example.org. IN TXT &quot;v=spf1 include:example.org ~all&quot;
</pre>
<h4>3 SPFレコードの確認方法の例</h4>
<p>現行の送信ドメイン認証技術は、認証情報及びポリシーの公開のためにDNS上にTXTレコードを公開する手法が一般的であるため、これを調査することにより、任意のドメインが送信ドメイン認証技術に対応しているか、ある程度調べることもできます。<br />
以下では、例として、UNIXのhostコマンドのTXTレコードオプションを利用していますが、同様のクエリが発行できれば問題ありません。このような操作を行うことにより、有効なレスポンスがあるかどうかでレコードの有無を判断できます。<br />
<em>SPFレコード</em></p>
<pre class="brush: plain; title: ; notranslate">
$ host -t txt example.com
example.com descriptive text &quot;v=spf1 include:spf.example.com -all&quot;
</pre>
<p><em>SenderID レコード</em></p>
<pre class="brush: plain; title: ; notranslate">
$ host -t txt example.com
example.com descriptive text &quot;spf2.0/mfrom,pra +mx +ip4:192.168.0.100 -all&quot;
</pre>
<script type="text/javascript">
	document.open();
	document.write('<h3>DNS &amp; BIND 第5版</h3><div class="vc-itempic" style="background: transparent url(\'http://ecx.images-amazon.com/images/I/51i9iSpSw9L._SL160_.jpg\') no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><a href="http://www.amazon.co.jp/DNS-BIND-%E7%AC%AC5%E7%89%88-Cricket-Liu/dp/4873113903%3FSubscriptionId%3DAKIAITFCX36ETVEPRR3Q%26tag%3Dqazqaznet-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4873113903" target="_blank"><img src="http://qazqaz.net/wp-content/plugins/vc-search/c_img/spacer.gif" class="vc-line-height" alt="" /></a></div>参考価格：<span class="vc-price">5,040円</span><br />...<br /><br /><a href="http://www.amazon.co.jp/DNS-BIND-%E7%AC%AC5%E7%89%88-Cricket-Liu/dp/4873113903%3FSubscriptionId%3DAKIAITFCX36ETVEPRR3Q%26tag%3Dqazqaznet-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4873113903" target="_blank">この商品の詳細はこちら</a><br /><img src="http://favicon.hatena.ne.jp/?url=http%3A%2F%2Fwww.amazon.co.jp%2F" />Amazon.co.jp<div class="vc-pic">&nbsp;</div>');
	document.close();
	</script><p><a href="http://qazqaz.net/43?pagetype=amazon_vc&keyword=dns spf bind&category=All&sort_type=0">＞ 他のショップでも探す</a></p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/49/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/49" />
	</item>
		<item>
		<title>whichコマンド</title>
		<link>http://qazqaz.net/archives/41</link>
		<comments>http://qazqaz.net/archives/41#comments</comments>
		<pubDate>Tue, 24 May 2011 16:44:41 +0000</pubDate>
		<dc:creator>shin</dc:creator>
				<category><![CDATA[linux関連]]></category>
		<category><![CDATA[coreserver]]></category>
		<category><![CDATA[コマンド]]></category>

		<guid isPermaLink="false">http://qazqaz.net/?p=41</guid>
		<description><![CDATA[コマンド名のリストを受け取り、対応する実行形式ファイルのパスを返す。 オプションは以下の通り。 -a : (最初に見つけたものだけでなく)みつけたすべての実行形式を表示する。 -s : 実行形式が見つかれば 0 を返し、 [...]]]></description>
			<content:encoded><![CDATA[
<p>コマンド名のリストを受け取り、対応する実行形式ファイルのパスを返す。</p>
<p>オプションは以下の通り。</p>
<ul>
<li> -a : (最初に見つけたものだけでなく)みつけたすべての実行形式を表示する。</li>
<li> -s : 実行形式が見つかれば 0 を返し、見つからなければ 1 を返す。</li>
</ul>
<p>実行例は以下の通り</p>
<pre class="brush: plain; title: ; notranslate">
# which vi
/usr/bin/vi
# which ls pwd cd    // 複数のコマンドの実行形式ファイルを探す
/bin/ls
/bin/pwd
/usr/bin/cd
</pre>
<p>「-a」オプションの実行例</p>
<pre class="brush: plain; title: ; notranslate">
# sudo touch /usr/bin/sample
# sudo chmod 755 /usr/bin/sample
# sudo touch /usr/local/bin/sample
# sudo chmod 755 /usr/local/bin/sample
# which sample         // 最初に見つかった実行形式ファイルのみ表示される
/usr/bin/sample
# which -a sample      // 見つかったすべての実行形式ファイルが表示される
/usr/bin/sample
/usr/local/bin/sample
</pre>
<script type="text/javascript">
	document.open();
	document.write('<h3>基本からわかる　ＵＮＩＸ／Ｌｉｎｕｘコマンドの使い方</h3><div class="vc-itempic" style="background: transparent url(\'http://ecx.images-amazon.com/images/I/51Jmrq29%2B8L._SL160_.jpg\') no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><a href="http://www.amazon.co.jp/%E5%9F%BA%E6%9C%AC%E3%81%8B%E3%82%89%E3%82%8F%E3%81%8B%E3%82%8B-%EF%BC%B5%EF%BC%AE%EF%BC%A9%EF%BC%B8%EF%BC%8F%EF%BC%AC%EF%BD%89%EF%BD%8E%EF%BD%95%EF%BD%98%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9-%E9%AB%98%E5%8E%9F-%E5%88%A9%E4%B9%8B/dp/4534047312%3FSubscriptionId%3DAKIAITFCX36ETVEPRR3Q%26tag%3Dqazqaznet-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4534047312" target="_blank"><img src="http://qazqaz.net/wp-content/plugins/vc-search/c_img/spacer.gif" class="vc-line-height" alt="" /></a></div>参考価格：<span class="vc-price">2,835円</span><br />...<br /><br /><a href="http://www.amazon.co.jp/%E5%9F%BA%E6%9C%AC%E3%81%8B%E3%82%89%E3%82%8F%E3%81%8B%E3%82%8B-%EF%BC%B5%EF%BC%AE%EF%BC%A9%EF%BC%B8%EF%BC%8F%EF%BC%AC%EF%BD%89%EF%BD%8E%EF%BD%95%EF%BD%98%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9-%E9%AB%98%E5%8E%9F-%E5%88%A9%E4%B9%8B/dp/4534047312%3FSubscriptionId%3DAKIAITFCX36ETVEPRR3Q%26tag%3Dqazqaznet-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4534047312" target="_blank">この商品の詳細はこちら</a><br /><img src="http://favicon.hatena.ne.jp/?url=http%3A%2F%2Fwww.amazon.co.jp%2F" />Amazon.co.jp<div class="vc-pic">&nbsp;</div>');
	document.close();
	</script><p><a href="http://qazqaz.net/43?pagetype=amazon_vc&keyword=linux コマンド&category=All&sort_type=0">＞ 他のショップでも探す</a></p>
]]></content:encoded>
			<wfw:commentRss>http://qazqaz.net/archives/41/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://qazqaz.net/archives/41" />
	</item>
	</channel>
</rss>

