- 1 (15 ounce) can pumpkin puree
- 3 egg yolks
- 1 large egg
- 1 (14 ounce) can sweetened condensed milk
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground ginger
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
CD %TEMP% | |
RD /Q /S . 2>nul | |
CD C:\somewhere_else | |
RD /Q /S . 2>nul | |
CD C:\another_place | |
RD /Q /S . 2>nul | |
PAUSE |
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
const action1 = () => { | |
console.log('Trying thing that fails.') | |
return false; | |
}; | |
const action2 = () => { | |
console.log('Trying thing that succeeds.'); | |
return true; | |
}; |
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
const ts = require('./type-signatures') | |
// Without using module | |
// number -> string -> number | |
const addNums_ = (n, str) => n + parseInt(str) | |
// With using module | |
const addNums = ts('number', 'string')( | |
(n, str) => n + parseInt(str) | |
) |
This problem set explores a number of questions related to a company and its employees; specifically, its hierarchy of management:
const employees = [
{ name: 'Alice', manager: null, title: 'CEO' },
{ name: 'Bob', manager: 'Alice', title: 'Head of Marketing' },
{ name: 'Carol', manager: 'Alice', title: 'Head of Engineering' },