Code Monkey home page Code Monkey logo

wake-up-my-mac-go's Introduction

Under construction

wake-up-my-mac

Script to wake up a Apple computer via network

Python version

usage: wake-up-my-mac [-h|--help] [-C|--default] [-c|--configFile "<value>"]
                      [-m|--macAddress "<value>"] [-i|--ipAddress "<value>"]
                      [-H|--host "<value>"] [-p|--port <integer>] [-w|--wait
                      <integer>] [-d|--debug] [-v|--version]

                      Script to send a wake up signal to a computer ๐Ÿ˜

Arguments:

  -h  --help        Print help information
  -C  --default     Use the default config file /usr/local/etc/wake/wake.conf.
                    Default: false
  -c  --configFile  Configuration file to be use
  -m  --macAddress  The MAC address of the computer, can not be use with the -c
                    flag
  -i  --ipAddress   The IP address of the computer, can not be use with the -c
                    flag
  -H  --host        The hostname of the computer, required with the -c flag
  -p  --port        Computer network port to send the wake up signal. Default:
                    80
  -w  --wait        How many seconds to wait for the computer to be awake.
                    Default: 20
  -d  --debug       Enable some debug output. Default: false
  -v  --version     Show version

Configuration file

  • only for the Go version
  • see an example under the example directory

Notes

  • I use this with my Apple computers, but not sure is common enough that it will work with any other computer

TODO

  • Support of IPv6 not tested

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.