Skip to content

Instantly share code, notes, and snippets.

Avatar
🇧🇷

Klaus Ferreira KlausEverWalkingDev

🇧🇷
View GitHub Profile
@KlausEverWalkingDev
KlausEverWalkingDev / bun-sde-fix-install_script.sh
Created Jul 15, 2022 — forked from spidyhackx/bun-sde-fix-install_script.sh
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.
View bun-sde-fix-install_script.sh
#!/bin/bash
# Solution provided by https://github.com/renhiyama
# (https://github.com/Jarred-Sumner/bun/issues/282#issuecomment-1177154684)
# License agreement
echo "The Intel Software Development Emulator is distributed under the Intel Software License Agreement, available at https://www.intel.com/content/dam/develop/external/us/en/documents/pdf/intel-simplified-software-license-version-august-2021.pdf"
echo ""
echo "If you do not accept the terms of the license agreement, you have 10 seconds to stop this script (Ctrl+C)"
View keybase.md

Keybase proof

I hereby claim:

  • I am KlausEverWalkingDev on github.
  • I am klausewdev (https://keybase.io/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:

View commit-message-guidelines.md

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
View XMLHttpRequest.js
/****************
* GET REQUEST *
****************/
/* 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,
View install_ubuntu_fonts_rehat.md

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.

@KlausEverWalkingDev
KlausEverWalkingDev / ssh-add.md
Created Jul 17, 2020 — forked from egoens/ssh-add.md
Use this if ssh key keeps asking for password
View ssh-add.md
@KlausEverWalkingDev
KlausEverWalkingDev / Correct_GnuPG_Permission.sh
Last active Jul 12, 2020 — 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 .
View Correct_GnuPG_Permission.sh
#!/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 / gist:eee58677baa1722784d9557bcb67b84b
Created Nov 29, 2019
Ativando zram no Arch Linux (pode funcionar em outras distros)
View gist:eee58677baa1722784d9557bcb67b84b
#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
View bluetooth.sh
#!/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
View How to create an empty stand-alone branch in Git.md