Posts
JQuery Ajax
August 6, 2017
Basic template
$.ajax({
})
.done(function(data, textStatus, jqXHR) {
});
 
Examples of ffmpeg command lines
August 6, 2017
Examples of ffmpeg command lines
- Convert video mp4 to audio only mp3
 
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);