Platforms for developing iPhone Application

Platforms for developing iPhone Application

Posted by Sajith M.R in general, webworld on 03. Mar, 2010 | 1 Comment

In 2008, after Steve Jobs released a Software Development Kit  (SDK)for developing iPhone application,  the iPhone OS platform became open for all to development their own application. Xcode is the development environment for iPhone development.  Later a lot of frameworks were introduced over this platform.  The following are new platforms for developing iPhone applications.
iPhone SDK

[...]

How to reset mysql root password (Windows)

How to reset mysql root password (Windows)

Posted by Sajith M.R in general on 03. Mar, 2010 | 0 Comments

Of course, it is not my post. But I wrote it here for a back up for myself. I got this from some website, it works !
Steps1)

Stop running Mysql service  first (Administrative tools > Services )
Open command prompt (cmd) and reach the directory  (using CD command) where Mysql bin  is installed (eg: C:/Program Files/Mysql/bin)
type mysqld.exe [...]

Sliding menu using jQuery and ScrollTo

Sliding menu using jQuery and ScrollTo

Posted by Sajith M.R in Downloads, html on 21. Feb, 2010 | 0 Comments

Recently I created a sliding menu for a project using jQuery and ScrollTo functions.
See demo: Slider  Menu
We can use the jQuery function $(”.menubar”).scrollTo(id_of_element) to scroll any scrollable area to a particular location.
The idea behind every smooth sliding is using scroll function with overflow:hidden mode.
You can download the source code from : http://www.sajithmr.me/downloads/slider/slider.zip
Here div menu-bar is [...]

If you are mad with coding ??

If you are mad with coding ??

Posted by Sajith M.R in general on 16. Jan, 2010 | 1 Comment

If  you become mad with coding , play this game for some time.
http://firstpersontetris.com/
I like the way it is implemented
Cheers
Sajith

Mx Lookup Tool

Mx Lookup Tool

Posted by Sajith M.R in php on 31. Dec, 2009 | 0 Comments

If you want to know where your website is blacklisted and why all the email you send from your website do not delivered to inbox, and reporting as Spam, use the following url:
http://mxtoolbox.com/blacklists.aspx
Happy new year
Mr.

Lorem Ipsum

Lorem Ipsum

Posted by Sajith M.R in php on 29. Dec, 2009 | 0 Comments

This is a lazy post. Read the following first:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mattis placerat dolor at accumsan. Aenean quis magna eget dolor adipiscing porttitor. Sed vestibulum placerat neque, in lacinia mauris luctus in. Aliquam adipiscing commodo hendrerit. Proin a metus id diam malesuada egestas. Mauris nisi sem, ullamcorper nec elementum [...]

WMODE –  Flash overlapping problem

WMODE – Flash overlapping problem

Posted by Sajith M.R in php on 28. Dec, 2009 | 2 Comments

When we use mixed html and flash content, we usually face the problem of overlapping flash contents over html text. In the case of mere html we use z-index to format which content should be on top. But Z-index cannot do nothing here. So the recommended option is wmode parameter.   Sometimes the wmode mode [...]

JBar – Jquery Bar

JBar – Jquery Bar

Posted by Sajith M.R in Downloads, php, webworld on 27. Dec, 2009 | 0 Comments

Flash messages or notification messages are very essential part of every update/edit or delete operations. We either use ajax update messages like “You account has been updated” or “Your photo has been successfully deleted”
Here, a new plugin of jQuery can be used to display the flash messages like twitter. (see twitter’s settings page)
I added some [...]

Augmented reality – 6th Sense – Amazing Video

Augmented reality – 6th Sense – Amazing Video

Posted by Sajith M.R in general on 22. Nov, 2009 | 2 Comments

Watch this amazing presentation. It is really fantastic.

Fancybox runtime height change

Fancybox runtime height change

Posted by Sajith M.R in php on 20. Nov, 2009 | 8 Comments

For those who use fancy box and iframe inside fancy box might face the issue of changing the height. Once fancybox is loaded with a particular height and width, it does not change when you change the content inside iframe dynamically. Auto height change is only possible for images.
Use the below code to change the [...]

Bootstrapping the startup

Posted by Sajith M.R in php on 16. Nov, 2009 | 1 Comment

I uploaded my first presentation in slideshare. It is about , how the current world’s online technical tools can be used to bootstrap your startup. Most of the services in this presentation are based on UK based startup companies.
Bootstrapping the stratups
View more presentations from sythoos.

Remove emails, numbers or url from text inputs

Remove emails, numbers or url from text inputs

Posted by Sajith M.R in php on 14. Nov, 2009 | 0 Comments

Below is a simple php code to sanitise an input message . The function has 3 parameters, depending on the parameter the input is parsed to filter.

function sanitize_message( $message , $email = true, $numbers = true, $url = true )
{
$message = strip_tags( $message );
if($email)
{
//strip email address
$email_regexp = “[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[A-Za-z]{2,3})”;
$message = ereg_replace($email_regexp, ‘XXX’, $message);
}
if($numbers)
{
//strip all numerical values
$number_regexp [...]