- Remove the old postmaster.pid file:
trash /usr/local/var/postgres/postmaster.pid
# or rm /usr/local/var/postgres/postmaster.pid
- Restart the postgresql service:
brew services restart postgresql
trash /usr/local/var/postgres/postmaster.pid
# or rm /usr/local/var/postgres/postmaster.pid
brew services restart postgresql
I hereby claim:
To claim this, I am signing this object:
# Make sure you don't have this already | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" | |
# | |
# Custom Status Bar Variables | |
# | |
iterm2_print_user_vars() { | |
# extend this to add whatever | |
# you want to have printed out in the status bar | |
iterm2_set_user_var nodeVersion $(node -v) |
#pbcopy < ~/.ssh/id_rsa.pub | |
#or | |
cat ~/.ssh/id_rsa.pub | pbcopy |
{ | |
"singleQuote": true, | |
"trailingComma": "all", | |
"overrides": [ | |
{ | |
"files": ["*.scss"], | |
"options": { "singleQuote": false } | |
}, | |
{ | |
"files": ".prettierrc", |
/* More shapes: https://css-tricks.com/the-shapes-of-css */ | |
/* Yin-Yang by Alexander Futekov */ | |
#yin-yang { | |
width: 96px; | |
box-sizing: content-box; | |
height: 48px; | |
background: #eee; | |
border-color: red; |
// Universal Box Sizing with Inheritance | |
// via: https://css-tricks.com/box-sizing/#article-header-id-6 | |
html { | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
box-sizing: inherit; | |
} |
/* | |
* Flexbox grid SCSS library | |
* Author: Roman Hargrave | |
* License: ASL 2.0 | |
* The smallest grid system ever designed? | |
* */ | |
@mixin flex-grid($classname: 'flexg', $columns: 16, $gutter: 0, $col-gutter: 10px) { | |
$column_name-format: #{$classname}-c-; |
// Gradients | |
// Horizontal gradient, from left to right | |
// | |
// Creates two color stops, start and end, by specifying a color and position for each color stop. | |
// Color stops are not available in IE9 and below. | |
@mixin gradient-horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) { | |
background-image: -webkit-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+ |