git clone git@github.com:MartinThoma/MartinThoma.github.io.git --recursive
to get the blog data with all submodulespre-commit install
pip install -r requirements.txt --user
to install the required softwaresudo apt-get install npm && sudo apt-get install nodejs && sudo npm install -g mediumexporter
make html-local
andmake serve
to see the result on https://127.0.0.1:8000/
mediumexporter https://infosecwriteups.com/redos-denial-of-service-by-regex-59c7ffab4880 > 2022-03-07-redos.md
linkchecker https://martin-thoma.com -F csv
- add pagination for category pages / tag pages
- Semantic anchors created by TOC
- Newlines
- e.g. 2013-03-16-c-puzzle-3.html (https://martinthoma.github.io/c-puzzle-3/)
- Don't check for Latex (
$...$ ) inside of highlight environment or fenced code blocks (Abostrophes):- https://martinthoma.github.io/c-puzzle-3/
- https://martin-thoma.com/plotting-graphs-with-pgfplots-latex-and-tikz/
- https://martin-thoma.com/semantische-sicherheit/
- https://martin-thoma.com/how-to-search-for-mathematical-symbols-in-latex/
- https://martin-thoma.com/latex-versioning-a-great-experience/
- All posts tagged with "PHP"
- Markdown rendered within fenced code tag: https://martin-thoma.com/how-to-print-source-code-with-latex/
- Fix posts:
- Apply CSS Rules from CSS Wizardry
- Site speed
- Minify results
- Combine CSS / JS files
- Remove JS files if possible
- Remove parts of JS that are not used
- Excerpts
- WordPress "Caption" tags
- RSS Feed
The following snippets help to create new articles fast. To install them, go to "Tools → New Snippet..." in Sublime Text&nsp;3.
Go to /home/moose/.config/sublime-text-3/Packages/User
and copy the contents
of the ./sublime
folder in it. Or add symbolic links:
$ ln -s ~/Github/Martin/MartinThoma.github.io/sublime/blog-article.sublime-snippet /home/moose/.config/sublime-text-3/Packages/User
<snippet>
<content><![CDATA[
---
layout: post
title: ${1:}
slug: ${2:}
author: Martin Thoma
status: draft
date: ${3:2016}-${4:04}-${5:31} 20:00
category: ${6:Cyberculture}
tags: ${7:Rating}
featured_image: logos/${8:star.png}
---
${9:}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>---</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
<snippet>
<content><![CDATA[
{% caption align="aligncenter" width="500" alt="${1:text}" text="${1:text}" url="../images/2015/01/${2:image.png}" %}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>captiontag</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>