Hi there! đź––

Emacs Literate Programming

In this tutorial, we will explore Literate Programming in Emacs, showcasing various Hello World examples. For more insights on literate programming, refer to here and draw inspiration from here. Download org file from this tutorial Setting up Emacs Clone the Spacemacs repository: 1 git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d Clone example dotfiles: 1 cd $HOME && git clone https://github.com/imago/dotfiles.git dotfiles && cp dotfiles/.spacemacs . Setting up Python dependencies Install python libraries in a virtual environment....

January 9, 2025 Â· 5 min

Using AI features within Emacs

To utilize different language models like ChatGPT in Emacs, you can follow these steps: 1. Setting up Emacs: Clone the Spacemacs repository: 1 git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d Clone example dotfiles: 1 cd $HOME && git clone https://github.com/imago/dotfiles.git dotfiles && cp dotfiles/.spacemacs . 2. Installing GPG on Mac using Homebrew: 1 brew install gpg 3. Creating and utilizing ChatGPT API key:...

January 5, 2025 Â· 1 min

Migrate Passwords from Strongbox to Apple's Passwords App

With iOS 18, Apple introduced the Passwords app, a built-in password manager that replaces the need for a third-party password manager within the Apple ecosystem, especially when sharing passwords with family. This new functionality allows seamless password sharing among family members, something that wasn’t easily achievable before. Having used Strongbox on my iOS device and paid for it, I decided it was time to switch to the new Passwords app....

December 24, 2024 Â· 4 min

SOLID Principle

Preamble / Aim Reduce technical debt The cost of prioritizing fast delivery over code quality for long periods of time. applying: SOLID Principles, Design Patterns, TDD, Continuous Refactoring Key: Keep it under control Do not let it kill your project Code Fragility “Fragility is the tendency of the sofware to break in many places every time it is changed.” - Robert C. Martin...

May 29, 2023 Â· 5 min

C++ Core Guidelines Checker Setup

The CPP Core guidelines are commonly used in modern C++ development. Here, I will show you how you can setup your development environment to check you code against the guidelines using clang-tidy. Install dependencies 1 2 3 4 5 sudo apt-get update sudo apt-get install clang clang-tidy clang --version clang-tidy --version Create a simple application main.cpp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include <iostream>#include <iterator>#include <vector> void printList(const std::vector<int> &input, const char *delimiter = " ") { std::copy(std::begin(input), std::end(input), std::ostream_iterator<int>{std::cout, delimiter}); } int main() { std::vector<int> my_list{1, 2, 3, 4}; printList(my_list); return 0; } Compile your executable and run check Checking CPP core guidelines:...

May 19, 2023 Â· 2 min