Git Product home page Git Product logo

elements-slot-scheduled-reservation's Introduction

elements-slot-scheduled-reservation

Simple Script that reserves the elements gym reservation slot

How To Use

  1. Clone this repo
  2. Create two repository secrets by going to Settings > Secrets and variables > Actions > Click on new Repository secret
    1. Or See https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository
    2. Or For this repo the link is : https://github.com/comdotlinux/elements-slot-scheduled-reservation/settings/secrets/actions
  3. Create a secret named ELEMENTS_EMAIL with value as your email
  4. Create a secret named ELEMENTS_PASSWORD with value as your time slot reservation password
  5. Goto Actions > Reserve Slot > Artifacts > slot-reserved
    1. It should look something like this screenshot zip
  6. Download the file and unzip it, you should have a screenshot of your reservation
  7. You are Done!
  • Above steps are only required once.
  • There should now be a schedule that runs theis every Sunday, Tuesday and Friday at 12 PM.
  • If You want to change the days you want to reserve, just edit the file .github > workflows > reserve-slot.yaml and find the text cron
    • Change the SUN,TUE,FRI to any week days or * for each day :)
    • Commit the file and your schedule will run accordingly. --

elements-slot-scheduled-reservation's People

Contributors

comdotlinux avatar gurukulkarni 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.