Skip to content

Instantly share code, notes, and snippets.

Hiram Chirino chirino

Block or report user

Report or block chirino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View example.go
var mysh = sh.New().
CommandLog(os.Stdout).
CommandLogPrefix("> ").
Env(map[string]string{
"CGO_ENABLED": "0",
"GOOS": "linux",
"GOARCH": "amd64",
}).
Dir("./target")
View example.go
var mysh = sh.New().
CommandLog(os.Stdout).
CommandLogPrefix("> ").
Env(map[string]string{
"CGO_ENABLED": "0",
"GOOS": "linux",
"GOARCH": "amd64",
}).
Dir("./target")
View gist:32c6a13613863d529248d69910a383f4
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-project-bom-camel-spring-boot</artifactId>
<version>${fabric8.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
View gist:225f8ea516de54f7d7b24268fae0f82b
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-project-bom-camel-spring-boot</artifactId>
<version>${fabric8.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
View gist:14db8316bd7032f6c953c5b5de27567a
diff --git a/maven-plugin/src/main/java/io/sundr/maven/BomConfig.java b/maven-plugin/src/main/java/io/sundr/maven/BomConfig.java
index 06c7c3b..4cda60c 100644
--- a/maven-plugin/src/main/java/io/sundr/maven/BomConfig.java
+++ b/maven-plugin/src/main/java/io/sundr/maven/BomConfig.java
@@ -16,10 +16,13 @@
package io.sundr.maven;
+import java.util.ArrayList;
import java.util.LinkedList;
View gist:723b2ebe2f85e2ce91e60879416d56a1
diff --git a/src/main/java/io/openshift/launchpad/MissionControl.java b/src/main/java/io/openshift/launchpad/MissionControl.java
index eb2412b..5b7b883 100644
--- a/src/main/java/io/openshift/launchpad/MissionControl.java
+++ b/src/main/java/io/openshift/launchpad/MissionControl.java
@@ -10,6 +10,7 @@ package io.openshift.launchpad;
import java.net.ConnectException;
import java.net.URI;
import java.net.UnknownHostException;
+import java.util.Collections;
import java.util.List;
View gist:5c4ab5e4921de99685527384b2850351
{
"AtlasMapping": {
"jsonType": "com.mediadriver.atlas.v2.AtlasMapping",
"fieldMappings": {
"fieldMapping": [
{
"jsonType": "com.mediadriver.atlas.v2.MapFieldMapping",
"inputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
View gist:4bc639c3dce575f1698cd1a88ccaa4b0
app.directive('infiniteScroll', [
'$rootScope', '$window', '$timeout', function($rootScope, $window, $timeout) {
return {
link: function(scope, elem, attrs) {
var checkWhenEnabled, handler, primer, primed, scrollDistance, scrollEnabled;
$window = angular.element(Scrollparent(elem.get(0)))
scrollDistance = 0;
if (attrs.infiniteScrollDistance != null) {
scope.$watch(attrs.infiniteScrollDistance, function(value) {
View gist:0b49e84152dd7108d20a13f979631d00
[WARNING] The requested profile "release" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project cxf-xjc-javadoc: Could not resolve dependencies for project org.apache.cxf.xjcplugins:cxf-xjc-javadoc:jar:3.1.1.fuse-000010: Failed to collect dependencies at org.eclipse.jdt:core:jar:3.3.0-v_771 -> org.eclipse.core:resources:jar:3.8.1-v20120802-154922 -> org.eclipse.core:filesystem:jar:[1.3.0,2.0.0): No versions available for org.eclipse.core:filesystem:jar:[1.3.0,2.0.0) within specified range -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project cxf-xjc-javadoc: Could not resolve dependencies for project org.apache.cxf.xjcplugins:cxf-xjc-javadoc:jar:3.1.1.fuse-000010: Failed to collect dependencies at org.eclipse.jdt:core:jar:3.3.0-v_771 -> org.eclipse.core:resources:jar:3.8.1-v20120802-154922 -> org.eclipse.core:filesystem:jar:[1.3.0,2.0.0)
View AmqpExample.java
package examples;
import io.vertx.core.AsyncResult;
import io.vertx.core.AsyncResultHandler;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.net.NetClient;
import io.vertx.core.net.NetSocket;
import org.apache.qpid.proton.Proton;
You can’t perform that action at this time.