code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env bash
clear
echo "============================================================"
echo "Installing VSFTPD"
echo "============================================================"
#Install VSFTPD
sudo apt-get install -y vsftpd
# Modify VSFTPD.CONF
sudo sed -i 's/#write_enable=YES/write_enable=YES/' /etc/vsftp... | iBourgeois/DevBox | assets/apps/vsftpd.sh | Shell | apache-2.0 | 373 |
#!/bin/sh
. perf_env.sh
send_mail()
{
local html_summary_path=$1
local subject=${subject_prefix}${result_dir}
local server_ip=`ifconfig hn0 | grep "inet "|awk '{print $2}'`
local href=""
local tmp=""
local len=`echo ""|awk -v a=$html_summary_path '{printf("%d\n", length(a))}'`
local slash=`echo $h... | clovertrail/rocket | shell/performance/send_mail.sh | Shell | apache-2.0 | 898 |
#!/usr/bin/env bash
base_dir=$(dirname $0)
#echo $base_dir
gen_dir=$(dirname $(dirname $(readlink -f $0)))/src
#echo $gen_dir
thrift_file=$base_dir/example.thrift
rm -rf "$gen_dir/gen-cpp"
rm -rf "$gen_dir/gen-java"
rm -rf "$gen_dir/gen-py"
if [[ !( $# == 1 && $1 == "clean" ) ]]
then
thrift -r -strict --gen ... | inspire365/thrift_wizard | thrift/make.sh | Shell | apache-2.0 | 488 |
#!/bin/bash
# Copyright 2019-2020 The MediaPipe 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 ... | google/mediapipe | setup_android_sdk_and_ndk.sh | Shell | apache-2.0 | 3,673 |
#!/bin/bash
# This script installs the platform on a local k8s (kind) cluster
# It assumes:
# - kind is already running and kubectl context is pointed to it
# - the following tools are installed
# - helm
# - cfssl - https://github.com/cloudflare/cfssl
# - yq - https://github.com/mikefarah/yq
#
# Warning: This s... | micro/micro | scripts/kind-launch.sh | Shell | apache-2.0 | 1,684 |
# Usage: From repo root:
# ./hack/doGoMod.sh tidy
# ./hack/doGoMod.sh verify
operation=$1
for f in $(find ./ -name 'go.mod'); do
echo $f
d=$(dirname "$f")
(cd $d; go mod $operation)
done
| kubernetes-sigs/kustomize | hack/doGoMod.sh | Shell | apache-2.0 | 197 |
#!/bin/bash
docker run -i -t --net=host tobegit3hub/smoke-hbase | tobegit3hub/smoke-hbase | start.sh | Shell | apache-2.0 | 64 |
#!/bin/bash
#
# This script does it all:
# convert json to metis
# partition metis file into 12 partitions
# simulate and compare performance
#
set -x # print commands with expanded variables
scp lfischer@kraken.ifi.uzh.ch:~/katts_submission_environment/katts_jobs/$1/evaluation/$1.task.json $1.json
./do_all.sh $1 | uzh/katts | src/eval/eval.sh | Shell | apache-2.0 | 318 |
#!/bin/bash
php release.php
| ROOT005/ec_deal | release.sh | Shell | apache-2.0 | 28 |
echo "Test start time: $(date)"
Release/ov_mlperf --scenario Server --mlperf_conf Configs/mlperf.conf --user_conf Configs/bert/user.conf --model_name bert --data_path /root/cbai/squadv1.1 --nseq 128 --nseq_step 64 --nireq 4 --nthreads 56 --nstreams 4 --total_sample_count 10833 --warmup_iters 100 --model_path Models/ber... | mlperf/inference_results_v0.7 | closed/Intel/code/resnet/resnet-ov/scripts/1-node-2s-clx-ov/bert-server.sh | Shell | apache-2.0 | 377 |
# *********************************************************************************
# Description: Builds a docker image for this node app
# Author: Joe Rice
# Created: 10/14/2016
#
# Notes:
# Uses the Dockerfile in this same git repo
# ***********************************************************************... | joericearchitect/site-joe-rice-architect | devops/scripts/jarch-run-drupal.sh | Shell | apache-2.0 | 576 |
#!/bin/bash -eu
#
# Copyright 2016 The Eyra 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... | Eyra-is/Eyra | Backend/server-interface/qc/scripts/marosijo_make_utterance_fsts.sh | Shell | apache-2.0 | 2,785 |
#!/bin/bash
errprintf() { if ! [ -t 1 ]; then printf "$@" 1>&2; fi; }
errexit() { if [ "$?" -ne 0 ]; then errprintf "$@\n"; exit 1; fi }
scrape() {
if [ ! -r "$1" ]; then
errexit "Scrape called with bad parameter: \"$1\""
exit 1
fi
# 0: authorpre
# 1: author
# 2: commit
# 3: date
# 4: print
status=0
w... | tolvstaa/ContributorCounter | contributor_counter.sh | Shell | apache-2.0 | 2,759 |
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Lice... | owlabs/incubator-airflow | scripts/ci/ci_generate_requirements.sh | Shell | apache-2.0 | 1,068 |
#! /bin/bash
source variables.conf
if [ ! -d $ARCHIVE_HOME/regal-api ]
then
git clone https://github.com/edoweb/regal-api.git $ARCHIVE_HOME/regal-api
fi
if [ ! -d $ARCHIVE_HOME/regal-import ]
then
git clone https://github.com/edoweb/regal-import.git $ARCHIVE_HOME/regal-import
fi
cd $ARCHIVE_HOME/regal-api
/opt/act... | edoweb/regal-install | install-regal-api.sh | Shell | apache-2.0 | 1,787 |
#<<"COMMENT"
#COMMENT
blockSize=$1
./reboot-slaves-and-hadoop.sh
./randomtextwriter-experiment.sh 5 $blockSize
sleep 120
./randomtextwriter-experiment.sh 10 $blockSize
sleep 120
./randomtextwriter-experiment.sh 15 $blockSize
sleep 120
./randomtextwriter-experiment.sh 20 $blockSize
sleep 120
./randomtextwriter-expe... | jayantgolhar/Hadoop-0.21.0 | scripts/runjobs-randomtextwriter-5gb-50gb-blockSize.sh | Shell | apache-2.0 | 640 |
#!/bin/bash
# Uses sudo, so an entry in /etc/sudoers is most likely required.
sudo virsh list 2>&1 > /dev/null
if [ $? -eq 1 ]; then
echo "CRITICAL - problem with libvirt"
exit 3
else
vms=$(sudo virsh list | grep instance | wc -l)
echo "OK - ${vms} running"
exit 0
fi
| osops/tools-monitoring | nagios-plugins/libvirt-virsh.sh | Shell | apache-2.0 | 279 |
#!/bin/bash
# Copyright 2014 CloudHarmony 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 a... | cloudharmony/geekbench3 | run.sh | Shell | apache-2.0 | 8,123 |
#!/usr/bin/env bash
set -e
source /etc/profile.d/chruby.sh
chruby 2.1.2
initver=$(cat setup-director/bosh-init/version)
initexe="${PWD}/setup-director/bosh-init/bosh-init-${initver}-linux-amd64"
chmod +x ${initexe}
echo "using bosh-init CLI version..."
$initexe version
director_manifest_file=${PWD}/setup-director/... | ritazh/bosh-azure-cpi-release | ci/tasks/teardown-director.sh | Shell | apache-2.0 | 439 |
#!/bin/bash
# serial.sh
# run all reporting services
time ./naprrql --itemprint
time ./naprrql --qa
time ./naprrql --report
time ./naprrql --writingextract --wordcount
time ./naprrql --xml
| nsip/nias2 | app/naprrql/serial.sh | Shell | apache-2.0 | 192 |
#!/bin/bash
set -e
if [ $# -ne 1 ]
then
echo "Usage: ./`basename $0` <VERSION>"
# `basename $0` is the script's filename.
exit 1
fi
VERSION=$1
git pull origin master
mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
## test build works
mvn clean install
git commit -am "prepare for release $VERSI... | amsa-code/risky | release.sh | Shell | apache-2.0 | 959 |
#!/bin/bash
set -e
set -x
# main script of travis
if [ ${TASK} == "lint" ]; then
make lint
make doxygen 2>log.txt
(cat log.txt| grep -v ENABLE_PREPROCESSING |grep -v "unsupported tag" |grep warning) && exit 1
exit 0
fi
if [ ${TRAVIS_OS_NAME} == "osx" ]; then
export NO_OPENMP=1
fi
if [ ${TASK} ==... | mlperf/training_results_v0.7 | Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/tvm/3rdparty/dmlc-core/scripts/travis/travis_script.sh | Shell | apache-2.0 | 1,117 |
#!/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
# distribute... | teamclairvoyant/hadoop-deployment-bash | utilities/install_awscli.sh | Shell | apache-2.0 | 3,626 |
#!/usr/bin/env bash
echo `date`': went to bed'
sleep $1
echo `date`': woke up'
| NLeSC/Xenon-examples | readthedocs/code-tabs/bash/sleep.sh | Shell | apache-2.0 | 79 |
#!/bin/sh
#-------------------------------------------------------------------------------
# Copyright (C) 2017 Create-Net / FBK.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is avail... | andreMonkey/camera_processing | discover.sh | Shell | bsd-2-clause | 1,282 |
#!/bin/sh
#
# Remove the .build folder
#
. ./config.sh
exec rm -rf .build "$BUILD_DIR"
| rhx/SwiftGObject | clean.sh | Shell | bsd-2-clause | 87 |
echo "export PYTHONPATH=\$PYTHONPATH:$PWD" >> ~/.bashrc
source ~/.bashrc
| mit-ll/LL-Smartcard | setup_dev_environment.sh | Shell | bsd-3-clause | 74 |
#!/bin/bash
set -eo pipefail
export TMPDIR="${TMPDIR:-"/tmp"}"
app_dir="${TMPDIR}/app"
env_dir="${TMPDIR}/env"
build_root="${TMPDIR}/build"
build_dir="${build_root}/app"
cache_root="${TMPDIR}/cache"
buildpack_root="/builder/buildpacks"
env_cookie=.ENV_DIR_bdca46b87df0537eaefe79bb632d37709ff1df18
mkdir -p ${app_dir}
... | philiplb/flynn | slugbuilder/builder/build.sh | Shell | bsd-3-clause | 5,917 |
###############################################################################
#
# Copyright 2014, ACSE & CADIEEL
# ACSE : http://www.sase.com.ar/asociacion-civil-sistemas-embebidos/ciaa/
# CADIEEL: http://www.cadieel.org.ar
#
# This file is part of CIAA Firmware.
#
# Redistribution and use in source and binar... | ciaa/Software-IDE | win32/testbench.sh | Shell | bsd-3-clause | 3,870 |
#!/usr/bin/env bash
docker service logs --raw --follow "$(docker service ps -q -f desired-state=running sip_master_controller)"
| SKA-ScienceDataProcessor/integration-prototype | demos/prototyping_meeting_23_11_18/scripts/old/follow_master_controller_logs.sh | Shell | bsd-3-clause | 129 |
#!/bin/bash
rm -rf themazegame
rm -rf build
mkdir build
cd build
cmake ..
make
cp src/themazegame ../
cd ../
| lchish/themazegame | mkscript.sh | Shell | bsd-3-clause | 110 |
#!/bin/bash -eux
echo "==> Disk usage before minimization"
df -h
echo "==> Installed packages before cleanup"
dpkg --get-selections | grep -v deinstall
echo "==> Removing all linux kernels except the currrent one"
dpkg --list | awk '{ print $2 }' | grep 'linux-image-3.*-generic' | grep -v $(uname -r) | xargs apt-get... | jpadilla/juicebox | scripts/minimize.sh | Shell | mit | 1,997 |
ember install ember-concurrency
| machty/ember-concurrency | tests/dummy/snippets/ember-install.sh | Shell | mit | 32 |
#!/bin/bash
nginx
| compusam/laraveldockerfile | provision/service/nginx.sh | Shell | mit | 19 |
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "Linux" ]]; then
sudo apt-get -q update
sudo apt-get install -y wget \
clang-3.8 libc6-dev make git libicu52 libicu-dev \
git autoconf libtool pkg-config \
libblocksruntime-dev \
libkqueue-dev \
libpthread-workqueue-dev \
systemta... | stephanmantler/SwiftyGPIO | .travis.d/before-install.sh | Shell | mit | 710 |
#!/bin/bash
FN="HMP2Data_1.1.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/experiment/src/contrib/HMP2Data_1.1.0.tar.gz"
"https://bioarchive.galaxyproject.org/HMP2Data_1.1.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hmp2data/bioconductor-hmp2data_1.1.0_src_all.tar.gz"
)
MD5="9... | roryk/recipes | recipes/bioconductor-hmp2data/post-link.sh | Shell | mit | 1,288 |
#!/usr/bin/env bash
. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd "$CURR_DIR"/describe-project
temp_file=$(mktemp $(basename $0).XXXXXX)
function cleanup {
rm $temp_file
}
trap cleanup EXIT
if ! $DUB describe --compiler=$DC --string-import-paths > "$temp_file"; then
die $LINENO 'Printing string import pat... | Geod24/dub | test/4-describe-string-import-paths.sh | Shell | mit | 877 |
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
# If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
# resources to, so exit 0 (signalling the script phase was successful).
exit 0
fi
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZE... | tpctt/SuggestInputView | SuggestInputViewDemo/Pods/Target Support Files/Pods-SuggestInputViewDemo/Pods-SuggestInputViewDemo-resources.sh | Shell | mit | 6,991 |
#!/usr/bin/env sh
set -e
echo "**************************"
echo "Setting up PHP Extensions."
echo "**************************"
echo ""
echo "PHP Version: $TRAVIS_PHP_VERSION"
if [ "$TRAVIS_PHP_VERSION" = "hhvm" ] || [ "$TRAVIS_PHP_VERSION" = "hhvm-nightly" ]; then
echo "Unable to install php extensions on curren... | tedivm/Current | tests/travis/php_setup.sh | Shell | mit | 529 |
WBIO_COUNT=14
source "$DATADIR/modules/wbio16.sh"
| contactless/wb-hwconf-manager | modules/wbio-di-wd-14.sh | Shell | mit | 51 |
#!/bin/sh
# success test hex
./simple-test.sh `basename $0 .sh` test19 -i 0xA
| mc-server/TCLAP | tests/test71.sh | Shell | mit | 78 |
#!/bin/sh
./replace_header.pl org-headers/actions_header.org.src actions/*.org
./replace_header.pl org-headers/elements_header.org.src elements/*.org
./replace_header.pl org-headers/validators_header.org.src validators/*.org
./replace_header.pl org-headers/handlers_header.org.src handlers/*.org
./replace_header.pl org... | SovereignPrime/nitrogen_core | doc/org-mode/update_headers.sh | Shell | mit | 369 |
make_vala_find_vapi_files() {
# XDG_DATA_DIRS: required for finding .vapi files
if [ -d "$1/share/vala/vapi" -o -d "$1/share/vala-@apiVersion@/vapi" ]; then
addToSearchPath XDG_DATA_DIRS $1/share
fi
}
addEnvHooks "$hostOffset" make_vala_find_vapi_files
_multioutMoveVapiDirs() {
moveToOutput share/... | NixOS/nixpkgs | pkgs/development/compilers/vala/setup-hook.sh | Shell | mit | 448 |
#!/bin/bash
cp -r /tmp/kde-bedahr/sam/internalsamuser/compile /mnt/data/models/$1__`date +"%Y%m%d"`
| photom/simon | scripts/store_model.sh | Shell | gpl-2.0 | 101 |
#!/usr/bin/with-contenv bash
python /haproxy/main.py | delectable-press/clam | images/run/haproxy/run.sh | Shell | gpl-2.0 | 53 |
#!/bin/bash
# Copyright (C) 2004-2007 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# 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 So... | anderco/mdm | mdm/misc/make-tree.sh | Shell | gpl-2.0 | 2,403 |
g++ $(wx-config --cppflags --libs) -lpcap -o sessionthief *.cpp
| wi-fi-analyzer/sessionthief | compile.sh | Shell | gpl-2.0 | 64 |
#!bash
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
... | rtomayko/git-sh | git-completion.bash | Shell | gpl-2.0 | 49,481 |
#!/bin/bash
# script for sourceforge build deployment via travis
# relies on a separate ssh key for uploading
# uploads builds versioned by "git describe"
sshid=../id_travissfbot
if [[ $TRAVIS_OS_NAME == osx ]]; then
filepath=Apple/OSX
tarpath=/Applications/GemRB.app
# this can be removed in 2016 (the bug was fi... | Tomsod/gemrb | testing/travis-deploy.sh | Shell | gpl-2.0 | 1,218 |
#!/bin/bash
### Configure shell and bootstrap
#
set -e
set -u
. `dirname $BASH_SOURCE`/_bootstrap.sh
### Check if currently running on tty
#
# These do not work correctly:
# if [[ $- == *i* ]]; then
# if [ -t 1 ]; then
#
RES="$(tty)"
if [[ $RES == /dev/* ]]; then
ON_TTY="true"
else
ON_TTY="false"
fi
... | wxdublin/snoopy | tests/filter/filter_only_tty.sh | Shell | gpl-2.0 | 801 |
#!/bin/sh
KERNEL_VERSION=`uname -r | awk -F '.' '{ print $1 }'`
KERNEL_PATCHLEVEL=`uname -r | awk -F '.' '{ print $2 }'`
KERNEL_SUBLEVEL=`uname -r | awk -F '.' '{ print $3 }'`
echo "#define KERNEL_VERSION $KERNEL_VERSION"
echo "#define KERNEL_PATCHLEVEL $KERNEL_PATCHLEVEL"
echo "#define KERNEL_SUBLEVEL \"$KERNEL_SUBL... | mimuret/iptables-ext-dns | include/kernel.sh | Shell | gpl-3.0 | 328 |
#!/bin/sh
# Test cp backup to source file.
# Copyright (C) 1998-2017 Free Software Foundation, Inc.
# 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 License, or
# (at yo... | adtools/coreutils | tests/cp/backup-is-src.sh | Shell | gpl-3.0 | 1,105 |
#!/bin/bash
NOW=$(date)
git add -A
git commit -m "@ardikars: $NOW"
git push -u origin master
| ardikars/SIMSekolah | commitall.sh | Shell | gpl-3.0 | 95 |
#!/bin/bash
PREF='logistic'
python Logistic.py > ${PREF}.gr
gnuplot <<EOF
set terminal postscript eps color 20
set ylabel 'concentration of X'
set xlabel 'time (s)'
set output "${PREF}.eps"
plot \
"${PREF}.gr" using 1:2 w l lw 2 title 'ODE', \
"${PREF}.gr" using 1:3 w l lw 2 title 'SSA'
EOF
| laryamamoto/PyCellChemistry | src/scripts/logistic.sh | Shell | gpl-3.0 | 300 |
#!/bin/bash
sed -i 's/download_updates.*/download_updates = no/g' '/etc/dnf/automatic.conf'
sed -i 's/apply_updates.*/apply_updates = no/g' '/etc/dnf/automatic.conf'
| ajhaydock/fedpo-staging | plugins/hardening-secupdates.plugin/disable.sh | Shell | gpl-3.0 | 167 |
#!/bin/bash
df | grep rootfs | awk '{print $5}'
| gulliverrr/hestia-engine-dev | src/opt/boilercontrol/scripts/getfreediskspace.sh | Shell | gpl-3.0 | 50 |
#!/usr/bin/env bash
mkdir ssl
cd ssl
# The following lines are commented, because I don't know any reason to generate any local CA certs.
#echo "\nGenerating local CA"
#openssl genrsa -des3 -out ca.key 1024
#openssl req -new -key ca.key -out ca.csr
#openssl x509 -req -days 365 -in ca.csr -out ca.crt -signkey ca.key
e... | virtdb/virtdb-gui | create-local-server-cert.sh | Shell | gpl-3.0 | 620 |
#!/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 1A/logs/w-10_2/20161107T114501+0000/00/00/mediancpu_0_ID0000004.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/bash
function get_sovi_info
{
sed -r "s:.*<$1>(.*)</$1>.*:\1:;t;d" /etc/sovi_info.xml
}
# We need to escape special characters in player_name for sed and XML
# sed: : \ &
# XML: & < >
name=$(sed 's/[:\]/\\&/g; s/&/\\\&/g; s/</\\\</g; s/>/\\\>/g' /var/data/player_name)
mac=$(sed 's/://g' /sys/class/... | sashahilton00/spotify-connect-resources | Spotify Relevant Firmware Files/Perl Files/avahi-update.sh | Shell | gpl-3.0 | 911 |
#!/bin/bash
ver="7.0.47"
tar -C /usr/local -xzf $DOCKER_SRC/apache-tomcat-$ver.tar.gz
mv /usr/local/apache-tomcat-$ver/conf /etc/tomcat7
mv /usr/local/apache-tomcat-$ver/logs /var/log/tomcat7
mv /usr/local/apache-tomcat-$ver/work /var/cache/tomcat7
mv /usr/local/apache-tomcat-$ver /var/lib/tomcat7
cd /var/lib/tomca... | inn1983/docker-builder | www-servers/tomcat/7.0.47/build.sh | Shell | lgpl-3.0 | 777 |
#!/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"); ... | apache/steve | www-init.sh | Shell | apache-2.0 | 1,274 |
#! /bin/bash
# Clone the Data Analyst Repo
#
# Git may not be installed by default or might be dated
#
apt-get update
apt-get install git -y
# User does not exist on the VM at boot time so this is in folder /training at root
# User can copy to home using: cp -r /training .
mkdir training
cd training
git ... | GoogleCloudPlatform/training-data-analyst | quests/dm_templates/init-script-001.sh | Shell | apache-2.0 | 937 |
#!/bin/bash
set -ex
git clone --recursive https://github.com/rumpkernel/rumprun
cd rumprun
CC=cc ./build-rr.sh -d /usr/local hw
| rust-lang/rust-buildbot | slaves/linux-cross/build_rumprun.sh | Shell | apache-2.0 | 130 |
#!/bin/bash
# Copyright 2018 The 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 agree... | firebase/grpc-SwiftPM | tools/internal_ci/linux/grpc_publish_packages.sh | Shell | apache-2.0 | 8,082 |
#!/bin/bash
# gcc linux-musl run test
TARGET=${TOOLCHAIN_ARCH}-linux-musl
GCC=$TARGET-gcc
OBJDUMP=$TARGET-objdump
set -x
set -e
echo "============================="
echo "============================="
echo "============================="
echo "============================="
$GCC --help || true
echo "-----"
$GCC --... | litex-hub/litex-conda-compilers | toolchain/linux-musl/run_test.sh | Shell | apache-2.0 | 2,919 |
#!/bin/bash -x
# 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 ... | cushon/bazel | tools/test/collect_cc_coverage.sh | Shell | apache-2.0 | 9,084 |
groups $1
mkdir /global/project/projectdirs/metatlas/raw_data/$1
chgrp metatlas /global/project/projectdirs/metatlas/raw_data/$1
chmod 770 -R /global/project/projectdirs/metatlas/raw_data/$1
chmod g+s /global/project/projectdirs/metatlas/raw_data/$1
| metabolite-atlas/metatlas | metatlas/scripts/old/create_userfolder.sh | Shell | bsd-3-clause | 251 |
#!/bin/sh
#
# Copyright (c) 2016 Jeromy Johnson
# MIT Licensed; see the LICENSE file in this repository.
#
# changing the bootstrap peers will require changing it in two places :)
test_description="test node bootstrapping"
. lib/test-lib.sh
test_init_ipfs
test_expect_success "disable mdns" '
ipfs config Discovery... | WilliButz/go-ipfs | test/sharness/t0121-bootstrap-iptb.sh | Shell | mit | 1,945 |
hostapd_set_bss_options() {
local var="$1"
local vif="$2"
local enc wpa_group_rekey wps_possible
config_get enc "$vif" encryption
config_get wpa_group_rekey "$vif" wpa_group_rekey
config_get_bool ap_isolate "$vif" isolate 0
config_get device "$vif" device
config_get hwmode "$device" hwmode
config_get phy "$d... | 119/aircam-openwrt | package/hostapd/files/hostapd.sh | Shell | gpl-2.0 | 6,542 |
#! /bin/sh
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
#
# 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 2, or (at your option)
# any later version.
#
# This program ... | kuym/openocd | tools/automake-1.15/t/test-metadata-global-result.sh | Shell | gpl-2.0 | 3,737 |
#!/usr/local/bin/bash
#This is a very simple system monitoring script - ONLY FOR USE ON FREEBSD!.
#v.0.1 Originally by RS-MikeK
#v.0.2 Adapted by RS-Nate 06/18/03
#v.0.3 Modified by NateC @ HG 08/28/07
# Updates suggested by Pat P @ HG 06/13/08
#v.0.4 Updates by Mary M @ AR 08/26/08, 09/07/08
#v.0.5 Updates by Mar... | cPanelTechs/SysSnap | sys-snap_freebsd.sh | Shell | gpl-2.0 | 10,639 |
#!/bin/sh
cp -r ./build/Release-10.4-universal/osx-pl2303.kext /tmp
cd /tmp
kextload osx-pl2303.kext
#/Users/Jeroen/Projects/Xcode/SerialTest/build/Release/SerialTest
#avrdude -p m128 -c avrisp2 -P /dev/tty.PL2303-151
#kextunload osx-pl2303.kext
| praseodym/mac-osx-pl2303 | load.sh | Shell | gpl-2.0 | 247 |
#!/bin/bash
branchName="master"
gradle="sudo ./gradlew"
gradleUpload="uploadArchives"
gradleUploadOptions="-x javadoc --parallel -DpublishSnapshots=true -DsonatypeUsername=${SONATYPE_USER} -DsonatypePassword=${SONATYPE_PWD}"
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "$branchName" ] && [ "$PUBL... | prigaux/cas | ci/script.sh | Shell | apache-2.0 | 1,244 |
#!/bin/sh
export MALLOC_CONF="hpa_dirty_mult:0,hpa_min_purge_interval_ms:50,hpa_sec_nshards:0"
| arangodb/arangodb | 3rdParty/jemalloc/v5.2.1/test/unit/hpa_background_thread.sh | Shell | apache-2.0 | 97 |
#!/bin/bash
## Copyright (C) 2011, 2015 International Business Machines Corporation
## All Rights Reserved
################### parameters used in this script ##############################
#set -o xtrace
#set -o pipefail
namespace=sample
composite=LivePacketLiveSourceBasic2
here=$( cd ${0%/*} ; pwd )
projectDirec... | engebret/streamsx.network | samples/SamplePacketLiveSource/script/livePacketLiveSourceBasic2.sh | Shell | apache-2.0 | 4,152 |
#!/bin/sh
NAME=$1
CPU=$2
MEM=$3
IP=$4
VOLUME=`echo -n ${NAME} | sed "s/\-/_/g"`
echo "Generating VM:"
echo " - Name: ${NAME}"
echo " - CPUs: ${CPU}"
echo " - RAM: ${MEM}"
echo " - IP: ${IP}"
PATH=/usr/bin:/sbin:${PATH}
lvcreate -n kvm_${VOLUME} -L 18G VolGroupKVM
vmbuilder kvm ubuntu --suite=intr... | fcoury/cookbooks | kvm/files/default/templates/scripts/vmbuild.sh | Shell | apache-2.0 | 1,448 |
#!/bin/sh
# ----------------------------------------------------------------------------
# Copyright 2005-2012 WSO2, Inc. http://www.wso2.org
#
# 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 ... | rasika90/product-iot-server | modules/distribution/src/core/bin/iot-server.sh | Shell | apache-2.0 | 11,474 |
#!/usr/bin/env bash
#
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRA... | yuluo-ding/alluxio | integration/docker/bin/alluxio-master.sh | Shell | apache-2.0 | 1,134 |
#!/bin/bash
## Copyright (C) 2011, 2015 International Business Machines Corporation
## All Rights Reserved
################### parameters used in this script ##############################
#set -o xtrace
#set -o pipefail
namespace=sample
composite=TestPacketContentAssemblerEvents
here=$( cd ${0%/*} ; pwd )
projec... | cancilla/streamsx.network | samples/SamplePacketContentAssembler/script/testPacketContentAssemblerEvents.sh | Shell | apache-2.0 | 3,040 |
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Lice... | chenc10/Spark-PAF | sbin/start-master.sh | Shell | apache-2.0 | 2,403 |
#!/bin/bash
os=linux
export scripts_dir=$PWD/scripts/$os
function usage() {
echo "Option for subcommand 'deploy|start|stop|clean"
echo " -s|--source-dir <dir> local source directory for deployment"
echo " -t|--target <dir> remote target directory for deployment"
echo " -d|--deploy-name <name> d... | glglwty/rDSN | scripts/linux/deploy.sh | Shell | mit | 2,241 |
#! /bin/sh
su vagrant <<EOF
mkdir -p $@
EOF
| igraph/xdata-igraph | tools/virtual/vagrant/provisioners/createdir.sh | Shell | gpl-2.0 | 47 |
#!/bin/sh
#
# Copyright (c) 2007 Johannes Schindelin
#
test_description='our own option parser'
. ./test-lib.sh
cat > expect << EOF
usage: test-parse-options <options>
-b, --boolean get a boolean
-4, --or4 bitwise-or boolean with ...0100
--neg-or4 same as --no-or4
-i... | moy/git | t/t0040-parse-options.sh | Shell | gpl-2.0 | 7,315 |
#!/bin/sh
test_description='signals work as we expect'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
cat >expect <<EOF
three
two
one
EOF
test_expect_success 'sigchain works' '
{ test-tool sigchain >actual; ret=$?; } &&
{
# Signal death by raise() on Windows acts like exit(3),
# regardless of the signal numbe... | abg1979/git | t/t0005-signals.sh | Shell | gpl-2.0 | 1,253 |
# p2p-adb
# https://github.com/kosborn/p2p-adb/
# @theKos
# kyle@kyleosborn.com
# Registering command
registerCommand "6:installAnti:Install/Uninstall AntiGuard"
installAnti(){
adb shell pm list packages | grep io.kos.antiguard 2>/dev/null > /dev/null
isInstalled=$?
if [ $isInstalled -eq 0 ]; then
adb unins... | hafo821/p2p-adb | modules/installAnti.sh | Shell | gpl-3.0 | 444 |
rm -rf www && eleventy --input=src --output=www --config=.eleventy.js --serve
| PAIR-code/lit | website/local.sh | Shell | apache-2.0 | 79 |
#!/bin/bash
OUTDIR="build/_config"
INDIR="build/config"
mkdir -p ${OUTDIR}
if [ -d "$INDIR" ]; then
for infile in $INDIR/*; do
tmpfile=${infile}.tmp
outfile=${OUTDIR}/`basename ${infile}`
echo "Templating ${infile} and saving as ${outfile}"
sed "s/{{ .Env.\([a-zA-Z0-9_-]*\) }}/\${\1}/" < ${infile} |... | fabric8io/fabric8-ui | packages/toolchain/scripts/configBuildEnv.sh | Shell | apache-2.0 | 524 |
#!/bin/sh
#
# Copyright © 2010-2014 Nokia
#
# 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 t... | yomik/jsonschema2pojo | jsonschema2pojo-cli/src/main/scripts/jsonschema2pojo.sh | Shell | apache-2.0 | 720 |
#!/bin/bash
echo "Running Spark KMeans Low Dimension"
. ./configDefaults.sh
HOST=`hostname`
ARGS="spark://$HOST:7077 $HDFS_KMEANS_PERF_POINTS $HDFS_KMEANS_PERF_CENTERS $HDFS_SPARK_KMEANS_OUT $ITERATIONS"
echo "running KMeans with args $ARGS"
$SPARK_HOME/bin/spark-submit --master spark://$HOST:7077 \
--class com.gi... | mxm/flink-perf | automation/runSparkKMeansPerf-java.sh | Shell | apache-2.0 | 437 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you ca... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN003320.sh | Shell | apache-2.0 | 3,620 |
# OpenDNSSEC version specific parameters
VERSION=`$INSTALL_ROOT/sbin/ods-enforcerd -V 2>&1 | grep 2.0.0`
if ( [ -z "$VERSION" ] ); then
export OPENDNSSEC_VERSION=1
export ENFORCER="ods-enforcerd -1 -d"
export KSM_UTIL=bin/ods-ksmutil
export XML_ARGS="--no-xml"
else
export OPENDNSSEC_VERSION=2
export ENFORCE... | opendnssec/opendnssec-svn | testing/test-cases-performance.d/general.performance.single_add/performance_test_utils.sh | Shell | bsd-2-clause | 2,770 |
#!/bin/bash
FN="ye6100subacdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/ye6100subacdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/ye6100subacdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-ye6100subacdf/bioconductor-ye6100subacdf_2.1... | joachimwolff/bioconda-recipes | recipes/bioconductor-ye6100subacdf/post-link.sh | Shell | mit | 1,323 |
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Make sure we’re using the latest Hom... | cgascoig/dotfiles | brew.sh | Shell | mit | 2,766 |
#!/bin/bash
[ $# -lt 3 ] && { echo "Usage: $0 <BindingIdInCamelCase> <Author> <GitHub Username>"; exit 1; }
openHABVersion=2.5.0-SNAPSHOT
camelcaseId=$1
id=`echo $camelcaseId | tr '[:upper:]' '[:lower:]'`
author=$2
githubUser=$3
mvn -s archetype-settings.xml archetype:generate -N \
-DarchetypeGroupId=org.openhab... | Snickermicker/openhab2 | bundles/create_openhab_binding_skeleton.sh | Shell | epl-1.0 | 832 |
#! /usr/bin/env bash
$XGETTEXT *.cpp -o $podir/plasma_engine_kuiserver.pot
| mgottschlag/kwin-tiling | plasma/generic/dataengines/applicationjobs/Messages.sh | Shell | gpl-2.0 | 75 |
#! /bin/sh
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
#
# 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 2, or (at your option)
# any later version.
#
# This program ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/remake-subdir-grepping.sh | Shell | gpl-2.0 | 1,114 |
#!/bin/bash
#================
# FILE : config.sh
#----------------
# PROJECT : openSUSE KIWI Image System
# COPYRIGHT : (c) 2006 SUSE LINUX Products GmbH. All rights reserved
# :
# AUTHOR : Marcus Schaefer <ms@suse.de>
# :
# BELONGS TO : Operating System images
#... | rjschwei/kiwi | template/ix86/suse-leap-42.1-JeOS/config.sh | Shell | gpl-2.0 | 2,407 |
#! /bin/sh
# Test suite for exclude.
# Copyright (C) 2010-2012 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# 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 ... | ashking/Cloud9 | node_modules/jsDAV/node_modules/gnu-tools/grep-src/gnulib-tests/test-exclude8.sh | Shell | gpl-3.0 | 1,282 |
#!/bin/sh
# Copyright 2011 OpenStack Foundation
#
# 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... | Datera/cinder | tools/enable-pre-commit-hook.sh | Shell | apache-2.0 | 1,231 |
#! /bin/bash
set -euxo pipefail
# provide a default environment if none exists
if [ ! -f ".env" ]; then
echo "Using .env.oss"
cp .env.oss .env
fi
# prepare a production build
yarn assets
yarn build:server
# start server in the background in production mode
NODE_ENV=production yarn start &
# wait for it to ... | erikdstock/force | scripts/smoke_test.sh | Shell | mit | 534 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.