<?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>PHP Libraries, API&#039;s and Frameworks</title>
	<atom:link href="http://mcloide.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mcloide.wordpress.com</link>
	<description>All about PHP&#039;s Resources, Libraries, API&#039;s and Frameworks.</description>
	<lastBuildDate>Thu, 13 Jun 2013 16:52:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mcloide.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/c3084b64bf12aa3abf60db783bf4a09e?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>PHP Libraries, API&#039;s and Frameworks</title>
		<link>http://mcloide.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mcloide.wordpress.com/osd.xml" title="PHP Libraries, API&#039;s and Frameworks" />
	<atom:link rel='hub' href='http://mcloide.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Bug or feature?</title>
		<link>http://mcloide.wordpress.com/2013/06/13/bug-or-feature/</link>
		<comments>http://mcloide.wordpress.com/2013/06/13/bug-or-feature/#comments</comments>
		<pubDate>Thu, 13 Jun 2013 16:52:13 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1399</guid>
		<description><![CDATA[&#160; &#160; &#160; &#160; Filed under: PHP Tagged: bug, developers, development, feature, gaming, illustration, photography, PHP<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1399&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://mcloide.files.wordpress.com/2013/06/wildebeest.gif"><img class="aligncenter size-full wp-image-1400" alt="wildebeest" src="http://mcloide.files.wordpress.com/2013/06/wildebeest.gif?w=490"   /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/php/'>PHP</a> Tagged: <a href='http://mcloide.wordpress.com/tag/bug/'>bug</a>, <a href='http://mcloide.wordpress.com/tag/developers/'>developers</a>, <a href='http://mcloide.wordpress.com/tag/development/'>development</a>, <a href='http://mcloide.wordpress.com/tag/feature/'>feature</a>, <a href='http://mcloide.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://mcloide.wordpress.com/tag/illustration/'>illustration</a>, <a href='http://mcloide.wordpress.com/tag/photography/'>photography</a>, <a href='http://mcloide.wordpress.com/tag/php/'>PHP</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1399/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1399&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/06/13/bug-or-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>

		<media:content url="http://mcloide.files.wordpress.com/2013/06/wildebeest.gif" medium="image">
			<media:title type="html">wildebeest</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Developers Please Help</title>
		<link>http://mcloide.wordpress.com/2013/05/31/java-developers-please-help/</link>
		<comments>http://mcloide.wordpress.com/2013/05/31/java-developers-please-help/#comments</comments>
		<pubDate>Fri, 31 May 2013 14:48:03 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[banco do brasil]]></category>
		<category><![CDATA[bb.com.br]]></category>
		<category><![CDATA[dell machine]]></category>
		<category><![CDATA[dell windows]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[GAS]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[international java community]]></category>
		<category><![CDATA[java developers]]></category>
		<category><![CDATA[php developer]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[worm virus]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1396</guid>
		<description><![CDATA[This is the translation of a post that I have written yesterday in Portuguese (pt-BR): Programadores Java Por favor ajudem. It will tell the same story and also share the updates. Honestly I hope to find some clues by sharing this issue with the International Java Community. I haven&#8217;t developed with Java for a long while. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1396&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is the translation of a post that I have written yesterday in Portuguese (pt-BR):<a href="http://mcloide.wordpress.com/2013/05/30/programadores-java-por-favor-ajudem/"> Programadores Java Por favor ajudem</a>. It will tell the same story and also share the updates. Honestly I hope to find some clues by sharing this issue with the International Java Community.</p>
<p>I haven&#8217;t developed with Java for a long while. Last time I have coded anything in Java it was with J2ME and, if I&#8217;m not mistaken, the framework was at its version 1.</p>
<p>Recently I was trying to help my old man (dad) with an issue that he was having at his real estate agency. For unexplained reasons until this moment, his <a title="How to begin on Front End Development" href="http://www.bb.com.br">Bank</a> -<a href="http://www.bb.com.br"> www.bb.com.br</a> -  site does not work with his Windows 7 Dell machine.</p>
<p>To get the issue resolved I have entered in contact with it&#8217;s tech support. Their tech support is annoying as it could be, they can only be contacted through phone and if you need to really get in touch with a technician, the only way possible is by having the branch manager to call in for you.</p>
<p>The 1st contact it was suggested to format the computer and try all over again, as it could have a worm / virus or a corrupted Java machine. With a lot of complains we did that and after all it still did not work.</p>
<p>Contacting the Bank tech support again the reply were:</p>
<ul>
<li>there is a virus again (as it had from the beginning)</li>
<li>the ISP (Velox) provider was blocking content making the bank site not to work properly.</li>
</ul>
<p>The ISP is blocking content? Really? You got be F**** kidding me. I knew that it was completely bullshit.</p>
<p>As a PHP developer I can tell that there is an issue with the bank website and / or with it&#8217;s Java application and honestly I don&#8217;t think that Java is restricted to a operating system or browser (that would be simply ridiculous).</p>
<p>So I came in request some help from Java developers. <strong>Can someone please give me a reasonable / logic explanation of why the bank Java application is not working on a Dell Windows 7 Machine?</strong></p>
<h3>UPDATES</h3>
<p>After I have posted this yesterday I had got a possible lead. There is a plugin that some bank java applications uses and this plugin is completely incompatible with some versions of Windows 7.  The solution so far: <strong>none</strong>.</p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/java/'>java</a> Tagged: <a href='http://mcloide.wordpress.com/tag/banco-do-brasil/'>banco do brasil</a>, <a href='http://mcloide.wordpress.com/tag/bb-com-br/'>bb.com.br</a>, <a href='http://mcloide.wordpress.com/tag/dell-machine/'>dell machine</a>, <a href='http://mcloide.wordpress.com/tag/dell-windows/'>dell windows</a>, <a href='http://mcloide.wordpress.com/tag/developer/'>developer</a>, <a href='http://mcloide.wordpress.com/tag/gas/'>GAS</a>, <a href='http://mcloide.wordpress.com/tag/help/'>help</a>, <a href='http://mcloide.wordpress.com/tag/international-java-community/'>international java community</a>, <a href='http://mcloide.wordpress.com/tag/java/'>java</a>, <a href='http://mcloide.wordpress.com/tag/java-developers/'>java developers</a>, <a href='http://mcloide.wordpress.com/tag/php-developer/'>php developer</a>, <a href='http://mcloide.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://mcloide.wordpress.com/tag/worm-virus/'>worm virus</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1396&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/05/31/java-developers-please-help/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>Programadores Java por favor ajudem</title>
		<link>http://mcloide.wordpress.com/2013/05/30/programadores-java-por-favor-ajudem/</link>
		<comments>http://mcloide.wordpress.com/2013/05/30/programadores-java-por-favor-ajudem/#comments</comments>
		<pubDate>Thu, 30 May 2013 15:01:28 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[ainda nao]]></category>
		<category><![CDATA[ajuda]]></category>
		<category><![CDATA[alguma coisa]]></category>
		<category><![CDATA[aplicacao]]></category>
		<category><![CDATA[banco do brasil]]></category>
		<category><![CDATA[bb.com.br]]></category>
		<category><![CDATA[bom tempo]]></category>
		<category><![CDATA[drivers software]]></category>
		<category><![CDATA[gerenciador financeiro]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1392</guid>
		<description><![CDATA[Sorry for all readers, this post will be initially in Portuguese since is completely directed to Brazil, but a version of it in English can be found here: http://mcloide.wordpress.com/2013/05/31/java-developers-please-help/. Ja nao programo Java a um bom tempo e honestamente a ultima vez que programei Java foi com o J2ME e o framework ainda era a versao 1. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1392&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><span style="color:#ff0000;">Sorry for all readers, this post will be initially in Portuguese since is completely directed to Brazil, but a version of it in English can be found here: <a href="http://mcloide.wordpress.com/2013/05/31/java-developers-please-help/">http://mcloide.wordpress.com/2013/05/31/java-developers-please-help/</a>.</span></p>
<p>Ja nao programo Java a um bom tempo e honestamente a ultima vez que programei Java foi com o J2ME e o framework ainda era a versao 1. Recentemente me deparei auxiliando meu pai, um senhor de 70 anos, a resolver um problema que acontece especificamente com o site do <a href="http://www.bb.com.br/">Banco do Brasil</a> (<a href="http://www.bb.com.br/">www.bb.com.br</a>).</p>
<p>Estarei contando o acontecimento abaixo e no fim voces entenderao por que peco ajuda a mais programadores Java no assunto.</p>
<p>Por algum motivo o site do Banco do Brasil nao funciona em nenhum dos computadores do escritorio, mas funciona no computador pessoal dele em casa. Para uma definicao technologica, tanto a configuracao do computador pessoal quanto a configuracao dos computadores do escritorio sao:</p>
<ul>
<li> Windows 7 Profissional</li>
<li>Marca Dell</li>
<li>Browsers IE10, Chrome e Firefox</li>
<li>Java 7 (ultima versao)</li>
</ul>
<p>Conversando com o pessoal do suporte tecnico do banco a principio nos foi sugerido que tinha um virus no computador e que este estava bloqueando o funcionamento do site do banco. Foi pedido um tecnico de informatica para avaliar o problema e o que foi sugerido pelo tecnico seria que tem alguma coisa que o site instala ou requer que foi danificado e apenas formatando o computador resolveria. A principio foi estranha a ideia mas considerando tudo que tinha sido passado, toda a frustacao, toda raiva e o fato que o computador precisava de uma boa limpeza, decidimos por formatar.</p>
<p>Se o computador foi formatado, tudo instalado com a ultima versao (drivers, software, etc), logica indica que o site deveria funcionar, certo? Errado o site do banco ainda nao funciona. Nao apenas o site mas tambem o gerenciador financeiro de empresa, outra aplicacao java.</p>
<p>O tecnico do banco que estava no escritorio deu 2 sugestoes:</p>
<ul>
<li>ou o computador, que acabava de ser formatado, estava com virus novamente</li>
<li>ou o provedor Velox estava bloqueando o funcionamento do site</li>
</ul>
<p>SERIO!!!!! O provedor Velox esta bloqueando o funcionamento do site do banco??????? So podem estar de sacagem comigo.</p>
<p>Neste momento eu tive mais do que certeza que tudo que tinha sido falado ate o momento era: <a href="http://pt.wikipedia.org/wiki/Rebimboca_da_parafuseta">rebimboca da parafuseta</a> ou como fala-se nos EUA bullshit.</p>
<p>Verdade seja dita tem algum problema ou com o site do banco ou com o compuador ou o conjunto dos dois que impede o funcionamento correto do site, mas como o site &#8216;e uma aplicacao java, gostaria de ter uma opiniao sincera dos programadores java, Brasileiros ou nao, sobre o acontecido.</p>
<p>Para mim ja nao faz sentido saber que o site nao funciona com nenhuma versao anterior do Java e que o site nao funciona em nenhum dos browsers instalados nos computadores.</p>
<p>Como programador PHP toda aplicacao desenvolvida deve ter um suporte mimino de browsers e nao se tem uma restricao de Sistema Operacional a nao ser que o SO nao suporte algum browser.</p>
<p>Por isso venho por meio deste pedir a todos os programadores java que me ajudem a achar uma explicacao logica ou pelo menos sensata pela qual uma aplicacao Java que no caso &#8216;e um site, nao funciona de adequadamente em um computador que tem uma especificacao tao commun a milhoes de outros pelo resto do munto.</p>
<p>P.S. O unico supporte que existe para o site do banco &#8216;e via telefone (SAC) e sinceramente, para conseguir um tecnico de informatica do outro lado da linha &#8216;e necessario que a chamada seja feita por um gerente de contas da agencia do banco (ridiculo).</p>
<h3>UPDATES</h3>
<p>Conversando com o <a href="https://twitter.com/gritante">@gritante</a> e <a href="https://twitter.com/rattones">@ratones</a> no Twitter tive uma pequena pista que o problema pode estar numa atualizacao do plugin da GAS. Procurando um pouco de informacao sobre o assunto achei o seguinte artigo do Globo News: <a href="http://g1.globo.com/tecnologia/noticia/2013/04/software-bancario-brasileiro-pode-ser-causa-de-travamento-do-windows-7.html">http://g1.globo.com/tecnologia/noticia/2013/04/software-bancario-brasileiro-pode-ser-causa-de-travamento-do-windows-7.html</a></p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/java/'>java</a> Tagged: <a href='http://mcloide.wordpress.com/tag/ainda-nao/'>ainda nao</a>, <a href='http://mcloide.wordpress.com/tag/ajuda/'>ajuda</a>, <a href='http://mcloide.wordpress.com/tag/alguma-coisa/'>alguma coisa</a>, <a href='http://mcloide.wordpress.com/tag/aplicacao/'>aplicacao</a>, <a href='http://mcloide.wordpress.com/tag/banco-do-brasil/'>banco do brasil</a>, <a href='http://mcloide.wordpress.com/tag/bb-com-br/'>bb.com.br</a>, <a href='http://mcloide.wordpress.com/tag/bom-tempo/'>bom tempo</a>, <a href='http://mcloide.wordpress.com/tag/drivers-software/'>drivers software</a>, <a href='http://mcloide.wordpress.com/tag/gerenciador-financeiro/'>gerenciador financeiro</a>, <a href='http://mcloide.wordpress.com/tag/java/'>java</a>, <a href='http://mcloide.wordpress.com/tag/site/'>site</a>, <a href='http://mcloide.wordpress.com/tag/windows/'>windows</a>, <a href='http://mcloide.wordpress.com/tag/windows7/'>windows7</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1392/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1392&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/05/30/programadores-java-por-favor-ajudem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating your PHP Onboarding for Windows machines</title>
		<link>http://mcloide.wordpress.com/2013/05/07/creating-your-php-onboarding-for-windows-machines/</link>
		<comments>http://mcloide.wordpress.com/2013/05/07/creating-your-php-onboarding-for-windows-machines/#comments</comments>
		<pubDate>Wed, 08 May 2013 01:01:35 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[developer machine]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[on-boarding]]></category>
		<category><![CDATA[phyton]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[server image]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh support]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[vagrant]]></category>
		<category><![CDATA[virtual box]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1388</guid>
		<description><![CDATA[There are many many ways to have a full LAMP stack on a Windows machine and use it for PHP development like WAMP, for example. This is ok if you are developing just for fun, but in corporate level an on-boarding environment is much preferred. Having a pre-defined server image with all that is necessary to almost [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1388&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There are many many ways to have a full LAMP stack on a Windows machine and use it for PHP development like <a href="http://www.wampserver.com/en/">WAMP</a>, for example. This is <strong>ok</strong><strong> </strong>if you are developing just for fun, but in corporate level an on-boarding environment is much preferred. Having a pre-defined server image with all that is necessary to almost replicate your production server on a developer machine helps on preventing errors and, most importantly, quickly have new developers up-to-speed with the corporation development environment.</p>
<p>Consider that you would need:</p>
<ul>
<li>Apache</li>
<li>PHP</li>
<li>MySQL</li>
<li>Memcache</li>
<li>APC</li>
<li>some extra libs</li>
<li>GIT repository</li>
</ul>
<p>Creating this under windows can be such a hassle and in cases like this bundled solutions does not work.</p>
<p>To create a full LAMP stack on your windows machine and have it 100% stand-alone I have used <a href="http://docs.vagrantup.com/v2/">Vagrant</a>. On the prior version of Vagrant (V1) you had to use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty </a>in order to ssh to the VM and that was a painful process, with the newer version (V2) you can use built in Vagrant SSH as long you install an SSH support library like the one from <a href="http://msysgit.github.io/">GIT</a>. There is a trick on the GIT installation, you must choose the option with the Linux / Unix commands (it has a red warning message about overwriting windows libs).</p>
<p>Prior installing Vagrant you will need to install <a href="https://www.virtualbox.org/">Virtual Box</a>. It is a Oracle virtual box machine. Very useful if you are on OSX or Linux and need to run tests on Windows IE9 (sig). This part of the process is very well explained on the Vagrant documentation.</p>
<p>Now comes to Vagrant install. It is fairly easy. Install Vagrant, then open command line and run &#8220;vagrant init&#8221;. It will create a default vagrant file with most of the basic things defined. Here comes a trick. The default vagrant file tries to download the <strong>precise</strong> VM.  I have tried to contact Vagrant a couple times on Twitter and with no luck. There is an issue with the download of this box, the server resets the connection prior the download to be finished.</p>
<p>There is a way out of this: <a href="http://www.vagrantbox.es/">VagrantBox.es</a> - Select the box that you best consider that matches your environment, add it on vagrant (vagrant box add) and finally update the vagrant file to use the new added box.</p>
<p>After this, everything is as simple as setting up the environment. Unless you have an specific need to add the GIT repository files under another folder you can set it all under the vagrant folder (same folder where the vagrant file is located).</p>
<p>I could use the GIT command line on windows to clone / commit my repositories, but using the GIT windows tool from <a href="http://windows.github.com/">GitHub </a>is way too fun <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I know that most of PHP developers use either Linux or OSX for development. It is much easier to setup and use, but if you are stuck with Windows, you might as well benefit of this.</p>
<p>Just a note, off course the main environment mentioned here was LAMP, but this same process can be used for Ruby, Phyton and may other hipster languages available =D</p>
<p>&nbsp;</p>
<h3><strong>Updates:</strong></h3>
<p>I had a networking issue with the current box that I&#8217;m using. It seems that it is a common issue with some boxes as mentioned here - <a href="https://groups.google.com/forum/?fromgroups=#!topic/vagrant-up/Yeu6UF-GJO8">https://groups.google.com/forum/?fromgroups=#!topic/vagrant-up/Yeu6UF-GJO8</a></p>
<p>To fix run this: <strong>sudo /etc/init.d/networking restart</strong></p>
<p>If you never installed a LAMP stack before, this article here will give you all the steps to install it correctly: <a href="http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp">http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp</a></p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/php/'>PHP</a> Tagged: <a href='http://mcloide.wordpress.com/tag/apache/'>apache</a>, <a href='http://mcloide.wordpress.com/tag/developer-machine/'>developer machine</a>, <a href='http://mcloide.wordpress.com/tag/git/'>git</a>, <a href='http://mcloide.wordpress.com/tag/github/'>github</a>, <a href='http://mcloide.wordpress.com/tag/lamp/'>lamp</a>, <a href='http://mcloide.wordpress.com/tag/linux/'>linux</a>, <a href='http://mcloide.wordpress.com/tag/mysql/'>mysql</a>, <a href='http://mcloide.wordpress.com/tag/on-boarding/'>on-boarding</a>, <a href='http://mcloide.wordpress.com/tag/php/'>PHP</a>, <a href='http://mcloide.wordpress.com/tag/phyton/'>phyton</a>, <a href='http://mcloide.wordpress.com/tag/putty/'>putty</a>, <a href='http://mcloide.wordpress.com/tag/ruby/'>ruby</a>, <a href='http://mcloide.wordpress.com/tag/server-image/'>server image</a>, <a href='http://mcloide.wordpress.com/tag/software/'>software</a>, <a href='http://mcloide.wordpress.com/tag/ssh/'>ssh</a>, <a href='http://mcloide.wordpress.com/tag/ssh-support/'>ssh support</a>, <a href='http://mcloide.wordpress.com/tag/technology/'>technology</a>, <a href='http://mcloide.wordpress.com/tag/vagrant/'>vagrant</a>, <a href='http://mcloide.wordpress.com/tag/virtual-box/'>virtual box</a>, <a href='http://mcloide.wordpress.com/tag/vm/'>vm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1388&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/05/07/creating-your-php-onboarding-for-windows-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>IE Test VM&#8217;s for Virtual Box</title>
		<link>http://mcloide.wordpress.com/2013/05/06/ie-test-vms-for-virtual-box/</link>
		<comments>http://mcloide.wordpress.com/2013/05/06/ie-test-vms-for-virtual-box/#comments</comments>
		<pubDate>Mon, 06 May 2013 17:22:45 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[virtual box]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/2013/05/06/ie-test-vms-for-virtual-box/</guid>
		<description><![CDATA[Always a useful resource. There is a list of VM&#8217;s with several versions of IE&#8217;s if you are under OSX (might work with Linux as well &#8211; haven&#8217;t tested). Very useful if you, for some strange reason, IE doesn&#8217;t work with your Javascript, CSS, design, etc. http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/ Filed under: Javascript Tagged: development, IE, internet explorer, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1386&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Always a useful resource.</p>
<p>There is a list of VM&#8217;s with several versions of IE&#8217;s if you are under OSX (might work with Linux as well &#8211; haven&#8217;t tested).</p>
<p>Very useful if you, for some strange reason, IE doesn&#8217;t work with your Javascript, CSS, design, etc.</p>
<p><a href="http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/">http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/</a></p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/javascript/'>Javascript</a> Tagged: <a href='http://mcloide.wordpress.com/tag/development/'>development</a>, <a href='http://mcloide.wordpress.com/tag/ie/'>IE</a>, <a href='http://mcloide.wordpress.com/tag/internet-explorer/'>internet explorer</a>, <a href='http://mcloide.wordpress.com/tag/javascript/'>Javascript</a>, <a href='http://mcloide.wordpress.com/tag/mac/'>mac</a>, <a href='http://mcloide.wordpress.com/tag/osx/'>osx</a>, <a href='http://mcloide.wordpress.com/tag/virtual-box/'>virtual box</a>, <a href='http://mcloide.wordpress.com/tag/vm/'>vm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1386&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/05/06/ie-test-vms-for-virtual-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>How to identify a hack</title>
		<link>http://mcloide.wordpress.com/2013/04/09/how-to-identify-a-hack/</link>
		<comments>http://mcloide.wordpress.com/2013/04/09/how-to-identify-a-hack/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 00:00:43 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacklife]]></category>
		<category><![CDATA[lol]]></category>
		<category><![CDATA[not a hack]]></category>
		<category><![CDATA[realworldhack]]></category>
		<category><![CDATA[troll]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1383</guid>
		<description><![CDATA[This is in programming 101 &#8211; how to correctly identify a hack Filed under: development Tagged: hack, hacklife, lol, not a hack, realworldhack, troll<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1383&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is in programming 101 &#8211; how to correctly identify a hack</p>
<p><a href="https://lh3.googleusercontent.com/-FHAqctahRdI/UWSqjMZbMTI/AAAAAAAAeoc/j3JuFkIAiZ0/s768/CAM00114.jpg"><img class="aligncenter" alt="" src="https://lh3.googleusercontent.com/-FHAqctahRdI/UWSqjMZbMTI/AAAAAAAAeoc/j3JuFkIAiZ0/s768/CAM00114.jpg" width="768" height="576" /></a></p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/development/'>development</a> Tagged: <a href='http://mcloide.wordpress.com/tag/hack/'>hack</a>, <a href='http://mcloide.wordpress.com/tag/hacklife/'>hacklife</a>, <a href='http://mcloide.wordpress.com/tag/lol/'>lol</a>, <a href='http://mcloide.wordpress.com/tag/not-a-hack/'>not a hack</a>, <a href='http://mcloide.wordpress.com/tag/realworldhack/'>realworldhack</a>, <a href='http://mcloide.wordpress.com/tag/troll/'>troll</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1383/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1383&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/04/09/how-to-identify-a-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>

		<media:content url="https://lh3.googleusercontent.com/-FHAqctahRdI/UWSqjMZbMTI/AAAAAAAAeoc/j3JuFkIAiZ0/s768/CAM00114.jpg" medium="image" />
	</item>
		<item>
		<title>Increasing Size of your VirtualBox virtual disk</title>
		<link>http://mcloide.wordpress.com/2013/03/05/increasing-size-of-your-virtualbox-virtual-disk/</link>
		<comments>http://mcloide.wordpress.com/2013/03/05/increasing-size-of-your-virtualbox-virtual-disk/#comments</comments>
		<pubDate>Tue, 05 Mar 2013 18:37:46 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[increase hd]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualboxmanage]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/2013/03/05/increasing-size-of-your-virtualbox-virtual-disk/</guid>
		<description><![CDATA[Today my PHP application on my linux virtual server was giving me a ton of error on simply allocating space for sessions. I couldn&#8217;t have actually ran out of space but it was worth the check. df -h 100% of my virtual image was used and since I did not want to go to the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1377&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Today my PHP application on my linux virtual server was giving me a ton of error on simply allocating space for sessions. I couldn&#8217;t have actually ran out of space but it was worth the check.</p>
<p style="padding-left:30px;"><strong>df -h</strong></p>
<p>100% of my virtual image was used and since I did not want to go to the hassle of re-doing everything again, after a bit of research, this is what I have found that helped me a ton:</p>
<p style="padding-left:30px;"><strong>VBoxManage modifyhd /path/to/the/virtual/disk/image.vdi &#8211;resize 20480</strong></p>
<p>This would work perfectly, but my image wasn&#8217;t a VDI it was a VMDK which will throw you an error when you do the same process.</p>
<p>There is a way around it:</p>
<p style="padding-left:30px;">1st &#8211; <strong>VBoxManage clonehd /path/to/the/virtual/disk/image.vmdk /path/to/save/the/new/virtual/disk/image.vdi &#8211;format vdi</strong><br />
2nd &#8211; <strong>VBoxManage modifyhd /path/to/new/virtual/disk/image.vdi &#8211;resize 20480</strong></p>
<p>For a 8GB Virtual Image it can take up to 20 minutes for the whole process.</p>
<p>Note: This was done in command line for OSX.</p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/linux/'>linux</a> Tagged: <a href='http://mcloide.wordpress.com/tag/clone/'>clone</a>, <a href='http://mcloide.wordpress.com/tag/format/'>format</a>, <a href='http://mcloide.wordpress.com/tag/increase-hd/'>increase hd</a>, <a href='http://mcloide.wordpress.com/tag/size/'>size</a>, <a href='http://mcloide.wordpress.com/tag/virtualbox/'>virtualbox</a>, <a href='http://mcloide.wordpress.com/tag/virtualboxmanage/'>virtualboxmanage</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1377/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1377&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/03/05/increasing-size-of-your-virtualbox-virtual-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>The future of blogging</title>
		<link>http://mcloide.wordpress.com/2013/02/25/the-future-of-blogging/</link>
		<comments>http://mcloide.wordpress.com/2013/02/25/the-future-of-blogging/#comments</comments>
		<pubDate>Mon, 25 Feb 2013 22:09:26 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/2013/02/25/the-future-of-bloggin/</guid>
		<description><![CDATA[&#8230; or at least the future of this blog. It has been a while since I have last written anything on this blog, reason is, lately I have been retweeting more and sharing more stuff on Google+ than writing here. There is a lot happening with technology, PHP and web development in general and even [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1375&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&#8230; or at least the future of this blog.<br />
It has been a while since I have last written anything on this blog, reason is, lately I have been retweeting more and sharing more stuff on Google+ than writing here.</p>
<p>There is a lot happening with technology, PHP and web development in general and even if I wanted to, writing about everything is barely impossible.</p>
<p>Considering this, I have decided to keep writing on this blog but when only the situation requer to. For example, if there is a new piece of technology, PHP feature, etc that requires a longer explanation or more words than 140 chars, it will be here, otherwise, check Twitter and Google+.</p>
<p>To make this feed easier to check I have added some of the social medias that I&#8217;m part of in <a href="http://www.mcloide.com">www.mcloide.com</a> . There you will find my twitter account, my G+ account and some other accounts like Github and Coderwall.</p>
<p>See you on twitter or till next post right here <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/php/'>PHP</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1375&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/02/25/the-future-of-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>ibuypower</title>
		<link>http://mcloide.wordpress.com/2013/01/15/ibuypower/</link>
		<comments>http://mcloide.wordpress.com/2013/01/15/ibuypower/#comments</comments>
		<pubDate>Wed, 16 Jan 2013 02:26:14 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[reviews]]></category>
		<category><![CDATA[battalion]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[ibuypower]]></category>
		<category><![CDATA[notebook]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1373</guid>
		<description><![CDATA[I have just purchased a notebook with iBuypower.com. Truth is that I have never heard about them before or never knew anyone that had purchased any computer with them, still they were the few websites available that offered customized systems. This is my review of the notebook and their services thus far. Searched through a [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1373&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have just purchased a notebook with<a href="http://iBuypower.com"> iBuypower.com</a>. Truth is that I have never heard about them before or never knew anyone that had purchased any computer with them, still they were the few websites available that offered customized systems. This is my review of the notebook and their services thus far.</p>
<p>Searched through a few forums and finally I have found a good reference from them, they had systems to be sold in <a href="http://Newegg.com">Newegg.com</a>. Everyone knows Newegg.com.</p>
<p>This are the settings that I have asked for the notebook:</p>
<p style="padding-left:30px;">1 x Case (Battalion 101 W350ETQ 15.6&#8243; Full HD 1920&#215;1080 Widescreen LED TFT Laptop w/HDMI Port, USB 3.0 port, fingerprint Reader, Li-Ion Battery, Universal AC Power Adapter &#8211; Original Metallic black))<br />
1 x Processor (Intel® Core™ i7-3630QM Mobile Processor (4x 2.4GHz/6MB L3 Cache)))<br />
1 x Memory (16GB [8GB x 2] 1333MHz DDR3 SDRAM [Laptop Memory] &#8211; Corsair or Major Brand **FREE Upgrade to 16GB [8GB x2] DDR3-1600 G.Skill**))<br />
1 x Video Card (NVIDIA GeForce GTX 660M 2GB GDDR5 Video w/ NVIDIA Optimus [W350ETQ]))<br />
1 x Primary Hard Drive (256 GB ADATA SP900 SSD &#8211; Single Drive))<br />
1 x Data Hard Drive (500 GB 5400rpm Serial-ATA Super Slim Laptop Hard Drive))<br />
1 x Optical Drive (8x Dual Format DVD±R/±RW + 16x CD-R/RW Combo Drive [W350ETQ]))<br />
1 x Sound Card (3D Premium Surround Sound Onboard))<br />
1 x Network Card (Built-in 10/100/1000 Mbps LAN [Laptop]))<br />
1 x Operating System (Microsoft Windows 7 Professional + Office Starter 2010 (Includes basic versions of Word and Excel) &#8211; 64-bit))<br />
1 x Warranty (Standard Warranty Service &#8211; Standard One(1) Year Limited Warranty + Lifetime Technical Support))<br />
1 x Rush Service (Rush Service Fee (not shipping fee) &#8211; Deferred Delivery (Ship Out in 15 ~ 20 Business Days) &#8211; 5% OFF on systems over $999 (Coupon Code: defer)))<br />
1 x USB Ports (Built-in 1x USB 2.0 + 2x USB 3.0 + 1x USB 3.0 / eSATA Combo Ports [Laptop]))<br />
1 x Video Camera (Built-in 2.0 Mega Pixels Digital Web Video Camera))<br />
1 x Internal Wireless Network Adapter (Intel Advanced-N 6235 802.11 a/g/n 300Mbps Dual-Band Wi-Fi + Bluetooth Combo))<br />
1 x Flash Media Reader / Writer (Built-in 9-in-1 Media Card Reader/Writer [Laptop]))<br />
1 x Carrying Case (Free Deluxe Carrying Case))</p>
<p>I was waiting this notebook to be awesomely built and it is.</p>
<p>These are the pros:</p>
<ul>
<li><span style="line-height:13px;">extremely well packaged. It was so protected that the ratio for the box x contents was of 4 x 1 (the box was 4 times bigger than its contents and filled with foam and popcorn-foam)</span></li>
<li>beautiful body</li>
<li>onkyo speakers</li>
<li>extremely awesome resolution screen</li>
<li>came with a windows 7 recover dvd (and some other drivers installation dvds). I personally loved this because the last notebook that I have bought didn&#8217;t came with it and gave me a huge headache to recover everything when the hard drive failed.</li>
<li>Their customer service rocks. Ok, they had a miss communication with me in one of the emails, but on the phone everything was rectified.</li>
</ul>
<p>So far these are the cons:</p>
<ul>
<li>deferred shipping (I really did a very dumb decision when I have chosen this discount &#8211; dont do it)</li>
<li>battery runs out pretty quickly when using it on max power</li>
</ul>
<p>&nbsp;</p>
<p>I will be putting this note to the test today. Started downloading Guild Wars 2 and I will install a Virtual Machine with tunneling to use as my webserver.</p>
<p>In general, right now, I would buy from them again. I&#8217;m very satisfied with the notebook and they do deserve two thumbs up.</p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/reviews/'>reviews</a> Tagged: <a href='http://mcloide.wordpress.com/tag/battalion/'>battalion</a>, <a href='http://mcloide.wordpress.com/tag/build/'>build</a>, <a href='http://mcloide.wordpress.com/tag/computer/'>computer</a>, <a href='http://mcloide.wordpress.com/tag/custom/'>custom</a>, <a href='http://mcloide.wordpress.com/tag/gadgets/'>gadgets</a>, <a href='http://mcloide.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://mcloide.wordpress.com/tag/ibuypower/'>ibuypower</a>, <a href='http://mcloide.wordpress.com/tag/notebook/'>notebook</a>, <a href='http://mcloide.wordpress.com/tag/review/'>review</a>, <a href='http://mcloide.wordpress.com/tag/technology/'>technology</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1373/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1373&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/01/15/ibuypower/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple MySQL Heartbeat monitoring</title>
		<link>http://mcloide.wordpress.com/2013/01/11/simple-mysql-heartbeat-monitoring/</link>
		<comments>http://mcloide.wordpress.com/2013/01/11/simple-mysql-heartbeat-monitoring/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 22:38:13 +0000</pubDate>
		<dc:creator>mcloide</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[heartbeat]]></category>
		<category><![CDATA[host user]]></category>
		<category><![CDATA[internal server error]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://mcloide.wordpress.com/?p=1371</guid>
		<description><![CDATA[I had an interesting request today: create a script that would return a page header 200 or 500 for a heartbeat monitoring on a MySQL server for a site. The reason behind it was that the server was returning way too many MySQL connection errors during a small period of time for it to considered [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1371&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I had an interesting request today: create a script that would return a page header 200 or 500 for a heartbeat monitoring on a MySQL server for a site. The reason behind it was that the server was returning way too many MySQL connection errors during a small period of time for it to considered a simple app error.</p>
<p>This is what I have came for to help with the issue:</p>
<p style="padding-left:30px;"><code><br />
&lt;!--?php <br /> $dsn = "mysql:dbname={$dbName};host={$host}";<br />
$user = 'mysql_username';<br />
$pass = 'mysql_user_password';<br />
try {<br />
$dbh = new PDO($dsn, $user, $pass);<br />
$dbh = null;<br />
header("HTTP/1.1 200 OK");<br />
} catch (Exception $e) {<br />
header("HTTP/1.1 500 Internal Server Error");<br />
}<br />
</code></p>
<p>With this simple code we can monitor the page status and if it returns 500 set an alert to tell us that MySQL server is down.</p>
<p>There are, off course, better ways to do this, but if you don&#8217;t have too many resources or is using a shared server, this might be a good solution meanwhile.</p>
<br />Filed under: <a href='http://mcloide.wordpress.com/category/mysql/'>mysql</a> Tagged: <a href='http://mcloide.wordpress.com/tag/heartbeat/'>heartbeat</a>, <a href='http://mcloide.wordpress.com/tag/host-user/'>host user</a>, <a href='http://mcloide.wordpress.com/tag/internal-server-error/'>internal server error</a>, <a href='http://mcloide.wordpress.com/tag/internet/'>internet</a>, <a href='http://mcloide.wordpress.com/tag/monitoring/'>monitoring</a>, <a href='http://mcloide.wordpress.com/tag/mysql/'>mysql</a>, <a href='http://mcloide.wordpress.com/tag/mysql-server/'>mysql server</a>, <a href='http://mcloide.wordpress.com/tag/pdo/'>pdo</a>, <a href='http://mcloide.wordpress.com/tag/php/'>PHP</a>, <a href='http://mcloide.wordpress.com/tag/software/'>software</a>, <a href='http://mcloide.wordpress.com/tag/technology/'>technology</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcloide.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcloide.wordpress.com/1371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcloide.wordpress.com&#038;blog=4483522&#038;post=1371&#038;subd=mcloide&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mcloide.wordpress.com/2013/01/11/simple-mysql-heartbeat-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c1a868b438f5f62bb4b85dfd021fdda?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mcloide</media:title>
		</media:content>
	</item>
	</channel>
</rss>
