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
. `dirname $0`/simple_curses.sh
main (){
#basic informations, hostname, date,...
window "`hostname`" "red"
append "`date`"
addsep
append_tabbed "Up since|`uptime | cut -f1 -d"," | sed 's/^ *//' | cut -f3- -d" "`" 2 "|"
append_tabbed "Users:`uptime | cut -f2 -d"," | sed 's/^ *//'| c... | itmo/bashsimplecurses | bashbar.sh | Shell | bsd-3-clause | 1,561 |
#!/bin/bash
#
#
#####################
IOS_VERSION=$1
CONFIGURATION=$2
APP_NAME=JFFNetworkTest
LAUNCH_DIR=$PWD
echo arg1 - $1
echo IOS_VERSION - $IOS_VERSION
cd ../../
PROJECT_ROOT=$PWD
cd "$LAUNCH_DIR"
cd "$PROJECT_ROOT/lib-third-party/JFFLibrary/test/$APP_NAME"
pwd
xcodebuild -project $APP_NAME.xcod... | dodikk/scripts-iPhone-dev | scripts-build/test/RunJNetworkTest.sh | Shell | bsd-3-clause | 908 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-MacOSX
CND_CONF=Release
CND_DISTDIR=dist
NBTMPDIR=build/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/us_example_mudp_tx
OUTPUT_BASENAME=us_example_mudp_tx
PACK... | jdkoftinoff/microsupport | build/nb/us_example_mudp_tx/nbproject/Package-Release.bash | Shell | bsd-3-clause | 1,451 |
#!/usr/bin/env bash
set -e
SCRIPT=`pwd`/$0
FILENAME=`basename $SCRIPT`
PATHNAME=`dirname $SCRIPT`
BASE_BIN_DIR="build"
usage()
{
cat << EOF
usage: $0 options
Generate Erizo projects. It will generate all builds if no option is passed.
OPTIONS:
-h Show this message
-d Generate debug
-r Genera... | lodoyun/licode | erizo/generateProject.sh | Shell | mit | 940 |
#!/bin/bash
# These are the commands to run on the host so the Beagle
# can access the Internet through the USB connection.
# Run ./ipForward.sh the first time. It will set up the host.
# Run this script if the host is already set up.
# Inspired by http://thoughtshubham.blogspot.com/2010/03/internet-over-usb-otg-on-be... | ValRose/Rose_Bone | setup/setDNS.sh | Shell | mit | 1,136 |
############# SETOPT ######################################
# http://zsh.sourceforge.net/Doc/Release/Options-Index.html
# ===== Basics
# please no beeeeeeps
setopt NO_BEEP
# list jobs in the long format by default
setopt LONG_LIST_JOBS
# allow comments even in interactive shells
setopt INTERACTIVECOMMENTS
# all unqu... | voku/dotfiles | .redpill/lib/1_options.zsh | Shell | mit | 4,523 |
#!/bin/bash
FN="nanotubes_1.0.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/experiment/src/contrib/nanotubes_1.0.0.tar.gz"
"https://bioarchive.galaxyproject.org/nanotubes_1.0.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-nanotubes/bioconductor-nanotubes_1.0.0_src_all.tar.gz"
"h... | jerowe/bioconda-recipes | recipes/bioconductor-nanotubes/post-link.sh | Shell | mit | 1,404 |
#!/usr/bin/env bash
##############################
# Rare CNV Map Project #
##############################
# Copyright (c) 2016 Ryan L. Collins
# Distributed under terms of the MIT License (see LICENSE)
# Contact: Ryan L. Collins <rlcollins@g.harvard.edu>
# Code development credits availble on GitHub
# Shuffle... | RCollins13/rCNVmap | bin/misc_or_depricated/shuffle_CNV_labels.sh | Shell | mit | 3,933 |
#!/bin/bash
pepper -G 'roles:butler-web' service.restart nginx | llevar/germline-regenotyper | configuration/salt/state/kapacitor/scripts/restart_nginx.sh | Shell | mit | 62 |
#!/usr/bin/ksh
#
# list ioms in a lab
#
###############################################################################
lcssyslog -q syscalls ${0} ${*}
#
CMD=${0}
#
branchclause=
#
trap 'rm -f /tmp/*$$ 1>/dev/null 2>&1' 0 1 2 15
#
usage() {
echo
echo "usage: $CMD [-x?] [-b branch] [labid]"
echo
echo "where:"
echo ... | ombt/ombt | lts08.lcstools/tools/src/lcsstat/lcslabioms.sh | Shell | mit | 1,037 |
#!/usr/bin/env bash
# shellcheck disable=SC1091
#
# NOTE: Before running this script, make sure that XCode commandline tools are installed and its terms/conditions accepted.
# xcode-select --install
brew_get_head() {
brew update
brew upgrade
brew cask upgrade
brew cleanup
}
brew_install() {
# Install Homebr... | sbolel/bash-osx-setup | osx-setup.sh | Shell | mit | 5,806 |
#nice options for bash scripts
set -o pipefail # trace ERR through pipes
set -o errtrace # trace ERR through 'time command' and other functions
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errexit ## set -e : exit the script if any statement returns a non-true return val... | lpantano/scripts_hsph | slack_cel_network/concat_fastq.sh | Shell | mit | 651 |
#!/usr/bin/env bash
set -e
if [ "${1:0:1}" != '-' ]; then
exec "$@"
fi
# Parse Docker env vars to customize SonarQube
#
# e.g. Setting the env var sonar.jdbc.username=foo
#
# will cause SonarQube to be invoked with -Dsonar.jdbc.username=foo
declare -a sq_opts
while IFS='=' read -r envvar_key envvar_value
do
... | RadoslawOsinski/dotfiles | development/docker/sonar_z_backendem/sonar/run.sh | Shell | mit | 832 |
#!/usr/bin/env bash
# cd to directory of script
cd "$( dirname "${BASH_SOURCE[0]}" )" || exit
# For xcpretty to properly parse cocoapods output
export LC_ALL=en_US.UTF-8
# Build sample app
xcodebuild -workspace FabricSampleApp.xcworkspace -scheme FabricSampleApp -configuration Release build -sdk iphoneos | xcpretty
| BalestraPatrick/Tweetometer | Carthage/Checkouts/twitter-kit-ios/DemoApp/build.sh | Shell | mit | 320 |
#!/bin/bash
#process inputs
#the directory containing the data to align
datadir=$1
#the directory containing the language model
langdir=$2
#the language directory for the model used for testing
testlang=$3
#the directory where everything will be stored
traindir=$4
#location of the kaldi root directory
kaldi=$5
nj=4
... | vrenkens/Nabu-asr | nabu/scripts/kaldi/train_gmm.sh | Shell | mit | 1,790 |
#!/bin/bash -e
/usr/bin/python $SRC_BASE/pynlpini/ner/tag_ner_txt.py $BASE/data/ner_training.txt $BASE/tmp/ner_training.normalize.txt $BASE/tmp/ner_training.tag.txt
crf_learn -f 1 -m 50 -c 1.0 -p 1 $SRC_BASE/pynlpini/ner/ner.template $BASE/tmp/ner_training.tag.txt $BASE/model/ner.crf.model
| junjiemao/pynlpini | test/test_ner.sh | Shell | gpl-2.0 | 294 |
#!/bin/bash
#/**
# * (NOT READY!) Will extract the files from an .iso file
# *
# * By mounting it in the background, copying the contents and then unmounting it.
# *
# * @author Kevin van Zonneveld <kevin@vanzonneveld.net>
# * @copyright 2008 Kevin van Zonneveld (http://kevin.vanzonneveld.net)
# * @license http:/... | thebillkidy/desple.com | wp-content/themes/capsule/ui/lib/phpjs/ext/kvzlib/bash/programs/unpackiso.sh | Shell | gpl-2.0 | 1,062 |
#!/usr/bin/env bash
####################################################################
#
# This script launches Areca's Text user interface.
#
####################################################################
PROGRAM_DIR=`dirname "$0"`
"${PROGRAM_DIR}"/areca_run.sh com.application.areca.launcher.tui.Launcher "$1"... | chfoo/areca-backup-release-mirror | bin/areca_cl.sh | Shell | gpl-2.0 | 384 |
#!/bin/sh
setxkbmap $1
| carlosperate/udoo-web-conf | shscripts/setkblayouts.sh | Shell | gpl-2.0 | 25 |
#!/bin/bash
#
# Test4Theory Container Init Script
# (C) Copyright 2015, Ioannis Charalampidis, PH/SFT, CERN
#
# Configuration parameters
BOOTSTRAP_NAME="test4theory-databridge"
# Less important parameters
DUMBQ_DIR="/cvmfs/sft.cern.ch/lcg/external/experimental/dumbq"
DUMBQ_LOGCAT="${DUMBQ_DIR}/client/utils/dumbq-logc... | wavesoft/dumbq | bootstraps/test4theory-databridge/init.sh | Shell | gpl-2.0 | 1,833 |
# 300_dns.sh
#
# copy resolver info for Relax-and-Recover
#
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
COPY_AS_IS+=( /etc/resolv.conf /etc/hosts /etc/host.conf )
| gozora/rear | usr/share/rear/rescue/GNU/Linux/300_dns.sh | Shell | gpl-3.0 | 267 |
#!/usr/bin/env bash
: <<'END'
This software was created by United States Government employees at
The Center for the Information Systems Studies and Research (CISR)
at the Naval Postgraduate School NPS. Please note that within the
United States, copyright protection is not available for any works
created by United... | cliffe/SecGen | modules/utilities/unix/labtainers/files/Labtainers-master/scripts/designer/system/bin/togglegw.sh | Shell | gpl-3.0 | 1,957 |
#!/bin/bash
#SBATCH -N 1
#SBATCH -C haswell
#SBATCH -p debug
#SBATCH -J 0100-md
#SBATCH --mail-user=majewski@phys.ufl.edu
#SBATCH -t 00:30:00
#SBATCH --mem-per-cpu 64
OpenMP settings:
export OMP_NUM_THREADS=1
export OMP_PLACES=threads
export OMP_PROC_BIND=spread
module load espresso
srun -n 32 -c 2 --cpu_bind=... | Altoidnerd/paradichlorobenzene5 | 17.volume_dependence/3.v_dependent_mds/0100/md/debug.md.cori.bash | Shell | gpl-3.0 | 353 |
#!/usr/bin/env bash
# <name>
# see <command> -h for info/help
# Constants
readonly XLTAPPNAME="<name>"
readonly XLTAPPCMD="<command>"
readonly XLTAPPDESC="<desc>"
readonly XLTAPPVER="1.0"
readonly XLTAPPREQPKGS=""
readonly XLTAPPAUTH="Matthew@XLTech.io (Astro7467)"
readonly XLTBUGREPORT="https://github.com/xltechasia/... | xltechasia/xltech | bin/mntsshfs.sh | Shell | gpl-3.0 | 1,562 |
#!/usr/bin/env sh
set -e
if [ -z "$NAME" ]; then
echo "Missing \$NAME!"
exit 127
fi
if [ -z "$PROJECT" ]; then
echo "Missing \$PROJECT!"
exit 127
fi
# Get the git commit information
GIT_COMMIT="$(git rev-parse --short HEAD)"
GIT_DIRTY="$(test -n "$(git status --porcelain)" && echo "+CHANGES" || true)"
# Rem... | martinssipenko/consul-template | scripts/compile.sh | Shell | mpl-2.0 | 1,949 |
#!/bin/bash
# -*- coding: latin-1 -*-
# Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U
#
# This file is part of Orion Context Broker.
#
# Orion Context Broker is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License as
# published by the Free Sof... | fiwareulpgcmirror/fiware-orion | test/functionalTest/testHarness.sh | Shell | agpl-3.0 | 20,906 |
#!/usr/bin/env bash
if [ -n "$PROJECT_VERSION" ]; then
# use env variable PROJECT_VERSION if defined
echo $PROJECT_VERSION
elif ! [ -x "$(command -v git)" ] || ! [ -d .git ]; then
# git is not installed, or not in a git repo
echo '0-unknown-version'
else
# fetch all tags silently
git fetch --tag... | cBioPortal/genome-nexus | version.sh | Shell | agpl-3.0 | 458 |
#!/bin/bash
#
# This is job test6_1
#
#
## Start of header for backend 'local'.
#
set -e
set -u
ENVIRONMENT_DIR='.'
#
# Variables declared in MOLGENIS Compute headers/footers always start with an MC_ prefix.
#
declare MC_jobScript="test6_1.sh"
declare MC_jobScriptSTDERR="test6_1.err"
declare MC_jobScriptSTDOUT="tes... | pneerincx/molgenis-compute | molgenis-compute-core/src/test/resources/expected/testFoldingAssign/test6_1.sh | Shell | lgpl-3.0 | 5,934 |
sudo apt-get install -y python-sphinx
.ci/install-libuv.sh
autoreconf -fi
./configure
make html
| libattachsql/libattachsql | .ci/docs.sh | Shell | apache-2.0 | 97 |
#!/bin/sh
PID_FILE=/home/engines/run/catalina.pid
. /home/trap.sh
env CATALINA_PID=$PID_FILE /usr/bin/java -Djava.util.logging.config.file=/usr/share/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/sha... | EnginesOS/System | system/templates/deployment/openjdk9/home/engines/scripts/startup/startwebapp.sh | Shell | apache-2.0 | 609 |
#!/usr/bin/env bash
#===============================================================================
#
# FILE: disable-backup.sh
#
# USAGE: disable-backup.sh
#
# DESCRIPTION: script to look for and turn off postgres backups
# by the CREATE INDEX lines in the customer appname .sql file
... | devopscenter/docker-stack | db/postgres-backup/disable-backup.sh | Shell | apache-2.0 | 1,723 |
#!/bin/sh
set -ex
cluster=t1
PGPASSWORD=changeme psql -h mypg-0.${cluster}-firecamp.com -U postgres -c "CREATE USER tester WITH PASSWORD 'password';"
PGPASSWORD=changeme psql -h mypg-0.${cluster}-firecamp.com -U postgres -c "CREATE DATABASE testdb;"
PGPASSWORD=changeme psql -h mypg-0.${cluster}-firecamp.com -U postgr... | cloudstax/firecamp | catalog/postgres/simpletest.sh | Shell | apache-2.0 | 889 |
if [ ! -d "bin" ]; then
echo "Expecting bin subdirectory" && return
fi
export EC_SYS_PATH=${PWD}
# ---- cmd prompt decoration ---- #
EC_SYS_ID="qslTabsTest"
EC_SYS_TYPE="FUNC_TEST"
export EC_SYS_ID EC_SYS_TYPE
PS1='[${EC_SYS_ID}(${EC_SYS_TYPE})][\u@\h:\w]\$ '
export PS1
# ---- ec environment ---- #
EC_QSL_PATH=${EC... | emilebres/enterprise-components | libraries/qsl/test/tabs/etc/env.sh | Shell | apache-2.0 | 1,580 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://linuxeye.com
#
# Notes: OneinStack for CentOS/RedHat 6+ Debian 7+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/oneinstack/oneinstack
Install_PHP71() {
pushd ${oneinstack_dir}/src > /dev/null
if ... | lj2007331/lamp | include/php-7.1.sh | Shell | apache-2.0 | 12,319 |
#!/bin/bash
make clean
make CC=cc -j 4 \
applications/spate_metagenome_assembler/spate \
performance/latency_probe/latency_probe \
| GeneAssembly/biosal | scripts/Cray_XC30/build-spate-intel.sh | Shell | bsd-2-clause | 143 |
#!/bin/bash
#
# University of Luxembourg
# Laboratory of Algorithmics, Cryptology and Security (LACS)
#
# FELICS - Fair Evaluation of Lightweight Cryptographic Systems
#
# Copyright (C) 2015 University of Luxembourg
#
# Written in 2015 by Daniel Dinu <dumitru-daniel.dinu@uni.lu>
#
# This file is part of FELICS.
#
# FE... | GaloisInc/hacrypto | src/C/FELICS/stream_ciphers/scripts/constants/collect_ciphers_metrics.sh | Shell | bsd-3-clause | 1,517 |
#!/bin/bash
set -x #echo on
set -e #exit on error
CORDOVA_VERSION=$1
PLATFORM=$2
PLATFORM_VERSION=$3
ADDITIONAL_PLUGIN=$4
bash ./test/platform-add.sh $CORDOVA_VERSION $PLATFORM $PLATFORM_VERSION
bash ./test/plugin-add.sh $CORDOVA_VERSION $PLATFORM $PLATFORM_VERSION ..
bash ./test/platform-build.sh $CORDOVA_VERSION $P... | arnesson/cordova-plugin-firebase | test/test-default.sh | Shell | mit | 346 |
#!/usr/bin/env bash
if [[ "${PHP_SKIP_CHOWN}" != "true" ]]; then
echo "> chown webroot files"
find ${PHP_WEBROOT} \( \! -user php -o \! -group php \) -print0 | xargs -0 -r chown php:php
fi
true
| dockhippie/php | v8/overlay/etc/container.d/10-chown.sh | Shell | mit | 204 |
#!/bin/bash
FN="ALL_1.26.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/experiment/src/contrib/ALL_1.26.0.tar.gz"
"https://bioarchive.galaxyproject.org/ALL_1.26.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-all/bioconductor-all_1.26.0_src_all.tar.gz"
)
MD5="10195f32f47c4af7bcb37ed... | mdehollander/bioconda-recipes | recipes/bioconductor-all/post-link.sh | Shell | mit | 1,266 |
#! /bin/sh
# Copyright (C) 2011-2014 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 2, or (at your option)
# any later version.
#
# This program ... | kuym/openocd | tools/automake-1.15/t/tests-environment-and-log-compiler.sh | Shell | gpl-2.0 | 1,803 |
# ----------------------------------------------------------------------------
# http://debgen.simplylinux.ch/index.php
# Gera uma saida para o arquivo sources.list para o debian.
#
# Paises: at,au,ba,be,bg,br,by,ca,ch,cl,cn,cz,de,dk,ee,es,fi,fr,gr,hk,hr,hu,
# ie,is,it,jp,kr,mx,nl,no,nz,pl,pt,ro,ru,se,si,sk,tr,... | gmgall/funcoeszz | off/zzdebgen.sh | Shell | gpl-2.0 | 3,992 |
#! /bin/bash
set -x
PHPVERSION=`phpenv version-name`
if [ "${PHPVERSION}" = 'hhvm' ]
then
PHPINI=/etc/hhvm/php.ini
echo "hhvm.enable_zend_compat = true" >> $PHPINI
fi
originalDirectory=$(pwd)
cd ..
wget https://github.com/wikimedia/mediawiki/archive/$MW.tar.gz
tar -zxf $MW.tar.gz
mv mediawiki-$MW phase3
cd pha... | JeroenDeDauw/mediawiki-extensions-Wikibase | build/travis/install.sh | Shell | gpl-2.0 | 1,060 |
#!/bin/sh
#
# Copyright (C) 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS ... | phra/802_21 | myODTONE/app/dhcp_usr/libs/bind/bind-9.8.4-P1/bin/tests/system/staticstub/setup.sh | Shell | gpl-2.0 | 1,147 |
#!/bin/bash
# In order to confirm that btrfsck supports to check a variety of refs, add the
# following cases:
#
# * keyed_block_ref
# * keyed_data_ref
# * shared_block_ref
# * shared_data_ref
# * no_inline_ref (a extent item without inline ref)
# * no_skinny_ref
source $TOP/tests/common
check_prereq btrfs
for img i... | liuyq/btrfs-progs | tests/fsck-tests/020-extent-ref-cases/test.sh | Shell | gpl-2.0 | 561 |
#!/bin/sh
#Create link to window icon, replacing placeholder.
ln -snf puppy/wireless.svg usr/share/pixmaps/pgprs.svg
if [ "$(pwd)" = "/" ];then
if [ -f /lib/modules/all-firmware/pgprs.tar.gz \
-o -d /lib/modules/all-firmware/pgprs ]; then
#Remove old pgprs components...
rm -f etc/ppp/peers/gprs-connect-chatm... | rserwin1/woof-CE | woof-code/rootfs-packages/pgprs/pinstall.sh | Shell | gpl-2.0 | 1,880 |
#! /bin/sh
# Test suite for exclude.
# Copyright (C) 2009-2015 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# 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 ... | clement10601/coreutils-8.24 | gnulib-tests/test-exclude7.sh | Shell | gpl-3.0 | 1,316 |
#!/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 "Licens... | jaypatil/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh | Shell | gpl-3.0 | 4,756 |
#!/bin/bash
# Copyright 2014 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 applic... | jameskyle/kubernetes | hack/e2e-suite/pd.sh | Shell | apache-2.0 | 2,865 |
#!/bin/bash
set -e
set -o pipefail
# Download the assets from S3.
# shellcheck disable=SC2154
/usr/bin/bash /opt/s3-puller.sh "${assets_s3_location}" /var/tmp/tectonic.zip
unzip -o -d /var/tmp/tectonic/ /var/tmp/tectonic.zip
rm /var/tmp/tectonic.zip
# make files in /opt/tectonic available atomically
mv /var/tmp/tecton... | kyoto/tectonic-installer | steps/assets/resources/init-assets.sh | Shell | apache-2.0 | 345 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | stu-gott/kubernetes | hack/verify-gofmt.sh | Shell | apache-2.0 | 1,480 |
#!/usr/bin/env bash
# installation settings
PROJECT="nodeschool" # we would want a name passed to it via te first argument, $1
DB="nodeschool" # the name of postgreSQL DB we need to provision, maybe $2
# This file is executed by root user - sudo not needed
# But do not create any directory
# which vagrant user might ... | byteknacker/fcc-python-vagrant | node/provision.sh | Shell | bsd-3-clause | 3,015 |
#!/bin/bash
FN="BSgenome.Hsapiens.UCSC.hg18.masked_1.3.99.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg18.masked_1.3.99.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Hsapiens.UCSC.hg18.masked_1.3.99.tar.gz"
"https://depot.galaxyproject.org/so... | Luobiny/bioconda-recipes | recipes/bioconductor-bsgenome.hsapiens.ucsc.hg18.masked/post-link.sh | Shell | mit | 1,585 |
#!/bin/sh
CTAGS=$1
if ${CTAGS} --quiet --options=NONE --list-features | grep -q multibyte ; then
${CTAGS} --quiet --options=NONE --output-encoding=utf-8 input.js input.java
exit $?
else
echo "multibyte feature is not available"
exit 77
fi
| simlrh/ctags | Tmain/no-input-encoding-option.d/run.sh | Shell | gpl-2.0 | 248 |
#!/usr/bin/env bash
set -e
function configure_ac_ver_ok {
cat Makefile | grep "VERSION=${1}" || return 1
}
function magit_el_ver_ok {
grep -e ";; Version: *$1" magit.el || return 1
}
USAGE="usage: ${0##*/} <tag>"
tag="${1}"
[ ${#} -lt 1 ] && {
echo ${USAGE} >&2
exit 2
}
# does the specified tag exist... | drcube/.emacs.d | src/magit/bin/mk_rel.bash | Shell | gpl-3.0 | 817 |
# Remove the excluded components from the disklayout file.
# Excluded components are marked as DONE in the disktodo file.
if ! [ -s "$LAYOUT_TODO" ] ; then
return 0
fi
# Component in position 2.
remove_component() {
sed -i "s|^$1 $2 |\#$1 $2 |" "$LAYOUT_FILE"
}
# Component in position 3.
remove_second_compon... | phracek/rear | usr/share/rear/layout/save/default/330_remove_exclusions.sh | Shell | gpl-3.0 | 1,691 |
# Exit immediately if a command returns a non-zero status.
set -e
sudo apt-get update
sudo apt-get install libsqlite3-dev
sudo apt-get install -y build-essential \
libssl-dev \
zlib1g-dev \
libbz2-dev \
libreadline-dev \
... | davits/YouCompleteMe | azure/linux/install_dependencies.sh | Shell | gpl-3.0 | 1,239 |
#!/bin/bash
# Copyright 2014 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 applic... | waprin/gcloud-python | scripts/update_docs.sh | Shell | apache-2.0 | 3,120 |
# $OpenBSD: agent.sh,v 1.20 2021/02/25 03:27:34 djm Exp $
# Placed in the Public Domain.
tid="simple agent test"
SSH_AUTH_SOCK=/nonexistent ${SSHADD} -l > /dev/null 2>&1
if [ $? -ne 2 ]; then
fail "ssh-add -l did not fail with exit code 2"
fi
trace "start agent, args ${EXTRA_AGENT_ARGS} -s"
eval `${SSHAGENT} ${EXTR... | gridcf/gct | gsi_openssh/source/regress/agent.sh | Shell | apache-2.0 | 6,757 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | jnewland/kops | upup/models/nodeup/_kubernetes_master/_kube-addons/files/etc/kubernetes/kube-addon-update.sh | Shell | apache-2.0 | 17,847 |
#!/bin/sh
#
# Copyright (c) 2008, 2009 Edward Tomasz Napierała <trasz@FreeBSD.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyr... | jhbsz/OSI-OS | tools/regression/acltools/aclfuzzer.sh | Shell | bsd-3-clause | 4,423 |
#!/bin/sh
test_description='Test "stg pop -keep"'
. ./test-lib.sh
stg init
test_expect_success 'Create a few patches' '
for i in 0 1 2; do
stg new p$i -m p$i &&
echo "patch$i" >> patch$i.txt &&
stg add patch$i.txt &&
stg refresh
done &&
[ "$(echo $(stg series --applied --no... | samv/stgit | t/t1204-pop-keep.sh | Shell | gpl-2.0 | 1,220 |
# This file is part of Relax and Recover, licensed under the GNU General
# Public License. Refer to the included LICENSE for full text of license.
# try to grab the rsync protocol version of rsync on the remote server
if [ -z "$RSYNC_PROTOCOL_VERSION" ]; then
case $RSYNC_PROTO in
(ssh)
ssh ${RSYNC_USE... | krissi/rear | usr/share/rear/prep/RSYNC/default/15_check_rsync_protocol_version.sh | Shell | gpl-2.0 | 2,608 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use... | cassandra-rb/cassandra | conf/0.7/cassandra.in.sh | Shell | apache-2.0 | 1,584 |
#!/bin/sh
echo $HELM_PLUGIN_NAME
echo $HELM_PLUGIN_DIR
echo $HELM_PLUGINS
echo $HELM_REPOSITORY_CONFIG
echo $HELM_REPOSITORY_CACHE
echo $HELM_BIN
| bacongobbler/helm | cmd/helm/testdata/helmhome/helm/plugins/fullenv/fullenv.sh | Shell | apache-2.0 | 146 |
#!/usr/bin/env bash
POSTGRES_VERSION="9.2.4"
wget http://ftp.postgresql.org/pub/source/v$POSTGRES_VERSION/postgresql-$POSTGRES_VERSION.tar.gz
tar xzf postgresql-$POSTGRES_VERSION.tar.gz
cd postgresql-$POSTGRES_VERSION
rm -rf /tmp/postgres
# We need this setup so library path is searched at runtime based on the bin ... | atul-alpine/chorus | packaging/build-postgres.sh | Shell | apache-2.0 | 900 |
#!/bin/sh
libtoolize --copy --force || exit 1
aclocal || exit 1
autoheader || exit 1
autoconf || exit 1
automake -a -c || exit 1
./configure --enable-maintainer-mode --enable-examples-build \
--enable-x11-examples-build --enable-debug-log $*
| jbgi/replics | lib/libfprint/autogen.sh | Shell | gpl-3.0 | 243 |
#!/bin/bash
# check for root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
PERSISTENT=/home/amnesia/Persistent
INSTALL_DIR=$PERSISTENT/.securedrop
ADDITIONS=$INSTALL_DIR/torrc_additions
SCRIPT_PY=$INSTALL_DIR/securedrop_init.py
SCRIPT_BIN=$INSTALL_DIR/securedrop_init
TAILSCF... | jrosco/securedrop | tails_files/install.sh | Shell | agpl-3.0 | 2,837 |
#!/bin/sh
k=$1
e=$2
o=$3
if [ $# -ne 3 ]; then
echo "Usage $0: key_dir efi_dir output_image_file"
exit 1;
fi
t=/var/tmp/tmpusb.$$.img
if [ ! -d "$k" ]; then
echo "Failed to find directory $k"
exit 1;
fi
if [ ! -d "$e" ]; then
echo "Failed to find directory $e"
exit 1;
fi
dd if=/dev/zero of=${o}... | mjg59/efitools | mkusb.sh | Shell | lgpl-2.1 | 985 |
#!/usr/bin/env bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
... | cpcloud/arrow | cpp/build-support/run-infer.sh | Shell | apache-2.0 | 1,605 |
#!/bin/sh
# Base16 Marrakesh - Shell color setup script
# Alexandre Gavioli (http://github.com/Alexx2/)
if [ "${TERM%%-*}" = 'linux' ]; then
# This script doesn't support linux console (use 'vconsole' template instead)
return 2>/dev/null || exit 0
fi
color00="20/16/02" # Base 00 - Black
color01="c3/53/59" # B... | jasonszhao/dotfiles | shell/base16-shell/base16-marrakesh.dark.sh | Shell | mit | 3,860 |
#! /bin/sh
# Test suite for exclude.
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# 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 ... | geminy/aidear | oss/shell/coreutils/coreutils-8.21/gnulib-tests/test-exclude4.sh | Shell | gpl-3.0 | 1,248 |
#!/bin/bash
# **** Update me when new Xcode versions are released! ****
PLATFORM="platform=iOS Simulator,OS=8.1,name=iPhone 6"
SDK="iphonesimulator8.1"
# It is pitch black.
set -e
function trap_handler() {
echo -e "\n\nOh no! You walked directly into the slavering fangs of a lurking grue!"
echo "**** You hav... | liunina/AsyncDisplayKit | build.sh | Shell | bsd-3-clause | 1,878 |
#!/bin/sh
# failure
../examples/test5 --aaa asdf -c fdas --fff blah -i one -i two -j huh > tmp.out 2>&1
if cmp -s tmp.out $srcdir/test57.out; then
exit 0
else
exit 1
fi
| bivory/texture-atlas | tclap/tests/test57.sh | Shell | mit | 174 |
#!/bin/bash
source $(dirname $0)/test.inc.sh
po2prop --personality=mozilla --progress=none -t $template $translations $out
check_results
| phlax/translate | tests/cli/test_po2prop_mozilla_files.sh | Shell | gpl-2.0 | 139 |
#!/usr/bin/env bash
find library/src/ -type f \( -name "*.scala" -or -name "*.java" \) -exec echo "dotty-bench-bootstrapped/jmh:run 40 30" {} + | sbt
| lampepfl/dotty | bench/scripts/library.sh | Shell | apache-2.0 | 150 |
#!/bin/sh
curl -i -X POST -b ~/.paco_qs_staging_cookie https://quantifiedself-staging.appspot.com/experiments -H "Content-Type: application/json" --data-binary @$1
| google/paco | Paco-Server/scripts/post_experiments_with_file_qs_staging.sh | Shell | apache-2.0 | 167 |
#!/bin/sh -eux
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751636
apt-get install libpam-systemd
| legal90/bento | scripts/debian/systemd.sh | Shell | apache-2.0 | 106 |
#!/bin/bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
#docker pull $(awk '$1 == "FROM" { print $2 }' Dockerfile)
docker build -t docker-library-docs .
test -t 1 && it='-it' || it='-i'
exec docker run "$it" --rm -v "$(pwd)":/wtf -w /wtf -u "$(id -u):$(id -g)" -e TERM --init --entrypoint ./push.pl docker-l... | tilosp-docker/library-docs | push.sh | Shell | mit | 337 |
#! /bin/sh
# Wrapper around gcc to tweak the output in various ways when running
# the testsuite.
# Copyright (C) 2010-2016 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 Fo... | freak97/binutils | gdb/contrib/cc-with-tweaks.sh | Shell | gpl-2.0 | 5,161 |
#!/bin/sh
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
yum install -y rpm-build httpd-devel libapreq2-devel R-devel
| ekoi/DANS-DVN-4.6.1 | scripts/vagrant/rpmbuild.sh | Shell | apache-2.0 | 156 |
#!/bin/sh
# Ensure "ls --color" properly colors other-writable and sticky directories.
# Before coreutils-6.2, this test would fail, coloring all three
# directories the same as the first one -- but only on a file system
# with dirent.d_type support.
# Copyright (C) 2006-2015 Free Software Foundation, Inc.
# This pro... | kdave/coreutils | tests/ls/color-dtype-dir.sh | Shell | gpl-3.0 | 1,803 |
# Copyright 2004-present Facebook. All Rights Reserved.
#
# Usage:
#
# To enable tab-completion for buck commands in bash, run the following
# command:
#
# source path/to/this/file/buck-completion.bash
#
#
# Debugging:
#
# This script will output a bunch of information about what it is doing and
# considering to $D... | 1yvT0s/buck | scripts/buck-completion.bash | Shell | apache-2.0 | 12,592 |
#!/bin/sh
# Tcl ignores the next line -*- tcl -*- \
if test "z$*" = zversion \
|| test "z$*" = z--version; \
then \
echo 'git-gui version @@GITGUI_VERSION@@'; \
exit; \
fi; \
argv0=$0; \
exec wish "$argv0" -- "$@"
set appvers {@@GITGUI_VERSION@@}
set copyright [string map [list (c) \u00a9] {
Copyright (c) 2006... | Ikke/git | git-gui/git-gui.sh | Shell | gpl-2.0 | 102,062 |
#!/bin/bash
##
## Copyright (c) 2015 The WebM project authors. All Rights Reserved.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All... | Maria1099/webm.webmlive | third_party/update_libwebm.sh | Shell | bsd-3-clause | 6,617 |
#!/bin/bash
test_description='basic replace functionality
Ensure we can replace items successfully.
'
. ./test-lib.sh
#
# Set up the basic todo.txt
#
todo.sh add notice the daisies > /dev/null
test_todo_session 'replace usage' <<EOF
>>> todo.sh replace adf asdfa
=== 1
usage: todo.sh replace ITEM# "UPDATED ITEM"
EOF... | Dannyzen/todo.txt-cli | tests/t1100-replace.sh | Shell | gpl-3.0 | 3,922 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ MeSH.Laf.eg.db
| joachimwolff/bioconda-recipes | recipes/bioconductor-mesh.laf.eg.db/pre-unlink.sh | Shell | mit | 61 |
#!/bin/bash
# Copyright JS Foundation and other contributors, http://js.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 at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | grgustaf/jerryscript | tools/check-magic-strings.sh | Shell | apache-2.0 | 1,118 |
#!/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... | gashcrumb/origin | vendor/k8s.io/kubernetes/examples/newrelic/config-to-secret.sh | Shell | apache-2.0 | 835 |
#!/bin/sh
# gdb_index_test_4.sh -- a test case for the --gdb-index option.
# Copyright (C) 2012-2015 Free Software Foundation, Inc.
# Written by Cary Coutant <ccoutant@google.com>.
# This file is part of gold.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Gen... | selmentdev/selment-toolchain | source/binutils-latest/gold/testsuite/gdb_index_test_4.sh | Shell | gpl-3.0 | 983 |
#!/bin/sh
MAKE_JOBS=8
[ -z "${PREFIX}" ] && PREFIX=/usr
case "$1" in
-h)
echo "Usage: sys/build.sh [/usr]"
exit 0
;;
'')
:
;;
*)
PREFIX="$1"
;;
esac
[ ! "${PREFIX}" = /usr ] && \
CFGARG=--with-rpath
MAKE=make
gmake --help >/dev/null 2>&1
[ $? = 0 ] && MAKE=gmake
# find root
cd `dirname $PWD/$0` ; cd ..
cc... | NaveenBoggarapu/radare2 | sys/build-harden.sh | Shell | lgpl-3.0 | 846 |
#!/bin/sh
#
# Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Sof... | ohpauleez/soymacchiato | src/hotspot/agent/make/jstackproc64.sh | Shell | gpl-2.0 | 1,119 |
#!/bin/bash
set -e
SCRIPT_DIR=$(dirname $0)
cd $SCRIPT_DIR
if [[ $PERF_BROWSERS =~ .*Android.* || $E2E_BROWSERS =~ .*Android.* ]]
then
adb root usb
adb wait-for-device devices
adb reverse tcp:8001 tcp:8001
adb reverse tcp:8002 tcp:8002
./android_cpu.sh performance
./android_cpu.sh wakelock
fi
| Jandersolutions/angular | scripts/ci/init_android.sh | Shell | apache-2.0 | 308 |
#!/bin/bash -v
cp map_01.pdf ..
pdfunite corr_tseries_* ../corr_tseries.pdf
pdfunite index_tseries_* ../index_tseries_all.pdf
pdfunite index_tseries_HOWI_100_* ../index_tseries_HOWI_100.pdf
pdfunite index_tseries_OCI_* ../index_tseries_OCI.pdf
pdfunite index_tseries_SJKE_* ../index_tseries_SJKE.pdf
pdfunite index_tser... | jenfly/monsoon-onset | scripts/combine-plots.sh | Shell | mit | 576 |
#!/bin/bash
# VARS
REPOSITORY_NAME='generator-misha-demo'
REPOSITORY_BASE='https://github.com/marcelinobadin/'
# TODO: set BUILD variable
BUILD=0
echo -e '\n####################### CLONING #######################\n'
git clone ${REPOSITORY_BASE}${REPOSITORY_NAME}
cd ${REPOSITORY_NAME}
# install dependenci... | marcelinobadin/generator-misha | generators/app/templates/jenkins.sh | Shell | mit | 1,893 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3468-1
#
# Security announcement date: 2016-02-06 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:48 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - polarssl:1.3.9-2.1+deb8u1
# - libpo... | Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/i386/2016/DSA-3468-1.sh | Shell | mit | 1,094 |
#!/bin/bash
# Enable KMS driver
# -----------------
# Author: Henrik Noerfjand Stengaard
# Date: 2022-01-13
#
# Bash script to enable kms driver.
# install
install=0
# parse arguments
for i in "$@"
do
case $i in
-i|--install)
install=1
shift
;;
-id=*|--installdir=*)
installdir="${i#*=}"
s... | henrikstengaard/hstwb-installer | launcher/raspberry-pi/setup/raspberry-pi-os/enable-kms-video-driver.sh | Shell | mit | 1,533 |
#!/bin/sh
# run like $ curl -L http://bit.ly/get_vaex | sh
case "$OSTYPE" in
solaris*) echo "SOLARIS not supported" ;;
darwin*) wget --continue https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh; ;;
linux*) wget --continue https://repo.continuum.io/miniconda/Miniconda-latest-... | maartenbreddels/vaex | bin/get_vaex.sh | Shell | mit | 998 |
#!/bin/bash
#note: this script requires the BED file to have unique identifiers in the fourth (i.e. "name") field
#note: this script requires contigs in the assembly (FASTA) to have unique names
#first set path to MUMmer, BLAST, and bedtools ... | rmccoy7541/assess-assembly | assembled_feature_pipeline.sh | Shell | mit | 3,307 |
#!/bin/bash
#
# The MIT License (MIT)
#
# Copyright (c) 2019-2021 TileDB, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
... | TileDB-Inc/TileDB | scripts/run-minio.sh | Shell | mit | 2,497 |
#!/bin/sh
#
# Copyright (C) 2011-2013 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS P... | juneman/server-perf | bin/tests/system/logfileconfig/tests.sh | Shell | mit | 3,852 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.