Monthly Archives: January 2013

Ubuntu 12.04 – Uninstall Oracle JDK 1.7.0

These instructions are for the Oracle JDK 1.7.0 Update 4 on Ubuntu 12.04 LTS. If you are using a different version of the JDK, then change the version numbers listed below. Uninstall Java Let’s check the current setup before we … Continue reading

Posted in Java | Tagged , | Leave a comment

Ubuntu 12.04 – install sun jdk 6-7

Ubuntu 12.04 – install sun jdk 6-7 Ubuntu GNU/Linux 12.04 LTS (Precise Pangolin) released. I wanted to manually install the Sun JDK 6 and 7 on Ubuntu. Updated for Ubuntu GNU/Linux 12.10 (Quantal Quetzal). Installing Sun JDK 6 on Ubuntu … Continue reading

Posted in Java | Tagged , | Leave a comment

Install node.js on centos

Check centos version #cat /etc/redhat-release CentOS release 5.8 (Final) Check centos 32 bit or 64 bit To see if the installed version of centOS you have is 32 bit or 64 bit, you need to use the command #uname -a … Continue reading

Posted in Node.js | Tagged , | Leave a comment

Connect redis with node.js

A Brief Intro to Async Programming In browsers, Javascript and the web page’s rendering engine share a single thread. The result of this is that only one thing can happen at a time. If a database query would be performed … Continue reading

Posted in Node.js, Redis | Tagged , , | Leave a comment

Connect mongodb with node.js

A Brief Intro to Async Programming In browsers, Javascript and the web page’s rendering engine share a single thread. The result of this is that only one thing can happen at a time. If a database query would be performed … Continue reading

Posted in MongoDB, Node.js | Tagged , , | Leave a comment

Connect mysql with node.js

A Brief Intro to Async Programming In browsers, Javascript and the web page’s rendering engine share a single thread. The result of this is that only one thing can happen at a time. If a database query would be performed … Continue reading

Posted in Mysql, Node.js | Tagged , , | Leave a comment

Connect socket.io with node.js

WebSocket with Socket.IO If you’ve stayed on top of the advances in the realtime web for the past few years, you’ve probably heard of different techniques aimed to reduce the latency (ie: speed) of the message exchange between a client … Continue reading

Posted in Node.js, Protocals | Tagged , , | Leave a comment

Introduction to Object-Oriented JavaScript

Introduction to Object-Oriented JavaScript JavaScript has strong object-oriented programming capabilities, even though some debates have taken place due to the differences in object-oriented JavaScript compared to other languages. This article starts with an Introduction to object-oriented programming, then reviews the … Continue reading

Posted in Javascript | Tagged , | Leave a comment

TCP Sockets Programming in Node.js

Programming TCP Sockets in Node.js Eager to know how sockets are programmed in Node? There are three variants of sockets in Node – i. TCP, ii. UDP, iii. UNIX domain. In this particular post, I will show you the basics … Continue reading

Posted in Node.js, Protocals, Web development | Tagged , | Leave a comment

Connect websocket to node.js

What is the WebSocket API? The WebSocket API is the next generation method of asynchronous communication from client to server. Communication takes place over single TCP socket using the ws (unsecure) or wss(secure) protocol and can be used by any client or server … Continue reading

Posted in Node.js, Protocals, Web development | Tagged , , | Leave a comment