code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
ftpServer=58.213.19.139
ftpUserName=joyoung
ftpPassword=suningjoyoungsales
ftpRemoteDir="inventoryreport"
ftpLocalDir="/home/siebel/ftp/local/inventoryreport"
sCurrentDate=$1
logfile=/home/siebel/scripts/ftp_inv.log
downfilesTemp=/home/siebel/transfer_inv.ftp
echo "#------------- Download Inventory Data at... | Shell |
#!/bin/sh
ftpServer=58.213.19.139
ftpUserName=joyoung
ftpPassword=suningjoyoungsales
ftpRemoteDir="/home/siebel/ftp/server"
ftpLocalDir="/home/siebel/ftp/local"
sCurrentDate=$1
logfile=/home/siebel/scripts/ftp.log
downfilesTemp=/home/siebel/transfer.ftp
echo "#------------- Download at :`date +"%Y-%m-%d %H:%M:%S"`--... | Shell |
#!/bin/sh
ftpServer=58.213.19.139
ftpUserName=joyoung
ftpPassword=suningjoyoungsales
ftpRemoteDir="inventoryreport"
ftpLocalDir="/home/siebel/ftp/local/inventory"
sCurrentDate=$1
logfile=/home/siebel/scripts/ftp.log
downfilesTemp=/home/siebel/transferinventory.ftp
echo "#------------- Download Inventory at :`date +"... | Shell |
#!/bin/sh
###################
. /etc/profile
. ~/.bash_profile
##################
# Remote Siebel Path
ftpServer=172.31.0.79
ftpUserName=siebel
ftpPassword=siebel
ftpRemoteDir="/siebel/app/siebel/siebsrvr/objects"
# Local Siebel Path
ftpLocalDir="/siebel/app/siebsrvr/objects"
# Restart Shell
startcmd="/home/siebe... | Shell |
. /siebel/app/siebsrvr/siebenv.sh
srvrmgr /g siebelgtwy /e SBA_81 /u SADMIN /p siebel2011915
| Shell |
. /siebel/app/siebsrvr/siebenv.sh
/siebel/app/siebsrvr/bin/repimexp /a I /g ALL /u SADMIN /p siebel2011915 /c SBA_81_DSN /d SIEBEL /r "SS Temp Siebel Repository" /f /siebel/app/dbsrvr/oracle/customer.dat /l /siebel/app/siebsrvr/log/dev2prod/output/imprep.log /M y
| Shell |
siebelRoot=/siebel/app/siebsrvr
. ${siebelRoot}/siebenv.sh
stop_server all
| Shell |
#! /bin/sh
############################################################
#
# Backup/Recover Sechma Procedure from Oracle DataBase Package with SQLPLUS
#
###########################################################
echo -e "#---------------------- Copy Sechma Process Start ------------------------#"
echo Start Execute... | Shell |
#! /bin/sh
############################################################
#
# Invoke Procedure from Oracle DataBase Package with SQLPLUS
#
###########################################################
logfile=importproduct.log
echo -e "#---------------------- PL/SQL Process Start ------------------------#" >> ${logfile}
... | Shell |
#!/bin/sh
ftpServer=58.213.19.139
ftpUserName=joyoung
ftpPassword=suningjoyoungsales
ftpRemoteDir="/home/siebel/ftp/server"
ftpLocalDir="/home/siebel/ftp/local"
sCurrentDate=$1
logfile=/home/siebel/scripts/ftp.log
downfilesTemp=/home/siebel/transfer.ftp
echo "#------------- Download at :`date +"%Y-%m-%d %H:%M:%S"`--... | Shell |
cd /home/siebel/scripts/
./nmon_linux_x86_64 -s 300 -c 288 -f -m /home/siebel/content/nmon
| Shell |
cd /siebel/app/gtwysrvr/
. ./siebenv.sh
start_ns
| Shell |
#!/bin/sh
#
# Migrate Repository To Target
#
###################
. /etc/profile
. ~/.bash_profile
##################
echo #--------------------------------- Start At $(date +"%Y/%m/%d %T") --------------------------------#
devphost=172.31.2.32
devpusername=siebel
devpsiebelroot=/app/siebel
siebelRoot=/siebel/app/s... | Shell |
. /siebel/app/siebel/siebsrvr/siebenv.sh
stop_server all
| Shell |
#!/bin/sh
#
# Migrate Repository To Target
#
siebelRoot=/app/siebel/siebsrvr
currentDate=$(date +%Y%m%d)
# Load Env Var
cd $siebelRoot
. $siebelRoot/siebenv.sh
# Backup customer.dat file
cp ../dbsrvr/oracle/customer.dat ../dbsrvr/oracle/customer_${currentDate}.dat
# Execute Migrate Process
cd $... | Shell |
#! /bin/sh
############################################################
#
# Backup/Recover Sechma Procedure from Oracle DataBase Package with SQLPLUS
#
###########################################################
echo -e "#---------------------- Copy Sechma Process Start ------------------------#"
echo Start Execute... | Shell |
#! /bin/sh
############################################################
#
# Invoke Procedure from Oracle DataBase Package with SQLPLUS
#
###########################################################
logfile=importproduct.log
echo -e "#---------------------- PL/SQL Process Start ------------------------#" >> ${logfile}
... | Shell |
#!/bin/sh
. ./dbcon.sh
. /u01/app/siebel/siebsrvr/siebenv.sh
/u01/app/siebel/siebsrvr/bin/stop_server all
. /u01/app/siebel/gtwysrvr/siebenv.sh
/u01/app/siebel/gtwysrvr/bin/stop_ns
SIBPROC="watchdog|regss|mwrpcss|siebmtshmw|siebprocmw|siebmtsh|siebproc"
SIBUSER="siebel"
ps -fu $SIBUSER|egrep $SIBPROC |grep -v egre... | Shell |
. /siebel/app/siebel/gtwysrvr/siebenv.sh
start_ns
| Shell |
#!/bin/sh
# Detects OS we're compiling on and generates build_config.mk,
# which in turn gets read while processing Makefile.
# build_config.mk will set the following variables:
# - PORT_CFLAGS will either set:
# -DLEVELDB_PLATFORM_POSIX if cstatomic is present
# -DLEVELDB_PLATFORM_NOATOMI... | 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
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2008 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2008 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#!/bin/sh
JAVA_OPTS=-Djava.net.useSystemProxies=true ${JAVA_OPTS}
BUILD_NUMBER=${BUILD_NUMBER-dev.build}
version=159
artifact=jcompilo
group=com/googlecode/${artifact}
repo=repo.bodar.com
dir=lib/
jar=${dir}${artifact}.jar
pack=${dir}${artifact}.pack.gz
url=http://${repo}/${group}/${artifact}/${version}/${artifact}-${... | 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
# 打开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 |
pkgname=(wmii-hg python-pyxp-hg python-pygmi-hg)
pkgver=2755
pkgrel=1
pkgdesc="The latest hg pull of wmii, a lightweight, dynamic window manager for X11"
url="http://wmii.suckless.org"
license=(MIT)
arch=(i686 x86_64)
makedepends=(mercurial python "libixp-hg>="$(sed -rn <mk/wmii.mk 's/.*IXP_NEEDAPI=([0-9]+).*/\1/p'))
... | Shell |
#!sh
# WMII Configuration
load std string regex expr echo
argv0 = $0
#mount -Aa {os dial unix!/tmp/ns.kris.:1/wmii >[1=0]} / || raise mount
#mount -Aa {styxmon {os rc -c 'dial $WMII_ADDRESS' >[1=0]}} / || raise mount
mount -Aa {os rc -c 'dial $WMII_ADDRESS' >[1=0]} / || raise mount
{`{read} && echo halt>/dev/sysctl}... | Shell |
#!@BINSH@ -f
# Configure wmii
wmiiscript=wmiirc # For wmii.sh
. wmii.sh
# Configuration Variables
MODKEY=Mod4
UP=k
DOWN=j
LEFT=h
RIGHT=l
# Bars
noticetimeout=5
noticebar=/rbar/!notice
# Colors tuples: "<text> <background> <border>"
export WMII_NORMCOLORS='#000000 #c1c48b #81654f'
export WMII_FOCUSCOLORS='#000000 #8... | Shell |
#!/bin/sh
# display a welcome message that contains the wmii tutorial
xmessage -file - <<'EOF'
Welcome to wmii, the non-wimp environment of the Suckless Project.
This is a small step by step tutorial, intended to make you a
little bit familiar with wmii. For a more detailed walkthrough,
see @DOCDIR@/wmii.pdf.
From h... | Shell |
#!/bin/sh -f
unset WMII_HACK_TRANSIENT WMII_HACK_TYPE WMII_HACK_TAGS
usage() {
echo 1>&2 Usage: \
"$0 [-transient <window>] [-type <window_type>[,...]] [-tags <tags>] <command> [<arg> ...]"
exit 1
}
checkarg='[ ${#@} -gt 0 ] || usage'
export WMII_HACK_TIME=$(date +%s)
while [ ${#@} -gt 0 ]
do
case $1 in
-transi... | Shell |
[ -z "$scriptname" ] && scriptname="$wmiiscript"
echo Start $wmiiscript | wmiir write /event 2>/dev/null ||
exit 1
wi_newline='
'
_wi_script() {
# Awk script to mangle key/event/action definition spec
# into switch-case functions and lists of the cases. Also
# generates a simple key binding help text based on Ke... | Shell |
#!/bin/sh
# This script will launch wimenu and provide command
# completion for the first argument and filename completion
# for each following argument, and execute the result.
# Program name completion requires that a program list already
# exist in $(wmiir namespace)/.proglist
fifo="$HOME/.wmii/menu_fifo"
mkfifo $f... | Shell |
#!/bin/sh -f
test $#* '=' 0 || {
p="$PATH"
which rc >/dev/null || PATH="$PLAN9:$p"
which rc >/dev/null || PATH="/usr/local/plan9/bin:$p"
which rc >/dev/null || PATH="/usr/local/9/bin:$p"
which rc >/dev/null || PATH="/opt/plan9/bin:$p"
which rc >/dev/null || PATH="/opt/9/bin:$p"
which rc >/dev/null || PATH="/usr/... | Shell |
#!/bin/sh -f
LD=$1
PACKAGES=$2
LDFLAGS=$3; shift 3
[ -n "$PACKAGES" ] && LDFLAGS="$(pkg-config --libs $PACKAGES) $LDFLAGS"
outfile="$1"; shift
bin="$(echo $0 | sed 's,/[^/]*$,,')"
# Derived from Russ Cox's 9l in plan9port.
ofiles=""
args=""
for i
do
case "$i" in
*.[ao]|*.o_pic)
ofiles="$ofiles $i"
;;
*)
ar... | Shell |
#!/bin/sh -f
CC=$1
PACKAGES=$2
CFLAGS=$3; shift 3
[ -n "$PACKAGES" ] && CFLAGS="$CFLAGS $(pkg-config --cflags $PACKAGES)"
outfile="$1"; shift
bin="$(echo $0 | sed 's,/[^/]*$,,')"
xtmp=/tmp/cc.$$.$USER.out
# Derived from Russ Cox's 9c in plan9port.
echo CC $($bin/cleanname ${BASE}$outfile)
[ -n "$noisycc" ] && echo... | Shell |
#!/bin/sh
set -ef
ifs="$(echo)"
name=$1
vers=$2
dist=$3
desc="Upstream build"
auth="Kris Maglione <kris@suckless.org>"
date=$(date +'%a, %d %b %Y %T %z')
if hg root >/dev/null 2>&1; then
t() { hg log -r . --template "{$@}"; }
vers=$(t rev)
desc=$(t desc)
auth=$(t author)
date=$(t 'date|rfc822date')
fi
cat >debia... | Shell |
#!/bin/sh -f
echo "$@" |
awk -F'/+' '{
delete a
n = 0
for(i = 1; i <= NF; i++) {
if($i == ".." && n > 0 && a[n] != "..")
n--
else if($i != "" && $i != ".")
a[++n] = $i
}
s = ""
for(i = 1; i <= n; i++)
s = s "/" a[i]
print substr(s, 2)
}'
| Shell |
#!/bin/rc
wm=''
if(~ $1 -d) {
wm = '&wm/wm wm/logon</dev/null'
shift
}
inferno '{$home/wmii/test/event.dis $*'$wm'}' $* &
inf = $apid
. 9.rc
fn sigint sigterm {exit}
fn sigexit {/bin/kill $apid}
while(! ~ `{read </dev/tty} q)
true
| Shell |
#!/bin/bash
#
# Copyright (c) 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
set -e
# Check if the jar has been built.
if [ ! -e target/bitcoinj-tools-*.jar ] || [[ "$ALWAYS_BUILD_WALLETTOOL" != "" ]]; then
echo "Compiling WalletTool to a JAR"
cd ../core
mvn install -DskipTests
cd ../tools
[ -e target/bitcoinj-tools-*.jar ] && rm target/bitcoinj-tools-*.jar
mvn package... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 Denis Nelubin aka Gelin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# ... | Shell |
#!/bin/sh
TARGETS=$*
buildin() {
BASE_DIR=$(pwd)
cd $1
ant $TARGETS
cd $BASE_DIR
}
buildin core
buildin skins/black-text
buildin skins/white-text
buildin skins/black-text-plus
buildin skins/white-text-plus
buildin skins/bigger-text
| Shell |
rm -f *.~*
| Shell |
rm -f *.~*
| Shell |
#!/bin/sh
iresult=2
cnt=`ps -ef|grep ppServer -c`
if [ $cnt = $iresult ] ;then
echo $cnt
echo $iresult
break
else
spath=/usr/local/bin/pp
cd $spath
$spath/ppServer
fi
| Shell |
#!/bin/sh
iresult=2
cnt=`ps -ef|grep ppServer -c`
if [ $cnt = $iresult ] ;then
echo $cnt
echo $iresult
break
else
spath=/usr/local/bin/pp
cd $spath
$spath/ppServer
fi
| Shell |
#!/bin/sh
SRC=$(ls gerrit-plugin-api/target/gerrit-plugin-api-*-sources.jar)
VER=${SRC#gerrit-plugin-api/target/gerrit-plugin-api-}
VER=${VER%-sources.jar}
JAR=gerrit-plugin-api/target/gerrit-plugin-api-$VER.jar
type=release
case $VER in
*-SNAPSHOT)
echo >&2 "fatal: Cannot deploy $VER"
echo >&2 " Use ./tool... | Shell |
#!/bin/sh
include_docs=-Dgerrit.include-documentation=1
while [ $# -gt 0 ]
do
case "$1" in
--no-documentation|--without-documentation)
include_docs=
shift
;;
*)
echo >&2 "usage: $0 [--without-documentation]"
exit 1
esac
done
git update-index -q --refresh
if test -n "$(git diff-index --name-only HEAD -... | Shell |
#!/bin/sh
# Update all pom.xml with new build number
#
# TODO(sop) This should be converted to some sort of
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml)
case "$1" in
--snapshot=*)
V=$(echo "$1" | perl -pe 's/^--snapshot=//')
if [ -z "$V" ]
then
echo >&2 "usage: $0 ... | Shell |
#!/bin/sh
export JETTY_HOST=127.0.0.1
export JETTY_PORT=8081
export JETTY_USER=gerrit2
export JETTY_PID=/var/run/jetty$JETTY_PORT.pid
export JETTY_HOME=/home/$JETTY_USER/jetty
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre
JAVA_OPTIONS=""
JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST"
export JAVA_OPTION... | Shell |
#!/bin/sh
#
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Copyright (C) 2009 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://w... | Shell |
#!/bin/sh
V=$(git describe HEAD)
case "$V" in
'')
echo >&2 "fatal: no annotated tags, cannot determine version"
exit 1
;;
*-g*)
echo >&2 "fatal: snapshot $V, cannot determine version"
exit 1
;;
v*)
echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/'
;;
esac
| Shell |
#!/bin/sh
#
# Launch Gerrit Code Review as a daemon process.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Gerrit Code Review
# processname: gerrit
# ========================
# Configuration files:
#
# /etc/default/gerrit... | 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
adb shell pm clear com.google.android.apps.iosched | 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
# 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
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 |
#!/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
XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --default-domain=yubikey --no-wrap --no-location --add-comments=i18n"
# Allows controlling language option
# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
if [ $SM_OLD_GETTEXT ] ; then
XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
else
XGETTEXT_OPTIONS="${XGETTEXT... | Shell |
#!/bin/sh
XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --default-domain=yubikey --no-wrap --no-location --add-comments=i18n"
# Allows controlling language option
# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
if [ $SM_OLD_GETTEXT ] ; then
XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
else
XGETTEXT_OPTIONS="${XGETTEXT... | Shell |
#!/bin/sh
XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --default-domain=add_address --no-wrap --no-location --add-comments=i18n"
# Allows controlling language option
# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
if [ $SM_OLD_GETTEXT ] ; then
XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
else
XGETTEXT_OPTIONS="${XGET... | Shell |
#!/bin/sh
XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --default-domain=add_address --no-wrap --no-location --add-comments=i18n"
# Allows controlling language option
# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
if [ $SM_OLD_GETTEXT ] ; then
XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
else
XGETTEXT_OPTIONS="${XGET... | Shell |
#!/bin/sh
filename=./YuchBerrySvr.key
if [ -e "$filename" ]; then
rm $filename
fi
echo ------------生成密钥对------------
keytool -genkey -alias serverkey -keystore $filename -validity 3650
pause | Shell |
#!/bin/sh
java -jar svr.jar console
| Shell |
#!/bin/sh
nohup java -jar svr.jar &
| Shell |
#!/bin/sh
nohup java -jar svr.jar &
| Shell |
#!/bin/sh
javaw -jar svr.jar frame &
| Shell |
#!/bin/sh
java -jar svr.jar console
| Shell |
#!/bin/sh
filename=./YuchBerrySvr.key
if [ -e "$filename" ]; then
rm $filename
fi
echo ------------生成密钥对------------
keytool -genkey -alias serverkey -keystore $filename -validity 3650
pause | Shell |
#!/bin/sh
javaw -jar svr.jar frame &
| Shell |
#!/bin/bash
#
# Copyright (c) 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 |
# Create the LaTeX output for SimpleDBM documents
# Documents refer to a number of images that must be in the images directory.
# These images are generated using the GraphViz dot package.
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
PATH=$PATH:/usr/local/graphviz-2.12/bin
PATH=$PATH:~/Appl... | Shell |
# Create the LaTeX output for SimpleDBM documents
# Documents refer to a number of images that must be in the images directory.
# These images are generated using the GraphViz dot package.
export PATH=$PATH:~/Applications/docutils/tools
rst2latex.py --documentclass="article" --documentoptions="oneside" --use-latex-fo... | Shell |
umlgraph TypeSystem png
| Shell |
java -Xms128m -Xmx1024m -jar ../lib/simpledbm-network-server-1.0.18-SNAPSHOT-jar-with-dependencies.jar open ../config/test.properties
| Shell |
java -jar ../lib/simpledbm-network-server-1.0.18-SNAPSHOT-jar-with-dependencies.jar create ../config/test.properties
| Shell |
#!/bin/sh
include_docs=-Dgerrit.include-documentation=1
while [ $# -gt 0 ]
do
case "$1" in
--no-documentation|--without-documentation)
include_docs=
shift
;;
*)
echo >&2 "usage: $0 [--without-documentation]"
exit 1
esac
done
git update-index -q --refresh
if test -n "$(git diff-index --name-only HEAD -... | Shell |
#!/bin/sh
# Update all pom.xml with new build number
#
# TODO(sop) This should be converted to some sort of
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml)
case "$1" in
--snapshot=*)
V=$(echo "$1" | perl -pe 's/^--snapshot=//')
if [ -z "$V" ]
then
echo >&2 "usage: $0 ... | Shell |
#!/bin/sh
export JETTY_HOST=127.0.0.1
export JETTY_PORT=8081
export JETTY_USER=gerrit2
export JETTY_PID=/var/run/jetty$JETTY_PORT.pid
export JETTY_HOME=/home/$JETTY_USER/jetty
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre
JAVA_OPTIONS=""
JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST"
export JAVA_OPTION... | Shell |
#!/bin/sh
#
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Copyright (C) 2009 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://w... | Shell |
#!/bin/sh
V=$(git describe HEAD)
case "$V" in
'')
echo >&2 "fatal: no annotated tags, cannot determine version"
exit 1
;;
*-g*)
echo >&2 "fatal: snapshot $V, cannot determine version"
exit 1
;;
v*)
echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/'
;;
esac
| Shell |
#!/bin/sh
#
# Launch Gerrit Code Review as a daemon process.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Gerrit Code Review
# processname: gerrit
# ========================
# Configuration files:
#
# /etc/default/gerrit... | Shell |
#!/bin/bash
if [ $# != 1 ]
then
echo "Usage: $0 emailAddress"
exit 1
fi
read -s -p "Password: " mypassword
echo ""
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.