Let $f:[0,+\infty)$ be a continuous function that satisfies:
$f(x+q)$~$f(x)$ for $x\to\infty$ (for any $q$)
Does it follow that $f$ is uniformly continuous?
I have managed to show that if there exists $\space$ $\displaystyle\lim_{x\to\infty}\space f(x)=G\in\Bbb{R}$ $\space$ then the function must be uniformly continuos by for given $\epsilon$ picking an $N$ big enough that $\forall_{x>N} |f(x)-G|<\frac{\epsilon}{2}$ and then showing that the function is uniformly continuous on $[0,N]$ and satisfies the definition of unifom continuity for that $\epsilon$ on $[N,+\infty)$, thus proving it must be uniformly continuous,since we could have chosen any $\epsilon$.
However, that approach fails when we consider the cases where $\displaystyle\lim_{x\to\infty}\space f(x)$ is infinite or non-existent.
I've also tried to find a counterexample by experimenting with functions like $\frac{1}{x}\sin(x^{3})$ (which appeared promising since its derivative is unbounded) but so far I haven't found one and my intuition does not steer me to either of the answers.
I would appreciate any hints :)
Here's a counterexample if we only know that $\lim_{x \to +\infty} f(x+t)-f(x) = 0$ for all $t \in \mathbb{Q}$.
Let $T_n$ denote an isosceles triangle with width $\frac{1}{2n!}$ and height $n$. Let $T_n^{(j)}$ for $j=0,1,\dots,(n+1)!n!-n!n!$ be a slight morphing of $T_n$ into $T_{n+1}$ (i.e. very slightly shrinking the width and increasing the height from $j$ to $j+1$).
We let $f$ be $T_n^{(j)}$ with bottom left corner at $x=n!+\frac{j}{n!}$ ($f$ is a bunch of upward spikes).
I suspect the result is true if we require $\lim_{x \to +\infty} f(x+t)-f(x) = 0$ for all $t \in \mathbb{R}$, and that a proof will use a Baire Category Theorem argument.