Techniques for profiling memory in Safari desktop and iOS?

When you install the iOS SDK, a utility named Instruments is also installed. It can track all sorts of usage stats, including memory (there is even a “Leaks” template). The great thing is that it can track both the iPhone/iPad simulator and any connected iOS development device. It also, of course, can be used to … Read more

Mobile overflow:scroll and overflow-scrolling: touch // prevent viewport “bounce”

There’s a great blog post on this here: http://www.kylejlarson.com/blog/2011/fixed-elements-and-scrolling-divs-in-ios-5/ Along with a demo here: http://www.kylejlarson.com/files/iosdemo/ In summary, you can use the following on a div containing your main content: .scrollable { position: absolute; top: 50px; left: 0; right: 0; bottom: 0; overflow: scroll; -webkit-overflow-scrolling: touch; } The problem I think you’re describing is when you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)