<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2309234334458650144</id><updated>2024-11-01T03:37:35.979-07:00</updated><category term="guide"/><category term="how to"/><category term="php"/><category term="centos"/><category term="error"/><category term="install"/><category term="cheatsheet"/><category term="ssh"/><category term="vi"/><category term="CSS"/><category term="Hacks"/><category term="IE"/><category term="fedora"/><category term="ffmpeg"/><category term="iphone"/><category term="FF"/><category term="Mac"/><category term="MacFUSE"/><category term="NTFS"/><category term="curl"/><category term="dreamweaver"/><category term="edit file"/><category term="ftp"/><category term="joomla"/><category term="password"/><category term="post"/><category term="redhat"/><category term="rounded corners"/><category term="sendmail"/><category term="soap"/><category term="usb"/><category term="validate"/><category term="vim"/><category term="yum"/><title type='text'>Developer Instincts</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-6737998948610927395</id><published>2011-12-06T05:19:00.000-08:00</published><updated>2011-12-06T05:19:37.767-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="MacFUSE"/><category scheme="http://www.blogger.com/atom/ns#" term="NTFS"/><title type='text'>Mount NTFS on Mac Leopard</title><summary type="text">
Okay so if you have an external drive with NTFS and you mount it on your Mac; you will have only READ access. To get a READ/WRITE access you need to install MacFUSE. Using MacFUSE you can extent the native file handling support and using 3rd party software you can have support for a number of different filesystems. It also comes with SDKs which will allow you to write custom sw on top of MacFUSE</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/6737998948610927395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2011/12/mount-ntfs-on-mac-leopard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/6737998948610927395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/6737998948610927395'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2011/12/mount-ntfs-on-mac-leopard.html' title='Mount NTFS on Mac Leopard'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-8955307847163462493</id><published>2010-09-16T00:01:00.000-07:00</published><updated>2010-09-16T00:01:25.719-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cheatsheet"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="vi"/><title type='text'>Common SSH Commands or Linux Shell Commands</title><summary type="text">
SSH is a necessary tool in any server admin’s arsenal. It is the
main way you will be interacting with your servers whenever you are
performing system tasks such as install, updates, etc. SSH allows you
to remotely connect to your server and command it via the shell. Below
is a list of commands you will use commonly while working with your
server.



I prefer the popular SSH client Putty, but </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/8955307847163462493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/common-ssh-commands-or-linux-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8955307847163462493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8955307847163462493'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/common-ssh-commands-or-linux-shell.html' title='Common SSH Commands or Linux Shell Commands'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-4583753800571418845</id><published>2010-09-15T00:14:00.000-07:00</published><updated>2010-09-15T00:18:18.443-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cheatsheet"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>All about CRONTAB</title><summary type="text">




What is Crontab?

Crontab (CRON TABle)is a program that manipulates the CRON daemon, making it easy for
users to schedule task and run programs/commands at pre determined
periods of time. Crontab can also be considered a file witch contains
commands that will be run by the system as the user that owns the
crontab file.





What is the purpose of Crontab?

Cron is designed to maintain a list</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/4583753800571418845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/all-about-crontab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/4583753800571418845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/4583753800571418845'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/all-about-crontab.html' title='All about CRONTAB'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr5PBRLipb8cyAJskyQh7_FcAB9h4Ct1y-WWFTqhuoMNtMV_2UO2bLmSVYnlXZ1bBb35vZK0ocbC1-ALUaXGGuDF2bTwmUt25wT9Eq3KOm8Le0cjD4FU2mz-dUsGNsBARxtfHQyr84KENh/s72-c/crontab-syntax.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-2886014155745854648</id><published>2010-09-15T00:03:00.000-07:00</published><updated>2010-10-01T23:33:41.568-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="Hacks"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Show all errors in PHP</title><summary type="text">&amp;lt;?php

