How to rebuild kernel for WSL2 https://superuser.com/questions/1499008/load-dm-crypt-on-ubuntu-server-18-04-lts-in-windows-subsystem-for-linux-1-or-2
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
Note : Proxmox 6.1 | |
VI : /etc/apt/sources.list | |
# security updates | |
deb http://security.debian.org jessie/updates main contrib | |
# PVE pve-no-subscription repository provided by proxmox.com, | |
# NOT recommended for production use | |
deb http://download.proxmox.com/debian jessie pve-no-subscription |
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
####### Shortcut Hotkeys ############# | |
# open terminal | |
alt - return : open -n /Applications/Alacritty.app | |
# restart Yabi, SpaceBar, and SKHD | |
alt + shift - r : \ | |
launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; \ | |
skhd --reload | |
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
CHECK OUT THIS GUY HE'S IN THE GIST | |
⣠⣦⣤⣀ | |
⠀⠀⠀⠀⢡⣤⣿⣿ | |
⠀⠀⠀⠀⠠⠜⢾⡟ | |
⠀⠀⠀⠀⠀⠹⠿⠃⠄ | |
⠀⠀⠈⠀⠉⠉⠑⠀⠀⠠⢈⣆ | |
⠀⠀⣄⠀⠀⠀⠀⠀⢶⣷⠃⢵ | |
⠐⠰⣷⠀⠀⠀⠀⢀⢟⣽⣆⠀⢃ | |
⠰⣾⣶⣤⡼⢳⣦⣤⣴⣾⣿⣿⠞ | |
⠀⠈⠉⠉⠛⠛⠉⠉⠉⠙⠁ |
Essentially just copy the existing video and audio stream as is into a new container, no funny business!
The easiest way to "convert" MKV to MP4, is to copy the existing video and audio streams and place them into a new container. This avoids any encoding task and hence no quality will be lost, it is also a fairly quick process and requires very little CPU power. The main factor is disk read/write speed.
With ffmpeg
this can be achieved with -c copy
. Older examples may use -vcodec copy -acodec copy
which does the same thing.
These examples assume ffmpeg
is in your PATH
. If not just substitute with the full path to your ffmpeg binary.
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 | |
# Encrypt existing hard drive in place. | |
# Requires a second physical drive to temporarily store data. This drive will be erased. | |
# This script is meant to be run on Clonezilla 1.2.9-19 or later. | |
# The cryptsetup syntax is different in Clonezilla than in Red Hat. | |
# --- Variables --- # |