[CakePHP] How to show ‘all’ records options while still using paginate Admittedly this is a marginal case but recently a client wanted to show “All” records along with a list of ‘per page’ options for paginated records, for example, something like ‘2, 5, 10, 25, 50, 100, All’ or you need to use ‘field sort’ […]
This is more of note to self but at the same time I feel it will benefit someone some day alt + shift + G takes a screenshot which gets stored in the document folder as a png file alt + G will refresh the screen, this is useful to remove the ghosting which may […]
[How to] Optgroups in select for Drupal CCK module Many times we have taxonomy terms with parent/child relation with requirement that only the child taxonomy should be selected while adding a new content. One such case is Category/Albums in a photo gallery where one must select an album while adding a photo but category plays […]
There are some species of birds which are common, almost everyone and their aunts have a great picture of them but I somehow do not have any decent pictures. The Osprey (Pandion haliaetus) till very recently was one such species.
All my previous sighting s of this animal have been fleeting glimpses as it disappeared into the bushes. Indian Muntjac commonly known as the Indian barking deer is a small, very alert and shy member of the deer family.
[How To] Live index updates in Sphinx search Sphinx search engine can index huge databases with ease and speed. However, when new data (in database or the configured data source) comes in, there is no point in re-indexing everything again and waste our CPU cycles and other resources. Sphinx offers live (almost real time) index […]
The year gone by can be best described as a year of photography and traveling. I started the new year with my 20th picture on Flickr explore, but the novelty of Flickr explore wore off pretty soon as I got a front page explore again and then 40 pictures and finally 50+. We traveled to […]
The seed for the trip to Botswana was planted when we were in the Serengeti plains of Tanzania in May. Amit Sharma, my good friend of many years said that there was a great price deal and photographer Vincent Grafhorst will be our host. I was instantly hooked. Six months was a long time but […]
Yesterday Swati was reminiscing about how the event now called as foss.in began and what an amazing journey it has been for the past 10 years. Leafing thru the photos we realized that the journey has been more so for Aasim who began it as a 3 year old in ITcom 2000 and has been […]
[How To] Post data using PHP streams Recently, I needed to work on a project that needed to post information to another site without the user actually leaving the site and I needed to do this more than thrice and to different urls ! And I did it! Any guesses how ? What ? Ajax […]