Skip to content

Instantly share code, notes, and snippets.

View JLuc's full-sized avatar
🫠
Ceci n'est pas un statut

JLuc JLuc

🫠
Ceci n'est pas un statut
View GitHub Profile
@JLuc
JLuc / comparatif_hebergements.md
Last active June 24, 2022 05:51
Comparatif hébergements Cloud managé : Gandi Nuxit OVH Infomaniak

Comparaison des hébergements

  • HD 50Go pour les nouvelles instances (les anciennes restent à 20 Go). Pas de SSD.
  • nombre de process TRÈS limité : 2 par coeur seulement !
  • HTTP2 seulement entre navigateurs et varnish (?)
  • 10 adresses mails par domaine (pas par hébergement)
|--------------------------------------------------------------------------------------|
@JLuc
JLuc / articleamp.html
Created May 7, 2020 11:50
Squelette AMP chrisgaillard.com
<BOUCLE_lagrossebcl(ARTICLES){id_article}>
<!doctype html>
<html amp lang="fr-FR">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<title>
#TITRE- #NOM_SITE_SPIP</title>
<link rel="canonical" href="#URL_SITE_SPIP/#URL_ARTICLE" />
<script async src="https://cdn.ampproject.org/v0.js"></script>
@JLuc
JLuc / phpcs.xml
Created May 17, 2019 23:45 — forked from marcimat/phpcs.xml
PHP_CodeSniffer pour SPIP
<?xml version="1.0"?>
<ruleset name="SPIP">
<!--
Liens utiles
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
https://github.com/ucfcdl/fuelphp-phpcs/tree/master/Standards/FuelPHP
https://github.com/vanilla/addons/tree/master/standards/Vanilla
-->
<description>Coding rules for SPIP</description>
@JLuc
JLuc / scribus.flatpak
Last active April 14, 2017 06:45
flatpak recipe for scribus
# As shared by jurf, 2017 03 01
#
# you need to put this in the same directory to compile boost however (stole it from the KDE guys): https://paste.gnome.org/pu4pkxmrt
# first thing is called "net.scribus.ScribusDevel.json", the second "boost-configure"
# you can compile it with a
# flatpak-builder --force-clean --ccache --repo=repo scribus net.scribus.ScribusDevel.json
# (if you want ccache and a generic repo name)
# it's not downloading the qt5 sources and compiling them : it uses the KDE repo
#
# flatpak --user remote-add --no-gpg-verify --if-not-exists scribus-repo repo