code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash prepare_amps_dir() { # Usage: prepare_amps_dir <path_to_amp_file> <amps or amps-share> if [ $# -lt 2 ]; then echo "Usage: prepare_amps_dir <path_to_amp_file> <amps or amps-share>" fi echo -n "preparing amp modules ..." TEMP_DIR="/tmp/${ALF_VERSION}-AMPS-TEMP-$(date '+%s')" # make temp folder ...
Shell
#!/bin/bash #extracting tomcat barebones echo -n "extracting tomcat barebones into ${DEST_DIR} ..." tar zxf ${TOMCAT_BASE_ARCHIVE_LOCATION} -C ${DEST_DIR} echo_outcome $? # rename the apache-tomcat-* folder to tomcat if [ ! -d ${TOMCAT_ROOT} ]; then echo -n "renaming tomcat base directory to ${TOMCAT_ROOT}...
Shell
#!/bin/bash RESOURCES=${SCRIPT_DIR}/resources # prepare correct JAVA_OPTS J_OPTS="-Xms512m -Xmx1024m -Xss1024k -XX:MaxPermSize=256m -XX:NewSize=256m -server -Dcom.sun.management.jmxremote -Duser.language=en -Duser.country=en -Duser.region=US" # copy windows batch scripts if we are in a windows environment ... skip ...
Shell
#!/bin/sh # 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 ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you m...
Shell
#!/bin/sh # 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 ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you m...
Shell
#!/bin/sh # 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 ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you m...
Shell
#!/bin/sh # 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 ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you m...
Shell
#!/bin/bash # Início date echo > atualizar.sh #echo > pastasServidor.txt #echo > listaResumoPastas.txt for nomeArquivo in $(cat listaArqsUol.txt); do hostSrv="root@200.253.187.2" #acesso uol01 - matriz dos arquivos #hostSrv="root@200.253.187.4" #acesso uol03 - teste antes da publicação pathLocal="/media/651a9...
Shell
#!/bin/bash # Início date echo > atualizar.sh #echo > pastasServidor.txt #echo > listaResumoPastas.txt for nomeArquivo in $(cat listaArqsUol.txt); do hostSrv="root@200.253.187.2" #acesso uol01 - matriz dos arquivos #hostSrv="root@200.253.187.4" #acesso uol03 - teste antes da publicação pathLocal="/media/651a9...
Shell
#Pasta (/opt/hpws/tomcat/server/webapps/oul/WEB-INF/sources/br/com/softsite/sfc/domain) já existe no servidor (apenas copia o arquivo): scp -i ~/.ssh/id_rsa /media/651a962b-40a7-49c6-a29d-b9390c19201d/Arquivos_Unifor/programas/tomcat6035/webapps/uol-preprd/WEB-INF/sources/br/com/softsite/sfc/domain/GenericRepository...
Shell
mv /digitalizacao/DRH/Copiados/731011712.PDF /digitalizacao/DRH/temp/731011712.PDF mv /digitalizacao/DRH/Copiados/731011746.PDF /digitalizacao/DRH/temp/731011746.PDF mv /digitalizacao/DRH/Copiados/731015887.PDF /digitalizacao/DRH/temp/731015887.PDF mv /digitalizacao/DRH/Copiados/731017339.PDF /digitalizacao/DRH/temp/73...
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/sh chmod +x ./* echo "Iniciando tests de los .out que estén presentes" f=./out/OptimizarTabuIters.out1 echo echo "Se intentará generar el gráfico de optimización de iteraciones" if [ -f $f ]; then ./optiters.sh echo "Se generó el gráfico" else echo "No se generó un gráfico ya que falta el archivo " $...
Shell
#!/bin/sh chmod +x ./* echo "Iniciando tests de los .out que estén presentes" f=./out/OptimizarTabuIters.out1 echo echo "Se intentará generar el gráfico de optimización de iteraciones" if [ -f $f ]; then ./optiters.sh echo "Se generó el gráfico" else echo "No se generó un gráfico ya que falta el archivo " $...
Shell
#!/bin/bash # save arguments to variables SOURCE=$1 TARGET=$2 # to see what gets extracted append arguments to logfile echo "from $SOURCE to $TARGET" >>/tmp/freemindtransform.log # call xmlstarlet tool and redirect output to $TARGET xmlstarlet sel --text --encoding UTF-8 -t -m //node -v @TEXT -o ' ' "$SOURCE" > "$TAR...
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 CATALINA_BASE=/var/lib/tomcat6 IP_ADDR=`ifconfig eth0 | grep "inet addr:" | sed -r 's/^ *inet addr:([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/'` sed -i "s/hostname\\.public=.*/hostname.public=$IP_ADDR/" $CATALINA_BASE/shared/classes/alfresco-global.properties
Shell
#!/bin/bash BOOTSTRAP_DIR=/var/lib/alfresco/bootstrap if [ $1 == "start" ]; then cd $BOOTSTRAP_DIR python ping.py if [ -f bootstrap-data/cloud-users.json ]; then python bootstrap-users.py bootstrap-data/cloud-users.json && mv bootstrap-data/cloud-users.json bootstrap-data/cloud-users.json.installed fi ...
Shell
#!/bin/bash # Ubuntu EC2 Quick Start Script for Alfresco 3.4/4.0 # # Contributors: Will Abson, Mike Waldrop # # This script will install a complete Alfresco system and all prerequisites on an Ubuntu Linux # host. The script has been tested on the official Oneiric image available from Canonical - # see https://help...
Shell
#!/bin/bash CATALINA_BASE=/var/lib/tomcat6 IP_ADDR=`ifconfig eth0 | grep "inet addr:" | sed -r 's/^ *inet addr:([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/'` sed -i "s/hostname\\.public=.*/hostname.public=$IP_ADDR/" $CATALINA_BASE/shared/classes/alfresco-global.properties
Shell
#!/bin/sh VERSION=0.9.8 cd .. zip -r alfresco-ubuntu-qs-$VERSION.zip alfresco-ubuntu-qs/* --exclude "*/.svn*" tar czf alfresco-ubuntu-qs-$VERSION.tar.gz --exclude ".svn" --exclude .project alfresco-ubuntu-qs cd -
Shell
#!/bin/bash IP_ADDR=`ifconfig eth0 | grep "inet addr:" | sed -r 's/^ *inet addr:([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/'` echo if [ -n "$IP_ADDR" ]; then echo " Alfresco is running on this host. To connect to Alfresco Share, point your " echo " web browser at the following location" echo echo "...
Shell
#!/bin/bash CATALINA_BASE="/var/lib/tomcat6" PROPS="$CATALINA_BASE/shared/classes/alfresco-global.properties" # Get the public host name and any user data ec2_public_hostname=`curl http://169.254.169.254/latest/meta-data/public-hostname -s` user_data=`curl http://169.254.169.254/latest/user-data -s` test -n "$ec2_pu...
Shell
#!/bin/bash BOOTSTRAP_DIR=/var/lib/alfresco/bootstrap if [ $1 == "start" ]; then cd $BOOTSTRAP_DIR python ping.py if [ -f bootstrap-data/cloud-users.json ]; then python bootstrap-users.py bootstrap-data/cloud-users.json && mv bootstrap-data/cloud-users.json bootstrap-data/cloud-users.json.installed fi ...
Shell
#!/bin/bash # Check user if root user=`whoami` if [ "$whoami" != "root" ]; then echo "This script requires root permissions to run" exit 1 fi # Stop Tomcat /etc/init.d/tomcat6 stop # Wiping the Alfresco repo if [ -d /var/lib/alfresco/alf_data ]; then rm -rf /var/lib/alfresco/alf_data/ fi cat drop-database.sq...
Shell
#!/bin/bash # Ubuntu EC2 Quick Start Script for Alfresco 3.4/4.0 # # Contributors: Will Abson, Mike Waldrop # # This script will install a complete Alfresco system and all prerequisites on an Ubuntu Linux # host. The script has been tested on the official Oneiric image available from Canonical - # see https://help...
Shell
#!/bin/bash ec2_public_hostname=`curl http://169.254.169.254/latest/meta-data/public-hostname -s` echo if [ -n "$ec2_public_hostname" ]; then echo " Alfresco is running on this host. To connect to Alfresco Share, point your " echo " web browser at the following location" echo echo " http://$ec2_public_host...
Shell
#!/bin/bash # Check user if root user=`whoami` if [ "$whoami" != "root" ]; then echo "This script requires root permissions to run" exit 1 fi # Stop Tomcat /etc/init.d/tomcat6 stop # Wiping the Alfresco repo if [ -d /var/lib/alfresco/alf_data ]; then rm -rf /var/lib/alfresco/alf_data/ fi cat drop-database.sq...
Shell
#!/bin/bash CATALINA_BASE="/var/lib/tomcat6" PROPS="$CATALINA_BASE/shared/classes/alfresco-global.properties" # Get the public host name and any user data ec2_public_hostname=`curl http://169.254.169.254/latest/meta-data/public-hostname -s` user_data=`curl http://169.254.169.254/latest/user-data -s` test -n "$ec2_pu...
Shell
#!/bin/sh VERSION=0.9.8 cd .. zip -r alfresco-ubuntu-qs-$VERSION.zip alfresco-ubuntu-qs/* --exclude "*/.svn*" tar czf alfresco-ubuntu-qs-$VERSION.tar.gz --exclude ".svn" --exclude .project alfresco-ubuntu-qs cd -
Shell
#!/bin/bash ec2_public_hostname=`curl http://169.254.169.254/latest/meta-data/public-hostname -s` echo if [ -n "$ec2_public_hostname" ]; then echo " Alfresco is running on this host. To connect to Alfresco Share, point your " echo " web browser at the following location" echo echo " http://$ec2_public_host...
Shell
#!/bin/bash IP_ADDR=`ifconfig eth0 | grep "inet addr:" | sed -r 's/^ *inet addr:([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/'` echo if [ -n "$IP_ADDR" ]; then echo " Alfresco is running on this host. To connect to Alfresco Share, point your " echo " web browser at the following location" echo echo "...
Shell
#!/bin/bash #Please ensure your account has enough privileges before executes the script #define alfresco root if [ "x" = "x$1" ]; then echo -e "\nERROR: Invalid arguments" echo -e "--------------------------------------------------" echo -e "Using: $0 <<Alfresco Installation Directory>>" echo -e "eg: $0 ...
Shell
#!/bin/bash #Please ensure your account has enough privileges before executes the script #define alfresco root if [ "x" = "x$1" ]; then echo -e "\nERROR: Invalid arguments" echo -e "--------------------------------------------------" echo -e "Using: $0 <<Alfresco Installation Directory>>" echo -e "eg: $0 ...
Shell
#!/bin/bash #Please ensure your account has enough privileges before executes the script #define alfresco root if [ "x" = "x$1" ]; then echo -e "\nERROR: Invalid arguments" echo -e "--------------------------------------------------" echo -e "Using: $0 <<Alfresco Installation Directory>>" echo -e "eg: $0 ...
Shell
#!/bin/bash #Please ensure your account has enough privileges before executes the script #define alfresco root if [ "x" = "x$1" ]; then echo -e "\nERROR: Invalid arguments" echo -e "--------------------------------------------------" echo -e "Using: $0 <<Alfresco Installation Directory>>" echo -e "eg: $0 ...
Shell
#!/bin/bash #Please ensure your account has enough privileges before executes the script #define alfresco root if [ "x" = "x$1" ]; then echo -e "\nERROR: Invalid arguments" echo -e "--------------------------------------------------" echo -e "Using: $0 <<Alfresco Installation Directory>>" echo -e "eg: $0 ...
Shell
#!/bin/bash #Please ensure your account has enough privileges before executes the script #define alfresco root if [ "x" = "x$1" ]; then echo -e "\nERROR: Invalid arguments" echo -e "--------------------------------------------------" echo -e "Using: $0 <<Alfresco Installation Directory>>" echo -e "eg: $0 ...
Shell
zipBasePath="{TARGET_BUILD_DIR}/${ZipName}" echo "Removing zip file ${zipBasePath}.zip" rm -f "${zipBasePath}.zip" if [ x${ACTION} = xclean ]; then exit 0 fi echo "Removing .svn directories..." find "${BUILT_PRODUCTS_DIR}/${ZipProduct}" -name ".svn" -exec rm -rvf "{}" \; echo "...done" echo "Setting ownership..." c...
Shell
#! /bin/sh # $Id: updateminiupnpcstrings.sh,v 1.2 2009/06/04 09:13:53 nanard Exp $ FILE=miniupnpcstrings.h # detecting the OS name and version OS_NAME=`uname -s` OS_VERSION=`uname -r` if [ -f /etc/debian_version ]; then OS_NAME=Debian OS_VERSION=`cat /etc/debian_version` fi # use lsb_release (Linux Standard Base) w...
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-2005 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/bash have_automake=false if automake --version < /dev/null > /dev/null 2>&1 ; then automake_version=`automake --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'` case $automake_version in 1.2*|1.3*|1.4|1.4*|1.5*|1.6*|1.7*|1.8*) ;; *) have_automake=true ;; esac fi if $have_a...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/bash svn --force export http://svn.scipy.org/svn/scipy/trunk/scipy/sparse/sparsetools/bsr.h svn --force export http://svn.scipy.org/svn/scipy/trunk/scipy/sparse/sparsetools/coo.h svn --force export http://svn.scipy.org/svn/scipy/trunk/scipy/sparse/sparsetools/csc.h svn --force export http://svn.scipy.org/svn/sc...
Shell
#!/bin/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # # Copyright 2012 Facebook # # 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/sh # This is an updated version of the autogen script from BABL # See http://gegl.org/babl/ for the source code and more information # This script does all the magic calls to automake/autoconf and # tools that are needed to configure a Git checkout. As described in # the file README, you need a couple of extra...
Shell
#!/bin/sh #PATH=/opt/bin:/opt/sbin:/usr/sbin:/usr/bin:/sbin:/bin daemon=/opt/bin/ushare #NAME=ushare #DESC="uShare UPnP A/V Media Server" pidfile=/var/run/ushare.pid conffile=/opt/etc/ushare.conf [ -r "$conffile" ] && . ${conffile} # abort if no executable exists [ -x $daemon ] || exit 0 set -e do_start() { # abo...
Shell
#!/bin/sh ####################################################################### # (1) run process from superuser root (less security) # (0) run process from unprivileged user "nobody" (more security) SVC_ROOT=1 # process prooryty (0-normal, 19-lowest) SVC_PRIORITY=5 # access control list for transmission RPC. Plea...
Shell
#!/bin/sh ######################################################################### ### Custom user script for post-update iptables. ### This script is invoked when the internal firewall perform any action. ### ### First param can be: ### ------------------ ### start (is called when Optware starts), ### stop (i...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/sh # JAVA classpath # Use the local variable CLASSPATH to add custom entries (e.g. JDBC drivers) to # the classpath. Separate multiple paths with ":". Enclose the value # in double quotes. Adding additional files or locations on separate # lines makes things clearer. # Note: If under running under cygwin use "/c...
Shell
#!/bin/bash # Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Shell
#!/usr/bin/bash # # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
Shell
#/bin/sh # This file is used to automatically copy some configuration files into the # correct configuration folder for file in $( find -maxdepth 1 -type d ) do -- not very elegant, but it works... if [ "$file" != "." ] ; then if [ "$file" != "./.hg" ] ; then if [ "$file" != "./config" ] ; then ...
Shell
#!/bin/bash bin/examplefs $1 $2 -f -s
Shell
#!/bin/sh echo "echoing bad headers: server must report status 500" exec 1>&2 echo shit!!!
Shell
#!/bin/sh echo "Content-Type: text/plain" echo echo $QUERY_STRING
Shell
#!/bin/sh echo "Content-Type: text/plain" echo echo "This is shell script CGI."
Shell
#!/bin/bash lines=`cat $1 | wc -l` head_op=$(($lines - 1)) tail_op=$(($head_op - 5)) head -n $head_op $1 | tail -n $tail_op | gawk '{print $2}' > $1.best_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $3}' > $1.worse_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $4}' > $1.iter head -n $head_op...
Shell
#!/bin/bash lines=`cat $1 | wc -l` head_op=$(($lines - 1)) tail_op=$(($head_op - 5)) head -n $head_op $1 | tail -n $tail_op | gawk '{print $2}' > $1.best_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $3}' > $1.worse_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $5}' > $1.iter head -n $head_op...
Shell
#!/bin/bash lines=`cat $1 | wc -l` head_op=$(($lines - 1)) tail_op=$(($head_op - 5)) head -n $head_op $1 | tail -n $tail_op | gawk '{print $2}' > $1.best_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $3}' > $1.worse_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $3}' > $1.eval head -n $head_op...
Shell
#!/bin/bash lines=`cat $1 | wc -l` head_op=$(($lines - 1)) tail_op=$(($head_op - 5)) head -n $head_op $1 | tail -n $tail_op | gawk '{print $2}' > $1.best_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $3}' > $1.worse_fit head -n $head_op $1 | tail -n $tail_op | gawk '{print $3}' > $1.eval head -n $head_op...
Shell