Change owner/group chown [options] [owner][:[group]] file Examples chown root file.txt // For file.txt set owner to root chown -R root:admin
Continue readingAuthentication – Session-based vs. Token-based
Session-based The client logs into the server and gets a session id. The server caches all sessions to be able
Continue readingResolve conflicts for binary files (Git)
There are common scenarios where you possibly have to resolve conflicts. They are cherry-pick, merge, rebase and revert. If those
Continue readingSandboxing (Linux)
There are multiple possibilities with Linux to sandbox applications. chroot … Changed file system root namespaces … Separated namespaces (e.g.
Continue readingLambda captures (C++)
auto func = [/*capures*/](/*arguments*/){/*body*/}; Captures: <var> … Local variable by value &<var> … Local variable by reference = … All
Continue readingVisualize branches (Git)
Git command All branches $ git log –all –decorate –oneline –graph Specific branch $ git log {branch-name} –decorate –oneline –graph
Continue readingBreathing gas composition
To calculate an efficient breathing gas you have to know the maximum operating depth (MOD) at which you are breathing
Continue readingLoad balancing (based on NAPT)
A common way to realise a Load balancing is happening based on NAPT (Network Address Port Translation). Client 1 Client
Continue readingNAPT (Network Address Port Translation)
What’s that? It translates private IPs and Ports to a public IP and port. What’s the reason? There are not
Continue readingSetup CS2 for LAN / VPN
Playing online (Against other players, Also works via the internet without VPN) 1. Create a lobby (Server) ‘Play’ –> ‘Matchmaking’
Continue reading