ini_set(&#39;error_reporting&#39;, E_ALL);
ini_set(&#39;display_errors&#39;, &#39;On&#39;);
ini_set(&#39;display_startup_errors&#39;, &#39;On&#39;);
?&amp;gt;

For MySQL errors: echo mysql_errno($conn) . &quot;: &quot; . mysql_error($conn); </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/2886014155745854648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/show-all-errors-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/2886014155745854648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/2886014155745854648'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/show-all-errors-in-php.html' title='Show all errors in PHP'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-6772923572136867049</id><published>2010-09-02T00:47:00.000-07:00</published><updated>2010-09-02T00:47:04.171-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Random Float in PHP</title><summary type="text">&amp;lt;?php
function random_float ($min,$max) {
&amp;nbsp;&amp;nbsp; return ($min+lcg_value()*(abs($max-$min)));
}
?&amp;gt;

Random numbers with Gauss distribution (normal distribution)

&amp;lt;?php

function gauss()
{&amp;nbsp;&amp;nbsp; // N(0,1)
&amp;nbsp;&amp;nbsp;&amp;nbsp; // returns random number with normal distribution:
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp; mean=0
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp; std dev=1
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/6772923572136867049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/random-float-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/6772923572136867049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/6772923572136867049'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/09/random-float-in-php.html' title='Random Float in PHP'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-8352921358484102470</id><published>2010-08-05T08:49:00.000-07:00</published><updated>2010-08-05T08:49:14.921-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="validate"/><title type='text'>PHP isEmail Function</title><summary type="text">

Code to validate email in PHP using Preg Match.

This will cover emails of format:

asdfasdf@asdfasdf.com



function isEmail($email)

{

&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(preg_match(&quot;~([a-zA-Z0-9!#$%&amp;amp;amp;&#39;*+-/=?^_`{|}~])@([a-zA-Z0-9-]).([a-zA-Z0-9]{2,4})~&quot;,$email))&amp;nbsp;

&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;

&amp;nbsp;&amp;nbsp; else

&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;

}</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/8352921358484102470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/08/php-isemail-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8352921358484102470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8352921358484102470'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/08/php-isemail-function.html' title='PHP isEmail Function'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-7019089740551830744</id><published>2010-06-22T03:20:00.000-07:00</published><updated>2010-06-22T03:20:55.851-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="Hacks"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><title type='text'>CSS Hacks Compiled</title><summary type="text">
A compiled version of mostly used CSS hacks/filters used for Cross Browser Compatibility issues. (Ahh and yes the issues are always because of IE, more specifically a poor level of Standard Support in IE &amp;nbsp;:P )

In the list below first 4 points are preferred. By preferred it doesn&#39;t mean to always use these. These hacks are only to be used when needed. For some of hacks it will not be a </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/7019089740551830744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/06/css-hacks-compiled.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/7019089740551830744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/7019089740551830744'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/06/css-hacks-compiled.html' title='CSS Hacks Compiled'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-6363098758146320002</id><published>2010-05-05T04:56:00.000-07:00</published><updated>2010-05-05T04:56:11.676-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="iphone"/><title type='text'>iPhone Hanged? Freezed? Reset it...</title><summary type="text">In my case, my iphone just freezed. I got a message and iphone showed its preview and then suddenly hanged. The clock was running, so as other processes. Tried to turn it off, but of no use. Pressed home button alot of times, nothing happened. It wasn&#39;t even going to standby mode.
So what is the solution?&amp;nbsp;
We have to manually restart the iphone now. In my case pressing the power button for </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/6363098758146320002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/05/iphone-hanged-freezed-reset-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/6363098758146320002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/6363098758146320002'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/05/iphone-hanged-freezed-reset-it.html' title='iPhone Hanged? Freezed? Reset it...'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9UmKYQO5vg79CUt0GZt51JItCPv4U6DSfomdEPBvOiAmdZUHWDonuwkvLVXcOw3r3kSe-cte6mmNQdTnVvulpwMw9JJLtR34KhkwHQgd1WXC5EgJndhBCyyvNEgzVAyiHofDSYDTupxXF/s72-c/reset.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-3386044807753645950</id><published>2010-03-27T03:19:00.000-07:00</published><updated>2010-04-08T12:04:21.671-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="yum"/><title type='text'>Installing PHP 5.3.x on RedHat ES5, CentOS 5, etc</title><summary type="text">Some cases arise when we want to upgrade php and we do not want to affect any dependencies it has.



Obviously we can use YUM for this ;)

The step below will upgrade your php with all it dependencies to latest version. We have 5.3.1 at the moment.



To install PHP 5.3.1 (latest version) you can make use of a RPM repository maintained by Remi. We will cover here for ES5 stuff.

So first of all </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/3386044807753645950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/03/installing-53x-on-redhat-es5-centos-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/3386044807753645950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/3386044807753645950'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/03/installing-53x-on-redhat-es5-centos-5.html' title='Installing PHP 5.3.x on RedHat ES5, CentOS 5, etc'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-4797808987564148424</id><published>2010-03-27T03:03:00.000-07:00</published><updated>2010-03-27T03:03:47.244-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Upgrade to PHP 5.2.10 - CentOS5 using YUM</title><summary type="text">

There is a version of PHP (5.2.10) in CentOS’s Testing repository. You could either download each rpm and install, or set up your yum to install from the testing repository.

Install the testing repository’s GPG key:


rpm --import http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing



And download the CentOS-Testing repo file:


cd /etc/yum.repos.d
wget http://dev.centos.org/centos/5/</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/4797808987564148424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/03/upgrade-to-php-5210-centos5-using-yum.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/4797808987564148424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/4797808987564148424'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/03/upgrade-to-php-5210-centos5-using-yum.html' title='Upgrade to PHP 5.2.10 - CentOS5 using YUM'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-7653349386560929011</id><published>2010-02-19T01:44:00.000-08:00</published><updated>2010-02-19T01:47:55.163-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cheatsheet"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="vi"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>vim Cheat Sheet</title><summary type="text">

Working with files
Vim commandAction
:e filenameOpen a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt.
:w filenameSave changes to a file. If you don&#39;t specify a file name, Vim saves as the file name you were editing. For saving the file under a different name, specify the file name.
:qQuit Vim. If you have unsaved changes, Vim refuses</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/7653349386560929011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/02/vim-cheat-sheet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/7653349386560929011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/7653349386560929011'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/02/vim-cheat-sheet.html' title='vim Cheat Sheet'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-9154793132059558745</id><published>2010-02-18T23:50:00.000-08:00</published><updated>2010-02-19T01:49:50.319-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="sendmail"/><title type='text'>CentOS Sendmail error /etc/mail/submit.cf: line 544: --- Group writable directory</title><summary type="text">I was getting this error, when tried to send mail via SendMail server.

/etc/mail/submit.cf: line 544: fileclass: cannot open &#39;/etc/mail/trusted-users&#39;: Group writable directory
Sendmail is default mail server for CentOS.To test sendmail from ssh, use this:echo &quot;test&quot; | mail -s testsubject abc@xyz.com(replace abc@xyz.com with your email address, like hotmail or gmail etc.)On doing this I was </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/9154793132059558745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/02/centos-sendmail-error-etcmailsubmitcf.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/9154793132059558745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/9154793132059558745'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/02/centos-sendmail-error-etcmailsubmitcf.html' title='CentOS Sendmail error /etc/mail/submit.cf: line 544: --- Group writable directory'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-8118330892414446553</id><published>2010-02-01T01:56:00.000-08:00</published><updated>2010-02-01T02:05:07.678-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="password"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Recover Joomla Admin Password</title><summary type="text">To update Joomla Admin password, you need to run the following SQL query:UPDATE `jos_users` SET `password` = md5(&#39;PASSWORD HERE&#39;) WHERE `jos_users`.`id` =62 LIMIT 1This will simply update the password of user admin. This will work in all joomla versions. (I tried it myself)Secondly, I was trying to enter a new user to Joomla DB. It need a different trick :PFirst thing is simple add a new record </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/8118330892414446553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/02/recover-joomla-admin-password.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8118330892414446553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8118330892414446553'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/02/recover-joomla-admin-password.html' title='Recover Joomla Admin Password'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-7120266946112836963</id><published>2010-01-18T04:02:00.000-08:00</published><updated>2010-01-18T04:02:30.871-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="soap"/><title type='text'>Enable SOAP on CentOS / Fedora</title><summary type="text">CentOS, Fedora comes with a really good tool YUM.yum is a software package manager. It is a tool for installing, updating, and removing packages and their dependencies on RPM-based systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.


So</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/7120266946112836963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/01/enable-soap-on-centos-fedora.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/7120266946112836963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/7120266946112836963'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/01/enable-soap-on-centos-fedora.html' title='Enable SOAP on CentOS / Fedora'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-1080791958491218393</id><published>2010-01-11T02:04:00.000-08:00</published><updated>2010-01-11T02:04:30.923-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dreamweaver"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><title type='text'>Dreamweaver Error: While executing onLoad in RecordsetFind.htm</title><summary type="text">
I got this error a number of times, most of the people get it on CS4. I even got it on Macromedia Dreamweaver8. 

While executing onLoad in RecordsetFind.htm, the following JavaScript error(s) occured:
In file “RecordsetFind”:
ReferenceError: findRs is not defined


&amp;nbsp;This error is because of problems in Dreamweaver configuration files. Dreamweaver manages its own files for width of panels, </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/1080791958491218393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2010/01/dreamweaver-error-while-executing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/1080791958491218393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/1080791958491218393'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2010/01/dreamweaver-error-while-executing.html' title='Dreamweaver Error: While executing onLoad in RecordsetFind.htm'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-8461629976176172269</id><published>2009-12-22T23:03:00.000-08:00</published><updated>2009-12-22T23:03:04.197-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="iphone"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="usb"/><title type='text'>SSH to iPhone via USB</title><summary type="text">&amp;nbsp;I found a few other tutorials about SSH to iphone using USB cable. A few of them work but some guys are having problems. Here I will gather the working items/solutions and the stuff which worked for me and for some other users (downloadables / solution to errors).

So we will start with the required softwares...
As described by many others you will obviously need iTunnel to make connection.</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/8461629976176172269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2009/12/ssh-to-iphone-via-usb.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8461629976176172269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8461629976176172269'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2009/12/ssh-to-iphone-via-usb.html' title='SSH to iPhone via USB'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-1284679504612297435</id><published>2009-12-11T09:39:00.000-08:00</published><updated>2009-12-11T11:39:41.797-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="FF"/><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><category scheme="http://www.blogger.com/atom/ns#" term="rounded corners"/><title type='text'>Rounded Corners Compatible with All Browsers</title><summary type="text">
.rounded {
  border: 1px solid #ffffff;
  background-color: #ffffff;
  color: #000000;
  zoom:1; /* causes IE to behave properly */
 }
 .tl {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVHl_1e6N5UXdhpD17gla2_QP8uOo1BOu_fAMewdI2Z4nhS9Sawl6sUWzsgsWUj65VL-DId57jbimD2VKUuovNbAozOZWzHRf5vxLoIIgcdR3Pvxqy6ZXoBnW90ErzN-0lLiz83HjYNDin/s320/tl.gif) no-repeat top left;
      </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/1284679504612297435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2009/12/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/1284679504612297435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/1284679504612297435'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2009/12/blog-post.html' title='Rounded Corners Compatible with All Browsers'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-8862310726327202343</id><published>2009-12-09T09:30:00.000-08:00</published><updated>2009-12-09T12:09:27.745-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="curl"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="post"/><title type='text'>POST data using cURL</title><summary type="text">This is about posting some data to a page via cURL. We already know the other and common method to post data, i.e. using a form and setting its method to POST. Sometimes we need to POST data using php without any form. So for this we can use cURL.&amp;nbsp;

 
Scenario: In our case we will send a user id along with a status and a message to our other page to process it and return it&#39;s result. We </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/8862310726327202343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2009/12/post-date-using-curl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8862310726327202343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8862310726327202343'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2009/12/post-date-using-curl.html' title='POST data using cURL'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-3232261868500213139</id><published>2009-11-21T12:22:00.000-08:00</published><updated>2009-11-21T12:28:02.381-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="edit file"/><category scheme="http://www.blogger.com/atom/ns#" term="vi"/><title type='text'>vi Basics - How to edit a file</title><summary type="text">To edit using vi, type vi along with file namesay:vi abc.cvi works like a console app. Now to start editing press iTo use any command like save or quit etc. press &quot; : &quot; (colon without quotes)From edit mode, press ESC to go to normal mode and press :Enter w to save/write the changes to file.Enter q to quit vi</summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/3232261868500213139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2009/11/vi-basics-how-to-edit-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/3232261868500213139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/3232261868500213139'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2009/11/vi-basics-how-to-edit-file.html' title='vi Basics - How to edit a file'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-4270957054813359859</id><published>2009-11-21T11:38:00.000-08:00</published><updated>2010-06-22T03:22:25.118-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg"/><title type='text'>PHP Warning: PHP Startup: Unable to load dynamic library &#39;/usr/lib/php/modules/ffmpeg.so&#39;</title><summary type="text">

While Installing FFMPEG, when I was installing ffmpeg-php, I got this warning and it didn&#39;t work any further. 

PHP Warning: PHP Startup: Unable to load dynamic library &#39;/usr/lib/php/modules/ffmpeg.so&#39; - /usr/lib/php/modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0




Tried to find the solution but didn&#39;t get any help. So I ended up reinstalling with different changes </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/4270957054813359859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2009/11/php-warning-php-startup-unable-to-load.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/4270957054813359859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/4270957054813359859'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2009/11/php-warning-php-startup-unable-to-load.html' title='PHP Warning: PHP Startup: Unable to load dynamic library &#39;/usr/lib/php/modules/ffmpeg.so&#39;'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2309234334458650144.post-8981570751752085800</id><published>2009-11-21T10:13:00.000-08:00</published><updated>2009-11-21T11:38:23.228-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="how to"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><title type='text'>Installing FFMPEG on Centos</title><summary type="text">This is a bit troublesome work. I spent around 9 hours banging my head with ffmpeg and did many tries to install this. And there are alot of guides for this and ***I was honored*** to install using a few of them :P. I am compiling here the set of commands that worked for me and I will also include a few alternatives in some cases and solutions to some problem which may arise./*********Only for </summary><link rel='replies' type='application/atom+xml' href='http://developerinstincts.blogspot.com/feeds/8981570751752085800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://developerinstincts.blogspot.com/2009/11/installing-ffmpeg-on-centos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8981570751752085800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2309234334458650144/posts/default/8981570751752085800'/><link rel='alternate' type='text/html' href='http://developerinstincts.blogspot.com/2009/11/installing-ffmpeg-on-centos.html' title='Installing FFMPEG on Centos'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03988088367092354297</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>