Installation of NixOS with encrypted root
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
(Serial port or com port? - Serial ports are often refered as COM ports. It is the same to be short. You can read abut it in the Wiki article )
What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.
In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.
Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th
#!/usr/bin/env bash | |
# | |
# Author: Markus (MawKKe) ekkwam@gmail.com | |
# Date: 2018-03-19 | |
# | |
# | |
# What? | |
# | |
# Linux dm-crypt + dm-integrity + dm-raid (RAID1) | |
# |
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left) | |
// https://gist.github.com/JamieMason/7580315 | |
// | |
// 1. Go to https://twitter.com/YOUR_USER_NAME/following | |
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac) | |
// 3. Paste this into the Developer Console and run it | |
// | |
// Last Updated: 09 April 2020 | |
(() => { | |
const $followButtons = '[data-testid$="-unfollow"]'; |
Default behavior dictates the following order for ZSH startup files:
/etc/zshenv
~/.zshenv
/etc/zprofile
(if login shell)~/.zprofile
(if login shell)/etc/zshrc
(if interactive)~/.zshrc
(if interactive)/etc/zlogin
(if login shell)~/.zlogin
(if login shell)更新: | 2023-04-16 |
---|---|
作者: | @voluntas |
バージョン: | 2023.1 |
URL: | https://voluntas.github.io/ |
(* raw continuation *)
type ('a,'b) stack
perform : 'a eff -> 'a
resume : ('a,'b) stack -> ('c -> 'a) -> 'c -> 'b
delegate : 'a eff -> ('a,'b) stack -> 'b
Original paper on A-normal form: | |
http://redlinernotes.com/docs/Classics/The%20Essence%20of%20Compiling%20with%20Continuations.pdf | |
A high-level intro to ANF: | |
http://matt.might.net/articles/a-normalization/ | |
One of the earlier attempts to relate SSA and CPS: |
ssid | |
xfinitywifi | |
linksys | |
<no ssid> | |
BTWiFi-with-FON | |
NETGEAR | |
Ziggo | |
dlink | |
BTWifi-X | |
default |