Setup Project mkdir <projectdir>/helloworld cd helloworld npm init name: version: description: Hello World API entry point: server.js test command: git repository: keywords: author: John Dunning license: npm install --save express body-parser mongoose bluebird npm install -g nodemon atom . Create server.js Create Model open Atom create folders app app/model app/model/person.js Start MongoDB mongod Start the … Continue reading NodeJS & MongoDB – create simple API
Atom IDE https://atom.io Download Unzip and drag to installation location Open Atom Menu Bar -> Atom -> Install Shell Commands Open a terminal session atom . (opens atom in the current working directory) Menu Bar -> Atom Preferences Install -> Search and click Packages to find and install atom-beautify atom-jade json-converter jsonlint linter language-babel pretty-json … Continue reading NodeJS & MongoDB Development Environment
Clone a remote repository locally cd to target directory This remote repository is the origin referred to in all subsequent git commands Change local branch Create a local branch and Push to remote branch This will leave your current branch as is, create and checkout a new branch and keep all your changes This will … Continue reading Git QuickRef
Drools 6.x Expert - "no RuleTable cells in spreadsheet" Error when working with Templates and Template Data in .xls files This has been reported a few times as a bug to JBoss and they have always come back and said that it cannot be replicated. There is a very good reason why this cannot be … Continue reading Drools 6.x Expert – “no RuleTable cells in spreadsheet”
This is a fascinating listen for anybody who's ever used any form of social media.. http://www.npr.org/sections/money/2016/12/09/504999255/episode-741-amy-and-steve-vs-facebook
drinkingrules I had a very interesting experience today with Drools Decision Tables and MVEL. My Decision Table has a consequence that refers to $person.name - using MVEL. It compiled, it ran and it worked. But, I had a setup.drl File in the same rule package as the Decision Table, and in that setup.drl I set … Continue reading Drools: Decision Tables and MVEL – Quirk? Feature? Consequence?