Skip to content

Instantly share code, notes, and snippets.

View Doogiemuc's full-sized avatar

Robert Doogiemuc

View GitHub Profile
@Doogiemuc
Doogiemuc / TinyMceDirective.js
Created December 14, 2016 14:04
VueJs TinyMCE directive
<script>
module.exports = {
twoWay: true,
bind: function() {
var self = this;
var IDattr = self.el.getAttribute('id')
console.log("TinyMCEDirective.bind IDattr="+IDattr)
@Doogiemuc
Doogiemuc / TinyMceComponent
Last active October 9, 2019 13:05
VueJS component for TinyMCE
<template>
<textarea :id="textareaId">{{{content}}}</textarea>
</template>
<script>
export default {
props: {
@Doogiemuc
Doogiemuc / ThreadDump.log
Created February 18, 2017 13:45
ThreadDump of StackStraceException
"http-nio-8080-exec-1@8409" daemon prio=5 tid=0x1f nid=NA runnable
java.lang.Thread.State: RUNNABLE
at org.doogie.liquido.rest.LiquidoAuditorAware.getCurrentAuditor(LiquidoAuditorAware.java:49)
at org.doogie.liquido.rest.LiquidoAuditorAware.getCurrentAuditor(LiquidoAuditorAware.java:21)
at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source:-1)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy132.getCurrentAuditor(Unknown Source:-1)
@Doogiemuc
Doogiemuc / DamgardJurikTest.java
Created December 26, 2017 17:05
Damgard Jurik Encryption for eVoting - Not yet working example that 'tries' to use the great SCAPI lib
package org.doogie;
import edu.biu.scapi.midLayer.asymmetricCrypto.encryption.DJKeyGenParameterSpec;
import edu.biu.scapi.midLayer.asymmetricCrypto.encryption.DamgardJurikEnc;
import edu.biu.scapi.midLayer.asymmetricCrypto.encryption.ScDamgardJurikEnc;
import edu.biu.scapi.midLayer.asymmetricCrypto.keys.ScDamgardJurikPublicKey;
import edu.biu.scapi.midLayer.ciphertext.AsymmetricCiphertext;
import edu.biu.scapi.midLayer.plaintext.BigIntegerPlainText;
import java.math.BigInteger;
swagger: '2.0'
info:
description: >-
Order Service 2.0 - Next version of On Demand Mobility Microservice with local cache of data for
trips and orders. (Invoice and Payment is not in scope here.)
This service has very simple endpoints. For each domain object there are two REST resources:
<ol>
<li>.../my -> query for all objects of the currently logged in user.</li>
<li>.../search -> query for all itmes that match the given filter parameters with sorting and paging