Skip to content

Instantly share code, notes, and snippets.

View AvinashReddy3108's full-sized avatar
👷‍♂️
I may be slow to respond.

Avinash Reddy AvinashReddy3108

👷‍♂️
I may be slow to respond.
  • Visakhapatnam, India.
View GitHub Profile
@kabili207
kabili207 / Rclone systemd service.md
Last active October 29, 2024 20:52
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox
@fonic
fonic / python_argparse_custom_help_usage.py
Last active September 30, 2024 10:37
Python module extending class 'argparse.ArgumentParser' to support custom help/usage output (incl. example/demo)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------
# -
# Python Module Argument Parser -
# -
# Created by Fonic <https://github.com/fonic> -
# Date: 06/20/19 - 04/03/24 -
# -