Skip to content

Instantly share code, notes, and snippets.

View Frescha's full-sized avatar
💭
Quote: Work work

Andreas Karfusehr Frescha

💭
Quote: Work work
View GitHub Profile

Copilot Instructions

This is a Python-based repository focused on building secure, modular, and maintainable software. It follows modern Python coding standards with an emphasis on clean code, proper documentation, and testability. Please follow these guidelines when contributing:

Code Standards

We follow modern Python conventions and clean code principles across the entire codebase. Consistency, clarity, and simplicity are valued more than cleverness or complexity.

Git Commit Guidelines

@Frescha
Frescha / .pylintrc
Created August 20, 2024 20:00
Black-compatible .pylintrc config
[MASTER]
ignore=venv,build,dist,migrations
load-plugins=pylint.extensions.simplifiable_if, pylint_plugin_utils, pylint_pytest
[MESSAGES CONTROL]
disable=
C0114, # Missing module docstring
C0115, # Missing class docstring
C0116, # Missing function or method docstring
R0903, # Too few public methods
@Frescha
Frescha / GSG case
Created April 4, 2022 16:34 — forked from miek/ GSG case
Unofficial case for YARD Stick One and Ubertooth One from Great Scott Gadgets - http://greatscottgadgets.com/
@Frescha
Frescha / print_table.py
Created May 7, 2021 15:42 — forked from lonetwin/print_table.py
print out ascii tables in python using data in the form: [ ('column 0 title', 'column 1 title' ..), ('row 0, column 0 data', 'row 0, column 1 data' ...) ...]
# I needed to print out ascii tables from data in the form:
# [ ('column 0 title', 'column 1 title' ..),
# ('row 0, column 0 data', 'row 0, column 1 data' ...) ...]
#
# and surprisingly it got complicated because of variable lengths of the data.
# I googled for 'standard' ways of doing this and I found suggestions like:
# http://stackoverflow.com/questions/5909873/python-pretty-printing-ascii-tables
# ...which were a bit dated and hard to read or full scale modules like:
#
# http://pypi.python.org/pypi/texttable/
@Frescha
Frescha / christmas.py
Last active December 24, 2019 11:48
christmas tree
#!/usr/bin/python3
from random import randint
from time import sleep
rnd2=randint(1,30)
def gentree():
print("\033c")
for x in range(1,30,2):
@Frescha
Frescha / check_stuff.js
Last active August 29, 2015 14:09 — forked from n8v/check_stuff.js
#!/usr/bin/env node
/* -*- js2 -*- */
/* ************************************************************* */
// Set up classes to support Range objects. Ported from
// Nagios::Plugin::Range. See named functions below.
// TODO: Modularize properly/idiomatically.
/*
* Represents a Nagios plugin range object.