code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
make -f Makefile.noGUI $*
#cd src/Base/
#mv ../../bin/objects/*.o .
#mv ../../bin/*.exe .
#make $*
#mv *.o ../../bin/objects/
#mv *.exe ../../bin/
| Shell |
#!/usr/bin/env sh
echo "Début de la compilation tex"
cd Feuilles/@
latex Perso -interaction=nonstopmode > poubelle
latex Perso -interaction=nonstopmode >> poubelle
rm -f poubelle
okular Perso.dvi &
| Shell |
#!/usr/bin/env sh
echo "Début de la compilation tex"
cd Feuilles/@
latex Perso -interaction=nonstopmode > poubelle
latex Perso -interaction=nonstopmode >> poubelle
rm -f poubelle
okular Perso.dvi &
| Shell |
#!/usr/bin/env sh
mkdir Feuilles/@
echo "Dossier Feuilles/"@" créé"
cp Joueur0/Perso.tex Feuilles/@
echo "Fichier Perso.tex copié"
| Shell |
#!/usr/bin/env sh
mkdir Feuilles/@
echo "Dossier Feuilles/"@" créé"
cp Joueur0/Perso.tex Feuilles/@
echo "Fichier Perso.tex copié"
| Shell |
#!/usr/bin/env sh
VERBOSE=1 # Sert à vérifier le déroulement du script
bin/EcrireJoueur.exe $*
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
# Le programme s'est déroulé normalement
sh tmp.sh
else
echo "Problème d'exécution"
fi
rm -f tmp.sh
| Shell |
#!/usr/bin/env sh
mkdir Feuilles
echo "Répertoire Feuilles/ créé"
mkdir XML
echo "Répertoir XML/ créé"
mkdir bin
echo "Répertoire bin/ créé"
mkdir bin/objects
mkdir bin/moc
chmod u=rwx Compile
chmod u=rwx NouveauJoueur
chmod u=rwx AjouterSorts
chmod u=rwx EvolutionJoueur
chmod u=rwx EcrireJoueur
chmod u=rwx Ape... | Shell |
#!/usr/bin/env sh
VERBOSE=0 # Sert à vérifier le déroulement du script
bin/NouveauJoueur.exe $*
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
if [ $VERBOSE -eq 1 ]
then
echo $1
fi
# Le programme s'est déroulé normalement
sh tmp.sh
elif [ ... | Shell |
#!/usr/bin/env sh
bin/AjouterSorts.exe
RESULTAT=$?
if [ $RESULTAT -eq 0 ]
then
echo ""
echo "AJout terminé correctement"
else
echo ""
echo "Problème d'exécution"
fi
| Shell |
#!/usr/bin/env sh
VERBOSE=0 # Sert à vérifier le déroulement du script
bin/ApercuJoueur.exe
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
# Le programme s'est déroulé normalement
echo ""
echo "Aperçu terminé correctement"
else
echo "Problème d'exécu... | Shell |
#!/usr/bin/env sh
VERBOSE=1 # Sert à vérifier le déroulement du script
bin/EcrireJoueur.exe $*
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
# Le programme s'est déroulé normalement
sh tmp.sh
else
echo "Problème d'exécution"
fi
rm -f tmp.sh
| Shell |
#!/usr/bin/env sh
bin/EvolutionJoueur.exe $*
RESULTAT=$?
if [ $RESULTAT -eq 0 ]
then
echo ""
echo "Evolution terminée correctement"
else
echo ""
echo "Problème d'exécution"
fi
| Shell |
#!/usr/bin/env sh
mkdir Feuilles
echo "Répertoire Feuilles/ créé"
mkdir XML
echo "Répertoir XML/ créé"
mkdir bin
echo "Répertoire bin/ créé"
mkdir bin/objects
mkdir bin/moc
chmod u=rwx Compile
chmod u=rwx NouveauJoueur
chmod u=rwx AjouterSorts
chmod u=rwx EvolutionJoueur
chmod u=rwx EcrireJoueur
chmod u=rwx Ape... | Shell |
#!/usr/bin/env sh
bin/EvolutionJoueur.exe $*
RESULTAT=$?
if [ $RESULTAT -eq 0 ]
then
echo ""
echo "Evolution terminée correctement"
else
echo ""
echo "Problème d'exécution"
fi
| Shell |
#!/usr/bin/env sh
bin/AjouterSorts.exe
RESULTAT=$?
if [ $RESULTAT -eq 0 ]
then
echo ""
echo "AJout terminé correctement"
else
echo ""
echo "Problème d'exécution"
fi
| Shell |
#!/usr/bin/env sh
VERBOSE=0 # Sert à vérifier le déroulement du script
bin/ApercuJoueur.exe
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
# Le programme s'est déroulé normalement
echo ""
echo "Aperçu terminé correctement"
else
echo "Problème d'exécu... | Shell |
#!/usr/bin/env sh
VERBOSE=0 # Sert à vérifier le déroulement du script
bin/NouveauJoueur.exe $*
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
if [ $VERBOSE -eq 1 ]
then
echo $1
fi
# Le programme s'est déroulé normalement
sh tmp.sh
elif [ ... | Shell |
#!/usr/bin/env sh
echo "Début de la compilation tex"
cd Feuilles/@
latex Perso -interaction=nonstopmode > poubelle
latex Perso -interaction=nonstopmode >> poubelle
rm -f poubelle
okular Perso.dvi &
| Shell |
#!/usr/bin/env sh
echo "Début de la compilation tex"
cd Feuilles/@
latex Perso -interaction=nonstopmode > poubelle
latex Perso -interaction=nonstopmode >> poubelle
rm -f poubelle
okular Perso.dvi &
| Shell |
#!/usr/bin/env sh
mkdir Feuilles/@
echo "Dossier Feuilles/"@" créé"
cp Joueur0/Perso.tex Feuilles/@
echo "Fichier Perso.tex copié"
| Shell |
#!/usr/bin/env sh
mkdir Feuilles/@
echo "Dossier Feuilles/"@" créé"
cp Joueur0/Perso.tex Feuilles/@
echo "Fichier Perso.tex copié"
| Shell |
#!/usr/bin/env sh
VERBOSE=1 # Sert à vérifier le déroulement du script
bin/EcrireJoueur.exe $*
RESULTAT=$?
if [ $VERBOSE -eq 1 ]
then
echo "status = "$RESULTAT
fi
if [ $RESULTAT -eq 0 ]
then
# Le programme s'est déroulé normalement
sh tmp.sh
else
echo "Problème d'exécution"
fi
rm -f tmp.sh
| Shell |
#!/bin/bash
# Copyright 2005-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 requi... | Shell |
#!/bin/bash
# Copyright 2005-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 requi... | Shell |
#!/bin/bash
# Copyright 2005-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 2005-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
Res=res/
Alt=donottranslate-altchars.xml
Map=donottranslate-keymap.xml
Out=assets/kbd/
mkdir -p "$Out"
for Dir in res/values res/values-*
do
[ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue
Args="$Res/values/$Alt"
[ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt"
Args="$Args $Res/values/$Map... | Shell |
#!/bin/bash
getLangsForFiles () {
echo "en" # default language
for F in "$@"
do
find res/ -name "$F"
done \
| sed -n '
s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX
s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy
'
}
getLangsForDicts () {
ls ../Dicts \
| sed 's/.*-//;... | Shell |
#!/bin/bash
# Abort entire script if any command fails
set -e
# Backup destination (storage url)
storage_url="s3://my_backup_bucket"
# Recover cache if e.g. system was shut down while fs was mounted
fsck.s3ql --batch "$storage_url"
# Create a temporary mountpoint and mount file system
mountpoint="/tmp/s3ql_backup_... | Shell |
#!/bin/bash
#
# Copyright 2007 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 t... | Shell |
export PYTHONPATH=`pwd`:${PYTHONPATH}
| Shell |
#!/bin/bash
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
-keyout privatekey.pem -out publickey.pem \
-subj "/CN=unit-tests"
openssl pkcs12 -export -out privatekey.p12 \
-inkey privatekey.pem -in publickey.pem \
-name "key" -passout pass:notasecret
| Shell |
#!/bin/bash
#
# Copyright 2012, Google Inc
#
# Generates a zip of the google api python client and dependencies.
#
# Author: afshar@google.com (Ali Afshar)
# Exit on failure.
set -e
# Where to build the zip.
ROOT_PATH=$(pwd)/build/gae
BUILD_PATH=${ROOT_PATH}/build
LIB_PATH=${ROOT_PATH}/lib
ENV_PATH=${ROOT_PATH}/ve
LO... | Shell |
#!/bin/bash
#
# Copyright 2011 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Uploads a training data set to Google Storage to be used by this sample
# application.
#
# Usage:
# setup.sh file_name bucket/object
#
# Requirements:
# gsutil - a client application for interacting with... | Shell |
#!/bin/bash
#
# Copyright 2012, Google Inc
#
# Generates a zip of the google api python client and dependencies.
#
# Author: afshar@google.com (Ali Afshar)
# Exit on failure.
set -e
# Where to build the zip.
ROOT_PATH=$(pwd)/build/gae
BUILD_PATH=${ROOT_PATH}/build
LIB_PATH=${ROOT_PATH}/lib
ENV_PATH=${ROOT_PATH}/ve
LO... | Shell |
#!/bin/bash
#
# Copyright 2007 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 t... | Shell |
#!/bin/bash
#
# Copyright 2011 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Uploads a training data set to Google Storage to be used by this sample
# application.
#
# Usage:
# setup.sh file_name bucket/object
#
# Requirements:
# gsutil - a client application for interacting with... | Shell |
#!/bin/bash
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
-keyout privatekey.pem -out publickey.pem \
-subj "/CN=unit-tests"
openssl pkcs12 -export -out privatekey.p12 \
-inkey privatekey.pem -in publickey.pem \
-name "key" -passout pass:notasecret
| Shell |
export PYTHONPATH=`pwd`:${PYTHONPATH}
| 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-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
# 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-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-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-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-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
# 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-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
# 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
# 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
# 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
# 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
# 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/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/update_messages.py "$@"
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
find $PROJECT_DIR -name '*.pyc' -exec rm '{}' ';'
find $PROJECT_DIR -name '*.orig' -exec rm '{}' ';'
| Shell |
#!/bin/sh
# use pylint to check the args.
# requires installing pylint http://www.logilab.org/project/pylint
# short form: easy_install pylint (may require root)
LINT=$(which pylint)
REPORTS="no"
DEPRECATED=regsub,string,TERMIOS,Bastion,rexec
if [ -z "$LINT" ]; then
echo "pylint not found, please install."
exit ... | Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/merge_messages.py "$@"
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/find_missing_translations.py "$@"
| 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 to... | Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/remote_api.py "$@"
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
if [ "$1" == "run" ]; then
shift
# Look through the arguments for an application directory.
for arg in "$@"; do
case "$arg" in
(--datastore_path*) datastore_path="$arg";;
(-*) true;;
... | Shell |
#!/bin/bash
# Scripts in the tools/ directory should source this file with the line:
# pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
export TOOLS_DIR=$(pwd)
export PROJECT_DIR=$(dirname $TOOLS_DIR)
export APP_DIR=$PROJECT_DIR/app
export LIB_DIR=$PROJECT_DIR/lib
export TESTS_DIR=$PROJECT_DIR/... | Shell |
#!/bin/bash
# Starts up an appserver and runs end-to-end tests against it.
# You can specify a particular test class or method on the command line:
# tools/server_tests ConfigTests
# tools/server_tests PersonNoteTests.test_delete_and_restore
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/n... | Shell |
#!/bin/bash
# Creates a code review on codereview.appspot.com for the current branch.
# The posted patch is a diff from the default head to this branch's head.
#
# This script supports the following workflow:
# 1. Create a named branch and make your changes there.
# 2. Merge changes (if any) from the default... | Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
echo
echo "--- Running unit tests"
nosetests -d "$@"
| 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-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
# 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-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-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-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-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
# 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-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
# 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
# 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
# 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
# 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
# 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
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am force-stop com.google.android.apps.iosched
| 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
# 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_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am start \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-n com.google.android.apps.iosched/.ui.HomeActivity
| Shell |
#!/bin/sh
#
# $Id: bootstrap.sh 446 2008-04-21 04:07:15Z boote $
#
#########################################################################
# #
# Copyright (C) 2003 #
# Internet2 #
# All Rights Reserved #
# #
#############################################################... | 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
# mkinstalldirs --- make directory hierarchy
scriptversion=2005-06-29.22
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Th... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.