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
<?php | |
add_action( 'my_cron_action', 'do_magic' ); | |
function do_magic() { | |
// do something every hour | |
} |
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
<?php | |
register_activation_hook( __FILE__, 'my_cron_activation' ); | |
function my_cron_activation() { | |
wp_schedule_event( time(), 'minute', 'my_cron_action' ); | |
} |
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
"lessons" : [ | |
{ | |
"title" : "I'm a rating question dude!", | |
"content" : "<p>This i sthe content input</p>", | |
"action" : { | |
"title" : "Some Rating fields!!!!", | |
"icon" : "dollar", | |
"type" : "rating", | |
"content" : "This is where the question or action description goes. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.", | |
"time": "10", |
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
{ | |
"version" : 1.0, | |
"name" : "podcast", | |
"primary_color" : "", | |
"accent_color" : "#0000ff", | |
"text_color": "", | |
"header" : { | |
"header_img" : "//impactful.io/tutorize/app/assets/images/bg-header.jpg", | |
"title" : "New! How to Start a Podcast<br>Step-By-Step Podcasting Tutorial" | |
}, |
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
{ | |
"version": 1.0, | |
"name": "podcast", | |
"primary_color": "", | |
"accent_color": "#0000ff", | |
"text_color": "", | |
"header": { | |
"header_img": "http://impactful.io/tutorize/app/assets/images/bg-header.jpg", | |
"title": "The About Page Path" | |
}, |
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
{ | |
"version": 1.0, | |
"name": "podcast", | |
"primary_color": "", | |
"accent_color": "#0000ff", | |
"text_color": "", | |
"header": { | |
"header_img": "//impactful.io/tutorize/app/assets/images/bg-header.jpg", | |
"title": "Find the Best Online Niche for your Business" | |
}, |
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
{ | |
"version": 1.0, | |
"name": "podcast", | |
"primary_color": "", | |
"accent_color": "#0000ff", | |
"text_color": "", | |
"header": { | |
"header_img": "//impactful.io/tutorize/app/assets/images/bg-header.jpg", | |
"title": "Find the Best Online Niche for your Business" | |
}, |
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
{ | |
"version": 1.0, | |
"name": "podcast", | |
"primary_color": "", | |
"accent_color": "#0000ff", | |
"text_color": "", | |
"header": { | |
"header_img": "//impactful.io/tutorize/app/assets/images/bg-header.jpg", | |
"title": "Who is Your Customer?" | |
}, |
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
FROM dockerfile/nodejs | |
MAINTAINER Enrique Chavez <noone@tmeister.net> | |
# use changes to package.json to force Docker not to use the cache | |
# when we change our application's nodejs dependencies: | |
ADD package.json /tmp/package.json | |
RUN cd /tmp && npm install | |
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/ | |
# From here we load our application's code in, therefore the previous docker |