Programmers guide to weight loss
I lost 44 pounds in the last 6 months. I did it without a diet or going hungry. I used basic methods that are known to most programmers for optimizing my behavior. Here is a...
Startups & Software – Simple, Open and Pragmatic.
I lost 44 pounds in the last 6 months. I did it without a diet or going hungry. I used basic methods that are known to most programmers for optimizing my behavior. Here is a...
Most Startups use Slack these days to communicate. They also integrate Jira, Asana and other tools into Slack to improve the communication and integration between the team members. But what if you want to get...
Spam for bloggers is a big pain, you need to go over 20-80 spam comments to get a single genuine comment. There are, however, applications that automatically filter your comments. I have used Mollom...
Javascript is a little hard to debug, Firebug helps a lot, but sometime you just to need to convert a javascript object into a string. In order to do that (in firefox) you could...
CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. CakePHP provides several Ajax features, but if cakephp debug is not turned off, most Ajax...
Real estate on your web page could be as important as real estate in real life. You got very little space on your client screen and need to use every inch (or pixels). Errors and messages take up valuable space that could be better used for more important things.
That is why Gritter is a great JQuery plugin – it saves real estate on your page by showing alerts, messages and errors in a floating bubble way, that is both informative and (because you can configure Gritter to fade away after a few seconds) non intrusive:
This image was taken from one of our new site’s design, we decided to use Gritter instead of putting the errors and notification inline.
Sometimes you need to enable silent (implicit) login for your users. A good example of this would be this – after a registration process, you would want to automatically login the user, rather then having him retype the user name and password.
In CakePHP there is a simple method in the Auth components that lets you login on the user’s behave.
Here is how it is done:
Lately it is kind of popular to trash Google. Very much like Microsoft, people love to complain about companies that take an important part of their daily life. Google is now an integral part of our life not only for search but for many other things. A good friend saw me convert foreign exchange on Google search and was very surprised you can do that. So here is a list of things I do in Google search which are not search related.
Living in a far away island in the pacific with friends in Europe and America, this tool is a great help.
I get spam comments all the time, it drives me crazy and make me wish I didn’t have a web site at all. Spam really bring the evil side of most site owners.
Yesterday, I finally had enough, I got 300 spam comments and only 4 real ones – I had to go over 3 pages and read bogus comments like:
“I have a question [link to gambling site]”
or “nice post [link to viagra]”
and the ho-so-known “dgsdgsdghsdfhdf [link to a SEO company]”.
I went to drupal and looked for the most popular anti-spam module they listed and found Mollom.
Mollom is a web service that helps you identify content quality and, more importantly, helps you stop spam on your blog, social network or community website. When site moderation becomes easier, you have more time and energy to interact with your community.
Where do my visitors come from? That is always a question bloggers, site owners and advertisers want to know. Knowing who has referred the visitor to my site tells you a lot about that visitor. This information might help you drive better, more finely tuned content to this user.