- Installing MongoDB on Windows
- Configuring MongoDB on Windows
- Installing MongoDB on MacOS
- Configuring MongoDB on MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the NPM Package inquirer | |
var inquirer = require("inquirer"); | |
// Create a "Prompt" with a series of questions. | |
inquirer.prompt([ | |
// Here we create a basic text prompt. | |
{ | |
type: "input", | |
message: "What is your name?", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dependencies | |
var express = require("express"); | |
// Create express app instance. | |
var app = express(); | |
// Routes | |
app.get("/:operation/:firstNum/:secondNum", function(req, res) { | |
// Parameters are received from the URL |
-
Instructions:
- Make a JavaScript file called bands.js that exports an object of music genres and bands like this:
{ punk: 'Green Day', rap: 'Run DMC', classic: 'Led Zeppelin'
}
Name | Allows CORS | Authentication Method | Authentication Required |
---|---|---|---|
Spotify Web API | yes | oauth | yes/no |
reddit API | yes | auth | yes |
Youtube API | yes | API key | yes/no |
yes | API key | yes | |
Soundcloud | yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var csv = []; | |
//Parse the names out of BCS attendance page | |
$("#attendanceHistory tbody tr td:first-child").each(function(k, v) { | |
csv.push($(v).html()) | |
}); | |
var classSize = csv.length; | |
//Enter your group sizes here (Thanks @RGtalbot) | |
var groupSize = 3; | |
var group = [[], [], [], [], [], [], [], [], []]; | |
for (var i = 0; i < (classSize/groupSize); i ++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get("/Veteran/:id", function(req, res) { | |
db.Employer.findOne({ | |
where: { | |
id: req.params.id | |
} | |
}).then(function(dbEmployer){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>@yield('title')</title> | |
<!-- Latest compiled and minified CSS --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Model Factories | |
|-------------------------------------------------------------------------- | |
| | |
| Here you may define all of your model factories. Model factories give | |
| you a convenient way to create models for testing and seeding your | |
| database. Just tell the factory how a default model should look. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layout') | |
@section('title') | |
About | |
@stop | |
@section('jumbo') | |
Hello | |
@stop | |