code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update25.sql > /dev/null
echo "Załadowano db_update25.sql"
echo "Wszystko ok"
e... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
sudo -u postgres psql < ../dbs/pigstore_to_agila.sql
echo 'Zmieniono nazwę bazy z pigstore na agila'
echo "jeszcze update 32... poczekaj..."
sudo... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
sudo -u postgres psql -d agila < ../dbs/db_update33.sql
echo "Załadowano db_update33.sql"
echo "Wszystko ok"
else
echo "Nie wykonano update'u baz... | Shell |
#!/bin/bash
cat /etc/*-release > $HOME/.agila/firstRunInfo
| Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update19.sql
echo "Załadowano db_update19.sql"... | Shell |
#!/bin/bash
sudo apt-get install postgresql
sudo apt-get install phppgadmin
sudo apt-get install pgadmin3
sudo apt-get install libqt4-sql-psql
sudo -u postgres psql < ../dbs/init_psql.sql > /dev/null
echo 'Inicjacja uzytkowników i bazy zakonczona'
echo 'Mimo bledu ponizej, zaczekajcie do konca, trwa ladowanie struk... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update29.sql
echo "Załadowano db_update29.sql"
echo "Wszystko ok"
else
echo "N... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update12.sql
echo "Załadowano db_update12.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update27.sql > /dev/null
echo "Załadowano db_update25.sql"
echo "Wszystko ok"
e... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/pigstore_conf_to_pigstore.sql > /dev/null
echo "Załadowano pigstore_conf_to_pigstore.... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update23.sql
echo "Załadowano db_update23.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update15.sql
echo "Załadowano db_update15.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update11.sql
echo "Załadowano db_update11.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update30.sql
echo "Załadowano db_update30.sql"
echo "Wszystko ok"
else
echo "N... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update17.sql
echo "Załadowano db_update17.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update27.sql > /dev/null
echo "Załadowano db_update25.sql"
echo "Wszystko ok"
e... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
sudo -u postgres psql < ../dbs/pigstore_to_agila.sql
echo 'Zmieniono nazwę bazy z pigstore na agila'
echo "jeszcze update 32... poczekaj..."
sudo... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update13.sql
echo "Załadowano db_update13.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update21.sql
echo "Załadowano db_update21.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update20.sql
echo "Załadowano db_update20.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Tabele sale_documents, store_documents zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update10.sql
echo "Załadowano db_update10... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update15.sql
echo "Załadowano db_update15.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
sudo -u postgres psql -d agila < ../dbs/db_update33.sql
echo "Załadowano db_update33.sql"
echo "Wszystko ok"
else
echo "Nie wykonano update'u baz... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update31.sql
echo "Załadowano db_update31.sql"
echo "Wszystko ok"
else
echo "N... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update12.sql
echo "Załadowano db_update12.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update19.sql
echo "Załadowano db_update19.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update14.sql
echo "Załadowano db_update14.sql"... | Shell |
#!/bin/bash
sudo -u postgres psql < ../dbs/init_psql2.sql > /dev/null
echo 'Mimo bledu ponizej, zaczekajcie do konca, trwa ladowanie struktury do bazy'
echo "Uzbroicie sie w cierpliwosc, kody pocztowe sa ladowane!"
echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
echo "@ moze to potrwac do 5 min ! @"
echo "@@@@@@@@@@@@@@@@@@@... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update22.sql
echo "Załadowano db_update22.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update16.sql
echo "Załadowano db_update16.sql"... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
sudo -u postgres psql -d pigstore < ../dbs/db_update26.sql > /dev/null
echo "Załadowano db_update25.sql"
echo "Wszystko ok"
e... | Shell |
#!/bin/bash
echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]'
read answer
if [ "$answer" = "t" ] || [ "$answer" = "T" ];
then
echo "Kontynuuj..."
mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update23.sql
echo "Załadowano db_update23.sql"... | Shell |
#!/bin/sh
python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
| Shell |
#!/bin/sh
PYTHONPATH=../lib python "$@" | Shell |
#!/bin/sh
xgettext -o lang/template.po glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade
| Shell |
#!/bin/bash
saluer(){
if [ $# -ne 1 ]; then
echo "Argument manquant. Vous n'avez pas preciser qui saluer.";
return 1;
fi
nom=$1
echo "Bonjour ${nom}, comment vas-tu ?";
}
| Shell |
#!/bin/bash
saluer(){
if [ $# -ne 1 ]; then
echo "Argument manquant. Vous n'avez pas preciser qui saluer.";
return 1;
fi
nom=$1
echo "Bonjour ${nom}, comment vas-tu ?";
}
| Shell |
#!/bin/sh
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# Example unit test for the mkdir command.
#
# There are times when an existing shell script needs to be tested. In this
... | Shell |
#!/bin/bash
test_saluer(){
out=`saluer "Robert"`;
assertEquals "code retour" "$?" "0"
assertEquals "stdout" "Bonjour Robert, comment vas-tu ?" "${out}"
}
test_saluer_quandParametreManquant_messageDerreur(){
out=`saluer 2>&1`
assertNotEquals "code retour" "$?" "0"
assertEquals \
"out" \
"... | Shell |
#!/bin/sh
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# Example unit test for the mkdir command.
#
# There are times when an existing shell script needs to be tested. In this
... | Shell |
#!/bin/bash
test_saluer(){
out=`saluer "Robert"`;
assertEquals "code retour" "$?" "0"
assertEquals "stdout" "Bonjour Robert, comment vas-tu ?" "${out}"
}
test_saluer_quandParametreManquant_messageDerreur(){
out=`saluer 2>&1`
assertNotEquals "code retour" "$?" "0"
assertEquals \
"out" \
"... | Shell |
#! /bin/sh
# $Id: shunit2_test.sh 238 2008-10-22 00:11:24Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test suite runner.
#
# This scrip... | Shell |
#! /bin/sh
# $Id: shunit2_test_macros.sh 256 2008-10-28 23:47:26Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for macros
# load ... | Shell |
#! /bin/sh
# $Id: shunit2_test_failures.sh 213 2008-08-30 17:07:59Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for failure funct... | Shell |
#! /bin/sh
# $Id: shunit2_test_asserts.sh 214 2008-08-30 17:27:51Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for assert functio... | Shell |
#! /bin/sh
# $Id: shunit2_test_misc.sh 230 2008-10-07 23:16:19Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit tests of miscellaneous thi... | Shell |
#! /bin/sh
# $Id: shunit2_test_failures.sh 213 2008-08-30 17:07:59Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for failure funct... | Shell |
#! /bin/sh
# $Id: shunit2_test_asserts.sh 214 2008-08-30 17:27:51Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for assert functio... | Shell |
#! /bin/sh
# $Id: shunit2_test_macros.sh 256 2008-10-28 23:47:26Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test for macros
# load ... | Shell |
# $Id: shunit2_test_helpers 213 2008-08-30 17:07:59Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test common functions
# treat unset ... | Shell |
#! /bin/sh
# $Id: shunit2_test.sh 238 2008-10-22 00:11:24Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test suite runner.
#
# This scrip... | Shell |
# $Id: shunit2_test_helpers 213 2008-08-30 17:07:59Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit test common functions
# treat unset ... | Shell |
#! /bin/sh
# $Id: shunit2_test_misc.sh 230 2008-10-07 23:16:19Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# shUnit2 unit tests of miscellaneous thi... | Shell |
#! /bin/sh
# available as examples/math_test.sh
testAdding()
{
result=`add_generic 1 2`
assertEquals \
"the result of '${result}' was wrong" \
3 "${result}"
# disable non-generic tests
[ -z "${BASH_VERSION:-}" ] && startSkipping
result=`add_bash 1 2`
assertEquals \
"the result of '${res... | Shell |
#!/bin/sh
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# Example unit test for the mkdir command.
#
# There are times when an existing shell script needs to be tested. In this
... | Shell |
#! /bin/sh
# file: examples/equality_test.sh
testEquality()
{
assertEquals 1 1
}
# load shunit2
. ../src/shell/shunit2
| Shell |
#! /bin/sh
# file: examples/lineno_test.sh
testLineNo()
{
# this assert will have line numbers included (e.g. "ASSERT:[123] ...")
echo "ae: ${_ASSERT_EQUALS_}"
${_ASSERT_EQUALS_} 'not equal' 1 2
# this assert will not have line numbers included (e.g. "ASSERT: ...")
assertEquals 'not equal' 1 2
}
# load shu... | Shell |
#!/bin/sh
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# Example unit test for the mkdir command.
#
# There are times when an existing shell script needs to be tested. In this
... | Shell |
#! /bin/sh
# available as examples/math_test.sh
testAdding()
{
result=`add_generic 1 2`
assertEquals \
"the result of '${result}' was wrong" \
3 "${result}"
# disable non-generic tests
[ -z "${BASH_VERSION:-}" ] && startSkipping
result=`add_bash 1 2`
assertEquals \
"the result of '${res... | Shell |
#! /bin/sh
# file: examples/equality_test.sh
testEquality()
{
assertEquals 1 1
}
# load shunit2
. ../src/shell/shunit2
| Shell |
#! /bin/sh
# file: examples/party_test.sh
testEquality()
{
assertEquals 1 1
}
testPartyLikeItIs1999()
{
year=`date '+%Y'`
assertEquals "It's not 1999 :-(" \
'1999' "${year}"
}
# load shunit2
. ../src/shell/shunit2
| Shell |
#! /bin/sh
# file: examples/lineno_test.sh
testLineNo()
{
# this assert will have line numbers included (e.g. "ASSERT:[123] ...")
echo "ae: ${_ASSERT_EQUALS_}"
${_ASSERT_EQUALS_} 'not equal' 1 2
# this assert will not have line numbers included (e.g. "ASSERT: ...")
assertEquals 'not equal' 1 2
}
# load shu... | Shell |
#! /bin/sh
# file: examples/party_test.sh
testEquality()
{
assertEquals 1 1
}
testPartyLikeItIs1999()
{
year=`date '+%Y'`
assertEquals "It's not 1999 :-(" \
'1999' "${year}"
}
# load shunit2
. ../src/shell/shunit2
| Shell |
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# shFlags -- Advanced command-line flag library for Unix shell scripts
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# This module implements something like the google-gflags library available
# from htt... | Shell |
#! /bin/sh
# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# This library provides reusable functions that determine actual names and
# versions of installed shells and the... | Shell |
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# shFlags -- Advanced command-line flag library for Unix shell scripts
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# This module implements something like the google-gflags library available
# from htt... | Shell |
# $Id: shlib 14 2007-02-18 19:43:41Z sfsetse $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License).
# Author: kate.ward@forestent.com (Kate Ward)
#
# Library of shell functions.
# Convert a relative path into it's absolute equivalen... | Shell |
#! /bin/sh
# $Id$
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License)
#
# Author: kate.ward@forestent.com (Kate Ward)
#
# This library provides reusable functions that determine actual names and
# versions of installed shells and the... | Shell |
# $Id: shlib 14 2007-02-18 19:43:41Z sfsetse $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
# Released under the LGPL (GNU Lesser General Public License).
# Author: kate.ward@forestent.com (Kate Ward)
#
# Library of shell functions.
# Convert a relative path into it's absolute equivalen... | 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
# 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-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 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-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
# 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-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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.