The error was most likely caused by a brew upgrade
command that upgraded postgres and now no longer connects correctly.
You can follow the commands below but you will lose prior databases.
$ brew services stop postgres
$ cd /usr/local/var
$ ls
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
nav {background: tomato} | |
</style> |
(function() { | |
'use strict' | |
angular.module('app') | |
.service('houseService', function () { | |
this.houses = [ | |
{id: 1, name: 'Spacious two bedroom', address: '10 Main St'}, | |
] | |
this.seedHouses = function() { |
The error was most likely caused by a brew upgrade
command that upgraded postgres and now no longer connects correctly.
You can follow the commands below but you will lose prior databases.
$ brew services stop postgres
$ cd /usr/local/var
$ ls
float
vs inline-block
?inline
and inline-block
em
, rem
, px
?reset.css
vs normalize.css
display: none
vs visibility: hidden
differ?<?php | |
/** | |
* Used to run any after deploy tasks: | |
* - Migrate DB | |
* - Clear expired password reminder tokens | |
* - Clear caches | |
* - Remove any unwanted files from the server | |
*/ | |
$deploy_cleanup = function ($task) { |
<ul> | |
{{ pages:children id="1" include-children="true" }} | |
<li>{{ id }} - {{ url }} | |
{{ if children }} | |
<ul> | |
{{ children }} | |
<li>{{ id }} - {{ url }}</li> | |
{{ /children }} | |
</ul> | |
{{ endif }} |
#!/bin/bash | |
## | |
# Modified version of https://gist.github.com/3680107 | |
# | |
# Tested for use on Mac OS X 10.7.5 with Bash 3.2.48(1)-release | |
# | |
# Old module needs to be in system/cms/modules and a single word (Ex: blogs not site_blogs) | |
## |