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
# When not limiting the open file descritors limit, the memory consumption of
# slapd is absurdly high. See https://github.com/docker/docker/issues/8231
ulimit -n 8192
set -e
SLAPD_FORCE_RECONFIGURE="${SLAPD_FORCE_RECONFIGURE:-false}"
first_run=true
if [[ -f "/var/lib/ldap/DB_CONFIG" ]]; then
firs... | laurentj/lizmap-web-client | tests/docker-conf/openldap/entrypoint.sh | Shell | mpl-2.0 | 5,313 |
#!/bin/bash
#
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | Project-OSRM/osrm-backend | third_party/flatbuffers/tests/generate_code.sh | Shell | bsd-2-clause | 2,265 |
#!/bin/bash
IMPL_FILES="
A.js
node_modules/test/Test.js
"
DECL_FILES="$(echo "$IMPL_FILES" | sed -e "s/\.js/.js.flow/g")"
ignore_files() {
for file in $1; do
mv "$file" "$file.ignored" 2>&1
done
}
use_files() {
for file in $1; do
mv "$file.ignored" "$file" 2>&1
done
}
printf "======Start off with... | AgentME/flow | tests/declaration_files_incremental_haste_name_reducers/test.sh | Shell | bsd-3-clause | 1,845 |
#!/bin/sh
sh scripts/all_files_change_format.sh fromdos
| bigjun/mrpt | scripts/all_files_UNIX_format.sh | Shell | bsd-3-clause | 58 |
command=$*
echo $command
# launch the command in the background
$command &
# get the PID
PID=$!
memlogfile="mem_evolution_${PID}.txt"
cpulogfile="cpu_evolution_${PID}.txt"
timelogfile="time_evolution_${PID}.txt"
idlogfile="pid_evolution_${PID}.txt"
echo "#command line: ${command}" > ${memlogfile}
echo "#memory evolut... | noferini/AliceO2 | Detectors/FIT/benchmark/monitor.sh | Shell | gpl-3.0 | 2,263 |
#!/bin/sh
rm -rf CMakeFiles
rm -rf suites/CMakeFiles
rm -f cmake_install.cmake CMakeCache.txt Makefile
rm -f suites/cmake_install.cmake suites/CMakeCache.txt suites/Makefile
rm -f suites/*.dll suites/*.so runtests.exe runtests
| tectronics/phantomuserland | test/unit/clean.sh | Shell | lgpl-3.0 | 227 |
#!/bin/bash
rnnpath=../rnnlm-0.2b
trainfile=../data/ptb.train.txt
validfile=../data/ptb.valid.txt
testfile=../data/ptb.test.txt
rnnmodel=../models/ptb.model.hidden200.class100.txt
temp=../temp
hidden_size=200
class_size=100
bptt_steps=5
#################################
# CHECK FOR 'rnnlm' AND 'convert'
############... | deepakgupta1313/models | tutorials/rnn/ptb/tmp/simple-examples/4-data-generation/train.sh | Shell | apache-2.0 | 2,165 |
#!/bin/bash
# -------
# Script for apply AMPs to installed WAR
# -------
pushd $(dirname $0)>/dev/null
export SCRIPTPATH=$(pwd)
export ALF_HOME=${SCRIPTPATH%/*}
export CATALINA_HOME=$ALF_HOME/tomcat
required_java_version="1.7"
if [ -f $CATALINA_HOME/bin/setenv.sh ]; then
. $CATALINA_HOME/bin/setenv.sh
fi
# Verify J... | keensoft/alfresco-50d-docker-template | templates/201707-GA/share/assets/share/apply_share_amps.sh | Shell | apache-2.0 | 1,902 |
#!/bin/bash
# Trigger a deploy (run from CI server)
trap 'exit' ERR
ssh feross@webtorrent.feross.net -p 44444 /home/feross/www/instant.io/bin/deploy.sh
| joeldom/instant.io | bin/trigger.sh | Shell | mit | 153 |
#!/bin/bash
for i in $(find hacks -name \*.rb)
do
cat $PWD/license.txt $i > ${i}_2
echo $i
rm $i
mv "${i}_2" $i
done
| stelligent/amm_jenkins_cookbooks | headers.sh | Shell | mit | 127 |
{% raw %}
#!/bin/bash
#
# File: percona-xtrabackup.sh
#
# Purpose: This script uses percona's innobackupex script to create db archives.
#
# $backup_retention_num is the number of full archives that will reside on disk.
# The desired frequency is up to you and should be defined via cron.
#
# ... | mjbrewer/ursula | roles/percona-backup/templates/percona-xtrabackup.sh | Shell | mit | 2,276 |
#!/bin/sh
TEST_PURPOSE=goal
TEST_TYPE=umlXhost
TESTNAME=pluto-rekey-02
XHOST_LIST="NIC NORTH EAST"
REF_CONSOLE_FIXUPS="kern-list-fixups.sed nocr.sed"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS east-prompt-splitline.pl"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS cutout.sed"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS klips-de... | y-trudeau/openswan-patch-meraki | testing/pluto/pluto-rekey-02/testparams.sh | Shell | gpl-2.0 | 1,011 |
GCC_BASE=/mnt/gvfs/third-party2/gcc/2928bb3ed95bf64f5b388ee88c30dc74710c3b35/5.x/centos6-native/f4950a1
CLANG_BASE=/mnt/gvfs/third-party2/llvm-fb/a5fea028cb7ba43498976e1f8054b0b2e790c295/stable/centos6-native/6aaf4de
LIBGCC_BASE=/mnt/gvfs/third-party2/libgcc/7a9099f6587ee4378c0b1fa32bb8934019d30ca4/5.x/gcc-5-glibc-2.23... | minifirocks/nifi-minifi-cpp | thirdparty/rocksdb/build_tools/dependencies.sh | Shell | apache-2.0 | 2,066 |
#!/bin/bash
python parse.py > output.txt
LC_ALL=C sort output.txt -o output.txt
| souravbadami/zeroclickinfo-fathead | lib/fathead/tldr_pages/parse.sh | Shell | apache-2.0 | 81 |
# Default platform detection.
if grep -q "^model.*: powerpc-as5710-54x-r0a$" /proc/cpuinfo; then
echo "powerpc-as5710-54x-r0a" >/etc/onl_platform
exit 0
else
exit 1
fi
| shengzhou/ONL | components/all/platform-config/powerpc-as5710-54x-r0a/src/boot/detect.sh | Shell | epl-1.0 | 181 |
#!/bin/sh
test_description='remote messages are colorized on the client'
. ./test-lib.sh
test_expect_success 'setup' '
mkdir .git/hooks &&
write_script .git/hooks/update <<-\EOF &&
echo error: error
echo ERROR: also highlighted
echo hint: hint
echo hinting: not highlighted
echo success: success
echo warning:... | tacker66/git | t/t5409-colorize-remote-messages.sh | Shell | gpl-2.0 | 3,271 |
#!/usr/bin/env bash
set -u -e -o pipefail
# Setup environment
readonly thisDir=$(cd $(dirname $0); pwd)
source ${thisDir}/_travis-fold.sh
travisFoldStart "test.e2e.buildPackages"
./build.sh
travisFoldEnd "test.e2e.buildPackages"
travisFoldStart "test.e2e.check-cycle"
$(npm bin)/gulp check-cycle
travisFoldEnd "... | kara/angular | scripts/ci/test-e2e.sh | Shell | mit | 1,554 |
#!/bin/sh
# remove --fbcode_dir and --install_dir
shift 2
PB_PATH=$FBCODE_DIR/$EXT_PROJECT_protobuf
LD_LIBRARY_PATH=$PB_PATH/lib $PB_PATH/bin/protoc --cpp_out=$INSTALL_DIR "$@"
| soumith/fbthrift | thrift/lib/cpp2/test/ProtoBufBuild.sh | Shell | apache-2.0 | 179 |
#!/bin/bash
while true
do
dist/build/hackage-build/hackage-build build --run-time=25
sleep 300
done
| grayjay/hackage-server | rundocs.sh | Shell | bsd-3-clause | 105 |
#!/bin/bash
mkdir -p $PREFIX/bin
cp phirbo.py $PREFIX/bin/phirbo.py
ln $PREFIX/bin/phirbo.py $PREFIX/bin/phirbo
chmod +x $PREFIX/bin/phirbo.py $PREFIX/bin/phirbo
| phac-nml/bioconda-recipes | recipes/phirbo/build.sh | Shell | mit | 163 |
#! /bin/sh
export LC_ALL=C
base=$(dirname $0)
. "${base}/md5.sh"
base64=tests/base64
test="${1#fate-}"
target_samples=$2
target_exec=$3
target_path=$4
command=$5
cmp=${6:-diff}
ref=${7:-"${base}/ref/fate/${test}"}
fuzz=${8:-1}
threads=${9:-1}
thread_type=${10:-frame+slice}
cpuflags=${11:-all}
cmp_shift=${12:-0}
cmp... | LinuxCao/ffmpeg-2.8.4-for-windows | tests/fate-run.sh | Shell | gpl-3.0 | 8,490 |
#!/bin/bash
export LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,$PREFIX/lib"
./configure \
--prefix=$PREFIX \
--disable-docs \
--with-arbhome=$PREFIX/lib/arb \
--with-boost=$PREFIX \
--with-boost-libdir=$PREFIX/lib \
|| (cat config.log; false)
make -j$CPU_COUNT
# Checks disabled because CircleCI macOS is... | cokelaer/bioconda-recipes | recipes/sina/build.sh | Shell | mit | 1,003 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors 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 require... | fengshao0907/kubernetes | build/common.sh | Shell | apache-2.0 | 36,237 |
#!/bin/bash
INPUT=$1
(
echo '['
first=""
cat $1 | while read dateString date sgv direction device ; do
test -n "$first" && printf "," || printf -v first "nope"
./bin/create_svg.sh $sgv $direction $dateString
echo
done
echo ']'
) | tr -d '\n' | json
| PODVESNAV/cgm-remote-monitor | bin/tsvtojson.sh | Shell | agpl-3.0 | 259 |
#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foun... | stain/jdk8u | test/sun/security/tools/jarsigner/warnings.sh | Shell | gpl-2.0 | 4,067 |
#!/bin/sh
test_description='test local clone'
. ./test-lib.sh
repo_is_hardlinked() {
find "$1/objects" -type f -links 1 >output &&
test_line_count = 0 output
}
test_expect_success 'preparing origin repository' '
: >file && git add . && git commit -m1 &&
git clone --bare . a.git &&
git clone --bare . x &&
test ... | i108/git | t/t5701-clone-local.sh | Shell | gpl-2.0 | 3,466 |
#
# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Softwar... | greghaskins/openjdk-jdk7u-jdk | test/sun/tools/jps/jps-Vm_2.sh | Shell | gpl-2.0 | 1,350 |
#!/bin/bash
# ok this is the fun part. Let's create a file here
cat > inputs2.sh << 'END'
helloFromInputs() {
echo "hello from printinputs.sh"
}
printFstab() {
echo "Here is the fstab from `hostname`"
cat /etc/fstab
echo "Now sudo print fstab from `hostname`"
sudo cat /etc/fstab
}
... | zuojihong/azure-quickstart-templates | cloudera-on-centos/scripts/prepareDisks.sh | Shell | mit | 3,239 |
#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); y... | pamod/andes | modules/andes-core/perftests/bin/run_many.sh | Shell | apache-2.0 | 965 |
#!/usr/bin/env bash
# timeout.sh <seconds> <command...>
# watchdog PID SECONDS
function watchdog() {
(( seconds = "$2" ))
while (( seconds > 0 ))
do
kill -0 $1 || exit
sleep 1
(( seconds -= 1 ))
done
echo "** timeout.sh: Timed out" 1>&2
kill -ALRM $1
}
watchdog $$ $1 ... | wenluma/swift | test/stdlib/timeout.sh | Shell | mit | 338 |
#!/bin/sh
#
# Copyright (C) 2015-2016 Chris Blake <chrisrblake93@gmail.com>
#
# Custom upgrade script for Meraki NAND devices (ex. MR18)
# Based on dir825.sh and stock nand functions
#
. /lib/ar71xx.sh
. /lib/functions.sh
get_magic_at() {
local mtddev=$1
local pos=$2
dd bs=1 count=2 skip=$pos if=$mtddev 2>/dev/null... | musashino205/lede-source | target/linux/ar71xx/base-files/lib/upgrade/merakinand.sh | Shell | gpl-2.0 | 3,702 |
#!/bin/sh
test_description='combined and merge diff handle binary files and textconv'
. ./test-lib.sh
test_expect_success 'setup binary merge conflict' '
echo oneQ1 | q_to_nul >binary &&
git add binary &&
git commit -m one &&
echo twoQ2 | q_to_nul >binary &&
git commit -a -m two &&
git checkout -b branch-binary... | overtherain/scriptfile | tool-kit/git-2.1.2/t/t4048-diff-combined-binary.sh | Shell | mit | 4,164 |
#!/bin/bash
set -e
cd "$(dirname "$BASH_SOURCE")/../.."
targets_from() {
git fetch -q https://github.com/docker/docker.git "$1"
git ls-tree -r --name-only origin/master contrib/builder/deb | grep '/Dockerfile$' | sed -r 's!^contrib/builder/deb/|-debootstrap|/Dockerfile$!!g'
}
{ targets_from master; tar... | cloudfoundry-incubator/garden-shed | vendor/github.com/docker/docker/contrib/reprepro/suites.sh | Shell | apache-2.0 | 351 |
#!/bin/bash
#
# SPDX-License-Identifier: GPL-2.0
# gen_kselftest_tar
# Generate kselftest tarball
# Author: Shuah Khan <shuahkh@osg.samsung.com>
# Copyright (C) 2015 Samsung Electronics Co., Ltd.
# main
main()
{
if [ "$#" -eq 0 ]; then
echo "$0: Generating default compression gzip"
copts="cvzf"
ext=".tar.gz"
e... | Taeung/tip | tools/testing/selftests/gen_kselftest_tar.sh | Shell | gpl-2.0 | 890 |
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-powerpc"
NO_REL_RELOCS=yes
TEXT_BASE=0x00002000
DYN_TEXT_BASE=0x00400000
TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
case ${LD_FLAG} in
n|N) TEXT_START_ADDR=0x1000 ;;
esac
ARCH=powerpc
MACHINE=
TEMPLATE_NAME=elf32
... | jlspyaozhongkai/Uter | third_party_backup/binutils-2.25/ld/emulparams/ppclynx.sh | Shell | gpl-3.0 | 617 |
java -cp ./bin/ Client.GUI.ClientGui
| NicolaasWeideman/RemoteAccessSystem | ClientGui.sh | Shell | mit | 37 |
#!/bin/bash
################################################################################
#
# get_fastqs.sh
#
# Currently this pulls the fastq files from Joe's directory on Axiom. In the
# future, we'll have to replace the cp command below with a pull out of the SRA,
# convert to fastq, and decompression.
#
#
# De... | SchlossLab/Schubert_AbxD01_mBio_2015 | code/get_fastqs.sh | Shell | mit | 1,195 |
#!/bin/bash -e
################################################################################
## File: oras-cli.sh
## Desc: Installs ORAS CLI
################################################################################
source $HELPER_SCRIPTS/install.sh
# Determine latest ORAS CLI version
ORAS_CLI_LATEST_VER... | mattgwagner/New-Machine | .github-actions/images/linux/scripts/installers/oras-cli.sh | Shell | mit | 749 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | spacedrabbit/catthoughtsFollowButton | Pods/Target Support Files/Pods-FollowButton/Pods-FollowButton-frameworks.sh | Shell | mit | 3,542 |
#!/usr/bin/env sh
#
# Initialize range-types
#
#-----------------------------------------------------------------------------
# load common definitions
. lib_common.sh
#-----------------------------------------------------------------------------
DIR="`basename $0`"
DIR="`cd "$DIR" ; pwd`"
JSON="$DIR/range_types.js... | DREAM-ODA-OS/ODA-OS_subsystem | ingeng/init_rangetypes.sh | Shell | mit | 366 |
protoc -I=. -I=$PROTO_INCLUDE_PATH --go_out=.. *.proto
| benbjohnson/congo | message/proto/build_proto.sh | Shell | mit | 55 |
#!/bin/bash
rm -r stage2/99-hiverize/files/*
mkdir -p stage2/99-hiverize/files/
rsync -r ../rpi-system/ stage2/99-hiverize/files
tar -czf stage2/99-hiverize/files/hiverize.tar.gz ../hiverize/
| Hiverize/Sensorbeuten | Raspberrypi/pi-gen/prepare-stage.sh | Shell | mit | 193 |
#!/usr/bin/env bash
#
SCRIPT=$(readlink -m "$0");
# SCRPTPTH=$(dirname "$SCRIPT")
. ./${1}shellVars.sh;
function loadShellVars() {
[ -x ${USER_VARS_FILE_NAME} ] && echo "No shell vars file specified!" && exit 1;
if [ -f ${USER_VARS_FILE_NAME} ]; then
source ${USER_VARS_FILE_NAME};
else
for varkey in ... | your0rg/HabitatForMeteor | habitat/scripts/ManageShellVars.sh | Shell | mit | 2,531 |
#!/bin/bash
set -e
if [[ -z $1 ]]; then echo "First param is distro ( centos | debian | ubuntu | ... )"; exit 1; fi
if [[ -z $2 ]]; then echo "Second param is version ( bionic | 7 | ... )"; exit 1; fi
if [[ -z $3 ]]; then
echo "No distribution version provided, so using the version from package.json"
curl -O http... | hoxton-one/deepstream.io | scripts/linux-package.sh | Shell | mit | 3,551 |
#!/bin/bash
if [[ ! -d /var/lib/mysql/mysql ]]; then
echo "=> Install a fresh data directory"
mkdir -p /var/lib/mysql
chown -R mysql:mysql /var/lib/mysql
/usr/bin/mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
touch /var/lib/mysql/initialized
else
echo "=> Use existing data directory... | hanswang/docker-lemp | mariadb/my_init.d/01-initialize-data-volume.sh | Shell | mit | 413 |
#!/bin/sh
#
# $Id$
MAKE=${MAKE:=make}
TARGET=$1
PLATFORMS="win wm6pro wm6std wm5 ppc2003se ppc2003 ppc2002 hpc2000 ppc hpcpro sig3"
WINCPUS="x86 x64"
WCECPUS="sh3 sh4 mips arm xscale armv4 armv4i x86em"
BASELANGS="ja en"
CODES="ansi unicode"
DEBUGS="release debug"
checkValue()
{
for v in $2; do
if [ "$1" = "$v" ... | snakamura/q3 | q3/make.sh | Shell | mit | 2,000 |
#!/bin/bash
set -e
# if command starts with an option, prepend mysqld
if [ "${1:0:1}" = '-' ]; then
set -- mysqld "$@"
fi
if [ "$1" = 'mysqld' ]; then
# Get config
DATADIR="$("$@" --verbose --help 2>/dev/null | awk '$1 == "datadir" { print $2; exit }')"
if [ ! -d "$DATADIR/mysql" ]; then
if [ -z "$MYSQL_ROOT_P... | koolay/dockers | mysql/5.6/docker-entrypoint.sh | Shell | mit | 3,134 |
#!/bin/bash
# don't do anything if we don't have a metrics url.
if [[ -z "${HEROKU_METRICS_URL:-}" ]] || [[ "${DYNO}" == run\.* ]]; then
return 0
fi
# heroku-metrics-agent.jar is added in bin/compile
if [[ -f ${HOME}/.heroku/bin/heroku-metrics-agent.jar ]] && [[ -z "${DISABLE_HEROKU_METRICS_AGENT:-}" ]]; then
if ... | heroku/heroku-buildpack-jvm-common | opt/heroku-jvm-metrics.sh | Shell | mit | 649 |
#!/usr/bin/env sh
set -e
DOCUMENT_ROOT='/data/www/songbook.tumbolia.tk/root/'
npm update
npm run build
cp -r public/ "$DOCUMENT_ROOT"
| AnotherKamila/git-hooks | examples/songbook-web/build.sh | Shell | mit | 137 |
#!/bin/sh
docker run --net=c3bos_default -v /home/felix/docs/ccc/c3bos:/app c3bos_c3bos rake db:migrate
| c3boc/c3bos | db_init.sh | Shell | mit | 104 |
#!/bin/bash
git checkout master
git merge --no-ff develop
git checkout develop
| SibirCTF/2014-jury-system-fhq | merge.sh | Shell | mit | 79 |
source "$THIS_DIR/bin/public/lua-bin/_.sh"
# === {{CMD}} --list # List rocks installed.
# === {{CMD}} --install FILE # Install luarocks in file (generated from: {{BIN}} rocks).
# === {{CMD}} --extra FILE # List rocks not found in file.
# === {{CMD}} --need FILE # List rocks that need to be instal... | da99/lua_setup | bin/public/bundle/_.sh | Shell | mit | 1,746 |
#!/bin/bash
# only for linux
i_scriptDir=$(cd "$(dirname "$0")"; pwd)
cd $i_scriptDir/..
i_testid="test1"
if [[ "X$1" != "X" ]]; then
i_testid=$1
fi
nohup vmstat -n 3 | while read line; do echo `date` $line; done >$i_testid"_vmstat.log" 2>&1 & | bladepan/cloudbrowser | bin/sys_monitor.sh | Shell | mit | 249 |
#!/bin/sh
IMAGE=blang/latex:ubuntu
exec docker run -d --rm --name latex_daemon -i --user="$(id -u):$(id -g)" --net=none -t -v $PWD:/data "$IMAGE" /bin/sh -c "sleep infinity"
| blang/latex-docker | latexdockerdaemon.sh | Shell | mit | 174 |
#!/bin/sh
# Below makes use of "builder pattern" so that binary is extracted separate
# from the golang runtime/SDK
echo "building jibz/faas-watchdog image"
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t jibz/faas-watchdog .
docker create --name buildoutput jibz/faas-wat... | thejibz/faas | watchdog/build.sh | Shell | mit | 398 |
#!/bin/bash
git clone https://github.com/LearnBoost/socket.io.git ~/socket.io
git clone https://github.com/Automattic/socket.io-redis.git ~/socket.io-redis
git clone https://github.com/LearnBoost/socket.io-client.git ~/socket.io-client
git clone https://github.com/Automattic/socket.io-emitter.git ~/socket.io-emitte... | kevin-roark/special-magic-glass-hole | install.sh | Shell | mit | 967 |
#!/usr/bin/env bash
set -e
VERSION=0.3.1
test "$(id -u)" = "0" || { echo "must run as root" >&2; exit 1; }
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/../common.sh
cd /usr/local
if [ ! -x bin/bacon ] || [ "$(bin/bacon -v | awk '{print $3}')" != "$VERSION" ]; then
killall bacon || true
... | troykinsella/dotfiles | install/bacon/install.sh | Shell | mit | 450 |
#!/usr/bin/env bash
#
# Copyright (c) 2019-2021 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
export DOCKER_NAME_TAG="ubuntu:20.04"
export CONTAINER_NAME=ci_native_fuzz_valgrind... | GroestlCoin/bitcoin | ci/test/00_setup_env_native_fuzz_with_valgrind.sh | Shell | mit | 593 |
#!/usr/bin/env bash
nodemon \
--watch ${npm_package_config_client_styles_src} \
--ext css \
--exec 'npm run build:css' | bbviana/alexandria | tools/watch-css.sh | Shell | mit | 119 |
#!/bin/bash -ev
#
# Installation Script
# Written by: Tommy Lincoln <pajamapants3000@gmail.com>
# Github: https://github.com/pajamapants3000
# Legal: See LICENSE in parent directory
#
#
source enlightenment.sh
#
source ${HOME}/.blfs_profile
#
# Dependencies
#**************
# Begin Required
# End Required
# Begin Recomm... | pajamapants3000/BLFS_scripts_etc | scripts/non-blfs/eterm-git.sh | Shell | mit | 1,072 |
#!/bin/sh
# Install a GPIO soft power off daemon
#
# Part of pitools - https://github.com/zipplet/pitools
# Copyright (c) Michael Nixon 2016.
if [ ! -f "../common/common.sh" ]; then
echo "Please run this script from the script directory."
exit 1
else
. ../common/common.sh
fi
INSTALLMARK="gpio_soft_poweroff"
INS... | zipplet/pitools | gpio_soft_poweroff/install.sh | Shell | mit | 2,377 |
#!/bin/usr/env zsh
clang-format-all() {
FMT=clang-format
# Check all of the arguments first to make sure they're all directories
for dir in "$@"; do
if [ ! -d "${dir}" ]; then
echo "${dir} is not a directory"
usage
fi
done
# Run clang-format -i on all of the things
for dir in "$@";... | ilovepi/dotfiles | zsh/.zsh/clang.sh | Shell | mit | 598 |
#!/bin/sh
TEMPLATEDIR=/home/griffin/pulsar/simulations/full
SCRIPTDIR=/home/griffin/pulsar/simulations/scripts
DICTSCRIPT=pklReduceDict.py
mkdir $TEMPLATEDIR/J0613-0200/results/analysis/
cd $TEMPLATEDIR/J0613-0200/results/analysis/
$SCRIPTDIR/$DICTSCRIPT --mjd=../../J0613.simulate.mjd ../tim*.pkl ../rms*.txt -o analy... | griffinfoster/pulsar-polarization-sims | batch/batchGenDict.sh | Shell | mit | 4,000 |
#!/usr/bin/env bash
PATH=/usr/local/bin:$PATH
source "${BASH_SOURCE%/*}/lib.sh"
h1 "brew"
task "install"
if [ -x "/usr/local/bin/brew" ]; then
warn "installed"
else
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
if [[ $? != 0 ]]; then
error
exit ... | sebastianmarkow/dotfiles | install/brew.sh | Shell | mit | 465 |
#!/bin/sh
currentDirectory=$(dirname "$PWD/$0")
node $currentDirectory/node_modules/.bin/npm stop
| neolao/recalbox-web | stop.sh | Shell | mit | 100 |
#!/bin/bash
# run consul with the ui flag
docker run -d -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 progrium/consul -server -bootstrap -ui-dir /ui
| miketheprogrammer/dkxyz14 | start_consul.sh | Shell | mit | 153 |
bindkey '^q' push-line-or-edit
bindkey '^s' sudo-command-line
bindkey "^" undo
| peteches/configs | zsh/zsh_custom/bindkeys.zsh | Shell | mit | 80 |
ShellDir=$(cd $(dirname $0) && pwd)
sh $ShellDir/csharp/clean.sh
cd $ShellDir/scala/ && mvn clean
| qualiu/testMobius | clean.sh | Shell | mit | 98 |
#!/bin/bash
GULP=`which gulp`
TARGET="../scrapoxy/server/proxies/commander/public"
rm -Rf .tmp dist
$GULP build
rm -Rf ${TARGET}
cp -a ./dist ${TARGET}
| fabienvauchelles/scrapoxy-gui | deploy.sh | Shell | mit | 157 |
#!/bin/bash
export MAHOUT_HOME=../apache-mahout-distribution-0.10.1/
export SPARK_HOME=../spark-1.1.1/
export MASTER=spark://case:7077
python updateSolr.py ../data/movie.db http://localhost:8983/solr/movielens
| Hofmaier/comstock | python/startUpdatSolr.sh | Shell | mit | 213 |
#!/bin/sh
if [ -z "$1" ] ; then
echo "Usage: $0 \"version\"" >&2
exit 1
fi
if [ ! -f configure.ac ] ; then
echo "Run this script from project root directory" >&2
exit 2
fi
replace_ver()
{
echo "replacing in $1..."
sed -e "s@$2@$3@g" -i $1
}
VER_FULL=$1
VER_SHORT="`echo $VER_FULL | sed -e 's/... | laborautonomo/poedit | scripts/chversion.sh | Shell | mit | 1,282 |
#!/usr/bin/env bash
koopa::admin_group() { # {{{1
# """
# Return the administrator group.
# @note Updated 2021-03-18.
#
# Usage of 'groups' here is terribly slow for domain users.
# Currently seeing this with CPI AWS Ubuntu config.
# Instead of grep matching against 'groups' return, just se... | steinbaugh/seqcloud | lang/shell/bash/functions/common/strings-variable.sh | Shell | mit | 7,394 |
#!/bin/bash
KEYWORDS_JOHNNYTEST="Johnny(| )Test"
if [ "$1" == "" ];
then
debug_start "Johnny Test"
JOHNNYTEST=$(egrep -i "$KEYWORDS_JOHNNYTEST" "$NEWPAGES")
categorize "JOHNNYTEST" "Johnny Test"
debug_end "Johnny Test"
fi | MW-autocat-script/MW-autocat-script | catscripts/Entertainment/Cartoons/Johnny_Test/JohnnyTest.sh | Shell | mit | 236 |
ROUTES=(
#pl
"/pl/home"
"/pl/oferta"
"/pl/onas"
#"/pl/audyty"
"/pl/kontakt"
"/pl/portfolio"
"/pl/narzedzia/amazon-aws"
"/pl/narzedzia/adobe-illustrator"
"/pl/narzedzia/angular"
"/pl/narzedzia/apache-kafka"
"/pl/narzedzia/axurerp"
"/pl/narzedzia/circlecl"
"/pl/narz... | Code-Mine-Development/CodeMine-Website-Web-Application | deploy_seo_routes.sh | Shell | mit | 2,837 |
#!/bin/bash
# store the current dir
CUR_DIR=$(pwd)
# Let the person running the script know what's going on.
echo -e "\n\033[1mPulling in latest changes for all repositories...\033[0m\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" | cut -c 3-); do
echo -... | chrisbensch/scripts | misc/update_all_gits.sh | Shell | mit | 690 |
#!/bin/bash
## Set up documentation so README.md is reflected onto apollographql.com/docs/android
set -e
echo -e "---\ntitle: Introduction\ndescription: A strongly-typed, caching GraphQL client for the JVM, Android and Kotlin multiplatform\n---\n\n$(cat ../README.md | grep -v 'the official docs')" > source/index.md
... | apollostack/apollo-android | docs/generate-docs.sh | Shell | mit | 451 |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | jesserobertson/dotfiles | nodejs/path.zsh | Shell | mit | 194 |
#!/bin/sh
cd Nibitaph
git checkout master
git pull
cd ..
git commit -am "Update to latest"
| genkiyooka/NibitaphSampleCode | git_update_all.sh | Shell | mit | 93 |
#!/usr/bin/env bash
experiment_name=${1:-section1-all-20171114-08}
original_experiment_name=${experiment_name}
ner_tagger_root=/home/onur/projects/research/focus/ner-tagger-dynet-multilayer
n_trials=10
dim=10
morpho_tag_type=char
for trial in `seq 1 ${n_trials}`; do
for morpho_tag_type in char ; do
small_size... | onurgu/ner-tagger-tensorflow | scripts/helper-script-to-run-the-experiment-set-small-sizes-adam-parameter-sweep.sh | Shell | mit | 1,688 |
#!/bin/bash
haxe build.hxml | zasmarkany/weblog | build.sh | Shell | mit | 27 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3369-1
#
# Security announcement date: 2015-10-06 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:34 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - zendframework:1.11.13-1.1+deb7u4
#
... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2015/DSA-3369-1.sh | Shell | mit | 664 |
#!/bin/bash
echo "please use buildimages.sh noreset pullfromdockerhub"
| boontadata/boontadata-streams | code/pullfromdockerhub.sh | Shell | mit | 72 |
#!/bin/bash
python /Wetterstation/stop_wetterstation.py >> /var/log/wetterstation.log
echo "Stopp der Wetterstation: $(date)" >> /var/log/wetterstation.log
| Nordlxnder/Wetterstation | Beispiele_systemd_Skripte/wetterstationstop.sh | Shell | mit | 157 |
brew install ansible | garandam/dotfiles | install/ansible.sh | Shell | mit | 20 |
#! bin/bash
# requires list of forward and reverse reads to be merged using the panda-seq program
for file in $(<list.txt)
do
pandaseq -f ${file}_forward.fastq -r ${file}_reverse.fastq -A pear -w assembled_reads/${file}.fasta -g assembled_reads/${file}.log
done
| jrherr/bioinformatics_scripts | pandaseq_merge.sh | Shell | mit | 266 |
#!/usr/bin/env bash
OUTPUT="/tmp/zookindialog.txt"
>$OUTPUT
dialog --backtitle "Zookin TUI" --nook --nocancel --inputbox "Ciphertext: " 8 100 2>$OUTPUT
CODE=$?
MENU=$(cat $OUTPUT)
case $CODE in
0)
# ciphertext entered
zookin-bruteforce --table -c "$MENU" 2>&1 | ansifilter > /tmp/zookinoutp.txt
... | bufutda/zookin | lib/dialog/bruteforce.sh | Shell | mit | 516 |
#!/bin/bash
set -u
example=example
# Install remaining modules / packages
(
cd ${example};
# Install node modules
yarn run test;
)
| nfl/react-wildcat | shell/test-example.sh | Shell | mit | 147 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2015:1897
#
# Security announcement date: 2015-10-15 20:45:59 UTC
# Script generation date: 2016-05-12 18:13:21 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - openstack-glance.noarch:2014.1.5-3.el6o... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2015/RHSA-2015:1897.sh | Shell | mit | 963 |
mongorestore --db radio --collection radio_classifications data/radio_classifications.bson --drop
mongorestore --db radio --collection radio_groups data/radio_groups.bson --drop
mongorestore --db radio --collection radio_subjects data/radio_subjects.bson --drop
| chengsoonong/crowdastro | mongo_load_bson.sh | Shell | mit | 262 |
#!/bin/bash
set -euo pipefail
echo "Creating test project directory..."
rm -rf e2e-test
mkdir e2e-test
cd e2e-test
echo "Test project directory created."
echo "Copying data (package.json, website, scripts...) to test project..."
cp ../test/e2e/package.json .
cp ../test/e2e/check-test-results.js .
cp ../test/e2e/chec... | nespresso/ntaf | test/e2e/run-e2e-test-local.sh | Shell | mit | 3,232 |
#!/usr/bin/env sh
echo docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /proc:/host-proc $@
docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /proc:/host-proc $@ | regiontog/macvlan-ipvs-dr | run.sh | Shell | mit | 206 |
#!/bin/bash
BASEDIR=/home/assel/asseln/snapshots
FPS=24
find "$BASEDIR" -mindepth 3 -maxdepth 3 -type d |while read dir; do
file="${dir}.mp4"
if [ ! -e "$dir/done" ]; then
if [ "$1" != "all" ]; then
echo "Not done yet: $dir"
continue
fi
elif [ -e "$file" ]; then
echo "File exists: $file"
continue
f... | lampeh/asselcam | vlc/source/update_timelapse.sh | Shell | mit | 897 |
#!/bin/bash
set -e
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'echo "$0: \"${last_command}\" command failed with exit code $?"' ERR
# get the path to this script
APP_PATH=`dirname "$0"`
APP_PATH=`( cd "$APP_PATH" && pwd )`
unattended=0
subinstall_params=""
for param in "$@"
do
... | klaxalk/linux-setup | appconfig/ranger/install.sh | Shell | mit | 1,337 |
#!/usr/bin/env bash
set -euo pipefail
expected_path="test/expected.html"
expected=$(cat $expected_path)
actual=$(cat test/configuration.json | bin/mozart)
if [ "$actual" != "$expected" ]; then
echo "Actual output didn't match expected output."
echo
echo "--EXPECTED OUTPUT--"
echo "$expected"
echo
... | wildlyinaccurate/mozart | test/run-all.sh | Shell | mit | 488 |
#!/bin/sh
####################################################################################################
#
# THIS SCRIPT IS NOT AN OFFICIAL PRODUCT OF JAMF SOFTWARE
# AS SUCH IT IS PROVIDED WITHOUT WARRANTY OR SUPPORT
#
# BY USING THIS SCRIPT, YOU AGREE THAT JAMF SOFTWARE
# IS UNDER NO OBLIGATION TO SUPPORT, DEB... | iMatthewCM/Jamf-Scripts | ClassicAPI/departmentsAPI.sh | Shell | mit | 3,513 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | Beaconmaker/BMBeaconManager | Example/Pods/Target Support Files/Pods-BMBeaconManager_Tests/Pods-BMBeaconManager_Tests-frameworks.sh | Shell | mit | 2,632 |
#!/usr/bin/env bash
OUTPUT="/tmp/zookindialog.txt"
dialog --backtitle "Zookin TUI" --nook --nocancel --separate-widget " " \
--begin 4 4 --inputbox "Ciphertext: " 8 100 \
--and-widget \
--begin 8 8 --inputbox "Key: " 8 100 2>$OUTPUT
CODE=$?
MENU=$(cat $OUTPUT)
IFS=" "
SWITCH=1
for i in $MENU; do
if [ $... | bufutda/zookin | lib/dialog/vigenere/decrypt.sh | Shell | mit | 538 |
cleanUp(){
# Remove local images pulled for this project
echo '#####################################'
echo '# CLEANING UP #'
echo '#####################################'
docker container kill adampie-postgresql
docker image rm adampie-postgresql
docker image rm postgres
#docker container ... | adampie/shifter | BUILD-AND-RUN.sh | Shell | mit | 2,055 |
#!/bin/bash
# Environmental variables
SERVICE_ACCOUNT_EMAIL="$WERCKER_DEPLOY_GOOGLEPLAY_SERVICE_ACCOUNT_EMAIL"
KEY_FILE="$WERCKER_DEPLOY_GOOGLEPLAY_KEY_FILE"
PACKAGE_NAME="$WERCKER_DEPLOY_GOOGLEPLAY_PACKAGE_NAME"
APP_FILE="$WERCKER_DEPLOY_GOOGLEPLAY_APP_FILE"
TRACK="$WERCKER_DEPLOY_GOOGLEPLAY_TRACK"
# Check and Set D... | anectinc/wercker-step-deploy-googleplay | run.sh | Shell | mit | 812 |
pyenv-run-all() {
local orig=$PYENV_VERSION
local cmd="$*"
local cmdreal=""
local found=""
local w=$(printf "=%.0s" {1..80})
local s=$(printf "-%.0s" {1..80})
for ver in $(pyenv versions --bare); do
if [ -n "$found" ]; then
found+=", "
fi
found+="$ver"
done
printf "%.80s\n" "$w"
pr... | Paulius-Maruska/dotfiles | pyenv/70-functions.sh | Shell | mit | 3,108 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.