Skip to content

Instantly share code, notes, and snippets.

View mrcomoraes's full-sized avatar

Marcola (Marco Moraes) mrcomoraes

View GitHub Profile
@mrcomoraes
mrcomoraes / avell-rgb-keyboard.sh
Last active September 6, 2024 14:43
Trocar as cores RGB e brilho do teclado mecânico de notebooks da Avell
#!/usr/bin/env bash
###
# Programa: avell-rgb-keyboard
# Descrição: Trocar as cores RGB e brilho do teclado mecânico de notebooks da Avell
# Ambiente de testes:
# - Modelo do notebook: AVELL A52 HYB NEW
# - Distro: Pop!_OS 22.04 LTS
# - Versão do kernel: 6.9.3-76060903-generic
@mrcomoraes
mrcomoraes / clear_cache_MS_Teams.sh
Last active May 10, 2024 12:07
Clear cache Microsoft Teams on Linux
#!/bin/bash
# This script cleans all cache for Microsoft Teams on Linux
# Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions.
# Tested Teams via snap package.
# Tested Teams via flatpak package.
#
# How to use in terminal:
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak )
# or
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
addresses: [192.168.0.10/24]
gateway4: 192.168.0.1
nameservers:
search: [example.com]
@mrcomoraes
mrcomoraes / multiple_ssh_setting.md
Created September 26, 2019 14:22 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"