Skip to content

Instantly share code, notes, and snippets.

@nikku
nikku / wincmd.md
Last active August 29, 2015 13:56
Windows command line hacks

Windows CMD hacks

This document contains a list of useful windows command line tools.

Open

From Explorer

Using Hibernate on Glassfish 4

  • Remove eclipse link files:

    • Matching glassfish/modules/**/*jpa*.jar
    • Exclude glassfish/modules/gf-jpa-connector.jar
    • Exclude glassfish/modules/jpa-container.jar
  • Unpack hibernate + dependencies to glassfish/lib.

@nikku
nikku / sublime3-config.md
Created February 17, 2014 11:58
sublime3-config

Plug-ins

JavaScript

  • DocBlockr
  • SideBarEnhancements
  • GitGutter
  • tern_for_sublime
  • SublimeLinter
@nikku
nikku / json-metamodel.md
Created February 25, 2014 09:46
camunda Modeler: from dusk till dawn
{
  "name": "FlowNode",
  "superClass": "FlowElement AnotherSuperClass",
  "properties": [
    {
      "name": "outgoing",
      "type": "SequenceFlow",
      "isMany": true
    },
@nikku
nikku / OverlayApiSpec.js
Created July 29, 2014 08:39
OverlayApiSpec.js
'use strict';
var TestHelper = require('../../../TestHelper');
/* global bootstrapDiagram, inject */
var overlayModule = {}; // require('../../../../lib/features/overlays');
@nikku
nikku / camunda-bpm-webapp.bat
Last active August 29, 2015 14:04
Setup script for camunda-bpm-webapp on Windows
SET BASE=%CD%
REM camunda-admin-ui
mklink /D %BASE%\camunda-admin-ui\client\bower_components\camunda-commons-ui %BASE%\camunda-commons-ui
REM camunda-tasklist-ui
mklink /D %BASE%\camunda-tasklist-ui\client\vendor\camunda-commons-ui %BASE%\camunda-commons-ui
@nikku
nikku / monitor-plug.sh
Last active August 29, 2015 14:05
Monitor switching script for Optimus (Intel + Nvidia) equiped computers
#!/bin/bash
export DISPLAY=:0.0
export XAUTHORITY=/home/nikku/.Xauthority
INTERN="LVDS1"
EXTERN="VIRTUAL3"
DOCK1="VIRTUAL4"
DOCK2="VIRTUAL5"
PROJECTOR="VGA1"
@nikku
nikku / camunda-cockpit-custom-extension-points.md
Last active August 29, 2015 14:06
Ship custom extension points as camunda Cockpit plug-ins

camunda Cockpit - custom extension points

This short tutorial shows how to ship your custom extension points with camunda Cockpit. Those extension points can be implemented by other plug-ins for extra fun.

In order to accomplish our goal we must ship a custom extension point provider as well as one or more implementors as camunda Cockpit plug-ins.

Create a extension point provider

Hook yourself into an existing extension point and query the Views service for extensions implementing a (your !) custom extension point. We simply call it CUSTOM and implementors should use that name to plug-in new functionality.