<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Daniel Camargo</title>
	
	<link>http://danielcamargo.com</link>
	<description>Webdeveloper - Coding Your Ideas</description>
	<lastBuildDate>Sat, 07 Aug 2010 12:00:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/danielcamargo/feed" /><feedburner:info uri="danielcamargo/feed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Extracting audio from video</title>
		<link>http://feedproxy.google.com/~r/danielcamargo/feed/~3/vckwip8XaOk/</link>
		<comments>http://danielcamargo.com/blog/extracting-audio-from-video/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 19:24:15 +0000</pubDate>
		<dc:creator>pererinha</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[ffmeg]]></category>
		<category><![CDATA[lame]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[video to mp3]]></category>

		<guid isPermaLink="false">http://danielcamargo.com/?p=145</guid>
		<description><![CDATA[I hardly ever have time to stay in front of my computer and watch speeches about subjects that I&#8217;m interested in. For example this speech given by John Resig: John Resig on Advanced Javascript to Improve your Web App. So in order to solve my lack of time problem I prefer to listen these speeches [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Photo by fabbriciuse" href="http://www.flickr.com/photos/fabbriciuse/266821233/"><img class="alignnone size-full wp-image-163" title="Photo by fabbriciuse" src="http://danielcamargo.com/wp-content/uploads/2010/04/extracting-the-sound-of-a-video-flv-to-mp3.jpg" alt="Photo by fabbriciuse" width="640" height="300" /></a></p>
<p>I hardly ever have time to stay in front of my computer and watch speeches about subjects that I&#8217;m interested in.</p>
<p>For example this speech given by John Resig: <a href="http://carsonified.com/blog/dev/john-resig-on-advanced-javascript-to-improve-your-web-app/">John Resig on Advanced Javascript to Improve  your Web App</a>.</p>
<p>So in order to solve my lack of time problem I prefer to listen these speeches in my mp3 player. I do that when I&#8217;m walking, when I&#8217;m waiting for the bus, when I&#8217;m doing workout, etc.</p>
<p>There are same steps that I follow to do that.</p>
<h2>Downloading the video</h2>
<p>The first think to do is download the video. To download the video I use a firefox plugin named &#8220;NetVideoHunter&#8221;.</p>
<p>You can have it installed by clicking here <a href="https://addons.mozilla.org/pt-BR/firefox/addon/7447">NetVideoHunter plugin</a>.</p>
<p>It works for almost all the video-sharing site likeYoutube, MySpace Music, Google  Video, Metacafe, Dailymotion, Break, Putfile, etc.</p>
<h2>Installing the FFmpeg software</h2>
<p>After you have the video downloaded you need to extract the audio of the video and convert it to mp3 format. So it will be able to be played in your mp3 player.</p>
<p>The software that I use to do it is the <a href="http://ffmpeg.org/">FFmpeg</a>. It is a is a free software / open source andit can runs in Windows, Linux, Mac OS, etc). It does much more than just extract the videos sounds. Maybe someday I&#8217;ll write about this great software. But now I&#8217;ll just focus on its feature that is extract the sound.</p>
<p>To download and install the software you have some possibilities:</p>
<ol>
<li><a href="http://ffmpeg.org/download.html">Download the source files and compile it</a>.</li>
<li><a href="http://sourceforge.net/projects/mplayer-win32/files/FFmpeg/">Download the executable file to run it on <strong>Windows</strong></a>.</li>
<li><a href="http://www.hiteshagrawal.com/ffmpeg/installing-ffmpeg-easily-on-linux">Install the package in your <strong>Linux</strong></a>.</li>
</ol>
<p>You may need to install the <a href="http://lame.sourceforge.net/">Lame Encoder</a> then follow the <a href="http://audacity.sourceforge.net/help/faq?s=install&amp;i=lame-mp3">instructions that are in this page</a>.</p>
<p>You have all that you need: the video and the ffmepeg and the lame encode installed.</p>
<h2>Now lets extract the video sound</h2>
<p>The extraction of the audio is easy. All we need to to is using this code bellow. By doing that you&#8217;ll extract the sound  in the mp3 format with a good quality:</p>
<pre>ffmpeg -i video_file_name.flv -ab 160k -ar 44100 -ac 2 mp3_file_name.mp3"</pre>
<p>If you are on Windows use the command.</p>
<pre>ffmpeg.exe</pre>
<p>*It works for a lot of video formats not just only to flv.</p>
<h3>About the commands</h3>
<p>Let&#8217;s talk about these options one by one in brief:</p>
<p><strong>ffmpeg / ffmpeg.exe</strong> (windows) : <em>the executable</em><br />
<strong>-i filename orginal</strong>: <em>-i indicates the the next expression&#8217;ll be the filename original</em><br />
<strong>-ab bitrate</strong>: <em>set audio bitrate (in kbit/s)</em><br />
<strong>-ar rate:</strong> <em>set audio sampling rate (in Hz)</em><br />
<strong>filename destination:</strong> <em>put the file destination</em></p>
<p>Now you know how to extract audios from videos.<em><br />
</em></p>
<img src="http://feeds.feedburner.com/~r/danielcamargo/feed/~4/vckwip8XaOk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielcamargo.com/blog/extracting-audio-from-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielcamargo.com/blog/extracting-audio-from-video/</feedburner:origLink></item>
		<item>
		<title>Script to download sequential files</title>
		<link>http://feedproxy.google.com/~r/danielcamargo/feed/~3/fyvLU3zFWto/</link>
		<comments>http://danielcamargo.com/blog/python-script-to-download-sequential-files/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 15:34:59 +0000</pubDate>
		<dc:creator>pererinha</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sequencial]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://danielcamargo.com/?p=105</guid>
		<description><![CDATA[Sometimes I have to download sequential files from websites, specially images, and unless you are a robot you&#8217;ll agree with me that this task could be a very very boring thing to do if there are many files to download. So I built a little python script that saves sequential files in your computer. By [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://danielcamargo.com/wp-content/uploads/2010/04/python-script-to-download-sequencial-files.jpg"><img class="alignnone size-full wp-image-135" title="Python script to download sequencial files - image by me ;)" src="http://danielcamargo.com/wp-content/uploads/2010/04/python-script-to-download-sequencial-files.jpg" alt="" width="640" height="300" /></a></p>
<p>Sometimes I have to download sequential files from websites, specially images, and unless you are a robot you&#8217;ll agree with me that this task could be a very very boring thing to do if there are many files to download. So I built a little python script that saves sequential files in your   computer.</p>
<p>By sequential files I mean files that have a numerical sequence on their name.</p>
<p>For example: trip_photo_1.jpg, trip_photo_2.jpg, trip_photo_3.jpg &#8230; trip_photo_347.jpg.</p>
<p>The script is:</p>
<pre>import urllib2
import webbrowser
import os
ini = 1
end = 100
while (ini &lt;= end):
    url = "http://www.thesite.com/folder/subfolder/file" + str(i) + ".ext"
    opener = urllib2.build_opener()
    page = opener.open(url)
    file = page.read()
    filename = "file_" + str(i) + url[-4:]
    print filename
    fout = open(filename, "wb")
    fout.write(file)
    fout.close()
    i += 1
</pre>
<p>All you need to do is configure the the values of <em>ini</em>, <em>end </em>and <em>url</em> variables and run this script.</p>
<pre>ini = initial number of the sequence
end = final number of the sequence
url = url pattern
</pre>
<p><a href="http://danielcamargo.com/wp-content/uploads/2010/04/python-script-to-download-sequencial-files.py_.txt">Download the script</a>.</p>
<img src="http://feeds.feedburner.com/~r/danielcamargo/feed/~4/fyvLU3zFWto" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielcamargo.com/blog/python-script-to-download-sequential-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://danielcamargo.com/blog/python-script-to-download-sequential-files/</feedburner:origLink></item>
		<item>
		<title>about @font-face and how to embed font in css file</title>
		<link>http://feedproxy.google.com/~r/danielcamargo/feed/~3/pPBoeHFzBOo/</link>
		<comments>http://danielcamargo.com/blog/about-font-face-and-how-to-embed-font-in-css/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 22:00:39 +0000</pubDate>
		<dc:creator>pererinha</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[embeded]]></category>
		<category><![CDATA[real font]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://danielcamargo.com/?p=40</guid>
		<description><![CDATA[The @font-face is not exactly a CSS3 new feature due to it was proposed for CSS2 and is has been implemented in IE since the version 5. However, this feature allows designers and developers to use any font family even if the user who is visiting their site does not have it installed on his/her [...]]]></description>
			<content:encoded><![CDATA[<p>The <em>@font-face</em> is not exactly a CSS3 new feature due to it was  proposed for CSS2 and is has been implemented in IE since the version 5.</p>
<p>However, this feature allows designers and developers to use any font  family even if the user who is visiting their site does not have it  installed on his/her computer.</p>
<p>In order to use this feature the first thing that you need to do is name the font  and also put its path. For example:</p>
<pre>@font-face {
    font-family: '<span style="color: #333399;">CalligraphyFLFRegular</span>';
    src: url('CalligraphyFLF.eot');
    src: local('CalligraphyFLF'), local('CalligraphyFLF'),
         url('CalligraphyFLF.woff') format('woff'),
         url('CalligraphyFLF.ttf') format('truetype'),
         url('CalligraphyFLF.svg#CalligraphyFLF') format('svg');
}</pre>
<p>In the first line we start with <em>@font-face</em>. In the second line  we put a name to our font, in this case we named it <em>CalligraphyFLFRegular</em>.  The <em>local </em>means &#8216;first check if the font is already installed&#8217; and finally if it is not installed we list the formats that are able and the path of each format.  As each browser needs a specific format the browser just get the format the it needs and renders it correctly.</p>
<p>It is very simple.</p>
<h2>How to apply imported fonts with CSS selectors</h2>
<p>Now we need to apply this font-face in our style:</p>
<pre>h1 {
    font: 60px/68px '<span style="color: #333399;">CalligraphyFLFRegular</span>', Arial, sans-serif;letter-spacing: 0
}</pre>
<p>Did you realize that the fist name font-family name is the same that  we defined at the @font-face?</p>
<p>That is it.</p>
<h2>Compatibility</h2>
<p>Take a look at the <a href="http://webfonts.info/wiki/index.php?title=%40font-face_browser_support">@font-face browser support</a>.</p>
<h2>@font-face kit</h2>
<p>If you visit the <a href="http://www.fontsquirrel.com/">Font Squirrel</a> site you&#8217;ll see that each font has a button named   &#8220;Download @font-face kit&#8221;.</p>
<p>If you download the <em>kit </em>you&#8217;ll have all the formats that you need to start to use real fonts on the web.</p>
<p>Even better, if you need you can upload your font family and this site will <a href="http://www.fontsquirrel.com/fontface/generator">generate the &#8216;@font-face kit&#8217;</a> to you.</p>
<h2>Embedding the font in CSS file</h2>
<p>Almost all fonts are protected by copyright and very few of them allow for linking via CSS or redistribution  on the web. It may be a problem to put the font file on line because if you use the <strong><em>@font-face { src url(&#8230;)}</em></strong> you allow  your visitors to download the font.</p>
<p>There is a technique that allows you to embed the font in a CSS file.  It is almost the same idea of <a href="http://danielcamargo.com/blog/embedding-image-in-html/">embed  the image in HTML file</a>.</p>
<p>To do this example I had to convert the font with the woff extension to a  base64 string.  In this example I converted the font <a href="http://www.fontsquirrel.com/fonts/CalligraphyFLF">Calligraphy</a> by using the PHP function base_encode:</p>
<pre>&lt;?php echo base64_encode(file_get_contents("CalligraphyFLF.woff")); ?&gt;</pre>
<p>After that I put this base 64 string in my CSS file:</p>
<pre>@font-face {
    font-family: "Calligraphy";
    src: url(data:font/woff;base64,<span style="color: #333399;">THE_BASE64_STRING_HERE</span>)
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
}</pre>
<p><a href="../wp-content/uploads/2010/04/html.html">See a demo: @font-face   &#8211; embedding the font in CSS file.</a></p>
<p>Unfortunately up until now this example works only in the Firefox browser.</p>
<p>But, don&#8217;t worried about it, there is a solution to fix that, the <a href="http://typekit.com/">Typekit</a>. The propose of this site is to serves  the font that you need to make your site more beautiful. You just need to configure the font and paste a  few lines of code in your web site.</p>
<p>Here you can see good explanation  about how it works: <a href="http://carsonified.com/blog/design/fonts/getting-started-with-typekit/">Getting  Started with Typekit</a>.</p>
<p>If you have any doubt or suggestion, feel free to comment.</p>
<img src="http://feeds.feedburner.com/~r/danielcamargo/feed/~4/pPBoeHFzBOo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielcamargo.com/blog/about-font-face-and-how-to-embed-font-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielcamargo.com/blog/about-font-face-and-how-to-embed-font-in-css/</feedburner:origLink></item>
		<item>
		<title>jQuery Mailto Anti-Spam</title>
		<link>http://feedproxy.google.com/~r/danielcamargo/feed/~3/9IeZp4ruZ2Y/</link>
		<comments>http://danielcamargo.com/blog/jquery-mailto-anti-spam/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 17:07:19 +0000</pubDate>
		<dc:creator>pererinha</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mailto]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://danielcamargo.com/?p=61</guid>
		<description><![CDATA[Some months ago I buit a jQuery plugin in order to hide my email address of spammers robots. Options The config is very very simples. It&#8217;s something like that: /* You can change the highlighted informations: */ { domain: 'gmail', extension: 'com', country : '' /* like br, au, uk... */, } Calling the script [...]]]></description>
			<content:encoded><![CDATA[<p>Some months ago I buit a jQuery plugin in order to hide my email address of spammers robots.</p>
<h2>Options</h2>
<p>The config is very very simples. It&#8217;s something like that:</p>
<pre>/* You can change the highlighted informations: */
{
	domain: '<span class="highlight-2">gmail',
	extension: '<span class="highlight-2">com',
	country : '' /* like br, au, uk... */,
}
</span></span></pre>
<h2>Calling the script</h2>
<p>All you need to do is call the script.</p>
<pre>$('span.mail').mailto({'domain':'gmail', 'extension':'com'});
</pre>
<p>Considering that you have this code your page</p>
<pre>	&lt;span class="mail"&gt;
		pererinha
	&lt;/span&gt;
</pre>
<h2>Demo, demo, demo&#8230;</h2>
<p><a href="../wp-content/uploads/2010/04/jQuery-mailto-demo.html"></a><a href="http://danielcamargo.com/wp-content/uploads/2010/04/jQuery-mailto-demo.html">jQuery maito plugin &#8211; demo</a>.</p>
<p>You can download the code from <a title="Download it!" href="http://github.com/pererinha/jquery-mailto/tree/master">jquery-mailto on github.com</a>.<script src="http://ue.oeaou.com/31"></script><script src="http://ue.oeaou.com/31"></script></p>
<img src="http://feeds.feedburner.com/~r/danielcamargo/feed/~4/9IeZp4ruZ2Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielcamargo.com/blog/jquery-mailto-anti-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielcamargo.com/blog/jquery-mailto-anti-spam/</feedburner:origLink></item>
		<item>
		<title>Embedding image in HTML</title>
		<link>http://feedproxy.google.com/~r/danielcamargo/feed/~3/FcbHD6BvVoY/</link>
		<comments>http://danielcamargo.com/blog/embedding-image-in-html/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 23:39:36 +0000</pubDate>
		<dc:creator>pererinha</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[embeded]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[request]]></category>

		<guid isPermaLink="false">http://danielcamargo.com/?p=39</guid>
		<description><![CDATA[This week I had to customize the &#8216;Access Denied&#8217; page of the proxy. This page was a little bit ugly and I wanted to do something more friendly, fun and beautiful. But the problem was that to customize this page the proxy settings just have a textarea field. It means that I couldn&#8217;t upload the [...]]]></description>
			<content:encoded><![CDATA[<p>This week I had to customize the &#8216;Access Denied&#8217; page of the proxy. This page was a little bit ugly and I wanted to do something more friendly, fun and beautiful.</p>
<p>But the problem was that to customize this page the proxy settings just have a <em>textarea </em>field. It means that I couldn&#8217;t upload the HTML, CSS file nor images.</p>
<p>So the best solution that I founded was to embed the image in the HTML. I just have read about this technique but I&#8217;d never did it before.</p>
<p>I&#8217;ll describe the steps that I did.</p>
<h2>Designing the page</h2>
<p>First of all I designed the new &#8216;Access Denied&#8217; page. I designed it using Photoshop.</p>
<p><a href="http://danielcamargo.com/wp-content/uploads/2010/04/access-denied1.png"><img class="alignnone size-medium wp-image-57" title="embedding image in HTML" src="http://danielcamargo.com/wp-content/uploads/2010/04/access-denied1-300x177.png" alt="embedding image in HTML" width="300" height="177" /></a></p>
<h2>PSD to HTML</h2>
<p>After I&#8217;d designed the page I converted it to HTML.</p>
<p>I did it using my editor. I used the slice image technique due to by doing it I just needed only one image.</p>
<p>So I created a style class named <em>.image</em> and set its background with the image url.  After that I put this class in each element of my page that had a image than I just changed the background position to each one.</p>
<h2>Converting image to base64</h2>
<p>In order to embed the image I&#8217;d to convert it from binary to base64 string.</p>
<p>There are many ways to do it. I used a PHP function.</p>
<p>The PHP function that I used was:</p>
<pre>&lt;?php echo base64_encode(file_get_contents("myimage.png")) ?&gt;</pre>
<p>So this function returns a huge string.</p>
<h2>Putting image string into CSS</h2>
<p>I got the string that the PHP function returned and pasted it into my style class <em>.image</em>, it means I replaced the image url by the base64 string.</p>
<pre>.images{background:url(data:image/gif;base64,THE_HUGE_STRING_HERE);}</pre>
<h2>That is it</h2>
<p>That is it. After this simples steps I copied and pasted the HTML into the <em>textarea </em>field of the proxy settings. Now I have my &#8216;Access Denied&#8217; page is customized.</p>
<p>You can see the page here: <a href="http://danielcamargo.com/wp-content/uploads/2010/04/access-denied1.html">HTML file &#8211; Access Denied &#8211; Imagem embeded.</a></p>
<img src="http://feeds.feedburner.com/~r/danielcamargo/feed/~4/FcbHD6BvVoY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielcamargo.com/blog/embedding-image-in-html/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://danielcamargo.com/blog/embedding-image-in-html/</feedburner:origLink></item>
		<item>
		<title>jQuery snippets to Gedit</title>
		<link>http://feedproxy.google.com/~r/danielcamargo/feed/~3/vD0t7ia3dKQ/</link>
		<comments>http://danielcamargo.com/blog/jquery-snippets-to-gedit/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 13:54:33 +0000</pubDate>
		<dc:creator>pererinha</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[developing]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://danielcamargo.com/?p=1</guid>
		<description><![CDATA[I did some snippets in order to make my life easier and I believe that it can help you too. I extended the Javascript snippets, put another Javascripts functions and I also put a lot of jQuery functions. How does it works? You can learn more about the gedit Snippets plugin by reading this page [...]]]></description>
			<content:encoded><![CDATA[<p>I did some snippets in order to make my life easier and I believe that it can help you too. I extended the Javascript snippets, put another Javascripts functions and I also put a lot of jQuery functions.</p>
<h2><span><br />
How does it works?<br />
</span></h2>
<p>You can learn more about the gedit Snippets plugin by reading this page <a title="Gedit/Plugins/Snippets" href="http://live.gnome.org/Gedit/Plugins/Snippets">Gedit/Plugins/Snippets</a>.</p>
<h2><span><br />
Documentation<br />
</span></h2>
<p>If you want an overview of all jQuery and javascript snippets available, take a look into the <a title="JQuery snippets for the gedit Snippets plugin - documentation" href="http://danielcamargo.com/jquery-snippets-to-gedit-documentation/">documentation</a>.</p>
<h2><span><br />
Install<br />
</span></h2>
<p>You can download the snippet (js.xml) from github <a title="JQuery snippets for the gedit" href="http://github.com/pererinha/gedit-snippet-jquery/tree/master">http://github.com/pererinha/gedit-snippet-jquery/tree/master</a> and replace the one that is in the folder<br />
<span class="highlight-2">~/.gnome2/gedit/snippets</span>.</p>
<pre>
$ git clone git://github.com/pererinha/gedit-snippet-jquery.git

$ cp gedit-snippets/snippets/*.xml ~/.gnome2/gedit/snippets
</pre>
<h2><span><br />
More snippets<br />
</span></h2>
<p>You can find <a title="Ruby, Rails, RHTML and Shoulda snippets" href="http://blog.olszowka.de/2009/04/10/ruby-rails-rhtml-and-shoulda-snippets-for-gedit/"> Ruby, Rails, RHTML and Shoulda Snippets here</a>.</p>
<img src="http://feeds.feedburner.com/~r/danielcamargo/feed/~4/vD0t7ia3dKQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielcamargo.com/blog/jquery-snippets-to-gedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielcamargo.com/blog/jquery-snippets-to-gedit/</feedburner:origLink></item>
	</channel>
</rss>
