I hereby claim:
- I am jchatard on github.
- I am jchatard (https://keybase.io/jchatard) on keybase.
- I have a public key whose fingerprint is 0264 6503 6E7F 0BCB 1C21 4720 D6EA CDC0 9BE0 E484
To claim this, I am signing this object:
const keycodes = [ | |
{ | |
code: 41, | |
labels: { | |
primary: "ESC" | |
} | |
}, | |
{ | |
code: 58, | |
labels: { |
// L'internaute vient de valider sa saisie et elle est valide | |
// Premier paramètre est le message | |
// Second paramètre est le nom de domaine (* nous permet de gérer tous les environnements, DEV, PREPROD et PROD) | |
parent.postMessage("submit", "*"); |
<?php | |
// ... autres fonctions du module | |
/** | |
* Helper function that sends commands to Varnish. | |
* Utilizes sockets to talk to varnish terminal. | |
*/ | |
function _varnish_terminal_run($commands) { | |
if (!extension_loaded('sockets')) { |
{ | |
"settings": { | |
"number_of_shards": 5, | |
"analysis": { | |
"filter": { | |
"elision": { | |
"type": "elision", | |
"articles": [ | |
"l", | |
"m", |
# Respond to incoming requests. | |
sub vcl_recv { | |
# Use anonymous, cached pages if all backends are down. | |
if (!req.backend.healthy) { | |
unset req.http.Cookie; | |
} | |
# Allow the backend to serve up stale content if it is responding slowly. | |
set req.grace = 6h; |
I hereby claim:
To claim this, I am signing this object:
Warning: in_array() expects parameter 2 to be array, null given in DateObject->limitGranularity() (line 521 of /vagrant/web/sites/all/modules/contrib/date/date_api/date_api.module). | |
Warning: in_array() expects parameter 2 to be array, null given in DateObject->limitGranularity() (line 521 of /vagrant/web/sites/all/modules/contrib/date/date_api/date_api.module). | |
Warning: in_array() expects parameter 2 to be array, null given in DateObject->limitGranularity() (line 521 of /vagrant/web/sites/all/modules/contrib/date/date_api/date_api.module). | |
Warning: in_array() expects parameter 2 to be array, null given in DateObject->limitGranularity() (line 521 of /vagrant/web/sites/all/modules/contrib/date/date_api/date_api.module). | |
Warning: in_array() expects parameter 2 to be array, null given in DateObject->limitGranularity() (line 521 of /vagrant/web/sites/all/modules/contrib/date/date_api/date_api.module). | |
Warning: in_array() expects parameter 2 to be array, null given in DateObject->limitGranularity() (line 521 of /va |
require 'mina/git' | |
# Basic settings: | |
# domain - The hostname to SSH to. | |
# deploy_to - Path to deploy into. | |
# repository - Git repo to clone from. (needed by mina/git) | |
# branch - Branch name to deploy. (needed by mina/git) | |
case ENV['to'] | |
when 'production' | |
set :domain, 'www.foo.bar' |
dscacheutil -flushcache |
<?php | |
/** | |
* Country list ISO-3166-1 (ALPHA 2) in french | |
*/ | |
function countries() { | |
$countries = array( | |
'AF' => 'Afghanistan', | |
'ZA' => 'Afrique Du Sud', | |
'AX' => 'Åland, Îles', |