Skip to main content

Posts

parted grub blocklists

When installing GRUB on a new VM that I partitioned with parted, I got the following error: grub-install: error: will not proceed with blocklists. The solution was to set bios_grub flag on the partition: parted /dev/sda set 1 bios_grub on Some people say that you also need to remove the boot flag from the partition: parted /dev/sda set 1 boot off Do this before setting the bios_grub flag.
Recent posts

Emacs to Neovim

My move from Emacs to LunarVim The context I have been using Emacs for about 20 years. I have been using it as my main editor. I have used it for writing code and writing blog posts. I especially love the rectangle feature, that I extensively used for commenting text up to reformat data On the other hand, despite all the good it is told about org-mode and magit, I never really used them. The extremum of my love for Emacs was when language servers landed in (I dont remember the year), but I could then have decent code completion. The trigger In 2023, arrived (in my life!) Github Copilot. I was amazed by the power of the tool. I am still. When looked at the Github repository of the Copilot team, I saw that NeoVim was part of the supported editors, with the "copilot.vim" plugin. I was curious to see how it works: I installed NeoVim and the plugin.

Azure CLI List blobs pagination

Azure CLI: list blobs with pagination See az storage blob list for more information. The context I have an Azure storage account that has several containers and some containers have much blobs in All the blobs have been individually archived in "Archive" access tier I want to list all the blobs in the storage account and change the access tier of the blobs to "Hot" tier However, the command "az storage blob list" only returns 5000 blobs at most, and I have 65k blobs I need then to use the pagination feature of the command to list all the blobs The problem When I use the command "az storage blob list" : It returns 5000 blobs at most It returns a continuation token, but in standard error output I need to store the standard output (the blob list) and the standard error output (the continuation token) in different places Be

Archlinux use NTP

Setting time to syncronize Enabling time syncro with systemd client: sudo timedatectl set-ntp true sudo systemctl enable systemd-timesyncd.service sudo systemctl status systemd-timesyncd.service

Linux Touchpad Tap Click

Enable Touchpad tap to click on Archlinux In order to activate "Tap to click" and "Double tap to middle", edit "/etc/X11/xorg.conf.d/30-touchpad.conf" Section "InputClass" Identifier "touchpad" Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" Option "TappingButtonMap" "lmr" Option "NaturalScrolling" "true" EndSection

workstation17 kernel659

VmWare Workstation 17 Pro and Linux kernel 6.5.9 Linux kernel 6.5.9 landed in Archlinux and without needing any patch, "vmware-modconfig --console --install-all" ran without error.  

Yasnippet Tutorial

My firsts steps with yasnippet Thanks go to Jake B. for his comprehensive video about Yasnippet . This tutorial is what I grab from that excellent video. Install yasnippet with M-x package-install Then enter yasnippet Configure yasnippet: (use-package yasnippet :config (setq yas-snippet-dirs '("~/.emacs.d/mysnippets")) (yas-global-mode 1)) Create a new snippet: M-x yas-new-snippet Save it under the yas-snippet-dirs sub-directory corresponding to the mode you want it to apply: if the snippet is for php-mode, then save it under ~/.emacs.d/mysnippets/php-mode/