RxJS: The bridge between plain JS and ReactJS

Scenario During front-end development, we sometimes have to deal with code which cannot be imported easily into your ReactJS app. This situation arises frequently when dealing with a legacy codebase, or when you have a large, heterogeneous codebase with different teams taking care of different "sections" of the front-end. This article explores one method that … Continue reading RxJS: The bridge between plain JS and ReactJS

Advertisements

How to create a “heatmap” graph network visualization

What we're after @CyberSiftIO we've been going through an exercise of adding "confidence levels" to our visualizations. In other words, how confident is the CyberSift engine that an alert really is an anomaly/outlier? The above screenshot shows one of the ways we visualize the output from this exercise. Each blue node is an internal PC/Server, while … Continue reading How to create a “heatmap” graph network visualization

How we built the CyberSift Attack Map

Recently we launched a small site called the "CyberSift Attack Map" hosted at http://attack-map.cybersift.io. Any one involved in the InfoSec industry will be instantly familiar with the site:   It's basically a map of attacks which either trip some rule in a signature based IPS such as SNORT, or land in a honeypot. In this article we'll list … Continue reading How we built the CyberSift Attack Map

From JQuery to ReactJS

I have previously worked with ReactJS - most notably during my Master's dissertation, however the main Javascript library I work with when working for clients and companies still remains the venerable JQuery. This is changing as more and more organizations I interact with move to more modern frameworks like Angular and ReactJS. Where to start … Continue reading From JQuery to ReactJS

Verify if a point is Land or Water in Google Maps

Inspired by this question on StackOverflow "Verify if a point is Land or Water in Google Maps" I decided to see if the question was solvable quickly and easily. This being the API economy.. surely Google has an API to solve this question? It does... in the form of Google Elevation API. Here are the end … Continue reading Verify if a point is Land or Water in Google Maps

Nugget post : using Angular JS with Mustache Templating

In a recent consolidation exersize, 6PM has decided to follow the design trend of using Google's Material Design in it's front-ends, and we now encourage the use of Angular JS to power these front-ends. It would seem that Angular Material (https://material.angularjs.org/latest/) is a perfect fit for this type of scenario. In many respects, it is... … Continue reading Nugget post : using Angular JS with Mustache Templating

Nugget Post: Pouchdb-find regex example

Here's an example of using the excellent pouchdb-find plugin's (https://github.com/nolanlawson/pouchdb-find) regex features. I couldn't really find a good example in the documentation, but looking at the source code we come up with something like this: https://gist.github.com/dvas0004/a67f1093bc323d7556ed Note that the $regex command cannot be run on an indexed field, so this will be a slow query … Continue reading Nugget Post: Pouchdb-find regex example