The bulk of the work is the second remove_action, remove wp_print_head_scripts
stops the scripts from being printed in the header. The way the scripts are called and printed if they are not printed in the header they will be printed in the footer instead. The other two remove_actions are there to insure no scripts slide through.
Check out wp-includes/script-loader.php.