Skip to content

Instantly share code, notes, and snippets.

View asapdotid's full-sized avatar

Asapdotid asapdotid

View GitHub Profile
@asapdotid
asapdotid / README.md
Last active October 22, 2025 08:29
Pipewire Input Denoising

Setup Pipewire input denoising

Prerequisites:

- PipeWire
- Arch/Manjaro Linux or Fedora Linux

Install rnnoise first

Arch Linux:

@asapdotid
asapdotid / README.md
Last active September 26, 2025 02:14
Manjaro i3wm custom touchpad config

Custom Touchpad config on Manjaro i3wm

/etc/X11/xorg.conf.d/30-touchpad.conf

file: 30-touchpad.conf

Section "InputClass"
    Identifier "touchpad"
 Driver "libinput"
@asapdotid
asapdotid / Noice-Canceling-Source_with_Pipewire+WirePlumber.md
Last active September 9, 2025 04:32
A real-time noise suppression plugin for voice [Pipewire]

Setup (ArchLinux/Manjaro)

Install noise-suppression-for-voice from AUR or manually.

Instructions are provided here.

For PipeWire >= 0.3.45 you should:

  • Create config directory: ~/.config/pipewire/pipewire.conf.d/
  • Create config for plugin: ~/.config/pipewire/pipewire.conf.d/99-input-denoising.conf

Setup Custom Config Radiotray-NG

Config location: /home/$USER/.config/radiotray-ng

  • Config: radiotray-ng.json
  • Bookmarks: bookmarks.json
  • Bookmark Editor: rtng-bookmark-editor.cfg

Bookmarks will update

@asapdotid
asapdotid / env
Created August 18, 2025 11:38
Rust cargo env
#!/bin/sh
# rustup shell setup
# affix colons on either side of $PATH to simplify matching
case ":${PATH}:" in
*:"$HOME/.cargo/bin":*)
;;
*)
# Prepending path in case a system-installed rustc needs to be overridden
export PATH="$HOME/.cargo/bin:$PATH"
;;
@asapdotid
asapdotid / docker__tips-tricks.md
Last active August 18, 2025 05:41
Linux Optimize for Local Labs

[Docker] Reducing Docker Logs Size: A Practical Guide to Log Management

Docker containers are stateless, meaning their logs are deleted when the container is recreated. But many overlook a crucial detail here. So, before we proceed, let’s clarify an important point.

Checking Docker Log Sizes

Each Docker container has its directory under “/var/lib/docker/containers/.” Within each container’s directory, you’ll find a file ending in “-json.log,” which contains the logs for that specific container.

These files are structured in JSON format by default and capture the container’s standard output (stdout) and standard error (stderr) streams.

@asapdotid
asapdotid / Alacritty-custom-config_readme.md
Last active September 9, 2025 04:16
Alacritty (Manjaro i3wm config)

Alacritty custom config (Manajro i3)

Config location:/home/$USER/.config/alacritty

@asapdotid
asapdotid / Tmuxinator-custom-config-readme.md
Last active September 9, 2025 04:18
Tmuxinator config

Tmuxinator custom config

Config location: /home/$USER/.config/tmuxinator

@asapdotid
asapdotid / fedora-rpm-list-and-remove.md
Last active May 25, 2025 14:21
How can I remove a .asc key from Fedora/Centos/Redhat

How can I remove a .asc key

You can list the keys with:

rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'

Then delete the key you want with:

rpm -e gpg-pubkey-...

@asapdotid
asapdotid / i3wm-hibernate.md
Created May 5, 2025 12:07
To disable sleep and hibernate in i3wm

To disable sleep and hibernate in i3wm

you can modify your system's power management settings, primarily using systemd. You can mask or disable the relevant systemd units to prevent suspend or hibernate actions. Additionally, you can adjust X.org's screen saver and power-saving settings using xset

Here's a more detailed breakdown:

1. Disable Sleep/Hibernate with Systemd:

Masking Units: