- Устанавливаем на TV Developer Mode
- Устанавливаем на ПК Device/DevMode Manager for webOS TV
- Через программу из п.2 устанавливаем на TV Homebrew Channel.
- Открываем на TV Homebrew Channel и добавляем репозиторий webOS free app market https://repo.webosapp.club (ссылка на инструкцию в форуме)
View 1-settings.md
View Android_Studio_emulator.md
Android Studio emulator (Mac OS)
emulator-commandline documentation
For first download Android Studio.
Quick start
For start emulator
View collectIncorrectAnswersAndCopyToBuffer.js
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 collectIncorrectAnswersAndCopyToBuffer(withSpoiler) { | |
const elsList = document.querySelector('main > ol'); | |
function getAnswerFromStorage(key) { | |
const value = localStorage.getItem(key); | |
if (!value) { | |
return 'Unknown'; | |
} |
View clearEventListener.js
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
// TODO check to `passive` param | |
function clearEventListener(target) { | |
var listeners = getEventListeners(target); | |
for (const key in listeners) { | |
if (!listeners.hasOwnProperty(key)) { | |
continue; | |
} |
View ts-non-relative-path-problem.md
Прелюдия
Назовём пакет example
.
tsconfig.json
{
"compilerOptions": {
"baseUrl": "src",
"jsx": "react",
View fix_ios_controls.css
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
button, | |
html input[type="button"], | |
input[type="reset"] { | |
border: none; | |
-webkit-appearance: none; | |
cursor: pointer; | |
} | |
button[disabled], | |
html input[disabled] { |
View hoc_typing.md
HOC typing
Typescript
function higherOrderFn<T extends (...args: any[]) => any>(fn: T): (...args: Parameters<T>) => ReturnType<T> {
return (...args: Parameters<T>) => {
return fn(args);
};
}
View onlyNumber.js
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
// other way | |
function isNumber(evt) { | |
evt = (evt) ? evt : window.event; | |
var charCode = (evt.which) ? evt.which : evt.keyCode; | |
if (charCode > 31 && (charCode < 48 || charCode > 57)) { | |
return false; | |
} | |
return true; | |
} |
NewerOlder