Skip to content

Instantly share code, notes, and snippets.

@blabno
blabno / ArquillianSuiteExtension.java
Last active December 16, 2015 05:49 — forked from aslakknutsen/ArquillianSuiteExtension.java
Got it working with Drone, Graphene, JSFUnit and mock-contexts-extension
package org.jboss.arquillian.extension.suite;
import org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor;
import org.jboss.arquillian.container.spi.Container;
import org.jboss.arquillian.container.spi.ContainerRegistry;
import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
import org.jboss.arquillian.container.spi.client.deployment.Deployment;
import org.jboss.arquillian.container.spi.client.deployment.DeploymentScenario;
import org.jboss.arquillian.container.spi.client.protocol.metadata.ProtocolMetaData;
import org.jboss.arquillian.container.spi.event.DeployDeployment;
'use strict';
var Joi = require('joi');
module.exports = function (harvester) {
harvester
.resource('categories', {
name: Types.string().required().description('a name'),
links: {
@blabno
blabno / 0_reuse_code.js
Created February 5, 2016 17:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console