Categories
Follow James Cherti
About the author
James Cherti is a Sr. Software Development and Infrastructure as Code Specialist with extensive experience and expertise in software development, Linux system administration, and computer networking. His robust background in the design, implementation, and management of reliable and efficient infrastructure and software highlights his profound skills and knowledge in these areas… (Read more about James Cherti)
Subscribe to the RSS feeds
Recent posts
- Emacs: stripspace.el – Automatically Remove Trailing Whitespace Before Saving a Buffer, with an Option to Preserve the Cursor Column
by James Cherti
The stripspace Emacs package provides stripspace-local-mode, which automatically removes trailing whitespace and blank lines at the end of the buffer when saving. (Trailing whitespace refers to any spaces or tabs that appear at the end of a line, beyond the last non-whitespace character. These characters serve no purpose in the content of the file and can cause …
Continue reading →
- Emacs: bufferfile.el – Delete or rename buffer file names with their associated buffers
by James Cherti
The bufferfile Emacs package provides helper functions to delete and rename buffer files: Installation with straight (Emacs version < 30) To install bufferfile with straight.el: Alternative installation: Installation with use-package and :vc (Built-in feature in Emacs version >= 30) To install bufferfile with use-package and :vc (Emacs >= 30): Customization: Making bufferwizard use version control (VC), such …
Continue reading →
- Emacs: persist-text-scale.el – Persist and Restore the Text Scale for All Buffers
by James Cherti
The persist-text-scale Emacs package provides persist-text-scale-mode, which ensures that all adjustments made with text-scale-increase and text-scale-decrease are persisted and restored across sessions. As a result, the text size in each buffer remains consistent, even after restarting Emacs. (By default, persist-text-scale-mode saves the text scale individually for each file-visiting buffer and applies a custom text scale for each …
Continue reading →
- Configuring Linux on a ThinkPad T420s or T420 Laptop for Optimal Performance
by James Cherti
ThinkPad T420s and T420 laptops, despite their age, remain reliable for web browsing, word processing, and various other tasks. Linux can breathe new life into such dated computers, allowing them to perform efficiently. I configured one of these laptops for my son, and he is now able to do his homework using it. With proper configuration, ThinkPad …
Continue reading →
- jc-dotfiles – A collection of configuration files for UNIX/Linux systems
by James Cherti
The jamescherti/jc-dotfiles repository is a collection of configuration files. You can either install them directly or use them as inspiration your own dotfiles. These dotfiles provide configurations for various tools, enhancing productivity and usability. This article will explore the contents of the jc-dotfiles repository, highlight the main configurations, and guide you through the installation process. In addition …
Continue reading →
- bash-stdops – A collection of useful Bash Shell Scripts
by James Cherti
The jamescherti/bash-stdops project is a collection of helpful Bash scripts that simplify various operations, including file searching, text replacement, and content modification. I use these scripts in conjunction with text editors like Emacs and Vim to automate tasks, including managing Tmux sessions, replacing text across a Git repository, securely copying and pasting from the clipboard by prompting …
Continue reading →
- Enhancing Git configuration ~/.gitconfig for performance and usability
by James Cherti
Optimizing your Git configuration is fundamental to enhancing efficiency and productivity in version control workflows. A finely-tuned Git setup not only accelerates operations but also aligns the tool with the specific requirements of both individual developers and teams. In this article, we will explore Git configurations that enhance both performance and usability. All the configurations mentioned in …
Continue reading →
- Emacs: Toggling symbol highlighting with unique colors for each symbol using built-in functions
by James Cherti
Symbol highlighting is a useful feature for quickly identifying occurrences of a symbol in a buffer. For example, when reading an algorithm with nested loops and multiple function calls, the distinct colors for each symbol, variable, or function make it easier to identify where each is used by simply scanning the highlighted symbols. This article presents a …
Continue reading →
- Emacs: Highlighting Codetags Like TODO, FIXME, BUG, NOTE…
by James Cherti
Highlighting keywords such as TODO, FIXME, NOTE, BUG, and others (often referred to as tags, codetags, or tokens) enhances workflow by making key annotations more visible. This allows developers to quickly identify tasks, warnings, and notes within the code, reducing the time spent searching for unfinished work or potential issues. This article outlines an Elisp code that …
Continue reading →
- Ansible: ansible-role-tuned, an Ansible role which configures tuned
by James Cherti
The ansible-role-tuned Ansible playbook manages the installation, configuration, and activation of the tuned service. Tuned is a dynamic adaptive system tuning tool used in Linux environments to optimize performance by adjusting various system settings dynamically. It provides pre-defined profiles that target specific use cases, such as high throughput, low latency, and energy saving, and automatically applies these …
Continue reading →
(All articles…)