Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am blabno on github.
* I am blabno (https://keybase.io/blabno) on keybase.
* I have a public key ASAjltrAuvcyK2vrD-Ae8x_8SBLsqwLc3AFaQlSCwJeLBAo
To claim this, I am signing this object:
@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
'use strict';
var Joi = require('joi');
module.exports = function (harvester) {
harvester
.resource('categories', {
name: Types.string().required().description('a name'),
links: {
@blabno
blabno / gist:7126723
Created October 23, 2013 21:03
Attempt for custom KineticJS shape
(function ()
{
Kinetic.Link = function (config)
{
this.____init(config);
};
Kinetic.Link.prototype = {
____init: function (config)
{
// call super constructor
@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;