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
https://dns.cloudflare.com/dns-query | |
https://dns.google/dns-query | |
https://dns10.quad9.net:443/dns-query | |
[/api.themoviedb.org/]9.9.9.9 | |
[/image.tmdb.org/]9.9.9.9 | |
[/themoviedb.org/]9.9.9.9 |
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 alpine:latest | |
RUN apk add --no-cache curl | |
# Создаем cron job для отправки запроса каждые 60 секунд | |
RUN echo "* * * * * curl -s https://uptime.mysite.ru/api/push/\${URL_VAR}?status=up&msg=OK&ping=" > /etc/crontabs/root | |
CMD ["crond", "-f"] | |
# docker build -t qwe . |
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
// 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 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
*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 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
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 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
// 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 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
type nul >> %* |
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
apiVersion: batch/v1 | |
kind: CronJob | |
metadata: | |
name: cleaner | |
spec: | |
schedule: "0 8 * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: |
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
gitlabUrl : https://gitlab.com | |
runnerRegistrationToken: TOKEN | |
runners: | |
tags: "docker" | |
privileged: true | |
config: | | |
[[runners]] | |
[runners.kubernetes] | |
image = "ubuntu:20.04" |
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
'use strict'; | |
class Observable { | |
constructor(subscribe) { | |
this.observers = []; | |
if (subscribe) { | |
subscribe(this) | |
} | |
} |
NewerOlder