Deep это:
- Связи
- Пакеты, содержащие связи (сам пакет это тоже связь)
- Обработчики вставки/обновления/удаления в любой поддерживаемой среде
- Материализованный путь связей, деревья
| doAllWork(); | |
| /** | |
| * Find repeating messages in the twitch chat every {@link checkIntervalInMs} milliseconds and play a sound at url {@link soundUrl} if there are more than {@link howManyMessagesMustBeUnique} unique messages in the last {@link howManyMessagesToCheck} and logs the messages if {@link shouldLog} is true and adds a stop button to the page | |
| * @example | |
| * ``` | |
| * workForMe() | |
| * ``` | |
| */ | |
| function doAllWork( |
| // Get your token by creating one token manually and find it in Browser Developer Tools -> Network -> GenerateApiKey -> Request | |
| const REQUEST_VERIFICATION_TOKEN = REQUEST_VERIFICATION_TOKEN; | |
| const packages = [ | |
| ...document | |
| .querySelector('.available-packages-container') | |
| .querySelectorAll('input'), | |
| ].map((input) => input.parentNode.textContent.trim()); | |
| for (package of packages) { | |
| fetch('https://www.nuget.org/account/GenerateApiKey', { | |
| headers: { |
| const regenerateTokens = async ({ manageContainer }) => { | |
| const regenerateTokenElements = [ | |
| ...manageContainer.querySelectorAll('a'), | |
| ].filter((linkElement) => linkElement.textContent.trim() == 'Regenerate'); | |
| for (regenerateTokenElement of regenerateTokenElements) { | |
| regenerateTokenElement.click(); | |
| } | |
| prompt('Wait until all your keys regenerate to copy them properly'); | |
| }; |
| const manageContainer = document.querySelector("#manage-container"); | |
| const regenerateTokenElements = [...manageContainer.querySelectorAll("a")].filter(linkElement => linkElement.textContent.trim() == 'Regenerate') | |
| for (regenerateTokenElement of regenerateTokenElements) { | |
| regenerateTokenElement.click() | |
| } |
| // Get your token by creating one token manually and find it in Browser Developer Tools -> Network -> GenerateApiKey -> Request | |
| const REQUEST_VERIFICATION_TOKEN = REQUEST_VERIFICATION_TOKEN; | |
| const packages = [ | |
| ...document | |
| .querySelector('.available-packages-container') | |
| .querySelectorAll('input'), | |
| ].map((input) => input.parentNode.textContent.trim()); | |
| for (package of packages) { | |
| fetch('https://www.nuget.org/account/GenerateApiKey', { | |
| headers: { |
| { | |
| "layout": { | |
| "model": "pc105", | |
| "group": 0, | |
| "layout": "us,ru,us", | |
| "variant": "colemak,,", | |
| "options": "", | |
| "rules": "evdev" | |
| }, | |
| "rawMapping": { |