How To Create Triangles With HTML/CSS?

Triangles are useful for creating different types of design artifacts on a website, particularly speech balloons. HTML/CSS has no explicit way of creating triangles therefore some people use triangle images instead. However there is a small hack with which one can create triangles without any images.
Continue reading How To Create Triangles With HTML/CSS?

How To Transfer Files To EC2 Server/Linux Host

You can transfer file to an EC2/Linux host via SCP. For that you first need to have the private key file downloaded on your system. Once you have it, open the terminal window and issue the following command.

scp -i mykey.pem somefile.txt ec2-user@ec2-123-45-67-89.compute-1.amazonaws.com:/home/files

Continue reading How To Transfer Files To EC2 Server/Linux Host

Access MySQL Hosted on Amazon EC2 Server Remotely

If you have a working MySQL server hosted on Amazon EC2 and you want to access it remotely with a MySQL client, then follow these steps.Amazon_MySQL_logos

  1. Access you EC2 server via SSH. You can do it with PuTTY on windows and by using Terminal application on Linux or Mac. For a step by step tutorial go here.
    Continue reading Access MySQL Hosted on Amazon EC2 Server Remotely

Connect To Remote Machine Via SSH Using Windows, Mac Or Linux

I needed to connect to my hosting service via SSH today, it was problematic but eventually I got hold of it. Here is how you can do it. There are different ways to do it on Windows system  and on Unix based or Mac systems.But before that, SSH access must be enabled on remote machine. If you are trying to connect to a hosting server, SSH access by default would be disabled and you may have to request them to enable it first.

Once, you’re sure that SSH access is enabled, Follow the below mentioned steps to connect to your remote machine via SSH. Continue reading Connect To Remote Machine Via SSH Using Windows, Mac Or Linux

Why You Should Favor Writing jQuery Plugins Yourself?

jQuery is hot these days. By making DOM navigation and manipulation easy, it gives immense power to programmers and allows us to develop interactive web applications. There is a plethora of jQuery plugins available on internet which helps us quickly add cosmetics to our web. These plugins range from simple things like selectboxes, dialogboxes to more complex ones such as calendar widgets and timelines. These plugins often work great and integrate easily with your application, but situations may occur when you don’t find a plugin which exactly fulfills your requirements. Then, sometimes, you either compromise your design requirements or you try to tweak closest matching plugin which looks/acts hideous. In such situations, there is an easier solution: write you own plugin.
Continue reading Why You Should Favor Writing jQuery Plugins Yourself?