Finishing this guide you'll get:
- A running WordPress installation
- Nginx proxy with PHP and Fast CGI
- MySQL server accessible with phpMyAdmin
Specification of latest running installation:
- Date: 03.03.2014
<form method="GET" action="YOUR_JOBS_PAGE_URL"> | |
<p> | |
<label for="keywords">Keywords</label> | |
<input type="text" id="search_keywords" name="search_keywords" /> | |
</p> | |
<p> | |
<label for="keywords">Location</label> | |
<input type="text" id="search_location" name="search_location" /> | |
</p> | |
<p> |
<?php | |
$last_changed = wp_cache_get( 'last_changed', 'posts' ); | |
if ( ! $last_changed ) { | |
$last_changed = microtime(); | |
wp_cache_set( 'last_changed', $last_changed, 'posts' ); | |
} | |
global $wpdb; |
Finishing this guide you'll get:
Specification of latest running installation:
<?php | |
# Load slim WP | |
define( 'WP_USE_THEMES', false ); | |
require( './wp-load.php' ); | |
# http://phpexcel.codeplex.com/ | |
require_once dirname(__FILE__) . '/Classes/PHPExcel.php'; | |
global $wpdb; | |
$query = "SELECT * FROM $wpdb->comments |
Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.
# | |
# MIGRATE MySQL4 DATABASES TO MySQL5 - Steps for dumping and converting | |
# | |
# Uses mysqldump and patches output to be compatible with MySQL 5.5+ (? - no sure | |
# at which specific release of MySQL 5 the old style syntax support ended). | |
# | |
# Conversion is most likely incomplete. This script provides replacement routines | |
# based on what I stumbled upon when migrating a couple of databases. | |
# | |
# Use on own risk, always try with test databases first. No warranty at all! |
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
(function($,sr){ | |
// debouncing function from John Hann | |
// http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ | |
var debounce = function (func, threshold, execAsap) { | |
var timeout; | |
return function debounced () { | |
var obj = this, args = arguments; | |
function delayed () { |
<?php | |
// REQUIRED PARAMETERS | |
$status = 'http://www.mylink.com'; | |
$email = '[email protected]'; | |
$pass = 'yourpassw0rd'; |