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/sh
echo "PPA repos are going to be installed. Proceed with installation pressing Enter."
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
... | puhitaku/ubuntify | base.sh | Shell | unlicense | 584 |
#!/bin/bash
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | qdk0901/iotjs-openwrt | deps/jerry/tools/git-scripts/push.sh | Shell | apache-2.0 | 3,559 |
#!/bin/bash
# show the usage
if [ $# -ne 5 ]; then
echo "Usage: orion_update_context.sh <orion_host> <orion_port> <auth_token> <chatroom> <message>";
exit 1;
fi
# get the arguments
HOST=$1
PORT=$2
TOKEN=$3
CHATROOM=$4
MSG=$5
# do the append
(curl $HOST:$PORT/v1/updateContext -s -S --header 'X-Auth-Token: $TOKEN' --h... | frbattid/fiware-chatrooms-demo | scripts/orion_update_context.sh | Shell | apache-2.0 | 773 |
#!/bin/sh
# Copyright Istio 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 or agreed to in wr... | istio/istio | pilot/pkg/model/test/testcert/generate.sh | Shell | apache-2.0 | 1,038 |
#!/bin/bash
#
# Runs all tests with Kudu server in docker containers.
#
# ./run_kudu_tests.sh <inferSchemaPrefix>
#
# <inferSchemaPrefix> InferSchema setup: "null" = disabled,
# "" = enabled, using empty prefix,
# "presto::" = en... | wyukawa/presto | presto-kudu/bin/run_kudu_tests.sh | Shell | apache-2.0 | 1,527 |
#!/bin/bash
# Copyright 2018 Verily Life Sciences 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 requ... | DataBiosphere/dsub | test/integration/logging_paths_tasks_setup.sh | Shell | apache-2.0 | 2,915 |
#!/bin/bash
# Copyright 2019 The TensorFlow Authors. 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 require... | petewarden/tensorflow | tensorflow/tools/ci_build/rel/macos/cpu_py38_pip.sh | Shell | apache-2.0 | 1,947 |
#!/bin/bash
#
#clear out all data except seed data from the DW before
# dumping it to update the init sql script:
# (mysqldump --routines -u root mifos_ppi_dw > load_mifos_datawarehouse.sql)
#
#usage: clear_down_dw_tables.sh <DB_NAME>
DB_NAME=$1
mysql -u root ${DB_NAME} < ClearDownDWTables.sql
| mifos/bi | ETL/MifosDataWarehouseETL/clear_down_dw_tables.sh | Shell | apache-2.0 | 296 |
.import /local/data/tpch100g/lineitem/lineitem0000 lineitem
.import /local/data/tpch100g/lineitem/lineitem0001 lineitem
.import /local/data/tpch100g/lineitem/lineitem0002 lineitem
.import /local/data/tpch100g/lineitem/lineitem0003 lineitem
.import /local/data/tpch100g/lineitem/lineitem0004 lineitem
.import /local/... | DaMSL/K3 | tools/ktrace/load_100g.sh | Shell | apache-2.0 | 243,763 |
#!/usr/bin/env bash
#
# Run tests for s3-bash4 commands
# (c) 2015 Chi Vinh Le <cvl@winged.kiwi>
#
# 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... | wingedkiwi/s3-bash4 | test/run.sh | Shell | apache-2.0 | 3,741 |
#!/bin/sh
#
# (c) Copyright 2016 Cloudera, 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 agree... | TobyHFerguson/director-scripts | java8/java8-bootstrap-script.sh | Shell | apache-2.0 | 872 |
#!/bin/sh
wget -O ../native_extension/ane/FreSwift.ane https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.5.2/FreSwift.ane?raw=true
| tuarua/Swift-IOS-ANE | starter_projects/example-mac/get_mac_dependencies.sh | Shell | apache-2.0 | 142 |
#!/usr/bin/env sh
# Script run by Perforce server trigger to authenticate SSO logins.
client_username="$1"
read client_auth_code < /dev/stdin
if [ -z "$client_auth_code" ]; then
echo "No authentication."
exit 1
fi
if [ "$client_auth_code" = "sso pass" ]; then
exit 0
fi
echo "Unauthorized"
exit 1
| groboclown/p4ic4idea | integration-test/src/docker/p4d/server-sso-script.sh | Shell | apache-2.0 | 311 |
#!/bin/bash
#
# Copyright 2012 Marco Vermeulen
#
# 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 applicabl... | nobeans/gvm-cli | src/main/bash/gvm-offline.sh | Shell | apache-2.0 | 868 |
#!/bin/bash
#
# Copyright 2019 Google LLC
#
# 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... | GoogleCloudPlatform/healthcare | fhir/lung-cancer/inference/deploy.sh | Shell | apache-2.0 | 1,812 |
#!/bin/bash -eux
# Install Java 7
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
sudo apt-get -y install oracle-java7-installer
sud... | joescii/pac-infra | java7.sh | Shell | apache-2.0 | 408 |
cd ~/src/sahara
source ~/src/sahara/.tox/venv/bin/activate
echo "Using sahara from: `which sahara`"
echo "Creating Sahara Database (mysql)"
mysql -uroot -Bse "CREATE USER 'sahara'@'localhost' IDENTIFIED BY 'sahara'"
mysql -uroot -Bse "GRANT ALL ON sahara.* TO 'sahara'@'localhost'"
mysql -uroot -Bse "drop database sah... | crobby/stack-init | sahara/sahara-boot.sh | Shell | apache-2.0 | 3,777 |
#!/bin/bash
#
export SPARK_HOME=$HOME/spark
# no need to change these
export SPARK_JOB_DIR=`pwd`
export SPARK_PREFIX=$SPARK_HOME
# Create/append spark configuration in SPARK_JOB_DIR from PBS environments.
# Specific spark configuration can be put into the SPARK_JOB_DIR/conf/* a priori.
# If existing configurati... | ekasitk/spark-on-hpc | oar/examples/spark-multi.sh | Shell | apache-2.0 | 947 |
# [START maps_http_places_autocomplete_amoeba_strict]
curl -L -X GET 'https://maps.googleapis.com/maps/api/place/autocomplete/json?input=amoeba&types=establishment&location=37.76999%2C-122.44696&radius=500&strictbounds=true&key=YOUR_API_KEY'
# [END maps_http_places_autocomplete_amoeba_strict] | googlemaps/openapi-specification | dist/snippets/maps_http_places_autocomplete_amoeba_strict/maps_http_places_autocomplete_amoeba_strict.sh | Shell | apache-2.0 | 293 |
#!/bin/bash
#
# This script provides the command and control utility for the
# GigaSpaces Technologies gs-memcached script.
# The gs-memcached script starts a memcached agent.
MEMCACHED_URL=$1
if [ "${MEMCACHED_URL}" = "" ] ; then
MEMCACHED_URL=/./memcached
fi
"`dirname $0`/puInstance.sh" -properties space embed:... | Gigaspaces/xap-openspaces | bin/gs-memcached.sh | Shell | apache-2.0 | 388 |
#!/bin/bash
set -euo verbose -o pipefail
IFS=$'\n\t'
BOWTIE_DB=/labcommon/db/bowtie2/grch38
SAMPLE_ID=$1
IN_DIR=$2
OUT_FILE_R1=${SAMPLE_ID}_1.fq.gz
OUT_FILE_R2=${SAMPLE_ID}_2.fq.gz
if [ -s ${OUT_FILE_R1} ] || [ -s ${OUT_FILE_R2} ]; then
echo "File ${OUT_FILE_R1} and/or ${OUT_FILE_R2} already exist. Delete file(s) ... | maubarsom/meta_illumina_pipeline | batch_processing/preprocessing/2_filter_pe.sh | Shell | apache-2.0 | 1,110 |
#! /bin/bash
# npm install
grunt clean && grunt concat && grunt uglify
./ichat.sh | i5ting/Collection.js | build.sh | Shell | apache-2.0 | 82 |
#!/bin/bash
#
# Copyright (c) 2013 Charles H Martin, PhD
#
# Calculated Content
# http://calculatedcontent.com
# charles@calculatedcontent.com
#
#TODO: add switch / select based on location
# re-write in ruby
# http://cloud-images.ubuntu.com/releases/precise/release-20120822/
# see http://cloud-images.ubuntu.c... | CalculatedContent/chef-repo | deploy_cloud_master.sh | Shell | apache-2.0 | 962 |
#!/bin/bash
set -e
# Enable tracing if set.
[ -n "$BASH_XTRACEFD" ] && set -x
function _init() {
## All binaries are static make sure to disable CGO.
export CGO_ENABLED=0
## List of architectures and OS to test coss compilation.
SUPPORTED_OSARCH="linux/ppc64le linux/arm64 linux/s390x darwin/amd64 fre... | aead/minio | buildscripts/cross-compile.sh | Shell | apache-2.0 | 955 |
#!/bin/bash
exec > decode-demo.out.txt
find TestData -type f -print | grep -v .DS_Store | grep -v decode-demo |
while read data_file
do
echo $data_file
src/decode-demo < "$data_file"
echo
echo
done
| libamqp/libamqp | decode-demo.sh | Shell | apache-2.0 | 222 |
#!/bin/bash
# "Tom Jerry" is non-option parameters.
# -ab Book -c Cake -d Dog -e Tom Jerry
# "-d Dog -e" will be non-option parameters due to after "Tom".
# -ab Book -c Cake Tom -d Dog -e
# "-d Dog -e" will be non-option parameters due to "--".
# "--" means the end of options part.
# -ab Book -c Cake -- -d Dog -e
s... | djsilenceboy/LearnTest | Shell_Test/commandline_options.sh | Shell | apache-2.0 | 724 |
#!/bin/bash
set -eu
set -o pipefail
SCRIPT_NAME=$(basename $0)
SCRIPT_HOME=$(dirname $0)
BUILD_ONLY=
DEBUG_LOGGING=
HEAT_ENV=
FLAVOR="baremetal"
function show_options {
echo "Usage: $SCRIPT_NAME [options]"
echo
echo "Deploys a baremetal cloud via heat."
echo
echo "Options:"
echo " -h ... | rdo-management/tripleo | scripts/devtest_undercloud.sh | Shell | apache-2.0 | 16,295 |
#!/bin/bash
# ******************************************************************************
# Copyright 2017-2020 Intel Corporation
#
# 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
#
# h... | tensorflow/ngraph-bridge | maint/clang_format_lib.sh | Shell | apache-2.0 | 3,053 |
#!/bin/sh
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2016 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may ... | rdkcmf/rdk-sysint | lib/rdk/diskCleanup.sh | Shell | apache-2.0 | 1,500 |
#!/bin/bash
set -e
set -u
# Set defaults
SCRIPT=$(basename $0)
MY_VERSION="2.1"
MY_CITATION="Hello World example in Bash by Lee Katz"
function usage(){
echo "Usage: $0 [options] run/"
echo "Prints all options to run/SneakerNet/properties.txt"
echo "OPTIONS
--help
--numcpus 1
--debug
--tempdir ''
--fo... | lskatz/SneakerNet | SneakerNet.plugins/sn_helloWorld.sh | Shell | apache-2.0 | 3,163 |
#!/bin/bash
# Show command before executing
set -x
# Exit on error
set -e
# We need to disable selinux for now, XXX
/usr/sbin/setenforce 0
# Get all the deps in
yum -y install \
docker \
make \
git
service docker start
# Build builder image
docker build -t fabric8-ui-builder -f Dockerfile.builder .
mkdir -p ... | pmuir/fabric8-ui | cico_run_tests.sh | Shell | apache-2.0 | 1,016 |
#!/usr/bin/env bash
# Copyright 2017 The Kubernetes Authors 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... | procrypt/kompose | script/release.sh | Shell | apache-2.0 | 8,281 |
#!/bin/bash
#
# Compiles pertinent Closure library files.
# TODO(joeltine): Make strictMissingRequire an error when
# @suppress {missingRequire} works for it.
java -Xmx1G -jar ../closure-compiler-1.0-SNAPSHOT.jar \
-O ADVANCED \
--warning_level VERBOSE \
--jscomp_error='*' \
--jscomp_off=strictMissingRequire... | platinumpixs/google-closure-library | scripts/ci/compile_closure.sh | Shell | apache-2.0 | 970 |
#!/bin/sh
# CheckInputOutputFiles.sh
# buildtools
#
# Copyright 2004-present Greg Hurrell. 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 code must retain the above... | wincent/buildtools | CheckInputOutputFiles.sh | Shell | bsd-2-clause | 3,196 |
#!/bin/sh
if [ $# -lt 2 ] ; then echo "usage: $0 <log> <frame_no> [delta|key] [diff]"; exit 1; fi
logFile="$1"
frameNo=$2
type="delta"
if [ $# -ge 3 ]; then
if [ "$3" -eq "key" ] ; then
type="key"
else
type="delta"
fi
fi
useDiff=0
if [ $# -eq 4 ]; then
if [ $4 -eq "diff" ] ; then
useDiff=1
else
useDiff=... | remap/ndnrtc | cpp/resources/trace-frame.sh | Shell | bsd-2-clause | 635 |
php vendor/crodas/simple-view-engine/cli.php compile lib/crodas/SitemapGenerator lib/crodas/SitemapGenerator/Templates.php -N "crodas\\SitemapGenerator"
| crodas/SitemapGenerator | compile.sh | Shell | bsd-3-clause | 153 |
#!/bin/bash
########################################################################
#
# NOTE: This is a first draft installation script
#
# It is a copy and may not be fully in sync with latest version
#
########################################################################
# RSYNC NOTES
# a = archive, r... | UuqV/HomeworkServerHack | bashScript/INSTALL_HWserver.sh | Shell | bsd-3-clause | 8,796 |
#!/bin/sh -x
#
# This script converts pdf files to jpeg image files. The jpeg filename is
# created using the pdf filename by replacing the "pdf" to "jpg". The resolution
# is 300x300.
#
# Usage: bash pdf2jpeg.sh FILE...
while [ $# -gt 0 ]; do
fullfile=$1
filename=$(basename "$fullfile")
extension="${filename##*... | yfpeng/pengyifan-commons | src/main/scripts/pdf2jpeg.sh | Shell | bsd-3-clause | 520 |
#!/bin/bash
set -e
set -x
if [[ "$(uname -s)" == 'Darwin' ]]; then
if which pyenv > /dev/null; then
eval "$(pyenv init -)"
fi
pyenv activate psutil
fi
python setup.py build
python setup.py develop
coverage run psutil/tests/runner.py --include="psutil/*" --omit="test/*,*setup*"
python psutil/tests... | 0-wiz-0/psutil | .ci/travis/run.sh | Shell | bsd-3-clause | 354 |
#!/bin/bash
for plugin in $(cat packages.txt); do
PLUGIN=$(echo "$plugin" | awk -F == '{print }')
echo "Uninstalling $PLUGIN..."
expect -c "spawn pip uninstall $PLUGIN
expect {
\"Proceed (y/n)?\" {
send \"y\r\n\"
expect {
exit
}
}
... | matthewayne/evernote-sdk-python | lib/uninstall.sh | Shell | bsd-3-clause | 332 |
#!/bin/bash
FILES="*.go"
dorun(){
echo
echo
echo
echo
go test -test.run="upp01"
}
while true; do
inotifywait -q -e modify $FILES
dorun
done
| cpmech/gofem | ele/porous/xmonitor.bash | Shell | bsd-3-clause | 171 |
#!/bin/bash
FN="hugene21sttranscriptcluster.db_8.7.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/hugene21sttranscriptcluster.db_8.7.0.tar.gz"
"https://bioarchive.galaxyproject.org/hugene21sttranscriptcluster.db_8.7.0.tar.gz"
"https://depot.galaxyproject.org/software/biocondu... | roryk/recipes | recipes/bioconductor-hugene21sttranscriptcluster.db/post-link.sh | Shell | mit | 1,552 |
#!/bin/bash
/usr/sbin/sshd
su hduser -c "$HADOOP_HOME/sbin/start-dfs.sh"
su hduser -c "$HADOOP_HOME/sbin/start-yarn.sh"
tail -f $HADOOP_HOME/logs/* | sticksnleaves/docker-hadoop-single-node | services/start-hadoop.sh | Shell | mit | 148 |
#!/bin/bash
# start polipo in background process. If it's running, will be killed and restart new.
function start(){
sudo polipo -c /etc/polipo/config
}
function restart(){
pid=$( pgrep -u root polipo )
[ "$pid" ] && sudo kill "$pid" 2>/dev/null && echo "Process $pid has been killed."
start && sleep 1
newpid=$(... | weaming/dotfiles | shadowsocks/start-polipo.sh | Shell | mit | 390 |
#!/bin/bash
PROFILE=${BEHAT_PROFILE:-"selenium"}
LOGS_PATH=${LOGS_DIR:-"/tmp/sulu"}
if [ -e /tmp/failed.tests ]; then
rm /tmp/failed.tests
fi
touch /tmp/failed.tests
export BEHAT_PARAMS=
php bin/behat --profile $PROFILE
| wachterjohannes/sulu-standard | tests/runtests.sh | Shell | mit | 227 |
#!/bin/bash
detect_platform() {
if [ $(uname | grep 'SunOS') ]; then
echo "SmartOS"
elif [ $(uname | grep 'Linux') ]; then
echo "Linux"
fi
}
project='gonano'
platform=$(detect_platform)
depends=(
net/libfetch
)
packages=(
devel/bmake
pkgtools/bootstrap-mk-files
archivers/bzip2
sysutils/c... | nanobox-io/nanobox-pkgsrc-gonano | .scripts/bootstrap.sh | Shell | mit | 4,863 |
#!/bin/bash
source setup/functions.sh
apt_install python3-flask links duplicity libyaml-dev python3-dnspython python3-dateutil
hide_output pip3 install rtyaml
# Create a backup directory and a random key for encrypting backups.
mkdir -p $STORAGE_ROOT/backup
if [ ! -f $STORAGE_ROOT/backup/secret_key.txt ]; then
$(um... | Toilal/mailinabox | setup/management.sh | Shell | cc0-1.0 | 1,244 |
#!/bin/sh
wp core install --url="$SITE_NAME.$LANDO_DOMAIN" --title="$SITE_TITLE" --admin_user=admin --admin_password=admin --admin_email=admin@example.com --path=/app/wordpress
| leoloso/PoP | webservers/graphql-by-pop/setup/install.sh | Shell | gpl-2.0 | 178 |
#!/bin/sh
SOURCES_DIR=`pwd`
THIRD_PARTY_DIR=$SOURCES_DIR/third_party
LIBAV_DIR=$THIRD_PARTY_DIR/libav
if [ ! -d $THIRD_PARTY_DIR ]; then
mkdir $THIRD_PARTY_DIR
fi
if [ ! -d $LIBAV_DIR ]; then
git clone git://git.libav.org/libav.git $LIBAV_DIR
else
cd $LIBAV_DIR && git pull origin master
fi
./configure
m... | drunknbass/yasem | update_dependencies.sh | Shell | gpl-2.0 | 342 |
#!/bin/bash
python pyBicolorMatrix.py
| noppelmax/boxup_bicolormatrix | run.sh | Shell | gpl-2.0 | 39 |
#!/bin/sh
#
# Copyright (c) 2009 Red Hat, Inc.
#
test_description='Test updating submodules
This test verifies that "git submodule update" detaches the HEAD of the
submodule and "git submodule update --rebase/--merge" does not detach the HEAD.
'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITI... | tacker66/git | t/t7406-submodule-update.sh | Shell | gpl-2.0 | 27,862 |
#! /bin/sh
pyFoamClearCase.py .
rm -f 0/*.gz
blockMesh
changeDictionary
funkySetFields -time 0
| Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder1.7-libraries-swak4Foam | Examples/tests/mappingChannels/prepareCase.sh | Shell | gpl-2.0 | 98 |
#!/bin/bash
dir=$GOPATH/src/go.dedis.ch/cothority
cwd=$PWD
cd $dir/conode
go install
cd $cwd
echo "" > public.toml
for (( n=1; n<=7; n++ )) do
printf "127.0.0.1:77%02d\nConode_$n\nco$n\nY\nY\n" $((70 + 2*$n - 2)) | conode setup
cat "co$n/public.toml" >> public.toml
echo "" >> public.toml
done
cp public... | DeDiS/cothority | external/docker/generate_conode_toml.sh | Shell | gpl-2.0 | 423 |
#!/bin/bash
UPLOADDIR=forupload-revised
if [ -d "$UPLOADDIR" ]; then
echo "Directory '$UPLOADDIR' already exists, remove/rename it and rerun this script"
exit 1
fi
if [ -f "$UPLOADDIR.tgz" ]; then
echo "File '$UPLOADDIR.tgz' already exists, remove/rename it and rerun this script"
exit 2
fi
FILES="\
... | sm88/cs699 | midsem/complaint/prepare-upload-revised.sh | Shell | gpl-2.0 | 1,184 |
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
set -e
srcdir=$(dirname $0)
test -n "$srcdir" && cd "$srcdir"
echo "Updating build configure files for Ultimarc-linux, please wait..."
autoreconf -isf
| philenotfound/Ultimarc-linux | autogen.sh | Shell | gpl-2.0 | 231 |
#!/bin/sh
# Ensure that cp --parents works properly with a preexisting dest. directory
# Copyright (C) 2008-2017 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, ... | adtools/coreutils | tests/cp/parent-perm.sh | Shell | gpl-3.0 | 2,011 |
_esmith_signal-event ()
{
if [ ! $(which $1 2>/dev/null) ]; then return 0; fi
local cur; cur=${COMP_WORDS[$COMP_CWORD]}
case $COMP_CWORD in
1)
COMPREPLY=( $(find /etc/e-smith/events/ -maxdepth 1 -type d \
\( -name 'actions' -prune -o \
-name "$cur*" -printf "%f\n" \)) )
;;
... | NethServer/nethserver-base | root/etc/profile.d/e-smith-lib_compspec.sh | Shell | gpl-3.0 | 2,800 |
#!/bin/sh
#
# srecord - manipulate eprom load files
# Copyright (C) 2001, 2006-2008 Peter Miller
#
# 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 ... | freyc/SRecord | test/00/t0061a.sh | Shell | gpl-3.0 | 1,356 |
#!/bin/sh
###################################################################################################################################
#
# Copyright 2014-2018 IRD-CIRAD-INRA-ADNid
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as p... | SouthGreenPlatform/TOGGLE-DEV | test/allTestModules.sh | Shell | gpl-3.0 | 2,309 |
#!/usr/bin/env bash
set -o errexit
source /tmp/00-settings.sh || true
[[ $(whoami) == 'root' ]] || exec sudo su -c $0 root
cd /
umount -l /mnt/gentoo/dev{/shm,/pts,} || true
umount -l /mnt/gentoo{/boot,/proc,} || true
rm -rf /mnt/gentoo || true
| sikofitt/genstall | genstall.d/99-final.sh | Shell | gpl-3.0 | 246 |
#!/bin/bash
rm -r svg
mkdir svg
for f in *.dia
do
dia -e "svg/`basename "$f" .dia`.svg" "$f"
done
| ubruhin/LibrePCB | dev/diagrams/convert.sh | Shell | gpl-3.0 | 102 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N Baltic_2_2_4_250_5_no_no_60_78
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_250_5_no_no_60_78.json
| OR-Bologna/maritime-vrp | opt/launchers/Baltic_2_2_4_250_5_no_no_60_78.sh | Shell | gpl-3.0 | 308 |
#!/bin/bash
#Run this in the repo root after compiling
#First arg is path to where you want to deploy
#creates a work tree free of everything except what's necessary to run the game
#second arg is working directory if necessary
if [[ $# -eq 2 ]] ; then
cd $2
fi
mkdir -p \
$1/_maps \
$1/icons \
$1/sound... | ToGWtF/yogstation | tools/deploy.sh | Shell | agpl-3.0 | 965 |
#!/bin/bash
# Script for the M4ATX power supply to ensure proper permissions when executing the ROS node
BUS_NUM=$((lsusb | grep "04d8:d001 Microchip Technology, Inc.") | awk '{print $2}')
DEV_NUM=$(((lsusb | grep "04d8:d001 Microchip Technology, Inc.") | awk '{print $4}') | cut -c 1-3)
LOCATION="/dev/bus/usb/${BUS_N... | GT-RAIL/m4atx_battery_monitor | scripts/m4atx_permissions.bash | Shell | lgpl-3.0 | 359 |
#!/bin/bash
#
# This is job step0_0
#
#
## Start of header for backend 'local'.
#
set -e
set -u
ENVIRONMENT_DIR='.'
#
# Variables declared in MOLGENIS Compute headers/footers always start with an MC_ prefix.
#
declare MC_jobScript="step0_0.sh"
declare MC_jobScriptSTDERR="step0_0.err"
declare MC_jobScriptSTDOUT="ste... | molgenis/molgenis-compute | molgenis-compute-core/src/test/resources/expected/testExtraVariable/step0_0.sh | Shell | lgpl-3.0 | 5,813 |
#!/bin/bash
set -e
function logInToPaas() {
local redownloadInfra="${REDOWNLOAD_INFRA}"
local ca="PAAS_${ENVIRONMENT}_CA"
local k8sCa="${!ca}"
local clientCert="PAAS_${ENVIRONMENT}_CLIENT_CERT"
local k8sClientCert="${!clientCert}"
local clientKey="PAAS_${ENVIRONMENT}_CLIENT_KEY"
local k8sClientKey="${!clientKe... | k0chan/spring-cloud-pipelines | buildSrc/src/test/resources/project_customizer/common/src/main/bash/pipeline-k8s.sh | Shell | apache-2.0 | 26,388 |
#/bin/env bash
if [ ! -z "$*" ]; then
$@ 2>&1 | while read line;do
echo $(date +"%T") $line
done
exit ${PIPESTATUS[0]}
else
while read line;do
echo $(date +"%T") $line
done
echo ret $?
fi | reasonerjt/harbor | tests/showtime.sh | Shell | apache-2.0 | 201 |
sudo rpm -Uvh thingsboard-2.5.4pe.rpm
| volodymyr-babak/thingsboard.github.io | docs/user-guide/install/pe/resources/2.5.4pe/thingsboard-centos-installation.sh | Shell | apache-2.0 | 38 |
# Make sure you create a directory where you want to keep your log files in this case (~/log)
cd ~/log && mv score.log score`date +"%Y_%m_%d"`.log && touch score.log | Sage-Bionetworks/SynapseChallengeTemplates | python/scorelog_update.sh | Shell | apache-2.0 | 165 |
#!/bin/bash
# Copyright 2020 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | CloudVLab/professional-services | tools/webhook-ingestion-pipeline/tear_down.sh | Shell | apache-2.0 | 931 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$BASH_SOURCE")/.."
rm -rf vendor/
source 'hack/.vendor-helpers.sh'
# the following lines are in sorted order, FYI
clone git github.com/Azure/go-ansiterm 70b2c90b260171e829f1ebd7c17f600c11858dbe
clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among ... | Collinux/docker | hack/vendor.sh | Shell | apache-2.0 | 4,181 |
#! /bin/bash
set -eo pipefail
PUBDIR="$SAFEDIR"
KEYDIR="$SAFEDIR"
PATH="$PATH:$SCION_ROOT/bin"
. "$PLAYGROUND/crypto_lib.sh"
cd $SAFEDIR
stop_docker || true
start_docker
for loc in {bern,geneva}
do
echo "Preparation: $loc"
if [ "$loc" = "bern" ]; then
IA="1-ff00:0:110"
else
IA="1-ff00:0... | netsec-ethz/scion | go/pkg/trust/dbtest/testdata/update_certs.sh | Shell | apache-2.0 | 1,980 |
#!/bin/bash
PASSWORD_CLASS=org.eclipse.jetty.util.security.Password
if [[ $(ls /opt/apigee/edge-gateway/lib/thirdparty/jetty-util-8*.jar 2> /dev/null) ]] ; then
PASSWORD_CLASS=org.eclipse.jetty.http.security.Password
fi
java -cp "${APIGEE_ROOT:-/opt/apigee}/edge-gateway/lib/thirdparty/*" $PASSWORD_CLASS "$1" 2>&1... | apigee/ansible-install | roles/apigee-tls-ms/scripts/generate_obf.sh | Shell | apache-2.0 | 337 |
#!/bin/bash
# Copyright 2017 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 ... | shiywang/kubernetes | cluster/common.sh | Shell | apache-2.0 | 50,108 |
#!/bin/bash
VERSION=$(python setup.py --version)
PREFIX=holland-${VERSION}
TARBALL=${PREFIX}.tar.gz
git archive --prefix=${PREFIX}/ HEAD | gzip -n -9 > ${TARBALL}
| m00dawg/holland | scripts/make_release.sh | Shell | bsd-3-clause | 164 |
#!/bin/sh
make TARGET=debug clean
make TARGET=debug all
| dunarel/dunphd-thesis | Chapter5/Main/hgt-qfunc.v.0.5.2/make.sh | Shell | bsd-3-clause | 58 |
#!/bin/sh
arch=x86_64
pkg=emboss
version=6.6.0
build_deps="libc6-dev zlib1g-dev libncurses5-dev"
urls="
ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${version}.tar.gz
"
apt-get -qq update &&
apt-get install --no-install-recommends -y $build_deps &&
mkdir /build &&
cd /build &&
( for url in $urls; do
... | natefoo/starforge | emboss/build.sh | Shell | mit | 740 |
#!/usr/bin/env bash
# Copyright (c) 2014 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Test marking of spent outputs
# Create a transaction graph with four transactions,
# A/B/C/D
# C spends A
# D ... | biton-project/moneta-0.10.0 | qa/rpc-tests/conflictedbalance.sh | Shell | mit | 3,481 |
#!/bin/bash
CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
EXTERNAL_DIR=${CURR_DIR}/../external
INSTALL_DIR=${CURR_DIR}/../external/install
if [ -d ${EXTERNAL_DIR}/RapMap ] ; then
rm -fr ${EXTERNAL_DIR}/RapMap
fi
if [ -d ${INSTALL_DIR}/include/rapmap ] ; then
rm -fr ${INSTALL_DIR}/include/rapmap
... | COMBINE-lab/quark | scripts/fetchRapMap.sh | Shell | gpl-3.0 | 1,262 |
#!/usr/bin/env bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Copyright (c) 2014 Mozilla Corporation
#
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source... | DaneTheory/MozDef | cron/esMaint.sh | Shell | mpl-2.0 | 460 |
#!/bin/bash
###################### COPYRIGHT/COPYLEFT ######################
# (C) 2016 Intel Deutschland GmbH
# Author: Michael Soegtrop
#
# Released to the public by Intel under the
# GNU Lesser General Public License Version 2.1 or later
# See https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
##############... | letouzey/coq-wip | dev/build/windows/difftar-folder.sh | Shell | lgpl-2.1 | 2,447 |
#!/bin/sh
set -e
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk add --update \
linux-headers \
liberasurecode@testing \
liberasurecode-dev@testing \
gnupg \
git \
curl \
rsync \
memcached \
openssl \
openssl-dev \
sqlite \
sqlite-libs \
sqlite-d... | openstack/swift | docker/install_scripts/10_apk_install_prereqs.sh | Shell | apache-2.0 | 441 |
#!/bin/bash
script/jruby -S rake db:reset db:seed
| varshavaradarajan/functional-tests | gadget_renderer/db_reset.sh | Shell | apache-2.0 | 50 |
# install various tools that are useful for development
yum -y install gcc make gcc-c++ kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel sqlite-devel perl wget dkms nfs-utils
| scheuk/packer-rhel | scripts/development.sh | Shell | apache-2.0 | 190 |
#!/bin/bash
# Copyright 2019 The TensorFlow Authors. 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 require... | gunan/tensorflow | tensorflow/tools/ci_build/release/macos/cpu_py35_full/pip.sh | Shell | apache-2.0 | 1,984 |
#!/bin/bash
STREAM=../stream_power
BANKS=16
CAPACITY=8
LINKS=8
BSIZE=64
QDEPTH=64
XDEPTH=128
VAULTS=64
#NRQSTS=134217728
NRQSTS=33554432
#NRQSTS=4096
DRAMS=20
THREADS=16
SIMD=8
echo "Executing : $STREAM -b $BANKS -c $CAPACITY -l $LINKS -m $BSIZE -n 1 -q $QDEPTH -x $XDEPTH\
-d $DRAMS -v $VAULTS -N $NRQSTS -T $THREA... | tactcomplabs/gc64-hmcsim | test/stream_power_tecplot/scripts/8link_8GB_stream.sh | Shell | bsd-2-clause | 469 |
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
TAG="${CIRRUS_TAG:-latest}"
# Starts an interactive docker container with a bash shell running in it, and
# attaches the user's shell to ... | Hixie/flutter | dev/ci/docker_linux/docker_attach.sh | Shell | bsd-3-clause | 427 |
yuidoc js/ -o doc/ -t yuidoc-theme/yuidoc-theme-blue/
| sitepoint-editors/MootorFrameworkApp_Part1 | source/build-doc.sh | Shell | mit | 54 |
mysqldump -u ${Username} --password=${Password} --all-databases ${Options} > ${File Path} | CA-ReleaseAutomation/ca-ra-mysql-pack | src/mysql/MySQLBackupAllDatabases1415599639582.sh | Shell | epl-1.0 | 89 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# cp configures/configure.in.new ./configure.in
srcdir=`dirname $0`
DIE=0
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to."
echo "Download the appropriate package for your distr... | vicamo/cndrvcups-lb | ppd/autogen.sh | Shell | gpl-2.0 | 4,543 |
#!/bin/sh
# Copyright (C) 2015 Curt Brune <curt@cumulusnetworks.com>
#
# SPDX-License-Identifier: GPL-2.0
#
# Script to create a tarball of "ONIE tools", which are made available
# to the NOS.
#
arch=$1
tools_dir=$2
output_file=$3
sysroot=$4
shift 4
# The tools originate from two locations:
#
# 1. Some CPU a... | InterfaceMasters/onie | build-config/scripts/onie-mk-tools.sh | Shell | gpl-2.0 | 1,738 |
#! /bin/sh
# Copyright (C) 2009-2013 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 2, or (at your option)
# any later version.
#
# This program ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/maken3.sh | Shell | gpl-2.0 | 4,478 |
#!/bin/sh
#
# test program for fiwalk
IMG=/corp/drives/nps/nps-2009-canon2/nps-2009-canon2-gen5.raw
if [ ! -r $IMG ] ; then
echo ERROR: $IMG not on this system
echo Cannot perform this test.
exit 0
fi
/bin/rm -f gen5.xml
ficonfig=../plugins/ficonfig.txt
if [ ! -r $ficonfig ] ; then
ficonfig=$srcdir/../plugin... | Cisco-Talos/pyrebox | sleuthkit/tools/fiwalk/src/test_fiwalk.sh | Shell | gpl-2.0 | 748 |
#!/bin/sh
#
# Copyright (C) 2001, 2004, 2007, 2012, 2016 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# $Id: setup.sh,v ... | pecharmin/bind9 | bin/tests/system/glue/setup.sh | Shell | mpl-2.0 | 387 |
# Aliases
alias g='git'
compdef g=git
alias gst='git status'
compdef _git gst=git-status
alias gd='git diff'
compdef _git gd=git-diff
alias gdc='git diff --cached'
compdef _git gdc=git-diff
alias gl='git pull'
compdef _git gl=git-pull
alias gup='git pull --rebase'
compdef _git gup=git-fetch
alias gp='git push'
compdef ... | timsuchanek/oh-my-zsh | plugins/git/git.plugin.zsh | Shell | mit | 4,744 |
#!/bin/sh
echo "dn: ou=eng,dc=tenant2,dc=com"
echo "changetype: delete"
echo ""
for i in {1..10}
do
echo "dn: cn=John-$i,ou=eng,dc=tenant2,dc=com"
echo "changetype: delete"
echo ""
done
echo "dn: ou=eng,dc=tenant2,dc=com"
echo "changetype: delete"
echo ""
echo "dn: cn=administrator,cn=users,dc=tenant2,dc=c... | schatt/lightwave | vmdir/testing/acl_tests/generate_data_tenant2_del.sh | Shell | apache-2.0 | 873 |
#!/bin/bash
set -e -x
cd /app
composer install --prefer-dist --no-interaction --optimize-autoloader
./init --env=${APP_ENV:-Production} --overwrite=y
./yii migrate --interactive=0
function setEnvironmentVariable() {
if [ -z "$2" ]; then
echo "Environment variable '$1' not set."
return
... | okiter/getyii | docker-files/run.sh | Shell | bsd-3-clause | 736 |
#!/usr/bin/env bash
#
# NOTE: The working directory should be the main capp directory when this script is run
#
# $1 Cappuccino documentation directory
# Do this if you want to use the utility functions
source "$1"/support/processor_setup.sh
markdown=`which markdown`
if [ -n "$markdown" ]; then
processor_msg "Ma... | i5ting/mdpreview | vendor/cappuccino/Tools/Documentation/preprocess/001.markdown_readme.sh | Shell | mit | 755 |
#!/bin/bash
#/*
# Copyright 2009-2013 by The Regents of the University of California
# 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 from
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | sjaco002/incubator-asterixdb-hyracks | hyracks/hyracks-dist/src/main/resources/bin/startcc.sh | Shell | apache-2.0 | 1,809 |
#!/bin/sh
#
# Copyright 2005-2010 Intel Corporation. All Rights Reserved.
#
# This file is part of Threading Building Blocks.
#
# Threading Building Blocks is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Founda... | bamos/parsec-benchmark | pkgs/libs/tbblib/src/build/test_launcher.sh | Shell | bsd-3-clause | 1,645 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.