$ export https_proxy='87.248.188.202:8080'
$ export http_proxy='87.248.188.202:8080'
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
# The cluster name | |
cluster.name: media | |
# Path Settings | |
#path.conf: /path/to/conf | |
#path.data: /path/to/data | |
#path.work: /path/to/work | |
#path.logs: /path/to/logs |
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
PhpstormでFTPアップロードで以下のエラーが出るとき | |
Failed to change timestamp of the file | |
Tool - Deployment -Optionsにて、「Preserve files timestamps」のチェックを外す |
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
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
// Run this in the F12 javascript console in chrome | |
// if a redirect happens, the page will pause | |
// this helps because chrome's network tab's | |
// "preserve log" seems to technically preserve the log | |
// but you can't actually LOOK at it... | |
// also the "replay xhr" feature does not work after reload | |
// even if you "preserve log". | |
window.addEventListener("beforeunload", function() { debugger; }, false) |
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 | |
/** | |
* generateCallTrace() function | |
* | |
* A function for getting a nice and comprehensible call trace. | |
* It is probably more resource-intensive than some other alternatives but it is short, | |
* understandable, and gives nice output (Exception->getTraceAsString()). | |
* | |
* @package generateCallTrace | |
* @version 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
package main | |
import ( | |
"log" | |
"fmt" | |
"context" | |
"github.com/docker/docker/api/types" | |
"github.com/docker/docker/client" | |
) |