code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
#------------------------------------------------------------
# GENERATES THE DOCUMENTATION
#------------------------------------------------------------
doxygen ../Doxyfile;
make -C latex/;
exit; | Shell |
#!/bin/sh
echo ""
make; # As a developer I always have to compile in order to ensure the latest changes are in effect.
echo "Compares the output: the line numbers should equal."
./orthaGogue -i all_vm.blast -c 1 1>enkel.txt; # The default running
mv all.abc all_default.abc; # Stores the result for later comparison for... | Shell |
#!/bin/sh
# Script written for verifying the reciprocality.
if [ "$#" -eq 4 ] ; then
# Note: In order to remove ducplicates and containing alle the values, 'sort' is used with parameters for the columns of id with the additional requirement of uniqueness.
#cmd="grep \"$1\" $3 | grep \"$2\" | sort --key=1,2 -u ... | Shell |
#!/bin/sh
if [ "$#" -eq 2 ] ; then
awk -F " " '{ print $1 "\t" $2 "\t" $12}' $1 1>temp_$1;
cat temp_$1;
else
echo "!! Dot able to run as file not specified."
fi
| Shell |
#!/bin/sh
file1="omcl/coorthologs.abc.sort";
awk '
BEGIN {
file2="turbo/orthologs.abc";
# file="goodProteins.blast";
# system("head " file)
# system("head goodProteins.blast");
# found=system("grep \"At1g01190_at\" $file2");
echo $found;
}
{
# printf("%s %s %f\n", $1, $2, $3);
# found=system("grep \"At1g01190... | Shell |
#!/bin/sh -x
echo "Processes file " $1;
cat $1 | awk '
BEGIN {
# initialize all arrays used in for loop
# FIXME: Hvordan oppdatere variabel her??
# taxon_index=$taxon_index;
taxon_index=1;
count[""]=0;
fsize[""]=0;
names[""]=0;
taxa[""]=0;
}
{
lines++;
names[$1]++;
# print names[$... | Shell |
#!/bin/sh
FILE="/work/mironov/outputs/mpiblast/sprot-2011-11-17/sprot-2011-11-17.blast";
lines=200000;
#lines=500000;
#lines=1000000;
#lines=10000000;
#lines=50000000;
OUT="temp.blast"
head -n $lines $FILE > $OUT;
size=`ls -lh $OUT | awk '{printf $5}'`; # Note: this may change between different architectures.
printf "... | Shell |
#!/bin/sh
#grep $1 $FILE;
#grep \"$1\" $FILE;
FILE="control_set/averaged_data.abc";
grep $1 $FILE | grep $2;
echo "----------------";
FILE="out_build_o.txt";
grep $1 $FILE | grep $2;
echo "----------------";
FILE="goodProteins.blast"
grep $1 $FILE | grep $2;
echo "----------------."; | Shell |
#!/bin/sh
echo ""
make; ./orthaGogue -i all_vm.blast -c 1; # Generates the output
echo "Tests uniqueness for the co-orthologs:"
cut -f 1,2 co_orthologs.abc | sort > co_sorted.abc; # Sorting allowing duplicates.
cut -f 1,2 co_orthologs.abc | sort -u > co_unique_sorted.abc; # Sorting, removing duplicates.
diff co_sorted.... | Shell |
#!/bin/sh
##!/bin/sh -x
if [ "$#" -eq 1 ] ; then
INPUT_FILE=$1;
# INPUT_FILE="all_vm.blast";
cmd="./orthaGogue -i $INPUT_FILE --no_normalization --not_sum_scores --use_last_column --output_dir .";
echo $cmd;
#`$cmd`;
ABC_FILE="all.abc"
echo "''''''''''''''''''''''''''''''''''''''''''''''''''''... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
if [ $# != 1 ]
then
echo "Usage: $0 emailAddress"
exit 1
fi
read -s -p "Password: " mypassword
echo ""
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
| Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/sh
KERNEL=$TOP_ROOT/kernel/linux/arch/x86_64/boot/bzImage
INITRD=$TOP_ROOT/rootfs.cpio.gz
qemu-kvm -hda /dev/zero -kernel $KERNEL -initrd $INITRD
| Shell |
#!/bin/sh
TARGET_DIR="bin boot dev etc hsfm lib lib64 mnt proc root sbin sys tmp usr usr/bin usr/sbin var"
## $TOP_ROOT/rootfs
mkdir -p $TOP_ROOT/rootfs
cd $TOP_ROOT/rootfs
for i in $TARGET_DIR ;do
mkdir -p $i
done
cp $TOP_ROOT/tools/busybox bin
cp $TOP_ROOT/tools/lnbusybox.sh .
sudo chroot $TOP_ROOT/rootfs /bin... | Shell |
#!/bin/sh
/bin/busybox --install -s
rm /lnbusybox.sh
exit
| Shell |
#!/bin/sh
## $TOP_ROOT/rootfs
rm -fr $TOP_ROOT/rootfs.cpio.gz > /dev/null
$TOP_ROOT/kernel/linux/scripts/gen_initramfs_list.sh $TOP_ROOT/rootfs > $TOP_ROOT/filelist
sudo $TOP_ROOT/kernel/linux/usr/gen_init_cpio $TOP_ROOT/filelist > $TOP_ROOT/rootfs.cpio
gzip $TOP_ROOT/rootfs.cpio
rm $TOP_ROOT/filelist
| Shell |
#!/bin/sh
## $TOP_ROOT/rootfs
rm -fr $TOP_ROOT/rootfs.cpio.gz > /dev/null
$TOP_ROOT/kernel/linux/scripts/gen_initramfs_list.sh $TOP_ROOT/rootfs > $TOP_ROOT/filelist
sudo $TOP_ROOT/kernel/linux/usr/gen_init_cpio $TOP_ROOT/filelist > $TOP_ROOT/rootfs.cpio
gzip $TOP_ROOT/rootfs.cpio
rm $TOP_ROOT/filelist
| Shell |
#!/bin/sh
KERNEL=$TOP_ROOT/kernel/linux/arch/x86_64/boot/bzImage
INITRD=$TOP_ROOT/rootfs.cpio.gz
qemu-kvm -hda /dev/zero -kernel $KERNEL -initrd $INITRD
| Shell |
#!/bin/sh
/bin/busybox --install -s
rm /lnbusybox.sh
exit
| Shell |
#!/bin/sh
TARGET_DIR="bin boot dev etc hsfm lib lib64 mnt proc root sbin sys tmp usr usr/bin usr/sbin var"
## $TOP_ROOT/rootfs
mkdir -p $TOP_ROOT/rootfs
cd $TOP_ROOT/rootfs
for i in $TARGET_DIR ;do
mkdir -p $i
done
cp $TOP_ROOT/tools/busybox bin
cp $TOP_ROOT/tools/lnbusybox.sh .
sudo chroot $TOP_ROOT/rootfs /bin... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/sh
RC_VERSION=3.2.2-SNAPSHOT
chmod a+x restclient-ui/target/restclient-ui-${RC_VERSION}/WizTools.org\ RESTClient.app/Contents/MacOS/JavaApplicationStub
| Shell |
#!/bin/sh
VERSION=3.1-SNAPSHOT
cp restclient-cli/target/restclient-cli-${VERSION}-jar-with-dependencies.jar \
restclient-ui/target/restclient-ui-${VERSION}-jar-with-dependencies.jar \
restclient-ui/target/restclient-ui-${VERSION}-app.zip \
~/Dropbox/Public/
| Shell |
#!/bin/sh
svn log -v -r597:HEAD > rest-client-history-26.log
| Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#!/bin/bash
#
# Starts a basic web server on the port specified.
#
# ./serve.sh 3000 -> http://localhost:3000
#
# Copyright 2012 Eric Bidelman <ebidel@gmail.com>
port=$1
if [ $# -ne 1 ]
then
port=8000
fi
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | Shell |
/sbin/mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk no-scsi-initrd.img $(uname -r)
| Shell |
#!/bin/sh
exec java -d64 -XstartOnFirstThread -Xmx200M -jar eurocarb-glycoworkbench-1.0rc.jar
| Shell |
#!/bin/sh
exec java -d32 -XstartOnFirstThread -jar eurocarb-glycoworkbench-1.0rc.jar
| Shell |
#!/bin/bash
wine $1 $2
| Shell |
perl -p -e 's/\n/\r\n/' < README.txt > WIN_README.txt
| Shell |
#!/bin/sh
#
# San Angeles Observation OpenGL ES version example
#
# This shell script builds the demo application
# with executable name "SanOGLES".
#
# Before running it, make sure that either libGLES_CM.so
# or libGLES_CL.so is available in the library path.
# Alternatively you can copy one of them to the same
# dire... | Shell |
#!/bin/ksh
# launcher script for jsdoc
# Author: Avi Deitcher
#
# This program is released under the MIT License as follows:
# Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com>
#
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "... | Shell |
#!/bin/bash
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen ${i}000000 > data/m${i} ; done
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen2 "A" ${i}000000 > data/a${i} ; done
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen2 "AB" ${i}000000 > data/ab${i} ; done
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen2 "B" ${i}000000 > data/b${i} ; done
for i ... | Shell |
#!/bin/bash
# case 1
rm results/DERIV1*.tsv
./Timer ./DERIV "(.)*$" results/DERIV1.tsv data/m1 data/m2 data/m3 data/m4 data/m5 data/m6 data/m7 data/m8 data/m9 data/m10
# case 2
rm results/DERIV2*.tsv
./Timer ./DERIV "ABCDEFGHIJKLMNOPQRSTUVWXYZ$" results/DERIV2.tsv data/m1 data/m2 data/m3 data/m4 data/m5 data/m6 dat... | Shell |
#!/bin/bash
# case 1
rm results/DERIV1*.tsv
./Timer ./DERIV "(.)*$" results/DERIV1.tsv data/m1 data/m2 data/m3 data/m4 data/m5 data/m6 data/m7 data/m8 data/m9 data/m10
# case 2
rm results/DERIV2*.tsv
./Timer ./DERIV "ABCDEFGHIJKLMNOPQRSTUVWXYZ$" results/DERIV2.tsv data/m1 data/m2 data/m3 data/m4 data/m5 data/m6 dat... | Shell |
#!/bin/bash
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen ${i}000000 > data/m${i} ; done
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen2 "A" ${i}000000 > data/a${i} ; done
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen2 "AB" ${i}000000 > data/ab${i} ; done
for i in 1 2 3 4 5 6 7 8 9 10; do ./gen2 "B" ${i}000000 > data/b${i} ; done
for i ... | Shell |
#!/bin/sh
JAVA_HOME=$HOME/local/jdk
M2_HOME=$HOME/local/maven
TOMCAT_HOME=$HOME/local/tomcat
MQ_HOME=$HOME/local/activemq
CLASSPATH=.:$JAVA_HOME/lib
PATH=$JAVA_HOME/bin:$M2_HOME/bin:$MQ_HOME/bin:$PATH
EDITOR=vim
TERM=xterm
LC_ALL=zh_CN.utf8
LANGUAGE=zh_CN.utf8
LANG=zh_CN.utf8
ACTIVEMQ_OPTS_MEMORY=" -Xmx64M"
export... | Shell |
#!/bin/sh
JAVA_HOME=$HOME/local/jdk1.8.0
CLASSPATH=.:$JAVA_HOME/lib
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH
java -server -cp etc:portal.jar com.odong.App
| Shell |
#!/bin/sh
alias ff=iptables
ff -F
ff -X
ff -Z
ff -P INPUT DROP
ff -P OUTPUT ACCEPT
ff -P FORWARD DROP
ff -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
ff -A INPUT -i lo -j ACCEPT
AICMP="0 3 3/4 4 8 11 12 14 16 18"
for tyicmp in $AICMP; do
ff -A INPUT -p icmp --icmp-type $tyicmp -j ACCEPT
done
PORTS=... | Shell |
#!/bin/sh
JAVA_HOME=$HOME/local/jdk1.8.0
CLASSPATH=.:$JAVA_HOME/lib
PATH=$JAVA_HOME/bin:$M2_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH
root_dir=$(cd "$(dirname "$0")"; pwd)
pid=${root_dir}/var/run/.httpd
args=" -server -cp ${root_dir}/etc:${root_dir}/httpd.jar -pidfile ${pid} -DXms512m -DXmx1024m -Duser.dir=${root... | Shell |
#!/bin/bash
#=============================================================================
#
# FileName: uws.sh
# Desc: for uwsgi start/stop/reload
#
# Author: dantezhu
# Email: zny2008@gmail.com
# HomePage: http://www.vimer.cn
#
# Created: 2011-07-24 21:15:23
# Version: 0.0.1
# ... | Shell |
#!/bin/bash
#=============================================================================
#
# FileName: uws.sh
# Desc: for uwsgi start/stop/reload
#
# Author: dantezhu
# Email: zny2008@gmail.com
# HomePage: http://www.vimer.cn
#
# Created: 2011-07-24 21:15:23
# Version: 0.0.1
# ... | Shell |
#!/bin/sh
#
# dex2jar - Tools to work with android .dex and java .class files
# Copyright (c) 2009-2012 Panxiaobo
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache... | Shell |
#!/bin/sh
#
# Copyright (c) 2002-2009
# The Xfce development team. All rights reserved.
#
# Written for Xfce by Benedikt Meurer <benny@xfce.org>.
export XDT_AUTOGEN_REQUIRED_VERSION="4.7.0"
(type xdt-autogen) >/dev/null 2>&1 || {
cat >&2 <<EOF
autogen.sh: You don't seem to have the Xfce development tools in... | Shell |
#!/bin/sh
#
# Copyright (c) 2002-2009
# The Xfce development team. All rights reserved.
#
# Written for Xfce by Benedikt Meurer <benny@xfce.org>.
export XDT_AUTOGEN_REQUIRED_VERSION="4.7.0"
(type xdt-autogen) >/dev/null 2>&1 || {
cat >&2 <<EOF
autogen.sh: You don't seem to have the Xfce development tools in... | Shell |
#!/bin/sh
find . -type f -name "*.cpp" -o -name "*.h" | xargs sed -i 's/^M//g'
| Shell |
#!/bin/sh
./protogen.py -c server -t lua -o ./sample -p ./sample/game.py
./protogen.py -c client -t as3 -o ./sample -p ./sample/game.py
| Shell |
#!/bin/sh
./protogen.py -c server -t lua -o ./sample -p ./sample/game.py
./protogen.py -c client -t as3 -o ./sample -p ./sample/game.py
| Shell |
#!/bin/sh
find . -type f -name "*.cpp" -o -name "*.h" | xargs sed -i 's/^M//g'
| Shell |
#!/bin/sh
wget http://downloads.mongodb.org/src/mongodb-src-r1.8.3.tar.gz
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
wget http://sourceforge.net/projects/pcre/files/pcre/8.12/pcre-8.12.tar.bz2
rpm -ivh epel-release... | Shell |
#!/bin/sh
wget http://downloads.mongodb.org/src/mongodb-src-r1.8.3.tar.gz
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
wget http://sourceforge.net/projects/pcre/files/pcre/8.12/pcre-8.12.tar.bz2
rpm -ivh epel-release... | Shell |
#!/bin/sh
yum -y install gcc-c++.x86_64
yum -y install gdb.x86_64
yum -y install lua-devel.x86_64
yum -y install boost-devel.x86_64
yum -y install mongo-10gen mongo-10gen-server
yum -y install pcre-devel.x86_64
yum -y install scons
yum -y install screen
yum -y install valgrind
curdir=`pwd`
wget http://downloads.mong... | Shell |
#!/bin/sh
yum -y install gcc-c++.x86_64
yum -y install gdb.x86_64
yum -y install lua-devel.x86_64
yum -y install boost-devel.x86_64
yum -y install mongo-10gen mongo-10gen-server
yum -y install pcre-devel.x86_64
yum -y install scons
yum -y install screen
yum -y install valgrind
curdir=`pwd`
wget http://downloads.mong... | Shell |
#!/bin/sh
: ${JOBS:=}
if [ "${CROSS_COMPILE}" ] ; then
MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
else
MAKE=make
fi
if [ "${MAKEALL_LOGDIR}" ] ; then
LOG_DIR=${MAKEALL_LOGDIR}
else
LOG_DIR="LOG"
fi
if [ ! "${BUILD_DIR}" ] ; then
BUILD_DIR="."
fi
[ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1
LIST=""
######... | Shell |
#!/bin/sh
# This script converts binary files (u-boot.bin) into so called
# bootstrap records that are accepted by Motorola's MC9328MX1/L
# (a.k.a. DragaonBall i.MX) in "Bootstrap Mode"
#
# The code for the SynchFlash programming routines is taken from
# Bootloader\Bin\SyncFlash\programBoot_b.txt contained in
# Motor... | Shell |
#!/bin/sh
make
./easylogo linux_logo.tga u_boot_logo video_logo.h
mv video_logo.h ../../include
| Shell |
#!/bin/sh
# Print additional version information for non-release trees.
usage() {
echo "Usage: $0 [srctree]" >&2
exit 1
}
cd "${1:-.}" || usage
# Check for git and a git repo.
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Do we have an untagged version?
if git name-rev --tags HEAD | \
grep -E '^H... | Shell |
#!/bin/bash
#
# This script split u-boot binary for secure boot
# spiliting u-boot for BL1 (8KB -128 Byte)
rm bl2*
split -b 8064 u-boot.bin bl2.bin
| Shell |
#!/bin/bash
#
# This script will create a u-boot binary for movinand/mmc boot
#
# padding to 512k the u-boot.bin
cat u-boot.bin > u-boot-2x.bin
cat u-boot.bin >> u-boot-2x.bin
split -d -a 1 -b 512k u-boot-2x.bin u-boot-512k.bin
# spiliting u-boot for BL1 (8kb)
split -d -a 2 -b 8k u-boot.bin u-boot-8k.bin
# creating... | Shell |
#!/bin/sh -e
# Script to create header files and links to configure
# U-Boot for a specific board.
#
# Parameters: Target Architecture CPU Board [VENDOR] [SOC]
#
# (C) 2002-2006 DENX Software Engineering, Wolfgang Denk <wd@denx.de>
#
APPEND=no # Default: Create new config file
BOARD_NAME="" # Name to print in mak... | Shell |
#
# Copyright (C) 2010 Samsung Electronics Co., Ltd.
# http://www.samsung.com/
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
####################################
rea... | Shell |
#
# Copyright (C) 2010 Samsung Electronics Co., Ltd.
# http://www.samsung.com/
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
####################################
rea... | Shell |
U-Boot for Renesas SuperH
Last update 01/18/2008 by Nobuhiro Iwamatsu
================================================================================
0. What's this?
This file contains status information for the port of U-Boot to the
Renesas SuperH series of CPUs.
================================================... | Shell |
#!/bin/sh
make distclean
make x210_sd_config
make -j4
| Shell |
#!/bin/bash
if [ $# != 1 ]
then
echo "Usage: $0 emailAddress"
exit 1
fi
read -s -p "Password: " mypassword
echo ""
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
| Shell |
#!/bin/sh
# Need to run a full clean install when changing the request factory interfaces
# Doing so deletes the local debug app engine database
# This script backs that up first
SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated
DEST=../db_backup
rm -r $DEST
mkdir $DEST
cp -... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/sh
# filename: dpingloop
# description: run an infinite loop pinging the daris server when
# uploading very large files to avoid the session terminating
# Copyright © 2012-2013 Michael Eager <michael.eager@monash.edu>,
# Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# ... | Shell |
#!/bin/sh
# filename: dget
# description: get all DICOM datasets when given an ID
# input: cid, directory to save data
# Toan Nguyen, June 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# ... | Shell |
#!/bin/bash
# filename: duploadtiff
# description: upload tiff folder to DaRIS
# Toan Nguyen, June 2012
# V3: modified Nov 22, 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under t... | Shell |
#!/bin/sh
# filename: ddestroy
# description: delete dataset
# Copyright © 2012-2013 Michael Eager <michael.eager@monash.edu>,
# Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU G... | Shell |
#!/bin/sh
# file name mfcommandxml
# modified by Toan Nguyen, Nov 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | Shell |
#!/bin/sh
# file name mfcommand
# modified by Toan Nguyen, June 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | Shell |
#!/bin/bash
# filename: dls
# description: list assets
# input: parent cid
# Toan Nguyen, June 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Publ... | Shell |
#!/bin/sh
# filename: dprocessed
# description: set/unset derivation metadata 'processed' value
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#!/bin/sh
# filename: dcheck
# description: check system
# Toan Nguyen, June 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pub... | Shell |
#!/bin/sh
# filename: ddoctype
# description: create doctype
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Fr... | Shell |
#!/bin/bash
# filename: ddoctype
# description: create doctype
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the ... | Shell |
#!/bin/bash
# filename: dpush
# description: push all DICOM files to DaRIS
# input: cid, directory of DICOM file
# Toan Nguyen, June 2012
# last modified: Nov 2012
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute i... | Shell |
#!/bin/sh
# filename: mfparameters
# description: setup parameters
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | Shell |
#!/bin/env bash
# Xglom launcher
# A multi-modal kidney image analysis toolkit
#
# - Michael Eager, (michael.eager@monash.edu)
# - Monash Biomedical Imaging, Monash University, Australia
# Copyright © 2012-2013 Michael Eager <michael.eager@monash.edu>
#
# This file is part of Xglom.
#
# This is fr... | Shell |
#!/bin/sh
# filename: dlogon
# description: logon Mediaflux
# usage: dlogon name, where a list of name:host-name:port:username
# is stored in .daris file
# Toan Nguyen, June 2012, Monash Biomedical Imaging,Monash University
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# T... | Shell |
#!/bin/bash
# dicomedit_kidneys modifies metatdata in DICOM
# files for the kidney project. Origninal files produced by the Agilent 9.4T
# MR scanner were not accepted by the DaRIS system. This script roughly
# fixes this problem.
#
# - Michael Eager, (michael.eager@monash.edu)
# - Monash Biomedical Imaging, M... | Shell |
#!/bin/sh
# filename: ddoctype
# description: create doctype
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the F... | Shell |
#!/bin/sh
# filename: dlogoff
# description: logoff Mediaflux
# Toan Nguyen, 2012, Monash Biomedical Imaging,Monash University
# Copyright © 2012-2013 Toan Nguyen <toan.nguyen@monash.edu>
#
# This file is part of Xglom.
#
# This is free software: you can redistribute it and/or modify
# it under the t... | Shell |
#!/bin/bash
#***************************************************************************
#* Copyright (C) 2011 by YunQiang Su *
#* wzssyqa@gmail.com *
#* *
... | Shell |
#!/bin/sh
# This script use find and xgettext command to generate the translation template file for openfetion
find . -type f -iname "*.c" | xgettext --files-from=- --output=po/pidgin-ofetion.pot --from-code=utf-8 --sort-by-file --language=C --keyword=_ --keyword=gettext --keyword=i18n --keyword=N_ --add-comments --add... | Shell |
#!/bin/sh
#***************************************************************************
#* Copyright (C) 2011 by YunQiang Su *
#* wzssyqa@gmail.com *
#* *
#*... | Shell |
#!/bin/sh
ADIUM_FRAMEWORKS_DIR="/Users/Evan/adium/build/Debug/Adium.app/Contents/Frameworks"
rm -rf *.framework
cp -r "$ADIUM_FRAMEWORKS_DIR"/AIUtilities.framework ./
cp -r "$ADIUM_FRAMEWORKS_DIR"/Adium.framework ./
cp -r "$ADIUM_FRAMEWORKS_DIR"/AdiumLibpurple.framework ./
cp -r "$ADIUM_FRAMEWORKS_DIR"/FriBidi.frame... | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#!/bin/sh
#
# inno2pma
#
# insert InnoDB foreign keys into phpmyadmin relation table
# by Ernie Hershey 3/15/2003
#
# THIS IS AN EXPERIMENTAL SCRIPT - PLEASE DO NOT USE THIS
# IF YOU DON'T UNDERSTAND WHAT IT IS DOING!
#
# This was posted on the Open Discussion forum by
# ehershey. The idea is interesting, however we sh... | Shell |
#!/bin/sh
#
# $Id: remove_control_m.sh,v 2.0 2003/11/18 15:20:45 nijel Exp $
#
# Script to remove ^M from files for DOS <-> UNIX conversions
#
if [ $# != 1 ]
then
echo "Usage: remove_control_m.sh <extension of files>"
echo ""
echo "Example: remove_control_m.sh php3"
exit
fi
for i in `find . -name "*.$1"`
do... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.