Skip to content

Instantly share code, notes, and snippets.

View AvinashReddy3108's full-sized avatar

Avinash Reddy AvinashReddy3108

  • Visakhapatnam, India.
View GitHub Profile
@kabili207
kabili207 / Rclone systemd service.md
Last active May 26, 2024 12:04
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 May 28, 2024 17:00
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 -
# -