Skip to content

Instantly share code, notes, and snippets.

View AlexRuiz7's full-sized avatar

Álex Ruiz AlexRuiz7

View GitHub Profile
@AlexRuiz7
AlexRuiz7 / nvidia-driver-ubuntu-22.md
Last active February 7, 2024 22:36
My Odyssey installing `nvidia-driver-535` in Ubuntu 22.04

-- Context --

  • Laptop: MSI GL66 Pulse with Nvidia RTX 3060
  • System: 6.5.0-15-generic 22.04.1-Ubuntu x86_64 GNU/Linux
  • Previous drivers: xserver-xorg-video-noveau
  • Cause: External monitor not detected !link

Ubuntu didn't recognize my external monitor, although it was correctly connected to the laptop with an HDMI cable.

I had installed Nvidia drivers before on this same operative system and laptop and it didn't end well, so I always had to revert. Every time, I installed the driver provided by Ubuntu. Installing a driver directly provided by the vendor was a different approach, so I went for it.

@AlexRuiz7
AlexRuiz7 / HudElementsWrench.con
Created December 10, 2023 14:32
Forgotten Hope 2 wrench HUD -. Make the wrench icon visible even if HUD is turned off.
// menu_server.zip\HUD\HudSetup\Weapons\HudElementsWrench.con
// Get rid of these lines
hudBuilder.setNodeShowVariable FH2CrosshairShow
hudBuilder.setNodeInTime 0.1
hudBuilder.setNodeOutTime 0.1
hudBuilder.addNodeAlphaShowEffect

Production of industries per level

City

Level Production per hour Increase
None 5.000 -
1 6.600 + 1.600
2 -
3 8.700