^ I feel 'ya. Last time I was in detox, I had one of the best addiction therapists I've ever had. Here's some stuff from her handouts that was helpful to me in the beginning. I only have between 7-8 months, but I can tell you it becomes much, much easier as time passes and it just becomes a natural thing not to use. Hope this helps:
1. Visualization - picturing a lever or switch in your mind and imagining yourself moving it from on to off to stop the using thoughts. Have another mental picture ready to think about in place of those thoughts. You may need to change what you are doing to make this switch.
2. Snapping (I use this a lot) - wear a rubber band loosely on the wrist. Each time you become aware of using thoughts, snap the band and force yourself to think about another subject. Have a subject that is meaningful and interesting to you.
3. Relaxation/grounding - inhale deeply and exhale slowly three times. Clear your mind and do your best to be present in the moment. Feel and experience the surface you are sitting on, the smells around you. If you do this with your eyes open, take in your surroundings in detail. Be completely objective and do not let judgment creep into these thoughts. Instead of thinking, "that chair over there is dirty," just think, "there's a chair over there." Mentally describe an everyday activity in great detail like preparing a meal. Say a soothing phrase to yourself (the AA Serenity prayer works for me). The possibilities are endless.
4. Talking (this is the best and most effective for me) - CALL SOMEONE! There is a reason they pass around a piece of paper for phone lists whenever there is a newcomer at a twelve step meeting. Or if you don't have anyone to call, find a meeting nearby. If it isn't for a while (I've had to do this, too), break down the passing time in smaller chunks, "I won't use for the next 15 minutes." Then reset when that 15 is up.