Skip to content

kyuden/pingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pingo Gem Version Code Climate

Pingo provide a scatterbrain with a `pingo` command of sounding your iphone.

Installation

Install it yourself as:

$ gem install pingo

If you've done Go development before and your $GOPATH/bin directory is already in your PATH, this is an alternative installation method that fetches pingo into your GOPATH and builds it automatically:

$ go get github.com/kyuden/pingo

Usage

Set APPLE_ID and APPLE_PASSWORD in environment variables.

# Set it in .zshrc, .bashrc etc...
echo "export APPLE_ID=your_apple_id" >> ~/.zshrc
echo "export APPLE_PASSWORD=your_apple_password" >> ~/.zshrc
source ~/.zshrc

Execute pingo command with iphone model name

pingo your_iphone_model_name

Example:

# when iphone 5s
pingo 5s
# when iphone 6
pingo 6
# when iphone 6 Plus
pingo 6.Plus

Contributing

  1. Fork it ( https://github.com/[my-github-username]/pingo/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request