Skip to content

Instantly share code, notes, and snippets.

@rjaan
rjaan / cmplxrecursion.py
Last active April 21, 2022 15:00
Usage of Complex Recursion in Python
"""
Complex Recursion
Normaly we are considiring the recursion as a factorial that corresponds to
an example below:
"""
print ("===== n! =====")
nmax=5
@rjaan
rjaan / pypiserver.conf
Created February 26, 2022 03:02 — forked from wolfg1969/pypiserver.conf
pypiserver.wsgi
<VirtualHost *:80>
ServerAdmin foo@bar.com
ServerName pypi.dev.example.com
ErrorLog logs/pypiserver-error_log
CustomLog logs/pypiserver-access_log common
DocumentRoot /var/www/html
<Directory /var/www/html>
Order allow,deny
Allow from all
@rjaan
rjaan / README.md
Last active December 30, 2022 13:22 — forked from jeremiah/git-daemon
systemd-unit for git-daemon

systemd-unit to run git-daemon on Debain-11

git-daemon is an reciept of unit configuration to run git-daemon(1) on Debain-11

I forked this reciept of the unit configuration from @jeremiah and I adopted to run it in debian-11 systems.

In our Debian-11 systems, you must to do next steps to install git-daemon:

1st step. Create the user named 'git' along with its home directory /home/git