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
if ( [ "$#" -eq 1 ] ) ; then
echo "pass"
path=$1
else
echo "require one arguments for path name to the python script"
path='/Users/pro001/Desktop/Dev/Learning/tests/scrapWeb/hello-world/selenium'
fi
filePath=$path'/uploadImageManager.py'
python $filePath | InfiniteRandomVariable/hello-world | selenium/uploadImageManager.sh | Shell | apache-2.0 | 275 |
find . -name "*.h" -not -path "./thirdparty/*" -o -name "*.cpp" -not -path "./thirdparty/*" | xargs wc -l
| highinit/hiaux | lines_of_code.sh | Shell | bsd-2-clause | 106 |
#!/bin/bash
sed -i 's|#define BENCHMARK_DB_HOST ".*"|#define BENCHMARK_DB_HOST "'"$DBHOST"'"|g' www/connectioninfo.H
export CPLUS_INCLUDE_PATH=/usr/include/postgresql:/usr/include/postgresql/9.3/server:$CPLUS_INCLUDE_PATH
make clean
make
cd $CPPSP_HOME
./run_application $TROOT/www -g g++-4.8 -m /forcedynamic.cppsm & | kellabyte/FrameworkBenchmarks | frameworks/C++/cpoll_cppsp/setup.sh | Shell | bsd-3-clause | 320 |
#!/bin/bash
set -ex
PATH=`pwd`/depot_tools:"$PATH"
cd src
GSUTIL=$HOME/google-cloud-sdk/bin/gsutil
GCLOUD=$HOME/google-cloud-sdk/bin/gcloud
GIT_REVISION=`git rev-parse HEAD`
$GCLOUD auth activate-service-account --key-file ../gcloud_key_file.json
if [ $TRAVIS_OS_NAME = "linux" ]; then
if [ $BUILD_TARGET = "devic... | chinmaygarde/flutter_buildbot | travis/build.sh | Shell | bsd-3-clause | 1,984 |
#!/usr/bin/env bash
# Simple np script for mpd. Works with streams!
# Only tested on OS X... should work the same way on other platforms though.
trim_method="trim" # Can be {Trim or roll).
max_len=40 # Trim output to this length.
roll_speed=2 # Roll speed in chraacters per second.
segment_path=$(dirname $0)
source... | lewisbrown/tmux-powerline | segments/np_mpd_simple.sh | Shell | bsd-3-clause | 688 |
#!/bin/bash
rm radnet.db
sqlite3 radnet.db < intial.sql
sqlite3 radnet.db
| JMoravec/unkRadnet | sql/clearDatabase.sh | Shell | bsd-3-clause | 74 |
#!/bin/bash
for ver in 9.{0..6} {10..12} ; do
docker pull postgres:$ver
done
| cybertec-postgresql/pgwatch2 | docker/test/launch_all_pg_versions/get-all-pg-versions.sh | Shell | bsd-3-clause | 80 |
#!/bin/bash
curl -v -H "Content-type: application/json" -H "Authorization: Token token=MY_TOKEN_HERE" -X POST \
-d '{
"role": "admin",
"name": "Bart Simpson",
"email": "bart@example.com",
"requester_id": "PP1565R",
"job_title": "Developer"
}' \
"https://funboarding.pagerdut... | Fulhack/Funboarding | adduserPagerduty.sh | Shell | bsd-3-clause | 340 |
#!/usr/bin/env bash
set -e
chmod 755 /var/lib/postgresql
mkdir -p "$PGDATA"
chown -R postgres "$PGDATA"
chmod 700 "$PGDATA"
mkdir -p /var/run/postgresql
chown -R postgres /var/run/postgresql
chmod 775 /var/run/postgresql
# look specifically for PG_VERSION, as it is expected in the DB dir
if [ ! -s "$PGDATA/PG_VERSION... | CartoDB/bigmetadata | postgres_10/docker-entrypoint.sh | Shell | bsd-3-clause | 2,417 |
#!/usr/bin/env bash
#SC1090 = not following non constants source
#SC1091 = not following source
#SC2086 = quoting errors (shellcheck is way too picky about quoting)
#SC2120 = only for debug version
shellcheck -e SC1090,SC1091,SC2086,SC2119,SC2120 $1
| Shadowigor/osync | dev/shellcheck.sh | Shell | bsd-3-clause | 252 |
#!/bin/sh
V1API=${5:-http://localhost/VersionOne.Web/rest-1.v1/Data}
V1USER=${6:-admin}
V1PASS=${7:-admin}
V1ASSET=$1
V1CMD=$2
V1ATTRIBUTE=$3
V1VALUE=$4
curl -X POST --basic -u $V1USER:$V1PASS $V1API/$V1ASSET --data "<Asset><Attribute name='$V1ATTRIBUTE' act='$V1CMD'>$V1VALUE</Attribute></Asset>" | versionone/VersionOne.SDK.CommandLine | vone.sh | Shell | bsd-3-clause | 298 |
#!/bin/bash
# Script Name: AtoMiC rTorrent settings configurator
echo
echo -e "$YELLOW--->Configuring rTorrent Settings...$ENDCOLOR"
echo 'Coping rtorrent.rc to home dir'
sudo cp "$SCRIPTPATH/rtorrent/rtorrent.rc" "$APPSETTINGS" || \
{ echo -e "$RED Coping rtorrent.rc failed.$ENDCOLOR" ; exit 1; }
echo 'Sett... | TommyE123/AtoMiC-ToolKit | rtorrent/rtorrent-settings-configurator.sh | Shell | mit | 559 |
#!/bin/bash
set -e
CUSER="frontend"
MYUID=`stat -c "%u" .`
if [[ "$MYUID" -gt '0' && "$MYUID" != `id -u ${CUSER}` ]]; then
usermod -u ${MYUID} ${CUSER}
fi
exec "$@"
| webplates/sonata-standard | etc/docker/dev/frontend/entrypoint.sh | Shell | mit | 173 |
NODE_ENV=development node-dev sserver.js | insfere/space | old/oldserver/devstart.sh | Shell | mit | 40 |
#!/bin/bash
for i in $(find . -maxdepth 1 -mindepth 1 -type d); do
echo -e "\033[1m"+$i+"\033[0m"; cd $i; git remote -v; git pull;
cd ..
done
echo -e "\n\033[1mComplete!\033[0m\n"
| 0x434D53/dotfiles | updatel1.sh | Shell | mit | 187 |
#!/bin/bash
FN="pd.hta.2.0_3.12.2.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/pd.hta.2.0_3.12.2.tar.gz"
"https://bioarchive.galaxyproject.org/pd.hta.2.0_3.12.2.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.hta.2.0/bioconductor-pd.hta.2.0_3.12.2_src_all.ta... | roryk/recipes | recipes/bioconductor-pd.hta.2.0/post-link.sh | Shell | mit | 1,417 |
#!/bin/bash
###################################################################
# This file is part of RiboTaper.
# RiboTaper is a method for defining traslated ORFs using
# Ribosome Profiling data.
#
# Copyright (C) 2015 Lorenzo Calviello
#
# RiboTaper is free software: you can redistribute it and... | Imamachi-n/NGS-Tutorial | Ribo-seq_RiboTaper/scripts/Ribotaper_step3.sh | Shell | mit | 2,752 |
#!/bin/bash
#this script calcualte ndvi metrics.
#input: a one-year file name
#outputs: a smooth data file, a metrics file
if [ $# != 1 ];then
echo "input a one-year data file"
exit 1
fi
#load environment variabels
source ./1yr_emodis_250_env.bash
cd $idlprg_dir
stacked_file=$1
fd=`dirname $stacked_file`
#Se... | gina-alaska/emodis_ndvi_python-docker | emodis_ndvi_python/scripts/2016-test/1yr_emodis_250_calmetrics_v2.bash | Shell | mit | 765 |
cite 'about-alias'
about-alias 'docker abbreviations'
alias dklc='docker ps -l' # List last Docker container
alias dklcid='docker ps -l -q' # List last Docker container ID
alias dklcip='docker inspect -f "{{.NetworkSettings.IPAddress}}" $(docker ps -l -q)' # Get IP of last Docker container
alias dkps='docker ps' #... | voku/dotfiles | .redpill/aliases/available/docker.aliases.bash | Shell | mit | 1,516 |
#!/bin/bash
set -euo pipefail
FROM="$1"
TO="$2"
case "$FROM" in
s3://*)
exec aws s3 cp "$FROM" "$TO"
;;
*)
exec curl -Lfs -o "$TO" "$FROM"
;;
esac | buildkite/elastic-ci-stack-for-aws | packer/linux/conf/bin/bk-fetch.sh | Shell | mit | 158 |
#!/bin/bash
fswebcam -r 1366x768 /home/pi/camera/image.jpg
| aryulianto/Gempi_Bot | camera/camera.sh | Shell | mit | 61 |
export JAVA_HOME=`echo ~/Eclipse/jdk1.8.0_*`
export PATH="$JAVA_HOME/bin:$PATH"
export CSS_REPO=file:$HOME/git/org.csstudio.sns/repository/target/repository
| ESSICS/org.csstudio.display.builder | build/setup.sh | Shell | epl-1.0 | 158 |
#!/bin/sh
############################################################################
#
# $Id: qinstall.sh 360 2011-07-17 09:34:20Z micke $
#
# A QPKG installation script for QDK
#
# Copyright (C) 2009,2010 QNAP Systems, Inc.
# Copyright (C) 2010,2011 Michael Nordstrom
#
# This program is free software; you can redist... | purpleKarrot/qdk | scripts/qinstall.sh | Shell | gpl-2.0 | 35,828 |
MACHINE=
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-littlearm"
BIG_OUTPUT_FORMAT="elf32-bigarm"
LITTLE_OUTPUT_FORMAT="elf32-littlearm"
TEXT_START_ADDR=0x00100000
TEMPLATE_NAME=elf32
EXTRA_EM_FILE=armelf
OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer)'
OTHER_BSS_SYMBOLS='__bss_start__ = .;'
OTHER_BSS_END_SYMBOLS=... | seank/FreeScale-s12x-binutils-jm | ld/emulparams/armnto.sh | Shell | gpl-2.0 | 677 |
#!/bin/bash
# This script provisions the VM (or container) with the required packages.
# It requires a privileged user.
# Fail on error for any line.
set -e
# Print the banner.
>&2 echo "---------------------------------------------------------------------"
>&2 echo "INSTALLING REQUIRED PACKAGES"
>&2 echo "---------... | OpenWrt-HappyHacker/happyhacker-builder | script/guest/prov-packages.sh | Shell | gpl-3.0 | 2,161 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-11_1/20161107T234502+0000/00/00/init_0_ID0000001.sh | Shell | gpl-3.0 | 1,222 |
#!/bin/bash
comm -23 \
<(find /etc /usr \( -type d -printf '%p/\n' -o -print \) | sort ) \
<(pacman -Qlq | sort -u )
| adjutant/provisioner-archarm-cluster | config/common/base/generic/scripts/pacman-disowned.sh | Shell | gpl-3.0 | 134 |
#!/usr/bin/env bash
set -euo pipefail
if [[ "$CREATE_PROJECT_YARN" = "true" ]]
then
export YARN_AUTH_TOKEN="//localhost:4873/:_authToken=token"
# Start verdaccio registry proxy in the background
yarn verdaccio --config verdaccio.yarn.yml &
# Verdaccio isn't ready to immediately accept connections, so we nee... | edmorley/neutrino-dev | scripts/test-create-project-ci.sh | Shell | mpl-2.0 | 2,095 |
#!/bin/bash
pacman -S qt5-base qt5-websockets qt5-doc qt5-declarative qtcreator --noconfirm | blackibiza/PersonalSnippets | SetupScripts/Arch/qt_framework.sh | Shell | agpl-3.0 | 91 |
#!/bin/sh
. global-test-vars.sh
$CSSLINT --dump-location $TEST_INPUTS_DIR/parsing-location.css
| ImageMagick/croco | tests/test-parsing-location.sh | Shell | lgpl-2.1 | 97 |
#!/bin/bash
set -e
. /etc/alps/alps.conf
. /var/lib/alps/functions
SOURCE_ONLY=n
NAME="sqlite3"
VERSION="3110000"
DESCRIPTION="SQLite is a relational database management system contained in a C programming library."
#OPT:unzip
cd $SOURCE_DIR
URL=http://sqlite.org/2016/sqlite-autoconf-3110000.tar.gz
wget -nc ftp... | FluidIdeas/parsers | blfs-resources/extrascripts/sqlite3.sh | Shell | lgpl-2.1 | 2,479 |
#!/bin/bash
# Copyright (c) 2016 ARM Limited.
#
# 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 agre... | LeeHayun/jerryscript | targets/mbedos5/tools/check_pins.sh | Shell | apache-2.0 | 1,059 |
java -jar target/pacs-1.0-SNAPSHOT-jar-with-dependencies.jar
| Bhamni/experiment | openmrs-module-pacs/run.sh | Shell | apache-2.0 | 61 |
make build TARGET=rhel7 VERSION=2.4
| fheng/mongodb | build.sh | Shell | apache-2.0 | 36 |
#!/bin/bash -l
#SBATCH -p debug
#SBATCH -N {nNode}
#SBATCH --signal=SIGUSR1@60
#SBATCH -t 00:30:00
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task={nCorePerNode}
#SBATCH -J ES_job
#SBATCH -o {accessPoint}/athena_stdout.txt
#SBATCH -e {accessPoint}/athena_stderr.txt
module load mpi4py
export RUCIO_ACCOUNT=panda
e... | dougbenjamin/panda-harvester | examples/slurm_submit.sh | Shell | apache-2.0 | 1,023 |
#!/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");... | cloudera/Impala | testdata/bin/kill-java-service.sh | Shell | apache-2.0 | 2,109 |
#!/bin/bash
#hadoop dfs -ls
ls;
| openpreserve/scape | pc-qa-matchbox/hadoop/pythonwf/ReadInputFiles.sh | Shell | apache-2.0 | 33 |
#!/bin/bash -xe
# vim: ts=4 sw=4 et
source "`dirname $0`/common.sh"
echo "teamname" > /opt/wgen/etc/productline
yum_install httpd mod_ssl
chkconfig httpd on
# allow smoketest to check httpd status
chmod 755 /var/run/httpd
# hostclass specfic smoketests
cat << SMOKETEST_CONF > /opt/wgen/etc/smoketest.conf
verify_i... | amplifylitco/asiaq | sample_configuration/init/mhcjenkinsrelay.sh | Shell | bsd-2-clause | 571 |
if [ -z "$OSX_LOCAL" ]; then
# libs required for Folly
sudo apt-get -y install \
g++ \
automake \
autoconf \
autoconf-archive \
libtool \
libboost-all-dev \
libevent-dev \
libdouble-conversion-dev \
libgoogle-glog-dev \
libgflags-dev \
liblz4-dev \
... | vjn/reactivesocket-cpp | scripts/build_folly.sh | Shell | bsd-3-clause | 1,614 |
#!/bin/bash
#
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO(mmoss) This currently only works with official builds, since non-official
# builds don't add the "${BUILDDIR}/installer/" files need... | chromium2014/src | chrome/installer/linux/debian/build.sh | Shell | bsd-3-clause | 10,664 |
#!/bin/bash
set -x
set -euvo pipefail
apt-get update
apt-get install build-essential git -y
cd /opt/
NODE_ENV=production
PACKAGE=meteor-spk-0.4.1
PACKAGE_FILENAME="$PACKAGE.tar.xz"
CACHE_TARGET="/host-dot-sandstorm/caches/${PACKAGE_FILENAME}"
# Fetch meteor-spk tarball if not cached
if [ ! -f "$CACHE_TARGET" ] ; th... | nishimaki10/Rocket.Chat | .sandstorm/setup.sh | Shell | mit | 2,441 |
#!/bin/bash
unset BUNDLE_GEMFILE
result=0
if [ "$CI" == "true" ]; then
BUNDLE_PATH="$HOME/vendor/bundle"
fi
# Change working directory to this script's parent directory so we find the right files
cd "$( dirname "${BASH_SOURCE[0]}" )"
for test_script in $(find . -name test.sh); do
pushd `dirname $test_script` > ... | shageman/cbratools | sample_app_for_rnc_specs/original/the_next_big_thing/build.sh | Shell | mit | 586 |
#!/bin/bash
# Run astyle on the code base ready for release
# If astyle doesn't exist, exit the script and do nothing
echo "FOO" | astyle > /dev/null
RET=$?
if [ $RET -ne 0 ]; then
echo "Could not find astyle - aborting."
exit
fi
RET=`astyle --version 2>&1`
if [ "$RET" != "Artistic Style Version 1.23" ]; then
e... | markles/PostGIS | astyle.sh | Shell | gpl-2.0 | 777 |
#! /bin/sh
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | kuym/openocd | tools/automake-1.15/t/yacc-d-basic.sh | Shell | gpl-2.0 | 3,832 |
if [ "$OPENPETRA_RDBMSType" == '' ]
then
if [ ! -f config.sh ]
then
cp config-sample.sh config.sh
fi
echo "Please first run your config.sh!"
exit
fi
if [ ! -f config.sh ]
then
# the admin has run a config.sh file, but we cannot copy it to the destination because it does not exist in the ri... | tpokorra/openpetragit | setup/petra0300/linuxserver/centos-postgresql/setup.sh | Shell | gpl-3.0 | 2,408 |
#!/bin/bash
python3 /PrairieLearn/question-servers/freeformPythonLib/prairielearn_test.py
| rbessick5/PrairieLearn | docker/test_python.sh | Shell | agpl-3.0 | 91 |
#! /bin/bash
#
# This script is the container entry script used to setup cli
# interface and trigger qtcreator.
tmux new-session -d -n "opencog-development";
echo evaluating startup script... ;\
tmux set-option -g set-remain-on-exit on ;\
tmux bind-key R respawn-window ;\
tmux split-window -d -v -p 25 ;\
tmux send -t ... | AmeBel/docker | opencog/tools/ide/qtcreator-startup-script.sh | Shell | agpl-3.0 | 365 |
#!/bin/bash
#
# Copyright 2018 Google Inc. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | danw/kati | testcase/final_rule2.sh | Shell | apache-2.0 | 898 |
# $OpenBSD: hostkey-agent.sh,v 1.11 2019/12/16 02:39:05 djm Exp $
# Placed in the Public Domain.
tid="hostkey agent"
rm -f $OBJ/agent-key.* $OBJ/ssh_proxy.orig $OBJ/known_hosts.orig
trace "start agent"
eval `${SSHAGENT} ${EXTRA_AGENT_ARGS} -s` > /dev/null
r=$?
[ $r -ne 0 ] && fatal "could not start ssh-agent: exit c... | gridcf/gct | gsi_openssh/source/regress/hostkey-agent.sh | Shell | apache-2.0 | 1,638 |
#!/usr/bin/env bash
# Copyright 2019 Orange
#
# 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... | mbudiu-vmw/p4c-clone | backends/ubpf/tests/environment/setup-pktgen.sh | Shell | apache-2.0 | 2,114 |
sudo yum -y install epel-release
sudo yum -y install nginx
sudo sh -c 'echo $HOSTNAME > /usr/share/nginx/html/index.html'
sudo systemctl start nginx | russmckendrick/terraform-examples | openstack/script.sh | Shell | mit | 148 |
#!/bin/sh
. /scripts/A-config.sh
echo Restarting streaming...
killall -9 ffmpeg2theora
killall -9 oggfwd
while (true); do nice -n 5 dvsink-command -h $DVHOST -p $DVPORT -- ffmpeg2theora - -f dv -x 352 -y 288 --speedlevel 2 -v 4 -a 0 -c 1 -H 48000 -o - | oggfwd 192.168.128.10 8000 sastUcUg4 /lca2011-${ROOMNAME}; echo S... | xfxf/veyepar | setup/lca2011/install/scripts/5-streaming.sh | Shell | mit | 379 |
#!/bin/bash
set -ev
BREWS="boost cmake hunspell libzip libzzip lua51 pcre pkg-config qt5 yajl"
for i in $BREWS; do
brew outdated | grep -q $i && brew upgrade $i
done
for i in $BREWS; do
brew list | grep -q $i || brew install $i
done
| SecareLupus/Mudlet | CI/travis.osx.install.sh | Shell | gpl-2.0 | 237 |
#!/bin/sh
#For Evernym Mac Jenkins machines, rm the cache(~/.build_libvcx) and store OpenSSL-for-iPhone dir at /Users/jenkins
source ./shared.functions.sh
START_DIR=$PWD
WORK_DIR=$START_DIR/../../../../../.macosbuild
mkdir -p $WORK_DIR
WORK_DIR=$(abspath "$WORK_DIR")
if [ -d $WORK_DIR/OpenSSL-for-iPhone ]; then
... | Artemkaaas/indy-sdk | vcx/libvcx/build_scripts/ios/mac/mac.08.libssl.libcrypto.build.sh | Shell | apache-2.0 | 1,515 |
#! /bin/bash
# Copyright 2015 Google Inc. All rights reserved.
# Use of this source code is governed by the Apache 2.0
# license that can be found in the LICENSE file.
set -ex
if [ -z "$BOOKSHELF_DEPLOY_LOCATION" ]; then
echo "Must set \$BOOKSHELF_DEPLOY_LOCATION. For example: BOOKSHELF_DEPLOY_TARGET=gs://my-bucke... | census-ecosystem/opencensus-experiments | go/bookshelf/gce_deployment/deploy.sh | Shell | apache-2.0 | 4,131 |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | dcos/dcos-cli | vendor/golang.org/x/sys/unix/mkerrors.sh | Shell | apache-2.0 | 17,756 |
#!/bin/bash
set -e
sudo initctl stop nodecellar
| denismakogon/cloudify-deployment-proxy-plugin | samples/scripts/stop_nodecellar.sh | Shell | apache-2.0 | 50 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@gmail.com)
#
#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
#of the Licens... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN005770.sh | Shell | apache-2.0 | 2,949 |
#!/bin/bash
# Report will contain:
# 1. # of registerd users.
# 2. # of streets.
# [DISABLED] 3. # of default streets (undoStack.length == 0).
# 4. DB storage size in MB.
# 5. DB storage utilization in %.
# Constants
let LOG_LEVEL_DEBUG=10
let LOG_LEVEL_INFO=20
let LOG_LEVEL_ERROR=30
MONGO_CLI_DOWNLOAD_LOCATION="http... | magul/streetmix | bin/email_heroku_db_stats.sh | Shell | bsd-3-clause | 3,009 |
#!/usr/bin/env sh
# This script makes it easy to recompile install and tryout
# a theme in case of any changes. It assumes the
# sphinx-bootstrap-theme-customizer package is in the same directory
# as the package, i.e one up the git toplevel.
color5=$(tput setaf 5)
reset=$(tput sgr0) # reset color codes
topleve... | has2k1/plydata | tools/build_theme.sh | Shell | bsd-3-clause | 856 |
############################################################
# <bsn.cl fy=2013 v=none>
#
# Copyright 2013 Accton Technology Corporation.
#
#
#
# </bsn.cl>
############################################################
########### initialize I2C bus 0 ###########
# initiate multiplexer (PCA9548)
echo p... | jeankuo/ONL | components/all/platform-config/x86-64-accton-as7512-32x-r0/src/boot/x86-64-accton-as7512-32x-rx-devices.sh | Shell | epl-1.0 | 3,924 |
levels="3 4 5 6"
if test x$donotrun != xtrue; then
for level in $levels; do
if sed "s/LEVEL/$level/g" < $1 | gerris2D -; then
:
else
exit 1;
fi
done
fi
rm -f convergence
for level in $levels; do
if awk -v level=$level 'BEGIN {s = 0.; n = 0; } {
t = $1; y = $2;
getline < "p... | Exteris/Gerris | test/capwave/capwave.sh | Shell | gpl-3.0 | 1,834 |
#!/bin/bash
# Compiles all the Protocol Buffers files (*.proto) to Java source code.
# Local installation of protobuf compiler is NOT needed.
# Available versions listed at http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.github.os72%22%20AND%20a%3A%22protoc-jar%22
PROTOBUF_VERSION="2.6.1.4"
mvn org.apache.mav... | PierreR/sonarqube | compile_protobuf.sh | Shell | lgpl-3.0 | 972 |
#!/bin/bash
# Build a statically linked Cockroach binary
#
# Requires a working cockroach/cockroach-dev image from which the cockroach
# binary and some other necessary resources are taken. Additionally, we built
# test binaries which are mounted into the appropriate location on the deploy
# image, running them once. T... | ngaut/cockroach | build/deploy/mkimage.sh | Shell | apache-2.0 | 1,277 |
msgfmt -o after-the-deadline-bs_BA.mo after-the-deadline-bs_BA.po
msgfmt -o after-the-deadline-es_ES.mo after-the-deadline-es_ES.po
msgfmt -o after-the-deadline-fa_IR.mo after-the-deadline-fa_IR.po
msgfmt -o after-the-deadline-fi.mo after-the-deadline-fi.po
msgfmt -o after-the-deadline-fr_FR.mo after-the-deadline-fr_FR... | sarahkpeck/it-starts-with | wp-content/renamed plugins/after-the-deadline/languages/makemo.sh | Shell | gpl-2.0 | 848 |
#!/bin/sh
test_description='reset --hard unmerged'
. ./test-lib.sh
test_expect_success setup '
mkdir before later &&
>before/1 &&
>before/2 &&
>hello &&
>later/3 &&
git add before hello later &&
git commit -m world &&
H=$(git rev-parse :hello) &&
git rm --cached hello &&
echo "100644 $H 2 hello" | git up... | felipec/git | t/t7104-reset-hard.sh | Shell | gpl-2.0 | 823 |
#!/bin/bash
apt-get install ghostscript
| adam-vessey/islandora_paged_content | tests/scripts/ghostscript-install.sh | Shell | gpl-3.0 | 41 |
#!/usr/bin/env bash
tdnf install -y docker
systemctl enable docker.service
mkdir -p /var/log/harbor
echo "Downloading harbor..."
wget -O /ova.tar.gz http://10.117.5.62/ISV/appliancePackages/ova.tar.gz
echo "Downloading notice file..."
wget -O /NOTICE_Harbor_0.4.1_Beta.txt http://10.117.5.62/ISV/appliancePackages/NO... | wemeya/harbor | tools/ova/script/app_post_install.sh | Shell | apache-2.0 | 506 |
#!/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"); y... | tqchen/tvm | docker/install/ubuntu_install_coreml.sh | Shell | apache-2.0 | 856 |
#!/bin/sh
../../bin/pyjsbuild $@ Tabs
| minghuascode/pyj | examples/tabpanelwidget/build.sh | Shell | apache-2.0 | 38 |
#!/bin/sh
self=$0
usage() {
cat <<EOF >&2
Usage: $self [options] FILE
Reads the Run Time CPU Detections definitions from FILE and generates a
C header file on stdout.
Options:
--arch=ARCH Architecture to generate defs for (required)
--disable-EXT Disable support for EXT extensions
--require-EXT Require sup... | wangscript/libjingle-1 | trunk/third_party/libvpx/source/libvpx/build/make/rtcd.sh | Shell | bsd-3-clause | 7,017 |
#!/bin/bash
#
# Copyright 2015 Comcast Cable Communications Management, 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... | mitchell852/traffic_control | traffic_router/build/build_rpm.sh | Shell | apache-2.0 | 4,666 |
#!/usr/bin/env bash
# We do this dummy check to ensure $PATH is passed properly
#echo "abcde" | awk '/.+/ {print $1}' | grep "abcde"
which which
RET=$?
if [[ $RET != 0 ]] ; then
exit $XCCDF_RESULT_FAIL
else
exit $XCCDF_RESULT_PASS
fi
| mpreisler/openscap | tests/sce/bash_passer.sh | Shell | lgpl-2.1 | 244 |
#!/bin/sh
set -u
set -e
root="$(dirname "${0}")/../database"
_mysqldump() {
mysqldump -d "${@}" | sed -e 's/ AUTO_INCREMENT=[0-9]*//'
}
_mysqldump osu \
forum_forum_covers \
forum_topic_covers \
osu_achievements \
osu_apikeys \
osu_beatmaps \
osu_beatmapsets \
osu_changelog \
osu_countries \
osu... | omkelderman/osu-web | bin/db_dump.sh | Shell | agpl-3.0 | 1,471 |
#!/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 "License"); you m... | Vansee/RocketMQ | distribution/benchmark/consumer.sh | Shell | apache-2.0 | 862 |
#!/bin/sh
# Package
PACKAGE="roundcube"
DNAME="Roundcube Webmail"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
WEB_DIR="/var/services/web"
USER="$([ $(grep buildnumber /etc.defaults/VERSION | cut -d"\"" -f2) -ge 4418 ] && echo -n http || echo -n nobody)"
MYSQL="/usr/syno/mysql/bin/mysql"
MYSQLDUMP="/usr/syno/mysql/bi... | JasOXIII/spksrc | spk/roundcube/src/installer.sh | Shell | bsd-3-clause | 5,407 |
#!/bin/bash
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p $BINDIR
(cd kent/src/lib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/utils/bigWigSummary && make)
mkdir -p $PREFIX/bin
cp bin/bigWigSummary $PREFIX/bin
chmod +x $PREFIX/bin/bigWigSummary
| JenCabral/bioconda-recipes | recipes/ucsc-bigwigsummary/build.sh | Shell | mit | 295 |
#!/bin/bash
source $IROOT/java7.installed
export RESIN_HOME=${IROOT}/resin-4.0.41
export GRAILS_PATH=${IROOT}/grails-2.4.4/bin/
export PATH=${GRAILS_PATH}:$PATH
export GRAILS_AGENT_CACHE_DIR=${IROOT}/.grails/.slcache
sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' hello/grails-app/conf/DataSource.... | denkab/FrameworkBenchmarks | frameworks/Groovy/grails/setup.sh | Shell | bsd-3-clause | 709 |
#!/bin/bash
# Source EVM environment
[ -f /etc/default/evm ] && . /etc/default/evm
[[ -s ${CONTAINER_SCRIPTS_ROOT}/container-deploy-common.sh ]] && source "${CONTAINER_SCRIPTS_ROOT}/container-deploy-common.sh"
function create_v2_key() {
V2_KEY=$(ruby -ropenssl -rbase64 -e 'puts Base64.strict_encode64(Digest::SHA2... | durandom/manageiq | docker-assets/appliance-initialize.sh | Shell | apache-2.0 | 1,576 |
#!/bin/sh
support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg
exit $?
| masahir0y/buildroot-yamada | board/boundarydevices/common/post-image.sh | Shell | gpl-2.0 | 78 |
#!/bin/bash -
set -o nounset # Treat unset variables as an error
if [ -a $1 ]
then
awk '/tangent angle/ {print $4}' $1 > tangent_data.log
fi
| ArcEye/machinekit-testing | tests/trajectory-planner/circular-arcs/util/save_tangent_angle.sh | Shell | lgpl-2.1 | 177 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testHexaMD --shadowDepth=2" "$0" "$@"
| bmi-forum/bmi-pyre | StGermain/Discretisation/Mesh/tests/testHexaMD-shadowDepth2.2of3.sh | Shell | gpl-2.0 | 208 |
echo "This is a bash script."
| erwa/azkaban | test/execution-test-data/recursivedirectoryyamltest/subdirectory1/subdirectory2/sample_script.sh | Shell | apache-2.0 | 30 |
#!/bin/sh -e
if (php --version | grep -i HipHop > /dev/null); then
echo "skipping memcache on HHVM"
else
mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc
# memcache is not available on PHP 7, memcacheD is.
if [ $(phpenv version-name) = '5.4' ] || [ $(phpenv version-name) = '5.5' ] || [ $(phpenv version-... | prodex/yii2 | tests/data/travis/memcache-setup.sh | Shell | bsd-3-clause | 574 |
################################################################################
# Author: Pete Clark
# Email: pete[dot]clark[at]gmail[dot]com
# Version: 0.1 (05/24/2011)
# License: WTFPL<http://sam.zoy.org/wtfpl/>
#
# This oh-my-zsh plugin adds smart tab completion for
# TaskWarrior<http://taskwarrior.org/>. It uses t... | carsondarling/dotfiles | zsh/plugins/taskwarrior/taskwarrior.plugin.zsh | Shell | mit | 834 |
#!/bin/sh
# Show all commands when run with environment variable VERBOSE=yes.
test -z "$VERBOSE" || set -x
test "$USE_ACL" = 0 &&
{
echo "Skipping test: insufficient ACL support"
exit 77
}
# func_tmpdir
# creates a temporary directory.
# Sets variable
# - tmp pathname of freshly created tempo... | aagallag/nexmon | utilities/gettext/gettext-tools/gnulib-tests/test-copy-acl.sh | Shell | gpl-3.0 | 17,640 |
#!/bin/bash
if [ "${AUTHORIZED_KEYS}" != "**None**" ]; then
echo "=> Found authorized keys"
mkdir -p /root/.ssh
chmod 700 /root/.ssh
touch /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys
IFS=$'\n'
arr=$(echo ${AUTHORIZED_KEYS} | tr "," "\n")
for x in $arr
do
... | tutumcloud/tutum-ubuntu | vivid/run.sh | Shell | apache-2.0 | 687 |
# Generated by Powerlevel10k configuration wizard on 2021-06-24 at 23:07 CEST.
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 20612.
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, dark,
# 24h time, vertical separators, slanted heads, flat tails, 2 lines, disconnected... | TJuberg/dotfiles | zsh/.p10k.zsh | Shell | mit | 85,300 |
#!/bin/bash
rm -rf app/{plugins,platforms} plugins/{A,B}/dist plugins/{A/src/ios,B}/Pods
git checkout . | xdissent/cocoapods-cordova | test/clean.sh | Shell | mit | 104 |
#!/bin/bash
echo "Starting the TODO app";
WORKING_DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P);
LOGGING_DIR="$WORKING_DIR/logs";
#echo "workdir: $WORKING_DIR"
#echo "logdir: $LOGGING_DIR"
if [ -d "$LOGGING_DIR" ]; then
rm -rf $LOGGING_DIR;
fi
mkdir $LOGGING_DIR;
#exit 0;
PATH_APP_SERVICE_DISCOVERY="$WORKING... | lucamartellucci/spring-walkthrough | startAll.sh | Shell | mit | 1,149 |
#!/bin/bash -e
sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
echo "================= Updating global rvm packages ==================="
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sS... | dry-dock/u12ruball | install.sh | Shell | mit | 717 |
#!/bin/bash
case `uname` in
CYGWIN*)
CP=$( echo `dirname $0`/*.jar . | sed 's/ /;/g')
;;
*)
CP=$( echo `dirname $0`/*.jar . | sed 's/ /:/g')
esac
# Find Java
if [ "$JAVA_HOME" = "" ] ; then
JAVA="java -server"
else
JAVA="$JAVA_HOME/bin/java -server"
fi
# Set Java options
if [ "$JAVA_OPTIONS" ... | hariharshankar/pygeo | transition/decodeGMapPolygons/decodePoly.sh | Shell | mit | 460 |
#!/bin/sh
rsync -rcv --exclude .git --exclude '*~' --chmod=Dugo+x,ugo+r ./ jenny@purplefrog.com:public_html/SburbStory/images/ #
| jadedResearcher/SBURBSimulator | web/images/imagesTransfer.sh | Shell | mit | 129 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/datastream_html_... | DeepBlue14/rqt_ide | modules/datastream_html_adapter/nbproject/Package-Debug.bash | Shell | mit | 1,527 |
#!/bin/bash
echo Running Front End
cd front
npm start | kitchWWW/inTurnUP | gf.sh | Shell | mit | 55 |
java -Xmx5G -Xms2G -cp ./target/configuring-reasoners-jar-with-dependencies.jar org.owlapi.tutorial.ElkReasoner \
http://purl.obolibrary.org/obo/mondo.owl
| henrietteharmse/henrietteharmse | blog/tutorial/owlapi/source/configuring-reasoners/runElkTest.sh | Shell | mit | 158 |
#!/bin/bash
# cocos2d template installer script
# Author: Dominik Hadl (based on original script made by Stuart Carnie and Ricardo Quesada)
# Date: November 2013
# Description: This script installs cocos2d project templates to the Xcode templates directory, so they can be used within Xcode.
# TODO:
# * Create an error... | promlow/books-and-tutorials | SpriteBuilder/PeevedPenguins.spritebuilder/Source/libs/cocos2d-iphone/install.sh | Shell | mit | 12,877 |
#!/usr/bin/env bash
update=$1
echo 'Bootstrap started...'
echo 'Create symbolic links for $HOME configuration files'
echo 'Bash configuration files'
if [ -e $HOME/.bashrc ]; then rm $HOME/.bashrc; fi
if ! [ -e $HOME/.bashrc ]; then ln -s /vagrant_synced_folder/vagrant.conf.d/.bashrc $HOME/.; fi
if [ -e $HOME/.bash_... | labs-rb/labs | vagrant_bootstrap.sh | Shell | mit | 2,265 |
#!/bin/bash
java -jar ../../../clojure_compiler/compiler.jar listview.js map.js jquery-parse.js > all.js
| gyaresu/oslogigs-node | public/javascripts/remember_to_run_minifier.sh | Shell | mit | 106 |
#!/bin/sh
ARGS=$@
DOTSSH=~/.ssh
NAME=novassh
docker run \
-ti \
--rm \
--name $NAME \
-e OS_TENANT_NAME=$OS_TENANT_NAME \
-e OS_PASSWORD=$OS_PASSWORD \
-e OS_AUTH_URL=$OS_AUTH_URL \
-e OS_USERNAME=$OS_USERNAME \
-e OS_REGION_NAME=$OS_REGION_NAME \
-v $DOT... | hironobu-s/novassh | docker-novassh.sh | Shell | mit | 386 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.