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
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' | |
' Versions | |
' | |
' Version: 1.5 | |
' source: inzi.com | |
' | |
' Change Log | |
' | |
' v1.0 | |
' Original |
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
sub vcl_recv { | |
if (req.http.X-Blackfire-Query && client.ip ~ profile) { | |
//set req.backend_hint = backend1; // if you want to disable loadbalancer to profile (aka only 1 backend needs blackfire extension | |
return (pass); | |
} else { | |
// Add a Surrogate-Capability header to announce ESI support. | |
set req.http.Surrogate-Capability = "abc=ESI/1.0"; | |
} | |
} |
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
image: newsdev/varnish:4.1.0 | |
test: | |
script: | |
- /usr/local/sbin/varnishd -C -f default1.vcl |
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
lingustique -> linguistique | |
vraiement -> vraiment | |
suffisament -> suffisamment | |
video -> vidéo | |
s'accomoder -> s'accommoder | |
connnu -> connu | |
le client envoit une requête -> le client envoie une requête | |
négoicer -> négocier | |
la lui envoit -> la lui envoie | |
fontionne -> fonctionne |
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
### Keybase proof | |
I hereby claim: | |
* I am pborreli on github. | |
* I am pborreli (https://keybase.io/pborreli) on keybase. | |
* I have a public key whose fingerprint is E171 699B D7D7 E75C 9784 4930 7DB5 FAEA 91EE 3C75 | |
To claim this, I am signing this object: |
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
SELECT | |
COUNT(payload_pull_request_number) as counter, payload_pull_request_merged as merged | |
FROM [githubarchive:github.timeline] | |
WHERE type="PullRequestEvent" | |
AND actor = 'parkr' | |
AND payload_action = 'closed' | |
AND repository_name = 'jekyll' | |
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2014-04-01 00:00:00') | |
GROUP BY merged; |
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one
Go to Google bigquery and execute the following query replacing XXX with your GitHub login
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 | |
protected function execute(InputInterface $input, OutputInterface $output) | |
{ | |
$progress = $this->getHelperSet()->get('progress'); | |
$ctx = stream_context_create(array(), array('notification' => function ($notification_code, $severity, $message, $message_code, $bytes_transferred, $bytes_max) use ($output, $progress) { | |
switch ($notification_code) { | |
case STREAM_NOTIFY_FILE_SIZE_IS: | |
$progress->start($output, $bytes_max); | |
break; |
NewerOlder