Skip to content

Instantly share code, notes, and snippets.

@matheusmota
matheusmota / php7.2-apache-pgsql.Dockerfile
Last active September 6, 2018 20:14 — forked from ben-albon/php5.6-pgsql.Dockerfile
Docker PHP 7 Image with PostgreSQL Driver (pgsql)
FROM php:7.2.9-apache
RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql pgsql
COPY src/ /var/www/html
@matheusmota
matheusmota / .bash_aliases
Last active March 13, 2019 19:10
my bash_aliases
We couldn’t find that file to show.
export FROM_HOME_FOLDER=/home/matheus
export TO_BACKUP_FOLDER=/home/matheus/backup
cp $TARGET_HOME_FOLDER/.bashrc $TO_BACKUP_FOLDER/
cp $TARGET_HOME_FOLDER/.bash_history $TO_BACKUP_FOLDER/
cp $TARGET_HOME_FOLDER/.bash_aliases $TO_BACKUP_FOLDER/
cp $TARGET_HOME_FOLDER/.gitconfig $TO_BACKUP_FOLDER/
##ssh
cp $TARGET_HOME_FOLDER/.ssh $TO_BACKUP_FOLDER/ -R
My Ubuntu Gnome configurations
@matheusmota
matheusmota / Badger for binderhub.md
Last active June 6, 2019 19:51
My own badges for launching repositories at Binder (BinderHub mybinder.org) and Google Colaboratory ( Jupyter / Jupyter Lab / RStudio )

My library of badges for binderhub.

@matheusmota
matheusmota / Python_Matplotlib_Cheat_Sheet.pdf
Created October 5, 2018 01:07
Python_Matplotlib_Cheat_Sheet.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@matheusmota
matheusmota / dataviz-reference.png
Last active June 15, 2019 18:43
References for DataViz - Choosing a good graph
dataviz-reference.png

Installation

sudo apt-get -y install python3-pip
sudo apt-get -y install npm nodejs
sudo npm install -g configurable-http-proxy
sudo pip3 install jupyterhub jupyterlab

Running jupyterhub as a system service

A step by step guide