Error.captureStackTrace(obj, fun)
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
<?xml version="1.0" encoding="UTF-8"?> | |
<gpx creator="GPS to GPX (https://npm.im/gps-to-gpx)" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v2 http://www.garmin.com/xmlschemas/TrackPointExtensionv2.xsd"> | |
<metadata> | |
<name>Bar tour</name> | |
</metadata> | |
<trk> | |
<name>Bar tour</name> | |
<trkseg> | |
<trkpt lat="55.768249" lon="37.598339"></trkpt> | |
<trkpt lat="55.768308999999995" lon="37.598448000000005"></trkpt> |
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
{ | |
const globalScope = new Map(); | |
const getVar = (name) => { | |
if (!globalScope.has(name)) { | |
throw new Error("Unknown variable name"); | |
} | |
return globalScope.get(name); | |
}; | |
const filterEmpty = (arr) => arr.filter(v => typeof v === "number" || !v); | |
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
Владей собой среди толпы смятенной, | |
Тебя клянущей за смятенье всех, | |
Верь сам в себя наперекор вселенной, | |
И маловерным отпусти их грех; | |
Пусть час не пробил, жди, не уставая, | |
Пусть лгут лжецы, не снисходи до них; | |
Умей прощать и не кажись, прощая, | |
Великодушней и мудрей других. |
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
// https://pikabu.ru/page/interview/frontend/ | |
const check = (taskNum, fn, cmp = (a,b) => a === b) => | |
(expected, ...vals) => | |
console.assert( | |
cmp(fn(...vals), expected), | |
`\n[Task #${taskNum}] Test failed: \n\t\texpected [${expected}] \n\t\treturns [${fn(...vals)}] \n\t\tFunction args: (${vals.map(v => typeof v == 'string' ? `'${v}'` : v).join(', ')})` | |
) | |
// Task 14. | |
/** |
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
# import config. | |
# You can change the default config with `make cnf="config_special.env" build` | |
cnf ?= config.env | |
include $(cnf) | |
export $(shell sed 's/=.*//' $(cnf)) | |
# import deploy config | |
# You can change the default deploy config with `make cnf="deploy_special.env" release` | |
dpl ?= deploy.env | |
include $(dpl) |
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
### Keybase proof | |
I hereby claim: | |
* I am effrenus on github. | |
* I am effrenus (https://keybase.io/effrenus) on keybase. | |
* I have a public key ASD_vOyOYMb530AUQL2F4KYf_O8iFtAQwcpcy790IwP6gQo | |
To claim this, I am signing this object: |
Preload, Prefetch And Priorities in Chrome
- preload - директива (указание) браузеру загрузить ресурс
- prefetch - способ сообщить, что ресурс, возможно, понадобится в будущем. Браузер сам решает когда загружать ресурс
- preload - для ресурсов, которые необходимы для текущей страницы: шрифты, важные скрипты, стили, изображения (приоритетные)
- prefetch - работа с ресурсами для последующих страниц.
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
やんわり(と)[やんわりと言う、やんわりと断る] | |
мягко, вежливо (в основном относится к речи) | |
図書館では静かにするようにやんわり注意した。Вежливо указал вести себя тише в библиотеке. | |
------ | |
ゆったり(と)[ゆったりくつろぐ、ゆったりした服] | |
чуствовать себя свободно; (одежда) быть свободной | |
暖炉の前の大きなソファに座って、ゆったりくつろいだ。Сел на софу перед камином и почувствовал себя как дома. | |
------ |
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
http://www.nippon-gatari.info/2015/08/spisok-grammatiki-dlya-sdachi-urovnya-n1-jlpt-chast-pervaya.html | |
私は若い頃にたくさん本を読んだので、それなりに物知りだ | |
物知り - а ля ходячая энциклопедия. пруф: https://kotobank.jp/word/物知り | |
школяр у нас - http://slovariya.ru/rus/tso/shkolyar | |
и | |
в английском scholar - http://www.merriam-webster.com/dictionary/scholar | |
電車に間に合わんがため,鈴木さんが来なくても行ってしまった | |
Чтобы успеть на поезд, он ушел не дождавшись Сузуки. |
NewerOlder