Recently we decided to organize the 3rd barcamp of kerala on 7th December 2008. The cheif organanizers Kenney Jacob and Anand Subramanian started promotions and publicity for the event. They stated mailing, sending sms and further online promotions. Our greate, romantic, family , friends Orkut Community introduced a new feature called  My Events, in which you can create and event and inform your friends which will remind them at the day of the event.

Very enthusiastic young chap Mr Anand created an event in orkut and invited all the tech savy friends into it. All accepted the event and saved in their orkut. The real story started when anand , by mistake , deleted the event in orkut. It is just a removal of the event node. But the funny thing happened is,  everybody got this message in their email   is :

“The Event Barcamp Kerala – 3 has been Cancelled”

Don’t worry Friends, Today is  dec 2nd , we have long 5 days to go for the real barcamp.  Anyway it is going to happen @ the rite time as announced …

Cheers

Sajith

Tags: , , , , , ,

· · · ◊ ◊ ◊ · · ·

Contact Grabber

06 Nov 2008

If you are a social media website developer , sometimes you might search for grabbing contacts from a particular email account if the password is given. I also did the same.  In most of the cases it did not work properly. But recently i got a contact grabber from phpclasses.org which works perfectly on Gmail, Hotmail, Rediff, Yahoo, Orkut, MySpace, Indiatimes, Linkedin , AOL and lycos

screen shot

screen shot

But the zip file i got is not well arranged, so it shows some errors . I arranged it in proper way and uploaded here:

Download:

http://sajithmr.com/downloads/grabber.zip

(Under GNU Public License)

Using this php code , you can export the email contacts as csv file.

Here is the actual source website : http://www.phpclasses.org/browse/package/3895.html

Tags: , , , , , , , , , , , , , , , , , , , ,

· · · ◊ ◊ ◊ · · ·

Crop Image Like Orkut

05 Jun 2008

Online Photoshop in PHP (Series Part 4) >>

Crop Image Like Orkut

Today we will discuss about cropping of images using php and gd library.

Look at the simple example here:

http://www.sajithmr.com/photoshop-tuts/crop/simplecrop.php


$x1 = $_GET['x1'];
$y1 = $_GET['y1'];

$x2 = $_GET['x2'];
$y2 = $_GET['y2'];	

$image_object =   imagecreatefromjpeg('hari.jpg');
$image_cropped =  Crop($image_object,$x1, $y1, $x2,$y2);
$temp_path = rand(1,99999)."hari.jpg";
imagejpeg( $image_cropped,$temp_path);

header('Location: simplecrop.php?img='.$temp_path );	  

?>

Here the Crop function is doing the real work. x1 and y1 are Top-Left Coordinates of new image and x2, y2 are the Bottom-Right .

Here is the function for Crop

function Crop($image, $xpos1,$ypos1,$xpos2,$ypos2)
	{
		require_once('class.cropcanvas.php');
		$cc =& new CropCanvas();
		$cc->loadImageFromObject($image);
		$cc->cropToDimensions($xpos1, $ypos1, $xpos2,$ypos2 );
		return $cc->getImageObject();

	}

?>

You can see the class.cropcanvas.php file from the attachment.

In the above example, we have to enter each coordinates manually. See the example below:

http://www.sajithmr.com/photoshop-tuts/crop/realcrop.php

Here you can select the area by click and drag (like orkut)

This is implemented with the help or jslib javascript. The given attachment in the end of this post contains the all.

http://www.sajithmr.com/photoshop-tuts/crop.zip

Keep reading for the further posts in this series. Next post is on Intellegent watermarking on images.

Subscribe to my Feeds: http://www.sajithmr.com/feed/

Tags: , , , ,

· · · ◊ ◊ ◊ · · ·

If your organization / office blocked your favorite website, dont worry, we have a solution.

If you have your own website / server and ssh access to it, you can browse any website through that. All what you need is putty.exe (in windows).

See below the steps for that:

You need putty for this purpose. Download putty.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

(Read my previous post on putty here )

1) Open putty.exe

2) Enter your server’s ip address and ssh port. (Default is 22 )

3) In the Category tree (left), expand Connection , expans SSH and select Tunnels

4) Enter any source port (eg: 8888 or 7777 – avoid port less than 1000)

5) Select the dynamic radio button

6) Press Ok and login into your server via ssh.

Now your ssh with tunnel is ready.

Goto your browser .

If you are using moziila, take tools (from menu) > Options.

Advanced > Network options > Settings.

Select Manual Proxy settings.

Leave all the places blank . Enter Socks Host as 127.0.0.1 and port as we set earlier in putty’s tunnel settings (say 8888)

Press OK and browse. You are now browsing via your own server. Thus you bypassed your local system or LAN network. Thus you can access any websites which are blocked from your organization.

If you are using IE, follow the same instructions for proxy settings.

Now enjoy browsing with your favorite sites. cool na !!!

For any queris, mail me : admin@sajithmr.com

Tags: , , , , , , , ,

· · · ◊ ◊ ◊ · · ·

وظائف 2011 تحويل العملات برامج برنامج تسريع التحميل برنامج الفلاش برنامج محول الصوتيات عربي hotel 2011 زيادة رواتب العساكر 1431