Skip to content

Instantly share code, notes, and snippets.

@gilvaju
Last active November 23, 2020 13:46
Show Gist options
  • Save gilvaju/6310f580c00b5898e982caf6b19961a5 to your computer and use it in GitHub Desktop.
Save gilvaju/6310f580c00b5898e982caf6b19961a5 to your computer and use it in GitHub Desktop.
# to install php_pgqsl with asdf
PHP_CONFIGURE_OPTIONS="--with-pgsql --with-openssl=/usr/include/openssl" asdf install php 7.4.12
# Se você estiver usando um terminal gráfico como Terminal ou Terminix
# NÃO SE ESQUEÇA de editar o perfil para “Executar comando como shell
# de login / Run command as login shell”
# EM CONSTRUCAO, NAO EXECUTAVEL AINDA
# remove packages unecessary
sudo pacman -Rns $(pacman -Qtdq)
# set up for keyboard layouts
setxkbmap -model abnt2 -layout br
# Install ulauncher
git clone https://aur.archlinux.org/ulauncher.git
cd ulauncher
makepkg -is
# add i3wm config
bindsym $mod+d exec ulauncher
# primary packages
# sudo pacman -Sy --needed base-devel wget expac yajl openssh git dmenu synapse xclip gnome-terminal chromium dmenu --noconfirm
# general packages
# devmon - http://tutos.readthedocs.io/en/latest/source/Arch.html
# nss jq xsel networkmanager --> valet-linux
trizen -Syu --devel --aur
trizen -S stacer microsoft-edge-dev-bin visual-studio-code-insiders nerd-fonts-fira-code neofetch simplenote-electron-bin
trizen -S google-chrome whatsapp-desktop nautilus telegram-desktop spotify vlc polybar-git devmon ntfs-3g deepin-screenshot vokoscreen nodejs yarn fish ckb-next-git reflector php nss jq xsel networkmanager mariadb visual-studio-code-bin jetbrains-toolbox pavucontrol gitkraken docker composer arandr xdg-utils otf-fira-code inkscape gimp krita-git pulseaudio xdotool nerd-fonts-complete feh lxappearance clipit playerctl --noconfirm
# change default shell
chsh -s /usr/bin/fish
curl -L https://get.oh-my.fish | fish
chmod 400 ~/.ssh/id_rsa
# fish_update_completions
# https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Themes.md#bobthefish
# https://github.com/ryanoasis/nerd-fonts
# https://powerline.readthedocs.io/en/master/installation/linux.html#fonts-installation
# some packages for frontend developer
yarn global add vue-cli quasar-cli live-server
composer global require cpriego/valet-linux
# docker
https://docs.docker.com/compose/install/#install-compose
systemctl start docker
sudo gpasswd -a gilvaju docker
sudo usermod -a -G docker gilvaju
#####################################################################################
# mariadb
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl start mysqld
sudo mysql_secure_installation
sudo systemctl status mysqld
# para audio
gpg --recv-keys 5CC908FDB71E12C2 #
# atualizando o sistema
sudo reflector -l 10 --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -Syyuu --noconfirm --force
yaourt -Syyuua --noconfirm
# fonts --> mv to ~/.fonts
https://github.com/supermarin/YosemiteSanFranciscoFont
http://fontawesome.io/
# change to font San Francisco Display (TAMANHO DA FONTE)
.gtkrc-2.0
.config/gtk-3.0/settings.ini
# volume -- instalar o pulse audio
# https://www.reddit.com/r/i3wm/comments/2wbv8x/question_how_to_manage_audio_with_i3/
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound
# https://wiki.archlinux.org/index.php/spotify#Global_media_hotkeys
playerctl play-pause
playerctl next
playerctl previous
timedatectl set-timezone UTC
#################################### fish
# Define alias in shell
alias rmi "rm -i"
# Define alias in config file
alias rmi="rm -i"
# This is equivalent to entering the following function:
function rmi
rm -i $argv
end
# Then, to save it across terminal sessions:
funcsave rmi
# rise i3
https://www.youtube.com/watch?v=ARKIwOlazKI
https://github.com/supermarin/YosemiteSanFranciscoFont
https://github.com/bookercodes/dotfiles/blob/ubuntu/.i3/config
https://github.com/nicohood/arc-theme
https://aur.archlinux.org/packages/moka-icon-theme-git/
https://wiki.archlinux.org/index.php/Compton
https://wiki.archlinux.org/index.php/Rofi
https://www.youtube.com/watch?v=eaBf_yFHps8
https://raw.githubusercontent.com/LukeSmithxyz/voidrice/master/.Xdefaults
https://coderwall.com/p/z9dtiw/copy-paste-text-in-urxvt-rxvt-unicode-using-keyboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment