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
# Creates a new bootstrap theme
read -p "Theme name : " name
echo ""
echo "creating new theme $name folder..."
echo ""
# make new theme folder
mkdir ./less/themes/$name
echo "updating theme template..."
echo ""
# update variables.less in theme template
curl -o ./less/themes/template/variables.less https://... | WebPowerLabs/bootstrap-builder | mktheme.sh | Shell | bsd-3-clause | 743 |
#!/usr/local/bin/bash
PID_FILE="/var/run/uwsgi_emperor.pid"
/usr/local/bin/uwsgi --stop $PID_FILE;
rm -rf $PID_FILE; | ZWS2014/freebsdashboard | static/DefaultConfigFiles/manage_uwsgi/stop_uwsgi.sh | Shell | bsd-3-clause | 118 |
#!/bin/bash
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -o nounset
set -o errexit
PREFIX=${PREFIX:-}
VERIFY=${VERIFY:-yes}
EMU_HACK=${EMU_HACK:-yes}
python2 ../prepare_input.py --config ... | Lind-Project/native_client | tests/spec2k/253.perlbmk/run.train.sh | Shell | bsd-3-clause | 911 |
#!/bin/bash
set -eu
declare -A aliases
aliases=(
[8.5]='8 latest'
)
self="$(basename "$BASH_SOURCE")"
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
versions=( */ )
versions=( "${versions[@]%/}" )
# get the most recent commit which modified any of "$@"
fileCommit() {
git log -1 --format='format:%H' HEAD -- "$@"
... | infosiftr/sentry | generate-stackbrew-library.sh | Shell | bsd-3-clause | 1,896 |
ABSOLUTE_PATH=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd)
cd $ABSOLUTE_PATH
stack exec -- bnfc -m -haskell -p L5 L5/L5.cf
| mhuesch/scheme_compiler | src/genL5.sh | Shell | bsd-3-clause | 122 |
#!/bin/bash
source $(dirname $0)/webapi-service-tests.spec
SRC_ROOT=$(cd $(dirname $0);pwd)
BUILD_ROOT=/tmp/${name}-${path_flag}_pack
BUILD_DEST=/tmp/${name}-${path_flag}
usage="Usage: ./pack.sh [-t <package type: apk | cordova>] [-a <apk runtime arch: x86 | arm>] [-m <package mode: embedded | shared>] [-v <sub versio... | XiaosongWei/crosswalk-test-suite | misc/webapi-service-tests/pack.sh | Shell | bsd-3-clause | 8,791 |
#!/bin/sh
erl -smp enable +stbt db -pa ../../ebin -eval "hello_sdl:run()."
| brainstormi/esdl2 | examples/hello_sdl/start.sh | Shell | isc | 75 |
#!/bin/bash
PHANTOMSJS2_PACKAGE="phantomjs-2.1.1-linux-x86_64.tar.bz2"
PHANTOMJS2_OUTPUT="phantomjs-2.1.1-linux-x86_64"
mkdir -p $HOME/travis-phantomjs
if [ ! -d $HOME/travis-phantomjs/${PHANTOMJS2_OUTPUT} ]; then
wget https://bitbucket.org/ariya/phantomjs/downloads/${PHANTOMSJS2_PACKAGE} -O $HOME/travis-phantomjs... | HarrisCorp/material | scripts/travis-install-phantomjs2.sh | Shell | mit | 506 |
build_failed() {
head "Build failed"
echo ""
cat $warnings | indent
info "We're sorry this build is failing! If you can't find the issue in application code,"
info "please submit a ticket so we can help: https://help.heroku.com/"
info "You can also try reverting to our legacy Node.js buildpack:"
info "her... | skyjam/cs-heroku-buildpack-nodejs | lib/build.sh | Shell | mit | 9,754 |
#!/bin/bash
#set -e
if [[ $API_KEY ]]; then
sed -i -e "s/^.*api_key:.*$/api_key: ${API_KEY}/" /etc/dd-agent/datadog.conf
else
echo "You must set API_KEY environment variable to run the Datadog Agent container"
exit 1
fi
if [[ $TAGS ]]; then
sed -i -e "s/^#tags:.*$/tags: ${TAGS}/" /etc/dd-agent/datadog.conf
fi
if... | secondrotation/docker-dd-agent | entrypoint.sh | Shell | mit | 1,584 |
#! /usr/bin/bash
# Clone require package
git clone https://github.com/korczis/microscratch.git | pavelbinar/craftsmen | scripts/clone.sh | Shell | mit | 95 |
#!/usr/bin/sh
# Import worm data:
#python dataImporter.py --path ~/meTRN --mode import.peaks --source extras/brunetlab --peaks ce_brunetlab --rank ON --method OFF --rename POL2:AMA-1,POLIII:RPC-1,C01312.1:C01G12.1,R0GF6.6:R06F6.6 --cutChr ON --idrSource OFF --reformat ON
# Construct peak set for Shuo Han and Anne B... | claraya/meTRN | python/runMasterXB.sh | Shell | mit | 3,985 |
#!/bin/bash
##########################################################################
# This script starts the installation and configuration process of the
# specified application and finally it shows a log file which contains
# reported installation steps and posible errors.
# @author César Rodríguez González
# @ver... | cesar-rgon/desktop-app-installer | app-scripts/remmina.sh | Shell | mit | 761 |
#!/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... | NicolasKim/Roy | Example/Pods/Target Support Files/Pods-Roy_Tests/Pods-Roy_Tests-frameworks.sh | Shell | mit | 6,954 |
#
# Copyright (c) 2004, 2010, 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... | openjdk/jdk7u | jdk/test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh | Shell | gpl-2.0 | 2,159 |
#!/bin/bash
service tomcat7 stop
cp pages.war /var/lib/tomcat7/webapps/
rm -rf /var/lib/tomcat7/webapps/pages
rm -rf /var/lib/tomcat7/work/Catalina/localhost/
service tomcat7 start
| schmidda/Pages | install-pages-war.sh | Shell | gpl-2.0 | 181 |
#!/bin/bash
function usage {
echo "Usage: $0 <kernelsourcedir> [-l][-v][-c][-db][-dc][-dt][--help]"
echo " -c ... clean"
echo " -l ... make linux"
echo " -v ... make v4l"
echo " -db .. DKMS build"
echo " -dc .. DKMS clean"
echo " -dt .. DKMS TAR"
echo " Note: If -l and -v are not present, both are execut... | herrnst/media_build | build_all.sh | Shell | gpl-2.0 | 5,097 |
#!/bin/bash
# This is a basic script to decomission "nodes" in Hbase w/ HDFS over
# Lustre if you want to start using fewer nodes in your job. You can
# run it under 'script' mode in the main job submission file and setting
# HBASE_SCRIPT_PATH to this script.
#
# You the user must make only one input into this file, ... | zorino/magpie | scripts/job-scripts/hbase-hdfs-over-lustre-or-hdfs-over-networkfs-nodes-decomission-script.sh | Shell | gpl-2.0 | 1,996 |
#!/bin/sh
#
# Copyright (c) 2008 Johannes E. Schindelin
#
test_description='prune'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
day=$((60*60*24))
week=$(($day*7))
add_blob() {
before=$(git count-objects | sed "s/ .*//") &&
BLOB=$(echo aleph_0 | git hash-obj... | felipec/git | t/t5304-prune.sh | Shell | gpl-2.0 | 10,140 |
#!/bin/bash
# Description: Script to remove all logs and anything potentially legally binding
#set the prompt to the name of the script
PS1=${PS1//@\\h/@logwiper}
clear
. /opt/pwnix/pwnpad-scripts/px_functions.sh
CAPTURE_FILES="$(find /opt/pwnix/captures -type f)"
set_choosewisely(){
printf "\n[!] This will remove... | harayz/pwn_pad_sources | scripts/logwiper.sh | Shell | gpl-3.0 | 2,146 |
#!/usr/bin/env bash
# The whole idea of plugins here, is to set some variables
# and `source`ing a view file, redirecting it's output into the desired
# target file.
# You should also "prepare" the destination directory
# ( mkdir -p -- "$DST" and touch -- "$DST/$dstfile" ) before
# you use the view files.
# You... | moebiuseye/skf | share/plugins/gallery.sh | Shell | gpl-3.0 | 4,210 |
#!/bin/bash
set -e
cachedir=.cache
mkdir -p $cachedir
# Sets default target to "linux", if none specified
TARGET=${TARGET-linux}
SYSTEM=$(uname -s)
if [[ ! -d build ]]; then
mkdir -p build
fi
if [[ $TARGET != "linux" && $TARGET != "docker32" && $SYSTEM != "Darwin" ]]; then
sha256sum=f124c954bbd0b58c93e5fba469028... | n42k/OpenRCT2 | scripts/linux/build.sh | Shell | gpl-3.0 | 2,573 |
# 400_copy_modules.sh
#
# Collect kernel modules and copy them into the rescue/recovery system.
# 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.
# The special user setting MODULES=( 'no_modules' ) enforces that
# no kern... | jsmeix/rear | usr/share/rear/build/GNU/Linux/400_copy_modules.sh | Shell | gpl-3.0 | 12,468 |
#!/usr/bin/env bash
HT_HOME=${INSTALL_DIR:-"$HOME/hypertable/current"}
HYPERTABLE_HOME=$HT_HOME
PIDFILE=$HT_HOME/run/Hypertable.Master.pid
LAUNCHER_PIDFILE=$HT_HOME/run/Hypertable.MasterLauncher.pid
DUMP_METALOG=$HT_HOME/bin/metalog_dump
METALOG="/hypertable/servers/master/log/mml"
SCRIPT_DIR=`dirname $0`
RESTART_RANG... | toidi/hypertable | tests/integration/rangeserver-failover-master/master-launcher.sh | Shell | gpl-3.0 | 2,217 |
#!/bin/bash
declare -a PACKAGES=(
'binutils'
'build-essential'
'cmake'
'wget'
'unzip'
'libtinyxml2-dev'
'libfreetype6-dev'
'libjpeg-dev'
'libx11-dev'
'x11-xserver-utils'
'libx11-xcb-dev'
'libxcb-randr0-dev'
'libxcb-image0-dev'
'libgl1-mesa-dev'
'libglu1-mesa... | moisesjbc/JDB | build_deps_ubuntu_14_04_x86_64.sh | Shell | gpl-3.0 | 3,698 |
wsimport -s ../src http://localhost:8081/bookstore/BookPresentationManager?wsdl | aipi2015/Laborator07 | solutions/eclipse/07-BookStore-JAXWS-Client-BookPresentationManager/scripts/client.sh | Shell | apache-2.0 | 79 |
#!/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 ... | mbruzek/kubernetes | cluster/gce/gci/configure.sh | Shell | apache-2.0 | 10,049 |
#!/bin/bash
# File: runtestset.sh
# Description: Script to run tesseract on a single UNLV set.
# Author: Ray Smith
# Created: Wed Jun 13 10:13:01 PDT 2007
#
# (C) Copyright 2007, Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complianc... | rmtheis/tess-two | tess-two/jni/com_googlecode_tesseract_android/src/testing/runtestset.sh | Shell | apache-2.0 | 2,060 |
#!/bin/bash
#
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | hashashin/src | pagespeed/system/system_tests/no_respect_vary.sh | Shell | apache-2.0 | 1,355 |
#!/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 ... | qiansl127/HiBench | bin/workloads/streaming/identity/gearpump/run.sh | Shell | apache-2.0 | 1,315 |
#!/bin/bash
# Rebuild gh-pages branch, adapted from
# https://github.com/google/dagger/blob/master/util/generate-latest-docs.sh
# See also http://stackoverflow.com/a/22977235 for ssh-based deploy.
if [ "$TRAVIS_REPO_SLUG" != "google/closure-library" -o \
"$TRAVIS_PULL_REQUEST" != "false" -o \
"$TRAVIS_BRANC... | Medium/closure-library | scripts/ci/generate_latest_docs.sh | Shell | apache-2.0 | 3,912 |
#!/bin/bash
lyx --export pdf4 java-advanced-tutorial.lyx
pdftk cover.pdf java-advanced-tutorial.pdf cat output ../java-advanced.pdf
rm java-advanced-tutorial.pdf
| JamesLiAndroid/java-tutorial | advance/makebook.sh | Shell | apache-2.0 | 163 |
#!/bin/bash
export edgeR_VERSION=3.2.4
export edgeR_PATH=${OQTANS_PATH}/edgeR/0.2
export edgeR_SRC_PATH=${edgeR_PATH}/src
export edgeR_BIN_PATH=${edgeR_PATH}/bin
export INTERPRETER=octave
export MATLAB_BIN_PATH=
export MATLAB_MEX_PATH=
export MATLAB_INCLUDE_DIR=
export OCTAVE_BIN_PATH=${OQTANS_DEP_PATH}/octave/bin/octa... | vipints/oqtans | oqtans_tools/edgeR/0.2/bin/edger_config.sh | Shell | bsd-3-clause | 778 |
#!/bin/bash
# Usage: ./init.sh once to initialize remote storage for this environment.
# Subsequent tf actions in this environment don't require re-initialization,
# unless you have completely cleared your .terraform cache.
#
# terraform plan -var-file=./base.tfvars
# terraform apply -var-file=./base.tfvars
#tf_env=... | Oxalide-Team-2/terraform-formation | projet_4/terraform/eu-west-1/staging/init.sh | Shell | mit | 718 |
#!/bin/bash
BASEDIR=$(dirname -- "$(readlink -f -- "${BASH_SOURCE}")")
RUPTUREDIR="$HOME/.rupture"
if [ ! -d $RUPTUREDIR ]; then
RUPTUREDIR=$BASEDIR
fi
echo "[-] Populating targets..."
if $BASEDIR/env/bin/python $BASEDIR/populate_targets.py $RUPTUREDIR/target_config.yml; then
echo "[*] Targets have been set."... | dimriou/rupture | backend/setup_targets.sh | Shell | mit | 374 |
# Install/unInstall package files in LAMMPS
# for unInstall, also unInstall/Install GPU package if installed
# so it will remove GPU files that depend on ASPHERE files,
# then replace others
if (test $1 = 1) then
cp atom_vec_ellipsoid.cpp ..
cp compute_erotate_asphere.cpp ..
cp compute_temp_asphere.cpp ..
... | nchong/ic_liggghts | src/ASPHERE/Install.sh | Shell | gpl-2.0 | 1,264 |
#!/bin/sh
#
# tinydns: an init script to start & stop the tinydns service daemon.
#
# chkconfig: - 20 80
# description: tinydns is a DNS server program.
# tinydns server maps & serves IP addresses for a given domain
# name from a local static database of domain names.
#
### BEGIN INIT INFO
# ... | greyson/ndjbdns | etc/init.d/tinydns.sh | Shell | gpl-2.0 | 2,007 |
#!/bin/sh
# Run tests in Docker. Used in Makefile.
for version in 24 25 26 27
do
docker \
run \
--rm \
--volume="$(pwd)":/src \
--user "$(id -u):$(id -g)" \
silex/emacs:${version} \
bash -c \
"cd /src && ELDEV_DIR=/src/.eldev HOME=/tmp ./scripts/run_test.sh... | emacsmirror/swift-mode | scripts/test_in_docker.sh | Shell | gpl-3.0 | 360 |
if [ -z "${TROVE_VENV_DIR:-}" ]; then
export TROVE_VENV_DIR=${OPENSTACK_VENV_DIR:-"/opt/stack/venvs/trove"}
fi
if [ -z "${TROVE_EXTRA_INSTALL_OPTS:-}" ]; then
# use -s to enable --system-site-packages in the virtualenv
export TROVE_EXTRA_INSTALL_OPTS=${OPENSTACK_EXTRA_INSTALL_OPTS:-"-s"}
fi
| rdo-management/tripleo-image-elements | elements/trove/environment.d/10-trove-venv-dir.bash | Shell | apache-2.0 | 304 |
#!/usr/bin/env bash
set -xe
# This is the script used by ASF Jenkins to build and check Mesos for
# a given OS and compiler combination.
# Require the following environment variables to be set.
: ${OS:?"Environment variable 'OS' must be set (e.g., OS=ubuntu:14.04)"}
: ${BUILDTOOL:?"Environment variable 'BUILDTOOL' m... | zmalik/mesos | support/docker-build.sh | Shell | apache-2.0 | 7,349 |
#!/bin/bash
#########################
# #
# Configuration Options #
# #
#########################
# PHP Detections, if this fails hard code it
PHP_BIN=$( which php )
# List of crons to execute
CRONS="user_purge.php token_cleanup.php"
# Output additional runtime information
VERBOSE="0"
# Base path for PIDFILE, (ful... | Zen00/openfaucet | cronjobs/run-cleanup-crons.sh | Shell | apache-2.0 | 2,709 |
#!/usr/bin/env bash
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
cd $SCRIPTPATH
make
make install
| jsmolar/apiman-test | tools/docker/ldap/wrapper/install.sh | Shell | apache-2.0 | 115 |
#!/bin/bash
RETCODE=$(fw_exists play-1.2.5)
[ ! "$RETCODE" == 0 ] || { return 0; }
fw_get http://downloads.typesafe.com/releases/play-1.2.5.zip -O play-1.2.5.zip
fw_unzip play-1.2.5.zip
mv play-1.2.5/play play-1.2.5/play1
| torhve/FrameworkBenchmarks | toolset/setup/linux/frameworks/play1.sh | Shell | bsd-3-clause | 224 |
#!/bin/bash
FN="oligoData_1.8.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/oligoData_1.8.0.tar.gz"
"https://bioarchive.galaxyproject.org/oligoData_1.8.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-oligodata/bioconductor-oligodata_1.8.0_src_all.tar.gz"
"... | ostrokach/bioconda-recipes | recipes/bioconductor-oligodata/post-link.sh | Shell | mit | 1,405 |
#!/bin/sh
set -e
cd ${CURR_DIR}
rm -f single-file-test
${DUB} run --single issue103-single-file-package-json.d --compiler=${DC}
if [ ! -f single-file-test ]; then
echo "Normal invocation did not produce a binary in the current directory"
exit 1
fi
rm single-file-test
./issue103-single-file-package.d foo -- bar
${D... | jeanbaptistelab/dub | test/issue103-single-file-package.sh | Shell | mit | 470 |
#
# Copyright (C) 2015 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# the GNU General Public License v.2, or (at your option) any later version.
# This program is distributed in the hope that it will be... | karmix/anaconda | tests/kickstart_tests/lvm-cache-2.sh | Shell | gpl-2.0 | 1,275 |
#!/bin/sh
notice() {
echo $* 1>&2
}
DEPTH=../..
CURRENT_DIR=`pwd`
export SONGBIRD_OFFICIAL=1
export SB_UPDATE_CHANNEL="release"
export SB_ENABLE_JARS=1
export SB_ENABLE_INSTALLER=1
export SB_ENABLE_TESTS=1
cd ${DEPTH}
make -f songbird.mk clobber
make -f songbird.mk
make -C compiled/update complete
unset SONGBIRD... | ifreecarve/nightingale-hacking | tools/scripts/make-release-build.sh | Shell | gpl-2.0 | 616 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | PoornimaNayak/autotest-client-tests | linux-tools/lua/lua-test.sh | Shell | gpl-2.0 | 3,945 |
if [ "$TRAVIS_EVENT_TYPE" = "push" ]&&[ "$TRAVIS_BRANCH" = "master" ]; then
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
GITREV="`git show -s --format='%h'`"
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
REV_NAME="citra-${GITDATE}-${GITREV}-linux-amd64"
... | kratos121/citra | .travis-upload.sh | Shell | gpl-2.0 | 6,174 |
#!/bin/sh
# this tests acl_xattr config parameter "ignore system acl"
if [ $# -lt 6 ]; then
cat <<EOF
Usage: $0 SERVER USERNAME PASSWORD PREFIX SMBCLIENT SMBCACLS
EOF
exit 1;
fi
SERVER="$1"
USERNAME="$2"
PASSWORD="$3"
PREFIX="$4"
SMBCLIENT="$5"
SMBCACLS="$6"
shift 6
ADDARGS="$*"
SMBCLIENT="$VALGRIND ${SMBCLIENT} ${A... | lidan-fnst/samba | source3/script/tests/test_acl_xattr.sh | Shell | gpl-3.0 | 4,994 |
#!/bin/sh
#
# V.42bis compression/decompression tests, as specified in V.56ter
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 2.1,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope t... | yclee/spandsp | tests/v42bis_tests.sh | Shell | lgpl-2.1 | 2,776 |
#!/bin/sh
#
# This script parses the commit messages between the last 2 git tags
# if the last commit contains the word "Release", otherwise it shows
# all the changes between the last tag and HEAD.
#
# Commits are grouped in different sections specified in the commit
# message with the middle-dot character '·'. The se... | unixfreaxjp/radare2 | sys/release-notes.sh | Shell | lgpl-3.0 | 2,307 |
#!/bin/bash
#
# this procedure creates the needed info to add a user to the users.rb
# it uses pwgen from the package pwgen
#
# TODO: test for CLI params.
# Usage: $0 <prefix> <YOUR_REALM>
# The prefix is a number.
# The default realm is 'EPIC'. If you fill in $2 it uses that for the realm.
# set the realm
REALM='E... | cookie33/EPIC-API-v2 | secrets/add_prefix.sh | Shell | apache-2.0 | 962 |
#!/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 can redist... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN001540.sh | Shell | apache-2.0 | 4,221 |
#!/usr/bin/env bash
FILE=$1
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [ -f "$FILE" ]; then
CHECK_FAILED=$(${DIR}/fix_code_style.sh --dry-run --formatted $FILE)
if [ -n "$CHECK_FAILED" ]; then
${DIR}/fix_code_style.sh --quiet < $FILE > $FILE.pretty
echo
git --no-pager diff --no-index --minimal ... | mcgill-robotics/Firmware | Tools/astyle/check_code_style.sh | Shell | bsd-3-clause | 600 |
#!/bin/sh -e
ghi --repo=derf/feh --verbose list > TODO
git commit -m 'Update TODO (via github)' TODO
| yusiwen/feh | scripts/update-todo.sh | Shell | mit | 102 |
#!/bin/bash
FN="ppiData_0.20.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/experiment/src/contrib/ppiData_0.20.0.tar.gz"
"https://bioarchive.galaxyproject.org/ppiData_0.20.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-ppidata/bioconductor-ppidata_0.20.0_src_all.tar.gz"
)
MD5="eff... | ivirshup/bioconda-recipes | recipes/bioconductor-ppidata/post-link.sh | Shell | mit | 1,293 |
#!/bin/sh
#
# Copyright (c) 2012 Felipe Contreras
#
test_description='Test remote-bzr'
. ./test-lib.sh
if ! test_have_prereq PYTHON; then
skip_all='skipping remote-bzr tests; python not available'
test_done
fi
if ! "$PYTHON_PATH" -c 'import bzrlib'; then
skip_all='skipping remote-bzr tests; bzr not available'
t... | gialachoanglong/tortoisegit.tgit | contrib/remote-helpers/test-bzr.sh | Shell | gpl-2.0 | 2,742 |
#!/bin/sh
#
# PNP4Nagios Helper Script
#
DIR=`dirname $0`
cd $DIR/../lib/kohana
for D in `find . -type d -printf "%P\n"`;do
if [ "$D" != "" ];then
echo -e "\t\$(INSTALL) -m 755 \$(INSTALL_OPTS) -d \$(DESTDIR)\$(LIBDIR)/kohana/$D"
fi
done
for F in `find . -type f -printf "%P\n"`;do
if [ "$F" != "" ];then
echo -e ... | lingej/pnp4nagios | helpers/kohana-install.sh | Shell | gpl-2.0 | 411 |
#!/bin/sh
# Test "chmod =x" and the like.
# Copyright (C) 1999-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 3 of the License, or
# (at you... | Distrotech/coreutils | tests/chmod/equal-x.sh | Shell | gpl-3.0 | 1,064 |
#!/usr/bin/env bash
# Copyright 2020 The Knative 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 ... | google/knative-gcp | vendor/knative.dev/eventing/test/e2e-conformance-tests.sh | Shell | apache-2.0 | 1,672 |
#!/bin/sh
python2 "${HYPERDEX_SRCDIR}"/test/runner.py --space="space kv key k attributes v" --daemons=1 -- \
go run test/go/DataTypeString.go {HOST} {PORT}
| vashstorm/HyperDex | test/sh/bindings.go.DataTypeString.sh | Shell | bsd-3-clause | 161 |
#!/bin/sh
test_description='combined and merge diff handle binary files and textconv'
. ./test-lib.sh
test_expect_success 'setup binary merge conflict' '
echo oneQ1 | q_to_nul >binary &&
git add binary &&
git commit -m one &&
echo twoQ2 | q_to_nul >binary &&
git commit -a -m two &&
two=$(git rev-parse --short H... | brunosantiagovazquez/git | t/t4048-diff-combined-binary.sh | Shell | gpl-2.0 | 4,327 |
#!/bin/sh
# Ensure that runcon does not reorder its arguments.
# Copyright (C) 2007-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 3 of the ... | mmayer/coreutils | tests/misc/runcon-no-reorder.sh | Shell | gpl-3.0 | 1,575 |
#!/bin/bash
#
# This library holds functions for configuring and starting an OpenShift server
# os::start::configure_server will create and write OS master certificates, node configurations, and OpenShift configurations.
# It is recommended to run the following environment setup functions before configuring the OpenSh... | maxamillion/origin | hack/lib/start.sh | Shell | apache-2.0 | 24,949 |
#!/bin/bash
FN="TxDb.Mmulatta.UCSC.rheMac10.refGene_3.14.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/TxDb.Mmulatta.UCSC.rheMac10.refGene_3.14.0.tar.gz"
"https://bioarchive.galaxyproject.org/TxDb.Mmulatta.UCSC.rheMac10.refGene_3.14.0.tar.gz"
"https://depot.galaxyproject.org... | cokelaer/bioconda-recipes | recipes/bioconductor-txdb.mmulatta.ucsc.rhemac10.refgene/post-link.sh | Shell | mit | 1,427 |
#!/bin/sh
# Ensure that several programs work fine, even with stdout initially closed.
# This is effectively a test of closeout.c's close_stdout function.
# Copyright (C) 2004-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Gen... | sunny256/coreutils | tests/misc/close-stdout.sh | Shell | gpl-3.0 | 2,447 |
#
#
#
if [ ! -d tmp ] ; then
mkdir tmp
fi
if [ ! -d tmp/classes ] ; then
mkdir tmp/classes
fi
if [ ! -d tmp/src ] ; then
mkdir tmp/src
fi
# delete old generated versions -- any changes should be made to a copy!
rm -rf tmp/classes/* tmp/src/*
# $JBOSS_HOME/bin/wsconsume.sh -v -k -w /wsdl/wscoor.wsdl -o... | nmcl/scratch | graalvm/transactions/fork/narayana/XTS/WS-C/dev/dd/wscoor1.1/build.sh | Shell | apache-2.0 | 2,058 |
#!/bin/sh
: ${DBPATH:=/var/db/aliastables}
: ${CF_CONF_PATH:=/cf/conf}
: ${RAM_Disk_Store:=${CF_CONF_PATH}/RAM_Disk_Store}
# Save the alias tables database to the RAM disk store.
if [ -d "${DBPATH}" ]; then
echo -n "Saving Alias Tables to RAM disk store...";
if [ ! -d "${RAM_Disk_Store}" ]; then
mkdir -p "${RAM... | dennypage/pfsense | src/etc/rc.backup_aliastables.sh | Shell | apache-2.0 | 763 |
#!/bin/bash
if [ -d peloton-test ]; then rm -rf peloton-test; fi;
if [ -d sqllite ]; then rm -rf sqllite; fi;
if [ -d out ]; then rm -rf out; fi;
if [ -f config.pyc ]; then rm -f config.pyc; fi;
| prashasthip/peloton | script/testing/sqlite_trace/clear.sh | Shell | apache-2.0 | 199 |
#!/bin/bash -e
# taken from yacrd recipe, see: https://github.com/bioconda/bioconda-recipes/blob/2b02c3db6400499d910bc5f297d23cb20c9db4f8/recipes/yacrd/build.sh
if [ "$(uname)" == "Darwin" ]; then
# apparently the HOME variable isn't set correctly, and circle ci output indicates the following as the home director... | cokelaer/bioconda-recipes | recipes/fastqc-rs/build.sh | Shell | mit | 827 |
#!/bin/sh
if [ $# -ne 1 ]; then
echo "Invalid args" >&2
exit 1
fi
case $1 in
add|ADD)
/opt/bin/nvidia-smi > /dev/null
;;
remove|REMOVE)
rm -f /dev/nvidia*
;;
esac
exit 0
| angryvincent/funtoo-overlay | x11-drivers/nvidia-drivers/files/nvidia-udev.sh | Shell | gpl-2.0 | 185 |
#!/usr/bin/env bash
# This script is used to deflake inherently flaky tsan tests.
# It is invoked from lit tests as:
# %deflake mybinary
# which is then substituted by lit to:
# $(dirname %s)/deflake.bash mybinary
# The script runs the target program up to 10 times,
# until it fails (i.e. produces a race report).
for ... | youtube/cobalt | third_party/llvm-project/compiler-rt/test/tsan/deflake.bash | Shell | bsd-3-clause | 419 |
#!/bin/bash
set -e
# setup ros environment
source "/opt/ros/$ROS_DISTRO/setup.bash"
exec "$@"
| ruffsl/docker_images | ros/noetic/ubuntu/focal/ros-core/ros_entrypoint.sh | Shell | apache-2.0 | 95 |
#!/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
# ... | niketanpansare/incubator-systemml | scripts/perftest/runGLM_gamma_log.sh | Shell | apache-2.0 | 1,888 |
#!/bin/bash
#
# 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 appli... | SinbadFreedom/FlatBuffer | tests/fuzzer/build_run_parser_test.sh | Shell | apache-2.0 | 900 |
#!/bin/bash
#####################################
# Locates generator_tool executable #
#####################################
# Set GENERATOR_TOOL to explicitly use one
# Or BUILD_PATH to point to a build directory
OMIM_PATH="${OMIM_PATH:-$(cd "$(dirname "$0")/../.."; pwd)}"
if [ -z "${GENERATOR_TOOL-}" -o ! -x "${G... | kw217/omim | tools/unix/find_generator_tool.sh | Shell | apache-2.0 | 917 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ MeSH.Eco.55989.eg.db
| blankenberg/bioconda-recipes | recipes/bioconductor-mesh.eco.55989.eg.db/pre-unlink.sh | Shell | mit | 67 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ m20kcod.db
| joachimwolff/bioconda-recipes | recipes/bioconductor-m20kcod.db/pre-unlink.sh | Shell | mit | 57 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/common.sh"
cd "${OS_ROOT}"
echo "===== Verifying Generated Conversions ====="
echo "Building gendeepcopy binary..."
if ! buildout=`"${OS_ROOT}/hack/build-go.sh" cmd/gendeepcopy 2>&1`
then
echo ... | Jandersoft/origin | hack/verify-generated-deep-copies.sh | Shell | apache-2.0 | 1,639 |
#!/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... | bzsolt/jerryscript | tools/brew-install-deps.sh | Shell | apache-2.0 | 802 |
#! /bin/sh
case "$1" in
start)
echo -n "Unmounting virtual fs from initrd"
umount /mnt/initfs/sys
umount /mnt/initfs/proc
ln -s /dev/vc/0 /dev/tty0
ln -s /dev/vc/1 /dev/tty1
ln -s /dev/vc/2 /dev/tty2
ln -s /dev/vc/3 /dev/tty3
ln -s /dev/vc/4 /dev/tty4
... | bticino/openembedded | recipes/maemo/nokia770-init/fixup-770.sh | Shell | mit | 613 |
#!/bin/sh
set -e
version=0.4
distdir=jscoverage-${version}
rm -fr $distdir
mkdir $distdir
# copy all files in SVN
for file in $(svn status -qv | sed 's/.* //' | sort)
do
if [ -f "$file" ]
then
cp -a --parents "$file" $distdir
fi
done
# add generated files
cp -a --parents aclocal.m4 \
conf... | daslicht/TimberExperiments | wp-content/themes/mwt/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/deps/ejs/node_modules/expresso/deps/jscoverage/make-dist.sh | Shell | gpl-2.0 | 987 |
#!/bin/sh
# Run from Skia trunk something like this:
# $ tools/coverage.sh tests
# or
# $ tools/coverage.sh gm
set -x
set -e
COMMAND=$@
GCOV=$(realpath tools/gcov_shim)
QUIET=-q
# Build all of Skia.
./gyp_skia
ninja -C out/Coverage
# Generate a zero-baseline so files not covered by $COMMAND will still show up... | UBERMALLOW/external_skia | tools/coverage.sh | Shell | bsd-3-clause | 830 |
# Install pre-requisites
yum -y install \
rubygem-bunny \
rubygem-erubis \
rubygem-highline \
rubygem-json \
rubygem-mime-types \
rubygem-net-ssh \
rubygem-polyglot \
rubygem-rest-client \
rubygem-systemu \
rubygem-treetop \
rubygem-uuidtools
# Install Chef
gem install --no-ri --no-rdoc chef
| jyrkiput/example-project-structure | veewee/definitions/basic-fedora-20-x86_64/chef.sh | Shell | mit | 317 |
#!/bin/sh
#
# Serve the Trac 0.12 sandbox. This assumes you have run ./tools/mkenv.sh
# beforehand.
#
if [ ! -d "venv-0.12" ] || [ ! -d "sandbox-0.12" ]; then
echo "error: you need to run ./tools/mkenv.sh first"
exit 1
fi
./venv-0.12/bin/tracd sandbox-0.12 -p 8080 --basic-auth=sandbox\-0.12,htpasswd,sandbox
| tamentis/cartman | tools/serve-0.12.sh | Shell | isc | 313 |
#!/bin/sh
php -dphar.readonly=0 build/buildphar.php
| paularlott/fusionDocs | build/build.sh | Shell | mit | 53 |
export MARKPATH=$HOME/.marks
function jump {
cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1"
}
function mark {
mkdir -p "$MARKPATH"; ln -s "$(pwd)" "$MARKPATH/$1"
}
function unmark {
rm -i "$MARKPATH/$1"
}
function marks {
ls -l "$MARKPATH" | sed 's/ / /g' |
cut -d' ' -f9- | sed 's/ -/\... | sixpi/dotfiles | zsh/jump.zsh | Shell | mit | 458 |
#!/bin/sh
docker-compose up --build -d
| HospitalRun/hospitalrun-frontend | couchdb/couchdb-init.sh | Shell | mit | 40 |
#!/usr/bin/env bash
# Based on: https://gist.github.com/trevorgreenleaf/2f4092b721471307e7bb9c680559c04b
# Remove valet
valet uninstall --force
rm -rf ~/.config/valet
rm -rf /usr/local/etc/nginx/valet
rm -rf /usr/local/bin/valet
composer global remove laravel/valet
# Change the permisions on all brew files
sudo chow... | eComEvo/dotfiles | switch_valet_user.sh | Shell | mit | 1,693 |
#!/bin/sh
docker build -t yass .
docker run -ti -p 8080:80 -v `pwd`:/data yass
| Helgart/YASS | run.sh | Shell | mit | 80 |
#!/bin/bash
user=$1
docker build -t $user/postfix .
echo
echo "To run, type: docker run -p 25:25 --name postfix -d $user/postfix"
echo
| lucorsel/docker-postfix | build.sh | Shell | mit | 138 |
style=`ls styles | sort -R | tail -1`
echo "style: $style"
th neural_style.lua -style_image styles/$style -num_iterations 750 -content_imag
e content.jpg -image_size 512 -output_image result.png -save_iter 5 -backend cud
nn
| ttur/neuralscape | run-neural-style.sh | Shell | mit | 224 |
#!/bin/bash
set -e
# Ensure we only use unmodified commands
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
# Info
echo "Repair VMware using $1"
# Make sure only root can run our script
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
# Get a temp folder for extract
$1 -x ./repair
... | DrDonk/unlocker | linux/repair.sh | Shell | mit | 804 |
# build features
cd features
echo "Merging Powerfiles"
python merge_power_files.py
echo "Creating DMOP"
python features_dmop_counts.py
echo "Creating EVTF"
python features_evtf_states.py
echo "Creating FTL"
python features_ftl_states.py
echo "Creating LTDATA"
python features_ltdata.py
echo "Creating SAAF"
pytho... | alex-bauer/kelvin-power-challenge | src/generate_features.sh | Shell | mit | 509 |
#!/bin/bash
G_SYNOPSIS="
NAME
pypi.sh
SYNOPSIS
pypi.sh <ver>
ARGS
<ver>
A version string to upload. Typically something like '0.20.22'.
DESCRIPTION
pypi.sh is a simple helper script to tag and upload a new version of pypi.sh
"
if (( $# != 1 )) ; then
echo "$G_SYNOPSIS"
exit 1
fi
VER=$1
g... | FNNDSC/med2image | pypi.sh | Shell | mit | 499 |
#!/bin/bash
set -e
SRC_DIRECTORY="$HOME/src/github.com/stanaka"
ANSIBLE_DIRECTORY="$SRC_DIRECTORY/ansible-playbook-osx"
ANSIBLE_CONFIGURATION_DIRECTORY="$HOME/.ansible.d"
# Download and install Command Line Tools
if [[ ! -x /usr/bin/gcc ]]; then
echo "Info | Install | xcode"
xcode-select --install
fi
# ... | mingderwang/ansible-playbook-osx | bootstrap.sh | Shell | mit | 2,162 |
#!/bin/bash
#
# Usage: s3-snapshot.sh <snapshot.zip>
# Make sure the aws cli is installed
hash aws 2>/dev/null || {
echo >&2 "The aws cli is not installed. Aborting.";
exit 1;
}
# Make sure a valid directory was given as the first argument
[[ -d $1 ]] || {
echo >&2 "First argument must be a valid directory... | openplacedatabase/utils | bin/s3-snapshot.sh | Shell | mit | 1,027 |
#!/usr/bin/env bash
BASE=${PWD}/..
LD_LIBRARY_PATH=$BASE/bin/lib $BASE/bin/listener -a $1
| luceracloud/dtrace_monitor | fastbit/bin/start.sh | Shell | mit | 92 |
#!/bin/bash -l
#SBATCH -p node
## for large files
## we don't need the proc but the mem
## we could give that as param
#SBATCH -n 16
## time too for large files
#SBATCH -t 12:00:00
#SBATCH --mail-type=ALL
## mail-user and A have to be set in the submit script
## stop on error
set -e
## be verbose and extend the comma... | UPSCb/UPSCb | pipeline/runSortmerna.sh | Shell | mit | 8,432 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.