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 sh
# generated from catkin/cmake/template/setup.sh.in
# Sets various environment variables and sources additional environment hooks.
# It tries it's best to undo changes from a previously sourced setup file before.
# Supported command line options:
# --extend: skips the undoing of changes from a previou... | hanghang177/robo-i-star | catkin_ws/build/catkin_generated/installspace/setup.sh | Shell | gpl-3.0 | 2,715 |
#!/bin/sh
#
# PlanAhead(TM)
# runme.sh: a PlanAhead-generated Runs Script for UNIX
# Copyright 1986-1999, 2001-2013 Xilinx, Inc. All Rights Reserved.
#
if [ -z "$PATH" ]; then
PATH=/opt/Xilinx/14.7/ISE_DS/EDK/bin/lin64:/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64:/opt/Xilinx/14.7/ISE_DS/common/bin/lin64:/opt/Xilinx/14.7... | briburrell/amica | device/scrypt_bitstream/ztex_ufm1_15y.runs/impl_1/runme.sh | Shell | gpl-3.0 | 1,494 |
#!/bin/bash
#-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------... | progman/stupid_make | go.sh | Shell | gpl-3.0 | 2,274 |
#!/bin/sh
if [ $TRAVIS_PULL_REQUEST != "false" ]; then
echo "Not using config.js for pull requests"
exit
fi
if [ $TRAVIS_BRANCH = "master" ] || [ $TRAVIS_BRANCH = "staging" ]; then
echo "Using config.js for branch $TRAVIS_BRANCH"
openssl aes-256-cbc -K $encrypted_f03f2d3a9637_key -iv $encrypted_f03f2d3a9637... | P2Pvalue/teem | .travis/before_script.sh | Shell | agpl-3.0 | 511 |
DATADIR=$1
echo "appellation;cepage" > $DATADIR/cepages.csv
ls $DATADIR/cepages/cepages_*.html | while read file; do nodejs parse_cepages.js $file; done | sort -t ";" -k1.7,1.10 -k1.4,1.5 -k1.1,1.2 -k2,2 >> $DATADIR/cepages.csv | 24eme/AVA | project/import/igp/cepage2csv.sh | Shell | agpl-3.0 | 228 |
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
mkdir -p $BUILDROOT/usr/bin/
# Link to the binary
ln -s /opt/Sferum/sferum $BUILDROOT/usr/bin/sferum
# Set SUID for chrome-sandbox if userns_clone is not supported
userns_path='/proc/sys/kernel/unprivileged_userns_clone'
userns_val="... | Etersoft/eepm | repack.d/sferum.sh | Shell | agpl-3.0 | 477 |
easy_install pip
pip install --upgrade setuptools # to provide package introspection
pip install Pygments # we don't know why
pip install PasteScript # to run the development server
| sgmap/openfisca | bootstrap/common.sh | Shell | agpl-3.0 | 185 |
#!/bin/bash
if [ "$1" == "" ] ; then
SERVERS=`cat all-production-servers.txt`
else
SERVERS=`cat $1`
fi
DIR="/home/tigase/tigase-server"
echo -e "=== SERVERS:\n${SERVERS}"
echo -e "=== DIR:\n${DIR}"
read -p "Press [Enter] key to start restart..."
for s in ${SERVERS} ; do
if [[ ${s} != "#"*... | DanielYao/tigase-server | scripts/restart-all-servers.sh | Shell | agpl-3.0 | 540 |
#!/bin/bash
file="$1"
if [[ "x$file" == "x" ]]
then
echo 'need filename'
exit 1
fi
sed -i.bak '
s/PYTORCH_CL_WRAPPER_DENSE/PytorchWrapper_CL_DR/g
s/PYTORCH_SEQ_WRAPPER_DENSE/PytorchWrapper_SEQ_DR/g
s/KERAS_CL_WRAPPER_DENSE/KerasWrapper_CL_DR/g
s/KERAS_SEQ_WRAPPER_DENSE/KerasWrapper_SEQ_DR/g
s/MALLET_CL_BALANCED_W... | GateNLP/gateplugin-LearningFramework | bin/changeAlgoNames.sh | Shell | lgpl-2.1 | 1,695 |
#!/bin/bash
# attempt to update our copy of libnsgif from the upstream repo
set -e
git clone git://git.netsurf-browser.org/libnsgif.git
echo copying out source files ...
cp libnsgif/src/libnsgif.c .
cp libnsgif/include/libnsgif.h .
cp libnsgif/src/lzw.[ch] .
if [ -d "patches" ]
then
echo applying patches ...
f... | lovell/libvips | libvips/foreign/libnsgif/update.sh | Shell | lgpl-2.1 | 422 |
#!/bin/bash
#
# Library read item testing script
#
# Copyright (C) 2008-2022, Joachim Metz <joachim.metz@gmail.com>
#
# Refer to AUTHORS for acknowledgements.
#
# This software 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 Fre... | libyal/libpff | tests/test_read_items.sh | Shell | lgpl-3.0 | 2,466 |
#!/usr/bin/env bash
set -e
# Wait for an emulator if needed
if [ "$COMPONENT" == "androidtest" ] || [ "$COMPONENT" == "coveralls" ]; then
android-wait-for-emulator
fi
# Start correct process given the $COMPONENT
if [ "$COMPONENT" == "androidtest" ]; then
./gradlew connectedDebugAndroidTest
elif [ "$COMPONENT... | ericcornelissen/NervousFish | gradle/scripts/travis_script.sh | Shell | lgpl-3.0 | 670 |
#!/bin/bash
# Exit immediately on error
set -eu -o pipefail
SPECIES=Homo_sapiens
COMMON_NAME="Human"
ASSEMBLY=hg38
ASSEMBLY_SYNONYMS=GRCh38
SOURCE=UCSC
VERSION=2014-01-09
module_snpeff=mugqic/snpEff/4.2
module_tabix=mugqic/tabix/0.2.6
module_java=mugqic/java/openjdk-jdk1.8.0_72
GENOME_INSTALL_SCRIPT_DIR="$(cd "$(dir... | ccmbioinfo/mugqic_pipelines | resources/genomes/Homo_sapiens.hg38.sh | Shell | lgpl-3.0 | 3,891 |
#!/bin/sh
#
# This script parses the commit messages between the last 2 git tags
# if the last commit contains the word "Release", otherwise it shows
# all the changes between the last tag and HEAD.
#
# Commits are grouped in different sections specified in the commit
# message with the middle-dot character '·'. The se... | kamou/radare2 | sys/release-notes.sh | Shell | lgpl-3.0 | 1,754 |
#!/usr/bin/env bash
#
#PBS -l nodes=1:ppn=32
#PBS -l walltime=48:00:00
#PBS -j oe
#
# Run Notes: ot test with amr and vlct... this looks awful at resolution
# change boundaries
#
cd "${PBS_O_WORKDIR:-./}"
nprocs=2
n_mhd_procs=2
MPIRUN="${MPIRUN:-mpirun}"
MPI_OPTS="-n ${nprocs} ${MPI_OPTS}"
GDB="${GDB:-gdb... | germasch/libmrc | mhd/tests/mhd_ot_vlct_amr.sh | Shell | lgpl-3.0 | 4,757 |
#PBS -S /bin/bash
#PBS -N mnakao_job
#PBS -A XMPTCA
#PBS -q tcaq
#PBS -l select=4:ncpus=20:mpiprocs=4:ompthreads=5
#PBS -l walltime=00:03:00
#PBS -j oe
. /opt/Modules/default/init/bash
#---------------
# select=NODES:ncpus=CORES:mpiprocs=PROCS:ompthreads=THREADS:mem=MEMORY
# NODES : num of nodes
# CORES : num of co... | omni-compiler/omni-compiler | samples/XACC/STREAM/job_scripts/HA-PACS/run_intel_tca_4nodes_16GPUs.sh | Shell | lgpl-3.0 | 592 |
#!/bin/bash
set -x -e -o pipefail
DISTRO=fedora
if [ "$1" = "centos:8" ]; then
DISTRO=centos
fi
if [ "$1" = "centos:7" ]; then
DISTRO=centos
fi
mkdir -p /run/user/${UID}
chmod 0700 /run/user/${UID}
yum install -y wget make gcc
curl -1sLf \
'https://dl.cloudsmith.io/public/wand/libwandio/cfg/setup... | wanduow/libtrace | rpmpkg-setup.sh | Shell | lgpl-3.0 | 1,299 |
#!/bin/bash
# Export tool testing script
#
# Version: 20200705
EXIT_SUCCESS=0;
EXIT_FAILURE=1;
EXIT_IGNORE=77;
OPTION_SETS="";
OPTIONS=();
INPUT_GLOB="*";
test_callback()
{
local TMPDIR=$1;
local TEST_SET_DIRECTORY=$2;
local TEST_OUTPUT=$3;
local TEST_EXECUTABLE=$4;
local TEST_INPUT=$5;
shift 5;
local ARGUME... | libyal/libnk2 | tests/test_nk2export.sh | Shell | lgpl-3.0 | 3,819 |
cd marker_aln
grep -h ">" *.aa.rename | awk '{print $1}' | perl -p -e 's/^>//' | sort | uniq > ../strains
| stajichlab/Phyling | scripts/make_strains_file.sh | Shell | lgpl-3.0 | 107 |
#!/bin/bash
set -eux -o pipefail
# Base packages.
sudo yum install -y \
fontconfig \
jq
# Python requirements.
sudo yum install -y \
bzip2 \
bzip2-devel \
emacs \
git \
findutils \
libffi-devel \
libffi-devel \
openssl-devel \
readline-devel \
sqlite \
sqlite-devel ... | carterjones/nix-config | templates/packages/centos.sh | Shell | unlicense | 454 |
# OSX-only stuff. Abort if not OSX.
dfs_is_osx || return 1
# Install Homebrew.
if [[ ! "$(type -P brew)" ]]; then
dfs_header "Installing Homebrew"
true | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Exit if, for some reason, Homebrew is not installed.
[[ ! "$(type... | alejandrogallo/dotfiles | init/20_osx_homebrew.sh | Shell | unlicense | 1,111 |
#!/bin/bash
#ecc.sh in=<infile> out=<outfile>
usage(){
echo "
Description: Corrects substitution errors in reads using kmer depth information.
Can also normalize and/or bin reads by kmer depth.
Usage: ecc.sh in=<input> out=<reads to keep> outt=<reads to toss> hist=<histogram output>
Please see bbnorm.sh for more in... | CruorVolt/mu_bbmap | src/bbmap/ecc.sh | Shell | apache-2.0 | 1,220 |
#!/bin/bash
sudo apt-get update
sudo curl -sSL https://get.docker.com/ | sudo sh
sudo gpasswd -a vagrant docker
sudo service docker restart
cd /usr/local/bin
sudo curl -LO http://cl.ly/0Q3G1l2t301S/download/docker-1.3.2-dev-linux
sudo mv docker-1.3.2-dev-linux docker
sudo chmod +x docker
sudo service docker stop
sudo... | how2dock/docbook | ch07/compose-devs/docker-bootstrap.sh | Shell | apache-2.0 | 408 |
#!/bin/bash
#
# build the protobuf classes from the .proto. Note tested with
# protobuf 2.4.1. Current version is 2.5.0.
#
# Building:
#
# Running this script is only needed when the protobuf structures
# have change.
#
project_base="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# which protoc that you built... | sjsucmpe275/fluffy | build_pb.sh | Shell | apache-2.0 | 1,171 |
#!/bin/bash
touch /tmp/startup_hook_is_working | yang6n/tomcat-startup-hook | pkg/scripts/startup_hook.sh | Shell | apache-2.0 | 47 |
#!/bin/sh
# Configure sysctl
/etc/rc.d/sysctl
# Load TCE extensions
/etc/rc.d/tce-loader
# Automount a hard drive
/etc/rc.d/automount
# Mount cgroups hierarchy
/etc/rc.d/cgroupfs-mount
# see https://github.com/tianon/cgroupfs-mount
mkdir -p /var/lib/boot2docker/log
#import settings from profile (or unset them)
ex... | nathanleclaire/boot2docker | rootfs/rootfs/bootscript.sh | Shell | apache-2.0 | 1,835 |
#!/bin/sh
export TZ=C
#set -ex
BASE=$1
if [ -z "$BASE" ]; then
echo "dump.sh BASE [DIR]"
echo ""
echo "Example:"
echo " dump.sh https://view.commonwl.org/ /var/backups/"
exit 1;
fi
DIR=$2
if [ -z "$DIR" ]; then
DIR=`pwd`
fi
URL="${BASE}/workflows?page=0&size=100000000"
FILE=${DIR}/`date --iso-8601=seconds | ... | common-workflow-language/cwlviewer | dump.sh | Shell | apache-2.0 | 442 |
DATA=$1
paste -d' ' <(for d in `cat embeddings.list`; do ls $DATA"${d##*data}"; done) <(cat links) | while read first second; do ln -s $first $second; done
| iarroyof/sentence_embedding | ln_gen.sh | Shell | apache-2.0 | 156 |
#!/bin/sh
redis-cli -x set foo < config.json | ichenq/gist | src/bash/file_to_redis.sh | Shell | apache-2.0 | 45 |
docker-compose -f ../../data/scenario/base/docker-compose.yml -f ../../data/scenario/mysql_horizontal/docker-compose.yml -f docker-compose.yml up -d
sleep 60
#generate data
docker-compose -f ../../data/scenario/base/docker-compose.yml -f ../../data/scenario/mysql_horizontal/docker-compose.yml -f docker-compose.yml ... | Iranox/mapbench-clients | scenarios/mysql-horziontal/semagrow/startSemagrow.sh | Shell | apache-2.0 | 1,498 |
#!/bin/bash -e
ftp_url="$1"
name="$2"
if [[ -z "$name" || -z "$ftp_url" ]] ; then
exit 0
fi
osfamily=$(facter osfamily)
ext='rpm'
pkg_ext='rpm'
if [[ "$osfamily" == 'Debian' ]] ; then
ext='deb|tar'
pkg_ext='deb'
fi
rm -rf "/tmp/$name"
mkdir -p "/tmp/$name"
cd "/tmp/$name"
wget -t 2 -T 30 -q "$ftp_url/" -O inde... | emccode/puppet-scaleio | files/get_package.sh | Shell | apache-2.0 | 700 |
#!/bin/bash
source /usr/bin/setenv
$_SERVICE/bin/nexus console
| MagIciaNGTAO/docker | nexus/resources/nexus-start.sh | Shell | apache-2.0 | 65 |
#!/bin/bash
DCP_PRESENCE=$(find /usr/local/bin -name docker-compose | wc -l)
if [ $DCP_PRESENCE -eq 1 ]
then
#docker-compose exec mysql bash /opt/conf-db.sh
docker exec -it mysql /bin/bash /opt/conf-db.sh
else
echo "[*] some problem happened with script: <db_run.sh> :/"
fi
| oshp/headers-ui-container | db_run.sh | Shell | apache-2.0 | 290 |
# Get metadata
data=DISPLAY=":0" DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-VtiCpVkNOX,guid=2190ab4179e97e6607b9e48b56f51b54" qdbus org.kde.amarok /Player org.freedesktop.MediaPlayer.GetMetadata
# Get file name:
filename=""
#convert rating
rating=$1
# Set rating:
eyeD3 --set-user-text-frame=FMPS_Rating:$rat... | lerignoux/droid_control | scripts/rating.sh | Shell | apache-2.0 | 576 |
#!/usr/bin/env bash
set -e
import com.encodeering.ci.config
import com.encodeering.ci.docker
docker-pull "$REPOSITORY/php-$ARCH:7.2-$BASE-$VARIANT" "php:7.2-$VARIANT"
docker-pull "$REPOSITORY/php-$ARCH:7.3-$BASE-$VARIANT" "php:7.3-$VARIANT-buster"
docker-build -t "cloud:$VARIANT" "$PROJECT/$VERSION/$VARIANT"
docker... | encodeering/docker-owncloud | modules/fpm/build.sh | Shell | apache-2.0 | 747 |
#!/bin/bash
sudo apt-get update
sudo apt-get --yes install curl subversion screen gcc g++ cmake ninja-build golang autoconf libtool apache2 python-dev pkg-config zlib1g-dev libgcrypt11-dev libgss-dev libssl-dev libxml2-dev ragel nasm libarchive-dev
| dnoursi/fuzzer-test-suite | tutorial/install-deps.sh | Shell | apache-2.0 | 249 |
#!/bin/bash
NUM_PARAMS=34
######################
# INTERNAL FUNCTIONS
######################
add_to_classpath () {
local baseDir=${1}
for i in ${baseDir}/*.jar; do
CLASSPATH=$CLASSPATH:"$i"
done
export CLASSPATH=$CLASSPATH
}
# Displays runtime/application errors
error_msg() {
... | mF2C/COMPSs | compss/runtime/adaptors/nio/scripts/setup.sh | Shell | apache-2.0 | 8,757 |
# coding=utf-8
# Copyright 2018 The Google AI Language Team 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 ... | google-research/language | language/bert_extraction/steal_bert_classifier/scripts/run_extraction_random.sh | Shell | apache-2.0 | 4,687 |
#This script modify the sketch
| OctopusCorporation/Quimera | src/ArduinoFactory.sh | Shell | apache-2.0 | 31 |
#!/bin/bash
yum -y update && yum clean all
# Zero out empty spaces on the Volume to enable better compression
# of the virtual hardisk
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
# Sync to ensure that the delete completes before this moves on.
sync
sync
sync
# TODO anything other needed ? | kameshsampath/devops | packer/scripts/cleanup.sh | Shell | apache-2.0 | 294 |
#!/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... | AthensWorks/OBWapp-iOS | Brew Week/Pods/Target Support Files/Pods-Brew Week/Pods-Brew Week-frameworks.sh | Shell | apache-2.0 | 3,656 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
# Load libraries
. /opt/bitnami/scripts/libos.sh
info "** Starting Cron **"
cron
| ReanGD/docker-alpine | docker/postgresql/rootfs/opt/scripts/walg-run.sh | Shell | apache-2.0 | 142 |
#! /bin/bash
# Cleanup folder
rm -rf _assets
# Recreate folder
mkdir -p _assets/website/
mkdir -p _assets/ebook/
# Compile JS
browserify src/js/core/index.js | uglifyjs -mc > _assets/website/gitbook.js
browserify src/js/theme/index.js | uglifyjs -mc > _assets/website/theme.js
# Compile Website CSS
les... | qoncrete/qoncrete.com | resources.md/node_modules/gitbook-plugin-theme-arangodb/src/build.sh | Shell | apache-2.0 | 1,013 |
#!/bin/bash
chown 22022 /var/lib/engines/cert_auth/public/ca/certs/
| EnginesOS/System | system/updates/to_run/system/17/updater.sh | Shell | apache-2.0 | 72 |
#! /bin/bash
#+-------------------------------------------------------------------------+
# Author: Team @ Hooduku for Hooduku Cloud
# Date : 09 SEP 2010
# Purpose: This Script automates the setting up of Nagios and Cacti Agents on every Instance.
# Send feedback to info@hooduku.com
#+----------------------------------... | vasanthkg/Nagios-Cacti | src/Auto_agent_installer_new.sh | Shell | apache-2.0 | 15,535 |
#!/bin/bash
set -e
BUILD_FILE=u-boot.bin
BUILD_MODE=uboot
show_help()
{
printf "\n add_hash.sh - add git log hash value into uboot,boot0,sboot,fes \n"
echo " eg :"
echo " ./add_hash.sh -f input_file -m file_flag "
echo " file_flag = uboot or boot0 or sboot"
printf "\n\n"
}
build_uboot()
{
dd... | OLIMEX/DIY-LAPTOP | SOFTWARE/A64-TERES/u-boot_new/tools/add_hash_uboot.sh | Shell | apache-2.0 | 1,078 |
curl -X POST -H "Content-Type:application/json" -d "{'portName':'spine1-eth1','portNumber':1,'band':'10Gbps'}" "http://localhost:18080/ofpm/device_mng/port/spine1"
curl -X POST -H "Content-Type:application/json" -d "{'portName':'spine1-eth2','portNumber':2,'band':'10Gbps'}" "http://localhost:18080/ofpm/device_mng/por... | okinawaopenlabs/of-patch-openflow-controller | ofp_ofc_ryu/tools/register_ports.sh | Shell | apache-2.0 | 1,966 |
#!/bin/bash -ex
#
# 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")... | dduvnjak/apache-bigtop | bigtop-packages/src/common/hadoop/init-hdfs.sh | Shell | apache-2.0 | 3,973 |
#!/bin/sh
make -f "jni/Linux.mk"
valgrind --tool=memcheck --leak-check=full --suppressions=scripts/LinuxValgrind.supp --log-file=valgrind.log ./game
| links234/MPACK | scripts/valgrind_linux.sh | Shell | apache-2.0 | 150 |
#!/bin/bash
DEFAULT_M2=$USERPROFILE/.m2/repository
M2_REPO=${1:-$DEFAULT_M2}
java -cp "target/test-classes;target/classes;$M2_REPO/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar;$M2_REPO/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar;$M2_REPO/commons-logging/commons-logging/1.2/commons-l... | marklogic/java-client-api | marklogic-client-api/src/test/resources/teardown-test-cygwin.sh | Shell | apache-2.0 | 457 |
#!/bin/sh
set -e
GUIDES_MAVEN_SYSTEM_PROPERTIES="${GUIDES_MAVEN_SYSTEM_PROPERTIES:--Xms256m -Xmx256m}"
GUIDES_GRADLE_SYSTEM_PROPERTIES="${GUIDES_GRADLE_SYSTEM_PROPERTIES:--Dorg.gradle.jvmargs="-Xmx256m -Xmx256m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false}"
export MAVEN_OPTS="${GUIDES_MAVEN_SYSTEM_PROP... | spring-cloud/spring-cloud-contract | guides/gs-contract-rest/test/run.sh | Shell | apache-2.0 | 805 |
#!/bin/bash
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | google/gae-secure-scaffold-python3 | examples/python-app/run.sh | Shell | apache-2.0 | 1,135 |
#!/bin/sh
# Copyright 2009-2012 Splunk, Inc.
#
# ... | romeroj1/potential-batman | FabricHome/Splunk_TA_nix/bin/vmstat.sh | Shell | apache-2.0 | 7,202 |
#!/bin/bash
SERF_HOME=/usr/local/serf
SERF_BIN=$SERF_HOME/bin/serf
SERF_CONFIG_DIR=$SERF_HOME/etc
SERF_LOG_FILE=/var/log/serf.log
SERF_INIT_DIR=/usr/local/init
set -x
echo "Executing scripts from $SERF_INIT_DIR" | tee $SERF_LOG_FILE
for file in $SERF_INIT_DIR/*
do
echo "Execute: $file" | tee -a $SERF_LOG_FILE
... | zombieJ/incubator-eagle | eagle-external/eagle-docker/resource/serf/bin/start-serf-agent.sh | Shell | apache-2.0 | 1,192 |
#!/bin/bash
# This script's aim is sending mail to tenant administrator when instance launch on DR destination cloud.
# It's expected that this script works by CRON.
# ex)
# 00 */1 * * * /var/lib/dr/script/auto_sendmail.sh > /dev/null
# Set shell variables.
BASEDIR=/var/lib/dr
SHAREDIR=/opt/share
# Get recovered ins... | nec-soft/openstack-disaster-recovery | scripts/auto_sendmail.sh | Shell | apache-2.0 | 2,482 |
pkg_name=randrproto
pkg_origin=core
pkg_version=1.5.0
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="X11 RandR extension wire protocol"
pkg_upstream_url="https://www.x.org/"
pkg_license=('MIT')
pkg_source="https://www.x.org/releases/individual/proto/${pkg_name}-${pkg_version}.tar.bz2"
pkg... | be-plans/be | randrproto/plan.sh | Shell | apache-2.0 | 542 |
#!/bin/sh
#脚本使用说明
Usage(){
echo "Git 使用脚本
Usage :
#add commit push
./update.sh push commit 内容
./update.sh push 提交内容"
}
TODO=$1
DESC=$2
push(){
git add .
git st
git ci "$DESC"
git push os master
git push gb master
}
die(){
echo #print
echo "$*"
Usage
echo
exit 1
}
case $TODO in
push )
push
;;
*)... | hljwang3874149/ElephantReader | update.sh | Shell | apache-2.0 | 382 |
#!/usr/bin/env bash
set -euo pipefail
if test ${CI:-}; then
set -x # For better debugging
# Source: https://discuss.circleci.com/t/brew-link-step-failing-on-python-dependency/33925/8?u=ashishb
export HOMEBREW_NO_AUTO_UPDATE=1
fi
# Use Python 3
# Upgrade pip to the latest version
sudo python3 -m pip insta... | ashishb/dotfiles | setup/setup_new_mac_machine.sh | Shell | apache-2.0 | 8,683 |
#!/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"); you... | pcu-consortium/pcu | deployment/bin/start-pcu-agent-database.sh | Shell | apache-2.0 | 961 |
#!/usr/bin/env bash
# Copy stdout to fd 3 and redirect stdout/stderr to /var/log/f5-monitor.log
exec 3>&1 &> /var/log/f5-monitor.log #/dev/null
#/var/log/f5-monitor.log - replace null with this file to enable logging when executing the script
# Auth connection
auth_proto="http"
auth_ip="INSERT-IP-HERE"
#Internal ... | byronmccollum/rpc-openstack | scripts/f5-monitor.sh | Shell | apache-2.0 | 4,612 |
#!/bin/bash
#
# Copyright (c) 2001-2016 Primeton Technologies, Ltd.
# All rights reserved.
#
# author: ZhongWen Li (mailto:lizw@primeton.com)
#
# private docker registry
REGISTRY_URL="euler-registry.primeton.com"
PUSH_IMG="no"
RM_IMG="no"
LATEST="no"
# override this function
_dohelp() {
echo "[WARN] Please over... | Primeton-External/euler-chidi | installer/docker/common/env.sh | Shell | apache-2.0 | 607 |
#!/bin/sh
echo BIOC_VERSION is $BIOC_VERSION
cp -r /xfer/* /home/biocbuild/public_html/BBS/$BIOC_VERSION/bioc
chmod -R a+rw /home/biocbuild/public_html/BBS/$BIOC_VERSION/bioc
# echo "about to sleep forever"
# tail -f /dev/null | Bioconductor/BBS-docker | runOnDataVolume.sh | Shell | artistic-2.0 | 229 |
#!/bin/bash
### Dependencies: mediainfo, lame, id3 or id3tool, [vorbis-tools (ogginfo,vorbiscomment)]?
### Exit Status Table ###
#-1 == Clean Up Action Interrupted
# 0 == Success
# 1 == Invalid Parameter Flag
# 2 == Missing Directory
### TODO:
# Write/update ogg tags.
# Edit other tag fields.
# Log preferences: date... | moonsdad/music-mgr | collect_music.sh | Shell | artistic-2.0 | 8,302 |
#!/bin/sh
export RTFBLOG_DB_TEST_URL="user=tstusr dbname=tstdb password=tstpwd"
export RTFBLOG_DB_STAGING_TEST_URL="user=tstusr dbname=stagdb password=tstpwd"
export RTFBLOG_DB_DRIVER=postgres
| rtfb/rtfblog | scripts/export-db-url.sh | Shell | bsd-2-clause | 194 |
echo "DEPLOY_STATUS=1" > ./startnow/deploy.py
appcfg.py -A fresh-buffer-128211 update app.yaml
echo "import grequests;DEPLOY_STATUS=0" > ./startnow/deploy.py
| madhurrajn/samashthi | deploy.sh | Shell | bsd-3-clause | 158 |
git pull
mvn -q clean install 2>/dev/null
| qld-gov-au/orders | build.sh | Shell | bsd-3-clause | 42 |
#!/bin/sh
rm -rf /var/www/html/output/*
lighttpd -D -f lighttpd.conf
| avble/lighttpd | server.sh | Shell | bsd-3-clause | 71 |
#!/bin/sh
printf "WARNING: This changelog is only provided for compatibility reasons\nfor autoconf and may be a few commits off. For a more reliable changelog\nuse \`git log'.\n\n" > ChangeLog
git log >> ChangeLog
| lainegholson/gtk-helloworld | mk-changelog.sh | Shell | bsd-3-clause | 214 |
#!/bin/bash -ef
if [ "$CIRCLE_BRANCH" == "master" ] || [[ $(cat gitlog.txt) == *"[circle full]"* ]]; then
echo "Doing a full dev build";
echo html_dev-memory > build.txt;
python -c "import mne; mne.datasets._download_all_example_data()";
elif [ "$CIRCLE_BRANCH" == "maint/0.22" ]; then
echo "Doing a ful... | Eric89GXL/mne-python | tools/circleci_download.sh | Shell | bsd-3-clause | 7,363 |
#!/bin/sh
# Copyright (c) 2013, Daynix Computing LTD (www.daynix.com)
# All rights reserved.
#
# Maintained by oss@daynix.com
#
# This file is a part of VirtHCK, please see the wiki page
# on https://github.com/daynix/VirtHCK/wiki for more.
#
# This code is licensed under standard 3-clause BSD license.
# See file LICE... | sameehj/VirtHCK | run_hck_client.sh | Shell | bsd-3-clause | 7,528 |
#!/bin/sh
###
### File : install.sh
### Title : DOTfiles install script
### Author : ɛntiˈtɛːt.kaɪ̯
### Date : 2016-03-18
###
### Text attributes
ATTB="$(tput bold)"
ATT0="$(tput sgr0)" # Reset all attributes
### Foreground colors
FCRED="$(tput setaf 1)"
FCGREEN="$(tput setaf 2)"
### Markup
error() { p... | entity-is/DOTfiles | install.sh | Shell | bsd-3-clause | 678 |
#!/usr/bin/env bash
cd "$(dirname "$0")/.."
SCRIPT_NAME=`basename $0`
((!$#)) && echo "Specify the Project Version, for example: ./"$SCRIPT_NAME" 1.2.3-build.5.sha.c67a8c2" && exit 1
mvn versions:set -DnewVersion=$1 | jan-molak/metricsd | build/3_set_pom_version.sh | Shell | bsd-3-clause | 218 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd $DIR
docker run --rm -d -p 8000:8080 -v $DIR:/opt/sonarqube-companion/repository consdata/sonarqube-companion:latest-snapshot
popd | Consdata/sonarqube-companion | run-snapshot.sh | Shell | mit | 205 |
#!/bin/bash
#copy passed in sample names
samples=""
for var in "$@"
do ... | syreal17/Cardinal | tests/windows/generate_report.sh | Shell | mit | 518 |
#! /bin/bash
if [[ $1 = "" ]];
then
echo 'Not enough arguments. Example usage: run.sh [filename]'
exit
fi
CHUNK_SIZE=300
./apl_project $1 1 1 $CHUNK_SIZE
./apl_project $1 1 8 $CHUNK_SIZE
./apl_project $1 1 16 $CHUNK_SIZE
./apl_project $1 1 64 $CHUNK_SIZE
./apl_project $1 1 128 $CHUNK_... | rolnikrolnik/CudaPixelSort | run-optimized.sh | Shell | mit | 368 |
#!/bin/bash
cd $HOME
$*
| ipunkt/docker-gulp-tasks | scripts/entrypoint.sh | Shell | mit | 25 |
#!/bin/bash
cd ..
git clone https://github.com/julienlopez/ETL.git
cd ETL
sudo ln -s $PWD/etl /usr/include | julienlopez/QRocketLaunchSimulator | ci/build_etl.sh | Shell | mit | 106 |
#!/bin/bash
#
# Assuming you have a kubernetes cluser and kubectl installed
#
if kubectl get svc | grep gitlab > /dev/null 2>&1 ;
then
echo "gitlab service already exists."
else
for i in *.yml
do
kubectl create -f $i
done
fi
kubectl get pods
kubectl get svc
| jrjang/docker-gitlab | kubernetes/start.sh | Shell | mit | 286 |
rm -rf public/*.js
rm -rf public/js/*.js
npm run dev | weburnit/laradock | compile.sh | Shell | mit | 52 |
#!/bin/bash
echo "Installing RetroArch. This may take a while. Please be patient..."
# Zeroing working dir.
cd ~
# Update and install
sudo apt-get update
sudo apt-get install -y build-essential git pkg-config libsdl2-dev libsdl1.2-dev
# Clone project
git clone https://github.com/libretro/RetroArch.git
# Go to buil... | IkerGarcia/PocketInstaller | Installers/retroarch.sh | Shell | mit | 1,316 |
#!/bin/bash
if [ -z "$FUNCTIONS_POWERMONITOR" ]; then
FUNCTIONS_POWERMONITOR=1
mydir=$( dirname "$BASH_SOURCE" )
source "$mydir/constants.sh"
source "$mydir/functions_misc.sh"
#powerLogTmpDir="/cygdrive/f/josiah/tmp"
logfile="$tmpDir/logfile.gz"
windowsLogfile=$( windowsPath "$logfile" )
powerAverager="$myd... | jcmcclurg/serverpower | experiments/scripts/ua_vs_sparksql_powercap/functions_powerMonitor.sh | Shell | gpl-2.0 | 2,050 |
#!/bin/bash
# Regression test.
#
# Copyright (C) 2016
# Ole Tange and Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at ... | LingYunZhi/lrzip | regressiontest.sh | Shell | gpl-2.0 | 2,784 |
$ zzquimica #=> --lines 119
$ zzquimica | head
N.º Nome Símbolo Massa Orbital Classificação (Estado)
1 Hidrogênio H 1,00794 1 Não Metal (Gasoso)
2 Hélio He 4,002602 2 Gás Nobre (Gasoso)
3 Lí... | funcoeszz/funcoeszz | testador/zzquimica.sh | Shell | gpl-2.0 | 6,451 |
#!/bin/bash
if ./vhdlpp $1; then
cp ~/schrottplatz/fnord.output.dot ${1%.vhd}.dot
dot -T png ~/schrottplatz/fnord.output.dot > ${1%.vhd}.png
dot2tex --codeonly \
--figpreamble '\resizebox{\textwidth}{!}{\begin{tikzpicture}[line join=bevel,anchor=base]' \
--figpostamble '\end{tikzpi... | forflo/yodl | vhdlpp/vhdl_testfiles_graphs/synthesisShowcase/renderCode.sh | Shell | gpl-3.0 | 436 |
#!/bin/bash
#
# Settings for host sunda (Just's Mac)
#
# Author: Just van den Broecke
#
INSPIRE_FOSS_HOME=/Users/just/project/customers/kadaster/svn/project/inspire-foss/trunk
GEODATA_HOME=/Users/just/geodata
TO_GML_SCRIPT=$INSPIRE_FOSS_HOME/etl/NL.RWS/bin/to-gml.sh
TO_SHAPE_SCRIPT=$INSPIRE_FOSS_HOME/etl/NL.Kadaster... | justb4/inspire-foss | etl/NL.RWS/bin/settings-sunda.sh | Shell | gpl-3.0 | 536 |
#!/bin/sh
# Run whenever an interface gets "up", not otherwise:
if [ "$2" != "up" ]; then
exit 0
fi
IPTABLES_RULES=/etc/firewall.conf
IP6TABLES_RULES=/etc/firewall6.conf
[ -x /sbin/iptables-restore ] || exit 2
[ -n "$IPTABLES_RULES" ] || exit 3
[ -r "$IPTABLES_RULES" ] || exit 4
[ -x /sbin/ip6tables-restore ] ||... | azumi-/amnesia | config/chroot_local-includes/etc/NetworkManager/dispatcher.d/00-firewall.sh | Shell | gpl-3.0 | 492 |
#$ -N DOMEF_1500_007_LHOAT_MonaLisa
#$ -V
#$ -pe mpich 16 # number of cores:
#$ -M giacomo.bertoldi@eurac.edu,samuel.senoner@eurac.edu
#$ -m beas # all job events sent via email
#$ -l h_rt=4:00:00
#$ -o $HOME/Simulations/MonaLisaSims/
#$ -e $HOME/Simulations/MonaLisaSims/
#### bash script for job for sensitivity 1D ... | ecor/MonaLisa | run/DOMEF_1500_Optim_007/optim/job_DOMEF_1500_LHOAT.sh | Shell | gpl-3.0 | 1,359 |
timeout_set "5 minutes"
# Create a file where all chunk replications would be reported
replication_log=$TEMP_DIR/log
touch "$replication_log"
# Prints the current human-readable status of chunkservers (disk usage, number of chunks, etc)
status() {
lizardfs-probe list-chunkservers localhost "${info[matocl]}"
}
# Set... | cloudweavers/lizardfs | tests/test_suites/LongSystemTests/test_custom_goals_generate_no_accidental_rebalancing.sh | Shell | gpl-3.0 | 1,869 |
#!/bin/sh
DATE=$(date +"%B %e, %Y %H:%M %Z")
echo "title: Markdown Mode for Emacs
description: A major mode for GNU Emacs for editing Markdown-formatted text files.
markup: markdown
city: Columbus
created: May 24, 2007 23:47 GMT
modified: $DATE
style: #badges { margin-bottom: 1.5rem; }
<div id=\"badges\">
<a href=\"... | emacsmirror/markdown-mode | webpage.sh | Shell | gpl-3.0 | 1,316 |
#!/bin/sh
while true ; do
../tools/fuzzxml -r 0.1 $1 fuzz.xml
if ../src/lasem-render-0.4 fuzz.xml -o fuzz.png ; then
echo "Fuzzed file processed correctly"
else
echo "Oops ! Crash file detected..."
exit
fi
done
| janmarthedal/mathml2svg | tests/fuzztest.sh | Shell | lgpl-2.1 | 223 |
#!/bin/bash
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
ibus-daemon -x -d
| inn1983/docker-builder | app-i18n/ibus-chewing/latest/root/etc/profile.d/30-ibus.sh | Shell | lgpl-3.0 | 117 |
#!/bin/bash
docker-compose rm -vf
docker-compose pull
docker-compose build
docker-compose up -d
sleep 60
#docker exec kbendtoendtests_tests bash /tests/run_docker.sh
result=$?
docker logs integrationtests_tests_1
docker-compose stop
docker-compose rm -vf
exit $result
| nhsevidence/ld-viewer | integration-tests/run.sh | Shell | unlicense | 269 |
#!/bin/sh
set -eux
# envsubst \
# '$NGINX_SERVER_NAME' \
# </etc/nginx/nginx.conf.envsubst \
# >/etc/nginx/nginx.conf
# Currently there are no substitution
cp -v /etc/nginx/nginx.conf.envsubst /etc/nginx/nginx.conf
exec nginx -g 'daemon off;'
| 10sr/server-provisions | sakura/docker-compose/prometheus0/nginx_cmd.sh | Shell | unlicense | 264 |
#!/bin/bash
#
# Copyright 2017 Goldman Sachs.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | goldmansachs/obevo | obevo-db-impls/obevo-db-postgresql/postgresql-setup.sh | Shell | apache-2.0 | 935 |
#!/usr/bin/env bash
WARMER_LOG="/lio/log/warmer_run.log"
WARMER_LAST_EMAIL="/lio/log/warmer_last_email.log"
WARMER_SUMMARY_EXEC="/usr/local/bin/warmer_summary.sh"
NAME=${HOSTNAME}
[ "${DOCKER_NAME}" != "" ] && NAME="${DOCKER_NAME} on ${HOSTNAME}"
# Check if it's a different day since the last email
if [ -e ${WARMER_L... | tacketar/lstore | lserver/files/usr/local/bin/email_warmer_summary.sh | Shell | apache-2.0 | 1,389 |
#!/bin/bash
# php peut ètre remplacé par php5 selon la version installée
php ./../Lib/Edely/test.lib.php > ./../Log\Test\last.txt | neoPix/Edely | scripts/executeTests.sh | Shell | apache-2.0 | 134 |
#!/bin/bash
# Copyright 2011, Dell
#
# 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 writin... | rhafer/crowbar | run-installer.sh | Shell | apache-2.0 | 2,272 |
#!/bin/bash
echo "# begin build properties"
echo "# autogenerated by buildinfo.sh"
echo "ro.build.id=$BUILD_ID"
echo "ro.build.display.id=$BUILD_DISPLAY_ID"
echo "ro.build.version.incremental=$BUILD_NUMBER"
echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
echo "ro.build.version.preview_sdk=$PLATFORM_PREVIEW_SDK_VERS... | xorware/android_build | tools/buildinfo.sh | Shell | apache-2.0 | 2,472 |
#!/bin/sh
#
# David Janes
# IOTDB.org
# 2015-11-14
#
# Add policies to AWS IoT
#
# This assumes that you've already got to the 'aws configure'
# stage and you're logged in a user that is "root" authenticated
# for both IAM and IOT
MY_AWS_ORG=${MY_AWS_ORG:=org}
MY_AWS_GRP=${MY_AWS_GRP:=grp}
MY_AWS_SCOPE=... | dpjanes/aws-iot-toolkit | iot/policies/AddPolicy.sh | Shell | apache-2.0 | 2,951 |
#!/bin/bash
source config.ini
echo $APP
echo $WEB_CLIENT_ID
TMP_FILE="temp"
# patch app.yaml with application name from config.ini
sed "s/YOUR_APP_NAME/$APP/g" app.yaml > TMP_FILE
mv TMP_FILE app.yaml
# patch endpoints API and javascript to use your API key
files=("roomba.py" "static/js/roomba.js")
for f in "${files... | ilyanesterov/imp-roomba-gae-app | setup.sh | Shell | apache-2.0 | 466 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.