Skip to content

Instantly share code, notes, and snippets.

@juanpmarin
juanpmarin / create_bootable_usb.sh
Last active May 1, 2024 17:42
Windows 11 booteable usb from linux
#!/bin/sh
set -ex
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root. Please use sudo or run it as a superuser."
exit 1
fi
usb_device="/dev/sda"
boot_partition="${usb_device}1"
@juanpmarin
juanpmarin / .zshrc
Last active May 30, 2022 02:15
Dotfiles
export ZSH="$HOME/.oh-my-zsh"
plugins=(
z
git
)
source $ZSH/oh-my-zsh.sh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
eval "$(starship init zsh)"