Docker compose error docker.errors.DockerException: HTTPS endpoint unresponsive and insecure mode isn't enabled.
$ docker-compose pull --allow-insecure-ssl
--allow-insecure-ssl
Docker compose error docker.errors.DockerException: HTTPS endpoint unresponsive and insecure mode isn't enabled.
$ docker-compose pull --allow-insecure-ssl
--allow-insecure-ssl
<?php | |
App::uses('Model', 'Model'); | |
class AppModel extends Model { | |
public $actsAs = array('Containable'); | |
public $recursive = -1; | |
public function getErrors() { | |
return $this->validationErrors; |
docker rm $(docker ps -aq) |
<?php | |
var_dump(exec('xvfb-run /usr/bin/wkhtmltopdf http://google.com /var/www/yep.test.' . time())); | |
$test = array( | |
array('pipe', 'r'), | |
array('pipe', 'w'), | |
array('pipe', 'w'), | |
); |
<?php | |
if (!session_id()) { session_start(); } | |
App::import('Vendor', 'Facebook'); | |
class FacebookCake | |
{ | |
public function __construct($name = '') | |
{ |
#!/bin/bash | |
echo "=======================================================================================" | |
echo "Fixing code standard" | |
echo "=======================================================================================" | |
php-cs-fixer fix $PWD/src/ | |
echo "Ok done ;)" | |
echo "" | |
echo "=======================================================================================" | |
echo "Lets see the mess in our code" | |
echo "=======================================================================================" |
h1, h2, h3, h4, h5, h6 { | |
font-family: 'OfficinaSerifStd-Bold', 'Baskerville', 'Cambria', 'Constantia', 'Palatino Linotype', 'Palatino', 'Georgia', 'Times', 'Times New Roman', serif; | |
font-weight: bold; | |
color: rgb(51, 51, 51); | |
line-height: 30px; | |
} | |
p { | |
margin: 15px 0; | |
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | |
font-size: 14px; |