This file contains 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
# | |
# For example: | |
# | |
# cmake -DSlicer_SOURCE_DIR:PATH=/home/jchris/Projects/Slicer -DPACKAGE_FILEPATH:FILEPATH=/home/jchris/Projects/Slicer/Resources/3DSlicer-DesktopIcon.png -P 3613-test-slicer-midas-upload.cmake | |
# | |
if(NOT EXISTS "${Slicer_SOURCE_DIR}") | |
message(FATAL_ERROR "Make sure to run this script passing -DSlicer_SOURCE_DIR:PATH=/path/to/Slicer") | |
endif() |
This file has been truncated, but you can view the full file.
This file contains 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 python | |
# | |
# Hi There! | |
# You may be wondering what this giant blob of binary data here is, you might | |
# even be worried that we're up to something nefarious (good for you for being | |
# paranoid!). This is a base85 encoding of a zip file, this zip file contains | |
# an entire copy of pip (version 19.0.3). | |
# | |
# Pip is a thing that installs packages, pip itself is a package that someone | |
# might want to install, especially if they're looking to run this get-pip.py |
This file contains 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
// PR#1096 | |
// https://github.com/Slicer/Slicer/pull/1096/commits/5d8cce93acfcd9504e98cb318e1ddff92afea723#diff-685fe5dc92e213efacb56c685635f8a7 | |
/*========================================================================= | |
Program: Visualization Toolkit | |
Module: $RCSfile: vtkITKTransformInverse.h,v $ | |
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen | |
All rights reserved. | |
See Copyright.txt or http://www.kitware.com/Copyright.htm for details. |
This file contains 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
from allensdk.api.queries.rma_api import RmaApi | |
import allensdk.core.json_utilities as ju | |
all_structs = [] | |
root = RmaApi().model_query("Structure", criteria="[graph_id$eq1],[acronym$eqgrey]")[0] | |
all_structs.append(root) |
This file contains 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
# This is the CMakeCache file. | |
# For build in directory: /work/Slicer-build/DCMTK-build | |
# It was generated by CMake: /usr/bin/cmake | |
# You can edit this file to change values found and used by cmake. | |
# If you do not want to change any of the values, simply exit the editor. | |
# If you do want to change a value, simply edit, save, and exit the editor. | |
# The syntax for the file is as follows: | |
# KEY:TYPE=VALUE | |
# KEY is the name of a variable in the cache. | |
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. |
This file contains 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
ExtensionsIndex | |
generated | |
tmp |
This file contains 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
cmake_minimum_required(VERSION 3.12) | |
project(Test LANGUAGES CXX) | |
# launcher executable | |
set(CTKAppLauncher_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/fake_launcher_executable) | |
file(WRITE ${CTKAppLauncher_EXECUTABLE} "") | |
# application and executable name |
This file contains 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
#FROM quay.io/pypa/manylinux1_x86_64 | |
FROM dockcross/manylinux-x64 | |
# FROM quay.io/pypa/manylinux1_i686 | |
# Includes glibc 2.5 | |
RUN mkdir /build | |
WORKDIR /build | |
RUN yum install -y \ | |
# for easier development |
This file contains 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
# | |
# slicer_check_cmake_https | |
# | |
# Check if CMake supports downloading files using the HTTPS protocol. Fail if | |
# HTTPS is unsupported. | |
# | |
# CMake should support HTTPS when compiled with CMAKE_USE_OPENSSL enabled. | |
# | |
# Based on the script created by Jean-Christophe Fillion-Robin: | |
# https://gist.github.com/jcfr/e88a2a7cbc4ddd235186 |
This file contains 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
#!/bin/bash | |
# | |
# This script maintained at https://gist.github.com/jcfr/0bb9b695a5f1511a4b66f9e872d44743 | |
# | |
# | |
# Source: https://lebkowski.name/docker-volumes/#recap | |
# |