- Download WSL2 Kernel
- run
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.
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
#!/usr/bin/env bash | |
# | |
# Author: postmodern | |
# Description: | |
# Rips a DVD to a H.264 MKV file, with chapters and tags. Ignores any | |
# bad blocks or sectors on the DVD. | |
# Dependencies: | |
# * gddrescue | |
# * handbrake-cli | |
# * mkvtoolnix |
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
# Thinkpad P1 w/ Quadro P1000 | |
$ lspci | grep -i vga | |
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) | |
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] (rev a1) | |
$ cat /proc/cmdline | |
BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/nvme-root rw drm.rnodes=1 net.ifnames=1 | |
$ pacman -Q | grep -P '(video-(intel|nouveau)|^linux |xorg-server )' |
I hereby claim:
- I am jamincollins on github.
- I am jamincollins (https://keybase.io/jamincollins) on keybase.
- I have a public key ASBlaiEnqnQRJumFy17NGzBIPdir8gOeuVPR-35Ys1_BxQo
To claim this, I am signing this object:
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
#!/bin/bash | |
check_permissions() { | |
TGT=${1} | |
if [ -L ${TGT} ]; then | |
echo -n "${TGT} -> " | |
TGT=$(readlink -f ${TGT}) | |
echo "${TGT}" | |
fi | |
echo $(stat -c "%A %U:%G" ${TGT}) ${TGT} |
NewerOlder