code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/bash
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU lzo 2.03)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# ... | Shell |
#! /bin/sh
# vi:ts=4:et
# Copyright (C) 1996-2014 Markus F.X.J. Oberhumer
rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out
true
| Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Using GNU C compiler."
echo "//"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
UNAME_MACHINE=unknown
CC="gcc -fPIC"
CC="gcc -static"
CC="gcc"
CFLAGS="-Wall -O2 -fomit-frame-pointer"
# delete the next line to disable assembler support
UNAME_MACHINE... | Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Copyright (C) 1996-2014 Markus F.X.J. Oberhumer"
echo "//"
echo "// Generic Posix/Unix system"
echo "// Generic C compiler"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
test "X${AR}" = X && AR="ar"
test "X${CC}" = X && CC="cc"
test "X${CFLAGS+... | Shell |
#! /bin/sh
# vi:ts=4:et
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
LZO_CFG_FREESTANDING=1
. $top_srcdir/B/generic/build.sh
| Shell |
#! /bin/zsh
set -o shwordsplit
if [ "$ICSCROWDAPIKEY" != "" ]
then
echo "Generating new translation archives"
fetch -q -1 -o - "http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY"
fi
echo "Fetch translation archive"
fetch -q http://crowdin.net/download/project/ics-openvpn.zip
# Chinese lang... | Shell |
export O3=$PWD/openvpn3
mkdir -p src/ovpn3/java/net/openvpn/ovpn3
swig -outdir src/ovpn3/java/net/openvpn/ovpn3/ -c++ -java -package net.openvpn.ovpn3 -I$O3/client -I$O3 $O3/javacli/ovpncli.i | Shell |
#!/bin/bash
# Exit on errors
set -e
# Generate git config if the openvpn directory is checked out from git
if [ -d openvpn/.git ]; then
GIT=git
cd openvpn
CONFIGURE_GIT_CHFILES=$($GIT diff-files --name-status -r --ignore-submodules --quiet -- || echo "+")
CONFIGURE_GIT_UNCOMMITTED=$($GIT diff-index --cached... | 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 to in... | 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/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:
# PLATFORM_LDFLAGS Linker flags
# PLATFORM_SHARED_EXT Extension for shared libraries
# PLATFORM_SHARED_LDFLAGS ... | Shell |
#!/bin/sh
# Copyright (C) 2010 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 appl... | Shell |
#!/bin/sh
# Copyright (C) 2010 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 appl... | Shell |
# Copyright (C) 2008 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 applicable law ... | Shell |
spawn-fcgi -u www-data -g www-data -d /var/www/simplecd/ -f /var/www/simplecd/code.py -a 127.0.0.1 -p 9001 -F 2
| Shell |
#!/bin/sh
#http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html
#http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
set -o verbose #echo onset +o verbose #echo off
# Note: this must ... | Shell |
#!/bin/sh
#http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html
set -o verbose #echo onset +o verbose #echo off
# Note: this must run on a Mac
myDir="`dirname "$0"`"
cd $myDir
APP_NAME="Android Design Preview"
OUT_PATH=../out/mac
OUT_ZIP="${AP... | Shell |
#!/bin/sh
# 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 ... | Shell |
#!/bin/sh
# 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 ... | Shell |
#!/bin/sh
# 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 ... | 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 |
#! /usr/bin/env bash
# ~nimrodav/socket_ex/verify_readme.sh
ls -la | grep ' \.$' | grep -v "drwxrwxrwx"
ls -la | grep -v '\.$' | grep -v "rwxr-xr-x" | grep -v "total "
./lb &
disown
sleep 0.1
./server `cat server_port` &
disown
./server `cat server_port` &
disown
./server `cat server_port` &
disown
python run_test... | Shell |
#! /usr/bin/env bash
# ~nimrodav/socket_ex/verify_readme.sh
ls -la | grep ' \.$' | grep -v "drwxrwxrwx"
ls -la | grep -v '\.$' | grep -v "rwxr-xr-x" | grep -v "total "
./lb &
disown
sleep 0.1
./server `cat server_port` &
disown
./server `cat server_port` &
disown
./server `cat server_port` &
disown
python run_test... | Shell |
#! /usr/bin/env bash
ls -la | grep ' \.$' | grep -v "drwxrwxrwx"
ls -la | grep -v '\.$' | grep -v "rwxr-xr-x"
./lb &
sleep 0.1
python ./server 1234 &
python ./server 1234 &
python ./server 1234 &
python ~nimrodav/socket_ex/run_test.py 1970 | diff ~nimrodav/socket_ex/1 -
python ~nimrodav/socket_ex/run_test.py 1970 |... | Shell |
#! /usr/bin/env bash
ls -la | grep ' \.$' | grep -v "drwxrwxrwx"
ls -la | grep -v '\.$' | grep -v "rwxr-xr-x"
./lb &
sleep 0.1
python ./server 1234 &
python ./server 1234 &
python ./server 1234 &
python ~nimrodav/socket_ex/run_test.py 1970 | diff ~nimrodav/socket_ex/1 -
python ~nimrodav/socket_ex/run_test.py 1970 |... | Shell |
#! /usr/bin/env bash
# ~nimrodav/socket_ex/verify_readme.sh
ls -la | grep ' \.$' | grep -v "drwxrwxrwx"
ls -la | grep -v '\.$' | grep -v "rwxr-xr-x" | grep -v "total "
./lb &
disown
sleep 0.1
./server `cat server_port` &
disown
./server `cat server_port` &
disown
./server `cat server_port` &
disown
python run_test... | Shell |
#! /usr/bin/env bash
# ~nimrodav/socket_ex/verify_readme.sh
ls -la | grep ' \.$' | grep -v "drwxrwxrwx"
ls -la | grep -v '\.$' | grep -v "rwxr-xr-x" | grep -v "total "
./lb &
disown
sleep 0.1
./server `cat server_port` &
disown
./server `cat server_port` &
disown
./server `cat server_port` &
disown
python run_test... | Shell |
#!/bin/sh
# After initial checkout from svn, you'll want to run this as your first step.
android update project --path . --target "android-11"
| Shell |
#!/bin/sh
scp -q res/values/strings.xml linode:ath/incoming/en.xml
wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en
if [ "$?" -ne "0" ]; then
echo "Sorry, something didn't work!"
exit 1
fi
| Shell |
#!/bin/bash
#ruby generate_images.rb
#for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done
#gimp res/drawable/b100.png
#for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done
# shift ("roll") images 1px to the right
# for i in numbers/*.png; do convert $i -roll +1+0 $i; done
d=`dirname $(rea... | 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/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/sh
# Runs pylint on all python files in codereview/
#
# Skips over 'cpplint' which is a third part in the chromium branch.
#
ROOT="$(dirname $(readlink -f $0))/.."
cd "$ROOT"
GAE="$ROOT/../google_appengine"
FILES=$(find codereview -iname "*.py" | grep -v "cpplint")
IMPORTS="$GAE:$GAE/lib/django-1.3:$GAE/lib/goog... | Shell |
xcodebuild -sdk iphoneos -parallelizeTargets
xcodebuild -sdk iphoneos -configuration Debug -parallelizeTargets
xcodebuild -sdk iphonesimulator -parallelizeTargets
xcodebuild -sdk iphonesimulator -configuration Debug -parallelizeTargets
| 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
# Copyright 2012, Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# be found in the LICENSE file.
# This script is a sample hook to test the plumbing
EXIT_CODE=0
echo "TABLET_ALIAS:" $TABLET_ALIAS
for arg in $@ ; do
echo "PARAM:" $arg
if [ "$ar... | Shell |
#!/bin/bash
# Copyright 2012, Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# be found in the LICENSE file.
if [ ! -f bootstrap.sh ]; then
echo "bootstrap.sh must be run from its current directory" 1>&2
exit 1
fi
. ./dev.env
diff misc/hg/hooks.hgrc .hg/hg... | Shell |
#!/bin/bash
changelog_count=$(hg outgoing | grep '^changeset:' | wc -l)
non_merge_count=$(hg outgoing -M | grep '^changeset:' | wc -l)
if [ $changelog_count != $non_merge_count ]; then
echo "outgoing files contain merges - reapply as a fresh patch" >&2
echo "run ./misc/hg/reapply-outgoing to fix" >&2
exit 1
fi
| Shell |
#!/bin/bash
fmt_errs=$(hg st -A | awk '$1 ~ /[ACM]/ && $2 ~ /go$/ { print $2 }' | xargs gofmt -l)
#fmt_errs=$(find . -name '*.go' -exec gofmt -l {} \;)
err_count=$(echo $fmt_errs | awk '{print NF}')
if [ "$err_count" != 0 ]; then
echo "gofmt errors: $err_count" >&2
echo "$fmt_errs" >&2
echo "run ./misc/hg/gofmt... | Shell |
#!/bin/bash
find . -name '*.go' -exec gofmt -w {} \;
| Shell |
#!/bin/bash
# Copyright 2012, Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# be found in the LICENSE file.
# simple wrapper for starting up zookeeper so it detaches from the parent
# process and ingnores signals
logdir="$1"
config="$2"
pidfile="$3"
classpath... | 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
#e.g. sh spr2txt.sh list.121204.spr list.121204.txt
sprfile=$1
txtfile=$2
>${txtfile}
id=0
cat ${sprfile} | while read line
do
echo ${line} | sed -e "s/\^/*/g" | sed -e "s/[a-zA-Z]//g" | sed -e "s/[.,:'_\-\(\)]/ /g" | sed -e "s/ */ /g" | sed -e "s/#/#$[id] /g" >>${txtfile}
case ${line} in
\#*)
... | Shell |
#!/bin/bash
#e.g. sh spr2txt.sh list.121204.spr list.121204.txt
sprfile=$1
txtfile=$2
>${txtfile}
id=0
cat ${sprfile} | while read line
do
echo ${line} | sed -e "s/\^/*/g" | sed -e "s/[a-zA-Z]//g" | sed -e "s/[.,:'_\-\(\)]/ /g" | sed -e "s/ */ /g" | sed -e "s/#/#$[id] /g" >>${txtfile}
case ${line} in
\#*)
... | Shell |
#!/bin/bash
################################################################################
# Backup the L1J database
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#!/bin/bash
################################################################################
# Install the L1J database
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public... | Shell |
#!/bin/bash
################################################################################
# Update the L1J database
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#!/bin/bash
################################################################################
# Update the L1J database
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#!/bin/bash
################################################################################
# Install the L1J database
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public... | Shell |
#!/bin/bash
################################################################################
# Backup the L1J database
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#!/bin/bash
################################################################################
# Create the L1J release build package
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/bash
java -XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xmx1024m -jar l1jserver.jar
| Shell |
#!/bin/bash
################################################################################
# Create the L1J release build package
################################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/bash
java -XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xmx1024m -jar l1jserver.jar
| Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/bin/bash
echo "Compiling YunTable!!!!!"
make cli -B
make master -B
make region -B
| Shell |
#!/bin/bash
echo "Starting the testcase script for YunTable"
echo "Step 1, Unit Test"
echo "Step 1-1, Compiling Unit Test"
make itemTest -B
make utilTest -B
make listTest -B
make confTest -B
make rpcTest -B
make yfileTest -B
echo -e "\n\n"
echo "Step 2-1, Runing Unit Test"
echo -e "\n"
./itemTest
echo -e "\n"
./util... | Shell |
#!/bin/bash
echo "Compiling YunTable!!!!!"
make cli -B
make master -B
make region -B
| Shell |
#!/bin/bash
echo "Starting the testcase script for YunTable"
echo "Step 1, Unit Test"
echo "Step 1-1, Compiling Unit Test"
make itemTest -B
make utilTest -B
make listTest -B
make confTest -B
make rpcTest -B
make yfileTest -B
echo -e "\n\n"
echo "Step 2-1, Runing Unit Test"
echo -e "\n"
./itemTest
echo -e "\n"
./util... | Shell |
echo "Compiling YunTable!!!!!"
make cli -B
make master -B
make region -B
| Shell |
echo "Starting the testcase script for YunTable"
echo "Step 1, Unit Test"
echo "Step 1-1, Compiling Unit Test"
make itemTest -B
make utilTest -B
make listTest -B
make confTest -B
make rpcTest -B
make yfileTest -B
echo "\n\n"
echo "Step 2-1, Runing Unit Test"
echo "\n"
./itemTest
echo "\n"
./utilTest
echo "\n"
./listTe... | Shell |
echo "Compiling YunTable!!!!!"
make cli -B
make master -B
make region -B
| Shell |
test_routine(){
echo ""
echo "Staring the Test Routine"
echo ""
./yuncli -cmd put table:people row:me name:"ike" sex:"male"
echo ""
./yuncli -cmd put table:people row:me1 name:"ikea" sex:"female"
echo ""
./yuncli -cmd get table:people row:me
echo ""
./yuncli -cmd show table:people
echo ""
./yuncli -cmd del ... | 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
set -e
make -C google-api install
make -C google-api-go-generator install
google-api-go-generator/google-api-go-gen -cache -api=buzz:v1
google-api-go-generator/google-api-go-gen -cache -api=tasks:v1
google-api-go-generator/google-api-go-gen -cache -api=urlshortener:v1
make -C buzz/v1 install
make -C tasks/v... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| 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 |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | 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 |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | 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
set -ex
pdflatex pts_pdfsizeopt2009_talk.tex
pdflatex pts_pdfsizeopt2009_talk.tex
../pdfsizeopt.py pts_pdfsizeopt2009_talk.pdf
cp pts_pdfsizeopt2009_talk.pdf ~/Dropbox.pts/Dropbox/Public/
| Shell |
#! /bin/sh
# by pts@fazekas.hu at Tue Oct 8 14:51:23 CEST 2013
PYTHON_FILES="$(find pdfsizeopt_test.py lib extra -name '*.py' |
grep -v '^lib/pdfsizeopt/pdfsizeopt_argparse[.]py$')"
if ! test "$PYTHON_FILES"; then
echo "No Python source files found." >&2
exit 2
fi
#echo "$PYTHON_FILES"
pep8 $PYTHON_FILES | gr... | Shell |
#! /bin/sh
#
# mksingle.sh: Creates a single-file script for pdfsizeopt.
# by pts@fazekas.hu at Tue Oct 8 13:49:31 CEST 2013
#
set -ex
rm -f pdfsizeopt.zip lib/__main__.py lib/mainrun.py
# In dash-0.5.5.1 as /bin/sh, \n is converted to a newline in single quotes, even
# if we do it the tricy way, so we just use chr(... | 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 |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | 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 |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/bash
rm -v *.o test
| 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.