Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sstjohn on github.
  • I am sstjohn (https://keybase.io/sstjohn) on keybase.
  • I have a public key whose fingerprint is 2BE7 1E2A 2EAA 69AB 8B5B 10DC 3CC3 9B69 A0DD 4D42

To claim this, I am signing this object:

FROM debian:jessie
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y \
screen \
vim-nox \
openssl \
mariadb-server-10.0 \
nginx \
php5-fpm \
<?php
if (!defined('GNUSOCIAL')) { exit(1); }
// FIXME: To support remote video/whatever files, this plugin needs reworking.
class StoreRemoteMediaPlugin extends Plugin
{
// settings which can be set in config.php with addPlugin('Oembed', array('param'=>'value', ...));
// WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings