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
wget -O sun7i-a20.dtsi.orig https://raw.githubusercontent.com/torvalds/linux/master/arch/arm/boot/dts/sun7i-a20.dtsi
wget https://raw.githubusercontent.com/torvalds/linux/master/arch/arm/boot/dts/skeleton.dtsi
wget https://raw.githubusercontent.com/torvalds/linux/master/arch/arm/boot/dts/sunxi-common-regul... | luoyi/Sunxi-A20-Audio-Driver | DeviceTree/init.sh | Shell | gpl-3.0 | 331 |
#!/bin/bash
## Launch all tests
for s in ./scripts/fixed_bugs.sh ; do
bash "${s}" "${1}" || exit 1
echo
done
exit 0
| frederic-mahe/vsearch-tests | run_all_tests.sh | Shell | gpl-3.0 | 126 |
#!/bin/bash
for i in 1 2 5 10 20 50 100 200 500 1000 2000 5000 10000 20000 50000 100000 200000 500000 1000000 2000000 5000000 10000000
do
./01_scripts/04_pair_markers_by_target.py 03_mapped/wanted_loci.sam 03_mapped/wanted_loci.ids 03_mapped/wanted_loci.info $i; echo $i $(wc -l 03_mapped/wanted_loci.info)
done | te... | enormandeau/mapcomp | 01_scripts/utility_scripts/num_pairs_as_function_of_max_dist.sh | Shell | gpl-3.0 | 360 |
#!/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 1B/logs/w-08-B/20170109T201522+0000/00/00/analysisevent_0_ID0000015.sh | Shell | gpl-3.0 | 1,249 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YER131W --paralog2 YGL189C --simnum 27 > YER131W_YGL189C_MG94_nonclock_Sim27_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YER131W_YGL189C_sim27.sh | Shell | gpl-3.0 | 145 |
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
bundle exec rails s -p 3000 -b '0.0.0.0'
| hatchucl/hatch-site | entrypoint.sh | Shell | gpl-3.0 | 122 |
#!/bin/bash
# stop
docker-compose rm --force --stop
| Geonovum/smartemission | apps/waalkade/stop.sh | Shell | gpl-3.0 | 54 |
#!/bin/bash
source funcoes.sh
# Configurar o Branch
#BRANCH='master'
cd /usr/src/
a2enmod rewrite
/etc/init.d/apache2 restart
cd /var/www/
rm -rf ipbx
cd /usr/src/
git clone https://github.com/gu1lhermematos/BOXFACIL.git
cd BOXFACIL
git branch $BRANCH
git pull origin $BRANCH
cd ..
clear
mv BOXFACIL ipbx
mv ipbx /... | gu1lhermematos/BOXFACIL | install/install-tofalando.sh | Shell | gpl-3.0 | 4,217 |
#!/bin/bash
ARCHITECTURE=armhf
# navigate to current directory
cd $( dirname ${BASH_SOURCE[0]} )
mkdir $ARCHITECTURE
cd $ARCHITECTURE
cmake -D CMAKE_TOOLCHAIN_FILE=/usr/local/build-env/rpi/arm-linux-gnueabihf.cmake ../ &&
make
| boxbillinggit/RPI_bmw-infotainment | plugin/plugin.service.bmw-infotainment/guicallback/build-armhf.sh | Shell | gpl-3.0 | 231 |
#!/bin/sh
# ensure that an empty "ca=" attribute disables ls's capability-checking
# Copyright (C) 2008-2019 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, eith... | komh/coreutils-os2 | tests/ls/no-cap.sh | Shell | gpl-3.0 | 1,176 |
#!/bin/bash
scriptPATH=`realpath $0`
rootPATH=`dirname $scriptPATH`
num=`cat search_metadata.txt`
for i in $(seq 1 1 $num)
do
p=`cat SCC_LOGS/NODE_$i/scc.log | grep " RL " | tail -1 | cut -d" " -f8`
t=`wc -l NODE_$i/query/query* | cut -d" " -f1`
echo "NODE_$i : $p processed, out of $t."
done
| Mondego/SourcererCC | clone-detector/search_status.sh | Shell | gpl-3.0 | 297 |
#---------------------------------------------------------------------
# Function: InstallSQLServer
# Install and configure SQL Server
#---------------------------------------------------------------------
InstallSQLServer() {
if [ "$CFG_SQLSERVER" == "MySQL" ]; then
echo -n "Installing Database server (MySQL)... | servisys/ispconfig_setup | distros/ubuntu-16.04/install_mysql.sh | Shell | gpl-3.0 | 1,552 |
#!/bin/sh
echo bladibla
| owulveryck/gorchestrator | example/script.sh | Shell | gpl-3.0 | 25 |
# Setup conditional printing for build servers
TRAVIS_BEG='travis_fold:start'
TRAVIS_END='travis_fold:end'
if [[ "$BUILD_SERVER" == "travis" ]]; then
function run(){
mesg=$1
tag=${mesg// /_}
shift
echo "$mesg" && echo -en "${TRAVIS_BEG}:${tag}\r"
$@
echo -en "${TRAVI... | Illumina/interop | tools/prereqs/utility.sh | Shell | gpl-3.0 | 1,408 |
#!/bin/sh
#desc: Scan a generic drive
#type:local
#package: odfilemanager
# Copyright(c) 2015 OpenDomo Services SL. Licensed under GPL v3 or later
event="$1"
module="$2"
description="$3"
drive="$4"
if test -z "$drive"
then
echo "usage:`basename $0` event module description /path/to/drive"
exit 1
else
/usr/local/... | jmirasb/opendomo-filemanager | usr/local/opendomo/eventhandlers/scandrive.sh | Shell | gpl-3.0 | 356 |
#! /usr/bin/env sh
rm -r dist
python3 setup.py sdist bdist_wheel
twine upload -r testpypi dist/*
| awickert/gFlex | topypi-test.sh | Shell | gpl-3.0 | 98 |
#!/bin/bash
STATUS=3
PERFDATA=$(netcat $1 $2 2> /dev/null)
if [[ $? == 0 ]]; then
STATUS=0
#players=3;;;0;30
PLAYERS=$(echo ${PERFDATA} | perl -p -e 's|players=(\d+);;;0;(\d+).*|$1/$2|')
echo "MINECRAFT OK: ${PLAYERS}|${PERFDATA}"
else
STATUS=2
echo "MINECRAFT CRITICAL: No response... | brjannc/PufferMon | check_puffermon.sh | Shell | gpl-3.0 | 357 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="6"
pegasus_lite_version_patch="0"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_exit INT TERM EXIT
echo -e "\n################################ Setting up workdir ###############################... | elainenaomi/sciwonc-dataflow-examples | sbbd2016/data/google-cloud/w-10/dags/elaine.n.watanabe/pegasus/example_workflow/20160520T234949+0000/calculateratio_8_ID0000013.sh | Shell | gpl-3.0 | 1,098 |
#!/bin/sh
# Make sure 'du d/1 d/2' works.
# That command failed with du from fileutils-4.0q.
# Copyright (C) 2000-2019 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 Founda... | komh/coreutils-os2 | tests/du/two-args.sh | Shell | gpl-3.0 | 1,368 |
#!/bin/bash -
## Invoke LaTeX
# strict error handling
set -o pipefail # trace ERR through pipes
set -o errtrace # trace ERR through 'time command' and other functions
set -o nounset # set -u : exit the script if you try to use an uninitialized variable
set -o errexit # set -e : exit the script if any statement ... | thomasWeise/docker-texlive | image/scripts/latex.sh | Shell | gpl-3.0 | 984 |
#!/usr/bin/env bash
npm run pack
# check if selenium is installed
node_modules/.bin/webdriver-manager update
selePort="4444"
httpPort="8329"
# start selenium server just for this test run
(node_modules/.bin/webdriver-manager start &)
# Wait for port 4444 to be listening connections
while ! nc -z 127.0.0.1 $selePort;... | ice-blaze/lilengine | tests/launch_tests.sh | Shell | gpl-3.0 | 688 |
#! /bin/sh
cd "/opt/fortinet/forticlientsslvpn/"
exec "./forticlientsslvpn" "$@" | stefan-langenmaier/fortinet-overlay | net-misc/forticlientsslvpn/files/forticlientsslvpn.sh | Shell | gpl-3.0 | 80 |
gnuplot -persist <<EOF
set terminal pdf enhanced color font "Bold,8"
set output "overheads-reads-n-writes.pdf"
set size 1.0,0.8
set boxwidth 0.9 relative
set style data histograms
set style histogram clustered gap 2
set style fill pattern 9.5 border -1
set key top left
set key sample 1.0
unset grid
set ylabel "cache-... | sujesha/phd-thesis-2015 | drivechap-figures/aggregate-hw-replay/reads-writes/cache-hit-rate/plot.cache_hit_ratios_overheads_rw.sh | Shell | gpl-3.0 | 1,074 |
#!/bin/bash
# Regenerates all views and downloads since we started
# capturing them.
# Call this whenever the query or table changes or when
# code changes affect the results output.
#set -e
#source install.sh &> /dev/null
#if [ -f .env ]; then
# set -a # all vars are exported
# source .env
#fi
#python -c "impo... | elifesciences/elife-metrics | regenerate-results-2016.sh | Shell | gpl-3.0 | 457 |
#!/bin/bash
echo sourcing ...
source ~/.bashrc
echo starting ...
cd ../tmp/
echo changed directory
echo translating domain and problem files
python ../../build/adp/translate/translate.py ../tmp/domain.pddl ../../ipa_pars_main/tmp/problem.pddl &
echo done
| ipa-fmw-ce/ipa_pars | adp_planner/common/scripts/translate.bash | Shell | gpl-3.0 | 255 |
#!/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 1B/logs/w-11-A/20161129T232030+0000/00/00/averageratioevent_2_ID0000026.sh | Shell | gpl-3.0 | 1,261 |
#!/bin/bash
DOCKER="nvidia-docker"
DOCKER_RUN="-it"
IMAGE="aleozlx/tkstack:latest"
# Expose ports
let "P=8888"
PORTS="-p $((P++)):8888"
# Define file locations to be mounted from host here
PROJECT="$(readlink -f .)"
SCRIPTS="$(readlink -f ./notebooks)"
DATASETS="$(readlink -f ../datafiles)"
VOLUMNS="-v $PROJECT:/w... | aleozlx/tkstack | docker-example.sh | Shell | gpl-3.0 | 478 |
#!/bin/bash
set -e
TARGET_REPO="git@github.com:suminb/web-pub.git"
BUILD_DIR="web/build"
LAST_COMMIT_MESSAGE=$(git log -1 --pretty=%B)
echo -n "Would you like to generate locations.js? (yes/no) "
read generate_locations_js
if [[ $generate_locations_js = "yes" ]]; then
web import-gspread "$GSPREAD_KEY" > web/sta... | suminb/web | publish.sh | Shell | gpl-3.0 | 548 |
#!/bin/sh
#desc:Save system configuration
#package:odbase
#type:multiple
# Copyright(c) 2015 OpenDomo Services SL. Licensed under GPL v3 or later
PIDFILE="/var/opendomo/run/mkrootfs.pid"
message() {
echo "#LOADING Saving system configuration ..."
echo
while pstree | grep mkrootfs >/dev/null; do
... | opendomo/OpenDomoOS | src/odbase/usr/local/opendomo/services/syscript/saveConfig.sh | Shell | gpl-3.0 | 939 |
echo 'mmfinder.py -r '^aaaa''
mmfinder.py -r '^aaaa'
echo 'Ctr+D'
cat
mmfinder.py -b metalocgram
echo 'test: OK'
| m4rx9/mmfinder | tests/mmfinder-quick-and-dirty-test.sh | Shell | gpl-3.0 | 113 |
#!/bin/bash
echo "Welcome to McBlog installer"
echo "Your blog's name: "
read blogname
echo "A slogan for your blog: "
read blogslogan
echo "The URL, your blog will available through (WITHOUT / at the end): "
read blogurl
echo "<?php
/**
* Main config file
* @author: Lukas Kolletzki <lukas@kolletzki.info>
* @versio... | kolletzki/McBlog | install.sh | Shell | gpl-3.0 | 1,082 |
#!/bin/bash
######################################################################################
#
# Move To Securely - copies files and removes the original file with 38 pass
#
# Licensed under the GNU GENERAL PUBLIC LICENSE 3
#
# Copyright 2011 Md. Toukir Imam
#
# Depends: SRM (or Secur... | kernt/linuxtools | gnome3-shell/nautilus-scripts/System/File System Management/Move-To-...Securely.sh | Shell | gpl-3.0 | 2,218 |
#!/bin/bash
if [ "$1" == "" -o "$2" == "" ]; then
echo "Usage: ssl.sh <command> <domain>"
echo "commands: reset, resetCA, createCA, createCert, checkCSR, checkCert"
fi
docker image inspect jelix-ldapdao-openssl >/dev/null 2>&1
if [ "$?" == "1" ]; then
docker build -t jelix-ldapdao-openssl openssl/
fi
if [ "$1"... | jelix/ldapdao-module | tests/docker-conf/ssl.sh | Shell | mpl-2.0 | 694 |
#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Usage: bin/run_crontabber.sh
#
# Runs cronrun (used to be called crontabber).
#
# Note: This should be ca... | lonnen/socorro | bin/run_crontabber.sh | Shell | mpl-2.0 | 842 |
#!/usr/bin/env bash
SRC=$(cd $(dirname "$0"); pwd)
source "${SRC}/include.sh"
cd $file_path
#
# Test for SMART start
#
$pm2 start echo.js
should 'process should have been started' 'restart_time: 0' 1
should 'process should have been started' 'online' 1
$pm2 stop echo
should 'process should have been started' 'sto... | PaulGuo/PM25 | PM25-Cli/test/bash/smart-start.sh | Shell | agpl-3.0 | 870 |
#!/bin/sh
echo ""
echo " === System Notes ================================================="
[ -f /etc/banner.notes ] && cat /etc/banner.notes
echo ""
echo " = edit via http://thisnode.info/app/#/notes or /etc/banner.notes ="
echo ""
| libremesh/lime-packages | packages/ubus-lime-utils/files/etc/profile.d/21-system_notes.sh | Shell | agpl-3.0 | 234 |
#!/bin/bash
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out publicCertificate.crt
openssl pkcs12 -export -out privateKey.pfx -inkey privateKey.key -in publicCertificate.crt
| davdiv/tehillah | tls/createCert.sh | Shell | agpl-3.0 | 206 |
#!/bin/sh
../../build/debug/apps/auto-pack-my-sprites images/*.png --size=550x250 \
--format=spine --output=spine
../../build/debug/apps/auto-pack-my-sprites images/*.png --size=550x250 \
--format=plist --output=plist
../../build/d... | j-jorge/pack-my-sprites | example/crop/run.sh | Shell | agpl-3.0 | 607 |
#!/bin/bash
#--------------------------------------------------------------#
# Continuous integration script for Jenkins #
#--------------------------------------------------------------#
#
# Default mode :
# This script will exit with error (exit code 1) if any of its steps fails.
# To change this b... | GATB/simka | scripts/jenkins/tool-simka-build-macos-10.9.5-gcc-4.2.1.sh | Shell | agpl-3.0 | 4,381 |
mkdir dist 2>/dev/null
echo "Building..."
./node_modules/.bin/browserify -t babelify -t workerify --standalone paradone src/index.js |
./node_modules/.bin/uglifyjs -cm --screw-ie8 --preamble "$(cat ./license.preamble.js)" -o dist/paradone.min.js
echo "Done!"
| Paradone/Paradone | scripts/build.sh | Shell | agpl-3.0 | 263 |
#! /bin/sh
if ./clipping $1 $2 2> log > /dev/null; then
:
else
echo "======== clipping $1 $2 ========" >> errors
cat log >> errors
rm -f log
exit 1
fi
if ./clipping $2 $1 2> log > /dev/null; then
:
else
echo "======== clipping $2 $1 ========" >> errors
cat log >> errors
rm -f log
... | slitvinov/gts | test/clipping/clipping.sh | Shell | lgpl-2.1 | 341 |
#! /bin/sh
git log --decorate --stat --name-status --abbrev-commit --date=short \
--pretty=format:"=== %ad %an <%ae>%n%s%n%b%n" -C -C \
| perl -ne '
chomp;
$l = $_;
if (/^===/) {
if ($last ne $l) {
print substr($l, 4), "\n";
}
$last = $l;
$chg = 1;
$empty = 0;
} else {
if ($l) {
print... | BackupTheBerlios/leafnode | makechangelog.sh | Shell | lgpl-2.1 | 469 |
#!/bin/bash
#
# Run a QEMU VM with a QMP control socket to enable ZC support
#
#
# Cloud image download and configuration (as alternative to installing the system with vm-boot-cdrom.sh):
#
# wget https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
# mv xenial-server-cloudimg-amd64... | ntop/PF_RING | userland/examples_zc/kvm/host/vm-boot.sh | Shell | lgpl-2.1 | 875 |
if [ "$CI_PULL_REQUEST" = "9909" ] || [ "$CI_BRANCH" = "pretyping-rm-global" ]; then
elpi_CI_REF=pretyping-rm-global
elpi_CI_GITURL=https://github.com/maximedenes/coq-elpi
coqhammer_CI_REF=pretyping-rm-global
coqhammer_CI_GITURL=https://github.com/maximedenes/coqhammer
equations_CI_REF=pretyping-... | ppedrot/coq | dev/ci/user-overlays/09909-maximedenes-pretyping-rm-global.sh | Shell | lgpl-2.1 | 697 |
#!/bin/sh
# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This program i... | davidl-zend/zenddbi | BUILD/SETUP.sh | Shell | lgpl-2.1 | 8,962 |
#!/bin/sh
timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
timeout 2 ./tcp2run -n 2 -s 2 ../../examples/jac1d 100 50 -10 > test-jac1d-resize-2-2.out
cmp test-jac1d-resize-2-2.out "$(dirname -- "${0}")/test-jac1d-resize-2-2.expected"
| envelope-project/laik | tests/tcp2/test-jac1d-resize-2-2.sh | Shell | lgpl-3.0 | 238 |
#!/bin/bash
############################################################
# makelocal - makefileÄ£°å¿â¹¤¾ß
# copyright by calvin 2013
# calvinwilliams.c@gmail.com
#
# ÓÉ×îСmakefileÎļþ±¾µØ»¯Õ¹¿ª»òÖ¸¶¨Ä¿±êϵͳºêÕ¹¿ª³É¿É¶ÀÁ¢Ê¹ÓÃmakefile
# Óï·¨ : makelocal.sh [ OS ]
# ±¸×¢ : OS¿ÉÒÔÊÇLinux¡¢AIXµÈÖ§³Ö»·¾³£¬»òÖ¸¶¨allÉú³ÉËù... | calvinwilliams/mktpl | makelocal.sh | Shell | lgpl-3.0 | 2,558 |
#!/bin/bash
$GEMFIRE/bin/gemfire stop-locator -port=${locator.port} -dir=locator | icegem/icegem | icegem-common-resources/test/scripts/stop-locator.sh | Shell | lgpl-3.0 | 80 |
#!/bin/bash
# Copyright 2021 The Knative 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 a... | knative-sandbox/kperf | hack/check-eof-newline.sh | Shell | apache-2.0 | 1,615 |
#!/bin/bash
file='cpu'
if [ -a $file ]; then rm $file; fi
(echo $BASHPID)>exec.wa
while (cat <(grep 'cpu ' /proc/stat) <(sleep 1 && grep 'cpu ' /proc/stat) | awk -v RS="" '{print ($13-$2+$15-$4)*100/($13-$2+$15-$4+$16-$5)}')>>$file; do
i=0;
done
| FelipeLimaM/thin-client-raspberry-pi-tcc | thin_client/test/collect_data_cpu.sh | Shell | apache-2.0 | 256 |
export CUDA_VISIBLE_DEVICES=0
python main.py --phase test --dataset_name oil-chinese --lambda_A 500.0 --lambda_B 500.0 --epoch 100 #
python main.py --phase test --dataset_name facades --lambda_A 1000.0 --lambda_B 1000.0 --epoch 200 #
python main.py --phase test --dataset_name sketch-photo --lambda_A 1000.0 --lambda... | duxingren14/DualGAN | test.sh | Shell | apache-2.0 | 468 |
#!/bin/bash
set -ex
env
ls -l
npm install -g create-react-app
npm install
npm run build
cd build
ls -l
aws s3 rm s3://$BROWSER_S3_REF --recursive
aws s3 cp . s3://$BROWSER_S3_REF --recursive
| powellquiring/bigimage | browser/build.bash | Shell | apache-2.0 | 191 |
test_remote_url() {
# shellcheck disable=2153
for url in "${LXD_ADDR}" "https://${LXD_ADDR}"; do
lxc_remote remote add test "${url}" --accept-certificate --password foo
lxc_remote info test:
lxc_remote config trust list | grep @ | awk '{print $2}' | while read -r line ; do
lxc_remote config trust ... | erikmack/lxd | test/suites/remote.sh | Shell | apache-2.0 | 5,645 |
cp -rf images preview/
tocmd_conf -f day1_express.md
| nodeonly/nodejs-tutorial | doc/generate.sh | Shell | apache-2.0 | 54 |
#!/bin/bash
source $POWERTRAIN_DIR/var/ARGS.sh
enforce_args_length 4
VERSION_SCRIPT=${ARGS[3]}
source $POWERTRAIN_DIR/var/NAME.sh ${ARGS[0]}
source $POWERTRAIN_DIR/var/IMAGE.sh ${ARGS[0]} ${ARGS[1]}
source $POWERTRAIN_DIR/var/REGISTRY.sh ${ARGS[2]}
CONTAINERS="$(docker ps | tail -n +2 | grep -v "$REGISTRY""$IMAGE" | gr... | carsdotcom/powertrain | scripts/killOther.sh | Shell | apache-2.0 | 508 |
#!/bin/bash
# Set up ssh key for remote access to GitHub and cindyjs.org
set -e
umask 0077
openssl aes-256-cbc -K "${encrypted_dab4c61606db_key}" -iv "${encrypted_dab4c61606db_iv}" \
-in tools/travis-ssh.enc -out build/travis-ssh -d
umask 0022
set -x
eval "$(ssh-agent -s)"
ssh-add build/travis-ssh
rm build/travis-... | wursterje/CindyJS | tools/travis-deploy.sh | Shell | apache-2.0 | 1,550 |
git add *
git diff
echo "Commit comment: "
read inputval
git commit -m "$inputval"
echo "Branch: "
select mud in "master" "unstable" "dev"; do
case $mud in
master ) git push origin master; break;;
unstable ) git push origin unstable; break;;
dev ) git push origin dev; break;;
esac
done
| noxx2/omnoxtopustv-client-main | togit.sh | Shell | apache-2.0 | 319 |
if [ $TRAVIS_BRANCH == 'master' ]; then
echo 'echoing setup…'
openssl aes-256-cbc -K $encrypted_65820575a537_key -iv $encrypted_65820575a537_iv -in assets/serverQA.key.enc -out assets/serverQA.key -d
sfdx force:auth:jwt:grant --clientid $CONSUMERKEY_QA --jwtkeyfile assets/serverQA.key --username $USERNAME_QA --se... | mployee/sfdx-dreamhouse | travis/setup.sh | Shell | apache-2.0 | 588 |
#!/usr/bin/env bash
# Push caller's shell options (quietly)
{ SHELLOPTS_STACK="${SHELLOPTS_STACK-}|$(set +o); set -$-"; } 2> /dev/null
set -eo pipefail
if [ -z "${TRAVIS_PULL_REQUEST-}" ] || [ -n "${OSTYPE##darwin*}" ]; then set -ux; fi
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)"
WORKSPACE_DIR="${ROOT_DI... | pcmoritz/ray-1 | ci/travis/ci.sh | Shell | apache-2.0 | 18,145 |
#!/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.
#
set -e
dir="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
dockerfile="$dir"/docker/
[ -z "$CONTAINER_TAG" ] && CO... | xasx/roslyn | build/scripts/dockerrun.sh | Shell | apache-2.0 | 1,326 |
sudo pip install chardet
sudo yum install openssl-devel
sudo yum install python-devel
sudo yum install python-lxml
sudo pip install scrapy
| sanyicun/spider | fetch/toutiao/deps.sh | Shell | apache-2.0 | 139 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# Automation script to create specs to build cc-oci-runtime
# Default image to build is the one specified in file configure.ac
# located at the root of the repository.
set -x
AUTHOR=${AUTHOR:-$(git... | erick0z/packaging | kernel/update_kernel.sh | Shell | apache-2.0 | 2,654 |
#!/bin/bash
if [[ "$OSTYPE" == "darwin"* ]]; then
export DATECOMMAND=gdate
export SEDCOMMAND=gsed
else
export DATECOMMAND=date
export SEDCOMMAND=sed
fi
if [[ $1 == "" ]]; then
echo "No configuration file specified"
exit 0
fi
echo "Loading default.cfg"
source default.cfg
echo "Loading $1"
source $1
echo "C... | webdsl/webdsl | utils/benchmark/benchmark.sh | Shell | apache-2.0 | 28,640 |
#/bin/sh
# replacement for make copyout, so container doesn't need
# make tools
chown $EUID:$EGID $GOPATH/bin/wt
cp $GOPATH/bin/wt /tmp
#chown -R $(EUID):$(EGID) /build/libsass
mkdir -p /tmp/lib64
cp /usr/lib/libstdc++.so.6 /tmp/lib64
cp /usr/lib/libgcc_s.so.1 /tmp/lib64
chown -R $EUID:$EGID /tmp
| wellington/wellington | scripts/copyout.sh | Shell | apache-2.0 | 299 |
#!/usr/bin/env bash
docker build ci -t cfplatformeng/quickstart-ci
echo "Hard-coded to push tag 1"
docker tag cfplatformeng/quickstart-ci cfplatformeng/quickstart-ci:1
docker push cfplatformeng/quickstart-ci
| cf-platform-eng/aws-pcf-quickstart | ci/build_docker_image.sh | Shell | apache-2.0 | 209 |
#!/usr/bin/env bash
# Build script for docs
# Builds the docs (all except javadocs and PDFs) from the .rst source files using Sphinx
# Builds the javadocs and copies them into place
# Zips everything up so it can be staged
# REST PDF is built as a separate target and checked in, as it is only used in SDK and not websi... | quantiply-fork/coopr | coopr-docs/docs/build.sh | Shell | apache-2.0 | 7,107 |
#!/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... | axbaretto/beam | release/src/main/scripts/verify_release_build.sh | Shell | apache-2.0 | 6,016 |
#! /usr/bin/sudo /bin/bash
# ---
# RightScript Name: Tomcat Application Backend Detach - chef
# Inputs:
# APPLICATION_NAME:
# Category: Load Balancer
# Description: 'The name of the application. This name is used to generate the path
# of the application code and to determine the backend pool in a load ... | rs-services/server-templates | chef-templates/tomcat/Tomcat_Application_Backend_Detach-chef.sh | Shell | apache-2.0 | 2,058 |
#!/usr/bin/env bash
# A simple script to tidy up a machine. May not be entirely forensically sound.
#
# This script works best if it is never written to disk. Consider storing it
# temporarily in memory (e.g. in /dev/shm). Or if you must, download it directly
# from an Internet location and pipe it directly into BASH:#... | breadtk/anti-forensics | tidy_up.sh | Shell | apache-2.0 | 1,969 |
#!/bin/bash
## \cond
echo "4TEST:$SHELL"
#HEADSTART##############################################################
#
#PROJECT: UnifiedTraceAndLogManager
#AUTHOR: Arno-Can Uestuensoez - acue.opensource@gmail.com
#MAINTAINER: Arno-Can Uestuensoez - acue.opensource@gmail.com
#SHORT: utalm-bash
#LICENSE... | ArnoCan/utalm | src/utalm-bash/tests/utalm-bash/ALPHA/1_basic_test_support/0_assert/conditions/CASE005/CallCase.sh | Shell | apache-2.0 | 2,257 |
#!/bin/bash -ex
echo "$variable"
| TouK/sputnik | src/test/resources/shellcheck/testFiles/oneViolation.sh | Shell | apache-2.0 | 34 |
#!/bin/bash
# Copyright 2019 The Kubernetes 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... | dlorenc/minikube | hack/jenkins/linux_integration_tests_podman.sh | Shell | apache-2.0 | 1,537 |
# ----------------------------------------------------------------------------
#
# Package : che-jwtproxy
# Version : master
# Source repo : https://github.com/eclipse/che-jwtproxy
# Tested on : rhel_7.6
# Script License : Apache License, Version 2.0
# Maintainer : Bivas Das <bivasda1@ib... | ppc64le/build-scripts | e/eclipse-che/che-jwtproxy/che-jwtproxy_7.9.1_rhel_7.6.sh | Shell | apache-2.0 | 2,146 |
#!/bin/bash
/root/spark-ec2/copy-dir /root/tachyon > /tmp/spark-ec2_tachyon.log
/root/tachyon/bin/tachyon format > /tmp/spark-ec2_tachyon.log
sleep 1
/root/tachyon/bin/tachyon-start.sh all Mount > /tmp/spark-ec2_tachyon.log
| romanini/spark-ec2 | tachyon/setup.sh | Shell | apache-2.0 | 228 |
#!/bin/bash
# the folder this script is in
BIN_DIR=$(cd "`dirname "$0"`" && pwd)
# additional binaries are in
ARCH=$(uname -m)
# node script we are going to run
SCRIPT="${BIN_DIR}/../lib/node_modules/ares-webos-sdk/bin/ares-package.js"
# check file path
if [ ! -e "$SCRIPT" ]; then
SCRIPT="${BIN_DIR}/ares-packag... | recurve/ares-ecosystem | node_modules/ares-webos-sdk/bin/ares-package.sh | Shell | apache-2.0 | 491 |
#!/bin/bash
TOP=`pwd`
TRUE=0
FALSE=1
TARGETS=""
VERBOSE=$FALSE
FAILFAST=$FALSE
BUILD_OUTPUT_FILTER='^BUILD '
TEST_OUTPUT_FILTER='^BUILD '
process_args()
{
if [ $# -eq 0 ]
then
usage
fi
while [ $# -gt 0 ]
do
case $1 in
-h) usage ; shift 1 ;;
-v) verbose ; shi... | huminzhi/SalesforceMobileSDK-Android | tools/sdk.sh | Shell | apache-2.0 | 5,863 |
#!/usr/bin/env bash
# Copyright 2012 Cloudera 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 agre... | cloudera/RecordServiceClient | tests/load-test-data-s3.sh | Shell | apache-2.0 | 1,357 |
#!/bin/bash
# Copyright 2020 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 i... | googleapis/java-pubsublite-spark | .kokoro/readme.sh | Shell | apache-2.0 | 1,581 |
#!/bin/bash
docker build -t="trav/ansible-parted" .
| thetrav/ansible-parted | build.sh | Shell | apache-2.0 | 53 |
#!/bin/bash
echo '[*] Regenerating SSH keys'
rm -v /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
echo '[*] Done'
exit 0
| MainNerve/NetforceDefender | files/etc_scripts/regenerate_ssh_keys.sh | Shell | apache-2.0 | 127 |
#!/bin/bash
# DSP install/update utility
# Copyright (C) 2012-2013 DreamFactory Software, Inc. All Rights Reserved
#
# This file is part of the DreamFactory Services Platform(tm) (DSP)
# DreamFactory Services Platform(tm) <http://github.com/dreamfactorysoftware/dsp-core>
# Copyright 2012-2013 DreamFactory Software, Inc... | TheDleo/dsp-core | scripts/installer.sh | Shell | apache-2.0 | 8,667 |
#!/bin/bash
#
# Copyright 2016 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 appl... | GoogleCloudPlatform/cassandra-cloud-backup | cassandra-cloud-backup.sh | Shell | apache-2.0 | 45,683 |
#!/bin/sh
# Script for installing the gt.m and its minimal configuration needed to compile gogtm
# Version for ubuntu and travis
set -ex
sudo rm -rf /tmp/gtm_install
mkdir /tmp/gtm_install
cd /tmp/gtm_install
wget https://downloads.sourceforge.net/project/fis-gtm/GT.M-amd64-Linux/V6.3-001A/gtm_V63001A_linux_x8664_pro.... | szydell/gogtm | tools/test.sh | Shell | apache-2.0 | 701 |
#!/bin/bash
# Copyright 2019 Foursquare Labs Inc. All Rights Reserved.
set -eo pipefail
if [[ -z "${BUILD_ROOT+x}" ]]; then
echo "Run this through upkeep run!"
echo "e.g. ./upkeep run $0"
exit 1
fi
set -eo pipefail
rm -rf "${FSQIO_VENV_BOOTSTRAP}"
| foursquare/fsqio | build-support/fsqio/upkeep/scripts/delete_fsqio_venv.sh | Shell | apache-2.0 | 258 |
#!/bin/bash
set -eu pipefail
function compare_golden_file() {
# strip out the first part of the invocation line, which looks like either:
# produced by ./test_builder -o test_builder_golden_configs ...
# or
# produced by ./test_builder -o - ...
local invocation="$(head -n 1 "$1" | cut -f 7- "-d ")"
# Invok... | google/distbench | test_builder/test_builder_test.sh | Shell | apache-2.0 | 719 |
#this script load the database to mysql in order to convert it
#use with care or find an alternative
#load sql script to mysql
echo "drop database celardb;" | mysql -u root
mysql -u root < celar_db.sql
#export the db to a "compatible" sql script
mysqldump -u root celardb --compatible=postgresql > celardb_compatible... | CELAR/celar-server | celar-db/src/main/resources/convert.sh | Shell | apache-2.0 | 511 |
#!/bin/sh
foo='LABEL co.tutum.yml="'
foo1=$(yaml2json /image/tutum.yml | tr "\n" " " | sed 's/"/\\"/g')
foo2='"'
echo "" >> /image/Dockerfile
echo $foo$foo1$foo2 >> /image/Dockerfile | gonzalopericacho/tutumlabel | entrypoint.sh | Shell | apache-2.0 | 182 |
#!/usr/bin/env bash
# Install nfs
sudo apt-get update
sudo apt-get install nfs-client openssh-server build-essential mpich2 git -y
echo "127.0.0.1 localhost
192.168.56.110 hpcmaster" >> /etc/hosts
# perl -e 'printf("%s\n", crypt("mpiu", "password"))'
useradd -m -p pakv0N1q//yG2 -s /bin/bash mpiu
echo 'mpiu ALL=(... | CALlanoR/virtual_environments | hpc/node.sh | Shell | apache-2.0 | 1,183 |
#!/bin/bash
STR="Test 2"
echo $STR
./hello test test2
| VictorRodriguez/personal | yaact/basic/tests/test_2.sh | Shell | apache-2.0 | 66 |
#!/usr/bin/bash
/opt/logstash/bin/logstash -f syslog_example.conf
| henk52/henk52-logstash | examples/run_logstash.sh | Shell | apache-2.0 | 66 |
#!/usr/bin/env bash
# vim: fdm=marker
# join MPN feats into canonical kaldidata: realize all dynamic things
#***************************************************************************
# Copyright 2011-2015, cybeliak
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except ... | cybeliak/mispronounceableness | mpn_steps/feats/canonicalize_kaldi_feats.sh | Shell | apache-2.0 | 2,550 |
#!/usr/bin/env bash
set -e
if ! [[ "$0" =~ "./scripts/run/etcdlabs.sh" ]]; then
echo "must be run from repository root"
exit 255
fi
./backend-web-server -web-port 2200 &
yarn start-prod &
wait
| gyuho/etcdlabs | scripts/run/etcdlabs.sh | Shell | apache-2.0 | 199 |
#!/bin/bash
cat << X
dig +short myip.opendns.com @resolver1.opendns.com
wget -qO- http://ipecho.net/plain | xargs echo
wget -qO - icanhazip.com
curl ifconfig.co
curl ifconfig.me
curl icanhazip.com
curl --disable ipinfo.io/json
{
"ip": "86.183.80.65",
"hostname": "host86-183-80-65.range86-183.btcentralplus.com"... | janth/linux-snippets | getmyip.sh | Shell | bsd-2-clause | 484 |
#
# Common variables that can be used by xbps-src.
#
# SITE used for ditfiles mirrors. For use in $distfiles.
set -a
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"
NONGNU_SITE="http://download.savannah.nongnu.org/releases"
UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
XORG_SITE="https://www.x.or... | Bubble-be/void-packages | common/environment/setup/misc.sh | Shell | bsd-2-clause | 895 |
#!/bin/bash
clean(){
if [ "${DEBUG}" = true ]; then
sleep 20
# Copy the temporary logfile to the destination key
cp "${DEBUG_LOG}" "${DST_MNT}/groomer_debug_log.txt"
fi
echo "GROOMER: Cleaning up in mount_keys.sh."
rm -rf "${DST_MNT}/IN_PROGRESS.txt"*... | Rafiot/KittenGroomer | circlean_fs/root_partition/opt/groomer/mount_dest.sh | Shell | bsd-3-clause | 2,187 |
#!/bin/bash
fw_depends java
| seem-sky/FrameworkBenchmarks | grizzly-jersey/install.sh | Shell | bsd-3-clause | 30 |
#!/bin/bash
mirahc -d compile/ tvdirector.mirah tvdirector/*.mirah
| wccrawford/TV-Director | compile.sh | Shell | bsd-3-clause | 68 |
#!/bin/bash
docker-compose run --rm poster-web python manage.py "$@"
| gis4dis/poster | dcmanage.sh | Shell | bsd-3-clause | 70 |
#!/bin/bash
# author: Liang Gong
if [ "$(uname)" == "Darwin" ]; then
# under Mac OS X platform
NODE='node'
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# under GNU/Linux platform
NODE='nodejs'
fi
cd directory-traversal/pytservce
RED='\033[0;31m'
BLUE='\033[0;34m'
GREEN='\033[0;32... | JacksonGL/NPM-Vuln-PoC | directory-traversal/pytservce/PoC.sh | Shell | bsd-3-clause | 859 |
#!/bin/bash -e
# FLAC - Free Lossless Audio Codec
# Copyright (C) 2001-2009 Josh Coalson
# Copyright (C) 2011-2013 Xiph.Org Foundation
#
# This file is part the FLAC project. FLAC is comprised of several
# components distributed under different licenses. The codec libraries
# are distributed under Xiph.Org's... | fredericgermain/flac | test/test_libFLAC.sh | Shell | bsd-3-clause | 1,275 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.