Line Trace Weapon with Advanced Particle Effects

Is there any tutorial or example of an implementation of a instant/trace gun tracer particle effect out there?