<?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>Thomas Genin</title>
	<atom:link href="http://thomas-genin.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomas-genin.com</link>
	<description>Follow the projects of a young engineer in CS</description>
	<lastBuildDate>Sun, 04 Sep 2011 07:53:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>GhostScript Convert error /undefined in findresource</title>
		<link>http://thomas-genin.com/blog/command-line-2/ghostscript-convert-error-undefined-in-findresource/</link>
		<comments>http://thomas-genin.com/blog/command-line-2/ghostscript-convert-error-undefined-in-findresource/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 07:53:33 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA["undefined in findresource"]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[awesome terminal icon]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[Error: /undefined in findresource]]></category>
		<category><![CDATA[ghostscript]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[install ghostscript php#sclient=psy]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[winform Ghostscript conversion error]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=735</guid>
		<description><![CDATA[At my work I had to correct a bug related to the conversion of a PDF to a jpeg. To do that we use the convert command line tools from ImageMagick. The server which is doing the conversion run an &#8230; <a href="http://thomas-genin.com/blog/command-line-2/ghostscript-convert-error-undefined-in-findresource/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_736" class="wp-caption alignleft" style="width: 66px"><a href="http://thomas-genin.com/blog/command-line-2/ghostscript-convert-error-undefined-in-findresource/attachment/ghost64/" rel="attachment wp-att-736"><img class="size-full wp-image-736" title="Ghostscript Logo" src="http://thomas-genin.com/wp-content/uploads/2011/09/ghost64.gif" alt="Ghostscript Logo" width="56" height="64" /></a><p class="wp-caption-text">Ghostscript Logo</p></div>
<p>At my work I had to correct a bug related to the conversion of a PDF to a jpeg. To do that we use the convert command line tools from <a href="http://www.imagemagick.org/script/convert.php">ImageMagick</a>.</p>
<p>The server which is doing the conversion run an <strong>Ubuntu</strong> with the latest version of the package ghostscript ( 8.71).</p>
<p>Here is the error:</p>
<blockquote><p>11:04 1442 ~/Desktop : convert corrup1.pdf toto.jpg<br />
Error: /undefined in findresource<br />
Operand stack:<br />
&#8211;dict:8/17(L)&#8211; C2_1 1 &#8211;dict:5/5(L)&#8211; &#8211;dict:5/5(L)&#8211; Arial &#8211;dict:9/12(ro)(G)&#8211; &#8211;nostringval&#8211; CIDFontObject &#8211;dict:7/7(L)&#8211; &#8211;dict:7/7(L)&#8211; Adobe-Identity<br />
Execution stack:<br />
%interp_exit .runexec2 &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; 2 %stopped_push &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop &#8211;nostringval&#8211; &#8211;nostringval&#8211; 2 1 1 &#8211;nostringval&#8211; %for_pos_int_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %array_continue &#8211;nostringval&#8211; false 1 %stopped_push &#8211;nostringval&#8211; %loop_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %array_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %loop_continue<br />
Dictionary stack:<br />
&#8211;dict:1161/1684(ro)(G)&#8211; &#8211;dict:1/20(G)&#8211; &#8211;dict:75/200(L)&#8211; &#8211;dict:75/200(L)&#8211; &#8211;dict:108/127(ro)(G)&#8211; &#8211;dict:288/300(ro)(G)&#8211; &#8211;dict:22/25(L)&#8211; &#8211;dict:6/8(L)&#8211; &#8211;dict:26/40(L)&#8211;<br />
Current allocation mode is local<br />
Last OS error: 2<br />
GPL Ghostscript 8.71: Unrecoverable error, exit code 1<br />
convert: Postscript delegate failed `corrup1.pdf&#8217;: No such file or directory @ pdf.c/ReadPDFImage/634.<br />
convert: missing an image filename `toto.jpg&#8217; @ convert.c/ConvertImageCommand/2838.</p></blockquote>
<p>Weird. A google of the <strong>Error: /undefined in findresource</strong> will lead you to <a href="http://bugs.ghostscript.com/show_bug.cgi?id=691345">this bug</a>.<br />
To sum up the installer of ghostscript is fucked up, and no new version of the package is deploy to solve it. Awesome.</p>
<p>ghostscript is not able to find a font ( Adobe-Identity ) and try to find a substitution font ( Arial ) but can&#8217;t find it.<br />
So let&#8217;s correct the configuration manually.</p>
<p>First make sur that you have install the <a href="http://web.nickshanks.com/fonts/microsoft-core-web-fonts">microsoft webfont</a> on your system.</p>
<p>Then we need to edit our cidmap which is the configuration file which tell ghostscript substitution font. Mine looks like after adding the last line:<br />
<strong>/var/lib/defoma/gs.d/dirs/fonts/cidfmap</strong></p>
<blockquote><p>1 /Dotum-Bold &lt;&lt; /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf) /SubfontID 0 /CSI [(Korea1) 0] &gt;&gt; ;<br />
2 /Batang-Regular &lt;&lt; /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts/UnBatang.ttf) /SubfontID 0 /CSI [(Korea1) 0] &gt;&gt; ;<br />
3 /Batang-Bold &lt;&lt; /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts/UnBatangBold.ttf) /SubfontID 0 /CSI [(Korea1) 0] &gt;&gt; ;<br />
4 /Dotum-Regular &lt;&lt; /FileType /TrueType /Path (/usr/share/fonts/truetype/unfonts/UnDotum.ttf) /SubfontID 0 /CSI [(Korea1) 0] &gt;&gt; ;<br />
<strong>5 /Arial &lt;&lt; /FileType /TrueType /Path (/usr/share/fonts/truetype/msttcorefonts/arial.ttf) /SubfontID 0 /CSI [(Artifex) (Unicode) 0] &gt;&gt; ;<strong> </strong></strong></p></blockquote>
<p>Make sur to use the correct path for the arial.ttf file.</p>
<p>Doing that produce a second error:</p>
<blockquote><p>1:16 1442 ~/Desktop : convert corrup1.pdf toto.jpg<br />
Can&#8217;t find CMap Identity-UTF16-H building a CIDDecoding resource.<br />
Error: /undefinedresource in findresource<br />
Operand stack:<br />
&#8211;dict:8/17(L)&#8211; C2_1 1 &#8211;dict:5/5(L)&#8211; &#8211;dict:5/5(L)&#8211; Arial &#8211;dict:9/12(ro)(G)&#8211; &#8211;nostringval&#8211; CIDFontObject &#8211;dict:7/7(L)&#8211; &#8211;dict:7/7(L)&#8211; Arial CIDFont true Arial false Arial &#8211;dict:23/26(G)&#8211; Unicode.Unicode CIDDecoding true Unicode.Unicode &#8211;dict:28/48(ro)(G)&#8211; Identity-UTF16-H<br />
Execution stack:<br />
%interp_exit .runexec2 &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; 2 %stopped_push &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop &#8211;nostringval&#8211; &#8211;nostringval&#8211; 2 1 1 &#8211;nostringval&#8211; %for_pos_int_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %array_continue &#8211;nostringval&#8211; false 1 %stopped_push &#8211;nostringval&#8211; %loop_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %array_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %loop_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; 1829 13 9 %oparray_pop findresource %errorexec_pop &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %loop_continue &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; 1829 20 10 %oparray_pop findresource %errorexec_pop &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; &#8211;nostringval&#8211; %array_continue &#8211;nostringval&#8211;<br />
Dictionary stack:<br />
&#8211;dict:1161/1684(ro)(G)&#8211; &#8211;dict:1/20(G)&#8211; &#8211;dict:75/200(L)&#8211; &#8211;dict:75/200(L)&#8211; &#8211;dict:108/127(ro)(G)&#8211; &#8211;dict:288/300(ro)(G)&#8211; &#8211;dict:22/25(L)&#8211; &#8211;dict:6/8(L)&#8211; &#8211;dict:26/40(L)&#8211; &#8211;dict:20/26(ro)(G)&#8211; &#8211;dict:18/25(ro)(G)&#8211; &#8211;dict:16/25(ro)(G)&#8211;<br />
Current allocation mode is global<br />
Last OS error: 2<br />
GPL Ghostscript 8.71: Unrecoverable error, exit code 1<br />
convert: Postscript delegate failed `corrup1.pdf&#8217;: No such file or directory @ pdf.c/ReadPDFImage/634.<br />
convert: missing an image filename `toto.jpg&#8217; @ convert.c/ConvertImageCommand/2838.</p></blockquote>
<p>The error is <strong>Can&#8217;t find CMap Identity-UTF16-H</strong>. Ghostscript can&#8217;t find this, so let&#8217;s create it !</p>
<p>Mine need to be created in <strong>/usr/share/ghostscript/8.71/Resource/CMap/Identity-UTF16-H</strong></p>
<p>The content of this file can be find <a href="http://www.amyuni.com/downloads/CMaps/Identity-UTF16-H">here</a>. Or copy it from here:</p>
<blockquote><p>% Copyright (C) 2003 Artifex Software. All rights reserved.<br />
%<br />
% This software is provided AS-IS with no warranty, either express or<br />
% implied.<br />
%<br />
% This software is distributed under license and may not be copied,<br />
% modified or distributed except as expressly authorized under the terms<br />
% of the license contained in the file LICENSE in this distribution.<br />
%<br />
% For more information about licensing, please refer to<br />
% http://www.ghostscript.com/licensing/. For information on<br />
% commercial licensing, go to http://www.artifex.com/licensing/ or<br />
% contact Artifex Software, Inc., 101 Lucas Valley Road #110,<br />
% San Rafael, CA 94903, U.S.A., +1(415)492-9861.<br />
%<br />
% $Id: Identity-UTF16-H 7095 2006-10-10 10:03:37Z leonardo $<br />
% Identity-UTF16-H CMap<br />
% An identity mapping of UTF16 codes to CIDs.</p>
<p>/CIDInit /ProcSet findresource begin</p>
<p>12 dict begin</p>
<p>begincmap</p>
<p>/CIDSystemInfo 3 dict dup begin<br />
/Registry (Artifex) def<br />
/Ordering (Unicode) def<br />
/Supplement 0 def<br />
end def</p>
<p>/CMapName /Identity-UTF16-H def<br />
/CMapVersion 1.000 def<br />
/CMapType 1 def</p>
<p>/UIDOffset 0 def<br />
% No XUID yet obtained.</p>
<p>/WMode 0 def</p>
<p>1 begincodespacerange</p>
<p>endcodespacerange</p>
<p>1 begincidrange<br />
0<br />
endcidrange<br />
endcmap<br />
CMapName currentdict /CMap defineresource pop<br />
end<br />
end</p>
<p>%%EndResource<br />
%%EOF</p></blockquote>
<p>And it is working !!! Woot !</p>
Mots-cl&eacute;s: mac folder icon, mac folder, applications icon mac, mac applications icon, thomas genin]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/command-line-2/ghostscript-convert-error-undefined-in-findresource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome : see thumbnail of your current tabs</title>
		<link>http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/</link>
		<comments>http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 22:02:19 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[about: flag]]></category>
		<category><![CDATA[chrome tab thumbnail]]></category>
		<category><![CDATA[google chrome task thumbnail]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=726</guid>
		<description><![CDATA[Firefox 4 ship with the feature Tab Group ( previously Tab Candy ) which allow you to see and manage all your tabs in a smart and beautiful way. Google Chrome has the same feature since version 8 if I&#8217;m &#8230; <a href="http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_729" class="wp-caption alignleft" style="width: 160px"><a href="http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/attachment/chrome-logo/" rel="attachment wp-att-729"><img src="http://thomas-genin.com/wp-content/uploads/2011/04/chrome-logo-150x150.png" alt="Google Chrome logo" title="Google Chrome logo" width="150" height="150" class="size-thumbnail wp-image-729" /></a><p class="wp-caption-text">Google Chrome logo</p></div>Firefox 4 ship with the feature Tab Group ( previously Tab Candy ) which allow you to see and manage all your tabs in a smart and beautiful way. </p>
<p>Google Chrome has the same feature since version 8 if I&#8217;m not wrong. you can see a thumbnail of your current tab and easily move to one with a smooth animation. But this feature is hidden and you need to turn a flag to enable it.<br />
<span id="more-726"></span><br />
To do that, write <strong>about:flags</strong> in your address bar.<br />
<div id="attachment_727" class="wp-caption aligncenter" style="width: 670px"><a href="http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/attachment/chrome-flags/" rel="attachment wp-att-727"><img src="http://thomas-genin.com/wp-content/uploads/2011/04/chrome-flags.png" alt="Google Chrome about flags" title="Google Chrome about flags" width="660" height="366" class="size-full wp-image-727" /></a><p class="wp-caption-text">Google Chrome about flags</p></div></p>
<p>Then find and enable the <strong>Tab overview</strong> experiment. </p>
<p>Scroll down and click <strong>Relaunch Now</strong>.</p>
<p>That&#8217;s it ! Now use 3 fingers on your trackpad to use it !<br />
<div id="attachment_728" class="wp-caption aligncenter" style="width: 610px"><a href="http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/attachment/chrome-tab-thumbnail/" rel="attachment wp-att-728"><img src="http://thomas-genin.com/wp-content/uploads/2011/04/chrome-tab-thumbnail.jpg" alt="Google Chrome Tab Thumbnail" title="Google Chrome Tab Thumbnail" width="600" height="479" class="size-full wp-image-728" /></a><p class="wp-caption-text">Google Chrome Tab Thumbnail</p></div></p>
Mots-cl&eacute;s: mac programm ordner icon, chrome tabs recent thumbnail, mac folder png, chrome tab thumbnail, app folder]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/google-chrome/google-chrome-see-thumbnail-of-your-current-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>qunit and Rhino : JavaScript unit test in the console</title>
		<link>http://thomas-genin.com/blog/javascript-3/qunit-and-rhino-javascript-unit-test-in-the-console/</link>
		<comments>http://thomas-genin.com/blog/javascript-3/qunit-and-rhino-javascript-unit-test-in-the-console/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 02:25:02 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[qunit]]></category>
		<category><![CDATA[rhino]]></category>
		<category><![CDATA[rhino to run qunit]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[unit test]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=716</guid>
		<description><![CDATA[If you are wondering if it is possible to use qunit and rhino, the answer is : yes you can. download Rhino download qunit-cli download qunit Unzip every thing Go in your qunit directory, and copy the directory qunit and &#8230; <a href="http://thomas-genin.com/blog/javascript-3/qunit-and-rhino-javascript-unit-test-in-the-console/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are wondering if it is possible to use qunit and rhino, the answer is : yes you can.</p>
<ol>
<li><a href="http://www.mozilla.org/rhino/download.html">download Rhino</a></li>
<li><a href="https://github.com/benjaminplee/QUnit-CLI">download qunit-cli</a></li>
<li><a href="https://github.com/asynchrony/qunit">download qunit</a></li>
<li>Unzip every thing</li>
<li>Go in your qunit directory, and copy the directory <strong>qunit</strong> and <strong>test</strong></li>
<li>Paste them in qunit-cli/qunit</li>
<div id="attachment_720" class="wp-caption aligncenter" style="width: 166px"><a href="http://thomas-genin.com/wp-content/uploads/2011/04/qunit-directory-structure.png"><img class="size-full wp-image-720" title="qunit directory structure" src="http://thomas-genin.com/wp-content/uploads/2011/04/qunit-directory-structure.png" alt="qunit directory structure" width="156" height="271" /></a><p class="wp-caption-text">qunit directory structure</p></div>
<li>Now open your terminal / console and move into qunit-cli/rhino</li>
<li>Run the command to test that it is working</li>
<pre class="brush: bash; title: ; notranslate">
java -cp ../../rhino1_7R2/js.jar org.mozilla.javascript.tools.shell.Main -opt -1 suite.js
</pre>
<li>TADAAAA</li>
<p><div id="attachment_721" class="wp-caption aligncenter" style="width: 536px"><a href="http://thomas-genin.com/wp-content/uploads/2011/04/qunit-rhino-output.png"><img src="http://thomas-genin.com/wp-content/uploads/2011/04/qunit-rhino-output.png" alt="qunit rhino output" title="qunit rhino output" width="526" height="452" class="size-full wp-image-721" /></a><p class="wp-caption-text">qunit rhino output</p></div>
<li>Edit qunit-cli/rhino/suite.js to load your source files ( at the top ) and your test files ( at the bottom )</li>
</ol>
<p>You can also change the formating of the output by editing the suite.js file and using the <a href="http://docs.jquery.com/Qunit#Integration_into_Browser_Automation_Tools">right functions</a>.</p>
<p>Note:<br />
You should consider the creation of an alias to run the command :</p>
<pre class="brush: bash; title: ; notranslate">
export RHINO_HOME=&quot;~/development/rhino1_7R2&quot;
alias js=&quot;java -cp $RHINO_HOME/js.jar org.mozilla.javascript.tools.shell.Main -opt -1&quot;
alias jsd=&quot;java -cp $RHINO_HOME/js.jar org.mozilla.javascript.tools.debugger.Main&quot;
</pre>
<p>Links:<br />
<a href="http://twoguysarguing.wordpress.com/2010/11/02/make-javascript-tests-part-of-your-build-qunit-rhino/">http://twoguysarguing.wordpress.com/2010/11/02/make-javascript-tests-part-of-your-build-qunit-rhino/</a><br />
<a href="https://github.com/asynchrony/qunit">https://github.com/asynchrony/qunit</a><br />
<a href="https://github.com/benjaminplee/QUnit-CLI">https://github.com/benjaminplee/QUnit-CLI</a><br />
<a href="http://www.mozilla.org/rhino/download.html">http://www.mozilla.org/rhino/download.html</a><br />
<a href="http://docs.jquery.com/Qunit">http://docs.jquery.com/Qunit</a></p>
Mots-cl&eacute;s: rhino javascript , qunit rhino, QUnit console, qunit download, rhino javascript debugger]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/javascript-3/qunit-and-rhino-javascript-unit-test-in-the-console/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery conf 2011 San Francisco</title>
		<link>http://thomas-genin.com/blog/jquery/jquery-conf-2011-san-francisco/</link>
		<comments>http://thomas-genin.com/blog/jquery/jquery-conf-2011-san-francisco/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 19:40:14 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[jQuery conf]]></category>
		<category><![CDATA[JQuery картинки]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[program icon mac]]></category>
		<category><![CDATA[review thomas genin]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=712</guid>
		<description><![CDATA[I was there. It was ok. Some great talks and some other less good ( no offense ). Mots-cl&#233;s: jquery, jquery t-shirt, jquery tshirts, jquery t shirts, jquery shirt]]></description>
			<content:encoded><![CDATA[<div id="attachment_714" class="wp-caption aligncenter" style="width: 650px"><a href="http://thomas-genin.com/wp-content/uploads/2011/04/jquery-conf-2011-gift-bag.jpg"><img src="http://thomas-genin.com/wp-content/uploads/2011/04/jquery-conf-2011-gift-bag-1024x765.jpg" alt="jQuery conference San Francisco 2011 badge and Tshirt" title="jQuery conference San Francisco 2011 badge and Tshirt" width="640" height="478" class="size-large wp-image-714" /></a><p class="wp-caption-text">jQuery conference San Francisco 2011 badge and Tshirt</p></div>
<p>I was there. It was ok. Some great talks and some other less good ( no offense ). </p>
Mots-cl&eacute;s: jquery, jquery t-shirt, jquery tshirts, jquery t shirts, jquery shirt]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/jquery/jquery-conf-2011-san-francisco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Google Chrome toolbar</title>
		<link>http://thomas-genin.com/blog/google-chrome/a-google-chrome-toolbar/</link>
		<comments>http://thomas-genin.com/blog/google-chrome/a-google-chrome-toolbar/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 08:36:57 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[app icon mac]]></category>
		<category><![CDATA[folder icon mac unzip]]></category>
		<category><![CDATA[Google Chrome Extension]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[program icon mac]]></category>
		<category><![CDATA[review thomas genin]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=707</guid>
		<description><![CDATA[When you build a Google Chrome extension, you have only 2 UI hooks. The browser action on the top right corner of the browser. Or the page action at the right of the address bar So how can you create &#8230; <a href="http://thomas-genin.com/blog/google-chrome/a-google-chrome-toolbar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you build a Google Chrome extension, you have only 2 UI hooks.</p>
<p>The browser action on the top right corner of the browser.<br />
<div id="attachment_708" class="wp-caption aligncenter" style="width: 373px"><a href="http://thomas-genin.com/blog/google-chrome/a-google-chrome-toolbar/attachment/browser-action/" rel="attachment wp-att-708"><img src="http://thomas-genin.com/wp-content/uploads/2011/03/browser-action.png" alt="Browser Action icon" title="Browser Action icon" width="363" height="226" class="size-full wp-image-708" /></a><p class="wp-caption-text">Browser Action icon</p></div></p>
<p>Or the page action at the right of the address bar<br />
<div id="attachment_709" class="wp-caption aligncenter" style="width: 371px"><a href="http://thomas-genin.com/wp-content/uploads/2011/03/page-action.png"><img src="http://thomas-genin.com/wp-content/uploads/2011/03/page-action.png" alt="Page Action icon" title="Page Action icon" width="361" height="79" class="size-full wp-image-709" /></a><p class="wp-caption-text">Page Action icon</p></div></p>
<p>So how can you create a toolbar ?</p>
<p>Well Google Chrome provide you &#8220;<a href="http://code.google.com/chrome/extensions/content_scripts.html">content scripts</a>&#8220;. These scripts are running in the parallel of the page. So this script can manipulate the DOM of the page. So we can inject something in the page. And if this something is an iframe, we could inject a &#8220;page&#8221; without worrying about JavaScript or CSS collision. And this iframe can be host on a server or in the extension. In this case you can use the c<a href="http://code.google.com/chrome/extensions/extension.html#method-getURL">hrome.extension.getURL</a> method to get the path of the file.</p>
<p>Et voilà !</p>
Mots-cl&eacute;s: google chrome content script creating a toolbar, google chrome toolbar]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/google-chrome/a-google-chrome-toolbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Giant Table is dead, long live jQuery UI !</title>
		<link>http://thomas-genin.com/blog/jquery/giant-table-is-dead-long-live-jquery-ui/</link>
		<comments>http://thomas-genin.com/blog/jquery/giant-table-is-dead-long-live-jquery-ui/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 08:19:57 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[giant table]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[is jquery ui dead]]></category>
		<category><![CDATA[jquery for long tables]]></category>
		<category><![CDATA[jquery ui]]></category>
		<category><![CDATA[jqueryui display: table]]></category>
		<category><![CDATA[logo jquery ui]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=687</guid>
		<description><![CDATA[Hey, Last week, the jQuery UI team made a great announcement : they are finally going to include into the core a plugin to do table manipulation. http://blog.jqueryui.com/2011/02/unleash-the-grid/ I did in the past a jQuery plugin to do that. Here &#8230; <a href="http://thomas-genin.com/blog/jquery/giant-table-is-dead-long-live-jquery-ui/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey,<br />
<div id="attachment_688" class="wp-caption alignleft" style="width: 160px"><a href="http://thomas-genin.com/blog/jquery/giant-table-is-dead-long-live-jquery-ui/attachment/jquery__ui_logo_color_onwhite/" rel="attachment wp-att-688"><img src="http://thomas-genin.com/wp-content/uploads/2011/02/jQuery__UI_logo_color_onwhite-150x108.png" alt="jQuery UI logo" title="jQuery UI logo" width="150" height="108" class="size-thumbnail wp-image-688" /></a><p class="wp-caption-text">jQuery UI logo</p></div><br />
Last week, the jQuery UI team made a great announcement : they are finally going to include into the core a plugin to do table manipulation.<br />
<a href="http://blog.jqueryui.com/2011/02/unleash-the-grid/">http://blog.jqueryui.com/2011/02/unleash-the-grid/</a></p>
<p>I did in the past a jQuery plugin to do that. Here is the problem I tried to solve: when you have an HTML table with thousand of lines, it is very long to display, instable, impossible to search or to sort element. Even plugins like http://tablesorter.com/docs/ can&#8217;t do th job when you have 10 000 lines. Or they use a pager which give a bad user experience.</p>
<p>So tried to solve this problem and I succeed. Instead of displaying every thing, I keep the data in an array in the memory. Every operation will be done on this array : sorting, filtering, search, selection, &#8230;<br />
And I just display the number of row that the screen can display.<br />
I check every scroll event or action on the fake scrollbar I have create to update the display.</p>
<p>And it works well with 90 000 lines !!! \o/</p>
<p>My plugin also support plugins to change the behavior or to customize the display. </p>
<p>But I&#8217;m sur the jQuery team is going to do something awesome ! Be sur that I will look at their progress very closely and try to be involve into this.</p>
Mots-cl&eacute;s: jquery ui table, jqueryui table, jquery long table, jQuery UI dead, jquery live search table]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/jquery/giant-table-is-dead-long-live-jquery-ui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS Terminal &#8211; How to easily repeat a command with sudo</title>
		<link>http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/</link>
		<comments>http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 05:41:12 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Mac OS Terminal]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[app icon mac]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[program icon mac]]></category>
		<category><![CDATA[redo]]></category>
		<category><![CDATA[review thomas genin]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=676</guid>
		<description><![CDATA[Very often, you need to repeat the previous command but with more parameters, or to use sudo. Look at this example: I want to delete a file, but it own by an other user. I&#8217;m sur that I can delete &#8230; <a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_648" class="wp-caption alignleft" style="width: 160px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/attachment/terminal/" rel="attachment wp-att-648"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/Terminal-150x150.png" alt="Terminal icon" title="Terminal icon" width="150" height="150" class="size-thumbnail wp-image-648" /></a><p class="wp-caption-text">Terminal icon</p></div> Very often, you need to repeat the previous command but with more parameters, or to use sudo.</p>
<p>Look at this example: I want to delete a file, but it own by an other user.<br />
<div id="attachment_680" class="wp-caption aligncenter" style="width: 610px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/attachment/rm/" rel="attachment wp-att-680"><img src="http://thomas-genin.com/wp-content/uploads/2011/01/rm.jpg" alt="rm delete a file" title="rm delete a file" width="600" height="272" class="size-full wp-image-680" /></a><p class="wp-caption-text">rm delete a file</p></div></p>
<p>I&#8217;m sur that I can delete the file, so I have to use the <strong>sudo</strong> command before the <strong>rm</strong> command.<br />
<span id="more-676"></span><br />
So I have 2 solutions: </p>
<ul>
<li>write <strong>sudo rm mysql.sock</strong> = equal rewrite evereything</li>
<li> write <strong> sudo !!</strong> = use a shortcut !!</li>
</ul>
<p>Of course you choose the second solution: it &#8216;s quicker and you don&#8217;t make any mistake by retyping the command. So <strong>!!</strong> contain the last command you wrote. Let&#8217;s see in action:<br />
<div id="attachment_677" class="wp-caption aligncenter" style="width: 545px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/attachment/677/" rel="attachment wp-att-677"><img src="http://thomas-genin.com/wp-content/uploads/2011/01/jpg" alt="!! contain the last command" title="!! contain the last command" width="535" height="153" class="size-full wp-image-677" /></a><p class="wp-caption-text">!! contain the last command</p></div></p>
<p>And I works also if you want to add a parameter. I will use the example of the command <strong>ls</strong> which list the content of a directoy.<br />
<div id="attachment_678" class="wp-caption aligncenter" style="width: 576px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/attachment/ls/" rel="attachment wp-att-678"><img src="http://thomas-genin.com/wp-content/uploads/2011/01/ls.jpg" alt="ls list the content of a directory" title="ls list the content of a directory" width="566" height="367" class="size-full wp-image-678" /></a><p class="wp-caption-text">ls list the content of a directory</p></div></p>
<p>I the screenshot, I used <strong>ls</strong> then <strong>!! -a</strong> = ls -a to list all the file of the directory, Then<br />
<div id="attachment_679" class="wp-caption aligncenter" style="width: 530px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/attachment/ls-l-a/" rel="attachment wp-att-679"><img src="http://thomas-genin.com/wp-content/uploads/2011/01/ls-l-a.jpg" alt="ls -l -a list all file of a directory with more information" title="ls -l -a list all file of a directory with more information" width="520" height="436" class="size-full wp-image-679" /></a><p class="wp-caption-text">ls -l -a list all file of a directory with more information</p></div></p>
<p><strong>!! -l</strong> = ls -a -l = ls -al </p>
<p>So this shortcut is very handy when you have long command to repeat.</p>
Mots-cl&eacute;s: rm -rf terminal, how do you repeat a sentence in mac terminal, repeat terminal commands, repeat mac os termibal, repeat terminal]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/mac-os/mac-os-terminal/how-to-repeat-a-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS &#8211; Get an application icon in high resolution</title>
		<link>http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/</link>
		<comments>http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 01:52:34 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Mac OS]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[app icon mac]]></category>
		<category><![CDATA[best resolution app for mac]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[program icon mac]]></category>
		<category><![CDATA[review thomas genin]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=666</guid>
		<description><![CDATA[If you want to get the icon for a specific Mac OS application, you have to follow the same kind of path than for the system icon. But with some difference. In this how to, I&#8217;m going to get the &#8230; <a href="http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_668" class="wp-caption alignleft" style="width: 138px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/attachment/dashboard/" rel="attachment wp-att-668"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/Dashboard.png" alt="Dashboard icon" title="Dashboard icon" width="128" height="128" class="size-full wp-image-668" /></a><p class="wp-caption-text">Dashboard icon</p></div><br />
If you want to get the icon for a specific Mac OS application, you have to follow the same kind of path than for <a href="http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/">the system icon</a>.</p>
<p>But with some difference. In this how to, I&#8217;m going to get the icon for the <strong>Dashboard</strong> application.<br />
<span id="more-666"></span></p>
<p>First, let&#8217;s move to the directory which contain your application, which is very often the <strong>/Applications</strong> directory. Then find your application, and right click on it.</p>
<div id="attachment_667" class="wp-caption aligncenter" style="width: 610px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/attachment/application/" rel="attachment wp-att-667"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/application.jpg" alt="Right click on the application" title="Right click on the application" width="600" height="377" class="size-full wp-image-667" /></a><p class="wp-caption-text">Right click on the application</p></div>
<p>Chose the option <strong>Show Package Contents</strong>. Mac OS application code and ressource are bundle inside this file. And the is the way you can access to them. A new finder window open. Move to the directory <strong>Ressources</strong>. Normally, you will find here icons files. </p>
<div id="attachment_670" class="wp-caption aligncenter" style="width: 610px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/attachment/package-content/" rel="attachment wp-att-670"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/package-content.jpg" alt="Package content" title="Package content" width="600" height="257" class="size-full wp-image-670" /></a><p class="wp-caption-text">Package content</p></div>
<p>An icon can be an image or an icns file. If it is an icns file your are lucky, because a single file can contain several icon size for the same icon.  Just double click to open it with <strong>Preview</strong>.</p>
<div id="attachment_669" class="wp-caption aligncenter" style="width: 610px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/attachment/icns-file/" rel="attachment wp-att-669"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/icns-file.jpg" alt="Content of a icns file" title="Content of a icns file" width="600" height="516" class="size-full wp-image-669" /></a><p class="wp-caption-text">Content of a icns file</p></div>
<p>That way you can choose which size is the best for you need and you get an high quality image.<br />
Just click on the image on the right and to save it just do <strong>File > Save as &#8230;</strong>.</p>
Mots-cl&eacute;s: macos "application/icon"]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mac OS &#8211; How to get Mac OS icon in full resolution</title>
		<link>http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/</link>
		<comments>http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 00:22:48 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Mac OS]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[applications icon mac]]></category>
		<category><![CDATA[full mac os icon]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[icone application mac]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[program icon mac]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=654</guid>
		<description><![CDATA[How you notice that when you change the size of your icon in your folder, they always are beautiful, even when the size in very big ? And there is a lot of details on them ? Like mirror effects, &#8230; <a href="http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How you notice that when you change the size of your icon in your folder, they always are beautiful, even when the size in very big ? And there is a lot of details on them ? Like mirror effects, shadow ?<br />
Look at the Application Folder in full res :</p>
<div id="attachment_655" class="wp-caption aligncenter" style="width: 522px"><a rel="attachment wp-att-655" href="http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/attachment/applicationsfoldericon/"><img class="size-full wp-image-655" title="Applications Folder Icon" src="http://thomas-genin.com/wp-content/uploads/2010/12/ApplicationsFolderIcon.png" alt="Applications Folder Icon" width="512" height="512" /></a><p class="wp-caption-text">Applications Folder Icon</p></div>
<p>Where is it store ?<br />
<span id="more-654"></span><br />
First open your Finder.</p>
<p>Then go to : <strong>/System/Library/CoreServices</strong> and find the file <strong>CoreTypes.bundle</strong></p>
<div id="attachment_656" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-656" href="http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/attachment/coreservices-location/"><img class="size-medium wp-image-656" title="CoreServices Location" src="http://thomas-genin.com/wp-content/uploads/2010/12/CoreServices-Location-300x139.jpg" alt="CoreServices Location" width="300" height="139" /></a><p class="wp-caption-text">CoreServices Location</p></div>
<p>Right click on the file and choose <strong>Show Package Contents</strong></p>
<div id="attachment_657" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-657" href="http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/attachment/show-package-content/"><img class="size-medium wp-image-657" title="Show Package Contents" src="http://thomas-genin.com/wp-content/uploads/2010/12/show-package-content-300x228.jpg" alt="Show Package Contents" width="300" height="228" /></a><p class="wp-caption-text">Show Package Contents</p></div>
<p>A new Finder open, with &#8220;new&#8221; directories. Go to <strong>Contents/Ressources/</strong> Et voila !</p>
<div id="attachment_658" class="wp-caption aligncenter" style="width: 610px"><a rel="attachment wp-att-658" href="http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/attachment/bundle-content/"><img class="size-full wp-image-658" title="Content of the Bundle File" src="http://thomas-genin.com/wp-content/uploads/2010/12/bundle-content.jpg" alt="Content of the Bundle File" width="600" height="345" /></a><p class="wp-caption-text">Content of the Bundle File</p></div>
<p>Here you can find all the icons that the system is using ( not icons for a specific applications). Take a look at the icon for every model of Macbook or iMac, iPhone, &#8230; they are awesome !</p>
<p>If you want to know more about icns files ( icon files ) or how to get the icon for a specific application, please read <a href="http://thomas-genin.com/blog/mac-os/mac-os-get-an-application-icon-in-high-resolution/">this article</a>.</p>
Mots-cl&eacute;s: Mac folder icon png, mac applications icon png, image for application icon for mac, applications icon on mac, mac os folder icons]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/mac-os/mac-os-how-to-get-mac-os-icon-in-full-resolution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mac OS Terminal &#8211; Copy output of a command directly to the clipboard</title>
		<link>http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/</link>
		<comments>http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 01:13:20 +0000</pubDate>
		<dc:creator>thomas</dc:creator>
				<category><![CDATA[Mac OS Terminal]]></category>
		<category><![CDATA["undefined in findresource" windows]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[high res mac folder icon]]></category>
		<category><![CDATA[mac application icon]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[program icon mac]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[thomas genin]]></category>
		<category><![CDATA[what the mac applications folder looks like]]></category>

		<guid isPermaLink="false">http://thomas-genin.com/?p=639</guid>
		<description><![CDATA[Sometimes, when you use the command-line, you need to copy the output to send it by email for example. But when there is many many lines, it can be very difficult ! So I found this small command which can &#8230; <a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_648" class="wp-caption alignleft" style="width: 160px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/attachment/terminal/" rel="attachment wp-att-648"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/Terminal-150x150.png" alt="Terminal icon" title="Terminal icon" width="150" height="150" class="size-thumbnail wp-image-648" /></a><p class="wp-caption-text">Terminal icon</p></div>Sometimes, when you use the command-line, you need to copy the output to send it by email for example.<br />
But when there is many many lines, it can be very difficult !</p>
<p>So I found this small command which can be handy:<br />
<span id="more-639"></span><br />
<code><br />
man pbcopy<br />
</code></p>
<p>Basically, it just put all the output text in the clipboard.</p>
<p>To use it, just use a pipe:</p>
<div id="attachment_641" class="wp-caption aligncenter" style="width: 650px"><a href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/attachment/pbcopy-terminal/" rel="attachment wp-att-641"><img src="http://thomas-genin.com/wp-content/uploads/2010/12/pbcopy-terminal-e1293239713366.png" alt="How to use pbcopy in the Terminal" title="How to use pbcopy in the Terminal" width="640" height="99" class="size-full wp-image-641" /></a><p class="wp-caption-text">How to use pbcopy in the Terminal</p></div>
<p>And if you go in Textedit and you paste your clipboard, you got :</p>
<div id="attachment_640" class="wp-caption aligncenter" style="width: 481px"><a rel="attachment wp-att-640" href="http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/attachment/pbcopy-result-textedit/"><img class="size-full wp-image-640" title="pbcopy result textedit" src="http://thomas-genin.com/wp-content/uploads/2010/12/pbcopy-result-textedit.png" alt="pbcopy result textedit" width="471" height="296" /></a><p class="wp-caption-text">pbcopy result textedit</p></div>
Mots-cl&eacute;s: copy output from terminal, mac os terminal benutzen, mac copy comand line output to pasteboard, copy command in google chrome console, copy to clipboard jquery mac -flash]]></content:encoded>
			<wfw:commentRss>http://thomas-genin.com/blog/mac-os/mac-os-terminal/mac-os-terminal-copy-output-of-a-command-directly-to-the-clipboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

