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
# Configure environment per workspace | |
# The configuration is defined in a file called .folder.config | |
# that is contained in any folder. If such a file is found | |
# in the current folder or any of its parents, this file | |
# is sourced. The following variables can be defined in a | |
#`.folder.config` file: | |
# * `folder_virtual_env`: This variable defines the Python virtual | |
# environment that is automatically loaded when working in |
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 | |
set -euox pipefail | |
# Update cache just in case. | |
#apt-file update | |
list_packages="" | |
# Find all files in current repository. | |
for i in $(find . ) | |
do |
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
trap { Write-Error $_; Exit 1 } | |
if (![System.IO.File]::Exists(".\install-utils.ps1")) { | |
Write-Host "Download install-utils.ps1" | |
$url = "https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/windows/install-utils.ps1" | |
$cwd = (Get-Item -Path ".\" -Verbose).FullName | |
(new-object net.webclient).DownloadFile($url, "$cwd\install-utils.ps1") | |
} | |
Import-Module .\install-utils.ps1 -Force |
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 2.8.10.2) | |
# | |
# This project allows to configure, build, archive and upload an OpenSSL install tree. | |
# | |
if(DEFINED UPLOAD_PACKAGE_SCRIPT) | |
set(MIDAS_URL "http://packages.kitware.com") | |
set(FOLDER_ID 203) |
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 | |
# Written by someone who posted it on Slack | |
import requests | |
links = [ | |
'https://github.com/kwmsmith/scipy-2017-cython-tutorial', | |
'https://github.com/gforsyth/numba_tutorial_scipy2017', | |
'https://github.com/sympy/scipy-2017-codegen-tutorial', |
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 | |
import itk | |
import tempfile | |
import os | |
def pixel_type_from_IO(pixel, component,dimension): | |
import itk | |
if pixel == 'scalar': | |
PixelType = component |
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 http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Build_Instructions#Ubuntu | |
sudo apt-get install subversion git-core git-svn | |
sudo apt-get install make gcc g++ libX11-dev libXt-dev libgl1-mesa-dev libglu1-mesa-dev libfontconfig-dev libxrender-dev libncurses5-dev | |
sudo apt-get install qt4-qmake | |
sudo apt-get install libqt4-dev libqt4-dev-bin libqt4-opengl-dev libqt4-qt3support libqt4-webkit-dev qt4-linguist-tools qt4-designer qtcreator | |
sudo apt-get install libssl-dev | |
mkdir ~/Support && cd Support | |
wget http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz |
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/env bash | |
name="Ubuntu15.10-auto" | |
image="http://releases.ubuntu.com/15.10/ubuntu-15.10-desktop-amd64.iso" | |
# To show list of os types available, type "VBoxManage list ostypes" | |
ostype="Ubuntu_64" | |
cpu="2" | |
memory="2048" | |
cpuexecutioncap="80" | |
image_basename=`basename $image` | |
#image_basename_no_ext="${image_basename%.*}" |
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/csh | |
make | |
lcov --directory . --zerocounters | |
ctest | |
lcov --directory . --capture --output-file app.info | |
genhtml app.info | |
firefox ./index.html |
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 | |
#http://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion | |
export CPPFLAGS=-I/opt/X11/include |
NewerOlder