This file contains hidden or 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
| nginx-proxy-start: | |
| docker run -d --restart=always --net=host -p 80:80 -p 443:443 -v $(dir $(abspath $(lastword $(MAKEFILE_LIST))))certs:/etc/nginx/certs:ro -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy | |
| nginx-proxy-stop: | |
| docker rm $$(docker stop $$(docker ps -a -q --filter ancestor=jwilder/nginx-proxy --format="{{.ID}}")) | |
| nginx-proxy-restart: | |
| -make nginx-proxy-stop | |
| make nginx-proxy-start |
This file contains hidden or 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
| define([], function () { | |
| return function (task_closure, condition_closure, timeout_function) { | |
| var itself = function () { | |
| timeout_function(function () { | |
| if (condition_closure()) { | |
| task_closure(); | |
| } else { | |
| itself(); | |
| } | |
| }, 100); |
This file contains hidden or 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
| from unittest import TestCase | |
| import sys | |
| from StringIO import StringIO | |
| class OutputTestCase(TestCase): | |
| def assertOutput(self, expected_output): | |
| return _AssertOutputContext(expected_output, self) |
This file contains hidden or 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
| require 'formula' | |
| class Phpunit < Formula | |
| homepage 'http://www.phpunit.de/manual/current/en/index.html' | |
| url 'http://pear.phpunit.de/get/phpunit.phar' | |
| sha1 'de677ba60b2ccd135002d02501cde16a471503f5' | |
| version 'HEAD' | |
| def install | |
| bin.install "phpunit.phar" => "phpunit" |