Android 2.3 gingerbread battery info screen

Today my HTC Desire HD got updated to Android 2.3 GingerBread. I've had a host of problems before. All of my SMSes got deleted with no warning. The default email program was crashing all the time. My battery lasted significantly less than one day.

What is the path for the 404 not found file

I've tried to load a page on the local server, however it gives me a 404 not found. When I go to the log file, I just get one line saying its 404 error:

178.148.41.8 - - [02/May/2011:06:03:07 -0500] 5365 "GET /index.php HTTP/1.1" 404 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24"

Log file doesn't say which local file it was trying to load to get index.php. It usually does though, so I figured something strange is going on.

404 not found from php giving blank page instead of error page

This PHP code

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
exit;

gives blank page in firefox and safari. Not in other browsers, though, they are displaying correct error page. I was looking for an answer on how to get a proper 404 not found error page to be displayed in these browsers, and if something was wrong with my php code. But apparently there was nothing to worry about, Safari and Firefox do not have default error pages!

Flex - perspective and other shortcuts

Adobe Flex doesn't have shortcuts for perspective switching easily available. It would be nice if they were printed by the perspective name. However, you can find this and other shortcuts by going

Preferences -> General -> Keys

There's a search box here so you can find shortcuts by keywords. If you enter "perspective" you will find out that switching perspectives is done by (Windows) Ctrl - or (Mac) Command - F8

Maybe you should get a shortcut to display this search box, until you've adopted the essential Flex shortcuts to your work habits.

/bin/rm: Argument list too long - a quick solution

My cron job created tens of thousands of files in the server root. I've obviously tried to remove them with

rm cron.php.*

But I've been greeted with

-bash: /bin/rm: Argument list too long

Technical Support Network

Wouldn't it be nice if computers just did their job, without taking away so much of our time and patience? We aim to create a set of information resources which will improve issue resolution time for regular PC, MAC, Linux, Android, and iPhone users. This should be your first and last stop in finding answers to whatever is troubling your machine.

Subscribe to www.tsupport.net RSS