code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
THRIFT_DIR=src_thrift
echo "-------------------------------------------------------------------------"
echo "1. generate files"
echo "-------------------------------------------------------------------------"
thrift -o $THRIFT_DIR -strict -r -v --gen erl $THRIFT_DIR/erlang_python.thrift
thrift -out src... | walter-weinmann/annlink_thrift | thrift_compile.sh | Shell | apache-2.0 | 1,167 |
#!/bin/sh
java -cp "./common-1.0-SNAPSHOT-shaded.jar:/etc/hadoop/conf:/usr/lib/hadoop/client/*" com.caseystella.util.common.hadoop.ingest.AtomicPut "$@"
| cestella/analytics_util | components/common/src/main/bash/atomic_put.sh | Shell | apache-2.0 | 154 |
#!/usr/bin/env bash
fission env create --name nodejs --image fission/node-env:0.3.0
kubectl apply -f https://raw.githubusercontent.com/fission/functions/master/slack/function.yaml
fission fn create --name tempconv --env nodejs --deploy ./tempconv.js
fission fn create --name wunderground-conditions --env nodejs --depl... | fission/fission-workflows | examples/slackweather/deploy.sh | Shell | apache-2.0 | 607 |
#!/bin/bash
# Copyright 2016 The Kubernetes 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 required by applicable law ... | Skatteetaten/aoc | build/test.sh | Shell | apache-2.0 | 1,481 |
#!/bin/bash
#
# 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"); yo... | Intel-bigdata/OAP | dev/kubernetes/spark/spark-shell-client.sh | Shell | apache-2.0 | 1,174 |
gunicorn -k flask_sockets.worker chat:app
| abramhindle/WebSocketsExamples | run-chat.sh | Shell | apache-2.0 | 42 |
#!/bin/bash -l
#SBATCH --job-name="Mallet Pubmed"
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --ntasks-per-node=1
#SBATCH --mem=4096
#SBATCH --time=30:30:00
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=marc.zimmermann@epfl.ch
#SBATCH --output=/nfs4/bbp.epfl.ch/user/mazimmer/slurm-mallet-pubmed... | BlueBrain/bluima | modules/bluima_topic_models/scripts/cluster/evaluation/mallet_pubmed.sh | Shell | apache-2.0 | 924 |
#!/bin/sh
# SUMMARY: Test build and insertion of kernel modules
# LABELS:
# REPEAT:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
NAME=kmod
IMAGE_NAME=kmod-test
clean_up() {
docker rmi ${IMAGE_NAME} || true
rm -rf ${NAME}-*
}
trap clean_up EXIT
# Make su... | yankcrime/linuxkit | test/cases/020_kernel/020_kmod_5.3.x/test.sh | Shell | apache-2.0 | 657 |
# Copyright 2014-2016 Samsung Research America, 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 ag... | csgordon/SJS | sjsc/phonebench.sh | Shell | apache-2.0 | 1,902 |
#!/bin/bash
PROTO_DEPS_DIR=$1
BUILD_DIR=$2
PROJECT_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
PROTO_DIR=${PROJECT_DIR}/include/pb
mkdir -p ${BUILD_DIR}/include
${PROTO_DEPS_DIR}/bin/protoc --proto_path=${PROTO_DEPS_DIR}/include --proto_path=${PROJECT_DIR}/include \
--cpp_out=${BUILD_DIR}/include ${PROJECT_DIR}/inclu... | neverchanje/yaraft | compile_proto.sh | Shell | apache-2.0 | 344 |
#!/bin/bash
# Copyright 2016 Port Direct
#
# 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... | portdirect/harbor | docker/openstack/openstack-cinder/common-assets/opt/harbor/cinder/config-database.sh | Shell | apache-2.0 | 1,735 |
#!/bin/bash
# The following command can only retrieve where the bash command starts
current_dir=$( cd "$( dirname "${BASH_SOURCE[1]}" )" && pwd )
echo $current_dir
source_dir=$(dirname $current_dir/$1)
echo $(dirname $current_dir)
g++ $source_dir"/cpp/sort_data.cpp" -o $source_dir"/cpp/cleandata" -std=c++0x
g++ ... | xiatian122/stockquote | Makefile.sh | Shell | apache-2.0 | 574 |
#!/bin/bash
set -o errexit
CONTEXT_PATH=""
[ -z $DATABASE_URL ] && echo "No DATABASE_URL provided" && exit 1
urldecode() {
local data=${1//+/ }
printf '%b' "${data//%/\x}"
}
parse_url() {
local prefix=DATABASE
[ -n "$2" ] && prefix=$2
# extract the protocol
local proto="`echo $1 | grep '://' | sed ... | idi-ops/docker-jira | start.sh | Shell | apache-2.0 | 5,353 |
# 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 applicable law ... | efortuna/AndroidSDKClone | ndk_experimental/build/tools/make-standalone-toolchain.sh | Shell | apache-2.0 | 22,231 |
./vina_ori --config conf1.txt --log log
| JSI-CSAR/VinaSC | test/ori_run.sh | Shell | apache-2.0 | 40 |
#!/bin/sh
nohup java -Dserver.port=8090 -jar build/libs/quickat-0.0.1-SNAPSHOT.war > /var/www/log/quickat/quickat.log 2>&1 &
tail -100f /var/www/log/quickat/quickat.log
| castronu/quickat | server/scripts/start.sh | Shell | apache-2.0 | 170 |
cp ~/src/fusion/android/linphone/linphone-android/libs/armeabi/liblinphone.so .
cp ~/src/fusion/android/linphone/linphone-android/libs/armeabi-v7a/libavcodec.so .
cp ~/src/fusion/android/linphone/linphone-android/libs/armeabi-v7a/libavcore.so .
cp ~/src/fusion/android/linphone/linphone-android/libs/armeabi-v7a/libav... | bayvictor/distributed-polling-system | bin/copy_arm7v_ffmeg_so_files__to_here.sh | Shell | apache-2.0 | 750 |
#!/bin/bash
set -o errexit -o pipefail -o noclobber -o nounset
# Save working directory
OLD_PWD="$PWD"
# Return to saved working directory on error/exit
trap_handler() {
cd "$OLD_PWD" || exit 9
}
trap "trap_handler" ERR EXIT INT TERM
cd "$(dirname "${BASH_SOURCE[0]}")" || return
echo "In case of build errors, ple... | industrial-data-space/trusted-connector | build.sh | Shell | apache-2.0 | 698 |
#!/bin/sh
#
# Copyright 2011-2014 eBusiness Information, Groupe Excilys (www.ebusinessinformation.fr)
#
# 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/LICE... | pbindels/github_exercise | bin/gatling.sh | Shell | apache-2.0 | 2,190 |
#!/bin/sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
rsync -a $DIR/client/outscripts/sbsbundle.js.min.js $DIR/cordova/www/scripts/sbsbundle.min.js
rsync -a $DIR/client/outscripts/sbsbundle.js $DIR/cordova/www/scripts/sbsbundle.js
rsync -a $DIR/client/content/sbsbundle.css.min.css $DIR/cordova/www/css/sbs... | vishwa89/sbs-app | src/copybundles.sh | Shell | apache-2.0 | 471 |
#! /bin/sh
echo "running $0 $@"
# Defaults
ml_version=8
install_zip=true
install_java=true
install_mlcp=true
# Load the normalized project properties.
source /tmp/$1.project.properties
# Zip/unzip not required for MLCP (provided through Java)
if [ $install_zip == "true" ]; then
yum -y install zip unzip
elif [ $ins... | vladistan/mlvagrant | opt/mlvagrant/install-mlcp.sh | Shell | apache-2.0 | 1,311 |
#!/bin/sh
docker run -d \
--network=host \
--uts=host \
--shm-size=2g \
--ulimit core=-1 \
--ulimit memlock=-1 \
--ulimit nofile=2448:38048 \
--cap-add=IPC_LOCK \
--cap-add=SYS_NICE \
--env 'username_admin_globalaccesslevel=admin' \
--env 'username_admin_password=admin' \
--name=solace solace-app:latest
| philscanlon/BLUE-GREEN | node-rest-wrapper/RESTGet/run-docker-vmr.sh | Shell | apache-2.0 | 305 |
#!/bin/bash
# 安装Phalcon框架及devtools, 用Root权限.
# ( 不建议使用了,说明如下 )
# @farwish.com BSD-License
# 请根据官方最新文档来安装.
# Example:
#
# git clone -b v3.0.2 https://github.com/phalcon/cphalcon.git
# cd cphalcon/build/php7/64bits/
# /usr/local/php7.0.14/bin/phpize
# ./configure --with-php-config=/usr/lcoal/php7.0.14/bin/php-config
# m... | farwish/delicateShell | lnmp/installPhalcon.sh | Shell | bsd-2-clause | 1,928 |
KERNCONF=IMX6
TARGET_ARCH=armv6
IMAGE_SIZE=$((1024 * 1000 * 1000))
WANDBOARD_UBOOT_SRC=${TOPDIR}/u-boot-2014.10
WANDBOARD_UBOOT_CONFIG=wandboard_solo_config
WANDBOARD_DT_BASENAME=wandboard-solo
#
# 3 partitions, a reserve one for uboot, a FAT one for the boot loader and a UFS one
#
# the kernel config (WANDBOARD.commo... | MattDooner/crochet-freebsd | board/Wandboard-Solo/setup.sh | Shell | bsd-2-clause | 2,946 |
#!/bin/bash
cd ..
# Update bashrc
if grep -q "# LO-PHI" ~/.bashrc
then
echo "LO-PHI PYTHONPATH variables are already set."
else
echo "# LO-PHI" >> ~/.bashrc
echo "export PYTHONPATH=\$PYTHONPATH:$PWD/python-lophi-1.0" >> ~/.bashrc
echo "export PYTHONPATH=\$PYTHONPATH:$PWD/python-lophi-semanticgap-1.0" >> ~/... | mit-ll/LO-PHI | scripts/setup_dev_environment.sh | Shell | bsd-3-clause | 591 |
#!/bin/bash
myname=$0
cd ${myname%/*}
if [ -z ${BOARD} ]; then
echo "[ERROR] Please set BOARD".
exit 1
fi
# 既存のebuildとManifestを消す
cd ~/trunk/src/third_party/portage-stable/x11-drivers/xf86-video-vmware
rm *.ebuild
rm Manifest
# 13.1.0のebuildをコピーする
cp /tmp/portage/x11-drivers/xf86-video-vmware/xf86-video-vmware-1... | crosbuilder/CustomBuilds | script/downgrade_xf86-video-vmware-2.sh | Shell | bsd-3-clause | 792 |
#!/bin/sh
# Dumps the call graph, and cil ASTs to the DUMPROOT specified below
# Reads the information from "gcc-log"
# Requires the "duppy" script
# Remember to change RELAYROOT
# Uses the steensgaard callgraph (see dump*.sh to dump anders, etc)
CURROOT=$PWD
DUMPROOT=$PWD/ciltrees
RELAYROOT=/home/jan/research/relay... | cogumbreiro/relay | scripts/dump-calls.sh | Shell | bsd-3-clause | 1,166 |
#!/bin/bash
#
# build PCRE for iOS and iOS simulator
#
# make sure this is not set
unset MACOSX_DEPLOYMENT_TARGET
# be ridiculously conservative with regard to ios features
export IPHONEOS_DEPLOYMENT_TARGET="4.3"
# exit on error
set -e
ME=`basename $0`
DIR="$( cd "$( dirname "$0" )" && pwd )"
SDK_VER="7.0"
#SDK_VE... | tklab-tud/umundo | contrib/build-scripts/build-pcre-ios.sh | Shell | bsd-3-clause | 5,631 |
#!/bin/bash
#set -x
#
# Copyright (c) 2013-2014, Microsoft Mobile
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
... | mabrosim/Haggard | tools/minify.sh | Shell | bsd-3-clause | 2,232 |
#!/bin/bash
usage="\
Usage: $0 <extract|update|compile>
Extract or compile gettext messages."
if [ -z "$1" ]; then
echo "$usage"
elif [ $1 == "extract" ]; then
echo "Extracting messages into the POT template…"
pybabel extract -F configs/babel.cfg -o tzos/translations/messages.pot tzos/ -c l10n -k _l
elif... | julen/tzos | gettext.sh | Shell | bsd-3-clause | 658 |
#!/bin/rshell
#tests commands with single commands
./bin/rshell < single_command
| rrios006/rshell | tests/single_command.sh | Shell | bsd-3-clause | 84 |
#!/bin/bash
source etc/hosts.cfg
for var in $(grep -o "HOSTS_.*=" etc/hosts.cfg|sed 's/=//g'); do
eval qtd="\${#${var}[@]}"
for((i=0;$i<${qtd};i++)); do
eval echo \${${var}[$i]}
done
done
| lborguetti/scripts.utils | GetParameterForVetorList/GetParameterForVetorList.sh | Shell | bsd-3-clause | 195 |
#!/bin/bash
gcc -std=c99 -o main main.c
| sinomiko/project | cpp_project/basic-skills/int2char/exe.sh | Shell | bsd-3-clause | 41 |
#!/bin/bash -e
PLUGIN=infamousPlugins
GIT_URI="https://github.com/BlokasLabs/${PLUGIN} -b gui"
TMP_DIR=/tmp/${PLUGIN}
CMAKE_TOOLCHAIN=$(mktemp /tmp/cmake.toolchain.XXXXXXX)
cat << EOT > $CMAKE_TOOLCHAIN
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_C_COMPILER /usr/bin/arm-linux-gnu... | BlokasLabs/modep | stage5/05-infamousPlugins/01-run-chroot.sh | Shell | bsd-3-clause | 972 |
#!/usr/bin/env bash
#
# Copyright (c) 2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)
export TRAVIS_COMMIT_LOG
OUTDIR=$BASE_O... | myriadteam/myriadcoin | .travis/test_06_script_a.sh | Shell | mit | 1,595 |
java -jar xbox-api-restful-shell-0.0.1-SNAPSHOT.jar | elminsterjimmy/XBoxApi | RESTfulShell/shell/start.sh | Shell | mit | 51 |
#!/bin/bash -x
TEMPLATE_DIR=${CPP_U_TEST}/scripts/templates
LIBRARY=$1
if [ -e ${LIBRARY} ] ; then
echo "The directory ${LIBRARY} already exists"
exit 1;
fi
echo "Copy template project to ${LIBRARY}"
cp -R ${TEMPLATE_DIR}/ProjectTemplate/Project ${LIBRARY}
find ${LIBRARY} -name \.svn | xargs rm -rf
echo "Update t... | Pindar/common-data-structures-in-c | CppUTest/scripts/NewLibrary.sh | Shell | mit | 931 |
#!/bin/bash
python ../weaknet.py -r local -s demo -R 127.0.0.1 -w 1 $@
| vietor/pyweaknet | test/start_local.sh | Shell | mit | 72 |
#!/bin/bash
go clean
go get && go build
./enforcer -tls -addr=0.0.0.0:443
| pandrew/enforcer-base | hack/maketls.sh | Shell | mit | 75 |
@@ -0,0 1,85 @@
#!/bin/bash
#
# This script signs already built AOSP Android jars, and installs them in your local
# Maven repository. See: http://source.android.com/source/building.html for
# more information on building AOSP.
#
# Usage:
# build-android-prebuilt.sh <jar directory path> <android version> <robolectric... | spotify/robolectric | scripts/install-android-prebuilt.sh | Shell | mit | 2,728 |
#!/usr/bin/bash
OUTPUT=$( mktemp ) # no-reboot
find . -type f | grep -v -e runtest.sh -e check-tempfiles.sh -e '.git' -e '\.swp' -e 'src/test' -e '\.pyc' -e 'Build/' | \
xargs grep -e mktemp -e mkstemp -e '/tmp/' | \
grep -v -e "# no-reboot" -e "__INTERNAL_PERSISTENT_TMP" &> $OUTPUT
RC=$?
if [ $RC -eq 0 ]
then
... | petr-muller/beakerlib | check-tempfiles.sh | Shell | gpl-2.0 | 706 |
#!/usr/bin/env bash
#
# audio_menu.sh - Ripping/encode script.
#
# 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.
#
# Th... | ashumkin/MyBashBurn | menus/audio_menu.sh | Shell | gpl-2.0 | 15,527 |
#!/bin/bash -e
# This script is based in subsurface's packaging/windows/mxe-based-build.sh and
# works in the same fashion. Building needs to be done in a directory out of
# the source tree and, please, refer to said script for instructions on how to
# build.
#
# Subsurface *MUST* have been built before running that s... | dirkhh/ssrftest | packaging/windows/smtk2ssrf-mxe-build.sh | Shell | gpl-2.0 | 8,023 |
#!/bin/bash
keep_existing=yes
# Htars 1000 brick files to hpss archive
export backup_dir=htar_backups
# Find all completed bricks
if [ "$NERSC_HOST" == "edison" ]; then
outdir=/scratch1/scratchdirs/desiproc/DRs/data-releases/dr4
else
outdir=/global/cscratch1/sd/desiproc/dr4/data_release/dr4
fi
# Use finished ... | legacysurvey/pipeline | bin/dr4/dr4-htar.sh | Shell | gpl-2.0 | 4,154 |
#!/usr/bin/env bash
#
#
source `dirname $0`/common.sh
TEST_CASE="ATOS deps target"
cat > build.sh <<EOF
gcc -c $SRCDIR/examples/sha1-c/sha.c -o sha.o
gcc -c $SRCDIR/examples/sha1-c/sha1.c -o sha1.o
gcc -o sha1++-c sha.o sha1.o
EOF
$ROOT/bin/atos-init -r "echo user 1" -b "sh ./build.sh"
| atos-tools/atos-utils | tests/test078.sh | Shell | gpl-2.0 | 291 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N Baltic_2_2_4_500_100_0_0_no_no
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/Baltic_2_2_4_500_100_0_0_no_no.json
| OR-Bologna/maritime-vrp | opt/launchers/Baltic_2_2_4_500_100_0_0_no_no.sh | Shell | gpl-3.0 | 308 |
#!/bin/bash
# Torc - Copyright 2011 University of Southern California. All Rights Reserved.
# $HeadURL$
# $Id$
# 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 3 of the
# License... | torc-isi/torc | eclipse/import-projects.sh | Shell | gpl-3.0 | 1,813 |
#!/bin/sh
# Just like p-1, but with an absolute path.
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
# 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 3 of the License, ... | homer6/gnu_coreutils | tests/mkdir/p-2.sh | Shell | gpl-3.0 | 888 |
#!/usr/bin/env bash
# pipe_trim_adaptors.sh
#
#
# Created by Bruno Costa on 18/11/2016
# Copyright 2016 ITQB / UNL. All rights reserved.
#
# Call: pipe_trim_adaptors.sh [LIB_FIRST] [LIB_LAST]
#Name inputs
set -e
LIB_FIRST=$1
LIB_LAST=$2
#Gets the script directory
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ... | forestbiotech-lab/miRPursuit | pipe_trim_adaptors.sh | Shell | gpl-3.0 | 1,510 |
#!/bin/sh
#
# Build all files under directory "build".
#
# This should be invoked at "..", top of the source archive.
#
# argument: any configure options except "--enable-setup=..." is allowed.
#
JULIUS_VERSION=4.3.1
######################################################################
mkdir build
dir=`pwd`
defconf... | ytyeung/Invictus | julius_pi/julius4/support/build-all.sh | Shell | gpl-3.0 | 1,307 |
#!/bin/bash
#
# Transforms Dutch local RWS NWB to INSPIRE TN
#
# Author: Just van den Broecke
#
cd ..
# ./local-to-inspire-tn-ro-sd.sh test/hectopunten.gml test/tn-roadnetwork-points.gml
./local-to-inspire-tn-ro-sd.sh test/wegvakken.gml test/tn-roadnetwork.gml
| justb4/inspire-foss | etl/NL.RWS/TransportNetworks/test/transform.sh | Shell | gpl-3.0 | 269 |
#!/bin/bash
#
# Copyright (c) 2015-2016 Matthew Carter, Ralph M Goodberlet.
#
# This file is part of Zettaknight.
#
# Zettaknight 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 3... | M-Carter/zettaknight | zettaknight.d/ssh_speed_test.sh | Shell | gpl-3.0 | 5,999 |
#!/bin/bash
#SBATCH -N 1
#SBATCH -C haswell
#SBATCH -p regular
#SBATCH -J 0200-relax
#SBATCH --mail-user=majewski@phys.ufl.edu
#SBATCH -t 00:59:00
#SBATCH --mem-per-cpu 128
export OMP_NUM_THREADS=1
export OMP_PLACES=threads
export OMP_PROC_BIND=spread
module load espresso
#for i in 100 200 225 250 273 293; do
... | Altoidnerd/paradichlorobenzene5 | 17.volume_dependence/relax/regular.bash | Shell | gpl-3.0 | 807 |
#!/bin/sh
set -e
CONFIG=$(readlink -f $(dirname $0)/..)
PROGRAM=".mutt"
cd ~
rm -rf $PROGRAM .mailcap
ln -s $CONFIG $PROGRAM
ln -s $CONFIG/.mailcap
| mekanix/dotfiles | mutt/bin/init.sh | Shell | gpl-3.0 | 150 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | j-r0dd/RetroPie-Setup | scriptmodules/libretrocores/lr-mame.sh | Shell | gpl-3.0 | 1,577 |
#!/bin/bash
echo "---------------------------------------------------------------------------------"
echo
echo " S P E C F E M 3 D _ G L O B E - Tests"
echo
echo "---------------------------------------------------------------------------------"
echo "This script runs a set of compilation ... | geodynamics/specfem3d_globe | tests/run_all_tests.sh | Shell | gpl-3.0 | 1,943 |
# Specify the path to the optical flow utility here.
# Also check line 44 and 47 whether the arguments are in the correct order.
# deepflow and deepmatching optical flow binaries
flowCommandLine="bash run-deepflow.sh"
if [ -z "$flowCommandLine" ]; then
echo "Please open make-opt-flow.sh and specify the command line... | cysmith/neural-style-tf | video_input/make-opt-flow.sh | Shell | gpl-3.0 | 1,910 |
#!/bin/bash
set -o errexit
cd $(dirname $0)/..
DBENVS="test
integration"
# posix compliant escape sequence
esc=$'\033'"["
res="${esc}0m"
function print_heading() {
echo
# newline + bold magenta
echo -e "${esc}0;34;1m${1}${res}"
}
function exit_err() {
if [ ! -z "$1" ]; then
echo $1 > /dev/stderr
fi
... | letsencrypt/boulder | test/create_db.sh | Shell | mpl-2.0 | 4,692 |
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,es,ja,pt,ru,zh_CN,zh_TW,vi,th_TH,fa,fr,pt_BR,it,cs,pl_PL
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/es.properties" "$i18n/di... | bisq-network/exchange | core/update_translations.sh | Shell | agpl-3.0 | 1,308 |
#!/bin/bash
# (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project
#
# All Rights Reserved. See copyright.txt for details and a complete list of authors.
# Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
# $Id$
# Script to remove _htaccess which can be browsed u... | oregional/tiki | doc/devtools/removehtaccess.sh | Shell | lgpl-2.1 | 567 |
#!/bin/sh
#
# Build a single large pcm for the entire basic set of ROOT libraries.
# Script takes as optional argument the source directory path.
#
# Copyright (c) 2013 Rene Brun and Fons Rademakers
# Author: Fons Rademakers, 19/2/2013
srcdir=$1
shift
modules=$1
shift
echo
echo Generating the one large pcm for $modul... | benni0815/root | build/unix/makeonepcm.sh | Shell | lgpl-2.1 | 2,596 |
rm -f log/test.log
target=$1
method=$2
if [ -z $method ]
then
ruby -Itest test/unit/${target}_test.rb
else
ruby -Itest test/unit/${target}_test.rb -n $method
fi
| KenichiTakemura/admin.okbrisbane | unit_test.sh | Shell | lgpl-3.0 | 163 |
#!/usr/bin/env bash
set -e
if ! [[ "$0" =~ "tests/rkt-monitor/build-stresser.sh" ]]; then
echo "must be run from repository root"
exit 255
fi
stressers="cpu mem log"
if [ -z "${1}" ]; then
echo Specify one of \""${stressers[@]}"\" or all
exit 1
fi
echo "Building worker..."
make rkt-monitor
acbuildEnd() {... | yifan-gu/rkt | tests/rkt-monitor/build-stresser.sh | Shell | apache-2.0 | 888 |
trap "echo 'FAILED!'; exit 1" ERR
set -x
# cd to the dir of this script, so paths are relative
cd "$(dirname "$0")"
arcyon='../../bin/arcyon'
$arcyon -h
$arcyon comment -h
$arcyon comment-inline -h
$arcyon get-diff -h
$arcyon paste -h
$arcyon query -h
$arcyon raw-diff -h
$arcyon show-config -h
$arcyon update-revisio... | cs-shadow/phabricator-tools | testbed/arcyon/exercise_arcyon.sh | Shell | apache-2.0 | 2,906 |
#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -e
# check for required environment variables
if [ -z "$DOMAIN_NAME" ] ; then
echo "DOMAIN_NAME environment varibale must be set"
exit 1
fi
if [ -z "$EMAIL" ] ; then
echo "EMAIL environment varibale must be set"
exit 1
fi
function ... | mrcnc/spatialconnect-server | web/certbot/run.sh | Shell | apache-2.0 | 839 |
#! /bin/bash
echo "The script for installing DNS using BIND9 starts now!"
currCommand='apt-get install -y bind9 bind9utils bind9-doc'
if [ `whoami` != 'root' ]
then
currCommand="sudo ${currCommand}"
fi
${currCommand}
| anilveeramalli/cloudify-azure-plugin | blueprints/clustered-dns/dns/dns_install.sh | Shell | apache-2.0 | 228 |
#!/bin/bash
#
# 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"); y... | kromulan/ignite | modules/cassandra/src/test/bootstrap/aws/ignite/ignite-bootstrap.sh | Shell | apache-2.0 | 13,470 |
#!/bin/bash
TEST_SNIPPET="$(cat test.jsonnet)"
echo "Python testing Jsonnet snippet..."
OUTPUT="$(python jsonnet_test_snippet.py "${TEST_SNIPPET}")"
if [ "$?" != "0" ] ; then
echo "Jsonnet execution failed:"
echo "$OUTPUT"
exit 1
fi
if [ "$OUTPUT" != "true" ] ; then
echo "Got bad output:"
echo "$O... | lamuguo/jsonnet | python/run_tests.sh | Shell | apache-2.0 | 653 |
#!/bin/bash
# Copyright 2014 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 applic... | wojtek-t/kubernetes | cluster/get-kube.sh | Shell | apache-2.0 | 3,680 |
curl "http://www.codonsoft.net/OOBP/DefaultFonts/3HOURTOUR.eot" -O
curl "http://www.codonsoft.net/OOBP/DefaultFonts/A.C.M.E. EXPLOSIVE.eot" -O
curl "http://www.codonsoft.net/OOBP/DefaultFonts/ARCHITEXT.eot" -O
curl "http://www.codonsoft.net/OOBP/DefaultFonts/BANNER.eot" -O
curl "http://www.codonsoft.net/OOBP/DefaultFon... | chemouna/yui-examples | editor45/fonts/get.sh | Shell | bsd-3-clause | 2,077 |
#!/bin/bash
#Build ctp/lts/ib api
pushd vnpy/api/ctp
bash build.sh
popd
pushd vnpy/api/lts
bash build.sh
popd
pushd vnpy/api/ib
bash build.sh
popd
#Install Python Modules
pip install -r requirements.txt
#Install Ta-Lib
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda confi... | jiangjinjinyxt/vnpy | install.sh | Shell | mit | 432 |
#!/bin/sh
# Example for use of GNU gettext.
# Copyright (C) 2003 Free Software Foundation, Inc.
# This file is in the public domain.
#
# Script for cleaning all autogenerated files.
test ! -f Makefile || make distclean
# Brought in by explicit copy.
rm -f m4/nls.m4
rm -f m4/po.m4
rm -f po/remove-potcdate.sin
# Broug... | jjenki11/blaze-chem-rendering | qca_designer/lib/gettext-0.14/gettext-tools/examples/hello-java-awt/autoclean.sh | Shell | mit | 745 |
APP_ROOT="../../../../../../../160-patch";
if [ $# -gt 0 -a -z "$1" ]; then
APP_ROOT=$1
fi
echo App root here: ${APP_ROOT}
echo
echo 'Note: Ensure that the WSC module ('${APP_ROOT}'/core/wsc) source and classes are up-to-date.'
echo
echo "Metadata..."
echo ' jar...'
p4 edit lib/sfdc_metadatawsdl.jar
echo Before upd... | Simha009/idecore | com.salesforce.ide.api/refresh-api-jars-wsdls.sh | Shell | epl-1.0 | 2,850 |
#!/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 app... | rex-xxx/mt6572_x201 | ndk/build/tools/rebuild-all-prebuilt.sh | Shell | gpl-2.0 | 3,230 |
#!/bin/bash
vert='\e[0;32m'
blanc='\e[0;37m'
jaune='\e[1;33m'
neutre='\e[0;m'
rm *~
HOME_DSM_MAIN_DIR=/ccc/scratch/cont003/gen7165/durochtc/Codes/SPECFEM3Ds/specfem3d/utils/EXTERNAL_CODES_coupled_with_SPECFEM3D/DSM_for_SPECFEM3D/
export HOME_DSM_MAIN_DIR
echo " "
echo "Cleaning this directory, and remove the direct... | kbai/specfem3d | utils/EXTERNAL_CODES_coupled_with_SPECFEM3D/DSM_for_SPECFEM3D/DSM-2-LIGHT_storage_version_using_2D/clean.sh | Shell | gpl-2.0 | 555 |
#!/bin/bash
export QGIS_DEBUG=0
export QGIS_LOG_FILE=/tmp/inasafe/realtime/logs/qgis.log
export QGIS_DEBUG_FILE=/tmp/inasafe/realtime/logs/qgis-debug.log
export QGIS_PREFIX_PATH=/usr/local/qgis-master/
export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python/:`pwd`
export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib
expor... | rukku/inasafe | scripts/make-all-shakemaps.sh | Shell | gpl-3.0 | 1,036 |
#!/bin/bash
#
# batch-wiki.sh: Example batch processing script.
# This script is tailored for processing wikipedia articles.
# The artciles are assumed to have been stripped of html
# markup already.
#
# This script outputs the so-called "compact format" which
# captures the full range of Link Grammar and RelEx output... | keskival/2 | relex/batch-wiki.sh | Shell | gpl-3.0 | 2,019 |
#!/bin/sh
rm -rf '/usr/local/var/postgres'
| creatyvtype/upstage | delete_old_cluster.sh | Shell | apache-2.0 | 44 |
#!/bin/bash
#
# 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"); yo... | astroshim/incubator-zeppelin | bin/interpreter.sh | Shell | apache-2.0 | 8,875 |
#!/bin/sh
#
# Copyright (c) 2015 Angelescu Ovidiu
#
# See COPYING for licence terms.
#
# $FreeBSD$
# $Id: installports.sh,v 1.5 2015/08/19 18:28:56 convbsd Exp $
#
# Install ports listed in the INSTALL_PORTS variable
# in the usual category/portname
# form, e.g.: x11/nvidia-driver audio/emu10kx ...
set -e -u
if [ -z... | asxbsd/ghostbsd-build | scripts/installports.sh | Shell | bsd-2-clause | 1,265 |
#!/bin/bash -e
# author: Hugh French and Fabian Buske
# date: March 2014
echo ">>>>> Count tables from htseqcount output"
echo ">>>>> startdate "`date`
echo ">>>>> hostname "`hostname`
echo ">>>>> job_name "$JOB_NAME
echo ">>>>> job_id "$JOB_ID
echo ">>>>> $(basename $0) $*"
function usage {
echo -e "usage: $(basenam... | aehrc/ngsane | mods/htseqcount_countsTable.sh | Shell | bsd-3-clause | 7,004 |
#!/bin/bash
FN="geneLenDataBase_1.22.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/geneLenDataBase_1.22.0.tar.gz"
"https://bioarchive.galaxyproject.org/geneLenDataBase_1.22.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-genelendatabase/bioconductor-genelend... | Luobiny/bioconda-recipes | recipes/bioconductor-genelendatabase/post-link.sh | Shell | mit | 1,327 |
#!/bin/bash
#
# Developed by Rafael Corrêa Gomes
# Contact rafaelcgstz@gmail.com
#
ready(){
echo "
======================
Executed!
"
}
| Altamir/simplesh | base/message.sh | Shell | mit | 149 |
#!/bin/bash
# Add environment java vars
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export JRE_HOME=/usr/lib/jvm/java-8-oracle
# Download orient
wget -O $HOME/orientdb-community-$ORIENT_VERSION.tar.gz wget http://www.orientechnologies.com/download.php?file=orientdb-community-$ORIENT_VERSION.tar.gz
tar -xzf $HOME/orie... | talib570/spider | CI/orient/install.sh | Shell | mit | 677 |
# Install/unInstall package files in LAMMPS
if (test $1 = 1) then
cp atom_vec_dipole.cpp ..
cp pair_dipole_cut.cpp ..
cp atom_vec_dipole.h ..
cp pair_dipole_cut.h ..
elif (test $1 = 0) then
rm ../atom_vec_dipole.cpp
rm ../pair_dipole_cut.cpp
rm ../atom_vec_dipole.h
rm ../pair_dipole_cut.h
fi
| nchong/icliggghts | src/DIPOLE/Install.sh | Shell | gpl-2.0 | 316 |
#!/bin/sh
# Copyright (C) 1999-2006 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | ipwndev/DSLinux-Mirror | user/imagemagick/src/tests/rwfile_SUN_pallette.sh | Shell | gpl-2.0 | 363 |
#!/bin/sh
# Copyright (C) 1999-2006 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | ipwndev/DSLinux-Mirror | user/imagemagick/src/tests/rwfile_PICT_truecolor10.sh | Shell | gpl-2.0 | 366 |
#!/bin/bash
dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source "${dir}/helpers.bash"
# dir might have been overwritten by helpers.bash
dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
TEST_NAME=$(get_filename_without_extension $0)
LOGS_DIR="${dir}/cilium-files/${TEST_NAME}/logs"
redirect_debug_logs ${L... | eloycoto/cilium | tests/09-perf-gce.sh | Shell | apache-2.0 | 8,116 |
hping3 -c 100 -0 10.0.0.2 -d 12000 -E test.txt
| tashaband/RYU295 | hping_9.sh | Shell | apache-2.0 | 47 |
#!/bin/bash
VERSION=$(nvcc --version | grep release | grep -oEi "release ([0-9]+)\.([0-9])"| sed "s/release //")
if [ "$VERSION" == "9.0" ]; then
DEB="nccl-repo-ubuntu1604-2.1.15-ga-cuda9.0_1-1_amd64.deb"
URL="http://nccl2-deb.gz.bcebos.com/nccl-repo-ubuntu1604-2.1.15-ga-cuda9.0_1-1_amd64.deb"
else
DEB="nccl-repo... | pkuyym/Paddle | tools/manylinux1/build_scripts/install_nccl2.sh | Shell | apache-2.0 | 935 |
#!/bin/bash
# for use this script run
# chmod a+x fakeswap.sh
# and
# sh ./fakeswap.sh 4086
# for adding 4086MB swapsize
SWAP="${1:-512}"
NEW="$[SWAP*1024]"; TEMP="${NEW//?/ }"; OLD="${TEMP:1}0"
umount /proc/meminfo 2> /dev/null
sed "/^Swap\(Total\|Free\):/s,$OLD,$NEW," /proc/meminfo > /etc/fake_meminfo
mount --bi... | tkyryliuk/cibox | files/fakeswap/fakeswap.sh | Shell | bsd-3-clause | 364 |
#!/bin/bash
FN="LRBase.Mmu.eg.db_2.0.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/LRBase.Mmu.eg.db_2.0.0.tar.gz"
"https://bioarchive.galaxyproject.org/LRBase.Mmu.eg.db_2.0.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-lrbase.mmu.eg.db/bioconductor-lrbase.... | phac-nml/bioconda-recipes | recipes/bioconductor-lrbase.mmu.eg.db/post-link.sh | Shell | mit | 1,328 |
#!/bin/sh
INDENT_PROGRAM="uncrustify"
DIR="tools"
CFG="cheese-indent.cfg"
LANG="VALA"
[[ $# -lt 1 ]] && { echo "$0 [files]" 1>&2; exit 1; }
if ! which $INDENT_PROGRAM > /dev/null 2>&1; then
echo "$INDENT_PROGRAM was not found on your computer, please install it"
exit 1
fi
$INDENT_PROGRAM -l $LANG -c $DIR/$CFG -... | Patriciasc/Cheese-GTK-3-Port | tools/indent.sh | Shell | gpl-2.0 | 344 |
#!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='Pathspec restrictions
Prepare:
file0
path1/file1
'
. ./test-lib.sh
. "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash
test_expect_success \
setup \
'echo frotz >file0 &&
mkdir path1 &&
echo rezrov >path1... | tacker66/git | t/t4010-diff-pathspec.sh | Shell | gpl-2.0 | 4,204 |
#!@PERL_PATH@
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This progr... | sensssz/mysql-server | scripts/mysqldumpslow.sh | Shell | gpl-2.0 | 7,462 |
#!/bin/bash
BASEDIR=$(dirname $0)
WARS=`find . -name '*.war' -print`
for i in $WARS
do
asadmin --passwordfile $BASEDIR/gf-password.txt deploy --force $i
done
| Daniel-Dos/ozark | bin/deploy-tests-gf.sh | Shell | apache-2.0 | 165 |
#!/bin/bash
#this script does the following:
#- copies the bgpd.conf file to the Quagga directory of the lxc container
#- turns off the ospf daemon of quagga
#- turns on the bgp daemon of quagga
#- restarts the quagga service
# this file should be run after the necessary bgp configuration has been done
if [ "$EUID"... | ralph-mikera/routeflow5 | rftest/confd_socket/bgp.sh | Shell | apache-2.0 | 605 |
# $NetBSD: t_change.sh,v 1.4 2013/02/19 21:08:25 joerg Exp $
#
# Copyright (c) 2011 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source cod... | veritas-shine/minix3-rpi | tests/net/route/t_change.sh | Shell | apache-2.0 | 2,289 |
#!/bin/bash
assert_ok "$FLOW" get-def --strip-root --json ignore/test.js 3 2
assert_ok "$FLOW" type-at-pos --strip-root --json ignore/test.js 3 2
assert_ok "$FLOW" get-def --strip-root --json no_flow/test.js 3 2
assert_ok "$FLOW" type-at-pos --strip-root --json no_flow/test.js 3 2
| AgentME/flow | tests/contents/test.sh | Shell | bsd-3-clause | 282 |
#!/bin/sh
## (GEN004540: CAT II) The SA will ensure the help sendmail command is
## disabled.
echo '==================================================='
echo ' Patching GEN004540: Disable sendmail help.'
echo '==================================================='
if [ -e /etc/mail/helpfile ]; then
mv /etc/mail/helpfil... | jpschaaf/hardening-script-el6 | scripts/gen004540.sh | Shell | gpl-2.0 | 427 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.