Skip to content

Instantly share code, notes, and snippets.

View DominikDary's full-sized avatar

Dominik Dary DominikDary

View GitHub Profile
[INFO]
[INFO] --- maven-surefire-plugin:2.14-SNAPSHOT:test (tck-tests) @ arquillian-jbossas-remote-6 ---
[INFO] Surefire report directory: /home/aslak/dev/source/testing/arquillian-container-jbossas/jbossas-remote-6/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.arquillian.tck.container.cdi_1_0.CDIBeanLookupWarTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.866 sec
Running org.arquillian.tck.container.servlet_2_5.MultipleWebContextLookupMultiWarTestCase
#!/usr/bin/perl
#
# Pre-commit hook for running checkstyle on changed Java sources
#
# To use this you need:
# 1. checkstyle's jar file somewhere
# 2. a checkstyle XML check file somewhere
# 3. To configure git:
# * git config --add checkstyle.jar <location of jar>
# * git config --add checkstyle.checkfile <location of checkfile>
#!/bin/bash
#
# This script runs a given command over a range of Git revisions. Note that it
# will check past revisions out! Exercise caution if there are important
# untracked files in your working tree.
#
# This came from Gary Bernhardt's dotfiles:
# https://github.com/garybernhardt/dotfiles
#
# Example usage:
http://microxchg.io/2015/slides/01_01_lessons-from-a-polyglot-portfolio.pdf
http://microxchg.io/2015/slides/01_02_microXchg_2015_architekturbewertung_szoerner.pdf
http://microxchg.io/2015/slides/01_03_SpringCloud.pdf
http://microxchg.io/2015/slides/01_04_microservicesscalafunctionaldomainmodelsmunichberlin2015-150217091332-conversion-gate02.pdf
http://microxchg.io/2015/slides/01_05_uwe_friedrichsen_microservices.pdf
http://microxchg.io/2015/slides/01_06_micro_service_challenges.pdf
http://microxchg.io/2015/slides/01_07_2015-02-13-microXchg-StefanTilkov.pdf
http://microxchg.io/2015/slides/01_08_AdrianCockcroftSlides.pdf
http://microxchg.io/2015/slides/01_09_PrinciplesOfMicroservices-Microxchg.pdf
http://microxchg.io/2015/slides/01_10_MicroServices_-_Are_your_frameworks_ready--microxchg.pdf
@DominikDary
DominikDary / bookmarklet.md
Last active August 29, 2015 14:23 — forked from lukeis/bookmarklet.md
Selendroid-Close-Non-Issue

javascript:(function(){$('#new_comment_field')[0].value='This is a question rather than an issue. Please send questions to the selendroid user group\n\nFor issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.\n\nSee architecture.html';$('button[name="comment_and_close"]').click()})()

@DominikDary
DominikDary / AdobeLogo
Last active August 29, 2015 14:23 — forked from reevik/AdobeLogo
@DominikDary
DominikDary / android_emu_start.sh
Created August 1, 2012 13:40 — forked from stackedsax/android_emu_start.sh
Script for starting up multiple android emulators per box
#!/bin/bash
#####
#
# This script creates android emulators on the fly.
#
# Please refer to the README for usage instructions.
#
####
@DominikDary
DominikDary / ladder.md
Created October 29, 2015 12:29 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
#! /bin/bash
#=====================================================================
# Selects an android device
# Copyright (C) 2012-2013 Diego Torres Milano. All rights reserved.
#=====================================================================
get_adb_devices()
{
adb devices 2>&1 | tail -n +2 | sed '/^$/d'
}
public static void driverLogs(WebDriver driver, String className, String methodName) {
LogEntries logs;
try {
logs = driver.manage().logs().get("logcat");
} catch (Exception e) {
return;
} catch (OutOfMemoryError e) {
System.out.println("failed to get logcat due to OOM current max memory:" + Runtime.getRuntime().maxMemory() +
" current free memory: " + Runtime.getRuntime().freeMemory() );
return;