Google Web Components a Polymer approach — A step-by-step guide Part 2

Google Web Components a Polymer approach — A step-by-step guide Part 2

This post is to explain how to obtain a Google API — Client ID — to run the Google Web Components utilizing the Polymer code. This is the continuation of my previous blog post HERE.

First go to: Google Cloud Platform https://console.developers.google.com/ After you login, you will see the…

Search Engine Optimization – Quick guide & Best practices

Search Engine Optimization – Quick guide & Best practices

I’ve been collecting some info on SEO. I just wanted to share all what I think is a very valuable info and references: Optimal Format http://www.foo.io/category-keyword/subcategory-keyword/primary-keyword.html   A well-crafted URL should semantically make sense. URLs with duplicate content should have canonical URLs specified for them; there should be no confusing…

Installing Node.js, Bower, Polymer, and Google Analytics Web Components — A step-by-step guide

Installing Node.js, Bower, Polymer, and Google Analytics Web Components — A step-by-step guide

Run as root on RHEL, CentOS or Fedora:

Then install, as root:

Upgrade npm to the latest version:

Install Bower:

Install Git

  Change Bower settings to execute with superuser permissions

The previous command will generate a basic bower.json file. Answer all necessary questions…

TicTacToe in JavaScript by Apple

TicTacToe in JavaScript by Apple

Here is some of the key pieces of code:

The full code can be found here: JS and CSS

Create a dynamic calendar in MS SQL

Create a dynamic calendar in MS SQL

First result set will give you a two-week period, and the day of the week for each date. Second result set will give more information like: Previous month Next month First day of month Last day of month Day of the week for first day of the month Day…

URL re-writing : Tips for .htaccess file

URL re-writing : Tips for .htaccess file

.htaccess ***** Rewrite folder name to a filename ***** Admin url is folder/cms-admin/index.php and access should be folder/admin

***** All requests to page.html will be sent to page.php ***** This will rewrite any filename with .html to .php

[NC] means “No Case Sensitive”; ***** All files of .html…

Image Gallery — Better approach

Image Gallery — Better approach

Very nice approach for a image gallery — rotating images — using Slideshow – A javascript class for Mootools to stream and animate the presentation of images on your website. MooTools is a Object Oriented JavaScript Tools. http://mootools.net/developers/ Here is a piece of code on how it works:

Lastly, you just…

Image Gallery — Static elements

Image Gallery — Static elements

Here is an example of a very simple and easy to use JavaScript and listing elements to get an image gallery on your website. First, we can create a list of items:

If we want to click on an image and show on the image gallery:

Then, we…

How to get Social Media counts via API

How to get Social Media counts via API

JSON response based on URL input. The following is a list with some of the major social media players.   Twitter: http://urls.api.twitter.com/1/urls/count.json?url=%%URL%% LinkedIn: http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%% Digg: http://widgets.digg.com/buttons/count?url=%%URL%% Delicious: http://feeds.delicious.com/v2/json/urlinfo/data?url=%%URL%% StumbleUpon: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=%%URL%% Pinterest: http://widgets.pinterest.com/v1/urls/count.json?source=6&url=%%URL%%     Share Buttons to be added on WordPress posts — very simple to share…