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
bcachefsEncrypted = makeInstallerTest "bcachefs-encrypted" { | |
extraInstallerConfig = { | |
boot.supportedFilesystems = [ "bcachefs" ]; | |
environment.systemPackages = with pkgs; [ keyutils ]; | |
}; | |
# We don't want to use the normal way of unlocking bcachefs defined in tasks/filesystems/bcachefs.nix. | |
# So, override initrd.postDeviceCommands completely and simply unlock with the predefined password. | |
extraConfig = '' | |
boot.initrd.postDeviceCommands = lib.mkForce "echo password | bcachefs unlock /dev/vda3"; |
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
/* | |
minimod: A stripped down module system | |
TODO Comparison: | |
- [ ] Come up with a benchmark "logic" using plain old functions and let bindings | |
- [ ] Write the benchmark for the module system | |
- [ ] Write the benchmark for POP? | |
- [ ] Qualitative comparison of extensibility in the context of composable | |
Nixpkgs packaging logic | |
TODO Fine-tuning: |
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
#include "StevesEaseMath.h" | |
float UStevesEaseMath::EaseAlpha(float InAlpha, EStevesEaseFunction Func) | |
{ | |
constexpr float BackC1 = 1.70158f; | |
constexpr float BackC2 = BackC1 * 1.525f; | |
constexpr float BackC3 = BackC1 + 1.f; | |
constexpr float ElasticC4 = UE_TWO_PI / 3.f; | |
constexpr float ElasticC5 = UE_TWO_PI / 4.5; |
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
{ | |
"FileVersion": 3, | |
"EngineAssociation": "5.2", | |
"Description": "Minimum viable plugin dependencies for a usable Unreal Engine project", | |
"DisableEnginePluginsByDefault": true, | |
"Plugins": [ | |
{ | |
"Name": "PluginBrowser", | |
"Enabled": true | |
}, |
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
defmodule HendricksFormatter do | |
@moduledoc """ | |
This module is a formatter plugin for Elixir's `mix format` task | |
that converts leading whitespace to tabs. | |
It tries to intelligently determine the tab width based on the most common | |
counts of leading space runs in the file. | |
It allows additional space characters for minor adjustments that are below the tab width. | |
OK, why tabs? Why resurrect this age-old nerd debate again? | |
Very simple: It's an accessibility issue: | |
https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/ |
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
defmodule HendricksFormatter do | |
@moduledoc """ | |
This module is a formatter plugin for Elixir's `mix format` task | |
that converts leading whitespace to tabs. | |
It tries to intelligently determine the tab width based on the most common | |
counts of leading space runs in the file. | |
It allows additional space characters for minor adjustments that are below the tab width. | |
OK, why tabs? Why resurrect this age-old nerd debate again? | |
Very simple: It's an accessibility issue: | |
https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/ |
OlderNewer