- Boot into Live ISO
- Load keyboard layout
timedatectl set-ntp true- Make a boot, swap and root partition.
- Format boot using
mkfs.fat -F 32 - Format swap using
mkswap - Format root with
mkfs.ext4 - Mount root to
/mnt mkdir -p /mnt/boot/efiand mount the boot partition there.
Here is a step-by-step procedure on how to play Bad Apple on your Linux terminal (could also work with any video you want if you use your common sense).
- Install these tools.
ffmpeg: Processes the Video into series of images/frames.jp2a: Image to ASCII Art converter.python: ASCII Art video player.python-pygame: Just to play sound asynchronously.yt-dlp: Download videos from Youtube.
This file contains hidden or 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
| import os | |
| DEBUG = os.environ.get("DEBUG_CONVERTER") or False | |
| DIGITS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
| # in order to convert a number from base-A to base-B | |
| # we have to convert base-A to base-10 then convert the output to base-B | |
| # works if A and B is greater than 1 and less than len(DIGITS) |
This file contains hidden or 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 | |
| sh="zsh" | |
| MUSIC_DIR="~/Music" | |
| SESSION="cmus" | |
| WINDOW="music" | |
| if tmux ls | grep "$SESSION" | |
| then | |
| tmux attach -t cmus | |
| else |