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/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...
mlaz/mynewt-core
hw/bsp/nucleo-f746zg/nucleo-f746zg_debug.sh
Shell
apache-2.0
1,569
#!/usr/bin/env python import shutil import subprocess import os import xml.etree.ElementTree as ET # This script is related to buiilding sync gateway from source via the `repo` tool, # which is a tool to deal with multiple git repos based on a manifest XML file which # pins dependencies to certain versions. # # This...
paulharter/sync_gateway
snap-manifest.sh
Shell
apache-2.0
2,606
#! /bin/bash CP=./../siren-demo-jar-with-dependencies.jar java -cp $CP org.sindice.siren.demo.ncpr.NCPRQuery
jaydeep-marvaniya/KQL
siren-demo/src/example/query.sh
Shell
apache-2.0
110
#!/bin/bash export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 python bareon_dynamic_allocator/cmd.py --svg-file /tmp/bareon.svg --debug --schema etc/bareon-dynamic-allocator/simple_schema.yaml --file o.txt --hw-info etc/bareon-dynamic-allocator/example_2_disks.yaml
rustyrobot/bareon-dynamic-allocator
run.sh
Shell
apache-2.0
268
#!/bin/bash # 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 ...
apache/solr
solr/docker/tests/cases/prometheus-exporter/test.sh
Shell
apache-2.0
2,129
#!/bin/bash mpiexec -n 1 performance/latency_probe/latency_probe -threads-per-node 2
GeneAssembly/biosal
scripts/performance/latency-probe-1x2.sh
Shell
bsd-2-clause
86
conda deactivate emission conda env remove --name emission
shankari/e-mission-server
setup/teardown.sh
Shell
bsd-3-clause
59
# Prepare puppetlabs repo wget http://apt.puppetlabs.com/puppetlabs-release-wheezy.deb dpkg -i puppetlabs-release-wheezy.deb rm puppetlabs-release-wheezy.deb apt-get update # Install puppet/facter apt-get install -y puppet facter # Configure cat > /etc/puppet/puppet.conf << EOF [main] confdir = /etc/puppet ssldir = /...
westurner/provis
packer/scripts/puppet.sh
Shell
bsd-3-clause
389
#!/bin/bash out=$(scl enable rh-nodejs4 "node -v" ) ret=$? echo "$out"|grep -o 'v4\.' exit $retcode
khardix/sclo-ci-tests
collections/rh-nodejs4-rh/check-version/run.sh
Shell
bsd-3-clause
103
#!/bin/bash set -o pipefail bower i && \ npm run compile-all && \ cp CNAME dist cd dist && \ git init && \ git add . && \ git commit -m "deploy" && \ git remote add origin git@github.com:marionettejs/marionettejs.com.git && \ git push -f origin master:gh-pages && \ rm -rf .git && \ cd ..
denar90/marionettejs.com
ship.sh
Shell
mit
290
#!/bin/bash -e echo "Building from version ${APPLICATION_VERSION}" export CLIENT_SECRETS="/etc/google/oauth/client_secrets.json" export OAUTH_TOKENS="/var/lib/google/oauth/drive.db" export PATH_PREFIX="/performance/transactions-explorer/" export TREEMAP_ARTEFACT_NAME="treemaps.tgz" . ./create_virtualenv.sh "transact...
gds-attic/transactions-explorer
build.sh
Shell
mit
845
#!/bin/bash echo "Configuring..." source configure.sh echo "Building..." ./gradlew clean build connectedCheck assembleRelease clean build echo "Build finished!"
AppsByDavideV/Cornowser
buildReleaseApp.sh
Shell
mit
164
#! /bin/sh . ../../testenv.sh analyze_failure file.vhdl clean GHDL_STD_FLAGS=--std=08 analyze file.vhdl clean echo "Test successful"
tgingold/ghdl
testsuite/gna/ticket52/testsuite.sh
Shell
gpl-2.0
137
#! /bin/sh # # import-gnulib.sh -- imports a copy of gnulib into findutils # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publ...
infoburp/findutils
import-gnulib.sh
Shell
gpl-3.0
11,413
# Set the flags to pass to the jvm when running omid # export JVM_FLAGS=-Xmx2048m
satishpatil2k13/Alan_Gates-OMID-HBase
benchmarks/bin/omid-env.sh
Shell
apache-2.0
82
#!/usr/bin/env bash #SPARK_MASTER=`cat /root/spark-ec2/cluster-url` SPARK_MASTER="local" #NUM_ROWS=1000000 NUM_ROWS=1000 NUM_COLS=10 NUM_PARTITIONS=2 NUM_CLASSES=1 SGD_STEP_SIZE=0.1 SGD_ITERATIONS=10 SGD_BATCH_FRACTION=1.0 if [[ $# -ne 1 ]]; then echo "Usage: run-stability-checker.sh <suffix>" exit 0; fi ./run...
tomerk/ml-matrix
scripts/run-stability-checker.sh
Shell
apache-2.0
823
#!/bin/bash -u set -e # Copyright (c) 2012 Tresys Technology LLC, Columbia, Maryland, USA # # This software was developed by Tresys Technology LLC # with U.S. Government sponsorship. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License ...
quark-pat/CLIP
packages/aqueduct/aqueduct/compliance/Bash/SSG/dev/service_autofs_disabled.sh
Shell
apache-2.0
865
#Aqueduct - Compliance Remediation Content #Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@gmail.com) # #This program is free software; you can redistribute it and/or #modify it under the terms of the GNU General Public License #as published by the Free Software Foundation; either version 2 #of the Licens...
quark-pat/CLIP
packages/aqueduct/aqueduct/compliance/Bash/NISPOM/rhel6/prod/NISPOM-SSHD_Disable_Root_Login.sh
Shell
apache-2.0
1,785
#!/bin/sh # Default display name DNAME="${SYNOPKG_PKGNAME}" # Source package specific variable and functions SVC_SETUP=`dirname $0`"/service-setup" if [ -r "${SVC_SETUP}" ]; then . "${SVC_SETUP}" fi # Required variables to start both processes # We use Generic Service variables for main deamon DELUGED="${SYNOPKG...
Zetten/spksrc
spk/deluge/src/dsm-control.sh
Shell
bsd-3-clause
2,862
#!/bin/bash FN="MafDb.TOPMed.freeze5.hg38_3.10.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/annotation/src/contrib/MafDb.TOPMed.freeze5.hg38_3.10.0.tar.gz" "https://bioarchive.galaxyproject.org/MafDb.TOPMed.freeze5.hg38_3.10.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-mafdb.t...
Luobiny/bioconda-recipes
recipes/bioconductor-mafdb.topmed.freeze5.hg38/post-link.sh
Shell
mit
1,377
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2012-2015 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
rmoorman/tup
test/t8055-variant-rmrf3.sh
Shell
gpl-2.0
1,215
#!/bin/sh # # git-submodule.sh: add, init, update or list git submodules # # Copyright (c) 2007 Lars Hjemli dashless=$(basename "$0" | sed -e 's/-/ /') USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>] or: $dashless [--quiet] status [--cached] [--r...
YueLinHo/Test1200RemoteBranches
git-submodule.sh
Shell
gpl-2.0
32,025
# Set the different path for this activity # This is sourced by runit.sh path=$1 activity=watercycle plugindir=$path/../boards/.libs pythonplugindir=$path resourcedir=$path/resources section="/experience"
GNOME/gcompris
src/watercycle-activity/init_path.sh
Shell
gpl-3.0
206
#!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) ...
chriscox/material-components-ios
demos/Codelabs/BuildingBeautifulApps/ObjectiveC/Starter/Pods/Target Support Files/Pods-BuildingBeautifulApps/Pods-BuildingBeautifulApps-resources.sh
Shell
apache-2.0
7,436
#!/bin/bash if [ -f emlabConfig.cfg ];then . emlabConfig.cfg else echo "Define emlabConfig.cfg, by changing the template. Exiting sc\ ript." exit fi sh $emlabHome/shellscripts/makeRamdisk.sh #start model cd $emlabModelFolder mvn exec:...
asmkhan/emlab-generation
shellscripts/startModel.sh
Shell
apache-2.0
328
#!/bin/sh # make sure we get proper diagnostics: e.g., with --target-dir=d but no args # Copyright (C) 2000-2014 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, ...
houwentaoff/coreutils
tests/mv/diag.sh
Shell
gpl-3.0
1,541
#!/bin/bash MOLGENIS_HOME=/usr/local/share/molgenis/ ENVIRONMENT=production DB_USER=molgenis DB_PASSWORD=molgenis MAIL_USER=molgenis MAIL_PASSWORD=xxxx OPENCPU_HOST=opencpu.molgenis.org OPENCPU_PORT=443 OPENCPU_SCHEME=https MINIO_BUCKET_NAME=molgenis MINIO_ENDPOINT=http://127.0.0.1:9000 MINIO_ACCESS_KEY=molgenis MINI...
dennishendriksen/molgenis
molgenis-app/rpm/postinstall.bash
Shell
lgpl-3.0
2,314
#!/bin/bash # Copyright 2016 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...
carl-mastrangelo/grpc
tools/internal_ci/linux/run_performance_profile_hourly.sh
Shell
apache-2.0
985
#! /usr/bin/env bash # __ __ _ # ___\ \/ /_ __ __ _| |_ # / _ \\ /| '_ \ / _` | __| # | __// \| |_) | (_| | |_ # \___/_/\_\ .__/ \__,_|\__| # |_| XML parser # # Cop...
AlienCowEatCake/ImageViewer
src/ThirdParty/libexpat/expat-2.4.2/buildconf.sh
Shell
gpl-3.0
2,764
#!/usr/bin/env bash # Copyright 2021 Nordic Semiconductor # SPDX-License-Identifier: Apache-2.0 source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh RunTest mesh_transport_seg_concurrent transport_tx_seg_concurrent transport_rx_seg_concurrent
zephyrproject-rtos/zephyr
tests/bluetooth/bsim_bt/bsim_test_mesh/tests_scripts/transport/seg_concurrent.sh
Shell
apache-2.0
250
#!/bin/bash TEST_DIR=$4 export XTREEMFS=$1 echo "XTREEMFS=$XTREEMFS" if [[ "$3" == pbrpcs://* || "$3" == pbrpcg://** ]]; then CREDS="-c $1/tests/certs/Client.p12 -cpass passphrase -t $1/tests/certs/trusted.jks" fi # test dump COMMAND="$1/bin/xtfs_mrcdbtool -mrc $3 $CREDS dump $TEST_DIR/dump.xml" echo "Running ${CO...
harnesscloud/xtreemfs
tests/test_scripts/system_mrcdbtool_test.sh
Shell
bsd-3-clause
566
#!/bin/sh # FreeBSD package installation echo "For now with this test profile script, please run: phoronix-test-suite install-dependencies xxx as root." # sudo seems a bit odd at times on PC-BSD 9.1 # Check that ports is setup, below code should work for making sure good state with PC-BSD at least if [ -d /usr/ports...
BryanQuigley/phoronix-test-suite
pts-core/external-test-dependencies/scripts/install-freebsd-packages.sh
Shell
gpl-3.0
742
#!/bin/bash source %(openrc)s keystone tenant-list if [[ $? != 0 ]]; then echo 'Unable to establish connection for ospurge' exit 1 fi # by default delete all networks using vxlan nets_string=$(neutron net-list | awk '$2 != "id" {print $2}' | awk 'NF && $1!~/^#/') nets=(${nets_string// / }) subnets_string=$(ne...
xinwu/bosi
etc/t6/ospurge_template/ubuntu.sh
Shell
apache-2.0
1,395
#!/bin/sh ### ====================================================================== ### ## ## ## JBoss Bootstrap Script ## ## ...
NCIP/camod
software/target/dist/exploded/bda-utils/resource/ncicb/jboss-custom/bin/run.sh
Shell
bsd-3-clause
5,876
#!/usr/bin/env bash INCLUDE: ./../../common/actions/mink.sh
philippmahlow/shopware
dev-ops/bamboo.shopware.com/actions/mink.sh
Shell
agpl-3.0
60
#!/usr/bin/env bash # Entry point for Python tests. # # Make it work from wherever this script is called, and let tests know. export TESTS_DIR=`dirname "$0"` export PYTHONPATH=${TESTS_DIR} # Only run tests in the chosen test file (without the _test.py suffix). if [[ -n "$1" ]]; then TEST_WHAT=$1 else TEST_WHA...
Igalia/snabbswitch
src/program/lwaftr/tests/selftest.sh
Shell
apache-2.0
737
#!/bin/sh LIBTOOLIZE=`which libtoolize` if ! test -f "$LIBTOOLIZE" ; then # Mac OSX support ... LIBTOOLIZE=`which glibtoolize` fi mkdir -p m4 ln -sf README.md README ln -sf CHANGELOG.md NEWS aclocal -I m4 || exit 1 ${LIBTOOLIZE} || exit 1 autoheader || exit 1 automake --add-missing || exit 1 autoconf || exit 1
ValdisVitolins/espeak-ng
src/ucd-tools/autogen.sh
Shell
gpl-3.0
318
#!/usr/bin/env bash while true do /opt/MozDef/cron/syncAlertsToMongo.py /opt/MozDef/cron/collectAttackers.py sleep 10 done
jvehent/MozDef
examples/demo/syncalerts.sh
Shell
mpl-2.0
153
#!/bin/bash # All cram tests should use this. Make sure that "ag" runs the version # of ag we just built, and make the output really simple. # --noaffinity is to stop Travis CI from erroring (it runs in containers so pthread_setaffinity_np fails) # --workers=1 is to keep all output ordered, to make testing output eas...
k-takata/the_silver_searcher
tests/setup.sh
Shell
apache-2.0
422
#!/bin/sh #------------------------------------------------------ # Script to extrac a database with demo values. # Note: "dialog" tool need to be available if no parameter provided. # # Regis Houssin - regis.houssin@capnetworks.com # Laurent Destailleur - eldy@users.sourceforge.net #-----------------------------...
Franck-MOREAU/dolibarr
dev/initdemo/savedemo.sh
Shell
gpl-3.0
7,341
declare a=( ['key1']='value1' ['key1']='value1' )
siosio/intellij-community
plugins/sh/testData/oldParser/issue329.sh
Shell
apache-2.0
50
#!/bin/sh # Verify behavior of env. # Copyright (C) 2009-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your opti...
projectgnu/coreutils
tests/misc/env.sh
Shell
gpl-3.0
5,407
#!/usr/bin/env bash # # Script to build, test and push a docker container # SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" function show_usage() { echo "" echo "Usage: $(basename $0) COMMAND LANGUAGE DEVICE" echo "" echo " COMMAND: build or commit." echo " commit needs logi...
rishita/mxnet
docker/tool.sh
Shell
apache-2.0
2,336
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # Check for "not set", not just "empty": [[ ! $MACH_O_TYPE && ${MACH_O_TYPE-_} ]] [[ ! $PRODUCT_TYPE && ${PRODUCT_TYPE-_} ]] test $PRODUCT_NAME...
cp16net/virgo-base
tools/gyp/test/mac/type_envvars/test_nonbundle_none.sh
Shell
apache-2.0
660
#!/bin/bash # # Copyright 2015 The Bazel 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 required by...
juhalindfors/bazel-patches
tools/android/strip_resources_test.sh
Shell
apache-2.0
1,267
#!/bin/sh pkgfile -r "^/usr/lib/perl5/vendor_perl/auto/.*\.so$" | sed 's#^.*/##' | sort -u ssh celestia PATH=/usr/local/bin:\$PATH\; /home/bluewind/bin/sogrep-all libperl.so
legends2k/MSYS2-packages
perl/generate-rebuild-list.sh
Shell
bsd-3-clause
175
#!/bin/bash let max_threads=$(cat /proc/cpuinfo | grep processor | wc -l) echo "" echo "---------------------------------------------------------" echo " Running Primer $name" echo " wrk -H 'Host: $server_host' -H 'Accept: $accept' -H 'Connection: keep-alive' --latency -d 5 -c 8 --timeout 8 -t 8 $url" echo "----------...
sumeetchhetri/FrameworkBenchmarks
toolset/wrk/concurrency.sh
Shell
bsd-3-clause
1,641
mkdir $out echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar sleep 10 # $out should not have been GC'ed while we were sleeping, but just in # case... mkdir -p $out # Check that the GC hasn't deleted the lock on our output. test -e "$out.lock" ln -s $input2 $out/input-2
gebner/nix
tests/gc-concurrent.builder.sh
Shell
lgpl-2.1
280
#!/bin/bash # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This script does some preparations before build of instrumented libva1. # autogen is only required on Precise. NOCONFIGURE=1 ./autogen.sh sed...
Teamxrtc/webrtc-streaming-node
third_party/webrtc/src/chromium/src/third_party/instrumented_libraries/scripts/pre-build/libva1.sh
Shell
mit
392
#!/bin/bash pid=`/bin/ps -fu $USER| grep "index" | grep -v "grep" | awk '{print $2}'` sudo kill -9 $pid
SimonSun1988/myWebsite
end.sh
Shell
isc
106
#!/bin/sh # Expand all existing corpora annotations to align with NP boundaries. # # Note: Requires PTB-style constituency parsers of the text # # Author: Pontus Stenetorp <pontus stenetorp se> # Version: 2011-11-07 PARSE_EXT=mcccj for TXT_FILE in `find data/corpora -name '*.txt'` do ID=`echo ${TXT_FILE} |...
ninjin/simsem
convert.sh
Shell
isc
705
#!/usr/bin/env bash eval $(docker-machine env --shell bash octoblu-dev) . ./servers DOCKER_RUN='docker run --name $SERVER --restart=always -d -p 27017:27017' DATA_VOLUME='--volumes-from ${SERVER}.data' DOCKER_PERSIST_CMD="$DOCKER_RUN $DATA_VOLUME mongo" DOCKER_TMP_CMD="$DOCKER_RUN mongo" for SERVER in "${SERVERS[@]}"...
octoblu/octoblu-dev
services-core/mongo/run.sh
Shell
mit
539
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-94-1 # # Security announcement date: 2014-11-25 00:00:00 UTC # Script generation date: 2017-01-01 21:08:50 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - php5:5.3.3-7+squeeze23 # # Last vers...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2014/DLA-94-1.sh
Shell
mit
677
#!/bin/bash # Important, run this script as sudo function create_homes() { cat <<EOF echo "You should not be running any containers in /opt/containers when you run this script." echo "Removing old directory structure from /opt/containers" rm /opt/containers/* -fr echo "Re-creating directory structure inside /opt/con...
HelgeCPH/cph-code-infra
remote/setup.sh
Shell
mit
3,269
#!/bin/bash current_path=`pwd` case "`uname`" in Linux) bin_abs_path=$(readlink -f $(dirname $0)) ;; *) bin_abs_path=`cd $(dirname $0); pwd` ;; esac base=${bin_abs_path}/.. easy_conf=$base/conf/config.properties logback_configurationFile=$base/conf/logback.xml export LANG=en_US.UTF-8 export BASE=$base i...
FTChinese/push
src/main/bin/receive_token_start.sh
Shell
mit
2,873
. $UTL/${1}_profile.sh cd ${func_dir} #################################################################################################### echo "Deconvolution!!" #################################################################################################### if [ ! -e ${runnm}_bucket+orig.HEAD ]; then if [ "${run}...
KrbAlmryde/Utilities
WorkShop/AFNI/deconvolve_tap_orig.sh
Shell
mit
3,818
#!/usr/bin/env bash # Set gitconfig if [ ! -f ~/.gitconfig ]; then echo 'What is your git author name?' read -e git_authorname echo 'What is your git author email?' read -e git_authoremail git config --global user.name "$git_authorname" git config --global user.email $git_authoremail fi # Remove old files for file ...
n-ik/dotfiles
bootstrap.sh
Shell
mit
649
#!/usr/bin/env bash docker run --rm -it -v /containers/eth:/root/.ethereum hkjn/geth:x86_64 --fast --cache 512 console
hkjn/scripts
run_geth.sh
Shell
mit
119
#!/bin/bash NN=react1-2016-06-23.json OF=react1-2016-06-23.out rm -f ./goftl go build 2>&1 | color-cat -c red # go build xx=$( ps -ef | grep goftl| grep -v grep | grep "$NN" | awk '{print $2}' ) if [ "X$xx" == "X" ] ; then : else kill $xx fi if [ -x ./goftl ] ; then ./goftl -c ./"$NN" > "$OF" & fi
pschlump/Go-FTL
server/goftl/react1.sh
Shell
mit
309
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2602-1 # # Security announcement date: 2013-01-08 00:00:00 UTC # Script generation date: 2017-01-01 21:06:29 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - zendframework:1.10.6-1squeeze2 # # L...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2013/DSA-2602-1.sh
Shell
mit
637
#!/bin/bash -v # -v makes this script print commands before executing them # install dependencies from Homebrew brew upgrade xctool # update CocoaPods gem update cocoapods --no-ri --no-rdoc # install gems bundle install # install pods bundle exec pod install
twotoasters/Toast
travis-scripts/install.sh
Shell
mit
264
autoload colors && colors # cheers, @ehrenmurdick # http://github.com/ehrenmurdick/config/blob/master/zsh/prompt.zsh if (( $+commands[git] )) then git="$commands[git]" else git="/usr/bin/git" fi git_branch() { echo $($git symbolic-ref HEAD 2>/dev/null | awk -F/ {'print $NF'}) } git_dirty() { if $(! $git stat...
markphip/dotfiles
zsh/prompt.zsh
Shell
mit
1,568
# This is a program that keeps your address book up to date. friends="Prajwal Sanket Raghu Prakhar Aryaveer" echo $friends read name read gender if [[ $friends == *"$name"* ]]; then echo "You are already there!!" elif [ "$gender" == "m" ]; then echo "You are added to Michel's friends list." else echo "You are a...
kartikshah1/Test
TestBed/Bash/Student/Incorrect/friends.sh
Shell
mit
373
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy # frameworks to, so exit 0 (signalling the...
mitchtreece/Bulletin
Example/Pods/Target Support Files/Pods-Bulletin_Example/Pods-Bulletin_Example-frameworks.sh
Shell
mit
8,301
#!/bin/bash # $Id: distribute_standards_subaru.sh,v 1.3 2009-02-12 23:55:34 dapple Exp $# #adam-BL# . BonnLogger.sh #adam-BL# . log_start # the script collects some header keywords of a directory with raw fits # files into an LDAC catalog with a FILES table. These data are then # used to distinguish 'sets' of images ...
deapplegate/wtgpipeline
distribute_standards_subaru.sh
Shell
mit
3,873
#!/bin/bash set -e ################### Config ################### BASE_DIR=$(dirname ${0}) BASE_DIR=$(readlink -f "${BASE_DIR}") # default configs PATH_LIBVIRT='/var/lib/libvirt' PATH_LIBVIRT_IMG=${PATH_LIBVIRT}/images # get custom configs if [ -f ${BASE_DIR}/config/config.sh ]; then source ${BASE_DIR}/config/co...
tranhuucuong91/ubuntu-kvm-tools
vm-tools/delete-vm.sh
Shell
mit
883
#!/bin/sh -e DIRECTORY=$(dirname "${0}") SCRIPT_DIRECTORY=$(cd "${DIRECTORY}" || exit 1; pwd) usage() { echo "Usage: ${0} [DATABASE]" } # shellcheck source=/dev/null . "${SCRIPT_DIRECTORY}/../lib/mysql_tools.sh" DATABASE="${1}" if [ "${DATABASE}" = "" ]; then ${MYSQL} else ${MYSQL} "${DATABASE}" fi
FunTimeCoding/mysql-tools
bin/interactive.sh
Shell
mit
316
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-3038-1 # # Security announcement date: 2016-07-18 00:00:00 UTC # Script generation date: 2017-01-01 21:05:33 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: i686 # # Vulnerable packages fix on version: # - apache2.2-bin:2.4.7-1ubuntu4.13 # # La...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/i686/2016/USN-3038-1.sh
Shell
mit
638
#!/bin/sh ./bin/ssh-gateway 127.0.0.1 3333
lammas/ssh-bbs
run-frontend.sh
Shell
mit
44
#!/usr/bin/env bash source ~/dotfiles/setup/header.sh # Load in environment variables for brew, nvm, node, etc. source ~/dotfiles/terminal/bash/exports.sh echo "Installing node..." if [ ! -e ~/.nvm ]; then curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash mkdir -p ~/.nvm fi source ~/d...
caleb531/dotfiles
setup/install_node_packages.sh
Shell
mit
927
#!/bin/bash if [ -z "$TOKEN" ]; then echo "Missing \$TOKEN" exit 1 fi if [ -z "$TAG" ]; then echo "Missing \$TAG" exit 1 fi sed -i "s/TOKEN/$TOKEN/" /etc/rsyslog.d/50-default.conf sed -i "s/TAG/$TAG/" /etc/rsyslog.d/50-default.conf mkdir -p /var/run/loggly/socket/ exec /usr/sbin/rsyslogd -n
rancher/loggly-docker
run.sh
Shell
mit
305
#!/usr/bin/env bash mvn clean package -Pclient cp src/main/resources/config.properties target/config.properties cd "target" pwd java -jar lightsocks-client.jar -c=config.propeties
lightsocks/lightsocks-java
client_start.sh
Shell
mit
187
pod repo push egg Mediator_Profile.podspec --verbose --allow-warnings
Limon-O-O/Lego
Modules/Mediator_Profile/upload.sh
Shell
mit
70
#!/bin/sh curl -i -d "token=a98c857e079bbe143a6a48a4e671b2a480af826de2ef3d9fb0172922fbd7b15f&expiration=0&priority=10&topic=mobi.xy3d.Go2ApnsTest&payload={\"aps\":{\"alert\":\"我是你爸爸\"}}" http://localhost:9090/push
hlouis/go2apns
test/test.sh
Shell
mit
225
#!/bin/bash yum install httpd php -y yum update -y systemctl enable httpd systemctl start httpd echo "<?php phpinfo();?>" > /var/www/html/index.php cd /var/www/html
khdevel/tf_web_by_ami
phphost/files/bootstrap.sh
Shell
mit
165
#!/usr/bin/env sh set -e caffe train --solver=imgo_policy_solver.prototxt $@ python2 predict.py
imalerich/imgo
policy/train.sh
Shell
mit
97
#!/bin/bash # map the command line properties originalUrl=$1 repoName=$2 targetUrl=$3 svnUser=$4 # clone from the SVN repository git svn clone --stdlayout --no-metadata --no-minimize-url --authors-file svn_to_git_usernames.txt --prefix=svn/ --username $svnUser $originalUrl ${repoName}_tmp cd ${repoName}_tmp # stri...
internezzo/goodbye-svn
goodbye-svn.sh
Shell
mit
1,425
### PHP # add Composer global directory to path export PATH="${PATH}:${HOME}/.composer/vendor/bin"; # Run to set up autocomplete for Composer with Homebrew # symfony-autocomplete composer > $(brew --prefix)/etc/bash_completion.d/composer
danealexander/dotfiles
php/path.bash
Shell
mit
242
#!/bin/bash set \ -o errexit \ -o pipefail \ -o nounset shopt -s \ nullglob \ expand_aliases readonly WSHARE_VERSION="" readonly WSHARE_HOME="$HOME/.wshare" readonly WSHARE_BIN="$HOME/bin/wshare" readonly ERR_UNSUPPORTED_OS=1 readonly ERR_INVALID_USAGE=2 readonly ERR_FILE_NOT_FOUND=3 die() { local message="...
nikolay/wshare
wshare.sh
Shell
mit
5,753
# Files will be created with these permissions: # files 644 -rw-r--r-- (666 minus 022) # dirs 755 drwxr-xr-x (777 minus 022) umask 022 # Comment out `exa` in place of ls to test it out # Always use color output for `ls` # alias ls="command ls --color=auto" # export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so...
rushi/dotfiles
source/40_file.sh
Shell
mit
1,975
echo 'Installing dependencies' apt-get update apt-get install -y --force-yes curl apt-get install -y --force-yes openssh-server apt-get install -y --force-yes ca-certificates apt-get install -y --force-yes postfix apt-get install -y --force-yes ruby-dev apt-get install -y --force-yes git gem install gitlab echo 'Confi...
enricogenauck/labhound
doc/vagrant/gitlab/01_install_packages.sh
Shell
mit
511
#!/bin/sh for USER in cpr_keykeeper cpr_tokenizer cpr_confpatch cpr_keyapi cpr_service cpr_secvault do if grep -q $USER /etc/passwd then echo "User $USER exists" else echo "Create user $USER" adduser "$USER" mkdir -p /var/log/$USER/ /var/run/$USER/ chown $USER:$USER ...
vnaydionov/card-proxy
service/mk_users.sh
Shell
mit
364
#!/bin/bash java -Xincgc -Xms1024M -Xmx1024M -XX:MaxPermSize=256M -Dfile.encoding=UTF-8 -jar /home/minecraft/mob-servers/survival/spigot-survival-1.13.jar exit 0
DmitryRendov/mob-server
survival/start.sh
Shell
mit
162
#!/bin/bash # # Build the executable if non-existent # [ -f abiocardtime ] || make -f abiocardtime.mk # # Root # sudo ./install_abiortc_rpi_root.sh
danielkummer/nixon-pi
axiris/abiocard/abiocard_2015-02-28/abiocard/install_abiortc_rpi.sh
Shell
mit
155
#!/usr/bin/env bash # check for errors and exit set -e # config overridable args collection='' environment='' global='' webhook='' additional='' # config environment config_file='' config_file_secured='' # global vars newman_required_ver='3.1.0' node_required_ver='4.0.0' newman_args='--reporter-cli-no-failures --re...
cameronoxley/Newman-to-Slack
Newman-to-Slack.sh
Shell
mit
8,372
#!/bin/sh /usr/sbin/groupadd --gid ${MY_GID} ${MY_GROUP} /usr/sbin/useradd -M -s /usr/bin/calibre --uid ${MY_UID} --gid ${MY_GID} ${MY_NAME} /bin/su --login ${MY_NAME}
aebm/dockerfiles
calibre/docker-entrypoint.sh
Shell
mit
170
#run it with input a folder which has folders=number of nodes, and the each of them has the pathway folders.. cd $1 mv *.blastp ./../blsts/ cd ../remote/ fpath=$(pwd) #echo "$fpath" cd $1 for f1 in */ do cd $1$f1 #echo $(pwd) mkdir -p $fpath$"/"$f1 cat $(ls -v) > $fpath$"/"$f1$2 done
BioDAG/odysseys
ScriptsJarsExtPackages/catNodeScript.sh
Shell
mit
310
#!/bin/bash # This script compiles markdown pre processor files (.mdpp) to README.MD and README.JS.MD files. # It also generates the specs badge. # See the markdown-pp github project here : https://github.com/jreese/markdown-pp cd "${BASH_SOURCE%/*}" || exit 1 if [[ ! -f js-guide.mdpp ]] || [[ ! -f coffee-guide.mdpp ]]...
sveinburne/enumerationjs
mdpp/compile-markdown.sh
Shell
mit
998
#!/bin/bash mitmf(){ DIR="$(pwd)" mkdir -p "$DIR" chown -R "$USER" "$DIR" docker pull ondrejmo/mitmf docker create --name mitmf ondrejmo/mitmf /bin/true docker export mitmf | tar -x -C "$DIR" -f - docker rm mitmf sudo systemd-nspawn \ --directory="$DIR" \ --capability=al...
ricardorsierra/dockerfiles
TODO.d/mitmf/mitmf-function.sh
Shell
mit
463
#!/bin/sh LIB_NAME="raccoon" if [ $# -ne 2 ] then echo "Usage: $0 {version} {target}" exit 1 fi GEMSPEC="${LIB_NAME}.gemspec" PKG_FILE="${LIB_NAME}-$1.gem" echo "[RUN] gem install" bundle install echo "[RUN] rake" bundle exec rake if [ $? -eq 1 ] then exit 1 fi echo "[RUN] gem build ${GEMSPEC}" gem build ${GEMSPEC...
yulii/raccoon
build_gem.sh
Shell
mit
740
#!/usr/bin/env sh ProjectDir="../../../../../" cd $ProjectDir export LD_LIBRARY_PATH=../tool/cuddn/v2/lib/:$LD_LIBRARY_PATH CaffeRootDir="caffe/" # build/tools/ Tools="build/tools/" Tools=$CaffeRootDir$Tools # models/Pose/FLIC/ldp2/lecun-8x-3b-addc4_2-sd5_5-marks_1/ ProtosDir="models/Pose/" SubProtosDir="FLIC/ldp2/" ...
zimenglan-sysu-512/pose_action_caffe
models/Pose/FLIC/ldp2/lecun-8x-3b-addc4_2-sd5_5-marks_1/train.sh
Shell
mit
2,050
#!/bin/bash # # echo $(dirname $0) # cd $(dirname $0)/.. # # echo " -- Ready to install NightWatch runner dependencies in -- $(pwd)." echo " -- Ready to install NightWatch runner dependencies." # export GLOBAL_NODEJS=$(npm config get prefix) export GLOBAL_NODEJS_MODULES=${GLOBAL_NODEJS}/lib/node_modules # export LOCA...
FleetingClouds/TinyTesting4CircleCI
tests/nightwatch/bin/install-nightwatch-dependencies.sh
Shell
mit
1,649
#[[ -e /usr/local/bin/virtualenvwrapper.sh ]] && . /usr/local/bin/virtualenvwrapper.sh #workon darwin
twleung/oh-my-zsh
custom/virtualenv.zsh
Shell
mit
103
#!/bin/bash /etc/init.d/unity_asset_server start sleep 10 case "${1}" in "import") backup="${2:-/backup}" echo "Restoring database from backup ${backup}" /opt/unity_asset_server/bin/as_restore "${backup}" if [ $? -ne 0 ] then echo "Failed to restore backup" fi ;; "clean") /op...
sgeller/unity-asset-server-docker
start.sh
Shell
mit
523
pip install -i https://testpypi.python.org/pypi intmaniac $@
flypenguin/python-intmaniac
contrib/install_from_test.sh
Shell
mit
62
#!/bin/bash -eux yum install -y cloud-init cloud-utils-growpart dracut-modules-growroot cat >/etc/cloud/cloud.cfg <<-'EOF' users: - default disable_root: 1 ssh_pwauth: 0 locale_configfile: /etc/sysconfig/i18n mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] resize_rootfs_tmp: /dev ssh_delete...
kettlewell/packer-builds
scripts/inactive/cloud-init-2.sh
Shell
mit
929
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3635-1 # # Security announcement date: 2016-07-29 00:00:00 UTC # Script generation date: 2017-01-01 21:08:10 UTC # # Operating System: Debian 8 (Jessie) # Architecture: i386 # # Vulnerable packages fix on version: # - libdbd-mysql-perl:4.028-2+deb8u1 # # ...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/i386/2016/DSA-3635-1.sh
Shell
mit
662
# zshrc alias (git) # Query/use custom command for `git`. zstyle -s ":vcs_info:git:*:-all-" "command" _omz_git_git_cmd : ${_omz_git_git_cmd:=git} # # Functions # # The name of the current branch # Back-compatibility wrapper for when this function was defined here in # the plugin, before being pulled in to core lib/g...
mziyut/.zsh
alias/git.zsh
Shell
mit
6,913
#!/usr/bin/env bash #################################### # Copyright (c) 2015 Phoenix Labs # # Licensed under The MIT Licensed # # See LICENSE for more information # #################################### DEPOTDIR=/location/of/your/depot/files/ METADATADIR=/location/of/your/db/files/ JOURNALDIR=/location/of/your/jour...
PhoenixLabsCanada/PhoenixPerforceBackup
config.sh
Shell
mit
701
#!/bin/bash # Better `ssh` # Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards [ -e "$HOME/.ssh/config" ] && \ complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh
mendlik/dotfiles
bash/.bash/lib/ssh.sh
Shell
mit
261