I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static |
Data Down / Actions Up
Plain JSBin's
Ember Version Base JSBin's
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro | |
# | |
WP_OWNER=changeme # <-- wordpress owner | |
WP_GROUP=changeme # <-- wordpress group | |
WP_ROOT=/home/changeme # <-- wordpress root directory |
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
require 'mina/git' | |
require 'json' | |
set :domain, '0.0.0.0' | |
set :user, 'nodejs' | |
set :deploy_to, '/home/nodejs/api' | |
set :repository, 'git@.../api.git' | |
set :branch, 'master' | |
set :shared_paths, [ 'tmp' ] | |
set :term_mode, :pretty |
// Based on this gist: https://gist.github.com/ChrisJefferson/cb8db2a4c67a9506c56c | |
// JS Bin: https://jsbin.com/cefopi/edit?js,console | |
const cartesianProduct = (...rest) => | |
_.reduce((a, b) => | |
_.flatMap(x => | |
_.map(y => | |
x.concat([y]) | |
)(b) | |
)(a) | |
)([[]])(rest); |
WoCommerce Subscriptions processes automatic renewal payments via the following flow:
woocommerce_scheduled_subscription_payment
actions scheduled to run now or within the last minutewoocommerce_scheduled_subscription_payment
actions scheduled for anytime before now, Action Scheduler will grab a batch of those actions and begin processing them (which just means triggering do_action( 'scheduled_subscription_payment', $subscription_id )
for any 3rd party code to handle)'woocommerce_scheduled_subscription_payment'
hook to process renewal for that subscription when it is called:WC_Subscriptions_Manager::prepare_renewal()
, which is responsible for/* | |
Streamlined Shopify theme development. | |
NOTE: depends on module gulp-shopify-theme | |
npm install --save-dev yargs gulp gulp-sass gulp-changed gulp-sourcemaps gulp-autoprefixer gulp-uglify gulp-concat gulp-replace gulp-plumber gulp-babel browser-sync gulp-if del gulp-add-src gulp-rename gulp-yaml gulp-shopify-theme | |
Highlights: | |
- https proxying via BrowserSync |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOM