Skip to content

Instantly share code, notes, and snippets.

View jvrmaia's full-sized avatar
🤓
bug is feature for hackers

João Maia jvrmaia

🤓
bug is feature for hackers
View GitHub Profile
@jvrmaia
jvrmaia / arch-QC35-ii.txt
Created July 13, 2021 13:50 — forked from alexrios/arch-QC35-ii.txt
In order to work the Bose QC35 II Headset Bluetooth do the following
- sudo pacman -Syu pulseaudio-alsa pulseaudio-bluetooth bluez bluez-libs bluez-utils
- turn off bluetooth from your computer
- sudo btmgmt ssp of
- gpasswd -a $USER lp
- pin is always `0000`
FAQ
1 - I only hear the "call from" message
Confirm that by switching the mode from HSP/HFP to `A2DP Sink` solve the problem.
- systemctl restart bluetooth
@jvrmaia
jvrmaia /
Created November 23, 2021 12:18 — forked from fabiode/☭
трудящихся мира, объединиться! Workers of the world, unite! Trabalhadores do mundo, uní-vos! Proletarier aller Länder, vereinigt euch!
#!/usr/bin/env bash
echo ' '
echo ' '
echo "☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ "
echo "================================== трудящихся мира, объединиться! ===================================="
echo "☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ . ☭ "
echo ' '
echo "****************,**,*****,***,,,,,,,....,........,................................... ..............
*****,***,****,,,,,**,,**,*,,,,,,,,,.......,**,..,.............................. ...... ... .......
@jvrmaia
jvrmaia / handling_multiple_github_accounts.md
Created February 3, 2025 19:58 — forked from Jonalogy/handling_multiple_github_accounts.md
Handling Multiple Github Accounts on MacOS

Handling Multiple Github Accounts on MacOS

The only way I've succeeded so far is to employ SSH.

Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config file in a .ssh directory. The config file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh directory by default. You can navigate to it by running cd ~/.ssh within your terminal, open the config file with any editor, and it should look something like this:

Host *
 AddKeysToAgent yes

> UseKeyChain yes