Skip to content

Instantly share code, notes, and snippets.


Eli Flores eliflores

View GitHub Profile
eliflores /
Created Nov 11, 2019
Python Intro from Django Girls Tutorial
def hi(name):
print('Hi ' + name + '!')
girls = ['Ely', 'Abril', 'Anita', 'Meli', 'You']
for name in girls:
print('Next girl')
for i in range(1, 6):
eliflores /
Last active Feb 4, 2021
Java versions
eliflores /
Last active Feb 5, 2018
Install and configure Oh My Zsh in MacOS! :)

Oh My Zsh in MacOS

  1. Run brew install zsh zsh-completions
  2. Run zsh --version - expected output is zsh 4.3.9
  3. Install Oh My Zsh ->
  • Via curl: sh -c "$(curl -fsSL"
  1. Setup your favorite theme:
  • In the ~/.zshrc file look for the ENV var: ZSH_THEME= and set it to the name of your favorite theme, mine is: awesomepanda.
  1. Get some of your favorite plugins and set them up in the ~/.zshrc file, e.g.
eliflores / github-aliases
Last active Nov 21, 2017
Github Aliases
View github-aliases
# From:
# Run this on your command line:
$ git config --global checkout ## git co
$ git config --global branch ## git br
$ git config --global commit ## git ci
$ git config --global status ## git st
$ git config --global alias.pu status ## git pu
## git last -- will give you the last commit
$ git config --global alias.last 'log -1 HEAD'
eliflores / homebrew-install-specific-version-of-postgresql.txt
Created Dec 16, 2015
Homebrew - Install Specific Version of PostgreSQL
View homebrew-install-specific-version-of-postgresql.txt
# These are the steps I followed to install a specific version of PostgreSQL using Homebrew
brew search postgresql
# You will get a list of versions, pick the one you are looking for and use that next
# e.g. 'homebrew/versions/postgresql92'
brew install homebrew/versions/postgresql92
# If you get an error like:
# Error: An unexpected error occurred during the `brew link` step
# The formula built, but is not symlinked ....