Skip to content

Instantly share code, notes, and snippets.

View vojtech-cerveny's full-sized avatar
🦊
Foxy fox

Vojtěch Červený vojtech-cerveny

🦊
Foxy fox
  • Sequenex
  • Ostrava, Czech Republic
View GitHub Profile
@vojtech-cerveny
vojtech-cerveny / JSONProvider.java
Created July 2, 2017 10:59
JSON to Object[][]?
package components;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import org.testng.annotations.DataProvider;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
const request = require('request');
const fs = require('fs');
const log = require('electron-log');
const electron = require('electron');
const {spawn} = require('child_process');
const {Utils} = require('../Utils');
const nameMap = {
> [email protected] test /home/cervik/Documents/dev/projectOrigin
> wdio wdio.conf.js
------------------------------------------------------------------
[chrome #0-0] Session ID: de8fc731c6bbab6314142afbbb7be813
[chrome #0-0] Spec: /home/cervik/Documents/dev/projectOrigin/test/login/LoginForm.js
[chrome #0-0] Running: chrome
[chrome #0-0]
[chrome #0-0] LoginForm
[chrome #0-0] 1) is visible
@vojtech-cerveny
vojtech-cerveny / json
Created January 5, 2018 15:38
package.json for
{
"name": "App",
"version": "v2.0.0",
"description": "desc",
"homepage": "https://app.com/",
"main": "src/main.js",
"scripts": {
"start": "DEV=true electron src/main.js ",
"test": "echo \"Error: no test specified\" && exit 1",
"dist:win": "electron-builder --win",
<div class="row">
<div class="col s12">
<ul class="collapsible">
<li class="">
<div class="collapsible-header icon-block center">
<h2 class="center brown-text"><i class="material-icons">star</i></h2><br>
<h5 class="center">Informace o nás a naše cíle</h5>
</div>
<div class="collapsible-body flow-text" style="display: none;">

Single Job Container Example

This example shows how to run a container with CloverDX Server for a specific job. The image already contains a sandbox and uses an embedded Derby database. When the job finishes execution, the container is stopped.

Running the example

  • Build the base image

docker build -t cloverdx-server .

{
"ClientId":"someInteresingSecretApp",
"Plan":"SecretPlan",
"Uid":"SecretName",
"RoleHash":"SecretRole",
"Role":"",
"CustomCss":"",
"AppSettings":{
"TopBarEnabled":false,
"TopBarLogoEnabled":true,
import React from "react";
import {
Form,
Input,
Tooltip,
Icon,
Select,
DatePicker,
Checkbox,
Button,
const feedbackMachine = Machine({
id: 'comment',
initial: 'comment_tab_closed',
//context: { wasClosed: false },
states: {
comment_tab_closed: {
on: {
OPEN_COMMENTS: 'comment_tab_opened',
},
meta: {
const feedbackMachine = Machine({
id: 'comment',
initial: 'comment_tab_closed',
//context: {
// commentWasChanged: undefined,
// commentWasDeleted: undefined,
// commentWasAdded: undefined
//},
states: {
comment_tab_closed: {