- Wordpress
- Weebly
- Squarespace $
- Magnolia $
- Wix $
- Bynder $
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$EUID" -ne 0 ];then | |
>&2 echo "This script requires root level access to run" | |
exit 1 | |
fi | |
if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then | |
>&2 echo "WORDPRESS_DB_PASSWORD must be set" | |
>&2 echo "Here is a random one that you can paste:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* <js-timestamp> | |
* (assets/js/components/js-timestamp.component.js) | |
* ----------------------------------------------------------------------------- | |
* A human-readable, self-updating "timeago" timestamp, with some special rules: | |
* | |
* • Within 24 hours, displays in "timeago" format. | |
* • Within a month, displays month, day, and time of day. | |
* • Within a year, displays just the month and day. | |
* • Older/newer than that, displays the month and day with the full year. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* <stripe-card-element> | |
* ----------------------------------------------------------------------------- | |
* A wrapper for the Stripe Elements "card" component (https://stripe.com/elements) | |
* | |
* Example usage: | |
* ``` | |
* <stripe-card-element stripePublishableKey="…" v-model="formData.cardInfo"></stripe-card-element> | |
* ``` | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This goes in `assets/js/components/datepicker.component.js` | |
// ^^Remove this comment | |
/** | |
* <datepicker> | |
* ----------------------------------------------------------------------------- | |
* A wrapper for the jQuery UI datepicker, which falls back to a date input on mobile. | |
* | |
* @type {Component} | |
* | |
* @event input [emitted when the value is changed privately] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This a Nginx + PHP-FPM Configuration | |
It contains all the configurations needed to build Nginx + PHP-FPM from source and to configure the services. | |
Current setup on Nginx 1.7.9 and PHP 5.6.4 | |
If any files are missing, please request them by contacting me at [email protected] |