Skip to content

Instantly share code, notes, and snippets.

@maxdesalle
maxdesalle / proton.css
Last active May 25, 2022 13:48
If you dislike the new Proton redesign as much as I do, here is some custom CSS you can use. This is made for the "Carbon" theme (so make sure to change that in your Proton settings).
:root,
.ui-standard {
--primary: #1c4587;
--primary-contrast: white;
--signal-danger-minor-2: #310b12;
--signal-danger-minor-1: #4a111b;
--signal-danger: #f5385a;
--signal-danger-major-1: #f64c6b;
--signal-danger-major-2: #f7607b;
--signal-danger-major-3: #f8748c;
@maxdesalle
maxdesalle / cub3D.md
Last active May 1, 2026 09:43
Some tips and tricks to break a cub3D during a review.

These little tricks are meant to find ways to break a cub3D. Note that if it's handled in any way, it's good. Something being handled doesn't necessarily mean that the game needs to start. If an error is returned, that's perfectly fine too, as long as it doesn't segfault, leak...

Resolution

  • putting a negative resolution
  • adding a third resolution number
  • leaving only one resolution number
  • replacing the space between the two resolution numbers with a tab