Skip to content

Instantly share code, notes, and snippets.

Justin Schroeder justin-schroeder

Block or report user

Report or block justin-schroeder

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
justin-schroeder / date-format.js
Last active Jan 20, 2020
JavaScript moment-js style date formatting function
View date-format.js
* Given a date, return a format. I've always wanted a cheap way to do this
* without installing a full library.
* Credit:
* @param {Date} date
* @return {string}
export function format (date, format) {
justin-schroeder / gist:d3ef404e80a7ae658a8d
Last active Aug 10, 2018
Installing X-Sendfile on Mac OS X Yosemitee
View gist:d3ef404e80a7ae658a8d

Installing mod_xsendfile on Mac OS X (Yosemite) [Update: El Capitan]

Update: El Capitan follows the same procedures, but you may have some difficulty with the compile/install, see the secation at the bottom for specific help with El Capitan

Installing mod_xsendfile for apache is atually quite simple, however I could find very little documentation out there. Here's my attempt to help out. In order to proceeed you'll need:

You can’t perform that action at this time.