Lost in Internet ? Welcome to my Island !
Transform Your USB Key Into a Powerful Multiboot LiveCD Toolkit
Introduction Ever needed to boot multiple operating systems or utilities from a single USB drive? Whether you’re a DevOps engineer managing servers, a sysadmin troubleshooting machines, or a tech enthusiast experimenting with different Linux distros, a multiboot USB is an invaluable tool. Instead of juggling multiple flash drives, you can consolidate multiple ISOs into one portable device. In this guide, we’ll explore how to create a multiboot USB key using GRUB and MultiBoot USB, allowing you to boot various LiveCD ISOs seamlessly. ...
How Markdown2 supercharges your DevOps Workflow
Markdown is a staple for developers and DevOps teams, but what if you could turbocharge it for advanced automation, security, and performance? Enter Markdown2, a powerful extension of standard Markdown that bridges the gap between simplicity and scalability. In this post, we’ll explore how Markdown2 transforms DevOps workflows with real-world examples and actionable insights. What Makes Markdown2 the Ultimate DevOps Tool? Markdown2 isn’t just a text-to-HTML converter—it’s a high-performance, extensible markdown processor designed for modern development needs. Here’s why DevOps teams love it: ...
Forward SSH keys through Tmux windows
How to forward ssh public keys through Tmux windows? 1cat<<~/.bashrc>>EOF 2# forward ssh-agent 3[[ -z $(pgrep ssh-agent) ]] && eval `ssh-agent` &>/dev/null 4if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then 5 ln -sf "$SSH_AUTH_SOCK_LOCAL" ~/.ssh/ssh_auth_sock; 6fi 7export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock; # already in ~/.ssh/config 8EOF 9cat<<~/.ssh/config>>EOF 10ForwardAgent yes 11IdentityAgent ~/.ssh/ssh_auth_sock 12EOF SOURCES Martijnvermaat’s gist Stackoverflow Werat’s post Blogsystem5’s post Ssh-agent Switcher tool
Get list of some Firefox addons I'm using
All Firefox addons with its URLs I’m actually using: Asciidoctor.js Live Preview Buster: Captcha Solver for Humans Checkmarks Clear Browsing Data ClearURLs Consent-O-Matic Cookies.txt Copy PlainText Copy ShortURL Dark Mode (WebExtension) Export Tabs URLs Flagfox FoxyProxy Basic FoxyTab LibRedirect Markdown Viewer Medium Free with Google Cache Mobile View Switcher Modify Header Value NoScript Security Suite Open in Colab PassFF RSSPreview Search by Image Simple Translate Simple WebSocket Client Spaywall - spay your paywall Startpage - Private Search Engine To Google Translate uBlock Origin Web Archives YT Siphon
Stream https flow with mpv and yt-dlp
How to stream https flow with mpv and yt-dlp ? 1yt-dlp -o - <url_to_stream> | mpv --demuxer-max-bytes=1G - with --demuxer-max-bytes, image stays sync with sound. to set specific configuration, you can use: ~/.config/yt-dlp/config ~/.config/mpv/mpv.conf
Install Archlinux arm64 VM on Asahi with Virt-manager
libvirtd is used to manage VMs libvirt and dnsmasq are installed on the host virt-manager is running from Apple MBP M2 laptop ON LAPTOP 1brew install virt-manager add connection File > Add connection > tick “Connect to remote host over SSH” fill “Username” and “Hostname” tick “Autoconnect” ON HOST install for uefi support 1## from https://archlinux.org/packages/extra/any/edk2-aarch64/ 2wget https://mirror.sunred.org/archlinux/extra/os/x86_64/edk2-aarch64-202308-3-any.pkg.tar.zst 3pacman -U edk2-aarch64-202308-3-any.pkg.tar.zst ARCHLINUX ARM64 ISO download archboot arm64 iso INSTALLATION install with grub uefi ...
Mount ISO file on MACOS
how to mount an iso file on MACOS ? 1[[ -d tmp ]] && mkdir tmp 2hdiutil attach -nomount debian-12.2.0-arm64-netinst.iso && \ 3 mount -t cd9660 /dev/disk5 ./tmp/
Migrate ZX2C4 pass to MacOSX
… or how to migrate your pass keys softly Source 1for FOLDER in $HOME/.password-store $HOME/.gnupg ; do 2 rsync -arv --delete ${FOLDER}/ macosx:${FOLDER}/; 3done Target 1brew install gnupg pass pinentry 2gpg --list-key toto@perdu.com # ensure that gpg email user is the same as git email user 3git config --global --edit # ensure that gpg email user is the same as git email user 4 5cat<<\EOF>>$HOME/.bash_profile 6[[ -f ~/.bashrc ]] && source ~/.bashrc 7EOF 8 9cat<<\EOF>>$HOME/.bashrc 10eval "$(/opt/homebrew/bin/brew shellenv 2>/dev/null)" 11# password-store completion 12for COMPLETION in /opt/homebrew/etc/bash_completion.d/* ; do 13 source $COMPLETION 2>/dev/null; 14done 15 16[[ -z $(pgrep gpg-agent) ]] && gpg-agent --pinentry-program=/opt/homebrew/bin/pinentry-tty --daemon # for password-store 17EOF Sources ZX2C4 Pass Documentation
TLDR as customizable collaborative cheatsheets tool
tldr-pages project contains a lot of Linux commands cheatsheets. But you can easily contribute with pull requests (1) to customize it. In this case, follow the guide below. 1# install tldr rust client 2paru -S tealdeer 3# fork tldr-pages project from your user github repo 4git clone git@github.com:my_user/tldr.git ~/.cache/tealdeer/tldr-pages By this way, you can : get locally your modifications with tldr command modify markdown pages inside ~/.cache/tealdeer/tldr-pages/ contribute with PR to the project SOURCES tldr-pages github project tldr rust client
Increase VM ZVOL for TrueNAS
… to resize Debian VM Logical Volume Resize Linux VM’s LLVM Virtual Disk on a ZVOL for TrueNAS Increase Zvol via UI increase ZFS disk size in TrueNAS UI Storage tab > edit your zvol > modify “Size for this zvol” field value > Save Resize disk resize Debian VM disk 1reboot 2# fdisk mode 3apt install gdisk -y 4cfdisk /dev/sda # extends /dev/sda5 partition > write > quit 5# parted mode 6parted /dev/sda # print > resizepart 2 100% (extended) > resizepart 5 100% (logical) > quit 7# for both 8pvresize /dev/sda5 9pvs 10lvs 11lvextend --resizefs serv0-vg/root /dev/sda5 source