Skip to content

Instantly share code, notes, and snippets.

View hotwebmatter's full-sized avatar
:octocat:
git stash pop

Matthew Obert hotwebmatter

:octocat:
git stash pop
View GitHub Profile
@mikeshiyan
mikeshiyan / .lando.yml
Last active December 19, 2023 13:33
Landofile for running PHPUnit and Nightwatch JS tests in a local Drupal repo (any branch).
name: drupal-test
recipe: drupal9
config:
webroot: .
php: 8.1
services:
appserver:
build_as_root:
# Install nodejs and yarn in the main container. They have to live here
# because PHP is required for the site installation and other ops in
@balbuf
balbuf / ssha.sh
Created November 29, 2018 19:57
SSH with local aliases applied
# establish an ssh session with the given args and apply all of your local bash aliases
# use just like you would ssh to login to a remote shell, e.g. `ssha user@host`
function ssha() {
ssh -t "$@" 'bash --init-file <(echo '"$(printf %q "$(alias)")"')'
}

Install postgresql

(The best SQL database)

Mac:

Best bet is to use http://postgresapp.com/ .

Make sure to set up your path once it's installed:

  1. Run atom ~/.bash_profile.