Skip to content

Instantly share code, notes, and snippets.

Setup

To install Oh My Zsh run the following command:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Extensions

echo "Are you sure you want to install Arch? (Y/n)"
read confirmation_answer
if [ "$confirmation_answer" != "Y" ]
then
exit
fi
echo "Where Arch will be installed? (e.g, /dev/sda or /dev/nvme0n1)"
read target_location

Check the internet

Run:

wifi-menu

Xorg

Arch Linux recipe

Keyboard

If the keyboard is not American layout, load the target keyboard layout by running the following command:

loadkeys br-abnt2
#include <Windows.h> // Para a janela de selecionar o arquivo
#include <string>
#include <cstring>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
// Abre a janela para selecionar uma imagem.
sf::Texture LoadTexture(void);
#include <iostream>
#ifdef NDEBUG
inline std::ostream& finish(std::ostream& os)
{
return (os << std::endl);
}
#else
inline std::ostream& finish(std::ostream& os)
{