First, install the Xdebug package from the testing repository.
$ apk add php7-xdebug --repository http://dl-3.alpinelinux.org/alpine/edge/testing/
Now edit the /etc/php7/php.ini
file and add the following to the end of it:
zend_extension=/usr/lib/php7/modules/xdebug.so
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
docker stats $(docker inspect -f '{{.Name}}' $(docker ps -q) | cut -c 2-) |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> | |
<script> | |
jQuery(function($){ | |
var draw = function(shape){ | |
var a = 50; | |
var b = a*shape[0]; | |
var c = a*shape[1]; |