Skip to content

Instantly share code, notes, and snippets.

View ponceto's full-sized avatar

Olivier PONCET ponceto

View GitHub Profile
@ponceto
ponceto / README.md
Last active February 6, 2023 17:27
A KISS firewall script based on iptables

KISS firewall

Abstract

These scripts are written to help you harden your Linux server.

Description

The firewall.sh script supports up to 3 interfaces :

@ponceto
ponceto / README.md
Last active January 16, 2025 14:50
Matrix characterfall on your terminal

Matrix characterfall effect

Abstract

These scripts are written to simulate the matrix characterfall on your terminal.

ASCII version

This is a version with a pure ascii charset of the matrix effect.

@ponceto
ponceto / Makefile.linux
Last active January 17, 2025 09:50
Emscripten SDL example
#
# Makefile.linux - Copyright (c) 2024 - Olivier Poncet
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@ponceto
ponceto / README.md
Last active January 17, 2025 10:29
Russian Multiplication for the Z80 CPU

Russian Multiplication for the Z80 CPU

This is a very simple and generic implementation of the russian multiplication method for the Z80 CPU, designed to deal with 16-bits multiplications.

The file mul.cc contains a generic C++ implementation of the russian algorithm with some unit tests.

The file mul.asm contains a hand-written (not tested) implementation of the algorithm in Z80 assembly, based on the C++ version.