Download postgresql from https://www.enterprisedb.com/download-postgresql-binaries;
Unzip it;
Open a cmd;
Enter into the ‘bin’ directory;
Vagrant.configure(2) do |config| | |
config.vm.box = "phusion/ubuntu-14.04-amd64" | |
config.vm.network "forwarded_port", guest: 3306, host: 3306 | |
# If errors occur, try running "vagrant provision" manually | |
# after "vagrant up" | |
config.vm.provision :docker | |
# To use docker_compose as a provisioning tool, install | |
# vagrant-docker-compose plugin first. It should also solve the |
{ | |
"vim.easymotion": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.sneak": true, | |
"vim.easymotionMarkerBackgroundColor": "#222", | |
"vim.normalModeKeyBindings": [ | |
{ |
""" Shows how to use flask and matplotlib together. | |
Shows SVG, and png. | |
The SVG is easier to style with CSS, and hook JS events to in browser. | |
python3 -m venv venv | |
. ./venv/bin/activate | |
pip install flask matplotlib | |
python flask_matplotlib.py | |
""" |
Download postgresql from https://www.enterprisedb.com/download-postgresql-binaries;
Unzip it;
Open a cmd;
Enter into the ‘bin’ directory;
@ECHO ON | |
:: Save the directory where we are | |
pushd %CD% | |
echo %CD% | |
:: Shift directories to the correct path | |
%~d0 | |
cd %~dp0 |