This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Vimeo Player Modal Test</title> | |
<style> | |
body { | |
text-align: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
// Doteenv › composer require vlucas/phpdotenv | |
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__); | |
$dotenv->load(); | |
// OVH API Wrapper › composer require ovh/ovh | |
use \Ovh\Api; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# serve webp for compatible browser | |
RewriteCond %{HTTP_ACCEPT} image/webp | |
RewriteCond %{REQUEST_URI} (?i)(.*)(\.jpe?g|\.png)$ | |
RewriteCond %{DOCUMENT_ROOT}%1.webp -f | |
RewriteRule (?i)(.*)(\.jpe?g|\.png)$ %1\.webp [L,T=image/webp,R] | |
Header append Vary Accept env=REDIRECT_accept | |
AddType image/webp .webp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conventions typographiques Ultrō | |
-------------------------------- | |
Ultrō avec U majuscule et o macron. | |
(Sur MacOs et iOS : une pression longue sur le `o` propose le ō avec le raccourci 9) | |
1er, 2e, 3e | |
En HTML : 1<sup>er</sup>, 2<sup>e</sup>, 3<sup>e</sup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
read oldrev newrev ref | |
branchname=${ref#refs/heads/} | |
GITDIR=/path/to/bare.git | |
TARGET=/path/to/files | |
git --work-tree=$TARGET --git-dir=$GITDIR checkout --force ${branchname} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} ^/.*\.(jpe?g|gif|svg|png)$ [NC] | |
RewriteRule (.*\.(jpe?g|gif|svg|png))$ https://example.com$1 [R=302,NC,L] | |
</IfModule> |