Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demo
Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demo
"The Kanban technique emerged in the late 1940s as Toyota’s reimagined approach to manufacturing and engineering. ... The system’s highly visual nature allowed teams to communicate more easily on what work needed to be done and when. It also standardized cues and refined processes, which helped to reduce waste and maximize value." - via LeanKit.com
Create a 3 column Kanban board:
Before starting run the commands brew doctor
and then brew update
Unix Users please install using the docs
$ brew install mongodb
Once brew is done installing, take note of the Caveats section that is printed to your console. Just like what we did previously for postgres it might be best to create a symlink then two aliases to start and stop the mongo progress.
##Adding a PSQL Database to Articles Products and Express
##Goal You are going to make your first application with a real database, by adding a PSQL database to your Articles Products and Express, Oh My! project.
##Let's break it down
Build a UML schema for your products and your arcitles. What columns will you need? What is the data type of each column? Hint: First you will white board it. Get your UML approved by an instructor or a TA
After your UML has been appproved by an instructor or a TA, build and test the queries in PSQL CLI.
In your command-line run the command: brew update
brew install postgresql
One of your clients have contacted you with a problem. Their Users have figured out that their chat messages aren't filtered and they can say anything that they want. The CEO dislikes the slang terms being used on the internet and wants to implement a system which will remove certain words and replace them.
Your task is to build middleware for Express which will search through a message's contents and replace certain words with ones that are more, family-friendly. You have been given a set of words to which have been blacklisted.
You will build a small project which will test your middleware.
##Tower Of Hanoi
According to legend, there is a temple in Hanoi where are located sixty-four golden rings of graduated sizes and three diamond towers. Each day, the monks of the temple move a ring from one tower to another according to the rule that only one ring may be moved each day, that a single move consists of taking the highest ring from one tower and placing it on another tower, and that no ring may be placed on top of a smaller ring. The rings and towers were placed at the beginning of the world, and the monks have toiled through the ages to move all the rings from the designated starting tower to the designated finishing tower, at each day making the move that minimizes the total number of moves required. The world will end when the monks complete their work.
The objective of the puzzle is to move the entire stack to another rod, obeying the following simple rules:
Only one disk can be moved at a time.
Each move consists of taking the upper disk from one of the stacks and placing it on to
const Net = require('net'); | |
// Server is actually this client | |
const Server = Net.connect({host: 'localhost', port: 6969}, function() { | |
process.stdin.setEncoding('utf8'); | |
Server.setEncoding('utf8'); | |
process.stdout.write('SGNL: '); | |
process.stdin.on('data', function(data) { | |
Server.write(data); |