Categories
Follow James Cherti
About the author
James Cherti is a Sr. Infrastructure as Code and Software Development 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
- 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 →
- Maximize Your Productivity: Time-saving Tips for the Digital Age
by James Cherti
Your computer is a powerful tool for enhancing productivity at work, but it can also be a significant source of inefficiency. Your time is a valuable resource. If, after hours of working at your computer, you find yourself accomplishing little, you may be among the many individuals distracted by the lure of the internet and digital technology. …
Continue reading →
- Emacs: buffer-terminator.el – Safely Terminate Emacs Buffers Automatically
by James Cherti
The buffer-terminator Emacs package automatically kills buffers to help maintain a clean and efficient workspace, while also improving Emacs’ performance by reducing the number of open buffers, thereby decreasing the number of active modes, timers, and other processes associated with those buffers. Activating (buffer-terminator-mode) terminates all buffers that have been inactive for longer than the duration specified …
Continue reading →
- The compile-angel Emacs package: Byte-compile and Native-compile Emacs Lisp libraries Automatically
by James Cherti
The compile-angel Emacs package automatically byte-compiles and native-compiles Emacs Lisp libraries. It offers: The compile-angel modes speed up Emacs by ensuring all libraries are byte-compiled and native-compiled. Byte-compilation reduces the overhead of loading Emacs Lisp code at runtime, while native compilation optimizes performance by generating machine code specific to your system. Why use compile-angel? Because you are …
Continue reading →
- Essential Emacs Packages for Efficient Software Development and General Text Editing
by James Cherti
In the pursuit of an optimized Emacs setup, I focused on enhancing defaults and minimizing the number of installed packages to maintain simplicity and efficiency: In this article, I will share the Emacs packages I use daily for software development and general text editing. Please share in the comments the Emacs packages you are using! Where can …
Continue reading →
- Running Large Language Models locally with Ollama (compatible with Linux, macOS, and Windows)
by James Cherti
Running Large Language Models on your machine can enhance your projects, but the setup is often complex. Ollama simplifies this by packaging everything needed to run an Large Language Models. Here’s a concise guide on using Ollama to run LLMs locally. Requirements Step 1: Install Ollama Download and install Ollama for Linux using: Step 2: Download a …
Continue reading →
- Emacs: Automating Table of Contents Update for Markdown Documents (e.g., README.md)
by James Cherti
When working with markdown files in Emacs (e.g., README.md), users may need to manually update the table of contents. Automating this process saves time and ensures that the table of contents remains consistent with the document structure. This article presents an Emacs Lisp code snippet that uses: The code snippet that updates the table of contents and …
Continue reading →
- Emacs: Maintaining proper indentation in indentation-sensitive programming languages
by James Cherti
As codebases grow, maintaining proper indentation becomes increasingly difficult, especially in languages like Python or YAML, where indentation is not just a matter of style but an important part of the syntax. When working with large code blocks or deeply nested structures, it’s easy to lose track of the correct indentation level, leading to errors and decreased …
Continue reading →
- dir-config.el – Automatically find and evaluate .dir-config.el Elisp files to configure directory-specific settings
by James Cherti
The dir-config.el Emacs package automatically loads and evaluates Elisp code from a .dir-config.el file found in the buffer’s current directory or its closest parent directory. This facilitates adjusting settings or executing functions specific to the directory structure of each buffer. For instance, you can use the dir-config package to: Installation To install the dir-config from MELPA: (use-package …
Continue reading →
- Efficient Emacs startup and configuration with minimal-emacs.d
by James Cherti
Optimizing Emacs for speed and efficiency involves fine-tuning its startup process, managing essential settings, and handling package installations, etc. The minimal-emacs.d repository hosts a minimal Emacs configuration with early-init.el and init.el files designed to serve as a base for your vanilla Emacs configuration, offering a robust foundation for a better vanilla Emacs experience. Installation Execute the following …
Continue reading →
(All articles…)