- This is a small tech demo on how to use Hugo an Netlify to deploy a clean, minimalistic code generated homepage.
- Generated homepage: https://the-developer.de/
- Source: https://github.com/imago/blog
- Netlify howto: https://gohugo.io/hosting-and-deployment/hosting-on-netlify/
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....
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:...
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....
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...
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:...