hp Adaptivity

Dear all,

I was wondering if it would be possible to code hp adaptivity in NGSolve. I know that there are some i-tutorials on h-adaptivity in NGSolve Docs, and I found this post in the forum where p refinement is discussed but unfortunately, the example codes are no longer downloadable.