Skip to content

Instantly share code, notes, and snippets.

View sajalshres's full-sized avatar
🏠
Working from home

Sajal Shrestha sajalshres

🏠
Working from home
View GitHub Profile
@sajalshres
sajalshres / logparser.py
Created October 12, 2023 03:41
Parse logs and extract unique stacktrace
import re
import os
import hashlib
import argparse
from typing import List
def get_argsparser() -> argparse.ArgumentParser:
"""Initialize and return the argument parser."""
parser = argparse.ArgumentParser(
@sajalshres
sajalshres / .env
Last active April 22, 2024 03:56
Update Atlassian Confluence Page with Table format
CONFLUENCE_TOKEN=<TOKEN>
CONFLUENCE_INSTANCE=<confluence.server.com>
@sajalshres
sajalshres / README.md
Created December 8, 2024 04:37
simple-task-management-system

Task Management

Goals:

  • Manage tasks:
    • CRUD - Create Read Update Delete
    • User can authenticate to the API
    • Each Task can have files related to it which is uploaded to S3 Bucket
    • Each task can also have a reminder or due date that can be triggered through SQS/SNS
@sajalshres
sajalshres / bash_strict_mode.md
Created July 28, 2025 16:11 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation