Author Archives: Hasnat

About Hasnat

I R TEH 1337

S.M.A.R.T status failing to verified

I read all over the internet to get your HDD replaced if you are getting the S.M.A.R.T status failing (or failed) Now what I did was dissembled my macbook air to replace the HDD, but unfortunately i didn’t have the … Continue reading

Posted in Other | Leave a comment

iPhone audioRecorder app xcodeproj

Basically its code from famous 7 part audio exploring on trailsinthesand.com Many people are unable to run that code on 3.1.2 SDK for that reason here’s a full project file for them. Things you should know about this project/app. It … Continue reading

Posted in Programming | Tagged | 4 Comments

decode google maps PolyLines objective C

If you are working on Google maps API and using routes/directions this will help you decode route polylines works on MAC OS X and iPhone SDK -(NSMutableArray *)decodePolyLine: (NSMutableString *)encoded { [encoded replaceOccurrencesOfString:@"\\\\" withString:@"\\" options:NSLiteralSearch range:NSMakeRange(0, [encoded length])]; NSInteger len … Continue reading

Posted in Other | 4 Comments

failed to upload *.app

Developing with Xcode is not all gold, sometimes you get diarrhea. Like “failed to upload *.app” to your iPhone device for debug. Solution is to restart your Xcode. dont bother disconnecting and reconnecting your iPhone. If still same error then … Continue reading

Posted in Programming | Leave a comment

IIS 6.0 PHP Invalid access to memory location error

installed php 5.2.11 on windows 2003 IIS 6.0 (ISAPI) encountred following error on phpinfo() Invalid access to memory location FIX: check directory write permissions for following paths in php.ini upload_tmp_dir=”C:\Temp” session.save_path=”C:\Temp” error_log=”C:\temp\php-errors.log” paths on your php.ini might be different

Posted in Other | Tagged | 1 Comment

slow mac osx?

experiencing slow mac osx? good news is you are not alone, and easy to diagnose. just open Activity Monitor via spotlight. Sort by %CPU usage and quit the app acting as a sucker. For me it was MSN messenger taking … Continue reading

Posted in Computer | Leave a comment