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
## simple script to run the lemmatizer evaluation on all dep training
## corpora so we get the log outputs in ./logs
## only works if logs does not yet exist or is empty!
## Parameter 1 can be used to choose a different log directory.
## expect parameter 1 to be a directory that contains the log files fo... | johann-petrak/evaluation-lemmatizer | run-all-udep-train.sh | Shell | gpl-3.0 | 967 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 2/logs/w-11_2/20170125T021128+0000/00/00/longestsession_6_ID0000018.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/sh
pkgname=feh
pkgver=2.25.1
vcs=git
gittag=${pkgver}
urls="http://feh.finalrewind.org/feh-${pkgver}.tar.bz2"
srctar=${pkgname}-${pkgver}.tar.bz2
relmon_id=790
kiin_make() {
make PREFIX=/usr
}
kiin_install() {
make PREFIX=/usr DESTDIR=${pkgdir} install
}
| alekseyrybalkin/kiin-repo | multimedia/feh/package.sh | Shell | gpl-3.0 | 273 |
#!/bin/sh
#--use-c++=/usr/local/bin/clang++ \
#--use-cc=/usr/local/bin/clang \
scan-build -analyze-headers \
clang++ -I/usr/share/R/include -DNDEBUG -I. \
-I"/usr/local/lib/R/site-library/Rcpp/include" -fopenmp -fpic \
-O0 -fstack-protector-strong -Wall \
-D_FORTIFY_SOURCE=2 -g -c *.cpp *.h *.c
| jackwasey/icd9 | tools/clang-static-code-analyze.sh | Shell | gpl-3.0 | 301 |
#!/bin/sh
if [ -z "$1" ]; then
cat <<-EOF
usage: $0 <device>
<device> := "/dev/id" |
"/sys/kernel/debug/id_debugfs/id" |
"/sys/kernel/id_sysfs/id" |
...
EOF
exit 1
fi
DEV=$1
set -v
echo $DEV
cat $DEV >id.txt
# correct id
cat id.txt >$DEV
echo $?
... | jmahler/ldd | id_jiff_foo/test-id.sh | Shell | gpl-3.0 | 575 |
mvn clean
cd src/main/elm
./compile.sh
cd ../../..
mkdir -p target/classes/static
mv src/main/elm/o.html target/classes/static/index.html
mvn spring-boot:run
| johantiden/myfeed | start.sh | Shell | gpl-3.0 | 162 |
#!/usr/bin/env bash
# Author : Pierrick Chovelon
# Email : pierrick.chovelon@a-sis.com
# Description : Main file.
# Creation : 29/03/2017
# VARIABLES
scriptVersion="v0"
scriptName=$(basename "$0")
scriptPath=$PWD
# GLOBAL FUNCTIONS
# DESC: Usage help
# ARGS: None
function script_usage() {
cat << EOF
Usage:
... | pcasis/icinga2configparser | dev/script.sh | Shell | gpl-3.0 | 1,090 |
# Add paths for the krb5 package
if [ -d /usr/lib/mit/bin ]; then
COUNT=`ls -1 /usr/lib/mit/bin/ | wc -l`
if [ $COUNT -gt 0 ]; then
PATH="$PATH:/usr/lib/mit/bin"
fi
fi
if [ -d /usr/lib/mit/sbin ]; then
COUNT=`ls -1 /usr/lib/mit/sbin/ | wc -l`
if [ $COUNT -gt 0 ]; then
PATH="$PATH:/u... | Arthur2e5/anthonos | etc/profile.d/krb5.sh | Shell | gpl-3.0 | 366 |
#!/usr/bin/env bash
set -e
usage='overlap_feature.sh <svs.bedpe> <features.bed>'
# features.bed must only have 3 fields
if [ $# -ne 2 ]; then
echo $usage
exit 1
fi
# 1) PROCESS EVERYTHING BUT TRANSLOCATIONS
cat $1 | grep -v TRA | cut -f1,3,5,7 | perl -nale 'if ($F[1]>$F[2]){print join "\t", @F[0,2,1,3]} else {pri... | rajeha/misc | overlap_feature.sh | Shell | gpl-3.0 | 1,324 |
#!/bin/sh
#Nautilus Script to convert selected LibreOffice-compatible file(s) to PDF
#v.1.0
OLDIFS=$IFS
IFS="
"
for filename in $@; do
unoconv --doctype=document --format=pdf "$filename"
done
IFS=$OLDIFS | kernt/linuxtools | gnome3-shell/nautilus-scripts/System/File Processing/Doc-Tools/Convert-To/2Pdf-2.sh | Shell | gpl-3.0 | 203 |
#!/bin/bash
base=`basename $0`
usage=`cat <<HERE
usage: $base [--sdkhome <sdk-home>] commands args...
\n\t[--sdkhome <sdk-home>]\tset the google sdk home
\n\t[--help]\tprint this message and exit
\n\t[--echo]\techo the PYTHONPATH
HERE
`
while [ "$#" -gt "0" ]; do
case "$1" in
--sdkhome) SDKHOME=$2; shift 2;;
--hel... | usersource/anno | anno_gec_server/docs/gaepath.sh | Shell | mpl-2.0 | 649 |
#!/bin/bash
__dir__="$(cd "$(dirname "$0")" && pwd)"
# shellcheck source=scripts/configuration.sh
source "$__dir__/configuration.sh"
# shellcheck source=scripts/aws.sh
source "$__dir__/aws.sh"
# shellcheck source=scripts/io.sh
source "$__dir__/io.sh"
function rbx_archive_core {
local archive ext url bucket
arch... | jsyeo/rubinius | scripts/build_support.sh | Shell | mpl-2.0 | 1,110 |
#!/usr/bin/env bash
set -o errexit
VERSION="v1.0.0"
DOWNLOAD=https://github.com/containernetworking/plugins/releases/download/${VERSION}/cni-plugins-linux-amd64-${VERSION}.tgz
TARGET_DIR=/opt/cni/bin
CONFIG_DIR=/opt/cni/config
function install_cni() {
mkdir -p ${TARGET_DIR} ${CONFIG_DIR}
if [[ -e ${TARGET_DIR}/${V... | hashicorp/nomad | scripts/vagrant-linux-priv-cni.sh | Shell | mpl-2.0 | 506 |
#!/bin/bash
# Copies the latest modulestore tar ball from Stanford's backup server.
# Does the following:
# - imports the entire store into the local MongoDB
# - queries the local MongoDB, retrieving the information needed
# for table CourseInfo. Truncates that table, and re-loads
# it with the query resu... | EDUlib/eTracesX | Translation_software/edx_to_MOOCdb_piping/import.openedx.apipe/scripts/cronRefreshModuleStore.sh | Shell | agpl-3.0 | 7,518 |
#!/bin/bash
# Attention, there is no "-x" to avoid problems on Travis
set -e
case $1 in
nondex)
# exclude ConfigurationLoaderTest till https://github.com/TestingResearchIllinois/NonDex/issues/112
mvn --fail-never clean nondex:nondex -Dtest='*,!ConfigurationLoaderTest'
cat `grep -RlE 'td class=.x' .nondex/ | cat... | sharang108/checkstyle | .ci/travis/travis.sh | Shell | lgpl-2.1 | 9,478 |
#! /bin/bash
if ! type "curl" > /dev/null; then
echo "This script requires curl to run."
exit 1
fi
if ! type "jq" > /dev/null; then
curl -sSL "https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64" -o jq
chmod +x ./jq
jq='./jq'
else
jq='jq'
fi
org="lablup"
registry="https://registry-1.docker.... | lablup/sorna | scripts/list-all-public-images.sh | Shell | lgpl-3.0 | 1,180 |
#!/bin/bash
if [ -z "${1}" ]
then
echo "Syntax: ${0} <rpn path>"
exit 1
fi
rpn=${1}
FG_RED="\033[0;31m"
FG_GREEN="\033[0;32m"
COLOR_OFF="\033[0m"
failed=0
function checkmem {
echo -n "${*}"
valgrind ${rpn} "${*}" 2>&1 | grep "in use at exit: 0 bytes in 0 blocks" >/dev/null
if [ ${?} -eq 0 ]; ... | louisrubet/rpn | test/mem_test.sh | Shell | lgpl-3.0 | 1,682 |
#!/bin/zsh
# Autocompletion and correction
unsetopt correctall # disable filename correction
setopt correct # enable spelling correction
setopt pushd_ignore_dups
CASE_SENSTITIVE="true"
COMPLETION_WAITING_DOTS="true"
setopt AUTO_PARAM_SLASH # adds slash at end of tabbed dirs
# History
mkdir -p "$XDG_DATA_HOME"/zsh
ex... | gabrielsimoes/dotfiles | zsh/options.zsh | Shell | unlicense | 1,105 |
CATALINA_OPTS="$CATALINA_OPTS -Xms4g -Xmx8g"
| SEARCH-NCJIS/nibrs | analytics/docker/nibrs-analytics-saiku-drill/files/setenv.sh | Shell | apache-2.0 | 45 |
#!/bin/bash
$SCRIPTS_HOME/check_env.sh
if [ $? -ne 0 ]
then
echo "Environment not configured properly. Check env.sh and source it."
exit 1
fi
SLAVES=`cat $HADOOP_HOME/conf/all_slaves | wc -l`
count=$SLAVES
CLIENT=`cat $HADOOP_HOME/conf/client.txt`
#$SCRIPTS_HOME/dist_grep.sh $count
#sleep 10
$SCRIPTS_HOME... | kl0u/visco | scripts/main.sh | Shell | apache-2.0 | 363 |
#!/bin/bash
DIR=/home/yiwen/stockStrategies/gudong
cd $DIR
echo "
use quantum;
select a.p_date date,concat('\"<tab>',a.code,'\"') as code,c.name,gudong from gudong a join (select code,max(p_date) mpdate from gudong group by code) b on (a.code=b.code and a.p_date=b.mpdate) join prices c on (a.code=c.code) where gudong l... | happy6666/stockStrategies | gudong/output.sh | Shell | apache-2.0 | 644 |
#!/bin/sh
SCRIPT_DIR=$(dirname $(readlink -f $0))
java -classpath "$SCRIPT_DIR/../conf:$SCRIPT_DIR/../lib/*" \
dk.statsbiblioteket.medieplatform.newspaper.manualQA.ManualQAFlaggerComponent -c $SCRIPT_DIR/../conf/config.properties | statsbiblioteket/newspaper-manualQA-flagger | src/main/scripts/pollAndWork.sh | Shell | apache-2.0 | 234 |
#!/bin/bash -eu
#
# Copyright 2015 The Bazel Authors. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | ButterflyNetwork/bazel | third_party/ijar/test/ijar_test.sh | Shell | apache-2.0 | 18,489 |
#!/bin/bash
# Tests the OUTCONTAINER crawler mode
# Returns 1 if success, 0 otherwise
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
docker rm -f test_crawl_os_container_1 2> /dev/null > /dev/null
docker run -d --name test_crawl_os_container_1 ubuntu sleep 60 2> /dev/null > /dev/n... | ricarkol/agentless-system-crawler | tests/old/test_crawl_os_container.sh | Shell | apache-2.0 | 569 |
sudo apt-get update
sudo apt-get install -y unzip curl openjdk-7-jdk
tar -xvzf /vagrant/storm-0.9.0.1.tar.gz -C /opt/
## add configurations to the storm.yaml
sudo cat >> /opt/storm-0.9.0.1/conf/storm.yaml <<EOL
storm.zookeeper.servers:
- "192.168.99.2"
## Use Netty as the transport mechanism
storm.messaging.tran... | philshon/vagrant-storm | nimbus-provisioning.sh | Shell | apache-2.0 | 721 |
#!/bin/bash
#
# Re-hace el tag MP3 dependiendo del nombre del archivo y del directorio que lo contiene.
# El formato debe ser el siguiente en la jerarquia del arbol:
#
# /dir/a/mp3/ARTISTA/ANNO - ALBUM/ARTISTA - CANCION.mp3
ARTISTA=$(echo $PWD | rev | cut -d "/" -f2 | rev)
ANNO=$(echo $PWD | rev | cut -d "/" -f1 | re... | mave007/scripts | RenombraTags-SinNumero.sh | Shell | apache-2.0 | 681 |
#!/usr/bin/env bash
#
# Copyright 2016-2017 B2i Healthcare Pte Ltd, http://b2i.sg
#
# 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
#
# Unle... | IHTSDO/snow-owl | releng/com.b2international.snowowl.server.update/assembly/common/scripts/snowowl_cold_backup_mysql.sh | Shell | apache-2.0 | 4,991 |
#run sbt assembly to produce the jar
JAR_PATH=target/scala-2.11/my-akka-http-microservice-assembly-1.0.jar
java -cp ${JAR_PATH} AkkaHttpMicroservice
| script2013/my-akka-http-microservice | run-standalone.sh | Shell | apache-2.0 | 149 |
#!/bin/bash
TARGET="./build"
FILENAME="index"
INFILEXTENSION="xml"
DOCXSTYLE="resources/arc42-style.docx"
#
echo "generate docx from docbook"
#################################
#
# too bad, reference-docx does not work (produces illegal output)
# pandoc --from docbook --to docx --reference-docx=$DOCXSTYLE --output $... | cbergau/quality-requirements | create_docx_with_pandoc.sh | Shell | apache-2.0 | 645 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | GoogleCloudPlatform/migrate-for-anthos-gke | scripts/add_ce_source.sh | Shell | apache-2.0 | 1,360 |
#!/bin/bash -eux
########################################################################
#
# title: Build Ubuntu Image for Sonarqube
# author: Marco Maccio (http://marmac.name)
# url: https://github.com/marcomaccio/devpaas
# description: Create image for Sonarqube (Instance) server base... | marcomaccio/devpaas | devpaas-vm/packer/VBOX-build-image-devpaas-sonarqube-ubuntu.sh | Shell | apache-2.0 | 1,409 |
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get install -y build-essential
sudo apt-get install -y libpq-dev libffi-dev zlib1g-dev libyaml-dev libssl-dev
sudo apt-get install -y libgdbm-dev libreadline6-dev libncurses5-dev
sudo apt-get install -y i2c-tools sqlite3 libi2c-dev
sudo apt-get... | henryse/pi-weather-pro | groot/setup-impage.sh | Shell | apache-2.0 | 895 |
perl $HOME/bin/ensembl-vep/vep \
--cache \
--dir /hps/nobackup2/production/ensembl/anja/release_93/vep_dumps//dumps/qc/b11c5cc92d94fd1c21393386e1c19016 \
--host mysql-ens-var-prod-1 \
--port 4449 \
--refseq \
--user ensro \
--input_file /hps/nobackup2/production/ensembl/anja/release_93/vep_dumps//dumps/qc/homo_sapiens... | at7/work | vep/vep_cache.sh | Shell | apache-2.0 | 540 |
#!/usr/bin/env bash
python train.py --model_zoo monodepth2_resnet18_kitti_mono_640x192 --model_zoo_pose monodepth2_resnet18_posenet_kitti_mono_640x192 --pretrained_base --log_dir ./tmp/mono/ --png --gpu 0 --batch_size 10
| dmlc/web-data | gluoncv/logs/depth/kitti/monodepth2_resnet18_kitti_mono_640x192.sh | Shell | apache-2.0 | 222 |
#!/bin/bash
# Copyright 2019 Hagb and all other contributors
# 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
helptext="用法:\n
mih.sh [时间] 指定向M... | Hagb/MIH | mih.sh | Shell | apache-2.0 | 1,172 |
cat $1 | grep -a 'MS\|FS\|MT\|FT' | awk '{printf "%7d %7d\n", $5, ($5*$11/100)+0.5}' | \
awk 'END { printf "A : %7d %7d - %5.2f %% WER\n", s, e, e/s*100 } { s += $1; e += $2 }' >$2
cat $1 | grep -a 'MS\|MT' | awk '{printf "%7d %7d\n", $5, ($5*$11/100)+0.5}' | \
awk 'END { printf "M : %7d %7d - %5.2f %% WER\n", s, e,... | opensource-spraakherkenning-nl/Kaldi_NL | local/split_results.sh | Shell | apache-2.0 | 1,669 |
#!/bin/bash
# Runs the tests on UNIX-like platforms
# The script should be run from the project's root directory
#
# This environment variables are the parameters to this script:
# - BUILD_DIR : build directory
#
function cleanup {
echo "cleanup is being performed."
if [ "x${rcPid}" != "x" ]
then
... | hazelcast/hazelcast-cpp-client | scripts/test-unix.sh | Shell | apache-2.0 | 1,735 |
#!/bin/sh
android update project -p . -s
| DisyInformationssysteme/android-spatialite | setup.sh | Shell | apache-2.0 | 41 |
# -----------------------------------------------------------------------------
#
# Package : github.com/jmoiron/sqlx
# Version : v1.2.0
# Source repo : https://github.com/jmoiron/sqlx
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.c... | ppc64le/build-scripts | g/github.com__jmoiron__sqlx/github.com__jmoiron__sqlx_rhel_8.3.sh | Shell | apache-2.0 | 5,049 |
#!/bin/sh
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2016 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may ... | rdkcmf/rdk-sysint | lib/rdk/fkps.sh | Shell | apache-2.0 | 2,059 |
#!/bin/bash
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | petewarden/tensorflow | tensorflow/tools/ci_build/nightly_release/macos/cpu_py39.sh | Shell | apache-2.0 | 2,313 |
#!/bin/bash
# Copyright 2016 - 2022 Crunchy Data Solutions, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | CrunchyData/crunchy-containers | examples/docker/swarm-service/cleanup.sh | Shell | apache-2.0 | 663 |
#!/bin/sh -ex
FROM="${1:-origin/master}"
TO="${2:-gerrit/master}"
CHANGE_ID="I9b01715ce955d695fe6334bdec62545d101f4f38"
git review -s
COMMIT="$(git commit-tree -p "$TO" -m "All-in-one from GitHub
Change-Id: $CHANGE_ID" "$FROM^{tree}")"
git push gerrit "$COMMIT":refs/for/master
| Mirantis/octane | misc/all-in-one.sh | Shell | apache-2.0 | 279 |
#!/bin/sh
#base=PREFIX
if [ -z $base ] ; then
envs=`dirname $0`/../scripts/envs.sh
DEBUG=yes
else
envs=$base/etc/flowvisor/envs.sh
fi
if [ -f $envs ] ; then
. $envs
else
echo "Could not find $envs: dying..." >&2
exit 1
fi
default_jvm_args="-server -Xms100M -Xmx1000M -XX:OnError=flowvisor-cra... | routeflow/AutomaticConfigurationRouteFlow | FLOWVISOR/scripts/flowvisor.sh | Shell | apache-2.0 | 859 |
# add custom script in here
# enable tty console
PATH=/sbin:/usr/sbin:/bin:/usr/bin
sed -i -e 's#GRUB_CMDLINE_LINUX=.*$#GRUB_CMDLINE_LINUX="text console=tty0 console=ttyS0,115200n8"#' \
-e 's/#GRUB_TERMINAL=console/GRUB_TERMINAL=console/' \
-e 's#GRUB_CMDLINE_LINUX_DEFAULT="quiet"#GRUB_CMDLINE_LINUX_DEFAULT=""#' /etc/... | davidddw/imageBuilder | debian_8.x_kvm_openstack/scripts/custom_kvm.sh | Shell | apache-2.0 | 794 |
#!/usr/bin/env bash
###############################################################################
# Copyright 2017 The Apollo 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... | fy2462/apollo | scripts/canbus_tester.sh | Shell | apache-2.0 | 957 |
#!/usr/bin/ksh
. $(dirname $0)/../config/sys-dash.env
#TODO: Make this part of an item.sh script with other stuf
usage() {
echo "Usage: `basename $0` -i <new_item_name> -c <creator>"
echo " -i Name of file and function namespace"
echo " -c Username of file creator - no spaces"
exit 1
}
ITEM_NAME=... | jdesroch/sys-dash | Scripts/createItem.sh | Shell | apache-2.0 | 1,093 |
#!/bin/bash
set -e
source $(dirname $0)/helpers.sh
CERT=$(cd $(dirname $0) && pwd)/self_signed_cert_and_key.pem
setUp() {
export TMPDIR=$(mktemp -d ${TMPDIR_ROOT}/hg-tests.XXXXXX)
}
test_it_can_check_from_head() {
local repo=$(init_repo)
local ref=$(make_commit $repo)
local expected=$(echo "[{\"ref\": $(e... | concourse/hg-resource | test/test_check.sh | Shell | apache-2.0 | 16,380 |
#!/bin/bash
# Copyright 2017 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 ... | kubernetes/publishing-bot | hack/fetch-all-latest-and-push.sh | Shell | apache-2.0 | 2,447 |
#!/bin/sh
safe_pot_hash() {
sed -e "/Project-Id-Version/,/Content-Transfer-Encoding/d" -e "/^#/d" "po/lxd.pot" | tee /tmp/foo | md5sum | cut -f1 -d" "
}
test_static_analysis() {
(
set -e
cd ../
# Python3 static analysis
pep8 test/deps/import-busybox scripts/lxd-setup-lvm-storage
pyflakes3 tes... | yura-pakhuchiy/lxd | test/suites/static_analysis.sh | Shell | apache-2.0 | 1,760 |
#!/usr/bin/env bash
# Copyright (C) 2015 By Joel C. Maslak
# Licensed under the terms of Perl 5
#
#
# Watches for problems with hung processes
#
# $1 -> Max amount of time a Smoker process can stay on
# the same package
#
# This determines the location of this directory
PERLTEST_DIR="$( cd -- "$(dirnam... | jmaslak/perltest | bin/pt_watchdog.sh | Shell | artistic-2.0 | 834 |
#!/bin/sh
## add here all roles dependencies
## main roles will be uploaded by packer
cd /etc/ansible/roles
git clone https://github.com/geerlingguy/ansible-role-java.git geerlingguy.java
#git clone https://github.com/juju4/ansible-sift.git sift
| juju4/ansible-sift | packer/setup-roles.sh | Shell | bsd-2-clause | 247 |
#!/bin/bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar --reload main &
echo "Polybar launched..."
| danielfm/dotfiles | desktop/.config/polybar/launch.sh | Shell | bsd-2-clause | 235 |
#!/bin/bash
pushd ALUGrid*
./configure --prefix=$(pwd)/../alugrid CXXFLAGS="-fPIC -DNDEBUG -O2"
make
make install
popd
| pymor/dune-burgers-demo | 02_build_alugrid.sh | Shell | bsd-2-clause | 120 |
#!/bin/bash -e
##-------------------------------------------------------------------
## File : update_ubuntu_system.sh
## Author : Denny <denny@dennyzhang.com>
## --
## Created : <2016-12-13>
## Updated: Time-stamp: <2017-07-18 10:18:49>
##################################################################################... | TOTVS/mdmpublic | chef/update_ubuntu_system.sh | Shell | bsd-2-clause | 561 |
#!/bin/bash
filename=$1
cat $filename | sed -e "s/.*node \[shape = doublecircle\]; //" | sed -e "s/.*init -> //" | sed -e "s/[^0-9]*\([0-9]*\) -> \([0-9]*\) \[label=\"\([^\"]*\)\"\]/\1 \2 \3/" | sed -e "/^ .*/d" | grep -v "digraph" | grep -v "^}" | sed -e "s/\\\n/ /g" | sed -e "s/,/ /g" | sed -e "s/;//g"
| mschlund/FPsolve | c/src/convert.sh | Shell | bsd-2-clause | 307 |
#!/bin/bash
DIR=$(dirname $0)
ROOT=$DIR/..
OPT=$ROOT/build/Release+Asserts/bin/opt
SCAF=$ROOT/build/Release+Asserts/lib/Scaffold.so
# Module flattening threshold
# note: thresholds must be picked from the set in scripts/flattening_thresh.py
THRESHOLDS=(010k 100k 2M 25M)
# Create directory to put all byproduct and ou... | epiqc/ScaffCC | scripts/gen-cp.sh | Shell | bsd-2-clause | 1,926 |
#!/bin/bash
# Copyright (c) 2013 Intel Corporation.
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
# * Redistributions of works must retain the original copyright notice, this list
# of conditions and the following d... | xiaojunwu/crosswalk-test-suite | misc/wrt-stablonglastplayvideo-android-tests/stablonglastplayvideo/RunPlayVideoLongTime.sh | Shell | bsd-3-clause | 1,925 |
#!/bin/bash
for i in *.out; do
DATASET=$(echo $i | cut -d . -f 1)
ALGORITHM=$(echo $i | cut -d . -f 2)
echo "Decompressing $i, with dataset $DATASET and algorithm $ALGORITHM";
if ! ../decompress ../$ALGORITHM ${DATASET}.csv < $i; then
exit 1;
fi;
done; | zengluyang/wsn_tinyos_port | common/tools/compression/ratio-test/verify-compression.sh | Shell | bsd-3-clause | 274 |
#!/usr/bin/env bash
### 70-bashrc.repos.sh
function git-commit() {
# git-commit() -- git commit ${2:} -m ${1}; git log -n1
(set -x;
msg="${1}";
shift;
files=( "${@}" );
git commit "${files[@]}" -m "${msg}" && \
git log -n1 --stat --decorate=full --color=always;
)
}
function gc() {
... | westurner/dotfiles | etc/bash/70-bashrc.repos.sh | Shell | bsd-3-clause | 6,736 |
export QMAKESPEC=linux-g++
$PYTHON setup.py install --prefix=$PREFIX
| hajs/pylodger | recipes/gui/pyqtpoppler/build.sh | Shell | bsd-3-clause | 71 |
#!/bin/bash
echo Creating isolated virtual environment
source .maint/ci/env.sh
set -eu
# Required variables
echo SETUP_REQUIRES = $SETUP_REQUIRES
set -x
python -m pip install --upgrade pip virtualenv
virtualenv --python=python virtenv
source .maint/ci/activate.sh
python --version
python -m pip install -U $SETUP_R... | oesteban/fmriprep | .maint/ci/create_venv.sh | Shell | bsd-3-clause | 410 |
#! /usr/bin/env sh
DBNAME=$1
touch $DBPATH"/"$DBNAME".db"
| Moysec/TextDB | DBMS/scripts/create.sh | Shell | mit | 58 |
# Test local config file
cp -f ${test_dir}/config-local.xml.min ${test_dir}/config-local.xml
./gradlew run --args="-nogui -config:config-local.xml -dir:${test_dir} -exec:'exit();'" >${log_file}
| workcraft/workcraft | ci/config/test.sh | Shell | mit | 194 |
#!/bin/sh
#
# Utility tools for building configure/packages by AntPickax
#
# Copyright 2018 Yahoo Japan Corporation.
#
# AntPickax provides utility tools for supporting autotools
# builds.
#
# These tools retrieve the necessary information from the
# repository and appropriately set the setting values of
# configure, M... | ggtakec/k2hash | buildutils/make_commit_hash.sh | Shell | mit | 5,234 |
#!/bin/bash
echo "HIGH test starts"
set -e #exit on error
galen test tests/galen/all.test --htmlreport tests/galen/reports/all --groups HomePage
galen test tests/galen/all-part2.test --htmlreport tests/galen/reports/all-part2 --groups PartnersLanding #in progress
galen test tests/galen/all-part2.test --htmlreport test... | ticketmaster-api/ticketmaster-api.github.io | tests/levels/run-test-high.sh | Shell | mit | 564 |
#! /bin/sh
sysctl net.ipv4.tcp_max_syn_backlog=8192
sysctl net.core.somaxconn=4096 # default: 128
sysctl net.ipv4.tcp_max_tw_buckets=128000000
sysctl net.ipv4.tcp_fin_timeout=5
# XXX Enable *ONLY* if you're not working with NAT
sysctl net.ipv4.tcp_tw_recycle=1
# XXX The following certainly fixes the "Cannot assign r... | xzero/x0 | contrib/high-traffic-linux.sh | Shell | mit | 867 |
# #30_create_isolinux.sh
#
# create yaboot.cfg for Relax-and-Recover
#
# Relax-and-Recover is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any... | jayfurmanek/rear | usr/share/rear/output/ISO/Linux-ppc64/30_create_yaboot.sh | Shell | gpl-2.0 | 1,447 |
make cooper_latest_defconfig
| MadManA/MadKernel_cooper | make_kernel_GT-S5830.sh | Shell | gpl-2.0 | 29 |
#!/bin/sh
#
# Edit an lvm.conf file to enable cluster locking.
#
# $1 is the directory where the locking library is installed.
# $2 (optional) is the config file
# $3 (optional) is the locking library name
#
#
PREFIX=$1
LVMCONF=$2
LIB=$3
if [ -z "$PREFIX" ]
then
echo "usage: $0 <prefix> [<config file>] [<library>]"
... | cedricde/lrs | client/src_initrd/lvm2/scripts/clvmd_fix_conf.sh | Shell | gpl-2.0 | 3,849 |
#!/bin/bash
bash $(dirname $0)/runracer $@
| behlendorf/lustre | lustre/tests/racer.sh | Shell | gpl-2.0 | 44 |
#!/bin/bash
set -e
mvn package
mvn org.pitest:pitest-maven:mutationCoverage
| xezon/genotick | mutation.sh | Shell | gpl-2.0 | 77 |
#!/bin/bash
#List of installed applications and dependencies
dpkg -l | grep ii | more | bgaid/RaspberryPi | scripts/system/application_list.sh | Shell | gpl-2.0 | 86 |
#!/bin/sh
#START=59
start() {
/usr/sbin/version.sh -r&
}
case "$1" in
"boot") start ;;
"start") start ;;
*)
echo $0 'boot - show version'
echo $0 'start - show version'
;;
esac
| uwehermann/easybox-904-lte-firmware | package/infineon-utilities/feeds/ifx_base_files/target-ltqcpe-base-files/files/etc/init.d/version.sh | Shell | gpl-2.0 | 198 |
#!/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 ... | kidmaple/CoolWall | user/bind/bin/tests/system/nsupdate/clean.sh | Shell | gpl-2.0 | 1,085 |
# HardeningOne - A hardening tool for Linux
# Copyright (C) 2010 Author
# Seg 18 Out 2010 09:49:01 BRST
# São Paulo-SP
# Brazil
# Author:
# * Mauro Risonho de Paula Assumpção aka firebits <firebits at backtrack dot com dot br>
#
# This program is free software; you can redistribute it and/or modify
# it under... | firebitsbr/HardeningONE | ok/check_php_proc_nice.sh | Shell | gpl-3.0 | 1,615 |
#!/bin/sh
. ./include.sh
numberOfValues=`${examples_dir}print_data ../../data/constant_field.grib1 | grep values | awk '{print $1}'`
if [ $numberOfValues -ne 99200 ]
then
echo ERROR: wrong number of values
exit 1;
fi
| MengbinZhu/pfldp | ropp-7.0/grib_api-1.9.9/examples/C/print_data.sh | Shell | gpl-3.0 | 226 |
#!/bin/sh
case `uname` in
Darwin*)
CUDA_ROOT=/usr/local/cuda
CC=gcc
CXX=g++
;;
Linux*)
[ -n "$cudatoolkit" ] || exit 1
CUDA_ROOT=/usr/local/cuda-$cudatoolkit
;;
esac
[ -x "$CUDA_ROOT" ] || exit 1
cd $SRC_DIR/build/linux
$SRC_DIR/build/linux/autogen.sh
# Add C++11 to compiler flags i... | kohr-h/astra-toolbox | python/conda/libastra/build.sh | Shell | gpl-3.0 | 1,654 |
#!/bin/bash
cont_list=$(docker ps -a | grep $1 | awk '{ print $1" }')
if [ ! -z "$cont_list" ]; then
docker rm $cont_list
fi
image_list=$(docker images | grep $1 | awk '{ print $1":"$2 }')
if [ ! -z "$image_list" ]; then
docker rmi -f $image_list
fi
| thomashaw/SecGen | modules/utilities/unix/labtainers/files/Labtainers-master/distrib/remove-container.sh | Shell | gpl-3.0 | 259 |
# ruby_install_prepare installs ruby-install and chruby
ruby_install_prepare() {
rubyinstall_version="0.6.0"
chruby_version="0.3.9"
# If we don't have wget, install that
if ! hash wget 2>/dev/null; then
apt_update_once
oe sudo apt-get install -y wget
fi
# Download/Install ruby-... | jmetzmeier/otto | builtin/scriptpack/ruby/data/install.sh | Shell | mpl-2.0 | 1,824 |
export SND_PCM_DEVEL_LOAD=$PWD/libasound_module_pcm_dspd.so
export LD_LIBRARY_PATH=$PWD
| dspdaemon/dspd | alsa/devel.sh | Shell | lgpl-2.1 | 90 |
#!/usr/bin/env bash
set -e
mkdir -p /tmp/deps
cd /tmp/deps || exit 1
# ITSOL
wget http://www-users.cs.umn.edu/~saad/software/ITSOL/ITSOL_2.tar.gz
tar xzf ITSOL_2.tar.gz
cd ITSOL_2 || exit 1
make lib
cp INC/* /usr/local/include
cp LIB/* /usr/local/lib
cd -
rm ITSOL_2.tar.gz
rm -r ITSOL_2
# HYPRE
wget https://comput... | spacy-dev/Spacy | .devcontainer/library-scripts/install-kaskade-deps.sh | Shell | lgpl-3.0 | 600 |
java -jar ${SCAR_HOME}/scar.jar $*
| litesoft/ScarPlus | scar.sh | Shell | unlicense | 36 |
#!/bin/bash -ex
export SERVER=A1.Good.Server.domain.com
export CLIENT=127.0.0.1
keytool -storetype pkcs12 -keystore ca.pkcs12 -storepass ca-password -alias ca -keypass ca-password -genkey -dname "O=Trust Me Inc.,CN=Trusted.CA.com" -validity 99999
openssl pkcs12 -nokeys -passin pass:ca-password -in ca.pkcs12 -passout ... | dskarbek/qpid-dispatch | tests/config-2/gencerts.sh | Shell | apache-2.0 | 1,687 |
#!/bin/bash
/usr/bin/supervisord -c /etc/supervisor/supervisord-dns.conf
| vitobellini/bigdata-cluster | boot_dns.sh | Shell | apache-2.0 | 74 |
#!/bin/bash
set -ev
#############################################################
# This script updates travis CI with chromedriver and starts
# the selion chrome suite locally
#############################################################
if [ -n "${SAUCE_USERNAME}" ]; then
echo { \"sauceUserName\": \"${SAUCE_USERN... | paypal/SeLion | utilities/travis-run-chrome-tests.sh | Shell | apache-2.0 | 986 |
#!/bin/bash
OLDSTRING=$1
NEWSTRING=$2
if [ ! $1 ] ; then
echo "Usage: $0 oldstring newstring"
exit 1
fi
for file in $( grep -R "$OLDSTRING" . | grep -v ".git" | cut -d ":" -f 1 ) ; do
# Detect OS
if [ -f /System/Library/Accessibility/AccessibilityDefinitions.plist ] ; then
sed -i "" -e "s/$OLDSTR... | snesbittsea/psick | bin/massfindandreplace.sh | Shell | apache-2.0 | 460 |
#!/bin/bash
#
# Copyright 2010-2011 The Regents of the University of California
#
# 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 ... | parshimers/incubator-asterixdb | asterix-fuzzyjoin/src/test/scripts/inmemory.sh | Shell | apache-2.0 | 2,028 |
#!/bin/bash
#
docker build -t appcelerator/pinger . \
&& docker tag appcelerator/pinger appcelerator/pinger:$(cat VERSION | sed 's/[:space:]*$//')
| atomiqio/atomiq | images/pinger/build.sh | Shell | apache-2.0 | 148 |
#!/bin/bash
# Copyright 2017 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 to... | dazuma/ruby-docker | release-ruby-binary-images.sh | Shell | apache-2.0 | 3,121 |
#!/bin/bash
set -ue
# ceilometerclient
if [ -z "${CEILOMETERCLIENT_VENV_DIR:-}" ]; then
export CEILOMETERCLIENT_VENV_DIR=${OPENSTACK_VENV_DIR:-"/opt/stack/venvs/python-ceilometerclient"}
fi
if [ -z "${CEILOMETERCLIENT_EXTRA_INSTALL_OPTS:-}" ]; then
export CEILOMETERCLIENT_EXTRA_INSTALL_OPTS=${OPENSTACK_EXTRA_I... | radez/tripleo-image-elements | elements/openstack-clients/environment.d/10-openstack-clients-venv-dir.bash | Shell | apache-2.0 | 2,998 |
#!/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... | wheelcomplex/flatbuffers | samples/csharp_sample.sh | Shell | apache-2.0 | 1,652 |
#!/bin/sh
git pull
rm -rf target
rm -f devenv
if [ -z "$JAVA_HOME" ]; then
JAVA_HOME=/opt/taobao/java
fi
echo "JAVA_HOME=${JAVA_HOME}"
if [ -z "$M2_HOME" ]; then
M2_HOME=/opt/taobao/mvn
fi
echo "M2_HOME=${M2_HOME}"
export PATH=${M2_HOME}/bin:$JAVA_HOME/bin:$PATH
set MAVEN_OPTS=-Xms512M -Xmx512M -XX:MaxPerm... | gspandy/Alibaba_RocketMQ | install.sh | Shell | apache-2.0 | 551 |
#!/usr/bin/env bash
kripodb similarities merge similarities.*.h5 similarities.h5 && \
rm similarities.*.h5 | 3D-e-Chem/kripodb | update_scripts/baseline_merge_similarities.sh | Shell | apache-2.0 | 107 |
#!/bin/bash -xe
OUTPUT="${JOB_BASE_NAME}"-"${BUILD_NUMBER}".log
curl -u "${LOG_ANALYZER_USER}":"${LOG_ANALYZER_PASSWORD}" "${BUILD_URL}""consoleText" >> "${OUTPUT}"
echo "Started" >> "${OUTPUT}" #Line used to indicate that this is the end of the logfile (used by Logstash)
header="s3://"
aws s3 cp "${OUTPUT}" "${head... | joshix/tectonic-installer | tests/jenkins-jobs/scripts/log-analyzer-copy.sh | Shell | apache-2.0 | 360 |
#!/usr/bin/env bash
#===============================================================================
#
# AUTHOR: Alen Komljen <alen.komljen@live.com>
#
#===============================================================================
echo "Waiting for mysql:"
./tcp_wait.sh $MYSQL_PORT_3306_TCP_ADDR $MYSQL_PORT_3306_T... | fmoliveira/dockerfile-examples | wordpress/start.sh | Shell | apache-2.0 | 1,583 |
#!/bin/bash
set -eu
function usage {
echo "Usage: $0 [OPTION]..."
echo "Run Contrail's test suite(s)"
echo ""
echo " -b, --build-top Top of scons build variant dir. e.g. SB_TOP/build/debug"
echo " -V, --virtual-env Always use virtualenv. Install automatically if not present"
echo "... | srajag/contrail-controller | src/config/device-manager/run_tests.sh | Shell | apache-2.0 | 8,182 |
#!/bin/sh
SETTINGS='settings.py'
cat > $SETTINGS <<EOF
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3'
},
}
EOF
export DJANGO_SETTINGS_MODULE=settings
python -m unittest discover
rm -f $SETTINGS
| jbalogh/django-mobility | runtests.sh | Shell | bsd-3-clause | 238 |
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This should match the ci.bat file in this directory.
# This is called from .cirrus.yml and the LUCI recipes:
# https://flutter.googleso... | flutter/flutter | dev/customer_testing/ci.sh | Shell | bsd-3-clause | 1,762 |
#!/bin/sh
SCRIPT_PATH=$(realpath $0)
SCRIPT_PREFIX=$(dirname ${SCRIPT_PATH})
BEAD_CONF=${SCRIPT_PREFIX}/../../etc/bead.conf
PENDING=".pending"
LOCKED=".locked"
msg_n() {
local tz
tz="UTC"
date=$(env TZ=$tz date '+%Y.%m.%d. %H:%M:%S')
echo -n "[${date}] $1";
}
msg() {
msg_n "$1";
echo ""
}
... | pgj/bead | backend/scripts/modules/common.sh | Shell | bsd-3-clause | 848 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.