Skip to content

Instantly share code, notes, and snippets.

View pivanov's full-sized avatar
:octocat:

Pavel Ivanov pivanov

:octocat:
  • TeachableHub, SashidDo, CloudStrap, Mozilla
  • Bulgaria
View GitHub Profile
// Bug fixes for current versions.
//
// This server will start a bash shell and expose it
// over socket.io to a browser. See ./term.html for the
// client side.
//
// You should probably:
//
// npm install socket.io
<?php
/* ======================================================
This script is NOT FULLY TESTED (not tested on Windows Server either)
USE AT YOUR OWN RISK - development environment Ubuntu Linux 14.04.3 LTS
The purpose of this script is for small websites and blogs
to have their existing media to work through Amazon S3
There's a great plugin, WP Offload S3, that we'll be tapping
into...it works great for new media, but this is a quick