code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env bash
venvdir="$(pwd)/_venv_python"
pyvenv_preparation() {
echo "py venv setup"
python3.6 -m venv "$venvdir"
. "$venvdir/bin/activate"
pip3 install --upgrade pip
pip3 install -r requirements.list
wget -c https://github.com/jgm/pandoc/releases/download/2.3.1/pandoc-2.3.1-linux.ta... | stg7/ctag | prepare.sh | Shell | gpl-3.0 | 503 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
# Apache 2.0
# To be run from .. (one directory up from here)
# see ../run.sh for example
# Compute cepstral mean and variance statistics per speaker.
# We do this in just one job; it's fast.
# This script takes no options.
#
# Note: the... | StevenLOL/aicyber_semeval_2016_ivector | System_2/steps/compute_cmvn_stats.sh | Shell | gpl-3.0 | 3,932 |
#!/bin/bash
HOST="http://127.0.0.1:5984"
# Wait until CouchDB ACTUALLY starts
until curl -sSf $HOST/_all_dbs
do
sleep 0.1
done
# Create the DBs
curl -sSfX PUT $HOST/feeds
curl -sSfX PUT $HOST/articles
curl -sSfX PUT $HOST/images
# Create the views
curl -sSfX PUT -H "Content-Type: application/json" -d @/root/feeds... | sdhoward/docker-library | x86_64/webapp/provision-db.sh | Shell | gpl-3.0 | 996 |
#/bin/bash
cd fann/; make clean; rm -r CMakeFiles; rm CMakeCache.txt
cd fann; CC=emcc CXX=em++ cmake .; make
| kallaballa/EagerEye | build_deps_js.sh | Shell | gpl-3.0 | 112 |
#!/bin/bash
WEBTHINGS_HOME="${WEBTHINGS_HOME:=${HOME}/.webthings}"
sqlite3 "${WEBTHINGS_HOME}/config/db.sqlite3" "DELETE FROM users"
sudo systemctl restart webthings-gateway
| moziot/gateway | tools/remove-users.sh | Shell | mpl-2.0 | 175 |
#!/usr/bin/env bash
# This script starts an SSL development server so that you don't have to
# pass annoying arguments to manage.py all the time.
BASE_DIR="$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )")"
SSL_DIR="$BASE_DIR/etc/ssl"
KEY="$SSL_DIR/normandy_dev.key"
CERT="$SSL_DIR/normandy_dev.crt"
OLD_CE... | mozilla/normandy | bin/runsslserver.sh | Shell | mpl-2.0 | 861 |
#!/bin/bash
set -eu
SMALLSIZE=32
MEDIUMSIZE=8192
LARGESIZE=262144
echo "=== File tests ==="
rm -rf blocks
tests/test.py << TEST
lfs1_format(&lfs1, &cfg) => 0;
TEST
echo "--- Simple file test ---"
tests/test.py << TEST
lfs1_mount(&lfs1, &cfg) => 0;
lfs1_file_open(&lfs1, &file[0], "hello", LFS1_O_WRONLY | ... | DISTORTEC/distortos | source/FileSystem/littlefs1/external/littlefs1/tests/test_files.sh | Shell | mpl-2.0 | 4,632 |
# Copyright (c) 2015-2016 Contributors as noted in the AUTHORS file
#
# 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/.
#!/bin/sh
set -e
echo "http://dl-4.alpinelinux.o... | Alidron/alidron-base-python | alidron-base-python:2-alpine/docker_install.sh | Shell | mpl-2.0 | 686 |
#!/bin/bash
for table in $(mdb-tables docnaet.mdb)
do
mdb-export docnaet.mdb ${table} > ./import/${table}.txt
done
| Micronaet/micronaet-docnaet | docnaet_migration/script/export.sh | Shell | agpl-3.0 | 135 |
#!/usr/bin/env bash
rm -rf kitchens_remote
mkdir -p kitchens_remote
cd kitchens_remote
kitchen_name="recipe_get_test"
rm -rf ${kitchen_name}
dk kitchen-delete ${kitchen_name}
dk kitchen-create --parent CLI-Top ${kitchen_name}
dk kitchen-get --recipe simple ${kitchen_name}
cd ${kitchen_name}/simple
echo -e "lineZ\n" >... | DataKitchen/DKCloudCommand | DKCloudCommand/tests/examples/recipe_get.sh | Shell | agpl-3.0 | 1,177 |
#!/bin/bash
docker build -t chosenken/openvpn-client .
| chosenken/openvpn-client | build.sh | Shell | agpl-3.0 | 56 |
#!/usr/bin/env bash
## This is a script to update a production chemotion_ELN server
set -euo pipefail
############################################
############# VARIABLES ####################
## CHEMOTION ELN GIT REPOSITORY
REPO='https://github.com/ComPlat/chemotion_ELN.git'
BRANCH='v1.1.0'
TMP_REPO_DIR="/tmp/${BRA... | ComPlat/chemotion_ELN | scripts/update_production.sh | Shell | agpl-3.0 | 11,432 |
#!/bin/bash
for i in `ls /var/lib/initramfs-tools`
do for j in `find /var/lib/dkms -maxdepth 2 -mindepth 2 -type d -printf '%P '`
do dkms install $j -k $i
done
done
| orezpraw/scripts | dkms-buildall.sh | Shell | agpl-3.0 | 168 |
#!/bin/bash
# in this file we will run a representative simulation
# user must edit USER PARAMETERS and USER SIMULATION PARAMETERS sections
##################### USER PARAMETERS ###########################
# ideally these parameters should be read in as parameters and then the script can do its work
COMPUTER_TYPE="l... | Mbewu/libmesh | examples/dphil/coupled_navier_stokes/libmesh_scripts_laptop/particle_deposition_august/new_output/particle_2d_diff_wall_bdy_ids/test_script.sh | Shell | lgpl-2.1 | 6,361 |
#!/usr/bin/env bash
# Copyright 2009 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
#
# OpenScap Probes Test Suite.
#
# Created on: Nov 30, 2009
#
# Authors:
# Peter Vrabec, <pvrabec@redhat.com>
# David Niemoller
# Ondrej Moris, <omoris@redhat.com>
. ${srcdir}/../../test_common.sh
# Test... | isimluk/openscap | tests/probes/password/test_probes_password.sh | Shell | lgpl-2.1 | 1,096 |
#!/bin/bash
################################################################################
#
# Copyright (c) 2000-2017 Liferay, Inc. All rights reserved.
#
# 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
# S... | stiemannkj1/liferay-tools | Tools/my-tools/finder-selected-files.sh | Shell | lgpl-2.1 | 1,097 |
#!/bin/bash
os=""
cmake_env=""
linking=""
source_dir=""
build_dir=""
yasm_exe=""
temporary_dir="/tmp"
jobsCount=1 # how many compilations at a time
full_decoders_list=""
ffmpeg_dir="ffmpeg-2.4.3"
ffmpeg_archive="${ffmpeg_dir}.tar.bz2"
function check_err()
{
if [ $? -ne 0 ]
then
echo "*** an error o... | CRDNicolasBourbaki/sfeMovie | build_ffmpeg.sh | Shell | lgpl-2.1 | 5,440 |
#!/bin/bash
Error[0]="hm2/hm2_test\.0: invalid cookie"
Error[1]="hm2/hm2_test\.0: invalid config name"
Error[2]="hm2/hm2_test\.0: invalid IDROM type"
Error[3]="hm2/hm2_test\.0: invalid IDROM type"
Error[4]="hm2/hm2_test\.0: invalid IDROM PortWidth"
Error[5]="hm2/hm2_test\.0: invalid IDROM PortWidth"
Error[6]="hm2/hm2_... | yishinli/emc2 | tests/hm2-idrom/test.sh | Shell | lgpl-2.1 | 918 |
#!/bin/bash
set -e
OUT='manyNodes'
XML_OUT="$OUT.xml"
PBF_OUT="$OUT.pbf"
append(){
echo "$1" >> "$XML_OUT"
}
# make sure file is initially empty
echo -n '' > "$XML_OUT"
append '<?xml version="1.0" encoding="UTF-8"?>'
append "<osm version=\"0.6\" generator=\"`basename $0`\">"
append '<bounds minlat="51.50736017... | marook/osm-read | test/genManyNodes.sh | Shell | lgpl-3.0 | 728 |
#!/bin/bash
# Šiuo skriptu gausite reikiamas kursoriaus koordinates.
# Patogu ieškant tikslių mygtuko koordinačių konkrečiame lange (šiuo atveju - "Conky-*")
# Naudojimas:
# sudo chmod +x getcoords.sh
# nuveskite pelės kursorių į norimą vietą ir įvykdykite komandą:
# ./getcoords.sh
read X Y screen windowID <<< `xdot... | cmotc/conky-clicky | getcoords.sh | Shell | lgpl-3.0 | 1,247 |
#!/bin/bash
scp -r /mnt/compendium/DevLab/common/nginx/common/ $1:/usr/local/nginx/conf/
scp /mnt/compendium/DevLab/common/nginx/nginx.conf $1:/usr/local/nginx/conf/
| Sembiance/common | nginx/deploy.sh | Shell | unlicense | 167 |
#!/bin/bash
java -jar console/target/template-scala-console.jar environment.txt
| SeanShubin/template-scala-console | run.sh | Shell | unlicense | 80 |
curl http://api.rethumb.com/v1/height/100/http://images.rethumb.com/image_coimbra_600x300.jpg > resized-image.jpg | rethumb/rethumb-examples | examples-resize-by-height/example-curl.sh | Shell | unlicense | 113 |
#!/bin/sh
echo "Setup nodejs (run as root to install packages, run as user to configure)"
if [ "$(id -u)" = 0 ]; then
echo "Adding nodejs repo"
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
echo "Installing nodejs and npm"
apt install nodejs
else
echo "Configuring npm"
echo '> npm config set... | inta/dotfiles | .tools/install-nodejs.sh | Shell | unlicense | 701 |
#!/bin/bash
set -e
# ld: cannot find -lz
# apt-file search libz.so
sudo apt-get install zlib1g-dev libgcrypt-dev libsqlite3-dev make iw
sudo make uninstall
echo ' > Compile'
make gcrypt=true sqllite=true
make strip
sudo make install
echo 'Install/update OUI file:'
sudo airodump-ng-oui-update
#EOF
| givanse/snipe | bash/setup-aircrack.sh | Shell | unlicense | 307 |
#!/usr/bin/env bash
# Thomas Reerink
#
# This scripts needs one argument: the directory path with the cmorised data
#
# Run this script without arguments for examples how to call this script.
#
if [ "$#" -eq 1 ]; then
# Test whether the directory with the cmorised data exists:
if [ ! -d $1 ]; then
echo
echo ' ... | goord/ece2cmor3 | ece2cmor3/scripts/data-qa/nctime/run-nctime-for-cmip6.sh | Shell | apache-2.0 | 893 |
#!/bin/sh
patch -buN $RTC_DIR/tools_webrtc/ios/build_ios_libs.py $PATCH_DIR/build_ios_libs.py.diff
patch -buN -p1 -d $RTC_DIR < $PATCH_DIR/ios.diff | shiguredo/sora-webrtc-build | config/ios-m83.4103.12.0/patch.sh | Shell | apache-2.0 | 148 |
#!/bin/bash
source $HOME/.bash_profile
source $HOME/.bashrc
export HUB=$HOME/git/scoophealth/hquery/query-composer
export HB_PIDFILE=$HUB/tmp/pids/server.pid
export DL_PIDFILE=$HUB/tmp/pids/delayed_job.pid
#
# Make sure mongod is running
if ! pgrep mongod > /dev/null
then
sudo service mongod start
fi
#
#
echo "Start... | scoophealth/query-composer | start-hub-example.sh | Shell | apache-2.0 | 910 |
#!/bin/bash -eu
# Copyright 2020 Google 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 agree... | FeliciaLim/oss-fuzz | projects/haproxy/build.sh | Shell | apache-2.0 | 1,860 |
#!/bin/sh
# Script borrowed from: https://help.github.com/articles/changing-author-info/
# Fill in OLD_EMAIL, CORRECT_NAME and CORRECT_EMAIL and run the script to
# correct the entire history of the git repository found in the CWD.
git filter-branch --env-filter '
OLD_EMAIL=""
CORRECT_NAME=""
CORRECT_EMAIL=""
if [ ... | fretboardfreak/code | git_change_email_history.sh | Shell | apache-2.0 | 645 |
#! /bin/bash
./remove.sh
docker run -d \
--name rider \
-p 5901:5901 \
-p 6901:6901 \
-e VNC_PW=test \
-v $(pwd)/docker:/headless/workspace/data \
huas/vnc-rider
| noricohuas/docker | vnc/ubuntu-gnome-rider/run.sh | Shell | apache-2.0 | 176 |
# ----------------------------------------------------------------------------
#
# Package : flowable-event-registry
# Version : 6.6.0
# Source repo : https://github.com/flowable/flowable-engine/tree/master/modules/flowable-event-registry
# Tested on : ubuntu_18.04
# Passing Arguments: 1.V... | ppc64le/build-scripts | f/flowable-event-registry/flowable-event-registry_ubuntu_18.04.sh | Shell | apache-2.0 | 2,063 |
#
# CF_PUSH_OPTIONS= # Use this syntax to avoid using cf push default parameters
CF_PUSH_OPTIONS="${CF_PUSH_OPTIONS} --app-start-timeout 30" # Use this syntax to complete cf push default parameters
| orange-cloudfoundry/cf-ops-automation | docs/reference_dataset/template_repository/hello-world-root-depls/cf-apps-deployments/generic-app/template/cf-env.sh | Shell | apache-2.0 | 199 |
# Copyright 2015 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 applicable law or a... | googlearchive/graphd | test/unit/nick1.sh | Shell | apache-2.0 | 810 |
#!/bin/bash
python3 ibc/ibc/train_eval.py -- \
--alsologtostderr \
--gin_file=ibc/ibc/configs/pushing_states/mlp_ebm.gin \
--task=PUSH \
--tag=ibc_dfo \
--add_time=True \
--gin_bindings="train_eval.dataset_path='ibc/data/block_push_states_location/oracle_push*.tfrecord'" \
--video
| google-research/ibc | ibc/configs/pushing_states/run_mlp_ebm.sh | Shell | apache-2.0 | 297 |
#!/bin/bash
#
# Copyright 2019 The FATE 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 requi... | FederatedAI/FATE | build/package-build/build.sh | Shell | apache-2.0 | 10,282 |
# bzip2_decompress.sh
#
# Configuration for a job which takes in a list of bzip2 compressed
# files in Google Cloud Storage, decompresses them, and uploads
# the decompressed versions to Google Cloud Storage.
export COMPRESS_OPERATION="decompress" # compress | decompress
export COMPRESS_TYPE="bzip2" # gzip |... | googlegenomics/grid-computing-tools | samples/compress/bzip2_decompress_config.sh | Shell | apache-2.0 | 578 |
#!/bin/sh
UPDATE_URL="http://www.boxbilling.org/version/latest_update.zip"
wget -O update.zip -q $UPDATE_URL
unzip -o update.zip
php bb-update.php
rm -rf update.zip
rm -rf bb-data/cache/*
| boxbilling/boxbilling | bin/update.sh | Shell | apache-2.0 | 190 |
#!/usr/bin/env bats
# This file is used to test the installation and removal
# of plugins after Elasticsearch has been installed with tar.gz,
# rpm, and deb.
# WARNING: This testing file must be executed as root and can
# dramatically change your system. It should only be executed
# in a throw-away VM like those made... | alexshadow007/elasticsearch | qa/vagrant/src/test/resources/packaging/tests/module_and_plugin_test_cases.bash | Shell | apache-2.0 | 15,415 |
echo_section "Private pre-installation configuration"
echo_subsection "Relocate folders using symbolic links"
DATA_ROOT=
# Make sure that the actual folders exist
ensure_dir $DATA_ROOT/Repositories -sudo
ensure_dir $DATA_ROOT/Software -sudo
ensure_dir $DATA_ROOT/VirtualEnvs -sudo
ensure_dir $DATA_ROOT/home -sudo
ens... | erikjandevries/ConfigLM | 9_private_config/ConfigLM_init_template.sh | Shell | apache-2.0 | 863 |
mkdir -p static
cp ../*_*compr*.js static
rsync -a ../{core,generators,media,tests,demos,minecraft,msg} static
| markocelan/blockly-minecraft | appengine/prepare.sh | Shell | apache-2.0 | 111 |
#!/bin/bash
# look for JETTY_HOME
if [ -z "$JETTY_HOME" ]
then
JETTY_HOME_1=`dirname "$0"`
JETTY_HOME_1=`dirname "$JETTY_HOME_1"`
JETTY_HOME=${JETTY_HOME_1}
fi
cd $JETTY_HOME
exec /usr/bin/java -Djetty.port=8088 -jar start.jar etc/jetty.xml etc/jetty-xinetd.xml
| wang88/jetty | jetty-distribution/src/main/resources/bin/jetty-xinetd.sh | Shell | apache-2.0 | 288 |
#!/bin/bash
echo Creating databases and generating new passwords for services
mkdir -p tmp/sqlfile
echo "" > tmp/secret.env
TMP_SQLFILE=tmp/sqlfile/db.sql
rm -rf $TMP_SQLFILE
unset DOBACKUP
# Read all lines from databases file (see after end of loop)
echo $(pwd)
cat databases
while read -u "$fd_num" servicevar; do
... | learning-layers/LayersBox | setup_databases.sh | Shell | apache-2.0 | 3,303 |
#!/bin/bash
keytool -genkey -alias thttpsd -keystore thttpsd.auth -keyalg rsa -dname "CN=Greg Travis, OU=Trivial Server Department, O=Ministry of Servers, L=New York City, S=NY, C=US" -storepass thttpsd -keypass thttpsd
| jt120/nio | manning/Chapter11/thttpsdkeys.sh | Shell | apache-2.0 | 221 |
#!/bin/bash
sudo apt-get autoremove --purge -y squid apache2-utils | alien4cloud/samples | org/alien4cloud/www/http-proxy/squid3/linux_sh/scripts/uninstall_squid3.sh | Shell | apache-2.0 | 67 |
#!/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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | GoogleCloudPlatform/dataproc-connect-visualization | shell/4.set-up-authorization.sh | Shell | apache-2.0 | 3,238 |
#!/bin/bash
#if [ -f "./on_training" ]; then
# echo "On Training. Exit."
# exit 1
#fi
#touch on_training
find . -name *.jpg_f.jpg -exec rm -f {} \;
find . -name *.jpg_w.jpg -exec rm -f {} \;
rm -rf output
echo Run Sample Augmentation
/usr/bin/python augmentation.py
echo Negative Sampling Unknown Group
/usr... | SeonghoBaek/RealtimeCamera | face_register/train_groups.sh | Shell | apache-2.0 | 3,930 |
#!/bin/bash
#
# Copyright 2016 The Eyra Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | Eyra-is/Eyra | Backend/server-interface/qc/scripts/process_qc_dumps/confusion_table.sh | Shell | apache-2.0 | 2,974 |
#!/bin/bash
set -e
DEMO=/home/autolab/Dev/obzerver/build/demo
#CONFIG=/home/mani/Dev/obzerver/config/ucf_arg.ini
#CONFIG=/home/autolab/Dev/obzerver/config/kth.ini
CONFIG=$1
DATA=$2
#DATA=/home/autolab/datasets/KTH/walking
#DATA=/local_home/datasets/UCF_ARG/aerial_clips/waving
#TMP_DIR=`mktemp -d`
#TMP_DIR="/home/auto... | AutonomyLab/obzerver | scripts/run-dataset.sh | Shell | apache-2.0 | 847 |
#!/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"); yo... | ahnqirage/spark | resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh | Shell | apache-2.0 | 3,527 |
#!/bin/sh
. "$(dirname ${BASH_SOURCE:-$0})/config.inc"
git submodule update --init 2>/dev/null || :
if ! docker image inspect lucet:latest >/dev/null; then
echo "A lucet image is not present"
exit 1
fi
echo "Building lucet-toolchain:latest"
docker build -t lucet-toolchain:latest -f Dockerfile.toolch... | fastly/lucet | devenv_build_toolchain_only.sh | Shell | apache-2.0 | 1,963 |
#!/bin/bash
# shellcheck disable=SC2034,SC2154,SC1090
# Only set exit-on-error. No other values should be set.
set -e
# Simulate a stage1 build to get any special base plan build dependency lists
STUDIO_TYPE=stage1
# Some base plans use this value if they need to be built twice, simulate first
# pas
FIRST_PASS=true
#... | be-plans/be | bin/print-deps.sh | Shell | apache-2.0 | 861 |
#!/bin/sh
#
# About:Setup Dependences for Virtual Box Sandbox
# meant for OpenStack Labs.
#
# Contact: pranav@aptira.com
# License: Apache Software License (ASL) 2.0
###############################################################################
# ... | aptira/openstack-training-labs | Scripts/Keystone/Keystone.sh | Shell | apache-2.0 | 3,493 |
#!/bin/bash
cat /etc/hosts
| lhirdman/dynaMenu | menu_Curses/test1/test1.sh | Shell | bsd-2-clause | 27 |
Rscript run_sigs.R acute_myeloid_leukemia tpm_matrix_AML_superOrtho_meta.tsv.tmp tpm_matrix_AML_superOrtho_meta.tsv.score
Rscript run_sigs.R colon_adenocarcinoma tpm_matrix_colon_superOrtho_meta.tsv.tmp tpm_matrix_colon_superOrtho_meta.tsv.score
Rscript run_sigs.R lung_adenocarcinoma tpm_matrix_lung-Arntl2_superOrth... | tedgoldstein/hallmarks | Scores/new_run.sh | Shell | bsd-2-clause | 786 |
#!/bin/bash
sudo apt-get update -y
sudo apt-get install -y git
git clone https://github.com/hughperkins/torchunit
| torch/torchunit | bootstrap.sh | Shell | bsd-2-clause | 116 |
#!/bin/sh
clang -x c -arch x86_64 -O3 -mmacosx-version-min=10.9 -Iinc -c src/mikktspace.c -o mikktspace.o
export MACOSX_DEPLOYMENT_TARGET=10.9
mkdir -p lib/Mac
libtool -static -arch_only x86_64 mikktspace.o -o lib/Mac/libMikkTSpace.a
rm mikktspace.o
| PopCap/GameIdea | Engine/Source/ThirdParty/MikkTSpace/BuildMacLib.sh | Shell | bsd-2-clause | 251 |
# This script sets variables shared between the build_pdfium.sh and
# install_pdfium.sh scripts.
EXECUTABLE="pdfium_test"
MD5_FILE="pdfium.md5"
CLOUD_PATH_BASE="gs://skia-binaries/pdfium/${EXECUTABLE}"
PDFIUM_COMMIT_FILE="pdfium-build.commit"
| Tiger66639/skia-buildbot | pdfium/build_setup.sh | Shell | bsd-3-clause | 243 |
#!/usr/bin/env bash
set -e # stop immediately on error
umask u+rw,g+rw # give group read/write permissions to all new files
# cut out the first n seconds (default: 10) until a steady state of radio-frequency excitation
# ------------------------------ #
# Help
# ------------------------------ #
usage() {
cat <<E... | neuroecology/MrCat | pipelines/rfmri_macaque/rsn_discardFirstVols.sh | Shell | bsd-3-clause | 4,069 |
#!/bin/bash
# Author Paul Evans / Adam Matthews
# Date 12th Feb 2020
#
# Custom Attribute script to return the T-Series chip value, if present. If a pre T-series device, will report "Pre T1".
#
chipversion=$(/usr/sbin/system_profiler SPiBridgeDataType | awk '/Model/ {print $4}')
if [ -z "$chipversion" ]
then
echo "P... | vmwaresamples/AirWatch-samples | macOS-Samples/CustomAttributes/tseries_chip_check.sh | Shell | bsd-3-clause | 354 |
#!/bin/sh
OUT=WFAPITestClient
WWWHOST=www.wayfinder.com
VER=`date +%y%m%d`
ARCH=`arch`
BINSIZE=`du -k $(OUT) | cut -f 1`
mkdir -p debian/$(OUT)/usr/share/WFAPITestClient
mkdir -p debian/$(OUT)/usr/share/applications/hildon/
mkdir -p debian/$(OUT)/usr/bin/
mkdir -p debian/$(OUT)/usr/share/icons/26x26/hildon/
mkdir -p d... | wayfinder/Wayfinder-CppCore-v2 | cpp/Targets/WFAPITestClient/create_debian_package.sh | Shell | bsd-3-clause | 1,806 |
#!/bin/bash
#############################################################################
# Example bash script for the nsi-requester
#
# This script provides an example of how command line options can be used to
# configure the nsi-requester process. This example is for a deployment
# where native SSL/TLS support is... | BandwidthOnDemand/nsi-requester | scripts/reverse-proxy-configuration.sh | Shell | bsd-3-clause | 2,201 |
#!/bin/bash
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
TAG=master make container push | upmc-enterprises/elasticsearch-operator | hack/image_push.sh | Shell | bsd-3-clause | 121 |
#!/bin/bash
nohup ./Helmholtz3DRefFMGVA --config=/scratch/cychan/Helmholtz3DRefFMGVA.cfg --autotune --autotune-site=-1 --min 1 --max 64 &> /scratch/cychan/Helmholtz3DRefFMGVA.autotune.out &
disown
| hellok/PetaBricks | examples/multigrid/scripts/Helmholtz3DRefFMGVA.autotune.sh | Shell | mit | 198 |
#!/bin/sh
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
min_output=
integration_tests=
npm_command=
node_root=$(cd "$(dirname "$0")/.." && pwd)
cd $node_root
usage ()
{
echo "Lint code and run tests."
echo... | emirotin/resin-azure-iot-sample | node/build/build.sh | Shell | mit | 2,075 |
#!/usr/bin/sh
# Generate matrix files with stage information for EX-LX comparisons:
python mapNeurons.py --path ~/meTRN --organism ce --mode matrix.context --peaks ce_selection_com_cx_raw --contexts emblx.condensed --technique binary --target factor
python mapNeurons.py --path ~/meTRN --organism ce --mode matrix.cont... | claraya/meTRN | python/runMaster5A-raw.sh | Shell | mit | 8,990 |
#!/bin/bash
if [[ $TRAVIS_BRANCH == 'master' ]]
then
git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
grunt push-doc-travis
fi
| hpautonomy/js-parametric-refinement | travis.sh | Shell | mit | 204 |
#!/usr/bin/env bash
PYTHON=${PYTHON:-python}
usage()
{
echo "Usage: $0 [BuildArch] [BuildType] [clean] [verbose] [coverage] [cross] [clangx.y] [ninja] [configureonly] [skipconfigure] [skipnative] [skipmscorlib] [skiptests] [cmakeargs]"
echo "BuildArch can be: x64, x86, arm, arm-softfp, arm64"
echo "BuildT... | andschwa/coreclr | build.sh | Shell | mit | 18,228 |
#!/bin/sh
script_dir=$(cd $(dirname ${BASH_SOURCE:-$0}); pwd)
cd $script_dir
cd ..
/mnt/home/Tahrpup605/wine-portable-1.7.18-1-p4/wine-portable "/mnt/home/Tahrpup605/wine-portable-1.7.18-1-p4/wine-data/drive_c/Python34/python.exe kanedit.py"
| ooblog/LTsv10kanedit | wine_sh/kanedit.sh | Shell | mit | 242 |
#!/bin/bash
# ----------------------
# KUDU Deployment Script
# Version: 0.2.2
# ----------------------
# Helpers
# -------
exitWithMessageOnError () {
if [ ! $? -eq 0 ]; then
echo "An error has occurred during web site deployment."
echo $1
exit 1
fi
}
# Prerequisites
# -------------
# Verify node.... | dfbaskin/angular-node-cookbook | deploy.sh | Shell | mit | 3,541 |
git checkout master
git checkout -b tmp-gh-pages
rm .gitignore
cd docs
npm prune
npm install
npm run build
git add build
git commit -am 'add files'
cd ..
git subtree split --prefix docs/build -b gh-pages
git push -f origin gh-pages:gh-pages
git checkout master
git branch -D tmp-gh-pages
git branch -D gh-pages
| dagopert/draft-js-plugins | scripts/publishGithubPages.sh | Shell | mit | 313 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | canalesb93/MantleModal | MantleDemos/PopUpTest/Pods/Target Support Files/Pods-MantleTest/Pods-MantleTest-frameworks.sh | Shell | mit | 3,621 |
#!/bin/bash
find . -name "Quotes-*" -exec rm -rdf {} +
find . -name "quotes-*" -exec rm -rdf {} +
find . -name "all*.js" -exec rm -rdf {} +
| slashblue/quotes | src/cleanup.sh | Shell | mit | 143 |
#!/bin/bash
## Make sure we start out in the root application directory.
cd /workspace;
## Move our app.yaml in to place.
mv ./cloudbuild/assets/LIVE_app.yaml ./app.yaml
## Deploy the application to App Engine.
if [[ -z "${DEPLOY_NO_PROMOTE}" ]]; then
gcloud app deploy --quiet --project $PROJECT_ID --version=$SHORT... | a1comms/GaeSupportLaravel | docs/examples/lumen/cloudbuild/scripts/deploy_LIVE.sh | Shell | mit | 455 |
#!/bin/bash
## Programs
MAKE_NSIS=makensis
# Path to which all others are relative
WORMUXDIR="../.."
# Root path for other dlls (oggvorbis, curse, ...)
BINDIR=/mingw
# Windows registry software path
HKLM_PATH="SOFTWARE\Games\Wormux"
# Version number in installer
if [ ! -f "../../configure.ac" ]; then WORMUX_VERSIO... | yeKcim/warmux | old/wormux-0.9.0/build/win32_setup/create_setup.sh | Shell | gpl-2.0 | 18,072 |
#!/bin/sh
# NFS root might have reached here before /tmp/net.ifaces was written
type is_persistent_ethernet_name >/dev/null 2>&1 || . /lib/net-lib.sh
udevadm settle --timeout=30
if [ -e /tmp/bridge.info ]; then
. /tmp/bridge.info
fi
if [ -e /tmp/vlan.info ]; then
. /tmp/vlan.info
fi
mkdir -m 0755 -p /tmp/i... | xnox/dracut | modules.d/45ifcfg/write-ifcfg.sh | Shell | gpl-2.0 | 8,241 |
#/bin/bash
uptime | awk '{print $10}' | perl -pe 's/,//'
| jackeblagare/systems-admin-scripts | Linux/get_cpu_usage.sh | Shell | gpl-2.0 | 58 |
#!/bin/sh
#
# smb_auth - SMB proxy authentication module
# Copyright (C) 1998 Richard Huveneers <richard@hekkihek.hacom.nl>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of... | scs/uclinux | user/squid/helpers/basic_auth/SMB/smb_auth.sh | Shell | gpl-2.0 | 2,280 |
#!/bin/sh
echo "* Generating es.mo..."
mkdir -p lang/es/LC_MESSAGES
msgfmt -c -v -o lang/es/LC_MESSAGES/oflute.mo po/es.po
echo "* Generating en.mo..."
mkdir -p lang/en/LC_MESSAGES
msgfmt -c -v -o lang/en/LC_MESSAGES/oflute.mo po/en.po
| sustmi/oflute | make_mo.sh | Shell | gpl-2.0 | 238 |
#!/usr/bin/env bash
# load bash unit testing library
source BashUnitTests.sh
source test_install.sh
# test espresso installation via `make install DESTDIR=/some/dir`
function test_install_DESTDIR() {
helper_test_install_common "@DESTDIR@/@CMAKE_INSTALL_PREFIX@"
}
# run tests
run_test_suite
| hmenke/espresso | testsuite/cmake/test_install_destdir.sh | Shell | gpl-3.0 | 297 |
#!/bin/bash
#
# gconf install schemas hook
#
# Copyright (C) 2009-2016
# Tobias Dreyer <dreyer@molgen.mpg.de>
# Marius Tolzmann <m@rius.berlin>
# and other bee developers
#
# This file is part of bee.
#
# bee is free software; you can redistribute it and/or modify
# it under the terms of the GNU Gener... | mariux/bee | hooks/gconf-install-schemas.sh | Shell | gpl-3.0 | 1,389 |
#!/bin/bash
#
# This file is part of HortonMachine (http://www.hortonmachine.org)
# (C) HydroloGIS - www.hydrologis.com
#
# HortonMachine 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... | moovida/jgrasstools | extras/deploy/hm-lasviewer.sh | Shell | gpl-3.0 | 1,171 |
#! /bin/bash -
who | wc -l #using the pipe
| bookug/study | shell/who-wc.sh | Shell | gpl-3.0 | 46 |
# This is part of the rsyslog testbench, licensed under ASL 2.0
echo ======================================================================
echo [imfile-readmode2-with-persists-data-during-stop.sh]
source $srcdir/diag.sh init
source $srcdir/diag.sh startup imfile-readmode2-with-persists-data-during-stop.conf
# write t... | teifler/rsyslog | tests/imfile-readmode2-with-persists-data-during-stop.sh | Shell | gpl-3.0 | 2,301 |
#!/bin/sh
SCRIPT_BASE_DIR=`dirname "$0"`
FCD_BASE_DIR=`dirname "$1"`
$SCRIPT_BASE_DIR/fcd2code -fb -d $1 -p $FCD_BASE_DIR -r $SCRIPT_BASE_DIR/../..
| achvas88/VizTool | Tools/fcd2code/GenFCs.sh | Shell | gpl-3.0 | 153 |
#!/bin/bash
source params.sh
sleep 1
export OPENAIR1_DIR
export OPENAIR2_DIR
#echo "0" >/proc/sys/net/ipv6/conf/all/forwarding
echo Launching AS and RF
./start_openair.sh 6 10
echo Installing NASMESH Driver
sudo rmmod -f nasmesh
sudo insmod $OPENAIR2_DIR/NAS/DRIVER/MESH/nasmesh.ko nas_IMEI=0x12345678,0x02000000
... | mspublic/openair4G-mirror | openair3/EXAMPLES/BARCA_TRIALS/mr3_conf_nas_barca_parking.sh | Shell | gpl-3.0 | 2,436 |
#!/usr/bin/env sh
# test/s/parse_settings_5.ut.sh - Test script for parse_settings.awk
#
# Copyright (C) 2016 Roel Sergeant (rsergeant@panix.com).
#
# This file is part of the Snow Leopard project.
#
# The Snow Leopard project is free software; you can redistribute it and/or
# modify it under the terms of the GNU Gen... | rsergeant/snow-leopard-interpreter | tests/s/parse_settings_5.ut.sh | Shell | gpl-3.0 | 1,751 |
echo \[imuxsock_ccmiddle.sh\]: test trailing LF handling in imuxsock
source $srcdir/diag.sh init
source $srcdir/diag.sh startup imuxsock_ccmiddle.conf
# send a message with trailing LF
./syslog_caller -fsyslog_inject-c -m1 -C "uxsock:testbench_socket"
# the sleep below is needed to prevent too-early termination of rsys... | teifler/rsyslog | tests/imuxsock_ccmiddle.sh | Shell | gpl-3.0 | 683 |
#!/usr/bin/env bash
set -euo pipefail
gunicorn main:app --config config.py
| mozmar/snippets-service | redirector/run-prod.sh | Shell | mpl-2.0 | 76 |
#!/bin/sh
# 2006 (c) Etersoft www.etersoft.ru
# Public domain
#
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/korinf/common
kormod korinf
C_FILENAME=$1
REBUILDLIST="Mandriva/2008.1
Mandriva/2009.0
Mandriva/2009.1
Mandriva/2010.0
"
TESTDIR=/tmp/autobuild/testlog... | vitlav/korinf | tools/correct_file.sh | Shell | agpl-3.0 | 1,409 |
#!/usr/bin/env bash
if [ $# != 2 ]
then
echo "Usage: ./run-all.sh <input> <output>"
echo "For example: ./run-all.sh input/purchases4.txt output"
fi
# Compile & build the source code into jar
ant
# Run the jar with given inputs on Hadoop
hadoop jar MedianPurchaseV2.jar $1 $2 | PramodKhare/MapReduce | Assignment 2/MedianPurchaseV2/run-all.sh | Shell | unlicense | 281 |
#!/bin/bash
#
# Validate that the current version of the generated parser matches the output
# generated by the version of goyacc installed on the local system.
#
# This is used in Travis to verify that the currently committed version was
# generated with the proper version of goyacc.
source build.env
CUR="sql.go"
TM... | mahak/vitess | tools/check_make_parser.sh | Shell | apache-2.0 | 1,064 |
#!/bin/bash
if [ -z "$VCAP_APP_PORT" ];
then SERVER_PORT=80;
else SERVER_PORT="$VCAP_APP_PORT";
fi
echo port is $SERVER_PORT
echo [$0] Running makemigrations...
python manage.py makemigrations --settings=cognitive.settings.bluemix
echo [$0] Running migrate...
python manage.py migrate --settings=cognitive.settings.blu... | parksurk/sk-watson-hackerthon | run.sh | Shell | apache-2.0 | 584 |
#!/bin/bash
# Fast fail the script on failures.
set -e
echo "Downloading Flutter"
# Run doctor to download the Dart SDK that is vendored with Flutter
# disable analytics on the bots and download Flutter dependencies
(cd ..; git clone https://github.com/flutter/flutter.git -b master ; cd flutter ; ./bin/flutter conf... | google/flutter_flux | tool/before_install.sh | Shell | apache-2.0 | 363 |
#!/bin/bash
# Script to build Tundra and most deps.
set -e
set -x
# Script to build Tundra and most deps.
#
# note: you need to enable the universe and multiverse software sources
# as this script attempts to get part of the deps using apt-get
# TODO rename viewer to tundra
viewer=$(dirname $(readlink -f $0))/../..
... | BogusCurry/tundra | tools/Linux/build-deps-ubuntu12_04.bash | Shell | apache-2.0 | 13,143 |
#!/bin/sh
test_remote_url() {
for url in "${LXD_ADDR}" "https://${LXD_ADDR}"; do
lxc_remote remote add test "${url}" --accept-certificate --password foo
lxc_remote finger test:
lxc_remote config trust list | grep @ | awk '{print $2}' | while read -r line ; do
lxc_remote config trust remove "\"${lin... | ollie314/lxd | test/suites/remote.sh | Shell | apache-2.0 | 5,193 |
#!/bin/bash
set -eux
: ${WORKSPACE:="$(pwd)"}
export PYTHONDONTWRITEBYTECODE=yep
export SYNAPSE_CACHE_FACTOR=1
# Output test results as junit xml
export TRIAL_FLAGS="--reporter=subunit"
export TOXSUFFIX="| subunit-1to2 | subunit2junitxml --no-passthrough --output-to=results.xml"
# Write coverage reports to a separa... | TribeMedia/synapse | jenkins-unittests.sh | Shell | apache-2.0 | 945 |
#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
# or first arg is `something.conf`
if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then
set -- redis-server "$@"
fi
# allow the container to be started with `--user`
if [ "$1" = 'redis-server' -a "$(id -u)" = '0' ]; then
chown -R redis .
exec su-exec redis ... | sjphiChina/life | docker/redis/docker-entrypoint.sh | Shell | apache-2.0 | 344 |
#!/usr/bin/env sh
#
# Push finished pages into gh-pages branch of the project
#
cd docs/target/gh-pages/
git init
git config user.name "Travis-CI"
git config user.email "travis-ci@andyspohn.com"
git add .
git commit -m "Deploy to GitHub Pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > ... | spohnan/gluster-ansible | docs/deploy-gh-pages.sh | Shell | apache-2.0 | 334 |
#!/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"); y... | dmlc/tvm | docker/install/ubuntu_install_dnnl.sh | Shell | apache-2.0 | 1,156 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.