A tiny ~150-byte polyfill for
Useful for browsers that support Promise but not the
npm install finally-polyfill
(10min demo at the performance.now() meetup, 20 November 2019, Amsterdam)
CrUX is the Chrome User Experience Report, a public dataset of performance and UX data from real Chrome users in the field.
import stylesheet from './style.css'; console.log(stylesheet); // CSSStyleSheet
|// document.currentScript works on most browsers, but not all|
|var where = document.currentScript || document.getElementById("nb-loader-script"),|
|promoted = false,|
|LOADER_TIMEOUT = 3000,|
|IDPREFIX = "__nb-script";|
|// function to promote a preload link node to an async script node|
I had some massive problems when installing the 10.13.3 update on macOS. The update installed, my computer successfully restarted - but on a subsequent restart the boot failed and displayed the following installation log:
Apr 4 04:07:04 MacBook-Pro opendirectoryd: [session] Processing a network change notification Apr 4 04:07:06 MacBook-Pro Unknown: Launching the Language Chooser for an OS Install Apr 4 04:07:06 MacBook-Pro bspowerassertiontool: Tool exited successfully (0). Apr 4 04:07:06 MacBook-Pro launchprogresswindow: ISAP: Show progress UI called Apr 4 04:07:07 MacBook-Pro Installer Progress: Progress UI App Starting Apr 4 04:07:32 MacBook-Pro opendirectoryd: [session] Received a network change notification Apr 4 04:07:32 MacBook-Pro opendirectoryd: [session] Received a network change notification
(This is an English translation of my Danish blog post, Bitcoin for voksne)
Bitcoin is a digital currency that has no central authority. It's a currency where you do not have to rely on anyone to know it's worth it. As a concept, it's similar to gold. Gold has a value in itself, as opposed to, say a $100 note that only has value if the U.S. government says it has value. Similarly, the idea of Bitcoins is that they have value by themselves.
Let's try to understand how Bitcoin works.