Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
MYNAME=$1
MYUID=$2
if [ -e /etc/debian_version ]
then
groupadd -g ${MYUID} ${MYNAME}
useradd -d /home/${MYNAME} -ms /bin/bash -u ${MYUID} -g ${MYUID} ${MYNAME}
fi
@czerwe
czerwe / pyproject.toml
Created May 31, 2023 09:00
projecttoml replacement for setup.py
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "toolname"
version = "0.0.1000"
description = "description"
dependencies = [
"click",