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
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
## Wrapper around the bytecode versions of infer
# This is needed to find the dynamic libraries of our C stubs
if [ "$#" -lt 1 ];... | project-oak/hafnium-verification | experiments/ownership-inference/infer/scripts/dune_exec_shim.sh | Shell | apache-2.0 | 702 |
function check_command_contains_java() {
COMMAND_CONTAINS_JAVA=$(grep java /proc/"$PID"/comm || true)
export COMMAND_CONTAINS_JAVA
} | epickrram/grav | bin/functions.sh | Shell | apache-2.0 | 140 |
#!/usr/bin/env roundup
#
: ${RUNDECK_USER?"environment variable not set."}
: ${RUNDECK_PROJECT?"environment variable not set."}
: ${REMOTE_NODE?"environment variable not set."}
# Let's get started
# -----------------
# Helpers
# ------------
#. ./include.sh
# The Plan
# --------
describe "project: dispatch scri... | variacode95/rundeck | test/docker/dockers/rundeck/tests/rundeck/should-dispatch-script-remotely-test.sh | Shell | apache-2.0 | 4,434 |
aws ec2 run-instances --image-id ami-d05e75b8 --count $1 --instance-type t2.micro --key-name 1878KeyPairVM --security-group-ids sg-dfd9c3b8 --subnet-id subnet-65500d4e --iam-instance-profile $2 --associate-public-ip-address
aws ec2 wait instance-running
| Langenoir1878/Launch-setup | testLaunch.sh | Shell | apache-2.0 | 258 |
#!/bin/bash -
# Setup
#
# 1. Update data sources
# 2. Run the server, with optional debug info to console
#
# E.g.,
# ./setup.sh -f ~/fabric-samples/first-network -s
# Copyright 2017 IBM All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | MartinCocks/fabric-sdk-rest | setup.sh | Shell | apache-2.0 | 3,130 |
#!/bin/sh
chown mongodb:mongodb /var/lib/mongodb
sudo -u mongodb -H /usr/bin/mongod --config /etc/mongod.conf --httpinterface --rest &
| Hi-Media/docker-graylog2 | mongod.sh | Shell | apache-2.0 | 135 |
#!/bin/bash
#########################################################
# globals
#########################################################
OVERWRITE=
#########################################################
# functions
#########################################################
##########################################... | ms123s/simpl4-src | surface2/js/bin/jsstrip.sh | Shell | apache-2.0 | 1,459 |
#!/bin/bash
CUR_DIR=$(dirname ${BASH_SOURCE[0]:-$0})
ansible-playbook -i "localhost," -c local $CUR_DIR/playbook.yml -vv
| sshnaidm/sova | deploy/local_ansible_run.sh | Shell | apache-2.0 | 121 |
# -----------------------------------------------------------------------------
#
# Package : libnpmhook
# Version : 5.0.3
# Source repo : https://github.com/npm/libnpmhook
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
# Disc... | ppc64le/build-scripts | l/libnpmhook/libnpmhook_rhel_8.3.sh | Shell | apache-2.0 | 3,050 |
LBlue='\033[1;34m'
NC='\033[0m' # No Color
iHome="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $iHome
if [ "$1" == "mongo" ]
then
bash ./fu_service_functions.sh "kill all container"
docker build -t futureapplications/mongodb-v3 ../images/mongo/.
cd ../images/mongo
docker-compose up
cd $iHome
exit 0
f... | FutureApp/futureStreaming | interact/hot.sh | Shell | apache-2.0 | 321 |
#!/usr/bin/env bash
# ----------------------------------------------------------------------------
# ${project.baseName} ${project.version}
# install as a launchd daemon
# Copyright (C) 2009-2019 OpenEstate.org
# ----------------------------------------------------------------------------
#
# Licensed under the Apache ... | OpenEstate/OpenEstate-Tool-Server | src/mac/ServiceInstall.app/Contents/MacOS/ServiceInstall.command | Shell | apache-2.0 | 1,024 |
#!/bin/bash
steps/align_raw_fmllr.sh --nj 10 --cmd "$train_cmd" --use-graphs true \
data/train_si84 data/lang exp/tri2b exp/tri2b_ali_si84_raw
steps/train_raw_sat.sh --cmd "$train_cmd" \
2500 15000 data/train_si84 data/lang exp/tri2b_ali_si84_raw exp/tri3c || exit 1;
mfccdir=mfcc
for x in test_eval92 test_e... | AlexHung780312/aurora4_egs | s5/local/run_raw_fmllr.sh | Shell | apache-2.0 | 2,600 |
#!/bin/bash
cp /tmp/fsck.log /tmp/fsck.log.2
lio_fsck -c /etc/lio/lio-warmer.cfg -i 20 @:/* |& tee /tmp/fsck.log
| accre/lstore | lserver/files/usr/local/bin/lio_fsck.sh | Shell | apache-2.0 | 115 |
echo Ënter the data root directory :
read data
echo Enter the meta data sub folder:
read meta
echo Formatting $data/$meta
echo "Type Y to continue (Y/N):"
read option
if [ $option == "N" ]; then
echo Ignoring formatting
exit 1
fi
echo "Formatting $data/$meta/dfsname/*"
rm -rf $data/$meta/dfsname/*
mkdir -p $data/$... | bizosys/hsearch-obsolete | benchmark/format_folders.sh | Shell | apache-2.0 | 680 |
export DJANGO_SETTINGS_MODULE='trytalk.settings.local'
export DJANGO_SECRET_KEY='yr@sjscep+k#s&!b^vea3$r@oesu8yj!%o5pk29%9%11omqhdb'
| guyuanlin/try-talk | deployment/local.sh | Shell | apache-2.0 | 133 |
#!/bin/bash
root=/Volumes/Archive/Pictures
for f in $(find $root -name '*.JPG')
do
fname=`echo $f | cut -d\. -f1`
if ls $fname-?.JPG &> /dev/null
then
ls $fname-?.JPG
elif ls $fname-?.jpg &> /dev/null
then
ls $fname-?.jpg
fi
done
| saxman/photo_scripts | ls_dupes.sh | Shell | apache-2.0 | 253 |
#!/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
# "Li... | icexelloss/arrow | dev/release/post-12-bump-versions.sh | Shell | apache-2.0 | 4,009 |
#!/usr/bin/env bash
workspace=$(pwd)
appName=$(basename ${workspace})
env=$1
logDir=${workspace}/log
targetDir=${workspace}/target
echo "<<<<<<<<<<<<<<<<<<<<<<<<"
echo "build apidoc ..."
echo ">>>>>>>>>>>>>>>>>>>>>>>>"
apiTemplateDir=${workspace}/
apiName=${appName/%-demo/-doc}
apidoc -i ${workspace}/src/main/jav... | LiuJiJiJi/Spring-Boot-example | vue-springboot/apidoc.sh | Shell | apache-2.0 | 408 |
#!/bin/bash
if ! pgrep -f "TemplateParamBot.php processloads"; then
nohup sh -c "cd /var/www/projects/bambots/Bambots/src/cli ; php TemplateParamBot.php processloads" > /dev/null 2>&1 &
fi
| bamyers99/Bambots | src/scripts/TemplateParamBotLoad.sh | Shell | apache-2.0 | 193 |
#!/bin/sh
image () {
file ${1} |grep 'JPEG';
bool=$? ;
case "${1}" in
*\.jpg ) if [ ${bool} -eq 0 ]
then echo "<img src='${1}'>"
else echo "<!-- ${1} ne vérifie pas le format de l'énoncé ou n'existe pas -->"
fi ;;
* ) echo "<!-- ${1} ne vérifie pas le format de l'éno... | cycourtot/Projet-SciLab-Unix | TPL_Unix/squelette-tpl-unix/generate-img-fragment.sh | Shell | apache-2.0 | 362 |
#!/bin/bash
#
# Copyright 2012-2014 Comcast Cable Communications Management, 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 ... | Comcast/sirius | src/main/bin/compact_wal.sh | Shell | apache-2.0 | 2,368 |
# Copyright 2022 The Google Research 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 agree... | google-research/google-research | recursive_optimizer/synthetic_experiment.sh | Shell | apache-2.0 | 1,453 |
#!/bin/bash
# Copyright 2015 Insight Data Science
#
# 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 ... | InsightDataScience/pegasus | config/redis/setup_cluster.sh | Shell | apache-2.0 | 1,062 |
python3 finetune_classifier.py --gpu 0 --task_name SST --batch_size 32 --seed 2 --lr 2e-5 --warmup_ratio 0.1 --epochs 5 --log_interval 400 | dmlc/web-data | gluonnlp/logs/bert/finetune_SST_base_mx1.6.0rc1.sh | Shell | apache-2.0 | 138 |
#!/bin/bash
#
# Boot the operation center.
#
if [ -f /etc/debian_version ]; then
FAMILY="DEBIAN"
elif [ -f /etc/redhat-release ]; then
FAMILY="RHEL"
else
grep -q "Amazon Linux" /etc/issue
if [ $? -eq 0 ]; then
FAMILY="RHEL"
fi
fi
if [ "$FAMILY" == "DEBIAN" ]; then
# configure timezone and locale
ech... | uprush/rosetta | bootstrap.sh | Shell | apache-2.0 | 2,218 |
#!/bin/bash -e
if [ "$#" -ne 3 ]; then
cat <<-ENDOFMESSAGE
This script parsese all verification test results to file alltests.csv
Usage: ./parse_all.sh <script folder> <test results folder> <base machine>
ENDOFMESSAGE
exit
fi
benchmark_list=('blogbench' 'compilebench' 'fhourstones' 'himeno' 'interbench' 'nbe... | ljishen/kividry | experiments/benchmarking/verification/results/2/parse_all.sh | Shell | apache-2.0 | 920 |
# append at the end of ~/.bashrc for global or ~/.bash_profile for ide cli
# java
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export PATH=$JAVA_HOME/bin:$PATH
# tomcat
export CATALINA_HOME=/usr/share/tomcat7
export CATALINA_BASE=/usr/share/tomcat7
export CATALINA_TMPDIR=/usr/share/tomcat7/temp
export PATH=$CATALINA_H... | jjcosare/uhac2017 | etc/bash_profile.sh | Shell | apache-2.0 | 710 |
#!/bin/bash
set -e
# set -x
DIR=$( dirname $0 )
DOCKERFILE="$1"
if [ -z "$DOCKERFILE" ] ; then
echo "Usage: $0 Dockerfile-to-process" >&2
exit 1
fi
export docker=${docker:-docker}
function run_and_wait_for () {
(
set +x
local IMAGE="$1"
local NAME="$2"
OPTS=
if [ "${docker%podman}" = "$docker" ] ; then
O... | freeipa/freeipa-container | tests/run-partial-tests.sh | Shell | apache-2.0 | 2,209 |
# ----------------------------------------------------------------------------
#
# Package : Servlet-Javax-Api
# Version : 2.5
# Source repo : http://central.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar
# Tested on : ubuntu_18.04
# Script License: Apache License, Version ... | ppc64le/build-scripts | s/servlet-javax-api/servlet-javax-api_ubuntu_18.04.sh | Shell | apache-2.0 | 1,349 |
#!/bin/bash
# =============================================================================
#
# - Copyright (C) 2021 George Li <yongxinl@outlook.com>
#
# - This is part of Family website project.
#
# or you can generate the crontab code by site
# http://www.openjs.com/scripts/jslibrary/demos/crontab.php
#
# - T... | yongxinL/ansible-mediawiki | files/mediawiki-systemMaint.sh | Shell | apache-2.0 | 15,738 |
#!/bin/bash
set -e
# this is a fork of docker-entrypoint.sh of jrenggli (see also visol/egroupware)
# made by sneaky of Rothaar Systems (Andre Scholz)
# V2019-02-04-17-40
# Replace {key} with value
set_config() {
key="$1"
value="$2"
php_escaped_value="$(php -r 'var_export($argv[1]);' "$value")"
sed_escaped_va... | sneakyx/egroupwareserver_extended | assets/docker-entrypoint.sh | Shell | apache-2.0 | 2,725 |
#!/bin/bash
################################################################################
# Copyright 2014 Samuel Gongora Garcia (s.gongoragarcia@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 Soft... | satnet-project/propagators | install.sh | Shell | apache-2.0 | 5,096 |
sudo service sshd start
sudo service iptables stop
| lightxu/EBDH | hadoop/after_reboot.sh | Shell | apache-2.0 | 52 |
#!/bin/sh
# Copyright 2021 Deepmind Technologies 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 ... | deepmind/dd_two_player_games | run.sh | Shell | apache-2.0 | 1,607 |
#!/usr/bin/env bash
vendor/bin/phpstan analyse -c phpstan.neon --autoload-file=./vendor/autoload.php src
vendor/bin/phpstan analyse -c phpstan.relaxed.neon --autoload-file=./vendor/autoload.php tests
vendor/bin/phpunit | Audiens/adform-client | contrib.sh | Shell | apache-2.0 | 220 |
# -----------------------------------------------------------------------------
#
# Package : assign-symbols
# Version : 1.0.0
# Source repo : https://github.com/jonschlinkert/assign-symbols
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us... | ppc64le/build-scripts | a/assign-symbols/assign-symbols_rhel_8.3.sh | Shell | apache-2.0 | 3,086 |
#!/bin/sh
#$Id$
#Copyright (c) 2012-2018 Pierre Pronchery <khorben@defora.org>
#This file is part of DeforaOS Desktop Mailer
#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 t... | DeforaOS/Mailer | tests/tests.sh | Shell | bsd-2-clause | 2,709 |
#!/bin/bash
CONFIG_FILE=$1
DIRECTORY=$2
mkdir -p $DIRECTORY/players
find $DIRECTORY -type d -not -name _\* |
while read HTMLDIR
do
python scripts/menus-compile.py $CONFIG_FILE $DIRECTORY $HTMLDIR > $HTMLDIR/.menu.html
done
| emkael/pzbs-ranking | bin/menus-build.sh | Shell | bsd-2-clause | 243 |
#!/bin/bash
clear
echo "Enter name of text file (do not add extension):"
echo "If file exists, it will be replaced."
read name
#touch $name.txt
#rm $name.txt
touch $name.txt
echo "Enter size of file (KB):"
read size
multiplier="63"
numtimes=$((size*multiplier))
echo "Creating $size KB file!"
echo "Please wait..."
for (... | kmstumpff/Scripts | Unix/Testing/largetext.sh | Shell | bsd-2-clause | 502 |
# Annotate the set of 100 documents
echo "Annotating..."
java -cp lib/gnat.jar:lib/mysql-connector.jar gnat.client.JustAnnotate -nodir texts/test100 > test100.result.out
# Evaluate
echo "Evaluating"
python texts/test100/bc2scoring.py texts/test100/test100.genelist test100.result.out
| miroculus/GNAT | scripts/test100.sh | Shell | bsd-2-clause | 288 |
#!/bin/bash
export WORKING_DIR=$HOME/build/dh4
if [[ $1 == 'package' ]]; then
VERSION=$(echo $TRAVIS_TAG | sed -e 's/v//g')
[[ -z $VERSION ]] && VERSION='git-latest'
export VERSION=$VERSION
fi
case "$TRAVIS_OS_NAME-$BUILD" in
'linux-windows') ./build-scripts/platform/windows.sh $1 ;;
'linux-nativ... | sergiobenrocha2/mupen64plus-qt | build-scripts/travis-ci.sh | Shell | bsd-3-clause | 435 |
#!/bin/sh
path=`pwd`
cd /root/src/linux-2.6.32-220.23.1.el6.xiaomi.x86_64 && \
rm -rf /root/src/dsnat/linux-2.6.32-220.23.1.el6.x86_64/* && \
cat /root/src/dsnat/.list | xargs tar cf - | tar xf - -C /root/src/dsnat/linux-2.6.32-220.23.1.el6.x86_64 && \
cd /root/src/dsnat && \
diff -uprN linux-2.6.32-220.23.1.el6.x86_64... | yubo/home | home/bin/build_patch.sh | Shell | bsd-3-clause | 414 |
#!/bin/sh
if test -n "$1" ; then
export FLT="grep -e $1"
else
export FLT="cat"
fi
set -x
for e in `find ./Example -mindepth 1 -maxdepth 1 -type d | $FLT` ; do
(
set -e -x
cd $e;
rm -rf autogen || true
cake3
make
) || {
echo "Error(s) detected in $e"
break
}
done
| grwlf/cake3 | mktest.sh | Shell | bsd-3-clause | 294 |
#!/bin/sh
setkeycodes 0xF3 149 # 0xF3 prog2
setkeycodes 0xF4 148 # 0xF4 prog1
| slashbeast/mdev-like-a-boss | keymaps/inventec-symphony_6.0_7.0.sh | Shell | bsd-3-clause | 78 |
cp -rf $SRC_DIR/examplepackage $SP_DIR
| hhuuggoo/simplecondarecipe | conda.recipe/build.sh | Shell | bsd-3-clause | 39 |
# Adapted shamelessly from https://github.com/scikit-learn-contrib/project-template/blob/master/ci_scripts/install.sh
# Deactivate the circleci-provided virtual environment and setup a
# conda-based environment instead
if [[ `type -t deactivate` ]]; then
deactivate
fi
# Use the miniconda installer for faster downloa... | ccauet/scikit-optimize | build_tools/circle/install.sh | Shell | bsd-3-clause | 1,411 |
# !/bin/sh
BIN_DIR=bin
CONF_DIR=conf
function usage()
{
echo "speed.sh dfst|dfss|dfs start|stop|status|restart"
}
if [ $# -ne 2 ]
then
# echo "Usage: program args"
usage
exit 1
fi
case $1 in
dfst)
case $2 in
start)
${BIN_DIR}/dfst -c ${CONF_DIR}/dfst.conf
echo "dfst start..."
ps -ef|grep dfst
;;
sto... | lixianliang/speed | speed.sh | Shell | bsd-3-clause | 1,214 |
#!/bin/bash
: '
Copyright 2014 JARST, LLC
This file is part of EMP.
EMP 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 3 of the License, or
(at your option) any later ... | encryptedmessaging/emp | script/stop.sh | Shell | bsd-3-clause | 944 |
#!/bin/sh
# Helper script to deploy cgi scripts and HTML file.
DEPLOYDIR=/www/pirover
SRCDIR=.
PYTHON=`which python`
mkdir -p $DEPLOYDIR/cgi-bin/archive
chmod -R a+x $DEPLOYDIR/
deploy_cgi() {
SRCFILE=$1
DSTFILE=$2
sed -e "
1c\\
#!$PYTHON
" < $SRCFILE > $DSTFILE
chmod a+x $DSTFILE
}
deploy_... | HackaRobot/rpi | pirover/deploy.sh | Shell | bsd-3-clause | 834 |
#!/bin/bash
first=
last=
usage() { echo "run preparation pipeline from first to last step specified by -f and -l option."; }
first_flag=0
last_flag=0
while getopts f:l:h opt; do
case $opt in
f)
first_flag=1;
first=$(($OPTARG))
;;
l)
last_flag=1;
last=$(($OPTARG))
;;
h)
usage; exit... | ShapeNet/JointEmbedding | src/run_preparation.sh | Shell | bsd-3-clause | 1,000 |
#!/bin/sh
#~ This script generates the .dae files for all the .urdf robots
#~ found in the baxter_teleop/urdf
ROS_PKG=`rospack find baxter_openrave`
FILES=$(find $ROS_PKG/urdf -type f -name *.urdf)
for FILE in $FILES
do
FILENAME=$(basename "$FILE")
FILENAME="${FILENAME%.*}"
URDF=$ROS_PKG/urdf/$FILENAME.urdf
... | fsuarez6/baxter_teleoperation | baxter_openrave/scripts/generate_dae_files.sh | Shell | bsd-3-clause | 562 |
#!/bin/sh
if [ $# -ne 2 ]; then
echo "Syntax:"
echo " $0 zfs-dataset outputfile"
echo ""
echo "This script writes changes on zfs-dataset since last run"
echo "to file outputfile. The output files from multiple datasets"
echo "are meant to be concatenated individually and sent to multiple"
echo "users. You can s... | nakal/zfs-backup-scripts | diff-man.sh | Shell | bsd-3-clause | 1,211 |
#!/bin/bash
curl -X POST -H "Content-Type: application/json" -d '{
"id": "sqrt-client",
"cmd": "",
"cpus": 1,
"instances": 1,
"mem" : 1024,
"container": {
"type": "DOCKER",
"docker": {
"image": "registry.dmitriyvolk.net:5000/sqrt/sqrt-client",
"network": "HOST"
}
}
}' http://regist... | dmitriyvolk/mesos-presentation | scripts/deploy/deploy_sqrt-client.sh | Shell | mit | 352 |
#!/bin/sh
set -e
echo "Running PR build (all modules, SSL enabled, debug enabled)"
(
cd "$TRAVIS_BUILD_DIR"/app/include || exit
# uncomment disabled modules e.g. '//#define LUA_USE_MODULES_UCG' -> '#define LUA_USE_MODULES_UCG'
sed -E -i.bak 's@(//.*)(#define *LUA_USE_MODULES_.*)@\2@g' user_modules.h
cat user_modules.... | TerryE/nodemcu-firmware | tools/travis/pr-build.sh | Shell | mit | 1,014 |
#!/bin/bash
START="sh /home/vagrant/teamboard-start/install_and_start_client.sh"
echo '\nStart Contriboard client:'
vagrant ssh -c "${START}"
echo 'Contriboard client running...'
| Paviaani/teamboard | start_client.sh | Shell | mit | 181 |
# This script creates git tags for RenderToolbox3 releases and pushes them to GitHub.
#
# It will only work if you have permission to push to the RenderToolbox3 repositories.
#
# If you are making a RenderToolbox3 release, you should copy this script and edit it
# with values like your local doxygen path, and the versi... | RenderToolbox3/RenderToolbox3 | Admin/ReleaseUtilities/create-release-tags.sh | Shell | mit | 2,256 |
python file_packager.py moaiapp.rom --preload src@/ --js-output=moaiapp.rom.js --as-json
mv -f moaiapp.rom www/moaiapp.rom
mv -f moaiapp.rom.json www/moaiapp.rom.json
| tommo/gii | test/host/html5/host-template/buildrom.sh | Shell | mit | 167 |
#!/bin/bash
FN="clariomsmousetranscriptcluster.db_8.7.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/clariomsmousetranscriptcluster.db_8.7.0.tar.gz"
"https://bioarchive.galaxyproject.org/clariomsmousetranscriptcluster.db_8.7.0.tar.gz"
"https://depot.galaxyproject.org/software... | roryk/recipes | recipes/bioconductor-clariomsmousetranscriptcluster.db/post-link.sh | Shell | mit | 1,573 |
#!/bin/bash
# This file is part of the ttylinux software.
# The license which this software falls under is GPLv2 as follows:
#
# Copyright (C) 2011-2012 Douglas Jerome <douglas@ttylinux.org>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | hellin/WodeOS | wodeos-build/scripts/test-qpack.sh | Shell | gpl-2.0 | 3,442 |
#!/bin/bash
sudo usermod -a -G dialout `whoami`
| Makeblock-official/mBlock | tools/enableUSB.sh | Shell | gpl-2.0 | 49 |
SOCKPERF_PROTOCOL=udp
SOCKPERF_TESTTYPE=throughput
. $SHELLPACK_TOPLEVEL/drivers/driver-sockperf-common.sh
| gormanm/mmtests | drivers/driver-sockperf-udp-throughput.sh | Shell | gpl-2.0 | 107 |
#!/bin/sh -e
# Test behaviour of index retrieval and usage, in particular with uncompressed
# and gzip compressed indexes.
# Author: Martin Pitt <martin.pitt@ubuntu.com>
# (C) 2010 Canonical Ltd.
BUILDDIR=$(readlink -f $(dirname $0)/../build)
TEST_SOURCE="http://ftp.debian.org/debian unstable contrib"
GPG_KEYSERVER=... | AskDrCatcher/apt-src | test/test-indexes.sh | Shell | gpl-2.0 | 7,038 |
#!/bin/sh
##############################################################################
#
# 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 distributed in the hope t... | googolmo/entware-packages | net/unbound/files/unbound.sh | Shell | gpl-2.0 | 22,277 |
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
source tests-common.sh
inherit toolchain-funcs
#
# TEST: tc-arch-kernel
#
test-tc-arch-kernel() {
local ret=0
KV=$1 ; shift
for CHOST in "$@" ; do
exp=${CHOST##*:}
CHOST=${CHOST%%:*}
actual... | cyrevolt/gentoo | eclass/tests/toolchain-funcs.sh | Shell | gpl-2.0 | 3,001 |
#!/bin/bash
# Copyright 2008 Tom "spot" Callaway <tcallawa@redhat.com>
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and th... | MagicGroup/MagicSPECS | SPECS.x/xmms2/xmms2-client-launcher.sh | Shell | gpl-2.0 | 1,026 |
#!/bin/sh
#
# srecord - manipulate eprom load files
# Copyright (C) 2000, 2003, 2006-2008, 2013 Peter Miller
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; eithe... | freyc/SRecord | test/00/t0037a.sh | Shell | gpl-3.0 | 1,378 |
#!/bin/sh -e
# Copyright (c) 2009, Michael Gorven
# Released under terms of the MIT/X/Expat Licence. See COPYING for details.
KNABDIR="$1"
./knab.py "$KNABDIR/handey.knb" "jack handey" "be jack handey" > handey.json
./knab.py "$KNABDIR/zippy.knb" "be zippy" "be ed" > zippy.json
./knab.py "$KNABDIR/overlord.knb" "overl... | ibid/ibid | factpacks/knab.sh | Shell | gpl-3.0 | 518 |
#!/usr/bin/env bash
. /etc/rc.conf
ACME_REPO="/stat/etc/acme"
ACME_PROG="$ACME_REPO/acme.sh"
ACME_WORKING_DIR="/mnt/kd/acme"
ACME_OPTS="--home $ACME_WORKING_DIR --useragent AstLinux"
LOCKFILE="/var/lock/acme-client.lock"
if [ ! -x "$ACME_PROG" ]; then
echo "acme-client: executable file \"$ACME_PROG\" not found... | astlinux-project/astlinux | package/acme/acme-client.sh | Shell | gpl-3.0 | 3,688 |
#!/bin/bash
tar -xzf python.tar.gz
export PATH=miniconda2/bin:$PATH
python process_NCEI_03_grow_dd_base0.py NCEI_WIS_$1 $1 /mnt/gluster/megarcia/WIS_Climatology/grids
| megarcia/GT16_JGRA | htcondor/process_NCEI_03_grow_dd_base0.sh | Shell | gpl-3.0 | 168 |
#!/bin/bash
# ------------ BACTH AND SPECIFIC CLUSTER DIRECTIVES ------
#MSUB -r Test_AxiSEM_for_SPECFEM3D_32p # Nom du job
#MSUB -n 32
#MSUB -N 2
#MSUB -T 9999
#MSUB -q standard
#MSUB -e AxiSEM_for_SPECFEM3D_32_run.e
#MSUB -o AxiSEM_for_SPECFEM3D_32_run.o
#MSUB -A gen7165
set -x
cd ${BRIDGE_MSU... | geodynamics/specfem3d | EXTERNAL_PACKAGES_coupled_with_SPECFEM3D/AxiSEM_for_SPECFEM3D/Parfiles_and_scripts_for_examples/For_example_1st_for_validation/sub_called_batch_for_AxiSEM_Curie_CD_old.sh | Shell | gpl-3.0 | 706 |
#! /bin/bash
args=("$@")
#COUNTER=0
for file in $*;
do
sed -i 's/,/ /g' "$file"
sed -i 's/;/ /g' "$file"
done
#while [ $COUNTER -lt $# ]; do
# sed -i 's/,/ /g' ${args[COUNTER]}
# sed -i 's/;/ /g' ${args[COUNTER]}
# let COUNTER=COUNTER+1
#done
| creingold/ExpMeth2016 | XRF/csvConverter.sh | Shell | gpl-3.0 | 249 |
#!/bin/bash
export PYTHONPATH="`pwd`"
python jukebox.py
| PEstes/farnsworth | start_jukebox.sh | Shell | gpl-3.0 | 56 |
#!/usr/bin/env bash
set -e
# Make sure you prepared your PC for automative deployment
# https://github.com/checkstyle/checkstyle/wiki/How-to-make-a-release
SF_USER=romanivanov
RELEASE=$(xmlstarlet sel -N pom=http://maven.apache.org/POM/4.0.0 -t -m pom:project -v pom:version pom.xml | sed "s/-SNAPSHOT//")
PREV_RELEASE... | jonmbake/checkstyle | release.sh | Shell | lgpl-2.1 | 2,242 |
#!/bin/sh
grep "CPU time" *.out | awk '{print $5}' > solveTimes
grep "CPU time" *out | awk '{print $1}' | sed 's/:c$//' > solved
ls *.gz.out > allFiles
grep "s UNSATISFIABLE" *out | sed 's/:s.*$//' > solvedUNSAT
grep "s SATISFIABLE" *out | sed 's/:s.*$//' > solvedSAT
| aodinaev/cryptominisat | scripts/cactusplots/solvetimes_from_output_glucose.sh | Shell | lgpl-3.0 | 269 |
#!/bin/bash -e
mkdir -p publish-docs
tools/build-firstapp-rst.sh
tools/build-api-quick-start.sh
| dreamhost/api-site | tools/build-all-rst.sh | Shell | apache-2.0 | 98 |
#!/bin/bash
source ./ci/functions.sh
runBuild=false
echo "Reviewing changes that might affect the Gradle build..."
currentChangeSetAffectsTests
retval=$?
if [ "$retval" == 0 ]
then
echo "Found changes that require the build to run test cases."
runBuild=true
else
echo "Changes do NOT affect project test cas... | GIP-RECIA/cas | ci/tests/mail/run-tests-mail.sh | Shell | apache-2.0 | 2,468 |
# Update the main repo
git pull
# Init the subrepos
git submodule update --init --recursive
git submodule foreach --recursive "git checkout master"
# Update the subrepos
git submodule foreach --recursive "git pull" | VioletGiraffe/ShaderPlayground | update_repository.sh | Shell | apache-2.0 | 216 |
#!/bin/bash
: '
CONVERT MEDIA TO MP3 (BASTIS BASH COMMONS)
Reads the content of the given input file and converts files to mp3s
using ffmpeg. Example:
bbc-convert-media-to-mp3.sh -i in_dir/ -t out_dir/ -p mp3,opus,aac -rsv
Licensed under the Apache License, Version 2.0 (the "License");
'
function show_help () {
... | BastiTee/bastis-bash-commons | bbc-convert-media-to-mp3.sh | Shell | apache-2.0 | 4,000 |
#!/bin/bash
if [ -z $1 ]; then
echo "Provide hostnames file as argument"
exit 1
fi
COUNTER=100
while IFS='' read -r line || [[ -n "$line" ]]; do
echo "Deleting host data for : $line"
su - postgres -c 'psql -U postgres ambari -c "delete from ambari.hoststate where host_id = '"'"''''$COUNTER''''"'"';"'
su... | RamVenkatesh/sidmisc | scripts/insert_hosts.sh | Shell | apache-2.0 | 2,346 |
#!/bin/bash
#
# Script to test a syntactic dependency parser model, for unlabeled dependencies only
#
if [ "$#" -ne 1 ]; then
echo "You must provide the model name in the command line!"
exit 1
fi
MODELH=$1
sbt 'runMain org.clulab.dynet.Metal -test '"$MODELH"' -conf org/clulab/mtl-en-depsh.conf'
| sistanlp/processors | scripts/test-depsh.sh | Shell | apache-2.0 | 309 |
#!/bin/bash
declare -a allrepos=("openmrs-module-bahmniapps"
"openerp-atomfeed-service"
"OpenElis"
"bahmni-core"
"bahmni-java-utils"
"openerp-modules"
"openerp-functional-tests"
... | Bhamni/utilities | branch_for_release/allrepos.sh | Shell | apache-2.0 | 939 |
#!/bin/bash
trap 'echo "Failed" > $heat_outputs_path.status; exit;' ERR
# Insert Script Here
echo "Success" > $heat_outputs_path.status
| heat-extras/heat-lib | lib/software-configs/rhel/scripts/mysql_database/base.sh | Shell | apache-2.0 | 138 |
#!/bin/bash
# This file is part of the Soletta Project
#
# Copyright (C) 2015 Intel Corporation. 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... | cmarcelo/soletta | builders/platform-galileo-microlinux-x86/flash.sh | Shell | bsd-3-clause | 1,941 |
#!/bin/sh
ua="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"
video_map_id() {
cam_id="$1"
}
checkConfig() {
[ ! -e `dirname $0`/config.sh ] && echo "Error: no config.sh found! Copy config.sh.sample to config.sh and edit it" >&2 && exit 1
}
init() {
... | basiliocat/scripts | lib.sh | Shell | bsd-3-clause | 5,157 |
#!/bin/sh
# PlistCompiler.sh
# Copyright 2010 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 la... | xtremelabs/core-plot | TestMerge/externals/google-toolbox-for-mac/BuildScripts/PListCompiler.sh | Shell | bsd-3-clause | 2,055 |
#!/bin/bash
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script assumed to be run in native_client/
if [ "x${OSTYPE}" = "xcygwin" ]; then
cd "$(cygpath "${PWD}")"
fi
if [[ ${PWD} != */nativ... | wilsonianb/nacl_contracts | buildbot/buildbot_toolchain.sh | Shell | bsd-3-clause | 4,396 |
#!/bin/bash
# sets up a raspbian rootfs for cargo builds (part I)
#
# run this script in a raspbian-2015-05-05 rootfs
#
# # systemd-nspawn doesn't work, do a "manual" chroot
# $ mount -o rbind /dev /chroot/raspbian/cargo/dev
# $ mount -o bind /sys /chroot/raspbian/cargo/sys
# $ mount -t proc none /chroot/raspbian/car... | quodlibetor/ruststrap | armhf/raspbian-setup-cargo-root.sh | Shell | mit | 1,101 |
export LD_LIBRARY_PATH=`pwd`/lib/:$LD_LIBRARY_PATH | veyesys/opencvr | output/linux/exportpath.sh | Shell | mit | 50 |
#!/bin/bash
for i in $(ps aux | grep \/dev\/tty.usb | awk '{print $2}')
do
kill $i > /dev/null 2>&1
done
| mtndesign/mtnvim | myvim/bundle/vim-arduino/plugin/kill-screen.sh | Shell | gpl-2.0 | 111 |
#!/bin/sh
# Copyright (C) John H Terpstra 1998-2002
# Gerald (Jerry) Carter 2003
# The following allows environment variables to override the target directories
# the alternative is to have a file in your home directory calles .rpmmacros
# containing the following:
# %_topdir /home/mylogin/redhat
... | paul-chambers/netgear-r7800 | git_home/samba.git/packaging/RHEL/makerpms.sh | Shell | gpl-2.0 | 1,769 |
#!/bin/sh
# Update everything (just in case)
npm rebuild
npm install --no-optional
# Built and test
grunt
grunt sonar --sonarLogin=$SONAR_LOGIN --sonarPassword=$SONAR_PASSWORD --sonarBranch=$SONAR_BRANCH
| OpenLMIS/openlmis-stockmanagement-ui | sonar.sh | Shell | agpl-3.0 | 206 |
#!/bin/sh
#############################################################################
#
# Purpose: This script will install Web World Wind
# NASA OPEN SOURCE AGREEMENT VERSION 1.3
#
#############################################################################
# Copyright (c) 2016-2018 Open Source Geospatial Foundatio... | astroidex/OSGeoLive | bin/retired/install_webworldwind.sh | Shell | lgpl-2.1 | 3,332 |
#! /bin/sh
################################################################################
# Copyright (C) 2016 Andrew Lord
#
# 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.a... | andrewlord1990/unity-audiotracks | scripts/clean.sh | Shell | apache-2.0 | 869 |
#!/bin/bash
set -e
# Download Ansible roles
ansible-galaxy install \
--force \
--role-file=./requirements.yml \
--roles-path=./roles
# Run Ansible playbook
export ANSIBLE_HOST_KEY_CHECKING=False
ansible-playbook \
--inventory=./hosts.yml \
./playbook.yml
| Kitware/girder | devops/deployment-template/provision.sh | Shell | apache-2.0 | 267 |
#! /bin/sh
# $Id: rawpp_test.sh 2172 2009-01-27 06:38:14Z peter $
${srcdir}/out_test.sh rawpp_test modules/preprocs/raw/tests "raw preproc" "-f bin -r raw" ""
exit $?
| roisagiv/webrtc-ios | third_party/yasm/source/patched-yasm/modules/preprocs/raw/tests/rawpp_test.sh | Shell | bsd-3-clause | 167 |
#!/bin/bash
FN="moe430b.db_3.2.3.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/moe430b.db_3.2.3.tar.gz"
"https://bioarchive.galaxyproject.org/moe430b.db_3.2.3.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-moe430b.db/bioconductor-moe430b.db_3.2.3_src_all.tar.gz... | Luobiny/bioconda-recipes | recipes/bioconductor-moe430b.db/post-link.sh | Shell | mit | 1,412 |
#!/bin/sh
cd ./src
R CMD SHLIB dExp1.c
R CMD SHLIB dExp2.c
R CMD SHLIB parsePlink.c
R CMD SHLIB parsePlink2.c
rm *.o
mv *.so ../lib
| lsncibb/microbiomeGWAS | compile.src.sh | Shell | gpl-2.0 | 134 |
#!/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... | jcshen007/cloudstack | scripts/storage/qcow2/resizevolume.sh | Shell | apache-2.0 | 6,723 |
#!/usr/bin/env bash
test "the compilation of a single file"\
"$MAKE init" \
"cp ../assets/hello.f src/hello.f" \
"$MAKE" \
"./bin/hello" \
should_output "Hello, World!"
| igorbonadio/make | test/fortran/test_single-file.sh | Shell | apache-2.0 | 180 |
#!/bin/bash
FN="MeSH.Vvi.eg.db_1.11.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/MeSH.Vvi.eg.db_1.11.0.tar.gz"
"https://bioarchive.galaxyproject.org/MeSH.Vvi.eg.db_1.11.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mesh.vvi.eg.db/bioconductor-mesh.vvi.eg.d... | joachimwolff/bioconda-recipes | recipes/bioconductor-mesh.vvi.eg.db/post-link.sh | Shell | mit | 1,328 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.