<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://shadow.y-developments.info/wp-atom.php">
	<title type="text">Shadow BlogShadow Blog</title>
	<subtitle type="text" />

	<updated>2012-02-24T11:35:34Z</updated>

	<link rel="alternate" type="text/html" href="http://shadow.y-developments.info" />
	<id>http://shadow.y-developments.info/feed/atom/</id>
	

	<meta name="generator" content="Obscure 2.0" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ShadowBlog" /><feedburner:info uri="shadowblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[Installing memcached from source for php]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/tBxB6W05G-g/" />
		<id>http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/</id>
		<updated>2012-02-24T11:35:34Z</updated>
		<published>2012-02-24T11:35:34Z</published>
		<category scheme="http://shadow.y-developments.info" term="Uncategorized" /><category scheme="http://shadow.y-developments.info" term="apache" /><category scheme="http://shadow.y-developments.info" term="Memcached" /><category scheme="http://shadow.y-developments.info" term="php" /><category scheme="http://shadow.y-developments.info" term="sysadmin" />		<summary type="html"><![CDATA[TweetHi, Yesterday I was trying to improve some code, so it was time to integrate memcached to have a increment in velocity of the app. Like the server is PCI compliant, everything needs to be installed from source. Memcached depends from libevent, so first you configure,compile and install that library first. After that, download the memcached package from source and compile. Now, memcached runs as a daemon, like apache, bind etc&#8230; So, from the compiled source directory, copy the scripts &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2012%2F02%2Finstalling-memcached-from-source-for-php%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>Yesterday I was trying to improve some code, so it was time to integrate memcached to have a increment in velocity of the app. Like the server is PCI compliant, everything needs to be installed from source. </p>
<p>Memcached depends from libevent, so first you configure,compile and install that library first.</p>
<p>After that, download the memcached package from source and compile. Now, memcached runs as a daemon, like apache, bind etc&#8230; So, from the compiled source directory, copy the scripts folder to the /usr/share/defaults directory, and here you will find the init.d script for Debian and derivated version and config file that should be on /etc . If your binary or installation paths are different, you will need to edit the init.d script and start-memcached script also that inside scripts folder. Test it locally and after you are sure everything works, you can use this command to start memcached and boot:</p>
<blockquote><p>update-rc.d memcached defaults</p></blockquote>
<p>With this you have the memcached daemon installed, you can tune up the memory available and other parameters on /etc/memcached.conf. Now is the time to install the php extension from PECL, unpack it inside your php ext source directory with the name &#8220;memcached&#8221;, there, run a phpize, configure, make and make install as any extension.</p>
<p>Regards.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/07/apache-or-ngnix/" title="Apache or ngnix ?">Apache or ngnix ?</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/" title="SSLPassPhraseDialog for virtualhost in apache">SSLPassPhraseDialog for virtualhost in apache</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/" title="compile mod_dav_svn and mod_authz_svn">compile mod_dav_svn and mod_authz_svn</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[SSLPassPhraseDialog for virtualhost in apache]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/vUjWpfg3QPU/" />
		<id>http://shadow.y-developments.info/?p=574</id>
		<updated>2012-01-10T02:38:24Z</updated>
		<published>2012-01-10T02:38:24Z</published>
		<category scheme="http://shadow.y-developments.info" term="linux" /><category scheme="http://shadow.y-developments.info" term="server" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="apache" /><category scheme="http://shadow.y-developments.info" term="certificates" /><category scheme="http://shadow.y-developments.info" term="openssl" /><category scheme="http://shadow.y-developments.info" term="security" /><category scheme="http://shadow.y-developments.info" term="ssl" />		<summary type="html"><![CDATA[TweetHi, when you have several virtualhosts with SSL enabled and also, the certificate has been generated with a pass phrase, you need to use SSLPassPhraseDialog to print to apache the password each time it starts, the problem comes as this directive can only be declared 1 time in the general configuration, so to use several password for each SSL generated, you can use this code: #!/bin/sh PASS1=&#8221;password1&#8243; PASS2=&#8221;password2&#8243; case $1 in www.url1.com:443) echo $PASS1;; www.url2.com:443) echo $PASS2;; esac exit 0 &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2012%2F01%2Fsslpassphrasedialog-for-virtualhost-in-apache%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>when you have several virtualhosts with SSL enabled and also, the certificate has been generated with a pass phrase, you need to use SSLPassPhraseDialog to print to apache the password each time it starts, the problem comes as this directive can only be declared 1 time in the general configuration, so to use several password for each SSL generated, you can use this code:</p>
<blockquote><p>#!/bin/sh</p>
<p>PASS1=&#8221;password1&#8243;<br />
PASS2=&#8221;password2&#8243;</p>
<p>case $1 in<br />
www.url1.com:443) echo $PASS1;;<br />
www.url2.com:443) echo $PASS2;;<br />
esac</p>
<p>exit 0</p></blockquote>
<p>just replace the passwords and url with the one configured on your webserver, set them execution permission and add this to your apache conf:</p>
<blockquote><p>SSLPassPhraseDialog exec:/path/to/bash/file</p></blockquote>
<p>Regards,</p>
<p>Shadow.</p>
<p>&nbsp;</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2012/02/installing-memcached-from-source-for-php/" title="Installing memcached from source for php">Installing memcached from source for php</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/" title="compile mod_dav_svn and mod_authz_svn">compile mod_dav_svn and mod_authz_svn</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/03/stronger-passwords-nakedpassword/" title="Stronger Passwords: NakedPassword">Stronger Passwords: NakedPassword</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[compile mod_dav_svn and mod_authz_svn]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/ccx1wmMG7iQ/" />
		<id>http://shadow.y-developments.info/?p=569</id>
		<updated>2011-12-11T21:04:38Z</updated>
		<published>2011-12-11T21:04:38Z</published>
		<category scheme="http://shadow.y-developments.info" term="server" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="apache" /><category scheme="http://shadow.y-developments.info" term="compile from source" /><category scheme="http://shadow.y-developments.info" term="subversion" /><category scheme="http://shadow.y-developments.info" term="svn" />		<summary type="html"><![CDATA[TweetHi, i&#8217;m migratin a server, and i&#8217;m installing everything from source, so, the old server have subversion too, and after installing apache, mysql and php, i need it and configure it to use DAV for user authentication. for my surprise the apache source comes with the dav module do not include the mod_dav_svn and mod_authz_svn, and i found almost no info of how to make it work. so to everyone who need it, just add the &#8211;with-apr flag when you &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F12%2Fcompile-mod_dav_svn-and-mod_authz_svn%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>i&#8217;m migratin a server, and i&#8217;m installing everything from source, so, the old server have subversion too, and after installing apache, mysql and php, i need it and configure it to use DAV for user authentication. for my surprise the apache source comes with the dav module do not include the mod_dav_svn and mod_authz_svn, and i found almost no info of how to make it work.</p>
<p>so to everyone who need it, just add the &#8211;with-apr flag when you configure the subversion source, like this:</p>
<blockquote><p>./configure &#8211;with-apr=/usr/local/apache2/bin/apr-1-config</p></blockquote>
<p>of course, your compiled version of apache needs to have apr, adding the flag &#8220;&#8211;with-included-apr&#8221; will do the trick</p>
<p>then use make and make install, automatically will place the modules on the apache module directory and you will be able to load it from there.</p>
<p>when you restart apache loading this modules, found any missing library or shared object error, check that the file is on /usr/local/lib and /usr/lib depending your apache configuration. it should be in at least 1 of those locations, to fix it, i just created a symbolic link of the file in the missing location and that fixed the problem.</p>
<p>i hope this will be useful for you <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/02/subversion-with-cpanel-and-whm/" title="Subversion with Cpanel and WHM">Subversion with Cpanel and WHM</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/08/update-web-directory-after-a-svn-commit-the-final-solution/" title="Update web directory after a SVN commit: the final solution">Update web directory after a SVN commit: the final solution</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/08/known-problem-with-subversion-and-windows-7/" title="Known problem with subversion and windows 7">Known problem with subversion and windows 7</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/12/compile-mod_dav_svn-and-mod_authz_svn/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[has been a while right?]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/GgkUoMAWEB8/" />
		<id>http://shadow.y-developments.info/?p=566</id>
		<updated>2011-09-20T18:44:24Z</updated>
		<published>2011-09-20T18:44:24Z</published>
		<category scheme="http://shadow.y-developments.info" term="News" />		<summary type="html"><![CDATA[TweetHi, i wonder if someone still visit this blog xD sorry for leave you behind, i usually use this space to share things or code that i discover that solve some common problems, but recently, i didn&#8217;t  discovered anything i have been very busy working on hvc.com most of time, i&#8217;m playing the piano too on a little of spare time i have and trying to build some ideas i also i want to move forward. nothing else more than &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/09/has-been-a-while-right/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/09/has-been-a-while-right/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F09%2Fhas-been-a-while-right%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>i wonder if someone still visit this blog xD</p>
<p>sorry for leave you behind, i usually use this space to share things or code that i discover that solve some common problems, but recently, i didn&#8217;t  discovered anything <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>i have been very busy working on hvc.com most of time, i&#8217;m playing the piano too on a little of spare time i have and trying to build some ideas i also i want to move forward.</p>
<p>nothing else more than that really, i hope i could have some other news the next time i write here, if you want specific updates about my projects, check our <a href="http://www.facebook.com/pages/Ipsilon-Developments/152160504855006" target="_blank">facebook page at Ipsilon Developments</a></p>
<p>see you <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Random Posts</h2><ul class="related_post" style="margin-bottom:5px !important;"></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/09/has-been-a-while-right/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/09/has-been-a-while-right/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/09/has-been-a-while-right/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[how to install imagick for php on fedora-redhat-centos]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/V1kkQjDxzUI/" />
		<id>http://shadow.y-developments.info/?p=562</id>
		<updated>2011-08-11T17:00:49Z</updated>
		<published>2011-08-11T17:00:49Z</published>
		<category scheme="http://shadow.y-developments.info" term="php" /><category scheme="http://shadow.y-developments.info" term="server" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="centos" /><category scheme="http://shadow.y-developments.info" term="fedore" /><category scheme="http://shadow.y-developments.info" term="imagick" /><category scheme="http://shadow.y-developments.info" term="php5" /><category scheme="http://shadow.y-developments.info" term="redhat" />		<summary type="html"><![CDATA[TweetHi, recently i moved some scripts to a new server, so i was needed to reinstall everything from the old one. this has been also a change of platform, as the old was on a debian lenny, and this new one was a RHEL 6.0. in resume, here are the instructions of how to install imagick and support it on your php installation for any redhat based distribution: yum install ImageMagick.i386 yum install ImageMagick-devel.i386 pecl install imagick echo &#8220;extension=imagick.so&#8221; &#62; &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/08/how-to-install-imagick-for-php-on-debian-fedora-redhat-centos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/08/how-to-install-imagick-for-php-on-debian-fedora-redhat-centos/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F08%2Fhow-to-install-imagick-for-php-on-debian-fedora-redhat-centos%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>recently i moved some scripts to a new server, so i was needed to reinstall everything from the old one. this has been also a change of platform, as the old was on a debian lenny, and this new one was a RHEL 6.0. in resume, here are the instructions of how to install imagick and support it on your php installation for any redhat based distribution:</p>
<blockquote><p><span style="color: #000000;">yum install ImageMagick.i386</span></p>
<p><span style="color: #000000;">yum install ImageMagick-devel.i386</span></p>
<p><span style="color: #000000;">pecl install imagick</span></p>
<p><span style="color: #000000;">echo &#8220;extension=imagick.so&#8221; &gt; /etc/php.d/imagick.ini</span></p>
<p><span style="color: #000000;">service httpd restart</span></p></blockquote>
<p>of course, change i386 with your architecture (like x86_64) and also, you need to install php-pear package to be able to use pecl and install the php extension.</p>
<p>i hope you find this useful <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/08/how-to-set-up-a-backup-system-with-r3sync-and-amazon-s3/" title="How to set up a backup system with R3sync and amazon S3">How to set up a backup system with R3sync and amazon S3</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/07/the-os-for-webserver-is-not-centos-is-debian/" title="the OS for webserver is not centos, is debian">the OS for webserver is not centos, is debian</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/08/how-to-install-imagick-for-php-on-debian-fedora-redhat-centos/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/08/how-to-install-imagick-for-php-on-debian-fedora-redhat-centos/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/08/how-to-install-imagick-for-php-on-debian-fedora-redhat-centos/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[Some news :)]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/4zgDb22omK4/" />
		<id>http://shadow.y-developments.info/?p=559</id>
		<updated>2011-07-18T13:39:51Z</updated>
		<published>2011-07-18T13:39:51Z</published>
		<category scheme="http://shadow.y-developments.info" term="News" />		<summary type="html"><![CDATA[TweetHi, has been a while since my last post right? was not my intention, but a lot of things are going on recently, job and personal related stuff that consume me a lot of time, that didn&#8217;t left too much for this blog. i just wanted to share some stuff i have been doing this last weeks: 1)worked 90% of my time on www.hvc.com improving stuff and making new features that will be launched soon, and you will be surprised &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/07/some-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/07/some-news/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F07%2Fsome-news%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>has been a while since my last post right? was not my intention, but a lot of things are going on recently, job and personal related stuff that consume me a lot of time, that didn&#8217;t left too much for this blog.</p>
<p>i just wanted to share some stuff i have been doing this last weeks:</p>
<p>1)worked 90% of my time on www.hvc.com improving stuff and making new features that will be launched soon, and you will be surprised with what i pulled from the hat this time <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>2) i improved the code of <a href="http://www.7lay.net" target="_blank">7lay.net</a> a little, still need to work on it a LOT, i need to figure out a way to improve the user experience and offer something different than the other portals with the resources i have</p>
<p>3) update the <a href="http://y-developments.com" target="_blank">ipsilon developments</a> site with links to our latest projects and stuff made. i think it looks nice, simple and showing what i made this past time, that is what really matters.</p>
<p>also we have now too the <a href="http://www.facebook.com/pages/Ipsilon-Developments/152160504855006" target="_blank">facebook page</a> and the <a href="http://twitter.com/#!/ipsilondev" target="_blank">twitter profile</a> if you want to follow and get the news of our latest developments <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>4)launched <a href="http://file2pdf.com" target="_blank">File2PDF.com</a> a service to convert pdf files online, i&#8217;m planning to do a android client, but i dunno when i would finish with it <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>5)following a local trend for a youtube video, i launched <a href="http://tupasman.com" target="_blank">TuPasman.com</a>, a site that let you put on the protagonist screen any youtube video and share it.</p>
<p>and that&#8217;s it folks, i will have more news soon and probably some more useful post with more tech info will arrive too <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Random Posts</h2><ul class="related_post" style="margin-bottom:5px !important;"></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/07/some-news/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/07/some-news/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/07/some-news/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[Solution for like and tweet button with adsense ads]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/AKBk5NWfBwA/" />
		<id>http://shadow.y-developments.info/?p=552</id>
		<updated>2011-04-22T11:10:29Z</updated>
		<published>2011-04-22T11:10:29Z</published>
		<category scheme="http://shadow.y-developments.info" term="design" /><category scheme="http://shadow.y-developments.info" term="php" /><category scheme="http://shadow.y-developments.info" term="Programming" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="adsense" /><category scheme="http://shadow.y-developments.info" term="facebook" /><category scheme="http://shadow.y-developments.info" term="like" /><category scheme="http://shadow.y-developments.info" term="tweet" /><category scheme="http://shadow.y-developments.info" term="twitter" />		<summary type="html"><![CDATA[TweetHi, recently i was needed to add some like and tweet button to a site. i supposed will be a 5 minuted task, but i discovered something really weird, that for some reason, the button not only was screwing up the load of the adsense ads, but also, sometimes the ads appeared inside the iframe of the buttons. looking for a solution on the web, i found something for the facebook like button and i applied something seamless for the &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/04/solution-for-like-and-tweet-button-with-adsense-ads/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/04/solution-for-like-and-tweet-button-with-adsense-ads/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F04%2Fsolution-for-like-and-tweet-button-with-adsense-ads%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>recently i was needed to add some like and tweet button to a site. i supposed will be a 5 minuted task, but i discovered something really weird, that for some reason, the button not only was screwing up the load of the adsense ads, but also, sometimes the ads appeared inside the iframe of the buttons. looking for a solution on the web, i found something for the facebook like button and i applied something seamless for the twitter button.</p>
<p><strong>Facebook Like Button</strong></p>
<p>the steps to solve this are the following:</p>
<p>1)go to this page and create an application: <a href="https://developers.facebook.com/setup/" target="_blank">https://developers.facebook.com/setup/</a></p>
<p>2) paste this code where you want the like button and edit with the correct paths and the appID you generated before</p>
<pre>&lt;!--  like button  --&gt;

&lt;script src="http://connect.facebook.net/en_US/all.js#xfbml=1"&gt;&lt;/script&gt;&lt;fb:like layout="button_count" width="100"&gt;&lt;/fb:like&gt;
&lt;div id="fb-root"&gt;&lt;/div&gt;
&lt;script&gt;
window.fbAsyncInit = function() {
FB.init({
appId  : 'XXXXXXXXXXXX',   // ID generated for WEBSITE provided above.
xfbml  : true,  // parse XFBML
channelUrl  : 'http://www.YOUR_SITE_NAME.com/facebook/channel.html'  // new file custom channel
});
};

(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
&lt;/script&gt;

&lt;!--  like button  --&gt;
</pre>
<p>3)create the channel.html file on the path of your server and paste this only line:</p>
<pre>&lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
</pre>
<p>and that&#8217;s it, now you have a like button and will not screw up your adsense ads</p>
<p><strong>Tweet Button</strong></p>
<p>for the tweet button, the solution is more simple, i basically pasted the code inside a file and called it from a iframe. is not the most cleanest way, i know, but is the only thing i figured out to solve it.</p>
<p>i hope this help you in some way <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2009/10/oauth-and-rest-with-ajax-or-flash/" title="OAuth and REST with AJAX or FLASH">OAuth and REST with AJAX or FLASH</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2009/03/kongregate-need-to-pay-attention-to-the-ads-s/" title="Kongregate, need to pay attention to the ads :s">Kongregate, need to pay attention to the ads :s</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2008/11/my-new-site/" title="my new site :)">my new site :)</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/04/solution-for-like-and-tweet-button-with-adsense-ads/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/04/solution-for-like-and-tweet-button-with-adsense-ads/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/04/solution-for-like-and-tweet-button-with-adsense-ads/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[each() function in mootools don&#8217;t process associative arrays]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/bVo0iy_7BLU/" />
		<id>http://shadow.y-developments.info/?p=547</id>
		<updated>2011-03-15T12:11:55Z</updated>
		<published>2011-03-14T11:31:39Z</published>
		<category scheme="http://shadow.y-developments.info" term="javascript" /><category scheme="http://shadow.y-developments.info" term="Monday Tips" /><category scheme="http://shadow.y-developments.info" term="Programming" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="ajax" /><category scheme="http://shadow.y-developments.info" term="arrays" /><category scheme="http://shadow.y-developments.info" term="associative arrays" /><category scheme="http://shadow.y-developments.info" term="mootools" /><category scheme="http://shadow.y-developments.info" term="plugin" /><category scheme="http://shadow.y-developments.info" term="usability" />		<summary type="html"><![CDATA[TweetHi, maybe this could sound obvious but is something that i didn&#8217;t know till a few days ago when i was making some changes on a js code i made. like the title says, the each() function used in mootools to apply a code to each element in the array, do not work with associative arrays. so basically if you have this code: var myArray=new Array(); myArray["key1"]="value1"; myArray["key2"]="value2"; myArray.each(function (item, index){ //do stuff }); will not work, simply will not &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/03/each-function-in-mootools-dont-process-associative-arrays/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/03/each-function-in-mootools-dont-process-associative-arrays/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F03%2Feach-function-in-mootools-dont-process-associative-arrays%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>maybe this could sound obvious but is something that i didn&#8217;t know till a few days ago when i was making some changes on a js code i made. like the title says, the each() function used in mootools to apply a code to each element in the array, do not work with associative arrays.</p>
<p>so basically if you have this code:</p>
<pre>var myArray=new Array();

myArray["key1"]="value1";

myArray["key2"]="value2";

myArray.each(function (item, index){

//do stuff

});
</pre>
<p>will not work, simply will not execute the loop on each array element. to fix this, you need to use the for loop like this:</p>
<pre>var myArray=new Array();

myArray["key1"]="value1";

myArray["key2"]="value2";

for(key in myArray){

//do stuff

}
</pre>
<p>dunno if this is a mootools bug or was designed to work like this, but i hope this help you and save you time in debugging when you are using associative arrays.</p>
<p><strong> </strong></p>
<p><strong>update:</strong> from the comments below, let&#8217;s clarify some things:</p>
<p>*there is no associative arrays in javascript, they are objects, and i was wrong, indeed you can process it using the solution that <strong>Dimitar Christoff </strong> posted</p>
<pre>var myArray= {};
myArray["key1"]="value1";
myArray["key2"]="value2";

Object.each(myArray, function (item, key){
console.log(item, key);
});
</pre>
<p>*when you process the object like this, you need to check that you are not processing the js methods that mootools define, personally i stop processing the object after i found the &#8220;$family&#8221; key, in the comments recommend to use the hasOwnProperty() function but i don&#8217;t see why is better or different than mine, if you know it, post it <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>thanks for the comments, i recognize when i&#8217;m wrong, for your collaboration, i&#8217;m a bit a better dev <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/01/crop-images-with-mootools/" title="Crop images with mootools">Crop images with mootools</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/11/autocomplete-plugin-for-mootools/" title="Autocomplete plugin for mootools">Autocomplete plugin for mootools</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/02/multilanguage-ajax-with-the-serialize-function/" title="Multilanguage AJAX with the serialize function">Multilanguage AJAX with the serialize function</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/03/each-function-in-mootools-dont-process-associative-arrays/#comments" thr:count="5" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/03/each-function-in-mootools-dont-process-associative-arrays/feed/atom/" thr:count="5" />
		<thr:total>5</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/03/each-function-in-mootools-dont-process-associative-arrays/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[Wallaby is here !]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/RDT4tiU6a-Q/" />
		<id>http://shadow.y-developments.info/?p=544</id>
		<updated>2011-03-08T18:40:21Z</updated>
		<published>2011-03-08T18:40:21Z</published>
		<category scheme="http://shadow.y-developments.info" term="flash" /><category scheme="http://shadow.y-developments.info" term="News" /><category scheme="http://shadow.y-developments.info" term="Programming" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="html5" /><category scheme="http://shadow.y-developments.info" term="ios" /><category scheme="http://shadow.y-developments.info" term="wallaby" />		<summary type="html"><![CDATA[TweetHi, months ago i wrote this post where i commented about a tool that adobe was developing that convert any fla into html5. on the same post i also talk about the eternal fight of flash vs html5 and the &#8220;end of flash&#8221;, i recommend you to give it a quick read. today adobe have released this tool to the public, you can download it from here of course that the app is on a test phase, is not even &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/03/wallaby-is-here/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/03/wallaby-is-here/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F03%2Fwallaby-is-here%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>months ago i wrote <a href="http://shadow.y-developments.info/shadow_of__soul/2010/11/flash-the-evolution/" target="_blank">this post</a> where i commented about a tool that adobe was developing that convert any fla into html5. on the same post i also talk about the eternal fight of flash vs html5 and the &#8220;end of flash&#8221;, i recommend you to give it a quick read. today adobe have released this tool to the public, you can download it from <a href="http://labs.adobe.com/downloads/wallaby.html" target="_blank">here</a></p>
<p>of course that the app is on a test phase, is not even a beta version, but i hope flash will continue the development converting it into a real product.</p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/11/flash-the-evolution/" title="Flash, the evolution">Flash, the evolution</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/02/set-wmode-to-flash-and-youtube-iframe-code-with-mootools/" title="Set wmode to flash and youtube iframe code with mootools">Set wmode to flash and youtube iframe code with mootools</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2010/08/gamedev-small-indie-groups-companies-argentina/" title="Small game dev indie/groups/companies in argentina">Small game dev indie/groups/companies in argentina</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/03/wallaby-is-here/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/03/wallaby-is-here/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/03/wallaby-is-here/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>Shadow_of__soul</name>
					</author>
		<title type="html"><![CDATA[Stronger Passwords: NakedPassword]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ShadowBlog/~3/jeJGI72u3Ms/" />
		<id>http://shadow.y-developments.info/?p=538</id>
		<updated>2011-03-01T19:33:34Z</updated>
		<published>2011-03-01T19:31:25Z</published>
		<category scheme="http://shadow.y-developments.info" term="design" /><category scheme="http://shadow.y-developments.info" term="javascript" /><category scheme="http://shadow.y-developments.info" term="Programming" /><category scheme="http://shadow.y-developments.info" term="Usability" /><category scheme="http://shadow.y-developments.info" term="web" /><category scheme="http://shadow.y-developments.info" term="jquery plugin" /><category scheme="http://shadow.y-developments.info" term="password" /><category scheme="http://shadow.y-developments.info" term="security" /><category scheme="http://shadow.y-developments.info" term="usability" />		<summary type="html"><![CDATA[TweetHi, i just saw this on my twitter TL and i think it worth a mini-post. All those who develop some application that require user authentication, deal with the password problem. is not only a problem to store passwords (BTW, i wrote another post about it recently) but also the problem is the user, trying to encourage him to use stronger ones, using uppercase, lowercase letters, number and symbols is not easy. usually most of the app&#8217;s have a bar &#8230; <a href="http://shadow.y-developments.info/shadow_of__soul/2011/03/stronger-passwords-nakedpassword/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://shadow.y-developments.info/shadow_of__soul/2011/03/stronger-passwords-nakedpassword/"><![CDATA[<div style="float: left; margin-right: 10px; margin-top: 0px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fshadow.y-developments.info%2Fshadow_of__soul%2F2011%2F03%2Fstronger-passwords-nakedpassword%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div><p>Hi,</p>
<p>i just saw this on my twitter TL and i think it worth a mini-post. All those who develop some application that require user authentication, deal with the password problem. is not only a problem to store passwords (BTW, i wrote another post about it recently) but also the problem is the user, trying to encourage him to use stronger ones, using uppercase, lowercase letters, number and symbols is not easy. usually most of the app&#8217;s have a bar that measure the strength of the password. is nice and useful, but most of the users just don&#8217;t pay attention to it. in this cases is where <a href="http://www.nakedpassword.com/" target="_blank">naked password</a> take action and i will not say anything else, just go to the site and <a href="http://www.nakedpassword.com/" target="_blank">try it</a>, is a twist in usability to say it in some way <img src='http://shadow.y-developments.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Shadow.</p>
<h2  class="related_post_title" style="margin-bottom:5px !important;">Related Post</h2><ul class="related_post" style="margin-bottom:5px !important;"><li><a href="http://shadow.y-developments.info/shadow_of__soul/2012/01/sslpassphrasedialog-for-virtualhost-in-apache/" title="SSLPassPhraseDialog for virtualhost in apache">SSLPassPhraseDialog for virtualhost in apache</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/03/each-function-in-mootools-dont-process-associative-arrays/" title="each() function in mootools don&#8217;t process associative arrays">each() function in mootools don&#8217;t process associative arrays</a></li><li><a href="http://shadow.y-developments.info/shadow_of__soul/2011/02/the-mystery-of-the-design-process/" title="The mystery of the design process">The mystery of the design process</a></li></ul>]]></content>
		<link rel="replies" type="text/html" href="http://shadow.y-developments.info/shadow_of__soul/2011/03/stronger-passwords-nakedpassword/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://shadow.y-developments.info/shadow_of__soul/2011/03/stronger-passwords-nakedpassword/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://shadow.y-developments.info/shadow_of__soul/2011/03/stronger-passwords-nakedpassword/</feedburner:origLink></entry>
	</feed>

