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
# SDKMAN! with Travis
# https://objectcomputing.com/news/2019/01/07/sdkman-travis
set -eEuo pipefail
[ -z "${__source_guard_37F50E39_A075_4E05_A3A0_8939EF62D836:+dummy}" ] || return 0
__source_guard_37F50E39_A075_4E05_A3A0_8939EF62D836="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
# shellcheck source=... | alibaba/multi-thread-context | scripts/prepare-jdk.sh | Shell | apache-2.0 | 3,001 |
#!/bin/sh
export OS_USER=vagrant
export OS_HOST_IP=192.168.50.10
# run script
sh /vagrant/devstack.sh
| sergueik/vagrant-devstack | vagrant.sh | Shell | apache-2.0 | 104 |
#!/bin/sh
set -e
uname_r=`uname -r`
export PKG_PATH="$MIRROR/pub/OpenBSD/$uname_r/packages/`arch -s`/"
# set pkg path for users
echo "export PKG_PATH=\"$PKG_PATH\"" >> /root/.profile
echo "export PKG_PATH=\"$PKG_PATH\"" >> /home/vagrant/.profile
# install sudo on 5.8, required by Vagrant 1.7.4
if [ $uname_r = 5.8 ... | d-adler/packer-openbsd | scripts/postinstall.sh | Shell | apache-2.0 | 698 |
#!/usr/bin/env bash
function wait_for_ispn_on() {
until `docker exec -t $1 /usr/local/infinispan-server/bin/jboss-cli.sh -c ":read-attribute(name=server-state)" | grep -q running`; do
sleep 1
echo "Waiting for the server to start..."
done
}
CONTAINER_ID=$(docker run -v $PWD:/usr/local/code -ti -d gustavon... | gustavonalle/infinispan-simple-tutorials | spark/script.sh | Shell | apache-2.0 | 692 |
sudo dpkg -i thingsboard-2.4.deb | volodymyr-babak/thingsboard.github.io | docs/user-guide/install/resources/2.4.0/thingsboard-ubuntu-installation.sh | Shell | apache-2.0 | 32 |
#!/bin/bash
#
# MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2017 MinIO, 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-... | minio/minio-dotnet | mono_install.sh | Shell | apache-2.0 | 1,443 |
#!/bin/bash
set -xe
# create data pool for testing
ceph osd pool create data 128 128
# sleep for 2 seconds to ensure the pool is created
sleep 2
cd /build
./mvnw clean test
| 1and1/rados-java | src/test/docker/run-test.sh | Shell | apache-2.0 | 176 |
#!/bin/bash
log()
{
logTime=`gdate +"%s.%N"`
echo "${logTime},CLIENTLOG,$1"
}
verifyProxyProcesses()
{
processId=$1
processGrepId=$2
desiredCount=$3
log "Monitoring $processId count"
while true; do
processCount=`ps -ef | grep "${processGrepId}" | grep -v grep | wc -l`
if [ $processCount -eq $desiredCoun... | davidwadden/cf-tcp-router-acceptance-tests | scripts/run-tcp-sender-local.sh | Shell | apache-2.0 | 1,416 |
#!/bin/bash
#
# Copyright 2015: Mirantis 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
#
# Unl... | crobby/sahara | tools/cover.sh | Shell | apache-2.0 | 2,377 |
#!/bin/sh
# Copyright (C) 2013 The CyanogenMod 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 or... | shakalaca/android_device_asus_a500cg | extract-files.sh | Shell | apache-2.0 | 3,941 |
#!/usr/bin/env bash
# Make iTerm understand italics
tic ~/.yadr/iTerm2/xterm-256color.terminfo
# Specify the preferences directory
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.yadr/iTerm2"
# Tell iTerm2 to use the custom preferences in the directory
defaults write com.googlecode.iterm2.pli... | lfilho/dotfiles | iTerm2/bootstrap-iterm2.sh | Shell | bsd-2-clause | 681 |
#!/bin/sh
. ${BUILDPACK_TEST_RUNNER_HOME}/lib/test_utils.sh
cache_dir=$(sed '/^\#/d' ${BUILDPACK_TEST_RUNNER_HOME}/lib/magic_curl/conf/cache.conf | grep 'cache_dir' | tail -n 1 | cut -d "=" -f2-)
url="http://repo1.maven.org/maven2/com/force/api/force-wsc/23.0.0/force-wsc-23.0.0.jar"
cached_file="${cache_dir}/repo1.ma... | ryanbrainard/heroku-buildpack-testrunner | lib/magic_curl/test/caching_test.sh | Shell | bsd-3-clause | 2,876 |
#!/bin/sh -e
if [ -z "$JOBS" ]; then
JOBS=8
fi
for DOCKERFILE in $@; do
NAME="amino-${DOCKERFILE}-install"
docker rm "$NAME" || true
docker run --name="$NAME" "amino:$DOCKERFILE-dep" /bin/sh -c "cd /root/amino && autoreconf -i && ./configure --enable-demo-baxter && make -k -j $JOBS V=1 distcheck && ma... | KeliangH/amino | script/docker-make.sh | Shell | bsd-3-clause | 402 |
echo 'calling random forest with classification, saving class predictions to data/fc.cpred[1234]'
echo 'command="python do_forest-class.py data/small.txt data/small.txt 700 80 5 1 data/fc.cpred > data/small-forest-class.pred"'
echo '---'
python do_forest-class.py data/small.txt data/small.txt 700 80 5 1 data/fc.cpred >... | HeBing/fcat | rt-rank_1.5/demo-igbrt-class.sh | Shell | bsd-3-clause | 729 |
#!/bin/sh
rm -rf firekylin;
rm -rf output;
rm -rf output.theme;
mkdir output;
if [ ! -d "./build" ]; then
mkdir ./build;
fi
echo 'webpack start ...';
npm run webpack.build.production;
echo 'webpack end';
node stc.config.js;
mkdir -p output/www/theme;
cp -Xr www/theme/firekylin output/www/theme;
# rm stc plugin i... | welefen/firekylin | bin/build.sh | Shell | mit | 1,708 |
#!/bin/bash
for dir in `find . -not \( -name .svn -prune \) -not \( -name target -prune \) -not \( -path '*/externals/*' -prune \) -type d`; do
if [ -e $dir/.svn ]; then
svn pl $dir | grep "svn:externals" > /dev/null
if [ "$?" == "0" ]; then
if [ "$1" == "-git" ]; then
echo "pushd $dir"
... | bmmpxf/suite | find_externals.sh | Shell | gpl-2.0 | 1,211 |
#!/bin/bash
set -e
# Global variables:
# ${GV_LOG}: Prefix this variable in echo to log echoed string.
# ${GV_SETTINGS_DIR}: Hold settings data.
# ${GV_BINARY_DIR}: Hold settings binary data.
SCRIPT_NAME="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
echo "${GV_LOG}>>>>>>>>> Running ${SCRIPT_NAME} ..."... | bankonmeOS/cust-live-deb | scripts/rejected-sh/inst-std-accessories-prtscr-scrot.sh | Shell | gpl-2.0 | 1,302 |
#!/bin/sh
# Measure memory usage of a minimal client using a small configuration
# Currently hardwired to ccm-psk and suite-b, may be expanded later
#
# Use different build options for measuring executable size and memory usage,
# since for memory we want debug information.
set -eu
CONFIG_H='include/polarssl/config.... | wa4otj/mbedtls | scripts/memory.sh | Shell | gpl-2.0 | 2,569 |
#!/bin/bash
# Copyright (C) 2018 SUSE LLC
#
# 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.
#
# This program is distrib... | openSUSE/kernel-source | scripts/git_sort/check_missing_fixes.sh | Shell | gpl-2.0 | 1,865 |
#!/bin/sh
cd ..
cinnamon-json-makepot -j "new"
msguniq "new.pot" > "./locale/fixed.pot"
rm -fr "new.pot"
cd "locale"
mv -f "fixed.pot" "default.pot"
echo "Remove duplicate key done."
mkdir "temp"
mkdir "newpo"
for f in *.po
do
filebase=$(basename "$f")
filename="${filebase%.*}"
msginit --no-translator -l "$filename"... | wasta-linux/wasta-cinnamon-xenial | install-files/applets/WindowListGroup@jake.phy@gmail.com/locale/localeUpdate.sh | Shell | gpl-3.0 | 923 |
#!/bin/bash
## note: you have to be in the dir with the build.xml to run this
cmd="ant -DshortHost=test remote-int-test"
echo $cmd
eval $cmd
| pdowler/caom2db | caom2-repo-server/test/scripts/int-test-test.sh | Shell | agpl-3.0 | 148 |
#!/usr/bin/env bash
# This needs to be run in the root directory.
# Cause the script to exit if a single command fails.
set -e
set -x
bazel build "//:object_manager_stress_test" "//:object_manager_test" "@plasma//:plasma_store_server"
# Get the directory in which this script is executing.
SCRIPT_DIR="`dirname \"$0\... | atumanov/ray | src/ray/test/run_object_manager_tests.sh | Shell | apache-2.0 | 1,300 |
#!/bin/bash
# Copyright 2019 The Vitess 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 a... | vitessio/vitess | tools/e2e_test_cluster.sh | Shell | apache-2.0 | 1,429 |
alias be="bundle exec"
alias bl="bundle list"
alias bp="bundle package"
alias bo="bundle open"
alias bu="bundle update"
alias bi="bundle_install"
# The following is based on https://github.com/gma/bundler-exec
bundled_commands=(annotate berks cap capify cucumber foodcritic foreman guard irb jekyll kitchen knife middl... | klebervirgilio/my-zsh | plugins/bundler/bundler.plugin.zsh | Shell | mit | 1,796 |
#!/bin/bash
set -e
bucket="openrov-software-nightlies"
folder="/cockpit"
contentType="application/x-compressed-tar"
dateValue=`date -R`
for f in *.deb; do
resource="/${bucket}${folder}/${f}"
stringToSign="PUT\n\n${contentType}\n${dateValue}\n${resource}"
signature=`echo -en ${stringToSign} | openssl sha1 -hmac ${s3S... | spiderkeys/openrov-cockpit | publish-deb.sh | Shell | mit | 652 |
#!/bin/bash
FN="rtu34probe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/rtu34probe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/rtu34probe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rtu34probe/bioconductor-rtu34probe_2.18.0_src_all.ta... | bebatut/bioconda-recipes | recipes/bioconductor-rtu34probe/post-link.sh | Shell | mit | 1,417 |
APPNAME="Jacos2DX"
# options
buildexternalsfromsource=
usage(){
cat << EOF
usage: $0 [options]
Build C/C++ code for $APPNAME using Android NDK
OPTIONS:
-s Build externals from source
-h this help
EOF
}
while getopts "sh" OPTION; do
case "$OPTION" in
s)
buildexternalsfromsource=1
;;
h)
usage
exit 0
;;
esac
done
#... | TukekeSoft/jacos2d-x | src/Jacos2d-x/proj.android/build_native.sh | Shell | mit | 1,948 |
#!/bin/sh
set -e
echo "Running PR build (all modules, SSL disabled)"
(
cd "$TRAVIS_BUILD_DIR"/app/include || exit
# uncomment disabled modules e.g. '//#define LUA_USE_MODULES_UCG' -> '#define LUA_USE_MODULES_UCG'
sed -E -i.bak 's@(//.*)(#define *LUA_USE_MODULES_.*)@\2@g' user_modules.h
cat user_modules.h
# disable S... | vowstar/nodemcu-firmware | tools/pr-build.sh | Shell | mit | 729 |
#!/usr/bin/env bash
declare -A users commits
while IFS=$'|' read -r user year; do
[[ ${users[$user]} != *$year* ]] && users[$user]+=" $year"
commits[$user]=$((${commits[$user]}+1))
done < <(git log --all --author-date-order --reverse --date=format:%Y --pretty="format:%aN <%aE>|%ad")
for u in "${!users[@]}"; do e... | omalleypat/moneymanagerex | util/list-authors.sh | Shell | gpl-2.0 | 375 |
#!/bin/bash
# -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*-
# vim:shiftwidth=4:softtabstop=4:tabstop=4:
set -e
# bug number: 16356
ALWAYS_EXCEPT="12a $REPLAY_VBR_EXCEPT"
SAVE_PWD=$PWD
LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
SETUP=${SETUP:-}
CLEANUP=${CLEANUP:-}
MOUNT_2=${MOUNT_2:-"yes"}
expor... | pratikrupala/try | lustre/tests/replay-vbr.sh | Shell | gpl-2.0 | 39,854 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2010-2015 Mike Shal <marfey@gmail.com>
#
# This program 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 Foundation.
#
# This program is distribu... | p2rkw/tup | test/t6042-broken-update22.sh | Shell | gpl-2.0 | 948 |
#!/bin/sh
# If $top_srcdir has not been set by automake, import the test environment
if [ -z "$top_srcdir" ]; then
top_srcdir="$(realpath "$(dirname "$0")/../..")"
. "${top_srcdir}/tests/testenv.sh"
fi
# If no tests were selected by user or makefile, select all of them
if [ $# -eq 0 ]; then
set -- "$top_s... | jkonecny12/anaconda | tests/unit_tests/unit_tests.sh | Shell | gpl-2.0 | 434 |
#!/bin/sh
$EXTRACTRC `find . -name \*.rc` `find . -name \*.ui` >> rc.cpp
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/kdevcontextbrowser.pot
rm -f rc.cpp
| krf/kdevplatform | plugins/contextbrowser/Messages.sh | Shell | gpl-2.0 | 180 |
#!/bin/bash
# ========================================================================
# Copyright (c) 2006-2010 Intalio Inc
# ------------------------------------------------------------------------
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse P... | intalio/cloud.core.jetty | jetty-feature/jettyhome/start.sh | Shell | apache-2.0 | 8,286 |
#!/bin/bash
# slim-svn-export.sh will source the slim.cfg file to understand what
# it needs to work on.
#
# then is does an svn export and monitors disc space through a second
# script that is generated below.
#
# Example of structure:
# ~sysutil/svn.forge.mil/slim/base/dev/rhel4/rpm/trunk/channels/i386/utils
PROGNAM... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Puppet/STIG/rhel5/Unix-Checklist/base/dev/rhel5/scripts/trunk/scripts/slim-channels-svn-to-sat.sh | Shell | apache-2.0 | 3,153 |
#!/bin/sh
# Checks if a given cert on disk will expire soon
# Copyright 2009 Peter Palfrader
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limit... | KyleJHarper/puppet-icinga | files/usr/local/lib/nagios/plugins/check_cert.sh | Shell | apache-2.0 | 1,723 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you ca... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN002760-9.sh | Shell | apache-2.0 | 5,786 |
#!/bin/sh
test_description='diff whitespace error detection'
. ./test-lib.sh
test_expect_success setup '
git config diff.color.whitespace "blue reverse" &&
>F &&
git add F &&
echo " Eight SP indent" >>F &&
echo " HT and SP indent" >>F &&
echo "With trailing SP " >>F &&
echo "Carriage ReturnQ" | tr Q... | asoltys/git | t/t4019-diff-wserror.sh | Shell | gpl-2.0 | 4,362 |
#! /bin/sh
# Copyright (C) 2012-2015 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 ... | evaautomation/automake | t/lisp-subdir2.sh | Shell | gpl-2.0 | 1,864 |
#!/bin/sh
./test-_Exit${EXEEXT}
test $? = 81
| Distrotech/radius | gnulib/tests/test-_Exit.sh | Shell | gpl-3.0 | 46 |
#!/bin/sh
#
# Git test helpers.
#
# Copyright (c) 2014 Jonas Fonseca <jonas.fonseca@gmail.com>
#
# 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 op... | vojtarylko/tig | test/tools/libgit.sh | Shell | gpl-2.0 | 2,518 |
#!/usr/bin/env bash
set -e
# Get the directory of where this script is.
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
# Change into that dir because we expect that.
pushd "$DIR"
echo "==> Building the server"
go build -o r... | adrianbrink/tendereum | vendor/github.com/tendermint/tendermint/rpc/lib/test/integration_test.sh | Shell | agpl-3.0 | 2,323 |
#!/bin/bash -e
#
# 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... | helifu/kudu | build-support/generate_precompiled_xxd.sh | Shell | apache-2.0 | 1,539 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libnative-pr... | teamfx/openjfx-10-dev-rt | netbeans/native-prism-d3d/nbproject/Package-Debug.bash | Shell | gpl-2.0 | 1,559 |
#!/bin/sh
say -a -q -o small_output.au < smallinput.txt
| carlobar/uclinux_leon3_UD | user/mibench/office/rsynth/runme_small.sh | Shell | gpl-2.0 | 56 |
#!/usr/bin/env bash
# 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 writing, s... | ralgond/paxoskeeper | src/java/test/bin/test-patch.sh | Shell | apache-2.0 | 25,998 |
#!/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"); ... | rahul003/mxnet | docs/build_version_doc/build_all_version.sh | Shell | apache-2.0 | 2,382 |
#! /bin/sh
mkdir -p tests/tmp/proc
# We allow this in case proc is not mounted.
[ "`rmmod foo_bar`" = "DELETE_MODULE: foo_bar EXCL NONBLOCK " ]
# We don't allow any other errors. Doesn't work if we're root.
if [ `id -u` -ne 0 ]; then
touch tests/tmp/proc/modules
chmod 000 tests/tmp/proc/modules
[ "`rmm... | zhang-xin/kdi | usermode/module-init-tools-3.12/tests/test-rmmod/05noproc.sh | Shell | gpl-2.0 | 502 |
#!/bin/bash
# Copyright 2015 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 require... | andrewosh/kubernetes | cluster/ubuntu/util.sh | Shell | apache-2.0 | 23,255 |
#!/bin/bash
docker-compose stop
| kurron/docker-compose-infrastructure | stop.sh | Shell | apache-2.0 | 33 |
FREEBSD_XDEV_PREFIX=
# freebsd_xdev_test: Verify that xdev tools exist.
#
# TODO: Add a freebsd_xdev_gcc_test() that explicitly
# checks that the xdev tools are GCC. Seems we need
# this for some versions of U-Boot.
#
freebsd_xdev_test ( ) {
XDEV_ARCH=${TARGET_ARCH}
case ${XDEV_ARCH} in
arm*) XDEV=arm... | rm4rty/crochet-freebsd | lib/freebsd_xdev.sh | Shell | bsd-2-clause | 1,659 |
hostmakedepends+=" go"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" go-cross-linux"
fi
nostrip=yes
nopie=yes
case "$XBPS_TARGET_MACHINE" in
armv6*) export GOARCH=arm; export GOARM=6;;
armv7*) export GOARCH=arm; export GOARM=7;;
i686*) export GOARCH=386;;
x86_64*) export GOARCH=amd64;;
esac
export GOPATH="${wrk... | uriah0/void-packages | common/environment/build-style/go.sh | Shell | bsd-2-clause | 492 |
#!/bin/bash
set -e
# This script is used to parse VCF data for a specific study
# The script requires 1 parameter: the params file to be used
# If the parameter is not given, the user is expected to set
# the parameters from the params file himself.
if [ $# -ge 1 ]
then
source $1
fi
# DATA_LOCATION can be set to ... | cdejonge/transmart-data | samples/common/_scripts/vcf/parse_vcf.sh | Shell | gpl-3.0 | 895 |
#!/bin/bash
#***********************************************************
# Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
#
# This program 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 Foundation... | richardfontana/fossology | tests/installTestData.sh | Shell | gpl-2.0 | 4,171 |
#!/bin/sh
# Test suite for xalloc_die.
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# 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; eithe... | Distrotech/coreutils | gnulib/tests/test-xalloc-die.sh | Shell | gpl-3.0 | 1,094 |
#!/bin/sh
#
# Copyright (c) 2009, 2010 David Aguilar
#
test_description='git-difftool
Testing basic diff tool invocation
'
. ./test-lib.sh
LF='
'
remove_config_vars()
{
# Unset all config variables used by git-difftool
git config --unset diff.tool
git config --unset diff.guitool
git config --unset difftool.tes... | jeffgarrett/git | t/t7800-difftool.sh | Shell | gpl-2.0 | 6,998 |
#!/bin/bash
# fix automake
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/aclocal
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/automake
# fix autoconf
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/autom4te
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/autoheader
sed -i.bak '1 s|... | JenCabral/bioconda-recipes | recipes/snp-sites/build.sh | Shell | mit | 753 |
echo " " >> "${PREFIX}"/.messages.txt
echo " " >> "${PREFIX}"/.messages.txt
echo " #######################################################################" >> "${PREFIX}"/.messages.txt
echo " # #" >> "${PREFIX}"/.messages.txt
echo " # ... | cokelaer/bioconda-recipes | recipes/cmip/post-link.sh | Shell | mit | 3,498 |
#!/usr/bin/env sh
set -ex
SCRIPT_DIR=$(dirname $(readlink -f "$0"))
WPT_ROOT=$(readlink -f $SCRIPT_DIR/../..)
cd $WPT_ROOT
main() {
cd css
if [ -z $VENV ]; then
VENV=tools/_virtualenv
fi
# Create the virtualenv
if [ ! -d $VENV ]; then
if [ -z $PYTHON ]; then
command -... | thiagopnts/servo | tests/wpt/web-platform-tests/css/build-css-testsuites.sh | Shell | mpl-2.0 | 1,359 |
#!/bin/bash
echo ===============================================================================
echo \[tabescape_dflt.sh\]: test for default tab escaping
. $srcdir/diag.sh init
. $srcdir/diag.sh generate-HOSTNAME
./nettester -ttabescape_dflt -iudp
if [ "$?" -ne "0" ]; then
echo erorr in udp run
exit 1
fi
echo te... | sematext/rsyslog | tests/tabescape_dflt.sh | Shell | gpl-3.0 | 428 |
#!/bin/bash
# Copyright 2014 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 require... | rhuss/gofabric8 | vendor/k8s.io/kubernetes/hack/ginkgo-e2e.sh | Shell | apache-2.0 | 3,686 |
#!/bin/sh
test_description='signals work as we expect'
. ./test-lib.sh
cat >expect <<EOF
three
two
one
EOF
test_expect_success 'sigchain works' '
test-sigchain >actual
case "$?" in
143) true ;; # POSIX w/ SIGTERM=15
271) true ;; # ksh w/ SIGTERM=15
3) true ;; # Windows
*) false ;;
esac &&
test_cmp expect... | hdent/test | t/t0005-signals.sh | Shell | gpl-2.0 | 1,083 |
MPLAYER_COV_OPTS="--enable-xvmc --enable-menu --enable-gui --enable-mga --enable-bl --enable-joystick --enable-radio --enable-s3fb --enable-tdfxfb --enable-tdfxvid --enable-wii --yasm=nasm"
rm -rf cov-int MPlayer.tgz
make distclean
svn up
./configure $MPLAYER_COV_OPTS && make -j5 ffmpeglibs || exit 1
"$MPLAYER_COV_PATH... | tsg-/mplayer | TOOLS/coverity.sh | Shell | gpl-2.0 | 619 |
#! /bin/sh
#
# runlex.sh
# Script to run Lex/Flex.
# First argument is the (quoted) name of the command; if it's null, that
# means that neither Flex nor Lex was found, so we report an error and
# quit.
#
#
# Get the name of the command to run, and then shift to get the arguments.
#
if [ $# -eq 0 ]
then
echo "Usage:... | mpeuster/son-examples | vnfs/sonata-vtc-vnf-docker/pfring_web_api/vtc/PF_RING/userland/libpcap/runlex.sh | Shell | apache-2.0 | 4,697 |
#!/bin/bash
cp test-infra/npm-shrinkwrap.canonical.json npm-shrinkwrap.json
npm install
rm npm-shrinkwrap.json | morreene/tradenews | tradenews/static/libs/bootstrap/test-infra/uncached-npm-install.sh | Shell | bsd-3-clause | 110 |
#! /bin/sh
if [ -z "$1" ]; then
echo "specify the file that contains a list of files"
exit
fi
files=$(cat $1)
mkdir -p out
for item in $files ; do
dn=$(dirname $item)
mkdir -p out/$dn
src/uncrustify -f $item -c etc/ben.cfg > out/$item
done
| eoswald/hdb | uncrustify/etc/dofiles.sh | Shell | mit | 259 |
#!/bin/bash
#
# Copyright 2015 The Bazel 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 required by... | Asana/bazel | tools/cpp/osx_cc_wrapper.sh | Shell | apache-2.0 | 2,701 |
#!/bin/bash
# Test that dies with a signal
# Copyright (C) 2003-2006 IBM
#
# 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 vers... | skynet/ltp | tools/pounder21/test_scripts/sigfpe.sh | Shell | gpl-2.0 | 802 |
#!/usr/bin/env bash
# Copyright 2018 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 applica... | mkumatag/origin | vendor/k8s.io/kubernetes/test/cmd/crd.sh | Shell | apache-2.0 | 19,398 |
#!/bin/bash
# Requires
# pacman.sh
# Chroot into the new system and install the bootloader
arch-chroot /mnt <<ENDCHROOT
pacman -S --noconfirm grub-bios
grub-install --recheck --debug /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
ENDCHROOT
| mhuckaby/veewee | templates/archlinux-x86_64/bootloader.sh | Shell | mit | 243 |
#!/bin/sh
# This validates that the kernel will load firmware out of its list of
# firmware locations on disk. Since the user helper does similar work,
# we reset the custom load directory to a location the user helper doesn't
# know so we can be sure we're not accidentally testing the user helper.
set -e
modprobe tes... | Asus-T100/kernel | tools/testing/selftests/firmware/fw_filesystem.sh | Shell | gpl-2.0 | 2,891 |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| h-hub/resource-ms | scripts/cron-lynx.sh | Shell | gpl-2.0 | 81 |
#!/bin/sh
#
# $Id: topinfo_iorsize_stats.sh 91813 2010-09-17 07:52:52Z johnnyw $
#
if [ $# -lt 4 ]; then
echo "Usage: $0 [ROOT] [DEST] [USER] [OPTIMIZED]"
exit 0
fi
ROOT=$1
DEST=$2
US=$3
OPT=$4
DATE=`date +%Y/%m/%d-%H:%M`
cd $ROOT
ACE_ROOT=$ROOT
export ACE_ROOT
LD_LIBRARY_PATH=$ACE_ROOT/ace
export LD_LIBRARY_PAT... | yad/easy-mangos | dep/ACE_wrappers/bin/topinfo_iorsize_stats.sh | Shell | gpl-2.0 | 1,988 |
#!/bin/sh
#
# Copyright (c) 2006 Brian C Gernhardt
#
test_description='Format-patch numbering options'
. ./test-lib.sh
test_expect_success setup '
echo A > file &&
git add file &&
git commit -m First &&
echo B >> file &&
git commit -a -m Second &&
echo C >> file &&
git commit -a -m Third
'
# Each of thes... | overtherain/scriptfile | tool-kit/git-2.1.2/t/t4021-format-patch-numbered.sh | Shell | mit | 2,367 |
#!/bin/bash
#
# Kernel-version-dependent shell functions for the rest of the scripts.
#
# 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... | AiJiaZone/linux-4.0 | virt/tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh | Shell | gpl-2.0 | 1,879 |
#!/bin/sh
# This script regenerates the static js bindings for the dcrwallet .proto file.
# You will need grpc-tools (which installs grpc_tools_node_protoc_plugin)
# installed for this to run properly
./../../node_modules/grpc-tools/bin/protoc \
--js_out=import_style=commonjs_strict,binary:./walletrpc \
--grpc... | decred/decrediton | app/middleware/regen.sh | Shell | isc | 768 |
source ~/.bash/mac/sysadmin.bash
| benknoble/Dotfiles | links/zsh/mac/sysadmin.zsh | Shell | mit | 33 |
#!/bin/bash
THIS_SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${THIS_SCRIPTDIR}/_bash_utils/utils.sh"
source "${THIS_SCRIPTDIR}/_bash_utils/formatted_output.sh"
source "${THIS_SCRIPTDIR}/_setup.sh"
# init / cleanup the formatted output
echo "" > "${formatted_output_file_path}"
if [ -z "${BI... | orta/steps-cocoapods-and-repository-validator | step.sh | Shell | mit | 2,960 |
#!/bin/bash
#SBATCH -n 1
#SBATCH --cpus-per-task=1
#SBATCH --time=24:00:00
FASTA=$1
RNAFOLD=/home/skasinat/scratch/ViennaRNA-2.3.5/src/bin
export PATH=${PATH}:${RNAFOLD}
DNAPARAMS=/home/skasinat/scratch/ViennaRNA-2.3.5/misc/dna_mathews2004.par
# DNAPARAMS=~/Dropbox/git_repos/ViennaRNA-2.3.4/misc/dna_mathews2004.par... | sivakasinathan/cenpb | code/run_structure_prediction.sh | Shell | mit | 720 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2012:1169
#
# Security announcement date: 2012-08-14 18:15:46 UTC
# Script generation date: 2016-05-12 18:10:56 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - condor.x86_64:7.6.5-0.14.2.el6_3
# - ... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2012/RHSA-2012:1169.sh | Shell | mit | 1,735 |
#!/bin/bash
# first steps
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf -y install docker-ce
# post installation
sudo groupadd docker
sudo usermod -aG docker $USER
sudo systemctl enable docker
# test
sudo systemctl... | Paul-St-Young/share | linux/fedora/docker_setup.sh | Shell | mit | 366 |
#/bin/bash
BASE=$(dirname $0)
export PYTHONPATH=$PYTHONPATH:$BASE/../scripts/:$BASE/../
python3 $BASE/args.py | planetA/interference | test/run_python_tests.sh | Shell | mit | 112 |
#!/bin/sh
while true; do
/usr/bin/inotifywait *.f90 &&
make &&
notify-send 'Recompiled' ||
notify-send 'Error in compilation' && sleep 10
done
| cphyc/n-body | autocompile.sh | Shell | mit | 155 |
gcc -c -fpic -O2 ring_vmmysql.c -I $PWD/../../language/include -I /usr/include/mysql
gcc -shared -o $PWD/../../lib/libring_mysql.so ring_vmmysql.o -L $PWD/../../lib -lring -L /usr/lib/i386-linux-gnu -L /usr/lib/mysql/lib -lmysqlclient
| ring-lang/ring | extensions/ringmysql/buildgcc.sh | Shell | mit | 241 |
// Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "../Transform.h"
#include "../MainGeometry.h"
#include "../Surface.h"
#include "../ShadowProjection.h"
#include "../Vegetation/WindAn... | xlgames-inc/XLE | Working/Game/xleres/ShadowGen/rtwritetiles.sh | Shell | mit | 5,898 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2010:0221
#
# Security announcement date: 2010-03-30 17:00:57 UTC
# Script generation date: 2017-01-01 21:12:44 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - squid.x86_64:2.6.STABLE21-6.el5
# - s... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2010/RHSA-2010:0221.sh | Shell | mit | 792 |
./ffmpeg -i $1 -c:v yuv4 $1.yuv
| y38y38/yuv | ffmpeg/y4m2yuv4.sh | Shell | mit | 32 |
# This script runned on container start
# is will create database cluster (if none)
# and setup replication according to $REPLICA_MODE
# -------------------------------------------------------------------------------
# Create postgresql database cluster
dbinit() {
gosu postgres initdb \
&& sed -ri "s/^#(listen_ad... | LeKovr/consup | Dockerfiles/postgres/init.d/postgres.sh | Shell | mit | 2,754 |
#!/bin/bash
# bomb on any error
set -e
# change to working directory
root="/opt/netflix-proxy"
pushd $root
# obtain the interface with the default gateway say
int=$(ip route | grep default | awk '{print $5}')
# obtain IP address of the Internet facing interface
ipaddr=$(ip addr show dev $int | grep inet | grep -v i... | andizzle/netflix-proxy | build.sh | Shell | mit | 2,372 |
#!/bin/bash
dotnet restore
dotnet publish -c Release -o out
docker build -t docker-101:final -f ./Dockerfile.prod . | zshift/docker-101 | build-prod.sh | Shell | mit | 115 |
declare -ri EX_OSERR=71
| cemeyer/httpd.sh | sysexits.sh | Shell | mit | 24 |
#!/usr/bin/env zsh
NVM_DIR="${HOME}/.nvm"
[ -s "$NVM_DIR" ] || return
function autoload_nvm
{
unfunction nvm
unfunction npm
source "${NVM_DIR}/nvm.sh"
}
function npm
{
autoload_nvm
npm "$@"
}
function nvm
{
autoload_nvm
nvm "$@"
}
| corcra/zsh-config | config/nvm.zsh | Shell | mit | 243 |
#!/bin/bash
mkdir ~/.vim/plugged
mkdir ~/.vim/swap
git clone https://github.com/junegunn/vim-plug ~/.vim/plugged/vim-plug
| TaDaa/.vim | install.sh | Shell | mit | 122 |
#!/bin/bash
source ${0%/*}/config.sh
set -e
echo
echo '---------------------------------'
echo 'Deploy to sysroot'
echo '---------------------------------'
pushd $ROOT_DIR
if [ ! -d $SYSROOT_QT_DEVICE_DIR ] ; then
sudo rm -rf $SYSROOT_QT_DEVICE_DIR
fi
sudo cp -r $QT_OUTPUT_DIR $SYSROOT_QT_DEVICE_DIR | GuillaumeLazar/qtrb | 50_deploy_to_sysroot.sh | Shell | mit | 305 |
#!/bin/bash
# Generate barebones groovy/gradle project
# Author: Pawel Slusarz @pslusarz
# License: MIT
if [ -n "$1" ]
then
project_name=$1
else
project_name="new-project" # Default, if not specified on command-line.
fi
language="groovy"
mkdir -p "$project_name/src/main/$language/org/sw7d"
mkdir -p "$project_na... | pslusarz/aylscripts | gradle-init-project.sh | Shell | mit | 1,783 |
#!/usr/bin/env bash
GCC_VERSION=11.2.0
make DESTDIR="$DESTDIR" install
rm -rfv "$DESTDIR"/usr/lib/gcc/"$(gcc -dumpmachine)"/$GCC_VERSION/include-fixed/bits/
# symlink required by FHS
ln -srv /usr/bin/cpp "$DESTDIR/usr/lib"
# symlinks for link time optimization
install -v -dm755 "$DESTDIR"/usr/lib/bfd-plugins
ln -sfv ... | pretorh/lfs-notes | scripts/6/gcc/install.sh | Shell | mit | 569 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | onmyway133/Then | Example/Pods/Target Support Files/Pods-Then_Tests/Pods-Then_Tests-frameworks.sh | Shell | mit | 3,532 |
#!/usr/bin/env sh
set -e
silent=true
run() {
if [[ $silent == false ]] ; then
eval "$1 "
else
eval "$1 &> /dev/null"
fi
}
bold=$(tput bold)
reset=$(tput sgr0)
function print_important_message {
if [[ $silent == false ]]; then
echo ""
printf "${bold}$1${reset}. "
echo ""
fi
}
srcdir=`dirname $0... | vzaccaria/newmake | test/test2.sh | Shell | mit | 1,031 |
#!/bin/bash
# SERVER_ID=$1
USER_NAME=rpl_user
PASSWORD=password
CONNECT_FROM=%
#CONNECT_FROM=172.17.0.0/255.255.255.0
SERVER_ADDRESS=`hostname -i`
GROUP_SEED=$1
SINGLE_PRIMARY_MODE=$2
if [ "${SINGLE_PRIMARY_MODE}" = "" ]; then
SINGLE_PRIMARY_MODE=on
fi
# perl -wpi -e 's!server_id = .+!server_id = '${SERVER_ID}'... | kazuhira-r/dockerfiles | mysql/setup-group-replication-initial-host.sh | Shell | mit | 1,938 |
#!/bin/sh
export HOME=/home/ubuntu
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd /home/ubuntu/mplusmuseum-stories
npm i -g npm
npm install
npm run build
pm2 restart mplusmuseum-stories
| mplusmuseum/mplusmuseum-stories | ubuntu/post-deploy.sh | Shell | mit | 223 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.