The recent neutralzing of the of the Islamist planned attack on JFK airport in NYC is only one of several foiled attacks on the U.S. in recent years (pre- and post- 9/11).
I think the Patriot Act, along with NSA surveillance is a serious part of this solution. However, I have no proof of it, because, if I did, methods and security would be given away to our enemies. I will just call it a strong suspicion.
I have heard a number of people on this site criticize the Patriot Act, NSA intercepts, Guantanimo, etc. I think this is very naive.
The Federal government, along with NYPD deserves a lot of credit, along with those congressmen who voted for the Patriot Act.