Skip to content

Instantly share code, notes, and snippets.

View rado31's full-sized avatar
🦀
sweating

RaDo rado31

🦀
sweating
View GitHub Profile
@rado31
rado31 / node.md
Created September 15, 2025 08:12
Chrome icons fixing
sudo pacman -S noto-fonts-emoji

And restart browser

@rado31
rado31 / node.md
Last active September 15, 2025 08:15
Increase speed of keyboard on Arch
  1. For Xorg WMs
echo 'xset r rate 250 40' >> ~/.xprofile
  1. For Hyprland
input {
@rado31
rado31 / node.md
Created September 14, 2025 08:16
Install font on Arch linux
sudo mkdir -p /usr/local/share/fonts
sudo cp /path/to/your/font.ttf /usr/local/share/fonts/
sudo fc-cache -fv
@rado31
rado31 / note.md
Created August 15, 2025 07:45
Primary key on PostgreSQL

The right way to create autoincrement primary key on PostgreSQL

CREATE TABLE users (
  id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY
)
@rado31
rado31 / note.md
Created July 17, 2025 15:00
Arch linux ethernet fixing

Only if you use systemd-networkd

  • systemctl status systemd-networkd
  • ip a
  • networkctl status <your_interface>, interface like: enp2s0. If it says config: unmanaged — that means no matching .network file exists
  • Create or check /etc/systemd/network/<your_interface>.network
[Match]
Name= # example: enp2s0
@rado31
rado31 / note.md
Created July 14, 2025 16:40
GRUB bootloader fixing
  1. Run command: efibootmgr
  • Output will be something like this:
Boot0000* Windows Boot Manager
Boot0001* GRUB
  1. change boot order
@rado31
rado31 / gist:e01bfa317267e6dd352af2dcfce54f12
Created April 2, 2025 11:46
Disable gestures on windows 10 (pro / enterprise / iot windows)
gpedit.msc
Local Computer Policy
Computer Configuration
Administrative templates
Windows Components
EdgeUI
Allow edge swipe = Disabled
!pip install colab-xterm
%load_ext colabxterm
%xterm