No, I didn't write it. I'll try to find the source I copied it from and the license too.