Search This Blog

Wednesday, June 15, 2011

Testing target URL with Selenium


storeEval|window.document.domain|host
assertLocation|http://${host}/some-page|

Tuesday, June 7, 2011

6 Easy Ways To Reward Your Twitter Followers

Consumers follow their favorite businesses on Twitter to get an inside look at the business, to find out about new products, earn discounts and be a part of a community. Businesses have the potential to turn these fans into brand ambassadors by making their followers feel special and appreciated. Here are 6 ways to reward your Twitter followers.

  1. Offer Them a Freebie
  2. Give Them Control
  3. Give Them a Shoutout
  4. Teach Them Something
  5. Let Them In
  6. Make Them Laugh


Source: http://mashable.com/2011/06/07/reward-twitter-followers/

Sunday, June 5, 2011

Google I/O 2011: Smart App Design

Google I/O 2011

http://www.youtube.com/user/GoogleDevelopers

Monday, May 30, 2011

Airbnb


Unlocking unique spaces worldwide

We connect people who have space to spare with those who are looking for a place to stay. Guests can build real connections with their hosts, gain access to distinctive spaces, and immerse themselves in the culture of their destinations. Whether it's an urban apartment or countryside castle, Airbnb makes it effortless to showcase your space to an audience of millions, and to find the right space at any price point, anywhere.

Wednesday, May 25, 2011

A unique way for kids to engage with the books they read in a deeper way, to discover their next favorite book, and to make and get recommendations for new books.

http://www.pockettales.com

5 Easy Ways to Liven Up Your Facebook Stream

Whether your business is new to the platform or it has been around for years, there is always room for improvement. Here are five quick and easy ways to make your Facebook stream more lively for fans.

1. Showcase Your Customers
2. Have a Sense of Humor
3. Give 'Em Something To Consume
4. Ask Questions
5. Take Us Behind the Curtain

http://mashable.com/2011/05/24/facebook-tips/

Email Pop-up Sample

Tuesday, May 24, 2011

Grow Startup Market

7 Tips For Growing a Two-Sided Online Marketplace

1. Start Simple
2. Breed Quality First
3. Be Transparent
4. Order Your Operations
5. Leverage Existing Communities
6. Foster Your Own Community
7. Be One Side Of Your Own Marketplace

http://mashable.com/2011/03/31/grow-startup-market/

SlideDeck

SlideDeck Lite is a limited version of the feature-rich SlideDeck Pro. It’s a great way to give SlideDeck a try and immediately improve the performance of your website.
http://www.slidedeck.com/


Demo: http://www.slidedeck.com/examples/opencandy/

Another similar example (http://www.gotryiton.com):

Tuesday, April 26, 2011

Tool for Testing Page Speed

http://pagespeed.googlelabs.com/

Domain name suggestions

Panabee - a simple, useful tool for finding great domain names.

Top 10 Firefox Add-Ons for Web Designers

Funny that we have 4 things in common (the ones in bold). Thank you for the list. This is very helpful.

Top 10 Firefox Add-Ons for Web Designers
http://mashable.com/2011/04/26/firefox-web-design-add-ons/

  1. Web Developer
  2. Firebug
  3. MeasureIt
  4. ColorZilla
  5. CSS Usage
  6. PageSpeed
  7. HTMLValidator
  8. IE Tab 2
  9. Screengrab
  10. SEO Doctor

Monday, March 21, 2011

Euro Sign with PHP GD

use:
$text = "€";

when generating image with euro sign.

PHP GD : Centers the text

function getCenterPos($im, $font_size, $font_style, $text) {
    $bbox = imagettfbbox($font_size, 0, $font_style, $text);

    // This is our cordinates for X and Y
    $x = ((imagesx($im) - $bbox[4] - $bbox[0])/2);
    $y = (((imagesy($im)/2)-($bbox[5] - $bbox[1]))/2)-5;

    return array((int)$x, (int)$y);
}

Sunday, February 20, 2011

Balsamiq Mockups

Why Balsamiq Mockups for wireframing?

Using Mockups feels like drawing, but because it’s digital, you can tweak and rearrange easily. Teams can come up with a design and iterate over it in real-time in the course of a meeting.


http://balsamiq.com/

Thursday, January 20, 2011

PHP - Combine images

from http://forums.bit-tech.net/showthread.php?t=117270

header ("Content-type: image/png");
$src = array ("http://img164.imageshack.us/img164/5175/toprb3.jpg",

"http://img123.imageshack.us/img123/9056/leftij4.jpg",
"http://miniprofile.xfire.com/bg/bg/type/1/blackburnperson.png"
"http://img67.imageshack.us/img67/4786/rightnt1.jpg",
"http://img123.imageshack.us/img123/4891/bottomtp5.jpg");
$imgBuf = array ();

foreach (
$src as $link)
{
   switch(
substr ($link,strrpos ($link,".")+1))
   {
       case 
'png':
           
$iTmp imagecreatefrompng($link);
           break;
       case 
'gif':
           
$iTmp imagecreatefromgif($link);
           break;            
       case 
'jpeg':        
       case 
'jpg':
           
$iTmp imagecreatefromjpeg($link);
           break;            
   }
   
array_push ($imgBuf,$iTmp);
}
$iOut imagecreatetruecolor ("450","131") ;
imagecopy ($iOut,$imgBuf[0],0,0,0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));
imagedestroy ($imgBuf[0]);
imagecopy ($iOut,$imgBuf[1],0,54,0,0,imagesx($imgBuf[1]),imagesy($imgBuf[1]));
imagedestroy ($imgBuf[1]);
imagecopy ($iOut,$imgBuf[2],15,54,0,0,imagesx($imgBuf[2]),imagesy($imgBuf[2]));
imagedestroy ($imgBuf[2]);
imagecopy ($iOut,$imgBuf[3],292,54,0,0,imagesx($imgBuf[3]),imagesy($imgBuf[3]));
imagedestroy ($imgBuf[3]);
imagecopy ($iOut,$imgBuf[4],0,117,0,0,imagesx($imgBuf[4]),imagesy($imgBuf[4]));
imagedestroy ($imgBuf[4]);
imagepng($iOut);