Skip to content

Instantly share code, notes, and snippets.

Dessie dkirrane

View GitHub Profile
dkirrane / packerlog.txt
Created Jan 29, 2019
packer-builder-vsphere issues 126
View packerlog.txt
2019/01/29 16:11:43 [INFO] Packer version: 1.3.3
2019/01/29 16:11:43 Packer Target OS/Arch: windows amd64
2019/01/29 16:11:43 Built with Go Version: go1.11.2
2019/01/29 16:11:43 [DEBUG] Discovered plugin: vsphere-clone = C:\apps\HashiCorp\packer-builder-vsphere-clone.exe
2019/01/29 16:11:43 [DEBUG] Discovered plugin: vsphere-iso = C:\apps\HashiCorp\packer-builder-vsphere-iso.exe
2019/01/29 16:11:43 Detected home directory from env var: C:\Users\myusername
2019/01/29 16:11:43 Using internal plugin for qemu
2019/01/29 16:11:43 Using internal plugin for triton
2019/01/29 16:11:43 Using internal plugin for vmware-vmx
2019/01/29 16:11:43 Using internal plugin for null
dkirrane /
Created Jul 9, 2018 — forked from guillaumerose/
Speedup your Maven builds

With the latest version of Docker for Mac and Windows (18.06), you can prefix all your mvn commands by RUN --mount=target=/root/.m2,type=cache:


# syntax = tonistiigi/dockerfile:runmount20180618
FROM maven:3.5-jdk-8-alpine AS build
COPY . .
RUN --mount=target=/root/.m2,type=cache mvn --batch-mode clean compile assembly:single

FROM openjdk:8-jre-alpine3.7
# Make sure we have the dev tools
yum groupinstall "Development Tools"
# Just in case you started installing dependencies from yum
# yum -y remove libnfnetlink
# lets put the source code here
mkdir -p ~/.src
dkirrane / docker-compose.yml
Last active Sep 26, 2017
GoCD docker-compose.yml
View docker-compose.yml
image: gocd/gocd-server:v17.10.0
hostname: go-server # Needed so the go-agent can find the server
- '8153:8153'
- '8154:8154'
- GO_SERVER_SYSTEM_PROPERTIES='-Dgo.plugin.upload.enabled=true'
dkirrane /
Created May 30, 2017 — forked from cedricwalter/
Sonatype NEXUS 2 has a rest API :-) but NEXUS 3 has none/not ready, the following simulate curl/wget call

Fetching artifact programmatically through REST/API

Nexus 2.x

Nexus 2.x had a REST API to download artifacts like below based on some Maven GAV co-ordinates but this no longer works for Nexus 3.x

wget "http://local:8081/service/local/artifact/maven/redirect?g=com.mycompany&a=my-app&v=LATEST" --content-disposition


curl --insecure "https://local:8081/service/local/artifact/maven/content?r=public&g=log4j&a=log4j&v=1.2.17&p=jar&c=" > log4j.jar

dkirrane / quickpick
Created May 21, 2017 — forked from Dyrcona/quickpick
A bash script to batch git cherry-pick of many commits from a single source branch. It can become a new git command if you save it in your path with a name like git-quickpick. Then, you can run it like so `git quickpick foo/bar'. Very handy, that.
View quickpick
# Author: Thomas Berezansky <>
# Author: Jason Stephenson <>
# Feel free to use and to share this script in anyway you like.
# This script is intended as a shortcut for the git cherry-pick
# command when you have several commits that you want to cherry-pick
# into your local branch from another branch. It often results in a
dkirrane / gist:f84f2e17e6005853b89db7418e05bae9
Created Feb 4, 2017
NullPointerException RecommendedTemplatesImpl.getPrivilegedTemplates
View gist:f84f2e17e6005853b89db7418e05bae9
at org.netbeans.modules.maven.queries.RecommendedTemplatesImpl.getPrivilegedTemplates(
at org.netbeans.modules.project.ui.OpenProjectList.getTemplateNamesLRU(
at org.netbeans.modules.project.ui.OpenProjectList.getTemplatesLRU(
at org.netbeans.modules.project.ui.OpenProjectList.prepareTemplates(
at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(
at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(
at org.netbeans.modules.project.ui.OpenProjectList$
View NbMavenProjectCache.patch
diff --git a/maven/src/org/netbeans/modules/maven/modelcache/ b/maven/src/org/netbeans/modules/maven/modelcache/
index 97d902295c1..b05bb281c9d 100644
--- a/maven/src/org/netbeans/modules/maven/modelcache/
+++ b/maven/src/org/netbeans/modules/maven/modelcache/
@@ -46,6 +46,7 @@ import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
+import java.util.Collections;
import java.util.HashSet;
View 45834.log
16/03/30 18:46:51 ERROR NetworkClient: Node [] failed (Connection timed out: connect); selected next node []
16/03/30 18:48:15 ERROR NetworkClient: Node [] failed (Connection timed out: connect); no other nodes left - aborting...
16/03/30 18:48:15 ERROR Executor: Exception in task 0.0 in stage 12.0 (TID 609) Connection error (check network and/or proxy settings)- all nodes failed; tried [[]]
dkirrane / elasticsearch.log
Created Jan 25, 2016
elasticsearch dashboard issue
View elasticsearch.log
[2016-01-25 16:13:53,049][INFO ][node ] [search-wa] version[2.1.1], pid[80], build[40e2c53/2015-12-15T13:05:55Z]
[2016-01-25 16:13:53,050][INFO ][node ] [search-wa] initializing ...
[2016-01-25 16:13:53,285][INFO ][plugins ] [search-wa] loaded [], sites []
[2016-01-25 16:13:53,350][INFO ][env ] [search-wa] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [401.5gb], net total_space [432.7gb], spins? [unknown], types [rootfs]
[2016-01-25 16:13:54,557][INFO ][node ] [search-wa] version[2.1.1], pid[171], build[40e2c53/2015-12-15T13:05:55Z]
[2016-01-25 16:13:54,558][INFO ][node ] [search-wa] initializing ...
[2016-01-25 16:13:54,704][INFO ][plugins ] [search-wa] loaded [], sites []
[2016-01-25 16:13:54,749][INFO ][env ] [search-wa] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [401.5gb], net total_space [432.7gb], spins? [unknown],
You can’t perform that action at this time.