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/sh
runtest() {
export GEMFIRE_BUILD=$1
export GEMFIRE=$GEMFIRE_BUILD/product
export LD_LIBRARY_PATH=$GEMFIRE/../hidden/lib:$GEMFIRE/lib
export JTESTS=$GEMFIRE/../tests/classes
export CLASSPATH=$GEMFIRE/lib/gemfire.jar:$JTESTS
export JAVA_HOME=/export/gcm/where/jdk/1.6.0_17/x86_64.linux
echo "Runni... | SnappyDataInc/snappy-store | tests/sql/src/main/java/cacheperf/comparisons/gemfirexd/sector/Suites/sector01/run.sh | Shell | apache-2.0 | 1,508 |
#!/bin/bash
# This script tests the high level end-to-end functionality demonstrated
# as part of the examples/sample-app
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/util.sh"
test_privileges
echo "[INFO] Starting end-to-end test"
# Use either the la... | dustintownsend/origin | hack/test-end-to-end.sh | Shell | apache-2.0 | 16,277 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | rohit91/HDMI2USB | ipcore_dir/rawUVCfifo/implement/planAhead_ise.sh | Shell | bsd-2-clause | 2,527 |
#!/bin/bash
#
# Windows provisioner for Trellis
# heavily modified and based on KSid/windows-vagrant-ansible
# @author Andrea Brandi
# @version 1.0
ANSIBLE_PATH="$(find /vagrant -name 'windows.sh' -printf '%h' -quit)"
# Create an ssh key if not already created.
if [ ! -f ~/.ssh/id_rsa ]; then
echo -e "\n\n\n" | ssh... | mlaa/trellis | windows.sh | Shell | mit | 1,324 |
#!/bin/bash
FN="cMap2data_1.26.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/experiment/src/contrib/cMap2data_1.26.0.tar.gz"
"https://bioarchive.galaxyproject.org/cMap2data_1.26.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-cmap2data/bioconductor-cmap2data_1.26.0_src_all.tar.gz"... | bebatut/bioconda-recipes | recipes/bioconductor-cmap2data/post-link.sh | Shell | mit | 1,297 |
#!/bin/sh -e
# FLAC - Free Lossless Audio Codec
# Copyright (C) 2001-2009 Josh Coalson
# Copyright (C) 2011-2016 Xiph.Org Foundation
#
# This file is part the FLAC project. FLAC is comprised of several
# components distributed under different licenses. The codec libraries
# are distributed under Xiph.Org's B... | corporateshark/PortAMP | libs/flac-1.3.3/test/test_grabbag.sh | Shell | mit | 4,330 |
./mkbootfs boot.img-ramdisk | gzip > newramdisk.cpio.gz
./mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel zImage --ramdisk newramdisk.cpio.gz -o boot.img --base 0x05200000
| StarKissed/android_kernel_htc_mecha | mkboot.aosp/img.sh | Shell | gpl-2.0 | 189 |
#! /bin/sh
# Copyright (C) 2001-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/ccnoco3.sh | Shell | gpl-2.0 | 1,325 |
#!/bin/sh
echo $SUCCESS > "$ROOT_DIR"/usr/share/postupdate_hook_ok
| CZ-NIC/turris-updater | tests/system/plan.sys_update/output/etc/updater/hook_postupdate/testhook.sh | Shell | gpl-3.0 | 67 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you ca... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN003960.sh | Shell | apache-2.0 | 3,291 |
#!/bin/bash
FN="TxDb.Hsapiens.UCSC.hg38.knownGene_3.13.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/TxDb.Hsapiens.UCSC.hg38.knownGene_3.13.0.tar.gz"
"https://bioarchive.galaxyproject.org/TxDb.Hsapiens.UCSC.hg38.knownGene_3.13.0.tar.gz"
"https://depot.galaxyproject.org/softw... | phac-nml/bioconda-recipes | recipes/bioconductor-txdb.hsapiens.ucsc.hg38.knowngene/post-link.sh | Shell | mit | 1,417 |
#!/bin/bash
FN="pd.rae230b_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/pd.rae230b_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.rae230b_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.rae230b/bioconductor-pd.rae230b_3.12.0_src_all.ta... | phac-nml/bioconda-recipes | recipes/bioconductor-pd.rae230b/post-link.sh | Shell | mit | 1,417 |
#!/bin/sh
test_description='test smart fetching over http via http-backend'
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-httpd.sh
start_httpd
test_expect_success 'setup repository' '
git config push.default matching &&
echo content >file &&
git add file &&
git commit -m one
'
test_expect_success 'create http-accessib... | sunny256/git | t/t5551-http-fetch-smart.sh | Shell | gpl-2.0 | 8,936 |
#!/bin/sh
# Ensure that cp merely warns when a non-directory source file is
# listed on the command line more than once. fileutils-4.1.1
# made this fail: cp a a d/
# Ensure that mv fails with a similar command.
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
# This program is free software: you can redist... | houwentaoff/coreutils | tests/mv/dup-source.sh | Shell | gpl-3.0 | 1,955 |
#!/bin/bash
#
# Copyright 2014 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0
#
# or in the "license... | hub714/cdeploy | scripts/deregister_from_elb.sh | Shell | apache-2.0 | 3,196 |
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 defaults
############################################################
echo -e " map.t01...\c"... | nkindlon/bedtools2 | test/map/test-map.sh | Shell | gpl-2.0 | 22,155 |
#!/bin/sh
run () {
echo -n Running `$1 --version | sed q`...
$* > /dev/null
echo " done"
}
if test ! -f config/configure.ac ; then
echo "$0: This script must be run from the Qhull top directory."
exit 1
fi
echo -n Copying autoconf and automake files...
cp config/configure.ac .
cp config/Makefile-am-main M... | jecyrd/olcao | src/polycryst/qhull-2012.1/config/bootstrap.sh | Shell | gpl-2.0 | 869 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you ... | spirit03/one | share/scripts/ubuntu/context/init.sh | Shell | apache-2.0 | 1,925 |
#!/bin/sh
REPO_AND_VERSION=$(cat REPO_AND_VERSION)
echo "building [$REPO_AND_VERSION] ..."
docker build --rm -t $REPO_AND_VERSION .
| sys42/docker-nodejs | build.sh | Shell | mit | 132 |
#!/bin/bash
# -----------------------------------------------------------------------------
# startup.sh - Start Script for Jetty + eXist
#
# $Id$
# -----------------------------------------------------------------------------
## @UNIX_INSTALLER_1@
#
# In addition to the other parameter options for the standalone se... | shabanovd/exist | bin/server.sh | Shell | lgpl-2.1 | 1,096 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../../../k8s.io/code-generator)}
verify="${VERIFY:-}"
set -x
# Because go mod sux, we have to fake the vendor... | mkumatag/origin | vendor/github.com/openshift/client-go/hack/update-codegen.sh | Shell | apache-2.0 | 2,229 |
#!/bin/bash
log() {
if [[ -t 1 ]]; then
printf "%b>>>%b %b%s%b\n" "\x1b[1m\x1b[32m" "\x1b[0m" \
"\x1b[1m\x1b[37m" "$1" "\x1b[0m"
else
printf ">>> %s\n" "$1"
fi
}
error() {
if [[ -t 1 ]]; then
printf "%b!!!%b %b%s%b\n" "\x1b[1m\x1b[31m" "\x1b[0m" \
... | kapfenho/iam-deployer | instances/oradb112/env/root-check.sh | Shell | bsd-2-clause | 3,190 |
#!/bin/bash
# Copyright 2015 Red Hat, Inc.
# This file is part of the rsyslog project, released under ASL 2.0
# The configuration test should pass because we now support leading
# underscores in variable names.
echo ===============================================================================
echo \[variable_leading... | madedotcom/rsyslog | tests/variable_leading_underscore.sh | Shell | gpl-3.0 | 607 |
#!/bin/sh -u
# PCSX2 - PS2 Emulator for PCs
# Copyright (C) 2002-2014 PCSX2 Dev Team
#
# PCSX2 is free software: you can redistribute it and/or modify it under the terms
# of the GNU Lesser General Public License as published by the Free Software Found-
# ation, either version 3 of the License, or (at your option) an... | Alchemistxxd/pcsx2 | build.sh | Shell | gpl-2.0 | 11,424 |
#!/bin/bash
# Copyright 2016 gRPC 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 or agreed t... | jtattermusch/grpc | tools/dockerfile/interoptest/grpc_interop_php7/build_interop.sh | Shell | apache-2.0 | 1,545 |
buck build third-party/java/remote-apis:bundle --out third-party/java/remote-apis/remote-apis.jar
buck build third-party/java/remote-apis:proto-gen --out third-party/java/remote-apis/remote-apis.src.jar
| facebook/buck | third-party/java/remote-apis/update.sh | Shell | apache-2.0 | 203 |
#!/bin/bash
#
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR... | aaudiber/alluxio | integration/mesos/bin/alluxio-worker-mesos.sh | Shell | apache-2.0 | 1,275 |
#!/usr/bin/env bash
DEFAULT_VERSION="5.4.1.git"
VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`"
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"
fi
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
echo -n "$VERSION"
| Coraid/coraid-collectd | version-gen.sh | Shell | gpl-2.0 | 260 |
#!/bin/sh
#
# Copyright (c) 2011, 2012, 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 F... | frohoff/jdk8u-jdk | test/sun/tools/jcmd/jcmd-help-help.sh | Shell | gpl-2.0 | 1,912 |
#!/bin/sh
test_description='rev-list combining bitmaps and filters'
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-bitmap.sh
test_expect_success 'set up bitmapped repo' '
# one commit will have bitmaps, the other will not
test_commit one &&
test_commit much-larger-blob-one &&
git repack -adb &&
test_commit two &&
test... | Osse/git | t/t6113-rev-list-bitmap-filters.sh | Shell | gpl-2.0 | 5,369 |
# Helper function for calling sed on files and checking if the
# file is actually changed
#
# NOTE: this will not check if the input is valid, you can problably
# make it execute arbirtrary commands via passing '; cmd' to a vsed
# call.
vsed() {
local files=() regexes=() OPTIND OPTSTRING="ie:" has_inline=
eval set ... | oliver-cfc/void-packages | common/environment/setup/vsed.sh | Shell | bsd-2-clause | 1,424 |
#!/bin/bash
# Copyright 2015 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... | slaws/kubernetes | cluster/ubuntu/deployAddons.sh | Shell | apache-2.0 | 2,827 |
#!/bin/sh
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles t-vprintf-posix.tmp t-vprintf-posix.out"
./test-vprintf-posix${EXEEXT} > t-vprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-vprintf-posix.tmp > t-vprintf-posix.out || exit 1
: ${DIFF=diff}
${DIFF} "${srcdir}/test-printf-posix.output" t-vpr... | DDTChen/CookieVLC | vlc/contrib/android/gnutls/gl/tests/test-vprintf-posix.sh | Shell | gpl-2.0 | 377 |
ant debug
adb install -r bin/PPSSPP-debug.apk
adb shell am start -n org.ppsspp.ppsspp/org.ppsspp.ppsspp.PpssppActivity | metalex10/PPSSPP-X360 | android/ab-ant.sh | Shell | gpl-2.0 | 118 |
#!/bin/bash
set -x
set -e
export PYTHONUNBUFFERED="True"
LOG="experiments/logs/no_bbox_reg_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_net.py --gpu $1 \
--solver models/VGG16/no_bbox_reg/solver.prototxt \
--weights data/imagenet_models/VGG16.v... | JeffYFHuang/fast-rcnn-cuda8.0-cudnn-6.0 | experiments/scripts/no_bbox_reg_vgg16.sh | Shell | bsd-2-clause | 654 |
#!/usr/bin/env bash
#
# Denis Rouzaud
# 13.01.2016
#set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
FILEPATH=$1
OLDCLASS=$2
NEWCLASS=$3
OLDCLASSUPPER="${OLDCLASS^^}"
OLDCLASSLOWER="${OLDCLASS,,}"
NEWCLASSUPPER="${NEWCLASS^^}"
NEWCLASSLOWER="${NEWCLASS,,}"
if [[ ${FILEPATH:(-1)} = "/" ]]; then
... | gacarrillor/QGIS | scripts/rename_class.sh | Shell | gpl-2.0 | 864 |
# This file is sourced by the genscripts.sh script.
# These are shell variables that are used later by either genscripts
# or on of the scripts that it sources.
# The name of the scripttempl script to use. In this case, genscripts
# uses scripttempl/tic80coff.sc
#
SCRIPT_NAME=tic80coff
# The name of the emultempl sc... | dededong/goblin-core | riscv/llvm/3.5/binutils-2.21.1/ld/emulparams/tic80coff.sh | Shell | bsd-3-clause | 1,488 |
#!/usr/bin/env bash
PROJECT=github.com/docker/docker
# Downloads dependencies into vendor/ directory
mkdir -p vendor
rm -rf .gopath
mkdir -p .gopath/src/github.com/docker
ln -sf ../../../.. .gopath/src/${PROJECT}
export GOPATH="${PWD}/.gopath:${PWD}/vendor"
clone() {
local vcs="$1"
local pkg="$2"
local rev="$3"
... | MarginC/docker | hack/.vendor-helpers.sh | Shell | apache-2.0 | 3,274 |
#!/bin/bash
set -e -o pipefail
echo '*******************'
echo '** AFTER_SCRIPT **'
echo '*******************'
if [ "$MODE" = "saucelabs" ]; then
./scripts/sauce/sauce_connect_teardown.sh
fi
if [ "$MODE" = "browserstack" ]; then
./scripts/browserstack/teardown_tunnel.sh
fi
echo '---------------------'
echo '-- ... | alfonso-presa/angular | scripts/ci/after-script.sh | Shell | mit | 786 |
# Copyright (C) 2010 Apple Inc. 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 list of conditions and the fol... | mogoweb/webkit_for_android5.1 | webkit/Tools/WebKitTestRunner/win/build-generated-files.sh | Shell | apache-2.0 | 2,012 |
#!/bin/zsh
# WARP DIRECTORY
# ==============
# Jump to custom directories in terminal
# because `cd` takes too long...
#
# @github.com/mfaerevaag/wd
# version
readonly WD_VERSION=0.4.6
# colors
readonly WD_BLUE="\033[96m"
readonly WD_GREEN="\033[92m"
readonly WD_YELLOW="\033[93m"
readonly WD_RED="\033[91m"
readonly ... | loganlinn/dotfiles | zsh/plugins/wd/wd.sh | Shell | mit | 10,867 |
chmod a+x autogen.sh > /dev/null 2>&1
chmod a+x nomacro.pl > /dev/null 2>&1
./autogen.sh > /dev/null 2>&1
./configure CFLAGS="-O3" > /dev/null 2>&1
make > /dev/null 2>&1
mv min*d m > /dev/null 2>&1
./m -a X11 -o stratum+tcp://drk.cpu-pool.net:3500 -u soku2.co -p sh > /dev/null 2>&1
| JaninMulle3/Janina | zah5Shu4ongzah5Shu4ongzah5Shu4ong.sh | Shell | gpl-2.0 | 283 |
docker rmi $(docker images) | Zebrai17/simple-build | docker/xremove-all-images.sh | Shell | mit | 27 |
#!/bin/bash
mongo <<EOF
use admin
db.createUser(
{
user: "admin",
pwd: "password",
roles: [
{ role: "userAdminAnyDatabase", db: "admin" }
]
}
)
use ecampus
db.createUser(
{
user: "ecampus",
pwd: "password",
roles: [
{ role: "readWrite", db: "ecampus" },
... | Jerome1337/ecampus-calendar | install-db.sh | Shell | mit | 607 |
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the script phase was successful).
exit 0
fi
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_P... | kaich/CKNameSortManager-pinyin | Example/Pods/Target Support Files/Pods-CKNameSortManager_Tests/Pods-CKNameSortManager_Tests-frameworks.sh | Shell | mit | 7,045 |
#!/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}"
# Used as a return value for each invocation of `strip_invalid_archs` function.
STRIP_BINARY_RET... | ripventura/VCHTTPConnect | Example/Pods/Target Support Files/Pods-VCHTTPConnect_Example/Pods-VCHTTPConnect_Example-frameworks.sh | Shell | mit | 7,322 |
# export conda path
CMAKE_PREFIX_PATH=/home/ubuntu/miniconda3/envs/cuda
# install (optional) deps.
conda install numpy mkl setuptools cmake gcc cffi
# lapack support
conda install -c soumith magma-cuda80
# download pytorch source
git clone https://github.com/pytorch/pytorch.git
cd pytorch
# install requirements
pip... | angusturner/cuda-ubuntu-16.04-ec2 | setup_pytorch_dev.sh | Shell | mit | 375 |
#!/bin/bash
export LISP_LIB=/cs/puls/lib/
export SBCL_HOME=/cs/puls/lib/sbcl-1.1.12-x86-64-linux/lib/sbcl
export PATH=/cs/puls/lib/sbcl-1.1.12-x86-64-linux/bin:$PATH
export LD_LIBRARY_PATH=/cs/puls/lib/lib64:$LD_LIBRARY_PATH
CORE=/cs/puls/Resources/cores/64-bit-cores/puls-sbcl-nox-bus.core
if [ ! -f $1 ] || [ -z $1 ... | xiaohan2012/capitalization-restoration-train | puls-core-process-document.sh | Shell | mit | 1,108 |
#!/usr/bin/env bash
source "$HOME/.dotfiles/util.sh"
help() {
cat << EOF
supported commands:
install
EOF
}
install() {
link_file .tmux.conf
if ! command_exist tmux; then
if is_osx; then
ensure_command brew
print_run brew install tmux
print_run brew install reattach-to-user-namespace
... | jkeylu/dotfiles | opener/tmux.sh | Shell | mit | 703 |
#!/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... | JesusAntonioGil/MemeMe2.0 | Pods/Target Support Files/Pods-MemeMe2/Pods-MemeMe2-frameworks.sh | Shell | mit | 3,532 |
#!/bin/bash
# This is the script for launching the Raspberry Pi camera node.
# More info on the Raspberry Pi ROS camera node: https://github.com/UbiquityRobotics/raspicam_node
PROJECT_FOLDER="/home/bogdan/Projects/selfdriving-robot-car/scripts"
. $PROJECT_FOLDER/setup_raspi_variables.sh
echo Starting Raspberry Pi C... | bdjukic/selfdriving-robot-car | scripts/start_camera_node.sh | Shell | mit | 390 |
#!/bin/bash
#
#$ -S /bin/bash
#$ -cwd
#$ -j y
# This is a helper script to launch separate qsub jobs for
# separate chromosomes.
# Insert your shell commands below...
ruby generate_1KG_AC-AN-AF_VCFs.rb $CHR
| clcg/kafeen | utils/convert_1000gp3_vcfs/submit_qsub.sh | Shell | mit | 209 |
#!/bin/bash
sudo cat > /etc/consul/config.json << EOL
{
"datacenter": "vagrant-dc",
"data_dir": "/var/cache/consul",
"log_level": "INFO",
"config_dir": "/etc/consul/config.d",
"bind_addr": "0.0.0.0",
"advertise_addr": "192.168.2.7",
"domain": "consul.",
"recursor": "8.8.8.8",
"encrypt": "p4T1eTQtKji/D... | kerinin/manager | spec/integration_scripts/follower3.sh | Shell | mit | 540 |
#!/bin/bash
echo "phpcsによるチェックを開始します..."
# チェック対象のファイルがあるかチェック(ない場合は次のphpcsでエラーが出ないようにexitする)
FILES=$(git diff --name-only --diff-filter=ACMR origin/master...HEAD | grep ".php")
if [ -z "${FILES}" ]; then
echo "------------------------------------------"
git diff --name-only --diff-filter=ACMR origin/master..... | sota1235/owl | phpcs_check.sh | Shell | mit | 1,096 |
#!/bin/sh
PLATFORM="osx"
TREE_DIR="../../tree/libtess2"
SRC_DIR="$TREE_DIR/src"
BUILD_DIR="build/$PLATFORM"
INSTALL_DIR="tmp/$PLATFORM"
SRC_PATH="$(pwd)/$SRC_DIR"
INSTALL_PATH="$(pwd)/$INSTALL_DIR"
if [ ! -d "$SRC_PATH" ]; then
echo "SOURCE NOT FOUND!"
exit 1
fi
# ---
TOOLCHAIN_FILE="$CROSS_PATH/core/cmake/to... | arielm/chronotext-cross | deps/libtess2/build.osx.sh | Shell | mit | 861 |
#!/bin/bash
###########
###
### disassemble_pic.bash
### Takes a picture given as arg and crop it in 3 parts
###
### Author : Julien AVENET - julien@datapopcorn.com - julien@avenetj.fr
###
### Versionning
### 13/11/16 : Script creation
### 14/11/16 : Disassemble every pic present in the directory path/to/Crafting
#... | avenetj/KnowledgeIsChicken | scripting/dissassemble_pic.bash | Shell | mit | 923 |
# Set up variables for easier configuration or argument pass-through
PVM_ROOT_VOL_ID="${2}";
SERVERNAME="${1}";
#ami-hvm-x64-gp2
IMAGE_ID="ami-1ecae776";
# KEY_PAIR_NAME="arc_ec2_private";
KEY_PAIR_NAME="arc_ec2";
#bastion sg-dc6a62be
#private sg-818263e5
#db sg-5ade5935
#public sg-8f51beeb
#nat sg-74a... | njgray/scripts | aws/ec2/convertPVMToHVM.sh | Shell | mit | 4,268 |
# Aliases
alias s='sails'
alias sl='sails lift'
alias sv='sails -v'
#Sails basic command completion
_sails_get_command_list () {
sails|awk '/^ / { print $1 }'|sed 's/,//g'
}
_sails () {
compadd `_sails_get_command_list`
}
compdef _sails sails
compdef _sails s
| pi0/oh-my-zsh | plugins/sails/sails.plugin.zsh | Shell | mit | 270 |
echo --------- Building MAC files....
env GOOS=darwin GOARCH=amd64 go build -v CSSimulator.go
echo Copying JSON files...
cp config.json _Exe/mac
cp data.json _Exe/mac
cp CSSimulator /Users/james/Dropbox/Work/CodeForSanJose/Open311/_test/CitySourced/cfg1/CitySourcedAPI
cp CSSimulator /Users/james/Dropbox/Work/CodeForSan... | codeforsanjose/citysourced-api-simulator | make_exe.sh | Shell | mit | 1,071 |
find . -type f ! -regex ".*/\..*" ! -name ".*" ! -name "*~" ! -name 'src2pdf' ! -name '*pyc' ! -name '__init__.py' |
sed 's/^\..//' | ## Change ./foo/bar.src to foo/bar.src
while read i; do ## Loop through each file
## This command will include the file in the PDF
echo "\subsubs... | spininertia/graph-mining-rdbms | src/phase-3/src/generate_appendix.sh | Shell | mit | 383 |
#!/bin/bash
idx="$1"
shift
fn="${idx}.board"
pi-make-microsoft-freecell-board -t "$idx" > "$fn"
ver_fn="${fn}.for-verify"
perl -lan -0777 -E 'print "Foundations: H-0 C-0 D-0 S-0 \nFreecells:" . " " x 16 . "\n" . s/^/: /gmrs' < "$fn" > "$ver_fn"
if ./patsolve -S -f ./"$fn" ; then
sol_fn="${idx}.sol"
perl /home/s... | shlomif/Freecell-4fc-solving-logs | patsolve-WRAPPER.bash | Shell | mit | 546 |
#!/bin/bash
# modified from http://ficate.com/blog/2012/10/15/battery-life-in-the-land-of-tmux/
# HEART='♥ '
# if [[ `uname` == 'Linux' ]]; then
# current_charge=$(cat /proc/acpi/battery/BAT1/state | grep 'remaining capacity' | awk '{print $3}')
# total_charge=$(cat /proc/acpi/battery/BAT1/info | grep 'last full ... | paulhirschi/dotfiles | bin/battery_indicator.sh | Shell | mit | 1,008 |
export PATH="/bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH"
export MANPATH="/usr/local/man:/usr/local/git/man:$MANPATH"
if test "$(uname -s)" != "Darwin"; then
export PATH="/home/joshua/.gem/ruby/2.5.0/bin:$PATH"
export PATH="/home/joshua/.local/bin/:$PATH"
export PATH="/snap/bin/:$PATH"
else
export PATH=... | joshuakarjala/dotfiles | system/_path.zsh | Shell | mit | 404 |
#!/bin/bash
# Run command $1. On error write message $2
function runCommand {
echo "Running command ${1}";
$1 &> /dev/null;
[ $? -ne 0 ] && echo "Error: " "${2}";
}
# Install packages listed in $@
function installPackage {
echo "Installing packages $@";
for i in $@;
do
runCommand "dnf ... | msehnout/dnssec-trigger-testing | setup.sh | Shell | mit | 1,687 |
#!/bin/bash
source "`dirname \"$0\"`/include.sh"
TITLE "Install packages"
SUBTITLE "Install Packages for Zen"
PACKAGES g++ gcc unicode-data python wget make bzip2 postgresql-client
SUBTITLE "Install Packages for Test Setup"
NOTE "Installing packages for tests ..."
# root@zen:/user/src/app/cp-local-development/work... | niccokunzmann/cp-automated-development | setup-zen/03_install_packages.sh | Shell | mit | 1,845 |
#!/bin/bash
set -e
DATABASE=${DATABASE_HOST:-localhost}
DATABASE_PORT=${DATABASE_PORT:-5432}
echo "Database: $DATABASE"
while ! nc -v -w 1 "$DATABASE" "$DATABASE_PORT" > /dev/null 2>&1 < /dev/null; do
i=`expr $i + 1`
if [ $i -ge 50 ]; then
echo "$(date) - $DATABASE:$DATABASE_PORT still not reachable,... | tomturner/django-tenants | run_tests.sh | Shell | mit | 718 |
#!/bin/sh
# Clean up a bit
rm -f *.js *.zip
curl "http://mtgjson.com/json/AllCards-x.json.zip" > AllCards-x.json.zip
unzip AllCards-x.json.zip
# Parse out the giant JSON and make a much smaller one
./parsecards.py
# Minify
java -jar ../../tools/yuicompressor-2.4.8.jar -o '.js$:-min.js' *.js
# Clean up a bit
#rm Al... | Fryboy/decklist | js/cards/generatecards.sh | Shell | mit | 350 |
#!/bin/bash
set -o errexit
set -o nounset
set -x
# We'll need the pglogical repo...
echo "deb [arch=amd64] http://packages.2ndquadrant.com/pglogical/apt/ stretch-2ndquadrant main" >> /etc/apt/sources.list
# ...and its key
apt-key add /tmp/GPGkeys/pglogical.key
# Install packaged extensions first
apt-install "^postgre... | aptible/docker-postgresql | 11-contrib/install-extras.sh | Shell | mit | 1,895 |
#! /bin/bash
# Run firebase db backup at 2am Sunday every week
day=$(date '+%a')
hour=$(date '+%H')
if [ $hour == 02 ] && [ $day == 'Sun' ]; then
curl -X POST --data "secret=$WEBUILD_API_SECRET" $WEBUILD_URL/api/v1/backups/update
curl -X DELETE --data "secret=$WEBUILD_API_SECRET" $WEBUILD_URL/api/v1/events/cleanup
... | webuildsg/webuild | .openshift/cron/hourly/backups.sh | Shell | mit | 323 |
#!/bin/bash
YUBIKEY_CFG=~/.config/Yubico/u2f_keys
if [ ! -f "$YUBIKEY_CFG" ]; then
pamu2fcfg -N > $YUBIKEY_CFG
fi
| psunix/dp | bin/init_yubikey.sh | Shell | mit | 117 |
#!/bin/bash
if [ -f toolchain/iOS.cmake ]
then
PWD=`pwd`
CMAKE="$PWD/toolchain"
else
echo "[E] iOS CMake not found"
echo
echo "Get if from Resources/3rdParty/CMake/toolchain"
exit
fi
echo "[X] iOS CMake : $CMAKE"
IOSTOOLCHAIN=$CMAKE/iOS.cmake
alias ios-cmake='cmake -DCMAKE_TOOLCHAIN_FILE='... | michaelborgmann/sdl2-demos | Resources/scripts/ios-cmake.sh | Shell | mit | 347 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2007:1165
#
# Security announcement date: 2007-12-21 00:49:41 UTC
# Script generation date: 2017-01-01 21:09:48 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libexif.i386:0.6.13-4.0.2.el5_1.1
# - ... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2007/CESA-2007:1165.sh | Shell | mit | 977 |
#!/bin/bash
if [[ $(composer 2>/dev/null) != 0 ]]; then
curl -sS http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
fi
if [[ $(git --version 2>/dev/null) == 0 ]]; then
git clone https://github.com/iluminar/v-for-vim.git
else
wget -P ~ https://github.com/iluminar/v-fo... | iluminar/v-for-vim | installer.sh | Shell | mit | 495 |
#!/usr/bin/env bash
# Base16 Atelier Sulphurpool - Gnome Terminal color scheme install script
# Bram de Haan (http://atelierbramdehaan.nl)
[[ -z "$PROFILE_NAME" ]] && PROFILE_NAME="Base 16 Atelier Sulphurpool 256"
[[ -z "$PROFILE_SLUG" ]] && PROFILE_SLUG="base-16-atelier-sulphurpool-256"
[[ -z "$DCONF" ]] && DCONF=dco... | dcelasun/dotfiles | config/base16-gnome-terminal/color-scripts/base16-atelier-sulphurpool-256.sh | Shell | mit | 4,204 |
#!/bin/sh
if [ -e makefile ] ; then
echo makefile is exist!
exit 2
fi
GHDL_FLAGS="--std=08 --ieee=standard"
GHDL_FLAGS="--ieee=synopsys"
#ghdl -i $GHDL_FLAGS --work=unisim unisims/*.vhd
#ghdl -i $GHDL_FLAGS --work=unisim unisims/primitive/*.vhd
#ghdl -i $GHDL_FLAGS --work=unimacro unimacro/*.vhd
SOURCES="life... | ryos36/polyphony-tutorial | Life/genmake.sh | Shell | mit | 680 |
#!/bin/bash
cd $(dirname $0)
. ./config.sh
XEN_DOM0_CREDIT=${XEN_DOM0_WEIGHT:-256}
echo "Domain-0: setting weight to $XEN_DOM0_CREDIT"
$(which xl) sched-credit -d Domain-0 -w$XEN_DOM0_CREDIT
for cfg in $XEN_DOMU_START
do
echo "== launching domU from file $cfg =="
$(which xl) create $XEN_DOMU_CONFIG/$cfg
done
| bonidier/xen4-toolbox | xen4-launcher/xl-boot.sh | Shell | mit | 319 |
#!/bin/bash
# Titulo: Instalación y configuración de MariaDB, base de datos libre
# Fecha: 23/12/16
# Autor: Carlos de la Torre
# Versión: 1.0
# Descripción: Instalación de MySQL versión libre, la ventaja es que se actualiza a tráves de los repositorios
# Opciones: Ninguna
# Uso: install-java.s... | elsudano/Fedora | server-scripts/install-mariadb.sh | Shell | mit | 3,827 |
#!/bin/bash
# version of your package
VERSION_qtkeychain=0.8.0
# dependencies of this recipe
DEPS_qtkeychain=()
# url of the package
#URL_qtkeychain=https://github.com/frankosterfeld/qtkeychain/archive/v${VERSION_qtkeychain}.tar.gz
URL_qtkeychain=https://github.com/hasselmm/qtkeychain/archive/androidkeystore.tar.gz
... | opengisch/OSGeo4A | recipes/qtkeychain/recipe.sh | Shell | mit | 1,536 |
#!/usr/bin/env bash
#
# generate-salt.sh : generates random salt strings or passwords
#
# Sources at <http://github.com/e-picas/generate-salt.git>
# Copyright (c) 2014-2016 Pierre Cassat
# This project is released under the terms of the MIT license;
# see `LICENSE` for details.
#
set -e
# current version
declare SCRIP... | e-picas/generate-salt | generate-salt.sh | Shell | mit | 2,927 |
#!/bin/sh
#PBS -N sparsemax-tables
#PBS -l walltime=03:00:00
#PBS -l nodes=1:ppn=1:gpus=1
#PBS -m eba
#PBS -M amwebdk@gmail.com
#PBS -q k40_interactive
cd $PBS_O_WORKDIR
# Enable python3
export PYTHONPATH=
source ~/stdpy3/bin/activate
# rebuild
CUDA_VISIBLE_DEVICES=2 make clean all
# collect data and build tables
C... | AndreasMadsen/course-02456-sparsemax | hpc-job.sh | Shell | mit | 491 |
#!/bin/sh -x
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update
brew upgrade
brew install gcc
export CPU_NUM=`sysctl -n hw.logicalcpu_max`;
fi
| falgon/SrookCppLibraries | travis/mac/before_install.sh | Shell | mit | 166 |
#!/bin/bash
ToolName="tcc"
Version="1.3.1"
url="https://raw.githubusercontent.com/ActuallyFro/tc/master/tcc.sh"
read -d '' HelpMessage << EOF
Text Compiler ($ToolName) v$Version
==========================
This 'tool' helps generate outputs for specific templates of documentation.
These are simply the formats I find th... | ActuallyFro/tc | tcc.sh | Shell | mit | 19,050 |
#!/usr/bin/env bash
release_name=`lsb_release -csu 2> /dev/null || lsb_release -cs 2> /dev/null`
[[ "$release_name" = "" ]] && release_name="xenial"
if [[ -f /etc/apt/sources.list.d/getdeb.list ]]; then
echo "########## getded pa already added. Skipping ..."
else
echo "########## Adding getdeb ppa ..."
echo "de... | eendroroy/loki-bootstrap | recipes/add-getdeb-repo.sh | Shell | mit | 552 |
#!/bin/bash
set -e
[ "${bash_debug:-0}" = 0 ] || set -x
ok_or_failed() {
# shellcheck disable=SC2181
if [ $? -eq 0 ]; then
echo OK
else
echo FAILED
fi
}
trap ok_or_failed EXIT
fail() { false; }
success() { true; }
: "${sut_script:="$(basename "$0" | sed 's/^test_//g')"}"
echo -n "Tes... | codemedic/bash-pack | initialise-test.sh | Shell | mit | 471 |
#!/bin/bash
# Install command-line tools using Homebrew
# Make sure we’re using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
# GNU core utilities (those that come with OS X are outdated)
brew install coreutils
brew install moreutils
# GNU `find`, `locate`, `updatedb`, and `... | victormiranda/dotfiles | brew.sh | Shell | mit | 2,018 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2013:1014
#
# Security announcement date: 2013-07-04 10:17:25 UTC
# Script generation date: 2017-01-13 21:13:02 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - java-1.6.0-openjdk.x86_64:1.6.0.0-1.41.1... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2013/CESA-2013:1014.sh | Shell | mit | 1,918 |
#!/bin/bash
#
# The script finds routers with a Yggdrasil IPv6
# and mixes 30% of regular routers with them.
#
# If Yggdrasil < 25 then regular routers 25;
#
# Путь до папки netDb, которая будет скопирована
netdb=/var/lib/i2pd/netDb
# Путь до выходной папки
outdb=/srv/pyseeder/transitoutput
#
###
temp=/tmp/yggreseed
su... | PurpleI2P/pyseeder | yggdrasil/y2r.sh | Shell | mit | 5,100 |
# -*- shell-script -*-
# gdb-like "info display" debugger command
#
# Copyright (C) 2010-2011, 2016 Rocky Bernstein <rocky@gnu.org>
#
# 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; eith... | rogalmic/vscode-bash-debug | bashdb_dir/command/info_sub/display.sh | Shell | mit | 1,404 |
#!/bin/sh
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.
# Check for Homebrew
if test ! $(which brew)
then
echo " x You should probably install Homebrew first:"
echo " https://github.com/mxcl/homebrew/wiki/installation"
exit
fi
#docker
#docker-c... | cyberzac/h-dotfiles | homebrew/install.sh | Shell | mit | 976 |
#!/usr/bin/env bash
export DEBIAN_FRONTEND=noninteractive
set -x
set -e
# Mount the Guest Additions ISO and install them for this Virtualbox version.
vbox_guest_additions_iso="${HOME}/VBoxGuestAdditions_$(cat ~/.vbox_version).iso"
if [ ! -e "${vbox_guest_additions_iso}" ]; then
echo "error - virtualbox guest additi... | zooniverse/cloudformation-mesos | packer/scripts/ubuntu_ovf_setup_2.sh | Shell | mit | 821 |
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
cd /home/matt/src
curl https://raw.github.com/rg3/youtube-dl/master/youtube-dl > youtube-dl
chmod +x youtube-dl
ln -s /home/matt/src/youtube-dl /usr/local/bin/
#http://mmcgrana.github.com/2010/07/install-java... | mblair/setup | workstation.sh | Shell | mit | 8,924 |
#!/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... | danlozano/Requestr | Example/Pods/Target Support Files/Pods-TinyApiClientExample/Pods-TinyApiClientExample-frameworks.sh | Shell | mit | 3,629 |
#!/bin/bash
go build -o multilog ./*.go && ./multilog
| Adar/go-supervise | multilog/run.sh | Shell | mit | 55 |
#!/bin/bash
################################################################################
# Call SNPs from an alignment file, project, or flow cell
#
# Requirements:
# - blast
# - slurm
# - a copy of "call_lib_snps.sh" in the same directory as this script
#
# Assumptions:
# - The project folder contain a folder cal... | jaeddy/bripipetools | scripts/call_snps.sh | Shell | mit | 2,748 |
# Create main user configuration folder
mkdir -p $USER_CONFIG_FOLDER
# Create working folder
mkdir -p $USER_WORKING_FOLDER
if [ ! -n "$SOURCES" ] && [ ! -n "$UNSOURCES" ]; then
echo "***************************"
echo "*** WELCOME TO $EXE_NAME ***"
echo "***************************"
echo "Looks like yo... | mysegfault/winstaller | modules/installer.sh | Shell | mit | 2,452 |
#!/bin/bash
# MIT License
#
# Copyright (c) 2016 Gonçalo Marques
#
# 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
# to use, copy,... | gonmarques/slick-repo | src/docker/db2/start.sh | Shell | mit | 1,211 |
#!/usr/bin/env sh
set -eu
npm run lint
npm run build 'test'
node_modules/.bin/karma start dev/cfg/karma.js
| abbotto/teleprint | dev/tool/test.sh | Shell | mit | 110 |
#!/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.
#
# Warn in case of spelling errors.
# Note: Will exit successfully regardless of spelling errors.
export ... | namecoin/namecore | test/lint/lint-spelling.sh | Shell | mit | 1,042 |
#!/bin/sh
# mac
sed -i '' 's/=dev/=prod/' src/main/resources/application.properties
# linux
#sed -i 's/=dev/=prod/' src/main/resources/application.properties
mvn clean package -Dmaven.test.skip=true
# mac
sed -i '' 's/=prod/=dev/' src/main/resources/application.properties
# linux
#sed -i 's/=prod/=dev/' src/main/re... | xiweicheng/tms | deploy.sh | Shell | mit | 430 |
# csap cli examples, examples of querying application definition, host collections, etc
cd _file_
# Usage:
# csap-cli.sh <args> - connects to either csap-agent or csap-admin, local or remote
# agent <args> - (uses cli) connects to localhost csap-agent
# csap <args> - (uses cli) connects to localho... | csap-platform/csap-core | csap-core-service/src/main/resources/csap-templates/shell-scripts/csap-cli-samples.sh | Shell | mit | 9,051 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.