Little scripts that make my life easier. This repository is split in several directories containing PHP, Bash, and other scripts.
This script encodes and decodes a string via de urlencode() and urldecode() functions.
This script converts a UNIX timestamp to a more readable format: "day-month-year hours:minutes:seconds"
This script sorts the lines of the entered text and removes duplicates. Basically, it's the same as what cat file.txt | sort | uniq
would do on a bash command line.
A collection of PHP functions I have used in my websites
Usage samples for the functions in functions.php
Examples of bash scripts that use as templates for more complicated scripts.
Traverses a directory structure, down to a configurable depth, looking for SVG files and creating a PNG image preview from all SVGs it finds.
It checks if a preview already exists and only creates a new one if the PNG is older than the SVG.
A collections of config files that I use on multiple machines, including espanso triggers