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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
# update javadocs for RxJava2.x
git checkout RxJava2.x
./gradlew clean androidJavadocs
git checkout gh-pages
rm -rf javadoc/RxJava2.x/*
cp -avr library/build/docs/javadoc/* ./javadoc/RxJava2.x
git add -A
git commit -m "updating JavaDoc for RxJava2.x"
rm -rf library/build/docs
echo "javadocs for RxJ... | pwittchen/prefser | update_javadocs.sh | Shell | apache-2.0 | 406 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Garagem.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=Garagem.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
PACK... | asxtecnologia/pic | Garagem/nbproject/Package-default.bash | Shell | apache-2.0 | 1,357 |
#!/bin/sh
PORT=$1
[ -n "$PORT" ] || PORT=8082
curl -H "Content-Type: application/json" \
-d '{"id":1,"name":2,"description":"xyz"}' \
http://127.0.0.1:$PORT/foo
| dyu/fbs-nginx-module | tests/foo_wrong_field_type.sh | Shell | apache-2.0 | 171 |
#!/bin/bash
#Wrapper script that launches docker image with file argument mounted
#Directory in docker image we keep the current file in
WORKDIR=/workdir
if [[ $# == 1 ]]; then
#get full path
FILENAME=$(basename $1)
ABSFILE=$( cd $(dirname $1); pwd)/$FILENAME
docker run -v $ABSFILE:$WORKDIR/$FILENAME -i -t ... | amouat/dim | dim.sh | Shell | apache-2.0 | 421 |
#!/usr/bin/env bash
cd ~/GR_binding_site_analysis/hg19/;
for cov in ~/GR_18hr_ChIP/dex_GR_18hr_T47D_hg19.bw ~/GR_1hr_ChIP/GR_1hr_Dex_hg19_sort_noOverlap.bw ~/GR_8hr_Reddy/GR_8h_Dex_coverage_VehSub_hg19.bw ~/GR_8hr_Reddy/GR_A549_ChIP_Dex_8hr_hg19_N1_merge.bw ~/GR_8hr_Reddy/GR_A549_ChIP_Veh_8hr_hg19_N1_merge.bw
do
c... | emilliman5/BioinfoWorkflows | deeptools_metagene.sh | Shell | apache-2.0 | 832 |
if [ "$#" -ne 4 ]; then
echo $0 " rootfile consfile etamin towerid"
exit
fi
export ROTTFILENAME=$1
export OUTFILENAME="output_check_pca_const.out"
export CONSTFILE=$2
export TOWERID=$4
echo "Using " $ROTTFILENAME " and const file " $CONSTFILE " out " $OUTFILENAME " towerid " $TOWERID
> $OUTFILENAME
declare -a ar... | lstorchi/pca_fit | utilities/check_barrell_fast.sh | Shell | apache-2.0 | 2,918 |
#!/usr/bin/env bash
if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
openssl aes-256-cbc -K $encrypted_696c4e028bea_key -iv $encrypted_696c4e028bea_iv -in cd/codesigning.asc.enc -out cd/codesigning.asc -d
gpg --fast-import cd/codesigning.asc
fi | camaral/sheeco | cd/before-deploy.sh | Shell | apache-2.0 | 285 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
CND_CONF=Release
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}/tutorial06
OUT... | TennisGazelle/cs791ALopez | ogldev-source/tutorial06/nbproject/Package-Release.bash | Shell | apache-2.0 | 1,459 |
echo "+ Downloading cookbooks"
berks install --path=cookbooks
| TheSerapher/chef-repo | bootstrap.sh | Shell | apache-2.0 | 62 |
#!/bin/bash -f
# Vivado (TM) v2016.4 (64-bit)
#
# Filename : clk_wiz_0.sh
# Simulator : Cadence Incisive Enterprise Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-dire... | martinmiranda14/Digitales | Lab_6/clkdiv/clkdiv.ip_user_files/sim_scripts/clk_wiz_0/ies/clk_wiz_0.sh | Shell | apache-2.0 | 5,551 |
#! /bin/bash -e
npm run lint
npm run test
npm run lint-css
npm run css
npm run js
NBIN="./node_modules/.bin"
# echo $NBIN
$NBIN/babel dist/index.es6.js --out-file dist/index.js
$NBIN/uglifyjs dist/index.js --compress --mangle --output dist/index.min.js
# cp ./src/index.pre.html ./dist/index.html
| yotra/web-app | build.sh | Shell | apache-2.0 | 303 |
#!/bin/bash
docker inspect -f '{{ .Config.Labels.date }}' $*
| uProxy/uproxy | docker/testing/run-scripts/image_date.sh | Shell | apache-2.0 | 61 |
#!/bin/bash
version()
{
tier=${TIER}
newvers=${VERSION}
echo "Found tier ${tier}, version ${newvers}"
}
| tavultesoft/keymanweb | linux/scripts/version.sh | Shell | apache-2.0 | 117 |
#!/bin/bash
# v2, 20151201
# v3, 20190825
# change python interpreter here, if necessary
PYTHON="/usr/bin/env python"
export SRCHOME="$(pwd)"
####
export PYTHONPATH="$SRCHOME/lib:$SRCHOME/bin:$PYTHONPATH"
$PYTHON $*
| carlosm3011/cm2c-python-lib | test/test.sh | Shell | bsd-2-clause | 219 |
#Test if parameter is a existing regular file
#
# Params:
# $1 <-- A file path
assertIsFile () {
if [ -f "$1" ]
then
pass
else
fail "'$1' is not a regular file or does not exist"
fi
}
#Test if parameter is NOT a regular file (but esists)
#
# Params:
# $1 <-- A path
assertIsNotFile () {
if [ '(' ! '(' ... | NeonMan/shellUnit | shunit.d/filesystem-asserts.sh | Shell | bsd-2-clause | 3,844 |
#!/bin/bash
SERVER=${1:?'server?'}
SITE=${2:?'site?'}
SENV=${3:?'site env?'}
source $(dirname ${BASH_SOURCE})/env.bash
git_user="${SITE}$(echo ${RUN_MODE} | tr [:lower:] [:upper:])"
ansible ${SERVER} \
-s -i inventory.py \
-m git \
-a "dest=${SITES_BASEDIR}/${SITE}/${SENV} repo=ssh://${git_user}@${MASTE... | jctincan/tsadm-ansible | siteenv_checkout.sh | Shell | bsd-3-clause | 406 |
# [2010.06.17] If I'm going to keep these multiple run_all_* scripts around I should factor out their commonalities:
function check_error() {
CODE=$1
MSG=$2
# Error code 143 was a timeout
if [ "$CODE" == "143" ]
then echo " # Return code $CODE Params: $CNC_VARIANT $CNC_SCHEDULER $FLAGS" | tee -a $RESU... | rrnewton/Haskell-CnC | run_all_shared.sh | Shell | bsd-3-clause | 720 |
#!/bin/bash
. ./revisionup_ebuild.sh
cd ~/trunk/src/overlays/overlay-x86-pentiumm
mkdir x11-base
cd x11-base
cp -r ~/trunk/src/third_party/chromiumos-overlay/x11-base/xorg-server .
cd ~/trunk/src/overlays/overlay-x86-pentiumm
patch -p1 --dry-run < ~/myenv/patches/x11-base/xorg-server.patch
read -p 'check dry-run patc... | crosbuilder/CustomBuilds | script/modify_xorg-server.sh | Shell | bsd-3-clause | 468 |
#!/bin/bash -x
make config cc=mpicc prefix=$PWD/../install debug=1 assert=1
| SCOREC/m3dc1_scorec | scorec_build/metis_config.sh | Shell | bsd-3-clause | 76 |
#!/bin/sh
set -x
. ./travis-common.sh
# Read out ACCOUNT and REPO from the slug
# Cribbed from http://unix.stackexchange.com/a/53323/118117
ACCOUNT=${TRAVIS_REPO_SLUG%%"/"*}
REPO=${TRAVIS_REPO_SLUG#*"/"}
# TAG will be used to uniquely identify a matrix entry; we
# need to push each matrix entry to a separate branch... | themoritz/cabal | travis/upload.sh | Shell | bsd-3-clause | 3,467 |
java -Djava.net.preferIPv4Stack=true -jar $HOME/plovr/plovr-81ed862.jar soyweb --dir src/main/webapp/
| AllTheDucks/jshack | common-web/plovr-soyweb.sh | Shell | bsd-3-clause | 102 |
#!/bin/bash
BASH=`which bash`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BUILD_TARGET=all
BUILD_CONFIGURATION=Release
remove_image()
{
DOCKER_REMOVE_COMMAND="$BASH $BUILD_SOURCESDIRECTORY/scripts/build/remove-docker-image.sh $buildDockerImageTag"
echo $DOCKER_REMOVE_COMMAND
$DOCKER_REMOVE_COMMAND
... | KCL-Planning/VAL | scripts/build_linux_windows.sh | Shell | bsd-3-clause | 2,767 |
/usr/local/sbin/ser2net -d -p 9999 -u -c ser2net.conf
| douglasdecouto/py-concord | ConcordAlarm.indigoPlugin/Contents/Server Plugin/concord/ser2net.sh | Shell | bsd-3-clause | 54 |
#!/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... | taji-taji/TJExtensions | Example/Pods/Target Support Files/Pods-TJExtensions_Tests/Pods-TJExtensions_Tests-frameworks.sh | Shell | mit | 3,723 |
# Fetch data about the last few audio responses from Heroku on the command line (requires credentials).
heroku pg:psql --command "SELECT json->'name', json->'audioUrl' FROM evidence WHERE type='message_popup_audio_response' ORDER BY id DESC LIMIT 10;" | mit-teaching-systems-lab/threeflows | scripts/fetch.sh | Shell | mit | 251 |
#!/bin/bash
FN="pd.pae.g1a_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/pd.pae.g1a_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.pae.g1a_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.pae.g1a/bioconductor-pd.pae.g1a_3.12.0_src_all.ta... | roryk/recipes | recipes/bioconductor-pd.pae.g1a/post-link.sh | Shell | mit | 1,417 |
#!/usr/bin/env bash
source ./docker-env.sh
# Starts all applications. Run 'mvn docker:build' in platform and webapp before this script to create docker images.
# Remove existing containers
docker-compose stop
docker-compose rm -f
## Start new containers
docker-compose up -d
# Show logs. Hit 'Ctrl + c' to exit.
#... | holisticon/continuous-delivery-demo | docker-run.sh | Shell | mit | 412 |
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export JRE_HOME=/usr/lib/jvm/java-8-oracle
wget http://dist.neo4j.org/neo4j-enterprise-3.0.0-M05-unix.tar.gz > null
mkdir neo
tar xzf neo4j-enterprise-3.0.0-M05-unix.tar.gz -C neo --strip-components=1 > null
sed -i.bak 's/^\(dbms\.security\.auth_enabled=\).*/\1f... | lucasjovencio/codeigniter-neo4j-movies-template | application/libraries/vendor/graphaware/neo4j-bolt/build/install-neo.sh | Shell | mit | 536 |
#!/bin/bash
set -e
. client/go-crosscompilation.sh
if [ "$1" == "env" ]; then
PLATFORMS_COUNT=$(echo $PLATFORMS | sed -e "s/\ /\n/g" | wc -l)
PLATFORMS_OK_COUNT=$(ls -1 $(go env GOROOT)/pkg | grep -v -E "obj|tool|_race" | wc -l)
if [ "$PLATFORMS_COUNT" != "$PLATFORMS_OK_COUNT" ]; then
go-crosscom... | bodji/test4 | client/build.sh | Shell | mit | 914 |
#!/usr/bin/env bash
version=$1
echo "Version: $version"
mkdir ${version}
mv build-monitor.tar.gz ${version}
cd ${version}
tar -xvf build-monitor.tar.gz
cd bundle/programs/server
npm install
cd -
ln -s bundle/programs/web.browser/app public
mkdir logs
cd ..
passenger stop
rm current
ln -s ${version} current
pas... | Imodules/build-monitor | .gulp/deploy.sh | Shell | mit | 333 |
#!/bin/sh
npm run-script webdriver-update
webpack-dev-server --content-base . --config webpack.config.js &
npm run-script webdriver-start &
until $(wget -O /dev/null http://127.0.0.1:4444/wd/hub/); do sleep 1; done
`npm bin`/protractor test/protractor.conf.js
| lykmapipo/formstamp | script/run-e2e.sh | Shell | mit | 261 |
#!/bin/sh
# Copyright (C) 2009-2013 OpenWrt.org
. /lib/functions/leds.sh
. /lib/ar71xx.sh
get_status_led() {
case $(ar71xx_board_name) in
alfa-nx)
status_led="alfa:green:led_8"
;;
all0305)
status_led="eap7660d:green:ds4"
;;
antminer-s1)
status_led="antminer-s1:green:system"
;;
antminer-s3)
status_l... | Gateworks/openwrt | target/linux/ar71xx/base-files/etc/diag.sh | Shell | gpl-2.0 | 7,201 |
#!/bin/sh
#
# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission ... | atmark-techno/atmark-dist | user/bind/bin/tests/system/limits/tests.sh | Shell | gpl-2.0 | 2,520 |
#!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='Two way merge with read-tree -m $H $M
This test tries two-way merge (aka fast forward with carry forward).
There is the head (called H) and another commit (called M), which is
simply ahead of H. The index and the work tree contains a state that
is ... | certik/git | t/t1001-read-tree-m-2way.sh | Shell | gpl-2.0 | 10,509 |
#!/bin/sh
set -exu
lttng create
lttng enable-event -a -k
lttng start
sleep 1
lttng stop
count=$(lttng view | wc -l)
if [ $count -lt "100" ]; then
false
fi
| PSRCode/lttng-ci-1 | scripts/packaging/test-run.sh | Shell | gpl-2.0 | 161 |
#!/bin/sh
scriptpid=$$
apppid=/tmp/.mplayer-app.$$.pid
app=mplayer
# For osx look for processor specific mplayer executable in locations used by mplayer installer
if [ `uname` = "Darwin" ] ; then
if [ `uname -p` = "i386" ] && [ -x "/Applications/MPlayer OSX.app/Contents/Resources/External_Binaries/mplayer.app/Content... | ralph-irving/squeezeslave | config/mplayer.sh | Shell | gpl-2.0 | 1,234 |
#!/bin/bash
RAZER_BLACKWIDOW_CHROMA_DEVICES=`ls /sys/bus/hid/devices/ | grep "1532:0203"`
for DEV in $RAZER_BLACKWIDOW_CHROMA_DEVICES
do
if [ -d "/sys/bus/hid/devices/$DEV/input" ]; then
INPUT_DEVS=`ls /sys/bus/hid/devices/$DEV/input`
for INPUT_DEV in $INPUT_DEVS
do
MOUSE=`ls /sys/bus/hid/devices/$DEV/in... | TheKiwi5000/razer_blackwidow_chroma_driver | scripts/tests/deactivate_driver.sh | Shell | gpl-2.0 | 934 |
#!/usr/bin/haserl
<%
shellgui '{"action":"check_session","session_type":"http-session","session":"'"$COOKIE_session"'"}' &>/dev/null
[ $? -ne 0 ] && printf "Location: /?app=login\r\n\r\n" && return 1
eval $(/usr/shellgui/progs/main.sbin l_p '_LANG_App_|_LANG_Form_' ${FORM_app} $COOKIE_lang)
%>
<!DOCTYPE html>
<html>
<%... | link4all/20170920openwrt | own_files/qca953x/files_9531shellgui_gobinet_OK/usr/shellgui/shellguilighttpd/www/apps/telnetd/main.sh | Shell | gpl-2.0 | 4,056 |
#internal field separators
line="Shell scripting is fun."
#making : the ifs instead of space
IFS=:
set $line
echo $1
echo $2
echo $3
echo $4
| hacktoberfest17/programming | shell_scripting/ifs.sh | Shell | gpl-3.0 | 141 |
#!/usr/bin/env bash
GLPK_VER=4.65
wget ftp://ftp.gnu.org/gnu/glpk/glpk-${GLPK_VER}.tar.gz
wget ftp://ftp.gnu.org/gnu/glpk/glpk-${GLPK_VER}.tar.gz.sig
# Verify the source
gpg --recv-keys 5981E818
gpg --verify glpk-4.55.tar.gz.sig glpk-${GLPK_VER}.tar.gz
# Unpack
tar -xzvf glpk-${GLPK_VER}.tar.gz
cd glpk-${GLPK_VER}
... | snorfalorpagus/pywr | travis/manylinux2010_x86_64-glpk/build_glpk.sh | Shell | gpl-3.0 | 489 |
#!/bin/bash -e
#-e Causes bash script to exit if any of the installers
#return with a non-zero return value.
if [[ $EUID -ne 0 ]]; then
echo "Please run as root user."
exit 1
fi
set +e
dist=`lsb_release -is`
echo "Generating locales"
for i in `ls /usr/share/airtime/locale | grep ".._.."`; do
if [ "$dist" ... | martin-craig/Airtime | install_minimal/include/airtime-initialize.sh | Shell | gpl-3.0 | 1,899 |
#!/bin/sh
echo "$(pwd)" | grep -q '[[:blank:]]' &&
echo "Out of tree builds are impossible with whitespace in source path." && exit 1
if [ "${4}" == "VS2015" ]; then
bin_folder=bin15
else
bin_folder=bin
fi
if [ "${1}" == "x64" ]; then
arch=x86_64
archdir=x64
cross_prefix=x86_64-w64-mingw32-
lav_folder=... | xucp/mpc_hc | src/thirdparty/LAVFilters/build_ffmpeg.sh | Shell | gpl-3.0 | 5,502 |
#!/bin/sh
# MonoChrome SVG to PNG Converter
#
# Will update the given icon from its SVG to its PNG.
#
# Requires Inkscape to be installed.
#
# ./convert.sh THEME ICON
#
# Parameters
# - THEME Which theme to act on.
# - ICON Which icon to conver from an SVG to a PNG.
#
# Example
#
# ./convert.sh monochrome bat... | JoKeRzBoX/JoKeRzBoX_LibreELEC_Repo_S905 | emulator.tools.retroarch/resources/assets/xmb/convert.sh | Shell | gpl-3.0 | 422 |
#!/bin/bash
# This is an example launcher script for PyLatencyMap
# Collect and display SystemTap data for the block I/O request calls as a Frequency-Intensity Latency HeatMap
# This can be used to investigate single-block read latency
# Note this scripts requires to have SystemTap installed
stap -v SystemTap/bloc... | LucaCanali/PyLatencyMap | Example9_SystemTap_blockIO_req.sh | Shell | gpl-3.0 | 606 |
#!/bin/sh
echo Creating Root CAs
KEYSIZE=2048
CONFIG=openssl.cnf
ROOT_CA_DIR=./root-ca
INT_CA_DIR=./intermediate-ca
if [ ! -e $ROOT_CA_DIR ]
then
echo "Initializing root-ca"
mkdir $ROOT_CA_DIR
echo '1000' > $ROOT_CA_DIR/serial
touch $ROOT_CA_DIR/index.txt
fi
if [ ! -e $INT_CA_DIR ]
then
echo "Initializing ... | alagoutte/actube | ssl/mkrootca.sh | Shell | gpl-3.0 | 2,574 |
#!/usr/bin/env bash
# hledger-number - try to extract just one single machine-readable number from hledger:
# the grand total of `hledger balance` run with any provided arguments.
# Requires hledger 1.24 or newer (the December 2021 release, see https://hledger.org/download.html )
# https://gist.github.com/simonmichael/... | adept/hledger | bin/hledger-number.sh | Shell | gpl-3.0 | 1,873 |
# to be sourced by bash tools.
export EXE_SUFFIX=''
export OS=UNIX
case `uname -s` in
CYGWIN*)
flavor=generic
OS=Cygwin
EXE_SUFFIX=".exe"
CC_TYPE=${CC_TYPE:-gcc}
CC=${CC:-$CC_TYPE}
CFLAGS="-pipe"
CXX_TYPE=${CXX_TYPE:-g++}
CXX=${CXX:-${CXX_TYPE}}
CXXFLAGS="-pipe"
LDFLAGS="-Xlinker -${hyphen}no-as-needed"... | cadrian/Liberty | work/tools.sh | Shell | gpl-3.0 | 5,815 |
#!/bin/sh
unzip -o lc0-v0.26.2-windows-cpu-openblas.zip
echo "#!/bin/sh
./lc0.exe \$@ --threads=\$NUM_CPU_CORES -w b30e742bcfd905815e0e7dbd4e1bafb41ade748f85d006b8e28758f1a3107ae3 > \$LOG_FILE 2>&1
echo \$? > ~/test-exit-status" > lczero
chmod +x lczero
| phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/lczero-1.5.1/install_windows.sh | Shell | gpl-3.0 | 256 |
timeout_set 4 minutes
CHUNKSERVERS=2 \
USE_RAMDISK="YES" \
setup_local_empty_lizardfs info
cd ${info[mount0]}
mkdir hardlink_test
cd hardlink_test
lizardfs settrashtime -r 0 .
# Create a chain of hardlinks
FILE_SIZE=123 file-generate file0
for i in {0..62}; do
ln file$i file$((i+1))
assert_equals $(inode_of file... | lizardfs/lizardfs | tests/test_suites/ShortSystemTests/test_hardlink.sh | Shell | gpl-3.0 | 1,146 |
#!/usr/bin/env bash
#------------------------------------------------------------------------------
#
# Taginfo source: DB
#
# update.sh DATADIR [OSM_FILE]
#
#------------------------------------------------------------------------------
set -e
set -u
# uncomment this if you want to get a core file in case tagstats... | mfuji09/taginfo | sources/db/update.sh | Shell | gpl-3.0 | 2,941 |
#!/bin/bash
. $builddir/tests/test_common.sh
test_init "test_probes_rpmverifyfile.log"
test_run "rpmverifyfile probe test with OVAL 5.11.1" $srcdir/test_probes_rpmverifyfile.sh
test_run "rpmverifyfile probe test with OVAL 5.11" $srcdir/test_probes_rpmverifyfile_older.sh
test_exit
| jan-cerny/openscap | tests/probes/rpmverifyfile/all.sh | Shell | lgpl-2.1 | 283 |
#!/bin/sh
#BHEADER**********************************************************************
# Copyright (c) 2008, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
# This file is part of HYPRE. See file COPYRIGHT for details.
#
# HYPRE is free software; you can redistri... | jbakosi/HYPRE | src/test/TEST_sstruct/default2d.sh | Shell | lgpl-2.1 | 2,173 |
#! /usr/bin/env bash
if _is_not_root;then
export PATH="$MY_SH_MODULE/backup/script:$PATH"
_load_sh_files $MY_SH_MODULE/backup src
fi
| username4gh/my-i3 | sh/module/backup/init.bash | Shell | unlicense | 142 |
#! /usr/bin/env bash
# https://stackoverflow.com/questions/255414/why-doesnt-cd-work-in-a-shell-script
ncd () {
if [[ "$1" =~ [0-9]+ ]];then
cd "$(nlc $1)"
else
echo "plz enter a valid number, use nls to list all valid number"
fi
}
| username4gh/my-i3 | sh/module/fileutil/src/ncd.bash | Shell | unlicense | 262 |
#!/bin/bash
set -ex
mkdir -p cached-deps
# Install deps
sudo apt update -y
sudo apt-get install -y -qq \
silversearcher-ag \
python3 \
python3-pip \
python3-setuptools \
pkg-config \
fuse \
conntrack \
pv \
shellcheck \
docker-ce-cli
# Install fuse
sudo modprobe fuse
sudo chmod 666 /dev/fuse
sud... | pachyderm/pfs | etc/testing/circle/install.sh | Shell | apache-2.0 | 2,836 |
wget https://dist.thingsboard.io/trendz-1.4.0.deb | volodymyr-babak/thingsboard.github.io | docs/trendz/install/resources/1.4.0/trendz-ubuntu-download.sh | Shell | apache-2.0 | 49 |
#!/bin/bash -e
#
# Copyright (C) 2013-2015 DNAnexus, Inc.
#
# This file is part of dx-toolkit (DNAnexus platform client libraries).
#
# 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
#
# ... | andyshinn/dx-toolkit | build/package.sh | Shell | apache-2.0 | 3,436 |
#!/usr/bin/env bash
cf create-service p-config-server standard myConfigServer -c config-server.json
cf create-service p-service-registry standard myDiscoveryService
cf create-service p-mysql 100mb myMySqlService
cf create-service p-redis shared-vm myRedisService
cf create-service p-circuit-breaker-dashboard standard ... | SteelToeOSS/Samples | WorkshopFinal/scripts/createCloudFoundryServices.sh | Shell | apache-2.0 | 462 |
#!/bin/bash
# Copyright 2021 The Kythe 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 ap... | kythe/kythe | tools/git/run-staticcheck.sh | Shell | apache-2.0 | 697 |
#!/usr/bin/env bash
# Copyright 2014 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... | bparees/kubernetes | build/common.sh | Shell | apache-2.0 | 26,011 |
#!/bin/bash
set -x
action=$1
systemctl ${action} openstack-keystone.service
systemctl ${action} openstack-ceilometer-alarm-evaluator.service
systemctl ${action} openstack-ceilometer-alarm-notifier.service
systemctl ${action} openstack-ceilometer-api.service
systemctl ${action} openstack-ceilometer-central.service
sys... | linzhaolover/myansible | ansible_project/service_isactive.sh | Shell | apache-2.0 | 1,775 |
/home/zeng//ABA/autoGenelable_multi_lables_proj/code/caffe/bin/test_net.bin /home/tzeng/ABA/autoGenelable_multi_lables_proj/code/caffe/models/vgg_16_fine_tune_gen/val.protext /home/tzeng/ABA/autoGenelable_multi_lables_proj/code/caffe/models/vgg_16_fine_tune_gen/finetune_vgg_16_brain_onotology_3color_mean_noCrop_last_L_... | Xiaomi2008/Caffe_3D_FF | tools/test.sh | Shell | bsd-2-clause | 358 |
################################################################
## This script runs all (most?) of demo projects to check
## that they execute without error.
################################################################
set -e
start=`date +%s`
function title {
echo ""
echo "###############################... | qminer/qtopology | demo/run_demos.sh | Shell | bsd-2-clause | 2,020 |
#!/bin/sh
set -eo pipefail
dir="$(dirname $0)"/.working
cleanup() {
rm -rf "$dir"
}
trap cleanup EXIT
# Clean Up
cleanup
# Create Working Dir
mkdir -p "$dir"
# Generate Certs
openssl req -newkey rsa:2048 -nodes -keyout "$dir"/private.pem -x509 -days 1 -out "$dir"/certificate.pem -extensions extended -config ... | electron-userland/electron-packager | test/ci/codesign/generate-identity.sh | Shell | bsd-2-clause | 813 |
#!/bin/sh
conda install parmed -c ambermd --yes
conda install pysander -c hainm --yes
python -c 'import sander; print(sander)'
| hainm/test_pytraj_binstar | install_pysander_conda.sh | Shell | bsd-2-clause | 129 |
#!/bin/sh
#
# This script builds the RPM packages of CernVM-FS.
#
set -e
SCRIPT_LOCATION=$(cd "$(dirname "$0")"; pwd)
. ${SCRIPT_LOCATION}/../common.sh
if [ $# -lt 2 ]; then
echo "Usage: $0 <CernVM-FS source directory> <build result location> [<nightly build number>]"
echo "This script builds CernVM-FS RPM pack... | cvmfs/cvmfs | ci/cvmfs/rpm.sh | Shell | bsd-3-clause | 3,608 |
security create-keychain -p travis ios-build.keychain
security import ./scripts/travis/apple.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign
security import ./scripts/travis/dev.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign
security import ./scripts/travis/dev.p12 -k ~/Library/Ke... | acsalu/Keymochi | scripts/travis/add-key.sh | Shell | bsd-3-clause | 1,073 |
#
# This is a portable alternative to "wc", which differs b/w GNU and BSD
#
alias linecount="awk 'END{print NR}'"
| PacificBiosciences/pbh5tools | tests/cram/portability.sh | Shell | bsd-3-clause | 114 |
#!/bin/bash
MYSELF=`basename $0`
WORKINDIR=$(pwd)
JARNAME="lar-javacl.jar"
PYBIN=$(which python)
JAVABIN=$(which java)
#
TMPNAME="tmp"
IMGDIRNAME="img"
BORDERDIRNAME="border"
COMPDIR="comp"
COMPDIRBIN="compbin"
STLDIR="stl"
# ****
chmod 0755 ./sh/*.sh
# ****
# LOGGING
LOGDIR=$WORKINDIR/log
LOGFILE=$LOGDIR/executionLog-... | gilyclem/larVolumeToObj | startConversion.sh | Shell | mit | 9,997 |
for dir in ./examples/*/
do
pushd ${dir}
npm install
popd
done
| vkbansal/todomvc | scripts/install.sh | Shell | mit | 75 |
#!/bin/sh
#
# Copyright (c) 2014 Christian Couder
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test add -w"
. lib/test-lib.sh
test_expect_success "creating files succeeds" '
mkdir -p files/foo &&
mkdir -p files/bar &&
echo "some text" > files/foo/baz &&
ln -s files/foo/baz files/b... | Kubuxu/go-ipfs | test/sharness/t0044-add-symlink.sh | Shell | mit | 1,315 |
#! /bin/sh
. ../../testenv.sh
analyze TESTCASE.vhdl
elab_simulate_failure testcase
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/bug18353/testsuite.sh | Shell | gpl-2.0 | 116 |
#!/bin/sh -x
#
# In some cases when enabling Google's AddressSanitizer, errors like the
# following can be generated. This script provides a workaround.
#
# fwknop-spa_comm.o: In function `send_spa_packet_http':
# /home/mbr/git/fwknop.git/client/spa_comm.c:516: undefined reference to `rpl_malloc'
# ../lib/.libs/libfko... | mrash/fwknop | extras/sanitizer/asan-build.sh | Shell | gpl-2.0 | 690 |
#!/usr/bin/env bash
# This script creates a new tarball for SageNB.
rm -rf dist
exec ./setup.py sdist --format=bztar
| migeruhito/sagenb | dist.sh | Shell | gpl-3.0 | 119 |
#!/bin/bash
# Copyright Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0
#
# or in the "license" file ... | wcs1only/s2n | codebuild/bin/install_ubuntu_dependencies.sh | Shell | apache-2.0 | 2,127 |
#!/bin/bash -ev
./ciscripts/travis/build.sh
gulp publish:bintray:artifacts:darwin --verbose
| rafael-neri/whatsapp-webapp | ciscripts/travis/build_staging.sh | Shell | apache-2.0 | 93 |
#!/bin/bash
# This script runs a bunch of room related compilations repeatedly
# to avoid a native library loading bug in xerial
# https://github.com/xerial/sqlite-jdbc/issues/97
set -e
cd "$(dirname $0)/../.."
if [ ! -f gradlew ]; then
echo "./gradlew does not exist! Make sure I live under frameworks/support/r... | androidx/androidx | room/scripts/stress-test-room.sh | Shell | apache-2.0 | 1,411 |
#!/bin/bash
sudo apt-get update
sudo apt-get install -y ia32-libs
echo '$TDDIUM_REPO_ROOT is' + $TDDIUM_REPO_ROOT
$TDDIUM_REPO_ROOT/install.sh
(cd ~ && curl http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz | tar zxv)
expect -c '
set timeout -1 ;
spawn ~/android-sdk-linux/tools/android update sdk -u;
ex... | kchitalia/SalesforceMobileSDK-Android | config/pre_setup.sh | Shell | apache-2.0 | 691 |
#!/bin/sh
# Package
PACKAGE="tt-rss"
DNAME="Tiny Tiny RSS"
# Others
INSTALL_DIR="/var/packages/${PACKAGE}/target"
PATH="${INSTALL_DIR}/bin:${PATH}"
USER="http"
PID_FILE="${INSTALL_DIR}/var/tt-rss.pid"
start_daemon ()
{
start-stop-daemon -S -q -m -b -N 10 -a /bin/bash \
-c ${USER} -u ${USER} -p ${PID_FIL... | Zetten/spksrc | spk/tt-rss/src/dsm-control.sh | Shell | bsd-3-clause | 1,455 |
#!/bin/bash
if test -z "$1"
then
server="rdiankov@openrave.org"
else
server=$1
fi
if test -z "$2"
then
targetdir="/var/openrave/"
else
targetdir=$2
fi
tar cjf openravedocs.tgz build/en/coreapihtml build/en/main build/ja/coreapihtml build/ja/main
scp openravedocs.tgz $server:$targetdir
ssh $server "cd $t... | jdsika/TUM_HOly | openrave/docs/sendtoserver.sh | Shell | mit | 710 |
#!/bin/bash
for img in *.png *.gif *.jpg
do
FOUND=`grep -R $img ../site_src`
if [ -z "$FOUND" ]
then
mv $img useless/
fi
done
| rex-xxx/mt6572_x201 | docs/source.android.com/scripts/cleanup.sh | Shell | gpl-2.0 | 139 |
#!/bin/sh
PREFIX=${PWD}/bin
CONF_OPTS+="-DPCH=1 "
CONF_OPTS+="-DDEBUG=1 "
CONF_OPTS+="-DUSE_STD_MALLOC=1 "
CONF_OPTS+="-DTOOLS=1 "
#CONF_OPTS+="-DACE_USE_EXTERNAL=1 "
#CONF_OPTS+="-DUSE_TBB_MALLOC=1 "
CFLAGS="-march=native -O2 -DNDEBUG"
#CFLAGS="-O1 -fno-inline"
CFLAGS+=" -pipe -ggdb -fno-strict-aliasing -fno-delete-n... | SkyFireArchives/SkyFire_one | contrib/tools/AutoScripts/CreateProjects.sh | Shell | gpl-2.0 | 611 |
#!/bin/bash
# This shell-script is just to show how you would plot det curves
# using DETWare.
# This assumes you have a file called "foo" with the scores in.
# Note: there are some comments at the bottom showing what you
# have to run in matlab. It won't get run if you just run the script,
# you have to do it manu... | michellemorales/OpenMM | kaldi/egs/sre10/v1/local/det_curve_example.sh | Shell | gpl-2.0 | 1,877 |
#!/bin/bash
set -ev
# Check python3 installation
python3 --version
python3 -c "import sys; print(sys.executable)"
# Install pip
curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
rm get-pip.py
| carlosperate/mu | package/install_pip3.sh | Shell | gpl-3.0 | 206 |
#!/bin/bash
set -e
function finish {
local result=$?
if [[ "$result" -ne 0 ]]; then docker logs "$app" | tee app.log; fi
exit $result
}
trap finish EXIT
# start up consul and wait for leader election
docker-compose up -d consul
consul=$(docker-compose ps -q consul)
docker exec -it "$consul" assert read... | joyent/containerpilot | integration_tests/tests/test_sigterm/run.sh | Shell | mpl-2.0 | 797 |
#!/bin/sh
FILES=./*.r
NP=4
for f in $FILES
do
echo ">> Test $f"
mpiexec -np $NP Rscript --vanilla $f
echo "=============================="
done
| wrathematics/pbdMPI | inst/examples/test_send_recv/00_test_all.sh | Shell | mpl-2.0 | 152 |
#!/usr/bin/env 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 applica... | quinton-hoole/kubernetes | test/cmd/legacy-script.sh | Shell | apache-2.0 | 28,075 |
#!/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
# "Lic... | szha/mxnet | tools/dependencies/opencv.sh | Shell | apache-2.0 | 7,296 |
#!/bin/bash
FN="pd.equgene.1.0.st_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/pd.equgene.1.0.st_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.equgene.1.0.st_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.equgene.1.0.st/bioconductor-p... | jfallmann/bioconda-recipes | recipes/bioconductor-pd.equgene.1.0.st/post-link.sh | Shell | mit | 1,465 |
#!/bin/bash
# Copyright 2015, Google, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | google/rowhammer-test | physmem_alloc_analysis/analyze.sh | Shell | apache-2.0 | 707 |
#!/bin/sh
# file: deploy-jakartaee9-artifacts.sh
#
# JBoss, Home of Professional Open Source.
# Copyright 2021 Red Hat, Inc., and individual contributors
# as indicated by the @author tags.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Lice... | pferraro/undertow | jakartaee9/deploy-jakartaee9-artifacts.sh | Shell | apache-2.0 | 2,026 |
#!/usr/bin/env sh
# This script simply starts the ipython notebook and allows all network machines
# to access it.
# Use the following command for very verbose prints.
# GLOG_logtostderr=1 GLOG_v=1 PYTHONPATH=../../../gen:$PYTHONPATH ipython notebook --ip='*'
# Use the following command for a normal run.
PYTHONPATH=.... | bwasti/caffe2 | caffe2/python/tutorials/start_ipython_notebook.sh | Shell | apache-2.0 | 370 |
django-admin.py test --settings=cloudmailin.tests.settings --pythonpath=../.. | pombredanne/django-cloudmailin | cloudmailin/tests/run_tests.sh | Shell | bsd-3-clause | 77 |
#!/bin/sh
set -x
myhost=`hostname`
mydate=`date`
mypwd=`pwd`
echo "$myhost:$mypwd $mydate irods1.sh starting"
../irods2.sh 2>&1
# remember error code
error1=$?
echo "$myhost:$mypwd $mydate irods1.sh ending (starting sleep), error1=($error1)"
cd $mypwd
# avoid rapid infinite loop, checking control files (set by h... | iPlantCollaborativeOpenSource/irods-3.3.1-iplant | server/test/tbox/irods1.sh | Shell | bsd-3-clause | 929 |
#!/bin/bash
# Copyright 2014 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 applic... | fnaval/kubernetes | hack/local-up.sh | Shell | apache-2.0 | 1,339 |
#!/bin/sh
# Copyleft 2011-2012
# Author: pancake(at)nopcode.org
# Wrapper for valabind-cc
LNG=$1
MOD=$2
VALABINDFLAGS="" ; [ 1 = "${DIST}" ] && VALABINDFLAGS="-C"
R2_JAVA_DIR=org/radare/radare2
if [ -z "${MOD}" ]; then
echo "Usage: ./libr-swig.sh [python] [r_foo]"
exit 1
fi
mkdir -p ${LNG}
cd ${LNG}
#valabind-cc ${... | pleonex/radare2-bindings | do-swig.sh | Shell | gpl-3.0 | 1,187 |
#!/bin/bash
# Copyright 2015 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 ... | sarat-k/kubernetes | test/kubemark/run-e2e-tests.sh | Shell | apache-2.0 | 1,520 |
#!/bin/bash
set -e
TEST_DESCRIPTION="Test oneshot unit restart on failure"
. $TEST_BASE_DIR/test-functions
test_setup() {
create_empty_image_rootdir
(
LOG_LEVEL=5
eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
setup_basic_environment
mask_supporting_services
... | splantefeve/systemd | test/TEST-41-ONESHOT-RESTART/test.sh | Shell | gpl-2.0 | 613 |
#!/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... | lavjain/incubator-hawq | tools/demo/gpfdist_transform/mef/input_transform.sh | Shell | apache-2.0 | 1,631 |
#!/bin/bash -eux
source_root=$(python -c "from os import path; print(path.abspath(path.join(path.dirname('$0'), '../../..')))")
install_deps="${INSTALL_DEPS:-}"
cd "${source_root}"
if [ "${install_deps}" != "" ]; then
pip install -r "${source_root}/test/utils/shippable/code-smell-requirements.txt" --upgrade
... | wkeeling/ansible | test/utils/shippable/code-smell.sh | Shell | gpl-3.0 | 502 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.