Get Google Map Coordinates by Address with Python

In this example I will show you how to get longitude and latitude coordinates from a street address to use for displaying a Google map on your website.

Most practical implementations will involve a database of addresses, so I will include code to pull the addresses from a MySQL database, and then update the database with the geo coordinates.
[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

Simple jQuery Read More/Less Example

In this example I demonstrate how to hide text and add “read more” and “read less” links using jQuery. This applies to a single block of text, or multiple instances of text on the same page.
[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

Install nodejs on Ubuntu

Fire up your terminal on Ubuntu Operating System and install nodejs using following commands.

1
2
3
4
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

JavaScript’s DOM Vs BOM

JavaScript evolved with the code abstraction in mind. It was implemented with following sections.

  • JavaScript Core(Ecma Script Specifications)
  • DOM (Document Object Model)
  • BOM (Browser Object Model)

[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail

CSS Table’s border-collapse property

Collapse or detach the borders for the cells inside the table using this property. It supports on all the major browsers. border-collapse property has three values – collapse, separate and inherit.
[Read more...]

facebooktwittergoogle_plusredditpinterestlinkedinmail