This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is how I got some of the window management gestures working on linux mint with the cinnamon frontend: | |
#install your stuff | |
sudo apt-get install xorg-xserver-mtrack xbindkeys xdotool | |
#fix mtrack conf | |
sudo mv /usr/share/X11/xorg.conf.d/50-mtrack.conf /usr/share/X11/xorg.conf.d/60-mtrack.conf | |
#configure xbindkeys | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: wait for db to come up | |
shell: until /usr/bin/pg_isready; do sleep 1; done | |
args: | |
executable: /bin/bash | |
changed_when: false | |
delegate_to: "{{ database_host }}" | |
become_user: postgres | |
run_once: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# handy for waiting for postgres to restore/catch up to master | |
- name: wait for db to come up | |
shell: until /usr/bin/pg_isready; do sleep 1; done | |
args: | |
executable: /bin/bash | |
changed_when: false | |
delegate_to: "{{ database_host }}" | |
become_user: postgres | |
run_once: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM osgeo/gdal:ubuntu-small-latest | |
RUN apt-get update && \ | |
apt-get install -y python3-dev python3-pip | |
RUN pip install --upgrade pip | |
RUN pip install wheel | |
RUN pip install mapa | |
ENTRYPOINT jupyter notebook /usr/local/lib/python3.8/dist-packages/mapa/mapa.ipynb --allow-root --ip 0.0.0.0 | |
# docker run --rm -it -p 8888:8888 mapa |