Skip to content

Instantly share code, notes, and snippets.

Jeff Pamer jeffpamer

Block or report user

Report or block jeffpamer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 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

@jeffpamer
jeffpamer / 0_reuse_code.js
Created Feb 18, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jeffpamer
jeffpamer / wordpress-valet-install.md
Created Sep 19, 2017 — forked from orumad/wordpress-valet-install.md
How to install Wordpress from command line in Valet
View wordpress-valet-install.md

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

You can’t perform that action at this time.