I lost the code of my particle

Hey there and welcome to the community!

As you'll find in the topics below:

There's really no way to get your code off the device again after it's been compiled into a .bin file. You can extract the .bin, and flash that to other devices, but you won't be able to see the code.