Saturday, December 17, 2016

Usage of CompletableFuture

Java 8 gives flexible ways to perform asynchronous tasks. One of a such ways is usage of CompletableFuture.

Saturday, June 4, 2016

node-pre-commit

Pre-commit Git hook for NodeJS
This is adapted version of the pre-commit package.
Link to original code: Original code
Adapted version works under Windows too.
Package was tested under SourceTree.
Example of package.json:
...
  "scripts": {
    "test": "mocha test"
  },
  "pre-commit": [
    "test"
  ],
...
  "devDependencies": {
    "chai": "",
    "node-pre-commit": ""   }

Thursday, May 12, 2016

node-fsx, v1.0.0

node-fsx , version 1.0.0

File System eXtension for NodeJS.
NodeJS package for file system.
Class FileInfo.

Saturday, April 30, 2016

angular-nodejs-bwt

AngularJS Basic Web Templates for NodeJS.

AngularJS Basic Web Templates for NodeJS

Basic templates for building web application using AngularJS. These templates may be used as start points for new web application.

Dropdown Site Menu

The folder dropdownSiteMenu is example of a web site with dropdown menus. The ng-class dropdown is used. The controller fills the menus content. The main page uses UI routing for switching page content.

Dropdown Site Menu with Templates

The folder ddSiteMenuTemplate is example of a web site with dropdown menus using templates. The uib-dropdown-menuclass is used. The main page demonstrates different allocations of the menu templates: inside main page or in separated HTML files. The main page uses UI routing for switching page content.

Saturday, March 26, 2016

CSV File Reader for NodeJS

One of our projects on NodeJS requires parsing of a CSV files. I found a nice package node-csv. The package receives a line in CSV format and parses it. Reading from file is out of scope in the node-csv package. A csvReader package allows reading from a file and parse CSV lines. For more information look here

Friday, February 12, 2016

Saturday, January 2, 2016

Finite State Machine on Scala

Yes, another one Finite State Machine (FSM) on Scala!
The best way studying a new language – to write simple real task. I chose FSM.