Git-submodule … allows you to include one repository inside another, keeping them as separate projects. Add a submodule to your
Continue readingCategory: Technology
Q&A – Electrics
Is it dangerous to touch the conductors of a power cable? This concerns electricity available in households, specifically AC at
Continue readingForward X11 to macOS (Docker)
xsddiagram is used as an example application. Dockerfile FROM debian:bullseye-slim # Install packages RUN apt update && apt-get install -y
Continue readingHow to pass arguments (C++)
Analysis Code ▼ Output ▼ Constructor: bar_0 Not store copy run_copy_no_store Constructor: bar_1 === lvalue === Copy Constructor: bar_1 ===
Continue readingQ&A – Version control
Undo “git rebase -i” $ git rebase -i HEAD~3 $ git reflog … HEAD@{0}: rebase (finish): … … HEAD@{1}: rebase
Continue readingTypes of Circuits (Electrics)
Fundamentals There are two types of circuits. One is the series connection and the other is the parallel connection. In
Continue readingDefault provided networks (Docker)
Bridge network (“–network bridge”, default) Details – Containers of this type are in the same network. – Their network is
Continue readingFlameGraph (Docker)
Setup Get FlameGraph repo % git clone https://github.com/brendangregg/FlameGraph fg Create Docker image Follow the instructions here: C++ develop container (Docker)
Continue readingMutable vs. Immutable (Python)
Immutable data types They are not modifiable e.g. Numbers, Strings and Tuples Before line 3 a —> 1 b —–^
Continue readingModify the context menu (Windows)
Switch between old and new context menu Old context menu reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve New context menu reg.exe delete
Continue reading