Skip to content

Instantly share code, notes, and snippets.

View OptifySudarshanPatil's full-sized avatar
🎯
Focusing

Sudarshan Patil OptifySudarshanPatil

🎯
Focusing
  • OptifyIndustrialSolutions
  • India
  • 19:51 (UTC +05:30)
View GitHub Profile
@OptifySudarshanPatil
OptifySudarshanPatil / SAP_CLA
Created March 23, 2024 05:05 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
### SAP Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by SAP SE or its affiliates (“SAP”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to SAP a non-exclusive, perpetual, irrevocable, worldwi
@OptifySudarshanPatil
OptifySudarshanPatil / self-update-script.py
Created March 10, 2023 07:52 — forked from gesquive/self-update-script.py
Stick this in a python script to self update the script from an online source
def update(dl_url, force_update=False):
"""
Attempts to download the update url in order to find if an update is needed.
If an update is needed, the current script is backed up and the update is
saved in its place.
"""
import urllib
import re
from subprocess import call
def compare_versions(vA, vB):