Skip to content

Instantly share code, notes, and snippets.

View KlausEverWalkingDev's full-sized avatar

Klaus Ferreira KlausEverWalkingDev

View GitHub Profile
KlausEverWalkingDev /
Created October 7, 2023 18:23 — forked from mcattarinussi/
A setup guide to use a personal gpg key for ssh authentication

GPG - SSH setup

Generating the master key

Here we create the master key. We want only Certify capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate capabilities will be assigned to the subkeys.

Run the following command to start the master key generation process. Select the set your own capabilities creation process (type 8)

  ▶ gpg --full-generate-key --expert

gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.

KlausEverWalkingDev /
Created July 15, 2022 02:52 — forked from spidy0x0/
This script automates the installation of the Intel SDE, to fix compatibility issues with older CPU's that do not support the AVX2 instruction set. It fixes the "Illegal hardware instruction" error.
# Solution provided by
# (
# License agreement
echo "The Intel Software Development Emulator is distributed under the Intel Software License Agreement, available at"
echo ""
echo "If you do not accept the terms of the license agreement, you have 10 seconds to stop this script (Ctrl+C)"

Keybase proof

I hereby claim:

  • I am KlausEverWalkingDev on github.
  • I am klausewdev ( on keybase.
  • I have a public key whose fingerprint is FCC2 EE07 A186 01EB 94B5 2F4A ECD1 FB45 090B BB90

To claim this, I am signing this object:

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
KlausEverWalkingDev / XMLHttpRequest.js
Created February 18, 2021 23:16 — forked from jesperorb/XMLHttpRequest.js
XMLHttpRequest example
/* We create a new request-object that will handle the transaction between the server/database
* and the client (me/us/the browser). */
var request = new XMLHttpRequest();
* We add a listener to the request which will listen to when the state changes,
KlausEverWalkingDev /
Created July 25, 2020 15:32 — forked from android10/
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 (check the newest version)

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

KlausEverWalkingDev /
Created July 17, 2020 23:52 — forked from egoens/
Use this if ssh key keeps asking for password
KlausEverWalkingDev /
Last active July 12, 2020 17:48 — forked from oseme-techguy/
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 / 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
#Adiciona módulo zram
KlausEverWalkingDev /
Created October 31, 2019 22:01 — forked from RamonGilabert/
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