Concept: Browse Nuxeo assets via Tag and 3D rendering
What it could look like: 3D VR Content View
- preload repository with Images and 3D assets
A tip for faster build (copy file really faster) with plexus-utils 3.0.7 | |
<properties> | |
<plexusUtilsPluginsVersion>3.0.7</plexusUtilsPluginsVersion> | |
</properties> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.3</version> | |
<dependencies> |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.time.DayOfWeek; | |
import java.time.LocalDate; | |
import java.time.LocalDateTime; | |
import java.time.temporal.Temporal; | |
import java.util.ArrayList; | |
import java.util.Arrays; |
source "https://rubygems.org" | |
gem "octokit" |
set terminal png transparent nocrop enhanced font arial 8 size 640,480 | |
#set terminal png nocrop enhanced font arial 8 size 640,480 | |
set output 'ci-stat.png' | |
set border 3 front linetype -1 linewidth 1.000 | |
set boxwidth 0.75 absolute | |
set style fill solid 0.75 border -1 | |
set grid nopolar | |
set grid noxtics nomxtics ytics nomytics noztics nomztics \ | |
nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics |
#!/bin/bash | |
# remove exited containers: | |
docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v | |
# remove unused images: | |
docker images --no-trunc | grep '<none>' | awk '{ print $3 }' | xargs -r docker rmi | |
# remove unused volumes: | |
find '/var/lib/docker/volumes/' -mindepth 1 -maxdepth 1 -type d | grep -vFf <( |
#!groovy | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
def label = "mypod-${UUID.randomUUID().toString()}" | |
podTemplate(label: label, yaml: """ | |
spec: | |
containers: | |
- name: mvn | |
image: maven:3.3.9-jdk-8 |
// Requires https://plugins.jenkins.io/mask-passwords to run | |
/** | |
* Runs code with secret environment variables and hides the values. | |
* | |
* @param varAndPasswordList - A list of Maps with a 'var' and 'password' key. Example: `[[var: 'TOKEN', password: 'sekret']]` | |
* @param Closure - The code to run in | |
* @return {void} | |
*/ | |
def withSecretEnv(List<Map> varAndPasswordList, Closure closure) { |
[alias] | |
rename-stash = "!_() { if [ -z \"$1\" ] || [ -z \"$2\" ]; then echo \"git rename-stash 0 NewName\" && echo \"\" && git stash list && exit 1; else stash=\"stash@{$1}\"; rev=$(git rev-parse \"${stash}\"); git stash drop \"${stash}\" || exit 1; git stash store -m \"$2\" \"$rev\" || exit 1; git stash list; fi }; _" |