| PostgreSQL Type | Diesel Type | Rust Type | Description | Range | ||
|---|---|---|---|---|---|---|
| Nullable Types | Nullable<T> | Option<T> | nullable | |||
| Numeric Types | ||||||
smallint, int2 |
SmallInt | i16 | signed integer | -32768 to +32767 | ||
integer, int, int4 |
Integer | i32 | signed integer | -2147483648 to +2147483647 | ||
bigint, int8 |
BigInt | [i64](https://doc.rust-la |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| #set -x | |
| # Help text for each firmware package | |
| declare -A FW_HELP=( | |
| [linux-firmware-radeon]="Firmware for ATI Radeon GPUs" | |
| [linux-firmware-amdgpu]="Firmware for AMD Radeon GPUs" | |
| [linux-firmware-intel]="Firmware for Intel graphics, WiFi, Bluetooth" | |
| [linux-firmware-nvidia]="Firmware for NVIDIA GPUs" | |
| [linux-firmware-broadcom]="Firmware for Broadcom and Cypress network adapters" |
| PostgreSQL Type | PostgreSQL Size | Description | Range | Diesel Type | Rust Type |
|---|---|---|---|---|---|
| Nullable Types | nullable | Nullable`` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |