Automating commits in GitHub Subhajeet Mukherjee @ SF Python 03/11/20
Background 1. Was almost finishing college 2. Needed a job in the Tech. Industry to survive while working on my OS 3. Takes time to prepare for technical interviews
Python + Selenium A script that would commit while I’m sleeping
Scheduling using crontab see source # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) # │ │ │ │ │ # │ │ │ │ │ # * * * * * command to execute
GitHub 2018
Using the Keep It Green script - GitHub 2019
Randomized
GitHub’s Policy ● Terms of Service - Account Requirements ● Acceptable Use Policies - Conduct Restrictions
The project is now available at https://github.com/bootkernel/Keeping-It-Green
Ways to improve randomizing commit count check for local directories scheduling only in weekends follow certain style guides
Thank you! subha.dev GitHubLinkedIn

Automating commits in GitHub - Subhajeet Mukherjee - SF Python - 03/11/20

  • 1.
    Automating commits inGitHub Subhajeet Mukherjee @ SF Python 03/11/20
  • 2.
    Background 1. Was almostfinishing college 2. Needed a job in the Tech. Industry to survive while working on my OS 3. Takes time to prepare for technical interviews
  • 3.
    Python + Selenium Ascript that would commit while I’m sleeping
  • 4.
    Scheduling using crontabsee source # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) # │ │ │ │ │ # │ │ │ │ │ # * * * * * command to execute
  • 5.
  • 6.
    Using the KeepIt Green script - GitHub 2019
  • 7.
  • 8.
    GitHub’s Policy ● Termsof Service - Account Requirements ● Acceptable Use Policies - Conduct Restrictions
  • 9.
    The project isnow available at https://github.com/bootkernel/Keeping-It-Green
  • 10.
    Ways to improve randomizingcommit count check for local directories scheduling only in weekends follow certain style guides
  • 11.