Skip to content

Instantly share code, notes, and snippets.

View eiberham's full-sized avatar
:shipit:
Learning

Abraham Cedeño eiberham

:shipit:
Learning
View GitHub Profile
@eiberham
eiberham / installer.txt
Last active October 4, 2020 08:39
How to create a mac os x app with python
# first off, install py2app package.
# docs --> https://py2app.readthedocs.io/en/latest/install.html#installing-with-pip
pip3 install -U py2app
# then go to python project's root directory, and run py2applet --make-install command:
py2applet --make-install script.py
# the above command will generate a setup.py file, we must edit it in case we were using
@eiberham
eiberham / cleanup.sh
Last active July 13, 2020 00:26
Keep your local repository clean
#!/bin/sh
# cleanup of local repository
set -e
echo "*** Listing branches already merged to develop *** \n"
git checkout develop > /dev/null 2>&1