code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/bash
cd rlog-1.4
cp ../config-arm-rlog.sh ./
./config-arm-rlog.sh
make clean
make -j4
make install
./config-arm-rlog.sh 1
make clean
make -j4
make install
cd ..
| Shell |
#! /bin/bash
# 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) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.a' -x '*.xml.h' -x '*.1' -x 'bld*' -x '*~' -x '*.d' -ur ${HOME}/truecrypt-7.1a-source ./truecrypt-7.1a-source > tc-android.patch
| Shell |
if [ ! -d truecrypt-7.1a-source ]
then
tar -xzf TrueCrypt\ 7.1a\ Source.tar.gz
cd truecrypt-7.1a-source
patch -p1 < ../tc-android.patch
mkdir -p Pkcs11
cd Pkcs11
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
... | Shell |
cd truecrypt-7.1a-source
make -f ../Makefile.android NOGUI=1 VERBOSE=1 NOTEST=1 WXSTATIC=1
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r8e/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/'$APPKEY1'/db1-/' ./cryptonite/AndroidManifest.xml
sed -i 's/'$APPKEY2'/db2-/' ./cryptonite/AndroidManifest.xml
| Shell |
#! /bin/bash
./googlecode_upload.py --summary="Cryptonite Android Package" --project=cryptonite --user=christoph.schmidthieber --labels=Featured,Type-Package ${1}
| Shell |
#! /bin/bash
adb uninstall csh.cryptonite
adb install bin/cryptonite-debug.apk
| Shell |
#! /bin/bash
# Haven't managed to have Android.mk put my static libraries in front of
# libgcc.a and libgnustl_static.a so that I had to resort to this manual
# build script.
rm -rf obj
./cplibs-static.py
ARCH=armeabi
NDK=${HOME}/android-ndk-r7
HOSTOS=`uname -s`
case ${HOSTOS} in
'Darwin')
HOSTOS="darwin"
;;
*)
... | Shell |
#! /bin/bash
ant clean debug
ant uninstall
ant installt
ant test
| Shell |
#! /bin/bash
ant clean
ant debug
adb uninstall csh.cryptonite.test
adb install bin/cryptonitetest-debug.apk
adb shell am instrument -w csh.cryptonite.test/android.test.InstrumentationTestRunner
| Shell |
#! /bin/bash
~/android-ndk-r8e/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" clean
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
./cplibs-static.py
~/android-ndk-r8e/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
if test -n $1; then
if [ "$1" = "1" ]; then
./jni-build.sh
fi
fi
# rm -rf bin/*
ant clean
ant debug
adb uninstall csh.cryptonite
adb install bin/cryptonite-debug.apk
# adb -d shell "am start -a android.intent.action.MAIN -n csh.cryptonite/.Cryptonite"
| Shell |
g++ android_key.cpp -DSTANDALONE -lcrypto -o encrypt
| Shell |
#! /bin/bash
if [ ! -f ./boost_1_46_1.tar.bz2 ]
then
wget http://downloads.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2
fi
if [ ! -d ./boost_1_46_1 ]
then
tar -xvjf boost_1_46_1.tar.bz2
cd boost_1_46_1
patch -p1 < ../boost-libs-android.patch
cp -v ../user-config.jam ./tools/build... | Shell |
#! /bin/bash
cd boost_1_46_1
cp -v ../user-config.jam ./tools/build/v2/
bjam -j12 --without-python --disable-filesystem3 toolset=gcc-android4.6 link=static runtime-link=static target-os=linux --stagedir=android --user-config=./tools/build/v2/user-config.jam
cd ..
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/db1-/'$APPKEY1'/' ./cryptonite/AndroidManifest.xml
sed -i 's/db2-/'$APPKEY2'/' ./cryptonite/AndroidManifest.xml
| Shell |
#!/bin/sh
for i in `ls | grep .sql`;
do
cat $i | sort -u | uniq -u > $i
done; | Shell |
#!/bin/sh
for i in `ls | grep .sql`;
do
cat $i | sort -u | uniq -u > $i
done; | Shell |
LOG=redes_neuronales_practico2.log
EXE=./diluted_Hopfield
# ____________________________________________________________________________ #
############################## EJERCICIO 1 #####################################
echo "________________________________________________________________________________"
echo -e "E... | Shell |
LOG=redes_neuronales_practico1.log
# ____________________________________________________________________________ #
############################## EJERCICIO 1 #####################################
echo -n "________________________________________________________________________________"
echo -e "\nEjercicio 1: Hopfie... | Shell |
#!/bin/bash
# Parámetros para la red ANFIS:
# Dimensión de la entrada
N=4
# Número de interpretaciones por elemento de entrada
T=2
LOG=anfis.log
MAIN=./anfis_mg
# Serie de aprendizaje
GEN_MG=./Mackey_Glass
PLOT_MG=Mackey_Glass.gp
MG_DATA=Mackey_Glass.dat
MG_ANFIS=anfis.dat
MG_PLOT=Mackey_Glass.png
# Error de apren... | Shell |
#!/bin/sh
# NOTE Depends on test.c
# Following values must reflect those in test.c
T=7
N=5
width=15
decimal_length=4
w=$width
w2=`expr $w / 2`
dl=$decimal_length
TEST=test.exe
gcc -o $TEST ../mzran13.c test.c && \
./$TEST | gawk '
BEGIN {
w = '$w'
w2 = '$w2'
T = '$T'
N = '$N'
params[""]=""
print "+---------... | Shell |
#!/bin/sh
# NOTE Depends on test.c
# Following values must reflect those in test.c
T=7
N=5
width=15
decimal_length=4
w=$width
w2=`expr $w / 2`
dl=$decimal_length
TEST=test.exe
gcc -o $TEST ../mzran13.c test.c && \
./$TEST | gawk '
BEGIN {
w = '$w'
w2 = '$w2'
T = '$T'
N = '$N'
params[""]=""
print "+---------... | Shell |
#!/bin/bash
# Parámetros para la red ANFIS:
# Dimensión de la entrada
N=4
# Número de interpretaciones por elemento de entrada
T=2
LOG=anfis.log
MAIN=./anfis_mg
# Serie de aprendizaje
GEN_MG=./Mackey_Glass
PLOT_MG=Mackey_Glass.gp
MG_DATA=Mackey_Glass.dat
MG_ANFIS=anfis.dat
MG_PLOT=Mackey_Glass.png
# Error de apren... | Shell |
#!/bin/bash
# Parámetros para la red ANFIS:
# Número de ramas
T=2
# Dimensión de la entrada
N=4
LOG=anfis.log
MAIN=./anfis_mg
# Serie de aprendizaje
GEN_MG=./Mackey_Glass
PLOT_MG=Mackey_Glass.gp
MG_DATA=Mackey_Glass.dat
MG_ANFIS=anfis.dat
MG_PLOT=Mackey_Glass.png
# Error de aprendizaje del ANFIS
PLOT_LERR=learn_er... | Shell |
#!/bin/sh
# NOTE Depends on test.c
# Following values must reflect those in test.c
T=7
N=5
width=15
decimal_length=4
w=$width
w2=`expr $w / 2`
dl=$decimal_length
TEST=test.exe
gcc -o $TEST ../mzran13.c test.c && \
./$TEST | gawk '
BEGIN {
w = '$w'
w2 = '$w2'
T = '$T'
N = '$N'
params[""]=""
print "+---------... | Shell |
#!/bin/sh
# NOTE Depends on test.c
# Following values must reflect those in test.c
T=7
N=5
width=15
decimal_length=4
w=$width
w2=`expr $w / 2`
dl=$decimal_length
TEST=test.exe
gcc -o $TEST ../mzran13.c test.c && \
./$TEST | gawk '
BEGIN {
w = '$w'
w2 = '$w2'
T = '$T'
N = '$N'
params[""]=""
print "+---------... | Shell |
#!/bin/bash
# Parámetros para la red ANFIS:
# Número de ramas
T=2
# Dimensión de la entrada
N=4
LOG=anfis.log
MAIN=./anfis_mg
# Serie de aprendizaje
GEN_MG=./Mackey_Glass
PLOT_MG=Mackey_Glass.gp
MG_DATA=Mackey_Glass.dat
MG_ANFIS=anfis.dat
MG_PLOT=Mackey_Glass.png
# Error de aprendizaje del ANFIS
PLOT_LERR=learn_er... | Shell |
#! /bin/sh -e
if test -z "$SRCDIR" || test -z "$PINTOSDIR" || test -z "$DSTDIR"; then
echo "usage: env SRCDIR=<srcdir> PINTOSDIR=<srcdir> DSTDIR=<dstdir> sh $0"
echo " where <srcdir> contains bochs-2.2.6.tar.gz"
echo " and <pintosdir> is the root of the pintos source tree"
echo " and <dstdir> is... | Shell |
#! /bin/sh
# Path to GDB macros file. Customize for your site.
GDBMACROS=/usr/class/cs140/pintos/pintos/src/misc/gdb-macros
# Choose correct GDB.
if command -v i386-elf-gdb >/dev/null 2>&1; then
GDB=i386-elf-gdb
else
GDB=gdb
fi
# Run GDB.
if test -f "$GDBMACROS"; then
exec $GDB -x "$GDBMACROS" "$@"
else
echo "*... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program i... | 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/sh
exec perl -x $0 $*; echo "Could not exec perl!"; exit 1
# The line above allows perl to be anywhere, as long as it's in your
# PATH environment variable.
#!perl
#
# fix-titles.pl
# $Id: fixtitles.pl,v 1.1 2001/09/16 06:46:11 bdenney Exp $
#
# The HTML stylesheet likes to print html has the ends of tags on a ... | Shell |
#! /bin/sh
#
# This is the post-install script called by modload after it has loaded
# the module.
#
# Sample modload commandline:
#
# modload -e plex86_lkmentry -p netbsd_post.sh plex86.o
#
if [ $# -ne 3 ]; then
echo "$0 should only be called from modload(8) with 3 args"
exit 1
fi
rm -f /dev/plex86
mknod /dev... | Shell |
#! /bin/bash
#
# A simple script to unload the kernel module and remove the old device nodes
# for it.
#
# Note:
# this must be run as root
#
# Check that root is executing us
if [ "$EUID" != "0" ]; then
echo "Sorry, you need to be root for this script to work."
echo "use 'su -c $0' and enter the root password... | Shell |
#! /bin/bash
#
# A simple script to load up the kernel module and create the device nodes
# for it.
#
# Note:
# this must be run as root
#
# Work out where the module is
kmodule="`dirname $0`/../kernel/plex86.o"
# Check that root is executing us
if [ "$EUID" != "0" ]; then
echo "Sorry, you need to be root for thi... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
#JDK path
JAVA_HOME=/usr/local/jdk1.6.0_29
echo $JAVA_HOME
#app running user
RUNNING_USER=root
#app language
export LC_ALL=zh_CN.UTF-8
#app home
APP_HOME=/usr/local/kkserver
#app main class
APP_MAINCLASS=net.yhte.its.service.CommService
#build full classpath
CLASSPATH=$APP_HOME/bin
for i in "$APP_HOME"... | Shell |
#!/bin/sh
#JDK path
JAVA_HOME=/usr/local/jdk1.6.0_29
echo $JAVA_HOME
#app running user
RUNNING_USER=root
#app language
export LC_ALL=zh_CN.UTF-8
#app home
APP_HOME=/usr/local/kkserver
#app main class
APP_MAINCLASS=net.yhte.its.service.CommService
#build full classpath
CLASSPATH=$APP_HOME/bin
for i in "$APP_HOME"... | Shell |
#!/bin/bash
printHelpAndExit(){
echo "Uso: ./Instal4.sh DIR"
echo "DIR es la ruta (relativa) del dir donde se instalará el paquete"
echo "si no se pasa ningún parámetro, la ruta por defecto será grupo4/"
exit 0
}
#Checkeamos si nos pasaron argumentos
if [ $# -eq 0 ];then
grupo="grupo4"
else
case "$1" in
... | Shell |
#!/bin/bash
printHelpAndExit(){
echo "Uso: ./Instal4.sh DIR"
echo "DIR es la ruta (relativa) del dir donde se instalará el paquete"
echo "si no se pasa ningún parámetro, la ruta por defecto será grupo4/"
exit 0
}
#Checkeamos si nos pasaron argumentos
if [ $# -eq 0 ];then
grupo="grupo4"
else
case "$1" in
... | Shell |
#!/bin/bash
#Entrada:
# Archivos Recibidos $ACEPDIR/<pais>-<sistema>-<año>-<mes>
# Tabla de Separadores $CONFDIR/T1.tab
# Tabla de Campos $CONFDIR/T2.tab
#Salida:
# Archivos de Préstamos Personales por país $PROCDIR/PRESTAMOS.<pais>
# Archivos (duplicados) Rechazados $RECHDIR/<nombre del archivo>
# Archivos Procesados... | Shell |
#!/bin/bash
#################################
########## MODO DE USO ##########
#################################
#~ ./Vlog4.sh
#~ -s "palabra o frase a buscar"
#~ -f "comando en cuyo log buscar"
#~ -n "cantidad maxima de lineas a mostrar"
#~ [-i "severidad del mensaje"]
#~ Codigos de salida:
#~ 0: Ejecucion satis... | Shell |
#!/bin/bash
#Parametros:
# -n "Nombre del proceso a detener"
# -p "Numero de PID del proceso a detener"
# Salidas:
# 0: Ejecucion satisfactoria
# 1: No se recibio ningun parametro
# 2: Se intento detener un proceso inexistente
CANT_PARAM=$#
PID=0
#Verifica que se reciba algun parametro
verificarParametros() {
if [... | Shell |
#!/bin/bash
cp "$CONFDIR/../../archivos/originales/acepdir/"* $ARRIDIR
| Shell |
#!/bin/bash
printHelpAndExit(){
echo "Uso: ./Instal4.sh DIR"
echo "DIR es la ruta (relativa) del dir donde se instalará el paquete"
echo "si no se pasa ningún parámetro, la ruta por defecto será grupo4/"
exit 0
}
#Checkeamos si nos pasaron argumentos
if [ $# -eq 0 ];then
grupo="grupo4"
else
case "$1" in
... | Shell |
#!/bin/bash
TIPO_MENSAJE="MENSAJE"
TIPO_HEADER="HEADER"
TIPO_ERROR="ERROR"
TIPO_WARNING="WARNING"
TIPO_SEVERE_ERROR="SEVERE"
MENSAJE=""
TIPO="MENSAJE"
COMANDO=""
if [ -z $LOGDIR ] || [ -z $LOGEXT ] || [ ! -d $LOGDIR ] ; then
echo "No se ha inicializado el ambiente. Por favor, corra el comando Inicio4"
exit 2
fi
#... | Shell |
#!/bin/bash
PSMAE=$MAEDIR/'p-s.mae'
CICLO=1
#~ Logea numero de ciclo
logearCiclo() {
local NUMERO_DE_CICLO=$1
./Glog4.sh "Ciclo Nro $NUMERO_DE_CICLO" "MENSAJE" "Detecta4"
}
rechazarArchivo() {
local NombreArchivo=$1
local ArchivoYaMovido=$2
if [ "$ArchivoYaMovido" -eq 0 ]; then
./Mov4.sh "$ARRIDIR/$NombreA... | Shell |
#!/bin/bash
#- Codigos de salida del comando:
#~ 0: Ejecucion satisfactoria.
#~ 1: Instalacion incorrecta. Faltan archivos.
GRUPOBASE=""
while [ ! -d "$GRUPOBASE/conf" ]
do
GRUPOBASE="$GRUPOBASE../"
done
#~ Obtiene la ruta en donde se encuentra el archivo Inicio4.sh.
SCRIPT_DIRECTORY="$( cd "$( dirname "${BASH_SOU... | Shell |
#!/bin/bash
DEFAULT_DIR="dup"
#################################
########## MODO DE USO ##########
#################################
#~ ./Mov4.sh "ruta/al/archivo/origen.extension" "ruta/al/archivo/destino.extension" ["ComandoInvocante(sin .sh)"]
#~ Es indispensable que el archivo destino sea el nombre del archivo y ... | Shell |
#!/bin/bash
#################################
########## MODO DE USO ##########
#################################
#~ ./Vlog4.sh
#~ -s "palabra o frase a buscar"
#~ -f "comando en cuyo log buscar"
#~ -n "cantidad maxima de lineas a mostrar"
#~ [-i "severidad del mensaje"]
#~ Codigos de salida:
#~ 0: Ejecucion satis... | Shell |
#!/bin/bash
#Parametros:
# -n "Nombre del proceso a detener"
# -p "Numero de PID del proceso a detener"
# Salidas:
# 0: Ejecucion satisfactoria
# 1: No se recibio ningun parametro
# 2: Se intento detener un proceso inexistente
CANT_PARAM=$#
PID=0
#Verifica que se reciba algun parametro
verificarParametros() {
if [... | Shell |
#!/bin/bash
printHelpAndExit(){
echo "Uso: ./Instal4.sh DIR"
echo "DIR es la ruta (relativa) del dir donde se instalará el paquete"
echo "si no se pasa ningún parámetro, la ruta por defecto será grupo4/"
exit 0
}
#Checkeamos si nos pasaron argumentos
if [ $# -eq 0 ];then
grupo="grupo4"
else
case "$1" in
... | Shell |
#!/bin/bash
#Entrada:
# Archivos Recibidos $ACEPDIR/<pais>-<sistema>-<año>-<mes>
# Tabla de Separadores $CONFDIR/T1.tab
# Tabla de Campos $CONFDIR/T2.tab
#Salida:
# Archivos de Préstamos Personales por país $PROCDIR/PRESTAMOS.<pais>
# Archivos (duplicados) Rechazados $RECHDIR/<nombre del archivo>
# Archivos Procesados... | Shell |
#!/bin/bash
cp "$CONFDIR/../../archivos/originales/acepdir/"* $ARRIDIR
| Shell |
#!/bin/bash
# Recibe como parametro el nombre del proceso a iniciar
# Si existe un proceso con ese nombre, no hace nada
# Salidas:
# 0: Ejecucion satisfactoria
# 1: No se recibio ningun parametro
# 2: Se intento iniciar un proceso ya existente
CANT_PARAM=$#
NOMBRE_PROC=$1
#Verifica que se reciba algun parametro
ver... | Shell |
#!/bin/bash
TIPO_MENSAJE="MENSAJE"
TIPO_HEADER="HEADER"
TIPO_ERROR="ERROR"
TIPO_WARNING="WARNING"
TIPO_SEVERE_ERROR="SEVERE"
MENSAJE=""
TIPO="MENSAJE"
COMANDO=""
if [ -z $LOGDIR ] || [ -z $LOGEXT ] || [ ! -d $LOGDIR ] ; then
echo "No se ha inicializado el ambiente. Por favor, corra el comando Inicio4"
exit 2
fi
#... | Shell |
#!/bin/bash
# Recibe como parametro el nombre del proceso a iniciar
# Si existe un proceso con ese nombre, no hace nada
# Salidas:
# 0: Ejecucion satisfactoria
# 1: No se recibio ningun parametro
# 2: Se intento iniciar un proceso ya existente
CANT_PARAM=$#
NOMBRE_PROC=$1
#Verifica que se reciba algun parametro
ver... | Shell |
#!/bin/bash
#- Codigos de salida del comando:
#~ 0: Ejecucion satisfactoria.
#~ 1: Instalacion incorrecta. Faltan archivos.
GRUPOBASE=""
while [ ! -d "$GRUPOBASE/conf" ]
do
GRUPOBASE="$GRUPOBASE../"
done
#~ Obtiene la ruta en donde se encuentra el archivo Inicio4.sh.
SCRIPT_DIRECTORY="$( cd "$( dirname "${BASH_SOU... | Shell |
#!/bin/bash
DEFAULT_DIR="dup"
#################################
########## MODO DE USO ##########
#################################
#~ ./Mov4.sh "ruta/al/archivo/origen.extension" "ruta/al/archivo/destino.extension" ["ComandoInvocante(sin .sh)"]
#~ Es indispensable que el archivo destino sea el nombre del archivo y ... | Shell |
#!/bin/bash
PSMAE=$MAEDIR/'p-s.mae'
CICLO=1
#~ Logea numero de ciclo
logearCiclo() {
local NUMERO_DE_CICLO=$1
./Glog4.sh "Ciclo Nro $NUMERO_DE_CICLO" "MENSAJE" "Detecta4"
}
rechazarArchivo() {
local NombreArchivo=$1
local ArchivoYaMovido=$2
if [ "$ArchivoYaMovido" -eq 0 ]; then
./Mov4.sh "$ARRIDIR/$NombreA... | Shell |
pushd `dirname $0` > /dev/null
SCRIPTDIR=`pwd`
popd > /dev/null
java -cp ".:*:$SCRIPTDIR/*" -jar "local-runner.jar" local-runner-sync.properties &
| Shell |
pushd `dirname $0` > /dev/null
SCRIPTDIR=`pwd`
popd > /dev/null
java -cp ".:*:$SCRIPTDIR/*" -jar repeater.jar $1 | Shell |
pushd `dirname $0` > /dev/null
SCRIPTDIR=`pwd`
popd > /dev/null
java -cp ".:*:$SCRIPTDIR/*" -jar "local-runner.jar" local-runner-console.properties
| Shell |
if [ ! -f src/main/java/Runner.java ]
then
echo Unable to find src/main/java/Runner.java > compilation.log
exit 1
fi
rm -rf classes
mkdir classes
javac -sourcepath "src/main/java" -d classes "src/main/java/Runner.java" > compilation.log
if [ ! -f classes/Runner.class ]
then
echo Unable to find classes/Ru... | Shell |
pushd `dirname $0` > /dev/null
SCRIPTDIR=`pwd`
popd > /dev/null
java -cp ".:*:$SCRIPTDIR/*" -jar "local-runner.jar" local-runner.properties &
| Shell |
#!/bin/bash
ROOT_PATH=`cd $(dirname "$0")/../; pwd`
OUT=${ROOT_PATH}/out/target/product/sabresd_6dq
UBOOT=${OUT}/u-boot-6q.bin
BOOTIMG=${OUT}/boot.img
SYSTEMIMG=${OUT}/system.img
RECOVERYIMG=${OUT}/recovery.img
NODE=/dev/${1}
if [ ! -b ${NODE} ]; then
echo ${NODE} is not a block file!
exit
fi
${ROOT_PATH}/devic... | Shell |
#!/bin/bash
ROOT_PATH=`cd $(dirname "$0")/../; pwd`
make -C ${ROOT_PATH}/kernel_imx -j1 uImage ARCH=arm CROSS_COMPILE=${ROOT_PATH}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
install -D ${ROOT_PATH}/kernel_imx/arch/arm/boot/uImage ${ROOT_PATH}/out/target/product/sabresd_6dq/uImage
install -D ${ROOT_PATH}/... | Shell |
#!/bin/bash
ROOT_PATH=`cd $(dirname "$0")/../; pwd`
make -C ${ROOT_PATH}/kernel_imx -j1 uImage ARCH=arm CROSS_COMPILE=${ROOT_PATH}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
install -D ${ROOT_PATH}/kernel_imx/arch/arm/boot/uImage ${ROOT_PATH}/out/target/product/sabresd_6dq/uImage
install -D ${ROOT_PATH}/... | Shell |
#!/bin/bash
ROOT_PATH=`cd $(dirname "$0")/../; pwd`
OUT=${ROOT_PATH}/out/target/product/sabresd_6dq
UBOOT=${OUT}/u-boot-6q.bin
BOOTIMG=${OUT}/boot.img
SYSTEMIMG=${OUT}/system.img
RECOVERYIMG=${OUT}/recovery.img
NODE=/dev/${1}
if [ ! -b ${NODE} ]; then
echo ${NODE} is not a block file!
exit
fi
${ROOT_PATH}/devic... | Shell |
#!/bin/ksh
# launcher script for jsdoc
# Author: Avi Deitcher
#
# This program is released under the MIT License as follows:
# Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com>
#
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "... | Shell |
#!/bin/ksh
# launcher script for jsdoc
# Author: Avi Deitcher
#
# This program is released under the MIT License as follows:
# Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com>
#
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "... | Shell |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=$HOME/fun/android/android-ndk
HOST_TYPE=darwin-x86
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/toolchains/arm-ea... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
. $SCRIPTDIR/android-gcc-setup.sh
cd $SCRIPTDIR/..
if [ ! -d "deps" ]
then
mkdir -p deps
fi
cd deps
DEPSDIR=$PWD
JNIDIR=$DEPSDIR/../jni
if [ ! -d "$JNIDIR/pdfview2/lib" ]
then
mkdir -p $JNIDIR/pdfview2/lib
fi
if [ ! -d "$JNIDIR/pdfview2/include" ]
then
mkdir -p $JNIDIR/pd... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/bin/bash
for pow in 16 20
do
echo
echo "N = 2^$pow"
echo "#threads error wtime"
echo "----------------------"
for tds in 1 2 4 8
do
export OMP_NUM_THREADS=$tds
./vc.exe $pow
done
done
| Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | 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
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.assemblies.utils.AssemblyCyclicBarrier config.xml | Shell |
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 testNumber jvmName
exit
fi
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.extensions.examples.semaphore.DistributedAssembly $1 config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.registry.GlobalRegistry config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.assemblies.utils.AssemblyCyclicBarrier config.xml | Shell |
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 testNumber jvmName
exit
fi
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.extensions.examples.semaphore.DistributedAssembly $1 config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.registry.GlobalRegistry config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.assemblies.utils.AssemblyCyclicBarrier config.xml | Shell |
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 testNumber jvmName
exit
fi
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.extensions.examples.countDownLatch.DistributedAssembly $1 config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.registry.GlobalRegistry config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.assemblies.utils.AssemblyCyclicBarrier config.xml | Shell |
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 testNumber jvmName
exit
fi
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.extensions.examples.countDownLatch.DistributedAssembly $1 config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.registry.GlobalRegistry config.xml | Shell |
#!/bin/bash
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.assemblies.utils.AssemblyCyclicBarrier config.xml | Shell |
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 testNumber jvmName
exit
fi
java -cp 'jars/*' -Djava.security.manager -Djava.security.policy=assembly.policy fr.upmc.components.extensions.examples.cyclicBarrier.DistributedAssembly $1 config.xml | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.