Skip to content

Commit fa2744a

Browse files
committed
New image for jupyter
2 parents e29ff00 + 751f4ee commit fa2744a

14 files changed

Lines changed: 376 additions & 561 deletions

File tree

mysql-101/main.tex

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
\documentclass{beamer}[10]
22

3-
\input{partecstyle.tex}
3+
% Set par-tec and event logo
4+
\newcommand{\mainlogo}{
5+
\hspace{5pt}\includegraphics[height=1cm]{par-tec-logo.png}
6+
}
7+
\newcommand{\eventlogo}{
8+
\hspace{210pt}\includegraphics[height=1.2cm]{}
9+
}
10+
11+
12+
\input{partecstyle-2016.tex}
13+
414

515
\title{MySQL 101}
616
%\subtitle{EuroPython 2014, $24^{th}$ July - Berlin}

python-for-sysadmin/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
# Docker image for ipython notebook and various
33
# python courses
44
#
5-
FROM jupyter/notebook
5+
FROM python:2.7
66
77

8+
RUN apt-get -y update && apt-get -y install gcc make python-dev python-pip
9+
RUN apt-get -y update && apt-get -y install build-essential libblas-dev liblapack-dev gfortran libfreetype6-dev libpng-dev
10+
RUN apt-get -y clean
11+
12+
813
COPY requirements.txt /requirements.txt
914

1015
# install requirements for both py2 and py3
16+
RUN pip2 install -U pip
1117
RUN pip2 install -r /requirements.txt
1218
RUN pip install -r /requirements.txt
1319

python-for-sysadmin/README.setup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Just run:
3333
## Linux Ubuntu
3434
Just run
3535

36-
apt-get install ipython python-pip python-psutil python-nose python-scipy python-numpy python-matplotlib
36+
apt-get install ipython python-pip python-psutil python-nose python-scipy python-numpy python-matplotlib tree dstat
3737

3838

3939
## Linux Red Hat / Centos / Fedora
@@ -43,7 +43,7 @@ Install the EPEL repository
4343

4444
Then install ipython and python-pip
4545

46-
yum install ipython python-pip python-psutil
46+
yum install ipython python-pip python-psutil tree dstat
4747

4848

4949
## Mac OS and Windows (easy way)

python-for-sysadmin/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ sysadminpy:
99
volumes:
1010
- ./rendered_notebooks:/notebooks
1111

12+
test:
13+
image: jupyter/notebook
14+
volumes:
15+
- .:/notebooks
16+
entrypoint: tail -f /etc/hosts

0 commit comments

Comments
 (0)