Before using the OS APIs directly, take a look if the STL or boost already provides this functionality. Also be
Continue readingCategory: Computer
Push rejection (Git)
Reason: If you have updated a local branch and then trying to push it on remote you may got the
Continue readingCode documentation (Doxygen)
If you are working at a huge software project it’s important to always write a documentation. This is important cause
Continue readingWhen to use which cast (C++)
Types Type Area Risk static_cast – Converts fundamental types– Non-const to const– Down-casts (dangerous) Medium dynamic_cast – Down- and side-casts
Continue readingRebase branch on rebased parent (Git)
This is necessary when you develop on an child-feature-branch and the parent-feature-branch has been rebased. 0. Initial situation 1. Rebase
Continue readingNetwork components (Selection)
Repeater A repeater just repeats the signals it receives. They can be wired (with 2 ports) or wireless. Therfore it
Continue readingUnit testing series – Test with Stub (Part 4)
The second szenario is using a stub. Stub Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue readingDesign pattern (Selection)
1. Creation 1.1 Factory 1.2 Singleton 1.3 Dependency injection 1.4 Objectpool … is a pool of already initialized objects, like
Continue readingHTTP hacking – Vote counter (Example 1)
1. Scan the traffic Just capture the network traffic while simulate one sequence of voting. Possible tools you can use
Continue readingUnit testing series – Test without double (Part 3)
The first test szenario isn’t using a double. Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue reading