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
<<VERSION
DESCRIPTION: This Script updates all provisioned servers.
AUTHOR: Akram Hamed (akram.hamed@rsa.com)
CURRENT VERSION: 0.9.2 Beta
CREATED: Fri 30-OCT-2015
LAST REVISED: Fri 02-NOV-2015
VERSION
<<LICENSE
Permission is hereby granted, free of charge, to any person obtain... | skipper42/Security-Analytics-Updater | sa_update.sh | Shell | gpl-2.0 | 29,918 |
#!/bin/sh
. ./test-common.sh
cleanup 10
# ------------------------------- Test 10 ------------------------------------
preptest test.log 10 1
. ./test-common-selinux.sh
if [ $SELINUX_TESTS = 1 ]; then
chcon --type=logrotate_tmp_t test.log
else
echo "Skipping SELinux part of test 10"
fi
$RLR test-config.10 --forc... | logrotate/logrotate | test/test-0010.sh | Shell | gpl-2.0 | 942 |
#! /bin/bash
#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tenness... | joergdietrich/mapmap | plpa-1.1/autogen.sh | Shell | gpl-2.0 | 10,223 |
convert images/OCS-295-A.png -crop 1517x4532+89+267 +repage images/OCS-295-A.png
#
#
#/OCS-295.png
convert images/OCS-295-B.png -crop 1567x4526+14+271 +repage images/OCS-295-B.png
#
#
#/OCS-295.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-295.sh | Shell | gpl-2.0 | 198 |
#!/bin/bash
echo $WINEPREFIX
exit 0
| hbirchtree/kaidan | kaidan-test/assets/script.sh | Shell | gpl-2.0 | 36 |
#!/bin/bash
./ptb_xtrabackup_test.sh \
--defaults-file=./changed_page_bitmap_sysbench.cfg \
--mysql-rootdir=/mnt/bin/ps-5.5-changed-page-bitmap \
--vardir=/mnt/var/cpb_sysbench \
--cachedir=/mnt/cache \
--prepare-rootdir=/usr/share/doc/sysbench/ \
--load-rootdir=/usr/share/doc/s... | Percona-QA/PTB | examples/changed_page_bitmap_sysbench.sh | Shell | gpl-2.0 | 488 |
#! /bin/sh
#
# This is the 'official' LZO benchmark driver.
#
# usage: util/bench.sh Calgary-Corpus-directory
#
#
# Benchmark cookbook:
# -------------------
# 1) verify that LZO works (see PLATFORM.TXT)
# 2) check that your machine is idle
# 3) run 'sh util/bench.sh Calgary-Corpus-directory > bench.log'
# note: th... | OS2World/LIB-lzo | util/bench.sh | Shell | gpl-2.0 | 826 |
#!/bin/bash
#############################################################################
# Copyright (C) 2013 Lawrence Livermore National Security, LLC.
# Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
# Written by Albert Chu <chu11@llnl.gov>
# LLNL-CODE-644248
#
# This file is part of Mag... | zorino/magpie | bin/magpie-storm.sh | Shell | gpl-2.0 | 3,051 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey). Apache 2.0.
# MMI training (or optionally boosted MMI, if you give the --boost option).
# 4 iterations (by default) of Extended Baum-Welch update.
#
# For the numerator we have a fixed alignment rather than a lattice--
# this actually foll... | StevenLOL/Research_speech_speaker_verification_nist_sre2010 | SRE2010/steps/train_mpe.sh | Shell | gpl-2.0 | 6,809 |
psql -U pi -d kriek -c 'delete from status_pidstatus cascade; delete from status_probestatus cascade; delete from status_ssrstatus cascade; delete from status_status cascade; delete from status_status_probes cascade;'
| jsproull/kriek | shell/deleteallstatus.sh | Shell | gpl-2.0 | 218 |
#!/bin/bash
# In The Name Of God
# ========================================
# [] File Name : run.sh
#
# [] Creation Date : 19-11-2015
#
# [] Created By : Parham Alvani (parham.alvani@gmail.com)
# =======================================
if [ -d /tmp/beehive ]; then
echo "Remove beehive states.. :)"
rm -Rf /tmp/beehive... | 1995parham/Learning | go/beehive-hello/run.sh | Shell | gpl-2.0 | 377 |
# -*- shell-script -*-
# "set editing" debugger command
#
# Copyright (C) 2010, 2011, 2019 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; either versio... | rocky/kshdb | command/set_sub/editing.sh | Shell | gpl-2.0 | 1,602 |
#!/bin/bash
FILE=hist.txt
echo "Plotting Histogram as PNG"
gnuplot -persist << PLOT
set xlabel "Latency in us"
set ylabel "Number of latency samples"
set logscale y
set title "Latency Histogram Plot"
set terminal png
set output "hist.png"
plot "$FILE" using 1:2 with steps ls 1 title "CPU0"
quit
PLOT
... | ckuehnel/BeagleBone | plot.sh | Shell | gpl-2.0 | 334 |
#!/bin/bash
# Copyright (C) 2018 Robin Černín <cerninr@gmail.com>
# Copyright (C) 2018 Pablo Iranzo Gómez <Pablo.Iranzo@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 versio... | zerodayz/citellus | citellusclient/plugins/metadata/system/release.sh | Shell | gpl-3.0 | 1,125 |
alias vi=nvim
alias vim=nvim
| talon/saltstack-states | devtools/zsh/files/zsh/aliases.zsh | Shell | gpl-3.0 | 29 |
#!/usr/bin/env bash
#
# Scrape the cf4ocl code, get all public functions and macros, check
# what is tested (and where) and what is not.
#
# Tested functions (and the test functions which call them) are printed
# to stdout. Untested functions are printed to stderr.
#
# Requires: ctags cut grep awk find cflow
# Author: ... | FakenMC/cf4ocl | auxbuild/checktests.sh | Shell | gpl-3.0 | 1,420 |
#!/bin/sh
WORKERS=4
PORT=443
KEYFILE=/etc/letsencrypt/live/marat.uchicago.edu/privkey.pem
CERTFILE=/etc/letsencrypt/live/marat.uchicago.edu/fullchain.pem
ADDRESS=172.17.0.3
gunicorn --keyfile=$KEYFILE --certfile=$CERTFILE -k uvicorn.workers.UvicornWorker -b :$PORT --bind=$ADDRESS -w 4 --access-logfile=/var/www/Common... | ARTFL-Project/Commonplaces | web_server.sh | Shell | gpl-3.0 | 399 |
#
# Run this script to download MP-Sort source code.
#
tmp=$(mktemp -d)
if ! git diff --cached --exit-code; then
echo "There are changes in the index. Commit or reset first."
exit 1
fi
trap "rm -rf $tmp" EXIT
git clone https://github.com/rainwoodman/kdcount $tmp
sha=$(cd $tmp; git rev-parse --verify HEAD)
rsync -... | rainwoodman/fastPM | depends/kdcount/down-integrate.sh | Shell | gpl-3.0 | 459 |
#!/bin/bash
#Collecting the call-for-opinion notices from some Ministries of the State Counsel.
# Added at 09.08.2016
# Modified at 11.08.2016
. $HOME/CSObot/variables.sh "gwy-bw"
# 1.-----------------------(Can't grep the URL on Arch? while okay on Debian-local.)
# wget -O - www.sda.gov.cn/WS01/CL0014/ | grep -2 "... | mdrights/CSObot | legacy/gov/bot-gwy-bw.sh | Shell | gpl-3.0 | 3,077 |
rm -rf .env
rm -f .activate.sh
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p .env/miniconda
rm miniconda.sh
export PATH=".env/miniconda/bin:$PATH"
hash -r
conda config --set always_yes yes --set changeps1 no
conda update -q conda
# Useful for debug... | OliverTED/pyshapes | .create-env-miniconda.sh | Shell | gpl-3.0 | 636 |
#!/bin/bash
chmod +x . ./devices/oneplusone/ubuntu/*.sh
chmod +x . ./devices/oneplusone/android/*.sh
chmod +x . ./devices/generic/ubuntu/*.sh
chmod +x . ./devices/generic/android/*.sh
clear
echo ""
echo "OnePlus One - bacon"
echo ""
echo ""
sleep 1
echo "Ubuntu: "
echo ""
echo "[1] Install Ubuntu"
echo "[2] Install Ope... | MariusQuabeck/magic-device-tool | devices/oneplusone/oneplusone.sh | Shell | gpl-3.0 | 1,377 |
#!/bin/bash
#################################
## Mover Archivos a directorio ##
#################################
# Variables
rojo="\033[1;31m"
verde="\033[1;32m"
amarillo="\033[1;33m"
azul="\033[1;34m"
noColor="\033[1;00m"
function info(){
echo -e "$verde Es necesario un$amarillo Directorio$verde y luego archivos"... | fryntiz/ciclosuperior | Scripts_Bash/Nivel Bajo-Medio/5_copiarch.sh | Shell | gpl-3.0 | 1,013 |
echo "Mode,Type,Instance,Seed,User-Time,System-Time,Wall-Clock-Time,MemoryConsumption,Number of Memory-Errors,Number of Timeout-Errors,Number of Exitcode-Errors,Exit-Code,Lines stdout,Lines stderr,Command"
pid=$$
for i in `ls input/`
do
#echo $i
if [[ $i =~ .*.lp ]]
#if [[ $i =~ .* ]]
then
for j in `seq 1 1 5`
... | hmarkus/dynclasp | examples/vertexcover_dynamic_programming.sh | Shell | gpl-3.0 | 766 |
#!/bin/bash
# xset led 3
# setleds -L +caps < /dev/tty7
# tleds
function do_beep
{
if [ "$(which beep)" != "" ];
then
beep -r 3 -f 30 -d 1;
fi
for (( i=0; i < 10; i++ ))
{
./bin/ledctl ~num > /dev/null;
sleep 0.05;
}
}
do_beep;
| progman/ledctl | test.sh | Shell | gpl-3.0 | 244 |
#!/bin/bash
# loop, starting kodi when needed
. /etc/opt/mythtv/mythtv.conf
scriptname=`readlink -e "$0"`
scriptpath=`dirname "$scriptname"`
scriptname=`basename "$scriptname" .sh`
hostname=` tr '[a-z]' '[A-Z]' < /etc/hostname`
font=standard
# Bug in Jessie means rpcbind does not start with system restart
# It is nee... | bennettpeter/mythscripts | install/opt/mythtv/bin/kodiloop.sh | Shell | gpl-3.0 | 2,423 |
#!/bin/bash
#
# @brief Notify when a particular user has logged out
# @version ver.1.0
# @date Fri Oct 16 20:46:32 2015
# @company Frobas IT Department, www.frobas.com 2015
# @author Vladimir Roncevic <vladimir.roncevic@frobas.com>
#
UTIL_LOGGED_OUT=logged_out
UTIL_LOGGED_OUT_VERSION=ver.1.0
UTIL=/root/scripts/sh... | vroncevic/sh-util | sh_tool/bin/logged_out.sh | Shell | gpl-3.0 | 2,184 |
./NetconfServerSimulator.sh ../xmlNeModel/DVM_MWCore12_BasicAir.xml 12003 ../yang/yangNeModel
| Melacon/WirelessTransportEmulator | NetconfServerSimulator/build/ne-12-p12003.sh | Shell | gpl-3.0 | 94 |
#!/bin/bash
./kinectPlanes.sh kinect.params --depth 10
| fkie/structure_coloring_fkie | scripts/kinectOctree10.sh | Shell | gpl-3.0 | 55 |
#!/bin/bash
# This is a script shell for deploying a meshlab-portable folder.
# Requires a properly built meshlab (see windows_build.sh).
#
# Without given arguments, the folder that will be deployed is meshlab/src/install.
#
# You can give as argument the path where meshlab is installed.
SCRIPTS_PATH="$(dirname "$(re... | cnr-isti-vclab/meshlab | scripts/Windows/2_deploy.sh | Shell | gpl-3.0 | 1,087 |
#!/bin/bash
docker start cidsreference_cids-integration-base | cismet/docker-volumes | cids-reference/cids-integration-base/start.sh | Shell | gpl-3.0 | 61 |
#!/bin/bash
source /data/project/wikitweets/tweetsenv/bin/activate
python /data/project/wikitweets/enwikinewpages/enwikinewpages.py
deactivate
| emijrp/wikitweets | enwikinewpages/enwikinewpages.sh | Shell | gpl-3.0 | 144 |
#!/bin/sh
# exercise the resize library; FAT and HFS+ only
# Copyright (C) 2009-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 Lice... | sjas/parted | tests/t3000-resize-fs.sh | Shell | gpl-3.0 | 4,610 |
#!/bin/sh
TOOLDIR=../../tools/src
if [ "$srcdir" = "" ] ; then
srcdir=. ;
fi
if ! $TOOLDIR/hfst-pmatch2fst $srcdir/pmatch_blanks.txt > test ; then
exit 1
fi
# Test with any old string
if ! $TOOLDIR/hfst-pmatch test < $srcdir/cat.strings > pmatch.out ; then
exit 1
fi
rm -f pmatch.out test
ex... | unhammer/hfst3 | test/tools/pmatch2fst-functionality.sh | Shell | gpl-3.0 | 325 |
#!/bin/sh
export GR_DONT_LOAD_PREFS=1
export srcdir=/home/zitouni/gnuradio-3.6.1/gr-atsc/src/python
export PATH=/home/zitouni/gnuradio-3.6.1/build/gr-atsc/src/python:$PATH
export LD_LIBRARY_PATH=/home/zitouni/gnuradio-3.6.1/build/volk/lib:/home/zitouni/gnuradio-3.6.1/build/gruel/src/lib:/home/zitouni/gnuradio-3.6.1/bui... | zitouni/gnuradio-3.6.1 | build/gr-atsc/src/python/qa_atsc_test.sh | Shell | gpl-3.0 | 695 |
#!/bin/bash
# Usage: $ ./run_power_experiments_wks-51-03.sh binary_path binary_name input_size run_time \
# testpower change_size
echo "Running on wks-51-03"
eval `cat ../data/tmp/current_ssh-agent.txt`
echo -n > ../data/tmp/current_remote_script.sh
echo "echo -n > /mn... | matthewhammer/ceal | testpower/scripts/run_power_experiments_wks-51-03.sh | Shell | gpl-3.0 | 1,157 |
#!/usr/bin/env bash
#------------------------------------------------------------------------------
# Bash script to execute the Solidity tests.
#
# The documentation for solidity is hosted at:
#
# https://solidity.readthedocs.org
#
# ------------------------------------------------------------------------------
#... | winsvega/solidity | test/solcjsTests.sh | Shell | gpl-3.0 | 1,950 |
#!/bin/bash
export ROOTPATH="$(dirname "$(readlink -f "$0")")/.."
OS=""
PACKAGE_SYSTEM=""
UNAME=`uname`
DATE_STRING=`date +"%Y-%m-%d_%H%M%S"`
LOG_FILE="$ROOTPATH/tools/MATLAB_Engine_install_log_$DATE_STRING.log"
FILE_LOG_LEVEL=7
CONSOLE_LOG_LEVEL=5
MLC_PYTHON_DIR="$ROOTPATH/mlc_python"
UNINSTALL=0
INSTALLED=0
PACKAGE_... | MachineLearningControl/OpenMLC-Python | tools/installer/Dockerfiles/deploy_scripts/install_matlab_engine.sh | Shell | gpl-3.0 | 3,260 |
#!/bin/tcsh
#
#$ -S /bin/tcsh
#$ -cwd
#$ -pe cordelia 1
#$ -l mem_free=1.5G
set EXEDIR=/data/rw14/galtay/sphray_update/sphray/src
set EXE=${EXEDIR}/sphray_He
set INDIR=/data/rw14/galtay/sphray_update/sphray/data/config/iliev_small_tests
set INFILE=${INDIR}/iliev_test1_He_N64_R8.config
${EXE} ${INFILE}
| spthm/sphray | sge/iliev_tests/it1_he_r8.sh | Shell | gpl-3.0 | 308 |
#!/bin/bash
MAILTO=root
CONFIG=/etc/login-email.conf
declare -A watchfor
watchfor['root']=yes
if [ -f "${CONFIG}" ]; then
/bin/sed -r -e 's/[#].*$//' -e '/^[[:space:]]*$/d' "${CONFIG}" |
while read name; do
watchfor["${name}"]=yes
done
fi
if [ "${watchfor}[${USER}]" ]; then
(
FMT='%7s: %s\n'
/bin/printf... | megacoder/login-email | login-email.sh | Shell | gpl-3.0 | 787 |
perl SDSS_Rename_DR7.pl
wget -i sdss-wget-PSF_DR7.lis
chmod 755 Rename_PSF_DR7.sh
./Rename_PSF_DR7.sh
| pdn4kd/SDSS-Tidal-Parameter-Analysis | exec0_DR7.sh | Shell | gpl-3.0 | 102 |
#!/bin/bash
function infra_report() {
# Given an autoscale group name, we'll report on its current status
AUTOSCALENAME=$1 # Passed to this function
echo " ";echo " ";echo "================================================="
echo " ------ ${AUTOSCALENAME} STATUS -----"
LAUNCHCONFIGNAME=$(aws ... | rhelmer/socorro-infra | bin/lib/infra_status.sh | Shell | mpl-2.0 | 2,285 |
source env.sh
TARGET=$1
if [ -z "$TARGET" ]; then
echo "ERROR: Missing required date argument"
exit -1
fi
BASE=$(pwd)
echo "Getting client offsets for $TARGET in $DATA_BUCKET"
# Make a schema
cat $BASE/schema_template.json | sed -r "s/__TARGET__/$TARGET/" > $BASE/schema.$TARGET.json
LIST=$BASE/s3files.$TAR... | mreid-moz/client_indexer | index.sh | Shell | mpl-2.0 | 1,039 |
#!/bin/sh
# --------------------------------------------------------------------------------
# This script is building packages for Alignak-WebUI thanks to the fpm
# application (https://github.com/jordansissel/fpm).
# -----
# Using this script and fpm requires:
# sudo apt-get install ruby ruby-dev rubygems build-esse... | Alignak-monitoring-contrib/alignak-webui | package.sh | Shell | agpl-3.0 | 7,881 |
# Error on unset variables
set -u
# Load Linux version of _lp_battery()
uname() { printf 'Linux'; }
. ../liquidprompt --no-activate
unset -f uname
LP_ENABLE_BATT=1
typeset -a battery_outputs battery_statuses battery_values temp_outputs temp_values battery_ids
# Add test cases to these arrays like below
# Linux 4... | laurentbardin/liquidprompt | tests/test_acpi.sh | Shell | agpl-3.0 | 3,198 |
#!/bin/bash
echo "####### Cleaning the old tests #######"
rm -rf site/coverage site/surefire-reports
mkdir -p site/coverage site/surefire-reports
rm -rf xunit.xml
echo "###### Executing the npm #######"
npm install
echo "[WARNING] Redis must be running, and the http certificates created"
echo "####### Executing unit... | telefonicaid/Rush | unitTest.sh | Shell | agpl-3.0 | 595 |
source common.sh
$nixstore --verify
| tianyicui/nix | tests/verify.sh | Shell | lgpl-2.1 | 37 |
#!/bin/sh -ex
. utilslib.sh
basedir=/src/libvirt
baseurl=http://libvirt.org/sources
version=0.9.0
revision=0
tarball=libvirt-${version}.tar.gz
directory=libvirt-${version}-${revision}
mkdir -p $basedir
pushd $basedir
utilslib_download $baseurl $tarball
if [ ! -d $directory ]
then
echo unpacking $tarball ...
... | photron/msys_setup | compile_libvirt-0.9.0.sh | Shell | lgpl-2.1 | 2,078 |
#!/bin/bash
if [ "${ENABLE_JLAN}" == "true" ]; then
echo "Enabling default Jlan SMB Share for OpenCms"
mv -v ${OPENCMS_HOME}/WEB-INF/config/jlanConfig.xml.linux ${OPENCMS_HOME}/WEB-INF/config/jlanConfig.xml
else
echo "Jlan SMB Share remains disabled. Start the container with \"-e ENABLE_JLAN=true\" to enable it."
f... | alkacon/opencms-docker | image/resources/root/preinit/60_init_jlan_share.sh | Shell | lgpl-2.1 | 322 |
#!/bin/bash
# This script will download and setup a cross compilation environment
# for targetting Win32 from Linux. It can also be used to build on
# Windows under the MSYS/MinGW environment. It will use the GTK
# binaries from Tor Lillqvist.
TOR_URL="http://ftp.gnome.org/pub/gnome/binaries/win32";
TOR_BINARIES=( \... | tardyp/clutter | build/mingw/mingw-cross-compile.sh | Shell | lgpl-2.1 | 9,289 |
#!/bin/bash -e
#$ -S /bin/bash
#$ -cwd
#$ -j y
#$ -pe orte 8
VERSION=0.1
external_packages=/ngs/apps
reference_genomes=/ngs/reference
bwaApp="$external_packages/bwa-0.7.12/bwa"
bowtie2App="$external_packages/bowtie2-2.2.6/bowtie2"
javaApp="$external_packages/jdk1.6.0_45/bin/java"
picardJar="$external_packages/picar... | golharam/rgtools | scripts/NGS_pipelines/PDX/pdx_pipeline.sh | Shell | lgpl-3.0 | 2,841 |
#!/bin/bash
# call setup_opensg.sh first!
# get script directory
SOURCE="${BASH_SOURCE[0]}"
DIR="$( dirname "$SOURCE" )"
while [ -h "$SOURCE" ]
do
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
done
DIR="$( cd -P "$( dirname "$SOURC... | Victor-Haefner/polyvr-packaging | windows/setup_pvr.sh | Shell | lgpl-3.0 | 4,230 |
#!/bin/sh -e
# Copyright (C) 2014 Cryptotronix, LLC.
# This file is part of libcrypti2c.
# libcrypti2c 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 Foundation, either version 3 of the License, or
# any later v... | cryptotronix/libcrypti2c | autogen.sh | Shell | lgpl-3.0 | 991 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=OracleSolarisStudio-Solaris-x86
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_C... | esohns/libACENetwork | prj/solstudio/test_u_server/nbproject/Package-Debug.bash | Shell | lgpl-3.0 | 1,565 |
#!/bin/bash
set -eu
if [ -n "$PY3PATH" ]; then
export PATH=$PY3PATH:$PATH
fi
autoreconf -iv
./configure \
--prefix=/mingw64 \
--build=x86_64-w64-mingw32 \
--host=x86_64-w64-mingw32 \
--target=x86_64-w64-mingw32 \
--enable-external-toolchain \
--enable-external-emudbg \
--enable-external-... | dciabrin/ngdevkit | .github/scripts/build-msys2.sh | Shell | lgpl-3.0 | 371 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #"
if [ ! -z "$1" ]; then
DIR="$1"
fi
# directory paths
APP_SSH_DIR="$DIR/app/.ssh"
SSH_DIR="$DIR/ssh"
# create target directories
mkdir -p --mode 0700 $SSH_DIR
mkdir -p --mode 0700 $APP_SSH_DIR
# generate key
ssh-keygen -t rsa -f $SSH_DIR/id_r... | pirati-cz/DEPRECATED-graph | generate_ssh_key.sh | Shell | unlicense | 464 |
#!/bin/sh
#
# Usage: cfmssimulator.sh <directory-containing-unzipped-snapshot-data>
export APPL_DATA=./data
export APPL_APPL=./appl
rm -rf $APPL_DATA
. ./classpath.sh
echo CLASSPATH=$CLASSPATH
java -Dappl.appl=$APPL_APPL -Dappl.data=$APPL_DATA -classpath $CLASSPATH com.airbiquity.tools.BuildEnvelope $1 $2 $3
# j... | yangjun2/android | sfsp_application/build-envelope.sh | Shell | unlicense | 470 |
#!/bin/bash
# vi:nu:et:sts=4 ts=4 sw=4
name="$1"
upr="$(tr '[:lower:]' '[:upper:]' <<< ${name:0:1})${name:1}"
if [ "$name" = "" ]; then
echo "Usage: renObj.sh current_object_name"
echo "Run this from the main repo directory, not src or test!"
fi
mv "src/${name}.c" "src/${upr}A.c"
mv "src/${upr}A.c" "src/${upr}.c"
... | 2kranki/libCmn | scripts/renObj.sh | Shell | unlicense | 690 |
#! /bin/sh
# The script that builds the Elm files.
# When adding a new page, make sure the the script entry is added as well.
# Needs '&&' so that the script stops when it hits a compiler error.
elm-make ./client/App.elm --output ./backend/app/static/app/app.js | branjwong/shyun-and-bran | app-build.sh | Shell | unlicense | 263 |
#!/bin/env bash
source ~/.nurc
export PATH=$PATH:~/.cabal/bin:~/.local/bin
termite -e "bash -c 'cd $NU_HOME/playbooks/squads/credit-card-core/bin; ./console.sh $1; exec bash'" &
| ericvm/dotfiles | credit_card_core_console.sh | Shell | unlicense | 178 |
#!/bin/bash
BIN=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
ROOT=$( cd ${BIN}/.. && pwd )
echo "HI THERE! Let's set up your environment for Whisk actions."
if [ ! -f ${ROOT}/.wskrc ]; then
echo "
Let's set up an.wskrc file to make this easier.
The.wskrc file is excluded from commits to git. Delete it at... | gameontext/gameon-sweep | bin/wsk-setup.sh | Shell | apache-2.0 | 1,684 |
#!/bin/sh
################################################################################
: ${DIALOG=dialog}
installdir=$0
if [ $0 == './install.sh' ]; then
installdir=`pwd`/install.sh
fi
echo $installdir
user=`whoami`
if [ $user != "root" ]; then
echo "Please, execute installation sc... | idudko/install_script | install.sh | Shell | apache-2.0 | 5,549 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | GoogleCloudPlatform/professional-services | examples/vertex_pipeline/scripts/run_serving_local.sh | Shell | apache-2.0 | 1,129 |
#!/bin/sh
# Usage:
# 1. cd to the top-level dg directory (where the Makefile lives)
# 2a. Type bin/jslint-git.sh
# or
# 2b. Type make jslint-git
TMP_SCRIPT_NAME=myjslint-git.sh
# Use git status to get the list of added/modified files.
# Then use sed to convert the output of git status to a shell script
#... | apeeyush/Data-Analytics-CODAP | bin/jslint-git.sh | Shell | apache-2.0 | 1,215 |
#!/bin/bash
# Ensure that all your children are truly dead when you yourself are killed.
# trap "kill -- -$BASHPID" INT TERM EXIT
# leave out EXIT for now
trap "kill -- -$BASHPID" INT TERM
echo "BASHPID: $BASHPID"
echo "current PID: $$"
source ./runner_setup.sh "$@"
rm -f h2o-nodes.json
if [[ $HOSTNAME == "lg1" || ... | woobe/h2o | py/testdir_release/runner.sh | Shell | apache-2.0 | 5,044 |
#!/bin/bash
exec monodoc | PerceptiveSoftwareCodeDash/codedash-contestant-machine | cookbooks/install-languages/templates/default/monodoc.sh | Shell | apache-2.0 | 25 |
#!/bin/bash
# Install Berkeley DB 6.2
# http://www.linuxfromscratch.org/blfs/view/cvs/server/db.html
# http://docs.oracle.com/cd/E17275_01/html/programmer_reference/build_unix_conf.html
if [ -d "/usr/share/db-6.2.32" ]
then
echo "Berkeley DB 6.2 is already installed, nothing done!"
else
source /vagrant/vagrant-... | sergiomt/centorion | vagrant-setup/db62.sh | Shell | apache-2.0 | 1,829 |
#!/bin/bash
#
# Issue a search-and-cluster request with a more complex field mapping.
#
# Note the search_request part is a regular search request; it contains
# highlighter directives; the number of fragments and fields to be highlighted
# are configurable.
#
# In order to make sense for clustering, it must (should) ... | carrot2/elasticsearch-carrot2 | docs/curl/03-field-mapping.sh | Shell | apache-2.0 | 1,521 |
text_file="/home/disk1/jyhou/my_egs/swbd_xy_egs/info/text_fixed_tail_500"
keyword_list_dir="/home/disk1/jyhou/feats/XiaoYing_STD/list/"
data_list_dir="/home/disk1/jyhou/feats/XiaoYing_STD/list/"
keyword_type=keywords_60_100_10_1
keyword_dir="/home/disk1/jyhou/feats/XiaoYing_STD/a_${keyword_type}/"
keyword_list_basenam... | jingyonghou/XY_QByE_STD | script/get_ROC_curve_sta.sh | Shell | apache-2.0 | 863 |
#!/bin/bash
# Add CentOS and EPEL repos
yum -y reinstall centos-release
yum -y install epel-release
# Install Ansible
yum -y install ansible
# Install tree util
yum -y install tree
# Install jq util
yum -y install jq
# Delete CentOS and EPEL repos to avoid issues with Fuel services
yum -y remove epel-release
rm /etc... | aepifanov/mos_mu | install_ansible.sh | Shell | apache-2.0 | 347 |
#!/usr/bin/env bash
# Copyright 2019 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... | GoogleCloudPlatform/gcp-plugin-core-java | jenkins/saveAndCompress.sh | Shell | apache-2.0 | 1,101 |
#!/bin/bash
# this hasn't been added yet; I'm just working on different ways to download
# stuff that I can later incorporate into the main script
# exists COMMAND
exists() {
if type "$1" >/dev/null 2>&1
then
echo "found $1"
return 0
else
return 1
fi
}
unable_to_retrieve_package() {
echo "Unabl... | danieldreier/puppet_installer | files/download.sh | Shell | apache-2.0 | 4,313 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2009, Distributed Systems Architecture Group, Universidad #
# Complutense de Madrid (dsa-research.org) #
# ... | fairchild/open-nebula-mirror | src/tm_mad/vmware/tm_clone.sh | Shell | apache-2.0 | 1,848 |
#!/bin/bash
swig2.0 -v -Ismile-lib -c++ -python -o pysmile_wrap.cpp pysmile.i | kadeng/pysmile | generate_wrapper.sh | Shell | apache-2.0 | 77 |
#!/bin/bash
git add .
git add -u
git commit -m "wip"
git push
| whitewalter/fleetwood-bounder | push.sh | Shell | apache-2.0 | 63 |
# -----------------------------------------------------------------------------
#
# Package : phpspec/prophecy
# Version : 1.7
# Source repo : https://github.com/phpspec/prophecy
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
... | ppc64le/build-scripts | p/phpspec__prophecy/phpspec__prophecy_rhel_8.3.sh | Shell | apache-2.0 | 2,678 |
#!/bin/bash
conf_file=~/.dotfiles
default_profile=priv
profile() {
local profile
if [ -e $conf_file ]; then
profile=$(cat $conf_file | grep -v '^#' | grep '^profile=' | cut -d '=' -f 2)
fi
[[ -z $profile ]] && echo $default_profile || echo $profile
}
mkdir -p ~/acpi
mkdir -p ~/utils
mkdir -p ~/.tmux/plu... | ssledz/dotfiles | restow.sh | Shell | apache-2.0 | 1,046 |
#!/bin/sh
# -------------------------------------------------------------------------
# copy needed JBOSS components into DCM4CHEE installation
# -------------------------------------------------------------------------
DIRNAME=`dirname $0`
DCM4CHEE_HOME="$DIRNAME"/..
DCM4CHEE_SERV="$DCM4CHEE_HOME"/server/default
if ... | medicayun/medicayundicom | dcm4jboss-all/tags/DCM4CHEE_2_14_8/dcm4jboss-build/bin/install_jboss.sh | Shell | apache-2.0 | 5,242 |
#!/bin/bash
set -eo pipefail
rm -f /var/run/haproxy.pid > /dev/null 2>&1
rm -f /etc/haproxy/haproxy.cfg > /dev/null 2>&1
if [ -z "$ETCD_NODE" ]; then
IP=$(/sbin/ip route | awk '/default/ { print $3 }')
ETCD_NODE=$IP
fi
if [ -z $KONTENA_STACK_NAME ] || [ "$KONTENA_STACK_NAME" == "null" ]; then
LB_NAME=$KONTEN... | kontena/kontena-loadbalancer | entrypoint.sh | Shell | apache-2.0 | 488 |
cd $HOME/CADL/session-1
jupyter notebook
| dariox2/CADL | session-1/runjup.sh | Shell | apache-2.0 | 42 |
#/**
# * Copyright (c) 2016 Intel Corporation
# *
# * 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 applicab... | trustedanalytics/app-launcher-helper | pack.sh | Shell | apache-2.0 | 1,357 |
#!/bin/bash -e
. /var/cache/build/packages-manual/common.sh
download_and_verify \
bedops \
bedops \
2.4.32 \
cce96ded8e0276ed02a1b08f949c0ced09991305eedb61f5e2aa6f79e6e80b1f \
https://github.com/bedops/bedops/releases/download/v\${version}/bedops_linux_x86_64-v\${version}.tar.bz2
add_binary_path ... | genialis/resolwe-bio | resolwe_bio/docker_images/chipseq/packages-manual/bedops.sh | Shell | apache-2.0 | 356 |
#!/bin/bash
browser=$1
platform=$2
version=$3
echo TRAVIS_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER}
echo TRAVIS_JOB_NUMBER=${TRAVIS_JOB_NUMBER}
echo browser=${browser}
echo platform=${platform}
echo version=${version}
if [ -z $version ]; then
varg=""
else
varg="-Dselenium.browser.version=${version}"
fi
echo mvn integ... | dickschoeller/gedbrowser | config/selenium-script.sh | Shell | apache-2.0 | 613 |
#!/bin/bash
# https://stackoverflow.com/a/4024263/537768
verlte() {
[ "$1" = "$(echo -e "$1\n$2" | sort -V | head -n1)" ]
}
PROJECT='oio-swift'
# This will work in the main repository, but not in forks
LATEST_TAG=$(git fetch --tags && git describe --tags)
if [ -z "$LATEST_TAG" ]
then
echo "No tag, cannot check"... | open-io/oio-swift | oio-check-version.sh | Shell | apache-2.0 | 856 |
#!/bin/bash
# Copyright 2015 Insight Data Science
#
# 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 ... | InsightDataScience/pegasus | service/riak/stop_service.sh | Shell | apache-2.0 | 1,002 |
#! /usr/bin/env bash
set -eu
shopt -s nullglob
# Locate the script file. Cross symlinks if necessary.
loc="$0"
while [ -h "$loc" ]; do
ls=`ls -ld "$loc"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
loc="$link" # Absolute link
else
loc="`dirname "$loc"`... | PSPDFKit-labs/djinni | test-suite/run_djinni.sh | Shell | apache-2.0 | 5,447 |
#!/bin/bash
function setupNTPCronJob {
echo "add hourly cron job of ntpupdate"
echo '#!/bin/sh' > /etc/cron.hourly/ntpdate
echo 'ntpdate time.apple.com' >> /etc/cron.hourly/ntpdate
chmod 755 /etc/cron.hourly/ntpdate
}
echo "setup ntp cron job"
setupNTPCronJob
| qiujian16/vagrant-novadocker | scripts/setup-ubuntu-ntp.sh | Shell | apache-2.0 | 279 |
#!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | dims/neutron | tools/configure_for_func_testing.sh | Shell | apache-2.0 | 9,086 |
#! /usr/bin/env zsh
. ~/.zshrc
base16_icy
$@
exit 0
| chocobn69/dotfiles | .config/zsh/launcher.sh | Shell | apache-2.0 | 52 |
#!/bin/sh
# Copyright 2012 Anton Beloglazov
#
# 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 agr... | beloglazov/openstack-centos-kvm-glusterfs | 07-openstack-controller/11-keystone-create-users.sh | Shell | apache-2.0 | 1,982 |
#!/bin/bash
TOMCAT_PATH="/home/jee/apache-tomcat-7.0.61"
WAR_NAME="testFacelets.war"
BUILD_DIR="./target"
mvn clean install && \
cp $BUILD_DIR/$WAR_NAME $TOMCAT_PATH/webapps/$WAR_NAME
| wadzapi/testFacelets | scripts/deployIt.sh | Shell | apache-2.0 | 185 |
#!/bin/bash
set -e
changes=$(git log -1 --pretty=%B)
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
file_to_upload="platforms/ios/build/device/Deus LARP 2017.ipa"
fi
if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
file_to_upload="platforms/android/app/build/outputs/apk/debug/app-debug.apk"
fi
curl \
-F "ipa=@$file_to_up... | sth-larp/deus-mobile | scripts/upload-to-hockeyapp.sh | Shell | apache-2.0 | 511 |
# -----------------------------------------------------------------------------
#
# Package : instaclick/php-webdriver
# Version : 1.4.7
# Source repo : https://github.com/instaclick/php-webdriver
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <se... | ppc64le/build-scripts | i/instaclick__php-webdriver/instaclick__php-webdriver_rhel_8.3.sh | Shell | apache-2.0 | 2,714 |
#! /bin/bash
NUM_EXECUTORS=50
source config.sh
source ${DIG_CRF_SCRIPT}/checkMemexConnection.sh
source ${DIG_CRF_SCRIPT}/limitMemexExecutors.sh
echo "Submitting the job to the Memex cluster."
time spark-submit \
--master 'yarn-client' \
--num-executors ${NUM_EXECUTORS} \
${DRIVER_JAVA_OPTIONS} \
${DI... | usc-isi-i2/dig-crf | examples/hbase-dump-2016-06-15/countCrfResultPhrases-crf-hair-eyes-hj.sh | Shell | apache-2.0 | 453 |
#!/bin/bash
# script credits : https://github.com/infracloudio/botkube
set -x
go vet . ./cmd/... ./manifest/...
| databus23/helm-diff | scripts/verify-govet.sh | Shell | apache-2.0 | 114 |
#!/bin/bash
dnImage="yiwei1012/hadoop-hsa-dn:1.2"
nnImage="yiwei1012/hadoop-hsa-nn-dn:1.2"
domain="mycorp.kom"
HSAOPTS="--privileged --device /dev/kfd -e DEVICE_TYPE=HSA"
GPUOPTS="--privileged -e DISPLAY=unix:0.0 -v=/tmp/.X11-unix:/tmp/.X11-unix:rw -e DEVICE_TYPE=GPU"
CPUOPTS="-e DEVICE_TYPE=CPU"
SLAVEOPTS="-d -t --dn... | YIWEI-CHEN/hadoop-hsa-docker | start-cluster.sh | Shell | apache-2.0 | 2,168 |
#!/usr/bin/env bash
CROSS_PREFIX=aarch64-linux-android-
SYSROOT="${NDK}/platforms/android-21/arch-arm64"
TOOLCHAIN=${NDK}/toolchains/aarch64-linux-android-4.9/prebuilt/${HOST_SYSTEM}
export FLAGS="--arch=aarch64"
. ${ROOT}/flags.sh
| danbrough/andrudio | ffmpeg/arm64-v8a.sh | Shell | apache-2.0 | 239 |
sudo add-apt-repository ppa:eclipse-team/debian-package
sudo apt-get update
sudo apt-get install ant
| bayvictor/distributed-polling-system | bin/ubuntu_install_ant.sh | Shell | apache-2.0 | 103 |
#!/bin/sh
if [ "$1" != "" ]; then
go_server_host="$1"
echo "Running Go agents for Go server at: ${go_server_host}"
else
echo "Go server host is required."
exit 1
fi
if [ "$2" != "" ]; then
docker_registry_url="$2"
echo "Pulling docker images from: ${docker_registry_url}"
else
echo "Docker ... | BrianEliotWhipple/massive-octo-bear | agents/runAgents.sh | Shell | apache-2.0 | 612 |
#!/bin/bash
usage() {
echo "$0 --app.foo bar --probe.foo bar"
exit 1
}
mkdir -p /var/run/weave
TOKEN_PROVIDED=false
if [ "$1" = "version" -o "$1" = "help" ]; then
exec -a scope /home/weave/scope --mode $1
exit 0
fi
for arg in $@; do
case "$arg" in
--no-app|--probe-only)
touch /etc... | dilgerma/scope | docker/entrypoint.sh | Shell | apache-2.0 | 1,142 |
#!/bin/bash
# Use getopt instead of getopts for long options
set -e
OPTS=`getopt -o o: --long output-dir:,bam-out:,bam-in:,out-SM:,out-script:,standalone -n 'Reheader_SM.sh' -- "$@"`
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
#echo "$OPTS"
eval set -- "$OPTS"
MYDIR="$( cd "$( dirname "... | bioinform/somaticseq | somaticseq/utilities/dockered_pipelines/bamSimulator/bamSurgeon/Reheader_SM.sh | Shell | bsd-2-clause | 2,526 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.