Skip to content

Instantly share code, notes, and snippets.

View mfrata's full-sized avatar
💭
( ͡° ͜ʖ ͡°)

Matheus Frata mfrata

💭
( ͡° ͜ʖ ͡°)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mfrata on github.
  • I am mfrata (https://keybase.io/mfrata) on keybase.
  • I have a public key ASBjJqWbU2eYlgSDnvjYV0ZqmgfnkRrUPmD71ALvX_Yulgo

To claim this, I am signing this object:

@mfrata
mfrata / set_auto_complete_case_insentive.sh
Created June 25, 2018 18:00
Bash autocomplete case insentive
echo set completion-ignore-case on | sudo tee -a /etc/inputrc
exit
@mfrata
mfrata / install_dropbox.sh
Created June 21, 2018 00:43
Install dropbox linux
wget https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_2015.10.28_amd64.deb
sudo apt install python-gtk2 -y
sudo dpkg -i ~/Downloads/dropbox_2015.10.28_amd64.deb
@mfrata
mfrata / get_columns_names.sql
Created May 28, 2018 17:29
Table columns names and data type
SELECT column_name, data_type
FROM information_schema.columns
WHERE table_schema = 'your_schema'
AND table_name = 'your_table'
@mfrata
mfrata / install_pyenv.sh
Created May 25, 2018 18:10
Instaling pyenv
# Dependecies
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev git
# Install
sudo curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
# Export variables to bashrc
echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc