ManyCodes.com – codes & scripts Get free programming codes and tutorials!

23Mar/100

Football – Real Kick App Turns Your iPhone Into A Football Player

This has to be one of the coolest things you might have seen an iPhone do.

Folks at Qneo figured out the iPhone speaker pushes air for certain sounds and have used it to turn the iPhone into a football player (kind of).

With Football – Free Kick iPhone app, you can kick small Styrofoam balls by blowing air out of the speaker opening.

The iPhone app is very easy to use. You have to tap on the “kick” button to push air. You can play with your friends on a hand drawn football field with multiple iPhones.

You can checkout the video below to see how it works, it’s quite impressive:

Football – Real Kick works only on the iPhone and is available on the App Store for $0.99 [iTunes Link].

As always, let us know what you think about Football - Real kick in the comments.

25Aug/090

How to view or display a logfile in real time on screen in linux

How do I see the log file in real time including all incoming logs as well?

You can use the tail command in linux command line which outputs the last part of files in real time including all incoming logs to a file. So you can view the last parts of your logs file (like access logs for the server) using this in real time!

Note: you may need to login as root user to view log files.

Command

tail -f file-name command

If your log file name is /var/log/lighttpd/access.log, enter:

tail -f /var/log/lighttpd/access.log

If your php log file name is /var/log/lighttpd/scripts.log, enter

tail -f /var/log/lighttpd/scripts.log

You will get a scrolling view of the /var/log/lighttpd/scripts.log for all incoming entries on screen. To stop simply hit CTRL+C.