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.
#!/usr/bin/env drush | |
<?php | |
/** | |
* Usage: " ./module_finder.drush metatag" | |
* Usage multiple modules: " ./module_finder.drush 'views|metatag" | |
*/ | |
// Get all aliases. | |
$aliases = _drush_sitealias_all_list(); |
// Returns a function, that, as long as it continues to be invoked, will not | |
// be triggered. The function will be called after it stops being called for | |
// N milliseconds. If `immediate` is passed, trigger the function on the | |
// leading edge, instead of the trailing. | |
function debounce(func, wait, immediate) { | |
var timeout; | |
return function() { | |
var context = this, args = arguments; | |
clearTimeout(timeout); |