commit 2560bf09d93f45619d8f8e17dd59c91fcbc0b666
parent 7b6a52420d139f0a26570aaf1c00c17148b43d33
Author: Michael Neuper <michael@michaelneuper.com>
Date: Sun, 9 Jul 2023 14:34:12 +0200
Add table of contents to all posts
Diffstat:
8 files changed, 123 insertions(+), 10 deletions(-)
diff --git a/content/posts/buffer-overflow.md b/content/posts/buffer-overflow.md
@@ -6,6 +6,14 @@ tags: ['Security', 'Programming']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Programming a Vulnerable Program](#programming-a-vulnerable-program)
+- [Preventing Buffer Overflow Attacks](#preventing-buffer-overflow-attacks)
+
+<!-- markdown-toc end -->
+
A buffer overflow attack is a type of cyber attack in which an attacker attempts to write more data to a buffer (a temporary data storage area) in a computer's memory than the buffer is designed to hold.
This can cause the buffer to overflow, or exceed its maximum capacity, which can corrupt other parts of the computer's memory and allow the attacker to gain unauthorized access to the system.
diff --git a/content/posts/enable-monitor-mode-on-tp-link.md b/content/posts/enable-monitor-mode-on-tp-link.md
@@ -6,6 +6,20 @@ tags: ['Networking', 'Hardware']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [TP-Link TL-WN722N _v1 vs v2/v3_](#tp-link-tl-wn722n-_v1-vs-v2v3_)
+- [Enabling Monitor Mode](#enabling-monitor-mode)
+ - [v1](#v1)
+ - [v2/v3](#v2v3)
+ - [Upgrade your system](#upgrade-your-system)
+ - [Install headers](#install-headers)
+ - [Change the kernel module](#change-the-kernel-module)
+ - [Enable monitor mode](#enable-monitor-mode)
+
+<!-- markdown-toc end -->
+
# TP-Link TL-WN722N _v1 vs v2/v3_
The TP-Link TL-WN722N is a wireless network interface controller (NIC) that allows a computer to connect to a wireless network.
diff --git a/content/posts/how-to-create-your-own-website.md b/content/posts/how-to-create-your-own-website.md
@@ -6,6 +6,15 @@ tags: ['Web Development']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Building The Site](#building-the-site)
+- [Hosting Your Site](#hosting-your-site)
+- [Getting a Custom Domain (Not Free)](#getting-a-custom-domain-not-free)
+
+<!-- markdown-toc end -->
+
Setting up your own static website can be a great way to showcase your personal brand, portfolio, or business online.
In this post, we'll walk through the process of setting up a static website using Hugo as the static site generator and Netlify as the hosting service.
@@ -119,4 +128,4 @@ dditionally, Netlify offers free SSL certificates for custom domains, which help
In conclusion, building your own website is a rewarding and empowering experience that allows you to share your ideas, passions, and creations with the world.
By using a static site generator like Hugo, you can quickly and easily create a professional-looking website without needing to write any complex code.
-Overall, building and hosting your own website is a great way to share your creativity and ideas with the world, and can be a fun and rewarding experience.
-\ No newline at end of file
+Overall, building and hosting your own website is a great way to share your creativity and ideas with the world, and can be a fun and rewarding experience.
diff --git a/content/posts/read-more.md b/content/posts/read-more.md
@@ -6,6 +6,16 @@ tags: ['Reading', 'Productivity']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Set Small, Achievable Goals](#set-small-achievable-goals)
+- [Focus on the Chapters That Intrigue You](#focus-on-the-chapters-that-intrigue-you)
+- [Embrace the Art of Moving On](#embrace-the-art-of-moving-on)
+- [Read Multiple Books at Once](#read-multiple-books-at-once)
+
+<!-- markdown-toc end -->
+
In today's fast-paced world, finding time to read can be challenging.
However, reading provides numerous benefits, such as boosting mental stimulation, reducing stress, and expanding our knowledge.
If you've been struggling to incorporate more reading into your life, don't worry – you're not alone.
@@ -49,4 +59,4 @@ However, after a long day at work or school, we might crave something lighter an
To ensure that your reading doesn't come to a halt due to mood fluctuations, keep a selection of books on hand that cater to different mental states and preferences.
This approach allows you to switch between books depending on your mood and energy levels, ensuring that you always have something enjoyable to read.
-By maintaining a diverse reading list, you'll keep the momentum going and continue to reap the benefits of reading, no matter how you're feeling.
-\ No newline at end of file
+By maintaining a diverse reading list, you'll keep the momentum going and continue to reap the benefits of reading, no matter how you're feeling.
diff --git a/content/posts/replace-jupyter-notebook-with-emacs-org-mode.md b/content/posts/replace-jupyter-notebook-with-emacs-org-mode.md
@@ -6,6 +6,37 @@ tags: ['Emacs', 'Programming']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Introduction](#introduction)
+- [What is Emacs Org Mode?](#what-is-emacs-org-mode)
+- [Why Replace Jupyter Notebook with Emacs Org Mode?](#why-replace-jupyter-notebook-with-emacs-org-mode)
+- [Getting Started with Emacs Org Mode for Literate Programming](#getting-started-with-emacs-org-mode-for-literate-programming)
+ - [Installing Emacs](#installing-emacs)
+ - [Configuring Org Mode](#configuring-org-mode)
+ - [Installing essential packages for data science](#installing-essential-packages-for-data-science)
+ - [Setting up a Python environment in Emacs](#setting-up-a-python-environment-in-emacs)
+ - [Creating and organizing Org files for literate programming](#creating-and-organizing-org-files-for-literate-programming)
+- [Advanced Features of Emacs Org Mode for Data Science](#advanced-features-of-emacs-org-mode-for-data-science)
+ - [Working with multiple languages in a single Org file](#working-with-multiple-languages-in-a-single-org-file)
+ - [Integrating with external tools and libraries](#integrating-with-external-tools-and-libraries)
+ - [Debugging and profiling code within Org Mode](#debugging-and-profiling-code-within-org-mode)
+ - [Customizing code block execution and display options](#customizing-code-block-execution-and-display-options)
+ - [Utilizing Org Mode for project management and collaboration](#utilizing-org-mode-for-project-management-and-collaboration)
+- [Tips and Tricks for Optimizing Your Emacs Org Mode Workflow](#tips-and-tricks-for-optimizing-your-emacs-org-mode-workflow)
+ - [Keyboard shortcuts for Org Mode](#keyboard-shortcuts-for-org-mode)
+ - [Customizing your Emacs theme](#customizing-your-emacs-theme)
+ - [Integrating with other Emacs packages for productivity](#integrating-with-other-emacs-packages-for-productivity)
+ - [Using Org Mode for note-taking and knowledge management](#using-org-mode-for-note-taking-and-knowledge-management)
+- [Transitioning from Jupyter Notebook to Emacs Org Mode](#transitioning-from-jupyter-notebook-to-emacs-org-mode)
+ - [Importing existing Jupyter Notebooks into Org Mode](#importing-existing-jupyter-notebooks-into-org-mode)
+ - [Exporting Org files to Jupyter Notebook format](#exporting-org-files-to-jupyter-notebook-format)
+ - [Overcoming common challenges during the transition](#overcoming-common-challenges-during-the-transition)
+- [Conclusion](#conclusion)
+
+<!-- markdown-toc end -->
+
# Introduction
The popularity of Jupyter Notebook has surged in recent years as a powerful tool for interactive data analysis and visualization.
@@ -290,4 +321,4 @@ Use jupytext to convert Jupyter Notebooks to Org Mode files:
## Invitation to join the Emacs Org Mode community and share experiences
- As you embark on your journey with Emacs Org Mode, don't hesitate to reach out to the vibrant community of users and developers for help, support, and inspiration.
-- Share your experiences, tips, and tricks with others, contributing to the collective knowledge and strengthening the community of Emacs Org Mode enthusiasts in the data science world.
-\ No newline at end of file
+- Share your experiences, tips, and tricks with others, contributing to the collective knowledge and strengthening the community of Emacs Org Mode enthusiasts in the data science world.
diff --git a/content/posts/stop-using-proprietary-software.md b/content/posts/stop-using-proprietary-software.md
@@ -6,6 +6,19 @@ tags: ['Open-source', 'Software']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Introduction](#introduction)
+- [The Greed of Corporations](#the-greed-of-corporations)
+- [Lack of Customization and Flexibility](#lack-of-customization-and-flexibility)
+- [The Inevitable Obsolescence](#the-inevitable-obsolescence)
+- [A Breeding Ground for Security Risks](#a-breeding-ground-for-security-risks)
+- [Stifling Collaboration and Knowledge Sharing](#stifling-collaboration-and-knowledge-sharing)
+- [Conclusion](#conclusion)
+
+<!-- markdown-toc end -->
+
# Introduction
Have you ever found yourself frustrated by the limitations, restrictions, and lack of control you have when using proprietary software?
@@ -47,4 +60,4 @@ Open-source software, conversely, fosters collaboration, community, and knowledg
The time has come to break free from the limitations and frustrations of proprietary software.
We must recognize the value and potential of open-source alternatives and demand transparency, flexibility, and collaboration from the software industry.
By embracing the open-source movement, we can help create a world where software is not only more accessible and customizable but also more secure and innovative.
-So, next time you're considering a software purchase or download, remember: there's a whole world of open-source alternatives out there, just waiting for you to explore.
-\ No newline at end of file
+So, next time you're considering a software purchase or download, remember: there's a whole world of open-source alternatives out there, just waiting for you to explore.
diff --git a/content/posts/turning-a-window-manager-into-a-desktop-environment.md b/content/posts/turning-a-window-manager-into-a-desktop-environment.md
@@ -6,6 +6,25 @@ tags: ['Linux', 'Desktop Environment']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Introduction](#introduction)
+- [Turning a window manager into a desktop environment](#turning-a-window-manager-into-a-desktop-environment)
+ - [Window Manager](#window-manager)
+ - [Display Manager](#display-manager)
+ - [Compositor](#compositor)
+ - [Additional Utilities](#additional-utilities)
+ - [Wallpaper Setter](#wallpaper-setter)
+ - [Bar](#bar)
+ - [Application Launcher](#application-launcher)
+ - [System Tray](#system-tray)
+ - [Polkit](#polkit)
+- [Customizing your window manager](#customizing-your-window-manager)
+- [Benefits and drawbacks](#benefits-and-drawbacks)
+
+<!-- markdown-toc end -->
+
<!-- TODO add notification daemon-->
# Introduction
diff --git a/content/posts/what-linux-packaging-format-to-use.md b/content/posts/what-linux-packaging-format-to-use.md
@@ -6,6 +6,20 @@ tags: ['Linux', 'Package-management']
draft: false
---
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Introduction](#introduction)
+- [Flatpak](#flatpak)
+- [Snap](#snap)
+- [Deb](#deb)
+- [RPM](#rpm)
+- [AppImage](#appimage)
+- [AUR (Arch User Repository)](#aur-arch-user-repository)
+- [Conclusion](#conclusion)
+
+<!-- markdown-toc end -->
+
# Introduction
Linux, a widely popular open-source operating system, is known for its versatility and adaptability.
@@ -119,4 +133,4 @@ Users can build and install packages directly from the AUR using helper tools li
Selecting the right package format depends on various factors, such as your distribution, security requirements, and personal preferences.
If you prioritize universal compatibility and sandboxing, Flatpak and Snap are great options.
For Debian or Red Hat-based distributions, Deb and RPM are well-established choices.
-If you need portability and ease of use, AppImage is the way to go. Lastly, for Arch Linux users, AUR provides a vast array of community-maintained packages.
-\ No newline at end of file
+If you need portability and ease of use, AppImage is the way to go. Lastly, for Arch Linux users, AUR provides a vast array of community-maintained packages.