This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install -y texlive texlive-latex-extra texlive-lang-portuguese texlive-fonts-recommended texlive-extra-utils texlive-generic-extra texlive-lang-portuguese texlive-latex-extra texlive-pictures texlive-plain-extra texlive-publishers texlive-science-doc texlive-science; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\begin{document} | |
Este é meu primeiro documento escrito com Latex!! | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdflatex meu-documento.tex | |
ou | |
pdflatex /caminho/para/meu-documento.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ver as informações de autor e comitador | |
git log --pretty=fuller | |
# faz a substutuição | |
git filter-branch -f --commit-filter ' | |
if [ "$GIT_AUTHOR_EMAIL" = "[email protected]" ]; | |
then | |
GIT_AUTHOR_NAME="Ricardo Pereira"; | |
GIT_AUTHOR_EMAIL="[email protected]"; | |
GIT_COMMITTER_NAME="Ricardo Pereira"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET SESSION sql_mode = 'STRICT_ALL_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Better Align | |
Descrição: Alinha o código com base em dois pontos(:), atribuições(=,+=,-=,*=,/=) e cetas (=>) | |
Site: https://github.com/WarWithinMe/better-align | |
GitLens — Git supercharged | |
Descrição: Várias funcionalidades para Git. Blame para linha, hovers, gotas (na numeração de linhas do editor) | |
Site: https://gitlens.amod.io/ | |
PHP Getters & Setters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HandBrake | |
Descrição: Conversão, corte e edição videos | |
Instalar: sudo apt install handbrake | |
Wanna | |
Descrição: Todo list para ubuntu | |
Instalar: https://github.com/mkermani144/wanna/releases | |
sudo dpkg -i wanna.deb | |
sudo apt-get install -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# seta o separados interno para quebras de linha | |
IFS=$'\n'; | |
# lista todos os objetos com seus tamanhos, odenados por tamanho | |
objects=`git verify-pack -v .git/objects/pack/pack-*.idx | grep -v chain | sort -k3nr | head` | |
echo "Todos os tamanhos estão em kB's. A coluna pack é o tamanho do objeto, comprimido, dentro do arquivo do pacote." | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD |
OlderNewer