# This module defines helper functions to help with local/CI testing PowerShell code, | |
# like checking pwsh version, installing up necessary modules.. | |
function Assert-PowerShellVersion { | |
param( | |
[Parameter(Mandatory)] | |
[string]$MinimumVersion | |
) | |
if ($PSVersionTable.PSVersion -le [System.Version]$MinimumVersion) { | |
throw "PowerShell minimum version $MinimumVersion is required, current version is: $($PSVersionTable.PSVersion)" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
NOTE (@bew in 2021): (link updated) This video series mentions that it's outdated, and I can't find the new one (all I get is 404 pages..).
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
- Added support for Synchronized Rendering #882
- The debug overlay, which shows the error log and a lua repl. #641
- Action ShowDebugOverlay (bound to
CTRL+SHIFT+L
by default) #641 - Option bypass_mouse_reporting_modifiers to specify which modifier(s) override application mouse reporting mode.
- Options text_blink_rate and text_blink_rate_rapid to control blinking text. Thanks to Autumn Lamonte! #904
- Option [window_background_gradient](config/lua/config/window_background_grad
{ | |
description = "virtual environments"; | |
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05"; | |
inputs.devshell.url = "github:numtide/devshell"; | |
outputs = { self, devshell, nixpkgs }: let | |
system = "x86_64-linux"; # We only care about a single system | |
in { | |
devShell.${system} = let |
; charset=UTF-8 | |
@@@ The Unicode Standard 14.0.0 | |
@@@+ U14M210503.lst | |
Unicode 14.0.0 names list, ninth delta. | |
Repertoire synched with UnicodeData-14.0.0d9.txt. | |
Corrected typo in subhead at 131A3. | |
Added subhead for Carrier at 15C4. | |
Updated annotation for 02B9. | |
Retargeted annotation for 08FB. | |
Updated annotations for 06C5 and 088E. |
-
On WSL2, install the Debian distribution from the microsoft store, then open
wsl.exe
in a terminal. I recommand using the Microsoft Terminal (this feels weird to say, since I'm more a linux user than a windows user, but when you NEED to use windows....)It should open the Debian distrib, with a small bootstrapping script to create a user.
-
Now update the apt package repositories with
sudo apt update
#!/usr/bin/env bash | |
# Taken from https://stackoverflow.com/a/59040037/5655255 | |
# and adapted to be a proper cli tool. | |
function UnicodePointToUtf8 | |
{ | |
# Normalize input | |
local x="$1" # ok if '0x2620' | |
x=${x/\\u/0x} # '\u2620' -> '0x2620' | |
x=${x/U+/0x}; x=${x/u+/0x} # 'U+2620' -> '0x2620' |