D3.js – A JavaScript library to manipulate graph using HTML5

D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation. Download … Continue reading D3.js – A JavaScript library to manipulate graph using HTML5

Fixing the Back Button: A Simple SPA Behavior using Location Hash

Introduction Using a SPA framework, like AngularJS, is overkill for a simple one-page website. But, suppose that single web page has pseudo-navigation needs, like a dialog that opens in response to the user clicking a button. This represents a state transition, and clicking the back button in the browser (or on an Android or Windows Phone) … Continue reading Fixing the Back Button: A Simple SPA Behavior using Location Hash

JavaScript Object Prototypes (prototype property in JS)

Every JavaScript object has a prototype. The prototype is also an object. All JavaScript objects inherit their properties and methods from their prototype. JavaScript Prototypes All JavaScript objects inherit the properties and methods from their prototype. Objects created using an object literal, or with new Object(), inherit from a prototype called Object.prototype. Objects created with … Continue reading JavaScript Object Prototypes (prototype property in JS)

Bluetooth beacon

An Open Source JavaScript microcontroller you can program wirelessly - perfect for IoT! No software needed so get started in seconds. Google has an interesting project called Eddystone. https://www.youtube.com/watch?v=1yaLPRgtlR0&noredirect=1 Source: https://www.kickstarter.com/projects/gfw/puckjs-the-ground-breaking-bluetooth-beacon?ref=category_recommended About this project Puck.js is a low energy smart device which can be programmed wirelessly and comes pre-installed with JavaScript. It is both multi-functional … Continue reading Bluetooth beacon

How to install Aptana Studio 3 in Ubuntu 14.04 LTS?

First thing to do is to download Aptana Studio. Make sure that you download the right file for your architecture, 64bit or 32bit. Once downloaded, make sure that the prerequisites are installed, before installing Aptana Studio. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below: sudo add-apt-repository ppa:webupd8team/java … Continue reading How to install Aptana Studio 3 in Ubuntu 14.04 LTS?

An IDE for web development (i.e., HTML, CSS, and JS)

Some people recommend Aptana Studio. Not sure if it's useful. Isn't a Gedit or Geany sufficiently good? A quick note on installing Aptana Studio on Windows. You need to have 32-bit Java installed prior to. Otherwise you see "returned exit code=13" error. After you install 32-bit Java into C:program files(x86)/java/ Go to apatana folder and … Continue reading An IDE for web development (i.e., HTML, CSS, and JS)

Acuity, Microsoft to jointly show lighting-based IoT services for retail trade at New York confab

Indoor positioning using LEDs can help stores engage and sell to brick-and-mortar customers as if they were online. At first glance it looks like an ordinary announcement: A technology company is teaming with Microsoft to help industry collect, analyze, and use data in a manner that optimizes sales. Only this time, the partner is not … Continue reading Acuity, Microsoft to jointly show lighting-based IoT services for retail trade at New York confab

Scan for available WIFI access points on Linux

$sudo iwlist wlan0 scanning | egrep 'Cell |Encryption|Quality|Last beacon|ESSID' It's the combination of sudo (run as root, do privileged operations), iwlist wlan0 scanning (produce some output on STDOUT), the pipe symbol "|" (connecting STDOUT of the command(s) to the left to the STDIN of the process on the right), and an egrep command with a … Continue reading Scan for available WIFI access points on Linux