Skip to content

Instantly share code, notes, and snippets.

Working from home

José Juan Reyes Zuñiga neodevelop

Working from home
View GitHub Profile



h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
neodevelop / .vimrc
Created Jul 25, 2021 — forked from lorenzosinisi/.vimrc
Vimrc config for Elixir
View .vimrc
" Lorenzo Sinisi Vimrc configuration
set nocompatible
syntax on
set nowrap
set ignorecase
set smartcase
set encoding=utf8
set mouse=nicr
neodevelop /
Created May 5, 2020 — forked from AtulKsol/
Solution of psql: FATAL: Peer authentication failed for user “postgres” (or any user)

psql: FATAL: Peer authentication failed for user “postgres” (or any user)

The connection failed because by default psql connects over UNIX sockets using peer authentication, that requires the current UNIX user to have the same user name as psql. So you will have to create the UNIX user postgres and then login as postgres or use sudo -u postgres psql database-name for accessing the database (and psql should not ask for a password).

If you cannot or do not want to create the UNIX user, like if you just want to connect to your database for ad hoc queries, forcing a socket connection using psql --host=localhost --dbname=database-name --username=postgres (as pointed out by @meyerson answer) will solve your immediate problem.

But if you intend to force password authentication over Unix sockets instead of the peer method, try changing the following pg_hba.conf* line:


View Git aliases for fish
# migrating from
# Aliases
alias g='git'
#compdef g=git
alias gst='git status'
#compdef _git gst=git-status
alias gd='git diff'
#compdef _git gd=git-diff
alias gdc='git diff --cached'
neodevelop /
Created Jun 12, 2017 — forked from terrancesnyder/
./ - example with defaults set for minimal time spent in garbage collection
#! /bin/sh
# ==================================================================
# ______ __ _____
# /_ __/___ ____ ___ _________ _/ /_ /__ /
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / /
# / / / /_/ / / / / / / /__/ /_/ / /_ / /
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/
# Multi-instance Apache Tomcat installation with a focus
# on best-practices as defined by Apache, SpringSource, and MuleSoft
neodevelop /
Created May 10, 2017 — forked from rosswd/
Setting up a Github and Bitbucket account on the same computer.

Setting up github and bitbucket on the same computer

Github will be the main account and bitbucket the secondary.

Create SSH Keys

ssh-keygen -t rsa -C "github email"

Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.

neodevelop / Writing Tools Writeup.markdown
Created Dec 8, 2016 — forked from mojavelinux/Writing Tools Writeup.markdown
How To Write A Technical Book (One Man's Modest Suggestions)
View Writing Tools Writeup.markdown
View Rakefile
require File.join(File.dirname(__FILE__), 'version')
require 'motion/project'
require 'bundler'
neodevelop /
Created Nov 22, 2012 — forked from valotas/
Tomcat init.d script
# tomcat7 This shell script takes care of starting and stopping Tomcat
# chkconfig: - 80 20
# Provides: tomcat7
# Required-Start: $network $syslog
# Required-Stop: $network $syslog