Posts
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);