Skip to content

Instantly share code, notes, and snippets.

openapi: 3.0.3
info:
title: UsageApi
version: 2.0.0
paths:
/skus/admin/import/all:
post:
tags:
- admin
description: Reload latest SKU configuration and assignments for ALL tenants

Testing/enabling custom JVM trustore

Set up a use case for testing before installing any bundles

Try reindexing from another cluster in the same env (updating the cluster id/password etc):

POST _reindex
{
 "source": {

Keybase proof

I hereby claim:

  • I am dimatkach on github.
  • I am dimatkach (https://keybase.io/dimatkach) on keybase.
  • I have a public key ASBHnAIeeBHmmDfITviX4t60ThPuZp016nH72aRofrZUEgo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am dimatkach on github.
* I am dimatkach (https://keybase.io/dimatkach) on keybase.
* I have a public key ASB6ubgX3PiTTbvQ9pmPZYFYA_QmOemZfEEJ4jCYjSXkNgo
To claim this, I am signing this object:
@dimatkach
dimatkach / Palindromes.scala
Created December 4, 2017 13:30
Combine input strings to generate all possible palindromes
/** Given a list of (unique) strings, find all combinations (containing each of the strings at
* most once), that, if concatenated in that particular order, make up a palindrome string
* (ignoring case). Combinations, containing the same strings in different order are considered
* different, as well as those, that contain different strings, but produce the same palindrome.
*
* Single character and empty strings are trivial palindromes, and not treated specially
* (including an empty string into inputs, "explodes" the number of combinations, because you
* can insert an empty string anywhere in a valid sequence, and it will still be valid).
*
* See [[Palindromes.apply]] for the main entry point.
@dimatkach
dimatkach / Bench.scala
Last active October 2, 2017 13:23
groupBy vs. floldLeft vs. for...
import scala.collection.mutable
/**
* Demonstrates performance difference between different implementations of counting duplicates in an array.
* The code below "as is" prints
* ```
* groupBy 25432
* fold 7591
* mutable 16233
* raw 16349