code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name "*.tpl.php" -type f | xargs rm -f
| Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name "*.tpl.php" -type f | xargs rm -f
| Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name "*.tpl.php" -type f | xargs rm -f
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
#
# Copyright 2013 Google Inc.
#
# 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.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_BitmapCache VERBOSE
| Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | Shell |
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distri... | Shell |
#!/bin/sh
# This is the Protege 4 run.sh file customized for ACE View.
# This file must be used instead of the official run.sh when
# using APELocal for the ACE->OWL/SWRL translation.
# The only difference with respect to the official Protege run-file
# is the addition of 'java.library.path' and an additional classpat... | Shell |
#!/bin/sh
# This is the Protege 4 run.sh file customized for ACE View.
# This file must be used instead of the official run.sh when
# using APELocal for the ACE->OWL/SWRL translation.
# The only difference with respect to the official Protege run-file
# is the addition of 'java.library.path' and an additional classpat... | Shell |
protege_home=${HOME}/TEST/Protege/
mkdir ${protege_home}
export PROTEGE_HOME=${protege_home}
echo "PROTEGE_HOME=${PROTEGE_HOME}"
for i in protege-base org.protege.common org.protege.editor.core.application org.semanticweb.owl.owlapi org.protege.editor.owl org.protege.jaxb
do
cd $i
ant install
cd ..
done
| Shell |
protege_home=${HOME}/TEST/Protege/
protege_repo="http://smi-protege.stanford.edu/repos/protege/protege4/"
mkdir ${protege_home}
export PROTEGE_HOME=${protege_home}
echo "PROTEGE_HOME=${PROTEGE_HOME}"
echo "svn checkout ${protege_repo}/protege-base/trunk protege-base"
svn checkout ${protege_repo}/protege-base/trunk ... | Shell |
cd `dirname $0`
CMD_OPTIONS="-Djava.library.path=/opt/local/lib/swipl-5.6.61/lib/powerpc-darwin8.11.0/ -Dapple.laf.useScreenMenuBar=true -Xdock:name=Protege -classpath /opt/local/lib/swipl-5.6.61/lib/jpl.jar" sh run.sh
| Shell |
cd `dirname $0`
CMD_OPTIONS="-Djava.library.path=/opt/local/lib/swipl-5.6.61/lib/powerpc-darwin8.11.0/ -Dapple.laf.useScreenMenuBar=true -Xdock:name=Protege -classpath /opt/local/lib/swipl-5.6.61/lib/jpl.jar" sh run.sh
| Shell |
#!/bin/bash
while read line; do
pval=${line#*playTime>}
val=${pval%</playTime>*}
if [ "x$val" != "x$line" -a "x$val" != "x$pval" ]; then playTime=$val; fi
pval=${line#*fontsize=\"}
val=${pval%\" color=*}
if [ "x$val" != "x$line" -a "x$val" != "x$pval" ]; then fontsize=$val; fi
pval=${line#*color=\"}
val=${pv... | Shell |
#!/bin/bash
usage() {
cat << EOF
USAGE: $0 [ -p <pool> ] <vid>
EOF
}
pool="pool=0"
vid=""
while getopts "p:" OPTION; do
case "$OPTION" in
p)
pool="pool=$OPTARG"
;;
h|?)
usage
exit 1
;;
esac
done
shift $(($OPTIND - 1))
vid="$1"
if [ -z "$vid" ]; then
echo "vid not specified"... | Shell |
#!/bin/bash
usage() {
cat << EOF
USAGE: $0 [ -p <pool> ] <vid>
EOF
}
pool="pool=0"
vid=""
while getopts "p:" OPTION; do
case "$OPTION" in
p)
pool="pool=$OPTARG"
;;
h|?)
usage
exit 1
;;
esac
done
shift $(($OPTIND - 1))
vid="$1"
if [ -z "$vid" ]; then
echo "vid not specified"... | Shell |
#!/bin/bash
while read -r line; do
line="${line//;/\;}"
echo -n "${line//#/;}"
for i in $(seq 1 7); do
read -r line
line="${line//;/\;}"
echo -n " #${line//#/;}"
done
echo
done
| Shell |
#!/bin/bash
while read -r line; do
echo "$line" | cut -d# -f1
echo "$line" | cut -d# -f2
echo "$line" | cut -d# -f3
echo "$line" | cut -d# -f4
echo "$line" | cut -d# -f5
echo "$line" | cut -d# -f6
echo "$line" | cut -d# -f7
echo
done | sed "s|;|#|g; s/\\\#/;/g; s| $||g"
| Shell |
#!/bin/bash
while read -r line; do
echo "$line" | cut -d# -f1
echo "$line" | cut -d# -f2
echo "$line" | cut -d# -f3
echo "$line" | cut -d# -f4
echo "$line" | cut -d# -f5
echo "$line" | cut -d# -f6
echo "$line" | cut -d# -f7
echo
done | sed "s|;|#|g; s/\\\#/;/g; s| $||g"
| Shell |
#!/bin/bash
while read -r line; do
line="${line//;/\;}"
echo -n "${line//#/;}"
for i in $(seq 1 7); do
read -r line
line="${line//;/\;}"
echo -n " #${line//#/;}"
done
echo
done
| Shell |
#!/bin/bash
for i in $(seq 1 6); do
a=$(cut -d" " -f2 < info$i)
while read -r line; do
if [[ "x${line#play}" != "x$line" ]]; then
b=$(echo "$line" | cut -d" " -f2)
echo -n "playTime: "
echo "scale=1; ( $b / 3 $a ) / 1" | bc
else
echo "$line"
fi
done < msg$i
done
| Shell |
#!/bin/bash
for i in $(seq 1 6); do
a=$(cut -d" " -f2 < info$i)
while read -r line; do
if [[ "x${line#play}" != "x$line" ]]; then
b=$(echo "$line" | cut -d" " -f2)
echo -n "playTime: "
echo "scale=1; ( $b / 3 $a ) / 1" | bc
else
echo "$line"
fi
done < msg$i
done
| Shell |
#!/bin/bash
while read line; do
pval=${line#*playTime>}
val=${pval%</playTime>*}
if [ "x$val" != "x$line" -a "x$val" != "x$pval" ]; then playTime=$val; fi
pval=${line#*fontsize=\"}
val=${pval%\" color=*}
if [ "x$val" != "x$line" -a "x$val" != "x$pval" ]; then fontsize=$val; fi
pval=${line#*color=\"}
val=${pv... | Shell |
#!bin/bash
source ./centos/centos.sh
| Shell |
#!bin/bash
function isExistCmd()
{
if which $1 2>/dev/null; then
return 1
else
return 0
fi
}
isExistCmd yum
isYumCmd=$?
if [ 0 -eq $isYumCmd ];then
echo "no exist yum command";
# exit 0
fi
# is exist lsb_release cmd
isExistCmd lsb_release
isLsbCmd=$?
... | Shell |
#!bin/bash
AcShell=""
| Shell |
#!bin/bash
function cpFile()
{
sFile=$1
if [ ! -e $sFile ]; then
return 0
fi
cpDir=$(dirname $2)
mkdir -p $cpDir
cp -f $1 $2
}
function bakFile()
{
sFile=$1
if [ ! -e $sFile ]; then
return 0
fi
mkdir -p ${AcBackUpDir}
timeStamp=`date +%Y%m%d%H%M%S`
fileDir=$(cd "$(dirname "$sFile")"... | Shell |
#!bin/bash
#echo -n "please input your name:"
#read name
#echo "hello $name, welcome to IT website"
function showMainMenu()
{
clear
cat << END
---------------------------------------------------------
1. yum 源管理与优化
2. Web 服务
3. Db 服务
4. Ftp 服务
5. Mail 服务
6. Common 服务
7. CacheProxy 服务
8. HttpProxy 服务
9. 监... | Shell |
#!bin/bash
function setVi2Vim()
{
VI_IN_BASH=`grep vim ~/.bashrc`
if [ -z "$VI_IN_BASH" ];then
echo "alias vi='vim'" >> ~/.bashrc
source ~/.bashrc
fi
}
| Shell |
#!bin/bash
function showFtpMenu()
{
clear
cat << END
Ftp 服务
---------------------------------------------------------
0. 回到上级菜单
1. 安装配置 proftpd
00. 退出
---------------------------------------------------------
author:anjoecai mail:anjoecai@gmail.com
-----------------------------------... | Shell |
#!bin/bash
AcYumList="yum-fastestmirror yum-priorities lsb_release zip unzip wget vim-enhanced at ntp sysstat vim-enhanced gcc gcc-c++ flex bison autoconf automake bzip2-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel curl curl-devel patch make libtool gettext-devel mlocate zlib z... | Shell |
#!bin/bash
function setVi2Vim()
{
VI_IN_BASH=`grep vim ~/.bashrc`
if [ -z "$VI_IN_BASH" ];then
echo "alias vi='vim'" >> ~/.bashrc
source ~/.bashrc
fi
}
| Shell |
#!bin/bash
AcYumList="yum-fastestmirror yum-priorities lsb_release zip unzip wget vim-enhanced at ntp sysstat vim-enhanced gcc gcc-c++ flex bison autoconf automake bzip2-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel curl curl-devel patch make libtool gettext-devel mlocate zlib z... | Shell |
#!bin/bash
function showFtpMenu()
{
clear
cat << END
Ftp 服务
---------------------------------------------------------
0. 回到上级菜单
1. 安装配置 proftpd
00. 退出
---------------------------------------------------------
author:anjoecai mail:anjoecai@gmail.com
-----------------------------------... | Shell |
#!bin/bash
#echo -n "please input your name:"
#read name
#echo "hello $name, welcome to IT website"
function showMainMenu()
{
clear
cat << END
---------------------------------------------------------
1. yum 源管理与优化
2. Web 服务
3. Db 服务
4. Ftp 服务
5. Mail 服务
6. Common 服务
7. CacheProxy 服务
8. HttpProxy 服务
9. 监... | Shell |
#!bin/bash
function isExistCmd()
{
if which $1 2>/dev/null; then
return 1
else
return 0
fi
}
isExistCmd yum
isYumCmd=$?
if [ 0 -eq $isYumCmd ];then
echo "no exist yum command";
# exit 0
fi
# is exist lsb_release cmd
isExistCmd lsb_release
isLsbCmd=$?
... | Shell |
#!bin/bash
AcShell=""
| Shell |
#!bin/bash
function cpFile()
{
sFile=$1
if [ ! -e $sFile ]; then
return 0
fi
cpDir=$(dirname $2)
mkdir -p $cpDir
cp -f $1 $2
}
function bakFile()
{
sFile=$1
if [ ! -e $sFile ]; then
return 0
fi
mkdir -p ${AcBackUpDir}
timeStamp=`date +%Y%m%d%H%M%S`
fileDir=$(cd "$(dirname "$sFile")"... | Shell |
#!bin/bash
source ./centos/centos.sh
| Shell |
svn add * --force
| Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2014 gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 Denis Nelubin aka Gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# ... | Shell |
#!/bin/sh
TARGETS=$*
buildin() {
BASE_DIR=$(pwd)
cd $1
ant $TARGETS
cd $BASE_DIR
}
buildin core
buildin skins/black-text
buildin skins/white-text
buildin skins/black-text-plus
buildin skins/white-text-plus
buildin skins/bigger-text
| Shell |
#!/bin/bash
echo Compiling ACONITE
cd src
make clean
make
cp run_aconite ../.
| Shell |
#!/bin/bash
echo Compiling ACONITE
cd src
make clean
make
cp run_aconite ../.
| Shell |
#!/bin/bash
echo Compiling ACONITE
cd src
make clean
make
cp run_aconite ../.
| Shell |
#!/bin/bash
echo Compiling ACONITE
cd src
make clean
make
cp run_aconite ../.
| Shell |
#!/bin/bash
echo Compiling ACONITE
cd src
make clean
make
cp run_aconite ../.
| Shell |
#!/bin/bash
echo Compiling ACONITE
cd src
make clean
make
cp run_aconite ../.
| Shell |
#!/bin/bash
# Copyright 2009 Google Inc.
#
# 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.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | Shell |
#!/bin/bash
CP=`ls lib/*.jar|tr '\n' ':'`
# Tatoeba indexing uses quite a lot of memory on Linux 64bit
JAVA_OPTS=-Xmx1024m
java $JAVA_OPTS -cp $CP sk.baka.aedict.indexer.Main "$@"
| Shell |
#!/bin/bash
cd ..
# Index Edict
# We need edict.gz to be present locally, for Tanaka/Tatoeba parsing
wget http://ftp.monash.edu.au/pub/nihongo/edict.gz || exit 1
./ai.sh -f edict.gz -g --upload || exit 1
# Index Kanjidic
./ai.sh -d -k --upload || exit 1
# Index Tanaka
./ai.sh -d -t --upload || exit 1
# Index Tatoeb... | Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t... | Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t... | Shell |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/bin/sh
cd `dirname $0`
jruby aco.rb | Shell |
#!/bin/sh
cd `dirname $0`
javac *.java
jar cf ../rplib.jar *.class | Shell |
#!/bin/sh
cd `dirname $0`
javac *.java
jar cf ../rplib.jar *.class | Shell |
#!/bin/sh
cd `dirname $0`
jruby aco.rb | Shell |
#!/bin/sh
cd `dirname $0`
jruby ../../../../aco.rb -f full_screen_app.rb | Shell |
#!/bin/sh
cd `dirname $0`
jruby ../../../../aco.rb -f full_screen_app.rb | Shell |
#!/bin/bash
liquibase --driver org.postgresql.Driver \
--classpath=target/chapter14.war \
--changeLogFile=com/actionbazaar/db/db.changelog-master.xml \
--url="jdbc:postgresql://localhost/actionbazaar13" \
--username=actionbazaar \
--password=password \
migrate
| Shell |
#!/bin/bash
liquibase --driver org.postgresql.Driver \
--classpath=target/chapter14.war \
--changeLogFile=com/actionbazaar/db/db.changelog-master.xml \
--url="jdbc:postgresql://localhost/actionbazaar3" \
--username=actionbazaar \
--password=password \
rollback tag
| Shell |
#!/bin/bash
liquibase --driver org.postgresql.Driver \
--classpath=target/chapter14.war \
--changeLogFile=com/actionbazaar/db/db.changelog-master.xml \
--url="jdbc:postgresql://localhost/actionbazaar3" \
--username=actionbazaar \
--password=password \
tag today
| Shell |
#!/bin/bash
# This is a script to automate the joining to AD
# Released under Apache License 2.0
# Written by Nathan Adams (adamsna@datanethost.net)
# ****WARNING****
# This does have the potential to bork your system!
# When in doubt test on a dummy system first!
#
# Tested for the following systems:
# De... | 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
open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
| Shell |
#!/bin/bash
# Kill any previously running brokers
#pkill -9 acquirea
# Remove outstanding work stores
rm ./_*
# Remove all databases
rm ./*.sql
# Remove all workare files and results
rm -fr ./workarea_files/*
rm -fr ./results_files/*
#rm -fr ./hosted_files/*
rm -f *.pub
rm -f brokerkeyname
rm -f output.xml
rm -f wo... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
export CONSPIRE_BROKERHOST=@DEFAULT_HOST@
export CONSPIRE_BROKERPORT=@DEFAULT_PORT@
export FINAL_QUEUEING_SCRIPT="cd $CONSPIRE_WRITEABLEDIR; \
if [ -n \"`which wget`\" ]; then \
wget http://$... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
export CONSPIRE_JOBID=$PBS_JOBID
mkdir compute_$CONSPIRE_KEYID
mv $CONSPIRE_KEYID.pub compute_$CONSPIRE_KEYID/
mv $CONSPIRE_KEYID.prv compute_$CONSPIRE_KEYID/
cd compute_$CONSPIRE_KEYID
if [ -n "... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
export CONSPIRE_JOBID=$PBS_JOBID
mkdir compute_$CONSPIRE_KEYID
mv $CONSPIRE_KEYID.pub compute_$CONSPIRE_KEYID/
mv $CONSPIRE_KEYID.prv compute_$CONSPIRE_KEYID/
cd compute_$CONSPIRE_KEYID
if [ -n "... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
export CONSPIRE_BROKERHOST=@DEFAULT_HOST@
export CONSPIRE_BROKERPORT=@DEFAULT_PORT@
export FINAL_QUEUEING_SCRIPT="cd $CONSPIRE_WRITEABLEDIR; \
if [ -n \"`which wget`\" ]; then \
wget http://$... | Shell |
#!/bin/bash
# Kill any previously running brokers
#pkill -9 acquirea
# Remove outstanding work stores
rm ./_*
# Remove all databases
rm ./*.sql
# Remove all workare files and results
rm -fr ./workarea_files/*
rm -fr ./results_files/*
#rm -fr ./hosted_files/*
rm -f *.pub
rm -f brokerkeyname
rm -f output.xml
rm -f wo... | Shell |
#!/bin/bash
# Kill any previously running brokers
#pkill -9 acquirea
# Remove outstanding work stores
rm ./_*
# Remove all databases
rm ./*.sql
# Remove all workare files and results
rm -fr ./workarea_files/*
rm -fr ./results_files/*
#rm -fr ./hosted_files/*
rm -f *.pub
rm -f brokerkeyname
rm -f output.xml
rm -f wo... | Shell |
#!/bin/bash
# Figure out which versions of glibc are available
export GLIBC_GOOD_VERSIONS=""
export GLIBC_BAD_VERSIONS=""
export GLIBC_IFDEFS=""
export LIBC_LOCATION=`ldd $1 | grep "libc.so.6" | awk ' { print $3 } '`
echo "libc located as: "$LIBC_LOCATION
# Add ones we have on the local system to the good list, and on... | Shell |
#!/bin/bash
ln -s ../_acquirepy.so _acquirepy.so
env
LD_PRELOAD=../glibc_patch.so LD_LIBRARY_PATH=.. ../python -S ./test_workpacket_process.py \
-n $CONSPIRE_BROKERHOST -p $CONSPIRE_BROKERPORT \
-c "$CONSPIRE_KEYID" -u "$CONSPIRE_KEYID"_inp -r "$CONSPIRE_KEYID"_out -j "$CONSPIRE_JOBID" \
-t "$CONSPIRE_TMAX" -d "... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
# CONSPIRE_DEMAND_JOB
export CONSPIRE_JOBID=$PBS_JOBID
if [ "$CONSPIRE_CLUSTERID" = "emerald" ]; then
export CONSPIRE_JOBID=$LSB_JOBID
fi
cd $CONSPIRE_WRITEABLEDIR
if [ -n "`which wget`" ]; th... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
# CONSPIRE_DEMAND_JOB
export CONSPIRE_JOBID=$PBS_JOBID
if [ "$CONSPIRE_CLUSTERID" = "emerald" ]; then
export CONSPIRE_JOBID=$LSB_JOBID
fi
cd $CONSPIRE_WRITEABLEDIR
if [ -n "`which wget`" ]; th... | Shell |
#!/bin/bash
ln -s ../_acquirepy.so _acquirepy.so
env
LD_PRELOAD=../glibc_patch.so LD_LIBRARY_PATH=.. ../python -S ./test_workpacket_process.py \
-n $CONSPIRE_BROKERHOST -p $CONSPIRE_BROKERPORT \
-c "$CONSPIRE_KEYID" -u "$CONSPIRE_KEYID"_inp -r "$CONSPIRE_KEYID"_out -j "$CONSPIRE_JOBID" \
-t "$CONSPIRE_TMAX" -d "... | Shell |
#!/bin/bash
# Figure out which versions of glibc are available
export GLIBC_GOOD_VERSIONS=""
export GLIBC_BAD_VERSIONS=""
export GLIBC_IFDEFS=""
export LIBC_LOCATION=`ldd $1 | grep "libc.so.6" | awk ' { print $3 } '`
echo "libc located as: "$LIBC_LOCATION
# Add ones we have on the local system to the good list, and on... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
# CONSPIRE_DEMAND_JOB
export CONSPIRE_BROKERHOST=@DEFAULT_HOST@
export CONSPIRE_BROKERPORT=@DEFAULT_PORT@
#export FINAL_QUEUEING_SCRIPT="cd $CONSPIRE_WRITEABLEDIR; \
#if [ -n \"`which wget`\" ];... | Shell |
#!/bin/bash
# For packaging the compute system up.
#
# Filter out re-routable libraries
export PRIMARY="$1"
export ADDITION_SELF="-C `dirname $1` `basename $1`"
export ADDITION_LIST="$(ldd $1 | grep '=>' | grep -v '=> ' | grep -v "libc\." | grep -v "libm\." | grep -v "libdl\." | grep -v "libstdc++\." | awk ' { print... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
# CONSPIRE_DEMAND_JOB
export CONSPIRE_JOBID=$PBS_JOBID
if [ "$CONSPIRE_CLUSTERID" = "emerald" ]; then
export CONSPIRE_JOBID=$LSB_JOBID
fi
cd $CONSPIRE_WRITEABLEDIR
if [ -n "`which wget`" ]; th... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
# CONSPIRE_DEMAND_JOB
export CONSPIRE_JOBID=$PBS_JOBID
if [ "$CONSPIRE_CLUSTERID" = "emerald" ]; then
export CONSPIRE_JOBID=$LSB_JOBID
fi
cd $CONSPIRE_WRITEABLEDIR
if [ -n "`which wget`" ]; th... | Shell |
#!/bin/sh
# the defined variables should be:
# CONSPIRE_WRITEABLEDIR
# CONSPIRE_KEYID
# CONSPIRE_TMAX
# CONSPIRE_CLUSTERID
# CONSPIRE_DEMAND_JOB
export CONSPIRE_BROKERHOST=@DEFAULT_HOST@
export CONSPIRE_BROKERPORT=@DEFAULT_PORT@
#export FINAL_QUEUEING_SCRIPT="cd $CONSPIRE_WRITEABLEDIR; \
#if [ -n \"`which wget`\" ];... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.