Tag: setup

Mac OS X: role “postgres” does not exist

Install Postgres brew install Postgres Try to log in. $ psql -h localhost -d postgres -U postgres psql: error: could not connect to server: FATAL: role “postgres” does not exist Create the user $ /usr/local/opt/postgres/bin/createuser -s postgres Start the server $ pg_ctl -D /usr/local/var/postgres start pg_ctl: another server might be running; trying to start server anyway waiting for server to…

Neovim, Vim and Go Setup on Mac

Installing neovim pip2 install –user neovim pip3 install –user neovim If you need Homebrew’s Python 2.7 run brew install python@2 You can install Python packages with pip3 install <package> They will install into the site-package directory /usr/local/lib/python3.7/site-packages Path of neovim rc New location is ~/.config/nvim/init.vim https://github.com/zchee/deoplete-jedi/wiki/Setting-up-Python-for-Neovim – So far the most complete Go-vim setup: https://labs.signalsciences.com/setup-vim-for-golang-development Written with StackEdit.

An efficient system setup for Linux programmer – part 2

We discussed the skeleton of the setup in Part 1. This post talks of the applications and utilities that would salvage your soul and make you feel blessed of FOSS. As I am a programmer, we will strictly talk of generic development application. Gnome Connection Manager: If you know about “putty”, still read on. It is a Python-Glade based application…