Coder Social home page Coder Social logo

watchmb's Introduction

--------------
 - WatchMB - 
--------------

Watch MacBook:

A simple script to capture information about your MacBook (or OSX something).
Use it to keep a historical picture book of yourself. Use it to track where
your computer is, and what is happening on it.

What it does:

1. Uses the iSight camera it creates one shapshot, which is time stamped (using
   the wacaw program). The format is: MonthDayYearHourMinuteSecond.jpeg

2. Captures a screenshot of the desktop. The format is
   MonthDayYearHourMinuteSecond-screen.jpeg

3. Stores the public IP address of the computer. The IP address is stored in a
   file labelled: MonthDayYearHourMinuteSecond-loc.txt

------------------
 - INSTALLATION - 
------------------

Put the watchmac directory somewhere on your computer (like your home
directory). Either run the script directly, or use cron to schedule regular
snapshots.

I've set mine up thusly, so that I have access to the files even if I'm not in
front of it (by going to dropbox.com):

1. Install DropBox. Create the folder 'WatchMB' in the 'Photos' folder.
2. Put this program's folder into my home directory: run Terminal and paste the following:

git clone git://github.com/dsummersl/WatchMB.git

3. Copy/paste the following commands into the Terminal window to setup the
   script to run every half hour:

crontab -l | grep -v photo.sh > oldcrontab 
(cat oldcrontab ; echo "0,30 * * * * ~/WatchMB/photo.sh &> /dev/null") > newcrontab
crontab newcrontab
rm oldcrontab
rm newcrontab

-----------
 - NOTES - 
-----------

Uses the wacaw program (bundled). See their site for more info: http://webcam-tools.sourceforge.net

Uses screencapture and sips for screen capture (from Apple, available on OSX).

Uses dyndns.org's website to determine the public IP of the computer.

watchmb's People

Contributors

dsummersl avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.