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 -e
# SuiteSparse deploy script
. /etc/profile.d/modules.sh
module add deploy
module add gcc/${GCC_VERSION}
module add cmake
module add openmpi/${OPENMPI_VERSION}-gcc-${GCC_VERSION}
module add lapack/3.6.0-gcc-${GCC_VERSION}
module add openblas/0.2.19-gcc-${GCC_VERSION}
echo "making the install and lib dir... | SouthAfricaDigitalScience/suitesparse-deploy | deploy-centos7.sh | Shell | apache-2.0 | 1,839 |
#!/bin/bash
set -e
# List of etcd servers (http://ip:port), comma separated
export ETCD_ENDPOINTS=
# Specify the version (vX.Y.Z) of Kubernetes assets to deploy
export K8S_VER=v1.5.2_coreos.0
# Hyperkube image repository to use.
export HYPERKUBE_IMAGE_REPO=quay.io/coreos/hyperkube
# The CIDR network to use for pod ... | joshix/coreos-kubernetes | multi-node/generic/controller-install.sh | Shell | apache-2.0 | 32,254 |
#!/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... | renesugar/arrow | ci/travis_install_minio.sh | Shell | apache-2.0 | 1,254 |
#!/bin/sh
"/Users/ewoutcallens/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.GA/iphone/builder.py" xcode
exit $?
| Veltar/TweedeZit | build/iphone/build/TweedeZit.build/Debug-iphonesimulator/TweedeZit.build/Script-241EAF36118E30260081A5BE.sh | Shell | apache-2.0 | 124 |
#!/usr/bin/env bash
set -Eeuo pipefail
find -not -name '*.tcz' \
| cpio --create --format newc --dot \
| xz -9 --format=lzma --verbose --verbose --threads=0 --extreme \
> /tmp/iso/boot/initrd.img
# volume label (https://github.com/boot2docker/boot2docker/issues/1347)
volumeLabel="b2d-v$DOCKER_VERSION"
xorriso \
... | boot2docker/boot2docker | files/make-b2d-iso.sh | Shell | apache-2.0 | 1,705 |
#!/bin/bash
# Copyright 2020 Istio Authors
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | smawson/istio | bin/update_no_modify.sh | Shell | apache-2.0 | 918 |
# 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 | symbolic_functionals/run.sh | Shell | apache-2.0 | 1,563 |
#!/bin/sh
# fancy pants colored bash outputs
RESTORE=$(echo -en '\033[0m')
RED=$(echo -en '\033[00;31m')
GREEN=$(echo -en '\033[00;32m')
YELLOW=$(echo -en '\033[00;33m')
BLUE=$(echo -en '\033[00;34m')
LRED=$(echo -en '\033[01;31m')
LGREEN=$(echo -en '\033[01;32m')
LYELLOW=$(echo -en '\033[01;33m')
LBLUE=$(echo -en '\0... | pushou/nfsen-dockerized-porttracker | start.sh | Shell | apache-2.0 | 1,758 |
sudo apt-get install -y php libapache2-mod-php php-cli php-curl php-intl php-mcrypt php-mysql php-mbstring php-xml
| loadsys/packer-builds | scripts/ubuntu/php7.sh | Shell | apache-2.0 | 115 |
#######################################################################
# This script is an additional user-data script for modules that require
# registry certificates
# NOTE: This is not a standalone script and is to be used with
# combination of the bootstrap-user-data script.
#################################... | stakater/infrastructure-reference | infrastructure-modules/global-admiral/instance-pool/scripts/download-registry-certificates.sh | Shell | apache-2.0 | 1,863 |
#!/bin/sh
# 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"); you ma... | dplatform/dupin | autogen.sh | Shell | apache-2.0 | 2,576 |
#!/bin/sh
echo "==================================== Build and Deploy ====================================================="
rm -rf $CATALINA_HOME/webapps/chat-smartgwt
cp target/chat-smartgwt-1.0.war $CATALINA_HOME/webapps/chat-smartgwt.war
$CATALINA_HOME/bin/catalina.sh jpda run
| izaynutdinov/java-examples | chat-smartgwt/deploy-and-run.sh | Shell | apache-2.0 | 285 |
#!/bin/bash
ps aux | grep gradle | grep $USER | grep Triathlon | awk '{print $2}' | xargs kill -9
| schibsted/triathlon | killGradle.sh | Shell | apache-2.0 | 98 |
#!/usr/bin/env bash
cluster_name="$1"
nameservice="$2"
somebody_active=0
shift
shift
for peer in "$@"
do
hdfs haadmin -ns $nameservice -getServiceState $peer | grep active
if [ $? == 0 ]
then
somebody_active=1
break
fi
done
if [ $somebody_active == 1 ]
then
hdfs namenode -bootstrapStandby
else
hdfs nam... | elyast/saltstack-formulas | hdfs/files/bootstrap_script.sh | Shell | apache-2.0 | 415 |
#!/bin/sh
enable_filetransfer() {
moni call -v .gorfx.SetupOfferType "\
offerType: 'http://gndms.zib.de/ORQTypes/FileTransfer'; \
orqType: '{http://gndms.zib.de/c3grid/types}FileTransferORQT'; \
resType: '{http://gndms.zib.de/c3grid/types}FileTransferResultT'; \
calcFactory: de.zib.gndms.logic.model.gorfx.FileTran... | zibhub/GNDMS | scripts/features/enable-filetransfer.sh | Shell | apache-2.0 | 435 |
#!/bin/bash
# Get the directory where this script is and set ROOT_DIR to that path. This
# allows script to be run from different directories but always act on the
# directory of the project (which is where this script is located).
ROOT_DIR="$(cd "$(dirname $0)"; pwd)";
NPM_BIN_DIR="$ROOT_DIR/node_modules/.bin"
# A s... | jpevarnek/uproxy | setup.sh | Shell | apache-2.0 | 2,278 |
#!/bin/bash
if [ $# -ne 8 ]
then
echo "Usage: $0 <portnum> <iface> <vlanNum> <ifaceIP> <ifaceMask> <ifaceRate> <ifaceDefaultMin> <iptMark>"
echo "Example: $0 1 data0 241 192.168.82.1 255.255.255.0 1000000 241"
exit 0
else
MAINDIR=/usr/local
portNum=$(($1+1))
iface=$2 # data0 or data1
vlanNum=$3 # 241 or... | WU-ARL/ONLdaemons | swrouter/scripts/swrd_configure_port.sh | Shell | apache-2.0 | 2,735 |
# configure the pi wifi access point
base=/home/boatdata/pi_config
sudo apt-get install dnsmasq hostapd
sudo systemctl stop dnsmasq
sudo systemctl stop hostapd
# configure the network IP
cat >${base}/config/wlan0.conf<<heredoc
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.1
netmask 255.255.2... | BoatData/pi_config | scripts/install_wifi_ap.sh | Shell | apache-2.0 | 1,032 |
#!/usr/bin/env bash
#
# Run headless
#
JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true"
#
# Append security overwrites
#
JAVA_OPTS="${JAVA_OPTS} -Djava.security.properties=/usr/local/tomcat/conf/java.security.overwrite"
#
# Setup Heapdump path
#
JAVA_OPTS="${JAVA_OPTS} -XX:HeapDumpPath=${HEAP_DUMP_PATH}"
# Pega log... | pegasystems/docker-pega7-tomcat-ready | tomcat-bin/setenv.sh | Shell | apache-2.0 | 1,829 |
#!/bin/bash
# Copyright 2017 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
. $(dirname $0)/../common.sh
build_lib() {
rm -rf BUILD
cp -rf SRC BUILD
(cd BUILD && autoreconf -fiv && ./configure && make -j $JOBS)
}
get_git_revision https://github.com/libjpeg-tur... | dnoursi/fuzzer-test-suite | libjpeg-turbo-07-2017/build.sh | Shell | apache-2.0 | 559 |
#!/usr/bin/env bash
set -e
BUILD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
source "$BUILD_DIR/ci/common/common.sh"
source "$BUILD_DIR/ci/common/deps-repo.sh"
source "$BUILD_DIR/ci/common/doc.sh"
source "$BUILD_DIR/ci/common/neovim.sh"
source "$BUILD_DIR/ci/common/html.sh"
DOC_SUBTREE="/reports/translatio... | ZyX-I/neovim-bot-ci | ci/translation-report.sh | Shell | apache-2.0 | 2,668 |
#!/bin/bash
#
# A simple helper script to create a kubeconfig context for a particular cluster.
#
# usage
# PROJECT=<PROJECT> REGION=<region> NAME=<NAME>
#
# TODO(jlewi): Support zonal clusters as well
# TODO(jlewi): How should we dedupe with kubeflow/hack?
# Should we make hack its own package and put it in upstream?
... | kubeflow/gcp-blueprints | management/hack/create_context.sh | Shell | apache-2.0 | 869 |
ssh admin@104.131.56.5 "
cd /opt/panel-beta
pm2 stop panel-beta
git pull
npm install
bower install
echo 'Current version is:'
git rev-parse --short HEAD
git rev-parse --short HEAD > public/version.txt
pm2 restart panel-beta
"
| cargografias/cargo-admin-panel | server-scripts/update-panel-beta.sh | Shell | apache-2.0 | 263 |
#!/bin/bash
definitely_me dotlink gitconfig ~/.gitconfig
dotlink gitignore ~/.gitignore
dotlink hooks ~/.githooks
| JohnStarich/dotfiles | git/install.sh | Shell | apache-2.0 | 115 |
#!/bin/bash
rm -rf command.txt
rm -rf hit_miss.out
#$1 : ip
#$2 : sleep time in monitor
##1 : check_timeout
#4: server port
rm -rf setController.time
sudo python server.py $4 &
sudo ./commander.sh &
sudo ./monitor.sh $1 $2 $3 $4 &
| YYMo/sdn_project | scripts/client.sh | Shell | apache-2.0 | 237 |
# ----------------------------------------------------------------------------
#
# Package : scalatest
# Version : 3.0.3
# Source repo : https://github.com/scalatest/scalatest
# Tested on : ubuntu_16.04
# Script License: Apache License, Version 2 or later
# Maintainer : Atul Sowani <sowania@us.ibm.com>
#
# Disclaimer: ... | ppc64le/build-scripts | s/scalatest/scalatest_ubuntu_16.04.sh | Shell | apache-2.0 | 1,662 |
#!/bin/bash
set -e
docker run \
--rm \
-v "$PWD":/usr/src/myapp \
-w /usr/src/myapp \
golang:1.8-alpine \
sh -c 'apk add --no-cache git gcc musl-dev && go get -u github.com/constabulary/gb/... && gb build -f github.com/matrix-org/go-neb'
docker build -t ${IMAGE_PREFIX}go-neb:latest .
| Kona-chan/go-neb | build-docker-image.sh | Shell | apache-2.0 | 308 |
#!/usr/bin/env bash
#
# Copyright 2012-2014, Continuuity, 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 applic... | awholegunch/loom | provisioner/worker/plugins/automators/shell_automator/lib/loomtest/duplicatekeys.sh | Shell | apache-2.0 | 1,013 |
#!/bin/bash
# Creates collage of public available images from rijksmuseum.nl
# API described on http://rijksmuseum.github.io/
# Terms & Conditions: https://www.rijksmuseum.nl/en/api/terms-and-conditions-of-use
# Single image: https://www.rijksmuseum.nl/api/en/collection/sk-c-5?key=fakekey&format=json
# Manual search:... | tokee/juxta | demo_rijksmuseum.sh | Shell | apache-2.0 | 4,649 |
#!/usr/bin/env bash
#
# Copyright (C) 2016 DANS - Data Archiving and Networked Services (info@dans.knaw.nl)
#
# 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/... | DANS-KNAW/easy-license-creator | .travis.sh | Shell | apache-2.0 | 1,457 |
#!/bin/bash
# Copyright 2019 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 ... | google/vulncode-db | manage.sh | Shell | apache-2.0 | 755 |
#!/bin/bash
set -e
if [ ! -z "$TRAVIS_BUILD_DIR" ]; then
export GITHUB_WORKSPACE="$TRAVIS_BUILD_DIR"
export GITHUB_REPOSITORY="$TRAVIS_REPO_SLUG"
elif [ -z "$GITHUB_WORKSPACE" ]; then
export GITHUB_WORKSPACE="$PWD"
export GITHUB_REPOSITORY="me-no-dev/ESPAsyncUDP"
fi
CHUNK_INDEX=$1
CHUNKS_CNT=$2
BUILD_PIO=0
if [ ... | xbed/Mixly_Arduino | mixly_arduino/arduino/portable/sketchbook/libraries/ESPAsyncUDP/.github/scripts/on-push.sh | Shell | apache-2.0 | 1,158 |
cat paper.txt | grep 'PH Level'| awk '{print $4}' > ph.txt
cat paper.txt | grep 'Tank 1'| awk '{print $6}' > tank_1.txt
cat paper.txt | grep 'Tank 2'| awk '{print $6}' > tank_2.txt
cat defense_ids.txt | grep 'PH Level'| awk '{print $4}' > defense_ph.txt
cat defense_ids.txt | grep 'Tank 1'| awk '{print $6}' > defense_t... | afmurillo/ICS-SDN | replay-topo/parse_measured_variables.sh | Shell | apache-2.0 | 19,203 |
#!/usr/bin/env bash
scp *.py root@ews03:/opt/PEBA/ews-webservice-put/
scp *.py root@ews02:/opt/PEBA/ews-webservice-put/
scp *.py root@ews01:/opt/PEBA/ews-webservice-put/ | schmalle/put-service | deploy.sh | Shell | apache-2.0 | 170 |
cd "$1/src"
rm "$1/neko/Main.n"
haxe -main Main -neko "$1/neko/Main.n"
neko "$1/neko/Main.n" | emlynoregan/sUTLHaxe | scripts/runlocal.sh | Shell | apache-2.0 | 92 |
#!/bin/bash -eux
cat > /home/vagrant/iptables.sh << OHANA_MEANS_FAMILY
jenkins=\$(dig +short jenkins.sfolab.ibm.com)
service iptables stop
iptables -F
iptables -A INPUT -p tcp -s \$jenkins --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j DROP
service iptables save
chkconfig iptables on
service iptables st... | bigfix/boxes | bigfix/redhat/6/iptables.sh | Shell | apache-2.0 | 378 |
osascript <<EOD
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.battery"
end tell
tell application "System Events"
tell process "System Preferences"
repeat until exists window "Battery"
end repeat
tell window "Battery"
select row 2 of table 1 of s... | rjernst/dotfiles | macos/prefs/battery.sh | Shell | apache-2.0 | 536 |
#!/bin/sh
for file in $1/*
do
filetime=`ls -lrt "$file" | awk '{printf $8}'`
hour=${filetime:0:2}
if [ $hour -ge 17 -a $hour -le 19 ]
then
cp "$file" $2
fi
done
| debmalya/RunErrands | Task2.sh | Shell | apache-2.0 | 182 |
#!/bin/bash
#
# 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 by... | juhalindfors/bazel-patches | src/test/shell/bazel/bazel_sandboxing_test.sh | Shell | apache-2.0 | 22,234 |
#!/bin/bash -e
if [ "$UID" -ne 0 ]; then
echo "Please run as root"
exit 1
fi
# Only run it if we can (ie. on Ubuntu/Debian)
if [ -x /usr/bin/apt-get ]; then
apt-get update
apt-get -y upgrade
apt-get -y install mc curl git
fi
# Only run it if we can (ie. on RHEL/CentOS)
if [ -x /usr/bin/yum ]; then
rpm -Uvh htt... | freeminder/chef_cookbooks | install.sh | Shell | apache-2.0 | 3,066 |
#!/usr/bin/env sh
set -ex
compiler_root=plugin/compiler
PATH=$PATH:$compiler_root
# we need this for bootstrapping
protoc -I$compiler_root $compiler_root/google/protobuf/{,swift-}descriptor.proto --cpp_out=$compiler_root
# build the swift generator
scripts/build.sh
# compile the swift descriptors and utils into t... | Navdy/protobuf-swift | scripts/makeDescriptor.sh | Shell | apache-2.0 | 1,425 |
#!/usr/bin/env bash
# Download and prepare online decoding
# Yiping Kang
# ypkang@umich.edu 2014
# Download model and other related files from kaldi-asr.org
echo "Dowload model and other related files"
echo "It could take a while for the server to respond..."
wget http://kaldi-asr.org/downloads/build/5/trunk/egs/fish... | tsengstan/Sirius | sirius-application/speech-recognition/kaldi/scripts/prepare.sh | Shell | bsd-3-clause | 1,130 |
erl -pa ../../_build/default/lib/teacup/ebin | yuce/teacup | examples/simple_client/shell.sh | Shell | bsd-3-clause | 44 |
#!/bin/sh
#
# Add extra JVM options here
#
OPTS="-Xms64m -Xmx256m"
java $OPTS -Djava.ext.dirs=lib -Ddcs.war=war/carrot2-dcs.war org.carrot2.dcs.DcsApp $@
| arnaudsj/carrot2 | applications/carrot2-dcs/etc/dcs.sh | Shell | bsd-3-clause | 156 |
docker run -v "${PWD}/pypirc":/root/.pypirc -v "${PWD}":/repo -w /repo python bash -c "python3 setup.py bdist_wheel upload -r pypi"
| graphistry/pygraphistry | pipupload.sh | Shell | bsd-3-clause | 132 |
#!/bin/bash
SITE=$1
IMAGE=$2
GALLERY=$3
COMMENTAIRE=$4
echo "<a href=\"http://$1/wp-content/uploads/$IMAGE\" rel=\"lightbox[$GALLERY]\" title=\"$COMMENTAIRE\"><img src=\"http://$1/wp-content/uploads/${IMAGE%.jpg}.thumbnail.jpg\" alt=\"$COMMENTAIRE\" /></a>"
| dsacchet/scripting | generate_link.sh | Shell | bsd-3-clause | 262 |
#!/bin/bash
# translate
pylupdate4 -verbose kimchi.pro
lrelease -verbose kimchi.pro
# update resource
pyrcc4 -verbose -o ../src/ui/resources.py resources.qrc
| BackupTheBerlios/kimchi | res/update.sh | Shell | bsd-3-clause | 162 |
#!/bin/sh
rm -f release.xpi
zip -r release.xpi chrome.manifest install.rdf license.txt chrome | thedarkone/firepicker | makexpi.sh | Shell | bsd-3-clause | 94 |
#! /bin/sh
#
# Copyright (c) 2016 The DragonFly Project. All rights reserved.
#
# This code is derived from software contributed to The DragonFly Project
# by Antonio Huete <tuxillo@quantumachine.net>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the... | tuxillo/tools | unix/dragonfly/extract_dports.sh | Shell | bsd-3-clause | 9,367 |
#!/bin/bash -x
myname=$0
cd ${myname%/*}
. ./path.sh
. ./getKernelSourcePath.sh
. ./getKernelPackage.sh
. ./createBranch.sh
# カーネルソースディレクトリの取得
kernel_path=`getKernelSourcePath`
if [ 0 -ne $? ]; then
exit 1
fi
# cros_workon startが実行されているか調べる
kernel_package=`getKernelPackageName`
if [ 0 -ne $? ]; then
exit 1
fi
push... | crosbuilder/CustomBuilds | script/execKernelReconst.sh | Shell | bsd-3-clause | 1,398 |
#!/bin/sh
echo "Configuring mongoDB..."
phpenv config-add `pwd`/test/ci/mongo.ini
wait | scento/phalcon-php | test/ci/setup_mongo.sh | Shell | bsd-3-clause | 86 |
#!/usr/bin/env bash
echo "--- Installing Coffee Script and Coffee Script Grunt plugin ---"
sudo npm install -g coffee-script
sudo npm install -g grunt-contrib-coffee | mandado/Lagrant | vagrant/scripts/coffeescript.sh | Shell | mit | 167 |
#!/bin/sh
set -e
THISDIR=`pwd`
APPLESEED_DEPENDENCIES=$THISDIR/prebuilt-linux-deps
export CMAKE_INCLUDE_PATH=$APPLESEED_DEPENDENCIES/include
export CMAKE_LIBRARY_PATH=$APPLESEED_DEPENDENCIES/lib
export LD_LIBRARY_PATH=$APPLESEED_DEPENDENCIES/lib:../sandbox/lib/Debug:$LD_LIBRARY_PATH
mkdir build
cd build
cmake --v... | Aakash1312/appleseed | travis/build.sh | Shell | mit | 2,584 |
#!/bin/sh
set -eu
# Required args:
# $1: Site name.
#
# Example usage: sh clear-caches.sh SiteName
# Check if at least 1 arg was passed.
if [ $# -lt 1 ]
then
echo 'Missing arg: site-name'
exit 1
fi
# Clear caches for dev, test, and live environments.
terminus site clear-caches --env=dev --site=$1
terminus ... | iterami/Scripts | terminus/clear-caches.sh | Shell | cc0-1.0 | 407 |
#!/bin/bash
# intended to test the behavior of 'dot -Tx11' to a succession of graphs on stdin
# with an interval in between, which should be enough to allow each graph to be seen
# usage: ./slow_graph_stream_test.sh | dot -Tx11
while true; do
echo "digraph {rankdir=RL; 0->{1 2}}"
sleep 2
echo "digraph ... | ellson/graphviz | plugin/xlib/slow_graph_stream_test.sh | Shell | epl-1.0 | 361 |
#!/bin/sh
lein ring server-headless
| tisnik/branch-handler | devel-start-headless.sh | Shell | epl-1.0 | 38 |
#!/bin/sh
test_description='git log'
. ./test-lib.sh
. "$TEST_DIRECTORY/lib-gpg.sh"
test_expect_success setup '
echo one >one &&
git add one &&
test_tick &&
git commit -m initial &&
echo ichi >one &&
git add one &&
test_tick &&
git commit -m second &&
git mv one ichi &&
test_tick &&
git commit -m third... | cpackham/git | t/t4202-log.sh | Shell | gpl-2.0 | 31,198 |
#!/bin/sh
cd ..
find ./src -type f -name "*.cpp" -o -name "*.h" -o -name "*.c" | sort > po/POTFILES.in
./autogen.sh
cd po
make update-po
| FragJage/calaos_base | po/update_translation.sh | Shell | gpl-3.0 | 138 |
#! /bin/bash
HERE="$(cd "$(dirname "$0")" && pwd)"
source "$HERE/../../testlib.sh"
usage_exit() { {
echo "Usage: $(basename "$0") [-h] [-s]"
echo "Test Genia."
exit 1
} 1>&2;
}
while test $# -gt 0; do
case "$1" in
-s) t_N_TESTS_LIMIT="$(($2-1))"; shift ;;
*) echo "Unknown option \"$1... | KWARC/mwetoolkit | test/lang/spanish/testAll.sh | Shell | gpl-3.0 | 4,058 |
#!/bin/sh
unzip -o pts-portal-1.zip
mv pts-portal-1.dem $DEBUG_REAL_HOME/Library/Application\ Support/Steam/steamapps/common/Portal/portal/
echo "#!/bin/sh
cd \$DEBUG_REAL_HOME/Library/Application\ Support/Steam/steamapps/common/Portal/
./hl2.sh -game portal +con_logfile \$LOG_FILE +cl_showfps 1 +timedemoquit pts-po... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/portal-1.1.2/install_macosx.sh | Shell | gpl-3.0 | 376 |
#!/bin/sh
unzip -o bullet-2.81-rev2613.zip
cd bullet-2.81-rev2613
cmake -DUSE_GRAPHICAL_BENCHMARK=OFF .
make -j $NUM_CPU_JOBS
# For now we need to force it since there's an OpenGL build error sometimes but its for part of Bullet not actually used by this benchmark, so ignore it for now as the build exits non 0
echo 0 ... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/bullet-1.2.2/install.sh | Shell | gpl-3.0 | 520 |
#!/bin/bash
#
# Copyright 2021 Firewalla Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License, version 3,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be us... | MelvinTo/firewalla | scripts/event_collectors/system_load.sh | Shell | agpl-3.0 | 1,491 |
#!/usr/bin
machine_list=(
'172.31.238.127'
'172.31.238.128'
'172.31.238.130'
'172.31.238.131'
'172.31.238.133'
'172.31.238.134'
'172.31.238.135'
'172.31.238.136'
)
read cmd
cmd='"'$cmd'\r''"'
echo $cmd
for((i=0;i<8;i++))
do
/usr/bin/expect << EOF
spawn ssh lijunjie@${machine_list[i]}
expect "password:... | FinancialSentimentAnalysis-team/Finanical-annual-reports-analysis-code | lianwenbiao/server_dipose/cmd.sh | Shell | apache-2.0 | 416 |
DEBIAN_FRONTEND=noninteractive
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
echo "cleaning up udev rules"
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
rm -rf /dev/.udev/
rm /lib/udev/rules.d/75-persistent-net-generator.rules
find /var/cache/apt/ -type f -exec rm -... | StackStorm/st2workroom | packer/script/ubuntu/cleanup.sh | Shell | apache-2.0 | 448 |
#!/bin/bash
PUBLISH_DIR="publish"
. scripts/version.sh
echo $1
git status -s | grep "^[MADRCU\? ][ MDMAU\?]"
if [[ $? -eq 0 && "$1" != "-f" ]]; then
echo "You have changes in your working directory. Take care of that first, 'k?"
echo "Override this, with the '-f' flag."
exit 1;
fi
while true; do
read -p "Th... | keycloak/keycloak-admin-client | scripts/publish-docs.sh | Shell | apache-2.0 | 910 |
#!/bin/bash
#
# Copyright 2016 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 ... | hashashin/src | pagespeed/apache/system_tests/max_html_parse_bytes.sh | Shell | apache-2.0 | 904 |
#!/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 o... | danmcp/origin | cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/contrib/hack/start-server.sh | Shell | apache-2.0 | 2,467 |
#!/bin/bash
# Copyright 2016 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... | kevin-coder/tensorflow-fork | tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh | Shell | apache-2.0 | 6,148 |
#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
source ./benchmarks.sh
########################################################################################################
# This shell script contains a series of benchmark tests
##################################... | lukehuangch/fabric | test/tools/LTE/scripts/runbenchmarks.sh | Shell | apache-2.0 | 4,146 |
#! /bin/bash
sed -i "s/^public //" $1
sed -i "s/^<MAIN>/public <MAIN>/" $1
| chinshr/ruby-pocketsphinx-server | scripts/convert-gf-jsgf.sh | Shell | bsd-3-clause | 76 |
#!/bin/bash
date > /tmp/issue-MB-2811.log
echo starting moxi
# Start moxi with high timeouts, especially SASL auth_timeout, so that
# a worker thread hangs during synchronous SASL auth. With this
# configuration, we want to cause the main thread to (incorrectly)
# hang for 30 seconds (before the fix).
./moxi -d -P... | membase/moxi | t/issue-MB-2811.sh | Shell | bsd-3-clause | 2,412 |
#!/usr/bin/env bash
# Define varibles
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
TOOLS_DIR=$SCRIPT_DIR/tools
# Make sure the tools folder exist.
if [ ! -d "$TOOLS_DIR" ]; then
mkdir "$TOOLS_DIR"
fi
###########################################################################
# INSTALL .NET CORE CLI... | devlead/cake | build.sh | Shell | mit | 1,305 |
#!/bin/bash
set -e
if [ "$1" = 'fabric-bolt' ]; then
test -f "$FB_CONF" || fabric-bolt init
for f in /docker-entrypoint-init.d/*; do
case "$f" in
*.sh) echo "$0: running $f"; . "$f" ;;
*) echo "$0: ignoring $f" ;;
esac
echo
done
fabric-bolt migrate... | leominov/docker-fabric-bolt | master/docker-entrypoint.sh | Shell | mit | 744 |
#!/usr/bin/env bash
url="http://poj.org/problem?id="
i=1000
while [ $i -ne 1020 ]
do
download=$url$i
wget $download -O $i".htm"
i=$(($i+1))
done
| DeercoderPractice/shell | recap/fetch_poj.sh | Shell | mit | 148 |
#!/bin/sh
BUILDPATH="build/remote_syslog2"
set -e
mkdir -p $BUILDPATH
godep go build -o $BUILDPATH/remote_syslog2 .
cp README.md LICENSE example_config.yml $BUILDPATH
cd $BUILDPATH/..
rm -f remote_syslog2.tar.gz
tar -czf remote_syslog2.tar.gz `basename $BUILDPATH`
rm -r remote_syslog2
| SupportBee/remote_syslog2 | build.sh | Shell | mit | 291 |
#!/bin/bash
if ! grep -q "^$CUPS_ADMIN_USER:" /etc/shadow; then
echo Adding "$CUPS_ADMIN_USER" user
useradd "$CUPS_ADMIN_USER" --system -G root,sys -M
printf "%s\n%s\n" "$CUPS_ADMIN_PASSWORD" "$CUPS_ADMIN_PASSWORD" | \
(passwd --stdin "$CUPS_ADMIN_USER")
fi
if [ -n "$CUPS_PRINTER_NAME" ]; then
/usr/sbin/cupsd
... | thomasleyer/Fedora-Dockerfiles | cups/start-cups.sh | Shell | gpl-2.0 | 620 |
#!/bin/bash
if [ "$SKIP_PROPERTIES_BUILDER" = true ]; then
echo "Skipping properties builder"
exit 0
fi
# mongo container provides the HOST/PORT
# api container provided DB Name, ID & PWD
if [ "$TEST_SCRIPT" != "" ]
then
#for testing locally
PROP_FILE=application.properties
else
PROP_FILE=confi... | wolfspyre/Hygieia | collectors/deploy/xldeploy/docker/xldeploy-properties-builder.sh | Shell | apache-2.0 | 2,295 |
#!/bin/bash
# Copyright 2013 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.
EXTRA_CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_OPENEXR=OFF \
-DWITH_CUDA=OFF \
... | kosyak/naclports_samsung-smart-tv | ports/opencv/build.sh | Shell | bsd-3-clause | 735 |
#!/bin/sh -e
# Legacy environment variables support.
if [ -n "$PLEX_USERNAME" ]; then
echo "WARNING: 'PLEX_USERNAME' has been deprecated and is now called 'PLEX_LOGIN'."
PLEX_LOGIN="$PLEX_USERNAME"
unset PLEX_USERNAME
fi
if [ -n "$PLEXPASS_LOGIN" ]; then
echo "WARNING: 'PLEXPASS_LOGIN' has been deprec... | ikiPZdU6UP3Gra/qnap-intel-docker-plex | root/plex-entrypoint.sh | Shell | mit | 2,737 |
#!/bin/bash
packname="0-init-multi-pack"
deps="openssl logger"
type="vibe.d"
$DUB init $packname $deps --type=$type
function cleanup {
rm -rf $packname
}
if [ ! -e $packname/dub.json ]; then # it failed, exit 1
exit 1
else # check if resulting dub.json has all dependancies in tow
deps="$deps vibe-d";
... | y12uc231/dub | test/0-init-multi/0-init-multi.sh | Shell | mit | 609 |
#!/bin/bash
FN="hugene10stv1probe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/hugene10stv1probe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/hugene10stv1probe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hugene10stv1probe/bioconductor-... | bebatut/bioconda-recipes | recipes/bioconductor-hugene10stv1probe/post-link.sh | Shell | mit | 1,466 |
#!/bin/sh
# Copyright (C) 2007-2013 OpenWrt.org
. /lib/functions/leds.sh
. /lib/brcm63xx.sh
set_state() {
case "$(brcm63xx_board_name)" in
a4001n1)
status_led="A4001N1:green:power"
;;
a4001n)
status_led="A4001N:green:power"
;;
ar-5381u)
status_led="AR-5381u:green:power"
;;
ar-5387un)
status_led="AR... | obsy/lede-project | target/linux/brcm63xx/base-files/etc/diag.sh | Shell | gpl-2.0 | 2,668 |
#!/bin/bash
# NB: désolé pour le bourrinage (PM)
# 2553/2778
export correction=0.9190064794816415
#
export attach=0
export relation=2
# duplicate:
export dupl="_dupl"
#export dupl=""
export DATA_attach_w5=../../../data/expes_decoding/attachment_window_5_train_test${dupl}.csv
export DATA_attach_full=../../../data/ex... | kowey/attelo | experiments/annodis/coling_exps.sh | Shell | gpl-3.0 | 11,467 |
#!/bin/bash
#
# Copyright 2016 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 by... | spxtr/bazel | src/test/shell/integration/progress_reporting_test.sh | Shell | apache-2.0 | 11,747 |
#####################################################################################
#####
##### Shared set of functions for setting up dojo
#####
#####################################################################################
createadmin() {
echo "=============================================================... | yan99uic/django-DefectDojo | scripts/dojo-shared-functions.bash | Shell | bsd-3-clause | 5,296 |
#!/bin/bash
FN="JASPAR2016_1.10.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/experiment/src/contrib/JASPAR2016_1.10.0.tar.gz"
"https://bioarchive.galaxyproject.org/JASPAR2016_1.10.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-jaspar2016/bioconductor-jaspar2016_1.10.0_src_all.tar... | joachimwolff/bioconda-recipes | recipes/bioconductor-jaspar2016/post-link.sh | Shell | mit | 1,308 |
#!/bin/sh
test_description='Merge-recursive merging renames'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
modify () {
sed -e "$1" <"$2" >"$2.x" &&
mv "$2.x" "$2"
}
test_expect_success 'setup' '
cat >A <<-\EOF &&
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... | felipec/git | t/t6402-merge-rename.sh | Shell | gpl-2.0 | 25,134 |
test_resources() {
RES=$(lxc storage show --resources "lxdtest-$(basename "${LXD_DIR}")")
echo "${RES}" | grep -q "^space:"
RES=$(lxc info --resources)
echo "${RES}" | grep -q "^CPU"
echo "${RES}" | grep -q "Cores:"
echo "${RES}" | grep -q "Threads:"
echo "${RES}" | grep -q "Free:"
echo "${RES}" | grep... | Skarlso/lxd | test/suites/resources.sh | Shell | apache-2.0 | 369 |
#!/bin/sh
DIR=$(cd $(dirname "$0") && pwd)
SRC_DIR=${DIR}/..
dir_list() {
echo $1/opt/lumify/config \
$1/opt/lumify/lib \
$1/opt/lumify/logs \
$1/var/log/hadoop \
$1/var/log/accumulo \
$1/var/log/elasticsearch \
$1/tmp/zookeeper \
$1/var/lib/hadoop-hdfs \
$1/... | bings/lumify | docker/run-dev.sh | Shell | apache-2.0 | 3,440 |
#!/bin/bash
. ../config.sh
SOURCEFILES=../*.kvs
POTFILE=$SCRIPT.pot
xgettext -o $POTFILE -ktr $SOURCEFILES
old=_old
for lang in *.po; do
echo "Updating file $lang";
mv -f $lang $lang$old
msgmerge -o $lang $lang$old $POTFILE
if test -f $lang; then
rm -f $lang$old
fi
done
| kvirc/kvirc-scripts | nowplaying/locale/update.sh | Shell | gpl-2.0 | 285 |
#!/usr/bin/env bash
# Cloud Foundry Java Buildpack
# Copyright 2013-2017 the original author or 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/license... | demo-app/java-buildpack | ci/versions.sh | Shell | apache-2.0 | 872 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
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}/libnative-pr... | teamfx/openjfx-9-dev-rt | netbeans/native-prism-es2/nbproject/Package-Debug.bash | Shell | gpl-2.0 | 1,559 |
#!/usr/bin/env bash
# Copyright 2021 gRPC 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 ... | jtattermusch/grpc | tools/run_tests/xds_k8s_test_driver/bin/cleanup.sh | Shell | apache-2.0 | 2,081 |
#!/usr/bin/env sh
/usr/bin/env phpcs --standard=PSR2 --encoding=utf-8 --ignore=vendor .
| axypro/callbacks | cs.sh | Shell | mit | 90 |
#!/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... | airbnb/airflow | scripts/ci/dockerfiles/krb5-kdc-server/utils/create_client.sh | Shell | apache-2.0 | 1,479 |
#!/usr/bin/env bash
# Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under both the Apache 2.0 license (found in the
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
# in the COPYING file in the root directory of this source tree).
... | jedi22/osquery | tools/provision/manjaro.sh | Shell | bsd-3-clause | 477 |
#!/bin/bash
echo ----------------------
echo telnet localhost 4444
echo ----------------------
echo ... dump_image filename.bin 0x08000000 0x2ffff
echo exit
OPENOCD=`dirname $0`/../openocd-0.9.0
# OpenOCD from https://github.com/adafruit/Adafruit_nRF51822_Flasher
$OPENOCD/ubuntu/openocd -s $OPENOCD/scripts -f... | muet/Espruino | scripts/nrf51_openocd.sh | Shell | mpl-2.0 | 365 |
#!/bin/sh
. $srcdir/check_common.sh
test_clamd2 3
| vrtadmin/clamav-devel | unit_tests/check3_clamd.sh | Shell | gpl-2.0 | 50 |
#!/usr/bin/env bash
# Copyright 2019 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... | johscheuer/kubernetes | hack/update-vendor.sh | Shell | apache-2.0 | 15,802 |
./node_modules/.bin/jshint js/*.js test/unit/*.js
npm test
| mcnesium/glowing-bear | run_tests.sh | Shell | gpl-3.0 | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.