Posts
PHP: DateTime Examples
August 18, 2017
 
JQueryUI Autocomplete – single value, remote datasource
August 17, 2017
 
JQueryUI Autocomplete - multiple values, remote
August 16, 2017
 
JQuery Ajax
August 6, 2017
Basic template
$.ajax({
})
.done(function(data, textStatus, jqXHR) {
});
 
Examples of ffmpeg command lines
August 6, 2017
 
How to disable wordpress automatic updates
August 6, 2017
In wp-config.php add the following lines:
define('WP_AUTO_UPDATE_CORE', false);
define('AUTOMATIC_UPDATER_DISABLED', true);
 
How to disable wordpress revisions
June 29, 2017
In wp-config.php add the following line:
define('WP_POST_REVISIONS', false );
 
Convert a batch of wav files to mp3
June 26, 2017
In a terminal/console window type:
for file in *.wav; do ffmpeg -i "$file" "`basename "$file" .wav`.mp3"; done
 
How to disable wordpress autosave
June 25, 2017
Add the following line to wp_config.php file:
define('AUTOSAVE_INTERVAL', 60*60*60*24*365);