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

<channel>
	<title>WebClip &#8211; Mach3.laBlog</title>
	<atom:link href="https://blog.mach3.jp/tag/webclip/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.mach3.jp</link>
	<description></description>
	<lastBuildDate>Thu, 27 May 2010 23:20:00 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>&#034;MOMENTOS&#034; と素敵なショートフィルム on Vimeo</title>
		<link>https://blog.mach3.jp/2010/05/27/momentos-on-vimeo.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Thu, 27 May 2010 23:20:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Vimeo]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/05/27/momentos-%e3%81%a8%e7%b4%a0%e6%95%b5%e3%81%aa%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%95%e3%82%a3%e3%83%ab%e3%83%a0-on-vimeo.html</guid>

					<description><![CDATA[今日出会った素敵な映像。 一切台詞がないけれどメッセージがずっしりと届きます。 MOMENTOS from Nuno Rocha on Vimeo. ホームレスの男が路上で寝ていると、 目の前のショーケースにディスプレイ [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>今日出会った素敵な映像。<br />
一切台詞がないけれどメッセージがずっしりと届きます。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh4.ggpht.com/_JJkNs5Ixl70/S_5_KByxqKI/AAAAAAAAA7A/cYq7raC0SH8/s800/201005272311.png" alt="MOMENTOS"/></figure>



<p></p>



<span id="more-31"></span>



<p><iframe src="//player.vimeo.com/video/17896628" width="597" height="336" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe></p>



<p><a href="http://vimeo.com/17896628">MOMENTOS</a> from <a href="http://vimeo.com/nunorocha">Nuno Rocha</a> on <a href="https://vimeo.com">Vimeo</a>.</p>



<p>ホームレスの男が路上で寝ていると、<br />
目の前のショーケースにディスプレイが運ばれてきて…</p>



<p>心温まるストーリーです。イイハナシダナー。<br />
私は皆のガッツポーズにヤラれます。</p>



<p>同じ作者さんのをもう一本。</p>



<p><iframe src="http://player.vimeo.com/video/6761817?portrait=0&amp;color=59a5d1" width="598" height="299" frameborder="0"></iframe></p>



<p>こっちはユーモラスな作品。<br />
おもわずニヤリとしてしまいますね。<br />
この後二人の勝負の行方はどうなったのか妄想しちゃいます。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>HTML5の新機能が使用可能かどうかを判別するJSコード一覧</title>
		<link>https://blog.mach3.jp/2010/05/20/js-detect-html5elements.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Thu, 20 May 2010 20:51:00 +0000</pubDate>
				<category><![CDATA[Laboratory]]></category>
		<category><![CDATA[WebClip]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/05/20/html5%e3%81%ae%e6%96%b0%e6%a9%9f%e8%83%bd%e3%81%8c%e4%bd%bf%e7%94%a8%e5%8f%af%e8%83%bd%e3%81%8b%e3%81%a9%e3%81%86%e3%81%8b%e3%82%92%e5%88%a4%e5%88%a5%e3%81%99%e3%82%8bjs%e3%82%b3%e3%83%bc%e3%83%89.html</guid>

					<description><![CDATA[HTML5で色々と新機能が登場しましたが、ブラウザの対応状況は未だまちまちです。 こちらのサイトでは、ブラウザが対応しているかを判別する為のJSコードを一覧にしてくれています。 The All-In-One Almost [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>HTML5で色々と新機能が登場しましたが、ブラウザの対応状況は未だまちまちです。<br />
こちらのサイトでは、ブラウザが対応しているかを判別する為のJSコードを一覧にしてくれています。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh6.ggpht.com/_JJkNs5Ixl70/S_UiJXNHhZI/AAAAAAAAA6U/_wrjwErHo34/s800/201005202049.png" alt="Dive Into HTML5"/></figure>



<p></p>



<span id="more-34"></span>



<p><a href="http://diveintohtml5.org/everything.html">The All-In-One Almost-Alphabetical No-Bullshit Guide to Detecting Everything &#8211; Dive Into HTML5</a></p>



<p>軽く抜粋してみます。</p>



<h3 class="wp-block-heading">audio</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> !!<span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'audio'</span>).canPlayType;
</code></span></pre>


<h3 class="wp-block-heading">video</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> !!<span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'video'</span>).canPlayType;
</code></span></pre>


<h3 class="wp-block-heading">canvas</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> !!<span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'canvas'</span>).getContext;
</code></span></pre>


<h3 class="wp-block-heading">SVG</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> !!(<span class="hljs-built_in">document</span>.createElementNS &amp;&amp; <span class="hljs-built_in">document</span>.createElementNS(<span class="hljs-string">'http://www.w3.org/2000/svg'</span>, <span class="hljs-string">'svg'</span>).createSVGRect);
</code></span></pre>


<h3 class="wp-block-heading">contentEditable</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> <span class="hljs-string">'isContentEditable'</span> <span class="hljs-keyword">in</span> <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'span'</span>);
</code></span></pre>


<h3 class="wp-block-heading">Drag-anddrop</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> <span class="hljs-string">'draggable'</span> <span class="hljs-keyword">in</span> <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'span'</span>);
</code></span></pre>


<h3 class="wp-block-heading">localStorage</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> (<span class="hljs-string">'localStorage'</span> <span class="hljs-keyword">in</span> <span class="hljs-built_in">window</span>) &amp;&amp; <span class="hljs-built_in">window</span>&#91;<span class="hljs-string">'localStorage'</span>] !== <span class="hljs-literal">null</span>;
</code></span></pre>


<h3 class="wp-block-heading">Web SQL Database</h3>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">return</span> !!<span class="hljs-built_in">window</span>.openDatabase;
</code></span></pre>


<p>こんな感じのシンプルな判別式が57個も掲載されています。<br />
（数え間違えでなければ）<br />
尚、それぞれの見出しは該当する要素のドキュメントに飛ばしてくれます。</p>



<p>ブラウザの対応が安定した物になるには、まだまだ時間が必要。<br />
しばらく判別式にお世話になると思われますので、<br />
こういったリストの存在は大変ありがたいですね。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>コーディング時に便利なCSS3のチートシート</title>
		<link>https://blog.mach3.jp/2010/05/19/css3-cheetsheet.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Wed, 19 May 2010 20:47:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[CheetSheet]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/05/19/%e3%82%b3%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e6%99%82%e3%81%ab%e4%be%bf%e5%88%a9%e3%81%aacss3%e3%81%ae%e3%83%81%e3%83%bc%e3%83%88%e3%82%b7%e3%83%bc%e3%83%88.html</guid>

					<description><![CDATA[CSS3の書式を覚えるのは大変。 覚えるのが大変な物にはやっぱりチートシートですね。 SmashingMagazineから、CSS3のチートシートがPDFで公開されています。 CSS 2.1 and CSS 3 Help [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>CSS3の書式を覚えるのは大変。<br />
覚えるのが大変な物にはやっぱりチートシートですね。<br />
<a href="http://www.smashingmagazine.com/">SmashingMagazine</a>から、CSS3のチートシートがPDFで公開されています。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh3.ggpht.com/_JJkNs5Ixl70/S_PPKrgJC_I/AAAAAAAAA6E/3elwDXV9HeU/s800/201005192035.png" alt="CSS3 Cheet Sheet"/></figure>



<p></p>



<span id="more-35"></span>



<p><a href="http://www.smashingmagazine.com/2010/05/13/css-2-1-and-css-3-help-cheat-sheets-pdf/">CSS 2.1 and CSS 3 Help Cheat Sheets (PDF) &#8211; Smashing Magazine</a></p>



<figure class="wp-block-image"><img decoding="async" src="http://lh4.ggpht.com/_JJkNs5Ixl70/S_PPK1kdg7I/AAAAAAAAA6I/KSGbVbh8iAc/s800/201005192036.png" alt="CSS 2.1 and CSS 3 Help Cheat Sheets (PDF) - Smashing Magazine"/></figure>



<p></p>



<p>こんな感じにデザインされています。<br />
いつぞや紹介した<a href="/2010/05/vi.html">VIエディタのチートシート</a>と同じデザイナーさんが手がけています。<br />
テイストが同じですね。</p>



<p>新しく追加されているプロパティについては<br />
現状ではまだブラウザ独自の書式を使わざるをえませんが、<br />
そこらへんも考慮して、各ブラウザの記法とスタンダードの記法を明記してあります。<br />
これは助かりますね。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh6.ggpht.com/_JJkNs5Ixl70/S_PPLB3-C-I/AAAAAAAAA6M/9ngW7EV4FNQ/s800/201005192042.png" alt="独自プロパティも記載"/></figure>



<p></p>



<p>CSS3だけでなく、CSS2のチートシートのリンクも掲載されているので、<br />
そちらも大いに活用できそうです。</p>



<p><a href="http://www.smashingmagazine.com/2010/05/13/css-2-1-and-css-3-help-cheat-sheets-pdf/">CSS 2.1 and CSS 3 Help Cheat Sheets (PDF) &#8211; Smashing Magazine</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>クレイジーでハイテンションな「Television is a drag」 on Vimeo</title>
		<link>https://blog.mach3.jp/2010/05/10/television-is-a-drag.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Mon, 10 May 2010 22:43:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Vimeo]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/05/10/%e3%82%af%e3%83%ac%e3%82%a4%e3%82%b8%e3%83%bc%e3%81%a7%e3%83%8f%e3%82%a4%e3%83%86%e3%83%b3%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%aa%e3%80%8ctelevision-is-a-drag%e3%80%8d-on-vimeo.html</guid>

					<description><![CDATA[今日思わず噴出してしまった動画。 「テレビはドラッグだ」とのことですが… Television is a drug. on Vimeo クレイジーなハイテンションぶりに爆笑してしまいました！ 見て！ぼくを見て！なに！？メ [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>今日思わず噴出してしまった動画。<br />
「テレビはドラッグだ」とのことですが…</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh6.ggpht.com/_JJkNs5Ixl70/S-gMAYdAI6I/AAAAAAAAA5I/M6978S99Njw/s800/201005102231.png" alt="Look at Me!"/></figure>



<p></p>



<span id="more-40"></span>



<p><a href="http://vimeo.com/10857606">Television is a drug. on Vimeo</a></p>



<p><iframe src="http://player.vimeo.com/video/10857606?portrait=0&amp;color=59a5d1" width="598" height="449" frameborder="0"></iframe></p>



<p>クレイジーなハイテンションぶりに爆笑してしまいました！</p>



<p>見て！ぼくを見て！なに！？メシ！？なにか食うの？？<br />
え？寝るの？いいよ！いいとも！戻ってきたら見てね！OK！？</p>



<p>テレビをあまり見ない生活を送っているのでわかりませんが、<br />
依存してる人はこんな感じ…なわけないか。どうなんでしょう。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>jQuery1.4の新機能を紹介するプレゼンテーションスライド</title>
		<link>https://blog.mach3.jp/2010/05/08/jquery-presentation-slide.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Sat, 08 May 2010 11:37:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/05/08/jquery1-4%e3%81%ae%e6%96%b0%e6%a9%9f%e8%83%bd%e3%82%92%e7%b4%b9%e4%bb%8b%e3%81%99%e3%82%8b%e3%83%97%e3%83%ac%e3%82%bc%e3%83%b3%e3%83%86%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%b9%e3%83%a9%e3%82%a4.html</guid>

					<description><![CDATA[この記事の情報は古くなっています。 jQuery現行バージョンのドキュメントをご参照ください。 jQuery1.4の新機能を実例を盛り込みながら紹介するスライドを、 HTML5によるHTML5のプレゼンテーションスライド [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="caution">
    この記事の情報は古くなっています。<br />
    jQuery現行バージョンのドキュメントをご参照ください。
</p>



<p>jQuery1.4の新機能を実例を盛り込みながら紹介するスライドを、<br />
<a href="https://blog.mach3.jp/2010/04/html5html5.html">HTML5によるHTML5のプレゼンテーションスライド</a><br />
のスライドを制作したMatt Nowackさんが公開しています。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh5.ggpht.com/_JJkNs5Ixl70/S-TN7Ek835I/AAAAAAAAA4g/oN49lxbL9WA/s800/201005081039.png" alt="jQuery 1.4: What you need to know"/></figure>



<p></p>



<span id="more-41"></span>



<p><a href="http://ihumanable.com/jquery/presentation.html">jQuery 1.4: What you need to know</a></p>



<figure class="wp-block-image"><a href="http://ihumanable.com/jquery/presentation.html"><img decoding="async" src="http://lh3.ggpht.com/_JJkNs5Ixl70/S-TN_MsyVrI/AAAAAAAAA4o/4co6GYOPEU0/s800/201005081040.png" alt="jQuery 1.4: What you need to know"/></a></figure>



<p></p>



<p>スライドの内容は、jQueryの概要から始まり、<br />
1.4で追加された新要素へシフトしていきます。<br />
コードと実例を元に紹介してくれているので、大変分かりやすいです。</p>



<p>1.4になって知らない機能が出てきてしまった方は<br />
是非一度流し見してみると良いかもしれません。</p>



<p>目についた機能を軽く紹介してみます。</p>



<h2 class="wp-block-heading">新しいエレメント追加法</h2>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">var</span> div = $(<span class="hljs-string">'&lt;div /&gt;'</span>, {
    <span class="hljs-attr">id</span>: <span class="hljs-string">'example'</span>,
    <span class="hljs-attr">css</span>: {
        <span class="hljs-attr">height</span>: <span class="hljs-string">'100px'</span>,
        <span class="hljs-attr">width</span>:  <span class="hljs-string">'100px'</span>,
        <span class="hljs-attr">color</span>:  <span class="hljs-string">'blue'</span>,
        <span class="hljs-attr">backgroundColor</span>: <span class="hljs-string">'green'</span>
    },
    <span class="hljs-attr">click</span>: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>) </span>{
        $(<span class="hljs-keyword">this</span>).css(<span class="hljs-string">'backgroundColor'</span>, <span class="hljs-string">'red'</span>);
    }
});
</code></span></pre>


<p>この書き方は知らなかったーっ！<br />
属性もCSSもイベントもまとめて指定できるんですね。<br />
これは楽！そしてソースが綺麗になる！<br />
&#8220;less write, do more&#8221;がさらに進みそうですね。</p>



<h2 class="wp-block-heading">$.liveを使ったイベントハンドリング</h2>



<p class="caution">
    現在 jQuery.fn.live は削除されています。
</p>



<p>$.live()は1.3から追加されていましたが、<br />
$.bind()とどう違うのか、私はよく分かっておりませんでした。</p>



<p>例えば、$.bind()を使った次のコードは予想通りに動きません。<br />
$.bind()はDOMに生成された後でないとイベントハンドラを付加出来ない為です。</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">$(<span class="hljs-string">"input.mybutton"</span>).bind(<span class="hljs-string">"click"</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>)</span>{
    alert(<span class="hljs-string">"Clicked !"</span>);
});

$(<span class="hljs-string">"&lt;input /&gt;"</span>,{
    <span class="hljs-string">"class"</span>:<span class="hljs-string">"mybutton"</span>,
    <span class="hljs-attr">type</span>:<span class="hljs-string">"button"</span>,
    <span class="hljs-attr">value</span>:<span class="hljs-string">"click me !"</span>
}).appendTo(<span class="hljs-string">"body"</span>);
</code></span></pre>


<p>ここで、$.bind()ではなく$.live()を使う事で上手く動くようになります。</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">$(<span class="hljs-string">"input.mybutton"</span>).live(<span class="hljs-string">"click"</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>)</span>{
    alert(<span class="hljs-string">"Clicked !"</span>);
});
</code></span></pre>


<h3 class="wp-block-heading"><a href="http://api.jquery.com/live/">.live() – jQuery API</a></h3>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Attach a handler to the event for all elements which match the current selector, now or in the future.</p>
</blockquote>



<p>DOMに存在する要素でないと働かないbindと異なり、<br />
宣言以降に追加された要素に対してもイベントハンドラを設定出来るというわけですね。<br />
これは便利だ！</p>



<p><a href="https://blog.mach3.jp/2010/04/jqueryproxy.html">jQuery.proxyの件</a>といい、<br />
私はどちらかというと取扱説明書を読まずに物を使うタイプなので、<br />
色々取りこぼしがあります…。<br />
新しくなったら軽くドキュメントに目を通すと良いのかも知れませんね。</p>



<p>cf) <a href="http://ajaxian.com/archives/jquery-1-4-presentation-using-ernests-html5-open-source-presentation-app">Ajaxian » jQuery 1.4 presentation, using Ernest’s HTML5 open source presentation app</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>サーバ管理のお手元に～VIエディタのチートシート</title>
		<link>https://blog.mach3.jp/2010/05/06/vi-cheetsheet.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Thu, 06 May 2010 01:36:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[CheetSheet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[VI]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/05/06/%e3%82%b5%e3%83%bc%e3%83%90%e7%ae%a1%e7%90%86%e3%81%ae%e3%81%8a%e6%89%8b%e5%85%83%e3%81%ab%ef%bd%9evi%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%e3%81%ae%e3%83%81%e3%83%bc%e3%83%88%e3%82%b7%e3%83%bc%e3%83%88.html</guid>

					<description><![CDATA[VIエディタと言えばサーバ管理者やLinuxユーザーにとっては手放せない存在。 そんなVIエディタのコマンドチートシートがSmashing Magazineで、配布されていました。 VI Editor / Linux T [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>VIエディタと言えばサーバ管理者やLinuxユーザーにとっては手放せない存在。<br />
そんなVIエディタのコマンドチートシートが<a href="http://www.smashingmagazine.com/">Smashing Magazine</a>で、配布されていました。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh5.ggpht.com/_JJkNs5Ixl70/S-Gd3vmdWsI/AAAAAAAAA4U/nwmHeeNVY28/s800/201005060119.png" alt="VIエディタのコマンドチートシート"/></figure>



<p></p>



<span id="more-42"></span>



<p><a href="http://www.smashingmagazine.com/2010/05/03/vi-editor-linux-terminal-cheat-sheet-pdf/">VI Editor / Linux Terminal Cheat Sheet (PDF) &#8211; Smashing Magazine</a></p>



<figure class="wp-block-image"><img decoding="async" src="http://lh5.ggpht.com/_JJkNs5Ixl70/S-Gd39YA-jI/AAAAAAAAA4Y/0_8GgwB__JQ/s800/201005060121.png" alt="VI Editor / Linux Terminal Cheat Sheet"/></figure>



<p></p>



<p>こんなかんじに綺麗にまとめられています。<br />
リンク先ではPDFにてダウンロード出来るので、印刷して目につくところに貼っておくと便利。<br />
私も本当に限られた機能しか使っていなかったので、重宝しそうです。</p>



<p>VIのチートシートとしては、このグラフィカルなやつも結構有名ですね。</p>



<p><a href="http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html">Graphical vi-vim Cheat Sheet and Tutorial</a></p>



<figure class="wp-block-image"><img decoding="async" src="http://lh4.ggpht.com/_JJkNs5Ixl70/S-Gd4K6aQXI/AAAAAAAAA4c/YUzxskcR1qM/s800/201005060126.png" alt="Graphical vi-vim Cheat Sheet and Tutorial"/></figure>



<p></p>



<p>これはデスクトップの壁紙にして使えそう。</p>



<p>この手のチートシートで日本語で書かれたものはあまり見かけないですが、<br />
必要とする人の多くが英語で十分だと感じているからでしょうか。<br />
それとも面倒だからでしょうか。（まぁもちろん面倒ですが！）</p>



<p>面倒くさがりやの私は感謝の気持ちを胸に、<br />
ありがたく活用させて頂きたく思います。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>キッチンペーパーとシュレッダーの、なんともいえない気分になってくる映像</title>
		<link>https://blog.mach3.jp/2010/04/24/movie-shredder.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Sat, 24 Apr 2010 00:27:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[DailyMotion]]></category>
		<category><![CDATA[Video]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/04/24/%e3%82%ad%e3%83%83%e3%83%81%e3%83%b3%e3%83%9a%e3%83%bc%e3%83%91%e3%83%bc%e3%81%a8%e3%82%b7%e3%83%a5%e3%83%ac%e3%83%83%e3%83%80%e3%83%bc%e3%81%ae%e3%80%81%e3%81%aa%e3%82%93%e3%81%a8%e3%82%82%e3%81%84.html</guid>

					<description><![CDATA[Movie &#8211; today and tomorrow これはシュールです… なんでもない映像なんですが、なんとも言えない気分になってきます。 Movie &#8211; today and tomorrow  [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="http://www.todayandtomorrow.net/2010/04/21/movie/">Movie &#8211; today and tomorrow</a></p>



<p>これはシュールです…<br />
なんでもない映像なんですが、なんとも言えない気分になってきます。</p>



<figure class="wp-block-image"><img decoding="async" src="http://lh4.ggpht.com/_JJkNs5Ixl70/S9G73FNyeYI/AAAAAAAAA20/EFJNPJJHENw/s800/201004240022.png" alt="Movie"/></figure>



<p></p>



<span id="more-48"></span>



<p><a href="http://www.todayandtomorrow.net/2010/04/21/movie/">Movie &#8211; today and tomorrow</a></p>



<p><object width="480" height="360"><param name="movie" value="http://www.dailymotion.com/swf/video/x907ty_movie_creation?additionalInfos=0"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/x907ty_movie_creation?additionalInfos=0" width="480" height="360" allowfullscreen="true" allowscriptaccess="always"></object></p>



<p>ああ、ああああっ　キッチンペーパーがッああああああっ<br />
ああああっシュレッダー詰まッ　ああああもう、あああああ</p>



<p>というなんともやるせない気分になりましたので勢いだけで投稿。</p>



<p>ちなみに、「<a href="http://www.paulinebastard.com/">paulinebastard_artworks</a>」というサイトからの紹介だそうですが、<br />
他にもシュールな映像が色々ありました。言葉ではちょっと説明出来ない感じの。<br />
気になる方はチェックしてみてください。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>&#034;Gravité&#034; on Vimeo</title>
		<link>https://blog.mach3.jp/2010/04/15/gravite-on-vimeo.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 21:27:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Vimeo]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/04/15/gravite-on-vimeo.html</guid>

					<description><![CDATA[Gravité on Vimeo 物を落下させてリズムを刻むアイデアムービー。 お皿が割れる音っていがいと綺麗ですね？ Gravité on Vimeo ふとMoreを見たら閲覧したことのある動画が。 同じ方が作られたん [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="http://vimeo.com/6111739">Gravité on Vimeo</a></p>



<p>物を落下させてリズムを刻むアイデアムービー。<br />
お皿が割れる音っていがいと綺麗ですね？</p>



<figure class="wp-block-image"><img decoding="async" src="http://3.bp.blogspot.com/_JJkNs5Ixl70/S8cF5hKbtnI/AAAAAAAAA1A/B0gmyFUN6aI/s400/201004152116.png" alt="Gravité on Vimeo"/></figure>



<p></p>



<span id="more-57"></span>



<p><br />
<a href="http://vimeo.com/6111739">Gravité on Vimeo</a></p>



<p><iframe loading="lazy" src="http://player.vimeo.com/video/6111739?portrait=0&amp;color=59a5d1" width="598" height="336" frameborder="0"></iframe></p>



<p>ふとMoreを見たら閲覧したことのある動画が。<br />
同じ方が作られたんですね。</p>



<p><a href="http://vimeo.com/5324878">Sonar on Vimeo</a></p>



<p><iframe loading="lazy" src="http://player.vimeo.com/video/5324878?portrait=0&amp;color=59a5d1" width="598" height="336" frameborder="0"></iframe></p>



<p>おもわず涎をたらしながら見てしまった、<br />
魚群探知機をモチーフにしたミュージックムービーです。<br />
コチラで紹介されておりました。</p>



<p><a href="http://blog.9bic.com/category/movie/2010/04/sonar.html">魚群探知機と音楽のコラボレーション「Sonar」&nbsp;|&nbsp;9bic blog</a><br />
ここのチョイスはなかなか好きです。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>CSSのセレクタを点数で理解するTips</title>
		<link>https://blog.mach3.jp/2010/04/15/css-selectors-point-tips.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 20:47:00 +0000</pubDate>
				<category><![CDATA[Laboratory]]></category>
		<category><![CDATA[WebClip]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Video]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/04/15/css%e3%81%ae%e3%82%bb%e3%83%ac%e3%82%af%e3%82%bf%e3%82%92%e7%82%b9%e6%95%b0%e3%81%a7%e7%90%86%e8%a7%a3%e3%81%99%e3%82%8btips.html</guid>

					<description><![CDATA[Quick Tip: Understanding CSS Specificity &#124; Nettuts+ CSSのセレクタがどのように上書きされていくのかを理解する為の、 ポイント制を導入したちょっとしたTipsです。 C [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specificity/">Quick Tip: Understanding CSS Specificity | Nettuts+</a></p>



<p>CSSのセレクタがどのように上書きされていくのかを理解する為の、<br />
ポイント制を導入したちょっとしたTipsです。</p>



<span id="more-59"></span>



<h2 class="wp-block-heading">CSSセレクタの点数計算法</h2>



<p><iframe loading="lazy" width="590" height="443" src="//www.youtube.com/embed/In78mSOHmls?rel=0" frameborder="0" allowfullscreen=""></iframe></p>



<p>（どうでもいいけどタイポ多くてなごみました。）</p>



<p>CSSのセレクタを次のように計算する考え方ですね。</p>



<ul class="wp-block-list">
<li>HTML要素 : 1点</li>



<li>クラス : 10点</li>



<li>ID : 100点</li>
</ul>



<p>引用元の記事から例を拝借しますが、</p>


<pre class="wp-block-code"><span><code class="hljs language-css"><span class="hljs-selector-id">#test</span> { <span class="hljs-attribute">background</span>: red; } <span class="hljs-comment">/* specificity : 100 */</span>
<span class="hljs-selector-class">.item</span> <span class="hljs-selector-tag">p</span> { <span class="hljs-attribute">background</span>: green; } <span class="hljs-comment">/* specificity : 10 + 1 = 11 */</span>
<span class="hljs-selector-tag">p</span> { <span class="hljs-attribute">background</span>: orange; } <span class="hljs-comment">/* specificity : 1  */</span>
<span class="hljs-selector-tag">body</span> <span class="hljs-selector-id">#wrap</span> <span class="hljs-selector-tag">p</span> { <span class="hljs-attribute">background</span>: yellow; } <span class="hljs-comment">/* specificity : 1 + 100 + 1 = 102 */</span>
</code></span></pre>


<p>このように計算して点数が高いほうが適用される（であろう）、というわけです。<br />
それぞれのセレクタがどの程度の影響力を持っているか知っていると<br />
コーディングの助けになりそうですね。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<dl>
<dt>2010/04/20</dt>
<dd>上記のリンク先を読むとかいてありますが、<br />
インライン要素は1000点とされているらしいです。</dd>
</dl>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">他の計算方法</h2>



<p>似たような計算方法で、</p>



<ul class="wp-block-list">
<li>a = もしインライン指定ならば1</li>



<li>b = IDの数</li>



<li>c = 属性セレクタ/クラス/擬似クラスの数</li>



<li>d = HTML要素の数</li>
</ul>



<p>として、</p>



<dl>
<dt>&lt;p style=&#8221;color:#000000;&#8221;&gt;</dt>
<dd>a=1, b=0, c=0, d=0 → 1000</dd>
<dt>&#8220;footer nav li:last-child&#8221;</dt>
<dd>a=0, b=0, c=1, d=3 → 0013</dd>
<dt>&#8220;# sidebar input:not([type=&#8221;submit&#8221;])&#8221;</dt>
<dd>a=0, b=1, c=1, d=1 → 0111</dd>
</dl>



<p>このように点数を作り上げる方法もあるみたいですね。<br />
cf) <a href="http://www.smashingmagazine.com/2010/04/07/css-specificity-and-inheritance/">CSS Specificity And Inheritance &#8211; Smashing Magazine</a></p>



<h2 class="wp-block-heading">余談</h2>



<p>（であろう）とつけておいたのは、<br />
ただ単純に計算式の通りになるというわけではなく、<br />
他の要因も絡んでくるという事。<br />
極端な馬鹿げた例で大変恐縮なのですが</p>


<pre class="wp-block-code"><span><code class="hljs language-css"><span class="hljs-selector-class">.mylink</span> {
    <span class="hljs-attribute">color</span>:red;
}
<span class="hljs-selector-tag">body</span> <span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">div</span> <span class="hljs-selector-tag">ul</span> <span class="hljs-selector-tag">li</span> <span class="hljs-selector-tag">span</span> <span class="hljs-selector-tag">a</span> {
    <span class="hljs-attribute">color</span>: blue;
}
</code></span></pre>


<p>前者はクラスで10点、後者はHTML要素*11=11点。<br />
ですが、リンクの色は赤になります。（本当に馬鹿げた例だ！）</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>よりよいWeb開発者の為の10の習慣</title>
		<link>https://blog.mach3.jp/2010/03/19/10-practices-for-webdev.html</link>
		
		<dc:creator><![CDATA[mach3]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 20:23:00 +0000</pubDate>
				<category><![CDATA[WebClip]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Monologue]]></category>
		<guid isPermaLink="false">http://lab.mach3.jp/2010/03/19/%e3%82%88%e3%82%8a%e3%82%88%e3%81%84web%e9%96%8b%e7%99%ba%e8%80%85%e3%81%ae%e7%82%ba%e3%81%ae10%e3%81%ae%e7%bf%92%e6%85%a3.html</guid>

					<description><![CDATA[Top 10 best practices for front-end web developers フロントエンドのWebデベロッパーの為の10の習慣だそうです。 出来ていない事もあったりするので自分のワークフローを再 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="http://www.catswhocode.com/blog/top-10-best-practices-for-front-end-web-developers">Top 10 best practices for front-end web developers</a></p>



<p>フロントエンドのWebデベロッパーの為の10の習慣だそうです。<br />
出来ていない事もあったりするので自分のワークフローを再確認する意味でも。</p>



<p>以下、日本語による解釈。<br />
和訳というより、超訳、もとい跳訳…？<br />
読んで理解した部分だけかいつまんで書いてます。</p>



<span id="more-96"></span>



<h2 class="wp-block-heading">1. どのDIV要素を閉じているのか記述しておく</h2>



<p>div要素で汚くなったソースを読むのは大変。<br />
どのdiv要素を閉じているのかをコメントしておけば浪費する時間の節約になります。</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"header"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"sub"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"first left"</span>&gt;</span>
    ...
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span><span class="hljs-comment">&lt;!-- #sub.first.left --&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span><span class="hljs-comment">&lt;!-- #header --&gt;</span>
</code></span></pre>


<h2 class="wp-block-heading">2. CSSリセットを使う</h2>



<p>各要素のリセットをしておく事で、<br />
クロスブラウザによるレンダリングの差異を最小限に抑えられ、<br />
CSSを記述する上でも大きな助けになるでしょう。<br />
<a href="http://meyerweb.com/eric/tools/css/reset/index.html">CSS Tools: Reset CSS</a></p>



<h2 class="wp-block-heading">3. @importは使うべからず</h2>



<p>link要素のみで埋め込むのに比べ、はるかに低速になるためです。<br />
<a href="http://www.stevesouders.com/blog/2009/04/09/dont-use-import/">High Performance Web Sites :: don’t use @import</a></p>



<h2 class="wp-block-heading">4. 画像を「Smush」せよ</h2>



<p>最適化されていない画像を使う事は、ビジターの帯域を浪費する原因となります。<br />
<a href="http://developer.yahoo.com/yslow/smushit/">Smush.it<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /></a>で簡単に画像を最適化してくれるので、これを活用するのも良いでしょう。</p>



<h2 class="wp-block-heading">5. HTMLとCSSを混ぜるべからず</h2>



<p>次の例は悪い例です。スタイル要素とHTMLは分離されているべきです。</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"http://www.catswhocode.com"</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"background:#069;padding:3px;font-weight:bold;color:#fff;"</span>&gt;</span>Cats Who Code<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
</code></span></pre>


<h2 class="wp-block-heading">6. HTMLとJavaScriptを混ぜるべからず</h2>



<p>次の例は悪い例です。JavaScriptとHTMLは分離されているべきです。<br />
jQueryなどのフレームワークは、JavaScriptの分離に大きな助けになるでしょう。</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"cwc"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"http://www.catswhocode.com"</span> <span class="hljs-attr">onclick</span>=<span class="hljs-string">"alert('I love this site!');"</span>&gt;</span>Cats Who Code<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
</code></span></pre>


<h2 class="wp-block-heading">7. IEには条件分岐コメントで対処する</h2>



<p>CSSハックは有用な場合もありますが、その多くはバグであり、ValidなCSSではなくなります。<br />
IEに対応させるCSSを書く時は、条件分岐コメントを使いましょう。</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"style.css"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"stylesheet"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text/css"</span> /&gt;</span>
<span class="hljs-comment">&lt;!--&#91;if lte IE 6]&gt;
&lt;link href="ie.css" rel="stylesheet" type="text/css"  /&gt;
&lt;!&#91;endif]--&gt;</span>
</code></span></pre>


<h2 class="wp-block-heading">8. JavaScriptファイルは最後に読み込む</h2>



<p>（昔はhead要素内に記述するのが標準的でしたが）<br />
JavaScriptファイルを読み込むscript要素は&lt;/body&gt;の直前に記述すべきです。</p>



<h2 class="wp-block-heading">9. 要素の意味を考えてマークアップすること</h2>



<p>HTMLは文書構造を記述する為のマークアップ言語です。<br />
その内容に相応しい要素を以て記述しましょう。</p>



<h2 class="wp-block-heading">10. クロスブラウザを実現できるまでテストを重ねる</h2>



<p>普段から複数ブラウザでの動作チェックを怠らないようにする事で、<br />
結果的に効率化を図れるでしょう。</p>



<p>結構徹底出来てないケースもあったりするので、注意をせねば。<br />
1.とかはやっていないな…。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<dl>
<dt>2010/8/30</dt>
<dd>7も違う手法でやってるな…</dd>
</dl>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
