A Pen by Vlad Tsepelev on CodePen.
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 duplicate(){ | |
| // write your one-line implementation here | |
| } | |
| // should prints [1,2,3,4,5,1,2,3,4,5] | |
| console.log(duplicate([1,2,3,4,5])); | |
| // should prints ['a','b','c','a','b','c'] | |
| console.log(duplicate(['a','b','c'])); |
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 add(){ | |
| // write your one-line implementation here | |
| } | |
| // should prints 7 | |
| console.log(add(2,5)); | |
| // should prints 7 | |
| console.log(add(2)(5)); |
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
| #!/bin/bash | |
| curl "https://api.github.com/repos/d3/d3/issues?per_page=1000" | jq '.[] | .title' | awk '{ print length($0); }' | jq -s 'add/length' |
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| Do need DAM if... | Do NOT need DAM if... |
|---|---|
| Have 1000+ assets | Have less tahn 1000+ assets |
| Collaborate with team on your assets | Work alone |
| Have licensed assets | Have short asset lifecycle |
| Search assets across your library | Do not develop assets |
OlderNewer