code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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
# 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
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
cd src
# TODO: Make this script accept an optional parameter, which is a name... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd src
zip -r ../xpi/sel-blocks-global.xpi *
| 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
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
cd src
# TODO: Make this script accept an optional parameter, which is a name... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd src
zip -r ../xpi/sel-blocks-global.xpi *
| Shell |
#! /bin/sh
# Modified from the ant startup script to start the BeanBox example instead.
# Cygwin support. $cygwin _must_ be set to either true or false.
case "`uname`" in
CYGWIN*) cygwin=true ;;
*) cygwin=false ;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[... | Shell |
#!/bin/bash
# -----------------------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The A... | 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
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
# TODO: Make this script accept an optional parameter, which is a name of Firef... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd auto-check/src
zip -r ../../xpi/auto-check.xpi *
cd ../../bootstrap/src
zip -r ../../xpi/bootstrap.xpi *
cd ../../commands/src
... | 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
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get svn base URL ... | 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 |
#!/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 |
#!/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
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/bash
function usage {
echo "USAGE: git merge-svn <from> [<to>]"
echo ""
echo " from The branch name to be merged FROM"
echo " to Optional branch name to be merged onto. Default: HEAD"
echo ""
}
# CHANGE THIS: change this to match the SVN remote name
SVN_REMOTE_NAME=svn
# get... | Shell |
#!/bin/sh
/sbin/init 0
| Shell |
#!/bin/sh
### BEGIN INIT INFO
# Provides: gpio_halt
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description:
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
DAEMON="/usr/bin/gpio_start_cmd"
... | Shell |
#!/bin/bash
gcc gpio_start_cmd.cpp -o gpio_start_cmd
| Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
cd src
# TODO: Make this script accept an optional parameter, which is a name... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd src
zip -r ../xpi/sel-blocks-global.xpi *
| 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
### BEGIN INIT INFO
# Provides: alfresco_repo
# Required-Start: $remote_fs $network $syslog $mysql
# Required-Stop: $remote_fs $network $syslog $mysql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Alfresco Repository Service
### END INIT INFO
#
# Alfresco repo... | Shell |
#!/bin/sh
### BEGIN INIT INFO
# Provides: ooffice
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Initscript to start OpenOffice as server
# Description: This file should be used to construct ... | Shell |
#!/bin/bash
DIR=`dirname $BASH_SOURCE`
. $DIR/backupDB-config.sh
if [[ ! -e $BACKUP_TARGET_DIR ]]; then
echo "Creating backup directory $BACKUP_TARGET_DIR"
mkdir $BACKUP_TARGET_DIR
fi
#Remove oldest backup
BACKUP_TARGET_SUBDIR="backup-$STORE_OLD_BACKUPS"
if [[ -e $BACKUP_TARGET_DIR/$BACKUP_TARGET_SUBDI... | Shell |
#!/bin/bash
DATETIMESTAMP=$(date +"%Y%m%d%H%M%S")
BACKUP_TARGET_DIR=/opt/alfresco/alf_data/dbBackup
STORE_OLD_BACKUPS=3
DB_HOST=localhost
DB_PORT=5432
DB_USER=alfresco
DB_PASSWORD=alfresco
DB_NAME=alfresco
| Shell |
#! /bin/sh
# Please edit the variables below to suit your installation
# Note: for an installation created by the Alfresco installer, you only need to edit ALFRESCO_HOME
# Alfresco installation directory
ALFRESCO_HOME=/opt/alfresco
# The directory containing the alfresco keystores, as referenced by keystoreFile and tr... | Shell |
#!/bin/bash
# -------
# Script for downloading amp files
# -------
REPO_NAME="ak-repo-dm"
SHARE_NAME="ak-share-dm"
VTI_NAME="alfresco-vti"
VERSION="1.1.0.1"
VTI_VERSION="4.1.1.3"
REPO_AMP="$REPO_NAME-$VERSION.amp"
SHARE_AMP="$SHARE_NAME-$VERSION.amp"
VTI_AMP="$VTI_NAME-$VTI_VERSION-patched.amp"
REPO_AMP_PATH=$ALFRE... | Shell |
#!/bin/bash
# -------
# Script for upgradring Solr
# -------
# this is the home of the alfresco installation files and Solr installation files
ALFRESCO_HOME=/opt/alfresco/current_version
# this is the solr home
SOLR_HOME=$ALFRESCO_HOME/solr
# dirname created out of todays date and time
DIRNAME=$(date +%Y%m%d%H%M)
# th... | Shell |
#!/bin/bash
# -------
# Script for installation
# -------
PWD=$(pwd)
# call the config-env.sh script to set the correct environment variables
echo "Setting correct environment variables . . ."
source "$PWD/config-env.sh"
echo ""
echo "Stopping Tomcat . . ."
$ALFRESCO_SHARE_STOP_SCRIPT
$ALFRESCO_REPO_STOP_SCRIPT
echo... | Shell |
#! /bin/sh
# Please edit the variables below to suit your installation
# Note: for an installation created by the Alfresco installer, you only need to edit ALFRESCO_HOME
# Alfresco installation directory
ALFRESCO_HOME=/opt/alfresco
# The directory containing the alfresco keystores, as referenced by keystoreFile and tr... | Shell |
#!/bin/bash
# -------
# Script for setting the correct environment variables during installation
# -------
# this is the directory where the webapps/alfresco.war should be reside in
export ALFRESCO_TOMCAT_HOME_REPO="/opt/alfresco/4.1.1.3/tomcat-repo"
# this is the directory where the webapps/share.war should be reside... | 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 t... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
# TODO: Make this script accept an optional parameter, which is a name of Firef... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd auto-check/src
zip -r ../../xpi/auto-check.xpi *
cd ../../bootstrap/src
zip -r ../../xpi/bootstrap.xpi *
cd ../../commands/src
... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.