Bridge network (“–network bridge”, default) Details – Containers of this type are in the same network. – Their network is
Continue readingCategory: Computer
Profiling with FlameGraph (Linux)
1. Get FlameGraph git clone https://github.com/brendangregg/FlameGraph It’s a tool from Brendan Gregg. 2. Build the app $ g++ main.cpp -g
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 readingConceptual distinction – Testing
Unit vs. Integration vs. System test All of them are functional tests, but on a different level. Unit test: Tests
Continue readingPretty printer – Own type
Example code Without pretty printer (gdb) b 29 (gdb) r Breakpoint 1, main () at main.cpp:29 29 return 0; (gdb)
Continue readingStack unwinding
Mechanism 1. Frame pointers … the old default way Frame pointers are enabled by default. Strong optimization (“-O2”, “-O3”) will
Continue readingPipelines in Jenkins
For CI/CD of your projects, you can use Jenkins. To set up a workflow, you can create a pipeline. They
Continue readingList my remote branches (Git)
Command The following command prints the remote branch names, where you are the author of the last pushed commit. $
Continue readingForward vs. Reverse proxy
Both types of proxies operate as a man-in-the-middle. Forward proxy Client Server Client Proxy Internet Server Client Server – Bypass
Continue reading