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 multiply(a) { | |
return (b) => { | |
return (c) => { | |
return a * b * c | |
} | |
} | |
} | |
console.log(multiply(1)(2)(3)) // 6 |
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
Reducers: | |
-> Represent the entire application state: | |
-> Previous state | |
-> Dispatching action | |
-> New state |
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 | |
/* | |
Template Name: Event list | |
*/ | |
get_header(); | |
?> |
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: '2' | |
services: | |
### Workspace Utilities Container ########################### | |
workspace: | |
build: | |
context: ./workspace | |
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
Every single (unit) test should be compose by: | |
- Test setup | |
- Calling the tested method | |
- Asserting | |
Every single feature should be explain by: | |
- |
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
// Mapeando arrays | |
var scores = [2, 4, 6, 8, 10]; | |
var newScores = scores.map(score => score * 3); | |
console.log(newScores); // [6, 12, 18, 24, 30] | |
// Interpolando dados em uma string | |
var name = "John Connor"; | |
var message = "I came from future!"; | |
var template = ` | |
<p> |
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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
@foreach (var item in Model) | |
{ | |
<tr> | |
<td> | |
@Html.DisplayFor(modelItem => item.CourseID) | |
</td> | |
<td> | |
@Html.DisplayFor(modelItem => item.Title) | |
</td> |
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
"Whenever you are sincere you are right". |
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
{Someone} is a real kind of {kind} Developer. His skills covers all requirements to be a great developer on any team. He was my university professor when I studied at Brazil and I can ensure that your didatic is incredible, so I really think that him is the best person to integrate a multi cultural team where it is really important |