Skip to content

Instantly share code, notes, and snippets.

View harkabeeparolus's full-sized avatar

traal harkabeeparolus

View GitHub Profile
@harkabeeparolus
harkabeeparolus / Typer_cheat_sheet.md
Last active November 7, 2024 10:00
Typer — my attempt at reference documentation
@GhostofGoes
GhostofGoes / .gitignore
Created November 24, 2018 17:08
Global GitIgnore
# Pre-commit config (https://pre-commit.com/)
.pre-commit-config.yaml
# Editors/IDEs/etc
.idea
.vscode
.vagrant
.classpath
.project
@GhostofGoes
GhostofGoes / .pylintrc
Last active October 2, 2022 08:07
PyLint configuration for Google Python Code Style Guide. Slightly modified version of this: https://raw.githubusercontent.com/google/seq2seq/master/pylintrc
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Add files or directories to the blacklist. They should be base names, not
@supposedly
supposedly / arg-parsers.md
Last active December 16, 2021 09:53
This list is probably out of date. It hasn't been updated since September 2019.

Big ol' list of third-party Python 3 argparse alternatives

Bold+italics means the lib is probably worth checking out above the rest. joffrey is my own.

argparse wrappers

@xquery
xquery / gist:7643288
Last active July 29, 2021 06:36
webdav the api you never knew existed
add file
curl -X PUT --anyauth --user 'admin:admin' -T cluster1.xml 'http://localhost:8005/testfile.xml'
make directory
curl -X MKCOL --anyauth --user 'admin:admin' 'http://localhost:8005/testdir'
move a file
curl -X MOVE --anyauth --user 'admin:admin' --header 'Destination: http://localhost:8005/testfile1.xml' 'http://localhost:8005/testfile.xml'
list all files in webdav