- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises
- https://stackoverflow.com/questions/37527292/when-not-to-use-promises
https://gist.github.com/domenic/3889970https://blog.domenic.me/youre-missing-the-point-of-promises/- https://www.quora.com/What-are-situations-to-use-callbacks-instead-of-promises-in-Javascript-Should-one-use-promises-all-the-time-Which-will-lead-to-more-readable-code
- https://developers.google.com/web/fundamentals/primers/promises
- https://runnable.com/blog/5-reasons-why-you-should-be-using-promises
- https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html
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
| https://medium.com/@_rchaves_/building-microfrontends-part-i-creating-small-apps-710d709b48b7 | |
| Trying the commands after the sentence "That's it, you can now run the header with:". | |
| -------------------------- | |
| Valeras-MacBook-Air:header valerarozuvan$ npm run build | |
| > [email protected] build /Users/valerarozuvan/dev/experiments/micro_f_01/header | |
| > react-scripts build |
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
| FROM node:boron-stretch | |
| # Setup necessary system dependencies. | |
| RUN echo "deb http://http.us.debian.org/debian stretch main contrib non-free" >> "/etc/apt/sources.list" | |
| RUN echo "deb http://security.debian.org stretch/updates main contrib non-free" >> "/etc/apt/sources.list" | |
| RUN apt-get update |
I hereby claim:
- I am valera-rozuvan on github.
- I am valera_rozuvan (https://keybase.io/valera_rozuvan) on keybase.
- I have a public key ASAryQPuhLVh4Yk2P74LE9dZQJZxPUCoW23GIinbO6Sd9wo
To claim this, I am signing this object:
So you want to add some changes to code, and make it as if your last commit has the changes. Also, you want to keep the date of your last commit. Easy!
- Do some changes.
- Make a temporary commit.
- Rebase interactive, squash last commit.
- Commit and amend. Set dates by exposing 2 ENV variables
GIT_AUTHOR_DATEandGIT_COMMITTER_DATE.
Make sure you have ffmpeg installed.
ffmpeg \
-i input.mp4 \
-r 15 \
-vf "scale=800:-1,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" \
output.gifText instruction used in the video:
1. https://metamask.io/
first - create a Metamask address
2. https://chainid.network/
second - add the sepolia testnet to Metamask