This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| /* | |
| Excel Array Manipulation LAMBDA functions | |
| Courtesy of Excel Robot | |
| The Microsoft Excel team recent released 11 new Excel functions for combining, shaping, and resizing arrays. | |
| I had already created similar ones for myself using the amazing LAMBDA function. Since the new functions | |
| are only available to users running Beta Channel, I've renamed my versions and given them the same function | |
| names so anyone with LAMBDA and LAMBDA helper functions (like MAKEARRAY), and import these LAMBDAs into your | |
| workbook and have nearly the same functionality. |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
| /// <summary> | |
| /// Static helper class to debug failed MEF composition. | |
| /// </summary> | |
| public static class MefDebuggingHelper | |
| { | |
| /// <summary> | |
| /// Writes missing import definitions to the debug console. | |
| /// </summary> | |
| /// <param name="container"></param> | |
| [Conditional("DEBUG")] |
| Function GetLocalDBNamedPipe() | |
| { | |
| param( [string]$DB) | |
| # This function can accept instance names in the format '(localdb)\Instance' | |
| $DB = $DB.replace("(localdb)\", '') | |
| # Ensure that it is running (assumes the DB already exists) | |
| # Note: pipe names change each time the database starts |
| // Usage: | |
| // Copy and paste all of this into a debug console window of the "Who is Hiring?" comment thread | |
| // then use as follows: | |
| // | |
| // query(term | [term, term, ...], term | [term, term, ...], ...) | |
| // | |
| // When arguments are in an array then that means an "or" and when they are seperate that means "and" | |
| // | |
| // Term is of the format: | |
| // ((-)text/RegExp) ( '-' means negation ) |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using JetBrains.Annotations; | |
| namespace Foo | |
| { | |
| public class MarginSetter | |
| { | |
| private static Thickness GetLastItemMargin(Panel obj) | |
| { |
| define(['jquery', 'bootbox'], function($, bootbox){ | |
| /** | |
| * @author stephen.young@zumba.com | |
| * @constructor | |
| */ | |
| var Popper = function(){}; | |
| /** | |
| * Flat map of semantic interface methods to Deferred object methods. |