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
#This script sets up a microservices environment based on the definitions in settings.yaml
#Author: Naveen Joy
#Usage:
#./setup.sh # execute all playbooks resulting in launching instances, deploying docker and kubernetes
#./setup.sh --tags "instances" # execute launch instances playbook... | naveenjoy/microservices | setup.sh | Shell | apache-2.0 | 1,967 |
#!/bin/bash
#
# Copyright IBM Corp All Rights Reserved
#
# SPDX-License-Identifier: Apache-2.0
#
# This script will orchestrate a sample end-to-end execution of the Hyperledger
# Fabric network.
#
# The end-to-end verification provisions a sample Fabric network consisting of
# two organizations, each maintaining two ... | eliza60309/fab | first-network/byfn.sh | Shell | apache-2.0 | 13,623 |
#!/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... | lyft/incubator-airflow | scripts/ci/ci_pylint_tests.sh | Shell | apache-2.0 | 2,467 |
#!/bin/zsh -
#===============================================================================
#
# FILE: nvidia-osd.sh
#
# USAGE: ./nvidia-osd.sh
#
# DESCRIPTION: Shows in OSD some nvidia stats
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: ... | Patola/patolascripts | nvidia-osd.sh | Shell | apache-2.0 | 1,113 |
#!/bin/bash
source ./_setenv.sh
rm -vf *log
rm -vf *png
rm -vf osioperf.py*
rm -rvf $JOB_BASE_NAME-$BUILD_NUMBER-*
rm -rvf common.git
| ldimaggi/fabric8-test | perf_tests/osioperf/scripts/workshop-demo/_clean-locally.sh | Shell | apache-2.0 | 136 |
#!/bin/bash
mocha --harmony-proxies --timeout 100000 bin/test/Test.js #--reporter progress
| Samsung/mimic | scripts/runtests.sh | Shell | apache-2.0 | 92 |
rm -rf *o a.out core\.* *.so __pycache__ .*exe *.ttrie
| hexforge/pulp_db | src/pulp_db/kds/clean.sh | Shell | apache-2.0 | 56 |
#!/bin/bash -eu
#
# Copyright 2017 Open GEE Contributors
#
# 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 ... | tst-ahernandez/earthenterprise | earth_enterprise/src/fusion/tools/gee_test/publish_historical.sh | Shell | apache-2.0 | 1,888 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey). Apache 2.0.
# This script does MPE or MMI or state-level minimum bayes risk (sMBR) training
# of neural nets.
# Begin configuration section.
cmd=run.pl
num_epochs=4 # Number of epochs of training
learning_rate=0.00002
effective_lr... | thorsonlinguistics/german-neutralization | steps/nnet2/train_discriminative.sh | Shell | apache-2.0 | 17,976 |
#!/bin/bash
# Copyright (C) 2017 SUSE 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 ... | rhatdan/runc | script/release.sh | Shell | apache-2.0 | 5,643 |
#!/bin/sh
selenium() {
export DISPLAY=:0
java -Dwebdriver.chrome.driver=/usr/lib/chromium-browser/chromedriver -jar selenium-html-runner-3.5.3.jar -htmlSuite "*googlechrome" "http://localhost:8080/vivo/" "suites/$1.html" "/work/reports/$1/"
}
selenese() {
export DISPLAY=:0
java -jar selenese-runner.jar --widt... | grahamtriggs/acceptance-tests | provision/selenium.sh | Shell | apache-2.0 | 1,986 |
/home/team1/seokwoo/storm/bin/storm $*
| dke-knu/i2am | sh-dir/stormCmd.sh | Shell | apache-2.0 | 39 |
#!/bin/bash
# Set pipefail to get status code of xcodebuild if it fails
set -v -o pipefail
# Test
xcodebuild -enableCodeCoverage YES -project SwiftGraph.xcodeproj -scheme SwiftGraph test | xcpretty
# xcodebuild -enableCodeCoverage NO -project SwiftGraph.xcodeproj -scheme SwiftGraphPerformanceTests test | xcpretty
| davecom/SwiftGraph | BuildScripts/osx_script.sh | Shell | apache-2.0 | 315 |
#!/bin/bash
set -ex
rm -rf example.git checkout terraform.tfstate terraform.tfstate.backup
mkdir example.git
cd example.git
git init
touch .exists
git add .exists
git commit -m"Initial commit"
git checkout -b move_HEAD
cd ..
terraform apply
terraform apply
cd checkout
git fetch
# We did do a commit
git log origin/maste... | Yelp/terraform-provider-gitfile | test/test_symlink/test.sh | Shell | apache-2.0 | 477 |
#!/bin/sh
exec /usr/bin/spawn-fcgi -n -P /run/fcgiwrap.pid -F '1' -s '/run/fcgiwrap.socket' -u 'nginx' -U 'nginx' -g 'nginx' -G 'nginx' -- /usr/bin/fcgiwrap -f
| amazeeio/lagoon | local-dev/git/service/fcgiwrap.sh | Shell | apache-2.0 | 160 |
# Prerequs
# - development happens on a branch != master, changes are commited
# - ssh keys set up for communication with nodes
# - devstack runs under the stack user
# - script resides in the git repo
# list of hostnames/ips that should be updated
# nodes=( hostname1 hostname2 192.168.0.1 )
nodes=( )
# list of devst... | scheuran/openstack-tooling | development/update_devstack_nodes.sh | Shell | apache-2.0 | 1,074 |
#!/bin/bash
# Copyright 2017 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
set -x
. $(dirname $0)/../common.sh
rm -rf $CORPUS fuzz-*.log
mkdir $CORPUS
[ -e $EXECUTABLE_NAME_BASE ] && ./$EXECUTABLE_NAME_BASE -artifact_prefix=$CORPUS/ -jobs=$JOBS -workers=$JOBS $LIBFU... | google/fuzzer-test-suite | lcms-2017-03-21/test-libfuzzer.sh | Shell | apache-2.0 | 432 |
#!/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 ... | vdogaru/incubator-quarks | buildTools/merge_release.sh | Shell | apache-2.0 | 2,476 |
#!/bin/bash
# Copyright 2017-2020 The Verible 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 la... | chipsalliance/verible | verilog/tools/diff/diff_format_lex_error_test.sh | Shell | apache-2.0 | 1,336 |
#!/bin/bash
#
# by Haraguroicha
tmpNumber=`date +%Y%m%d%H%M%S`
function uptimed() {
t=$(uptime | sed -e 's/,//g' | awk '{print $2" "$3" "$4", "$5}')
tup=$(echo $t | grep user)
ttup=$(echo $t | grep mins)
if [ "$tup" = "" ]
then
if [ "$ttup" = "" ]
then
tt=$t
else
tt=$(echo $t | sed -e 's/,//g' | awk ... | CPRTeam/shellTools | if.sh | Shell | apache-2.0 | 4,462 |
#!/bin/env/bash
set -euo pipefail
SOURCE_DIR=$1
NEW_CHECKSUM=$(./falco --list -N | sha256sum | awk '{print $1}')
CUR_CHECKSUM=$(grep FALCO_FIELDS_CHECKSUM "${SOURCE_DIR}/userspace/engine/falco_engine_version.h" | awk '{print $3}' | sed -e 's/"//g')
if [ "$NEW_CHECKSUM" != "$CUR_CHECKSUM" ]; then
echo "Set of fi... | draios/falco | userspace/falco/verify_engine_fields.sh | Shell | apache-2.0 | 499 |
#!/bin/bash
cd /opt/kylo/setup
wget https://archive.apache.org/dist/activemq/5.15.0/apache-activemq-5.15.0-bin.tar.gz -P ./activemq
# Modify to DEB file if necessary
# wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.0/elasticsearch-2.3.0.deb -P ./ela... | peter-gergely-horvath/kylo | install/setup/generate-offline-install.sh | Shell | apache-2.0 | 1,069 |
if [ $1 = '--stats' ]; then
shift
STATS=1
fi
RUN_DIR=~/iSDX
RIBS_DIR=$RUN_DIR/xrs/ribs
TEST_DIR=$1
LOG_FILE=SDXLog.log
set -x
case $2 in
(1)
if [ ! -d $RIBS_DIR ]
then
mkdir $RIBS_DIR
fi
cd $RUN_DIR
sh pctrl/clean.sh
rm -f $LOG_FILE
py... | h2020-endeavour/iSDX | launch.sh | Shell | apache-2.0 | 1,511 |
#!/usr/bin/env bash
if [ "$TRAVIS_BRANCH" == 'develop' ] || [ "$TRAVIS_BRANCH" == 'master' ]; then
if [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
mvn deploy -DskipTests=true -P sign --settings .travis/settings.xml
fi
fi
| intuit/Autumn | .travis/deploy.sh | Shell | apache-2.0 | 229 |
#!/usr/bin/env bash
protoc --proto_path=src/main/proto -I=../proto-actor/src/main/proto --java_out=src/main/java/ src/main/proto/actor/proto/examples/remotebenchmark/*.proto
| AsynkronIT/protoactor-kotlin | examples/build-protos.sh | Shell | apache-2.0 | 175 |
git config credential.helper 'cache --timeout=9000'
git add .
git commit -m "auto push"
git push
| stevensia/stevensia.github.io | push.sh | Shell | apache-2.0 | 97 |
source ./lib1.sh
source ./lib2.sh
INFO "Loaded both"
| panta82/bash-tools | sandbox/conditional_fns/main.sh | Shell | apache-2.0 | 54 |
python ./setup.py bdist_egg
| nherbaut/jdev2015T6A01 | worker/build_egg.sh | Shell | apache-2.0 | 28 |
#!/bin/bash
# Copyright 2014 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... | michaeltchapman/kubernetes | cluster/gce/config-test.sh | Shell | apache-2.0 | 3,376 |
DIR="$(cd "$(dirname "$0")" && pwd)"
source $DIR/setenv.sh
SCRIPT_NAME=`basename "$0"`
if [ -z "$1" ]
then
$DIR/jra-util/jra-util-print-service-usage-info.sh $SCRIPT_NAME
exit 1;
fi
CLUSTER_NODE_INFO_STRING=$(infra-swarm-info-manager-node.sh info-only)
SWARM_MANAGER_NODE_IP="$(printf "$CLUSTER_NODE_INFO_STRING... | joericearchitect/shared-infra | scripts/infra-swarm-info-service-urls.sh | Shell | apache-2.0 | 6,803 |
#!/bin/bash
# Script to download deployment unit from a Maven artifact repository.
releaseRepo=http://mvnrepo.cantara.no/content/repositories/releases
snapshotRepo=http://mvnrepo.cantara.no/content/repositories/snapshots
groupId=net/whydah/identity
artifactId=UserIdentityBackend
V=SNAPSHOT
if [[ $V == *SNAPSHOT* ]];... | Cantara/Whydah | config/Docker/uib/uib-all-in-one/toRoot/update-service.sh | Shell | apache-2.0 | 1,494 |
#!/bin/bash
echo "dummy implementation of git tool was called with $*"
if [ "$1" == "push" ]; then
echo "Push command detected; dump of parameters passed:"
echo "1: $1"
echo "2: $2"
echo "3: $3"
if [ "$2" != '--receive-pack="git receive-pack receive_pack dummy"' ]; then
echo "Receive pack parameter w... | eaglerainbow/gerritautopush | test/git_check_for_receivepack.sh | Shell | apache-2.0 | 591 |
#!/bin/sh
# ----------------------------------------------------------------------------
# Copyright 2001-2006 The Apache Software 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... | funkygao/gafka | cmd/gk/command/template/helix-core-0.6.7/bin/run-helix-controller.sh | Shell | apache-2.0 | 4,044 |
#!/bin/sh
./gradlew clean
infer run -- ./gradlew build
| flide/8Vim | cicd_scripts/inferAnalysis.sh | Shell | apache-2.0 | 55 |
#!/usr/bin/env 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 a... | googleapis/google-cloud-cpp-bigquery | ci/kokoro/docker/build-in-docker-bazel.sh | Shell | apache-2.0 | 2,561 |
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
M_IP=10.10.1.107
C_IP=10.10.10.107
D_IP=10.10.20.107
#RABBIT_PASS=secrete
PASSWORD=PASS
#ADMIN_TOKEN=ADMIN
#MAIL=jshan@nm.gist.ac.kr
#1.Install the packages:
sudo apt-get install -y openstack-dashboard
#2.Edit t... | SmartX-Box/OpenStack-Installation | dashboard.sh | Shell | apache-2.0 | 2,159 |
#!/bin/bash
#PYTHONPATH=. pyinstaller --onefile pyportify/views.py
#PYTHONPATH=. pyinstaller --onefile pyportify/copy_all.py
PYTHONPATH=. pyinstaller pyportify.spec
#mv dist/copy_all dist/pyportify-copyall
#cp -R pyportify/static dist/
| rckclmbr/pyportify | make_exe.sh | Shell | apache-2.0 | 238 |
#!/bin/bash
sudo -u postgres psql $3 -c "SELECT * FROM $1 WHERE $2 ;" | project-asap/IReS-Platform | resources/unusedAsapLibraryComponents/Maxim/operators/Wind_Filter_Test_Postgres/Postgres_Filter.sh | Shell | apache-2.0 | 69 |
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License")... | charlesporter/incubator-metron | metron-analytics/metron-maas-service/src/main/scripts/maas_deploy.sh | Shell | apache-2.0 | 1,694 |
#!/bin/bash
# Copyright (c) 2016. Zuercher Hochschule fuer Angewandte Wissenschaften
# 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/... | icclab/cyclops-dashboard | install/install_mvn_java.sh | Shell | apache-2.0 | 1,309 |
#!/usr/bin/env bash
if [ ! -d "$PROTOBUF" ]; then
echo "Please set the PROTOBUF environment variable to your clone of google/protobuf."
exit -1
fi
if [ ! -d "$GOOGLEAPIS" ]; then
echo "Please set the GOOGLEAPIS environment variable to your clone of googleapis/googleapis."
exit -1
fi
PROTOC="protoc --dart_out... | grpc/grpc-dart | example/googleapis/tool/regenerate.sh | Shell | apache-2.0 | 1,083 |
#! /bin/bash
sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP
| last-login/TCPFuzz | setup_iptables.sh | Shell | bsd-2-clause | 73 |
#!/bin/bash
## ec2-init.sh
##
## Simple bash script to use during boot for a AWS instance to dynamically set the hostname
## from a value provided as userdata.
##
## Copyright (C) 2015 KISS IT Consulting <http://www.kissitconsulting.com/>
##
## Redistribution and use in source and binary forms, with or without
## mod... | kissit/kiss-ops | cloud/ec2-init.sh | Shell | bsd-2-clause | 2,361 |
#!/bin/sh
# karen was here o u o
{
karentools release "net.angelxwind.preferenceorganizer2"
exit
} | angelXwind/PreferenceOrganizer2 | release-karentools.sh | Shell | bsd-2-clause | 102 |
if ! [ -e ~/.nvm/nvm.sh ]; then
curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
fi
source ~/.nvm/nvm.sh
nvm list 0.10 || nvm install -s 0.10
nvm exec 0.10 which grunt || nvm exec 0.10 npm install -g grunt-cli jasmine
nvm list 0.11 || nvm install -s 0.11
nvm exec 0.11 which grunt || n... | mross-pivotal/node-gemfire | bin/vagrant_node.sh | Shell | bsd-2-clause | 504 |
# Install dajaxice and dajax, for easier Ajax coding.
easy_install django-dajaxice
easy_install django-dajax
| DevangS/CoralNet | changes_for_commits/bash/bash_3749eddf33ad6bc92e523cc9eda943823aff46b5.sh | Shell | bsd-2-clause | 110 |
#!/bin/bash
pushd $COGU_HOME >> /dev/null
/jupyter_scripts/j2cli.sh
/jupyter_scripts/setup_git_filters.sh
popd
| CognitiveScale/docker-demo-images | fromJupyterDemo/run.sh | Shell | bsd-3-clause | 112 |
#!/bin/bash
set -e
go get github.com/dvyukov/go-fuzz/go-fuzz
go get github.com/dvyukov/go-fuzz/go-fuzz-build
go-fuzz-build github.com/stephens2424/php/parser
go-fuzz -bin php-fuzz.zip -workdir testdata/fuzzdir -master ":1234"
| stephens2424/php | fuzz.sh | Shell | bsd-3-clause | 229 |
#!/bin/bash
#
# Install the Google Cloud SDK
#
curl -o /tmp/cloud-sdk.tar.gz https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-367.0.0-linux-x86_64.tar.gz
mkdir /tmp/cloud-sdk
tar -xf /tmp/cloud-sdk.tar.gz --directory /tmp/cloud-sdk
cd /tmp/cloud-sdk/google-cloud-sdk
./install.sh -q --additio... | all-of-us/raw-data-repository | ci/install_google_sdk.sh | Shell | bsd-3-clause | 485 |
#!/bin/bash
# TODO: Test config for OSX
# TODO: Determine appropriate architecture (i.g. "args+=(arch=nocona)")
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [ -z "$3" ]; then
ARCH=x86-64
else
ARCH=$3
fi
echo Architecture is set to $ARCH
if [ "$1" = "clean" ] || [ "$1" = "build" ]; then
declare -a ar... | omco/geode | metaBuild.sh | Shell | bsd-3-clause | 2,210 |
#! /bin/bash
set -o pipefail
checkLastCmdStatus() {
LAST_STATUS=$?
if [ $LAST_STATUS -ne 0 ] ; then
sudo iptables-restore < $DIR/iptable
echo "exiting abnormally with status $LAST_STATUS - aborting/failing test"
exit $LAST_STATUS
fi
}
checkLastCmdStatusExpectingFailure() {
LAST_STATUS=$?
if [ $... | 1yvT0s/wdt | wdt_download_resumption_test.sh | Shell | bsd-3-clause | 10,287 |
#!/bin/sh
temp=/tmp/GrowlMail-Installation-Temp
running="$temp/running"
mkdir -p "$temp"
if [ `/usr/bin/pgrep Mail` ]; then
touch $running
fi
echo $running
#####
# We politely asked the user to quit Mail in the installer intro. Now
# we'll request the same a bit more strongly.
####
osascript -e "quit app \"Mai... | rudyrichter/GrowlMail | GrowlMail/product/components/scripts/preflight.sh | Shell | bsd-3-clause | 464 |
#!/bin/bash
# Copyright (c) 2012 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.
# Script assumed to be run in native_client/
if [ "x${OSTYPE}" = "xcygwin" ]; then
cd "$(cygpath "${PWD}")"
fi
if [[ ${PWD} != */nativ... | yantrabuddhi/nativeclient | buildbot/buildbot_toolchain.sh | Shell | bsd-3-clause | 5,961 |
#!/bin/sh
# Build unbound distribution tar from the SVN repository.
#
# Copyright (c) 2007, NLnet Labs. All rights reserved.
#
# This software is open source.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# R... | thozza/unbound | makedist.sh | Shell | bsd-3-clause | 15,709 |
#!/bin/bash
#Script to run the json builders!
#BE SURE TO RUN `mvn package` BEFORE DOING THIS!
#JSON files will be stored in json/ directory
java -cp target/original-UserAgentUtils-1.16-SNAPSHOT.jar:target/UserAgentUtils-1.16-SNAPSHOT.jar fauxsoup.Extract
| kyle-neal/user-agent-utils | run.sh | Shell | bsd-3-clause | 256 |
#!/bin/bash -p
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# usage: keystone_install.sh update_dmg_mount_point
#
# Called by the Keystone system to update the installed application with a new
# ve... | endlessm/chromium-browser | chrome/installer/mac/keystone_install.sh | Shell | bsd-3-clause | 62,402 |
#!/bin/bash
# Set up needed ENV variables.
set -o allexport
source ./django/sierra/sierra/settings/.env
USERID=$(id -u)
GROUPID=$(id -g)
set +o allexport
DDPATH=./docker_data
SIERRA_FIXTURE_PATH=./django/sierra/base/fixtures
SCRIPTNAME="$(basename "$0")"
DEV_SERVICES=("default-db-dev" "solr-dev" "redis-celery" "redis... | unt-libraries/catalog-api | init-dockerdata.sh | Shell | bsd-3-clause | 14,021 |
#default message
if [ ${message+x} ]; then
msg=$message
else
msg="Push from Bitrise"
fi
echo "app_id: $app_id"
echo "rest_key: $rest_key"
echo "message: $message"
res=$(curl -X POST \
-H "X-Parse-Application-Id: $app_id" \
-H "X-Parse-REST-API-Key: $rest_key" \
-H "Content-Type: application/json" \
-d "{
... | bitrise-io/steps-push-notification-with-parse | step.sh | Shell | mit | 545 |
#!/bin/bash
whitelist="logo-en"
for img in `ls img | grep '.pdf' | sed 's/\.pdf$//'`; do
skip=""
for white in $whitelist; do
if [ "$white" == "$img" ]; then
skip="true"
fi
done
if [ -z "$skip" ]; then
echo "Converting img/$img.pdf to imga/$img.pdf..."
echo
... | oskopek/TransportEditor | transport-docs/manuals/convert-images.sh | Shell | mit | 513 |
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
# unco... | scrisenbery/dotfiles | config.d/_shellrc.d/_bashrc.d/05-color-prompt.bash | Shell | mit | 1,170 |
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
export CONTAINER_NAME=ci_native_old
export DOCKER_NAME_TAG=ubuntu:18.04
export PACK... | gridcoin/Gridcoin-Research | ci/test/00_setup_env_native_old.sh | Shell | mit | 948 |
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
PWD=$(cd $(dirname "$0") && pwd -P)
# Find closest tag
CLOSEST_VERSION=$(git describe --tags --abbrev=0)
# Install git-chglog binary
if ! command -v git-chglog >/dev/null ; then
make git-chglog
fi
# Generate Changelog
git-chglog --config ${PWD}/... | cloud-ca/terraform-provider-cloudca | scripts/release/release-note.sh | Shell | mit | 526 |
#!/bin/sh
typedoc --includeDeclarations --out out1 --module commonjs node-opcua/source node-opcua-common/source node-opcua-client/source node-opcua-variant/source node-opcua-basic-types/source node-opcua-common/source node-opcua-constants/source node-opcua-data-value/source node-opcua-date-time/source node-opcua-gui... | node-opcua/node-opcua | packages/makedoc.sh | Shell | mit | 384 |
2to3 -w \
protobuf/descriptor.py \
protobuf/internal/cpp_message.py \
protobuf/internal/decoder.py \
protobuf/internal/python_message.py \
protobuf/internal/type_checkers.py \
protobuf/internal/message_factory_test.py \
protobuf/internal/message_factory_python_test.py \
protobuf/internal/message_python_test.py \
protob... | katharosada/botchallenge | client/google/run2to3.sh | Shell | mit | 544 |
echo "Now edit each of the signup posts that you've made over the past week, and use double-tildes to line-out the content, and copy this into a new"
echo "paragraph, substituting the new month's name and URL:"
echo ""
echo "**[The StayClean 2017 year-long challenge is now in progress](https://www.reddit.com/r/pornfree... | foobarbazblarg/stayclean | stayclean-2017/after-the-last-day-of-the-year-step-4.sh | Shell | mit | 389 |
# hints/dec_osf.sh
# * If you want to debug perl or want to send a
# stack trace for inclusion into an bug report, call
# Configure with the additional argument -Doptimize=-g2
# or uncomment this assignment to "optimize":
#
#optimize=-g2
#
# If you want both to optimise and debug with the DEC cc
# you must have -g3, ... | atmark-techno/atmark-dist | user/perl/hints/dec_osf.sh | Shell | gpl-2.0 | 11,976 |
#!/bin/sh
#
# Copyright (c) 2010 Johan Herland
#
test_description='Test merging of notes trees'
. ./test-lib.sh
test_expect_success setup '
test_commit 1st &&
test_commit 2nd &&
test_commit 3rd &&
test_commit 4th &&
test_commit 5th &&
# Create notes on 4 first commits
git config core.notesRef refs/notes/x &&
... | brunosantiagovazquez/git | t/t3308-notes-merge.sh | Shell | gpl-2.0 | 10,252 |
#!/bin/bash
lang=$1
appname="gecosws-config-assistant"
if [ "" == "$lang" ]
then
lang="es"
fi
podir="../po"
potfilesin="${podir}/POTFILES.in"
potfile="${podir}/${appname}.pot"
pofile="${podir}/${lang}.po"
pofilemerged="${podir}/${lang}.merged.po"
mofile="${podir}/${appname}.mo"
find .. -type f -name "*.py" > $... | rcmorano/gecosws-config-assistant | script/i18n.sh | Shell | gpl-2.0 | 614 |
#!/bin/bash
#
# Test the unapplied code
#
source $REG_DIR/scaffold
cmd setup_repo
cmd guilt-unapplied
guilt-series | while read n; do
cmd guilt-push
cmd guilt-unapplied
cmd list_files
done
| trygvis/guilt | regression/t-024.sh | Shell | gpl-2.0 | 198 |
#!/bin/bash
numInstances=100
if [[ -z "$instanceGen" || -z "$dflatArguments" || -z "$monolithicEncoding" ]]; then
echo "Environment variables not set"
exit 1
fi
for instance in $(seq 1 $numInstances); do
seed=$RANDOM
instance=$(mktemp)
trap "rm -f $instance" EXIT
$instanceGen $seed > $instance || exit
grin... | bbliem/dflat | applications/test_decision.sh | Shell | gpl-3.0 | 799 |
#!/usr/bin/env bash
# usage: gcc-mips.sh "some_file.c" X
# where X is an (optional) optimisation level eg "2" => -O2
# compiler will output to "some_file.s"
#
# requires `g++-5-mips-linux-gnu` package
which mips-linux-gnu-g++-5 > /dev/null
if [ $? -ne 0 ]; then
echo "the cross-compiler is not installed."
echo... | Simulizer/Simulizer | work/gcc-mips.sh | Shell | gpl-3.0 | 6,578 |
# HardeningOne - A hardening tool for Linux
# Copyright (C) 2010 Author
# Seg 18 Out 2010 09:49:01 BRST
# São Paulo-SP
# Brazil
# Author:
# * Mauro Risonho de Paula Assumpção aka firebits <firebits at backtrack dot com dot br>
#
# This program is free software; you can redistribute it and/or modify
# it under... | firebitsbr/HardeningONE | ok/check_php5_proc_open.sh | Shell | gpl-3.0 | 1,600 |
# vim: ft=sh:sw=2:et
tForemanSetLang() {
# facter 1.7- fails to parse some values when non-US LANG and others are set
# see: http://projects.puppetlabs.com/issues/12012
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
}
tForemanVersion() {
(
if tPackageExists foreman; then... | cfouant/katello-deploy | bats/foreman_helper.bash | Shell | gpl-3.0 | 468 |
#!/bin/bash
# Copyright (c) 2013 Alberto Otero de la Roza <aoterodelaroza@ucmerced.edu>,
# Felix Kannemann <felix.kannemann@dal.ca>, Erin R. Johnson <ejohnson29@ucmerced.edu>,
# Ross M. Dickson <ross.dickson@dal.ca>, Hartmut Schmider <hs7@post.queensu.ca>,
# and Axel D. Becke <axel.becke@dal.ca>
## modify this
chf="lc... | aoterodelaroza/postg | examples/sp/gxdmopt.sh | Shell | gpl-3.0 | 3,250 |
#!/bin/bash
# Problems with cartopy if the -m{32,64} flag is not defined.
# See https://taskman.eionet.europa.eu/issues/14817.
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
ARCH="-m64"
else
ARCH="-m32"
fi
CFLAGS=${ARCH} CPPFLAGS=${ARCH} CXXFLAGS=${ARCH} LDFLAGS=${ARCH} FFLAGS=${ARCH} \
./... | pelson/conda-recipes-scitools | geos/build.sh | Shell | gpl-3.0 | 380 |
#!/bin/sh
#
# Checkout the appropriate meza version in Travis
# TRAVIS_EVENT_TYPE: Indicates how the build was triggered. One of push, pull_request, api, cron.
TRAVIS_EVENT_TYPE="$1"
# TRAVIS_COMMIT: The commit that the current build is testing.
TRAVIS_COMMIT="$2"
# TRAVIS_PULL_REQUEST_SHA:
# if the current job is a... | freephile/qb | tests/travis/git-setup.sh | Shell | agpl-3.0 | 1,256 |
#!/bin/bash
#
# Copyright © 2016 Red Hat, Inc.
# Copyright © 2017 Endless Mobile, Inc.
#
# SPDX-License-Identifier: LGPL-2.0+
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# ve... | GNOME/ostree | tests/test-summary-collections.sh | Shell | lgpl-2.1 | 3,520 |
#!/bin/sh
get_cmd_version() {
if [ -z "$1" ]; then
return
fi
local cmd="$1"
if command -v "$cmd" 2>&1 >/dev/null; then
ver=$("$cmd" --version 2> /dev/null | head -n 1)
# some tools (eg. openocd) print version info to stderr
if [ -z "$ver" ]; then
ver=$("$cmd... | avmelnikoff/RIOT | dist/tools/ci/print_toolchain_versions.sh | Shell | lgpl-2.1 | 2,976 |
#!/bin/sh -xe
# Simple integration test. Make sure to activate virtualenv beforehand
# (source venv/bin/activate) and that you are running Boulder test
# instance (see ./boulder-start.sh).
#
# Environment variables:
# SERVER: Passed as "letsencrypt --server" argument.
#
# Note: this script is called by Boulder integr... | bestwpw/letsencrypt | tests/boulder-integration.sh | Shell | apache-2.0 | 2,067 |
#!/usr/bin/env bash
# Copyright 2020 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | renyi533/tensorflow | tensorflow/lite/micro/tools/ci_build/test_stm32f4.sh | Shell | apache-2.0 | 1,514 |
#!/bin/bash
if [ -z ${USER_UID:+x} ]
then
export USER_UID=1000
export GROUP_GID=1000
fi
clean () {
docker-compose run --rm -u "$USER_UID:$GROUP_GID" gradle gradle clean
}
install() {
docker-compose run --rm -u "$USER_UID:$GROUP_GID" gradle gradle install publishToMavenLocal
}
publish() {
if [ -e "?/.gradl... | web-education/mongodb-helper | build.sh | Shell | apache-2.0 | 1,022 |
sleep 65
java -Djava.security.egd=file:/dev/./urandom -jar /app/app.jar | keryhu/micro-oauth2-docker | demo/auth-server/target/docker/runboot.sh | Shell | apache-2.0 | 71 |
#!/bin/bash
#
# build the dendrite binaries into ./bin
cd `dirname $0`/..
set -eux
export GOPATH=`pwd`/.gopath
export PATH="${GOPATH}/bin:$PATH"
go get github.com/constabulary/gb/...
gb build
| jcgruenhage/dendrite | jenkins/prepare-dendrite.sh | Shell | apache-2.0 | 196 |
export LD_LIBRARY_PATH=bin/SkyBlue/LCP/EDLoggingControl/LogDecompressor:${LD_LIBRARY_PATH}
#If do not pass a argument.
if [ ! "$1" ]; then
#nohup java -jar Httpd.jar >> /dev/null 2>&1
sudo sh -c "java -cp .:lib/sqlite-jdbc-3.7.2.jar:lib/java_websocket.jar -classpath Httpd.jar:lib/sqlite-jdbc-3.7.2.jar:lib/java_webs... | Bluesky-CPS/BlueSkyLoggerCloudBINResearchVer1.0 | bin/HttpdAsDeamon.sh | Shell | apache-2.0 | 985 |
# $FreeBSD: soc2013/dpl/head/tools/regression/pjdfstest/tests/misc.sh 249505 2013-03-15 00:10:38Z pjd $
ntest=1
case "${dir}" in
/*)
maindir="${dir}/../.."
;;
*)
maindir="`pwd`/${dir}/../.."
;;
esac
fstest="${maindir}/pjdfstest"
. ${maindir}/tests/conf
expect()
{
e="${1}"
shift
r=`${fstest} $* 2>/dev/null | t... | dplbsd/soc2013 | head/tools/regression/pjdfstest/tests/misc.sh | Shell | bsd-2-clause | 4,012 |
#!/bin/bash
cd tools
./configure.sh spark/$1
cd - > /dev/null
| IUTInfoAix/terrarium_2015 | nuttx/configs/spark/tools/env.sh | Shell | bsd-2-clause | 63 |
#!/bin/sh
../GLCloud3/GLCloud3
| fluffyfreak/sandbox | src/bin/GLCloud3.sh | Shell | bsd-3-clause | 31 |
#!/bin/bash
go test $(go list ./... | grep -v /vendor/)
| manifest-destiny/api | scripts/run-tests.sh | Shell | bsd-3-clause | 57 |
#!/bin/bash
open_pdfs() {
find . -name '*.pprof' | while read -r i; do
go tool pprof --pdf antibody "$i.pprof" > "/tmp/$1_$i.pdf" && open "/tmp/$1_$i.pdf"
done
}
# TODO fix this
# defer profile.Start(
# profile.MemProfile,
# profile.CPUProfile,
# profile.NoShutdownHook,
# profile.ProfilePath("."),
# ... | twang817/antibody | scripts/profiling/work.sh | Shell | mit | 1,024 |
#!/bin/bash
if [ -z "$TRUFFLE_WORKING_DIRECTORY" ];
then
export TRUFFLE_WORKING_DIRECTORY=`pwd`
fi
if [ -z "$TRUFFLE_NPM_LOCATION" ];
then
export TRUFFLE_NPM_LOCATION=$(npm config --global get prefix)/lib/node_modules/truffle/
fi
# Hack. babel-node will clobber -e, and it doesn't look like `--` will stop it.
# Be... | harlantwood/truffle | truffle-exec.bash | Shell | mit | 650 |
#!/usr/bin/env bash
CURRENT_DIR="$( dirname ${BASH_SOURCE[0]} )"
source "$CURRENT_DIR/../helpers.sh"
source "$CURRENT_DIR/../variables.sh"
template() {
local tmux_start_script="$1"
shift
local options="$@"
local content=""
read -r -d '' content <<-EOF
[Unit]
Description=tmux default session (detached)
Docum... | persevereVon/dotfiles | tmux-plugins/tmux-continuum/scripts/handle_tmux_automatic_start/systemd_enable.sh | Shell | mit | 1,412 |
#! /bin/bash
mkdir -p dataset
cd dataset
wget http://nlp.stanford.edu/data/glove.840B.300d.zip
unzip glove.840B.300d.zip
cd ..
./convert.py
| FALCONN-LIB/FALCONN | src/examples/glove/prepare-dataset.sh | Shell | mit | 141 |
train_file="data/train.small"
valid_file="data/valid.small"
test_file="data/test.small"
neuron_type="LSTM" # RNN/LSTM
train_method="ALL"
projection_size=100
hidden_size=100
stack_size=1
learning_rate=1e-4
minibatch_size=100
improvement_rate=5e-5
max_epoch=1000
save_model="model/small/all/pro"$projection_size".h"$hidden... | darongliu/Lstm_Turing_LM | lstm-neural-turing-machines-lm/v3/run_script/run_all.sh | Shell | mit | 944 |
#!/bin/sh
set -e
TIME=`date +%Y%m%d%H%M%S`
export GIT_SHA=`cd $GOPATH/src/bosun.org; git rev-parse HEAD`
build()
{
export GOOS=$1
export GOARCH=$2
EXT=""
if [ $GOOS = "windows" ]; then
EXT=".exe"
fi
if [ $GOARCH = "arm" ]; then
export GOARM=${3-6}
EXT="v${GOARM}"
fi
echo $GOOS $GOARCH $EXT
if $BOSUN; t... | simnv/bosun | build/release.sh | Shell | mit | 1,399 |
rm -rf tmp/mruby | fundamental/mruby-rubyffi-compat | .travis_after.sh | Shell | mit | 16 |
#!/usr/bin/env bash
cat <<EOF >> ${PREFIX}/.messages.txt
Please run 'download-db.sh path/to/store/databases' to download all required VIBRANT database files.
The path will stored in the environmental variable VIBRANT_DATA_PATH so you don't have to think about
Default location is ${VIBRANT_DATA_PATH}
EOF
| saketkc/bioconda-recipes | recipes/vibrant/post-link.sh | Shell | mit | 308 |
#!/bin/bash
SRC_ROOT=$(readlink -f $(dirname $0)/..)
STAGE=0
ROOT=$1
. $SRC_ROOT/lib/config
. $SRC_ROOT/lib/shell_lib
InitVal
[ -z $(GetDev $ROOT) ] && echo Please mount rootfs on $ROOT && exit 1
ChrootPrepare $ROOT $BOOT_DEV
chroot $ROOT df -h
echo chroot $ROOT
chroot $ROOT
ChrootEnd $ROOT
| alexasahis/OpenLinkstation | 1_debootstrap/chroot.sh | Shell | gpl-2.0 | 298 |
#!/usr/bin/env bash
# Copyright (C) 2019 The ESPResSo project
#
# This file is part of ESPResSo.
#
# ESPResSo 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 your opti... | espressomd/espresso | maintainer/CI/doc_warnings.sh | Shell | gpl-3.0 | 5,552 |
#!/bin/bash
if [ ! -d jars ]; then
echo "Run from silver root as './support/profile/run.sh'"
exit 1
fi
mkdir -p build
cd build
java -Xss8M -Xmx3000M -Xrunhprof:heap=sites,cpu=samples -jar ../jars/RunSilver.jar --clean silver:composed:Default
| charleshofer/silver | support/profile/run.sh | Shell | gpl-3.0 | 249 |
#!/bin/bash
cd sample/csv-provider
npm install
npm install ../../src/common/node-connector
node_modules/gulp/bin/gulp.js coffee
node_modules/gulp/bin/gulp.js --name=csv-provider --url=tcp://config-service:65001
| starschema/virtdb-apps | start-csv-provider.sh | Shell | lgpl-3.0 | 211 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.