Find a continuous bounded function $f:(0,1]\to \mathbb{R}$ that is not uniformly continuous. Extend $f$ with continuity in such a way that $f(0)=0$ and find the oscillation $\omega _f(0)$ of $f$ at $0$.
I'm not sure if I have to extend the function with continuity, but I think so. I'm struggling to find a function, I've tried $\sin(1/x)$ but can't extend it with continuity. Any hint?