Quantcast
Channel: JavaScript – delog
Browsing latest articles
Browse All 21 View Live

Image may be NSFW.
Clik here to view.

IP multicasting

IP multicasting is used to target a group of hosts by sending a single datagram. IP addresses in the range 224.0.0.0 through 239.255.255.255 are reserved for multicasting. To find out which hosts on...

View Article


Image may be NSFW.
Clik here to view.

Listening to FM radio using RTL-SDR

I am tinkering with an RTL-SDR dongle to listen to FM radio, on a MacBook Pro with OS X Yosemite, and a Windows 8.1 VM running on Parallels Desktop 10. There are several software options available....

View Article


Image may be NSFW.
Clik here to view.

WebSockets with WCF

This post demonstrates an elementary chat service constructed using WCF and WebSockets. A custom binding that leverages WebSocket support in httpTransport is used. JSON is serialized and deserialized...

View Article

Image may be NSFW.
Clik here to view.

Doing away with labels for text fields

The following code example does away with labels for text fields. A custom attribute called data-default-value contains the default value to which a text field gets initialized. That value represents...

View Article

Image may be NSFW.
Clik here to view.

JSON-RPC

If your HTML5 application requires RPC (remote procedure call) semantics, JSON-RPC is an easy specification to implement. The code below allows sending requests and receiving responses, and leverages...

View Article


Image may be NSFW.
Clik here to view.

Manipulating JSON using Json.NET

Json.NET makes it convenient to manipulate JSON in C# using dynamic programming. Let’s start with a JSON representation we want to create { "menu": { "id": "file", "value": "File", "popup": {...

View Article

Image may be NSFW.
Clik here to view.

Make things smart with HomeKit and Raspberry Pi

As an avid iOS user I have been keen on using HomeKit. That’s when I read about a new – and currently free – HomeKit app in the iOS App Store called Hesperus. I don’t have a HomeKit compatible thing at...

View Article

Image may be NSFW.
Clik here to view.

Run Node.js in a Docker container

In this post, I explore how to run a Node.js web application in a Docker container based on the StrongLoop Process Manager image. I also have a requirement to export and deploy the Docker container to...

View Article


Image may be NSFW.
Clik here to view.

Join multi-user chat with node-xmpp-client

XEP-0045 defines the XMPP protocol extensions required to join multi-user chat rooms, and receive and post messages. In this post, I use the node-xmpp-client library to join a multi-user chat room....

View Article


Image may be NSFW.
Clik here to view.

JSON syntax highlighting in ScintillaNET

I am studying the excellent ScintillaNET code editing component, to enable basic JSON editing in a .NET application. Inspired by the C# code highlighting example, here’s the code snippet to enable...

View Article
Browsing latest articles
Browse All 21 View Live