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
// creatordate нужен потому что в тегах созданных на ранних версиях гита вполне себе может не быть коммитера! | |
const gitLastTag = execSync( | |
`git for-each-ref --count=10 --sort=-creatordate --format='%(refname:short)' refs/tags/release/engine/v*` | |
); | |
const lastReleaseTags = gitLastTag | |
.toString() | |
.split("\n") | |
.map(i => i.replace(/'|"/g, "")) | |
.filter(i => i !== "") |
This file has been truncated, but you can view the full file.
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
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { | |
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0]); | |
var _Main = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1])); | |
var _SceneMain = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[2])); | |
var _miot = _$$_REQUIRE(_dependencyMap[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
- name: Курс евро Московская биржа | |
platform: rest | |
resource: https://iss.moex.com/iss/engines/currency/markets/selt/boards/CETS/securities/EUR_RUB__TOM.json?iss.meta=off&marketdata.columns=LAST,VALUE&securities.columns=n | |
value_template: "{{ value_json.marketdata.data[0][0] }}" | |
unit_of_measurement: "rub" | |
scan_interval: 600 | |
- name: Курс доллара Московская биржа | |
platform: rest | |
resource: https://iss.moex.com/iss/engines/currency/markets/selt/boards/CETS/securities/USD000UTSTOM.json?iss.meta=off&marketdata.columns=LAST,VALUE&securities.columns=n | |
value_template: "{{ value_json.marketdata.data[0][0] }}" |
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
#!/bin/sh | |
tscCommand="powershell.exe yarn tsc" | |
lintCommand="powershell.exe yarn lint" | |
echo "[HOOK] Running tsc..." | |
q=$(exec $tscCommand) | |
result=$? | |
if [ "$result" != "0" ] | |
then |
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
version: '2' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.7 | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
environment: | |
- discovery.type=single-node |
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
import express from 'express'; | |
import { createEvent } from '../controllers/Events/createEvent'; | |
import { getEvents } from '../controllers/Events/getEvents'; | |
import { updateEvent } from '../controllers/Events/updateEvent'; | |
import { deleteEvent } from '../controllers/Events/deleteEvent'; | |
const router = express.Router(); | |
router.route('/events') | |
.get(async (req, res) => { | |
// all action in controller |
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
FROM ubuntu:18.10 | |
RUN apt-get update && \ | |
apt-get install build-essential cmake -y && \ | |
apt-get install libopenblas-dev liblapack-dev -y && \ | |
apt-get install libx11-dev libgtk-3-dev -y && \ | |
apt-get install python python-dev python-pip -y && \ | |
apt-get install python3 python3-dev python3-pip -y | |
# build ~3-4 hours(!) on i7 8700k + 960pro (nvme ssd) |
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
vk.com###stories_feed_wrap | |
stackoverflow.com###js-gdpr-consent-banner | |
99percentinvisible.org###cookie-policy | |
serverfault.com###js-gdpr-consent-banner | |
superuser.com###js-gdpr-consent-banner | |
vk.com##.feed_friends_recomm | |
vk.com###feed_filters | |
ntv.ru###newcontent | |
unix.stackexchange.com###js-gdpr-consent-banner | |
askubuntu.com###js-gdpr-consent-banner |
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
# EditorConfig is awesome: http://EditorConfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_size = 2 | |
end_of_line = lf | |
indent_style = space | |
insert_final_newline = true |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |