Skip to content

Instantly share code, notes, and snippets.

View omid's full-sized avatar
🌞

Omid Rad omid

🌞
View GitHub Profile
@trungnt13
trungnt13 / SSD_optimize_linux.sh
Last active October 10, 2024 21:39
Optimize performance for SSD (NVMe) on Linux
sudo cp /etc/fstab /etc/fstab.bak
# Eschewing Access Times
sudo nano /etc/fstab
# add this options, make sure they’re all separated by commas and no spaces.
noatime,nodiratime
# example: UUID=uuid_number / ext4 defaults,noatime,discard,errors=remount-ro 0 1A
# TRIM Fit
discard
PostgreSQL Type PostgreSQL Size Description Range Diesel Type Rust Type
Nullable Types nullable Nullable``
@omid
omid / Diesel PostgreSql Rust Types.md
Last active December 11, 2023 11:27
A comprehensive mapping of PostgreSQL, Diesel, and Rust types