Skip to content

Instantly share code, notes, and snippets.

View andrea-calligaris's full-sized avatar

Andrea Calligaris andrea-calligaris

View GitHub Profile
@andrea-calligaris
andrea-calligaris / shell_script_template
Last active January 26, 2023 04:11
POSIX portable shell script with arguments [howto: shell script template]
#!/bin/dash
#
# Template for shell scripts, with "help", both short and long options,
# and arguments.
# POSIX compliant, and following best practices.
# Distributed under WTFPL.
this_program_filename=
# Debug mode, true or false.
@andrea-calligaris
andrea-calligaris / nofanfare.c
Last active January 26, 2023 03:13
[FF8:R] disable victory fanfare
/*
* nofanfare.c
*
* Edits "scene.out" from "battle.fs" in order to disable the victory fanfare
* for every encounter in the game.
*
* Distributed under WTFPL.
*/
#include <stdio.h>
@andrea-calligaris
andrea-calligaris / search-filter.php
Last active June 26, 2022 14:28
Search & Filter plugin for WordPress: Polylang compatibility fix, edited from 1.2.15
<?php
/*
Plugin Name: Search & Filter
Plugin URI: https://free.searchandfilter.com/
Description: Search and Filtering system for Pages, Posts, Categories, Tags and Taxonomies
Author: Code Amp; edited by Andrea Calligaris, fix distributed under WTFPL
Author URI: https://codeamp.com
Version: 1.2.15
Text Domain: searchandfilter
License: GPLv2