- Find all strictdoc own files.
- Calculate last update.
- If more than the last config update, update.
- Find documents
- Validate all grammar from files.
- Iteration #1: For each document.
- Register in-out dependency.
| #! /usr/bin/env python | |
| import sys | |
| import subprocess | |
| import termios | |
| import tty | |
| from datetime import datetime | |
| from pathlib import Path | |
| from typing import Optional |
From years of watching master programmers, I have observed certain common patterns in their workflows. From years of coaching skilled journeyman programmers, I have observed the absence of those patterns. I have seen what a difference introducing the patterns can make. Here are ways effective programmers get the most out of their precious 3e9 seconds on the planet. The theme here is scaling your brain. The journeyman learns to solve bigger problems by solving more problems at once. The master learns to solve even bigger problems than that by solving fewer problems at once. Part of the wisdom is subdividing so that integrating the separate solutions will be a smaller problem than just solving them together.
Slicing - Take a big project, cut it into thin slices, and rearrange the slices to suit your context. I can always slice projects finer and I can always find new permutations of the slices that meet different needs
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
| /* | |
| ** $Id: sch_custom.c 1.3 2015/03/01 14:01:44EST sstrege Exp $ | |
| ** | |
| ** Copyright 2007-2014 United States Government as represented by the | |
| ** Administrator of the National Aeronautics and Space Administration. | |
| ** All Other Rights Reserved. | |
| ** | |
| ** This software was created at NASA's Goddard Space Flight Center. | |
| ** This software is governed by the NASA Open Source Agreement and may be | |
| ** used, distributed and modified only pursuant to the terms of that |
Install BasicTex.
Add this to your Bash or Zsh:
export PATH="/Library/TeX/texbin/:$PATH"| #!/usr/bin/env python3 | |
| import sys, os | |
| from PyPDF2 import PdfFileReader, PdfFileWriter | |
| inputname = sys.argv[1] | |
| pdf = PdfFileReader(inputname) | |
| numpages = pdf.getNumPages() | |
| if numpages % 2 == 1: | |
| numpages = numpages - 1 |
| ################################################################################ | |
| # Self-Documented Makefile | |
| # http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html | |
| define HELP | |
| If you are running this first time, follow these steps: | |
| make image.create | |
| make container.create | |
| make container.run | |
| endef | |
| export HELP |
\begin{wrapfigure}[8]{r}{0.25\textwidth}
\centering
\vspace{-\intextsep}
\includegraphics[width=0.25\textwidth]{files/Eschede/01_Fraunhofer.jpg}
\caption{Basic layout}
\end{wrapfigure}