This talk is all live demos of tools developers can use in their inner-loop, at development time to be more productive with containers.
Docker Compose captures the build arguments and run arguments so we can focus on our coding.
| .SILENT: | |
| .PHONY: help | |
| # Based on https://gist.github.com/prwhite/8168133#comment-1313022 | |
| ## Print this help screen. | |
| help: | |
| printf "Available targets\n\n" | |
| awk '/^[a-zA-Z\-\_0-9]+:/ { \ | |
| helpMessage = match(lastLine, /^## (.*)/); \ |
Annotator.js works on Drupal as two modules and a library (installed, as usual, under /sites/all):
/modules/annotator
/modules/annotation
/libraries/annotator
The files in libraries/annotator are the latest from the Annotator.js repo (https://github.com/openannotation/annotator/releases). Although the modules Infinite Ulysses uses have been significantly changed from the modules you could download on Drupal.org, the Drupal.org Annotator (https://www.drupal.org/project/annotator) and Annotation (https://www.drupal.org/project/annotation) modules pages might still have useful info if you're troubleshooting.
| <?php | |
| /** | |
| * php-ansi-color | |
| * | |
| * Original | |
| * https://github.com/loopj/commonjs-ansi-color | |
| * | |
| * @code | |
| * <?php | |
| * require_once "ansi-color.php"; |
| <?php | |
| class ๐ฉ๐ฉ๐ฉ๐ฉ | |
| { | |
| function ๐ฉ๐ฉ๐ฉ($๐, $๐ฏ) | |
| { | |
| return $๐ + $๐ฏ; | |
| } | |
| } | |
| $๐ = 3; |
| // easing functions http://goo.gl/5HLl8 | |
| Math.easeInOutQuad = function (t, b, c, d) { | |
| t /= d/2; | |
| if (t < 1) { | |
| return c/2*t*t + b | |
| } | |
| t--; | |
| return -c/2 * (t*(t-2) - 1) + b; | |
| }; |