<?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>eoncoder - iOS, OSX, Macs and Technology</title>
	<atom:link href="http://www.eoncoder.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eoncoder.com</link>
	<description>Blog where I collect technical information about Mobile Technology and Application Development and other cool stuff.</description>
	<lastBuildDate>Sat, 03 Sep 2011 17:10:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Thanks Steve</title>
		<link>http://www.eoncoder.com/107/thanks-steve-jobs</link>
		<comments>http://www.eoncoder.com/107/thanks-steve-jobs#comments</comments>
		<pubDate>Sun, 28 Aug 2011 15:06:05 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[Steve Jobs]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iMac]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[NEXT]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=107</guid>
		<description><![CDATA[Thanks Steve. For all those moments that have made us enjoy, desire and adore. By your imagination, your vision, your concept and the reality perfectly. Thanks to all you real magic wand could touch. Thank you very much for everything.]]></description>
			<content:encoded><![CDATA[
<p>Thanks Steve.</p>
<p>For all those moments that have made us enjoy, desire and adore. By your imagination, your vision, your concept and the reality perfectly. Thanks to all you real magic wand could touch.</p>
<p>Thank you very much for everything.</p>
<p><span id="more-107"></span></p>
<p><center><br />
<iframe width="598" height="478" src="http://www.youtube.com/embed/YxN_IwgeLTM" frameborder="0" allowfullscreen=""></iframe></center></p>
<p><center><br />
<img src="http://www.eoncoder.com/wp-content/uploads/2011/08/steve-jobs.jpg" alt="Thanks Steve Jobs" title="Thanks Steve Jobs" width="460" height="265" class="alignnone size-full wp-image-119" /><br />
</center></p>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/107/thanks-steve-jobs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Dojo Experience</title>
		<link>http://www.eoncoder.com/47/coding-dojo-experience</link>
		<comments>http://www.eoncoder.com/47/coding-dojo-experience#comments</comments>
		<pubDate>Wed, 13 Apr 2011 21:41:32 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Coding Dojo]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[CodingDojo]]></category>
		<category><![CDATA[Dojo]]></category>
		<category><![CDATA[Kata]]></category>
		<category><![CDATA[pair]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[refactorize]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[walqa]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=47</guid>
		<description><![CDATA[Friday April 8, 2011, are 14:45 and I am prepared to take a direction Walqa Technology Park in Huesca. There I will meet the challenge of my first Coding Dojo, led by the leadership of Rubén Bernardez (@ rubenbpv) and organized by Frogtek (@ Frogtek). These are 16:00, minutes up minutes down a minute to...]]></description>
			<content:encoded><![CDATA[
<p>Friday April 8, 2011, are 14:45 and I am prepared to take a direction Walqa Technology Park in Huesca. There I will meet the challenge of my first Coding Dojo, led by the leadership of Rubén Bernardez (@ rubenbpv) and organized by Frogtek (@ Frogtek).</p>
<p>These are 16:00, minutes up minutes down a minute to introduce ourselves and devirtualized a bit. There in the room we found the Spartans hungry for challenges, overcoming the counter programming of the sun terraces and 25 degrees on the street.</p>
<p>The Dojo is organized into three sections, a short break, a hash tag # codingdojohuesca and kata to develop &#8216;String Calculator&#8217;. The 3 blocks that we will be:</p>
<ul>
<li>Pair Programming.</li>
<li>Team Kata.</li>
<li>Resolution of the Kata and conclusions.</li>
</ul>
<p><span id="more-47"></span><br />
<strong>Pair Programming</strong></p>
<p><img class="alignright" title="Pair Programming" src="http://desmond.yfrog.com/Himg612/scaled.php?tn=0&amp;server=612&amp;filename=kh2et.jpg&amp;xsize=640&amp;ysize=640" alt="Pair Programming" width="307" height="184" /> Time to dive into the first challenge, a way of teaching and learning. Was divided into two iterations, each component with their skills and languages ​​(PHP, Java, C + +, Scala &#8230;). The first iteration was ranked good time to have a pupil and to teach, and of course learn, and the second iteration, to be educated and do another form of the challenge. My companions were @ programania in the first iteration, and @ ggalmazor in the second iteration, it was great the two iteration.</p>
<p>There he opened the light of practicing TDD as a focus for better solutions. Learn the magic key of refactoring, the Ctrl + R. (If we talk about Visual Studio Twice Ctrl + R to variables, and in the case of method or function Ctrl + R, Ctrl + M).</p>
<p>Two iterations are completed, we headed to a break spiced with a snack.</p>
<p><strong>Team Kata</strong></p>
<p><img class="alignright size-medium wp-image-52" title="Team Kata" src="http://www.eoncoder.com/wp-content/uploads/dojo_kata-300x219.jpg" alt="Team Kata" width="300" height="219" />We divided into two groups, each group chose a language to address the kata. The first group select Java for their development and the second PHP. There in that moment the screen was opened with the word between the two teams VS PHP vs JAVA, as if the screen of a fighting game before the fight. Rather than fight, looking forward to the kata and fun with a different format.</p>
<p>Two computers with two projectors, a driver has the computer keyboard and passenger assistance directly to the pilot, in blocks of 7 minutes the pilot goes to enter another component from the active reserve to be in a position to co-pilot.</p>
<p>There he developed the kata, it seemed that Java took the lead but a small lapse in the use of regular expressions and a little extra by the PHP team in making the decision to reorganize and refactor the code gave the lead for the PHP language.</p>
<p><strong>Resolution of the Kata.</strong></p>
<p><img class="alignright" title="Ruben's Solving The Kata" src="http://desmond.yfrog.com/Himg614/scaled.php?tn=0&amp;server=614&amp;filename=ixkkh.jpg&amp;xsize=640&amp;ysize=640" alt="" width="307" height="205" />Sensei Ruben, we treat to see resolution of the kata in a pomodoro, the language chosen was C #. NET Visual Studio. There on the screen begins to flow, efficient use of the keyboard and keys. A test passes, the second also, refactoring of a method, a variable of another method, a small debug time, we take a step back to the previous test in less than a pomodoro solution to the kata is completed.</p>
<p>Opens the time of questions and conclusions with a table of Pluses and Deltas of the Coding Dojo, highlighting details that can improve by all present.</p>
<p><strong>Conclusions</strong></p>
<p>A Coding Dojo is a good time to seek knowledge, power, transmit and see other points of view, it is advisable to go with a very open perspective., Also serves to make you fall dogmas or bad practices of how to deal with development program, learning the proper use of practices based on TDD, refactoring and avoiding the use, rather abuse, debugger, we can waste precious time and make us less efficient.</p>
<p>It is also a good time to meet people around us, with the same interests and similar views. Is a good time to devirtualized the world and get a face 2.0 1.0.</p>
<p>Thanks to Ruben and Frogtek by the organization and experience, and of course all of us involved in the Dojo.</p>
<p><strong>Related with #codingdojohuesca</strong></p>
<ul>
<li><a title="Kata Details" href="http://www.rubenbernardez.com/blog/2011/03/coding-dojo-en-huesca-el-proximo-8-de-abril/" target="_blank">Kata Deails for Coding Dojo by Ruben&#8217;s Blog</a></li>
<li><a title="Convocatoria" href="http://developing.frogtek.org/2011/03/23/segundo-coding-dojo-de-frogtek-en-walqa/" target="_blank">Convocatoria de la Coding Dojo por Frogtek</a></li>
<li><a title="Twitter #codingdojohuesca" href="http://twitter.com/search?q=%23codingdojohuesca" target="_blank">Twitter con el seguimiento del hashtag #codingdojohuesca</a></li>
<li><a title="Cachirulo Valley" href="http://cachirulovalley.com/2011/coding-dojo-en-walqa-organizado-por-frogtek-y-ruben-bernardez/" target="_blank">Articulo del Coding Dojo en Cachirulo Valley</a></li>
</ul>
<p><strong>Sources</strong></p>
<ul>
<li>Programming Photo by <a title="Twitter @rubenbpv" href="http://twitter.com/rubenbpv" target="_blank">@rubenbpv</a> - <a href="http://yfrog.com/h0kh2etj">http://yfrog.com/h0kh2etj</a></li>
<li> Randori Kata Picture: <a title="Randori Kata" href="http://www.flickr.com/photos/kjempekjekt/3485959503/" target="_blank">http://www.flickr.com/photos/kjempekjekt/3485959503/</a></li>
<li>Ruben&#8217;s Photo solving the Kata by  @<a title="Twitter @penuinjournals" href="http://yfrog.com/user/penguinjournals/profile" target="_blank">penguinjournals</a> - <a title="Ruben's Photo solving the Kata" href="http://yfrog.com/h2ixkkhj" target="_blank">http://yfrog.com/h2ixkkhj</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/47/coding-dojo-experience/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Apologies Steve Jobs and Apple Fans … Welcome Cool Surprises and increases in the stock markets</title>
		<link>http://www.eoncoder.com/34/my-apologies-steve-jobs-and-apple-fans</link>
		<comments>http://www.eoncoder.com/34/my-apologies-steve-jobs-and-apple-fans#comments</comments>
		<pubDate>Mon, 17 Jan 2011 22:44:24 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[appletv]]></category>
		<category><![CDATA[bolsa]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[keynote]]></category>
		<category><![CDATA[markets]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=34</guid>
		<description><![CDATA[Today, every fan of apple company had read a bad news by Apple. Steve Jobs will retire from front line of Apple, about his sick has been a long time ago. Since, I wish that he will has an early recovery for bigger character in the Computing World and I am one of his fans....]]></description>
			<content:encoded><![CDATA[
<div id="attachment_36" class="wp-caption alignright" style="width: 250px"><a href="http://www.eoncoder.com/wp-content/uploads/Steve-Jobs-to-Drop-the-Bomb-on-the-iPhone.jpg"><img class="size-medium wp-image-36 " title="Steve Jobs" src="http://www.eoncoder.com/wp-content/uploads/Steve-Jobs-to-Drop-the-Bomb-on-the-iPhone-300x214.jpg" alt="Steve Jobs" width="240" height="171" /></a><p class="wp-caption-text">Steve Jobs</p></div>
<p>Today, every fan of apple company had read a bad news by Apple. Steve Jobs will retire from front line of Apple, about his sick has been a long time ago. Since, I wish that he will has an early recovery for bigger character in the Computing World and I am one of his fans.</p>
<p>Steve Jobs has been showed to everybody a Personal Computing Revolution, Laptop Computers, PDAs (Newton, iPhone and iPad), Music Players (iPod), Mobile Phones (iPhone) and the last one, the iPad, that is revolutionizing our sofas. But the echoes from this bad new, just make me think a number things. After a few months with different advances that be or not to be in the next upgrades to New Apple Devices, among which are the iPod, iPad, iPhone and AppleTV. I asked me why is the reason of the last new, before the next Keynote by Apple.</p>
<p>In the next lines I would like show you the context about the next Apple Keynote will can be, in the following points:</p>
<ol>
<li>Let&#8217;s see to big step by Apple.</li>
<li>We have to get used to see fewer times Steve Jobs.</li>
<li>The Stock Markets reactions</li>
</ol>
<p><span id="more-34"></span></p>
<p><strong>Let&#8217;s see to big step by Apple.</strong></p>
<p>I think so, could mean one thing, we will see major news in the next keynote. It will be hard without see Steve in the keynote, but we will presage something big (And this part is connected with third section &#8216;The Stock Markets reactions&#8217;)</p>
<p>We will can see in the next keynote:</p>
<ul>
<li>New iPhone 5 or iPhone Revision, with new cpus and new options.</li>
<li>New iPad with FaceTime, High quality games, etcetera.</li>
<li>New AppleTV, includes streaming services, games and large etcetera.</li>
<li>More surprises or the balloon will be deflated.</li>
</ul>
<p><strong>We have to get used to see fewer times Steve Jobs.</strong></p>
<p>It is clear, Steve is tired to be the company head and we had seen that the time of the keynotes are distributed with different people in every area. Will we see him again?, it&#8217;s the question but the time will tell us and more the company will need in the future.</p>
<p><strong>The Stock Markets reactions</strong></p>
<p>As we have observed the Apple Shares and the Steve Jobs Health are connected. Today for example, in the moment when the Steve Jobs Health news come out by different media, then we got a negative reactions in different Stocks Markets. Except in the Wall Street has a bank day, but we will see negative reactions that&#8217;s coming tomorrow.</p>
<p>Just make me think … It could be positive reactions that gain value in the Apple Shares in the future, probably I am mistaken, but there may big news soon. Why, it is clear that Apple is a big company with a precise marketing and knows how could play well to earn in short time. Could not yet know if long-term benefits.<br />
I from here, as a big fan and Apple follower, I wish the best and acclaim its decisions but I might take  Steve to try preserve as in Futurama, but everybody know that is not possible.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/34/my-apologies-steve-jobs-and-apple-fans/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rubik&#8217;s cube official world record 6.77 seconds</title>
		<link>http://www.eoncoder.com/20/rubiks-cube-official-world-record-6-77-seconds</link>
		<comments>http://www.eoncoder.com/20/rubiks-cube-official-world-record-6-77-seconds#comments</comments>
		<pubDate>Mon, 15 Nov 2010 18:41:00 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[Rubik]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[gadget]]></category>
		<category><![CDATA[rubik]]></category>
		<category><![CDATA[world record]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=20</guid>
		<description><![CDATA[To run out of words]]></description>
			<content:encoded><![CDATA[
<p>To run out of words</p>
<p><object width="499" height="306"><param name="movie" value="http://www.youtube.com/v/t32VQ2HeELA?fs=1&amp;hl=en_US&amp;color1=0x006699&amp;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/t32VQ2HeELA?fs=1&amp;hl=en_US&amp;color1=0x006699&amp;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="499" height="306"></embed></object></p>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/20/rubiks-cube-official-world-record-6-77-seconds/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DD-WRT. How to recover an actual date when the router will suffer a power outage</title>
		<link>http://www.eoncoder.com/13/dd-wrt-how-to-recover-an-actual-date-when-the-router-will-suffer-a-power-outage</link>
		<comments>http://www.eoncoder.com/13/dd-wrt-how-to-recover-an-actual-date-when-the-router-will-suffer-a-power-outage#comments</comments>
		<pubDate>Tue, 19 Oct 2010 20:12:15 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[DD-WRT]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[SysOp]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wrt]]></category>
		<category><![CDATA[wrt54g]]></category>
		<category><![CDATA[wrt54gl]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=13</guid>
		<description><![CDATA[Sometimes when there will suffer a power outage in some versions of routers, there lose all data stored in the RAM, like dates stored, it kept back to those wonderful 1970. This causes issues in some services, the most affected is the OpenVPN service, as it causes that the services doesn&#8217;t start disabling external access...]]></description>
			<content:encoded><![CDATA[
<p><img class="void size-medium alignleft" style="margin-right: 10px;" title="WRT54GL Corner" src="/wp-content/uploads/wrt54gl_corner-112x300.png" alt="WRT54GL" width="112" height="300" /></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p lang="en-US">Sometimes when there will suffer a power outage in some versions of routers, there lose all data stored in the RAM, like dates stored, it kept back to those wonderful 1970. This causes issues in some services, the most affected is the OpenVPN service, as it causes that the services doesn&#8217;t start disabling external access to the local network.</p>
<p lang="en-US">In this small tutorial, I will indicate how to solve this small contingency of the easiest way, without using the NTP service, since in some cases can not recover a date until the restart an Internet connection, such ADSL or 3G.</p>
<p><span id="more-13"></span></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->To begin we will open a browser to access The Web Administration of our router with DD-WRT.</p>
<p style="text-align: center;"><a title="Main page" href="http://www.flickr.com/photos/39008449@N07/4528001732/"><img class="alignnone" src="http://farm5.static.flickr.com/4049/4528001732_ae55dc1ae2.jpg" alt="Main page" /></a></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p lang="en-US">Now clicks to the option &#8216;Administration&#8217; → &#8216;Commands&#8217;. Once located in this part of backbend. Clicking on the button &#8216;Edit&#8217; from &#8216;Startup&#8217; Section.</p>
<p style="text-align: center;"><a title="Script Page" href="http://www.flickr.com/photos/39008449@N07/4528001834/"><img class="alignnone" src="http://farm5.static.flickr.com/4069/4528001834_b0b8c5f055.jpg" alt="Script Page" /></a></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->And add the next  commands in &#8216;Startup&#8217; Shell Script. In the end of entry we deailled how works this script.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Update Date</span><br />
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">15</span><br />
<span style="color: #007800;">v_value</span>=<span style="color: #000000; font-weight: bold;">`</span>nvram get date_file<span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #007800;">v_date</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>m<span style="color: #000000; font-weight: bold;">%</span>d<span style="color: #000000; font-weight: bold;">%</span>H<span style="color: #000000; font-weight: bold;">%</span>M<span style="color: #000000; font-weight: bold;">%</span>Y<span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$v_value</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$v_date</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; <span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #007800;">$v_value</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;v_value=<span style="color: #000099; font-weight: bold;">\$</span>(nvram get date_file)<br />
v_date=<span style="color: #000099; font-weight: bold;">\$</span>(date +%m%d%H%M%Y)<br />
if [ <span style="color: #000099; font-weight: bold;">\$</span>v_value \&lt; <span style="color: #000099; font-weight: bold;">\$</span>v_date ]<br />
then<br />
nvram set date_file=<span style="color: #000099; font-weight: bold;">\$</span>v_date<br />
fi&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>.sh.cron.date_set<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'*/15 * * * * root /bin/sh /tmp/.sh.cron.date_set'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>crontab</div></div>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->It is the time to save the script, we will go to bottom page and clicks on “Save Startup” button.</p>
<h2><strong> </strong></p>
<p><strong>Enable a Cron Services</strong></p>
<p><strong> </strong></h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->If the Cron Service is disabled, we recommend enabling it. as the way keep in memory the system date through Cron Script that it is generated in the &#8216;Startup&#8217;.</p>
<p style="text-align: center;"><a title="Cron Page" href="http://www.flickr.com/photos/39008449@N07/4528001958/"><img class="alignnone" src="http://farm5.static.flickr.com/4003/4528001958_135012afa1.jpg" alt="Cron Page" /></a></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->To enable this option we will go to the backend web and direct &#8216;Administration&#8217; → &#8216;Management&#8217;.</p>
<p>In the &#8216;cron&#8217; section will enable clicking in &#8216;Enable&#8217; Option.</p>
<p>Once selected we will click in the the buttons &#8216;Save&#8217; and &#8216;Apply Settings&#8217;, in htat order, located in the bottom of page. And the cron service will be enabled on our router.</p>
<h2><strong>Save date a first time</strong></h2>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } -->But we have one last step, there set a default variables for the first time. We will open a terminal application as &#8216;putty&#8217; for windows or a terminal application in GNU/Linux or OSX and accesed via SSH service to router. We will use the following the next command.</p>
<p><div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> root<span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>dirección del router<span style="color: #7a0874; font-weight: bold;">&#93;</span></div></div>
</p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } -->Connect and enter a right password.</p>
<p>Once inside we will set a system date with a date command following a next structure.</p>
<p><div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">date</span> MMDDHHMMYYYY</div></div>
</p>
<p>Every valour main:</p>
<ul>
<li>MM: Month. From 01 to 12.</li>
<li>DD: Day. From 01 to 31.</li>
<li>HH: Hours. From 00 to 23.</li>
<li>MM. Minutes. From 00 to 59.</li>
<li>YYYY. Year. For example 2010.</li>
</ul>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } -->For example  if we use the following date, at 21:14 of April 11, 2010, the result will be.</p>
<p><div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">date</span> 041121142010</div></div>
</p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p lang="en-US">Press &#8216;Enter&#8217; Key and we have a actual date in the router, now we need only put in the memory of it, we use the following command.</p>
<p><div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>.sh.cron.date_set</div></div>
</p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		TD P { margin-bottom: 0cm; text-align: center } 		TD P.cjk { font-size: 10pt } 		TD P.table-contents -code-western { background: transparent; font-family: "Courier New", monospace; font-size: 8pt; font-weight: normal; text-align: left; page-break-before: auto } 		TD P.table-contents -code-cjk { background: transparent; font-size: 10pt; text-align: left; page-break-before: auto } 		TD P.table-contents -code-ctl { background: transparent; text-align: left; page-break-before: auto } 		H5 { margin-bottom: 0.21cm } 		H5.western { font-family: "Arial", sans-serif; font-size: 9pt } 		H5.cjk { font-size: 11pt } 		H5.ctl { font-size: 11pt } --></p>
<p>And we have a date saved, to check it we will execute the following command.</p>
<p><div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">nvram get date_file</div></div>
</p>
<p>If this returns the date that we introduced to execute the command &#8216;date&#8217;, everything went successfully. Now we will test all functionality, shutting down and restarting the router by removing from the power supply. If everything works right then that means that the efficiency of the script is correct.</p>
<h2>¿What exactly does this script?</h2>
<p>Now its discovered that does exactly the script detailed above. This script is divided into three blocks, which we shall call:</p>
<ol>
<li>Update a system date.</li>
<li>Creation script that sets date in memory.</li>
<li>Update a Cron.</li>
</ol>
<h3><em><strong>Update a System Date</strong></em></h3>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">15</span><br />
<span style="color: #007800;">v_value</span>=<span style="color: #000000; font-weight: bold;">`</span>nvram get &nbsp;date_file<span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #007800;">v_date</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> &nbsp;+<span style="color: #000000; font-weight: bold;">%</span>m<span style="color: #000000; font-weight: bold;">%</span>d<span style="color: #000000; font-weight: bold;">%</span>H<span style="color: #000000; font-weight: bold;">%</span>M<span style="color: #000000; font-weight: bold;">%</span>Y<span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$v_value</span> \<span style="color: #000000; font-weight: bold;">&gt;</span> &nbsp;<span style="color: #007800;">$v_date</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; <span style="color: #c20cb9; font-weight: bold;">date</span> &nbsp;<span style="color: #007800;">$v_value</span><br />
<span style="color: #000000; font-weight: bold;">fi</span></div></div>
<p>This part of code gets a stored date from memory of router. If it is greather than system date, the script will update it.</p>
<h3 lang="en-US"><em><strong>Creation script that sets date in memory.</strong></em></h3>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;v_value=<span style="color: #000099; font-weight: bold;">\$</span>(nvram get date_file)<br />
v_date=<span style="color: #000099; font-weight: bold;">\$</span>(date &nbsp;+%m%d%H%M%Y)<br />
if [ <span style="color: #000099; font-weight: bold;">\$</span>v_value \&lt; <span style="color: #000099; font-weight: bold;">\$</span>v_date ]<br />
then<br />
&nbsp; nvram &nbsp; set date_file=<span style="color: #000099; font-weight: bold;">\$</span>v_date<br />
fi&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>.sh.cron.date_set</div></div>
<p lang="en-US">This part generate the script that will be user later for the cron service, makes a &#8216;echo&#8217; into temporary file.</p>
<p lang="en-US">Update a Cron.</p>
<p lang="en-US">
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'*/15 * * * * root /bin/sh /tmp/.sh.cron.date_set'</span> &nbsp;<span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>crontab</div></div>
</p>
<p lang="en-US">In the end do a &#8216;echo&#8217; in the crontab file, adding on line to execute the previously generated script every 15 minutes.</p>
<h2 lang="en-US">Things to improve</h2>
<p>Last note, the cron script store the system date every 15 minutes,  may do slight delays, but it can work right. To improve it, there would be desirable to introduce as a recovery process by NTP service automatically, since by now we have to do manually.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/13/dd-wrt-how-to-recover-an-actual-date-when-the-router-will-suffer-a-power-outage/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CPU vs GPU by NVIDIA</title>
		<link>http://www.eoncoder.com/8/cpu-vs-gpu-by-nvidia</link>
		<comments>http://www.eoncoder.com/8/cpu-vs-gpu-by-nvidia#comments</comments>
		<pubDate>Sat, 18 Sep 2010 19:52:13 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[Graphic Cards]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[NVIDIA]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[cpu vs gpu]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[graphic card]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[vs]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=8</guid>
		<description><![CDATA[Funny video shows the difference between CPU and GPU, explained easy and funny. It was showed in one presentation from nVidia Conference.]]></description>
			<content:encoded><![CDATA[
<p>Funny video shows the difference between CPU and GPU, explained easy and funny. It was showed in one presentation from nVidia Conference.</p>
<p><center><br />
<object width="500" height="360"><param name="movie" value="http://www.youtube.com/v/XtGf0HaW7x4?fs=1&amp;hl=en_US&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/XtGf0HaW7x4?fs=1&amp;hl=en_US&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="400"></embed></object><br />
</center></p>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/8/cpu-vs-gpu-by-nvidia/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.eoncoder.com/1/hello-world</link>
		<comments>http://www.eoncoder.com/1/hello-world#comments</comments>
		<pubDate>Sun, 05 Sep 2010 08:49:44 +0000</pubDate>
		<dc:creator>eoncoder</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Main]]></category>

		<guid isPermaLink="false">http://www.eoncoder.com/?p=1</guid>
		<description><![CDATA[Hello World!!!. Welcome to my blog. There is a first message in my blog.]]></description>
			<content:encoded><![CDATA[
<p>Hello World!!!. Welcome to my blog. There is a first message in my blog.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.eoncoder.com/1/hello-world/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

