Skip to content

Latest commit

 

History

915 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debian

We use the Debian Linux distribution operating system almost everywhere; Desktop GUI and Terminal CLI.

uname #> Linux
hostnamectl #> Debian

Agents: see design.md.

Installation

Windows

Recommended: Windows 11 with the Windows/Linux subsystem.

wsl.exe --install debian

Cloud

Use the cloud to provision or rent a container, server, or hardware for 24/7 online apps or games; debit/credit card required.

Hardware (Live USB)

For x86-64: flash a .iso to create a bootable live USB. Needs ≥4 GB. Back up and unmount first, flashing deletes all data. On WSL use USB passthrough.

export URL="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-13.7.0-amd64-standard.iso"
export USB="/dev/disk/by-id/usb-SanDisk_Ultra_USB_3.0_4C530000310806116320-0:0" # no "-partN"

sh ./usb.sh

Next: Boot the USB; install Debian on a fast disk (M.2, SSD, HDD, USB, microSD, etc.); shut down, remove the USB, and boot.

Initialization

Copy & Paste, or download files with git clone, curl, wget.

History of Copy & Paste

System Copy Paste Cut year
IBM PC CTRL+Insert Shift+Insert Shift+Delete 1981
macOS CMD+C CMD+V CMD+X 1983
Windows CTRL+C CTRL+V CTRL+X 1995
Linux Terminals CTRL+Shift+C CTRL+Shift+V 2010
Windows Terminal CTRL+Shift+C CTRL+Shift+V 2020

In 1983 Apple pioneered C copy V paste X cut Z undo. Similar keys were added by Windows 19-95 supplementing the IBM PC keys. Normally the key CTRL+C sends byte 3 which is "End of Text" in ASCII and Unicode, desktop systems like explorer.exe override this. Finally in 2020 wt.exe the Windows Terminal added common Linux Terminal key combinations.

Administration

Set up the system; and login to OpenAI Codex.

sh ./system.sh

codex login
codex "create a JavaScript CLI that counts the words in a text file"

Set up the user; and setup Microsoft VS Code.

cp -a base/skel/. ~/
EMAIL=$(whoami)@$(hostname) sh ./user.sh

source ~/.bashrc

# 1: Download and Install VS Code for Linux or Windows
code --install-extension ms-vscode-remote.remote-ssh
# 3: register your SSH public key on the remote server
rcode sosdan ./dev

History of Editors

# ed $FILE             # 1969
# vi $FILE             # 1976
# emacs $FILE          # 1976
# notepad.exe $FILE    # 1983
# emacs $FILE          # 1985
# pico $FILE           # 1989
# vim $FILE            # 1991
# nano $FILE           # 1999
# notepad++.exe $FILE  # 2003
# mate $FILE           # 2004
# subl $FILE           # 2008
# atom $FILE           # 2014
code $FILE           # 2015
# nvim $FILE           # 2015
micro $FILE          # 2016
# cursor $FILE         # 2023

About

Linux scripts and dotfiles

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages