I hereby claim:
- I am mikemilano on github.
- I am mikemilano (https://keybase.io/mikemilano) on keybase.
- I have a public key ASABz2i1e4NWC-1JfHHTn0X2IKP7lVuwfxscQLW9pFd2rgo
To claim this, I am signing this object:
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: Gateway | |
metadata: | |
name: kiali-gateway | |
namespace: istio-system | |
spec: | |
selector: | |
istio: ingressgateway | |
servers: |
# Rename the `name` property and add this `.lando.yml` file to your project root. | |
# | |
# bin/console commands: | |
# lando console ... | |
# | |
# symfony commands: | |
# lando symfony ... | |
# | |
# Your .env file should include this: | |
# DATABASE_URL=mysql://root@database:3306/main |
I hereby claim:
To claim this, I am signing this object:
By adding the following template to an Elasticsearch | |
instance, you will assure any index with a name | |
beginning with `enrollment-log` will inherit the | |
mappings defined within. | |
PUT _template/enrollment-log | |
{ | |
"template": "enrollment-log*", | |
"settings": { | |
"number_of_shards": 4 |
<?php | |
namespace App\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Console\Style\SymfonyStyle; |
<?php | |
class Motorcycle { | |
private $make; | |
private $model; | |
/** | |
* Returns the motorcycle make. | |
* | |
* @return string The motorcycle make |
#!/bin/sh | |
source ~/.bashrc | |
platform project:list --pipe|awk '{cmd="platform snapshot:create --no-wait -q -e master -p "$1; print cmd}'|sh |
drush cr | |
drush pmu commerce_payment_example -y | |
composer remove drupal/commerce_payment_example | |
drush pmu commerce_payment -y | |
drush pmu commerce_checkout -y | |
drush pmu commerce_cart -y | |
drush pmu commerce_order -y | |
drush pmu commerce_product -y | |
drush pmu commerce_store -y | |
drush pmu commerce_price -y |
angular.module('kalabox.dprogress', []) | |
.directive('dprogress', ['_', function (_) { | |
var bar_data = []; | |
function makeChart() { | |
var chart = d3.select('#chart') | |
.append("div").attr("class", "chart") | |
.selectAll('div') | |
.data(bar_data) |
<?php | |
/* | |
* Password Hashing With PBKDF2 (http://crackstation.net/hashing-security.htm). | |
* Copyright (c) 2013, Taylor Hornby | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, |