code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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/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 # Android Screenshot Library # ############################## # Startup script # echo "Android Screenshot Library -- initializing..." # if [ -z $ANDROID ]; then echo "*** Android SDK not found ***" echo "Make sure the ANDROID variable is pointing to Android SDK root directory" else adb="$AN...
Shell
#!/bin/sh # Copyright 2014 Google Inc. All rights reserved. # # 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 applica...
Shell
#!/bin/bash export PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig bash ./autogen.sh sudo make install
Shell
#!/bin/bash export PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig bash ./autogen.sh sudo make install
Shell
#!/bin/sh rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh touch README echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --...
Shell
#!/bin/sh rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh touch README echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --...
Shell
#!/bin/bash export PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig bash ./autogen.sh sudo make install
Shell
#!/bin/sh rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh touch README echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --...
Shell
#!/bin/sh rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh touch README echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --...
Shell
#!/bin/bash export PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig bash ./autogen.sh sudo make install
Shell
#!/bin/sh rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh touch README echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --...
Shell
#!/bin/sh rm -rf autom4te.cache rm -f aclocal.m4 ltmain.sh touch README echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
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 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
#!/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 make distclean make x210_sd_config make -j4
Shell
# # Copyright (C) 2010 Samsung Electronics Co., Ltd. # http://www.samsung.com/ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # #################################### rea...
Shell
# # Copyright (C) 2010 Samsung Electronics Co., Ltd. # http://www.samsung.com/ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # #################################### rea...
Shell
#!/bin/bash # # This script will create a u-boot binary for movinand/mmc boot # # padding to 512k the u-boot.bin cat u-boot.bin > u-boot-2x.bin cat u-boot.bin >> u-boot-2x.bin split -d -a 1 -b 512k u-boot-2x.bin u-boot-512k.bin # spiliting u-boot for BL1 (8kb) split -d -a 2 -b 8k u-boot.bin u-boot-8k.bin # creating...
Shell
#!/bin/sh # This script converts binary files (u-boot.bin) into so called # bootstrap records that are accepted by Motorola's MC9328MX1/L # (a.k.a. DragaonBall i.MX) in "Bootstrap Mode" # # The code for the SynchFlash programming routines is taken from # Bootloader\Bin\SyncFlash\programBoot_b.txt contained in # Motor...
Shell
#!/bin/sh # Print additional version information for non-release trees. usage() { echo "Usage: $0 [srctree]" >&2 exit 1 } cd "${1:-.}" || usage # Check for git and a git repo. if head=`git rev-parse --verify HEAD 2>/dev/null`; then # Do we have an untagged version? if git name-rev --tags HEAD | \ grep -E '^H...
Shell
#!/bin/sh make ./easylogo linux_logo.tga u_boot_logo video_logo.h mv video_logo.h ../../include
Shell
#!/bin/sh : ${JOBS:=} if [ "${CROSS_COMPILE}" ] ; then MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" else MAKE=make fi if [ "${MAKEALL_LOGDIR}" ] ; then LOG_DIR=${MAKEALL_LOGDIR} else LOG_DIR="LOG" fi if [ ! "${BUILD_DIR}" ] ; then BUILD_DIR="." fi [ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1 LIST="" ######...
Shell
#!/bin/sh -e # Script to create header files and links to configure # U-Boot for a specific board. # # Parameters: Target Architecture CPU Board [VENDOR] [SOC] # # (C) 2002-2006 DENX Software Engineering, Wolfgang Denk <wd@denx.de> # APPEND=no # Default: Create new config file BOARD_NAME="" # Name to print in mak...
Shell
#!/bin/bash # # This script split u-boot binary for secure boot # spiliting u-boot for BL1 (8KB -128 Byte) rm bl2* split -b 8064 u-boot.bin bl2.bin
Shell
U-Boot for Renesas SuperH Last update 01/18/2008 by Nobuhiro Iwamatsu ================================================================================ 0. What's this? This file contains status information for the port of U-Boot to the Renesas SuperH series of CPUs. ================================================...
Shell
#!/bin/sh brctl addbr br-left brctl addbr br-right tunctl -t tap-left tunctl -t tap-right ifconfig tap-left 0.0.0.0 promisc up ifconfig tap-right 0.0.0.0 promisc up brctl addif br-left tap-left ifconfig br-left up brctl addif br-right tap-right ifconfig br-right up pushd /proc/sys/net/bridge for f in bridge-nf-*; do ec...
Shell
#!/bin/sh lxc-destroy -n left lxc-destroy -n right ifconfig br-left down ifconfig br-right down brctl delif br-left tap-left brctl delif br-right tap-right brctl delbr br-left brctl delbr br-right ifconfig tap-left down ifconfig tap-right down tunctl -d tap-left tunctl -d tap-right
Shell
#!/bin/sh DISTANCES="25 50 75 100 125 145 147 150 152 155 157 160 162 165 167 170 172 175 177 180" TRIALS="1 2 3 4 5" echo WiFi Experiment Example pCheck=`which sqlite3` if [ -z "$pCheck" ] then echo "ERROR: This script requires sqlite3 (wifi-example-sim does not)." exit 255 fi pCheck=`which gnuplot` if [ -z "$...
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager-x.x.x-Linux.tar
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager\ Windows.zip XAddonManager
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager\ Linux.tar XAddonManager gzip XAddonManager\ Linux.tar
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager\ Linux.tar XAddonManager gzip XAddonManager\ Linux.tar
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager\ Windows.zip XAddonManager
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager_Linux.tar
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar -cf XAddonManager-x.x.x-Linux.tar XAddonManager gzip XAddonManager_Linux.tar
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true zip -r XAddonManager-x.x.x-Windows.zip XAddonManager
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true VERSION=3.0.0 echo '' echo 'Building Mac Package '$VERSION echo '======================================' cd 'Builds - XAddonManager.rbvcp/Mac OS X ...
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true VERSION=3.0.0 echo '' echo 'Building Windows Package '$VERSION echo '======================================' cd 'Builds - XAddonManager.rbvcp/Windo...
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true VERSION=3.0.0 echo '' echo 'Building Linux Package '$VERSION echo '======================================' cd 'Builds - XAddonManager.rbvcp/Lin...
Shell
#!/bin/sh # Creates all packages ./packagelinux.sh ./packagemac.sh ./packagewin.sh
Shell
#!/bin/sh # Create a tarball of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true VERSION=3.0.0 echo '' echo 'Building Linux Package '$VERSION echo '======================================' cd 'Builds - XAddonManager.rbvcp/Lin...
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true VERSION=3.0.0 echo '' echo 'Building Mac Package '$VERSION echo '======================================' cd 'Builds - XAddonManager.rbvcp/Mac OS X ...
Shell
#!/bin/sh # Creates all packages ./packagelinux.sh ./packagemac.sh ./packagewin.sh
Shell
#!/bin/sh # Create a zip of XAddonManager but exclude resource forks # Mac OS 10.4 and earlier: export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true VERSION=3.0.0 echo '' echo 'Building Windows Package '$VERSION echo '======================================' cd 'Builds - XAddonManager.rbvcp/Windo...
Shell
#!/bin/sh [ -n "$1" ] && cd $1 git_version() { trap 'rm -f config.git-hash' EXIT git rev-list HEAD | sort > config.git-hash LOCALVER=`wc -l config.git-hash | awk '{print $1}'` if [ $LOCALVER \> 1 ] ; then VER=`git rev-list origin/master | sort | join config.git-hash - | wc -l | awk '{print $1}'` VER_DIFF=$(($L...
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/bash if [ ! -d bin_Win32/lib ] then mkdir -p bin_Win32/lib fi if [ ! -d bin_Win32d/lib ] then mkdir -p bin_Win32d/lib fi cd ffmpeg make distclean OPTIONS=" --enable-shared \ --enable-gpl \ --enable-version3 \ --enable-w32threads \ --enable-runtime-cpudetect \ --enable-demuxers \ --disable-demuxer=matroska ...
Shell
#!/bin/bash if [ ! -d bin_x64/lib ] then mkdir -p bin_x64/lib fi if [ ! -d bin_x64d/lib ] then mkdir -p bin_x64d/lib fi cd ffmpeg make distclean OPTIONS=" --enable-shared \ --enable-gpl \ --enable-version3 \ --enable-w32threads \ --enable-runtime-cpudetect \ --enable-demuxers \ --disable-demuxer=matroska \ --disa...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#!/bin/bash s=`ls -v instances/*.dat` NOW=$(date +"%y%m%d%H%M") output="result_h_p1_$NOW.txt" touch $output x=`date` echo "**********************************" >> $output echo "Novo Teste" >> $output echo "Data: $x" >> $output echo "**********************************" >> $output for ss in $s do ../Debug/pcstp $ss 0 1...
Shell
#!/bin/bash s=`ls -v instances/*.dat` output="result_r.txt" touch $output x=`date` echo "**********************************" >> $output echo "Novo Teste" >> $output echo "Data: $x" >> $output echo "**********************************" >> $output for ss in $s do ../Debug/pcstp $ss 1 >> $output echo "###############" ...
Shell
#!/bin/bash s=`ls -v instances/*.dat` NOW=$(date +"%y%m%d%H%M") output="result_h_$NOW.txt" touch $output x=`date` echo "**********************************" >> $output echo "Novo Teste" >> $output echo "Data: $x" >> $output echo "**********************************" >> $output for ss in $s do ../Debug/pcstp $ss 0 >> $...
Shell
#!/bin/bash s=`ls -v instances2/*.dat` NOW=$(date +"%y%m%d%H%M") output="result_h_D$NOW.txt" touch $output x=`date` echo "**********************************" >> $output echo "Novo Teste" >> $output echo "Data: $x" >> $output echo "**********************************" >> $output for ss in $s do ../Debug/pcstp $ss 0 >>...
Shell
#!/bin/sh # cd into test-cases directory cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'` # save crash reporter state CRSTATE=`defaults read com.apple.CrashReporter DialogType` defaults write com.apple.CrashReporter DialogType basic # run test targeting different OS versions for OSVERSION in 10.7 10.6 10.5 10...
Shell
#!/bin/sh # need to be root to build test suite sudo ./build-iPhoneOS-unit-tests # transfer to device echo " * * * Transfering to device * * *" rsync -a /tmp/unpack-and-run-all-tests /tmp/dyld-testing.cpgz rsync://root@localhost:10873/root/tmp # running on device echo " * * * Running on device * * *" /Developer/Pla...
Shell
#!/bin/sh # cd into test-cases directory cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'` # save crash reporter state CRSTATE=`defaults read com.apple.CrashReporter DialogType` defaults write com.apple.CrashReporter DialogType basic # run test targeting different OS versions for OSVERSION in 10.7 10.6 10.5 10...
Shell
#!/bin/sh # cd into test-cases directory TEST_CASE_DIR=`echo "$0" | sed 's/build-iPhoneOS-unit-tests/test-cases/'` cd ${TEST_CASE_DIR} TEST_CASE_DIR=`pwd` # make clean ../bin/make-recursive.pl clean > /dev/null # clean staging area rm -rf /var/root/testing mkdir /var/root/testing # create scripts to run test cases...
Shell
#!/bin/sh # need to be root to build test suite sudo ./build-iPhoneOS-unit-tests # transfer to device echo " * * * Transfering to device * * *" rsync -a /tmp/unpack-and-run-all-tests /tmp/dyld-testing.cpgz rsync://root@localhost:10873/root/tmp # running on device echo " * * * Running on device * * *" /Developer/Pla...
Shell
#!/bin/sh # cd into test-cases directory TEST_CASE_DIR=`echo "$0" | sed 's/build-iPhoneOS-unit-tests/test-cases/'` cd ${TEST_CASE_DIR} TEST_CASE_DIR=`pwd` # make clean ../bin/make-recursive.pl clean > /dev/null # clean staging area rm -rf /var/root/testing mkdir /var/root/testing # create scripts to run test cases...
Shell
#!/bin/sh # =========================================================================== # | | # | COMMAND FILE FOR SUBMITTING SGE JOBS | # | ...
Shell