This code is a direct copy of the code found on the Express.js site under Getting Started. I just followed installing and hello world from there to get a basic server up and running.
(index.js file
)
function rn-clean() { | |
watchman watch-del-all | |
rm -rf $TMPDIR/react-* | |
rm -rf $TMPDIR/haste-* | |
rm -rf $TMPDIR/metro-* | |
npm start -- --reset-cache | |
} |
<?php | |
/* | |
* Plugin Name: Paulund WP List Table Example | |
* Description: An example of how to use the WP_List_Table class to display data in your WordPress Admin area | |
* Plugin URI: http://www.paulund.co.uk | |
* Author: Paul Underwood | |
* Author URI: http://www.paulund.co.uk | |
* Version: 1.0 | |
* License: GPL2 | |
*/ |
<?php | |
/** | |
* File: apigen-hooks.php | |
* | |
* NOTE: this code is used internally in WPGlobus project. | |
* It's a W.I.P. - please use it, but do not forget to adapt for your project. | |
* | |
* @package WPGlobus\APIGen | |
* @author Gregory Karpinsky (@tivnet) | |
*/ |
This code is a direct copy of the code found on the Express.js site under Getting Started. I just followed installing and hello world from there to get a basic server up and running.
(index.js file
)
<?php | |
/* | |
* | |
* This small scripts creates a post and attaches a file using Advanced custom field. | |
* | |
* Created by Miguel Garrido | |
* miguel.co.nz | [email protected] | |
* | |
* Notes: |
<?php | |
// $Id$ | |
/** | |
* @file | |
* Zip class for servers without ziplib. | |
*/ | |
class PHPZip { | |
function Zip($dir, $zipfilename) { | |
if (@function_exists('gzcompress')) { |