3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Simple phone-theft alarm shell script

Simple phone-theft alarm shell script
Last week my phone was stolen (most probably through the same window you see in the photo). I've decided to write a small but effective phone-theft alarm shell script that keeps checking whether phone is still on and within bluetooth range.



What you need:
  1. A Unix platform (tried this on Ubuntu, but this would probably work on other platforms. Maybe even Mac)
  2. Ability to browse files on your phone via bluetooth
  3. hcitool (if your OS supports bluetooth, you've probably got it)
  4. sox (for the play command), or any other way to make noise from command line :)
 
Remove these adsRemove these ads by Signing Up
 

Step 1Install the script

Install the script
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
7
Author:thedod(zzzen.com)
Twitter: @TheRealDod