Category Archives: Development

How to fix wrong post title on Google – WordPress Title SEO

Title SEO – The Symptoms

beside the obvious, a title which you don’t want to show (in my case – showing the name of the blog only instead of article name)
you should check the code behind of the page.

Continue reading

VMWare Workstation start on boot CentOS

Installing npm using install.sh on CentOS 6.3

npm

Prerequisites

you need to have Node.js installed, configured and working.
How to install Node.js on centos 6.3.
also, check you have curl installed:

1
yum install curl
yum install curl

Continue reading

VMWare Workstation start on boot CentOS

Fix cannot find module ‘block-stream’’ in npm Node.js on CentOS 6.3

Overview

While writing  and exploring on Node.js I did lots of ‘yum remove/install’ for npm node.js.
after a while I realized that npm wasn’t installing anything and just returned an Error: cannot find module ‘block-stream’.
Another thing was that the folder ‘/usr/lib/nodejs/npm’ was lacking the ‘node_modules’ folder which includes its dependencies.
yum remove/install npm didn’t helped, the error also happened when I tried running ‘npm update’ or ‘npm install’.

Continue reading

VMWare Workstation start on boot CentOS

CentOS Node.js / Express.js / Derby.js / Meteor.js is EASY!

 CentOS Node.js / Express.js / Derby.js / Meteor.js is EASY!

In the following tutorial I will show you how to install CentOS Node.js and the Express.js /Derby.js and Meteor.js frameworks.

I am using CentOS minimal 6.5, but the following instructions have been tested on 6.3+ and probably works on earlier versions also.

Note: this article was updated in 02, march, 2014.

Continue reading

Transfer data from PHP to Android (JSON) – Part 1

You may reach a point where you need to transfer data from a server (web-service) to a an android client. although, there are many ways to achieve that goal, one of the simplest is using JSON. JSON is better then XML in terms of small bandwidth footprint. it has a lot of libraries for every available platform, so it makes the best solution for server-client communication.

Continue reading