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
echo "Decoding audio from $1"
utterance_wav=$1
utterance_txt=$2
output_dir=$3
echo "Utterance wav: $utterance_wav Utterance text: $utterance_txt Output dir: $output_dir"
cd ./for_trish
./run_single_utt.sh $utterance_wav $utterance_txt $output_dir
# timing results in output_dir/time/utterance_id.txt | psaylor/ORCA | server/call_script.sh | Shell | mit | 317 |
#!/bin/bash
# Author: Robin Wen
# Date: 16:36:14 22/12/2014
# Desc: Auto gen testing reports via crontab.
script_path=YOUR_PATH
if [ $? -eq 0 ];then
# Update the repo via git.
cd $script_path && ./auto_deploy_app_remote.py -u
fi
if [ $? -eq 0 ];then
# Auto generate testing reports.
cd $script_path && ./auto_de... | dbarobin/python-auto-deploy | auto_gen_testing_reports/auto_gen_testing_reports.sh | Shell | mit | 447 |
read_config() {
source config
if [[ -z "$GRUB_INSTALL" ]]; then
echo "GRUB install device is not configured"
exit 1
fi
if [[ -z "$MOUNT_POINT" ]]; then
echo "Mount point is not configured"
exit 1
fi
if [[ -z "$HOSTNAME" ]]; then
echo "Hostname variable is not configured"
exit 1
f... | ahirata/env | arch-install/functions.sh | Shell | mit | 2,852 |
#!/bin/sh -e
LUTEFISKDEMO_HOME="$(dirname $0)"/..
export LUTEFISKDEMO_HOME
. "${LUTEFISKDEMO_HOME}"/etc/common
print_usage_and_die()
{
echo "Usage: $(basename $0) [start | stop | restart]"
exit 1
}
OPTION="$1"
case "${OPTION}" in
start)
${ASROOT} lighttpd -f "${LUTEFISKDEMO_ETC}"/lighttpd.conf
;;... | rentalita/django-lutefiskdemo | bin/lighttpd.sh | Shell | mit | 638 |
#!/bin/bash
#
# Make sure you've created ext-rtr before running this script.
#
neutron net-create ext-net --router:external --provider:physical_network public --provider:network_type flat
neutron subnet-create --name ext-subnet --allocation-pool start=192.168.56.9,end=192.168.56.14 --disable-dhcp --gateway 192.168.5... | shague/odl_tools | os_addextnet.sh | Shell | mit | 400 |
#!/bin/sh
for j in {1..100}
do
cp code/srn_RF_reduced_vars_reference.pbs code/reduced_srn/srn_reduced_run_${j}_RF.pbs
sed -i -e "s/run_1_RF\.R/run_${j}_RF\.R/g" code/reduced_srn/srn_reduced_run_${j}_RF.pbs
done | SchlossLab/Sze_FollowUps_Microbiome_2017 | code/old/srn_create_reducedVars_pbs.sh | Shell | mit | 213 |
#!/bin/bash
parent_path=$( cd "$(dirname "${BASH_SOURCE}")" ; pwd -P )
cd "$parent_path"
composer_command="composer"
command -v "$composer_command" >/dev/null 2>&1 || {
composer_command="composer.phar"
}
$composer_command install
./vendor/bin/browscap-php browscap:update --cache ./data --remote-file Full_PHP_B... | diablomedia/useragent-parser-comparison | parsers/browscap-php-3-full/prepare.sh | Shell | mit | 331 |
#!/usr/bin/env bash
QMK_FOLDER=~/Documents/Code/Utils/QMK\ Firmware/
pushd "$QMK_FOLDER" > /dev/null
teensy_loader_cli -mmcu=atmega32u4 -w -v ergodox_ez_sk.hex
popd > /dev/null
| szymonkaliski/Dotfiles | Dotfiles/qmk/ergodox_sk/upload.sh | Shell | mit | 181 |
#!/bin/sh
. $(dirname "$0")/init.sh
# Tests whether -b correctly reads multiline cells:
define expectedOutput <<-EOT
$MLC1: $MLVA1
$MLC2: $MLVA2
$RECORDSEP
$MLC1: $MLVB1
$MLC2: $MLVB2
$RECORDSEP
$MLC1: $MLVC1
$MLC2: $MLVC2
EOT
assertCmdEq "$CSV -abm < $SAMPLE/multiline.csv" "$expectedOutput" \
"csv -b did n... | mle86/csv-parser | test/02-test-multiline.sh | Shell | mit | 363 |
#! bash/bash Completion support for Editing commands.
# Alias
# ---------------------------------------------------------------------------------------
alias initbash='restore_bash_profile'
# Functions
# ---------------------------------------------------------------------------------------
edit_bash_utils() {
... | comodinx/bash-utilities | scripts/helpers/utils/editing.bash | Shell | mit | 533 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: <%= routine_name %>
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Manage <%= routine_name %>
# Description: Start, Stop, Restart <%= routine_name %>
###... | georgia-cms/georgia_recipes | lib/georgia_recipes/templates/routine_init.erb.sh | Shell | mit | 1,316 |
#!/usr/bin/env sh
java -cp *:lib/*:lib/laf/* scsvlog.ScsvLog 2>stderr.log
| tardigrade888/scsvlog | repo/tools/scsvlog.sh | Shell | mit | 74 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2010:0632
#
# Security announcement date: 2010-08-25 13:07:10 UTC
# Script generation date: 2017-01-01 21:12:49 UTC
#
# Operating System: Red Hat 5
# Architecture: i386
#
# Vulnerable packages fix on version:
# - qspice-client.i386:0.3.0-4.el5_5
# - qs... | Cyberwatch/cbw-security-fixes | Red_Hat_5/i386/2010/RHSA-2010:0632.sh | Shell | mit | 766 |
#!/bin/sh
coursera-dl -n --aria2 -- $1
| MOOCFetcher/moocfetcher-scripts | download/download_offline.sh | Shell | mit | 40 |
#!/bin/bash
# This script downloads and installs the latest Oracle Java 8 for compatible Macs
# Save current IFS state
OLDIFS=$IFS
IFS='.' read osvers_major osvers_minor osvers_dot_version <<< "$(/usr/bin/sw_vers -productVersion)"
# restore IFS to previous state
IFS=$OLDIFS
# Specify the "OracleUpdateXML" variab... | rtrouton/rtrouton_scripts | rtrouton_scripts/install_latest_oracle_java_8/payload_free_installer/payload_free_installer_script/install_latest_oracle_java_8_payload_free.sh | Shell | mit | 4,243 |
curl -LSo "./icu4c-56_rc-src.tgz" "http://download.icu-project.org/files/icu4c/56rc/icu4c-56_rc-src.tgz"
# curl -LSo "./icu4c-56_rc-data.zip" "http://download.icu-project.org/files/icu4c/56rc/icu4c-56_rc-data.zip"
| bearlin/study_icu4c | 1_download.sh | Shell | mit | 214 |
sed "s/ the / this /"
| JsWatt/Free-Parking | hacker_rank/contests/7_days_of_linux_text_processing/sed_1.sh | Shell | mit | 22 |
#!/bin/bash
# exit on failure
set -e
#
# Public functions
#
quality()
{
if [[ ! -z $FAUXPAS_LICENSE_TYPE ]]; then
message "quality" "Installing quality tool prerequisites..." debug normal
brew tap caskroom/cask
brew install brew-cask
message "quality" "Installing Faux Pas..." debug normal
br... | Legoless/Dominus | scripts/library/quality.sh | Shell | mit | 2,875 |
#!/usr/bin/env bash
if [ ! -f /tmp/key.gpg ]; then
echo "This script is intended for CI usage by arma3-unix-launcher, you shouldn't run it manually"
exit 1
fi
set -euo pipefail
mkdir /tmp/steamworks && cd /tmp/steamworks >/dev/null 2>&1
wget https://github.com/muttleyxd/gpg_encrypted_secrets/releases/download... | muttleyxd/arma3-unix-launcher | tools/ci/obtain-steamworks.sh | Shell | mit | 511 |
#!/bin/sh
ADDR="http://localhost:8080/clamorous/publish"
if [ -n "$1" ]; then
ADDR=$1
fi
while read LN; do
echo $LN | curl -XPOST $ADDR -d @-
echo ""
done
| sumerman/clamorous | utils/send.sh | Shell | mit | 159 |
#!/bin/bash
PHPMINVERSION='5.4.0'
PHPVERSION=`php -r "echo phpversion();"`
PHPCORRECTVERSION=`php -r "echo version_compare(phpversion(), '$PHPMINVERSION');"`
GREEN="\033[1;32m"
RED="\033[1;31m"
BLUE="\033[1;34m"
YELLOW="\033[1;33m"
ENDCOLOR="\033[0m"
echo -e "${BLUE}[BEGIN]${ENDCOLOR} Beginning MajorApi development ... | brightmarch/major-api | build-dev.sh | Shell | mit | 3,427 |
#!/bin/sh
set -e
# Set correct persimissions so that gnupg doesn't complain
# use -L in find to follow symlinks, since macstrap symlinks the folder to somewhere else
find -L ~/.gnupg -type f -exec chmod 600 {} \; # Set 600 for files
find -L ~/.gnupg -type d -exec chmod 700 {} \; # Set 700 for directories | guylabs/macstrap-config | custom-scripts/post-install-2-gnupg-permissions.sh | Shell | mit | 306 |
#!/bin/bash
#PRODUCT: release
#SDEP:
#HDEP: release_start.sh
source ../helper/common.sh
touch 'badFile'
exit 0
| amplify-education/rcubic | examples/release/resch/resch_touch_file.sh | Shell | mit | 114 |
#!/bin/bash
set -x
set -e
apt-get update
apt-get install -y --no-install-recommends \
xvfb \
xauth \
chromium \
chromium-driver \
cp -frv /build/files/* / || true
source /usr/local/build_scripts/cleanup_apt.sh
| nfq-technologies/docker-images | chromedriver83/build/setup_docker.sh | Shell | mit | 221 |
#/bin/bash
if [[ ! "$WORKSPACE" = /* ]] ||
[[ ! "$PATH_TO_PLUGIN" = /* ]] ||
[[ ! "$PATH_TO_REDMINE" = /* ]];
then
echo "You should set"\
" WORKSPACE, PATH_TO_PLUGIN, PATH_TO_REDMINE"\
" environment variables"
echo "You set:"\
"$WORKSPACE"\
"$PATH_TO_PLUGIN"\
"$PATH_TO_REDM... | gordev/redmine_remote_git | .travis-init.sh | Shell | mit | 3,283 |
#!/bin/bash
./scripts/parallel --tag <<EOF
cd test-projects/01-basic-app && yarn test:fastboot
cd test-projects/01-basic-app && yarn test
cd test-projects/02-app-that-excludes-mirage && yarn test
cd test-projects/03-app-that-uses-make-server && yarn test
EOF
| unchartedcode/ember-cli-mirage | scripts/test.sh | Shell | mit | 260 |
#!/bin/bash
curl -i -X POST -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "method": "mmrp.findMultimodalPaths", "params": [ { "available_public_modes": ["underground", "tram"], "can_use_taxi": false, "has_bicycle": false, "has_motorcycle": false, "has_private_car": true, "need_parking": true, "objective":... | tumluliu/mmrp-jsonrpc | aws_sample_request.sh | Shell | mit | 588 |
#! /bin/sh
### BEGIN INIT INFO
# Provides: pibotservice
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: PiBot!
### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
. /lib/init/vars.sh
. /lib/lsb/in... | yurigorokhov/go-pibot | scripts/pibotservice.sh | Shell | mit | 1,035 |
#!/bin/sh
# copyright: (c) 2014 by Josh "blacktop" Maine.
# license: MIT
set -x
ERROR_RATE=0.001
if [ -f /nsrl/*.zip ]; then
echo "File '.zip' Exists."
else
echo "[INFO] Downloading NSRL Reduced Sets..."
NSRL_URL="http://www.nsrl.nist.gov/"
MIN_SET=$(wget -O - ${NSRL_URL}Downloads.htm 2> /dev/null | ... | blacktop/docker-nsrl | error/nsrl/shrink_nsrl.sh | Shell | mit | 862 |
#!/bin/bash
set -xe
echo "Storage before clean:"
df -h || true
rm -rf ~/.cache/pipenv/http
rm -rf ~/.cache/yarn
pushd ~/Downloads
DOWNLOADS_SIZE=$(ls-by-size | head -1 | cut -f 1)
echo "Size of ~/Downloads: $DOWNLOADS_SIZE"
popd
# Redundant since also done by `yay -Scc`
#sudo pacman -Sc --noconfirm
yay -Scc
echo... | ErikBjare/dotfiles | home/.bin/clean.sh | Shell | mit | 350 |
#!/bin/bash
cp ./support/package.cjs.json ./build/cjs/package.json
cp ./support/package.esm.json ./build/esm/package.json
cp -r ./build/esm/ ./build/esm-debug/
sed -i '/debug(/d' ./build/esm/*.js ./build/esm/**/*.js
| Automattic/engine.io-client | postcompile.sh | Shell | mit | 219 |
#!/bin/bash
# run this script from /var/www
# check if /var/www/app exists
if [ -d /var/www/app ]
then
# directory does exist
echo 'Directory /var/www/app does exist!'
else
mkdir /var/www/app
fi
# check if /etc/apache2/sites-available/app.conf exists and if not download and install it
if [ -f /etc/apac... | ssglopes/angular2-project-starter | install.sh | Shell | mit | 8,135 |
#! /bin/sh
echo "$CRON_SCHEDULE root /usr/local/bin/python /app/flickr_email.py $CRON_POSTFIX" > /etc/cron.d/flickr_email
chmod 0644 /etc/cron.d/flickr_email
/usr/bin/crontab /etc/cron.d/flickr_email
cron -f
| paour/flickr_email | start.sh | Shell | mit | 210 |
#!/bin/bash
# refer spf13-vim bootstrap.sh`
BASEDIR=$(dirname $0)
cd $BASEDIR
CURRENT_DIR=`pwd`
lnif() {
if [ -e "$1" ]; then
ln -sf "$1" "$2"
fi
}
echo "Step1: backing up current vim config"
today=`date +%Y%m%d`
for i in $HOME/.vim $HOME/.vimrc $HOME/.gvimrc $HOME/.vimrc.bundles; do [ -e $i ] && [... | MikeCoder/m-vim.vimrc | install.sh | Shell | mit | 708 |
#! /bin/sh
# Compile and generate the Railo server and default web templates
tpage2 --envvars --compile_ext=.ttc --trim --include_path=/opt/railo/config/includes \
/opt/railo/config/includes/railo_web.xml > /opt/railo/config/web/ROOT/railo-web.xml.cfm
tpage2 --envvars --compile_ext=.ttc --trim --include_path=/opt/ra... | boomfish/docker-cfml-engines | railo/setup_railo.sh | Shell | mit | 441 |
ff() { find . -name "$1"; } # Find file under the current directory
ffs() { find . -name "$1"'*'; } # Find file whose name starts with a given string
ffe() { find . -name '*'"$1"; } # Find file whose name ends with a given string
| natelandau/dotfiles | shell/searching.sh | Shell | mit | 234 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/20211_el53_dec7s1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=20211_el53_dec7s1.X.${IMAGE_TYP... | tocache/picomones | UPC Microcontroladores 2021-1/Semana 03/20211_el53_dec7s1.X/nbproject/Package-default.bash | Shell | cc0-1.0 | 1,421 |
#! /bin/sh
#
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software... | TheTypoMaster/Scaper | openjdk/jdk/make/java/nio/genExceptions.sh | Shell | gpl-2.0 | 2,409 |
#!/usr/bin/env bash
THIS_DIR=$(cd $(dirname $0); pwd)
cd $THIS_DIR
update() {
git pull
git submodule update --init --recursive
install_rocks
}
# Will install luarocks on THIS_DIR/.luarocks
install_luarocks() {
git clone https://github.com/keplerproject/luarocks.git
cd luarocks
git checkout tags/v2.3.0-rc... | xmrxx/mrx | launch.sh | Shell | gpl-2.0 | 3,202 |
#!/bin/bash
set -eo pipefail
AWS_CLI='/usr/local/bin/aws'
# if command starts with an option, prepend node
if [ "${1:0:1}" = '-' ]; then
set -- node "$@"
fi
# skip setup if they want an option that stops node
wantHelp=
for arg; do
case "$arg" in
-'?'|--help|--print-defaults|-V|--version)... | ShoppinPal/warehouse | dev-entrypoint.sh | Shell | gpl-2.0 | 1,900 |
#!/bin/sh
# tags and output versions:
# - v4.9.0 => 4.9.0 (upstream clean)
# - v4.9.0-1 => 4.9.0 (downstream clean)
# - v4.9.0-2-g34e62f => 4.9.0 (upstream dirty)
# - v4.9.0-1-2-g34e62f => 4.9.0 (downstream dirty)
AWK_VERSION='
BEGIN { FS="-" }
/^v[0-9]/ {
sub(/^v/,"") ; print $1
}'
git de... | openSUSE/vdsm | build-aux/version.sh | Shell | gpl-2.0 | 385 |
#!/bin/bash
# Copyright 2012 Carnegie Mellon University (Author: Yajie Miao)
# Johns Hopkins University (Author: Daniel Povey)
# Decoding script that computes basis for basis-fMLLR (see decode_fmllr_basis.sh).
# This can be on top of delta+delta-delta, or LDA+MLLT features.
stage=0
# Parameters in... | StevenLOL/Research_speech_speaker_verification_nist_sre2010 | SRE2010/steps/get_fmllr_basis.sh | Shell | gpl-2.0 | 3,920 |
#!/bin/sh
# tell OSX to change the boot disk
# nextonly just for the next time - without the default would be Windows
/usr/sbin/bless -mount /Volumes/BOOTCAMP -setBoot --nextonly
# reboot
/sbin/shutdown -r now
| Caleb-Shepard/Scripts | Scripts_Mac_OS/bootcamp.sh | Shell | gpl-2.0 | 214 |
#!/bin/bash
#
# Start Hadoop firewall log analysis for a given HDFS input path
#
# Directories
HADOOP_BIN='/usr/bin'
HADOOP_CONTRIB='/usr/share/hadoop/contrib'
SCRIPTDIR="./"
# Hadoop variables
NUM_REDUCERS=4
# Make sure output dir exists
if [ ! -d "./output/" ]; then
mkdir -p ./output/
fi
# Verify number of argu... | arnesund/ruleset-analysis | runAnalysis.sh | Shell | gpl-2.0 | 2,008 |
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
if [ -e /etc/lvm/lvm.conf ] && ! getargbool 1 rd.lvm.conf -d -n rd_NO_LVMCONF; then
rm -f -- /etc/lvm/lvm.conf
fi
LV_DEVS="$(getargs rd.lvm.vg -d rd_LVM_VG=) $(getargs rd.lvm.lv -d rd_LVM_LV=)"
... | zfsonlinux/dracut | modules.d/90lvm/parse-lvm.sh | Shell | gpl-2.0 | 593 |
./activator ~run ${1:-9000} | Nexysweb/play-helpers | deployment_script/play23x/johan.sh | Shell | gpl-2.0 | 27 |
#!/usr/bin/env bash
################################################################################
#
# Title : gpio_script.sh
#
# License:
#
# GPL
# (c) 2016, thorsten.johannvorderbrueggen@t-online.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Gen... | tjohann/mydriver | userspace_examples/gpio_script/gpio_script.sh | Shell | gpl-2.0 | 2,169 |
#!/bin/sh
#./runlocal.sh
sudo rm -fr /media/MULTIBOOT/RADIO3ABN/schedules/programs/*List-* /media/RadioSD/schedules/programs/*List-* /tmp/play3abn/play3abnlog.fifo /tmp/play3abn/tmp/lencache/
./i386/schedfixed
# cp -av /media/MULTIBOOT/RADIO3ABN/schedules/programs/*List-* /media/RadioSD/schedules/programs/
| downwa/radioplay | cleanrun.sh | Shell | gpl-2.0 | 309 |
#!/bin/bash
echo "Installing eZPLatform on virtual machine..."
echo "Download ezplatform by composer..."
rm -rf /var/www/html/ezplatform && cd /var/www/html
curl -s http://getcomposer.org/installer | php
php -d memory_limit=-1 composer.phar create-project --no-dev ezsystems/ezplatform /var/www/html/ezplatform
echo "... | jevillard/ezplatform-vagrant | bin/ezplatform.sh | Shell | gpl-2.0 | 2,816 |
#!/bin/bash
# Safety feature: exit script if error is returned, or if variables not set.
# Exit if a pipeline results in an error.
set -ue
set -o pipefail
#######################################################################
#
## Automatic EBS Volume Snapshot Creation & Clean-Up Script
#
# Originally written by Star... | STARTSPACE/aws-ebs-snapshot-with-tags-by-timetable | days-05/wd/days-05-wd-01.sh | Shell | gpl-2.0 | 4,894 |
#!/sbin/sh
# Kali NetHunter boot image patcher script
# Based on LazyFlasher kernel-flasher by jcadduono
## start build generated variables
boot_block=
ramdisk_compression=
## end build generated variables
# set up extracted files and directories
tmp=/tmp/nethunter/boot-patcher
ramdisk=$tmp/ramdisk
split_img=$tmp/spl... | jcadduono/kali-nethunter | nethunter-installer/boot-patcher/boot-patcher.sh | Shell | gpl-2.0 | 8,770 |
#/usr/bin env sh
SITE_PACKAGES=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
find $SITE_PACKAGES/HardcodeTray/ -name "*.py" | xargs pylint --rcfile=.pylintrc $1
| bil-elmoussaoui/Hardcode-Tray | tests/pylint.sh | Shell | gpl-2.0 | 203 |
# -*- shell-script -*-
# backtrace.cmd - gdb-like "backtrace" debugger command
#
# Copyright (C) 2008, 2016, 2018 Rocky Bernstein rocky@gnu.org
#
# kshdb 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;... | rocky/kshdb | command/backtrace.sh | Shell | gpl-2.0 | 2,347 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | spesialstyrker/boula | gen/FIFO/simulation/functional/simulate_isim.sh | Shell | gpl-2.0 | 2,874 |
#!/bin/bash
set -e
rm -rf /run/httpd/* /tmp/httpd*
tail --follow --retry \
/var/log/httpd/access_log \
/var/log/httpd/error_log \
/var/log/httpd/ssl_access_log \
/var/log/httpd/ssl_error_log \
/var/log/httpd/ssl_request_log \
/var/www/html/owncloud/data/owncloud.log \
&
/usr/sbin/httpd -t
exec /usr/sbi... | EUDAT-B2DROP/b2drop-dockerfiles | centos/wrapper.sh | Shell | gpl-2.0 | 333 |
#!/bin/bash
# Copyright (C) 2017,2018,2019 by Andy Uribe CA6JAU
# 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
# (at your option) any later versi... | juribeparada/MMDVM_HS | scripts/install_fw_dualband.sh | Shell | gpl-2.0 | 3,068 |
#!/usr/bin/env bash
# Go to DIR
cd ~/WP-EditCount-Bot
# Get the last version
git pull
# Install any new package (prod-only)
npm install --production
# Start
/shared/bin/node lib/bot.js
| ValentinBrclz/WP-EditCount-Bot | run.sh | Shell | gpl-3.0 | 188 |
#!/bin/bash
/usr/bin/mysqld_safe > /dev/null 2>&1 &
RET=1
while [[ RET -ne 0 ]]; do
echo "=> Waiting for confirmation of MySQL service startup"
sleep 5
mysql -uroot -e "status" > /dev/null 2>&1
RET=$?
done
mysql -uroot -e "CREATE USER '${MYSQL_USER}'@'%' IDENTIFIED BY '${MYSQL_PASS}'"
mysql -uroot -e... | kaushalkishorejaiswal/Docker-MySQL | mysql_user.sh | Shell | gpl-3.0 | 419 |
#!/bin/sh
set -e
# Computes error in ground-state energy when nonparabolicity is ignored
#
# This script is part of the QWWAD software suite. Any use of this code
# or its derivatives in published work must be accompanied by a citation
# of:
# P. Harrison and A. Valavanis, Quantum Wells, Wires and Dots, 4th ed.
# ... | QWWAD/qwwad | examples/numerical-solutions/nonparabolic-dE-vs-width.sh | Shell | gpl-3.0 | 2,902 |
$JPSIKKROOT/share/mkopt.py sel /bes3fs/offline/data/664p03/psip/12mc/dst/ mc12 -p mc12
$JPSIKKROOT/share/mkpbs.py -p mc12 -n 5 mc12
| ekherit/JpsiKK | bin/mkmc12.sh | Shell | gpl-3.0 | 136 |
#!/bin/bash
#1i
. /opt/ownsec/ITSEC-Install-Scripts-ORIG/001.functions/all-scripts.sh
GITREPO=https://github.com/websploit/websploit.git
BRANCH=master
GITREPOROOT=/opt/ITSEC/3.Exploitation-Tools/websploit/websploit/websploit
GITCONFDIR=/opt/ITSEC/3.Exploitation-Tools/websploit/websploit/websploit/.git
GITCLONEDIR=/op... | alphaaurigae/ITSEC-Install-Scripts | ITSEC-Install-Scripts-ORIG/3.Exploitation-Tools/websploit/websploit-update.sh | Shell | gpl-3.0 | 1,328 |
#!/bin/bash
autoreconf --install --force
| gcongiu/Mercury | autogen.sh | Shell | gpl-3.0 | 41 |
#
# This scripts generates an empty shell library
#
# Usage : genlib.sh [Target directory]
#
# By security, the target directory must not exist when the script is launched.
#
# The following environment variables will be used if set:
#
# - SLK_PREFIX: Function prefix (without '_')
# - SLK_LIBNAME: Library name (ex: sap... | flaupretre/shell_lib_kit | genlib.sh | Shell | gpl-3.0 | 2,549 |
#!/bin/bash
docker build -t justb4/mapglow:latest .
| justb4/mapglow | build.sh | Shell | gpl-3.0 | 52 |
ffmpeg -demuxers -hide_banner | tail -n +5 | cut -d' ' -f4 | xargs -i{} ffmpeg -hide_banner -h demuxer={} | grep 'Common extensions' | cut -d' ' -f7 | tr ',' $'\n' | tr -d '.'
| zepto/musio | utils/ffmpeg_demux_ext.sh | Shell | gpl-3.0 | 176 |
#!/bin/bash
# Script run in the travis CI
set -ex
if [ "x$BUILD" = "xautotools" ]; then
autoreconf -i ..
../configure
echo "CONFIGURATION DONE. Compiling now."
make check_all
if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
COPYFILE_DISABLE=1 make dist
COPYFILE_DISABLE=1 make dist-zip
... | pedrohfornari/tdd_embeddedC | code/CppUTest/scripts/travis_ci_build.sh | Shell | gpl-3.0 | 2,741 |
echo "1. Removing old distributables ..."
rm dist/*
echo "2. Creating python packages ..."
python3 setup.py sdist bdist_wheel
echo "3. Uploading to pip repository ..."
python3 -m twine upload dist/*
echo "Finished"
| dgarana/falcone | pip_upload.sh | Shell | gpl-3.0 | 215 |
#!/bin/sh
set +x -e
# if argument given, normalize and use as root directory
[ -d "$1" ] && TARGET=$(readlink -f $1) || TARGET=$(readlink -f ~/.kbddvp)
[ -d "$2" ] && XKB_ROOT=$(readlink -f $2) || XKB_ROOT=/usr/share/X11/xkb
# find our own location
DVP_DIR=$(dirname $(readlink -f $0))
# check that these programs are... | alerque/programmers-turkish-f | linux/home.install.sh | Shell | gpl-3.0 | 1,317 |
echo "Regenerating autotools files"
autoreconf --install || exit 1
echo "Now run ./configure, make, and make install."
| bengal/sysalarm | autogen.sh | Shell | gpl-3.0 | 119 |
#!/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/instances/10_0_workflow_full_10files_primary_3sh_3rs_noannot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161107T024001+0000/00/00/calculateratio_0_ID0000015.sh | Shell | gpl-3.0 | 1,252 |
#!/usr/bin/env bash
set -ueo pipefail
root="$(readlink -f "$(dirname "$0")")"
print_usage() {
echo "
usage:
$0 [-o OUTPUT_THEME_NAME] [-c COLOR] PRESET_NAME_OR_PATH
examples:
$0 -o droid_test_3 -c 5e468c
$0 monovedek
$0 -o my-theme-name ./colors/lcars"
exit 1
}
darker_channel() {
value=${1}
light_delta=${... | actionless/oomox | plugins/icons_numix/change_color.sh | Shell | gpl-3.0 | 3,811 |
#!/bin/bash
#
# Hemera - Intelligent System
# Copyright (C) 2010-2020 Bertrand Benoit <hemerais@bertrand-benoit.net>
#
# 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 Lic... | bertrand-benoit/hemerais | Hemera/scripts/core/speechRecognition/speechRecognition.sh | Shell | gpl-3.0 | 8,652 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=Arduino-Linux-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_CONF}/${CND_PLATFORM}/arduino-... | efDidymos/LightweightCryptography | BlockCiphers/Aes128-md5/nbproject/Package-Debug.bash | Shell | gpl-3.0 | 1,467 |
## wmii: install wmiirc_local
# WMII
conf theme/wmiirc_local wmii/wmiirc_local
| maxrp/conf.sh | modules/wmii.sh | Shell | gpl-3.0 | 80 |
command -v zoxide >/dev/null && {
eval "$(zoxide init zsh)"
}
| vpenso/scripts | var/aliases/z.sh | Shell | gpl-3.0 | 70 |
#!/bin/bash
if type ruby >/dev/null 2>/dev/null; then
:
else
echo "Missing ruby"
fi
if type groovy >/dev/null 2>/dev/null; then
:
else
echo "Missing groovy"
fi
if [ -d "$APOLLO_DATA_DIR" ]; then
:
else
echo "APOLLO_DATA_DIR is not set or does not point to a directory"
fi
| BILS/GAAS | annotation/tools/webapollo/apollo/verify.sh | Shell | gpl-3.0 | 291 |
#!/bin/bash
## test if guestfish command is present
which guestfish 2>&1 > /dev/null
if [ "$?" != 0 ]; then
echo "[!!!] Command 'guestfish' not found (Install it!). Making changes to VM FAILED."
exit 1
fi
## using direct backend to avoid selinux issues on fedora for now
export LIBGUESTFS_BACKEND=direct
## hostname
VM... | OndrejHome/fast-vm-public-images | centos/hacks/6g_centos-7-hacks-uefi.sh | Shell | gpl-3.0 | 1,190 |
#!/bin/bash
#
# Simple Dynamic DNS Script for VESTA CP.
#
# Copyright ©2016 Ryan Brownell
# ryan@ryanbrownell.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 3 of the L... | ryanbrownell/DDNS-for-Vesta-CP | ddns-server.sh | Shell | gpl-3.0 | 2,082 |
#!/bin/bash
CFILE="/home/domotika/conf/domotikad.conf"
DBNAME=`cat ${CFILE} | grep dmdbname | cut -f 2 -d "=" | sed -e"s/ //g"`
DBHOST=`cat ${CFILE} | grep dbhost | cut -f 2 -d "=" | sed -e"s/ //g"`
DBUSER=`cat ${CFILE} | grep dbuser | cut -f 2 -d "=" | sed -e"s/ //g"`
DBPASS=`cat ${CFILE} | grep dbpass | cut -f 2 -d ... | nexlab/domotikad | scripts/stop.sequences.sh | Shell | gpl-3.0 | 560 |
#!/bin/bash -ex
echo "shell-scripts/cleanup_slave.sh"
WORKSPACE="${WORKSPACE?}"
export PATH=$PATH:/usr/sbin
umount_everyhting_inside() {
local mydir="${1?}"
local res=0
local inner_dirs=(
$(mount | awk '{ print $3 }' | egrep "^$mydir" | sort -r)
)
local inner_dir
if ! can_sudo umount; ... | oVirt/jenkins | jobs/confs/shell-scripts/cleanup_slave.sh | Shell | gpl-3.0 | 14,715 |
docker-compose build legacy-updater
docker-compose stop legacy-updater
echo "y" | docker-compose rm legacy-updater
docker-compose up -d legacy-updater
| FAForever/legacy-updater | restart.sh | Shell | gpl-3.0 | 151 |
#! /bin/sh
RELEASE_OUTPUT_DIR=release
SRC=src
BUILD_DIR=build
CMAKE_FLAGS="-DRPCLIB_BUILD_TESTS=OFF -DRPCLIB_BUILD_EXAMPLES=OFF"
# cleanup
[ -d $RELEASE_OUTPUT_DIR ] && rm -rf $RELEASE_OUTPUT_DIR
# create dirs
mkdir -p $RELEASE_OUTPUT_DIR && cd $RELEASE_OUTPUT_DIR
git clone --depth=1 https://github.com/rpclib/rpcl... | dvdjg/GoapCpp | GoapMain/3rdparty/rpclib/utils/make_release_linux.sh | Shell | gpl-3.0 | 741 |
echo
echo "setting up postfix for maia spam/virus filtering"
echo
cp /etc/postfix/main.cf /etc/postfix/main.cf-save-$$
cp /etc/postfix/master.cf /etc/postfix/master.cf-save-$$
cat master.cf-append >> /etc/postfix/master.cf
postconf -e inet_interfaces=all
postconf -e content_filter=maia:[127.0.0.1]:10024
systemctl r... | einheit/maia_mailguard | contrib/maia-stage-3.sh | Shell | gpl-3.0 | 414 |
#!/bin/bash
if [$1!=""]
then
echo "Usage: $0 sql_file"
exit
fi
mysql --host=sql.njit.edu --user=ejw3_proj --password=ozw6OBAO --port=3306 --database=ejw3_proj --force < $1
| KevinAnthony/SeniorProject | scraper/insert_data.sh | Shell | gpl-3.0 | 178 |
# Copyright (c) 2015 Anchor Systems Pty Ltd <support@anchor.com.au>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" ... | anchor/pcib | lib/sudo.sh | Shell | gpl-3.0 | 1,268 |
#!/usr/bin/env bash
set -euo pipefail
GIT_REMOTE=https://github.com/advancedtelematic/aktualizr
DOX_DOCS=${DOX_DOCS:-$TEST_BUILD_DIR/docs/doxygen/html}
WORKTREE=${WORKTREE:-$TEST_BUILD_DIR/pages}
DRY_RUN=${DRY_RUN:-0}
DESCRIBE=$(git describe)
LAST_TAG=$(git describe --abbrev=0)
set -x
git remote add github_rls "$GI... | advancedtelematic/sota_client_cpp | scripts/publish_github_docs.sh | Shell | mpl-2.0 | 1,564 |
#!/bin/bash
testDir="$1"
curDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
nameTest="testing C++"
source="hello-world.cpp"
command="/usr/bin/g++ ./$source && ./a.out"
source "$curDir/run-in-container.sh" "$nameTest" "$testDir" "$source" "$command"
| in-silico/judge-bot | test/tests/run-g++-in-container.sh | Shell | mpl-2.0 | 252 |
#!/bin/bash -e
#
# run('bash "{0}" install "{1}" "{2}" "{3}" "{4}"'.format(
# custom_script, env.environment, env.virtualenv,
# role_name, env.host_string))
VENV=$3
case $1 in
preinstall)
# remove readability_api from virtualenv, it conflicts with
# readabi... | 1flow/1flow | config/worker_articles.sh | Shell | agpl-3.0 | 1,509 |
#!/bin/bash
cd ../
eval "$(ssh-agent -s)"
chmod 600 .travis/deploy_key
ssh-add .travis/deploy_key
git remote add pythonanywhere flowfx@ssh.pythonanywhere.com:/home/flowfx/bare-repos/unkenmathe.git
git push -f pythonanywhere master
python .travis/reload-webapp.py | FlowFX/unkenmathe.de | .travis/deploy.sh | Shell | agpl-3.0 | 263 |
# compiles latex file and open it
file='report'
pdflatex $file'.tex'
bibtex $file'.aux'
pdflatex $file'.tex'
pdflatex $file'.tex'
evince $file'.pdf'
| mquinson/simgrid-simpar | latex.sh | Shell | agpl-3.0 | 151 |
#!/bin/bash
PRJ=`pwd | rev | cut -d "/" -f2 | rev`
gunicorn server.wsgi:application -w 3 --timeout 300 --limit-request-line 16382 --bind unix:/tmp/api.$PRJ.socket
#celery -A atados worker --app=atados.celery_app:app --loglevel=info
| atados/gdd-ovp | server.sh | Shell | agpl-3.0 | 234 |
echo Killing linux application: HarvestControllerApplication_low
#!/bin/bash
PIDS=$(ps -wwfe | grep dk.netarkivet.harvester.harvesting.HarvestControllerApplication | grep -v grep | grep /home/test/test/conf/settings_HarvestControllerApplication_low.xml | awk "{print \$2}")
if [ -n "$PIDS" ] ; then
kill $PIDS;
fi
s... | netarchivesuite/netarchivesuite-svngit-migration | tests/dk/netarkivet/deploy/data/originals/test_target/kb-test-har-002.kb.dk/kill_HarvestControllerApplication_low.sh | Shell | lgpl-2.1 | 998 |
!/usr/bin/env bash
{ # this ensures the entire script is downloaded #
system_has() {
type "$1" > /dev/null 2>&1
}
mxcube_source() {
echo "https://github.com/mxcube/mxcube3.git"
}
mxcube_install_dir() {
echo "mxcube3"
}
mxcube_download() {
if ! system_has git; then
echo >&2 'You need git, curl, or wget ... | mxcube/mxcube3 | docker/conda-install.sh | Shell | lgpl-3.0 | 819 |
#/bin/bash
mkdir -p build_windows
cd build_windows
../configure --enable-builtin-libraries
make | ngrebenshikov/neko-ldap | build_windows.sh | Shell | lgpl-3.0 | 95 |
#!/bin/bash
# Copyright 2012-2014 Johns Hopkins University (Author: Daniel Povey).
# 2013 Xiaohui Zhang
# 2013 Guoguo Chen
# 2014 Vimal Manohar
# 2014 Vijayaditya Peddinti
# Apache 2.0.
# train_multisplice_accel2.sh is a modified version of
# train_pnorm_multisplice2.sh (... | thorsonlinguistics/german-neutralization | steps/nnet2/train_multisplice_ensemble.sh | Shell | apache-2.0 | 31,084 |
#!/bin/sh
exec docker run \
--rm \
--dns 147.75.69.23 --dns 8.8.8.8 \
-v "$(pwd)/data:/cncf/data" \
-e KUBECONFIG=/cncf/data/kubeconfig \
-ti provisioning \
kubectl "${@}" | cncf/cross-cloud | kubectl.sh | Shell | apache-2.0 | 184 |
#!/usr/bin/env bash
set -e
ensure_not_replace_value() {
local name=$1
local value=$(eval echo '$'$name)
if [ "$value" == 'replace-me' ]; then
echo "environment variable $name must be set"
exit 1
fi
}
ensure_not_replace_value base_os
ensure_not_replace_value network_type_to_test
ensure_not_replace_val... | dkoper/bosh-openstack-cpi-release | ci/tasks/deploy.sh | Shell | apache-2.0 | 5,662 |
#!/bin/bash
# Copyright 2018 DeepMind Technologies Limited. 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 r... | deepmind/lamb | lamb/experiment/mogrifier/train_ptb.sh | Shell | apache-2.0 | 905 |
#!/bin/bash
# various
alias ll='ls -alrtFh'
alias home='cd ~'
alias mc='mc -u'
alias mcs='mc -u /srv /srv'
alias du='du -d 1 -a -h'
alias spot='~/scripts/spot.sh'
alias cpwd="pwd | tr -d '\n' | pbcopy"
alias sourcetree='open -a SourceTree'
alias j6='switch_java 1.6'
alias j7='switch_java 1.7'
alias j8='switch_java 1.8... | rogierlommers/dotfiles | shared/.aliases.sh | Shell | apache-2.0 | 1,780 |
#!/bin/bash
# Copyright 2012 Cloudera 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 to in... | kapilrastogi/Impala | testdata/bin/run-all.sh | Shell | apache-2.0 | 3,359 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.