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
date=`date +%Y%m%d`
tag=ubuntu_base
echo building $tag
docker build $BUILD_OPTS -t $tag:$date .
docker tag -f $tag:$date $tag:latest
images=$(docker images | grep '<none>' | awk '{print $3}')
if [ "$images" ] ; then
echo removing untagged images
docker rmi $images
else
echo no untagged image... | rsperl/docker_ubuntu_base | build.sh | Shell | mit | 335 |
#!/usr/bin/env bash
cd documentation && \
git init && \
git config user.name "Travis CI" && \
git config user.email "github@travis-ci.org" && \
git add . && \
git commit -m "Deploy to GitHub Pages" && \
git push --force "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1
| jvalentik/Transporter | .deploy_docs.sh | Shell | mit | 290 |
#!/bin/bash
echo 'This is a docker environment: $IS_DOCKER'
if [ "$IS_DOCKER" != "true" ]; then
echo 'Pip install...'
#source /opt/python/run/venv/bin/activate
source /var/app/venv/staging-LQM1lest/bin/activate
pip install -r requirements.txt
else
echo 'The script 01_pip_install.sh is only executed in non-d... | upconsulting/IsisCB | .ebextensions/scripts/01_pip_install.sh | Shell | mit | 344 |
#!/usr/bin/env bash
set -eu
pushd docker
echo
echo "Build Container..."
echo
docker build -t reckoning/app:2.5.1 .
echo
echo "Push Container..."
echo
docker push reckoning/app:2.5.1
echo
echo "...Done"
echo
popd
| reckoning/app | scripts/docker-push.sh | Shell | mit | 220 |
#!/bin/bash
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_EXTRA_MODULES_PATH=/home/dmitry/projects/github/opencv_contrib/modules \
-D PYTHON_EXECUTABLE=/home/dmitry/.virtualenvs/opencv/bin/python \
-D BUILD_opencv_cnn_3dobj... | dartmedved/ubuntu-postinstall-v2 | develop/opencv/open-cv-configure.sh | Shell | mit | 433 |
#!/bin/bash
set -e
git ls-remote --heads | grep gh-pages > /dev/null
if [ "$?" == "0" ]; then
git push origin --delete gh-pages
fi | paxtonhare/angular2-mdl | scripts/delete-gh-pages.sh | Shell | mit | 132 |
#!/bin/bash
# yumcheck.sh - check if updates are needed
#RCCONFIG:RCELEVATE=true
usage(){
cat <<EOF
Usage: yumcheck.sh (-h) (-s)
Check to see if updates are needed. Non-zero return -> updates are needed.
-s - only output whether the host needs updates or not
EOF
exit 1
}
[ "$1" = "-h" ] && usage
echo -n "*** $(d... | parsley42/remote-control | defaults/tasks/yumcheck.sh | Shell | mit | 819 |
#!/bin/bash
# Copyright 2014-2017 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
# common code defining db access
. /srv/jenkins/bin/reproducible_common.sh
# support different suites
if [ -z "$1" ] ; then
SUITE="unstable"
else
... | anthraxx/jenkins.debian.net | bin/reproducible_setup_pbuilder.sh | Shell | gpl-2.0 | 6,741 |
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: architecture/x86/kernel.conf.sh
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribut... | OpenSDE/opensde-nopast | architecture/x86/kernel.conf.sh | Shell | gpl-2.0 | 2,292 |
#!/bin/sh
package="tuxbox-radiobox"
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
DIE=0
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $package."
echo "Download the appropriate package for your system,"
echo "or get the source from ... | UkCvs/commando | apps/tuxbox/radiobox/autogen.sh | Shell | gpl-2.0 | 1,823 |
git co lib # reset object js
echo "building..."
cake build
echo "building parser..."
cake build:parser
echo "===============done================="
echo
#bin/coffee --nodes examples/test.coffee
if [ -f examples/*.js ]; then
rm examples/*.js
fi
bin/coffee -c examples/test.coffee
if [ $? -eq 0 ]; then
cat examples... | isaiah/coffeesix | run.sh | Shell | gpl-2.0 | 329 |
#!/bin/sh
#
# Copyright (C) 2010-2013 OpenWrt.org
#
RAMIPS_BOARD_NAME=
RAMIPS_MODEL=
ramips_board_detect() {
local machine
local name
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
*"7Links PX-4885")
name="px4885"
;;
*"8devices Carambola")
name="carambola... | zhuanshicong/myopenwrt | target/linux/ramips/base-files/lib/ramips.sh | Shell | gpl-2.0 | 6,828 |
#!/bin/sh
# Copyright (c) 2007, 2008 Rocco Rutte <pdmef@gmx.net> and others.
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
ROOT="$(dirname "$(which "$0")")"
REPO=""
PFX="hg2git"
SFX_MAPPING="mapping"
SFX_MARKS="marks"
SFX_HEADS="heads"
SFX_STATE="state"
GFI_OPTS=""
PYTHON=${PYTHON:-python}
USAG... | nicktimko/autolycus | autolycus/sh/hg-fast-export.sh | Shell | gpl-2.0 | 4,240 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2018-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t4202-clang.sh | Shell | gpl-2.0 | 1,123 |
#!/bin/sh
# Copyright 2014 David Irvine
#
# This file is part of Loguino
#
# Loguino 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 your option) any later version.
#
... | irvined1982/loguino | modules/pollers/LIS331/build_env.sh | Shell | gpl-2.0 | 959 |
convert images/OCS-746-A.png -crop 1559x863+0+0 +repage images/OCS-746-A-0.png
convert -append images/OCS-745-B-8.png images/OCS-746-A-0.png images/OCS-745-B-8.png
rm images/OCS-746-A-0.png
convert images/OCS-746-A.png -crop 1559x393+0+868 +repage images/OCS-746-A-1.png
convert images/OCS-746-A.png -crop 1559x631+0+126... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-746.sh | Shell | gpl-2.0 | 1,069 |
#!/bin/sh
set -e
LISTNAME_FILE=.listname
if [ ! -e $LISTNAME_FILE ]
then
echo "Cannot find .listname file, exiting."
exit 1
fi
if [ ! -e [0-9]* ]
then
touch 0
fi
LISTNAME=$(cat $LISTNAME_FILE | sed '/^$/d' | sed 1q)
./gmane-update.sh $LISTNAME [0-9]*
exit 0
| cota/gmane-fetch | update.sh | Shell | gpl-2.0 | 267 |
#!/bin/bash
#FFMPEG installation script
# Copyright (C) 2007-2014 Sherin.co.in. All rights reserved.
#
# 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 License, or
# ... | ravensnowbird/ffmpeg-ubuntu-14-04 | libtheora.sh | Shell | gpl-2.0 | 1,545 |
#!/bin/bash
function _print {
echo -e "\n||== \t$1\t ==||\n"
}
SUDO=''
command -v sudo >/dev/null 2>&1
if [[ $? -eq 0 ]]
then
SUDO='sudo'
fi
_print "Initializing with \`apt install\`"
$SUDO apt-get install -y git \
less \
wget \
curl \
vim \
zsh \
nmap \
tree \
htop \
python3 \
python3-pip \
jq \
t... | Moggi/dotfiles | debian-based.sh | Shell | gpl-2.0 | 397 |
#!/usr/bin/env bash
#
# big_ublast.sh
#
# Author: Gregg Mendez
#
# Software Dependencies:
# usearch v8.1 : http://drive5.com/usearch/
# Named variables. Every run needs the following defined:
# 1) -db | --database_dir - The directory containing the ublast databases of transcriptome ORFs. Each database should be named ... | mendezg/DATOL | big_blastp.sh | Shell | gpl-2.0 | 2,052 |
#!/bin/sh
# KevEdit source distribution build script
# Run in kevedit/build_source container
set -e -x
SOURCE="$1"
KEVEDIT_VERSION="$2"
if [ -z "$SOURCE" ] || [ -z "$KEVEDIT_VERSION" ]; then
echo "USAGE: build_linux.sh <source.zip> <version>"
exit 1
fi
export KEVEDIT_VERSION
rm -rf /work/kevedit
mkdir /work/k... | cknave/kevedit | inst/platform/linux/build_source.sh | Shell | gpl-2.0 | 451 |
#!/bin/bash
d=`date +%s.%N`
echo $d.out
echo "Starting power gadget at "`date +%s.%N` > $d.out
(sudo ../signal_insert_delays/power_gadget_whileloop/power_gadget -e 1000 -c tp > $d.power) &
pgpid=$!
trap 'echo "Got interrupt"; echo "Stopping power gadget at "`date +%s.%N` >> '$d'.out; sudo kill -s SIGINT '$pgid SIG... | jcmcclurg/serverpower | unused/benchmark/report_hibench.sh | Shell | gpl-2.0 | 524 |
#! /bin/sh
# Copyright (C) 2002-2018 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 ... | komh/automake-os2 | t/comment4.sh | Shell | gpl-2.0 | 1,312 |
#!/bin/bash
# Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0.
# begin configuration section.
cmd=run.pl
stage=0
min_lmwt=5
max_lmwt=17
iter=final
word_ins_penalty=0.0,0.5,1.0
#end configuration section.
[ -f ./path.sh ] && . ./path.sh
. parse_options.sh || exit 1;
if [ $# -ne 3 ]; then
... | michellemorales/OpenMM | kaldi/egs/swbd/s5c/local/score_sclite.sh | Shell | gpl-2.0 | 5,967 |
## command [interval [timeout [message [debug]]]]
## Wait for command until returns 0.
##
## Params:
## command: {String} Command to execute.
## interval: {Number} Interval in seconds.
## Optional. Default: 1.
## timeout: {Integer} Timeout. 0 to disable timeout.
## Optional. Default: 0.
... | reduardo7/hsabx | src/utils/wait-until.sh | Shell | gpl-2.0 | 1,345 |
#!/bin/sh
#checa se todas as zonas no pdns estao ok e se nao tem erros em registros.
echo "" > /tmp/pdns_nagios.txt
pdnssec check-all-zones >> /tmp/pdns_nagios.txt
saida=`cat /tmp/pdns_nagios.txt | grep -v Checked`
if [[ -z $saida ]]; then
echo "OK: Sem erros nas zonas"
exit 0
else
erro=`cat /tmp/pdns_nagios.txt |... | blusol/plugins_nagios | check_pdns_confg.sh | Shell | gpl-2.0 | 401 |
#! /bin/sh
# Copyright (C) 2012-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | GavinSmith0123/automake-amplain | t/includes-no-more.sh | Shell | gpl-2.0 | 969 |
#!/bin/bash
initpath=$1
if [ -d $initpath ];then
cd $initpath
for name in `ls`
do
file1=${initpath}/${name}
if [ -d ${file1} ];then
cd $file1
for name1 in `ls`
do
file2=$file1/$name1
if [ -d ${file2} ];then
cd $file2
for name2 in `ls`
do
file3=$file2/$name2
cd $file3
... | zhDai/CToFun | My_work/shell_scripts_Scrapy/scripts-118.102.25.143/scripts/weather_chart.sh | Shell | gpl-2.0 | 768 |
#! /bin/sh
SOURCE=/dnmi/norcom/data/kvalobs
DEST="kvalobs@dev-vm101:/var/lib/kvalobs/synopreports_tmp"
LOGDIR=/var/log/kvalobs/copy_synopreports
mkdir -p $LOGDIR
if [ ! -d "$LOGDIR" ]; then
echo "FATAL: Logdir '$LOGDIR' do not exists."
exit 1
fi
ctlfilenew="$LOGDIR/copyctl.new"
ctlfileold="$LOGDIR/copyctl.old"
... | metno/kvalobs | src/script/kv/copy_synopreports.sh | Shell | gpl-2.0 | 1,855 |
f=linux/drivers/block/aoe/aoeblk.c
old="`grep '^#include <linux/seq_file.h>$' $f`"
test "$old" && { echo old; exit 0; }
echo new
| OpenAoE/aoe | conf/39-av.sh | Shell | gpl-2.0 | 131 |
#! /usr/bin/env bash
#
# Script to provision a new application layer detector and parser.
set -e
#set -x
# Fail if "ed" is not available.
if ! which ed > /dev/null 2>&1; then
echo "error: the program \"ed\" is required for this script"
exit 1
fi
function usage() {
cat <<EOF
usage: $0 <protocol name>
Th... | fooinha/suricata | scripts/setup-app-layer.sh | Shell | gpl-2.0 | 3,630 |
#!/usr/bin/env bash
# Basically we look for a valid path in the title of the current application
# to become the working directory for a command call.
# In order for it to work, the *full* path must naturally appear in the title
# of your application, configure your applications accordingly.
#
# We also detect URIs ... | u8sand/i3-config | scripts/context_aware_dir.sh | Shell | gpl-3.0 | 2,672 |
#!/bin/bash
#
# Copyright (C) 2012 The Android Open Source Project
#
# 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 a... | MTK6580/walkie-talkie | ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/development/tools/idegen/intellij-gen.sh | Shell | gpl-3.0 | 2,457 |
#!/bin/bash
# run this from the root of the collect-cdc-phil directory
# NOTE: deprecated
rm ./*.pyc
mv data/phil.cdc.sql data/_OLD_DB.SQL
| gameguy43/usable_image_scraper | scripts/cleanup.sh | Shell | gpl-3.0 | 140 |
#!/usr/bin/env bash
opts=''
if [[ $1 == '-d' || $1 == '--debug' ]]; then
opts='--verbose'
shift
fi
pattern=${@:-*.t}
set -e
cd "$(dirname "$0")"
BLUE='\033[0;34m'
NOCOLOR='\033[0m'
for t in $(ls $pattern); do
[[ ${t: -2} == ".t" ]] || continue
[[ -x $t ]] || continue
echo -e "\n${BLUE}=> ./$t${NOC... | dashohoxha/egpg | tests/run.sh | Shell | gpl-3.0 | 487 |
#!/bin/sh
# NOTE: mustache templates need \ because they are not awesome.
exec erl -pa ebin edit deps/*/ebin -boot start_sasl \
-sname colloxy_dev \
-s colloxy \
-s reloader
| kuenishi/colloxy | start-dev.sh | Shell | gpl-3.0 | 186 |
#!/bin/bash
docker run -ti --rm -v "/$HOME:/$HOME" -w "/$(pwd)" -p 127.0.0.1:80:8080 "geomop/jobpanel" bash -l
| GeoMop/GeoMop | docker/geomop_jobpanel/run.sh | Shell | gpl-3.0 | 113 |
#!/bin/sh
#
# Launch a local user instance of the PostgreSQL database.
#
# Copyright 2014 Chris Cummins.
#
# This file is part of pip-db.
#
# pip-db 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 versi... | ChrisCummins/pip-db | scripts/launch-db.sh | Shell | gpl-3.0 | 867 |
#!/bin/bash
# check if there is a valid mysql-client available
if [ ! -z "$(which mysql)" ]; then
MYSQL="$(which mysql)"
else
MYSQL="$(which mysqlaccess)"
fi
hostname=""
username=""
password=""
hostname=$(dialog --backtitle "Configure database" --inputbox "Enter hostname of the database" 8 52 3>&1 1>&2 2>&3 3>&-)
... | hack3d/stockanalyses-database | run.sh | Shell | gpl-3.0 | 949 |
#!/bin/bash
cd /usr/ports/ftp/wget
make -DBATCH -DWITHOUT_IPV6 install clean
| Nan0r/FreeBSD | ports/ftp/wget.sh | Shell | gpl-3.0 | 77 |
# 26_check_bootconf.sh
# inspect the /stand/bootconf file and verify that the boot-disk matches
a=$(setboot | grep Primary | awk '{ print $4 }' | sed -e 's#/#\\/#g')
[[ -z "$a" ]] && Error "setboot does not have a Primary disk!"
set -A BootableDisks $( /usr/sbin/lvlnboot -v 2>/dev/null | grep "Boot Disk" | awk '{prin... | gdha/upgrade-ux | opt/upgrade-ux/scripts/prep/hp/26_check_bootconf.sh | Shell | gpl-3.0 | 1,865 |
#!/bin/bash
git clone https://github.com/lemones/dwm/ $HOME/.dwm/source/
(cd $HOME/.dwm/source/ && make)
cp $HOME/.dwm/source/dwm $HOME/.dwm/dwm
(cd $HOME/.dwm/source/ && make clean)
| lemones/dotfiles | home/.dwm/dwm-install.sh | Shell | gpl-3.0 | 184 |
#!/bin/bash
pushd $(dirname $BASH_SOURCE) > /dev/null
curr=$(pwd)
popd > /dev/null
source "$curr/../utils/functions.sh"
git submodule update --init zsh/oh-my-zsh/
git submodule update --init zsh/zsh-autosuggestions/
git submodule update --init zsh/zsh-syntax-highlighting/
info "zsh submodules updated"
link_file "$c... | petersonev/dotfiles | zsh/configure.sh | Shell | gpl-3.0 | 356 |
#!/bin/bash
#default paths wrt the script folder
SCRIPTS_PATH="$(dirname "$(realpath "$0")")"
EXTERNAL_PATH=$SCRIPTS_PATH/../../src/external
cd $EXTERNAL_PATH
wget https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.zip
unzip boost_1_75_0.zip
rm boost_1_75_0.zip
wget https://github.com/CGA... | cnr-isti-vclab/meshlab | scripts/Windows/0_download_ext.sh | Shell | gpl-3.0 | 643 |
#!/usr/bin/env bash
HERE="$( cd "$(dirname "$0")" ; pwd -P )"
major_v=`${HERE}/../build/src/salmon -v | cut -d ' ' -f 2 | cut -d '.' -f 1`
minor_v=`${HERE}/../build/src/salmon -v | cut -d ' ' -f 2 | cut -d '.' -f 2`
patch_v=`${HERE}/../build/src/salmon -v | cut -d ' ' -f 2 | cut -d '.' -f 3`
echo "VERSION : ${major_... | COMBINE-lab/salmon | scripts/bump_version.sh | Shell | gpl-3.0 | 1,590 |
#!/bin/sh
#check if qmake / qt is available
dpkg -s "qt5-default" >/dev/null 2>&1 && {
echo "qt5-default is installed."
} || {
dpkg -s "qt4-default" >/dev/null 2>&1 && {
echo "qt4-default is installed."
} || {
echo "qt5/4-default is not installed. Lets install it!"
sudo apt-get install ... | hypergnash/Exif-Scout | generateMakefile_linux.sh | Shell | gpl-3.0 | 683 |
#!/bin/bash
# Perform an alpha or beta release of AnkiDroid
# Nicolas Raoul
# 2011/10/24
# Usage from AnkiDroid's root directory:
# tools/release.sh # For an alpha or beta release
# tools/release.sh public # For a public (non alpha/beta) release
# Suffix configuration
SUFFIX=""
#SUFFIX="-EXPERIMENTAL"
PUBLIC=$1
if [... | Ramblurr/Anki-Android | tools/release.sh | Shell | gpl-3.0 | 2,628 |
FACEBOOK_SCRIPT="<div id=\"fb-root\"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '545754518919904',
xfbml : true,
version : 'v2.5'
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementB... | debrecenics/rotaract_web | scripts/skeleton/facebook.sh | Shell | gpl-3.0 | 585 |
#!/bin/bash
rm -rf linux-5.16
tar -xf linux-5.16.tar.xz
cd linux-5.16
if [ -z "$@" ]
then
# This is for old PTS clients not passing anything per older old test profile configs that may be in suite...
export LINUX_MAKE_CONFIG="defconfig"
else
export LINUX_MAKE_CONFIG="$1"
fi
echo "make $LINUX_MAKE_CONFIG"
make "$... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/build-linux-kernel-1.13.0/pre.sh | Shell | gpl-3.0 | 351 |
#!/bin/sh
# test splitting into round-robin chunks
# Copyright (C) 2010-2019 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
... | komh/coreutils-os2 | tests/split/r-chunk.sh | Shell | gpl-3.0 | 2,009 |
set -x
src=/data/local/log/app_monitor
cnt=`ls data/ | wc -l`
cnt=$((cnt+1))
dest="data/data.$cnt"
mkdir $dest
adb pull $src $dest/
for f in $dest/*;
do
ff=`basename $f`
if [ -s "$f" ]; then
adb shell "rm $src/$ff"
else
rm -f "$f"
fi
done
adb shell showprop.sh /sys/devices/system/cpu/cpufreq/\*/ > $dest/set... | mkaluza/project-zen | data/download.sh | Shell | gpl-3.0 | 326 |
#!/bin/bash
#Job time
#$-l h_rt=120:00:00
#Request resources
#$-l mem=12G -l rmem=8G
#Cores
#$ -pe openmp 12
#Queue
#$ -P hidelab
#Job Name
#$-N MSBB_PLQ_R2
module load apps/R/3.3.1
module load compilers/gcc/5.3
R CMD BATCH --no-save --no-restore /shared/hidelab2/user/md4zsa/Work/Amberkar_Scripts/msbb_rnaseq201... | hidelab/Amberkar_Scripts | msbb_rnaseq2016_analysis.sh | Shell | gpl-3.0 | 332 |
sed 's/$/;/' <$1 >$2 | cosminrentea/roda | script/post-process-sql.sh | Shell | gpl-3.0 | 20 |
#!/bin/bash
if which pip3>/dev/null 2>&1 ;
then
echo 0 > ~/install-exit-status
else
echo "ERROR: Python pip3 is not found on the system! This test profile needs Python pip3 to proceed."
echo 2 > ~/install-exit-status
fi
pip3 install --user selenium
unzip -o selenium-scripts-8.zip
# Drivers
tar -xf geckodriver-v0... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/system/selenium-1.0.15/install_macosx.sh | Shell | gpl-3.0 | 1,120 |
#!/bin/bash
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of Docker REDHAWK.
#
# Docker REDHAWK is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as publishe... | Geontech/docker-redhawk-ubuntu | Dockerfiles/files/etc/omnicfg-updater.sh | Shell | gpl-3.0 | 1,140 |
#!/bin/bash
######################################
######################################
## Desenvolvido por : ##
## Alessandro Librelato ##
## Roberto Fettucia ##
## ##
## OS : DEBIAN Whezzy ##
## Data : 12/03/2014 ##
## Versao : 2.0 ##
## ##
######################################
... | alibrelato/scripts | SMS/sms_versaoFinal/usr/local/bin/backup/redundanciaModem1.sh | Shell | gpl-3.0 | 8,958 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="6"
pegasus_lite_version_patch="0"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_exit INT TERM EXIT
echo -e "\n################################ Setting up workdir ###############################... | elainenaomi/sciwonc-dataflow-examples | sbbd2016/data/google-cloud/w-11/dags/elaine.n.watanabe/pegasus/example_workflow/20160510T234054+0000/calculateratio_5_ID0000010.sh | Shell | gpl-3.0 | 1,098 |
#!/bin/bash
STEAM_GAME_ID=222880
GAME_BINARY=insurgency_linu
export HOME=$DEBUG_REAL_HOME
sleep 3
steam steam://run/$STEAM_GAME_ID &
sleep 15
GAME_PID=`pgrep $GAME_BINARY`
echo '#!/bin/sh' > steam-env-vars.sh
while read -d $'\0' ENV; do NAME=`echo $ENV | cut -d= -f1`; VAL=`echo $ENV | cut -d= -f2`; echo "export $NAM... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/insurgency-1.2.0/pre.sh | Shell | gpl-3.0 | 446 |
source ${prefix}/func.sh;
set root=${grubfm_device};
if [ -f "${theme_std}" ];
then
export theme=${theme_std};
fi;
configfile "${grubfm_file}";
| a1ive/grub2-filemanager | boot/grubfm/rules/cfg/grub2.sh | Shell | gpl-3.0 | 147 |
set -x
source activate root
#python mkmov.py sossheig --lmask 0 --cmap Set3 -o /srv/ccrc/data42/z3457920/mkmovmovies4/1_TROPAC01-TRC001_5d_sossheig_Set3.mov /srv/ccrc/data42/z3457920/RawData/NEMO/TROPAC01-TRC001/perday/1_TROPAC01-TRC001_5d_*T.nc &> /srv/ccrc/data42/z3457920/mkmovmovies4/4.log &
#python mkmov.py sossh... | chrisb13/mkmov | examples/youtube_examples.sh | Shell | gpl-3.0 | 4,523 |
#!/bin/sh
#create folders on config
mkdir -p /config/media/incoming
mkdir -p /config/media/podcast
mkdir -p /config/playlists
#mkdir -p /config/playlists/import
#mkdir -p /config/playlists/export
#mkdir -p /config/playlists/backup
mkdir -p /config/transcode
#copy transcode to config directory - transcode directory is... | ironcross13/ICC-Subsonic | start.sh | Shell | gpl-3.0 | 1,481 |
#!/bin/bash
#
# Set up nextcloud.
#
# Copyright (C) 2017-2019 Rainer Emrich, <rainer@emrich-ebersheim.de>
#
# This file 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... | RainerEmrich/install-cloud-server | scripts/setup.nextcloud.sh | Shell | gpl-3.0 | 13,817 |
#!/bin/bash
check_success() {
if [ "$?" != "0" ]; then
echo "stop build"
exit 1
fi
}
echo "building project..."
git pull coding master
check_success
mvn clean install -Dmaven.test.skip=true
check_success
echo "deploying static resources..."
rm -rf /www/resources/*
cp -r /root/projects/taoli... | fuhongliang/taolijie | server-deploy.sh | Shell | gpl-3.0 | 1,329 |
#!/bin/bash
# vim: ts=4:sw=4
. ~/plescripts/plelib.sh
. ~/plescripts/cfglib.sh
. ~/plescripts/vmlib.sh
. ~/plescripts/global.cfg
EXEC_CMD_ACTION=EXEC
typeset -r ME=$0
typeset -r PARAMS="$*"
# Si define_new_server.sh est appelé 2 fois de suite l'adresses IP du second
# serveur sera la même que pour le premier.
# Il e... | PhilippeLeroux/plescripts | database_servers/check_if_all_servers_exists.sh | Shell | gpl-3.0 | 1,325 |
#!/bin/bash
./compile_54.sh
./compile_55.sh
./compile_56.sh
./compile_70.sh
| yfix/phpfarm | src/compile_all.sh | Shell | agpl-3.0 | 77 |
#!/bin/bash
echo "Launch DTLZ4...."
./dtlz4
echo "Start plot script..."
R < script3D.R --save > plot_info
echo "Done"
| EASEA/easea | examples/dtlz/dtlz4/launch.sh | Shell | agpl-3.0 | 120 |
sudo ovs-vsctl -- --may-exist add-br br-ex
sudo ovs-vsctl br-set-external-id br-ex bridge-id br-ex
sudo ip addr flush dev br-ex
sudo ovs-vsctl set Bridge br-ex other_config:disable-in-band=true
sudo ip addr add 172.24.4.1/24 dev br-ex
sudo ip link set br-ex up
sudo route add -net 10.0.0.0/24 gw 172.24.4.2
| oguzy/devstack-conf | fix-br.sh | Shell | agpl-3.0 | 307 |
#!/bin/sh -e
echo "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" | sudo tee /etc/default/jetty
sudo cp ckan/ckan/config/solr/schema.xml /etc/solr/conf/schema.xml
sudo service jetty restart
nosetests --nologcapture --with-pylons=subdir/test.ini --with-coverage --cover-package=ckanext.eurovoc ... | ckan/ckanext-eurovoc | bin/travis-run.sh | Shell | agpl-3.0 | 365 |
#!/bin/bash
set -uo pipefail
set -e
set -vx
MAKE_J=$(grep -c processor /proc/cpuinfo)
./bootstrap.sh
./configure
make -j $MAKE_J
make -j $MAKE_J check
mkdir -p /root/rpmbuild/SOURCES/
make dist-gzip
cp *.tar.gz /root/rpmbuild/SOURCES/
rpmbuild -ba libvpd.spec
| kamalesh-babulal/libvpd | libvpd-ci/build-fedora-33.sh | Shell | lgpl-2.1 | 262 |
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
#
# Test harness for the atomic CLI.
#
export PYTHONPATH=${PYTHONPATH:-$(pwd)}
export WORK_DIR=$(mktemp -p $(pwd) -d -t .tmp.XXXXXXXXXX)
export DOCKER=${DOCKER:-"/usr/bin/docker"}
export SECRET=`dd if=/dev/urandom bs=4096 count=1 2> /dev/null | sha256sum`
export ATOMIC_LIBEXEC... | rh-atomic-bot/atomic | test.sh | Shell | lgpl-2.1 | 4,953 |
#!/bin/sh
#
# gen-news.sh for libquvi-scripts
# Copyright (C) 2012 Toni Gundogdu
#
# This library 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 2.1 of the License, or (at your option... | hadess/libquvi-scripts-iplayer | gen-news.sh | Shell | lgpl-2.1 | 1,218 |
#! /bin/sh
# Configure your paths and filenames
SOURCEBINPATH=.
SOURCEBIN=svirfneblin-panel
SOURCEDOC=README.md
DEBFOLDER=svirfneblin-panel
DEBVERSION=$(date +%Y%m%d)
if [ -n "$BASH_VERSION" ]; then
TOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
else
TOME=$( cd "$( dirname "$0" )" && pwd )
fi
cd $TOME
gi... | cmotc/svirfneblin-panel | debian.sh | Shell | lgpl-3.0 | 2,975 |
#!/bin/bash
java -jar xpdutils-demo.jar
| lmu-bioinformatics/xmlpipedb | xmlpipedbutils/scripts/xpdutils.sh | Shell | lgpl-3.0 | 40 |
#!/usr/bin/env bash
case "$1" in
info100)
tail -n100 /var/toughradius/logs/toughradius.`date +%Y%m%d`.log
;;
info1000)
tail -n1000 /var/toughradius/logs/toughradius.`date +%Y%m%d`.log
;;
err100)
tail -n100 /var/toughradius/logs/toughradius-error.`date +%Y%m%d`.log
;;
err1000)
tail -n... | talkincode/ToughRADIUS | scripts/radlog.sh | Shell | lgpl-3.0 | 394 |
#run as root
#for ubuntu 16.04
echo "please type domain name:"
read domain
echo "enter postfix password:"
read password
#set timezone to UTC
sudo timedatectl set-timezone Etc/UTC
apt-get update
#install curl
apt-get install -y curl
#install git
apt-get install -y git
#install node
#curl -sL https://deb.nodesourc... | dtruel/ubuntu-node-setup | setup.sh | Shell | unlicense | 5,592 |
# Aliases
alias ls="ls -h --color=auto"
alias ll='ls -alF'
alias la='ls -A'
alias temon="watch -d -t -n1 sensors"
alias editor="$EDITOR"
# Toggle powerline fonts for nvim
function plon { export POWERLINE_FONTS=true; }
function ploff { export POWERLINE_FONTS=; }
if [ -z "${POWERLINE_FONTS+x}" ]; then
case "$TERM" in... | NelsonCrosby/-nelsonc | bash/functions.bash | Shell | unlicense | 464 |
#!/bin/bash
echo "Starting system processes..."
/usr/bin/supervisord
sleep 1m
echo "Prime OSQA Database..."
cd /home/osqa/bash
echo "no" | python manage.py syncdb --all
python manage.py migrate forum --fake
echo "Restarting Web Server..."
/etc/init.d/apache2 restart
| vinomaster/osqa-docker | prime-osqa-db.sh | Shell | apache-2.0 | 268 |
#!/usr/bin/env bash
rm -rf 'out/'
mkdir -p 'out/providers'
mkdir -p 'out/provisioners'
# Since 0.7.0 all plugins compiled into main binary, so let's just check sources
ls builtin/providers > 'out/providers.list'
ls builtin/provisioners > 'out/provisioners.list'
# Pre 0.7.0 search for providers and provisioners
#ls b... | VladRassokhin/utilities | shell-scripts/terraform-export-schemas.sh | Shell | apache-2.0 | 1,025 |
#!/usr/bin/env sh
# Simple script to automatically calls the gradle wrapper
# Benefits:
# * Allows the user to cancel the process (5s buffer)
# * Captures the terminal window on finish, allowing users to read through the build log.
# * Clears the terminal after it's completed.
echo "This script will attempt to build ... | CyR1en/MineCordBot | build.sh | Shell | apache-2.0 | 752 |
rsync -avP sdss:/home/lxiong/www/iii/db/iii_web.db3 .
| excelly/xpy-ml | sdss_iii/web_report/sync.sh | Shell | apache-2.0 | 54 |
#!/bin/bash
#current_branch=$(git branch | grep \* | sed 's/\* //g')
php ./lib/Ebanx/vendor/squizlabs/php_codesniffer/bin/phpcs --extensions=php,phtml -v -n --parallel=20 .
| ebanx/magento-gateway-ebanx | tests/bin/lint.sh | Shell | apache-2.0 | 173 |
#!/bin/bash
cd
cd workspace/cmdev/norma
target/appassembler/bin/norma
target/appassembler/bin/norma --project tutorial
| ContentMine/cm-ucl | tutorial1/tutorial.sh | Shell | apache-2.0 | 124 |
#!/bin/bash
cd $RECIPE_DIR
# echo "Building !!!!" `pwd`
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
| INGEOTEC/b4msa | build.sh | Shell | apache-2.0 | 138 |
#!/bin/bash
go run proxy.go $@
| xoba/cran | run.sh | Shell | apache-2.0 | 31 |
#!/bin/bash
set -e
set -u
set -o pipefail
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
__proj_dir="$(dirname "$__dir")"
. "${__dir}/common.sh"
_info "running the example ${__proj_dir}/examples/cpu-file.sh"
export PLUGIN_PATH="/etc/snap/path"
source "${__proj_dir}/examples/cpu-file.sh"
_debug "sleeping f... | intelsdi-x/snap-plugin-collector-cpu | scripts/large_tests.sh | Shell | apache-2.0 | 918 |
#!/usr/bin/env bash
# Just a helper script to package a running Vagrant environment.
if [[ -z $1 ]]; then
echo "usage: $0 VERSION"
exit 1
fi
version=$1
rm -f working.tar.bz2
touch working/.placeholder
tar cjf working.tar.bz2 working
vagrant package \
--output=openstack-manuals-$version.box \
--vagran... | savinash47/openstack-doc-tools | build_environment/bin/package.sh | Shell | apache-2.0 | 374 |
#!/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 ... | googleapis/java-network-security | .kokoro/release/publish_javadoc11.sh | Shell | apache-2.0 | 1,863 |
#!/bin/sh
java -server -Xms1G -Xmx1G -Djava.net.preferIPv4Stack=true -cp ../lib/hazelcast-2.5.jar com.hazelcast.examples.StartServer
| health-and-care-developer-network/health-and-care-developer-network | library/hazelcast/2.5/hazelcast-2.5/bin/server.sh | Shell | apache-2.0 | 136 |
#!/bin/sh
#
# Copyright 1999-2004 The Apache Software 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
#
# Unless requi... | rherardi/xml-xalan-c-src_1_10_0 | build.sh | Shell | apache-2.0 | 2,034 |
#!/usr/bin/env bash
set -xeuo pipefail
docker run \
-it --rm \
-v "$PWD":/application \
packsdkandroiddocker.image \
sh -c "$@" | Haldir65/AndroidRepo | scripts/pack_sdk_docker_run.sh | Shell | apache-2.0 | 135 |
pre_uc_install_wa ()
{
# Workarounds needed prior undercloud install.
HOST=$1
# Workarounds that are needed to be run inside a node go in this script:
echo "Running pre-undercloud install workarounds."
cat > pre_uc_install_wa <<EOF
### Workrounds go here
# This is to avoid some dependancy hell.
fo... | cmyster/coti | functions/pre_uc_install_wa.sh | Shell | apache-2.0 | 693 |
# Tomcat Custom configuration
CATALINA_OPTS="-server -d64 -XX:+AggressiveOpts -Djava.awt.headless=true -XX:MaxGCPauseMillis=500 -XX:MaxPermSize=${MAXPERM} -XX:PermSize=${PERM} -Xmx${MAXMEM} -Xms${MINMEM} -Xincgc"
if $JMX ; then
CATALINA_OPTS="${CATALINA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=${DEBUG_... | sdd330/alpine-tomcat-oraclejdk | setenv.sh | Shell | apache-2.0 | 663 |
#!/bin/ash
if /usr/local/bin/confd -onetime -backend env
then
echo
echo "w00t w00t!! config has been generated, let's start nginx now"
nginx -g 'daemon off;'
else
echo "You failed at starting confd and/or nginx properly"
fi | looztra/dockerfiles | nginx-confd/startup.sh | Shell | apache-2.0 | 243 |
#!/bin/bash
CLANG_VERSION=9.0.0
CLANG_DIR=clang+llvm-$CLANG_VERSION-x86_64-linux-gnu-ubuntu-16.04
curl https://releases.llvm.org/$CLANG_VERSION/$CLANG_DIR.tar.xz | tar xfJ -
sudo rm -rf /usr/local/bin/clang* /usr/local/lib/clang
sudo cp -rf $CLANG_DIR/bin/* /usr/local/bin
sudo cp -rf $CLANG_DIR/lib/clang /usr/local... | google/fuzzing | tutorial/libFuzzer/install-clang.sh | Shell | apache-2.0 | 343 |
#!/bin/bash
python -m http.serve 5000&
echo "Everything is great!"
sleep 100000
| gravitational/workshop | prod/background/start.sh | Shell | apache-2.0 | 82 |
#!/bin/sh
cd $HOME
export VistADir=$HOME/VistA-Instance
export gtm_dist=/usr/lib/fis-gtm/V5.5-000_x86
mkdir -p $VistADir
mkdir -p $VistADir/r
mkdir -p $VistADir/o
mkdir -p $VistADir/g
mkdir -p $VistADir/inet
mkdir -p $VistADir/inet/Logs
export gtmprofilefile=$gtm_dist/gtmprofile
echo $gtmprofilefile
export gtmgbldir=$V... | luisibanez/VistA-installation-scripts | Scripts/GTM/installVistAinUserAccountForGTM32bits.sh | Shell | apache-2.0 | 719 |
#! /bin/bash
export APP_HOME=`cd $(dirname $0)/; pwd`
export DEEPDIVE_HOME=`cd $(dirname $0)/../../../; pwd`
# Database Configuration
export DBNAME=deepdive_spouse_tsv
export PGUSER=${PGUSER:-`whoami`}
export PGPASSWORD=${PGPASSWORD:-}
export PGPORT=${PGPORT:-5432}
export PGHOST=${PGHOST:-localhost}
# Initialize da... | feiranwang/deepdive | examples/spouse_example/tsv_extractor/run.sh | Shell | apache-2.0 | 489 |
#!/bin/bash
set -e
locales=$(ls locales | grep -v 'en-US')
for locale in $locales; do
js_locale=$(echo $locale | tr '[:upper:]' '[:lower:]' | tr '-' '_')
### Dashboard
orig_dir=projects/dashboard/config/locales
loc_dir=locales/$locale/dashboard
en_dir=locales/en-US/dashboard
# Special case the un-pre... | nanan9177/cdo-i18n | out.sh | Shell | apache-2.0 | 2,342 |
#!/usr/bin/dumb-init /bin/sh
set -e
# If the config directory has been mounted through -v, we chown it.
if [ "$(stat -c %u ${SNOWPLOW_CONFIG_PATH})" != "$(id -u snowplow)" ]; then
chown -R snowplow:snowplow ${SNOWPLOW_CONFIG_PATH}
fi
ENTRYPOINT=/opt/docker/bin/iglu-server
# Make an artifact executable for snowplow... | snowplow/iglu | 2-repositories/iglu-server/scripts/docker-entrypoint.sh | Shell | apache-2.0 | 444 |
#!/usr/bin/expect -f
#if { $argc < 3 } {
# puts stderr "Usage: $argv0 IPAdress Login OldPasswd"
# exit 1
#}
set IPADDR [lindex $argv 0]
set LOGIN [lindex $argv 1]
set OLD_PW [lindex $argv 2]
set timeout 30
#用EXPECT实现用密码登录,也可配置成不需要密码
stty -echo
#spawn ssh $IPADDR -l $LOGIN
#spawn ssh -l crluser 9.186.61.120
#spa... | linzhaolover/myansible | remote/myvm101.sh | Shell | apache-2.0 | 925 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.