Skip to content

Instantly share code, notes, and snippets.

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

Nicolas Aigner nicolasaigner

🏠
Working from home
View GitHub Profile

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid poisoning your bash history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.
I chose to write things "in the open" that way so there's still some control and things don't become a black box.

Table of contents

@nicolasaigner
nicolasaigner / system-defaults.json
Last active March 8, 2026 16:12
Configurações do Gemini-CLI documentada em PT-BR (/etc/gemini-cli/system-defaults.json)
{
// #### `$schema`
// - **`$schema`** (string)
// - **Descrição:** URL do schema JSON para validação/autocomplete no editor.
// - **Default:** `"https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json"`
"$schema": "https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json",
// #### `policyPaths`
// - **`policyPaths`** (array)
// - **Descrição:** Arquivos ou diretórios de política adicionais para carregar.
@nicolasaigner
nicolasaigner / alteracao_idioma_nvidia_control_panel.txt
Created September 13, 2025 00:57
Alteração do idioma do NVidia Control Panel
Correct path within the Windows Registry Editor to change the application language:
HKEY_CURRENT_USER\Software\NVIDIA Corporation\NVControlPanel2\Client
I found it in this video (Thanks, TechRacoon (https://www.youtube.com/@TechRacoon)):
https://www.youtube.com/watch?v=9pwJR-GUkIg
See the video description:
@nicolasaigner
nicolasaigner / Arena Breakout Infinite.nip
Created September 13, 2025 00:39
Configurações descritas no vídeo do ImOw (https://www.youtube.com/watch?v=IhJyhHLcByQ). Versão do NIP usada no vídeo (2.4.0.27) e a versão usada nas configurações abaixo (2.4.0.29). Data: 12/09/2025.
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfProfile>
<Profile>
<ProfileName>Arena Breakout: Infinite</ProfileName>
<Executeables>
<string>abinfinite/binaries/win64/uagame.exe</string>
<string>launcher/arena_breakout_infinite_launcher.exe</string>
<string>abinfinite/binaries/win64/gameloader.exe</string>
</Executeables>
<Settings>
@nicolasaigner
nicolasaigner / rmrf-ps.ps1
Last active May 12, 2025 11:38
rm -rf no PowerShell 7.5
# Uso o comando abaixo para abrir o arquivo para adicionar as functions, no caso,
# usei o notepad, mas pode usar qualquer outro editor de texto que preferir, como code, por exemplo...
# PS> notepad $PROFILE
# No arquivo aberto, copie e cole essas functions
function rmrf { param([string[]]$Paths) Remove-Item -Path $Paths -Recurse -Force }
function rm { param([string[]]$Paths) Remove-Item -Path $Paths -Recurse -Force }
# Salve e feche o editor de texto
# Para verificar se as functions deram certo, execute esse comando no PowerShell
@nicolasaigner
nicolasaigner / .dockerignore
Created June 13, 2022 01:52
.dockerignore do Strapi V4
.tmp/
build/
node_modules/
yarn.lock
package-lock.json
@nicolasaigner
nicolasaigner / Dockerfile
Created June 13, 2022 01:35
Dockerfile Strapi V4
FROM node:16.0.0
ARG NODE_ENV=development
ENV NODE_ENV $NODE_ENV
ARG DATABASE_HOST=postgres
ENV DATABASE_HOST $DATABASE_HOST
ARG DATABASE_PORT=5432
ENV DATABASE_PORT $DATABASE_PORT
<html>
<head>
<script language="javascript">
function VerificaCPF () {
if (vercpf(document.form1.cpf.value)){
document.form1.submit();
}else{
errors="1";
if (errors) alert('CPF NÃO INVÁLIDO!');
document.retorno = (errors == '');