- User Stories
- Interface Mockups
- Schema Design
- Migrations
- Seeders
- Models
- Model Relationships
- Model Validation Rules
- Master Template
- Login Views, Routes, Actions, & Hashing
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> | |
<head> | |
<title>Template</title> | |
<link rel="stylesheet" href="/assets/css/normalize.css"> | |
<link rel="stylesheet" href="/assets/css/style.css"> | |
</head> | |
<body> | |
<div class="container"> |
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
<select id="group-categories" name="group-categories" multiple class="form-control"> | |
@foreach($categories as $id => $category) | |
@if($category == $group->category) | |
<option value="{{ $id }}" selected>{{ $category }}</option> | |
@else | |
<option value="{{ $id }}">{{ $category }}</option> | |
@endif | |
@endforeach | |
</select> |
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
function get_testimonies($count = 4) { | |
$args = array( | |
'post_type' => 'codeup-testimonies', | |
'post_status' => 'publish', | |
'posts_per_page' => $count, | |
'orderby' => 'rand' | |
); | |
$loop = new WP_Query( $args ); |
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> | |
<head> | |
<title>Javascript</title> | |
</head> | |
<body> | |
<script> | |
(function() { |
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> | |
<head> | |
<title>Javascript</title> | |
</head> | |
<body> | |
<script> | |
// (function() { |
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
# 1. Add this to your .bash-profile or .zshrc and restart your terminal | |
function dm-env () { | |
if [ -z "$1" ] ; then | |
echo "\e[0;31mERROR:\e[0m no argument supplied" | |
return; | |
fi | |
eval "$(docker-machine env $1)" | |
echo -e "\033[33;32mSUCCESS:\e[0m docker-machine environment set to: $1" | |
} |
-
Using the example in the Associative Table Joins section as a guide, write a query that shows each department along with the name of the current manager for that department.
Department Name | Department Manager --------------------+-------------------- Customer Service | Yuchang Weedman Development | Leon DasSarma Finance | Isamu Legleitner
Human Resources | Karsten Sigstam
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1476979875000", | |
"Effect": "Allow", | |
"Action": [ | |
"dynamodb:GetItem", | |
"dynamodb:Query", | |
"dynamodb:Scan", |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |