Skip to content

Instantly share code, notes, and snippets.

View mstuttgart's full-sized avatar
🏠
Working from home

Michell Stuttgart mstuttgart

🏠
Working from home
View GitHub Profile
@mstuttgart
mstuttgart / guia.md
Last active December 23, 2025 19:29
Guia de Resolução: NVIDIA RTX 5060 Ti + ASUS TUF B550M (Linux 2025)

Este documento resume as etapas necessárias para corrigir falhas de vídeo, disparos do cooler e erros de serviços (lightdm, gpu-manager) causados pela incompatibilidade da arquitetura Blackwell da RTX 5060-ti com drivers antigos.

O computador inicia, a tela de GRUB (e da BIOS) é exibida, mas o sistema operacional fica sem vídeo ao invés de exibir a tela de login. Este erro geralmente ocorre em casos onde a placa de vídeo ou a placa-mãe foi trocada e os drivers antigos permanecem instalados.

1. Configurações da BIOS (Obrigatório)

Antes de qualquer alteração no software, a placa-mãe deve estar configurada para hardware de 2025:

@mstuttgart
mstuttgart / README.md
Created June 13, 2025 16:57
GitHub notifications showing unread

So - I found a way to clear this (with a bit of help from this thread: community/community#6874)

Here's the process I used:

  • Goto the Done tab
  • Click select all then click move to inbox
  • Goto the Inbox
  • Click select all then mark as unread
  • Click the link that says select all xxx messages
  • Click Done
@mstuttgart
mstuttgart / example.xml
Created February 5, 2025 20:54
Habilitar update de registros no odoo
<!-- Allow updating on noupdate=True records -->
<function name="write" model="ir.model.data">
<function name="search" model="ir.model.data">
<value
eval="[('module', '=', 'base'), ('name', '=', 'user_admin')]" />
</function>
<value eval="{'noupdate': False}" />
</function>
<record id="base.user_admin" model="res.users">
@mstuttgart
mstuttgart / RenewExpiredGPGkey.md
Created January 8, 2025 21:21 — forked from TheSherlockHomie/RenewExpiredGPGkey.md
Updating expired GPG keys and backing them up 🔑🔐💻

Updating expired GPG keys and their backup 🔑🔐💻

I use a GPG key to sign my git commits.

An error like this one might be a sign of an expired GPG key.

error: gpg failed to sign the data fatal: failed to write commit object
@mstuttgart
mstuttgart / tutorial.md
Last active November 19, 2024 21:05
How to Reset the Odoo Admin User Password: A Summary for different Odoo Versions

Preliminary Remark

When you have migrated your database from an earlier version, the ID of your admin user may be different than suggested below. In this case you should check the ID of your admin user directly in the res_users table in your database.

Odoo 8.0:

Change the password directly in the Postgres Database, as it is saved in plain text:

~$  sudo su postgres
~$  psql
@mstuttgart
mstuttgart / tutorial.md
Created November 4, 2024 18:54
Postman installed from Flatpak not open

Fix openssl:

openssl req -subj '/C=US/CN=Postman Proxy' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout ~/.var/app/com.getpostman.Postman/config/Postman/proxy/postman-proxy-ca.key -out ~/.var/app/com.getpostman.Postman/config/Postman/proxy/postman-proxy-ca.crt

Source: flathub/com.getpostman.Postman#237

@mstuttgart
mstuttgart / xfce-i3-guide.md
Created November 1, 2024 09:04 — forked from fathulfahmy/xfce-i3-guide.md
A guide on how to setup XFCE with i3wm

How to XFCE with i3WM

Download

  1. Download XFCE Distribution
  2. Download i3 only (i3 status i3 lock dmenu is not needed)

⚠️ Do not installed preconfigured or distributed i3wm to avoid conflicts with XFCE settings
e.g.
do sudo dnf install i3 --setopt=install_weak_deps=False
dont "i3 desktop" or @i3-desktop-environment

@mstuttgart
mstuttgart / gist:ade42e19c275680c41349c94ff2a59e7
Created October 26, 2024 19:27
Manjaro: Connection error to join call msteams
Change DNS IPv4 to OpenDNS server address i.e. 208.67.222.222
Disconnect from Wifi and reconnect. Try join the call again. It's work
@mstuttgart
mstuttgart / install.sh
Created October 25, 2024 12:09
Dependencies to compile eww in Ubuntu 22.04
sudo apt install libglib2.0-dev libpango1.0-dev libatk1.0-dev libdbusmenu-glib-dev libgdk-pixbuf2.0-dev libgtk-3-dev libdbusmenu-gtk3-dev
@mstuttgart
mstuttgart / tutorial.md
Last active October 27, 2024 01:16
Restore pass content in new machine

Restore gpg private and public keys:

gpg --import PRIVATE_KEY.gpg
gpg --import PUBLIC_KEY.gpg

Clone key repository