Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)IA
Posts
0
Comments
11
Joined
2 yr. ago

rm -rf /

Jump
  • You can probably use something like

     
        
    git clean -xdf
    
      

    To get rid of all the artifacts not tracked by git, in this case it's virtually the same as deleting the repo and re-cloning it.

    NOTE: Make sure everyhing is staged, otherwise that data is gone

  • Some people simply ignore warnings, that's the main issue. Trust me, I saw this way too often.

    If you cannot compile it than you have to fix it, otherwise just mark unused variables as 'not an error' via _ = someunusedvar.

  • Similarly, you can leverage this to wire traffic to DB replicas for instance. This if you need to handle traffic to DBs under specific scenarios (DB problems, burst of traffic, bugs, etc). So basically a purely technical feature flag (paying attention to authorization as always)