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
// yarn add axios form-data | |
import { createReadStream } from "fs"; | |
import { version } from "os"; | |
import axios, { AxiosInstance } from "axios"; | |
import FormData from "form-data"; | |
interface SynologyAuthResponse { | |
data: { | |
sid: string; | |
}; |
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
*2ip.ru | |
*4pda.ru | |
*4pda.to | |
*addr.tools | |
*adguard-dns.com | |
*adguard-vpn.com | |
*adguard.com | |
*amazon.com | |
*bing.com | |
*books.google.com |
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
mail.yandex.ru##.ns-view-left-box>:nth-of-type(2) | |
mail.yandex.ru##.mail-Layout-Content>:nth-of-type(2) | |
market.yandex.ru##[data-apiary-widget-name="@marketfront/HeaderPromo"] | |
market.yandex.ru##[data-apiary-widget-name="@marketfront/HeroBannerCarousel"] | |
market.yandex.ru##[data-apiary-widget-name="@marketfront/MadvHeaderPromo"] | |
youtube.com##[is-shorts] | |
docs.nestjs.com##div.banner | |
habr.com##.tm-stories-block | |
market.yandex.ru##[data-auto="banner"] |
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
// for https://ui.gitlab-pages.kontur.host/docs/#/icons | |
const data = Array.from(document.querySelectorAll("[data-testid='mountNode']")[2].childNodes[2].children).filter( | |
i => i.localName === "div" | |
); | |
const result = []; | |
let idx = 0; | |
Array.from(data).forEach(a => { | |
Array.from(a.children[0].children).map(i => result.push([i.querySelector("p").innerText.replace(/[\u200b]/, "")])); |
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
type nul >> %* |
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
apiVersion: batch/v1 | |
kind: CronJob | |
metadata: | |
name: cleaner | |
spec: | |
schedule: "0 8 * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: |
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
gitlabUrl : https://gitlab.com | |
runnerRegistrationToken: TOKEN | |
runners: | |
tags: "docker" | |
privileged: true | |
config: | | |
[[runners]] | |
[runners.kubernetes] | |
image = "ubuntu:20.04" |
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
'use strict'; | |
class Observable { | |
constructor(subscribe) { | |
this.observers = []; | |
if (subscribe) { | |
subscribe(this) | |
} | |
} |
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
// 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 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]); |
NewerOlder