Skip to content

Instantly share code, notes, and snippets.

View linuxdotexe's full-sized avatar
:octocat:
at this point, i have no idea

sai nivas mangu linuxdotexe

:octocat:
at this point, i have no idea
View GitHub Profile
"""
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.
@linuxdotexe
linuxdotexe / main.yml
Created December 1, 2021 02:09
My workflow for updating wallpaper previews in my nordic-wallpapers repository
name: Update previews
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
@linuxdotexe
linuxdotexe / rps.py
Last active October 9, 2021 06:48
rock, paper, scissors.
import random
compwin = "I win."
userwin = "You win."
draww = "It's a draw :("
userWin = 0
computerWin = 0
def computerThrowHand(options):
@linuxdotexe
linuxdotexe / pomo.py
Last active October 3, 2021 06:23
a little program I wrote to brush up on python.
"""
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