code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env sh
# generated from catkin/cmake/templates/env.sh.in
if [ $# -eq 0 ] ; then
/bin/echo "Usage: env.sh COMMANDS"
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
exit 1
else
. "/home/vsunder/ButlerBot/rosbuild_ws/src/... | Boberito25/ButlerBot | rosbuild_ws/src/controller_manager/build/catkin_generated/env_cached.sh | Shell | bsd-3-clause | 394 |
#!/bin/bash
#;**********************************************************************;
#
# Copyright (c) 2019, Sebastien LE STUM
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributio... | martinezjavier/tpm2-tools | test/integration/tests/selftest.sh | Shell | bsd-3-clause | 1,950 |
#!/bin/bash
set -ex
DBNAME='tpch'
USER='pguser'
PASSWORD='test'
# Insert data into database
echo " loading data"
psql -h localhost -U $USER $DBNAME < dss/tpch-load.sql
echo " creating primary keys"
psql -h localhost -U $USER $DBNAME < dss/tpch-pkeys.sql
echo " creating foreign keys"
psql -h localhost -U $USER... | bigdawg-istc/bigdawg | provisions/pg_tpch/setup.sh | Shell | bsd-3-clause | 435 |
#!/bin/sh
#
# BuildBot (etc.) harvesting for DIALS binary installer. This assumes that the
# nightly build is complete and ready for packaging. The first argument,
# BUILD_DIR, should be a directory with the following contents:
# base/ : Python and friends
# build/ : compiled libraries and executables
# modules... | dials/dials | util/create_dials_binary_installers.sh | Shell | bsd-3-clause | 1,372 |
#!/bin/bash -e
CABALINSTALL=~/.cabal/bin/cabal
echo "approx. cabal >= 1.20 needed"
$CABALINSTALL --version
$CABALINSTALL sandbox init
$CABALINSTALL install Cabal
$CABALINSTALL test
| michaxm/test-detailed-example | cabal-install-test-demo.bash | Shell | bsd-3-clause | 183 |
#!/bin/sh
# genscripts.sh - generate the ld-emulation-target specific files
# Copyright 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
#
# This file is part of the Gnu Linker.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as ... | radix-platform/toolchains | sources/GNU/binutils/create-2.24-x86_64-multilib-patch/binutils-2.24-new/ld/genscripts.sh | Shell | mit | 16,324 |
#! /bin/bash
PROGRAM="lu"
echo "Polybench LU. Sequential x OpenMP parallel x Pthread parallel"
# SEQUENTIAL LU
# echo "SEQUENTIAL"
file="./data/${PROGRAM}_sequential.data"
if [ -f "$file" ]
then
rm $file
fi
for i in {1..11}
do
echo "SEQUENTIAL POLYBENCH - EXECUTION $i"
if [[ $i == 1 ]]; then
./${PROGRAM}.o... | pauloapanucci/pc-ludec | pthread.sh | Shell | mit | 1,704 |
sudo mkdir -p /app/hadoop/tmp
sudo chown hadooper:hadoop /app/hadoop/tmp
export JAVA_HOME=/usr/lib/jvm/java-6-sun
python CreateScripts.py
/usr/local/hadoop/bin/hadoop namenode -format
| donlee888/JsObjects | Python/CreateHadoopFiles/src/addTempDir.sh | Shell | mit | 185 |
#!/bin/bash
# Original i3 thread: https://faq.i3wm.org/question/150/how-to-launch-a-terminal-from-here/?answer=152#post-id-152
CMD='gnome-terminal --zoom=2.0'
CWD=''
# Short way of getting the PID
PID=$(xdotool getactivewindow getwindowpid)
WID=$(xdotool getactivewindow)
# Get the REAL id of the window
REAL_PID=$... | noijd/.dot | i3/shell.sh | Shell | mit | 823 |
# Python
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# Pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PATH:$PYENV_ROOT/bin"
# Node
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_comp... | MrSaints/Sublime-Snippets | zsh/005_dev.zsh | Shell | mit | 737 |
#!/bin/bash
ARCHIVO=ppal
FLAGS="-shell-escape"
./clean.sh
pdflatex $FLAGS $ARCHIVO
bibtex $ARCHIVO
pdflatex $FLAGS $ARCHIVO
pdflatex $FLAGS $ARCHIVO
| NeilBryant/pfc | adm/memoria/build-report.sh | Shell | mit | 168 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
COCOS2DX_ROOT="$DIR"/../..
COCOSFILES_CREATOR_ROOT=$COCOS2DX_ROOT/tools/project-creator/config-create
COMMITTAG="[AUTO][ci skip]"
# Exit on error
set -e
generate_cocosfiles_json()
{
echo "Updates cocos_files.json"
pushd "$COCOSFILES_CREATOR_... | meiry/Cocos2d-x-EarthWarrior3D-win-desktop-version | cocos2d/tools/travis-scripts/generate-cocosfiles.sh | Shell | mit | 2,528 |
#!/usr/bin/env bash
##############################
# Rare CNV Map Project #
##############################
# Copyright (c) 2017 Ryan L. Collins
# Distributed under terms of the MIT License (see LICENSE)
# Contact: Ryan L. Collins <rlcollins@g.harvard.edu>
# Code development credits availble on GitHub
# Simulat... | RCollins13/rCNVmap | analysis_scripts/simulate_segment_overlap_wKnownSites.sh | Shell | mit | 1,012 |
java -jar psn-api-restful-shell-0.2.0-SNAPSHOT.jar | elminsterjimmy/PSN-API | RESTfulShell/shell/start.sh | Shell | mit | 50 |
#!/bin/bash
set -e
source "${EJABBERD_HOME}/scripts/lib/base_config.sh"
source "${EJABBERD_HOME}/scripts/lib/config.sh"
source "${EJABBERD_HOME}/scripts/lib/base_functions.sh"
source "${EJABBERD_HOME}/scripts/lib/functions.sh"
make_dhparam() {
local dhfile=$1
local bits=$2
echo "Writing dh file to '${dhfile}'...... | sulphur/docker-ejabberd | scripts/pre/03_make_dhparam.sh | Shell | mit | 573 |
#!/usr/bin/env bash
git add -A
git commit -m "Automatic update of modified files" && git push
chmod u+x /pavan/xyzcoder.github.io/entrypoint.sh
chmod u+x /pavan/xyzcoder.github.io/gitpush.sh | xyzcoder/xyzcoder.github.io | gitpush.sh | Shell | mit | 191 |
#!/bin/bash
set -eu -o pipefail
# --------------------------------------------------------------------
if [ ! -f ~/bin/phpbrew ]; then
cd /tmp
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
mv phpbrew ~/bin
fi
| pine613/dotfiles | resources/script/phpbrew.sh | Shell | mit | 257 |
#!/bin/sh
# Copyright (C) 2008 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Licens... | shehbazj/DyRe | test/shell/lvcreate-operation.sh | Shell | gpl-2.0 | 1,421 |
#!/bin/sh
#
## Copyright (C) 1996-2022 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##
# test all header files (.h) for dep... | squidadm/squid | test-suite/testheaders.sh | Shell | gpl-2.0 | 1,415 |
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2012 David Leverton
#
# Based in part upon ebuild.sh from Portage, which is Copyright 1995-2005
# Gentoo Foundation and distributed under the terms of the GNU General
# Public License v2.
#
# This file is part of the Paludis package manager. Paludis is fre... | chutzimir/paludis | paludis/repositories/e/ebuild/5/usex.bash | Shell | gpl-2.0 | 1,042 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N WAF_4_1_1_500_5_0_0_69_82
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/WAF_4_1_1_500_5_0_0_69_82.json
| OR-Bologna/maritime-vrp | opt/launchers/WAF_4_1_1_500_5_0_0_69_82.sh | Shell | gpl-3.0 | 298 |
#!/bin/bash
install_openresty_proxy() {
#定义默认安装的php版本号
defaultVersion=${defaultOpenrestyVersion}
#输出提示
echo -e "\033[41;37m Please enter the nginx version, the default is: ${defaultVersion} < \033[0m"
echo -e "\033[41;37m Example: ${defaultVersion} \033[0m"
#读取用户输入的openrestyVersion,如果openre... | kideny/webshell | apps/openresty/install/proxy.sh | Shell | gpl-3.0 | 2,553 |
java -Xms1G -Xmx4G -jar SONDY.jar | AdrienGuille/SONDY | autostart.sh | Shell | gpl-3.0 | 33 |
#!/bin/bash
# eLyXer -- convert LyX source files to HTML output.
#
# Copyright (C) 2009 Alex Fernández
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the Licens... | hainm/elyxer | po/createlocale.sh | Shell | gpl-3.0 | 972 |
#!/bin/bash
dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
PACKAGE="cpp"
CACHEDIR="/var/cache/fedy/eclipse-$PACKAGE"
INSTALLDIR="/opt/eclipse-$PACKAGE"
mkdir -p "$CACHEDIR"
cd "$CACHEDIR"
BASEURL="http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release"
PRESENTRELEASE=$(wget $BASEURL/relea... | folkswithhats/fedy | plugins/eclipsecpp.plugin/install.sh | Shell | gpl-3.0 | 1,377 |
#!/bin/sh
FILE=$1
COUNT=0
while [ 1 ] ; do
echo $COUNT >> $FILE
date >> $FILE
COUNT=`expr $COUNT + 1`
sleep .001
done
| escapewindow/scriptworker | tests/data/write_file.sh | Shell | mpl-2.0 | 135 |
#!/bin/bash
# get directory of script
DIR="$( cd "$( dirname "$0" )" && pwd )"
# assuming a local guacmole version is located properly
LOCAL_GUACAMOLE="$DIR/../../../guacamole"
LOCAL_AVANGO="$DIR/../../../avango"
# if not, this path will be used
GUACAMOLE=/opt/guacamole/master
AVANGO=/opt/avango/master
# third part... | vrsys/avango | examples/zmq_line_strip_distribution/start-server.sh | Shell | lgpl-3.0 | 932 |
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Usage: ./bq_export.sh bucket-name"
exit
fi
BUCKET=$1
PROJECT=$(gcloud config get-value project)
bq --project=$PROJECT extract --destination_format=NEWLINE_DELIMITED_JSON \
bigquery-public-data:ncaa_basketball.mbb_historical_tournament_games \
gs://$BUCKET/nca... | GoogleCloudPlatform/training-data-analyst | blogs/dataflowsql/bq_extract.sh | Shell | apache-2.0 | 550 |
#!/bin/sh
readonly MODULES="core types meshops physics svg viz voxel webgl"
FILES="src/index.org"
for m in $MODULES; do
MODULE="geom-$m"
SRC="$MODULE/src/*.org $MODULE/test/*.org $MODULE/bench/*.org"
rm -rf $MODULE/babel/src $MODULE/babel/test
for f in `ls $SRC`; do
FILES="$FILES $f"
done
... | JDReutt/geom | tangle-all.sh | Shell | apache-2.0 | 358 |
#!/bin/bash
# Checks for changes in the translation directory, updates them and checks
# them in to the OLAT cvs
# 19.11.2004
# gnaegi
export CVSROOT=:ext:nightly@cvs.olat.org:/usr/local/cvs/
export CVS_RSH=ssh
DEDIFFSNOTIFICATION="webmaster@myolat.com"
cd /usr/local/opt/nightly/olatlive/webapp/WEB-INF
find src -t... | huihoo/olat | olat7.8/scripts/notify_de_diffs.sh | Shell | apache-2.0 | 670 |
#!/bin/bash
#
#
# 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 in writing, software
# dis... | pagespeed/mod_pagespeed | pagespeed/system/system_test.sh | Shell | apache-2.0 | 5,707 |
#!/bin/sh
# Copyright 2016 The Cartographer 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 ... | cartographer-project/cartographer_mir | scripts/install.sh | Shell | apache-2.0 | 1,230 |
#!/bin/bash
RETCODE=$(fw_exists hhvm.installed)
[ ! "$RETCODE" == 0 ] || { return 0; }
sudo add-apt-repository -y ppa:mapnik/v2.2.0
wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
echo deb http://dl.hhvm.com/ubuntu `lsb_release -sc` main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get up... | torhve/FrameworkBenchmarks | toolset/setup/linux/languages/hhvm.sh | Shell | bsd-3-clause | 375 |
#!/bin/bash
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE-CHROMIUM file.
# Usage: make_more_helpers.sh <directory_within_contents> <app_name>
#
# This script creates additional helper .app bundles for Chr... | brave/muon | vendor/brightray/tools/mac/make_more_helpers.sh | Shell | mit | 3,471 |
#!/bin/sh
# Docker entrypoint (pid 1), run as root
[ "$1" = "mongod" ] || exec "$@" || exit $?
# Make sure that database is owned by user mongodb
[ "$(stat -c %U /data/db)" = mongodb ] || chown -R mongodb /data/db
# Drop root privilege (no way back), exec provided command as user mongodb
cmd=exec; for i; do cmd="$cmd... | mvertes/docker-alpine-mongo | run.sh | Shell | mit | 370 |
#!/bin/bash
#ModificarUsuarioClave
clear
echo -e -n "\n\e[0;32m>\e[0m" "Ingrese nombre de Usuario :"
read Usuario
Usuario1=$(cut -d ":" -f1 /etc/passwd | grep -wi "$Usuario" )
if [ "$Usuario1" != "" ]
then
passwd $Usuario
if [ $? == 0 ]
then
sleep 1
clear
echo -e -n "\e[0;32m> Clave modificada con exito... \e... | AlexRib/Suru | Sistemas Operativos III/ABMC Usuarios/Shellscript/ModificarUsuarioClave.sh | Shell | epl-1.0 | 510 |
#!/bin/bash
#
# Copyright 2003-2013 Jeffrey K. Hollingsworth
#
# This file is part of Active Harmony.
#
# Active Harmony is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License,... | jonfetterdegges/activeharmony | WIP/code-server/build/remove_shm.sh | Shell | gpl-3.0 | 1,104 |
if [ "$1" ]; then
ip=$1
else
echo "Usage: deploy.sh <robot ip>"
exit 1
fi
ssh root@$ip 'chmod -x /etc/trik/trikGui.sh && killall trikGui'
rsync -avz -e ssh . root@$ip:/home/root/trik
ssh root@$ip 'chmod +x /etc/trik/trikGui.sh && kill -hup 1'
| Kseniya-Gonta/trikRuntime | deploy.sh | Shell | apache-2.0 | 247 |
#!/bin/bash
# Bare build: no dependencies installed, no JIT enabled.
bare_install() {
:
}
bare_script() {
make -j12 tests
make test
}
# Bare JIT build: no dependencies installed, but JIT enabled.
barejit_install() {
:
}
barejit_script() {
make -j12 tests WITH_JIT=yes
make test
}
# Build with Google proto... | bsn069/upb | travis.sh | Shell | bsd-3-clause | 4,565 |
#!/usr/bin/env bash
#
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
current_userid=$(id -u)
if [ $current_userid -ne 0 ]; then
ech... | johnbeisner/cli | scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh | Shell | mit | 1,191 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | polenoso/TMDBiOS | theiostmdb/Pods/Target Support Files/Pods-theiostmdb/Pods-theiostmdb-frameworks.sh | Shell | mit | 3,875 |
#!/bin/bash
# This script is a developer tool, to be used by maintainers
# to update '@since TODO' entries with actual Jenkins release versions.
set -euo pipefail
me="$( basename "$0" )"
IFS=$'\n'
for todo in $( git grep --line-number '@since TODO' | grep -v "$me" )
do
#echo "TODO: $todo"
file=$( echo "$tod... | godfath3r/jenkins | update-since-todo.sh | Shell | mit | 1,019 |
#!/bin/bash
set -e
##################################################################################################################
# Written to be used on 64 bits computers
# Author : Erik Dubois
# Website : http://www.erikdubois.be
################################################################################... | erikdubois/AntergosXfce4 | installation/personal/615-install-personal-settings-screenshot-to-jpg-v1.sh | Shell | gpl-2.0 | 1,225 |
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | gablg1/PerfKitBenchmarker | hooks/install.sh | Shell | apache-2.0 | 1,474 |
#!/bin/bash
#
# WARNING: This script modifies the host on which it is run. For
# details please see the documentation in hack/dind-cluster.sh
#
# This script runs the openshift sdn end-to-end tests. It is intended
# to encapsulate the setup, running, and teardown for reuse by both CI
# and developers.
#
# Dependencie... | benjaminapetersen/origin | test/extended/networking.sh | Shell | apache-2.0 | 4,479 |
#!/bin/bash
#
# Copyright 2013 Twitter, 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 ... | InMobi/hraven | bin/etl/jobFileLoader.sh | Shell | apache-2.0 | 1,399 |
#!/bin/bash
# simple script to hot restart puma, https://github.com/puma/puma#restart
# e.g. docker exec -it 'panoptes_container_name' bash -c "/rails_app/scripts/docker/restart_puma.sh"
pkill -F tmp/pids/server.pid -USR2
| parrish/Panoptes | scripts/docker/restart_puma.sh | Shell | apache-2.0 | 222 |
#!/bin/bash
#
# Easy GRBL flashing script
#
# Rob Street Jan. 27th, 2011
#
# Execute from the folder containing the .hex file that you want to flash.
# User is prompted for paths to their avrdude, avrdude.conf and Arduino device.
# These values are stored in grbl.conf for future use. If nothing is entered it uses and s... | open-pipetting/pipettingbot-controller | grblflash.sh | Shell | mit | 4,882 |
#! /usr/bin/env bash
#
# run.sh: helps executing the examples by setting up the Java CLASSPATH.
#
# get the current directory
bin=`dirname "$0"`
bin=`cd "$bin">/dev/null; pwd`
# check command line args
if [[ $# == 0 ]]; then
echo "usage: $(basename $0) <example-name>"
exit 1;
fi
# set up Maven environment
MVN="m... | larsgeorge/hbase-book | ch09/bin/run.sh | Shell | apache-2.0 | 979 |
#!/bin/bash
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributi... | endlessm/chromium-browser | third_party/webrtc/rtc_tools/author_line_count.sh | Shell | bsd-3-clause | 944 |
#!/bin/sh
python2 "${HYPERDEX_SRCDIR}"/test/runner.py --space="space kv key k attribute v" --daemons=1 -- \
python2 "${HYPERDEX_SRCDIR}"/test/python/Basic.py {HOST} {PORT}
| tempbottle/HyperDex | test/sh/bindings.python.Basic.sh | Shell | bsd-3-clause | 177 |
export GIT_DIR=$TEST_DIR/../repo/not-repo
git hub repos -c5
| dnmfarrell/git-hub | test/commands/not-repo:git_hub_repos_-c5/run.bash | Shell | mit | 60 |
#!/bin/sh
. ${BUILDPACK_TEST_RUNNER_HOME}/lib/test_utils.sh
WRAPPER_DIR=${BUILDPACK_HOME}/opt/wrapper
installWrapper() {
cp -r "$WRAPPER_DIR"/* ${BUILD_DIR}
}
testCompileWithoutWrapper()
{
cat > ${BUILD_DIR}/build.gradle <<EOF
task stage << {
println "${expected_stage_output}"
}
EOF
compile
assertCapture... | bhagwat/heroku-buildpack-gradle | test/compile_test.sh | Shell | mit | 1,707 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add_key() {
wget -qO - "$1" | sudo apt-key add - &> /dev/null
# │└─ write output to file
# └─ don't show output
}
add_ppa() {
sudo add-apt-rep... | alrra/dotfiles | src/os/installs/ubuntu/utils.sh | Shell | mit | 1,663 |
#!/bin/bash
# This script is a part of RPC & TI-RPC Test Suite
# (c) 2007 BULL S.A.S.
# Please refer to RPC & TI-RPC Test Suite documentation.
# More details at http://nfsv4.bullopensource.org/doc/rpc_testsuite.php
# This scripts launch everything needed to test RPC & TI-RPC
# Never try to launch alone, run "script_r... | shubmit/shub-ltp | testcases/network/rpc/rpc-tirpc-full-test-suite/rpc_stdcall_complex_lib.sh | Shell | gpl-2.0 | 2,192 |
#!/bin/bash
set -e
bundle check || bundle install
# Looks at ./.nvmrc to see which version of node to run,
# installs it if it's not already, and loads it into PATH
echo "NVM_DIR is: $NVM_DIR"
if [[ -s "$NVM_DIR/nvm.sh" ]]; then
echo "loading nvm"
. "$NVM_DIR/nvm.sh"
[[ -s ../../.nvmrc ]] && nvm install
echo ... | dgynn/canvas-lms | gems/handlebars_tasks/test.sh | Shell | agpl-3.0 | 368 |
#!/bin/sh -x
if [ "x$COMMON_CONF" = "x" ]; then
COMMON_CONF="$DIRNAME/common.conf"
else
if [ ! -r "$COMMON_CONF" ]; then
echo "Config file not found $COMMON_CONF"
fi
fi
if [ -r "$COMMON_CONF" ]; then
. "$COMMON_CONF"
fi
setEnhancedSecurityManager() {
"$JAVA" -Djava.security.manager=allow -version > /de... | yersan/wildfly-core | core-feature-pack/common/src/main/resources/content/bin/common.sh | Shell | lgpl-2.1 | 3,163 |
#This script is used automate the process of creating the live ISO.
#!/bin/bash
set -e
#installing java8
apt-get purge ubiquity
add-apt-repository ppa:webupd8team/java;
apt-get update;
apt-get install oracle-java8-installer;
source /etc/profile.d/jdk.sh
#installing sleuthkit dependencies
apt-get update && apt-ge... | esaunders/autopsy | unix/live_iso.sh | Shell | apache-2.0 | 2,720 |
#/bin/sh
echo "Running Page Rank"
. ./configDefaults.sh
ARGS="$HDFS_PAGERANK_PAGES $HDFS_PAGERANK_LINKS $HDFS_PAGERANK_OUT 100000 10"
echo "running Page Rank with args $ARGS"
$FLINK_BUILD_HOME"/bin/flink" run -p $DOP -j $FLINK_BUILD_HOME/examples/flink-java-examples-*-PageRankBasic.jar $ARGS
| mxm/flink-perf | automation/runPageRank-JAPI.sh | Shell | apache-2.0 | 298 |
#!/bin/bash
# Usage is:
# zone-info [-m |-mf]
#
# This shell script collects and displays some basic information on
# the local iRODS instance and optionally sends the information to
# DICE Research (the iRODS team).
#
# This should be run from the irods admin account on the ICAT-enabled
# host, with the i-commands in... | iPlantCollaborativeOpenSource/iRODS3.3-iplant | scripts/izoneinfo.sh | Shell | bsd-3-clause | 6,663 |
#!/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... | dforsyth/mesos | support/mesos-build.sh | Shell | apache-2.0 | 1,868 |
#!/usr/bin/fish
for i in *.stats_out ; echo $i \t\t\t\t (grep out-delta $i | awk '{print $14}' | tail -n +15 | head -n -5 | Rscript -e 'd<-scan("stdin", quiet=TRUE); cat(min(d), mean(d), max(d), sd(d), sep=" ")') ; end
| ruedigergad/dsbdp | benchmarks/results/queue_impl_comparison/old/queue_impl_comparison_pipeline_length_1/extract_out_stats.sh | Shell | epl-1.0 | 220 |
#!/bin/bash
# Copyright 2019 The Vitess 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... | mahak/vitess | examples/region_sharding/scripts/zk-up.sh | Shell | apache-2.0 | 1,876 |
COUNT=0
for THIS_URL in $POPCLIP_URLS
do
let COUNT=COUNT+1
if [[ -n "$THIS_URL" ]]; then #if non-empty
echo "Opening [$THIS_URL]"
open -b com.google.Chrome "$THIS_URL"
fi
if [[ $COUNT -ge 10 ]]; then #limit to 10 so as not to go crazy
break
fi
done | a-b/PopClip-Extensions | source/OpenInChrome/open-in-chrome.sh | Shell | mit | 259 |
#!/usr/bin/env zsh
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2018 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the f... | qguv/config | zsh/plugins/zsh-syntax-highlighting/highlighters/main/test-data/optimized-cmdsubst-input.zsh | Shell | gpl-3.0 | 2,379 |
#!/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 A... | xccui/flink | flink-end-to-end-tests/test-scripts/test_high_parallelism_iterations.sh | Shell | apache-2.0 | 1,771 |
#!/usr/bin/env bash
export LC_ALL=C
set -e -o pipefail
export TZ=UTC
# Although Guix _does_ set umask when building its own packages (in our case,
# this is all packages in manifest.scm), it does not set it for `guix
# environment`. It does make sense for at least `guix environment --container`
# to set umask, so if t... | anditto/bitcoin | contrib/guix/libexec/codesign.sh | Shell | mit | 3,635 |
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: ./run.sh <times>"
exit 1
fi
times=$1
export TIME="user/system/elapsed: %U %S %e"
TIMER="/usr/bin/time --quiet"
# vanilla version
count=0
deadlock=0
sum=0
rm -f OUTPUT.vanilla
touch OUTPUT.vanilla
while [ $sum -lt $times ]; do
printf "vanilla:\tgood=$count, ... | pgerakios/Deadlock-avoidance-for-C-pthreads | nulltests/mytest9/run.sh | Shell | bsd-3-clause | 1,213 |
#!/usr/bin/env bash
# This scripts automates the release process of Meteor Tool.
# Normally, after publishing a new Meteor release from checkout, you need to ssh
# to a machine running every supported platform and publish a build from it.
# This script automates ssh'ing into machines and running the publish command.
... | mjmasn/meteor | scripts/admin/publish-meteor-tool-on-arch.sh | Shell | mit | 5,341 |
#!/bin/sh
# This file is sourced when running various Spark programs.
# Copy it as spark-env.sh and edit that to configure Spark for your site.
# Options read when launching programs locally with
# ./bin/run-example or ./bin/spark-submit
# - HADOOP_CONF_DIR, to point Spark towards Hadoop configuration files
# - SPAR... | richardandersen/CassandraDiagionsics | LinqPad/TestData/production_group_v_1-diagnostics-2016_07_04_15_43_48_UTC/nodes/10.27.34.56/conf/spark/spark-env.sh | Shell | gpl-3.0 | 5,496 |
#!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='Test mode change diffs.
'
. ./test-lib.sh
sed_script='s/\(:100644 100755\) \('"$OID_REGEX"'\) \2 /\1 X X /'
test_expect_success 'setup' '
echo frotz >rezrov &&
git update-index --add rezrov &&
tree=$(git write-tree) &&
echo $tree
'
test_expect... | devzero2000/git-core | t/t4006-diff-mode.sh | Shell | gpl-2.0 | 1,517 |
#!/usr/bin/env bash
### Test: Build IPKG, executable without main.
${IDRIS:-idris} $@ --build test.ipkg
| kojiromike/Idris-dev | test/pkg005/run.sh | Shell | bsd-3-clause | 104 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you... | aelent/bigtop | bigtop-packages/src/common/zookeeper/install_zookeeper.sh | Shell | apache-2.0 | 7,129 |
#!/usr/bin/env bash
function usage {
echo "Usage: $0 [OPTION]..."
echo "Run Tempest test suite"
echo ""
echo " -V, --virtual-env Always use virtualenv. Install automatically if not present"
echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment"
echo " -n, --no-sit... | akash1808/tempest | run_tempest.sh | Shell | apache-2.0 | 4,474 |
# $OpenBSD: yes-head.sh,v 1.4 2002/03/15 13:08:56 markus Exp $
# Placed in the Public Domain.
tid="yes pipe head"
for p in 1 2; do
lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | _POSIX2_VERSION=199209 head -2000"' | (sleep 3 ; wc -l)`
if [ $? -ne 0 ]; then
fail "yes|head test f... | daleooo/barrelfish | usr/openssh/src/regress/yes-head.sh | Shell | mit | 438 |
#!/bin/sh
# Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# ... | nmacs/lm3s-uclinux | user/strace/errnoent.sh | Shell | gpl-2.0 | 1,712 |
#!/bin/bash
#echo "Usage:
# 1 bash config_azure.sh
# 2 bash config_azure.sh <Subscription ID>
# 3 bash config_azure.sh <Subscription ID> <Storage Account name>
# 4 bash config_azure.sh <Subscription ID> <Storage Account name> <Resource Group name>
# 5 bash config_azure.sh <Subscription ID> <Storage Account name> ... | Alan-AcutePath/azure-quickstart-templates | azure-jenkins/setup-scripts/config_azure.sh | Shell | mit | 1,958 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ flowWorkspaceData
| ostrokach/bioconda-recipes | recipes/bioconductor-flowworkspacedata/pre-unlink.sh | Shell | mit | 64 |
#!/bin/bash
mkdir -p $PREFIX/bin
mkdir -p $PREFIX/lib
for prog in fastq bam gtf bed; do
mkdir -p $PREFIX/share/ngsutils/$prog
mv $SRC_DIR/ngsutils/$prog/README $PREFIX/share/ngsutils/$prog
done
cp LICENSE VERSION $PREFIX/share/ngsutils/
sed "3s~.*~DIR=$SP_DIR~g" $SRC_DIR/bin/ngsutils | \
sed '9s~$DIR~$PREFIX/shar... | xguse/bioconda-recipes | recipes/ngsutils/build.sh | Shell | mit | 635 |
#!/bin/bash
DESTDIR=/tmp/dev_dist_vw
echo "Checking out git repo to $DESTDIR"
rm -rf $DESTDIR
git clone git@github.com:JohnLangford/vowpal_wabbit.git $DESTDIR
cd $DESTDIR
sh autogen.sh
VERSION=$(cat vowpalwabbit/config.h | grep PACKAGE_VERSION | cut -d '"' -f 2)
echo Making Distribution for version $VERSION
make di... | ffyu/vowpal_wabbit | mkdevdist.sh | Shell | bsd-3-clause | 628 |
################################################################################
# catimg script by Eduardo San Martin Morote aka Posva #
# http://posva.net #
# ... | kristiankubik/dotfiles | zsh_plugins/catimg/catimg.sh | Shell | mit | 2,265 |
# Frederic Morcos <fred.morcos@gmail.com>
#!/bin/sh
echo "Cleaning up..." && rm -rf build canvas-docs ui-docs && echo "Done."
| fredmorcos/attic | projects/opengrafik/opengrafik-2/clean.sh | Shell | isc | 129 |
#!/bin/bash
sudo gifsicle linear_performance.gif --delete "#0" -o linear_performance.gif
sudo gifsicle branch_performance.gif --delete "#0" -o branch_performance.gif
sudo gifsicle neutral_performance.gif --delete "#0" -o neutral_performance.gif
sudo gifsicle punctuated_performance.gif --delete "#0" -o punctuated_p... | compneurobilbao/dac | time/figures/gif_mod.sh | Shell | mit | 334 |
#!/bin/sh
cd $(dirname $0)
proto_src=src/main/resources/protobuf
java_out=src/main/java
protoc --proto_path=$proto_src --java_out=$java_out $proto_src/Protocol.proto
| nhekfqn/netty-protobuf-server-seed | protocol/compile-protobuf.sh | Shell | mit | 169 |
#!/usr/bin/env bash
# This program and the accompanying materials are made available under the
# terms of the MIT license (X11 license) which accompanies this distribution.
# author: C. Bürger
# BEWARE: This script must be sourced. It expects one variables to be set and sets four variables:
# in) configuration_to_... | christoff-buerger/racr | deploying/deployment-scripts/configure.bash | Shell | mit | 2,586 |
#!/bin/bash
# remove everything in the current dist/ directory
[ -d dist ] && rm -Rfv dist
# start with a clean build directory
rm -Rfv build/
# Python 2.5 doesn't support wheels
# python2.5 setup.py bdist_egg
# rm -Rfv build/
for version in 2.7 3.4 3.5 3.6 3.7 3.8; do
if [ -a "`which python$version`" ]; then
... | JoelBender/bacpypes | release_to_pypi.sh | Shell | mit | 697 |
#!/usr/bin/env bash
sudo -n true >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "************************************************************************"
echo "*** SUDO required for vagrant user with NOPASSWD: permission ***"
echo "*** Please, install sudo and add to /etc/sudoers the following ... | miksir/vagrant-debian-LNPP-template | vagrantup/ansible_install.sh | Shell | mit | 1,561 |
### System Preferences > General
# Appearance: Dark
defaults write NSGlobalDomain AppleInterfaceStyle -string "Dark"
# Accent color: Blue
defaults write NSGlobalDomain AppleAquaColorVariant -int 1
# Highlight color: "Blue"
defaults write NSGlobalDomain AppleHighlightColor -string '0.780400 0.815700 0.858800'
# Auto... | sberrevoets/dotfiles | macOS/general.sh | Shell | mit | 953 |
#!/bin/sh
HADOOP_PATH=~/hadoop-2.7.1/
INPUT=jamis_pagerank_input
TMPDIR=jamis_pagerank_tmp
OUTPUT=jamis_pagerank_output
KROUNDS=10
for ((i=0;i<$KROUNDS;++i)); do
if (($i == 0)); then
STEP_INPUT_DIR=$INPUT
else
STEP_INPUT_DIR=${TMPDIR}$(($i - 1))
fi
${HADOOP_PATH}bin/mapred pipes -co... | JamisHoo/PageRank-MapReduce | src/mapred_submit.sh | Shell | mit | 708 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3009-1
#
# Security announcement date: 2016-06-20 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:31 UTC
#
# Operating System: Ubuntu 15.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - dnsmasq-utils:2.75-1ubuntu0.15.10.1
# - ... | Cyberwatch/cbw-security-fixes | Ubuntu_15.10/i686/2016/USN-3009-1.sh | Shell | mit | 802 |
#!/bin/sh
# Update Chrome version
# Taken from: https://discuss.circleci.com/t/circle-fails-to-run-e2e-tests-using-grunt-protractor/2068/3
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources... | liitfr/shiftstats | .testing/upgrade_chrome_version.sh | Shell | mit | 403 |
#!/bin/bash
export DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/Mono.framework/Versions/Current/lib:/usr/local/lib:/usr/lib"
| michaelborgmann/wetterapp | macosx.sh | Shell | mit | 128 |
#!/bin/bash
RED='\033[0;31m'
NC='\033[0m' # No Color
INPLACE=false
PW=""
while getopts "h?ip:" opt; do
case $opt in
i)
INPLACE=true
;;
p)
PW=$OPTARG
;;
h|\?)
echo "Usage: "
echo " -h Display this help message."
echo " -i In-pl... | nozzlegear/alexa-skills | deploy.sh | Shell | mit | 2,035 |
#!/bin/bash
# author: AutuanLiu
# date: 2017/07/31
# info: based on Ubuntu Kylin 16.04LTS
# 数据路径设置
shellDir="/home/autuanliu/data/Shell"
storgeDir="/work/neABPneed"
necsvDir="/work/neCSV"
# 将满足条件的文件复制到指定目录下
cd $necsvDir
for i in $(cat $shellDir/neABPneed.csv)
do
cp $i $storgeDir 2> /dev/null
done
# ... | AutuanLiu/RLang | datapro/shell/neABPneed.sh | Shell | mit | 450 |
lynx -dump $1 | sed -n "s/^......file:..\(.*\).html.*/http:\/\/www.freertos.org\1.html/p" | sort -u | xargs wget
| hmbar/epd-embedded-web | freertos/freertos-get-dependences.sh | Shell | mit | 115 |
#!/bin/bash
# Bibek Paudel, Univerzity of Zurich
#arguments to this shell script
#1. jar file (e.g., myjarfile.jar)
#2. path prefix (e.g., /user/hue/)
#How to run this script:
#use a UNIX environment with Hadoop instance running (e.g., HortonWorks VM)
#scp the files to your UNIX environment using a command like this:... | rafaelkallis/distributedsystems | assignment2/assignment2_test.sh | Shell | mit | 3,043 |
#!/bin/bash
# **** Update me when new Xcode versions are released! ****
PLATFORM="platform=iOS Simulator,OS=11.0,name=iPhone 8"
SDK="iphonesimulator"
# It is pitch black.
set -e
function trap_handler() {
echo -e "\n\nOh no! You walked directly into the slavering fangs of a lurking grue!"
exit 255
}
trap trap... | atereshkov/EXPLogger | travis-build.sh | Shell | mit | 638 |
#!/bin/sh
#
# === The Dockerfile runtime helper ===
#
# This is used by the Knetminer container as ENTRYPOINT. It takes Knetminer client files from a fixed container
# directory and uses them to run a dataset/specie specific container instance (all datasets leverage the same built
# image). The configuration directory ... | AjitPS/KnetMiner | docker/runtime-helper.sh | Shell | mit | 8,454 |
#!/bin/bash
icon="$HOME/.scripts/icon.png"
tmpbg='/tmp/screen.png'
(( $# )) && { icon=$1; }
scrot "$tmpbg"
convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"
convert "$tmpbg" "$icon" -gravity center -composite -matte "$tmpbg"
i3lock -u -i "$tmpbg"
| UristMcModder/dotfiles | .scripts/lock.sh | Shell | mit | 250 |
#!/bin/bash
# <udf name="sys_hostname" label="Hostname" />
# <udf name="project_name" label="Project Name" example="Will be used to name folders and files" />
# <udf name="deploy_password" label="Non-root Password" example="Non-root password for all services and users" />
# <udf name="my_ssh_public_key" label="Your SS... | madrailers/rumble_stack_script | linode.sh | Shell | mit | 4,325 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.