Skip to content

Instantly share code, notes, and snippets.

View arno01's full-sized avatar
🎯
Focusing

Andrey Arapov arno01

🎯
Focusing
View GitHub Profile
@arno01
arno01 / trying-SoftEtherVPN.md
Last active April 3, 2022 11:23
Trying SoftEtherVPN
@arno01
arno01 / 08-validators.yaml
Created April 27, 2021 20:57 — forked from thanethomson/08-validators.yaml
Possible mempool bug - configuration for reproducing
# Configuration file for tmtestnet: https://github.com/interchainio/testnets
# A geographically dispersed 8-validator test network.
id: testnet_08validators
templates:
base_validator: &base_validator
binary: v0.32.1
config_template: ./validator-config.toml
validators: yes
in_genesis: yes
validator tokens commission commission_max_rate commission_max_change_rate name
crocncl139nl5fnhlxu2asduu5zqq8zzev0632jlf3lgam 308885587.5088545 15 100 85 Falcon Heavy
crocncl1dy83stnfqnyv0t20zn0g9k6hlqr48w0fkjjgzw 297995538.7221704 15 100 85 New Shepard
crocncl1ax8vwqly42dxu9l5ucfqg6ex9krpzy5y2zylmv 284796052.1362898 15 100 85 Starship
crocncl1qfyacv6ypqgz8rfh6pu736fg8w5p78f8jjklf6 260253750.46495613 15 20 10 Apollo
crocncl1x4vf2wc0zqujna8jedzld22eemg9n3ljpljrre 254023238.00934672 15 20 10 Delta III
crocncl10efzj4xg28qrtsp9kcumk9xk0ddylu3q87j967 222291604.88853988 15 20 10 Athena
crocncl1h6350mf68lg52ll44t7whcnffhf3qcycxrqfu7 214270507.73013157 15 20 10 Atlas I
crocncl1sluuqshjwrttwr553feqpq0550qd9w9zegvdy0 177644189.61847365 15 20 10 Pegasus
crocncl1ewgpxu7ec2kdeu9cyze0xaufnwkkqkpwq7rmst 177213463.52771685 15 20 10 Falcon 9
validator tokens commission commission_max_rate commission_max_change_rate name
crocncl1dy83stnfqnyv0t20zn0g9k6hlqr48w0fkjjgzw 273931404.02742445 15 100 85 New Shepard
crocncl139nl5fnhlxu2asduu5zqq8zzev0632jlf3lgam 272720007.89830583 15 100 85 Falcon Heavy
crocncl1ax8vwqly42dxu9l5ucfqg6ex9krpzy5y2zylmv 246984579.0203 15 100 85 Starship
crocncl1x4vf2wc0zqujna8jedzld22eemg9n3ljpljrre 226566539.93925208 15 20 10 Delta III
crocncl1qfyacv6ypqgz8rfh6pu736fg8w5p78f8jjklf6 221767429.12670177 15 20 10 Apollo
crocncl10efzj4xg28qrtsp9kcumk9xk0ddylu3q87j967 202290940.38914356 15 20 10 Athena
crocncl1h6350mf68lg52ll44t7whcnffhf3qcycxrqfu7 196857954.37840712 15 20 10 Atlas I
crocncl1ewgpxu7ec2kdeu9cyze0xaufnwkkqkpwq7rmst 164465869.6608799 15 20 10 Falcon 9
crocncl1sluuqshjwrttwr553feqpq0550qd9w9zegvdy0 164028096.2168292 15 20 10 Pegasus
@arno01
arno01 / diff.md
Last active January 28, 2020 12:19
  • roadrunner2/macbook12-spi-driver is at commit 3b58c7b3b2e814abd5347372d842328c88801f76 (HEAD -> touchbar-driver-hid-driver, origin/touchbar-driver-hid-driver, origin/HEAD)
  • torvalds/linux is at commit b0be0eff1a5ab77d588b76bd8b1c92d5d17b3f73 (HEAD -> master, origin/master, origin/HEAD)
[user@personal linux]$ diff -Nur ~/git/macbook12-spi-driver/applespi.c ~/git/linux/drivers/input/keyboard/applespi.c | xclip -selection clipboard
--- /home/user/git/macbook12-spi-driver/applespi.c	2020-01-28 13:15:41.561000000 +0100
+++ /home/user/git/linux/drivers/input/keyboard/applespi.c	2020-01-28 13:07:22.311000000 +0100
@@ -48,15 +48,12 @@
 #include <linux/efi.h>
 #include <linux/input.h>

make python-xcffib

[user@build qubes-builder]$ make python-xcffib
Currently installed dependencies:
python2-pyyaml-5.1-1.fc30.x86_64
createrepo_c-0.15.5-1.fc30.x86_64
createrepo_c-0.15.5-1.fc30.x86_64
debootstrap-1.0.116-1.fc30.noarch
devscripts-2.19.3-1.fc30.x86_64
@arno01
arno01 / qubes-templates-4kn.md
Last active February 9, 2020 17:27
Build Qubes OS templates for 4096 bytes/sector disks

while building Qubes OS R4.1

[arno@20b6bde5a878 qubes-builder]$ cat build-logs/template-stretch.log 
...
...
Setting up file (1:5.30-1+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
grep: /proc/mounts: No such file or directory
grep: /proc/mounts: No such file or directory
@arno01
arno01 / README-setup-tunnel-as-systemd-service.md
Created October 30, 2019 12:45 — forked from drmalex07/README-setup-tunnel-as-systemd-service.md
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward

README

Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name of target host:

[Unit]
Description=Setup a secure tunnel to %I
After=network.target
@arno01
arno01 / docker-on-android.md
Last active October 19, 2023 07:48
Docker on Android

WORK IN PROGRESS

Docker on Android

Setup:

Samsung Galaxy Tab S5e SM-T720
Android Pie on Linux 4.9.112 (not rooted)
Termux