Giter Site home page Giter Site logo

3j14 / yowhenready Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 728 KB

YO push notifications with python and shell. Triggers a push notification when a command is terminated

License: Apache License 2.0

Shell 0.37% Python 99.63%
notifications yo python push-notifications

yowhenready's Introduction

Yo when ready

About

YO!

Get yo-push-notifications on your mobile device when a command finished so you can grab a coffee and sit back while your code compiles.

Example:

$ ywr ping -c 5 8.8.8.8

Installation

What you need

Set Up

$ git clone https://github.com/Jonas-Drotleff/yowhenready.git ywr

or just download the repo manually

Navigate into the directory and execute the install.sh script:

$ cd ywr
$ . install.sh

Ywr will now install. Accept with y. You will be asked to insert your username.

After installation

If you want to remove the installer you can use the following command:

$ cd .. && rm -rf ywr

Uninstall

Just run the uninstall.sh script. You may need to do this as su. Accept with y and the ~/.ywr directory will be removed. You can remove the line under '#ywr' in your ~/.bash_profile file.

Usage

Use the command ywr in the terminal in connection with any other command as you may be used to with the sudo command.

Example:

$ ywr ping -c 5 www.google.com

ywr works with any command.

Command Description
ywr -c change username
ywr -t test configuration

IDE integration

JetBrains Intelij IDEA/Android Studio:

  1. Go to Run > Edit Configurations...
  2. Under 'Before launch', press the +
  3. Select 'Run External tool'
  4. +
  5. Give it a name (such as 'yo when ready') and optionally add a description
  6. Insert ywr in 'Program'
  7. Insert -t in 'Parameters'
  8. Leave everything default and press OK

License

Copyright 2016 Jonas Drotleff

Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Notice

This program is using the requests python API (python-requests.org) by Kenneth Reitz.

Yo is owned and operated by Life Before Us, LLC

yowhenready's People

Contributors

3j14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yoapp

yowhenready's Issues

README.md

Please add a README.md with compilation info, details as to what it does, ways to call it, etc etc

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.