Синхронизация настроек Sublime Text 3
This file contains hidden or 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
| # Скрипт для дозагрузки потерянных яндекс.музыкой в конце декабря скробблов | |
| # Если что пишите t.me/Roman_Deev или пингуйте в t.me/yandexvernitescrobbling | |
| # Для начала запросите у яндекса архив данных яндекс.музыки: https://id.yandex.ru/personal/data | |
| # Распакуйте его и положите в одну папку со скриптом файл history.json | |
| # Установите библиотеки | |
| # pip install yandex-music pylast | |
| # В last.fm может показываться местное время. Далее нужно UTC |
This file contains hidden or 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
| define(function (require) { | |
| var patternYouTube = /\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9_\-]+)/i; | |
| var patternVimeo = /(http|https):\/\/(www\.)?vimeo.com\/(\d+)($|\/)/; | |
| var patternSoundCloud = /https:\/\/(www\.)?soundcloud.com.*/; | |
| var patternLink = /([-a-zA-Z0-9:%_\+.~#?&\/\/=]{2,256}\.[a-z]{2,4}\b(\/?[-a-zA-Z0-9:%_\+.~#?&\/\/=]*)?)/gi; | |
| var pattern = { | |
| url : /\s([a-z0-9а-я.-_]+)\.([a-z0-9а-я._-]{2,10})/gi, // первый символ пробел!! | |
| email : /([a-z0-9а-я._-]+)@([a-z0-9а-я._-]+)\.([a-z0-9а-я._-]{2,10})/gi, |