View function-alt.php
<?php
function my_login_redirect( $redirect_to, $request, $user ) {
$redirect_to = home_url() . '/members/';
return $redirect_to;
}
add_filter( 'login_redirect', 'my_login_redirect', 10, 3 );
View sticky-alert-options.js
$(document).ready(function() {
$('#alert-container').stickyalert({
barColor: '#222', // alert background color
barFontColor: '#FFF', // text font color
barFontSize: '1.1rem', // text font size
barText: 'I like bass and car audio :)', // the text to display, linked with barTextLink
barTextLink: 'http://test-tyler-longren.pantheonsite.io/', // url for anchor
cookieRememberDays: '2', // in days
displayDelay: '3000' // in milliseconds, 3 second default
});
View insert-posts.php
<?php
// Load WordPress
require_once 'path/to/www/wp-load.php';
require_once ABSPATH . '/wp-admin/includes/taxonomy.php';
// Set the timezone so times are calculated correctly
date_default_timezone_set('Europe/London');
// Create post
View rss-via-shortcode.php
<?php
/*
Plugin Name: RSS Via Shortcode for Page & Post
Version: 1.2.b
Plugin URI: http://susantaslab.com/
Description: Makes it easy to display an RSS feed on a page
Author: Susanta K Beura
Author URI: http://susantaslab.com/
License: GPL v2
Usages: [rssonpage rss="Feed URL" feeds="Number of Items" excerpt="true/false" target="_blank|_self"]
View pug-bomb.php
<?php
/*
Plugin Name: Pug Bomb API Endpoint
Description: Adds an API endpoint at /api/pugs/$n_pugs
Version: 0.1
Author: Brian Fegter
Author URL: http://coderrr.com
*/
class Pugs_API_Endpoint{
View README.md

Running WordPress on sloppy.io

The official wordpress and mysql image combined for a sloppy.io project. You can extend the json with more variables from the official images.

Start it

sloppy start wordpress.json  -var=USERNAME:username,URI:mydomain.sloppy.zone,DBUSER:db-user-for-wordpress,DBPASS:db-password-for-wordpress,DBROOT:db-root-password
where USERNAME has to be your  sloppy.io username
Example:
View config.json
{
"api_url": "https://status.longrendev.io/api/v1",
"api_token": "TfmCMdxDhU5myguKNlW5",
"monitors": [
{
"name": "nodegear frontend",
"url": "https://nodegear.io/ping",
"metric_id": 1,
"threshold": 80,
"component_id": null,
View error.log
2015/10/12 07:34:50 [error] 16512#0: *33391 connect() failed (113: No route to host) while connecting to upstream, client: 69.66.102.168, server: status.platform.longrendev.io, request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.17.0.231:5000/favicon.ico", host: "status.platform.longrendev.io", referrer: "http://status.platform.longrendev.io/"
2015/10/12 07:42:24 [error] 16512#0: *33416 connect() failed (113: No route to host) while connecting to upstream, client: 69.66.102.168, server: status.platform.longrendev.io, request: "GET / HTTP/1.1", upstream: "http://172.17.0.231:5000/", host: "status.platform.longrendev.io"
2015/10/12 07:42:27 [error] 16512#0: *33416 connect() failed (113: No route to host) while connecting to upstream, client: 69.66.102.168, server: status.platform.longrendev.io, request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.17.0.231:5000/favicon.ico", host: "status.platform.longrendev.io", referrer: "http://status.platform.longrendev.io/"
2015/10/12 07:42:36 [error] 16512#0
View pretty.json
{
"items":[
{
"address":"someemail1@yahoo.com",
"code":"554",
"error":"554 delivery error: dd This user doesn't have a yahoo.com account (someemail1@yahoo.com) [0] - mta1481.mail.ne1.yahoo.com",
"created_at":"Thu, 07 May 2015 23:07:47 UTC"
},
{
"address":"someemail2@gmail.com",
View resume.md

Tyler Longren - Full Stack Web Developer

415 Main Street, Collins, IA, 50055
Phone: (515) 999-5033
Email: tyler@longren.io or tlongren@gmail.com
Online Portfolio: https://longrendev.io/
Blog: https://longren.io/

Skills Summary:

I have fourteen years of experience creating and designing web sites with PHP and MySQL, and have been using JavaScript for the past 10 years. I also have ten years of experience administering Linux servers and ten years of networking experience. I have a full working knowledge of Git, CSS3, PHP, MySQL, WordPress, HTML5, as well as many Open Source and Microsoft applications.