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
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> | |
# Contributor: Chris <christopher.r.mullins g-mail> | |
pkgname=gdcm | |
pkgver=2.6.2 | |
pkgrel=3 | |
pkgdesc='a C++ library for DICOM medical files' | |
arch=('i686' 'x86_64') | |
url='http://gdcm.sourceforge.net' | |
license=('BSD') |
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
# Maintainer: Chris <christopher.r.mullins g-mail> | |
pkgname=lightscreen | |
pkgver=2.0 | |
pkgrel=1 | |
pkgdesc='Simple tool to automate the tedious process of saving and cataloging screenshots' | |
arch=('i686' 'x86_64') | |
url='http://lightscreen.com.ar/' | |
depends=('qt4') | |
license=('GPL') |
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 | |
dd if=/dev/sdb of=/mnt/BackupDisk_2TB/Chromebook_BACKUP_IMAGE |
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 | |
mkdir python2710 && cd python2710 | |
wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz --no-check-certificate | |
gunzip Python-2.7.10.tgz | |
tar xf Python-2.7.10.tar | |
cd Python-2.7.10 | |
./configure | |
make |
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
import argparse | |
import os | |
import sys | |
from itertools import izip | |
import collections | |
import errno | |
""" | |
This script takes two files: a list of form 'filename,slice#', and another | |
tab-delimited list of mean values for each ROI. Every line should line up. |
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
basedir=`pwd` | |
echo $basedir | |
installdir=llvm-clang-install | |
mkdir $installdir | |
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm | |
mkdir llvm-build && cd llvm-build | |
$basedir/llvm/configure --prefix=$basedir/$installdir && make -j8 && make install | |
cd $basedir | |
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang |
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
BASEDIR=`pwd` | |
mkdir python-3.4.2 && cd python-3.4.2 | |
PYTHONDIR=`pwd` | |
wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz | |
tar xf Python-3.4.2.tar.xz | |
mkdir build && mkdir install && cd build | |
CFLAGS=-fPIC CPPFLAGS=-fPIC $PYTHONDIR/Python-3.4.2/configure --prefix=$PYTHONDIR/install | |
make | |
make install | |
cd $BASEDIR |
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
#Download minted.sty from here: | |
wget http://mirrors.ctan.org/macros/latex/contrib/minted.zip | |
unzip minted.zip | |
cd minted | |
make | |
sudo mkdir /usr/share/texmf-texlive/tex/latex/minted | |
cp minted.sty /usr/share/texmf-texlive/tex/latex/minted/minted.sty | |
#Download xcolors from here: | |
wget http://mirrors.ctan.org/macros/latex/contrib/xcolor.zip |
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) | |
include(ExternalProject) | |
include(superbuild.cmake) |
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/sh | |
Perm () { | |
A=$1 | |
i=0 | |
while [ $i -lt ${#A} ]; do y[$i]=${A:$i:1}; i=$((i+1));done | |
s=`shuf -e ${y[@]}` | |
newString='' | |
s=$(sed 's|\ ||g' <<< $s) | |
i=0 |