Skip to content

Instantly share code, notes, and snippets.

View rnc's full-sized avatar

Nick Cross rnc

  • IBM / Red Hat
  • Newcastle Upon Tyne, United Kingdom
View GitHub Profile
- name: preprocessor
image: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
securityContext:
runAsUser: 0
computeResources:
limits:
cpu: 300m
memory: 512Mi
requests:
cpu: 10m
@rnc
rnc / clean.sh
Last active December 15, 2023 13:44
Clean script for OpenShift and JBS
#!/bin/sh
#
# Usage: clean.sh [-n] [-g]
# -n : Clean Nexus deployment
# -g : Clean GitLab deployment
#
echo -e "\033[0;32mID/Context...\033[0m"
oc whoami -c
if [ $? != 0 ]
DEBUG org.jboss.gm.cli.Main - Executing Gradle
DEBUG org.gradle.tooling.GradleConnector - Connecting from tooling API consumer version 5.6.2
DEBUG o.g.t.i.c.l.DefaultToolingImplementationLoader - Using tooling provider from Gradle distribution 'https://services.gradle.org/distributions/gradle-4.4-bin.zip'
DEBUG o.g.t.i.c.l.DefaultToolingImplementationLoader - Using tooling provider classpath: [/home/rnc/.gradle/wrapper/dists/gradle-4.4-bin/bgaq7vklkazwgxox0hdadxbvi/gradle-4.4/lib/annotations-13.0.jar, /home/rnc/.gradle/wrapper/dists/gradle-4.4-bin/bgaq7vklkazwgxox0hdadxbvi/gradle-4.4/lib/ant-1.9.9.jar, /home/rnc/.gradle/wrapper/dists/gradle-4.4-bin/bgaq7vklkazwgxox0hdadxbvi/gradle-4.4/lib/ant-launcher-1.9.9.jar, /home/rnc/.gradle/wrapper/dists/gradle-4.4-bin/bgaq7vklkazwgxox0hdadxbvi/gradle-4.4/lib/asm-debug-all-6.0_ALPHA.jar, /home/rnc/.gradle/wrapper/dists/gradle-4.4-bin/bgaq7vklkazwgxox0hdadxbvi/gradle-4.4/lib/commons-collections-3.2.2.jar, /home/rnc/.gradle/wrapper/dists/gradle-4.4-bin/bgaq7vklkazwgxox0hd
> Configure project :
Compiling build file '/tmp/junit8832459201292978541/simple-project/build.gradle' using BuildScriptTransformer.
[ManipulationModel.java:102] Created manipulation model for project name(root), group(org.acme.gradle) with path is root
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'root'.
> Could not open proj generic class cache for build file '/tmp/junit8832459201292978541/simple-project/build.gradle' (/tmp/.gradle-test-kit-rnc/caches/6.5.1/scripts/6y7cobfslwdwxkzih4g02qtnc).
> Invalid index
@rnc
rnc / eclipsejacorbcodestyle.xml
Last active August 29, 2015 14:13
JacORB Coding Standard
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="12">
<profile kind="CodeFormatterProfile" name="JacORB" version="12">
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
/**
* Thunderbird + DeepDark theme + GMailConversations needs some 'style' fixups to look better.
* This is a simple stylish script to perform some basic changes.
*
* Nick Cross.
*
* Note: It does not style the quickreply as that has been removed:
* https://github.com/protz/GMail-Conversation-View/wiki/Tips-and-tricks%3A-Disabling-the-%22Quick-Reply%22-feature
*/