Skip to content

Instantly share code, notes, and snippets.

@sbarrios93
sbarrios93 / -setup-windows-wsl-devenv.md
Created February 2, 2024 21:57 — forked from leodutra/-setup-windows-wsl-devenv.md
Install and Setup Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font

Setup Windows Subsystem 2 for Linux

Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font

To setup native Linux, see this gist

Preview

Requirements

# get a lab color and convert it to rgb without numpy
# https://web.archive.org/web/20120502065620/http://cookbooks.adobe.com/post_Useful_color_equations__RGB_to_LAB_converter-14227.html
def lab2xyz(l, a, b):
"""
Convert from CIE LAB to CIE XYZ
"""
# convert to XYZ
REF_X = 95.047
REF_Y = 100.000