#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
#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 |
#!/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)" |
#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
I hereby claim:
To claim this, I am signing this object:
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
/**************** | |
* 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, |
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.
Credit to answer found here http://stackoverflow.com/questions/21095054/ssh-key-still-asking-for-password-and-passphrase
This will ask you for the passphrase, enter it and it won't ask again.
ssh-add ~/.ssh/id_rsa &>/dev/null
#!/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 |
#!/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 |