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
OUTPUT=`lava-tool submit-job http://admin:l7y5cz0ttbzedtg7ai1okum11eic3n49igs4t6uiraou0amk3bbs2uqh0impai0y7u9a6mue0ep3m081qjwnw0xtoskocz2xnyina3edkkdjooblh94110e41fl66uq1@10.192.242.176/RPC2 \
/home/r64343/workspace/lava-test/test/imx6dl_sabresd/imx6dl_sabresd_vte_regression.json`
if [ $? -eq 0 ]
then
JOB... | eslover/lava-test | test/imx6dl_sabresd/start_ci_regression.sh | Shell | gpl-2.0 | 981 |
#!/bin/bash
apt-get install sudo tor elasticsearch gnumeric build-essential unzip rsync proxychains gnupg evince libreoffice emacs-nox curl make libssl-dev
cd /home/gh
mkdir data
mkdir tools
echo 'rvm_path="/home/gh/.rvm"' >> ~/.rvmrc
\curl -sSL get.rvm.io | bash -s stable
source /home/gh/.rvm/scripts/rvm
rvm autoli... | TransparencyToolkit/UtilityScripts | config/install.sh | Shell | gpl-3.0 | 782 |
# Core script to include in all dev scripts
# Exports :
# $pb_repo : Remote pb repo
# $pb_branch : Branch to pull from on $pb_repo
# Load the local config file
if [ -f "./dev-scripts/pb-config.sh" ]; then
. "./dev-scripts/pb-config.sh"
else
echo "Error: pb must be run from the project root."
exit 1;
fi... | dorian-marchal/phonegap-boilerplate-example | dev-scripts/dev-core.sh | Shell | gpl-3.0 | 895 |
#!/bin/sh
#
# Copyright (C) 2010, 2012, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
rm -f K* ns1/K* keyset-*... | pecharmin/bind9 | bin/tests/system/pkcs11/clean.sh | Shell | mpl-2.0 | 451 |
#!/bin/sh
echo ============= Checking for cmake ============
if (cmake --version)
then
echo "found CMake"
else
echo "cmake not found, please install it (see http://www.cmake.org/)"
exit
fi
os=`uname`
for config in Release Debug
do
echo
echo ============= Creating makefiles for $config mode =============
mk... | pierrekraemer/TubularMesh | old/VolumeViewer/configure.sh | Shell | lgpl-3.0 | 621 |
#!/bin/sh
# Wiperdog Service Startup Script for Unix
# determine the prefix
self="$0"
while [ -h "$self" ]; do
res=`ls -ld "$self"`
ref=`expr "$res" : '.*-> \(.*\)$'`
if expr "$ref" : '/.*' > /dev/null; then
self="$ref"
else
self="`dirname \"$self\"`/$ref"
fi
done
dir=`dirname "$self"`
PREFIX=`cd "$dir/.." &... | wiperdog/wiperdog | bin/startWiperdog.sh | Shell | apache-2.0 | 526 |
#!/bin/bash
docker build -t hub.dsra.local:5000/dsra/mesos-dns:0.5.2 .
| aglahe/dsra-dcos | docker/mesos-dns/build.sh | Shell | apache-2.0 | 71 |
#!/bin/bash
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | evanw/flatbuffers | samples/android_sample.sh | Shell | apache-2.0 | 1,267 |
#!/bin/sh -x
div=$1
db=$2
sid=$3
properties=$4
group=$5
hcdb=$6
if [ -z "$JAVA_OPTS" ]; then
JAVA_OPTS=-Xmx15g
fi
export JAVA_OPTS
report_dir=$(dirname $0)/hc_reports/$div/$sid
mkdir -p $report_dir
echo "Running HCs on $div:$db in session $sid to $report_dir/$db.out"
div=${div,,}
if [[ $db =~ core ]] || [[ $db... | Ensembl/ensj-healthcheck | run_ens_hc_hive.sh | Shell | apache-2.0 | 1,321 |
# LXD-related test helpers.
spawn_lxd() {
set +x
# LXD_DIR is local here because since $(lxc) is actually a function, it
# overwrites the environment and we would lose LXD_DIR's value otherwise.
# shellcheck disable=2039
local LXD_DIR lxddir lxd_backend
lxddir=${1}
shift
storage=${1}... | jsavikko/lxd | test/includes/lxd.sh | Shell | apache-2.0 | 10,932 |
#!/usr/bin/env 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 "Lice... | zuotingbing/spark | dev/create-release/do-release-docker.sh | Shell | apache-2.0 | 4,318 |
#!/bin/bash
curl -i -X POST -d '
fromCategory("account").foreachStream().whenAny(
function (state, ev) {
if (state.c === undefined) state.c = 0;
if (state.c != ev.sequenceNumber)
throw "stream: " + ev.streamId + " state.c: " + state.c + " seq: " + ev.sequenceNumber;
state.c++;
return state;
... | msbahrul/EventStore | src/EventStore/Scripts/Projections/test2.sh | Shell | bsd-3-clause | 898 |
#!/usr/bin/env bash
echo 'Splash is running on http://127.0.0.1:8050'
docker run -p 5023:5023 -p 8050:8050 -p 8051:8051 scrapinghub/splash | aniversarioperu/django-manolo | scrapers/scripts/splash/run-splash.sh | Shell | bsd-3-clause | 138 |
#!/bin/sh
mongo
| FuzzyBearings/kanban-node | start/mongo.sh | Shell | mit | 17 |
#!/bin/sh
# autoInstallFFmpeg-1.1
# Shell script for automated installation of FFmpeg from source.
# Author: pantuts
# Website: http://pantuts.com
# All installation procedures can be found from its official compilation guide.
# Guide: http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
# Credits and thanks to f... | phtagn/sickbeard_mp4_automator | installffmpeg.sh | Shell | mit | 4,590 |
time go test -v -benchmem -bench . | tee benchmarks.txt | jasonmoo/oc | benchmark.sh | Shell | mit | 55 |
#!/usr/bin/env bash
trap 'exit 1' ERR
./gradlew --version
echo ""
echo ">>> Running configlet..."
bin/fetch-configlet
bin/configlet lint .
pushd exercises
echo ""
echo ">>> Running tests..."
TERM=dumb ../gradlew check compileStarterSourceJava --parallel --continue
popd
| jmluy/xjava | bin/unit-tests.sh | Shell | mit | 273 |
#!/bin/bash
install-depends numad
# We're managing numad now
/etc/init.d/numad stop || exit -1
NUMAD_BIN=/usr/sbin/numad
if [ ! -e $NUMAD_BIN ]; then
NUMAD_BIN=/usr/bin/numad
fi
if [ ! -e $NUMAD_BIN ]; then
exit -1
fi
TAILPID=
shutdown_numad() {
$NUMAD_BIN -i 0
kill $TAILPID
exit 0
}
trap shutdown_numad SIGTE... | gormanm/mmtests | monitors/watch-numad.sh | Shell | gpl-2.0 | 406 |
#!/bin/bash
#Prints the program usage
# ${0} - the program name
# ${1} - the function name
# ${2} - the list of additional parameters (optional)
# ${3} - the additional parameter's description (optional)
function usage_post(){
echo "------"
echo "USAGE:"
echo "------"
echo " ${0} --work-dir=<work-dir> --job-ui... | ivan-zapreev/Distributed-Translation-Infrastructure | script/text/process_utils.sh | Shell | gpl-2.0 | 2,326 |
#!/bin/sh
WDTVLIVE_FOLDER=/opt/wdtv-live
APP_FOLDER=$WDTVLIVE_FOLDER/app_folder
MOUNT_FOLDER=$WDTVLIVE_FOLDER/mount_folder
OUTPUT_FOLDER=$WDTVLIVE_FOLDER/output
ORIGINAL_FOLDER=$WDTVLIVE_FOLDER/dd-wdtv-live
RAR_FOLDER=$WDTVLIVE_FOLDER/Public
SVN_FOLDER=$WDTVLIVE_FOLDER/svn/DownloadDaemon
echo "uploading to SVN"
#sudo... | tvhung83/downloaddaemon | tools/wdtv-live/upload_svn.sh | Shell | gpl-2.0 | 464 |
#!/usr/bin/gnuplot
set terminal pngcairo
set output 'nodes.png'
set xlabel "Size"
set autoscale
set ylabel "Number of nodes"
set title "BnB TSP"
set grid
set style data points
set key top left
unset key
set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2
set style line 2 lc rgb '#5e9c36' pt 2 ps 1 lt 1 lw 2... | h3nnn4n/tsp | tests_size/plot.sh | Shell | gpl-3.0 | 1,493 |
#!/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/supplementary/dispmanx.sh | Shell | gpl-3.0 | 1,939 |
echo '==> Configuring OneOps for vagrant'
mkdir -p /home/oneops
mv /tmp/oneops-continuous.tar.gz /home/oneops/oneops-continuous.tar.gz
cd /home/oneops
tar zxf oneops-continuous.tar.gz -C /home/
azure=${azure_inductor:-false}
mkdir -p /home/oneops/dist/oneops-admin-inductor
if [ "$azure" = "true" ]; then
tar zx... | okornev/oneops | oneops-packer/script/oneops/oneops-setup.sh | Shell | apache-2.0 | 5,272 |
create namespace testspace
use namespace testspace
create stream test_long
truncate stream test_long
load stream test_long test_long.csv
set stream format test_long csv 'col_id int, col_long long, col_expected string'
execute 'select col_id, col_long, col_expected from stream_test_long' | skilurus/cdap-odbc-driver | CdapObcs.TestsManual/test_long.sh | Shell | apache-2.0 | 287 |
#!/usr/bin/env 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
# "Lice... | bolkedebruin/airflow | scripts/ci/static_checks/ui_lint.sh | Shell | apache-2.0 | 1,263 |
#!/bin/bash
##
## Copyright (c) 2010 The WebM 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... | rikaunite/gst-opera_libvpx | build/make/gen_msvs_proj.sh | Shell | bsd-3-clause | 18,934 |
#!/usr/bin/env bash
# Copyright (c) 2014, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
functi... | Abhikos/osquery | tools/provision/rhel.sh | Shell | bsd-3-clause | 3,331 |
#!/bin/bash
FN="MOFAdata_1.2.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/MOFAdata_1.2.0.tar.gz"
"https://bioarchive.galaxyproject.org/MOFAdata_1.2.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mofadata/bioconductor-mofadata_1.2.0_src_all.tar.gz"
)
MD5="2... | Luobiny/bioconda-recipes | recipes/bioconductor-mofadata/post-link.sh | Shell | mit | 1,288 |
set $mod Mod4
| minextu/i3-config | config.d/02keyBindVariables.sh | Shell | gpl-2.0 | 14 |
# Install/unInstall package files in LAMMPS
# mode = 0/1/2 for uninstall/install/update
mode=$1
# arg1 = file, arg2 = file it depends on
action () {
if (test $mode = 0) then
rm -f ../$1
elif (! cmp -s $1 ../$1) then
if (test -z "$2" || test -e ../$2) then
cp $1 ..
if (test $mode = 2) then
... | Pakketeretet2/lammps | src/USER-ADIOS/Install.sh | Shell | gpl-2.0 | 2,578 |
#!/bin/sh
INCLUDE_ONLY=1
. ../netifd-proto.sh
. ./ppp.sh
init_proto "$@"
proto_3g_init_config() {
no_device=1
available=1
ppp_generic_init_config
proto_config_add_string "device"
proto_config_add_string "apn"
proto_config_add_string "service"
proto_config_add_string "pincode"
}
proto_3g_setup() {
local inter... | arkanet/openwrt-trunk-arkanet | package/comgt/files/3g.sh | Shell | gpl-2.0 | 2,087 |
#!/bin/bash
#----------------------------------*-sh-*--------------------------------------
# ========= |
# \\ / F ield | foam-extend: Open Source CFD
# \\ / O peration |
# \\ / A nd | For copyright notice see file Copyright
# \\/ M anipulation |
#--------... | KangX1/openfoam-extend-foam-extend-3.1 | etc/settings.sh | Shell | gpl-3.0 | 22,491 |
#!/bin/sh
# Run ipython notebook tests
ORIG_DIR=`pwd`
cd examples/
./ipynbtests.sh || exit 1
cd $ORIG_DIR
| jrossyra/adaptivemd | devtools/ci/ipythontests.sh | Shell | lgpl-2.1 | 107 |
fpath=($rvm_path/scripts/zsh/Completion $fpath)
alias rubies='rvm list rubies'
alias gemsets='rvm gemset list'
local ruby18='ruby-1.8.7'
local ruby19='ruby-1.9.3'
local ruby20='ruby-2.0.0'
local ruby21='ruby-2.1.1'
function rb18 {
if [ -z "$1" ]; then
rvm use "$ruby18"
else
rvm use "$ruby18@$1"
fi
}
_rb18() ... | matthewscottgordon/oh-my-zsh | plugins/rvm/rvm.plugin.zsh | Shell | mit | 1,637 |
#!/bin/bash
#
# Copyright (C) 2007 Karel Zak <kzak@redhat.com>
#
# This file is part of util-linux.
#
# This file 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... | SanDisk-Open-Source/SSD_Dashboard | uefi/userspace/util-linux-2.20.1/tests/run.sh | Shell | gpl-2.0 | 1,658 |
#!/bin/bash
D=$(pushd $(dirname $0) &> /dev/null; pwd; popd &> /dev/null)
P=${D}/ipkg.tmp.$$
B=${D}/ipkg.build.$$
pushd ${D} &> /dev/null
VER=$(head -n 3 CHANGES.md | grep -i '## Version' | sed 's/^## Version \([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\)/\1/')
GITVER=e2openpluginsgit$(git log -1 --format="%ci" | aw... | MDXDave/ModernWebif | create_sh4.sh | Shell | gpl-2.0 | 1,910 |
#!/bin/bash
OS_IS_OSX=NO
uname -s|grep Darwin >/dev/null 2>&1
ret=$?; if [[ 0 -eq $ret ]]; then
OS_IS_OSX=YES
fi
echo "Is OSX: ${OS_IS_OSX}"
# when export srs-librtmp single files
# package the whole project to srs_librtmp.h and srs_librtmp.cpp
#
# params:
# $SRS_OBJS_DIR the objs directory for Makefile. ie. ... | antonioparisi/srs | trunk/auto/generate-srs-librtmp-single.sh | Shell | mit | 5,111 |
#!/bin/bash -l
module load pymods/2.7
module load numpy
#SBATCH --job-name=blbfit
#SBATCH --mem-per-cpu=6000
#SARRAY --range=1-250
# Email notifications (optional), type=BEGIN, END, FAIL, ALL
##SBATCH --mail-type=ALL
##SBATCH --mail-user=pdbaines@ucdavis.edu
# Standard out and Standard Error output files with the j... | longphin/Bayesian---STA250 | HW2/BLB/BLB_lin_reg_run_py.sh | Shell | mit | 613 |
#!/bin/sh -u
# Register protocol definitions for GDB, the GNU debugger.
# Copyright (C) 2001-2019 Free Software Foundation, Inc.
#
# This file is part of GDB.
#
# 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 Softw... | timfel/squeakvm | processors/ARM/gdb-8.3.1/gdb/regformats/regdat.sh | Shell | mit | 4,988 |
#!/bin/sh -u
# Register protocol definitions for GDB, the GNU debugger.
# Copyright 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
#
# This file is part of GDB.
#
# 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 F... | Bytewerk/uClinux-ipcam | user/gdb/gdb/regformats/regdat.sh | Shell | gpl-2.0 | 3,976 |
#!/bin/ksh -p
#
# Copyright (c) 2012, 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 Fre... | upenn-acg/REMIX | jvm-remix/openjdk/jdk/test/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh | Shell | gpl-2.0 | 6,716 |
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); y... | bjigmp/incubator-spot | spot-setup/hdfs_setup.sh | Shell | apache-2.0 | 2,025 |
#!/bin/bash
# Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditio... | philcleveland/grpc | tools/run_tests/helper_scripts/run_ruby_end2end_tests.sh | Shell | bsd-3-clause | 2,085 |
#!/bin/bash
if [ ! $# -eq 1 ]; then
echo "ERROR: specify 1 argument: the mingw gcc"
exit 1
fi
GCC="$1"
if [ ! -x "$GCC" ]; then
GCC="$(which "$GCC" | head -1)"
if [ ! -x "$GCC" ]; then
echo "ERROR: the mingw gcc ($GCC) is not executable"
exit 1
fi
fi
versions=( $("$GCC" -dumpversion | sed -r -e "s/... | cholin/olsrd | make/getmingwversion.bash | Shell | bsd-3-clause | 1,191 |
#!/bin/bash
set -e
apt-get update -y
apt-get -y upgrade
apt-get install -y build-essential
apt-get install -y software-properties-common
apt-get install -y curl git unzip wget bzip2 python
| Mgonand/dockerimages | nodescreen/scripts/lib/install_base.sh | Shell | mit | 189 |
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
# TODO: This entire script _should_ be replaced with git submodules, but
# that cannot be done until we sort out the limitations of that option. At
# this time, this script is called by libretro-super. Revisit the whole
# issue at some point.
SCRIPT="${0#.... | Monroe88/RetroArch | fetch-submodules.sh | Shell | gpl-3.0 | 2,348 |
#
# Copyright (c) 2008, 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 Foun... | greghaskins/openjdk-jdk7u-jdk | test/java/lang/instrument/ManifestTest.sh | Shell | gpl-2.0 | 15,150 |
#!/system/bin/sh
# Copyright (c) 2012, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, th... | davros-/elite_kernel_jf | Ramdisks/AOSP_VZW/init.qcom.syspart_fixup.sh | Shell | gpl-2.0 | 3,132 |
#!/bin/bash
ppa_dir=./ppa/
pushd $ppa_dir
for f in *.deb; do
echo "Extracting $f..."
ar xv "$f"
rm debian-binary
rm control.tar.*
tar xf data.tar.* --exclude=*mingw*/bin/fluid
rm data.tar.*
done
popd
echo "Your extracted files should be located in $ppa_dir"
| Lukas-W/lmms | cmake/msys/extract_debs.sh | Shell | gpl-2.0 | 268 |
#!/bin/sh
set -e
if test "x$srcdir" = x ; then
srcdir=`pwd`
fi
cmp nctest_classic.nc $srcdir/ref_nctest_classic.nc
cmp nctest_64bit_offset.nc $srcdir/ref_nctest_64bit_offset.nc
| biospi/seamass-windeps | src/netcdf-4.4.1/nctest/compare_test_files.sh | Shell | apache-2.0 | 178 |
#! /bin/bash
BASE_URL=http://kaldi-asr.org/downloads/build/2/sandbox/online/egs/fisher_english/s5
MODEL=exp/nnet2_online/nnet_a_gpu_online
GRAPH=exp/tri5a
modeldir=`dirname $0`/english/fisher_nnet_a_gpu_online
mkdir -p $modeldir
cd $modeldir
wget -N $BASE_URL/$MODEL/final.mdl || exit 1
(mkdir -p ivector_extractor... | dwks/silvius-backend | test/models/download-fisher-nnet2.sh | Shell | bsd-2-clause | 873 |
#!/bin/sh
##
## Copyright (c) 2014 The WebM 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 c... | youtube/cobalt | third_party/libvpx/test/set_maps.sh | Shell | bsd-3-clause | 1,805 |
# $NetBSD: t_dots.sh,v 1.5 2010/11/07 17:51:18 jmmv Exp $
#
# Copyright (c) 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistribution... | veritas-shine/minix3-rpi | tests/fs/tmpfs/t_dots.sh | Shell | apache-2.0 | 2,403 |
# Open the current directory in a Finder window
alias ofd='open_command $PWD'
function _omz_osx_get_frontmost_app() {
local the_app=$(
osascript 2>/dev/null <<EOF
tell application "System Events"
name of first item of (every process whose frontmost is true)
end tell
EOF
)
echo "$the_app"
... | alexhillc/oh-my-zsh | plugins/osx/osx.plugin.zsh | Shell | mit | 7,414 |
#!/bin/bash
mocha --recursive -R list server/tests/ | asdac/login | run_server_tests.sh | Shell | mit | 52 |
#!/bin/bash -ue
# Copyright (C) 2013 Percona 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; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
#... | hholzgra/server | scripts/wsrep_sst_xtrabackup.sh | Shell | gpl-2.0 | 21,662 |
#!/bin/bash
#
# Name: RUN_Migrate.sh
# Description: script to migrate version
# Created: 2010-05-12
# Vendor: K.K. Alice
# Author: Stefan Christians
#
# FileTarget: ~/development/sandbox/adempiere/utils/RUN_Migrate.sh
# FileOwner: spc.dvp
# FilePerms: 0755
#
# exit codes:
errorSuccess=0 # successful execution
e... | erpcya/adempierePOS | utils/RUN_Migrate.sh | Shell | gpl-2.0 | 3,982 |
#
# Copyright (c) 2006, 2007, 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 Softwar... | vicmarcal/JAVA_UNIT | test/javax/crypto/SecretKeyFactory/FailOverTest.sh | Shell | gpl-3.0 | 2,143 |
#!/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 o... | micheleorsi/contrib | mungegithub/mungers/publish.sh | Shell | apache-2.0 | 1,466 |
#!/bin/bash
fw_depends mysql php5 nginx composer
sed -i 's|192.168.100.102|'"${DBHOST}"'|g' app/config/bootstrap/connections.php
sed -i 's|root .*/FrameworkBenchmarks/php-lithium|root '"${TROOT}"'|g' deploy/nginx.conf
sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
php-fpm --fpm-config $FWROOT/t... | mfirry/FrameworkBenchmarks | frameworks/PHP/lithium/setup.sh | Shell | bsd-3-clause | 429 |
#!/bin/bash
# This will mount VBox shared folders.
# It assumes the following names have been added to VBox:
# gscmnt
# var
# lsf
if [ "$UID" -ne "0" ]
then
echo "You must be root."
exit 1
fi
USERUID=$1
if [ -z "$1" ]
then
echo "You must set the first arg to your UID."
echo "If you intend to use LSF, ... | ahwagner/genome | gmt-sys-vmbuilder/mount.sh | Shell | lgpl-3.0 | 894 |
#!/bin/sh
test_description='basic work tree status reporting'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
test_expect_success setup '
git config --global advice.statusuoption false &&
test_commit A &&
test_commit B oneside added &&
git checkout A^0 &&
t... | abg1979/git | t/t7060-wtstatus.sh | Shell | gpl-2.0 | 6,229 |
#!/bin/sh
# ViennaRNA does not support Python 3 for MacOSX.
## choose extra configure options depending on the operating system
## (mac or linux)
##
if [ `uname` == Darwin ] ; then
extra_config_options="--disable-openmp
--enable-universal-binary
--without-python... | yesimon/bioconda-recipes | recipes/viennarna/build.sh | Shell | mit | 620 |
#!/bin/bash
#
# Run all tests within the tests directory
#
version=$1
test_dir="$(dirname $(readlink -f $BASH_SOURCE))"
tests_dir="${test_dir}/tests/"
for file in `find ${tests_dir} -type f -name '*.bats'`; do
file="$(echo $file | sed "s:${tests_dir}::")"
$test_dir/run.sh $file $version
if [[ "$?" -ne "0" ]]; ... | pagodabox/nanobox-docker-build | test/run_all.sh | Shell | mpl-2.0 | 453 |
#!/bin/sh
date > /etc/vagrant_box_build_time
OSX_VERS=$(sw_vers -productVersion | awk -F "." '{print $2}')
# Install VMware tools if we were built with VMware
if [ -e .vmfusion_version ]; then
TMPMOUNT=`/usr/bin/mktemp -d /tmp/vmware-tools.XXXX`
hdiutil attach darwin.iso -mountpoint "$TMPMOUNT"
installer -pkg "$... | mhuckaby/veewee | templates/OSX/postinstall.sh | Shell | mit | 925 |
#! /bin/sh
#
# Copyright (c) 2004, 2008, 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 ... | ohpauleez/soymacchiato | src/jdk/make/java/nio/genCharsetProvider.sh | Shell | gpl-2.0 | 3,030 |
#
# Copyright (c) 2004, 2011, 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 Softwar... | stain/jdk8u | test/sun/tools/jps/jps-l_1.sh | Shell | gpl-2.0 | 1,317 |
#!/bin/sh
test_description='git archive --format=zip test'
. ./test-lib.sh
SUBSTFORMAT=%H%n
test_lazy_prereq UNZIP_SYMLINKS '
(
mkdir unzip-symlinks &&
cd unzip-symlinks &&
"$GIT_UNZIP" "$TEST_DIRECTORY"/t5003/infozip-symlinks.zip &&
test -h symlink
)
'
check_zip() {
zipfile=$1.zip
listfile=$1.lst
dir... | twitter/git | t/t5003-archive-zip.sh | Shell | gpl-2.0 | 3,278 |
tar -xvf download*
# copying over all necessary files
mkdir -p $PREFIX/bin/
mkdir -p $PREFIX/lib/
mkdir -p $PREFIX/doc/
cp taxator-tk_1.3.3e-64bit/bin/alignments-filter $PREFIX/bin/
cp taxator-tk_1.3.3e-64bit/bin/binner $PREFIX/bin/
cp taxator-tk_1.3.3e-64bit/bin/fasta-strip-identifier $PREFIX/bin/
cp taxator-tk_1.3.... | ostrokach/bioconda-recipes | recipes/taxator-tk/build.sh | Shell | mit | 749 |
#!/bin/bash
PERSISTENT_HDFS=/root/persistent-hdfs
pushd /root/spark-ec2/persistent-hdfs > /dev/null
source ./setup-slave.sh
for node in $SLAVES $OTHER_MASTERS; do
ssh -t $SSH_OPTS root@$node "/root/spark-ec2/persistent-hdfs/setup-slave.sh" & sleep 0.3
done
wait
/root/spark-ec2/copy-dir $PERSISTENT_HDFS/conf
if [... | yg257/Pangea | templates/root/ec2/persistent-hdfs/setup.sh | Shell | apache-2.0 | 544 |
#!/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... | irasnyd/kubernetes | hack/verify-generated-conversions.sh | Shell | apache-2.0 | 1,688 |
#!/bin/sh
# store.sh - test storing coverage reports with jscoverage-server
# Copyright (C) 2008 siliconforks.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 ... | daslicht/TimberExperiments | wp-content/themes/mwt/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/deps/ejs/node_modules/expresso/deps/jscoverage/tests/store.sh | Shell | gpl-2.0 | 4,463 |
#! /bin/sh
aclocal && \
automake --add-missing --force-missing --include-deps && \
autoconf
| sharpwhisper/ChinaDNS | autogen.sh | Shell | gpl-3.0 | 101 |
#!/usr/bin/env bash
make html
rsync --delete -az _build/html/ ~/src/sjl.bitbucket.org/flask-urls
hg -R ~/src/sjl.bitbucket.org commit -Am 'flask-urls: Update documentation.'
hg -R ~/src/sjl.bitbucket.org push
| sjl/flask-urls | docs/publish.sh | Shell | mit | 210 |
#!/bin/sh
DBNAME="myapp_test"
if [ "$1" ]
then
DBNAME="$1"
fi
echo "---> Creating $(tput bold ; tput setaf 2)MySQL database$(tput sgr0) : $(tput bold ; tput setaf 3)$DBNAME$(tput sgr0)"
mysql -uroot -e "DROP DATABASE IF EXISTS $DBNAME; CREATE DATABASE $DBNAME;"
| simpleit/BehatViewer | .travis/scripts/mysql.sh | Shell | mit | 269 |
#!/bin/sh
. venv/bin/activate
cd kafka-monitor
./kafka_monitor.py feed '{"appid":"testapp", "uuid": "junk"}'
| quixey/scrapy-cluster | scripts/ScrapyStatus.sh | Shell | mit | 110 |
#/bin/sh
tar --ignore-failed-read -cvf tux-$USER.tar $(find /home/git -type d -name "$USER" 2>/dev/null)
| timothyhahn/tuxfiles | find-all-submit-cli-submissions.sh | Shell | mit | 106 |
#!/bin/sh
TIMECRON1=${TIMECRON:-300}
while :
do
fetchmail -f /data/etc/fetchmailrc
sleep $TIMECRON1
done
| cguentherTUChemnitz/docker-fetchmail | fetchmail_daemon.sh | Shell | mit | 110 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2516-1
#
# Security announcement date: 2015-02-26 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:17 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - linux-image-3.13.0-46-generic-lpae:3... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/x86_64/2015/USN-2516-1.sh | Shell | mit | 2,261 |
# get the name of the branch we are on
function git_prompt_info() {
ref=$(command git symbolic-ref HEAD 2> /dev/null) || \
ref=$(command git rev-parse --short HEAD 2> /dev/null) || return
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX"
}
# Checks if working tr... | nathanstilwell/oh-my-zsh | lib/git.zsh | Shell | mit | 4,614 |
#!/usr/bin/env bash
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y git
| fagnerng/utils | scripts/install_git.sh | Shell | mit | 113 |
#!/bin/bash
CONTAINER_NAME="grails"
APP_VERSION="0.1"
GRAILS_REPO="GrailsRestfulAPIService"
GRAILS_APP="apiservice"
## Instruct grails inside of docker to build the WAR file
docker exec grails su grails_user -c /home/grails_user/$GRAILS_REPO/$GRAILS_APP/build_grails_war.sh
## Retrieve the completed WAR from the contai... | jeffharwell/docker_grails_development | package_and_retrieve_war.sh | Shell | mit | 490 |
#!/usr/bin/env bash
## =============================================================================
# File: install-simple.sh
#
# Author: Cashiuus
# Created: 02/20/2016 - (Revised: 29-Mar-2021)
#
# MIT License ~ http://opensource.org/licenses/MIT
#-[ Notes ]-----------------------------------------------------... | Cashiuus/penprep | dotfiles/install-simple.sh | Shell | mit | 2,310 |
cd build
ctest --output-on-failure $@
| spirit-code/spirit | ctest.sh | Shell | mit | 38 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY=$(cd "${1%/*}" && pwd)
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_resour... | abcxo/XJoin | Pods/Target Support Files/Pods/Pods-resources.sh | Shell | mit | 6,279 |
#!/bin/sh
fx_prof=`echo ~/.mozilla/firefox/*.default`
cd $fx_prof
pwd
for f in `ls *.sqlite`
do
echo "$f"
sqlite3 "$f" vacuum
sqlite3 "$f" reindex
done
| tkhren/dotfiles | src/.bin/fx-optimize.sh | Shell | mit | 159 |
###########################################
# Dev Alias - Software Engineer Helpers #
# Author: Rafael Corrêa Gomes #
###########################################
# Core
base="~/.dev-alias"
# Alias Upgrade
alias upgrade-devalias="cd $base;rm master.zip;wget https://github.com/rafaelstz/dev-alias/archive/... | rafaelstz/dev-alias | alias.sh | Shell | mit | 4,049 |
#!/bin/bash
declare -a repos=("openfaas-incubator/openfaas-operator" "openfaas-incubator/faas-idler" "openfaas/faas" "openfaas/faas-swarm" "openfaas/nats-queue-worker" "openfaas/faas-netes" "openfaas/faas-cli")
HERE=`pwd`
ARCH=$(uname -m)
#if [ ! -z "$CACHED" ]; then
rm -rf staging || :
mkdir -p staging/openf... | rgee0/faas | contrib/publish-arm.sh | Shell | mit | 2,023 |
#!/bin/sh
set -e
echo -n docker_version=
/opt/root/bin/docker --version | sed 's/Docker version //'
| epfl-sti/cluster.coreos.puppet | facts.d/docker_version.sh | Shell | mit | 102 |
#!/bin/bash
UBFILE=$(echo $0 | sed 's/\.sh/\.list/g')
MAILFROM="fail2ban@adminsite.com"
MAILTO="admin@adminsite.com"
#TODO read params from etc/conf.json
if [ ! -f $UBFILE ]; then
echo "Error file $UBFILE Not found!"
exit 0
fi
if [ ! -s $UBFILE ]; then
exit 0
fi
UNBANIP() {
ip=$1
for chain in $(/sbin/iptables ... | stefanocudini/mWm | scripts/unbanip-list.sh | Shell | mit | 698 |
#!/usr/bin/env bash
cd /var/www
echo "Running Update Now\n"
OLD_GITSHORT=`git rev-parse --short HEAD`
echo "Pulling Latest code from $GITREPO_BRANCH"
cp /var/www/.env /var/.env
git checkout master
git branch -D production
git pull origin
git checkout $GITREPO_BRANCH
rm -rf /var/www/{dist,vendor}
unzip -q dist.zip -d /... | Symplicity/antidote | deployment/worker/build/scripts/update.sh | Shell | mit | 632 |
#brew install unrar
if [ -f original.srt ]; then rm original.srt; fi
if [ -f converted.srt ]; then rm converted.srt; fi
if [ -f *.zip ]; then echo 'Extracting ZIP file...'; unzip -a *.zip; fi
if [ -f *.rar ]; then echo 'Extracting RAR file...'; 7z e *.rar; fi
mv *.srt original.srt
echo "Original file: "
file -bI origin... | RodolfoDiaz/codelibrary | scripts/get_subs.sh | Shell | mit | 434 |
#!/bin/bash -e
# Input parameters
export ARCHITECTURE="$1"
export OS="$2"
export ARTIFACTS_BUCKET="$3"
export VERSION=master
# reqExec
export REQ_EXEC_PATH="$REQEXEC_REPO_STATE"
export REQ_EXEC_PACKAGE_PATH="$REQEXEC_REPO_STATE/package/$ARCHITECTURE/$OS"
# Binaries
export REQ_EXEC_BINARY_DIR="/tmp/reqExec"
export RE... | avinci/beta | buildAndPushReqExecArtifacts.sh | Shell | mit | 1,339 |
#!/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... | IMcD23/Proton | Example/Pods/Target Support Files/Pods-Proton_Tests/Pods-Proton_Tests-frameworks.sh | Shell | mit | 4,038 |
#!/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... | xushiyan/PowerKit | Example/Pods/Target Support Files/Pods-PowerKit_Example/Pods-PowerKit_Example-frameworks.sh | Shell | mit | 3,552 |
#!/bin/bash
# Create DBCS instance
curl -X POST -u <USER ID>:<IDENTITY DOMAIN PASSWORD> -d @createDBCSRequestBody.json -H "X-ID-TENANT-NAME:<IDENTITY DOMAIN NAME>" -H "Content-Type:application/json" -i https://dbaas.oraclecloud.com/jaas/db/api/v1.1/instances/<IDENTITY DOMAIN NAME>
| hecklerm/OPCScriptsEtc | createDBCS.sh | Shell | mit | 283 |
#!/usr/bin/env bash
set -o pipefail
USAGE="$0"
HERE="$(dirname ${0})"
source "${HERE}"/scripts/lib/user.sh
##
# some reports
printf -- "# Balance Sheet\n"
"${HERE}"/scripts/balance.sh "${HERE}"
printf -- "\n# Features Summary\n"
"${HERE}"/scripts/features.sh --only-matches "${HERE}"
printf -- "\n# Todo Summary\n"
... | uucidl/exp.algorithms | status.sh | Shell | mit | 501 |
#!/bin/bash
arg="$(readlink -f $1)"
rundir="$(dirname $0)"
cd "$rundir"
java -classpath .:dkpro-statistics-agreement-2.1.0.jar UnitizingAnnotationEvaluator $arg | peldszus/DiscourseSegmenter | dsegmenter/evaluation/alpha/eval_alpha_unit.sh | Shell | mit | 160 |
#! /bin/sh -e
if [ -z "$1" ]; then
echo "Usage: $0 PRINCIPAL"
exit 1
fi
echo -n "Password for '$1': "
stty -echo
read PASS
stty echo
clear
while true; do
date
echo "$PASS" | kinit $@
aklog
sleep 10800
done
| valtri/tinyafs | refresh.sh | Shell | mit | 215 |
#!/bin/bash
set -e
ROOTDIR=`dirname "$0"`
ROOTDIR=`cd "$ROOTDIR/../.." && pwd`
source "$ROOTDIR/shared/lib/library.sh"
# the macos/support/bin/c++ script incorrectly uses cc instead of c++ here
export CXX=/usr/bin/c++
CMAKE_VERSION=$(cat "$ROOTDIR/shared/definitions/cmake_version")
header "Installing cmake $CMAKE_VE... | phusion/passenger_binary_build_automation | macos/runtime_setup_stages/install_cmake.sh | Shell | mit | 741 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.