Skip to content

Instantly share code, notes, and snippets.

View jeffpamer's full-sized avatar

Jeff Pamer jeffpamer

View GitHub Profile
@jeffpamer
jeffpamer / wordpress-valet-install.md
Created September 19, 2017 19:00 — forked from orumad/wordpress-valet-install.md
How to install Wordpress from command line in Valet

How to install Wordpress from command line in Valet

I use Valet as my local web development environment (PHP, Laravel, Wordpress, ...)

This gist is my own recipe to install Wordpress from the command line to use it with Valet. Maybe this is useful for you too.

Install 'WP-CLI' command line tool

@jeffpamer
jeffpamer / 0_reuse_code.js
Created February 18, 2016 15:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jeffpamer
jeffpamer / alerts.md
Last active August 29, 2015 14:09 — forked from kaw2k/alerts.md

Thoughts on alerts

The basic question boils down to "Who should dictate if the alert is rendered?"

Parent controls all

In this situation, what you return from your render method is always rendered to the screen. Let's start by making a hypothetical API