code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops in the process of doing a
# commit. Subversion runs this hook by invoking a program (script,
# executable, binary, etc.) named 'start-commit' (for which this fi... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/bash
# This script does a complete reset of minig backend and solr indexes
/etc/init.d/minig-backend stop
/etc/init.d/obm-tomcat stop
rm -fr /var/lib/minig-backend/org.*
rm -fr /var/cache/minig/webmail_cache/*
rm -fr /var/solr/webmail/data/index
/etc/init.d/obm-tomcat start
/etc/init.d/minig-backend start
| Shell |
#!/bin/bash
test $# -eq 1 || {
echo "usage: $0 token"
exit 1
}
token=$1
function post_data() {
http_r=`echo "$1" | \
lynx -post_data -dump http://localhost:8081/$2`
}
post_data "token=${token}" logout.do
| Shell |
#!/bin/bash
test $# -eq 1 || {
echo "usage: $0 <server common name>"
exit 1
}
cat >> $1_ssl.cnf <<EOF
[ req ]
default_bits = 2048
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
O=zz.com
OU=backend
CN=$1
[ cert_type ]
nsCertType = server
EOF
openssl req -ne... | Shell |
#!/bin/bash
test $# -eq 1 || {
echo "usage: $0 <server common name>"
exit 1
}
cat >> $1_ssl.cnf <<EOF
[ req ]
default_bits = 2048
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
O=minig.org
OU=backend
CN=$1
[ cert_type ]
nsCertType = server
EOF
openssl req ... | Shell |
#!/bin/bash
test $# -eq 3 || {
echo "usage: $0 db user host"
exit 1
}
psql=$(which psql)
test "$psql" != "" || {
echo "psql: not found, please install postgresql-client package"
exit 1
}
db=$1
user=$2
host=$3
$psql -U ${user} ${db} -h ${host} -f \
create_minig.sql > /tmp/minig.log 2>&1
grep -i error... | Shell |
#!/bin/bash
test $# -eq 2 || {
echo "usage: $0 login@domain password"
exit 1
}
function post_data() {
http_r=`echo "$1" | \
lynx -post_data -dump http://localhost:8081/$2`
}
post_data "login=$1&password=$2" regenerateSieve.do
echo ${http_r}
| Shell |
#!/bin/bash
# OBM Webmail Proxy App launcher
appid=fr.aliasource.webmail.proxy.proxyapp
curdir=`dirname $0`
echo -n "equinox shell lib loading..."
source ${curdir}/equinox.lib
echo "[OK]"
aliasource_equinox_run_server_appid ${curdir} ${appid}
| Shell |
#!/bin/bash
# OBM Webmail Proxy App launcher
appid=fr.aliasource.webmail.proxy.proxyapp
curdir=`dirname $0`
echo -n "equinox shell lib loading..."
source ${curdir}/equinox.lib
echo "[OK]"
aliasource_equinox_profile_server_appid ${curdir} ${appid}
| Shell |
#!/bin/bash
rm -fr built_archive_test && mkdir built_archive_test
pushd built_archive_test >/dev/null 2>&1
tar xfj ../minig-backend-svn-linux.tar.bz2 >/dev/null 2>&1
time ./minig-backend/webmail-backend
popd >/dev/null 2>&1
rm -fr built_archive_test
| Shell |
#!/bin/bash
rm -fr built_archive_test && mkdir built_archive_test
pushd built_archive_test >/dev/null 2>&1
tar xfj ../minig-backend-svn-linux.tar.bz2 >/dev/null 2>&1
time ./minig-backend/webmail-backend-profile
popd >/dev/null 2>&1
rm -fr built_archive_test
| Shell |
#!/bin/bash
build_version=`svnversion`
ant clean dist
cd dist
jar cvf ../minig-frontend-0.${build_version}.war *
| Shell |
#!/bin/bash
source `whoami`.build.properties
rm -fr soyc
java -cp ${gwt}/gwt-soyc-vis.jar:${gwt}/gwt-dev-linux.jar com.google.gwt.soyc.SoycDashboard -resources ${gwt}/gwt-soyc-vis.jar -out soyc extra/minig/soycReport/stories0.xml.gz
| Shell |
#!/bin/sh
cur=`dirname $0`;
test $# -eq 1 || {
echo "usage: $0 <gwt directory>"
exit 1
}
test -d $1 -a -f $1/gwt-dev.jar || {
echo "$1 doesn't look like a valid GWT installation"
exit 1
}
gwt_home=$1
shell_cp=${cur}/src:${cur}/bin:${gwt_home}/gwt-user.jar:${gwt_home}/gwt-dev.jar:theme/minig-theme.jar... | Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:${HOME}/java/gwt/gwt-user.jar:${HOME}/java/gwt/gwt-dev.jar" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src fr.aliasource.webmail.client.lang.Strings -createMessages ;
| Shell |
rm -fr org
mkdir -p org/minig/theme/minig
cp -r minig/* org/minig/theme/minig
find org -name ".svn" -type d |xargs rm -fr
jar cf minig-theme.jar org && rm -fr org
| Shell |
#!/bin/bash
files=`find . -name '*.java'`
add_header_to_file() {
file_to_process=$1
first_line=`head -n1 ${file_to_process} > ./test_fl.tmp`
grep -q "^package" ./test_fl.tmp
should_add=$?
test 0 -eq $should_add && {
echo "headers should be added to $1"
cat header.txt > ./f_with_headers.tmp
cat... | Shell |
#!/bin/bash
test $# -eq 3 || {
echo "usage: $0 login domain password"
exit 1
}
function post_data() {
http_r=`echo "$1" | \
lynx -post_data -dump http://localhost:8081/$2`
}
post_data "login=$1&domain=$2&password=$3" firstIndexing.do
token=`echo ${http_r} | sed -e 's/.*value="\([^"]*\).*/\1/'`
echo -e... | Shell |
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: minig-backend
# Required-Start: $syslog $network
# Required-Stop: $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: MiniG Backend.
# Description: init system for minig-backend. Starts the equinox server
# process with minig ... | Shell |
#!/bin/bash
# Author: Thomas Cataldo <tcataldo@minig.org>
#
# Uses an headless eclipse to build ${product_name}
#
#
# user build settings should be put in
# `whoami`.product_build.properties
set -e
set -x
pbuild_dir=`dirname $0`
pushd $pbuild_dir >/dev/null 2>&1
## USER VARS: The only user settable variables in this ... | 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/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# 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 ap... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# 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 ap... | Shell |
#!/bin/bash
# TODO: check for mogenerator and warn we need to build mogenerator for release first.
# TODO: check for the output paths and, if they don't exist, make them.
../../mogenerator/build/Release/mogenerator --template-path ../../mogenerator/templates --model ./demoApp.xcdatamodel -M ./ -H ./ || exit 1
| Shell |
#!/bin/bash
# TODO: check for mogenerator and warn we need to build mogenerator for release first.
../../../mogenerator/build/Release/mogenerator --template-path ../../../mogenerator/templates --model ../CoreDataBooks.xcdatamodel -M ./ -H ./ || exit 1
| Shell |
#!/bin/sh
cd "`dirname \"$0\"`"
cd MOs
mogenerator -model ../mogeneratorTestMule_DataModel.xcdatamodel -baseClass MyBaseClass -includem include.m
| Shell |
#!/bin/sh
cd "`dirname \"$0\"`"
sudo echo
sudo rm -rf 'build'
mkdir -p 'build/root/Library/Application Support/mogenerator'
cd ..
xcodebuild -configuration Release CONFIGURATION_BUILD_DIR="$PWD/installer/build/root/usr/bin/"
cp templates/*.motemplate "$PWD/installer/build/root/Library/Application Support/mogenerator... | 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
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
i=1
while [ $i -le 10 ]
do
./glog.sh test "Mensaje $i"
i=`expr $i + 1`
done
i=1
while [ $i -le 5 ]
do
./glog.sh test "Warning $i" W
i=`expr $i + 1`
done
i=1
while [ $i -le 10 ]
do
./glog.sh test "Otros mensajes $i"
i=`expr $i + 1`
done
i=1
while [ $i -le 5 ]
do
./glog.sh test "Error $i" E
i=`expr $i + 1`
don... | Shell |
# Este script debe estar en la carpeta BIN
# Supone que en el mismo nivel que bin existe test
rm -rf datadir
cp -r ../tests/interprete/datadir datadir
rm -rf conf
mkdir conf
mv ../tests/*.tab conf
rm interprete.log
export LOGDIR=.
export GRUPO=.
./interprete.sh
| Shell |
#!/bin/bash
DESTDIR=inst
mkdir temp
svn export bin temp/$DESTDIR
svn export conf temp/$DESTDIR/conf
svn export datos temp/$DESTDIR/datos
cd temp
chmod 744 $DESTDIR/*
tar -cf instalar.tar $DESTDIR
gzip instalar.tar
mv instalar.tar.gz ../instalar.tar.gz
cd ..
rm -r temp
exit 0
| Shell |
#!/bin/bash
DESTDIR=inst
mkdir temp
svn export bin temp/$DESTDIR
svn export conf temp/$DESTDIR/conf
svn export datos temp/$DESTDIR/datos
cd temp
chmod 744 $DESTDIR/*
tar -cf instalar.tar $DESTDIR
gzip instalar.tar
mv instalar.tar.gz ../instalar.tar.gz
cd ..
rm -r temp
exit 0
| Shell |
#!/bin/bash
echo "Creando paquete..."
./crear.paquete.instalacion.sh
if [ -d ~/grupo11 ]
then
echo "Borrando version previa de env..."
rm -r ~/grupo11
fi
echo "Creando nuevo version de env..."
mkdir ~/grupo11
echo "Moviendo paquete..."
mv instalar.tar.gz ~/grupo11
echo "Descomprimiendo paquete..."
cd ~/grupo11
t... | Shell |
#!/bin/bash
echo "Creando paquete..."
./crear.paquete.instalacion.sh
if [ -d ~/grupo11 ]
then
echo "Borrando version previa de env..."
rm -r ~/grupo11
fi
echo "Creando nuevo version de env..."
mkdir ~/grupo11
echo "Moviendo paquete..."
mv instalar.tar.gz ~/grupo11
echo "Descomprimiendo paquete..."
cd ~/grupo11
t... | Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, 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-2012, 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
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | 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/bash
#
# Copyright 2010 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/bash
exec_root="test"
out_root="output"
# Operations to test.
l2_ops="gemv ger hemv her her2 trmv trsv"
#l3_ops="gemm hemm herk her2k trmm trsm"
test_ops="${l2_ops} ${l3_ops}"
# Implementations to test
test_impls="openblas atlas mkl blis"
for im in ${test_impls}; do
for op in ${test_ops}; do
# Construct... | Shell |
#!/bin/bash
#
# BLIS
# An object-based framework for developing high-performance BLAS-like
# libraries.
#
# Copyright (C) 2012, The University of Texas
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# - ... | Shell |
#!/bin/bash
#
# BLIS
# An object-based framework for developing high-performance BLAS-like
# libraries.
#
# Copyright (C) 2012, The University of Texas
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# - ... | Shell |
#!/bin/bash
#
# BLIS
# An object-based framework for developing high-performance BLAS-like
# libraries.
#
# Copyright (C) 2012, The University of Texas
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# - ... | Shell |
#!/bin/bash
#
# BLIS
# An object-based framework for developing high-performance BLAS-like
# libraries.
#
# Copyright (C) 2012, The University of Texas
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# - ... | Shell |
#!/bin/bash
if [[ $1 ]]; then
target=$1
else
target="./data"
fi
read -p "Lowercase all files in $target directory? [y/N] " confirm
if [[ `echo $confirm | tr '[:upper:]' '[:lower:]'` == 'y' ]]; then
for f in $target/*; do
g=`basename "$f" | tr '[:upper:]' '[:lower:]'`
mv -fv "$f" "$target/$g" 2> /dev/null
don... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.