Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
| // Pase these lines into website's console ( Ctrl/Cmd + Shift + I ) | |
| if(!!window.React || | |
| !!document.querySelector('[data-reactroot], [data-reactid]')) | |
| console.log('React.js'); | |
| if(!!window.angular || | |
| !!document.querySelector('.ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]') || | |
| !!document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]')) | |
| console.log('Angular.js'); |
Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
| # Script to download all the WWDC 2020 session videos in the 1080p resolution. | |
| # You may have to update ffmpeg before using this script. I needed version 4.3 or higher to successfully download the videos. | |
| # | |
| # On a Mac, | |
| # Install brew (https://brew.sh) | |
| # brew install ffmpeg | |
| # | |
| # If you want the lower bitrate audio, do a find/replace of "audio_english_192" with "audio_english_64" | |
| # If you want higher/lower bitrate/resolution video, do a find/replace of "hvc_1080p_5800" with any of the following: | |
| # "hvc_2160p_11600" |
A service worker is a special script which runs in the background in the browser and manages network requests to a given origin. It's originally installed by an app and stays resident on the user's machine/device. It's activated by the browser when a page from its origin is loaded, and has the option to respond to HTTP requests during the page loading, including the initial navigation request (for /index.html). This makes service workers very useful for true offline support in applications.
Additionally, service workers are the client-side endpoint for push notifications on the web.