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
# This script is meant to be called in the "deploy" step defined in
# circle.yml. See https://circleci.com/docs/ for more details.
# The behavior of the script is controlled by environment variable defined
# in the circle.yml in the top level folder of the project.
echo $DOC_REPO
echo $DOC_FOLDER
echo $C... | numairmansur/RoBO | ci_scripts/sphinx_buil.sh | Shell | bsd-3-clause | 1,006 |
#!/bin/sh
eTeak --gui -g show-monitor-events:show-time-window \
--monitor-events a.report \
-n a.teak
| Mahdi89/eTeak | examples/events/view.sh | Shell | bsd-3-clause | 105 |
#!/bin/bash
sudo /usr/local/bin/removeauto.bash
| wahlmanj/OpenPlex3 | update/OSX/removeautobash.bash | Shell | bsd-3-clause | 49 |
#!/bin/bash
fw_installed wt && return 0
BOOST_ROOT=/usr/local
BOOST_INC=${BOOST_ROOT}/include
BOOST_LIB=${BOOST_ROOT}/lib
WT_ROOT=${IROOT}/wt
WT_LIB=${WT_ROOT}/lib
WT_INC=${WT_ROOT}/include
LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
CPLUS_INCLUDE_PATH=/usr/include/postgresql:/usr/include/postgresql/9... | steveklabnik/FrameworkBenchmarks | toolset/setup/linux/frameworks/wt.sh | Shell | bsd-3-clause | 2,374 |
#!/usr/bin/env bash
#
# Installation script, copying all executables to a mounted directory
#
# Copyright (c) 2017, Groupon, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# Redistributi... | udondan/ansible-silo | silo/install.sh | Shell | bsd-3-clause | 2,295 |
#!/bin/sh
rm -rvf /thinking-gui
| di-unipi-socc/TosKeriser | data/examples/thinking-app/thinking_group/scripts/gui/uninstall.sh | Shell | mit | 32 |
#!/bin/sh -e
#
# Copyright (C) 2009, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or 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 SOF... | phra/802_21 | myODTONE/app/dhcp_usr/libs/bind/bind-9.8.4-P1/bin/tests/system/autosign/setup.sh | Shell | gpl-2.0 | 1,020 |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you m... | cbas317/DeskeraHRM | bin/catalina.sh | Shell | gpl-3.0 | 19,482 |
# ZShaolin build script
# (C) 2012 Denis Roio - GNU GPL v3
# refer to zmake for license details
# configure the logfile
LOGS=build.log
rm -f $LOGS; touch $LOGS
# download and decompress all sources
prepare_sources
compile alsa-lib default "--disable-shared --enable-static --with-softfloat --without-libdl --without... | vcgato29/ZShaolin | build/sound/conf.zsh | Shell | gpl-3.0 | 955 |
#!/usr/bin/env sh
#make sure selenium is running before going ahead
#SELENIUM=`ps aux | grep -c selenium`
#if [ $SELENIUM -gt 1 ]
# then
# echo GOOD - Looks like selenium is running
# else
# echo ERR - looks like selenium is not running. PLS run ./bin/run-selenium.sh
# exit 1
#fi
#
# define all modules to te... | FiviumAustralia/OpenEyes | bin/prep.sh | Shell | agpl-3.0 | 2,403 |
java -classpath ./tutorial.jar:./../neodatis-odb-1.9.30.689.jar org.neodatis.odb.tutorial.Tutorial1
| vagnerbarbosa/ifpb-vagnerbarbosa-bdnc-neodatis | neodatis-odb-1.9.30-689/doc/run-tutorial.sh | Shell | lgpl-2.1 | 101 |
#!/bin/sh
# SANITIZE="address leak memory undefined"
# SANITIZE="address signed-integer-overflow" # Faster build
SANITIZE=${SANITIZE:="address undefined signed-integer-overflow"}
printf "\033[32m"
echo "========================================================================="
printf "\033[33m"
echo "Sanitize build s... | condret/radare2 | sys/sanitize.sh | Shell | lgpl-3.0 | 1,787 |
#!/bin/sh
#
# Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
# dedicated to making software imaging solutions freely available.
#
# You may not use this file except in compliance with the License. You may
# obtain a copy of the License at
#
# http://www.imagemagick.org/script/license.php
... | ikbear/ImageMagick | tests/validate-formats-on-disk.sh | Shell | apache-2.0 | 774 |
#!/bin/bash
which chromedriver > /dev/null
if [ $? -ne 0 ]; then
echo "Could not find chromedriver"
exit 1;
fi
node_modules/.bin/mocha --reporter spec --timeout 20000 test.js | thr0w/yadda | examples/mocha-webdriver/bin/example.sh | Shell | apache-2.0 | 184 |
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
source tests-common.sh
inherit multiprocessing
tbegin "simple"
MAKEOPTS="-j1" multijob_init
multijob_child_init ls -d / >/dev/null || die "fail!"
multijob_finish
tend $?
tbegin "less simple"... | DmitriyHetman/gentoo | eclass/tests/multiprocessing.sh | Shell | gpl-3.0 | 1,026 |
# Test imptcp with many dropping connections
# added 2010-08-10 by Rgerhards
#
# This file is part of the rsyslog project, released under GPLv3
echo ====================================================================================
echo TEST: \[imptcp_conndrop.sh\]: test imptcp with random connection drops
cat rsysl... | fastly/rsyslog | tests/imptcp_conndrop.sh | Shell | gpl-3.0 | 857 |
#!/bin/bash
# Running the image should trigger the test script, dumping output to console.
cd /opt/functional/cosigner-client/target/
CLIENTLIB=cosigner-client-java-0.0.1-SNAPSHOT.jar
USERKEY=deadbeef
echo "Cosigner functional tests"
echo ""
echo "Waiting for cosigner to start..."
cat < /dev/tcp/${COSIGNER_PORT_844... | EMAXio/heimdal | docker-builds/functional-tests/cosigner-client.sh | Shell | mpl-2.0 | 13,645 |
#!/bin/sh
#
# gst-plugins-good autogen.sh
#
# Run this to generate all the initial makefiles, etc.
#
# This file has been generated from common/autogen.sh.in via common/update-autogen
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd "$srcdir"
DIE=0
package=gst-plugins-good
sr... | ijsf/OpenWebRTC-gst-plugins-good | autogen.sh | Shell | lgpl-2.1 | 2,821 |
#!/bin/bash
#
# This script tries to start mysqld with the right parameters to join an existing cluster
# or create a new one if the old one cannot be joined
#
LOG_MESSAGE="===|mysqld.sh|===:"
OPT="$@"
HEAD_START=15
function do_install_db {
if ! test -d /var/lib/mysql/mysql; then
echo "${LOG_MESSAGE} Initializing ... | cpjolly/mariadb-galera-swarm | mysqld.sh | Shell | apache-2.0 | 13,181 |
#!/bin/bash
set -e
#TODO:Not sure if gerrit can be stopped properly...
echo "Starting Gerrit..."
exec $GERRIT_SITE/bin/gerrit.sh daemon
| kfmaster/cicdlab | modules/docker-gerrit/gerrit-start.sh | Shell | apache-2.0 | 136 |
#!/bin/sh
# $legal:613:
#
# Copyright 2016 Michael Lowell Roberts & Microsoft Research
#
# 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
#
# ... | fmrl/bdbdbdbd | scripts/setup/fstar.sh | Shell | apache-2.0 | 1,131 |
#!/bin/bash
set -ueo pipefail
# Usage: ./EVAL.sh gold_amr_file
# Output will be in $MODEL_DIR/gold_amr_file.parsed
if [ -z "$JAMR_HOME" ]; then
echo 'Error: please source config script'
exit 1
fi
if [ ! -f "${MODEL_DIR}/stage1-weights" ]; then
echo "Error: cannot find weights file ${MODEL_DIR}/stage1-wei... | hopshackle/wordAlignment | scripts/EVAL.sh | Shell | bsd-2-clause | 3,763 |
function exportVar {
NAME=$1
VALUE=$2
echo export $NAME=\"$VALUE\"
export $NAME="$VALUE"
}
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# A valid Android SDK installation is required to build the sample app.
if [ -z "$ANDROID_SDK_ROOT" ]; then
ANDROID_TOOL=$(which android 2>/dev/null)
if... | Frankie-666/color-emoji.skia | platform_tools/android/bin/android_setup.sh | Shell | bsd-3-clause | 6,911 |
#!/bin/bash
#
# IPv4/IPv6 address management using iproute2 (formerly: ifcfg, ifconfig).
#
#
# Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved.
# Copyright (C) 2004-2012 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms... | ingted/resource-agents | rgmanager/src/resources/ip.sh | Shell | gpl-2.0 | 22,723 |
#!/bin/bash
#sudo apt-get install python-beautifulsoup4
python3 parse.py
if [[ -e "output.txt" && -e "cover/methods.txt" ]]; then
LC_ALL=C sort -f -u output.txt -o output.txt
LC_ALL=C sort -f -u cover/methods.txt -o cover/methods.txt
fi
| rasikapohankar/zeroclickinfo-fathead | lib/fathead/java/parse.sh | Shell | apache-2.0 | 247 |
#!/bin/bash
set -x
declare -i i
size='`echo -n "2"`'
#size='$(echo -n "2")'
#size='2;i++'
#good they don't work
for (( i=1; i<=$size; i++ )); do
echo "$i"
done
| respeccing/gentooskyline | system/any/linux/caveats/bash/let/non-issue/for.bash | Shell | apache-2.0 | 167 |
#!/bin/sh
EXP=`echo $1 | sed 's/.diff$/.exp/'`
OUT=`echo $1 | sed 's/.diff$/.out/'`
SEP="--------------------------------------------------------------------------------"
echo $EXP
echo $SEP
cat $EXP; echo
echo $SEP; echo
echo $OUT
echo $SEP
cat $OUT; echo
echo $SEP; echo
| jmikola/mongo-php-driver-prototype | .travis.scripts/debug-diff.sh | Shell | apache-2.0 | 276 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | jpschaaf/hardening-script-el6 | scripts/gen007700.sh | Shell | gpl-2.0 | 2,847 |
#!/bin/bash
# Copyright 2015 Mirantis, 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 appli... | xarses/fuel-library | utils/jenkins/python_run_tests.sh | Shell | apache-2.0 | 3,439 |
#!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | kshafiee/kubernetes | hack/verify-bazel.sh | Shell | apache-2.0 | 996 |
#!/bin/bash
FN="pd.moe430b_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/pd.moe430b_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.moe430b_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.moe430b/bioconductor-pd.moe430b_3.12.0_src_all.ta... | cokelaer/bioconda-recipes | recipes/bioconductor-pd.moe430b/post-link.sh | Shell | mit | 1,302 |
#!/bin/bash
FN="hcg110probe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/hcg110probe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/hcg110probe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hcg110probe/bioconductor-hcg110probe_2.18.0_src_a... | cokelaer/bioconda-recipes | recipes/bioconductor-hcg110probe/post-link.sh | Shell | mit | 1,307 |
#!/bin/sh
rm -f rufus*.exe
./configure --disable-debug "$@"
make -j4 clean
make -j4 release
| HalidCisse/rufus | _release.sh | Shell | gpl-3.0 | 92 |
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-i386"
TEXT_START_ADDR=0x08048000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
NONPAGED_TEXT_START_ADDR=0x08048000
ARCH=i386
MACHINE=
NOP=0x90909090
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
NO_SMALL_DATA=yes
| dplbsd/zcaplib | head/contrib/binutils/ld/emulparams/elf_i386_ldso.sh | Shell | bsd-2-clause | 283 |
#!/bin/sh
echo
echo --- AO Call example for documentation ---------------------------------------------
workingDir=`dirname $0`
. ${workingDir}/../../env.sh
$JAVACMD org.objectweb.proactive.examples.documentation.activeobjectconcepts.Caller "$@"
echo
echo ------------------------------------------------------------... | PaulKh/scale-proactive | examples/documentation/AOConcepts/Caller.sh | Shell | agpl-3.0 | 321 |
#!/bin/bash
fw_depends php7 nginx composer
sed -i 's|localhost|'"${DBHOST}"'|g' index.php
sed -i 's|root .*/FrameworkBenchmarks/php-slim| root '"${TROOT}"'|g' deploy/nginx.conf
sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
php-fpm --fpm-config $FWROOT/config/php-fpm.conf -g $TROOT/deploy/php-f... | ashawnbandy-te-tfb/FrameworkBenchmarks | frameworks/PHP/slim/setup.sh | Shell | bsd-3-clause | 361 |
# exttests/make_clean.sh
#
# Part of the CCNx distribution.
#
# Copyright (C) 2011-2012 Palo Alto Research Center, Inc.
#
# This work 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 work is d... | MobileCloudNetworking/icnaas | mcn-ccn-router/ccnx-0.8.2/csrc/exttests/make_clean.sh | Shell | apache-2.0 | 787 |
#!/bin/bash
# Copyright 2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditio... | soltanmm-google/grpc | tools/dockerfile/push_testing_images.sh | Shell | bsd-3-clause | 3,053 |
#!/bin/bash
FN="DrugVsDiseasedata_1.14.0.tar.gz"
URLS=(
"http://bioconductor.org/packages/3.6/data/experiment/src/contrib/DrugVsDiseasedata_1.14.0.tar.gz"
"https://bioarchive.galaxyproject.org/DrugVsDiseasedata_1.14.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-drugvsdiseasedata/bioconductor-dr... | dmaticzka/bioconda-recipes | recipes/bioconductor-drugvsdiseasedata/post-link.sh | Shell | mit | 1,341 |
#!/bin/bash
FN="BSgenome.Drerio.UCSC.danRer7_1.4.0.tar.gz"
URLS=(
"http://bioconductor.org/packages/3.6/data/annotation/src/contrib/BSgenome.Drerio.UCSC.danRer7_1.4.0.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Drerio.UCSC.danRer7_1.4.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-bsg... | dmaticzka/bioconda-recipes | recipes/bioconductor-bsgenome.drerio.ucsc.danrer7/post-link.sh | Shell | mit | 1,392 |
#!/bin/sh
set -e
# This is how I built the 0.9.2 boot2docker-cli release on my mac.
# install https://storage.googleapis.com/golang/go1.2.2.darwin-amd64-osx10.8.pkg
TMP=$(mktemp -d /tmp/b2d-cli.XXXXXX)
echo Building in $TMP
export GOPATH=$TMP
export DOCKER_HOST=tcp://localhost:2375
go get github.com/boot2docker/boot... | 10fish/boot2docker-cli | release.sh | Shell | apache-2.0 | 435 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
if [ "$(uname)" == "Darwin" ]; then
cp faToTwoBit "$PREFIX/bin"
else
sed -i.bak "s|^CC=gcc$|CC='${CC}'|g" kent/src/inc/common.mk
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(... | jerowe/bioconda-recipes | recipes/ucsc-fatotwobit/357/build.sh | Shell | mit | 499 |
#!/usr/bin/env bash
. ../template/init.sh
coq_makefile -f _CoqProject -o Makefile
cat Makefile.conf
make .merlin
cat > desired <<EOT
B src
S src
EOT
tail -2 .merlin > actual
exec diff -u desired actual
| coq/coq | test-suite/coq-makefile/merlin1/run.sh | Shell | lgpl-2.1 | 204 |
#! /bin/sh
build_bin="${TOP_BUILDDIR:-..}/src/dawgdic-build"
find_bin="${TOP_BUILDDIR:-..}/src/dawgdic-find"
test_dir="${TOP_SRCDIR:-..}/test"
if [ ! -f "$build_bin" ]
then
echo "error: $build_bin: not found"
exit 1
fi
if [ ! -f "$find_bin" ]
then
echo "error: $build_bin: not found"
exit 1
fi
## Builds a di... | lucerne/dawgdic | test/dictionary-test.sh | Shell | bsd-3-clause | 736 |
#!/bin/sh
#
# Copyright (c) 2005, 2010, 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 F... | vicmarcal/JAVA_UNIT | test/javax/script/CommonSetup.sh | Shell | gpl-3.0 | 1,928 |
#!/bin/bash
mkdir -p $PREFIX/bin
mkdir -p $PREFIX/lib
make poa CC=$CC CXX=$CXX
cp poa $PREFIX/bin
cp make_pscores.pl $PREFIX/bin
cp liblpo.a $PREFIX/lib
| cokelaer/bioconda-recipes | recipes/poa/build.sh | Shell | mit | 157 |
#! /bin/sh
AUTORECONF_ARGS=-i
mkdir -p m4
AUTORECONF_ARGS="$AUTORECONF_ARGS -I m4"
autoreconf $AUTORECONF_ARGS
| kito-cheng/libchewing | autogen.sh | Shell | lgpl-2.1 | 113 |
#!/bin/bash -eux
set -o pipefail
retry.py apt-get update -qq
retry.py apt-get install -qq \
shellcheck \
retry.py pip install tox --disable-pip-version-check
echo '{"verified": false, "results": []}' > test/results/bot/ansible-test-failure.json
# shellcheck disable=SC2086
ansible-test compile --failure-ok --co... | andreaso/ansible | test/utils/shippable/other.sh | Shell | gpl-3.0 | 907 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ MeSH.Dme.eg.db
| joachimwolff/bioconda-recipes | recipes/bioconductor-mesh.dme.eg.db/pre-unlink.sh | Shell | mit | 61 |
#!/bin/bash
source ../../env.sh || exit 1
[ -z "$CR_IP_TOOL" ] && CR_IP_TOOL=ip
cd `dirname $0`
name=$1
[ -z "$name" ] && { cat <<EOF
Usage: $0 NAME [PID]"
NAME - a container name
PID - PID of the container's "init". It's required, if CT is dumped
in a second time, because LXC tools don't work in ... | ldu4/criu | test/others/app-emu/lxc/run.sh | Shell | lgpl-2.1 | 1,616 |
#!/bin/bash
# Copyright 2017 gRPC authors.
#
# 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 t... | jboeuf/grpc | tools/internal_ci/linux/grpc_run_interop_tests.sh | Shell | apache-2.0 | 861 |
cp ../../src/MQTTClient.c .
sed -e 's/""/"MQTTLinux.h"/g' ../../src/MQTTClient.h > MQTTClient.h
gcc stdoutsub.c -I ../../src -I ../../src/linux -I ../../../MQTTPacket/src MQTTClient.c ../../src/linux/MQTTLinux.c ../../../MQTTPacket/src/MQTTFormat.c ../../../MQTTPacket/src/MQTTPacket.c ../../../MQTTPacket/src/MQTTDeser... | chinesebear/rtt-net | rtt-2.1/components/external/paho-mqtt/MQTTClient-C/samples/linux/build.sh | Shell | mit | 671 |
#!/bin/sh
while true
do
sleep 1
done
| rowillia/buck | test/com/facebook/buck/shell/testdata/sh_test_timeout/test.sh | Shell | apache-2.0 | 38 |
#!/bin/bash
pslSelect 2> /dev/null || [[ "$?" == 255 ]]
| dmaticzka/bioconda-recipes | recipes/ucsc-pslselect/run_test.sh | Shell | mit | 56 |
virtualenvwrapper='virtualenvwrapper.sh'
virtualenvwrapper_lazy='virtualenvwrapper_lazy.sh'
if (( $+commands[$virtualenvwrapper_lazy] )); then
function {
setopt local_options
unsetopt equals
virtualenvwrapper=${${virtualenvwrapper_lazy}:c}
source ${${virtualenvwrapper_lazy}:c}
[[ -z "$WORKON_HOME... | kulesa/dotfiles | zsh/.oh-my-zsh/plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh | Shell | mit | 3,775 |
#!/usr/bin/env bash
BASEDIR=$(dirname "$0")
cd $BASEDIR/..
kill -9 $(cat processes.pid)
rm processes.pid
| dannalieth/hiphopevents | scripts/down.sh | Shell | mit | 108 |
#!/usr/bin/env bash
export PATH=../jahhills.com/hth:$PATH
manage.py shell_plus --notebook
| bhrutledge/jupyter-django | notebook.sh | Shell | mit | 91 |
#!/bin/bash
set -eu
export BUILDKITE_PLUGIN_S3_SECRETS_BUCKET=${TEST_BUCKET?}
pre_exit() {
source hooks/pre-exit
}
# hooks/environment assumes `s3secrets-helper` command is available, normally
# by way of that binary existing in $PATH. But a shell function works too.
# Rather than build/install s3secrets-helper on... | buildkite-plugins/s3-secrets-buildkite-plugin | .buildkite/test_credentials.sh | Shell | mit | 1,191 |
#!/bin/sh
docker build -t hnakamur/app1 `dirname $0`
| lgertel/vagrant_docker_totvs | app1/build.sh | Shell | mit | 53 |
#!/bin/sh
set -eu && [ ${SET_X:-false} = true ] && set -x
SCRIPT_DIR=$(cd $(dirname $0) && pwd)
cd ${SCRIPT_DIR}
node ./bin/get-current-calendar.js | node ./bin/update-current.js |tee src/json/current.json
git diff src/json/current.json | cat
| hell0again/bbCompass | update.sh | Shell | mit | 245 |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
apt update
apt install google-chrome-stable
| codedsk/qs | installs/googlechrome_install.sh | Shell | mit | 253 |
if [[ "$OSTYPE" != darwin* ]]; then return 1; fi
unalias run-help 2> /dev/null
autoload run-help
export HELPDIR="$(brew --prefix)/share/zsh/helpfiles"
| carlsaturnino/dotfiles | system/help.zsh | Shell | mit | 152 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1448-1
#
# Security announcement date: 2012-05-21 00:00:00 UTC
# Script generation date: 2017-01-01 21:02:32 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - linux-image-3.2.0-24-generic-pae:3.2... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2012/USN-1448-1.sh | Shell | mit | 1,610 |
#!/usr/bin/env bash
source "$( cd "${BASH_SOURCE[0]%/*}" && pwd )/../lib/oo-bootstrap.sh"
import util/namedParameters util/class
class:Human() {
public string name
public integer height
public array eaten
Human.__getter__() {
echo "I'm a human called $(this name), $(this height) cm tall."
}
Human.E... | niieani/bash-oo-framework | example/human.sh | Shell | mit | 1,779 |
#!/bin/bash
numargs=$#
# default values
DATABASE=cats
COLLECTION=samples
while [[ $# > 0 ]]
do
key="$1"
case $key in
-d|--database)
DATABASE="$2"
shift # past argument
;;
-c|--collection)
COLLECTION="$2"
shift # past argument
;;
-t|--type)
TYPE="$2"
if [ $TYPE = "byid" ]; ... | wulfthor/testCats | util/catsdbFindEmbedded.sh | Shell | mit | 2,246 |
#!/usr/bin/env bash
usage()
{
echo "Usage: $0 [BuildArch] [BuildType] [clean]"
echo "BuildArch can be: amd64"
echo "BuildType can be: debug, release"
echo "clean - optional argument to force a clean build."
exit 1
}
setup_dirs()
{
echo Setting up directories for build
mkdir -p "$__Ro... | abhirag/pal_detached | build.sh | Shell | mit | 4,638 |
#!/bin/sh
#
# run_test.sh - Run a C# test using "ilrun".
#
# Copyright (C) 2001, 2002 Southern Storm Software, Pty Ltd.
#
# 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... | jjenki11/blaze-chem-rendering | qca_designer/lib/pnetlib-0.8.0/tools/run_test.sh | Shell | mit | 1,803 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2014:0783
#
# Security announcement date: 2014-06-23 18:51:07 UTC
# Script generation date: 2017-01-01 21:15:21 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - httpd.x86_64:2.2.22-27.ep6.el6
# - ht... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2014/RHSA-2014:0783.sh | Shell | mit | 1,293 |
#!/bin/bash
cd /opt/app/podcastSlinger/
exec /sbin/setuser nobody node /opt/app/podcastSlinger/server.js --data "/data" --port 3000 --host $HOST --publicport $PUBLICPORT --title $TITLE --description $DESCRIPTION --image $IMAGE
# .option('-d, --data [value]', 'base path to files')
# .option('-p, --port [value]', 'por... | kwv/podcastslinger | podcastSlinger.sh | Shell | mit | 584 |
#!/bin/bash
# Photobomb 1.0.1
# Download Photosynth previews and turn them into a GIF!
if [ $# -lt 1 ]; then
echo "Usage: $0 photosynth_id [wget_args]"
exit
fi
command -v convert >/dev/null 2>&1 || { echo >&2 "I require ImageMagick but it's not installed. Aborting."; exit 1; }
command -v wget >/dev/n... | celand/photosynthGIF | photosynthgif.sh | Shell | mit | 1,839 |
@class
AppServerVersionConstants(){
GLASSFISH_VERSION(){
echo "3.1.2.2"
}
JBOSS_VERSION(){
echo "eap-7.1.0"
}
JETTY_VERSION(){
echo "8.1.10"
}
JONAS_VERSION(){
echo "5.2.3"
}
RESIN_VERSION(){
echo "4.0.44"
}
TCAT_VERSION(){
echo "7.0.2"
}
@deprecated
TCSERVER_VERSION(){
echo "3.2.5"
}... | anthony-chu/bash-toolbox | app/server/version/constants/AppServerVersionConstants.sh | Shell | mit | 490 |
#!/bin/sh -Ex
cp -Rp coffee/template coffee/$1
mv coffee/$1/connector.coffee coffee/$1/${1}_connector.coffee
cp resources/template.html resources/$1.html
sed -i'' "s/CONNECTORNAME/$1/" resources/$1.html
| starschema/tableau-web-table-connector | create_connector.sh | Shell | mit | 207 |
#!/bin/bash
set -eo pipefail -o nounset
if [[ -z $(conda info --envs | grep "*" | grep -o "\/.*") ]]; then
export CONDA_ROOT=$(conda info --root)
env_dir=$CONDA_ROOT
export RECIPE_DIR=$CONDA_ROOT/share/ggd/Homo_sapiens/hg38/hg38-self-chain-high-identity-ucsc-v1/1
elif [[ $(conda info --envs | grep "*" | gr... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/hg38/hg38-self-chain-high-identity-ucsc-v1/post-link.sh | Shell | mit | 3,020 |
#!/bin/bash
sudo -u postgres psql -d citibike | pbrandt1/citibike-historical | pgshell.sh | Shell | mit | 45 |
#!/bin/bash
date
SVER=`git rev-parse HEAD`
_SVER=${SVER:0:6}
NUM=`git rev-list HEAD --count`
UNTR=`expr $(git status --porcelain 2>/dev/null| egrep "^(M| M)" | wc -l)`
LOG=`echo "l($NUM)/l(2)" | bc -l`
LOG=${LOG:0:4}
echo "/**
The MIT License (MIT)
Copyright (c) 2014-2015 Mateusz Cichon
Permission is hereby gran... | eider-i128/fullserver | gamemode/gamemodes/make.sh | Shell | mit | 1,841 |
#!/usr/bin/env bash
cd $(dirname $(readlink -f $0))
source ../../utils/libdeploy.bash
link_package \
./config/compton ${HOME}/.config/compton
| tiborsimon/dotfiles | configs/compton/02_deploy_config.bash | Shell | mit | 146 |
#!/bin/bash -e
export PHPENV_VERSION_ALIAS="7.1"
export PHP_VERSION="7.1.26"
echo "============ Building PHP version $PHP_VERSION =============="
PHP_BUILD_CONFIGURE_OPTS="--with-bz2 --enable-intl --with-ldap=/usr/include --with-freetype-dir=/usr" php-build -i development "$PHP_VERSION" $HOME/.phpenv/versions/"$PHPEN... | dry-dock/u16phpall | version/7_1.sh | Shell | mit | 1,529 |
#!/bin/bash
# This script imports a list of serial numbers from a plaintext file
# and uses that information to generate a report about the matching computers
#
# Usage: /path/to/Generate_Mac_Report_From_Jamf_Pro_Serial_Numbers.sh serial_numbers.txt
#
# Once the serial numbers are read from in from the plaintext file... | rtrouton/rtrouton_scripts | rtrouton_scripts/Casper_Scripts/Generate_Mac_Report_From_Jamf_Pro_Serial_Numbers/Generate_Mac_Report_From_Jamf_Pro_Serial_Numbers.sh | Shell | mit | 9,096 |
#!/bin/sh
cd erp-task/target
echo "FROM base-openjdk
COPY erp-task.jar /opt
CMD java -Dfile.encoding=UTF-8 -Duser.timezone=Asia/Shanghai -jar /opt/erp-task.jar" > dockerfile
docker build --no-cache -t $DOCKER_REGISTRY_PRD_JF/erp-task .
docker images --no-trunc --all --quiet --filter="dangling=true" | xargs --no-run-if-... | xxweimei/gitlab_rancher_auto_deploy | biz/erp-task-prd-jf.sh | Shell | mit | 1,075 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2008:0270
#
# Security announcement date: 2008-05-19 01:19:27 UTC
# Script generation date: 2017-01-01 21:09:52 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libvorbis.i386:1.1.2-3.el5_1.2
# - lib... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2008/CESA-2008:0270.sh | Shell | mit | 1,041 |
#!/usr/bin/env bash
###############################################################################
## Determine if a specified port on a given host is open.
#
# When you find yourself on a *nix system that doesn't have the typical
# utilities that would be used to do this same task (and more... better) are
# not avail... | GuyHoozdis/dotfiles | bin/probe.sh | Shell | mit | 2,705 |
#!/bin/bash
rm result*
make clean
make
Start="20"
./a.out -no_frames "$Start" -cpu_offset "0" -device "0"
./a.out -no_frames "$Start" -cpu_offset "10" -device "0"
./a.out -no_frames "$Start" -cpu_offset "20" -device "0"
./a.out -no_frames "$Start" -cpu_offset "30" -device "0"
./a.out -no_frames "$Start" -cpu_offse... | zhangfengthu/CoRunBench | heartwall/run_dwarves.sh | Shell | mit | 689 |
#!/bin/sh
function print_usage
{
echo "usage: compose.sh [[[--dev] [-d] [-v]] | [-h]] [CMD]"
}
DEV_MODE=false
COMPOSE_FILE=docker-compose.prod.yml
PROJECT_NAME=nonaginta-novem
DEAMON_MODE=false
VERBOSE_MODE=false
ACTION=$BASH_ARGV
while [ "$1" != "" ]; do
case $1 in
--dev ) DEV_MODE=true
... | nonaginta-novem/docker | compose.sh | Shell | mit | 867 |
#!/bin/bash
if [[ -z "$TRAVIS" ]];
then
export COVERALLS_SERVICE_NAME="Adhoc Test Machine";
export COVERALLS_REPO_TOKEN="VLEaloUrUr3sm3cr12OR8kWszvBIVtIsH";
echo "Not on Travis CI? The the correct ENV vars have been set for you.";
else
echo "Coveralls info is already set. This should be so on Travis CI.... | NoxHarmonium/moussaka-client | gencoverage.sh | Shell | mit | 536 |
#!/bin/sh
XML_DIR="/tmp/lab1-2_xml"
XMLN[1]="1.xml"
XMLN[2]="2.xml"
XMLN[3]="3.xml"
XMLN[4]="3.xml"
XML[1]="$XML_DIR/${XMLN[1]}"
XML[2]="$XML_DIR/${XMLN[2]}"
XML[3]="$XML_DIR/${XMLN[3]}"
XML[4]="$XML_DIR/${XMLN[4]}"
XML_HEADER='<?xml version="1.1"?>'
SAXON="saxon8"
XSLTPROC="xsltproc"
mkdir -p $(dirname "${XML[1]}");
... | Fat-Zer/semestr-6 | db/lab1-2/do_xml.sh | Shell | mit | 10,105 |
sudo apt-get update -y
sudo apt-get install python -y
sudo apt-get install python-dev -y
sudo apt-get install python-pip -y
sudo apt-get install python-virtualenv -y
sudo apt-get install mecab-ipadic-utf8 -y
sudo apt-get install libmecab-dev -y
sudo apt-get install redis-server -y
sudo apt-get install git -y
sudo lo... | tinbotu/sub | script/devserver_provisioning.sh | Shell | mit | 418 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for ... | panosmdma/SlackOnly-SlackBuilds | desktop/razercfg/doinst.sh | Shell | mit | 701 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3114-1
#
# Security announcement date: 2016-10-25 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:40 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - nginx-extras:1.4.6-1ubuntu3.6
# - ng... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2016/USN-3114-1.sh | Shell | mit | 1,181 |
#!/bin/bash
####################
# go get github.com/ChimeraCoder/gojson/gojson
####################
go test ./...
# check for race conditions
go test -race ./...
# go run -race ./cmd/diffence/main.go -config ./test/fixtures/config.json
| techjacker/diffence | bin/githooks/test.sh | Shell | mit | 239 |
#!/usr/bin/env bash
export datadir='/Users/rbiswas/data/LSST/RutgersFullSkyPixels/fullskypix/OpSim2.168_DithDDF'
| rbiswas4/Cadence_rutgersStudies | setup.sh | Shell | mit | 114 |
#!/bin/env bash
FILES_DIR=$1
INSTALL_DIR=$2
# Install and setup ckan
echo "** sudo cp -af ${FILES_DIR}/ckan.exe ${INSTALL_DIR}"
sudo cp -af ${FILES_DIR}/ckan.exe ${INSTALL_DIR}/ckan.exe
echo
echo "** mono ${INSTALL_DIR}/ckan.exe upgrade ckan --headless"
mono ${INSTALL_DIR}/ckan.exe upgrade ckan --headless
echo
echo... | RobbHendershot/kspsetup | scripts/install_ckan.sh | Shell | mit | 420 |
#!/bin/bash
for data in $BENCHDIR/*.dat; do
img=$(basename $data)
cat $data | $BENCHDIR/graphsched.py > "$IMGDIR/${img%.dat}.png"
done
| lvuotto/so-tps | tp1/benchmark/plotter.sh | Shell | mit | 140 |
#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
: "${DB_NAME:?Need to set DB_NAME non-empty}"
: "${DB_USER:?Need to set DB_USER non-empty}"
: "${DB_HOST:?Need to set DB_HOST non-empty}"
: "${DB_PASS:?Need to set DB_PASS non-empty}"
: "${DB_ROOT_PASS:?Need to set DB_ROOT_PASS non-empty}"
: "${DATA_FO... | owid/owid-grapher | devTools/docker/refresh-grapher-data.sh | Shell | mit | 1,801 |
#! HackerRank
cut -c1-4
| MrinmoiHossain/HackerRank | Linux Shell/Text Processing/Cut#4.sh | Shell | mit | 25 |
#!/usr/bin/env bash
# Taken from https://raw.githubusercontent.com/hashicorp/terraform/master/scripts/gofmtcheck.sh
# Check gofmt
echo "==> Checking that code complies with gofmt requirements..."
GOFMT_FILES=$(gofmt -l $(find . -name '*.go' | grep -v vendor))
if [[ -n ${GOFMT_FILES} ]]; then
printf "gofmt needs ru... | Swampy821/gobot | scripts/gofmtcheck.sh | Shell | mit | 468 |
#!/usr/bin/env bash
echo "Stopping swarm";
docker-compose -f docker-compose.yml stop;
| EarthlingInteractive/angular2-express-docker | util/down.sh | Shell | mit | 91 |
#!/usr/bin/env bash
NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
currentNodeVersion=$(nvm current)
requiredNodeVersion=$(head -n 1 .nvmrc)
nvm use ${requiredNodeVersion}
npm run deploy
nvm use ${currentNodeVersion}
| josh-egan/tech.joshegan.com | deploy.sh | Shell | mit | 263 |
#!/bin/bash
set -e
HOSTS="i686-w64-mingw32 x86_64-w64-mingw32"
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests"
HOST_CFLAGS="-O2 -g"
HOST_CXXFLAGS="-O2 -g"
export QT_RCC_TEST=1
export GZIP="-9n"
cd ../..
# test if we are in the root directory of repository
if [[ ! -e "autogen.sh" ]]
then
... | ColossusCoinXT/ColossusCoinXT | contrib/CI/build_win.sh | Shell | mit | 3,117 |
#!/usr/bin/env bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title World Time
# @raycast.mode inline
# @raycast.refreshTime 5s
# @raycast.packageName Dashboard
# Optional parameters:
# @raycast.icon 🕐
#
# Documentation:
# @raycast.description Show the time from elsewhere in the world
# @raycast.a... | zenjoy/dotfiles | raycast/world-time.sh | Shell | mit | 614 |
#!/bin/sh
# Inject ServerName and ServerAlias if specified
APACHE_CONFIG="/etc/apache2/sites-available/000-default.conf"
if [ ! -z ${BAIKAL_SERVERNAME+x} ]
then
sed -i "s/# InjectedServerName .*/ServerName $BAIKAL_SERVERNAME/g" $APACHE_CONFIG
fi
if [ ! -z ${BAIKAL_SERVERALIAS+x} ]
then
sed -i "s/# InjectedServerAli... | ckulka/baikal-docker | files/start.sh | Shell | mit | 399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.