A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
[2024-09-12T19:41:43.184Z] [INFO] Downloading from zion-nexus-cache: https://rsc-proxy.ci.sonatype.dev/repository/zion-private-group/org/sonatype/nexus/assemblies/nexus-startup-feature/3.73.0-SNAPSHOT/maven-metadata.xml | |
[2024-09-12T19:41:46.270Z] [INFO] Downloading from zion-nexus-cache: https://rsc-proxy.ci.sonatype.dev/repository/zion-private-group/org/sonatype/nexus/assemblies/nexus-boot-feature/3.73.0-SNAPSHOT/maven-metadata.xml | |
[2024-09-12T19:43:17.092Z] [INFO] Downloading from zion-nexus-cache: https://rsc-proxy.ci.sonatype.dev/repository/zion-private-group/org/sonatype/nexus/assemblies/nexus-base-feature/3.73.0-SNAPSHOT/maven-metadata.xml | |
[2024-09-12T19:45:09.442Z] [INFO] Downloading from zion-nexus-cache: https://rsc-proxy.ci.sonatype.dev/repository/zion-private-group/org/sonatype/nexus/assemblies/nexus-core-feature/3.73.0-SNAPSHOT/maven-metadata.xml | |
[2024-09-12T19:45:17.683Z] [INFO] Downloading from zion-nexus-cache: https://rsc-proxy.ci.sonatype.dev/repository/zion-private-group/com/sonatype/nexus/a |
import org.sonatype.nexus.repository.storage.Asset | |
import org.sonatype.nexus.repository.storage.Query | |
import org.sonatype.nexus.repository.storage.StorageFacet | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
def request = new JsonSlurper().parseText(args) | |
assert request.repoName: 'repoName parameter is required' | |
assert request.startDate: 'startDate parameter is required, format: yyyy-mm-dd' |
@Grab('org.codehaus.groovy.modules.http-builder:http-builder:0.7.2') | |
import groovyx.net.http.HTTPBuilder | |
import org.apache.http.HttpRequest | |
import org.apache.http.HttpRequestInterceptor | |
import org.apache.http.protocol.HttpContext | |
import static groovy.io.FileType.FILES | |
import static groovyx.net.http.ContentType.BINARY | |
import static groovyx.net.http.ContentType.TEXT | |
import static groovyx.net.http.Method.PUT |
defaults write ~/.MacOSX/environment.plist M2_HOME `brew --prefix maven`/libexec | |
defaults write ~/.MacOSX/environment.plist M2 `brew --prefix maven`/libexec/bin |
/* | |
* Copyright (c) 2011-2014 Sonatype, Inc. All rights reserved. | |
* Includes the third-party code listed at http://links.sonatype.com/products/clm/attributions. | |
* "Sonatype" is a trademark of Sonatype, Inc. | |
*/ | |
/** | |
* @since 1.13.0 | |
*/ | |
@Grab('org.codehaus.groovy.modules.http-builder:http-builder:0.7.1') |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
@Grab('org.seleniumhq.selenium:selenium-firefox-driver:2.42.2') | |
@Grab(group='org.gebish', module='geb-core', version='0.9.3') | |
import com.sonatype.insight.brain.testing.functional.* | |
import geb.Browser | |
import geb.navigator.Navigator | |
//given the following page: | |
/* | |
<html> | |
<head> |
apply plugin: 'java' | |
repositories{ | |
mavenCentral() | |
} | |
configurations { | |
dummy | |
} | |
dependencies { |