This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Program Name: pomo.py | |
Author: sai nivas mangu | |
Description: This is a small program I wrote | |
to manage my time and revise some python. | |
""" | |
from datetime import datetime | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
compwin = "I win." | |
userwin = "You win." | |
draww = "It's a draw :(" | |
userWin = 0 | |
computerWin = 0 | |
def computerThrowHand(options): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update previews | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author(s): Sai Nivas Mangu | |
Description: A program to move old TODO files into "Past" folder. I | |
make TODO lists in my Obsidian daily notes and I felt I was | |
cluttering the explore pane so I decided to do this. Using the shell | |
command plugin to run it on Obsidian open, close and file creation. | |
Suggestions for optimization are very much welcome. | |
""" | |
# os for dealing operations on directories. |