code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-12-25.00
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the ... | Shell |
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
scriptversion=2007-11-22.22
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
# 2007 Free Software Foundation, Inc.
#
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it ... | Shell |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=$HOME/fun/android/android-ndk
HOST_TYPE=darwin-x86
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/toolchains/arm-ea... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
. $SCRIPTDIR/android-gcc-setup.sh
cd $SCRIPTDIR/..
if [ ! -d "deps" ]
then
mkdir -p deps
fi
cd deps
DEPSDIR=$PWD
JNIDIR=$DEPSDIR/../jni
if [ ! -d "$JNIDIR/pdfview2/lib" ]
then
mkdir -p $JNIDIR/pdfview2/lib
fi
if [ ! -d "$JNIDIR/pdfview2/include" ]
then
mkdir -p $JNIDIR/pd... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (fxtc) 0.1
# Libtool was configured on host is150250.intra.cea.fr:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 20... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-10-14.11; # UTC
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General ... | Shell |
#!/bin/bash
echo "- libtoolize..."
libtoolize
echo "- aclocal..."
aclocal -I m4
echo "- autoconf..."
autoconf
echo "- autoheader..."
##autoheader
echo "- automake..."
#automake -a -v
automake -a -c
echo "- ready!"
exit
| Shell |
#!/bin/bash
if [ ! -e eigen-android ]; then
hg clone https://bitbucket.org/eigen/eigen eigen-android
else
cd eigen-android && hg pull && hg update
fi
| Shell |
#!/bin/sh
if [ $# -ne 1 ]
then
echo "Error in $0 - Invalid Argument Count"
echo "Syntax: $0 boost_1_45_0"
exit
fi
patch $1/libs/filesystem/v2/src/v2_operations.cpp < android.patch
| Shell |
#!/bin/sh
if [ $# -ne 1 ]
then
echo "Error in $0 - Invalid Argument Count"
echo "Syntax: $0 boost_1_45_0"
exit
fi
patch $1/libs/filesystem/v2/src/v2_operations.cpp < filesystem.patch
patch $1/boost/detail/endian.hpp < endian.patch
| Shell |
#!/bin/sh
current_dir=`pwd`
mkdir -p download
cd download
if [ ! -e boost_1_45_0.tar.gz ]
then
echo "wget'ing boost'"
#this url is for convenience, consider it a mirror and you may replace it
#with any existing boost_1_45_0.tar.gz url
boost_download=http://vault.willowgarage.com/wgdata1/vol1/android_bo... | Shell |
if [ -z "$1" ]
then
echo "Usage: `basename $0` <path>
the path will be used to download and untar the android-ndk into."
exit $E_NOARGS
fi
export destination=$1
if [ ! -e $destination ]; then
echo "$destination does not exist!"
exit 1
fi
ball=android-ndk-r5b-linux-x86.tar.bz2
hash=4c0045ddc2bfd657be9d5177d0e0... | Shell |
if [ -z "$1" ]
then
echo "Usage: `basename $0` <path>
the path will be used to download and untar the android-ndk to."
exit $E_NOARGS
fi
export destination=$1
if [ ! -e $destination ]; then
echo "$destination does not exist!"
exit 1
fi
ball=android-ndk-r5b-linux-x86.tar.bz2
hash=4c0045ddc2bfd657be9d5177d0e0b7... | Shell |
#!/bin/bash
LD_LIBRARY_PATH=./lib/pc
export LD_LIBRARY_PATH
java -jar java/dist/lib/HelloBoost.jar
| Shell |
#!/bin/bash
#javac HelloWorld.java
cd java && ant
| Shell |
javah -jni -classpath build com.theveganrobot.cmake.HelloBoost
| Shell |
#!/bin/bash
LD_LIBRARY_PATH=./lib/pc
export LD_LIBRARY_PATH
java -jar java/dist/lib/HelloCMake.jar
| Shell |
#!/bin/bash
#javac HelloWorld.java
cd java && ant
| Shell |
javah -jni -classpath build com.theveganrobot.cmake.HelloWorld
| Shell |
#!/bin/sh
#this generates an ant based cli build of the android-jni project
android update project --name hello-eigen \
--path .
| Shell |
#!/bin/bash
LD_LIBRARY_PATH=./lib/pc
export LD_LIBRARY_PATH
java -jar java/dist/lib/HelloEigen.jar
| Shell |
#!/bin/bash
#javac HelloWorld.java
cd java && ant
| Shell |
javah -jni -classpath build com.theveganrobot.cmake.HelloEigen
| Shell |
#this generates an ant based cli build of the android-jni project
android update project --name HelloGL2 \
--path .
| Shell |
#!/bin/sh
#this generates an ant based cli build of the android-jni project
android update project --name hello-android-cmake \
--path .
| Shell |
#!/bin/sh
# Exome pipeline is called as a make file.
make -s -f full_analysis.mk indiv | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Call SNPs with samtools (not m!) pileup
# ------------------------------------------------------------------------------
# Check that input BAM and genome were passed as parameters
USAGE="$0 input.bam genome.fa";
if [ -z ... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Call consensus sequence
# ------------------------------------------------------------------------------
# Check that input BAM, genome FASTA, genome name, and interval BED were passed as parameters
USAGE="$0 input.bam ge... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Filter reads
# ------------------------------------------------------------------------------
# Check that reads file was passed as parameter
USAGE="$0 reads.fq";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1;
fi
F... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Call SNPs with samtools mpileup
# ------------------------------------------------------------------------------
# Check that input BAM and genome were passed as parameters
USAGE="$0 input.bam genome.fa";
if [ -z "$2" ]; ... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Filter SNPs for quality
# ------------------------------------------------------------------------------
# Check that input raw BCF was passed as parameter
USAGE="$0 raw_snps.bcf";
if [ -z "$1" ]; then
echo "ERROR: $USAG... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- LiftOver BED file coordinates
# ------------------------------------------------------------------------------
# Check that BED file was passed as parameter
USAGE="$0 intervals.bed";
if [ -z "$1" ]; then
echo "ERROR: $US... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Filter BSNP output to basepairs with > 4 reads
# ------------------------------------------------------------------------------
# Check that input pileup file was passed as parameter
USAGE="$0 bsnp.out";
if [ -z "$1" ]; t... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Align reads to genome with BWA
# ------------------------------------------------------------------------------
# Check that individual ID, genome FASTA, and genome code were passed as parameters
USAGE="$0 genome.fasta ge... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Index BAM
# ------------------------------------------------------------------------------
# Check that BAM file was passed as parameter
USAGE="$0 mapped_reads.bam";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1;
fi... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Merge overlapping intervals in BED file
# ------------------------------------------------------------------------------
# Check that BED file was passed as parameter
USAGE="$0 intervals.bed";
if [ -z "$1" ]; then
echo "... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Local realignment, step 1: ID realign targets
# ------------------------------------------------------------------------------
# Check that genome code and genome were passed as parameters
USAGE="$0 genome_code genome.fa"... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Analyze alignment output with flagstat, idxstats, and bamtools stats
# ------------------------------------------------------------------------------
# Check that input BAM and output filename were passed as parameters
US... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Remove Duplicates
# ------------------------------------------------------------------------------
# Check that genome code was passed as parameter
USAGE="$0 genome_code";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Fix Mate Pair Info
# ------------------------------------------------------------------------------
# Check that genome code was passed as parameter
USAGE="$0 genome_code";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exi... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Filter mapped reads for quality
# ------------------------------------------------------------------------------
# Check that genome code was passed as parameter
USAGE="$0 genome_code";
if [ -z "$1" ]; then
echo "ERROR: ... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Call BSNP
# ------------------------------------------------------------------------------
# Check that input pileup file was passed as parameter
USAGE="$0 input.pileup";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit ... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Convert BED to Picard intervals file
# ------------------------------------------------------------------------------
# Check that input BAM, baits BED file, and CCDS BED file were passed as parameters
USAGE="$0 input.bam... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Analyze FASTQ file of reads with FASTQC
# ------------------------------------------------------------------------------
# Check that reads file and output directory name were passed as parameters
USAGE="$0 reads.fq out_d... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Add Read Groups
# ------------------------------------------------------------------------------
# Check that genome code was passed as parameter
USAGE="$0 genome_code";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Do local realignment around indels
# ------------------------------------------------------------------------------
# Check that genome code and genome were passed as parameters
USAGE="$0 genome_code genome.fa";
if [ -z "... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Index genome
# ------------------------------------------------------------------------------
# Check that genome was passed as parameter
USAGE="$0 genome.fa";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1;
fi
# In... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Filter mapped reads for mapping and pairing
# ------------------------------------------------------------------------------
# Check that genome code was passed as parameter
USAGE="$0 genome_code";
if [ -z "$1" ]; then
e... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Convert SAM to BAM
# ------------------------------------------------------------------------------
# Check that genome FASTA and genome code were passed as parameters
USAGE="$0 genome.index.fai genome_code";
if [ -z "$2"... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Get statistics on hybrid selection
# ------------------------------------------------------------------------------
# Check that input BAM and genome name were passed as parameters
USAGE="$0 input.bam genome_name";
if [ -... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Run sampe to generate SAM file
# ------------------------------------------------------------------------------
# Check that genome FASTA and genome code were passed as parameters
USAGE="$0 genome.fasta genome_code";
if [... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Get SNP stats
# ------------------------------------------------------------------------------
# Check that input VCF was passed as parameter
USAGE="$0 in.vcf";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1;
fi
IN_... | Shell |
#!/bin/sh
# ------------------------------------------------------------------------------
# --- Sort BAM
# ------------------------------------------------------------------------------
# Check that BAM file was passed as parameter
USAGE="$0 mapped_reads.bam";
if [ -z "$1" ]; then
echo "ERROR: $USAGE";
exit 1;
fi
... | Shell |
#!/bin/sh
# Pipeline to generate and analyze fake human exomes is called as a make file.
make -s -f analyze_fake_human_exomes.mk all | Shell |
#!/bin/sh
# Pipeline for the analysis of macaque exome data.
# These steps are contained in a Makefile, full_analysis.mk.
# The individual steps can be run by calling the shell script, full_analysis.
# The comparative steps can be run by calling the shell script, compare_analysis.
# User-specific parameters can be set... | Shell |
#!/bin/sh
# Exome pipeline is called as a make file.
# This compares multiple individuals after each has been processed by calling indiv_analysis
# Input data must be specified by editing config.mk
make -s -f full_analysis.mk compare | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=1,walltime=96:00:00
#PBS -N call_gphocs
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}
# -----------------------------------------------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=8,walltime=5:00:00
#PBS -N make_exomes_full_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# ----------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=1,walltime=8:00:00
#PBS -N mask_codon12NA_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# ------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=8,walltime=5:00:00
#PBS -N mask_CpG_full_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# -------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=8,walltime=12:00:00,mem=5GB
#PBS -N xsp-ex_human
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}
# --------------------------------------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=1,walltime=8:00:00
#PBS -N mask_codon2_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# ---------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=8,walltime=5:00:00
#PBS -N mask_CpG_untr_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# -------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=1,walltime=8:00:00
#PBS -N mask_codon12_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# --------------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=8,walltime=5:00:00
#PBS -N make_exomes_untr_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# ----------... | Shell |
#!/bin/bash
#PBS -l nodes=1:ppn=1,walltime=1:00:00
#PBS -N mask_ccds_parallel
#PBS -M cmb433@nyu.edu
#PBS -m abe
#PBS -e localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.e${PBS_JOBID}.${PBS_ARRAYID}
#PBS -o localhost:/scratch/cmb433/xspecies-exome/${PBS_JOBNAME}.o${PBS_JOBID}.${PBS_ARRAYID}
# -----------------... | Shell |
#!/bin/bash
# Build config for build.sh
APP_NAME=xsskill
CHROME_PROVIDERS="content locale skin"
CLEAN_UP=1
ROOT_FILES=
ROOT_DIRS="defaults"
BEFORE_BUILD=
AFTER_BUILD=
| Shell |
#!/bin/bash
# build.sh -- builds JAR and XPI files for mozilla extensions
# by Nickolay Ponomarev <asqueella@gmail.com>
# (original version based on Nathan Yergler's build script)
# Most recent version is at <http://kb.mozillazine.org/Bash_build_script>
# This script assumes the following directory structure:
# ./... | Shell |
#!/bin/bash
echo "Installing script..."
rm -rf "$1/xsskill@joshua.barron"
cp -r ../xsskill $1
| Shell |
#!/bin/bash
echo "Installing script..."
rm -rf "$1/xsskill@joshua.barron"
cp -r ../xsskill $1
| Shell |
#!/bin/bash
# Build config for build.sh
APP_NAME=xsskill
CHROME_PROVIDERS="content locale skin"
CLEAN_UP=1
ROOT_FILES=
ROOT_DIRS="defaults"
BEFORE_BUILD=
AFTER_BUILD=
| Shell |
#!/bin/bash
# build.sh -- builds JAR and XPI files for mozilla extensions
# by Nickolay Ponomarev <asqueella@gmail.com>
# (original version based on Nathan Yergler's build script)
# Most recent version is at <http://kb.mozillazine.org/Bash_build_script>
# This script assumes the following directory structure:
# ./... | Shell |
#!/bin/sh
rm -v CMakeCache.txt
rm -v install_manifest.txt
rm -vr ./CMakeFiles
rm -vr ./rtengine/CMakeFiles
rm -vr ./rtexif/CMakeFiles
rm -vr ./rtgui/CMakeFiles
rm -vr ./rtdata/CMakeFiles
rm -v ./cmake*
rm -v ./rtengine/cmake*
rm -v ./rtexif/cmake*
rm -v ./rtgui/cmake*
rm -v ./rtdata/cmake*
rm -v ./Makefile
rm -v ./rte... | Shell |
#!/bin/bash
#
# Append translation differences on the end of all files. Developers should run this script
# after changing default, so that translators can easily see what items need to be translated.
#
# This script should be run from the project root, e.g:
# $ ./tools/generateTranslationDiffs.sh
#
#################... | Shell |
#!/bin/bash
CWD=`dirname "$0"`
echo $CWD
export DYLD_LIBRARY_PATH="${CWD}/lib:$DYLD_LIBRARY_PATH"
export GTK_DATA_PREFIX="${CWD}"
export GTK_DATA_DIRS="${CWD}"
export GTK_EXE_PREFIX="${CWD}"
export GTK_PATH="${CWD}"
export GTK2_RC_FILES="${CWD}/etc/gtk-2.0/gtkrc"
export GTK_IM_MODULE_FILE="${CWD}/gtk-2.0/gtk.immodul... | Shell |
#!/bin/bash
# Function checkLink:
# args: $1 - file
#
# Will loop through all dynamic links for $file, and update each to be relative.
function checkLink {
#echo "checkLink called with $1 $2"
local FILE=$1
otool -L $FILE | grep -v "${APP}" | grep -v '/usr/lib' | grep -v '/System/' | grep -v "@executable_path" | cut... | Shell |
#!/bin/bash
RT_BINDIR=`dirname "$0"`
export LD_LIBRARY_PATH=${RT_BINDIR}
cd "${RT_BINDIR}" && ./rt "$@"
| Shell |
#!/bin/zsh
export ANALYSIS=$( cd $( dirname $0 ) ; /bin/pwd )
export XSMACK_HOME=$( cd ${ANALYSIS}/.. ; /bin/pwd )
export XSMACK_BIN=$( cd ${XSMACK_HOME}/bin ; /bin/pwd )
tclsh ${ANALYSIS}/categories.tcl ${*}
| Shell |
#!/bin/zsh
# TARGETS
# Shows historical in plot
USR=$1
EXERCISE=$2
checkvars USR EXERCISE
set -eu
DIR=$( cd $( dirname $0 ) ; /bin/pwd )
[[ -d users/${USR} ]] || crash "No such user: ${USER}"
NAMES_FILE=users/${USR}/settings/names-weights.txt
EXERCISE_NAME=( $( grep "^${EXERCISE} " ${NAMES_FILE} ) )
shift EXERCISE... | Shell |
#!/bin/zsh
BOUND=$1
checkvar BOUND
set -eu
CFG=analysis/intensity.cfg
EPS=intensity.eps
DATA=intensity.data
SMOOTH=intensity.smooth.data
time tclsh analysis/intensity.tcl 356 > ${DATA}
time tclsh analysis/smooth.tcl ${BOUND} < ${DATA} > ${SMOOTH}
swift_plotter.zsh -s ${CFG} ${EPS} ${SMOOTH}
| Shell |
#!/bin/zsh
export ANALYSIS=$( cd $( dirname $0 ) ; /bin/pwd )
export XSMACK_HOME=$( cd ${ANALYSIS}/.. ; /bin/pwd )
export XSMACK_BIN=$( cd ${XSMACK_HOME}/bin ; /bin/pwd )
tclsh ${ANALYSIS}/categories.tcl ${*}
| Shell |
#!/bin/zsh
# TARGETS
# Shows historical in plot
USR=$1
EXERCISE=$2
checkvars USR EXERCISE
set -eu
DIR=$( cd $( dirname $0 ) ; /bin/pwd )
[[ -d users/${USR} ]] || crash "No such user: ${USER}"
NAMES_FILE=users/${USR}/settings/names-weights.txt
EXERCISE_NAME=( $( grep "^${EXERCISE} " ${NAMES_FILE} ) )
shift EXERCISE... | Shell |
#!/bin/zsh
# WORKOUTS
# Shows historical workouts with target and actuals
USR=$1
EXERCISE=$2
set -eu
checkvars USR EXERCISE
[[ -d users/${USR} ]] || crash "No such user: ${USER}"
for PLAN in users/${USR}/plans/plan-*.txt
do
NAME=${PLAN:t}
[[ ${NAME} == plan-2012* ]] && continue
[[ ${NAME} == plan-2013-01... | Shell |
#!/bin/zsh
BOUND=$1
checkvar BOUND
set -eu
CFG=analysis/intensity.cfg
EPS=intensity.eps
DATA=intensity.data
SMOOTH=intensity.smooth.data
time tclsh analysis/intensity.tcl 356 > ${DATA}
time tclsh analysis/smooth.tcl ${BOUND} < ${DATA} > ${SMOOTH}
swift_plotter.zsh -s ${CFG} ${EPS} ${SMOOTH}
| Shell |
#!/bin/zsh
# TARGETS
# Shows historical targets
USR=$1
EXERCISE=$2
set -eu
checkvars USR EXERCISE
[[ -d users/${USR} ]] || crash "No such user: ${USER}"
for PLAN in users/${USR}/plans/plan-*.txt
do
NAME=${PLAN:t}
[[ ${NAME} == plan-2012* ]] && continue
[[ ${NAME} == plan-2013* ]] && continue
if grep -q "\... | Shell |
#!/bin/zsh
# TARGETS
# Shows historical targets
USR=$1
EXERCISE=$2
set -eu
checkvars USR EXERCISE
[[ -d users/${USR} ]] || crash "No such user: ${USER}"
for PLAN in users/${USR}/plans/plan-*.txt
do
NAME=${PLAN:t}
[[ ${NAME} == plan-2012* ]] && continue
[[ ${NAME} == plan-2013* ]] && continue
if grep -q "\... | Shell |
#!/bin/zsh
# WORKOUTS
# Shows historical workouts with target and actuals
USR=$1
EXERCISE=$2
set -eu
checkvars USR EXERCISE
[[ -d users/${USR} ]] || crash "No such user: ${USER}"
for PLAN in users/${USR}/plans/plan-*.txt
do
NAME=${PLAN:t}
[[ ${NAME} == plan-2012* ]] && continue
[[ ${NAME} == plan-2013-01... | Shell |
#!/bin/sh
# Detects OS we're compiling on and generates build_config.mk,
# which in turn gets read while processing Makefile.
# build_config.mk will set the following variables:
# - PORT_CFLAGS will either set:
# -DLEVELDB_PLATFORM_POSIX if cstatomic is present
# -DLEVELDB_PLATFORM_NOATOMI... | Shell |
#!/bin/bash
#************************************************#
# автор: kuzyara555@gmail.com #
# Ноябрь , 2012 #
# #
# Скачиваем 20 фильмов XTO #
# с наиб. кол-м сидов ... | Shell |
#!/bin/bash
#************************************************#
# автор: kuzyara555@gmail.com #
# Ноябрь , 2012 #
# #
# Скачиваем 20 фильмов XTO #
# с наиб. кол-м сидов ... | Shell |
#!/bin/bash
# Converts Google Code wiki pages to GitHub flavored Markdown. This is done
# inside of an existing git repo, and the process will build up a series
# of git commits for each file modified.
USAGE="Bulk converter for wiki pages.
convert-repo.sh <path-to-wiki2gfm.py> <path-to-git-repo-root>
"
if [ $# -eq 0... | Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# CC C Compiler path
# CXX C++ Compiler path
# PLATFORM_LDFLAGS ... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.