Skip to content

Instantly share code, notes, and snippets.

View jrarseneau's full-sized avatar

Jean-Ray Arseneau jrarseneau

View GitHub Profile
@jrarseneau
jrarseneau / markdown-import.php
Created February 26, 2018 19:16 — forked from vlucas/markdown-import.php
Imports Markdown files in a local directory into a WordPress installation
<?php
// Turn on all error reporting so we can see if anything goes wrong
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(-1);
// Relative path to your wp-config.php file (to connect to the database)
require '../wp-config.php';
require './frontmatter.php'; // Parses YAML frontmatter - https://github.com/Modularr/YAML-FrontMatter
require './Parsedown.php'; // Markdown parser - https://github.com/erusev/parsedown
@jrarseneau
jrarseneau / README.md
Created February 23, 2017 23:40 — forked from MarMed/README.md
Routing plex traffic through an SSH tunnel

#Routing plex traffic through an SSH tunnel

This guide creates a reverse SSH tunnel to route all Plex server traffic through it.

Step 2 is done on the tunnel, all other steps are done on the plex server.

#1. Setup SSH keys (if you already have key based authenthication setup skip to step 2)

On plex server:

@jrarseneau
jrarseneau / README.md
Created February 23, 2017 23:40 — forked from MarMed/README.md
Routing plex traffic through an SSH tunnel

#Routing plex traffic through an SSH tunnel

This guide creates a reverse SSH tunnel to route all Plex server traffic through it.

Step 2 is done on the tunnel, all other steps are done on the plex server.

#1. Setup SSH keys (if you already have key based authenthication setup skip to step 2)

On plex server:

@jrarseneau
jrarseneau / MailToOmniFocusYosemite.scpt
Created October 1, 2014 01:21
Mail to OmniFocus for OS X Yosemite
-- Mail to OmniFocus by J.R. Arseneau
-- http://theinterstitial.net/
--
-- Small AppleScript that works in Yosemite to mimick
-- the Clip-o-Tron from The Omni Group.
--
-- v1.0 - 30 September 2014
--
-- Known Issues:
--