Skip to content

Instantly share code, notes, and snippets.

@julienmru
julienmru / gist:8e156cc49e259d2a676205a8a90605e8
Created May 1, 2023 04:13
Get a text list of all Softaculous apps (separated by a comma)
// Execute in the console of https://www.softaculous.com/softaculous/apps
$.unique($('h5').map(function () { return $(this).closest('a').attr('title') }).toArray().sort()).join(', ')
@julienmru
julienmru / increase_cpanel_php_fpm_limit.sh
Created February 8, 2023 06:45
Make cPanel's PHP-FPM max_children change persistent accross reboots
#!/bin/sh
# License: MIT License
# Copyright (c) 2023 Julien Tessier, Hodi.host
#
# This script allows to have persistent change on cPanel's PHP-FPM limits
# (see https://support.cpanel.net/hc/en-us/articles/1500012339862-Server-reached-max-children-setting-25-consider-raising-it-cPanel-PHP-FPM-)
#
# Instructions:
# Backup files in /var/cpanel/php-fpm.d/
@julienmru
julienmru / reunion_districts.json
Last active June 8, 2021 09:45 — forked from zourite/reunion_districts.json
Villes, quartiers et codes postaux de la Réunion
[
{
"name": "Les Avirons",
"postcode" : "97425",
"city" : "Les Avirons"
},
{
"name": "Bagatelle",
"postcode" : "97441",
"city" : "Sainte-Suzanne"