This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Change 'xnat' to the database user that owns the XNAT tables. | |
-- You need to stop Tomcat before running this query. | |
SELECT drop_user_views('xnat'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get a session | |
http --auth admin:minda --session=admin xnat164.xnat.org/data/projects | |
# Create the reconstruction and resource folder | |
http --session=admin PUT xnat164.xnat.org/data/archive/projects/prj001/subjects/prj001_001/experiments/prj001_001_MR2/reconstructions/prj001_001_MR2_recon_001 xnat:reconstructedImageData/type==RECON_A | |
http --session=admin PUT xnat164.xnat.org/data/archive/projects/prj001/subjects/prj001_001/experiments/prj001_001_MR2/reconstructions/prj001_001_MR2_recon_001/resources/NIFTI format==NIFTI | |
# Upload NIFTI and JSON to the reconstruction resource | |
for SERIES in t1_mpr_1mm_p2_pos50_20061214091206_4 t1_mpr_1mm_p2_pos50_20061214091206_5 t2_spc_1mm_p2_20061214091206_6; do | |
http --session=admin PUT xnat164.xnat.org/data/archive/projects/prj001/subjects/prj001_001/experiments/prj001_001_MR2/reconstructions/prj001_001_MR2_recon_001/resources/NIFTI/files/${SERIES}.nii.gz inbody==true < ${SERIES}.nii.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: "jacoco" | |
ext.propertyWithDefault = { String name, def value -> | |
hasProperty(name) ? property(name) : value | |
} | |
dependencyManagement.imports { | |
mavenBom "org.nrg:parent:${vXnat}" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
// Other configuration lines might be in here | |
javadocCoverage | |
} | |
dependencies { | |
// Your application's other dependencies go here. | |
javadocCoverage "com.manoelcampos:javadoc-coverage:1.1.0" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
mavenLocal() | |
maven { | |
url "http://maven.imagej.net/content/groups/public" | |
name "ImageJ Maven Repository" | |
} | |
jcenter() | |
mavenCentral() | |
maven { | |
url "https://nrgxnat.jfrog.io/nrgxnat/libs-release" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decker:Internet Plug-Ins root# JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home $(find /Applications/Charles.app/Contents/ -name "*.command") | |
############################################ | |
Charles Root Certificate Java VM Import Tool | |
############################################ | |
This tool imports your Charles Root Certificate into the Java VMs that it finds on | |
your computer, so that Java applications trust your Charles Root Certificate for | |
SSL Proxying. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nerdnetworks; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.HashSet; | |
import java.util.Set; | |
import java.util.concurrent.atomic.AtomicInteger; | |
public class Main { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/username/.nvm/versions/node/v10.15.3/bin/node', | |
1 verbose cli '/Users/username/.nvm/versions/node/v10.15.3/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'dev' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'predev', 'dev', 'postdev' ] | |
5 info lifecycle @~predev: @ | |
6 info lifecycle @~dev: @ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
showHelp() { | |
echo | |
echo "Usage: ${0} --server <URL> --username <USER> --password <PASSWORD> --project <PROJECT> --collection <COLLECTION_ID>" | |
echo | |
echo "Note: all options are required, with the exception of --password. If --password" | |
echo " is omitted, you must enter your password when the script runs." | |
echo | |
exit 255 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
@GrabConfig(systemClassLoader = true) | |
@GrabResolver(name = "NRG Release Repo", root = "https://nrgxnat.jfrog.io/nrgxnat/libs-release") | |
@GrabResolver(name = "NRG Snapshot Repo", root = "https://nrgxnat.jfrog.io/nrgxnat/libs-snapshot") | |
@Grapes([ | |
@GrabExclude("org.slf4j:slf4j-simple"), | |
@GrabExclude("org.slf4j:slf4j-log4j12"), | |
@Grab("info.picocli:picocli:4.5.1"), | |
@Grab("ch.qos.logback:logback-classic:1.2.3"), | |
@Grab("org.nrg.dicom:mizer:1.2.0-SNAPSHOT"), |