<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>LAMP How To - Open Source At Work</title>
	
	<link>http://www.azhowto.com</link>
	<description>Only Passion Matters</description>
	<lastBuildDate>Tue, 27 Mar 2012 01:49:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking" /><feedburner:info uri="everythinglinux-webdevelopmentlinuxadministrationandnetworking" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>uploading files outside of wordpress admin</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/GRyHGNTwYpM/</link>
		<comments>http://www.azhowto.com/2012/03/27/uploading-files-outside-of-wordpress-admin/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 01:49:49 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=856</guid>
		<description>if i have 4 images (called add_image1, add_image2, add_image3 and add_image4) to be uploaded outside of wordpress admin and wants to use wordpress file uploading functionality,
if (isset($_FILES)) {
for ($i = 0; $i &amp;#60; 4; $i ++) {       $name = &amp;#8216;add_image&amp;#8217;.$i;       if ($_FILES[$name]['size'][$k] &amp;#62; [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/grFFa8FRILndMgeDIQAO80Nn2YA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/grFFa8FRILndMgeDIQAO80Nn2YA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/grFFa8FRILndMgeDIQAO80Nn2YA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/grFFa8FRILndMgeDIQAO80Nn2YA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/GRyHGNTwYpM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2012/03/27/uploading-files-outside-of-wordpress-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2012/03/27/uploading-files-outside-of-wordpress-admin/</feedburner:origLink></item>
		<item>
		<title>Steps to take to upgrade vbulletin</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/3lDa3JXPrmU/</link>
		<comments>http://www.azhowto.com/2012/03/21/steps-to-take-to-upgrade-vbulletin/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 05:03:19 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[vbulletin]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=849</guid>
		<description>Assuming you are running vbulletin upgrade in staging before production and that staging has a different domain name&amp;#8230; Here are some useful tips:
I use chrome as the preferred browser when doing vbulletin upgrades. firefox is notorious for caching which might result in hours of debugging time.
1. Backup Database.
2. login to /admincp and put the site [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7MyYaU0uoXWFVaaekndPQAfoxG8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7MyYaU0uoXWFVaaekndPQAfoxG8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7MyYaU0uoXWFVaaekndPQAfoxG8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7MyYaU0uoXWFVaaekndPQAfoxG8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/3lDa3JXPrmU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2012/03/21/steps-to-take-to-upgrade-vbulletin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2012/03/21/steps-to-take-to-upgrade-vbulletin/</feedburner:origLink></item>
		<item>
		<title>ruby dependencies in ubuntu</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/y-WkfbIKhrQ/</link>
		<comments>http://www.azhowto.com/2012/03/09/ruby-dependencies-in-ubuntu/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 00:14:11 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Ruby]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=847</guid>
		<description>Other than installing rvm and rails. ubuntu users will have to install the dependencies, &amp;#8220;rvm requirements&amp;#8221; will give you a list like this

/usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion

After that, we need to install readline

rvm package install readline
cd [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xxeMQ9zvPyJ__GywG4s2VD4hfKE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xxeMQ9zvPyJ__GywG4s2VD4hfKE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xxeMQ9zvPyJ__GywG4s2VD4hfKE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xxeMQ9zvPyJ__GywG4s2VD4hfKE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/y-WkfbIKhrQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2012/03/09/ruby-dependencies-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2012/03/09/ruby-dependencies-in-ubuntu/</feedburner:origLink></item>
		<item>
		<title>Why I think Rails Cannot Be Enterprise Ready</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/8ewYwmdqW7E/</link>
		<comments>http://www.azhowto.com/2012/03/03/why-i-dont-think-rails-can-be-enterprise-ready/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 12:59:55 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Technology]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=839</guid>
		<description>When one uses rails, it is not about just learning a new syntax, it is about embracing a new culture, the culture of &amp;#8220;willingness to adapt and change&amp;#8221;. You can see this from rails iteration cycle. The amount of change packed into a version update is huge and update happens very often. This is all [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7vsHJARjZWR71MiYwUuCNsbeet4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7vsHJARjZWR71MiYwUuCNsbeet4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7vsHJARjZWR71MiYwUuCNsbeet4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7vsHJARjZWR71MiYwUuCNsbeet4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/8ewYwmdqW7E" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2012/03/03/why-i-dont-think-rails-can-be-enterprise-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2012/03/03/why-i-dont-think-rails-can-be-enterprise-ready/</feedburner:origLink></item>
		<item>
		<title>3rd party ads spacing issues in your website</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/lShGo_AiwCY/</link>
		<comments>http://www.azhowto.com/2012/02/08/fixing-3rd-party-ads/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 03:07:01 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=835</guid>
		<description>ads are good but can be annoying at times as they usually bring in some extra html or css that might mess with your layout. take google ads for example, it sometimes inject a fix height and width to an ad even if it doesnt pull in any ads.
so the solution is to implement a [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WHJ6KsdwgUkC3DF9PMTlHVkBaRs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WHJ6KsdwgUkC3DF9PMTlHVkBaRs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WHJ6KsdwgUkC3DF9PMTlHVkBaRs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WHJ6KsdwgUkC3DF9PMTlHVkBaRs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/lShGo_AiwCY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2012/02/08/fixing-3rd-party-ads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2012/02/08/fixing-3rd-party-ads/</feedburner:origLink></item>
		<item>
		<title>using set_transient in wordpress</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/CY-wtbZLaHQ/</link>
		<comments>http://www.azhowto.com/2012/01/14/using-set_transient-in-wordpress/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 11:54:05 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=832</guid>
		<description>set_transient is an excellent caching mechanism in wordpress. However one thing to note is that it depends on the caching plugin that is installed. So for example, if the plugin caching mechanism is memcache, the cache will be stored in memcache instead of in the db. Hence clearing the memcache from the plugin will clear [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aK94--S5R0o_xJJM4nRfsJWncZA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aK94--S5R0o_xJJM4nRfsJWncZA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aK94--S5R0o_xJJM4nRfsJWncZA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aK94--S5R0o_xJJM4nRfsJWncZA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/CY-wtbZLaHQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2012/01/14/using-set_transient-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2012/01/14/using-set_transient-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>PHP: usort magic</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/6mzLQeLev7w/</link>
		<comments>http://www.azhowto.com/2011/12/21/php-usort-magic/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 02:02:19 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=829</guid>
		<description>usort is very useful when one wants to combine or manipulate the results especially received from the db.
say for example we have an array named $displayProduct and we want to sort by the associative array call &amp;#8216;order&amp;#8217;

usort($displayProduct, function($a, $b) {return ($a['order'] &lt; $b['order']) ? -1 : 1; });
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/scuAKbbqHTDP63QObRUgzynTNqQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/scuAKbbqHTDP63QObRUgzynTNqQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/scuAKbbqHTDP63QObRUgzynTNqQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/scuAKbbqHTDP63QObRUgzynTNqQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/6mzLQeLev7w" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/12/21/php-usort-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/12/21/php-usort-magic/</feedburner:origLink></item>
		<item>
		<title>quick magento tips</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/XL6G2Jh_jr0/</link>
		<comments>http://www.azhowto.com/2011/12/16/quick-magento-tips/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 01:36:39 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think Software]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=827</guid>
		<description>// get user ip
Mage::helper('core/http')-&gt;getRemoteAddr(true));

// get user session id
Mage::getModel("core/session")-&gt;getEncryptedSessionId());

// update database config on the fly
Mage::getModel('core/config')-&gt;saveConfig('payment/worldpaydirect/merchant_id', '1111111');
Mage::getConfig()-&gt;reinit();
Mage::app()-&gt;reinitStores();
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ohFy0baZ-F8yHUr6iJN15gH0SqY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ohFy0baZ-F8yHUr6iJN15gH0SqY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ohFy0baZ-F8yHUr6iJN15gH0SqY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ohFy0baZ-F8yHUr6iJN15gH0SqY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/XL6G2Jh_jr0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/12/16/quick-magento-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/12/16/quick-magento-tips/</feedburner:origLink></item>
		<item>
		<title>wordpress caching and mobile theme plugins</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/3nXnBIE2OpA/</link>
		<comments>http://www.azhowto.com/2011/12/14/wordpress-caching-and-mobile-theme-plugins/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 00:14:47 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think Software]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=819</guid>
		<description>when using caching plugin such as w3tc in wordpress, it will try to cache the mobile version as well and there could be a possibility that mobile users might see the desktop version and vice versa. So the idea is to disable the caching plugin for mobile agents:
if using w3tc, under page cache -&gt; rejected [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oA-Kxzfm938YI-hJ7rd-IAiITgI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oA-Kxzfm938YI-hJ7rd-IAiITgI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oA-Kxzfm938YI-hJ7rd-IAiITgI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oA-Kxzfm938YI-hJ7rd-IAiITgI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/3nXnBIE2OpA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/12/14/wordpress-caching-and-mobile-theme-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/12/14/wordpress-caching-and-mobile-theme-plugins/</feedburner:origLink></item>
		<item>
		<title>clear dns cache in mac</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/h2K-SgP28IM/</link>
		<comments>http://www.azhowto.com/2011/12/02/clear-dns-cache-in-mac/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 06:01:29 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Networking]]></category>
		<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=816</guid>
		<description>dns might not have been cleared when changing dns entries in the /etc/file.
In mac,
dscacheutil -flushcache
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AyAVrTug6miLXPux6XN3TFfdhh0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AyAVrTug6miLXPux6XN3TFfdhh0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AyAVrTug6miLXPux6XN3TFfdhh0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AyAVrTug6miLXPux6XN3TFfdhh0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/h2K-SgP28IM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/12/02/clear-dns-cache-in-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/12/02/clear-dns-cache-in-mac/</feedburner:origLink></item>
		<item>
		<title>git: finding file changed since certain date and upload a server</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/vpQf51XFFY4/</link>
		<comments>http://www.azhowto.com/2011/11/23/git-finding-file-changed-since-certain-date-and-upload-a-server/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 00:57:23 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=812</guid>
		<description>good old bash.

git log -p --since={2011-11-01} &amp;#124; grep "diff --git" &amp;#124; awk '{print $3}' &amp;#124; sed 's/^a\///g' &amp;#124; sort -rn &amp;#124; uniq &amp;#124; while read s; do scp $s root@yourip:/server_path/$s; done;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Djwn_sa1yTXD_FaDQgBkr6Hcktc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Djwn_sa1yTXD_FaDQgBkr6Hcktc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Djwn_sa1yTXD_FaDQgBkr6Hcktc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Djwn_sa1yTXD_FaDQgBkr6Hcktc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/vpQf51XFFY4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/11/23/git-finding-file-changed-since-certain-date-and-upload-a-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/11/23/git-finding-file-changed-since-certain-date-and-upload-a-server/</feedburner:origLink></item>
		<item>
		<title>Tips in Magento</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/gwmrU7H86xE/</link>
		<comments>http://www.azhowto.com/2011/11/10/debugging-tips-in-magento/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 01:45:34 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think Software]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=801</guid>
		<description>Debugging Tips:

1. In your .htaccess, add
SetEnv MAGE_IS_DEVELOPER_MODE
2. Under system -&gt; configuration -&gt; advanced -&gt; developer,
change current configuration scope dropdown on top left to main website, then debug -&gt; turn template hints and block name hints to on.
3. We can log errors easily. 
Mage::log($var);
4. To display popup errors,
Mage::throwException(&amp;#8220;Your debug message here&amp;#8221;);
5. To see a list of [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OxlhE7-CRDKztOSVA6ZQpa66fWY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OxlhE7-CRDKztOSVA6ZQpa66fWY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OxlhE7-CRDKztOSVA6ZQpa66fWY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OxlhE7-CRDKztOSVA6ZQpa66fWY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/gwmrU7H86xE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/11/10/debugging-tips-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/11/10/debugging-tips-in-magento/</feedburner:origLink></item>
		<item>
		<title>Magento: Removing SSL After Installation</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/xhClzYIhJok/</link>
		<comments>http://www.azhowto.com/2011/11/07/magento-removing-ssl-after-installation/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 01:12:29 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think Software]]></category>
		<category><![CDATA[Think Technology]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=799</guid>
		<description>use magento_db;
UPDATE core_config_data SET value = 0 WHERE path=&amp;#8217;web/secure/use_in_frontend&amp;#8217;;
UPDATE core_config_data SET value = 0 WHERE path=&amp;#8217;web/secure/use_in_adminhtml&amp;#8217;; 
might need to clear the cache and do hard refresh after that.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RW592NCAhrueUHxgiPyQZF4H1JM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RW592NCAhrueUHxgiPyQZF4H1JM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RW592NCAhrueUHxgiPyQZF4H1JM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RW592NCAhrueUHxgiPyQZF4H1JM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/xhClzYIhJok" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/11/07/magento-removing-ssl-after-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/11/07/magento-removing-ssl-after-installation/</feedburner:origLink></item>
		<item>
		<title>Magento: Adding Downloadable Product To A Bundle</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/M9DGqO-wK6Q/</link>
		<comments>http://www.azhowto.com/2011/11/03/magento-adding-downloadable-product-to-a-bundle/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 23:21:48 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=793</guid>
		<description>After googling for ages, I could not find an answer to bundling downloadable product, as in the downloadable product will not appear under the bundle items search section. After some tough digging, I noticed magento community version 1.6 only accepts virtual and simple product in a bundle.
the config is at app/code/core/Mage/Bundle/etc/config.xml, about line 103.
To get [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3rB60PCDRdWd7uBV_BZKrjomITk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3rB60PCDRdWd7uBV_BZKrjomITk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3rB60PCDRdWd7uBV_BZKrjomITk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3rB60PCDRdWd7uBV_BZKrjomITk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/M9DGqO-wK6Q" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/11/03/magento-adding-downloadable-product-to-a-bundle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/11/03/magento-adding-downloadable-product-to-a-bundle/</feedburner:origLink></item>
		<item>
		<title>Turning on Mac keyboard Backlit</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/dKGDzinf4Ks/</link>
		<comments>http://www.azhowto.com/2011/11/03/turning-on-mac-keyboard-backlit/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 22:41:28 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=791</guid>
		<description>If you find your mac keyboard not having any backlit, try apple -&gt; system preferences -&gt; keyboard -&gt; illuminate keyboard in low light conditions. 
Then try covering your fingers over the camera, the keyboard should be lit up.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RdGUPE4KnnysEd5rgYglD-pb6ec/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RdGUPE4KnnysEd5rgYglD-pb6ec/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RdGUPE4KnnysEd5rgYglD-pb6ec/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RdGUPE4KnnysEd5rgYglD-pb6ec/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/dKGDzinf4Ks" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/11/03/turning-on-mac-keyboard-backlit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/11/03/turning-on-mac-keyboard-backlit/</feedburner:origLink></item>
		<item>
		<title>playing with cat and awk</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/Z8WQU4R6xCo/</link>
		<comments>http://www.azhowto.com/2011/10/05/playing-with-cat-and-awk/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 05:46:10 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=788</guid>
		<description>cat can print out line number and awk lets you format it. This combo is excellent to manipulate files
creating a csv for eg.

cat -n phpbook.csv &amp;#124; awk '{print $2","$1}' &gt; phpbook1.csv
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WD1jZngDE1VHrjUfS9bSEJP0KZg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WD1jZngDE1VHrjUfS9bSEJP0KZg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WD1jZngDE1VHrjUfS9bSEJP0KZg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WD1jZngDE1VHrjUfS9bSEJP0KZg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/Z8WQU4R6xCo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/10/05/playing-with-cat-and-awk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/10/05/playing-with-cat-and-awk/</feedburner:origLink></item>
		<item>
		<title>Removing sensitive data from git</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/NAr_X7sPVMg/</link>
		<comments>http://www.azhowto.com/2011/09/22/removing-sensitive-data-from-git/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 01:58:38 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Software]]></category>
		<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=781</guid>
		<description>suppose one accidentally commited a file with sensitive data ages ago, others could actually retrieve the passwd easily since git keeps a history of the changes. So the idea is to remove the file from git altogether with file changed history, then recommit the affected file (without sensitive data this time) again. 
do a git [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0JQMD7y9av3DEt0OU3h1qn1P0xg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0JQMD7y9av3DEt0OU3h1qn1P0xg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0JQMD7y9av3DEt0OU3h1qn1P0xg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0JQMD7y9av3DEt0OU3h1qn1P0xg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/NAr_X7sPVMg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/09/22/removing-sensitive-data-from-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/09/22/removing-sensitive-data-from-git/</feedburner:origLink></item>
		<item>
		<title>vbulletin: getting user ip behind a proxy</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/j_K8PRjgkMs/</link>
		<comments>http://www.azhowto.com/2011/09/06/vbulletin-getting-user-ip-behind-a-proxy/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 02:10:49 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=779</guid>
		<description>if vbulletin is behind a proxy, the ip of the user would be the ip of the proxy server instead of the ip of the user. Instead of hacking the includes/class_core.php file we can install the runkit extension, ie http://www.php.net/manual/en/runkit.installation.php
then create a plugin consisting of the following:

$vbulletin-&gt;ipaddress = $vbulletin-&gt;alt_ip;
runkit_constant_redefine('IPADDRESS', $vbulletin-&gt;ipaddress);
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_bCKRNig16bQCoi9n1oUouCM7us/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_bCKRNig16bQCoi9n1oUouCM7us/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_bCKRNig16bQCoi9n1oUouCM7us/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_bCKRNig16bQCoi9n1oUouCM7us/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/j_K8PRjgkMs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/09/06/vbulletin-getting-user-ip-behind-a-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/09/06/vbulletin-getting-user-ip-behind-a-proxy/</feedburner:origLink></item>
		<item>
		<title>change primary domain name in wordpress</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/oO9kQ51gxNU/</link>
		<comments>http://www.azhowto.com/2011/09/01/change-primary-domain-name-in-wordpress/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 00:58:49 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=776</guid>
		<description>sometimes it may be necessary to change the domain name of your wordpress blog. Instead of reinstalling wordpress, we can modify the current database to accomodate the changes. run the following query:
Back up your db. then

use wordpress_db;
update wp_site set domain='newdomain.com';
update wp_blogs set domain='newdomain.com';
update wp_options SET option_value = 'http://newdomain.com' WHERE wp_options.option_id =1;
update wp_options SET option_value = [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KI52Z9cOMESUNWa8JQ4rsWWmDu8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KI52Z9cOMESUNWa8JQ4rsWWmDu8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KI52Z9cOMESUNWa8JQ4rsWWmDu8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KI52Z9cOMESUNWa8JQ4rsWWmDu8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/oO9kQ51gxNU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/09/01/change-primary-domain-name-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/09/01/change-primary-domain-name-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Mac nvrm crashing</title>
		<link>http://feedproxy.google.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~3/txIjcYo6h-0/</link>
		<comments>http://www.azhowto.com/2011/08/19/mac-nvrm-crashing/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 03:38:33 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Technology]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=774</guid>
		<description>Many people who bought macs in 2010 are experiencing random crashes with NVRM error. After a bit of digging, the problem could be drilled down into the nvidia card for the 2010 batch of  macs. If you are using Nvidia Geforce GT 330M, you might be a victim as well.
&amp;#8220;A number of people with [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/67gw9bvpfpDbBDUf6Gh-jQ6vin4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/67gw9bvpfpDbBDUf6Gh-jQ6vin4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/67gw9bvpfpDbBDUf6Gh-jQ6vin4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/67gw9bvpfpDbBDUf6Gh-jQ6vin4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EverythingLinux-WebDevelopmentLinuxAdministrationAndNetworking/~4/txIjcYo6h-0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.azhowto.com/2011/08/19/mac-nvrm-crashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.azhowto.com/2011/08/19/mac-nvrm-crashing/</feedburner:origLink></item>
	</channel>
</rss>

