Skip to content

Instantly share code, notes, and snippets.

@bbishop777
bbishop777 / README.md
Created February 9, 2016 04:45 — forked from sgnl/README.md
Kanban Angular

Kanbangular

"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

Goal

Create a 3 column Kanban board:

  • using AngularJS to build the client
  • using ExpressJS to build the server
  • using a SQL database to store your data.
  • implement stretch goals.
@bbishop777
bbishop777 / exercise.md
Created February 5, 2016 02:24 — forked from theRemix/exercise.md
MongoDB Practice

MongoDB Practice

MongoDB Exercise in mongo shell

Connect to a running mongo instance, use a database named mongo_practice.

Document all your queries in a javascript file to use as a reference.

Insert Documents

@bbishop777
bbishop777 / README.md
Created January 27, 2016 07:03
Assignment details for adding pg-promise to Articles Products and Express

##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

  1. 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

  2. After your UML has been appproved by an instructor or a TA, build and test the queries in PSQL CLI.

@bbishop777
bbishop777 / 1-template.md
Created January 15, 2016 23:10 — forked from JoeKarlsson/1-template.md
Mini programming challenge to develop a custom templating engine in Express

##The Challenge The CEO just called and she forgot to develop a new product for the big tradeshow event this year! She needs to present something to appease the hungry shareholders in exactly one hour. Thinking quickly, you realize that a new templating engine would be super cool. It's needs to be done quickly, so it doesn't need to be pretty, but it should have basic functionality. Your challenge is to develop a templating engine for Express from scratch for her to present in under an hour to save the company, impress the shareholders, and achieve enternal glory!

###How it will work: Add functionality to your Express app so that it will be able to render .dlr files (short for DevLeague Rules). When you make a request to the home page, index.dlr will be rendered as HTML.

###The requirements:

  • Use the extenstion .dlr
  • The tempalting engine will replace anything surrounded with an '$'
  • (i.e. $title$)
@bbishop777
bbishop777 / redacted.md
Created January 15, 2016 05:02 — forked from sgnl/redacted.md
Redacted

Redacted

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.

Goal

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.

Blacklisted words and acceptable replacements

@bbishop777
bbishop777 / hanoi.md
Created January 12, 2016 20:59
The Temple of Hanoi - Recursive morning challenge

##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:

  1. Only one disk can be moved at a time.

  2. Each move consists of taking the upper disk from one of the stacks and placing it on to

@bbishop777
bbishop777 / 404.html
Created January 4, 2016 22:04 — forked from theRemix/404.html
All the elements
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Element not found!</title>
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<h1>404</h1>
<h2>Element not found!</h2>
@bbishop777
bbishop777 / throwing-darts.md
Created January 2, 2016 19:11 — forked from sgnl/throwing-darts.md
Throwing Darts

Throwing Darts

You've just recently been hired to calculate scores for a Dart Board game

Scoring Specs

  • 0 points: radius above 10
  • 5 points: radius between 5 and 10 inclusive
  • 10 points: radius less than 5

If all radiuses are less than 5, award 100 BONUS POINTS! An empty array should return 0.

@bbishop777
bbishop777 / README.md
Created December 31, 2015 23:43 — forked from sgnl/README.md
GettyImages.com API
@bbishop777
bbishop777 / README.md
Created December 29, 2015 19:22 — forked from sgnl/README.md
5-day forecast