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 |
| #include <Python.h> | |
| /***********************************************************/ | |
| /* define logging function and logtypes for python.logging */ | |
| /* by H.Dickten 2014 */ | |
| /***********************************************************/ | |
| enum logtypes {info, warning, error, debug}; | |
| static void log_msg(int type, char *msg) | |
| { |
| [ | |
| // | |
| // VIM NAVIGATION SHORTCUTS | |
| // | |
| { | |
| // "ctrl+h": Focuses on the left editor group when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
| "key": "ctrl+h", | |
| "command": "workbench.action.focusLeftGroup", | |
| "when": "editorTextFocus && vim.active && vim.mode != 'Insert'" |