The best way is to create another username and delete the previous one and format all the other partitions with your custom content. However, if you want to donate it, it's best to just format the whole system and install the OS again (Linux, Windows, etc). If you delete the username, someone skilled enough can still get your data from the previous account.