This paste has moved into its own repo: https://github.com/techhazard/nixos-iso
This file contains 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
I have several Models: | |
Course (id, line_id, category_id name...) | |
Category (id,name...) | |
Line (id, name...) | |
Semester (id, year_id, name...) | |
Year (id, study_id, name...) | |
Study (id,name...) | |
and 1 pivot table | |
course_semester. |
This file contains 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
# place this file in /etc/nixos/ and add | |
# ./programmer-dvorak.nix | |
# to /etc/nixos/configuration.nix in `imports` | |
{config, pkgs, ...}: | |
{ | |
# TTY settings | |
i18n = { | |
# luckily this also changes the keyboard layout at boot (for e.g full disk encryption passwords) | |
consoleKeyMap = "dvorak-programmer"; | |
}; |
Read each line of code line by line. Never assume, always check.
- When in doubt create a dissuscion to check.
- Learn the list of code smells by heart.
This file contains 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
diff -dU10 -w /home/pi/citus/citus/src/test/regress/expected/multi_extension.out /home/pi/citus/citus/src/test/regress/results/multi_extension.out | |
--- /home/pi/citus/citus/src/test/regress/expected/multi_extension.out.modified 2021-08-28 21:29:26.756869458 +0100 | |
+++ /home/pi/citus/citus/src/test/regress/results/multi_extension.out.modified 2021-08-28 21:29:26.824868875 +0100 | |
@@ -321,82 +321,88 @@ | |
| view citus_shard_indexes_on_worker | |
| view citus_shards_on_worker | |
| view citus_stat_statements | |
| view citus_worker_stat_activity | |
| view pg_dist_shard_placement | |
(188 rows) |
I did PCI passthrough on Archlinux and Debian with the old PCI-stub method (this was pre-4.0 era). And later I did PCI passthrough on the 4.1+ kernels on Arch and Ubuntu (16.10 I think?).
This is my attempt at doing the same on Nixos.