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
if [ $# -lt 1 ]; then
cat <<EOF
Usage: blackbox_group.sh PREFIX
EOF
exit 1;
fi
PREFIX="$1"
shift 1
. `dirname $0`/../../../testprogs/blackbox/subunit.sh
rm -rf $PREFIX/simple-dc
mkdir -p $PREFIX
testit "simple-dc" $PYTHON $BINDIR/samba-tool domain provision --server-role="dc" --domain=FOO --realm=foo.exa... | kernevil/samba | source4/setup/tests/blackbox_group.sh | Shell | gpl-3.0 | 16,455 |
#!/bin/bash
pushd `dirname $0` > /dev/null
java -jar DeepInspector.jar
popd > /dev/null
| mInternauta/Nermis | src/mInternauta.Nermis.DeepInspector/start.sh | Shell | gpl-3.0 | 88 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YNL301C --paralog2 YOL120C --simnum 49 > YNL301C_YOL120C_MG94_nonclock_Sim49_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YNL301C_YOL120C_sim49.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash
###
### Script to upgrade Atlassian Stash.
### It shows the diffs of the common configuration files and asks to copy files from the old instance
###
## Usage:
## ./upgrade-stash.sh <old-dir> <new-dir>
## Example:
## ./upgrade-stash.sh stash stash-5.2-standalone
## Suggestions:
## stash - should be a symlink... | warden/linux | upgrade-stash.sh | Shell | gpl-3.0 | 2,026 |
#!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
Usage: blackbox_upgradeprovision.sh PREFIX
EOF
exit 1;
fi
PREFIX="$1"
shift 1
. `dirname $0`/subunit.sh
if [ ! -d $PREFIX/upgradeprovision_full ]; then
$PYTHON $SRCDIR/source4/setup/provision --host-name=bar --domain=FOO --realm=foo.example.com --targetdir="$PREFIX/upgrade... | gwr/samba | testprogs/blackbox/renamedc.sh | Shell | gpl-3.0 | 837 |
#!/usr/bin/env bash
if [ $# != 1 ]; then
echo "***ERROR*** Use: $0 fastaFilesExtension"
exit -1
fi
array=()
x=0
EXT=$1
BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
for elem in $(ls -d ./*.$EXT | awk -F "/" '{print $NF}' | awk -F ".$EXT" '{print $1}')
do
array[$x]=$elem
x=`expr $x + 1`
done
for (... | oscartt89/hpc-excelerate | day2/gecko-parallel-external/bin/generateDictionariesWorkload.sh | Shell | gpl-3.0 | 424 |
#!/bin/bash
COUNTER=1
while(true) do
./javid.sh
let COUNTER=COUNTER+1
done
| JavidTeam/TeleJavid | auto.sh | Shell | gpl-3.0 | 76 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/instances/11_2_workflow_full_10files_secondary_wmj_3sh_3rs_with_annot_with_proj_3s_hash/dags/ubuntu/pegasus/example_workflow/20161109T025718+0000/00/00/generalinfo_0_ID0000002.sh | Shell | gpl-3.0 | 1,243 |
#!/usr/bin/env bash
set -e
base_name="dcma_build_base_arch"
commit_id=$(git rev-parse HEAD)
clean_dirty="clean"
sstat=$(git diff --shortstat)
if [ ! -z "${sstat}" ] ; then
clean_dirty="dirty"
fi
build_datetime=$(date '+%Y%m%_0d-%_0H%_0M%_0S')
reporoot=$(git rev-parse --show-toplevel)
cd "${reporoot}"
time s... | hdclark/DICOMautomaton | docker/build_bases/arch/build.sh | Shell | gpl-3.0 | 575 |
#!/bin/bash
# git-etc simple daemon written on BASH for monitoring changes in files
# Copyright (C) 2013 Evgeniy Alekseev
#
# 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; ei... | arcan1s/git-etc | sources/ctrlconf.sh | Shell | gpl-3.0 | 2,119 |
#!/bin/bash
# OpenRA packaging script for macOS
command -v curl >/dev/null 2>&1 || { echo >&2 "macOS packaging requires curl."; exit 1; }
command -v markdown >/dev/null 2>&1 || { echo >&2 "macOS packaging requires markdown."; exit 1; }
if [[ "$OSTYPE" != "darwin"* ]]; then
command -v cmake >/dev/null 2>&1 || { echo ... | WolfGaming/OpenRA | packaging/osx/buildpackage.sh | Shell | gpl-3.0 | 4,190 |
#!/bin/bash
host='www.andreaciceri.altervista.org'
user='andreaciceri'
echo -n 'FTP password: '
read -s pass
echo 'Ok'
rm -R blog/output/*
rm -R static/blog/*
git add *
git commit -m 'Automatic push'
git push origin master
make html -C blog/
cp -R blog/output/* static/blog/
lftp -c "
set ssl:verify-certificat... | andrea96/site | push.sh | Shell | gpl-3.0 | 418 |
#!/bin/bash
MYPWD=${PWD}
#Setup variable
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CPL_PATH=${DIR}/../../
export CPL_PATH
#Build cpp codes
cd ${DIR}/cpp
rm -rf md cfd
./build.sh
#Build fortran code
cd ${DIR}/fortran
rm -rf md cfd
./build.sh
#Setup python paths
source ${CPL_PATH}/SOURCEME.sh
#Try all ... | Crompulence/cpl-library | examples/sendrecv_globcell/test_all_port.sh | Shell | gpl-3.0 | 1,133 |
#!/bin/ash
set -e
#declare build and runtime dependencies here
BUILDDEPS="autoconf libtool gcc automake make musl-dev git libsodium-dev linux-headers openssl"
RUNDEPS="libsodium libconfig-dev dumb-init"
#directory for temporary build files
TEMPDIR="/tmp/tox"
#location of the unifnished tox-bootstrapd config file (tha... | casept/dockerfiles | armhf/build/tox-relay/install.sh | Shell | gpl-3.0 | 1,661 |
#!/bin/sh
#shell script saved in /usr/local/iptables
IPTABLES=/sbin/iptables
IP6TABLES=/sbin/ip6tables
MODPROBE=/sbin/modprobe
INT_NET=192.168.179.0/24
EXT_NET=10.0.1.5
SER_NET=192.168.200.192
DMZ_INTF=eth1
INT_INTF=eth2
EXT_INTF=eth0
#---------------------------------------------------------------------
echo "[+] Se... | voilet7z/iptables | firewall.sh | Shell | gpl-3.0 | 7,853 |
#!/bin/bash
mvn clean install
| glotaran/glotaran-kernel | travis-build-maven.sh | Shell | gpl-3.0 | 32 |
#!/bin/bash
GRAPHFILE=alcove_graph
jgraph < $GRAPHFILE.jgr > $GRAPHFILE.eps
evince $GRAPHFILE.eps
| jlphillipsphd/tdalcove | view.bash | Shell | gpl-3.0 | 102 |
#!/bin/bash
# requires vobcopy: sudo apt-get install vobcopy
vobcopy -i /dev/dvd -o ~/ -l
| kernt/linuxtools | gnome3-shell/nautilus-scripts/applications/multimedia/Convert-To/Dvd2Vob.sh | Shell | gpl-3.0 | 91 |
#!/bin/bash
java -cp .:lib/dxfeed-samples.jar:lib/qds.jar:lib/dxfeed-ondemand.jar com.dxfeed.sample.ui.swing.DXFeedQuoteTableOnDemand | Devexperts/QD | dxfeed-samples/files/ui_quotetable_ondemand.sh | Shell | mpl-2.0 | 134 |
#!/bin/sh
# 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/.
set -e
rm -rf .virtualenv
mkdir .virtualenv
cd .virtualenv
virtualenv --no-site-packages .
cd ..
.virtualenv/bi... | khchen428/witness | bootstrap-dev.sh | Shell | mpl-2.0 | 358 |
#!/usr/bin/env bash
apt-get update
apt-get install -y ghc ghc-prof libghc-random-dev libghc-http-dev
| FSBaerchen/waschiclient-hs | bootstrap.sh | Shell | agpl-3.0 | 102 |
#!/bin/sh
#################################################################
# #
# Copyright 2013 Fidelity Information Services, Inc #
# #
# This source code contains the intellectual property #
# of its copyright holder(s), and is made available #
# under a license. If you do not know the terms of #
# th... | nars1/YottaDBtest | com/gencert.sh | Shell | agpl-3.0 | 6,260 |
#!/bin/bash
# Source: https://github.com/DiscordHooks/travis-ci-discord-webhook
if [ -z "$2" ]; then
echo -e "WARNING!!\nYou need to pass the WEBHOOK_URL environment variable as the second argument to this script.\nFor details & guide, visit: https://github.com/DiscordHooks/travis-ci-discord-webhook" && exit
fi
ech... | napstr/wolfia | travis/discord_webhook.sh | Shell | agpl-3.0 | 2,610 |
#!/bin/sh
#define MPGEDIT_VERSION "0.72 beta2"
# MAJ--^ ^ ^ ^--CKPT
# MIN-----+ |
# +-----RELTYPE
#
#
#define XMPGEDIT_VERSION "0.10 beta2"
# ^ ^ ^ ^
# | | | |
# XMAJ--+... | gusrc/mpgedit | dist_parse_version.sh | Shell | lgpl-2.1 | 3,863 |
#!/bin/bash
# Helper script for building the DALiuGE Ray docker image.
# For more details please refer to the Dockerfile
docker build --no-cache -t icrar/dlg_ray:1.5 .
| steve-ord/daliuge | build_dlg_ray.sh | Shell | lgpl-2.1 | 169 |
#!/bin/bash
### START CONFIG #################################################
#Have wget installed...
#FULL system path to video recording directory
VIDEO_DIR="/home/YOUR_USERNAME_HERE/path/to/recordings/"
#Video file name to save as
VIDEO_FILE="webcam_recording.asf"
#Foscam username
USER="USERNAME_HERE"
#Foscam... | taoteh1221/DFD_Webcam_Archives | cron/start-seccam.bash | Shell | lgpl-2.1 | 632 |
#!/bin/bash
echo "const char* sc_BuiltinConfig = \"\\"
cat idmapper_builtin_config.ini |
sed -e 's/$/ \\n\\/'
echo "\";"
| kyungtaekLIM/PSI-BLASTexB | src/ncbi-blast-2.5.0+/c++/src/objtools/readers/update_builtin_config.sh | Shell | lgpl-3.0 | 123 |
#!/bin/bash
################################################################################
# Bashor Framework
#
# LICENSE:
# This software is released under the GNU Lesser General Public License version 3.
# http://www.gnu.org/licenses/lgpl-3.0.txt
#
# Copyright 2013 the bashor project authors. All rights reserved.
#... | killmag10/bashor | lib/Bashor/Code/Coverage/File/Line.sh | Shell | lgpl-3.0 | 1,322 |
# Make it easier to cd into go workspace
export CDPATH=$GOPATH/src/github.com:$GOPATH/src/code.google.com/p
| malston/sprout-wrap | site-cookbooks/malston/templates/default/bash_it/path.bash | Shell | unlicense | 108 |
#!/bin/bash
. $(dirname ${0})/nudge_api.sh
echo "-- list applications --"
doRequest GET apps
| NudgeApm/api-examples | list_apps.sh | Shell | unlicense | 95 |
#!/bin/bash
# Inspired by nnoell
CRIT="#99cc66"
BAR_FG="#3955c4"
BAR_BG="#363636"
DZEN_FG="#9d9d9d"
DZEN_FG2="#444444"
DZEN_BG="#020202"
COLOR_SEP=$DZEN_FG2
FONT="-*-montecarlo-medium-r-normal-*-11-*-*-*-*-*-*-*"
seperator() {
echo -n " ^fg($COLOR_SEP)|^fg()"
return
}
printVolInfo() {
Perc=$(amixer get M... | Lykathia/.dotfiles | conky/dzen_ncmpcpp.sh | Shell | unlicense | 1,061 |
#!/bin/bash
umask 000
python /opt/sickrage/SickBeard.py --datadir /config/ --config /config/config-real.ini
| marcelowa/docker-sickrage | run.sh | Shell | unlicense | 109 |
#!/bin/bash
/kolla-ansible/tools/kolla-ansible -i /etc/kolla-ansible-docker/inventory $@
| ya790206/kolla-ansible-docker | scripts/deploy.sh | Shell | apache-2.0 | 89 |
#!/bin/bash
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
if [ -z "$SOURCE_DIRECTORY" ]; then
SOURCE_DIRECTORY="."
fi
./fsa_lookup_test_app __testfsa__.__fsa__ < $SOURCE_DIRECTORY/testinput.txt > lookup_test.output
diff lookup_test.output $SOURCE_DI... | vespa-engine/vespa | fsa/src/alltest/lookup_test.sh | Shell | apache-2.0 | 344 |
#!/bin/bash -
#####################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance wi... | senugala/lis-test | WS2012R2/lisa/remote-scripts/ica/utils.sh | Shell | apache-2.0 | 54,129 |
#!/bin/bash
source /opt/cpm/bin/common_lib.sh
NAMESPACE=${HOSTNAME?}
if [[ -v PGDATA_PATH_OVERRIDE ]]
then
NAMESPACE=${PGDATA_PATH_OVERRIDE?}
fi
# Set default pgbackrest env vars if not explicity provided
set_pgbackrest_env_vars() {
if [[ ! -v PGBACKREST_STANZA ]]
then
export PGBACKREST_STANZA="... | the1forte/crunchy-containers | bin/postgres/pgbackrest.sh | Shell | apache-2.0 | 4,046 |
#!/usr/bin/env bash
#
# Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
#
# This file is part of Orfeo Toolbox
#
# https://www.orfeo-toolbox.org/
#
# 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 ... | orfeotoolbox/OTB | Utilities/Maintenance/TravisBuild.sh | Shell | apache-2.0 | 3,299 |
#!/bin/bash
set -eu
if [ "`cat /etc/sysctl.conf | grep net.core.rmem_max`" = "" ]; then
echo 'net.core.rmem_max = 782237696' >> /etc/sysctl.conf
sysctl -p
else
sed -i -e "s/net.core.rmem_max = \(.*\)/net.core.rmem_max = 782237696/g" /etc/sysctl.conf
sysctl -p
fi
| cretaceous-creature/jsk_mbzirc_task3 | jsk_network_tools/scripts/expand_udp_receive_buffer.sh | Shell | apache-2.0 | 281 |
#!/bin/bash
set -e
[ "$1" = "--skip-go-test" ] || go test ./...
export IMPLEMENTATION=golang
(cd jsonnet; go build)
export DISABLE_LIB_TESTS=true
export DISABLE_FMT_TESTS=true
export DISABLE_ERROR_TESTS=true
export JSONNET_BIN="$PWD/jsonnet/jsonnet"
git submodule update --recursive cpp-jsonnet
cd cpp-jsonnet
exec... | sebgoa/kubeless | vendor/github.com/google/go-jsonnet/tests.sh | Shell | apache-2.0 | 332 |
#!/bin/sh
# https://help.github.com/articles/changing-author-info/
# git push --force --tags origin 'refs/heads/*'
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
... | triplekiller/dotfiles | cmd/git-author-rewrite.sh | Shell | apache-2.0 | 593 |
#!/bin/sh
# Copyright (C) 2010-2013 OpenWrt.org
. /lib/functions/leds.sh
. /lib/ramips.sh
get_status_led() {
case $(ramips_board_name) in
3g-6200n)
status_led="edimax:green:power"
;;
3g300m | w150m)
status_led="tenda:blue:ap"
;;
ar725w)
status_led="ar725w:green:power"
;;
awapn2403)
status_led="asia... | Akagi201/openwrt-tor | etc/diag.sh | Shell | apache-2.0 | 3,593 |
#!/usr/bin/env bash
# Copyright 2019 The Knative 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 ... | knative/operator | hack/generate-yamls.sh | Shell | apache-2.0 | 3,309 |
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
# default to a dark color scheme
source-file $HOME/.misc/tmux/theme-dark.conf
if-shell '[ -x "$HOME/bin/color-mode-for-term" ] && [ "$($HOME/bin/color-mode-for-term)" = "light" ]' \
'source-file $HOME/.misc/tmux/theme-light.conf... | antontsv/.files | .misc/tmux/theme.sh | Shell | apache-2.0 | 739 |
#!/bin/bash
set -e
# Updates the version for all droolsjbpm repositories
initializeScriptDir() {
# Go to the script directory
cd `dirname $0`
# If the file itself is a symbolic link (ignoring parent directory links), then follow that link recursively
# Note that scriptDir=`pwd -P` does not do that and... | wmedvede/droolsjbpm-build-bootstrap | script/release/update-version-all.sh | Shell | apache-2.0 | 5,899 |
#!/bin/bash
{# Copyright 2017 Cargill Incorporated
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 l... | Cargill/pipewrench | templates/shared/hdfs-unarchive.sh | Shell | apache-2.0 | 774 |
#!/bin/bash
set -e
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-cinder.sh
. /opt/kolla/volume-group-create.sh
check_required_vars CINDER_VOLUME_API_LISTEN ISCSI_HELPER ISCSI_IP_ADDRESS \
CINDER_VOLUME_GROUP CINDER_LVM_LO_VOLUME_SIZE \
CINDER_VOLUME_BACKEND_NAME CINDER_VOLU... | meticulo3366/kolla | docker/common/cinder-app/cinder-volume/config-internal.sh | Shell | apache-2.0 | 2,447 |
#!/bin/bash -xe
#FIXME(sileht): remove me when dsvm gate job is removed
# 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 ... | openstack/aodh | aodh/tests/functional/hooks/post_test_hook.sh | Shell | apache-2.0 | 706 |
#!/usr/bin/env sh
set -e
HOST=${HOST:-localhost}
PORT=${PORT:-9200}
RESPONSE=$(curl "http://$HOST:$PORT/_cat/health" --fail --show-error --silent || exit 1)
if [[ "$RESPONSE" == *"docker-cluster green"* ]]; then
exit 0
else
echo "Unexpected response from service: $RESPONSE"
exit 1
fi
| charleskorn/batect | tools/logViewer/elasticsearch/health-check.sh | Shell | apache-2.0 | 301 |
#!/bin/bash
./build-alpine.sh
docker build -f Dockerfile -t ${1:?} .
| dougEfresh/passwd-pot | docker/build.sh | Shell | apache-2.0 | 69 |
#!/usr/local/bin/dumb-init /bin/bash
set -euo pipefail
[ 'true' = "${DEBUG:-}" ] && set -x
base=$PWD
VERSION=$(cat "$base"/version/number)
if [ -z "${VERSION:-}" ]; then
echo "missing version number"
exit 1
fi
cp "$base"/on-demand-service-broker-release/on-demand-service-broker-*.tgz "$base"/mongodb-on-demand-re... | Altoros/mongodb-on-demand-release | ci/tasks/shipit/run.sh | Shell | apache-2.0 | 1,699 |
#!/bin/bash
echo "StackTach dev env build script"
PACKAGE=false
TOX=false
DEPLOY=false
QUICK=false
while getopts qpdt opt; do
case $opt in
q)
QUICK=true
;;
p)
PACKAGE=true
;;
t)
TOX=true
;;
d)
DEPLOY=true
;;
esac
done
shift $((OPTIND - 1))
DEV_DIR=git
PKG... | madkiss/stacktach-sandbox | build.sh | Shell | apache-2.0 | 3,230 |
# -----------------------------------------------------------------------------
#
# Package : gopkg.in/natefinch/lumberjack.v2
# Version : v2.0.0-20150622162204-20b71e5b60d7
# Source repo : https://github.com/natefinch/lumberjack
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer :... | ppc64le/build-scripts | g/gopkg.in__natefinch__lumberjack.v2/gopkg.in__natefinch__lumberjack.v2_rhel_8.3.sh | Shell | apache-2.0 | 5,139 |
#!/bin/bash
set -eou pipefail
update_current_line() {
printf "\033[1A" # move cursor one line up
printf "\033[K" # delete till end of line
echo "$1"
}
plank_bin=.build/debug/plank
json_files=$( find Examples/PDK -name "*.json" )
lang_options=( "objc" "flow" "java" )
for lang in ${lang_options[@]}; do
... | pinterest/plank | Utility/stable-output-test.sh | Shell | apache-2.0 | 1,050 |
#!/usr/bin/env bash
# Copyright 2018 The Knative 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 ... | knative/client-contrib | plugins/source-kafka/vendor/knative.dev/test-infra/scripts/library.sh | Shell | apache-2.0 | 29,526 |
#!/bin/bash
#nagios exit code
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
help () {
local command=`basename $0`
echo "NAME
${command} -- check memory status
SYNOPSIS
${command} [OPTION]
DESCRIPTION
-w warning=<percent>
-c critical=<percent>
USAGE:
... | zhangnq/nagios | check_mem.sh | Shell | apache-2.0 | 2,706 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | toddlipcon/hadoop | bin/hadoop-config.sh | Shell | apache-2.0 | 7,162 |
#!/usr/bin/env bash
set -e
set -x
###############################################################################
#
# run-loadtest.sh
#
# Start a parameterized loadtest. This script is designed to be the entry
# point for various automation systems (jenkins is currently supported).
#
# Assumptions:
# * The assumptions... | edx/edx-load-tests | util/run-loadtest.sh | Shell | apache-2.0 | 3,054 |
#!/bin/bash
./install_git.sh
./install_zsh.sh
./install_sublime.sh
./install_image_editing.sh
./install_webserver.sh
./map_keys.sh
./update_ubuntu_theme.sh
./install_java.sh
./install_node.sh
./install_nvidia.sh
./patch_graphics_drivers.sh
./patch_mouse_drivers.sh
| tylermenezes/Debian-Settings | setup.sh | Shell | artistic-2.0 | 266 |
curl -SL https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.bz2 \
| tar xjf - \
&& cd m4-1.4.18 \
&& CC="gcc" ./configure \
--prefix="@AUX_PREFIX@" \
&& make -j @MAKEJ@ && make install \
&& cd .. \
&& rm -rf m4*
| tskisner/pytoast | external/rules/m4.sh | Shell | bsd-2-clause | 230 |
#!/bin/bash
set -ueo pipefail
# Usage: ./EVAL.sh gold_amr_file
# Output will be in $MODEL_DIR/gold_amr_file.parsed
if [ -z "$JAMR_HOME" ]; then
echo 'Error: please source config script'
exit 1
fi
if [ ! -f "${MODEL_DIR}/stage1-weights" ]; then
echo "Error: cannot find weights file ${MODEL_DIR}/stage1-wei... | jflanigan/jamr | scripts/EVAL_no_preprocess.sh | Shell | bsd-2-clause | 2,531 |
FILE="DocumentTemplate.tex"
rm $FILE
touch $FILE
while IFS='' read -r line || [[ -n "$line" ]]
do
if [ "$line" == "%DeclareUnicodeCharacter" ]
then
cat .bin/DeclareUnicodeCharacter >> $FILE
elif [ "$line" == "%LITERATE" ]
then
echo -n " literate=" >> $FILE
cat .bin/UnicodeLiterals >> $FILE
else
echo -E ... | pietervdvn/ALGT | src/Assets/Manual/createTemplate.sh | Shell | bsd-3-clause | 391 |
#! /bin/sh
# shtest - A minimalistic POSIX sh testing framework
#
# Copyright (c) 2012, Adolfo Perez Alvarez
# 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 co... | adolfopa/shtest | bin/run-test.sh | Shell | bsd-3-clause | 2,280 |
#!/bin/sh
export CBM_TEST_DIR=.
export LIB_DIR=$CBM_TEST_DIR/lib
export classpath=./bin:$LIB_DIR/*
TEST_OUTPUT_DIRECTORY=./data
TEST_REPORT_DIRECTORY=./report
#Modify to suit environment
export JAVA_HOME=/usr/lib/java
export ANT_HOME=$CBM_TEST_DIR/apache-ant-1.7.0
CBM_URL=<ADD CBM URL HERE>
echo $classpath
$ANT_... | NCIP/common-biorepository-model | CBMservice/test/run_tests.sh | Shell | bsd-3-clause | 424 |
#!/bin/bash -e
# A script to:
# -perform simple substitutions on files
# -generate multiple files from one.
#
# The sintax of a file is like this:
#
# /* AUTOGENERATE: include/bl/base/add_two_{MYTYPE}.h*/
#
# struct two_{MYTYPE} {
# {MYTYPE} a;
# {MYTYPE} b;
# };
#
# {MYTYPE} add_two_{MYTYPE} (two_{MYTYPE} const* ... | RafaGago/base_library | scripts/autogenerator.sh | Shell | bsd-3-clause | 3,757 |
@INCLUDE_COMMON@
echo
echo ELEKTRA CHECK GEN
echo
if pkg-config elektra
then
echo "Installed Elektra will be used"
else
echo "Elektra or pkg-config not installed, will exit"
exit
fi
check_version
if is_plugin_available ni
then
echo "ni plugin available"
else
echo "no ni plugin available"
exit
fi
if /usr/bin/... | e1528532/libelektra | tests/shell/check_gen.sh | Shell | bsd-3-clause | 9,528 |
#!/usr/bin/env bash
set -e
rsync -avz --progress -e ssh ./out/* pi@raspberrypi.local:/home/pi/dev
| TGOlson/gpio | deploy.sh | Shell | bsd-3-clause | 99 |
#!/bin/bash
qemu-system-x86_64 -s -S Image/x64BareBonesImage.img -m 4096
| jsuarezb/TP2-SO | debug_run.sh | Shell | bsd-3-clause | 74 |
#!/bin/bash -ex
#
# Copyright 2005-2019 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
if [ "${TRAVIS_REPO_SLUG}" == "mumble-voip/mumble" ] ... | Lartza/mumble | scripts/travis-ci/script.bash | Shell | bsd-3-clause | 2,220 |
curl -v -H 'x-cdmi-specification-version: 1.0.1' -H 'content-type: application/cdmi-object' -H 'accept:application/cdmi-object' http://localhost:2364/$1
| livenson/vcdm | scripts/anonymous-read.sh | Shell | bsd-3-clause | 154 |
#!/bin/bash
SRC_DIR=$RECIPE_DIR/..
cd $SRC_DIR
$PYTHON setup.py install
| ContinuumIO/conda_analysis_package | conda.recipe/build.sh | Shell | bsd-3-clause | 73 |
#!/bin/bash
## EasyOptions Example
## Copyright (C) Someone
## Licensed under XYZ
##
## This program is an example of EasyOptions. It just prints the options and
## arguments provided in command line. Usage:
##
## @script.name [option] ARGUMENTS...
##
## Options:
## -h, --help All client scripts h... | renatosilva/easyoptions | bash/example.sh | Shell | bsd-3-clause | 1,450 |
#! /bin/sh
#
# This script generates the Visual Studio build files for Windows.
project=simvoleon2
function cleansolution() {
name=$1;
rm -f ${name}.dsw ${name}.sln;
}
function cleanproject() {
name=$1;
rm -f ${name}.dsp ${name}.vcproj;
}
proper=true;
cleansolution ${project}
cleanproject ${project}
cleanp... | Alexpux/SIMVoleon | build/misc/generate.sh | Shell | bsd-3-clause | 2,615 |
#!/bin/bash
## START HTTPBIN AND GUNICORN
gunicorn httpbin:app &
sleep 2
| gsouf/death-by-captcha-client | test/bin/ci/start-gunicorn.bash | Shell | bsd-3-clause | 74 |
#!/bin/bash
version=`cat /etc/cma.d/EPOAGENT3700MACX/config.xml | egrep "<Version>.*</Version>" |sed -e "s/<Version>\(.*\)<\/Version>/\1/"|tr -d " "`
echo $version
| vmwaresamples/AirWatch-samples | macOS-Samples/CustomAttributes/Applications/McAfee/mcafee_agent_version.sh | Shell | bsd-3-clause | 165 |
# Copyright (c) 2014 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}"
EXECUTABLES=src/tar
# The default when cross compiling is to assume chown does not
# follow symlinks, and ... | yeyus/naclports | ports/tar/build.sh | Shell | bsd-3-clause | 1,009 |
#/bin/bash
runbench()
{
BENCH=$1
CORES=$2
(
echo ${BENCH}${CORES};
time ./build/ALPHA/gem5.fast -m -d ./daniel/${BENCH}${CORES} ./configs/example/fs.py -n $CORES --cpu-type=detailed --caches --l2cache --script=./daniel-scripts/${BENCH}_${CORES}c_simmedium_keiba.rcS --disk-image=image_ces265.img
)
}
for j in h... | danielpalomino/gem5 | hm_scripts/hm_1c_keiba.sh | Shell | bsd-3-clause | 353 |
#!/bin/bash
set -ev
pwd
cd src
qmake DBConnect.pro "CONFIG+=debug"
make
make clean
qmake DBConnect.pro
make
| yxbh/DBConnect | Scripts/CI/Travis-CI/linux/script.sh | Shell | bsd-3-clause | 111 |
#!/bin/bash
TMPFILE=.tmp.out
# Guess XSTACK_ROOT and UCNC_ROOT if they're not already set
export XSTACK_ROOT="${XSTACK_ROOT-${PWD%/xstack/*}/xstack}"
export UCNC_ROOT="${UCNC_ROOT-${XSTACK_ROOT}/hll/cnc}"
### Setup ###
# Sanity check on the above paths
if ! [ -f "${UCNC_ROOT}/bin/ucnc_t" ]; then
echo "ERROR: Fa... | chamibuddhika/cnc-framework | examples/SmithWaterman/run_test.sh | Shell | bsd-3-clause | 1,315 |
#!/bin/sh
#
# $FreeBSD$
#
#################################################################
# Missing Features:
# It would be nice to have OIDs separated into composite groups
# using the subsection mdoc(7) feature (.Ss) without adding extra
# files.
#
# The ability to notice when new OIDs are added to FreeBSD, and
# a... | TigerBSD/TigerBSD | FreeBSD/tools/tools/sysdoc/sysdoc.sh | Shell | isc | 6,716 |
#!/bin/bash
set -e
OPTIND=1
seed="" # default to no seed specified
while getopts "S:" opt
do
case "$opt" in
S) seed="-S $OPTARG" ;;
esac
done
shift "$((OPTIND-1))"
bash ../tools/autotest.sh $seed -G *.v
for f in `egrep -l 'expect-(wr|rd)-ports' *.v`; do
echo -n "Testing expectations for $f .."
../../y... | azonenberg/yosys | tests/memories/run-test.sh | Shell | isc | 819 |
#!/bin/sh
set -e
tv_ip=''
# use only A-Z a-z 0-9 for device. Probably. Haven't checked.
my_device=''
my_nick=''
my_uuid=$(uuidgen)
cd $(dirname $0)
if [ -e 'auth_cookie' ]; then
echo "There's already an auth_cookie file. Delete the file to continue."
exit 1
fi
if [ "$tv_ip" = "" ] || [ "$my_nick" = "" ] ||... | BenWoodford/bravia-auth-and-remote | auth.sh | Shell | isc | 2,346 |
#!/bin/bash
function message {
printf "$(tput setaf 2)$1$(tput sgr0)"
}
function error {
printf "$(tput setaf 1)$1$(tput sgr0)"
}
| mezzario/3r-boilerplate | scripts/functions.sh | Shell | mit | 136 |
#!/bin/sh
if [ -f /.tomcat_admin_created ]; then
echo "Tomcat 'admin' user already created"
exit 0
fi
#generate password
PASS=${TOMCAT_PASS:-$(pwgen -s 12 1)}
_word=$( [ ${TOMCAT_PASS} ] && echo "preset" || echo "random" )
echo "=> Creating and admin user with a ${_word} password in Tomcat"
sed -i -r 's/<\/t... | onesysadmin/docker-tomcat | 9/create_tomcat_admin_user.sh | Shell | mit | 1,318 |
#!/bin/bash
FN="MeSH.Hsa.eg.db_1.15.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/MeSH.Hsa.eg.db_1.15.0.tar.gz"
"https://bioarchive.galaxyproject.org/MeSH.Hsa.eg.db_1.15.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mesh.hsa.eg.db/bioconductor-mesh.hsa.eg.... | bebatut/bioconda-recipes | recipes/bioconductor-mesh.hsa.eg.db/post-link.sh | Shell | mit | 1,322 |
#!/bin/bash
#
# Bootstrap virtualenv environment and postgres databases locally.
#
# NOTE: This script expects to be run from the project root with
# ./scripts/bootstrap.sh
set -o pipefail
function display_result {
RESULT=$1
EXIT_STATUS=$2
TEST=$3
if [ $RESULT -ne 0 ]; then
echo -e "\033[31m$TEST failed\... | RichardKnop/digitalmarketplace-api | scripts/bootstrap.sh | Shell | mit | 710 |
#!/bin/sh
## Excluding controllers due to the problematic genetrack dependency
python -ES ./scripts/nosetests.py -v -w lib \
--with-nosehtml --html-report-file run_unit_tests.html \
--with-doctest --exclude=functional --exclude="^get" --exclude=controllers
| volpino/Yeps-EURAC | run_unit_tests.sh | Shell | mit | 267 |
#!/bin/bash
source gofbot/penv/bin/activate
cd gofbot
pip install -r requirements.txt --target ./packages
touch ./packages/google/__init__.py
if [ -d packages ]; then
cd packages
find . -name "*.pyc" -delete
find . -name "*.egg-info" | xargs rm -rf
zip -9mrv packages.zip .
mv packages.zip ..
cd ..
rm -rf... | JVenberg/PokemonGo-Bot-Desktop | package_python.sh | Shell | mit | 333 |
#!/bin/bash
"$(dirname "$0")/cmd.sh" manage/test.sh
| CasualGaming/studlan | manage/docker-tiny/test.sh | Shell | mit | 53 |
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
BUILD_DIR="${1:-bin}"
VERSION=$2
GOOS="${3:-"linux darwin windows freebsd openbsd solaris"}"
GOARCH="${4:-"386 amd64 arm"}"
GOLDFLAGS="$5"
if [ -z "${VERSION}" ]; then
echo "Error: VERSION is missing. e.g. ./build-all.sh <build_dir> <version> <bui... | cloud-ca/terraform-cloudca | scripts/build/build-all.sh | Shell | mit | 903 |
#!/bin/sh
if [ ! $TRAVIS ]
then
exit 1
fi
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
curl -L -o ./deps/vlc-$VLC_VER.dmg http://get.videolan.org/vlc/$VLC_VER/macosx/vlc-$VLC_VER.dmg
hdiutil mount ./deps/vlc-$VLC_VER.dmg
cp -R "/Volumes/vlc-$VLC_VER/VLC.app" ./deps
fi
| bestwpw/WebChimera.js | travis_before_install.sh | Shell | gpl-2.0 | 272 |
#!/bin/sh
CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cp ${CUR_DIR}/daemons/*.service /usr/lib/systemd/user/.
| ingvagabund/gofed | hack/install-services.sh | Shell | gpl-2.0 | 128 |
# Linux-specific installation
# We can't use sudo, so we have to approximate the behaviour of the following:
# $ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90
mkdir ${HOME}/bin
ln -s /usr/bin/g++-4.9 ${HOME}/bin/c++
ln -s /usr/bin/gcc-4.9 ${HOME}/bin/cc
ln -s /usr/bin/gcov-4.9 ${HOME}/bin/g... | oblitum/ycmd | ci/travis/travis_install.linux.sh | Shell | gpl-3.0 | 613 |
#!/bin/bash
sudo docker run -it --rm -v /tmp/:/home/cordova/APK/ cordova/htwk-app
| vincent-t/Smartphone-App | Docker Build/dockerStart.sh | Shell | gpl-3.0 | 84 |
#!/bin/bash
#
# pnd_make.sh
#
# This script is meant to ease generation of a pnd file. Please consult the output
# when running --help for a list of available parameters and an explaination of
# those.
#
# Required tools when running the script:
# bash
# echo, cat, mv, rm
# mkisofs or mksquashfs (the latter when using ... | RedRingRico/Aura | Source/Pandora/pnd_make.sh | Shell | gpl-3.0 | 9,970 |
#!/bin/sh
# This shell script simply copies the built plug-in to "~/Library/Graphics/Quartz Composer Plug-Ins" and overrides any previous version at that location
mkdir -p "$USER_LIBRARY_DIR/Graphics/Quartz Composer Plug-Ins"
rm -rf "$USER_LIBRARY_DIR/Graphics/Quartz Composer Plug-Ins/InputsToStructure.plugin"
cp -rf ... | cundd/Dive | pluginQC/InputsToStructure/build/InputsToStructure.build/Release/Build & Copy.build/Script-233E2C690A83C783005A62DF.sh | Shell | gpl-3.0 | 423 |
mvn javadoc:javadoc
sphinx-build -w sphinx-errors docs prose-docs
| elonlang/workspaceHoccleve | build-docs.sh | Shell | mpl-2.0 | 66 |
#!/bin/bash
#
# Copyright 2017-2020 Firewalla Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License, version 3,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will ... | MelvinTo/firewalla | scripts/fireupgrade.sh | Shell | agpl-3.0 | 7,099 |
#!/usr/bin/env bash
set -xe
# default value for NJOBS
: "${NJOBS:=1}"
export NJOBS
# We add $PWD/_install_ci/lib unconditionally due to a hack in the
# ci-menhir script, which will install some OCaml libraries outside
# our docker-opam / Nix setup; we have to do this for all the 3 cases
# below; would we fix ci-menh... | coq/coq | dev/ci/ci-common.sh | Shell | lgpl-2.1 | 5,995 |
set -x
make clean
rm -f dezing.c dezing.so
rm -rf build
set +x
| swtp1v07/Savu | cython/dezing/clean.sh | Shell | apache-2.0 | 67 |
#!/bin/bash
# how frequently to sync.
SYNC=${SYNC:-0}
SYNC_SECONDS=${SYNC_SECONDS:-10}
DB_HOST=${DB_HOST:-db}
sync() {
chmod 777 /tmp -R
chmod 777 /tmp
chmod 777 /var/tmp/ -R
chmod 777 /var/tmp/
rm -f /tmp/account_sync.db
rm -f /account_sync.db
touch /account_sync.db
while true
do
# wait for mysql to start
echo -... | mobilizingcs-ops/mobilize-in-a-box | rstudio/run.sh | Shell | apache-2.0 | 877 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.