BEFORE YOU MAKE THIS: These will turn out best if you use french bread pans
Mix together in a bowl 2 Tbls Yeast 1/2 cup warm water 1 tsp sugar let yeast activate (about 10 minutes)
In large bowl, combine:
BEFORE YOU MAKE THIS: These will turn out best if you use french bread pans
Mix together in a bowl 2 Tbls Yeast 1/2 cup warm water 1 tsp sugar let yeast activate (about 10 minutes)
In large bowl, combine:
Note:
When this guide is more complete, the plan is to move it into Prepack documentation.
For now I put it out as a gist to gather initial feedback.
If you're building JavaScript apps, you might already be familiar with some tools that compile JavaScript code to equivalent JavaScript code:
This gist will collects all issues we solved with Rails 5.2 and Webpacker
# Last few parameters(--skip-* part) is only my habbit not actully required
$ rails new <project_name> --webpack=stimulus --database=postgresql --skip-coffee --skip-testI bundled these up into groups and wrote some thoughts about why I ask them!
If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email [email protected]
https://blog.vcarl.com/interview-questions-onboarding-workplace/
| #!/bin/sh | |
| set -e | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| BLUE='\033[0;34m' | |
| NC='\033[0m' | |
| mkdir -p log | |
| echo -e "${GREEN}Checking for wine...${NC}" |
| // 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
| const axios = require('axios'); // promised based requests - like fetch() | |
| function getCoffee() { | |
| return new Promise(resolve => { | |
| setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
| }); | |
| } |
| // === Arrays | |
| var [a, b] = [1, 2]; | |
| console.log(a, b); | |
| //=> 1 2 | |
| // Use from functions, only select from pattern | |
| var foo = () => [1, 2, 3]; |
| function join([ head, ...tail ], separator = ',') { | |
| if (head === undefined && !tail.length) return ''; | |
| return tail.length ? head + separator + join(tail, separator) : head; | |
| } |
| function reduce([ head, ...tail ], fn, initial) { | |
| if(head === undefined && tail.length === 0) return initial; | |
| if(!initial) { | |
| const [ newHead, ...newTail] = tail; | |
| return reduce(newTail, fn, fn(head, newHead)); | |
| } | |
| return tail.length ? reduce(tail, fn, fn(initial, head)) : [ fn(initial, head) ]; | |
| } |
| function filter([ head, ...tail ], fn) { | |
| const newHead = fn(head) ? [ head ] : []; | |
| return tail.length ? [ ...newHead, ...(filter(tail, fn)) ] : newHead; | |
| } |