<?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>Craft It Online!</title>
	<atom:link href="http://www.craftitonline.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.craftitonline.com</link>
	<description>He is no fool who gives what he cannot keep to gain what he cannot lose - christian martyr</description>
	<lastBuildDate>Mon, 14 May 2012 05:17:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<image>
  <link>http://www.craftitonline.com</link>
  <url>http://www.craftitonline.com/favicon.ico</url>
  <title>Craft It Online!</title>
</image>
		<item>
		<title>5 days to kiss bye bye to PHPStorm</title>
		<link>http://www.craftitonline.com/2012/05/5-days-to-kiss-bye-bye-to-phpstorm/</link>
		<comments>http://www.craftitonline.com/2012/05/5-days-to-kiss-bye-bye-to-phpstorm/#comments</comments>
		<pubDate>Mon, 14 May 2012 02:47:55 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=3038</guid>
		<description><![CDATA[Because license is expiring PHPStorm although good looking and increasingly fast has to go too like all things. It cannot stay for long. So I decided I will switch to vim. This has to also do with the fact that &#8230; <a href="http://www.craftitonline.com/2012/05/5-days-to-kiss-bye-bye-to-phpstorm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Because license is expiring PHPStorm although good looking and increasingly fast has to go too like all things. It cannot stay for long. So I decided I will switch to vim. This has to also do with the fact that doing pair programming with teamviewer7 is getting heavy for my hardware and network. Wemux/tmux provide more freedom and focus on the actual code and things so I am doing the switch. I asked some friends about I conclude vim has to be and not a secondary replacement like sublimetext2 which is also not free like phpstorm. So this has to be if not what are we teaching after all new developers? I hate to see my symfony2 colors gone but once I become more proficient with vim I can start coding to get the same colors in vim.</p>
<p>One can read this and install plugins and follow instructions including what is said on the comments to solve pitfalls. So far is good the only thing that bothers me now is the file navigation and correct indexing of all files in projects.</p>
<p>http://lenss.nl/2011/04/vim-for-a-php-developer/</p>
<p>Now let&#8217;s take a look at this repo here:</p>
<p>https://github.com/tobyS/vip</p>
<p>After some tests trying to clone everzet/ornicar dot files and symlink the vim and vimrc to my dot versions on my home I failed because they use macs. I wish someone could point me to similar dot files for ubuntu/linux. Anyway, I will soon leave phpstorm.</p>
<p>I left it: https://github.com/spf13/spf13-vim This link just settled it for me, no more looking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/05/5-days-to-kiss-bye-bye-to-phpstorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two-way Wemux-based Pair Programming: Part II &#8211; The One You Die To See</title>
		<link>http://www.craftitonline.com/2012/05/two-way-wemux-based-pair-programming-part-ii-the-one-you-die-to-see/</link>
		<comments>http://www.craftitonline.com/2012/05/two-way-wemux-based-pair-programming-part-ii-the-one-you-die-to-see/#comments</comments>
		<pubDate>Sun, 13 May 2012 01:34:07 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=3034</guid>
		<description><![CDATA[On our previous post we saw how to configure a default wemux session to pair program in mirror mode. In this post we will see how to switch to rogue mode so that we can have two terminals in our &#8230; <a href="http://www.craftitonline.com/2012/05/two-way-wemux-based-pair-programming-part-ii-the-one-you-die-to-see/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.craftitonline.com/wp-content/uploads/2012/05/Selection_276.png"><img src="http://www.craftitonline.com/wp-content/uploads/2012/05/Selection_276-1024x435.png" alt="" title="Selection_276" width="584" height="248" class="aligncenter size-large wp-image-3035" /></a></p>
<p>On our previous post we saw how to configure a default wemux session to pair program in mirror mode. In this post we will see how to switch to rogue mode so that we can have two terminals in our ubuntu or linux machines that can monitor one on the right and one on the left. The right one will display a shared view/edit session belonging to one programmer and the left one will display a shared view/edit session belonging to the other programmer on the other end.</p>
<p>In order to do this we configure the wemux.conf file:</p>

<div class="wp_syntax"><div class="code"><pre class="php">sudo pico <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>etc<span class="sy0">/</span>wemux<span class="sy0">.</span>conf</pre></div></div>

<p>Here we switch the flags to support rogue mode and switching to servers as described in the text in there.</p>
<p>As default wemux only creates one session and expect everyone to reuse this session in a single host/server. In order to create more than one session we follow the series of commands as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="php">wemux list<span class="sy0">-</span>sessions  <span class="co1">// list sessions</span>
wemux <span class="sy0">-</span>S <span class="sy0">/</span>tmp<span class="sy0">/</span>wemux<span class="sy0">-</span>wemux new<span class="sy0">-</span>session <span class="sy0">-</span>s checarlitos <span class="co1">// creates new session named checarlitos</span>
wemux <span class="sy0">-</span>S <span class="sy0">/</span>tmp<span class="sy0">/</span>wemux<span class="sy0">-</span>wemux attach<span class="sy0">-</span>session <span class="sy0">-</span>t checarlitos <span class="co1">// attach to a previously created session named checarlitos</span></pre></div></div>

<p>Following the creation of two sessions in separate terminals we put them side to side. In one we attach to one session and in the other to the other session. That is it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/05/two-way-wemux-based-pair-programming-part-ii-the-one-you-die-to-see/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn to pair program with wemux like the top Symfony2 devs</title>
		<link>http://www.craftitonline.com/2012/05/wemux-thing/</link>
		<comments>http://www.craftitonline.com/2012/05/wemux-thing/#comments</comments>
		<pubDate>Sat, 12 May 2012 06:27:16 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=3026</guid>
		<description><![CDATA[If you have been around long enough you have probably heard about wemux or tmux. The thing sounds very confusing and the readme on wemux github repo does not make it any easier to newbies like us. But I was &#8230; <a href="http://www.craftitonline.com/2012/05/wemux-thing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have been around long enough you have probably heard about wemux or tmux. The thing sounds very confusing and the readme on wemux github repo does not make it any easier to newbies like us. But I was stubborn enough to get the first human newbie readable information on what this is and how it works and how it can help. And also where I got stuck and need some real help.</p>
<p>So the first thing is of course to clone the repo and start following the first manual installing instructions from the reamde at <a href="https://github.com/zolrath/wemux" title="https://github.com/zolrath/wemux">https://github.com/zolrath/wemux</a>.<br />
The second thing is when you realize and say &#8220;what is this thing?&#8221; or &#8220;why am I doing this?&#8221;. Basically wemux is a wrapper like cli tool sitting on top of tmux. What is tmux? tmux is a terminal multiplexer tool, it basically allows splitting your windows into several panes and hook sessions with different users. You could just use tmux alone, but why trying to show off something we don&#8217;t know about? Let&#8217;s just use wemux, wemux saves us to do some hard work on tmux or so we think. So after setting everything wemux readme says we should we are still at odds because we want to know how do I tell my friend to pair program with me? Well, the thing you want to do is to first have a way your friend can connect to you and look up the same code via ssh to your computer. Then you both can edit the same file or different files at the same time in different panes. For that you would need a bit of setup.</p>
<p>Third thing, you want to make sure your IP is reachable by your friend. So you &#8220;port forward&#8221; from firewall to your ip on the inside. The port to forward is 22 from your router to your computer. This can be done by opening a browser on 192.168.1.1 and configuring your router ADSL or other to forward a port. If you cannot figure out where that option is it would be good to take a look at your router manual.</p>
<p>Fourth thing, because your ubuntu or linux box is running a firewall you need to open up to forward that port 22. This advanced stuff can be summarized with the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="php">sudo iptables <span class="sy0">-</span>L <span class="sy0">-</span>n <span class="sy0">|</span> grep ACCEPT  <span class="co1">// this is just to see what is there</span>
sudo iptables <span class="sy0">-</span>A INPUT <span class="sy0">-</span>p tcp <span class="sy0">--</span>dport ssh <span class="sy0">-</span>j ACCEPT  <span class="co1">// this one is the real stuff that makes the difference</span></pre></div></div>

<p>This command opened the firewall on my box for the ssh to not timeout. Now an external user, my friend can join my box. However he does not have a user account yet!</p>
<p>Fifth thing, now we create an (ssh) user account into my box.</p>

<div class="wp_syntax"><div class="code"><pre class="php">~ sudo adduser mark
Adding user `mark<span class="st_h">' ...
Adding new group `mark'</span> <span class="br0">&#40;</span><span class="nu0">1002</span><span class="br0">&#41;</span> <span class="sy0">...</span>
Adding <span class="kw2">new</span> user `mark<span class="st_h">' (1002) with group `mark'</span> <span class="sy0">...</span>
Creating home directory `<span class="sy0">/</span>home<span class="sy0">/</span>mark<span class="st_h">' ...
Copying files from `/etc/skel'</span> <span class="sy0">...</span>
Enter <span class="kw2">new</span> UNIX password<span class="sy0">:</span> 
Retype <span class="kw2">new</span> UNIX password<span class="sy0">:</span> 
passwd<span class="sy0">:</span> password updated successfully
Changing the user information <span class="kw1">for</span> mark
Enter the <span class="kw2">new</span> value<span class="sy0">,</span> or press ENTER <span class="kw1">for</span> the <span class="kw1">default</span>
	Full Name <span class="br0">&#91;</span><span class="br0">&#93;</span><span class="sy0">:</span> Mark
	Room Number <span class="br0">&#91;</span><span class="br0">&#93;</span><span class="sy0">:</span> 
	Work Phone <span class="br0">&#91;</span><span class="br0">&#93;</span><span class="sy0">:</span> 
	Home Phone <span class="br0">&#91;</span><span class="br0">&#93;</span><span class="sy0">:</span> 
	Other <span class="br0">&#91;</span><span class="br0">&#93;</span><span class="sy0">:</span> 
Is the information correct? <span class="br0">&#91;</span>Y<span class="sy0">/</span>n<span class="br0">&#93;</span></pre></div></div>

<p>Sixth thing, now I run:</p>

<div class="wp_syntax"><div class="code"><pre class="php">wemux start
wemux users
<span class="co1">// then use your vim or pico editor to work on your files</span>
<span class="co1">// and also use tmux commands to split or do work with your panes</span></pre></div></div>

<p>Tell your friend to ssh you using the ip you see in http://www.whatsmyip.org with his user and password and then ask him to try to attach to server or join you. His username has to be in the host_list or such. He then can pair program with you!<br />
Now I have problems with the pair mode, it seems everytime my friend connects it goes into mirror mode. How to solve this?</p>
<p><a href="http://www.craftitonline.com/wp-content/uploads/2012/05/Selection_273.png"><img src="http://www.craftitonline.com/wp-content/uploads/2012/05/Selection_273.png" alt="" title="Selection_273" width="704" height="432" class="aligncenter size-full wp-image-3032" /></a></p>
<p>Special thanks to my friend Mark Badolato.</p>
<p>Doing better than what I deserve by the Lord&#8217;s grace!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/05/wemux-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPPeru: It is a bout a community and the masses</title>
		<link>http://www.craftitonline.com/2012/05/phpperu-it-is-a-bout-a-community-and-the-masses/</link>
		<comments>http://www.craftitonline.com/2012/05/phpperu-it-is-a-bout-a-community-and-the-masses/#comments</comments>
		<pubDate>Sat, 05 May 2012 02:04:32 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=3021</guid>
		<description><![CDATA[Thanks for all your support we are pushing PHP today. Enabled by His grace.]]></description>
			<content:encoded><![CDATA[<p>Thanks for all your support we are pushing PHP today.<br />
<p><a href="http://www.craftitonline.com/2012/05/phpperu-it-is-a-bout-a-community-and-the-masses/"><em>Click here to view the embedded video.</em></a></p><br />
Enabled by His grace.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/05/phpperu-it-is-a-bout-a-community-and-the-masses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal + PHP Community</title>
		<link>http://www.craftitonline.com/2012/04/drupal-php-community/</link>
		<comments>http://www.craftitonline.com/2012/04/drupal-php-community/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 01:11:07 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=3014</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.craftitonline.com/wp-content/uploads/2012/04/415460_3352135554892_1013997361_2994239_593922548_o.jpg"><img src="http://www.craftitonline.com/wp-content/uploads/2012/04/415460_3352135554892_1013997361_2994239_593922548_o-1024x682.jpg" alt="" title="415460_3352135554892_1013997361_2994239_593922548_o" width="584" height="388" class="aligncenter size-large wp-image-3015" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/04/drupal-php-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Famous Sismo TDDNotifier For Ubuntu!</title>
		<link>http://www.craftitonline.com/2012/04/famous-sismo-tddnotifier-for-ubuntu/</link>
		<comments>http://www.craftitonline.com/2012/04/famous-sismo-tddnotifier-for-ubuntu/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 04:10:01 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=3011</guid>
		<description><![CDATA[https://github.com/cordoval/TDDNotifier]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/cordoval/TDDNotifier">https://github.com/cordoval/TDDNotifier</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/04/famous-sismo-tddnotifier-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find a Place on FOSS: The Happy Beginnings &#8211; Part I</title>
		<link>http://www.craftitonline.com/2012/04/find-a-place-on-foss-the-happy-beginnings-part-i/</link>
		<comments>http://www.craftitonline.com/2012/04/find-a-place-on-foss-the-happy-beginnings-part-i/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 01:19:16 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=2993</guid>
		<description><![CDATA[First ask a good friend on FOSS and he gives you a link and something to do: Then go clone the specific repository and do manually what travis would do. If there are things that travis sets up apriori then &#8230; <a href="http://www.craftitonline.com/2012/04/find-a-place-on-foss-the-happy-beginnings-part-i/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First ask a good friend on FOSS and he gives you a link and something to do:<br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/04/Selection_244.png"><img src="http://www.craftitonline.com/wp-content/uploads/2012/04/Selection_244-1024x490.png" alt="" title="Selection_244" width="584" height="279" class="aligncenter size-large wp-image-2994" /></a><br />
Then go clone the specific repository and do manually what travis would do. If there are things that travis sets up apriori then do those. Travis will run ok so you better don&#8217;t fall short.<br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/04/Selection_245.png"><img src="http://www.craftitonline.com/wp-content/uploads/2012/04/Selection_245.png" alt="" title="Selection_245" width="804" height="277" class="aligncenter size-full wp-image-2996" /></a><br />
Then it should be time to branch:</p>

<div class="wp_syntax"><div class="code"><pre class="php">~ git checkout <span class="sy0">-</span>b feature<span class="sy0">/</span>PHPCR<span class="sy0">-</span><span class="nu0">42</span><span class="sy0">-</span>testRefactoring
~<span class="sy0">/</span>sites<span class="sy0">-</span><span class="nu0">2</span><span class="sy0">/</span>cmf<span class="sy0">-</span>sandbox<span class="sy0">/</span>vendor<span class="sy0">/</span>doctrine<span class="sy0">-</span>phpcr<span class="sy0">-</span>odm <span class="br0">&#40;</span>feature<span class="sy0">/</span>PHPCR<span class="sy0">-</span><span class="nu0">42</span><span class="sy0">-</span>testRefactoring<span class="br0">&#41;</span></pre></div></div>

<p>Now it is time to find the way the do tests:<br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/04/Selection_246.png"><img src="http://www.craftitonline.com/wp-content/uploads/2012/04/Selection_246-1024x717.png" alt="" title="Selection_246" width="584" height="408" class="aligncenter size-large wp-image-2999" /></a><br />
At this time I already found a file that was an exception and was empty and so I asked and I was told to remove it and PR. So I did.<br />
Then taking another watch at the tests I started asking the right questions, what, where, why and got a lot of confirmations and answers which set me familiar with the code at large.</p>
<p>The first move has to be easy and focused. So I take the first digested sentence that I read, namely:</p>

<div class="wp_syntax"><div class="code"><pre class="php">Refactor the tests about mapping to have abstract base tests to <a href="http://www.php.net/assert"><span class="kw3">assert</span></a> things<span class="sy0">,</span>
and one test <span class="kw1">for</span> <a href="http://www.php.net/each"><span class="kw3">each</span></a> annotation<span class="sy0">/</span>yml<span class="sy0">/</span>xml<span class="sy0">/</span>php so we really test the same outcome
https<span class="sy0">:</span><span class="co1">//github.com/doctrine/phpcr-odm/tree/master/tests/Doctrine/Tests/ODM/PHPCR/Mapping</span></pre></div></div>

<p>It seems that someone else has already done it <img src='http://www.craftitonline.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> , at least part of it. But it is ok I learned something. Now I have asked with a PR about how to proceed <a href="https://github.com/doctrine/phpcr-odm/pull/133">https://github.com/doctrine/phpcr-odm/pull/133</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/04/find-a-place-on-foss-the-happy-beginnings-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post commit to clear cache :D</title>
		<link>http://www.craftitonline.com/2012/04/post-commit-to-clear-cache-d/</link>
		<comments>http://www.craftitonline.com/2012/04/post-commit-to-clear-cache-d/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 20:46:12 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=2991</guid>
		<description><![CDATA[So whenever you commit you can spot changes or errors of your own. Will save you time. // .git/hooks/post-commit #!/usr/bin/env php &#60;?php system&#40;'rm -rf app/cache/*'&#41;; system&#40;'php app/console cache:clear --env=dev --no-debug'&#41;;]]></description>
			<content:encoded><![CDATA[<p>So whenever you commit you can spot changes or errors of your own. Will save you time.</p>

<div class="wp_syntax"><div class="code"><pre class="php">// .git/hooks/post-commit
#!/usr/bin/env php
<span class="kw2">&lt;?php</span>
<a href="http://www.php.net/system"><span class="kw3">system</span></a><span class="br0">&#40;</span><span class="st_h">'rm -rf app/cache/*'</span><span class="br0">&#41;</span><span class="sy0">;</span>
<a href="http://www.php.net/system"><span class="kw3">system</span></a><span class="br0">&#40;</span><span class="st_h">'php app/console cache:clear --env=dev --no-debug'</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/04/post-commit-to-clear-cache-d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I like PHP now the Agile Language</title>
		<link>http://www.craftitonline.com/2012/04/i-like-php-now-the-agile-language/</link>
		<comments>http://www.craftitonline.com/2012/04/i-like-php-now-the-agile-language/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 22:50:03 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=2987</guid>
		<description><![CDATA[http://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html">http://blog.ircmaxell.com/2012/04/php-sucks-but-i-like-it.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/04/i-like-php-now-the-agile-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Mongo Right: Authenticated and Latest in Ubuntu</title>
		<link>http://www.craftitonline.com/2012/04/getting-mongo-right-authenticated-and-latest-in-ubuntu/</link>
		<comments>http://www.craftitonline.com/2012/04/getting-mongo-right-authenticated-and-latest-in-ubuntu/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 22:38:36 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=2985</guid>
		<description><![CDATA[I ran into ugly problems with ubuntu lack of updated repos for mongodb. It seemed it was working but when i start running the console for mongo /usr/bin/mongo and not just mongod then errors started appearing. So I did a &#8230; <a href="http://www.craftitonline.com/2012/04/getting-mongo-right-authenticated-and-latest-in-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I ran into ugly problems with ubuntu lack of updated repos for mongodb. It seemed it was working but when i start running the console for mongo /usr/bin/mongo and not just mongod then errors started appearing. So I did a bit of research and find a way to install the latest mongo as of <a href="http://yoodey.com/how-install-latest-mongodb-version-ubuntu">this</a> blog post. After that i had to run:</p>
<p>In one shell:</p>

<div class="wp_syntax"><div class="code"><pre class="sh">~ mongod</pre></div></div>

<p>In another shell:</p>

<div class="wp_syntax"><div class="code"><pre class="sh">~ mongo
// and configure the authentication</pre></div></div>

<p>The authentication commands are located <a href="http://www.mongodb.org/display/DOCS/Security+and+Authentication">here</a>.</p>
<p>The most problematic point was because I had a process `mongo` running on the background and had to kill it with su:</p>

<div class="wp_syntax"><div class="code"><pre class="sh">~ ps -ef | grep mongo
~ sudo killall mongo -s 9</pre></div></div>

<p>Now everything is:</p>

<div class="wp_syntax"><div class="code"><pre class="sh">~ mongod --version
db version v2.0.4, pdfile version 4.5
Thu Apr  5 17:37:11 git version: sha1
~ mongo --version
MongoDB shell version: 2.0.4</pre></div></div>

<p>I am so excited about working the right way with mongodb!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/04/getting-mongo-right-authenticated-and-latest-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tricks on the Block</title>
		<link>http://www.craftitonline.com/2012/03/tricks-on-the-block/</link>
		<comments>http://www.craftitonline.com/2012/03/tricks-on-the-block/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 02:11:54 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=2978</guid>
		<description><![CDATA[I learned a trick about writing more _todo methods or names that I can figure out later and not waste time thinking on what name to put. So after a while whenever I am ready for a mass renaming I &#8230; <a href="http://www.craftitonline.com/2012/03/tricks-on-the-block/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I learned a trick about writing more _todo methods or names that I can figure out later and not waste time thinking on what name to put. So after a while whenever I am ready for a mass renaming I do issue this command to search though and change/update them:</p>

<div class="wp_syntax"><div class="code"><pre class="php">~ grep <span class="sy0">-</span>Rin todo <span class="sy0">./</span>src<span class="sy0">/</span></pre></div></div>

<p>Also I am trying to replicate<br />
git branch -vv<br />
git log &#8211;oneline base..dest | wc -l<br />
gitk &#8211;date-order &#8211;all<br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/03/Selection_231.png"><img src="http://www.craftitonline.com/wp-content/uploads/2012/03/Selection_231.png" alt="" title="Selection_231" width="956" height="266" class="aligncenter size-full wp-image-2982" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/03/tricks-on-the-block/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Participation on Lima Barcamp</title>
		<link>http://www.craftitonline.com/2012/03/participation-on-lima-barcamp/</link>
		<comments>http://www.craftitonline.com/2012/03/participation-on-lima-barcamp/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 13:11:13 +0000</pubDate>
		<dc:creator>Luis Cordova</dc:creator>
				<category><![CDATA[new]]></category>

		<guid isPermaLink="false">http://www.craftitonline.com/?p=2966</guid>
		<description><![CDATA[Here are the presentations http://lima.barcamp.pe/barcamplima5.html and program. Basically it was a great time making community and networking. There are great expectations for @php_peru in the coming weeks and we are wanting to keep working hard towards the common goals.]]></description>
			<content:encoded><![CDATA[<p>Here are the presentations <a href="http://lima.barcamp.pe/barcamplima5.html">http://lima.barcamp.pe/barcamplima5.html</a> and program.<br />
Basically it was a great time making community and networking. There are great expectations for @php_peru in the coming weeks and we are wanting to keep working hard towards the common goals.<br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/03/560047_272680526144046_136627276416039_594884_170828781_n.jpg"><img src="http://www.craftitonline.com/wp-content/uploads/2012/03/560047_272680526144046_136627276416039_594884_170828781_n.jpg" alt="" title="560047_272680526144046_136627276416039_594884_170828781_n" width="960" height="720" class="aligncenter size-full wp-image-2968" /></a><br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/03/306498_272680162810749_136627276416039_594879_2106695083_n.jpg"><img src="http://www.craftitonline.com/wp-content/uploads/2012/03/306498_272680162810749_136627276416039_594879_2106695083_n.jpg" alt="" title="306498_272680162810749_136627276416039_594879_2106695083_n" width="960" height="720" class="aligncenter size-full wp-image-2969" /></a><br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/03/305597_272679386144160_136627276416039_594870_1633681528_n.jpg"><img src="http://www.craftitonline.com/wp-content/uploads/2012/03/305597_272679386144160_136627276416039_594870_1633681528_n.jpg" alt="" title="305597_272679386144160_136627276416039_594870_1633681528_n" width="960" height="720" class="aligncenter size-full wp-image-2970" /></a><br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/03/548491_272678616144237_136627276416039_594861_914650313_n.jpg"><img src="http://www.craftitonline.com/wp-content/uploads/2012/03/548491_272678616144237_136627276416039_594861_914650313_n.jpg" alt="" title="548491_272678616144237_136627276416039_594861_914650313_n" width="960" height="720" class="aligncenter size-full wp-image-2971" /></a><br />
<a href="http://www.craftitonline.com/wp-content/uploads/2012/03/318132_272675709477861_1476502495_n.jpg"><img src="http://www.craftitonline.com/wp-content/uploads/2012/03/318132_272675709477861_1476502495_n.jpg" alt="" title="318132_272675709477861_1476502495_n" width="960" height="720" class="aligncenter size-full wp-image-2972" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.craftitonline.com/2012/03/participation-on-lima-barcamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

