Skip to content

Instantly share code, notes, and snippets.

View vitali2y's full-sized avatar
🏠
/me @ 127.0.0.1

Vitaliy Yermolenko vitali2y

🏠
/me @ 127.0.0.1
  • $HOME @ Ukraine @ Earth
View GitHub Profile
@vitali2y
vitali2y / jomaa-zx-k26-combo-logs.md
Created April 8, 2024 19:35
Jomaa ZX-K26 combo's logs

Jomaa ZX-K26 backlight wireless keyboard and mouse combo's logs during connecting to Linux Mint 21.2:

==> /var/log/kern.log <==
Apr  8 22:24:13 greenway kernel: [ 6719.709951] usb 3-2: new full-speed USB device number 4 using xhci_hcd
Apr  8 22:24:13 greenway kernel: [ 6719.865444] usb 3-2: New USB device found, idVendor=3554, idProduct=fc03, bcdDevice= 7.90
Apr  8 22:24:13 greenway kernel: [ 6719.865457] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Apr  8 22:24:13 greenway kernel: [ 6719.865462] usb 3-2: Product: 2.4G Receiver
Apr  8 22:24:13 greenway kernel: [ 6719.865466] usb 3-2: Manufacturer: CX
Apr  8 22:24:13 greenway kernel: [ 6719.869885] input: CX 2.4G Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:3554:FC03.0003/input/input25
Apr  8 22:24:13 greenway kernel: [ 6719.930896] hid-generic 0003:3554:FC03.0003: input,hidraw0: USB HID v1.10 Keyboard [CX 2.4G Receiver] on usb-0000:00:14.0-2/input0
@vitali2y
vitali2y / install-betaflight-configurator-linux-mint-21.2.md
Created April 7, 2024 19:54
Installing Betaflight Configurator on Linux Mint 21.2
➜  cd ~/Downloads && wget https://github.com/betaflight/betaflight-configurator/releases/download/10.10.0-RC3/betaflight-configurator_10.10.0-RC3_amd64.deb && sudo dpkg -i betaflight-configurator_10.10.0-RC3_amd64.deb
~...~
Unpacking betaflight-configurator (10.10.0-RC3) ...
dpkg: dependency problems prevent configuration of betaflight-configurator:
 betaflight-configurator depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.
dpkg: error processing package betaflight-configurator (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
@vitali2y
vitali2y / helix-editor-cfg.md
Created March 31, 2024 19:48
My Helix editor's config
➜  ~ cat ~/.config/helix/config.toml 
theme = "my"

[editor]
mouse = true
true-color = true
indent-guides.render = true
cursorline = true
color-modes = true
@vitali2y
vitali2y / resize-btrfs-by-parted.md
Created December 9, 2023 23:09
SD Card's partition resizing with parted

Resizing of btrfs partition (in my case it's Odroid U3's Ubuntu Jammy image from here) by adding extra 3GB @ 16GB SD Card connected via USB adapter to Linux Mint box with using parted utility. Distrib image contains 2 partitions, boot and root - we are working with second @ /dev/sda2 here.

➜   ✗ df -h /dev/sda2                
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       3,0G  2,8G   21M 100% /media/vit/rootpart
➜   ✗ umount /dev/sda2
➜   ✗ parted -l
Model: MXT-USB Storage Device (scsi)
Disk /dev/sda: 15,9GB
@vitali2y
vitali2y / vnc-android.md
Created November 22, 2023 17:21
Mirroring of Linux Mint screen on Android tablet
@vitali2y
vitali2y / scrcpy-android.md
Created November 22, 2023 17:14
Display and control your Android device on Linux Mint

Upgrading greenbee and greenway (Linux Mint 21.2 Victoria)

  1. Partitioning @ greenbee:
/dev/sda1 /boot/efi
/dev/sda2 /
/dev/sda2 swap
/dev/sda4 /home  # <- not format!
@vitali2y
vitali2y / camenoti-and-debian-bookworm-on-odroid-u3.md
Last active November 6, 2023 21:27
All steps for running camenoti @ Debian Bookworm distro @ Odroid U3 device

The goal of this manual is:

  • installing the latest Debian Bookworm distro on quite old, but great, Odroid U3 device, and
  • installing and running the very simple (just actially few configuration lines + motion + curl), but battle-tested motion detection & notification surveillance camenoti solution on it.

Installing Debian Bookworm on Odroid U3

  1. On host box let's download the recent odroid_u3-armv7l-bookworm.img.gz from here:
➜  bookworm-230507 wget https://github.com/hexdump0815/imagebuilder/releases/download/230224-05/odroid_u3-armv7l-bookworm.img.gz
@vitali2y
vitali2y / html-gmail.md
Created May 5, 2023 10:42
Gmail Simple HTML View
@vitali2y
vitali2y / rab13s.md
Created May 3, 2023 21:14
Rab13s / CVE-2023-30769 vulnerability

Searching for fix for Rab13s vulnerability (AKA CVE-2023-30769: more here or here) so proudly advertised by Halborn Inc with small funny Halborn did not share the Exploit-kit code with any party comment? :-)

So, here you are! ✌️ You do not need to pay them for any vulnerability disclosure / bug bounty! Just follow my hands 😉 links: from CryptoCurrency's Reddit we go to Litecoin v0.21.2.2 (where LTC Team reports about Important Security Updates under this release @ Mar 2, 2023), and among their 9 commits we can find [Rate limit