Creating a Tooltip for Google Maps JavaScript API V3

February 3, 2012 § 23 Comments

In this tutorial, I’m going to guide you through the process of creating a  customized Tooltip, using Google Maps JavaScript API V3. You can use a Tooltip to display a short message when the user hover over a marker in the map. To create a Tooltip class, I’m going create a custom layover. « Read the rest of this entry »

Advertisement

How to make your websites download and run fast [part two]

December 14, 2011 § Leave a comment

This is part two of  how to make your website run fast,  part one can be found here. In this post I will focus on rules related to CSS in your site.  I recommend using Page Speed   to help optimize the performance of web pages. « Read the rest of this entry »

How to make your websites download and run fast [part one]

December 1, 2011 § 1 Comment

There are few simple rules that can help you create website and web applications that download remarkably fast,  some of these rules have to do with JavaScript, CSS, HTML,  server configuration and HTTP  requests. I use/recommend Page Speed to help analyzing the performance of my web pages. In this post I will talk about rules concerning JavaScript. « Read the rest of this entry »

Connecting to EC2 with Putty(SSH): Server refused our key error

September 22, 2011 § Leave a comment

I’m going to assume you are using  Putty on a Windows machine, this error usually happens because you are using your Amazon private key file, and Putty doesn’t support the format of such file, so  you will need to convert this Amazon file to Putty format, to do this you will need to PuTTYgen, which is a Putty tool for this purpose. for more details see AWS docs here and  scroll to the section “Connecting from a Windows machine”.

Connecting to EC2 instance:Permission denied (publickey) error

September 22, 2011 § Leave a comment

You connect to your Ec2 instance by:

ssh  -i private.pem {user}@{ip}

Where:

private.pem is your Amazon key pairs file

user is the login name, this is the problem usually, and it’s NOT always root or ec2-user, different AMIs use different login name, so you really have to see the documentation for your AMI. for instance, Ubuntu releases by Canonical use the user ‘ubuntu’, where Ubuntu releases by bitnami use ‘bitnami’ as the default user.

ip is your instance public ip, could be like this ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com

Hello Internet!

August 22, 2011 § Leave a comment

Hi Internet,

As a programmer or a system admin, have you ever ran into a problem that took hours, may be days of your time and after a while you run into the same problem again?  this time you get so exited because you think you still remember how you were able to solve it, just to find out you don’t exactly remember everything? if the answer is yes, this blog is for you. « Read the rest of this entry »