Skip to content

Instantly share code, notes, and snippets.

View notpushkin's full-sized avatar
🕊️

Alexander Pushkov notpushkin

🕊️
View GitHub Profile
/* ==UserStyle==
@name Rutracker modern logo
@namespace rutracker-modern-logo@ale.sh
@version 1.0.1
@description A new userstyle
@author Alexander Pushkov (hey@ale.sh)
==/UserStyle== */
@namespace url(http://www.w3.org/1999/xhtml);

These are the questions asked when you apply for an Estonian Startup Visa program.

Intro

Welcome to Startup Committee. You will be guided through the application process.

If you already have a company profile in Startup Includer, it will take only few clicks to share the data.

#!/bin/bash
# Wrapper for brightnessctl, adding:
# - custom maximum value (useful when you override PWM settings)
# - smooooooooooooooooooooooooooooooooothiness
# - desktop notification
#
# Author: Alexander Pushkov <backlit@ale.sh>
# SPDX-License-Identifier: Apache-2.0 OR ISC
DELTA=2
$ flatpak run -vv com.github.suzie97.communique 2>&1 | gawk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }'
[2021-09-04 18:05:37] F: No installations directory in /etc/flatpak/installations.d. Skipping
[2021-09-04 18:05:37] F: Opening system flatpak installation at path /var/lib/flatpak
[2021-09-04 18:05:37] F: Opening user flatpak installation at path /home/ale/.local/share/flatpak
[2021-09-04 18:05:37] F: Opening user flatpak installation at path /home/ale/.local/share/flatpak
[2021-09-04 18:05:37] F: Opening system flatpak installation at path /var/lib/flatpak
[2021-09-04 18:05:37] F: Opening user flatpak installation at path /home/ale/.local/share/flatpak
[2021-09-04 18:05:37] F: Opening system flatpak installation at path /var/lib/flatpak
[2021-09-04 18:05:37] F: /var/lib/flatpak/runtime/io.elementary.Platform/x86_64/6/f6458cfe79a53d649c33716c75262c1a2027121f0290b529644adee9a809d39e/files/lib32 does not exist
[2021-09-04 18:05:37] F: Cleaning up unused container id 3669369054
An SSH key to connect to GitLab.com. Can read any public repos.
Public counterpart (feel free to add to your Git hostings as well):
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDFlf7wWgBodc2IAnKweYK6qXR81h7S/6+FUkugxvuTm
@notpushkin
notpushkin / build_pa_ldac.sh
Last active May 2, 2021 01:46
pulseaudio-module-bluetooth with LDAC support for Ubuntu and (untested) Debian · https://files.catbox.moe/i1tsk1.deb
PULSE_VERSION="$(pkg-config libpulse --modversion)"
PACKAGE_DIR="$(mktemp -d)"
SRC_DIR="$(mktemp -d)"
if [[ "x${PULSE_VERSION}x" == "x11.1x" ]]; then
git clone --depth=1 --branch=pulseaudio_v11.x https://github.com/EHfive/pulseaudio-modules-bt.git "${SRC_DIR}"
else
git clone --depth=1 https://github.com/EHfive/pulseaudio-modules-bt.git "${SRC_DIR}"
fi
@notpushkin
notpushkin / npmjs-explore.user.js
Last active April 6, 2021 21:21
Redirect from npm's Explore link to https://unpkg.com/browse/*/, which is available for all ✨
// ==UserScript==
// @name npmjs.com Explore → unpkg.com Browse
// @author Alexander Pushkov <alexander@notpushk.in>
// @version 2
// @grant none
// @include http://npmjs.com/package/*
// @include https://npmjs.com/package/*
// @include http://www.npmjs.com/package/*
// @include https://www.npmjs.com/package/*
// ==/UserScript==
@notpushkin
notpushkin / bpmtools.py
Created December 23, 2020 22:56
Double or halve stepchart BPM
def to_pairs(xs):
seq = iter(xs)
while True:
try:
x = next(seq)
except StopIteration:
return
try:
y = next(seq)
except StopIteration:

The claim that my PGP signature has the same power as my DigiDoc signature is hereby revoked.

-----BEGIN PGP MESSAGE-----

owGbwMvMwMVopi4lW2HNfoTxdEoSQ3yonH9IRqpCck5iZq5CSUZiiUJupUKAe4BC
cWZ6XmJJaVGqQkZiMVAmVaE4MTdVoSC/PLVIASgCVOaSmZ7pkp+MpDSzWCEjtSg1
qVKhKLUsPzs1RY+rk9GYhYGRi0FWTJHl9tuCti9pWkfnrTIxhTmDlQnohhAGLk4B
mEhsAwfDviVczhflNliUuFcnGfLfkVvWurulO/PAqV+689+22ESeyoyZXNp8otV5
bUlc4661W3+58t286MCoNJmhuffJ01VrJP18NO5l+7Z57Tl/4vp81kliDdzJKonv