When I feel like temptations are getting stronger and I am becoming weaker, often times I will perform a fast and it seems to help quite a bit.
I also like Gwen's idea of putting the computer in the living room and only using it when other people are around.
Keep trying and you will be fine.