Giter Site home page Giter Site logo

dishant10 / leet-easy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sudiptob2/leet-easy

0.0 0.0 0.0 581 KB

Get notification when leetcode publishes an easy daily challenge and grab your leetcoins.

License: GNU General Public License v3.0

Python 100.00%

leet-easy's Introduction

LeetEasy



Desktop notification for easy daily challenges in leetcode.

We all know Leetcode's daily challenges are awesome ๐Ÿ˜Ž However, sometimes these challenges are quite difficult for people who are just starting out problem-solving ๐Ÿฅฒ
This tool will send desktop notification when an Easy daily problem is published. This way you won't miss any opportunity to grab some easy Leetcoins ๐Ÿช™ and stay motivated for the day ๐Ÿ”ฅ

Requirements

  • python >= 3.8

Installation

pip install leeteasy

run

Schedule leeteasy to send notification for easy leetcode problem at 14:30 (24 hours format time)

python -m leeteasy start 14:30 &

To add additional difficulty

python -m leeteasy start 14:30 --difficulty medium &

This will schedule leeteasy for Easy and Medium problem.

To stop leeteasy

python -m leeteasy stop

NOTE: By default leeteasy checks for scheduled task in every 1 hour/3600 seconds. So there might be 1-hour delay from the actual scheduled time while getting the notification. However, this can be controlled using --sleep_duration option.

Linux cronjob guide

Set a cronjob to automatically start leeteasy at system boot.

# open cronjob editor
crontab -e

# add the following line
@reboot python -m leeteasy start 14:30 &

Contribution guideline

If you like this project and want to improve by adding features, fixing bugs or anything, please follow the contributing guidelines.

leet-easy's People

Contributors

sudiptob2 avatar kmartin62 avatar martin-cognitrek 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.