Welcome!

About the author

James Cherti is a highly experienced and skilled UNIX/Linux Infrastructure as Code and Software Development Specialist. He possesses a profound understanding of software development, system administration, and computer networking, underscored by a robust background in the design, implementation, and management of reliable and efficient infrastructure and software… (Read more about James Cherti)

Methodology utilized by James Cherti

Recent posts

  • Emacs Theme: Tomorrow Night Deepblue, a beautiful theme with a deep blue background
    The Emacs theme jamescherti/emacs-tomorrow-night-deepblue-theme is a beautiful deep blue variant of the Tomorrow Night colorscheme, which is renowned for its elegant color palette. It is pleasing to the eyes and is easy to read. The Tomorrow Night Deepblue Emacs theme features a deep blue background color that creates a calming atmosphere. The contrasting colors make it easy … Continue reading
  • Making the Emacs built-in tab-bar Look Like Vim’s Tab Bar
    If you’re an Emacs user who appreciates the appearance of Vim, you might frequently attempt to incorporate some of Vim’s minimalist elements into Emacs. One such element is the color scheme, especially how Emacs built-in tab-bar tabs are displayed. The Emacs built-in tab-bar feature, which enables users to manage multiple buffers through a visual interface at the … Continue reading
  • Ansible: Reintegrate /etc/rc.local in Linux systems that use Systemd as their init system
    For years, /etc/rc.local has been a staple in Linux administration, providing a straightforward means to execute scripts or commands automatically upon system startup. However, with the transition to newer init systems like systemd, the /etc/rc.local script is no longer executed at boot time. Ansible tasks that restore the /etc/rc.local script The following Ansible tasks will create and … Continue reading
  • Emacs Evil Mode: How to restore both the line and column number of a mark, not just the line number
    In Emacs with Evil mode, similar to Vim, a mark represents a position in the buffer that you can set and later return to, facilitating quick navigation between different locations within a file. Set and restore a mark You can set a mark by pressing the m button followed by a letter. For example, pressing ma sets … Continue reading
  • Emacs: Striking through Org Mode DONE tasks
    It’s always satisfying to cross something off a to-do list, almost like declaring to yourself, ‘I did it!’ That’s the feeling I wanted to bring into Emacs Org Mode. The following Emacs Lisp (Elisp) code instructs Emacs to apply a strike-through to any task marked as DONE: By adding strike-through for completed items, Emacs Org Mode becomes … Continue reading
  • Emulating Cherry MX Blue Mechanical Keyboard Sounds on Linux
    For people nostalgic for the era of tactile and audible feedback from typing on a mechanical keyboard, Cherrybuckle allow simulating the sounds of a mechanical keyboard with Cherry MX Blue key switches. Cherrybuckle operates as a background process within a computer system, capturing and emitting a sound for each key pressed and released. It is a fork … Continue reading
  • Emacs: Functions to evaluate Elisp Code, then display the result or copy it to the clipboard
    The Elisp code below introduces three functions designed to evaluate Emacs Lisp code, either under the cursor or within a selected text region. These functions can return the evaluation result, copy it to the clipboard, or display it in the minibuffer. The functions allow obtaining immediate feedback from the code evaluation. Related posts: Vim to Emacs: Converting … Continue reading
  • Configure Emacs org-mode to automatically add the TODO keyword to new Org Mode headings
    The built-in method used by Emacs Org mode to insert new headings does not automatically prepend the inserted heading with TODO, except when C-S-<return> is pressed. I prefer using C-<return> for all headings, whether they are to-do tasks or not, to maintain my workflow efficiency. This motivated me to write the function outlined in this article. The … Continue reading
  • Creating and Restoring a Gzip Compressed Disk Image with dd on UNIX/Linux
    Creating and restoring disk images are essential tasks for developers, system administrators, and users who want to safeguard their data or replicate systems efficiently. One useful tool for this purpose is dd, which allows for low-level copying of data. In this article, we will explore how to clone and restore a partition from a compressed disk image … Continue reading
  • Emacs: Open a Vertico/Consult or Ivy/Counsel candidate in a new tab
    In this article, you will find code snippets designed to simplify the task of opening Vertico/Consult/Embark or Ivy/Counsel candidates in a new Emacs tab using tab-bar. The generic function that opens candidates in a new tab This function below, tab-new-func-buffer-from-other-window, is designed to open the buffer generated by a specified function (func) in the other window and … Continue reading

(All articles…)