Rock paper fireball is a classic
2 player game.
Each player chooses either rock, paper or fireball.
The possible outcomes:
- Rock blocks fireball.
- Fireball engulfs paper.
- Paper covers rock.
Description: | |
A bookseller has lots of books classified in 26 categories labeled A, B, ... Z. Each book has a code c of 3, 4, 5 or more capitals letters. The 1st letter of a code is the capital letter of the book category. In the bookseller's stocklist each code c is followed by a space and by a positive integer n (int n >= 0) which indicates the quantity of books of this code in stock. | |
In a given stocklist all codes have the same length and all numbers have their own same length (can be different from the code length). | |
For example an extract of one of the stocklists could be: | |
L = ["ABART 20", "CDXEF 50", "BKWRK 25", "BTSQZ 89", "DRTYM 60"]. |
I hereby claim:
To claim this, I am signing this object:
//app.js | |
var config = require('./config.json'); | |
var express = require('express'); | |
var app = express(); | |
app.use(express.static('public')); | |
app.get('/', function (request, response) { | |
response.send('Hello, World!'); | |
}); |
###Email Hell
We just found out that there is a bug in production that our e-mail function was iterating errantly and sending duplicate e-mails to many users. We need to fix this quickly but we don't want to send out a mass apology letter to all of our users.
Our sysadmin gave us the SMTP logs and we need to process the logs and identify which users received multiple e-mails so that we can directly send them a follow up e-mail explaining the situation and offer super cool swag to keep them on as customers.
Also, the boss wants this done ASAP, we don't have time to do this manually...HAAALLLLPPP!
###The Fix
git status
. If you get a resonse then you're good to go. If you get an error message then create a repository for this project by clicking here (be signed into your github account) git add fineNameHere.js
git add directoriesAreGoodToo/
git add multipleFiles.css AndFolders/ CanBe/Separated.js BySpaces.css
Hello Awesome Programmer Person, My name is Ray and I need a tool built that will help other students visualize how CSS Selectors work. This tool can be added to any HTML document you have. This tool should:
#header
or sometimes .messages
I dont know, you know CSS right?Your job is to add validations to the messages being posted to your Chatroom Application's Server by implementing Middleware.
Each validation requirement below will be it's own middleware in the series.
Commit your code each time you successfully implement a new middleware handler.
The pitches have completed. You and your team have decided on the technologies and the tech lead has already begun hacking away. The Biz Dev approaches you and whispers two words, "User Acquisition". You can already feel the pressure...
Hey so like, we need to go out to the Night Market and start polling for opinions on our service. I already bought the domain and so I just need you to build the sign-up form so we can gather emails. Should be easy right? Cool. Oh, I need this done ASAP because I'm leaving for the market now. Thaaaaaanks :D
You have been tasked to build the landing page which will have a Sign Up Form. User's will visit the page, be asked to enter their first and last name, and email address. Then the User will be presented with a thank you message. You must use ExpressJS, implement some basic validations on the data coming in, and do this quick!
Your Form will POST data to your '/signup'
endpoint. No XHR will be used.