Skip to content

Instantly share code, notes, and snippets.

View KlausEverWalkingDev's full-sized avatar
🇧🇷

Klaus Ferreira KlausEverWalkingDev

🇧🇷
View GitHub Profile
@KlausEverWalkingDev
KlausEverWalkingDev / Como fazer perguntas inteligentes.md
Last active November 28, 2023 00:29
Como fazer perguntas inteligentes

#Name: Como fazer perguntas inteligentes
#By Eric Raymond (Tradução: César A. K. Grossmann)
#Version: N/D
#Release Date: September 4th, 2019

Como fazer perguntas inteligentes

Por: Eric Raymond Tradução: César A. K. Grossmann

@KlausEverWalkingDev
KlausEverWalkingDev / "'LÓGICA DE PROGRAMAÇÃO' É BOBAGEM, e explicarei porquê", by Paulo Torrens.md
Last active September 4, 2019 16:32 — forked from vinicius73/post.md
["LÓGICA DE PROGRAMAÇÃO" É BOBAGEM, e explicarei porquê.]

#Name: "error: gpg failed to sign the data" Fix
#By Paulo Torrens (forked from @vinicius73/post.md)
#Version: N/D
#Release Date: September 3th, 2019

#["LÓGICA DE PROGRAMAÇÃO" É BOBAGEM, e explicarei porquê.]

@KlausEverWalkingDev
KlausEverWalkingDev / "error: gpg failed to sign the data" Fix.md
Last active September 5, 2019 19:48
"error: gpg failed to sign the data" fix

#Name: "error: gpg failed to sign the data" Fix
#By KlausDevWalker
#Version: N/D
#Release Date: September 4th, 2019

#I solved this error just installing the following package on Arch Linux from AUR
$ yay libgtkhtml

#Its dependencies for building it are a drag but the package itself is tiny in size (less then 1 MB). I installed with yay and choose remove them after built

@KlausEverWalkingDev
KlausEverWalkingDev / Turn on asterisks when type passwords on Linux terminals.md
Last active September 5, 2019 19:49
Turn on asterisks when type passwords on Linux terminals

#Name: Turn on asterisks when type passwords on Linux terminals
#By KlausDevWalker
#Version: N/D
#Release Date: September 5th, 2019

#Enter on visudo
$ sudo visudo

#If no line in visudo begins with the following parameters, create it
$ Defaults env_reset,pwfeedback

@KlausEverWalkingDev
KlausEverWalkingDev / bluetooth.sh
Created October 31, 2019 22:01 — forked from RamonGilabert/bluetooth.sh
Bluetoothctl automation
#!/usr/bin/expect -f
set prompt "#"
set address [lindex $argv 0]
spawn sudo bluetoothctl -a
expect -re $prompt
send "remove $address\r"
sleep 1
expect -re $prompt
@KlausEverWalkingDev
KlausEverWalkingDev / gist:eee58677baa1722784d9557bcb67b84b
Created November 29, 2019 01:47
Ativando zram no Arch Linux (pode funcionar em outras distros)
#Name: Ativando zram no Arch Linux (pode funcionar em outras distros)
#By KlausDevWalker
#Version: N/D
#Release Date: November 28th, 2019
#!/usr/bin/bash
ATIVANDO ZRAM NO ARCH LINUX (PODE FUNCIONAR EM OUTRAS DISTROS)
#Adiciona módulo zram
@KlausEverWalkingDev
KlausEverWalkingDev / Correct_GnuPG_Permission.sh
Last active July 12, 2020 17:48 — forked from oseme-techguy/Correct_GnuPG_Permission.sh
This fixes the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error while using Gnupg .
#!/usr/bin/env bash
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error
# Make sure that the .gnupg directory and its contents is accessibile by your user.
chown -R $(whoami) ~/.gnupg/
# Also correct the permissions and access rights on the directory
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
@KlausEverWalkingDev
KlausEverWalkingDev / ssh-add.md
Created July 17, 2020 23:52 — forked from egoens/ssh-add.md
Use this if ssh key keeps asking for password
@KlausEverWalkingDev
KlausEverWalkingDev / install_ubuntu_fonts_rehat.md
Created July 25, 2020 15:32 — forked from android10/install_ubuntu_fonts_rehat.md
Install Ubuntu Fonts on RedHat/Fedora Linux

1 - Open the terminal and type below given command

cd /root
yum install wget       (you can skip this step if wget is already installed)
wget https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip (check the newest version)

2 - Check if the directory /usr/share/fonts exist. If the fonts directory do not exist,you can create yourself.