Skip to content

Instantly share code, notes, and snippets.

# Individual/Employee Contributor License Agreement
This Individual/Employee Contributor License Agreement (hereinafter referred to as the “Agreement”) is between the individual, submitting Agreement, further referred to as “Contributor” and Camunda Services GmbH, Zossener Strasse 55-58, 10961 Berlin, Germany, further referred to as "Camunda" (together referred to as the “Parties”). The purpose of this Agreement is to set forth the terms and conditions under which Camunda may use software that the Contributor wishes to contribute to Camunda for use within one or more of its software development projects.
By submitting this Agreement, the Contributor agrees to enter into a binding Agreement based on the below stipulated terms and conditions. Before clicking the button to accept, the Contributor will read the terms and conditions of this Agreement and any terms of use provided herewith. The Contributor warrants that they are authorized to complete this process as set forth above.
## The Contributor agrees to
@akeller
akeller / .htaccess
Created January 11, 2022 23:02
Modeler & Optimize docs.camunda.org to docs.camunda.io
# RewriteRule Modeler Latest
RewriteRule ^manual/latest/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^manual/latest/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^manual/latest/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^manual/latest/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^manual/latest/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^manual/latest/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^manual/latest/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^manual/latest/introduction/licenses/#license https://docs.camunda

Ensure Camunda is running. Hint -

$ cd camunda-bpm-tomcat-7.14.0
$ ./start-camunda.sh

Additionally make sure the NodeJS version of the external task worker is not running.

Using Eclipse

@akeller
akeller / Program.cs
Created October 1, 2020 21:13
Digest Auth Example C#
using System;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
namespace ConsoleApp1
{
class Program
{
private static readonly string user = "<USERNAME>";
@akeller
akeller / Parenting COVID Resources.md
Last active August 28, 2020 18:39
A set of resources for parents during a pandemic

Have you found a resource that you think others would benefit from? Articles, blogs, videos, podcasts, books, and any other suggestions are welcome. Please add your resource to the appropriate section or create a new one.

Videos

Articles/Guides

Things to Highlight

  • offer-answer (!negotiation)
  • Wowza Examples, Publish
    • 1st SDP - Here is what is supported in browser (gotDescription)
    • 2nd SDP - Here is what we've chosen to publish with (gotDescription: setting local description SDP)
    • 3rd SDP - Here is what is supported in Engine (or Cloud) (gotDescription: setting remote description SDP)
      • profile-level-id=42e01f
  • Ian's broken example (m-lines error)
@akeller
akeller / wsc-hmac-auth.js
Created June 30, 2020 14:07
Postman pre-request script for wsc hmac auth
pm.variables.set("wsc-api-key", "XXXXXXXXX");
// get and set a timestamp in seconds (Unix epoch)
var timestamp = Math.floor(Date.now() / 1000);
pm.variables.set("wsc-timestamp", timestamp);
console.log("timestamp=" + timestamp);
//normalize Postman path object
console.log("pm.request.url.path=" + pm.request.url.path)
var path = "/"; // force leading slash
@akeller
akeller / test.sh
Created January 24, 2020 17:33
CC Request Curl/bash
#!/bin/bash
KEY="YOURKEY"
SECRET="YOURSECRET"
DOMAIN="YOURDOMAIN"
DATE=`date +%s000`
TMP=`echo -n "$DATE" | openssl dgst -sha256 -hmac $SECRET -binary`
HMACDIGEST=`echo -n "$DOMAIN" | openssl dgst -sha256 -hmac $TMP`
authHeader="HMAC-SHA256, Credential=$KEY, SignedHeaders=host;x-date, Signature=${HMACDIGEST}"
@akeller
akeller / CCrequestheader.js
Created January 15, 2020 22:50
Postman - CC Request Header
var crypto = require('crypto-js');
let requestTime = Date.now();
let key = "{{APIKEY}}";
let secret = "{{SECRETKEY}}";
let domain = "{{DOMAIN}}";
let hmacDigest = crypto.enc.Hex.stringify(crypto.HmacSHA256(domain, crypto.HmacSHA256(requestTime.toString(), secret)));
let authorizationHeader =`HMAC-SHA256, Credential=${key}, SignedHeaders=host;x-date, Signature=${hmacDigest}`;
@akeller
akeller / WatsonLogic.cs
Last active May 6, 2019 16:12
Updated Assistant, STT, TTS example with Watson SDK for Unity & Unity Core [works with unity sdk 3.1.0 (2019-04-09) & Unity core sdk 0.2.0 (2019-04-09)]
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using IBM.Watson.Assistant.V2;
using IBM.Watson.Assistant.V2.Model;
using IBM.Watson.SpeechToText.V1;
using IBM.Watson.TextToSpeech.V1;
using IBM.Cloud.SDK;
using IBM.Cloud.SDK.Utilities;
using IBM.Cloud.SDK.DataTypes;