Disable Wifi and Bluetooth on Raspbery Pi

Edit the file /boot/config.txt and add the following lines to disable Wifi and Bluetooth:

dtoverlay=disable-wifi
dtoverlay=disable-bt