Skip to content

Instantly share code, notes, and snippets.

@6uimorais
6uimorais / _Self-Hosted-Kadira-APM-Docker-Compose -Ubuntu.md
Last active January 29, 2022 16:34
Self Hosted Kadira APM - Docker Compose - Ubuntu

1 - Get an Ubuntu machine up and running (make sure ports 11011 and 4000 are open)

2 - Install docker + docker-compose (full_install_docker_compose.sh)

3 - Get a docker-compose.yml with mongodb, kadira-ui, kadira-engine and kadira-rma (docker-compose.yml)

3 - Run "sudo docker-compose up" (-d if you want it running on background)

4 - Access http://machineIp:4000 and login as "admin@gmail.com" and "admin" password

5 - Create your APP, get the ID and Secret

6 - Setup kadira in your app by code or settings.json (Config)

7 - Update your app from "free" plan to "paid" to get full access at Kadira ([Update App Plan](https://gist.github.com/6uimorais/1e1de20bbbb2a04fe19fc73f88d6a25f#file-changepl

@caseyscarborough
caseyscarborough / Solvable.java
Last active December 2, 2019 18:45
This class shows how to determine if a 3x3 sliding puzzle is solvable or not.
/**
* This class represents how to determine the solvability
* of a 3 x 3 sliding puzzle.
*
* @author Casey Scarborough
*/
public class Solvable {
public static void main(String[] args) {