This file contains 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
// Registering | |
navigator.serviceWorker.register('./path_to_your_worker.js', { | |
scope: './base_url_of_the_web_app/' | |
}).then(function(registration) { | |
// Do soemthing with registration... | |
}, function(error) { | |
console.log('Failed to install:' + error); | |
}); | |
// Unregistering (uninstall) all |
This file contains 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
[{"cc":"AED","symbol":"د.إ;","name":"UAE dirham"},{"cc":"AFN","symbol":"Afs","name":"Afghan afghani"},{"cc":"ALL","symbol":"L","name":"Albanian lek"},{"cc":"AMD","symbol":"AMD","name":"Armenian dram"},{"cc":"ANG","symbol":"NAƒ","name":"Netherlands Antillean gulden"},{"cc":"AOA","symbol":"Kz","name":"Angolan kwanza"},{"cc":"ARS","symbol":"$","name":"Argentine peso"},{"cc":"AUD","symbol":"AU$","name":"Australian dollar"},{"cc":"AWG","symbol":"ƒ","name":"Aruban florin"},{"cc":"AZN","symbol":"AZN","name":"Azerbaijani manat"},{"cc":"BAM","symbol":"KM","name":"Bosnia and Herzegovina konvertibilna marka"},{"cc":"BBD","symbol":"Bds$","name":"Barbadian dollar"},{"cc":"BDT","symbol":"৳","name":"Bangladeshi taka"},{"cc":"BGN","symbol":"BGN","name":"Bulgarian lev"},{"cc":"BHD","symbol":".د.ب","name":"Bahraini dinar"},{"cc":"BIF","symbol":"FBu","name":"Burundi franc"},{"cc":"BMD","symbol":"BD$","name":"Bermudian dollar"},{"cc":"BND","symbol":"B$","name":"Brunei dollar"},{"cc":"BOB","symbol":"Bs.","name":"Bolivian bolivian |
This file contains 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
describe('my app', function() { | |
// angular is a big framework and many still mis-used it (like doing DOM manipulation with JQuery on angular) | |
// so protractor does not make to handle these mistake, but the work around will be simple | |
// beforeEach suite we simple do the waitForAngular() and sleep of a half of an second. | |
beforeEach(function() { | |
browser.waitForAngular(); | |
browser.sleep(500); | |
}) |
This file contains 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() { | |
var synoLang; | |
var isSynoReady; | |
var additional = { | |
code : 'vie', // <== uses reference language list at the bottom and set the 'code' to the language you wanted | |
label: 'Tiếng Việt' // <== 'label' can be anything you wanted. i.e. if set to 'New lang 123' you will see 'New lang 123' in the list | |
} | |
This file contains 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
accelerate==0.20.3 | |
colorama | |
datasets | |
einops | |
flexgen==0.1.7 | |
gradio_client==0.2.5 | |
gradio==3.33.1 | |
markdown | |
numpy | |
pandas |