Skip to content

Instantly share code, notes, and snippets.

@abouvier
abouvier / macros.conf
Created Aug 14, 2017
Apache mod_macro
View macros.conf
<Macro HSTS>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
</Macro>
<Macro LetsEncrypt $domain>
SSLEngine on
SSLCertificateKeyFile /etc/letsencrypt/live/$domain/privkey.pem
SSLCertificateFile /etc/letsencrypt/live/$domain/fullchain.pem
Use HSTS
</Macro>
@abouvier
abouvier / imdb_senscritique.csv
Created Feb 21, 2017
Correspondances des IDs entre IMDB et SensCritique
View imdb_senscritique.csv
imdb senscritique
370 13024092
420 420901
1737 475979
6414 364126
9968 472085
16563 400087
18455 451178
19959 411402
20389 415452
View keybase.md

Keybase proof

I hereby claim:

  • I am abouvier on github.
  • I am abouvier (https://keybase.io/abouvier) on keybase.
  • I have a public key whose fingerprint is 0026 7466 97BA B41C EE2E F732 EB1E 67CE 4765 CA62

To claim this, I am signing this object:

@abouvier
abouvier / composer.json
Created Aug 3, 2016
Install RedBeanPHP with composer
View composer.json
{
"require": {
"gabordemooij/redbean": "^4.3"
},
"scripts": {
"post-update-cmd": [
"cd vendor/gabordemooij/redbean && php replica2.php onlyphp"
],
"post-install-cmd": [
"@post-update-cmd"