<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>C0d3@d1ct</title>
	<atom:link href="http://codeadict.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeadict.wordpress.com</link>
	<description>adicted to open source programing</description>
	<lastBuildDate>Fri, 14 Sep 2012 18:39:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codeadict.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>C0d3@d1ct</title>
		<link>http://codeadict.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codeadict.wordpress.com/osd.xml" title="C0d3@d1ct" />
	<atom:link rel='hub' href='http://codeadict.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Good bye Eclipse, say hello to Vim</title>
		<link>http://codeadict.wordpress.com/2011/03/29/good-bye-eclipse-say-hello-to-vim/</link>
		<comments>http://codeadict.wordpress.com/2011/03/29/good-bye-eclipse-say-hello-to-vim/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 16:26:36 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IDEs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=113</guid>
		<description><![CDATA[Keeping on my hard search for a professional an lightweight IDE for my Linux box i have finally decided for VIM(VI Improved). It have 34 years of continuous development and is powerfull and stable. I haved used Eclipse for years but i never have been so happy with it due to its great memory consuming [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=113&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Keeping on my hard search for a professional an lightweight IDE for my Linux box i have finally decided for <a href="http://www.vim.org">VIM</a>(VI Improved). It have 34 years of continuous development and is powerfull and stable. I haved used Eclipse for years but i never have been so happy with it due to its great memory consuming and my computer is a Pentium M with only 512 MB of RAM. I have found VIM some time ago on the internet but i thinked it is very hard, thats an erroneus idea, some time ago i decided switch and everything goes nice. I think i have lot of triks to learn still but now i see it better than Eclipse(In my opinion) due to its powerfull customization features and shocuts that prevent from loosin time giving click to do most operations. For now im using VIM for web and Open ERP development. It use is better and better while more you learn.</p>
<p>Vim basically works on 2 modes that can be switched by ESC key(That is my config mapping). The Insert mode is for editing text and the command mode for making operation on text by shorcuts or commands. I think is better work on basic mode to learn it and add more features as you learn. My current configuration includes:</p>
<ul>
<li>File explorer</li>
<li>HTML editing features with <a href="http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn">ZEN Coding</a> plugin</li>
<li>PHP debugging with Xdebug</li>
<li>Code completion</li>
<li>PHPDoc Support</li>
<li>VCS Support(Mercurial and BZR)</li>
</ul>
<p>Reggards to all visitors and any question please contact me on comments and i will respond soon. On future post i will write about features and tricks im going discovering on VIM.Vim is very documented online and on editor help itself. Here you can check a few links:</p>
<p><a href="http://www.vim.org/download.php">Download VIM</a><br />
<a href="http://vimdoc.sourceforge.net/htmldoc/usr_toc.html">Check Online Docs</p>
<div id="attachment_119" class="wp-caption aligncenter" style="width: 310px"><a href="http://codeadict.files.wordpress.com/2011/03/gvim.png"><img class="size-medium wp-image-119" title="gvim" src="http://codeadict.files.wordpress.com/2011/03/gvim.png?w=300&#038;h=225" alt="vim" width="300" height="225" /></a><p class="wp-caption-text">My VIM in Action</p></div>
<p></a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=113&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2011/03/29/good-bye-eclipse-say-hello-to-vim/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>

		<media:content url="http://codeadict.files.wordpress.com/2011/03/gvim.png?w=300" medium="image">
			<media:title type="html">gvim</media:title>
		</media:content>
	</item>
		<item>
		<title>Send e-mails with attachment in Python</title>
		<link>http://codeadict.wordpress.com/2010/02/11/send-e-mails-with-attachment-in-python/</link>
		<comments>http://codeadict.wordpress.com/2010/02/11/send-e-mails-with-attachment-in-python/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 14:11:35 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[smtplib]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=105</guid>
		<description><![CDATA[Now im working on a little applicatithat have to send emails with attachments in python, I make that code that can be reusable to someone:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=105&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Now im working on a little applicatithat have to send emails with attachments in python, I make that code that can be reusable to someone:</p>
<p><pre class="brush: python;">
# -*- coding: iso-8859-1 -*-
from email.mime.text import MIMEText
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
from smtplib import SMTP

msg = MIMEMultipart()
msg['Subject'] = 'Email From Python jajaja'
msg['From'] = 'dairon@ceac.cu'
msg['Reply-to'] = 'otroemail@dominio'
msg['To'] = 'rms@gnu.org'

# That is what u see if dont have an email reader:
msg.preamble = 'Multipart massage.\n'

# This is the textual part:
part = MIMEText(&quot;Hello im sending an email from a python program&quot;)
msg.attach(part)

# This is the binary part(The Attachment):
part = MIMEApplication(open(&quot;file.pdf&quot;,&quot;rb&quot;).read())
part.add_header('Content-Disposition', 'attachment', filename=&quot;file.pdf&quot;)
msg.attach(part)

# Create an instance in SMTP server
smtp = SMTP(&quot;smtp.domain.cu&quot;)
# Start the server:
smtp.ehlo()
smtp.login(&quot;yo@example.com&quot;, &quot;mipassword&quot;)

# Send the email
smtp.sendmail(msg['From'], msg['To'], msg.as_string())
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=105&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2010/02/11/send-e-mails-with-attachment-in-python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable USB storage devices in Linux</title>
		<link>http://codeadict.wordpress.com/2009/12/21/disable-usb-storage-devices-in-linux/</link>
		<comments>http://codeadict.wordpress.com/2009/12/21/disable-usb-storage-devices-in-linux/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 13:04:58 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[GNU/Linux cli]]></category>
		<category><![CDATA[kernel drivers]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=99</guid>
		<description><![CDATA[For security reasons, mainly in school are completely disabling USB storage devices on the computers at lab.  It is important because students can bring  a virus or also can leave with any private information. There is an easy way to do it in linux blacklisting the kernel driver: Open /etc/modprobe.d/blacklist.conf file. Type that line at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=99&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>For security reasons, mainly in school are completely disabling USB storage devices on the computers at lab.  It is important because students can bring  a virus or also can leave with any private information. There is an easy way to do it in linux blacklisting the kernel driver:</p>
<ol>
<li>Open <strong>/etc/modprobe.d/blacklist.conf </strong> file.</li>
<li>Type that line at end of file<strong> blacklist usb-storage</strong>.</li>
</ol>
<p>Now nobody can use a USB memory stick in that computer. To enable it again comment or delete that line.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=99&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/12/21/disable-usb-storage-devices-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>Show flags in gnome keyboard indicator</title>
		<link>http://codeadict.wordpress.com/2009/12/17/show-flags-in-gnome-keyboard-indicator/</link>
		<comments>http://codeadict.wordpress.com/2009/12/17/show-flags-in-gnome-keyboard-indicator/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 18:15:43 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[Gnome]]></category>
		<category><![CDATA[gnome panel]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=93</guid>
		<description><![CDATA[One of the things that i dont like of Gnome Desktop is the keyboard indicator applet  that not show country flags like KDE desktop. Searching in San Google i found a solution to fix it, by default gnome support flags but most distributions dont have this feature enabled, to enable it follow this steps:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=93&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>One of the things that i dont like of Gnome Desktop is the keyboard indicator applet  that not show country flags like KDE desktop. Searching in San Google i found a solution to fix it, by default gnome support flags but most distributions dont have this feature enabled, to enable it follow this steps:</p>
<ol>
<li>Press <strong>ALT+F2</strong> and it open the Execute App Dialog. Type <strong>gconf-editor </strong>and press<strong> Enter.</strong></li>
<li>Now, go to Desktop&gt;Gnome&gt;Peripherals&gt;Keyboard&gt;Indicator and check the box on the right side that says &#8220;showFlags&#8221;.  (If you have an older gnome desktop and u dont find it, try: Apps-&gt;gswitchit-&gt;Applet-&gt;showFlags).</li>
<li>Download the flags of languages that you use(You can download SVG files from Wikipedia searching the country name). Scale it to <strong>64&#215;43</strong> size and move to <strong>/usr/share/pixmaps</strong> Directory with name XX.png, where XX is the iso country name not the language name, for example i use es.png with cuban flag and my language is Spanish(Spain).</li>
<li>Now restart your session and you will see the flags in your panel:<a href="http://codeadict.files.wordpress.com/2009/12/gnome-panel1.png"><img class="aligncenter size-full wp-image-96" title="Gnome panel" src="http://codeadict.files.wordpress.com/2009/12/gnome-panel1.png?w=550" alt=""   /></a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=93&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/12/17/show-flags-in-gnome-keyboard-indicator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>

		<media:content url="http://codeadict.files.wordpress.com/2009/12/gnome-panel1.png" medium="image">
			<media:title type="html">Gnome panel</media:title>
		</media:content>
	</item>
		<item>
		<title>Recursive Search in python</title>
		<link>http://codeadict.wordpress.com/2009/11/12/recursive-search-in-python/</link>
		<comments>http://codeadict.wordpress.com/2009/11/12/recursive-search-in-python/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 16:19:26 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=76</guid>
		<description><![CDATA[I do this script to make recursive searches in a specified folder in Ubuntu Server.I shere it and hope will be usefull to someone:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=76&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<pre style="text-align:justify;">I do this script to make recursive searches in a specified folder in Ubuntu
Server.I shere it and hope will be usefull to someone:
<pre class="brush: python;">
#! /usr/bin/env python
import os

def search(path,file_name):
 try:
 files = os.listdir(path)
 trunk = 0
 except OSError:
 print “Access Denied: ” + path
 trunk = 1

 if trunk == 0:
 for f in files:
 if os.path.isdir(path + f):
 search(path + f + ‘/’,file_name)
 else:
 if file_name == f:
 print ‘Found : ‘ + path + f

if __name__ == ‘__main__’:
 path = raw_input(”Search Folder: “)
 file = raw_input(”File to Search: “)
 search(path,file)
</pre>

</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=76&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/11/12/recursive-search-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP &#8220;short tags&#8221;: a bad practice</title>
		<link>http://codeadict.wordpress.com/2009/11/11/php-short-tags-a-bad-practice/</link>
		<comments>http://codeadict.wordpress.com/2009/11/11/php-short-tags-a-bad-practice/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 15:42:20 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[clean code]]></category>
		<category><![CDATA[php standars]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=67</guid>
		<description><![CDATA[The use of php &#8220;short tags&#8221;( example: &#60;? echo &#8220;Hola Mundo!&#8221; ?&#62;) is a bad and common practice that many PHP developers still use. The shortags format is only aviable using the function short_tags() in PHP3 or activating the short_open_tag in php.ini configuration file(it comes activated by default). I dont recommend to use it when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=67&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The use of php &#8220;short tags&#8221;<strong>( example: &lt;? echo &#8220;Hola Mundo!&#8221; ?&gt;)</strong> is a bad and common practice that many PHP developers still use. The shortags format is only aviable using the function <em><strong>short_tags() </strong></em>in PHP3<em><strong> </strong></em>or activating the <strong>short_open_tag</strong> in php.ini configuration file(it comes activated by default). I dont recommend to use it when you develop applications to redistribute or use in external servers because it can cause conflicts for user if short tags are not enabled. In the official PHP manual and the Zend Framework manual  recommends not use &#8220;short tags&#8221; and it going to be deleted in version 6 of PHP. Remember that clearness is very important to a professional coder:<strong> use ever &lt;?php echo &#8220;Hola Mundo!&#8221; ?&gt;</strong>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=67&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/11/11/php-short-tags-a-bad-practice/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>Join PDF files in linux</title>
		<link>http://codeadict.wordpress.com/2009/10/20/join-pdf-files-in-linux/</link>
		<comments>http://codeadict.wordpress.com/2009/10/20/join-pdf-files-in-linux/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 13:00:39 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[GNU/Linux cli]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=65</guid>
		<description><![CDATA[Hello linux users: in this post i will show how to join two or more PDF files into one. You have to install the Ghostscript driver to do that, typing in a terminal(is for Debian and Ubuntu): apt-get install gs apt-get install pdftk Now we join the PDFs with this command: gs -dBATCH -dNOPAUSE -q [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=65&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hello linux users: in this post i will show how to join two or more PDF files into one. You have to install the Ghostscript driver to do that, typing in a terminal(is for Debian and Ubuntu):</p>
<p><strong>apt-get install gs<br />
apt-get install pdftk</p>
<p></strong>Now<strong> </strong>we join the PDFs with this command:</p>
<p><strong>gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=unidos.pdf  file1.pdf  file2.pdf<br />
</strong></p>
<p>Here is the explanation of command:<br />
<strong>gs:</strong> Call to the Ghostscript program.<br />
<strong>-dBATCH:</strong> Close the Ghostscript when terminate the process.<br />
<strong>-dNOPAUSE:</strong> Dont pause the program to aks for user interaction.<br />
<strong>-q: </strong>Dont show messages during the process.<br />
<strong>-sDEVICE=pdfwrite:</strong> Use Ghostscript PDF generator to do the process.<br />
<strong>-sOutputFile=unidos.pdf:</strong> The name of the result file.</p>
<p>You can also join all PDF files in a directory typing *.pdf.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=65&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/10/20/join-pdf-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking for help to start a statistic project in linux</title>
		<link>http://codeadict.wordpress.com/2009/10/16/looking-for-help-to-start-a-statistic-project-in-linux/</link>
		<comments>http://codeadict.wordpress.com/2009/10/16/looking-for-help-to-start-a-statistic-project-in-linux/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 13:06:25 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=61</guid>
		<description><![CDATA[Hello to all the linux comunity, im looking forward to start a new project. It consist in a statistic application with a nice GUI like Statistic or StatGraph in Windows enviroment, i think there is not a good visual statistic program for linux and users that work with statistic programs in Windows have dificulties to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=61&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hello to all the linux comunity, im looking forward to start a new project. It consist in a statistic application with a nice GUI like Statistic or StatGraph in Windows enviroment, i think there is not a good visual statistic program for linux and users that work with statistic programs in Windows have dificulties to migrate to Linux. GNU R is a powerfull statistic program, i will make my project based on R using python R(<a href="http://rpy.sourceforge.net/rpy2.html" rel="nofollow">http://rpy.sourceforge.net/rpy2.html</a>) and GTK2 toolkit. Please all the people interested in collaborate with code , artwork and ideas contact me please.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=61&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/10/16/looking-for-help-to-start-a-statistic-project-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux:how to mount partitions at startup</title>
		<link>http://codeadict.wordpress.com/2009/10/16/how-to-mount-partitions/</link>
		<comments>http://codeadict.wordpress.com/2009/10/16/how-to-mount-partitions/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 12:39:39 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[GNU/Linux cli]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/?p=58</guid>
		<description><![CDATA[If you want to add a extra drive/partition and want it to automatically mount on start up then heres what i did, there is other ways. Firstly you need to get the information of the drive/partition you want to mount. To do it open a Terminal and type the following command: blkid and you will get something [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=58&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you want to add a extra drive/partition and want it to automatically mount on start up then heres what i did, there is other ways.</p>
<ul>
<li>Firstly you need to get the information of the drive/partition you want to mount. To do it open a Terminal and type the following command:</li>
</ul>
<p><strong>blkid<br />
</strong>and you will get something like this:<strong><br />
/dev/<span style="color:#ff0000;">sda1</span>: UUID=&#8221;<span style="color:#ff0000;">FAF804CFF8048C57</span>&#8221; LABEL=&#8221;Sistema&#8221; TYPE=&#8221;<span style="color:#ff0000;">ntfs</span>&#8220;<br />
/dev/sda3: UUID=&#8221;87d8a036-4271-4063-81d0-fc8a78889bf6&#8243; TYPE=&#8221;ext4&#8243;<br />
/dev/sda5: UUID=&#8221;E884ED1284ECE3D2&#8243; LABEL=&#8221;Work&#8221; TYPE=&#8221;ntfs&#8221;<br />
/dev/sda6: UUID=&#8221;144A5E7CA87A5099&#8243; LABEL=&#8221;Sof-CEAC&#8221; TYPE=&#8221;ntfs&#8221;<br />
/dev/sda7: TYPE=&#8221;swap&#8221; UUID=&#8221;43a7e90c-7ad9-4790-a169-14ae9b8b1945&#8243;</strong></p>
<p>If you want to mount the first drive <strong><span style="color:#ff0000;">sda1</span></strong> named  &#8220;Sistema&#8221; you need tu login as root typing <span style="color:#ff0000;"><strong><span style="color:#000000;">su</span> </strong></span>and follow this steps:</p>
<ol>
<li>Create a new directory in /media with drive name, in this case <strong><span style="color:#ff0000;">sda1</span></strong>.<br />
<strong>mkdir /media/sda1</strong></li>
<li>Now you have to write  your<strong> /etc/fstab </strong>file to mount the partition, you need to change the red parts with your drive information.Type that command:<strong><br />
</strong>echo &#8220;UUID=<span style="color:#ff0000;">381046201045E60A</span> <span style="color:#990000;"><span style="color:#666666;">/media/</span><span style="color:#ff0000;">sda1</span></span><span style="color:#ff0000;"> ntfs</span> defaults 0 2&#8243; &gt;&gt; /etc/fstab</li>
<li>Now restart your computer and the drive should appear mounted automatically.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=58&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/10/16/how-to-mount-partitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
		<item>
		<title>Jquery Ctrl + Key function</title>
		<link>http://codeadict.wordpress.com/2009/10/09/jquery-ctrl-key-function/</link>
		<comments>http://codeadict.wordpress.com/2009/10/09/jquery-ctrl-key-function/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 18:16:59 +0000</pubDate>
		<dc:creator>codeadict</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://codeadict.wordpress.com/2009/10/09/jquery-ctrl-key-function/</guid>
		<description><![CDATA[Hello friends, in a recent PHP app im working i needed to make a Control+G key combination in a form to submit the data to a database. I create a Jquery function to make it easy and use with all Control + combinations, now i share it with the comunity, i hope it can be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=54&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hello friends, in a recent PHP app im working i needed to make a Control+G key combination in a form to submit the data to a database. I create a Jquery function to make it easy and use with all Control +  combinations, now i share it with the comunity, i hope it can be usefull to someone:</p>
<p><code><br />
$.ctrl = function(key, callback, args) {<br />
$(document).keydown(function(e) {<br />
if(!args) args=[]; // IE barks when args is null<br />
if(e.keyCode == key.charCodeAt(0) &amp;&amp; e.ctrlKey) {<br />
callback.apply(this, args);<br />
return false;<br />
}<br />
});<br />
};<br />
</code></p>
<p>The function can be called with 3 parameters, the first is the key you should press, second is the callback function to execute when you press the combination, and third is an additional array of arguments to pass to the callback funtion. Here is a function call example.</p>
<p><code><br />
$.ctrl('G', function(s) {<br />
alert(s);<br />
}, ["No presiones D"]);<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codeadict.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codeadict.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codeadict.wordpress.com&#038;blog=7647176&#038;post=54&#038;subd=codeadict&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codeadict.wordpress.com/2009/10/09/jquery-ctrl-key-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5899a2822d2e130a94298ca2662a3232?s=96&#38;d=http%3A%2F%2F2.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">codeadict</media:title>
		</media:content>
	</item>
	</channel>
</rss>
