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
performance.mark("SCRIPT_STARTED"); |
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
--- | |
style: | |
layers: | |
- type: circle | |
paint: | |
circle-radius: 3 | |
circle-color: green | |
filter: | |
- any | |
- [ ==, [ slice, [ get, 'contact:email' ], -9 ], 'gmail.com' ] |
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
--- | |
style: | |
layers: | |
- type: symbol | |
icon-overlap: always | |
icon-size: 0.5 | |
icon-image: | |
- image | |
- 'emoji:robot_face' | |
--- |
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
// This code distributed under MIT license | |
// Author: https://github.com/DevBubba/Bookmarklets | |
// Code was deminified and used in https://github.com/deevroman/better-osm-org | |
function runSnowAnimation() { | |
function i() { | |
this.D = function () { | |
const t = h.atan(this.i / this.d); | |
l.save(); | |
l.translate(this.b, this.a); | |
l.rotate(-t); |
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
javascript:(() => {const [,user,repo] = location.href.match(/https:\/\/(.+)\.github\.io\/(.*?)(\/|$)/); window.open(`https://github.com/${user}/${repo}`, "_blank");})() |
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
// ==UserScript== | |
// @name Key tester | |
// @grant GM_info | |
// @match https://www.openstreetmap.org/* | |
// @run-at document-end | |
// ==/UserScript== | |
(() => { | |
document.addEventListener('keydown', (e) => { | |
alert(e.code); |
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
// ==UserScript== | |
// @name Better osm.org | |
// @version 0.1337.1337 | |
// @author deevroman | |
// @match https://www.openstreetmap.org/* | |
// @namespace https://github.com/deevroman/better-osm-org | |
// @sandbox JavaScript | |
// @grant GM_info | |
// @run-at document-end | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Better osm.org | |
// @version 0.1337 | |
// @author deevroman | |
// @match https://www.openstreetmap.org/* | |
// @namespace https://github.com/deevroman/better-osm-org | |
// @sandbox JavaScript | |
// @grant GM_info | |
// @run-at document-end | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name id-dark-mode | |
// @version 0.1 | |
// @description Dark mode for iD OSM-editor. Part of better-osm-org. Based on AlexPS userstyle | |
// @license ¯\_(ツ)_/¯ | |
// @match https://www.openstreetmap.org/* | |
// @exclude https://www.openstreetmap.org/api* | |
// @match https://master.apis.dev.openstreetmap.org/* | |
// @exclude https://master.apis.dev.openstreetmap.org/api/* | |
// @updateURL https://github.com/deevroman/better-osm-org/raw/master/id-dark-mode.js |
NewerOlder