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
rm -rf mysql_
# BUILD
tar -xf mariadb-10.5.2.tar.gz
mkdir ~/mysql_
cd mariadb-10.5.2/BUILD/
cmake -DCMAKE_INSTALL_PREFIX=$HOME/mysql_ ..
make -j $NUM_CPU_CORES
echo $? > ~/install-exit-status
make install
# SETUP
cd ~/mysql_
./scripts/mysql_install_db --no-defaults --user=`basename $DEBUG_REAL_HOME` --base... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/mysqlslap-1.1.1/install.sh | Shell | gpl-3.0 | 589 |
#! /bin/sh
export SEADAS_HOME=${installer:sys.installationDir}
if [ -z "$SEADAS_HOME" ]; then
echo
echo Error: SEADAS_HOME not found in your environment.
echo Please set the SEADAS_HOME variable in your environment to match the
echo location of the SeaDAS 7.x installation
echo
exit 2
fi
. "$S... | marpet/seadas | src/main/bin/linux/seadas-cli-template.sh | Shell | gpl-3.0 | 845 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | petrockblog/RetroPie-Setup | scriptmodules/emulators/advmame-0.94.sh | Shell | gpl-3.0 | 1,627 |
#!/bin/sh
#
# Stop Tomcat
#
# Settings
export CATALINA_HOME=/home/openwis/apache-tomcat-6.0.29
export CATALINA_PID=$CATALINA_HOME/openwis-tomcat.pid
# Stop Tomcat
cd $CATALINA_HOME/bin
./shutdown.sh -force
# Ensure PID file is removed
if [ -e $CATALINA_PID ]
then
echo "Cleaning remaining PID file"
rm $CATALINA_P... | OpenWIS/openwis | openwis-metadataportal/openwis-portal/src/main/scripts/stop_openwis_tomcat.sh | Shell | gpl-3.0 | 327 |
#!/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 2/logs/w-08_1/20170117T190742+0000/00/00/init_0_ID0000001.sh | Shell | gpl-3.0 | 1,198 |
#!/bin/sh
# Test for this fix: 461231f022bdb3ee392622d31dc475034adceeb2.
# Ensure that seq prints exactly two numbers for a 2-number integral
# range at the limit of floating point precision.
# Copyright (C) 2008-2017 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modif... | adtools/coreutils | tests/misc/seq-long-double.sh | Shell | gpl-3.0 | 1,501 |
#!/usr/bin/env bash
set -e
ci_dir="$(dirname "$0")"
. "${ci_dir}/ci-common.sh"
git_download mczify
if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi
( cd "${CI_BUILD_DIR}/mczify"
make
)
| coq/coq | dev/ci/ci-mczify.sh | Shell | lgpl-2.1 | 184 |
#!/bin/sh
# Copyright (c) 2016 The Open Source Geospatial Foundation.
# Licensed under the GNU LGPL version >= 2.1.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 2.1 o... | guygriffiths/OSGeoLive | bin/install_pywps.sh | Shell | lgpl-2.1 | 2,453 |
# Run image to create container.
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
set -x
cd "${SCRIPT_DIR}/../../.."
project_dir="${PWD}"
docker start "php73" ||
docker run \
--detach \
--interactive \
--mount "type=bind,src=${project_dir},dst=/data,readonly=true" \
--nam... | php-curl-class/php-curl-class | tests/dockerfiles/php73/2_start.sh | Shell | unlicense | 379 |
#/bin/sh
rootPassword=$1
SQLFILE=/tmp/alter_table.sql
checkPassword() {
if [ -z $rootPassword ]
then
echo "Please provide a password for mysql root"
exit 1
fi
}
prepare() {
echo "Preparing ..."
rm -f $SQLFILE
}
alter_table() {
echo "Changing engine to InnoDB. Sql is available for review in $SQLFILE"
my... | Bhamni/utilities | deprecated/scripts/archived/move-to-innodb.sh | Shell | apache-2.0 | 803 |
#!/bin/bash
# Copyright 2018 ARM Limited
#
# 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 ... | ARM-software/workload-automation | wa/workloads/googlephotos/uiauto/build.sh | Shell | apache-2.0 | 1,760 |
#!/bin/bash
killall app
exit 0
| agu-mh07/testci | codedeploy/ApplicationStop.sh | Shell | apache-2.0 | 31 |
#!/bin/bash
##
# @license Copyright 2020 The Lighthouse 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 b... | GoogleChrome/lighthouse | lighthouse-core/scripts/save-latest-run.sh | Shell | apache-2.0 | 1,100 |
#!/bin/sh
# *****************************************************************************
#
# Pentaho Data Integration
#
# Copyright (C) 2006-2019 by Hitachi Vantara : http://www.hitachivantara.com
#
# *****************************************************************************
#
# Licensed under the Apache License, ... | lgrill-pentaho/pentaho-kettle | assemblies/static/src/main/resources/purge-utility.sh | Shell | apache-2.0 | 1,248 |
#!/usr/bin/env bash
set -e
# bits of this were adapted from lxc-checkconfig
# see also https://github.com/lxc/lxc/blob/lxc-1.0.2/src/lxc/lxc-checkconfig.in
possibleConfigs=(
'/proc/config.gz'
"/boot/config-$(uname -r)"
"/usr/src/linux-$(uname -r)/.config"
'/usr/src/linux/.config'
)
if [ $# -gt 0 ]; then
CONFIG=... | medallia/docker | contrib/check-config.sh | Shell | apache-2.0 | 7,870 |
#!/bin/bash
source config.sh
if [ -z $db_name ] || [ -z $db_user ] || [ -z $db_password ] || [ -z $db_host ] || [ -z $db_root_pass ] || [ -z $daytona_install_dir ] || [ -z $daytona_data_dir ] || [ -z $ui_admin_pass ] || [ -z $email_user ] || [ -z $email_domain ] || [ -z $smtp_server ] || [ -z $smtp_port ]; then
ech... | deepeshmittal/daytona | InstallScripts/Ubuntu/fix_sample_framework_ip.sh | Shell | apache-2.0 | 763 |
#!/usr/bin/env bash
# ******************************************************
# DESC :
# AUTHOR : Alex Stocks
# VERSION : 1.0
# LICENCE : LGPL V3
# EMAIL : alexstocks@foxmail.com
# MOD : 2016-03-30 19:25
# FILE : client-load.sh
# ******************************************************
./bin/redis-cli -h 0.0... | penguin-diors/Exocet | redis_cluster/client/client-load.sh | Shell | apache-2.0 | 332 |
#!/bin/sh
ansible-playbook setup-ec2-scylla.yaml -e "@inventories/ec2/group_vars/all.yaml" -e "setup_name=`echo $ANSIBLE_EC2_PREFIX`" "$@"
| cloudius-systems/cassandra-test-and-deploy | ec2-setup-scylla.sh | Shell | apache-2.0 | 140 |
#!/bin/bash
set -o errexit
./mvnw clean
./mvnw -Prelease release:prepare
./mvnw -Prelease release:perform
| lightoze/jOOQ-extras-postgresql | release.sh | Shell | apache-2.0 | 108 |
#!/usr/bin/env bash
if [ -z "$1" ]; then
echo "Supply single argument -- version to update CSL to"
exit
fi
newVersion=$1
function updateVersion() {
sed -E -i -e "s/^(version\\:\\s+)(.+)/\\1$newVersion/" "$1"
}
for CB in $(git ls-files '*/cardano-*.cabal'); do
echo " ${CB}"
updateVersion "${CB}"
done... | input-output-hk/cardano-sl | scripts/haskell/update-cabal-versions.sh | Shell | apache-2.0 | 360 |
_go() {
cur="${COMP_WORDS[COMP_CWORD]}"
case "${COMP_WORDS[COMP_CWORD-1]}" in
"go")
comms="build clean doc env fix fmt generate get install list run test tool version vet"
COMPREPLY=($(compgen -W "${comms}" -- ${cur}))
;;
*)
files=$(find ${PWD} -mindepth 1 -maxdepth 1 -type f -iname ... | filipenos/dotfiles | completions.sh | Shell | apache-2.0 | 1,038 |
#!/bin/bash
# Rultor release versioning script for Maven projects.
#
# It looks for the project’s version, which MUST respect the pattern
# [0-9]*\.[0-9]*\.[0-9]*-SNAPSHOT and BE THE FIRST MATCH in pom.xml
#
# What it does: updates the pom.xml version of the project according to
# the variable ${tag} provided to rulto... | decorators-squad/eva | rrv.sh | Shell | bsd-3-clause | 1,983 |
#!/bin/bash
echo "enter project name:"
read projectName
echo "clone boilerplate into $projectName"
git clone git@github.com:ircam-jstools/es-next-prototyping-client.git "$projectName"
cd "$projectName"
echo "delete .git project"
rm -Rf .git
rm README.md
echo "npm install"
npm install
npm install --save waves-loade... | wavesjs/audio | examples/create-example.sh | Shell | bsd-3-clause | 698 |
#!/bin/sh
export DESTDIR=${DESTDIR-"${HOME}/prefix"}
export PATH="DESTDIR/bin:$DESTDIR/usr/bin:$PATH"
export LD_LIBRARY_PATH="$DESTDIR/usr/lib" #FIXME should be lib64 for a 64bit build
export DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH" # OSX
export PYTHONPATH="../python:$DESTDIR/var/libcrange/python"
#rm python/*.pyc
cd t
f... | square/libcrange | source/testit.sh | Shell | bsd-3-clause | 759 |
#
# This file is part of the CernVM File System
# This script takes care of creating, removing, and maintaining repositories
# on a Stratum 0/1 server
#
# Functionality related to SSL
# This file depends on fuctions implemented in the following files:
# - cvmfs_server_sys.sh
# - cvmfs_server_util.sh
# - cvmfs_server_m... | DrDaveD/cvmfs | cvmfs/server/cvmfs_server_ssl.sh | Shell | bsd-3-clause | 4,984 |
#########################################################################
# #
# OCaml #
# #
# Nicolas Pouillard, B... | ucsd-progsys/ml2 | eval/ocaml/ocamlbuild/test/test11/test.sh | Shell | bsd-3-clause | 1,157 |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# The syscall package provides access to the raw system call
# interface of the underlying operating system. Porting Go to
# a new architectur... | TomHoenderdos/go-sunos | src/pkg/syscall/mkall.sh | Shell | bsd-3-clause | 8,154 |
export INSTALL_SCLS=rh-php72
export ENABLE_SCLS=rh-php72
export PHP_HTTPD_PKGS="httpd24 rh-php72-php-fpm"
export HTTPD_SERVICE_NAME="httpd24-httpd rh-php72-php-fpm"
export STATIC_DATA_DIR=/opt/rh/httpd24/root/var/www/html
| khardix/sclo-ci-tests | collections/rh-php72-rh/include.sh | Shell | bsd-3-clause | 222 |
#!/usr/bin/env bash
#
# Copyright (c) 2008-2016 the Urho3D project.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, co... | gawag/Spooky-Urho-Sample | cmake_generic.sh | Shell | mit | 3,032 |
#!/bin/bash
#
# provision.sh
#
# This file is specified in Vagrantfile and is loaded by Vagrant as the primary
# provisioning script whenever the commands `vagrant up`, `vagrant provision`,
# or `vagrant reload` are used. It provides all of the default packages and
# configurations included with Varying Vagrant Vagrant... | digitalmediaproduction/JAMAVagrant | provision/provision.sh | Shell | mit | 25,582 |
#!/bin/sh -e
if [ -f codecs/ilbc/iLBC_define.h ]; then
echo "***"
echo "The iLBC source code appears to already be present and does not"
echo "need to be downloaded."
echo "***"
exit 1
fi
echo "***"
echo "This script will download the Global IP Solutions iLBC encoder/decoder"
echo "source code fr... | sangoma/gsm_asterisk | contrib/scripts/get_ilbc_source.sh | Shell | gpl-2.0 | 926 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | rajashreer7/autotest-client-tests | linux-tools/perl_Encode_Locale/perl-Encode-Locale.sh | Shell | gpl-2.0 | 3,785 |
. ./build.conf
LD_LIBRARY_PATH=build:$JDK_HOME/jre/lib/i386/server ./javafuse -f -o big_writes -o auto_cache -Cbrowsefs/BrowseFS:browsefs/selenium-server-standalone-2.7.0.jar -Ffs/browsefs/browsefs.config BrowseFS_Mount/
| leloulight/javafuse-read-only | browsefs_mount.sh | Shell | gpl-3.0 | 222 |
#!/bin/bash
#
#
# make use of Studio 11 or 12 compiler
#
export CC=cc
export CXX=CC
INSTALL_BASE=/opt/bacula
SBIN_DIR=$INSTALL_BASE/sbin
MAN_DIR=$INSTALL_BASE/man
SYSCONF_DIR=$INSTALL_BASE/etc
SCRIPT_DIR=$INSTALL_BASE/etc
WORKING_DIR=/var/bacula
VERSION=2.2.5
CWD=`pwd`
# Try to guess the distribution base
DISTR_BAS... | gagoel/bacula | platforms/solaris/makepkg.sh | Shell | agpl-3.0 | 1,748 |
# to declare your own command you use the keyword cmd
cmd test {
print("test")
}
# so, you can use your command like any other
test
# the commands declared can handle arguments, like any other command
# all arguments passed by the user is elements from args array
# args is a variable the is created inside command s... | alexst07/seti | samples/language/12-cmd.sh | Shell | apache-2.0 | 2,350 |
# Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software ... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/test/java/util/TimeZone/OldIDMappingTest.sh | Shell | apache-2.0 | 1,958 |
#!/usr/bin/env bash
set -e
if [ -n "$SKIP_TESTS" ]; then
exit 0
fi
SOURCE_DIR=${SOURCE_DIR:-$( cd "$( dirname "${BASH_SOURCE[0]}" )" && dirname $( pwd ) )}
BUILD_DIR=$(pwd)
TMPDIR=${TMPDIR:-/tmp}
USER=${USER:-$(whoami)}
SUCCESS=1
VALGRIND="valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --num... | chigraph/chigraph | third_party/libgit2/ci/test.sh | Shell | apache-2.0 | 6,799 |
#!/bin/bash
# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributi... | guorendong/iridium-browser-ubuntu | third_party/webrtc/modules/remote_bitrate_estimator/test/bwe_plot.sh | Shell | bsd-3-clause | 2,726 |
#!/bin/sh
uname -a
gcc --version
vips --version
# how large an image do you want to process?
# sample2.v is 290x442 pixels ... replicate this many times horizontally and
# vertically to get a highres image for the benchmark
tile=13
# how complex an operation do you want to run?
# this sets the number of copies of ... | bamos/parsec-benchmark | pkgs/apps/vips/src/benchmark/benchmarkn.sh | Shell | bsd-3-clause | 1,280 |
#!/bin/bash
set -eo pipefail
ACS_ENGINE_HOME=${GOPATH}/src/github.com/Azure/acs-engine
usage() {
echo "$0 [-v version] [-p acs_patch_version]"
echo " -v <version>: version"
echo " -p <patched version>: acs_patch_version"
}
while getopts ":v:p:" opt; do
case ${opt} in
v)
version=${OPTARG}
;;
... | SitoCH/acs-engine | scripts/build-windows-k8s.sh | Shell | mit | 6,168 |
# Set the different path for this activity
# This is sourced by runit.sh
path=$1
activity=hexagon
plugindir=$path/../boards/.libs
pythonplugindir=$path
resourcedir=$path/resources
section="/fun"
| keshashah/GCompris | src/hexagon-activity/init_path.sh | Shell | gpl-2.0 | 196 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-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/t8041-extra-tup-config.sh | Shell | gpl-2.0 | 1,478 |
#!/usr/bin/env 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... | gunan/tensorflow | tensorflow/lite/micro/tools/ci_build/test_arduino.sh | Shell | apache-2.0 | 1,560 |
#!/bin/bash
lib=$(dirname $0)/lib
$lib/ucalls.py -l tcl "$@"
| mcaleavya/bcc | tools/tclcalls.sh | Shell | apache-2.0 | 61 |
#!/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... | shridharmalimca/iOSDev | iOS/Components/OCRTest/Pods/Target Support Files/Pods-OCRTest/Pods-OCRTest-frameworks.sh | Shell | apache-2.0 | 3,729 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | jszczepkowski/kubernetes | staging/src/k8s.io/client-go/copy.sh | Shell | apache-2.0 | 7,157 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@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 Licens... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN002760.sh | Shell | apache-2.0 | 12,044 |
#!/bin/sh
set -e
HPTOOL=hptool/dist/build/hptool/hptool
HPTOOL_ALT=hptool/.cabal-sandbox/bin/hptool
if ( cabal sandbox --help >/dev/null 2>&1 ) ; then
if [ \! -d hptool/.cabal-sandbox ]
then
echo '***'
echo '*** Setting up sandbox for hptool'
echo '***'
cabal update
(c... | bgamari/haskell-platform | platform.sh | Shell | bsd-3-clause | 902 |
export ARCH=arm
export CROSS_COMPILE=/opt/toolchains/arm-eabi-4.4.3/bin/arm-eabi-
export USE_SEC_FIPS_MODE=true
make u1_defconfig
make | mozilla-b2g/kernel-android-galaxy-s2-ics | build_kernel.sh | Shell | gpl-2.0 | 135 |
#!/bin/sh
# 4.1.1 and 4.1.2 had a bug whereby some recursive listings
# didn't include a blank line between per-directory groups of files.
# Copyright (C) 2001-2014 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 Lice... | shichao-an/coreutils | tests/ls/recursive.sh | Shell | gpl-3.0 | 1,280 |
#!/bin/bash
# Copyright (c) 2018 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... | endlessm/chromium-browser | third_party/swiftshader/third_party/SPIRV-Tools/kokoro/linux-gcc-release/build.sh | Shell | bsd-3-clause | 775 |
#!/bin/bash
# Please note that this file is here only to help with debugging.
# In a working environment there is no need to create two new files per every
# email recieved. If done with debugging please use
# og_mailinglist_postfix_transport.php directly.
# Write message to file
cat >/tmp/message.$$
# Read message ... | markbannister/dev1collaboration | sites/all/modules/og_mailinglist/backends/exim_og_mailinglist/og_mailinglist_debug.sh | Shell | gpl-2.0 | 569 |
# Cocoa Functions
find /System/Library/Frameworks/{AppKit,Foundation}.framework -name \*.h -exec grep '^[A-Z][A-Z_]* [^;]* \**NS[A-Z][A-Za-z]* *(' '{}' \;|perl -pe 's/.*?\s\*?(NS\w+)\s*\(.*/$1/'|sort|uniq|./list_to_regexp.rb >/tmp/functions.txt
# Cocoa Protocols Classes
{ find /System/Library/Frameworks/{AppKit,Found... | zyqhi/zemacofig | vendor/yasnippet/yasmate/bundles/objc-tmbundle/Support/Collect Cocoa Definitions.sh | Shell | gpl-2.0 | 1,470 |
#!/bin/bash
set -eo pipefail
dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
image="$1"
dbImage='mysql:5.7'
# ensure the dbImage is ready and available
if ! docker image inspect "$dbImage" &> /dev/null; then
docker pull "$dbImage" > /dev/null
fi
# Create an instance of the container-under-test
mysqlCid="$(docker ... | neo-technology/docker-official-images | test/tests/monica-cli/run.sh | Shell | apache-2.0 | 1,447 |
install_service() {
mkdir /test-service
mv /app.jar /test-service/spring-boot-app.jar
chmod +x /test-service/spring-boot-app.jar
ln -s /test-service/spring-boot-app.jar /etc/init.d/spring-boot-app
}
install_double_link_service() {
mkdir /test-service
mv /app.jar /test-service/
chmod +x /test-service/app.... | royclarkson/spring-boot | spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/intTest/resources/scripts/test-functions.sh | Shell | apache-2.0 | 998 |
# store all NETFS* variables
# I don't know why it does not work with the full declare -- var=value syntax
# found out by experiment that I need to remove the declare -- stuff.
declare -p ${!NETFS*} | sed -e 's/declare .. //' >>$ROOTFS_DIR/etc/rear/rescue.conf
| krissi/rear | usr/share/rear/rescue/NETFS/default/60_store_NETFS_variables.sh | Shell | gpl-2.0 | 261 |
#!/bin/bash
SCM_URL=https://github.com/cisco/openh264
SCM_TAG=master
source $(dirname "${BASH_SOURCE[0]}")/android-build-common.sh
function build {
echo "Building architecture $1..."
BASE=$(pwd)
common_run cd $BUILD_SRC
PATH=$ANDROID_NDK:$PATH
MAKE="make PATH=$PATH ENABLEPIC=Yes OS=android NDKROOT=$ANDROID_NDK T... | bmiklautz/FreeRDP | scripts/android-build-openh264.sh | Shell | apache-2.0 | 1,436 |
#! /bin/sh
# Test old-style module crap.
BITNESS=32
rm -rf tests/tmp/*
# Create inputs
MODULE_DIR=tests/tmp/lib/modules/$MODTEST_UNAME
mkdir -p $MODULE_DIR/drivers/type
ln tests/data/$BITNESS/normal/noexport_nodep-$BITNESS.ko \
$MODULE_DIR/drivers/type
mkdir -p $MODULE_DIR/other/type
ln tests/data/$BITNESS/norma... | zhang-xin/kdi | usermode/module-init-tools-3.12/tests/test-modprobe/20oldstyle.sh | Shell | gpl-2.0 | 2,920 |
#
# For a description of the syntax of this configuration file,
# see extra/config/Kconfig-language.txt
#
config TARGET_ARCH
string
default "sh"
config FORCE_OPTIONS_FOR_ARCH
bool
default y
select ARCH_ANY_ENDIAN
config ARCH_CFLAGS
string
choice
prompt "Target Processor Type"
default CONFIG_SH4
help
Thi... | kidmaple/CoolWall | uClibc/extra/Configs/Config.sh | Shell | gpl-2.0 | 969 |
#!/usr/bin/env bash
get_counts.sh data/int_20k 3 data/counts_20k_3
mkdir -p data/optimize_20k_3
get_initial_metaparameters.py \
--ngram-order=3 \
--names=data/counts_20k_3/names \
--num-train-sets=$(cat data/counts_20k_3/num_train_sets) > data/optimize_20k_3/0.metaparams
validate_metaparameters.py \
--n... | keli78/pocolm | egs/tedlium/local/self_test.sh | Shell | apache-2.0 | 968 |
#!/bin/bash
#
# Copyright 2008-2009 LinkedIn, 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 applicabl... | birendraa/voldemort | contrib/hadoop-store-builder/bin/hadoop-build-readonly-store.sh | Shell | apache-2.0 | 980 |
echo ===============================================================================
echo \[tabescape_off.sh\]: test for tab escaping off
$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
./nettester -ttabescape_off -iudp
if [ "$?" -ne "0" ]; then
exit 1
fi
echo test via tcp
./nettester -ttabescape_... | rangochan/rsyslog | tests/tabescape_off.sh | Shell | gpl-3.0 | 368 |
#!/bin/bash
alias azure=azure.cmd
# Set variables for existing resource group
existingRGName="IaaSStory"
location="westus"
vnetName="WTestVNet"
backendSubnetName="BackEnd"
remoteAccessNSGName="NSG-RemoteAccess"
# Set variables to use for backend resource group
backendRGName="IaaSStory-Backend"
prmStorageAccountName=... | robotechredmond/azure-quickstart-templates | IaaS-Story/11-MultiNIC/arm/virtual-network-deploy-multinic-arm-cli.sh | Shell | mit | 3,479 |
#!/bin/bash
# GPG support is optional
# called by dracut
check() {
require_binaries gpg || return 1
return 255
}
# called by dracut
depends() {
echo crypt
}
# called by dracut
install() {
inst_multiple gpg
inst "$moddir/crypt-gpg-lib.sh" "/lib/dracut-crypt-gpg-lib.sh"
}
| matlinuxer2/dracut | modules.d/91crypt-gpg/module-setup.sh | Shell | gpl-2.0 | 295 |
# Aliases
alias g='git'
compdef g=git
alias gst='git status'
compdef _git gst=git-status
alias gl='git pull'
compdef _git gl=git-pull
alias gup='git pull --rebase'
compdef _git gup=git-fetch
alias gp='git push'
compdef _git gp=git-push
alias gd='git diff'
gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff
al... | bkono/oh-my-zsh | plugins/git/git.plugin.zsh | Shell | mit | 2,728 |
# Add final information to the script.
cat >> $LAYOUT_CODE <<EOF
set +x
set +e
LogPrint "Disk layout created."
EOF | krissi/rear | usr/share/rear/layout/prepare/default/55_finalize_script.sh | Shell | gpl-2.0 | 118 |
#!/bin/bash -eu
# This test measures master replication overhead by running a number of
# autocommit queries with wsrep_on set to 0 and 1.
#
# NOTES:
# - The load was deliberately chosen to produce maximum replication overhead.
# - SQL commands are first dumped into a text file in order to minimize client
# overhead... | percona/debian-percona-galera-3 | tests/regressions/lp1255964/run.sh | Shell | gpl-2.0 | 1,805 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2015 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions... | codeprimate/arid | zsh/zsh-syntax-highlighting/highlighters/main/test-data/anonymous-function.zsh | Shell | bsd-2-clause | 2,396 |
#!/usr/bin/env sh
set -e
node ./tablegen-x86.js $@
| johnparker007/mame | 3rdparty/asmjit/tools/tablegen.sh | Shell | gpl-2.0 | 51 |
#!/bin/bash
#
# Script to run gjslint on only the modified or added files in the current
# branch. Should be run from the base git directory with the PR branch checked
# out.
USER_BASE=$(python -c "import site;import sys;sys.stdout.write(site.USER_BASE)")
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
CHANGED_FILES... | NROER/drupal-intranet | sites/all/libraries/openlayers3/closure-library/scripts/ci/lint_pull_request.sh | Shell | gpl-2.0 | 735 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testParallelPipedQuadEL " "$0" "$@"
| kelchuan/snac_thesis | StGermain/Discretisation/Mesh/tests/testParallelPipedQuadEL.2of3.sh | Shell | gpl-2.0 | 206 |
#!/bin/bash
export CPATH="$PREFIX/include"
export LIBRARY_PATH="$PREFIX/lib"
make
mkdir -p $PREFIX/bin
cp bioawk $PREFIX/bin
| dmaticzka/bioconda-recipes | recipes/bioawk/build.sh | Shell | mit | 128 |
PGBIN=/usr/local/pgsql/bin
echo "Creating test cluster... "
mkdir testdata
chmod 700 testdata
$PGBIN/initdb -D testdata > log/test.log 2>&1
echo "Starting test cluster... "
$PGBIN/pg_ctl -l log/backend.log -D testdata start >> log/test.log 2>&1
sleep 2
echo "Inserting test data... "
$PGBIN/psql postgres < sql/test.sql ... | foyzur/gpdb | contrib/xlogdump/test/test.sh | Shell | apache-2.0 | 1,422 |
#
# Copyright (C) 2014 OpenWrt.org
#
platform_get_rootfs() {
local rootfsdev
if read cmdline < /proc/cmdline; then
case "$cmdline" in
*block2mtd=*)
rootfsdev="${cmdline##*block2mtd=}"
rootfsdev="${rootfsdev%%,*}"
;;
*root=*)
rootfsdev="${cmdline##*root=}"
rootfsdev="${rootfsdev%% *}"
;... | greedymouse/openwrt | target/linux/octeon/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 1,926 |
#!/bin/sh
# 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 applicable law or... | krmayankk/kubernetes | test/images/echoserver/run.sh | Shell | apache-2.0 | 1,429 |
#!/bin/sh
#
# dex2jar - Tools to work with android .dex and java .class files
# Copyright (c) 2009-2012 Panxiaobo
#
# 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... | gianina-ingenuity/titanium-branch-deep-linking | testbed/x/plugins/com.appcelerator.test/versions/8244.293/MakeAppTouchTestable/android/dex2jar/d2j-init-deobf.sh | Shell | mit | 1,091 |
#!/bin/bash
clear
echo "Classes generation thru schemas XSD - JAXB"
echo ""
echo "Working dir"
pwd
echo ""
export DEFAULT_XSD_DIR="./schemas/nfe/PL_009_V4_V1.30"
export DEFAULT_PACKAGE_NAME="io.echosystem.ebr.nfe.bind.v4.sv130"
export DEFAULT_DESTINATION_DIR="./classes-geradas/v4130"
read -p "XSD files directory [$DE... | rodolphopicolo/e-BR | geracao-classes/gerar-classes.sh | Shell | mit | 1,492 |
#!/usr/bin/env bash
echo "You need JQ and the AWS CLI installed in your machine to be able to run this script"
echo "Choose the db instance identifier:"
read -e dbInstanceIdentifier
aws rds describe-db-log-files --db-instance-identifier ${dbInstanceIdentifier} > /tmp/${dbInstanceIdentifier}-describe-db-log-files
ca... | albertocubeddu/serverUtility | rdsLogExporter.sh | Shell | mit | 1,082 |
#!/bin/sh
set -ex
PYI_PATH=$(python -c "import PyInstaller as _; print(_.__path__[0])")
PYI_RTH_PKGUTIL=$PYI_PATH/hooks/rthooks/pyi_rth_pkgutil.py
if [ "$RUNNER_OS" == "Windows" ]; then
unix2dos ./pyi_rth_pkgutil.py.patch
fi
patch $PYI_RTH_PKGUTIL < ./pyi_rth_pkgutil.py.patch
if [ "$RUNNER_OS" == "Windows" ]; then... | sunoru/pokemon_tournament | scripts/patch.sh | Shell | mit | 364 |
#!/bin/bash
dotnet ../src/SizePhotos/bin/Debug/net5.0/SizePhotos.dll -i
| AerisG222/SizePhotos | test/test_invalid.sh | Shell | mit | 72 |
#!/bin/bash
source ${0%/*}/config.sh
set -e
echo
echo '---------------------------------'
echo 'Generate packages'
echo '---------------------------------'
pushd $ROOT_DIR
if [ ! -d $PCK_DIR ] ; then
mkdir $PCK_DIR
fi
rm -f $PCK_DIR/qtrb_device_$PCK_VERSION.zip
rm -f $PCK_DIR/qtrb_host_$PCK_VERSION.zip
rm -f $PCK... | GuillaumeLazar/qtrb | 70_generate_packages.sh | Shell | mit | 680 |
#!/usr/bin/env bash
# @author xiaofeng
# @usage sudo ztrace php_pid
ztrace_php7()
{
cat>$FILE<<EOF
import operator
import gdb
import time
import os
def ztrace():
so_path = os.path.abspath("$1")
print so_path
gdb.execute("set \$dl_handle = (void *)dlopen(\"" + so_path + "\", 1)")
gdb.execute("print \... | goghcrow/php-minimalism | src/tools/ztrace_TODO/ztrace.sh | Shell | mit | 1,679 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1599-1
#
# Security announcement date: 2012-10-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:00 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - linux-image-3.2.0-1420-omap4:3.2.0-142... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2012/USN-1599-1.sh | Shell | mit | 851 |
#!/bin/bash -eo pipefail
[ -d "$RUNDIR" ] || mkdir "$RUNDIR"
chown haproxy:haproxy "$RUNDIR"
chmod 2775 "$RUNDIR"
if [ ! -z "$PIPEWORK"]
then
/usr/bin/pipework --wait
fi
export ETCD_PORT=${ETCD_PORT:-4001}
export HOST_IP=${HOST_IP:-172.17.42.1}
export ETCD=$HOST_IP:4001
echo "[haproxy-confd] booting container. ET... | nicolerenee/docker-haproxy-confd | start.sh | Shell | mit | 680 |
TITLE="Internet Outage Logger Script v5.1 - 2014/02/02"
# Written By: AustinSaintAubin@gmail.com
# sh "/mnt/usb8gb/active_system/scripts/logging/internet_outage_logger.sh" "$(nvram get wan_gateway)" "5g"
# ====================================================================================================
# [# Global S... | AustinSaintAubin/linux-bash-scripts-library-core | logging/internet_outage_logger.sh | Shell | mit | 9,791 |
#!/usr/bin/env bash
cd $(dirname $0)/..
$(yarn bin)/electron-builder --mac --win --x64 --publish never
mv './dist/Redmine Now-0.4.0.dmg' ./dist/mac/RedmineNowSetup-0.4.0.dmg
mv './dist/Redmine Now-0.4.0.dmg.blockmap' ./dist/mac
mv ./dist/latest-mac.yml ./dist/mac
mkdir -p ./dist/win
mv './dist/Redmine Now Setup 0.4.0... | emsk/redmine-now | bin/pack-all.sh | Shell | mit | 455 |
#!/bin/sh
if [ "$1" = macos ]; then
if ! brew list fzf >/dev/null; then
brew_install fzf
"$(brew --prefix)/opt/fzf/install"
fi
elif [ "$1" = alpine ]; then
apk_add fzf
elif [ "$1" = debian ]; then
if ! type fzf >/dev/null; then
# Try installing with apt with fallback to git
apt_install fzf... | stephencroberts/dotfiles | modules/fzf/install.sh | Shell | mit | 561 |
#!/bin/sh
set -e
APPDIR="$(dirname "$(readlink -e "$0")")"
. "$APPDIR"/common.conf
exec "$PYTHON" -s "${APPDIR}/usr/bin/electron-cash" "$@"
| fyookball/electrum | contrib/build-linux/appimage/scripts/apprun.sh | Shell | mit | 143 |
#!/bin/bash
source environ.sh
BROKEN
SRC=http://ftp.gnu.org/gnu/make/make-4.2.tar.gz
DIR=make-4.2
CONFIGURE_ARGS=("CFLAGS=-DPOSIX" "--host=${HOST}" "--without-guile")
configure_template $*
| redox-os/libc | ports/make.sh | Shell | mit | 193 |
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade --all
# Install GNU core utilities (those that come with macOS are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnu... | thorsten/dotfiles | brew.sh | Shell | mit | 3,605 |
#!/bin/bash
################################################################################
#### Dialog function ####
################################################################################
bootstrapper_dialog() {
DIALOG_RESULT=$(whiptail --clear --b... | rasschaert/arch-bootstrap | bootstrap.bash | Shell | mit | 7,542 |
#!/bin/bash
# Startup registrator, logs will be written to console.
# Needs to run inside the container
CMD="/bin/registrator $@"
$CMD
| hudl/registrator | run-registrator.sh | Shell | mit | 139 |
#!/bin/bash
: <<COMMITBLOCK
# 脚本名称:swip.sh
# 脚本用途:数字转换IP地址脚本
# 作者:hooboor
# 版本:VER. 1.0
# Copyright (c) 2015-2018
# 修改日期:2015/10/19
COMMITBLOCK
#默认值
DEFAULT=0
#初始值
initData=$1
#将输入数字分为两段
#整数部分
_src_int=`echo $initData|awk -F. '{printf("%d\n",$1)}'|sed -e 's/\ //g'`
#为负数,退出
if [ "$_src_int" -lt "0" ]
then
ec... | hooboor/ShellDemo | general/swip-beta.sh | Shell | mit | 9,336 |
#!/bin/sh
set -eo pipefail -o nounset
#download SVs from gnomAD (grch37) in bgzipped VCF format
wget --quiet https://storage.googleapis.com/gnomad-public/papers/2019-sv/gnomad_v2.1_sv.sites.vcf.gz
#sort and tabix
gsort gnomad_v2.1_sv.sites.vcf.gz https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/GRCh37/grch37-structural-variants-gnomad-v1/recipe.sh | Shell | mit | 481 |
#!/bin/bash
# runGameOfLife1000.sh
# Muriel Brunet, Isaiah Mann
# CSC 352, Spring 17
# Run for 1000 generations
# chmod a+x runGameOfLife1000.sh
# ./runGameOfLife1000.sh
# ./runGameOfLife1000.sh 2>&1 | grep "with\|real" > timing1000gen.data
javac *.java # compile all the files
for i in 2 4 8 12 16 20 32 64 ; do # num... | imann24/game-of-life-parallel | src/runGameOfLife1000.sh | Shell | mit | 596 |
#!/bin/bash
set -eu
# SUBMIT THETA
# Runs main.sh on Theta
# Use 'submit-theta.sh -h' for help
usage()
{
echo "usage: submit-theta [-q QUEUE] [-w WALLTIME] NODES PARALLELISM"
}
# Defaults:
QUEUE="default"
WALLTIME=00:02:00
while getopts "hq:w:" OPTION
do
case $OPTION in
h) usage ; exit 0 ;;
q) QUEUE=$OP... | ECP-CANDLE/Supervisor | workflows/async-local/submit-theta.sh | Shell | mit | 1,145 |
#!/bin/bash
# Script to migrate to Neovim from Vim
# Install neovim
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
# Migrate dotfiles from Vim
mkdir ~/.config/nvim
ln -s ./vim/.vimrc ~/.config/nvim/init.vim
# Support for Python extensions
sudo apt-get install python-... | mikeliturbe/dotfiles | neovim_migration.sh | Shell | mit | 430 |
for i in $(ls *.JPG); do exiv2 -r '%Y%m%d.%H%M%S.:basename:' rename $i; done
| tacy/shell | linux/rename_jpg_by_create_date.sh | Shell | mit | 77 |
#!/bin/sh
# Install prerequisites.
apt-get update
apt-get install -y -q --no-install-recommends \
curl ca-certificates make g++ sudo bash
# Install Fluentd.
/usr/bin/curl -sSL https://toolbelt.treasuredata.com/sh/install-ubuntu-xenial-td-agent2.sh | sh
# Change the default user and group to root.
# Needed to allo... | m-wrona/kubernetes-elasticsearch | docker/fluentd/build.sh | Shell | mit | 1,070 |
GENOME=Rspe02.final.assembly.fasta
~/bio/Applications/EVM_r2012-06-25/EvmUtils/recombine_EVM_partial_outputs.pl \
--partitions partitions_list.out \
--output_file_name evm.out
~/bio/Applications/EVM_r2012-06-25/EvmUtils/convert_EVM_outputs_to_GFF3.pl \
--partitions partitions_list.out \
--output evm.out \
--gen... | shujishigenobu/genome_annot | app/EVM/pipeline_1/run_evm_step3_recombine_outputs.sh | Shell | mit | 332 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.