Skip to content

Instantly share code, notes, and snippets.

@brasofilo
brasofilo / old-upload-method.php
Last active October 5, 2018 18:11
Replace the New WP 3.5 Uploader with the Old Thickbox
<?php
/**
* Plugin Name: Old Upload Method
* Plugin URI: http://wordpress.org/support/topic/is-there-a-way-to-disable-the-new-media-manager
* Description: Replace the new media upload with the old thickbox
* Author: A.Morita, brasofilo
* Version: 1.2
* License: GPLv2 or later
*
@wycks
wycks / gist:2176359
Created March 23, 2012 23:31
PDF Cross Browser Embed Plugin Wordpress
<?php
/*
Plugin Name: PDF Cross Browser Embed
Plugin URI: http://#
Description: Embeds PDf into a post/page using default media uploader using a cross browser freindly iframe
Version: 1.0
Author: Wycks
License: GPL2
@oodavid
oodavid / README.md
Last active April 6, 2024 18:45 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/