code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
echo "Installing zlib"
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/
# We need the headers/libraries, zlib.net only provides a dll or source which is more... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge, ... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
echo "Installing libxml2"
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "ftp:/... | Shell |
#!/bin/bash
# the name of the server on which we test
export TESTING_SERVER=192.168.2.102
# the directory under which our build directory is available on the _server_
export TESTING_DIR=/Tests
# specifies if files should be linked or copied to the test harness folder
export TESTING_LINK_FILES=YES
| Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | 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
gnatmake benchmark_*.adb &> /dev/null
function benchmark_hash_bete {
echo ""
echo "Lancement de benchmark_hash_bete..."
./benchmark_hash_bete
}
function benchmark_hash_biz {
echo ""
echo "Lancement de benchmark_hash_biz..."
./benchmark_hash_biz
}
function benchmark_hash_somme {
echo ""
... | Shell |
#!/bin/bash
echo ""
echo "Lancement des tests de ada-dico..."
rm -f *~
rm -f *.ali
rm -f *.o
gnatmake test_*.adb &> /dev/null
echo ""
echo "Lancement de test_dico_vide..."
./test_dico_vide
if [ $? -eq 0 ]
then
echo "Passed"
else
echo "Failed"
fi
echo ""
echo "Lancement de test_dico_unitaire..."
./test_di... | Shell |
#!/bin/bash
echo "Lancement des statistiques des fonctions de hachage de ada-dico..."
echo ""
rm -f *~
rm -f *.ali
rm -f *.o
gnatmake demonstration.adb &> /dev/null
echo "Lancement de la demonstration..."
./demonstration
rm -f *~
rm -f *.ali
rm -f *.o
rm -f demonstration
| Shell |
#!/bin/bash
echo "Lancement des statistiques des fonctions de hachage de ada-dico..."
echo ""
rm -f *~
rm -f *.ali
rm -f *.o
gnatmake stat_dispersion_*.adb &> /dev/null
echo "Lancement de stat_dispersion_hash_somme..."
./stat_dispersion_hash_somme
echo "Lancement de stat_dispersion_hash_3der..."
./stat_dispersi... | Shell |
#!/bin/bash
#
# Copyright 2010 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Creates the documentation set for the library by
# running pydoc on all the files in apiclient.
#
# Notes: You may have to update the location of the
# App Engine library for your local system.
set... | Shell |
echo "The following files are missing or are not checked in:"
hg st
echo "Enter to continue"
read -e YES
echo "The following files are missing from the MANIFEST file:"
cat MANIFEST | sort > sorted-manifest.txt
hg st --clean| sed "s/^C //" | grep -v "^v3" > sorted-allfiles.txt
diff sorted-allfiles.txt sorted-manifest.tx... | Shell |
#
# See if tsearch2.sql exists on the system
#
sqlfile=$(locate /tsearch2.sql)
if [ -z "$sqlfile"]
then
echo "tsearch2.sql was not found on this system - please see http://code.google.com/p/acts-as-tsearch/wiki/PreparingYourPostgreSQLDatabase for details."
exit
fi
#
# Check that they ran this as postgres
#
if [ "$L... | Shell |
#!/bin/bash
source "`dirname "${0}"`/munkiwebadmin-config"
SUBMITURL="${MWA_HOST}/update"
RUNTYPE="$1"
if [ -z "$RUNTYPE" ]; then
RUNTYPE="reportbrokenclient"
fi
MAC=`ifconfig en0 | awk '/ether/ {print $2}'`
NAME=`/usr/sbin/scutil --get ComputerName`
mwa_curl --max-time 5 \
-d runtype="$RUNTYPE" \
-d mac=... | Shell |
#!/bin/bash
# The fqdn for your Munki Web Admin server.
# EXAMPLE: https://example.com
MWA_HOST="http://example.com:8000"
# The optional name of your SSL certificate to use when communicating with
# Munki Web Admin. If you place the certificate in the same directory as this
# script, you don't need to include the fu... | Shell |
#!/bin/bash
source "`dirname "${0}"`/munkiwebadmin-config"
SUBMITURL="${MWA_HOST}/update"
LOOKUPURL="${MWA_HOST}/lookup/ip"
RUNTYPE="$1"
MAC=`ifconfig en0 | awk '$1=="ether" {print $2}'`
NAME=`/usr/sbin/scutil --get ComputerName`
if [ "$RUNTYPE" == "custom" -o "$RUNTYPE" == "auto" ]; then
if [ ! -z "$MWA_ALLOWED... | Shell |
#!/bin/bash
source "`dirname "${0}"`/munkiwebadmin-config"
REPORTSUBMITURL="${MWA_HOST}/update"
INVENTORYHASHURL="${MWA_HOST}/inventory/hash"
INVENTORYSUBMITURL="${MWA_HOST}/inventory/submit"
RUNTYPE="$1"
MAC=`ifconfig en0 | awk '$1=="ether" {print $2}'`
NAME=`/usr/sbin/scutil --get ComputerName`
REPORTPATH="/Library... | Shell |
#!/bin/bash
#
# Creates a pkg installer for the preflight, postflight and
# report_broken_client scripts.
#
# Joe Wollard <joe.wollard@gmail.com> 2013.03.23
#
BUNDLE_IDENTIFIER="com.googlecode.munki.munkiwebadmin-scripts"
BUNDLE_VERSION=`date +"%Y.%m.%d"`
BASE_DIR=`dirname "${0}"`
SCRIPT_NAME=`basename "${0}"`
## cle... | Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
/var/www/localhost/htodcs/start.php /dev/null 2>&1 &
| Shell |
#!/bin/sh
php ./merge.php | Shell |
#!/bin/bash
# httpclientandroidlib version
HTTPCLIENTANDROIDLIB_VER=1.1.1
# Checkout svn repositories of core/client/cache
svn checkout http://svn.apache.org/repos/asf/httpcomponents/httpcore/tags/4.2.1/httpcore/ httpcore
svn checkout http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.2.1/httpclient/ http... | Shell |
# 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 law or a... | Shell |
#!/bin/plush
# this is a test of a pseudo shell script
echo foo
echo bar
# stuff
echo baz
# THE END | Shell |
# 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 law or a... | Shell |
# 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 law or a... | Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# CC C Compiler path
# CXX C++ Compiler path
# PLATFORM_LDFLAGS ... | Shell |
#!/bin/bash
set -e
cd .. # /bootstrap/
cp test-infra/npm-shrinkwrap.json npm-shrinkwrap.json
npm install
rm npm-shrinkwrap.json
| Shell |
#!/bin/bash
set -e
cd .. # /bootstrap/
cp test-infra/npm-shrinkwrap.json npm-shrinkwrap.json
npm install
rm npm-shrinkwrap.json
| Shell |
/*
-*- Engage Auth Widget -*-
Copyright (c) 2012, Janrain, Inc. All rights reserved.
Version: 2013.1_ws_widgets_rc9
*/
"object"!==typeof window.janrain&&(window.janrain={});janrain.apps={};
janrain.apps=function(){var $a,Ca,ja,Pa;function Eb(){var a;a="http:"===document.location.protocol?"http://cdn.quilt.janrain.co... | 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
if [[ $1 ]]; then
target=$1
else
target="./data"
fi
read -p "Lowercase all files in $target directory? [y/N] " confirm
if [[ `echo $confirm | tr '[:upper:]' '[:lower:]'` == 'y' ]]; then
for f in $target/*; do
g=`basename "$f" | tr '[:upper:]' '[:lower:]'`
mv -fv "$f" "$target/$g" 2> /dev/null
don... | Shell |
#!/bin/sh
if [ $# -eq "3" ]
then
startDate=$1
endDate=$2
hdfsOutput=$3
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdi... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltJuidAdClickExec.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltJuidAdClickExec.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$inputPath
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltUserTagsFinalOutputFormat.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltUserTagsFinalOutputFormat.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
# /bin/bash
if [ "$#" -eq "1" ]
then
date=$1
else
date=`date -d yesterday +%Y%m%d`
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
originHdfsPath="/adaccurate/usertags/wlt/${date}/14"
hdfsPath="/adaccurate/usertags/wlt_point_gain/${date... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
drop... | Shell |
#!/bin/sh
if [ $# -eq "5" ]
then
start=$1
startTime=$2
end=$3
endTime=$4
hdfsOutput=$5
else
echo "Parameter error!"
exit 1;
fi
startDate="${start} ${startTime}"
endDate="${end} ${endTime}"
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HA... | Shell |
#!/bin/sh
if [ $# -eq "3" ]
then
startDate=$1
endDate=$2
hdfsOutput=$3
echo "asda"
else
echo "Parameter error!"
exit 1;
fi
| Shell |
# /bin/bash
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
if [ "$#" -eq "1" ]
then
date=$1
else
echo "Error Parameter"
exit 1
fi
originHdfsPath="/adaccurate/usertags/wlt/${date}/release/*"
hdfsPath="/adaccurate/userta... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltUserTagsCreateHive.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltUserTagsCreateHive.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$inputPath
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
| Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/importToRedis.do?date=${date}"
curl "http://localhost:8081/adaccurate/importToRedis.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "5" ]
then
start=$1
startTime=$2
end=$3
endTime=$4
hdfsOutput=$5
else
echo "Parameter error!"
exit 1;
fi
startDate="${start} ${startTime}"
endDate="${end} ${endTime}"
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HA... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltUserTagsUpdate.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltUserTagsUpdate.do?date=${date}"
#echo "curl http://localhost:8081/adaccurate/wltUserTagsFinalOutputFormat.do?date=... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltJuidAdClickExec.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltJuidAdClickExec.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltUserTagsFinalOutputFormat.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltUserTagsFinalOutputFormat.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "3" ]
then
startDate=$1
endDate=$2
hdfsOutput=$3
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.11.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
add ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
drop... | Shell |
#!/bin/sh
if [ $# -eq "3" ]
then
startDate=$1
endDate=$2
hdfsOutput=$3
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdi... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
add ... | Shell |
#!/bin/sh
if [ $# -eq "3" ]
then
startDate=$1
endDate=$2
hdfsOutput=$3
echo "asda"
else
echo "Parameter error!"
exit 1;
fi
| Shell |
#!/bin/sh
if [ $# -eq "3" ]
then
startDate=$1
endDate=$2
hdfsOutput=$3
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.11.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir... | Shell |
# /bin/bash
if [ "$#" -eq "1" ]
then
date=$1
else
date=`date -d yesterday +%Y%m%d`
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
originHdfsPath="/adaccurate/usertags/wlt/${date}/11"
hdfsPath="/adaccurate/usertags/wlt_point_con/${date}/... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltUserTagsUpdate.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltUserTagsUpdate.do?date=${date}"
#echo "curl http://localhost:8081/adaccurate/wltUserTagsFinalOutputFormat.do?date=... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/importToRedis.do?date=${date}"
curl "http://localhost:8081/adaccurate/importToRedis.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "1" ]
then
date=$1
else
echo "Parameter error"
exit 1
fi
echo "curl http://localhost:8081/adaccurate/wltUserTagsCreateHive.do?date=${date}"
curl "http://localhost:8081/adaccurate/wltUserTagsCreateHive.do?date=${date}"
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
| Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
add ... | Shell |
# /bin/bash
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
if [ "$#" -eq "1" ]
then
date=$1
else
echo "Error Parameter"
exit 1
fi
hdfsPath="/adaccurate/usertags/wlt/${date}/release"
echo ${hdfsPath}
Hql='
use hivedw;
drop table ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
set ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
date=$1
hdfsOutput=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hadoop fs -rmr ${hdfsOutput}
hadoop fs -mkdir ${hdfsOutput}
hql="
add ... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
startDate=$1
endDate=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hql="
set mapred.reduce.tasks=20;
drop table webtrends.s3_pingan_last... | Shell |
#!/bin/sh
if [ $# -eq "2" ]
then
startDate=$1
endDate=$2
else
echo "Parameter error!"
exit 1;
fi
export HADOOP_HOME=/hadoop/hadoop-1.1.2
hadoop="${HADOOP_HOME}/bin/hadoop"
HIVE_HOME='/hadoop/hive-0.10.0'
hql="
set mapred.reduce.tasks=20;
drop table webtrends.s3_pingan_last... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
#
# Copyright (C) 2010-2011 the original author or authors.
#
# 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 requi... | 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
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-02-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2010-05-21'
# This file is (in principle) common to ALL GNU software.
# The pres... | 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
#
# 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
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-02-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2010-05-21'
# This file is (in principle) common to ALL GNU software.
# The pres... | 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
# add-junit-result.xht -- Add a junit test result in an XML junit file
# Copyright (C) 2011 Stephane Carrez
# Written by Stephane Carrez (Stephane.Carrez@gmail.com)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.