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 -xe
# 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
# distrib... | CCI-MOC/python-novaclient | novaclient/tests/functional/hooks/post_test_hook.sh | Shell | apache-2.0 | 2,059 |
if [ "$1" == "json" ]; then
json="json=1"
shift
elif [ "$1" == "csv" ]; then
json="csv=1"
shift
else
json="bash=1"
fi
if [ "$1" == "script" ]; then
fail="-f"
shift
else
fail=""
fi
curl ${fail} -k -s --data-urlencode "sync=sync" --data-urlencode "username=${USER}" --data-urlencode ${json... | indeedeng/iql | src/main/resources/iql.sh | Shell | apache-2.0 | 390 |
#!/bin/bash
# Configure kubectl to work with this vagrant from the host machine
# run "kubctl get nodes" after to test that its working
kubectl config set-cluster vagrant --server=https://172.17.4.99:443 --certificate-authority=${PWD}/ssl/ca.pem
kubectl config set-credentials vagrant-admin --certificate-authority=${... | DubFriend/coreos-kubernetes | single-node/kubectl.config.sh | Shell | apache-2.0 | 525 |
#!/system/bin/sh
# enable fm speaker, with volume 73
amixer -Dcodec cset numid=12, 7405641
| baidurom/devices-Coolpad8720L | vendor/system/bin/open_aud_path_fm_speaker.sh | Shell | apache-2.0 | 93 |
cp ../Font-Awesome/src/assets/js/jquery-1.10.2.min.map output/js/
| KansasLinuxFest/website | installmap.sh | Shell | apache-2.0 | 66 |
#!/usr/bin/env bash
if [ "`grep server /etc/puppet/puppet.conf`" ]; then
chkconfig puppetagent on
service puppetagent restart
# allow puppet to retreive certificate from server
tries=0
while [ $tries -lt 10 ]; do
x=$(ls -l /var/lib/puppet/ssl/certs | grep `hostname` | cut -d ' ' -f 3)
... | Juniper/contrail-provisioning | contrail_provisioning/control/scripts/control-server-setup.sh | Shell | apache-2.0 | 929 |
#!/usr/bin/env bash
if [ ! -d "src-java" ]; then
echo "ERROR: The script must be run from the project directory"
exit 1
fi
if [ -z $(docker images -q kilda/server42dpdk-protobuf:latest) ]; then
cd src-cpp/server42/
docker build -t kilda/server42dpdk-protobuf:latest . -f Dockerfile.protobuf
cd -
fi
if [ ! -... | telstra/open-kilda | src-cpp/server42/generate_java_protobuf.sh | Shell | apache-2.0 | 1,466 |
#!/bin/sh
docker pull alpine:latest
docker build -t peez/openhab:local .
| peez80/docker-openhab | build-openhab.sh | Shell | apache-2.0 | 73 |
#!/bin/bash
IMAGE="shanegibbs/snowy-dev"
| shanegibbs/snowy-lang | scripts/docker-common.sh | Shell | apache-2.0 | 42 |
#!/bin/sh
: ${cycle_delay_secs:=${1:-30}}
while true; do
sleep ${cycle_delay_secs}
printf '\n***** Kubernetes pod state at %s *****\n%s\n\n' \
"$(date +'%H:%M:%S')" \
"$(kubectl get --all-namespaces pods 2>&1 | grep -v ^kube-system)"
done
| twosigma/waiter | waiter/bin/ci/monitor-pods.sh | Shell | apache-2.0 | 265 |
#!/bin/sh
python set_ovs_hostconfigs.py --debug --ovs_hostconfigs='{"ODL L2": {"supported_vnic_types":[{"vnic_type":"normal", "vif_type":"ovs", "vif_details":{}}], "allowed_network_types":["local","vlan", "vxlan","gre"], "bridge_mappings":{"physnet1":"br-ex"}}, "ODL L3": {"some_details": "dummy_details"}}'
| openstack/networking-odl | networking_odl/cmd/test_setup_hostconfigs.sh | Shell | apache-2.0 | 310 |
#!/usr/bin/env bash
# desc: sync tables, install dependencies, collect static files.
# author: Elvin Zeng
# date: 2017-5-29
cd $(cd $(dirname $0) && pwd -P)
cd ../../
./manage.py migrate
pip install -r requirements.txt
python manage.py collectstatic -c -l --no-input
python manage.py crontab remove
python manage.py cr... | elvinzeng/wifi-attendance | script/shell/init_env.sh | Shell | apache-2.0 | 329 |
# -----------------------------------------------------------------------------
#
# Package : clone-stats
# Version : 1.0.0
# Source repo : https://github.com/hughsk/clone-stats
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
#... | ppc64le/build-scripts | c/clone-stats/clone-stats_rhel_8.3.sh | Shell | apache-2.0 | 3,060 |
# ----------------------------------------------------------------------------
#
# Package : strong-nginx-controller
# Version : 1.0.2
# Source repo : https://github.com/strongloop/strong-nginx-controller.git
# Tested on : ubuntu_16.04
# Script License: Apache License, Version 2 or later
# Maintainer : Atul Sowani <sow... | ppc64le/build-scripts | s/strong-nginx-controller/strong-nginx-controller_ubuntu_16.04.sh | Shell | apache-2.0 | 1,180 |
#!/bin/bash
sudo cp /etc/kubernetes/admin.conf ~/.kube/config
sudo chown pirate:pirate ~/.kube/config
| clim/k8s-anywhere | raspberrypi/ansible/setup_config.sh | Shell | apache-2.0 | 103 |
#!/bin/bash
set -euo pipefail
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/spring-plugin-maven-repository" ./mvnw -P${PROFILE} clean dependency:list test -Dsort -B
| spring-projects/spring-plugin | ci/test.sh | Shell | apache-2.0 | 170 |
#!/bin/sh
if [ -n "$CATALINA_HOME" ]
then
echo "CATALINA_HOME is set, removing it ..."
unset CATALINA_HOME
fi
if [ "${SAKAI_KERNEL_PROPERTIES}" = "" ]
then
export SAKAI_KERNEL_PROPERTIES=`pwd`/localkernel.properties
fi
echo "SAKAI_KERNEL_PROPERTIES is set to $SAKAI_KERNEL_PROPERTIES"
# for YourKit export JA... | sakai-mirror/k2 | bootstrap/start.sh | Shell | apache-2.0 | 452 |
# ----------------------------------------------------------------------------
#
# Package : MongoDB-driver-core
# Version : 3.8.1/ 4.1.2
# Source repo : https://github.com/mongodb/mongo-java-driver.git
# Tested on : UBI 8.0
# Script License : Apache License 2.0
# Maintainer : Manik Fulpagar <manik.fulpagar... | ppc64le/build-scripts | m/MongoDB-driver-core/MongoDB-driver-core_UBI_8.0.sh | Shell | apache-2.0 | 2,583 |
################## SOURCE THIS FILE #################
#
# !/bin/bash
# !/bin/ksh
#
# Copyright (C) 2002 by John P. Weiss
#
# This package is free software; you can redistribute it and/or modify
# it under the terms of the Artistic License, included as the file
# "LICENSE" in the source code archive.
#
# This packa... | jpweiss/tools | sh.scripts/pathtools.sh | Shell | artistic-2.0 | 6,876 |
#!/bin/bash
#
# measures the runtime for a list of commits. will create REPO/results directory with a textfile for each commit and
# input-file.
#
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
COMMITS=$(cat $DIR/old_measurements.txt | grep '^commit' | sed -e 's/commit //')
BUILD_DIR=$DIR/../../build/
REPO_... | flurischt/libDAI | scripts/runtime/measure_runtime.sh | Shell | bsd-2-clause | 1,293 |
#!/bin/bash
scripts/benchmark.sh xilinx_serial "DATA_BITS={16,64,256,1024,4096},T={2,4,8,12}"
| russdill/bch_verilog | benchmark/xilinx_serial.sh | Shell | bsd-2-clause | 96 |
#!/bin/bash
# Use getopt instead of getopts for long options
set -e
OPTS=`getopt -o o: --long output-dir:,bam-string:,bam-out:,out-script:,standalone -n 'MergeTN.sh' -- "$@"`
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
#echo "$OPTS"
eval set -- "$OPTS"
MYDIR="$( cd "$( dirname "$0" )" &... | bioinform/somaticseq | somaticseq/utilities/singularities/bamSimulator/bamSurgeon/mergeBamFiles.sh | Shell | bsd-2-clause | 2,272 |
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
# to avoid system message about upgrades
# sudo apt-get upgrade -y
# gnome
sudo apt-get install -y gnome-core gnome-screenshot
# test dependencies
# sudo add-apt-repository --yes ppa:jan-simon/pqiv
# sudo apt-get update
sudo apt-get install -y x11... | ponty/pyscreenshot | tests/vagrant/debian10.gnome.wayland.sh | Shell | bsd-2-clause | 984 |
echo 'rsync tldp ing...'
/home/luyi/bin/rsync-tldp.sh
echo 'done rsync tldp'
echo '======================================='
echo 'tldp:' `date +'%F %T'` >> /home/luyi/code/rsync-logs/logs
echo '======================================='
echo 'rsync sagemath ing...'
/home/luyi/bin/rsync-sagemath.sh
echo 'done rsync sagem... | eccstartup/qpalzm | bin/rsync-all2.sh | Shell | bsd-3-clause | 973 |
#!/bin/bash
#$PYTHON setup.py install --prefix=$PREFIX
mkdir -p $PREFIX/lib/python2.7/site-packages
cp python2/pyinotify.py $PREFIX/lib/python2.7/site-packages
# Add more build steps here, if they are necessary.
# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set dur... | hajs/pylodger | recipes/misc/pyinotify/build.sh | Shell | bsd-3-clause | 343 |
rm -rf master branch1 branch2 gitrepo
darcs init --repo master
cd master
echo a > a && darcs add a
echo 'before merges' > b && darcs add b
darcs rec -am 'Initial state'
cd ..
darcs get master branch1
darcs get master branch2
cd branch1
echo branch1 > b && darcs rec -am 'Add b branch1'
darcs tag -m 'darcs-fastcon... | nh2/darcs-fastconvert | tests/darcs-export-conflicting-merges.sh | Shell | bsd-3-clause | 1,207 |
#!/bin/bash
#
# Copyright 2021 The Cobalt 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 ... | youtube/cobalt | third_party/libdav1d/platforms/linux-x64/libdav1d-linux-x64.sh | Shell | bsd-3-clause | 754 |
#!/bin/bash
# Derived from https://github.com/heroku/stack-images/blob/master/bin/cedar-14.sh
echo 'deb http://archive.ubuntu.com/ubuntu trusty main restricted' >/etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted' >>/etc/apt/sources.list
echo 'deb http://archive.ubuntu.com... | philiplb/flynn | util/cedarish/img/build.sh | Shell | bsd-3-clause | 2,362 |
#!/bin/sh
DCS_HOST=http://localhost:8080/dcs/rest
# HTTP POST multipart
curl $DCS_HOST -# \
-F "dcs.c2stream=@../shared/data-mining.xml" \
-o clusters-from-local-file-multipart.xml
# HTTP POST www-form-urlencoded (less efficient)
curl $DCS_HOST -# \
--data-urlencode "dcs.c2stream@../shared/data-mining.... | MjAbuz/carrot2 | applications/carrot2-dcs/examples/curl/clustering-from-local-file.sh | Shell | bsd-3-clause | 426 |
#!/bin/bash
export PATH=/opt/centos/devtoolset-1.0/root/usr/bin:$PATH
# http://qt-project.org/doc/qt-4.8/configure-options.html
chmod +x configure
./configure \
-dbus -svg \
-qt-libjpeg \
-release -fontconfig -verbose \
-no-qt3support -nomake examples -nomake demos \
-qt-libpng... | hajs/pylodger | recipes/gui/qt/build.sh | Shell | bsd-3-clause | 1,007 |
#! /bin/sh
git clone https://github.com/http2jp/hpack-test-case.git
git clone https://github.com/http2jp/http2-frame-test-case.git
| kazu-yamamoto/http2 | test-misc/prepare.sh | Shell | bsd-3-clause | 132 |
#!/usr/bin/env bash
#
# Copyright (c) 2018-2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
# Make sure default datadir does not exist and is never read by creating a dummy fi... | gjhiggins/vcoincore | ci/test/05_before_script.sh | Shell | mit | 1,722 |
#!/bin/bash
for k in `seq 10000`; do
ls
done
| shelljs/benchmarks | test/ls10k/ls10k.sh | Shell | mit | 47 |
#!/bin/bash
source globals
# slaves_fn="slaves.txt"
# mpihosts_fn="mpi_hosts"
# provisions the slave nodes
# if [ $# -ne 4 ] ; then
# echo " Usage: provision_slaves.sh num base_hostname domain keyname"
# exit 1
# fi
currentTime=$(date)
before=$(date +%s)
echo `date` .. starting to provision $num slaves
for j in `... | bmwshop/simplecluster | provision_slaves.sh | Shell | mit | 692 |
#!/usr/bin/env bash
# WARNING: FIREBASE_TOKEN should NOT be printed.
set +x -eu -o pipefail
FIREBASE_PROJECT_ID=aio-staging
DEPLOYED_URL=https://$FIREBASE_PROJECT_ID.firebaseapp.com
cd "`dirname $0`/.."
# Build the app
yarn build
# Deploy to staging
firebase use "$FIREBASE_PROJECT_ID" --token "$FIREBASE_TOKEN"
fi... | chrisse27/angular | aio/scripts/deploy-staging.sh | Shell | mit | 581 |
#!/bin/sh
##################################################################################
# Custom build tool for Realm Objective C binding.
#
# (C) Copyright 2011-2015 by realm.io.
##################################################################################
# Warning: pipefail is not a POSIX compatible opti... | rkawajiri/kNNRealm | Example/Pods/RealmSwift/build.sh | Shell | mit | 24,980 |
#!/bin/bash
set -e
# See http://stackoverflow.com/a/21189044/1935861
parse_yaml () {
prefix=$2
s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')
sed -ne "s|^\($s\):|\1|" \
-e "s|^\($s\)\($w\)$s:$s[\"']\(.*\)[\"']$s\$|\1$fs\2$fs\3|p" \
-e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 ... | astorije/ansible-role-shout | tests/tests.sh | Shell | mit | 1,073 |
#!/bin/bash
#######################################
# Echo/log function
# Arguments:
# String: value to log
#######################################
log() {
if [[ "$@" ]]; then echo "[${T3APP_NAME^^}] $@";
else echo; fi
}
#########################################################
# Configure composer
############... | dimaip/docker-typo3-flow-neos-abstract | container-files/build-typo3-app/include-functions-common.sh | Shell | mit | 3,231 |
#!/bin/bash
fur favicon "favicon.png" --text="a" --color="n" --font="p" --shape="g" --font-size="92" --format="png" | fur-labo/fur-examples | example/09-a/render_favicon.sh | Shell | mit | 116 |
#!/usr/bin/env bash
#
# Copyright (c) 2018-2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Check for duplicate includes.
# Guard against accidental introduction of new Boost dependencies.
# Chec... | gjhiggins/vcoincore | test/lint/lint-includes.sh | Shell | mit | 3,903 |
#!/usr/bin/env bash
i=`cut -f1-5 $1 | bedtools intersect -a stdin -b /net/eichler/vol5/home/mchaisso/projects/PacBioSequencing/CHM1Sequencing/interstitial.bed | cut -f 5 | stats.py | tr '\n' ' ' | cut -f 6,7,9,10 -d ' '`
echo "interstitial $i"
c=`cut -f1-5 $1 | bedtools intersect -a stdin -b /net/eichler/vol5/home/m... | yunlongliukm/chm1_scripts | SummarizeTRF.sh | Shell | mit | 697 |
#! /bin/cat
_vm_name () {
VM_NAME=$(VBoxManage list runningvms | cut -d'"' -f2)
if [[ -z $VM_NAME ]]; then
vagrant up
VM_NAME=$(VBoxManage list runningvms | cut -d'"' -f2)
fi
}
v_up () {
_vm_name
vagrant halt
VBoxManage modifyvm $VM_NAME --natdnshostresolver1 on
vagrant up... | jalanb/jab | src/bash/vbox.sh | Shell | mit | 431 |
#!/usr/bin/env bash
## Test for issue1632 - 'darcs changes d/f' should not list any changes,
## where d is part of the repo and f is a non-existent file.
##
## Copyright (C) 2009 Ben Franksen
##
## Permission is hereby granted, free of charge, to any person
## obtaining a copy of this software and associated document... | DavidAlphaFox/darcs | tests/failing-issue1632_changes_nonexisting.sh | Shell | gpl-2.0 | 1,727 |
#!/bin/bash
RZCMD=./sd_report_zones/sd_report_zones
DEVICE=/dev/sdm
if [[ $# -eq 1 ]] ; then
DEVICE=${1}
fi
sudo ./sd_identify/sd_identify ${DEVICE} > /dev/null 2>&1
if [[ $? -eq 0 ]] ; then
sudo ./sd_reset_wp/sd_reset_wp 0xFFFFFFFFFFFFFFFF ${DEVICE} > /dev/null 2>&1
sudo ${RZCMD} ${DEVICE} 2>/dev/null | head -4... | tejaswanjari/SMR_FS-EXT4 | tools/sanity.sh | Shell | gpl-2.0 | 1,203 |
#!/usr/bin/env bash
#
# Manual creation of container assets for testing
#
pkg=$(basename $0)
container_default='buildpyCentOS8'
image='centos8:rpmbuildA'
function _git_root(){
##
## determines full path to current git project root
##
echo "$(git rev-parse --show-toplevel 2>/dev/null)"
}
functio... | t-stark/ec2cli | packaging/docker/test-centos8.sh | Shell | gpl-2.0 | 2,134 |
#!/bin/bash
# Helper for updating all of the packaging branches
if [ -z "$UBUNTU_RELEASES" ]; then
echo "Configure the distro platforms that you want to"
echo "build with a line like:"
echo ' export UBUNTU_RELEASES="dapper feisty gutsy hardy intrepid jaunty"'
exit 1
fi
for DISTRO in $UBUNTU_RELEASES;... | Distrotech/bzr | tools/packaging/update-packaging-branches.sh | Shell | gpl-2.0 | 765 |
# use as: sh load_test.sh 2>&1 | grep real
#HOST="localhost:3000"
HOST="verbcoach.herokuapp.com"
while [ 1 ]; do
time curl "http://${HOST}/cloud/generate-answers?semantics=%7B%22synsem%22%3A%7B%22sem%22%3A%7B%22aspect%22%3A%22progressive%22%2C%22subj%22%3A%7B%22mass%22%3Afalse%2C%22furniture%22%3Afalse%2C%22pred%22... | ekoontz/italianquiz | load_test.sh | Shell | gpl-3.0 | 826 |
#!/bin/bash
# Set the error mode so the script fails automatically if any command in it fails.
# This saves us a lot of error checking code down below.
set -e
# Load the build configuration variables.
source /OUTSIDE/script/config.sh
# Set a variable with the directory with the profile-specific files and config.
PRO... | OpenWrt-HappyHacker/happyhacker-builder | script/guest/menuconfig.sh | Shell | gpl-3.0 | 3,872 |
rm 90s.db
rm last7days.db
rm last7daysupdates.db
rm a.db
# decade
./scan -d test.db -x 90s.db -w "where year >= 1990 and year < 2000"
# recently scanned
./scan -d test.db -x last7days.db -w "where (julianday(datetime('now')) - julianday(datetime(inserted, 'unixepoch'))) <= 7"
# recently changed
./scan -d test.db... | henkelis/sonospy | sonospy/gui/extracts.sh | Shell | gpl-3.0 | 523 |
#! /bin/sh
#usage:
#ngt-split.sh <input> <output> <size> <parts>
#It creates <parts> files (named <output.000>, ... <output.999>)
#containing ngram statistics (of <order> length) in Google format
#These files are a partition of the whole set of ngrams
basedir=$IRSTLM
bindir=$basedir/bin
scriptdir=$basedir/scripts
un... | besacier/WCE-LIG | tools/moses/irstlm-5.70.04/bin/split-ngt.sh | Shell | gpl-3.0 | 922 |
#!/bin/sh
export MROOT=$PWD
echo $MROOT
cd simp
make clean
make rs
cp minisat_static ../hhlmuc
| swan1649/iprover | util/Haifa-HLMUC/build.sh | Shell | gpl-3.0 | 95 |
#!/bin/bash
usage(){
echo "
Written by Brian Bushnell
Last modified November 14, 2018
Description: Uses kmer counts to assemble contigs, extend sequences,
or error-correct reads. Tadpole has no upper bound for kmer length,
but some values are not supported. Specifically, it allows 1-31,
multiples of 2 from 32-62,... | abiswas-odu/Disco | bbmap/tadpole.sh | Shell | gpl-3.0 | 12,572 |
#!/usr/bin/env bash
thisdir=$(dirname $0)
cd $thisdir
if ! [ -e ./runner ]; then
# turning on -O2 is too variable accross different platforms, so leave off:
#
# the move and sleep steps here help to make sure that we don't get a "text file busy"
# error on the ./runner call below:
#
gcc ./run... | Illumina/HapMix | pyflow/demo/subWorkflow/testtasks/runner.bash | Shell | gpl-3.0 | 396 |
#!/bin/bash
BIN_PATH="`dirname \"$0\"`"
DEFAULT_LOG_LEVEL=info
DEFAULT_CELERY_CONCURRENCY=30
LOOM_LOG_LEVEL=${LOOM_LOG_LEVEL:-$DEFAULT_LOG_LEVEL}
LOOM_WORKER_CELERY_CONCURRENCY=${LOOM_WORKER_CELERY_CONCURRENCY:-$DEFAULT_CELERY_CONCURRENCY}
# omitting --without-gossip causes missed heartbeat errors
celery -A loomeng... | StanfordBioinformatics/xppf | bin/run-worker.sh | Shell | agpl-3.0 | 481 |
#!/bin/sh
################################################################################
#
# Copyright (C) 2018 Neighborhood Guard, Inc. All rights reserved.
# Original author: Douglas Kerr
#
# This file is part of FTP_Upload.
#
# FTP_Upload is free software: you can redistribute it and/or modify
# it under the te... | NeighborhoodGuard/ftp_upload | FTP_Upload/configupload/test/testUtils.sh | Shell | agpl-3.0 | 6,162 |
#!/bin/bash
# card_activation.sh: activate a card and send back login/pwd via SMS
#
# ARGV[1] = SMS from client
#
# ENV[HOME] = Base directory
# ENV[FILE_LOG] = Log file for command
# ENV[MSG_LOG] = Log separator
# ENV[DEBUG] = Enable debugging
# ENV[LDAP_HOST] = LDAP Host
# ENV[LDAP_PASSWORD] = file conte... | indraj/ULib | tests/examples/WAGSM/WAGSM_command/card_activation.sh | Shell | lgpl-3.0 | 3,968 |
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
#Load theme
antigen theme bhilburn/powerlevel9k powerlevel9k
# Tell Antigen th... | shanril/setup | config/home/shanril/zsh/antigen-config.zsh | Shell | lgpl-3.0 | 350 |
#!/bin/bash
#
# This is job test1_4
#
#
## 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="test1_4.sh"
declare MC_jobScriptSTDERR="test1_4.err"
declare MC_jobScriptSTDOUT="tes... | pneerincx/molgenis-compute | molgenis-compute-core/src/test/resources/expected/testFoldingAssign/test1_4.sh | Shell | lgpl-3.0 | 6,316 |
#!/bin/bash
set -x
SOURCES=(`find src/main -type f -name "**.vala"`)
PACKAGES=('glib-2.0' 'gobject-2.0' 'gio-2.0' 'json-glib-1.0' 'libvala-0.32' 'gmodule-2.0' 'gee-0.8' 'bob-0.0.1')
VAPI_DIRS=('src/library/vapi')
SOURCES_PREFIXED=$(printf "%s " "${SOURCES[@]}")
PACKAGES_PREFIXED=$(printf " --pkg %s" "${PACKAGES[@]}")... | activey/roger-forger | build-cmdline.sh | Shell | lgpl-3.0 | 569 |
#!/bin/bash
#
# Copyright (c) 2010-2010 LinkedIn, Inc
# Portions Copyright (c) 2013 Yan Pujante
#
# 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... | pongasoft/glu | packaging/org.linkedin.glu.packaging-setup/src/cmdline/resources/bin/setup.sh | Shell | apache-2.0 | 1,896 |
#!/bin/bash
# Copyright 2012 OpenStack 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... | sileht/deb-openstack-keystone | run_tests.sh | Shell | apache-2.0 | 5,273 |
#!/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");... | wu-sheng/sky-walking | test/plugin/scenarios/armeria-0.96minus-scenario/bin/startup.sh | Shell | apache-2.0 | 958 |
#!/bin/sh
mkdir -p "./download"
wget --continue --directory-prefix="./download" --html-extension --no-parent --recursive --no-directories "redux.js.org/docs/api/"
rm -rf "./download/index.html"
| souravbadami/zeroclickinfo-fathead | lib/fathead/reduxjs/fetch.sh | Shell | apache-2.0 | 198 |
#!/bin/bash
chmod +x ./.travis/junit-errors-to-stdout.sh
./.travis/junit-errors-to-stdout.sh | simpledynamics/openid-connect-server-spring-boot | travis-after-failure.sh | Shell | apache-2.0 | 92 |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "L... | apache/uima-sandbox | SandboxDistr/annotator-package/build/signRelease.sh | Shell | apache-2.0 | 2,030 |
loadedgnu=`${MODULESHOME}/bin/modulecmd sh -t list 2>&1 | grep PrgEnv-gnu`
loadedintel=`${MODULESHOME}/bin/modulecmd sh -t list 2>&1 | grep PrgEnv-intel`
loadedcray=`${MODULESHOME}/bin/modulecmd sh -t list 2>&1 | grep PrgEnv-cray`
loadeddarshan=`${MODULESHOME}/bin/modulecmd sh -t list 2>&1 | grep darshan`
if [ "x${load... | tskisner/pytoast | external/conf/edison-intel.sh | Shell | bsd-2-clause | 585 |
#!/bin/sh
#
# Copyright (c) 2004-2005 Poul-Henning Kamp.
# 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 copyright
# notice, this lis... | dplbsd/zcaplib | head/sys/tools/bus_macro.sh | Shell | bsd-2-clause | 2,104 |
#!/usr/bin/env bash
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 18262 -out certificate.pem -subj "/UID=com.apple.mgmt.External.18a16429-886b-41f1-9c30-2bd04ae4fc37/CN=APSP:17a16429-886b-41f1-8c90-3bd02ae9fc57/C=US"
| groob/micromdm | pkg/crypto/testdata/create_mock_push_cert.sh | Shell | mit | 236 |
#
# Copyright (c) 2001, 2002, 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 Softwar... | greghaskins/openjdk-jdk7u-jdk | test/java/lang/ClassLoader/Assert.sh | Shell | gpl-2.0 | 1,938 |
#! /bin/sh
# Copyright (C) 2010-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/auxdir7.sh | Shell | gpl-2.0 | 1,335 |
# simple test for instanceof
# --output:start
# true
# false
# true
# true
# false
# false
# false
# true
# true
# true
# true
# false
# --output:end
interface Iface1 {}
interface Iface2 {}
class Test1: Iface1 {}
class Test2(Test1): Iface2 {}
class Foo {}
f = Foo()
t1 = Test1()
t2 = Test2()
print(f instanceof Foo)... | alexst07/seti | test/interpreter/oop/instanceof.sh | Shell | apache-2.0 | 618 |
#!/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 ... | eribeiro/kafka | bin/kafka-run-class.sh | Shell | apache-2.0 | 6,939 |
#!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd )
$DIR/../gradlew -p $DIR assemble
| wiltonlazary/kotlin-native | samples/calculator/build.sh | Shell | apache-2.0 | 107 |
#!/bin/sh
# SUMMARY: Namespace stress with multiple instances of 5 concurrent long running TCP/IPv6 connections over a veth pair in reverse order
# LABELS:
# REPEAT:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
clean_up() {
find . -depth -iname "test-ns... | radu-matei/linuxkit | test/cases/020_kernel/110_namespace/004_kernel-4.12.x/010_veth/027_echo-tcp-ipv6-long-5con-multi-reverse/test.sh | Shell | apache-2.0 | 542 |
# 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 ... | stealthly/dropwizard-kafka-http | vagrant/broker.sh | Shell | apache-2.0 | 2,195 |
#!/bin/bash
sphinx-autobuild . _build_html
| jtjeferreira/supler | docs/autobuild.sh | Shell | apache-2.0 | 43 |
#!/usr/bin/env bash
set -u -e -o pipefail
TRAVIS=${TRAVIS:-}
CI_MODE=${CI_MODE:-}
# Setup environment
readonly thisDir=$(cd $(dirname $0); pwd)
source ${thisDir}/_travis-fold.sh
# If the previous commands in the `script` section of .travis.yaml failed, then abort.
# The variable is not set in early stages of the b... | kara/angular | scripts/ci/install.sh | Shell | mit | 2,890 |
#!/bin/bash
bash $SCRIPT_DIR/start_proxy.sh
### 测试在admin 端口执行command --help(-h) 不会产生core dump ######
mysql_cmd="$MYSQL -h $MYSQL_PROXY_ADMIN_IP -P $MYSQL_PROXY_ADMIN_PORT -u$MYSQL_PROXY_ADMIN_USER -p$MYSQL_PROXY_ADMIN_PASSWD -ABs -e"
expect_result="ERROR 3026 (42000) at line 1: admin command syntax error"
test_sql1=... | SOHUDBA/SOHU-DBProxy | tests/mytest/test-18-4.sh | Shell | gpl-2.0 | 804 |
#!/bin/bash
############################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in ... | PoornimaNayak/autotest-client-tests | linux-tools/python_ethtool/python-ethtool.sh | Shell | gpl-2.0 | 5,078 |
#! /bin/sh
# Copyright (C) 2008-2013 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 ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/aclocal-autoconf-version-check.sh | Shell | gpl-2.0 | 1,491 |
#!/bin/sh
user_name /dev/mtd=admin
user_home=/tmp/admin_home
mount_point=/tmp/jffs2_green_download
file_got=/tmp/green-download-file
file_new=/tmp/green_download.squashfs
file_prefix=/tmp/green_download_prefix
/bin/config set green_download_upgrade_stat=0
#umount
#flash_size=`cat /proc/flash_size`
#[ $flash_size -lt 1... | paul-chambers/netgear-r7800 | package/green-download/files/green_download_upgrade.sh | Shell | gpl-2.0 | 1,319 |
#!/bin/bash
../../src/getmissingandreport -s -c corrections.xml -t veiveg.osm.out -w existingways.osm existingnodes.osm newnodes.osm | tee response1-1.txt.out
../../src/getmissingandreport -s -c corrections.xml -t veiveg.osm.out existingnodes.osm newnodes.osm | tee response1-2.txt.out
../../src/getmissingandreport -s ... | rubund/addrnodeimport | test/2/runtest.sh | Shell | gpl-2.0 | 1,737 |
set -e;
BT=${BT-../../bin/bedtools}
FAILURES=0;
check()
{
if diff $1 $2; then
echo ok
else
FAILURES=$(expr $FAILURES + 1);
echo fail
fi
}
###########################################################
# Test that -n option is shown as deperecated
#######################################################... | lindenb/bedtools2 | test/groupby/test-groupby.sh | Shell | gpl-2.0 | 8,386 |
current_ip="$(get_ip)"
[ -z "$current_ip" ] && current_ip="-$(lang de:"keine" en:"none")-"
sec_begin 'get_ip'
cat << EOF
<p>
$(lang de:"Immer diese Methode nutzen" en:"Always use this method"): <input type="text" name="get_ip_method" size="20" maxlength="20" value="$(html "$MOD_GET_IP_METHOD")"></p>
</p>
<p>
$(lang... | Freetz/freetz | make/mod/files/root/usr/lib/cgi-bin/mod/conf/70-get_ip.sh | Shell | gpl-2.0 | 781 |
#! /bin/sh
$EXTRACTRC *.rc >> rc.cpp
$XGETTEXT *.cpp -o $podir/katemailfilesplugin.pot
| DickJ/kate | addons/mailfiles/Messages.sh | Shell | lgpl-2.1 | 87 |
#!/bin/bash
ROOT=$1
VERSION=$2
for F in $(grep -rl "${ROOT}" .)
do
sed -i -r "s:import ${ROOT} [0-9]+.[0-9]+:import ${ROOT} ${VERSION}:g" $F
done
| osechet/qml-material | scripts/normalize_imports.sh | Shell | lgpl-2.1 | 153 |
#!/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... | pkuwm/incubator-eagle | eagle-hadoop-metric/src/main/resources/eagle-env.sh | Shell | apache-2.0 | 1,481 |
#!/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
# "Lic... | yufeldman/arrow | ci/travis_script_c_glib.sh | Shell | apache-2.0 | 2,053 |
#!/bin/sh
NAME=`oasis query Name 2> /dev/null`
VERSION=`oasis query Version 2> /dev/null`
DARCS_REPO=`pwd`
export DARCS_REPO
exec darcs dist --dist-name $NAME-$VERSION
| vbmithr/ocaml-text | dist.sh | Shell | bsd-3-clause | 170 |
#!/bin/sh
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
echo "Building with $(nproc) jobs"
make -j2
| etnlGD/renderdoc | scripts/travis/osx_compile.sh | Shell | mit | 110 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testTimeMonitor " "$0" "$@"
| kelchuan/snac_thesis | StGermain/Base/Foundation/tests/testTimeMonitor.0of1.sh | Shell | gpl-2.0 | 198 |
#! /bin/sh
# Copyright (C) 1999-2015 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 ... | hika-server/automake | t/condinc2.sh | Shell | gpl-2.0 | 1,227 |
#!/bin/bash
# Copyright 2012-2014 Johns Hopkins University (Author: Daniel Povey).
# 2013 Xiaohui Zhang
# 2013 Guoguo Chen
# 2014 Vimal Manohar
# Apache 2.0.
# train_pnorm_accel2.sh is a modified form of train_pnorm_simple2.sh (the "2"
# suffix is because they both us... | thorsonlinguistics/german-neutralization | steps/nnet2/train_pnorm_accel2.sh | Shell | apache-2.0 | 29,667 |
#!/bin/bash -eu
# 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 app... | manashmndl/bazel | scripts/ci/build.sh | Shell | apache-2.0 | 10,781 |
#!/bin/bash
cd `dirname $0`
cd ..
function getVersion {
local major=$(sed -nE 's/versionMajor = ([0-9]+);/\1/p' src/libclient/client.h | awk '{print $4}')
local minor=$(sed -nE 's/versionMinor = ([0-9]+);/\1/p' src/libclient/client.h | awk '{print $4}')
local patch=$(sed -nE 's/versionPatch = ([0-9]+);/\1/p' src/l... | HSAnet/glimpse_client | buildscripts/update-changelog.sh | Shell | bsd-3-clause | 1,468 |
#!/bin/bash
# Description: Script to fetch requirements for building this project.
# Last-modified: 2010-12-02 01:28:31
#
# Note that this script is not perfect and does not handle all errors.
# Any improvements are welcome.
# Either Git or Subversion is needed to retrieve Theos.
GIT=$(type -P git)
SVN=$(type -P svn... | r-plus/MultiIconMover | get_requirements.sh | Shell | bsd-3-clause | 2,511 |
#!/usr/bin/expect
##
## configure ZodiacFX with recommended settings.
##
# Serial port assigned to ZodiacFX
set port /dev/ttyACM0
# ZodiacFX network settings
set configip "10.0.1.99"
set confignetmask "255.255.255.0"
set configgateway "10.0.1.1"
# OpenFlow controller network settings
set configofcontroller "10.0.1.... | trungdtbk/faucet | docs/vendors/northboundnetworks/conf-zodiac.sh | Shell | apache-2.0 | 1,292 |
#!/bin/bash
# ----------------------------------------------------------------------------
# OGRE Documentation Generation Script
#
# This script generates the manuals and APIs from source files in this folder
# To run this script, you require:
# 1. Doxygen
# 2. Graphviz
# 3. texi2html
# Run from the Docs folder... | MTASZTAKI/ApertusVR | plugins/render/ogreRender/3rdParty/ogre/Docs/src/makedocs.sh | Shell | mit | 854 |
python MHDfluid.py
python MHDfluid3d.py
| wathen/PhD | MHD/FEniCS/MHD/Stabilised/SaddlePointForm/Test/SplitMatrix/test.sh | Shell | mit | 40 |
#! /bin/sh
awk=$1
prog=$2
infile=$3
out=$4
# GLIBC gives us ja_JP.EUC-JP but Mac OS X uses ja_JP.eucJP
cp $infile $out # set up default
for locale in ja_JP.EUC-JP ja_JP.eucJP
do
if locale -a 2>/dev/null | grep $locale > /dev/null
then
LANG=$locale
LC_ALL=$locale
export LANG LC_ALL
$awk -f $prog $infile >... | mwcampbell/gawk | test/jarebug.sh | Shell | gpl-3.0 | 369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.