Skip to content

Instantly share code, notes, and snippets.

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

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 / imdb_senscritique.csv
Created February 21, 2017 21:38
Correspondances des IDs entre IMDB et SensCritique
imdb senscritique
370 13024092
420 420901
1737 475979
6414 364126
9968 472085
16563 400087
18455 451178
19959 411402
20389 415452
@abouvier
abouvier / macros.conf
Created August 14, 2017 21:52
Apache mod_macro
<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>