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 # Copyright 2016 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 a...
mbrukman/bazel
scripts/serve-docs.sh
Shell
apache-2.0
2,909
#!/bin/sh source /etc/sysconfig/cpupower _add_option() { if test -z "$_options"; then _options="$1" else _options="$_options $1" fi } if test -n "$governor"; then _add_option "--governor $governor" fi if test -n "$min_freq"; then _add_option "--min $min_freq" fi if test -n "$max_freq"; then _add_option "...
kidaa/mate14
source/apps/cpupower/cpupower.sh
Shell
gpl-2.0
624
#!/bin/bash # Copyright (c) 2011 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -o nounset set -o errexit PREFIX=${PREFIX:-} VERIFY=${VERIFY:-yes} EMU_HACK=${EMU_HACK:-yes} python ../prepare_input.py --config ...
sbc100/native_client
tests/spec2k/183.equake/run.ref.sh
Shell
bsd-3-clause
534
#!/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 A...
adufilie/flex-sdk
mustella/tests/resources/Integration/SWFs/pre_compile.sh
Shell
apache-2.0
2,168
#!/bin/bash $PYTHON setup.py install --record=record.txt
dmaticzka/bioconda-recipes
recipes/moods/build.sh
Shell
mit
57
#!/bin/sh set -e prefix="/usr" if [ ! -z $1 ] then prefix="$1" fi cmake_common="$prefix/share/libyui/buildtools/CMakeLists.common" cmake_target="./CMakeLists.txt" echo "checking for $cmake_common..." if [ -f "$cmake_common" ] then ln -fs "$cmake_common" "$cmake_target" echo "OK: linked to `pwd`/$cmake_target...
xquiet/libyui-mga-qt
bootstrap.sh
Shell
lgpl-3.0
443
#!/bin/bash cat >/tmp/testenv <<EOF SUPERDESK_TESTING=true EOF cd /opt/superdesk/client-core && npm link && cd /opt/superdesk/client && npm link superdesk-core && grunt --force server --server='http://localhost:5000/api' --ws='ws://localhost:5100' & cd /opt/superdesk && bash ./scripts/fig_wrapper.sh honcho -e /tmp/t...
pavlovicnemanja/superdesk
docker/start-e2e.sh
Shell
agpl-3.0
355
#!/bin/bash # # strip out anything but the required lines and put everything in one spot - zzz # if [ ! -s squished/squish-done ]; then rm -rf squished mkdir squished for f in {protocols/*/*.pat,*.pat}; do n=`basename $f` [ ! -f $f ] && break echo -en "Squishing: $n \r" grep -v "^\s*$\|^#\|^...
ghmajx/asuswrt-merlin
release/src/router/layer7/squish.sh
Shell
gpl-2.0
555
#! /bin/sh # Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc. # This file is part of GCC. # GCC is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later ...
uhhpctools/openuh-openacc
osprey-gcc-4.2.0/gcc/mkconfig.sh
Shell
gpl-3.0
3,454
#!/bin/sh export CATTLE_REGISTRATION_ACCESS_KEY="${CATTLE_REGISTRATION_ACCESS_KEY}" export CATTLE_REGISTRATION_SECRET_KEY="${CATTLE_REGISTRATION_SECRET_KEY}" export CATTLE_URL="${CATTLE_URL}" export DETECTED_CATTLE_AGENT_IP="${CATTLE_AGENT_IP}"
cloudnautique/cattle
modules/resources/src/main/resources/registration/registration.sh
Shell
apache-2.0
246
alias x=extract extract() { local remove_archive local success local extract_dir if (( $# == 0 )); then cat <<-'EOF' >&2 Usage: extract [-option] [file ...] Options: -r, --remove Remove archive after unpacking. EOF fi remove_archive=1 if [[ "$1" == "-r" ]] || [[ "$1" == "--remove" ]]; the...
chinaran/oh-my-zsh
plugins/extract/extract.plugin.zsh
Shell
mit
1,735
#!/bin/bash # Usage parse_log.sh caffe.log # It creates the following two text files, each containing a table: # caffe.log.test (columns: '#Iters Seconds TestAccuracy TestLoss') # caffe.log.train (columns: '#Iters Seconds TrainingLoss LearningRate') # get the dirname of the script DIR="$( cd "$(dirname "$0")"...
jwyang/JULE-Caffe
tools/extra/parse_log.sh
Shell
mit
1,638
#!/bin/bash mkdir -p ${PREFIX}/bin mkdir -p ${PREFIX}/lib mkdir -p ${PREFIX}/include/pseudogenome/ mkdir -p ${PREFIX}/include/readsset/ mkdir -p ${PREFIX}/include/sais/ mkdir -p ${PREFIX}/include/suffixarray/ mkdir -p ${PREFIX}/include/test/ mkdir -p ${PREFIX}/include/index/ # build binaries and lib make build CONF=p...
rob-p/bioconda-recipes
recipes/pgsa/build.sh
Shell
mit
885
#!/bin/bash # Copyright (c) 2015-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. set -e # S...
jianwoo/react-native
website/publish.sh
Shell
bsd-3-clause
718
#!/bin/bash source /etc/profile # add required use flags and keywords cat <<DATAEOF >> "$chroot/etc/portage/package.use/kernel" sys-kernel/gentoo-sources symlink sys-kernel/genkernel -cryptsetup DATAEOF cat <<DATAEOF >> "$chroot/etc/portage/package.accept_keywords/kernel" dev-util/kbuild ~x86 ~amd64 DATAEOF # get, c...
jordant/veewee
templates/gentoo-latest/kernel.sh
Shell
mit
2,591
#!/bin/sh # # cd 1.3 - equivalents for normally builtin commands. Author: Kees J. Bot case $0 in */*) command="`expr "$0" : '.*/\(.*\)'`" ;; *) command="$0" esac "$command" "$@"
ducis/operating-system-labs
src.clean/commands/cd/cd.sh
Shell
mit
181
#!/bin/sh { cat <<\EOF sayIt: $(foreach b,$(BUILT_INS),echo XXX $b YYY;) EOF cat Makefile } | make -f - sayIt 2>/dev/null | sed -n -e 's/.*XXX \(.*\) YYY.*/\1/p' | sort | { bad=0 while read builtin do base=$(expr "$builtin" : 'git-\(.*\)') x=$(sed -ne 's/.*{ "'$base'", \(cmd_[^, ]*\).*/'$base' \1/p' g...
overtherain/scriptfile
tool-kit/git-2.1.2/check-builtins.sh
Shell
mit
590
# # Copyright (c) 2003, 2005, 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...
wmdietl/jsr308-langtools
test/tools/javac/Paths/Util.sh
Shell
gpl-2.0
3,867
#!/bin/sh echo '1. fetch, compile, and install erlang' if [ ! pkg_info erlang 1>/dev/null 2>&1 ]; then cd /usr/pkgsrc/lang/erlang make fetch-list|sh make make install fi if pkg_info erlang | grep -q erlang-9.1nb1; then else echo "erlang-9.1nb1 not installed" 1>&2 exit 1 fi echo '2. install c...
krattai/noo-ebs
ref_code/ejabberd/examples/mtr/ejabberd-netbsd.sh
Shell
bsd-2-clause
2,129
. ${srcdir}/emulparams/elf32_x86_64.sh . ${srcdir}/emulparams/elf_nacl.sh OUTPUT_FORMAT="elf32-x86-64-nacl" ARCH="i386:x64-32:nacl" # The :nacl just means one-byte nops for code fill.
jlspyaozhongkai/Uter
third_party_backup/binutils-2.25/ld/emulparams/elf32_x86_64_nacl.sh
Shell
gpl-3.0
184
#!/bin/sh autoreconf --install --symlink --force
chenxu0113/netcode
work/redis_mfc/redis/deps/libuv/src/unix/eio/autogen.sh
Shell
gpl-2.0
50
date > /etc/vagrant_box_build_time
tatsuya6502/veewee-definitions
ubuntu-14.04-server-amd64/build_time.sh
Shell
mit
35
#!/bin/sh # # Release script for SimpleMagic # LOCAL_DIR="$HOME/svn/local/simplemagic" ############################################################# # check ChangeLog head -1 src/main/javadoc/doc-files/changelog.txt | fgrep '?' > /dev/null 2>&1 if [ $? -ne 1 ]; then echo "No question-marks (?) can be in the ChangeL...
yswang0927/simplemagic
release.sh
Shell
isc
2,625
#!/bin/sh # mblaze - See mblaze(7). # XDG compliance export MBLAZE="${XDG_CONFIG_HOME}"/mblaze
Somasis/scripts
etc/profile/mblaze.sh
Shell
isc
97
#! /bin/bash # # FmodEX # http://www.portaudio.com/ # # This is not a build script, as fmodex is linked as a dynamic library. # FmodEX is downloaded as a binary from the fmod.org website and copied # into the openFrameworks library directory. FORMULA_TYPES=( "osx" "vs" "win_cb" ) # define the version VER=44221 # t...
SpecularStudio/ofQt
of_v0.9.0/scripts/apothecary/formulas/fmodex.sh
Shell
mit
1,560
#!/bin/bash sudo apt-get install unzip zip build-essential libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev libcups2-dev libfreetype6-dev libasound2-dev ccache --fix-missing --force-yes -y cd ~/jdk9 sh get_source.sh bash configure --disable-warnings-as-errors
soujava/adoptjdk-puppet-vm
jdk9/after_provision.sh
Shell
mit
272
#!/bin/bash # ---------------------------------------------------------------------------------------------------| # Repo : https://github.com/bradyhouse/house_____________________________________| # Specification : N/A_____________________________________________________________________|...
bradyhouse/house
scripts/bin/tween/_create.sh
Shell
mit
3,394
#!/usr/bin/env bash # See # # - https://github.com/codeclimate/test-reporter#installation--usage # - https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables function code-climate-before-script() { curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64...
mdwheele/opencfp
.travis/code-climate.sh
Shell
mit
521
#!/bin/sh set -e flake8 cassandra_migrate coverage erase coverage run --source cassandra_migrate -m py.test coverage report --include='cassandra_migrate/**' --omit='cassandra_migrate/test/**'
Cobliteam/cassandra-migrate
test.sh
Shell
mit
194
#!/bin/sh -ev ./build_js.sh if [ -z "$1" ]; then cordova run ios --device else cordova run $1 --device fi
garygriswold/Bible.js
OBSOLETE/YourBible/RunDevice.sh
Shell
mit
111
#!/usr/bin/env bash ########################################################################## # This is the Cake bootstrapper script for Linux and OS X. # This file was downloaded from https://github.com/cake-build/resources # Feel free to change this file to fit your needs. ##########################################...
gep13/CakeDemos
Resources/cake-raw/build.sh
Shell
mit
3,354
mxmlc Main.as -debug -static-link-runtime-shared-libraries && (wine /home/admin/Downloads/flashplayer_11_sa_debug.exe Main.swf & tail -f '/home/admin/.wine/drive_c/users/admin/Application Data/Macromedia/Flash Player/Logs/flashlog.txt')
jcward/StreamTesting
simulate.sh
Shell
mit
237
npm install -g bower sudo npm install -g grunt-cli npm install grunt --save-dev npm init
dandonahoe/bork-php
setup.sh
Shell
mit
89
#!/bin/bah cp nodo.py C1 cp app.py C1 cp nodo.py C2 cp app.py C2
vengatus/FTP_P2P
script.sh
Shell
mit
66
#!/bin/bash # Turn on Wifi Card # ifconfig wlan0 # Set Up Wifi # iwconfig wlan0 essid <name> key <password> # Connect to Wifi Above # dhclient wlan0 # Set Static Wifi IP echo 'interface wlan0' >> /etc/dhcpcd.conf # Set ip_address 10.42.0.10 echo 'static ip_address=10.42.0.10/24' >> /etc/dhcpcd.conf # Setup router...
romankhrystynych/raspitron
raspi/setIp.sh
Shell
mit
476
#!/usr/bin/env bash # # Author: Matt Jones <matt@azmatt.co.uk> # # # The MIT License (MIT) # # Copyright (c) 2014 Matt Jones # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restri...
Muffinman/OpenMailServer
includes/checks.sh
Shell
mit
1,277
#!/bin/bash # ---------------------------------------------------------------------- # # Input device configuration (mouse, touchpad, keyboard, tablet, etc). # # To keep activated in the background, you can set up a cron job as follows: # # $ crontab -e # # and then at the bottom of the file, add (3 minute interval r...
dmalyuta/dotfiles
.input_config.sh
Shell
mit
3,641
#!/usr/bin/env bash echo 'Installing ffmpeg builds.' # Install the latest static build of ffmpeg in /opt, # which should be a symlink of /share/CACHEDEV1_DATA/.qpkg/Entware-ng. cd /opt/bin/ curl -o ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz tar -xJf ffmpeg.tar.xz cd ffmpeg-*6...
nzbjamz/qnap-setup
setup/install-ffmpeg.sh
Shell
mit
856
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux CND_CONF=Debug CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/laolx OUTPUT_BAS...
kpfalzer/laolx
c++/netbeans/laolx/nbproject/Package-Debug.bash
Shell
mit
1,427
#!/bin/sh echo "Configuring order"
opsmezzo/system.json
test/fixtures/order/scripts/configure.sh
Shell
mit
35
#!/bin/bash set -x set -e export PYTHONUNBUFFERED="True" SNAPSHOT=$1 TEST_IMDB="voc_2007_test" LOG="experiments/logs/rcnn.test.txt.`date +'%Y-%m-%d_%H-%M-%S'`" exec &> >(tee -a "$LOG") echo Logging output to "$LOG" time ./tools/test_net.py \ --snapshot $SNAPSHOT \ --imdb ${TEST_IMDB} \ --cfg ./experiments/cf...
ddtm/dl-course
Seminar6/experiments/scripts/test_rcnn.sh
Shell
mit
332
f2py -I/usr/include -c TestFFTW.f95 -m wesley
wesleybowman/fortran
fft/compile.sh
Shell
mit
46
#!/bin/bash # Simple helper script to start reg2rep.rb if [ ! `which ruby` ]; then echo "Error: Ruby not installed or accessible in PATH." exit 1 fi r2r_install_path=/usr/local/lib/reg2rep ruby $r2r_install_path/reg2rep.rb $@
vanilladesk/reg2rep
reg2rep.sh
Shell
mit
231
#!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_in_purple "\n CLI Tools\n\n" brew_install "ack" "ack" brew_install "findutils" "findutils" brew_install "sed" "gnu-sed --with-default-n...
pbrooks/dotfiles
src/os/install/macos/cli_tools.sh
Shell
mit
507
#!/bin/bash # fail fast set -e set -o pipefail cd php echo "Running composer" composer -q install cd ..
ckir/njsagent-rsscollector
install.sh
Shell
mit
107
#!/bin/sh # # This script should be run via curl: # sh -c "$(curl -fsSL https://raw.githubusercontent.com/CoRfr/oh-my-zsh/master/tools/install.sh)" # or via wget: # sh -c "$(wget -qO- https://raw.githubusercontent.com/CoRfr/oh-my-zsh/master/tools/install.sh)" # or via fetch: # sh -c "$(fetch -o - https://raw.gith...
CoRfr/oh-my-zsh
tools/install.sh
Shell
mit
13,282
# prolog sudo apt-get -y install software-properties-common sudo apt-add-repository ppa:swi-prolog/stable sudo apt-get -y update sudo apt-get -y install swi-prolog # mono sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-proje...
Quobject/programming-paradigms
install.sh
Shell
mit
462
#!/bin/bash curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg" hdiutil mount -nobrowse googlechrome.dmg cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications hdiutil unmount "/Volumes/Google Chrome" rm googlechrome.dmg
mad01/boilerplates
osx/chrome-install.sh
Shell
mit
252
gconftool-2 -t string -s /desktop/gnome/url-handlers/digitalcoin/command "java -splash:doesnotexist.png -jar $INSTALL_PATH/d-lite-exe.jar %s" gconftool-2 -s /desktop/gnome/url-handlers/digitalcoin/needs_terminal false -t bool gconftool-2 -t bool -s /desktop/gnome/url-handlers/digitalcoin/enabled true
HashEngineering/digitalcoin-multibit
src/main/izpack/linux/multibit-protocol-handler.sh
Shell
mit
301
#!/bin/sh npm run lib mkdir node_modules/template-string-optimize-loader cp -r ./package.json ./node_modules/template-string-optimize-loader cp -r ./lib ./node_modules/template-string-optimize-loader webpack webpack --config webpack.config.optimize.js
chenjiahan/template-string-optimize-loader
test/test.sh
Shell
mit
254
#!/bin/bash # Changing folder PATH_SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd ${PATH_SCRIPT}"/../" echo echo "Pulling changes from git" echo "========================" git pull echo echo "Updating composer" echo "=================" composer update echo echo "Making symlinks to vendor/bin" echo "=...
gotterdemarung/alloy
bin/update.sh
Shell
mit
505
#!/bin/bash java -Xms216M -Xmx216M -XX:+CMSClassUnloadingEnabled -jar $1 $2
rounakraj8/userservice
start.sh
Shell
mit
76
#!/bin/bash echo -e "STARTING TIMESTAMP:"$(date) echo -e "Running the script. .\b" export PATH=/usr/java/jdk1.6.0_16/bin/:$PATH export CLASSPATH=/ask/CacheAnalysis/murmurhash-1.0.jar:./commons-logging-api-1.0.4.jar:./commons-logging-1.0.4.jar:./log4j-1.2.15.jar:./conf:./bin:$CLASSPATH javac -d bin src/*.java if [ $? -e...
svalleru/CacheHitRatioAnalyzer
runcache.sh
Shell
mit
701
#!/bin/bash podspecName=$(find . -name "*.podspec" -maxdepth 1 | xargs basename) podRepoName="CocoaPods" #找出podName podName=$(sed -n '/.*s.name.*/p' $podspecName | sed "s/ //g") #找出podVersion podVersion=$(sed -n '/.*s.version.*/p' $podspecName | sed "s/ //g") #找出podDependency podDependency=$(sed -n '/.*s.dependency.*...
apksafe/VerifyCode-iOS
lintAndPushPod.sh
Shell
mit
1,490
#!/usr/bin/env bash . ./build/tfs/common/node.sh . ./scripts/env.sh . ./build/tfs/common/common.sh export ARCH="$1" export VSCODE_MIXIN_PASSWORD="$2" export AZURE_STORAGE_ACCESS_KEY="$3" export AZURE_STORAGE_ACCESS_KEY_2="$4" export MOONCAKE_STORAGE_ACCESS_KEY="$5" export AZURE_DOCUMENTDB_MASTERKEY="$6" export LINUX_...
KattMingMing/vscode
build/tfs/linux/build.sh
Shell
mit
1,030
yum -y erase gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts yum -y clean all rm -rf VBoxGuestAdditions_*.iso rm -rf /tmp/rubygems-*
sotayamashita/packer-example
packer/scripts/clean.sh
Shell
mit
151
#!/bin/bash set -x set -e export PYTHONUNBUFFERED="True" export CUDA_VISIBLE_DEVICES=$1 export LD_PRELOAD=/usr/lib/libtcmalloc.so.4 LOG="experiments/logs/rgbd_scene_multi_rgbd_reverse.txt.`date +'%Y-%m-%d_%H-%M-%S'`" exec &> >(tee -a "$LOG") echo Logging output to "$LOG" # train FCN for multiple frames time ./tools...
yuxng/DA-RNN
experiments/scripts/rgbd_scene_multi_rgbd_reverse.sh
Shell
mit
1,050
export PATH=~/.composer/vendor/bin:$PATH export PATH="$PATH:`yarn global bin`" # Load custom commands (executables) export PATH="$DOTFILES/bin:$PATH" # Local bin directories before anything else export PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:$PATH
remipelhate/dotfiles
path.zsh
Shell
mit
254
#!/bin/sh CURRENT_DIR="$(cd "$(dirname "${0}")" && pwd)" . "${CURRENT_DIR}"/helpers.sh _teardown_helper _set_tmux_conf_helper <<- HERE run-shell "${CURRENT_DIR}/../tundle" setenv -g @bundle "https://github.com/javier-lopez/tundle-plugins/tmux-sensible:master" setenv -g @bundle "http://ovh.net/files/sha1sum.txt" seten...
chilicuil/tundle
tests/test_plugin_update_extended.sh
Shell
mit
1,144
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2010:1002 # # Security announcement date: 2010-12-21 17:58:39 UTC # Script generation date: 2017-01-01 21:12:57 UTC # # Operating System: Red Hat 6 # Architecture: i386 # # Vulnerable packages fix on version: # - mod_auth_mysql.i686:3.0.0-11.el6_0.1 # ...
Cyberwatch/cbw-security-fixes
Red_Hat_6/i386/2010/RHSA-2010:1002.sh
Shell
mit
784
#!/bin/bash download_repository git@bitbucket.org:R4YM3/private-repositories-installer.git $PROJECTS_DIR cd $PROJECTS_DIR && git pull # source .install.sh from each project for dir in $PROJECTS_DIR/* do test -d "$dir" || continue source $dir/install.sh done
R4YM3/dotfiles
projects/install.sh
Shell
mit
264
#!/bin/bash # General DIR="/vagrant" SAMPLES_ROOT_PATH="/wolk/samples" BACKUP_PATH="$SAMPLES_ROOT_PATH/install/wolk-backup-test.zip" ENV_PATH="$SAMPLES_ROOT_PATH/install/env.json" ENV=$(cat $ENV_PATH) # Install required binaries echo "Installing required software" apt update apt install nginx -y snap install jq . $DI...
dukeofharen/wolk
samples/install/linux-with-docker/bootstrap.sh
Shell
mit
2,857
#!/usr/bin/env bash while [[ ! $(nc -zv logstash 7001 && echo $?) ]]; do sleep 2; done while : do echo "scraping to logstash." perl muenster-scraper.pl | cat > test2.txt cat test2.txt | nc -q 30 logstash 7001 sleep 10800 done
codeformuenster/open-events
scripts/scrapers-muenster/scrape-loop-logstash.sh
Shell
mit
236
#!/bin/bash set -eux link-rate --random --devices=eth1,eth2,eth3 --iterations=1 | grep -q 'rx-mbits' link-rate --bits --random --devices=eth1,eth2,eth3 --iterations=1 | grep -q 'rx-bits' link-rate --kbits --random --devices=eth1,eth2,eth3 --iterations=1 | grep -q 'rx-kbits' link-rate --mbits --random --devices=et...
strizhechenko/netutils-linux
tests/link_rate_units.sh
Shell
mit
458
#!/bin/bash CHEFURL="https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/" CHEFVERSION="11.0.12-1" CHEFPACKAGE="chef-server_${CHEFVERSION}.ubuntu.12.04_amd64.deb" export DEBIAN_FRONTEND=noninteractive if [ ! -e /root/${CHEFPACKAGE} ]; then curl -s -L ${CHEFURL}${CHEFPACKAGE} -o /root/${CHEFPACKAGE}...
johnmarkschofield/chef-lab
bootstrap/chefserver.bash
Shell
mit
596
#! /bin/bash -xv ### superscript template to do the preprocessing ### $Id: do_Subaru_2000-11-22_W-C-RC.sh,v 1.1 2010-02-04 19:55:00 anja Exp $ . progs.ini REDDIR=`pwd` export SUBARUDIR=/nfs/slac/g/ki/ki05/anja/SUBARU run=2000-11-22 filter="W-C-RC" export BONN_TARGET=${run} export BONN_FILTER=${filter} FLAT=DOMEF...
deapplegate/wtgpipeline
non_essentials/preprocess_scripts/do_Subaru_2000-11-22_W-C-RC.sh
Shell
mit
25,163
#!/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...
Gudmundr/VariousTextFields
Example/Pods/Target Support Files/Pods-VariousTextFields_Tests/Pods-VariousTextFields_Tests-frameworks.sh
Shell
mit
2,640
#!/bin/bash : ' Plots the density of states as a function of energy. Secondary variable adds multiple curves to a single figure. max_energy : absolute value of the maximum energy displayed in the x-axis in the plot energy_res : density of the data points in the plot Valid arguments for the secondary_variable are: ...
wompo/Usadel-for-nanowires
plot_script_dos.sh
Shell
mit
4,466
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:0127 # # Security announcement date: 2014-02-03 18:59:40 UTC # Script generation date: 2017-01-01 21:15:09 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - librsvg2.i686:2.26.0-6.el6_5.2 # - li...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2014/RHSA-2014:0127.sh
Shell
mit
1,300
#!/usr/bin/env bash ## ## Install man_page ## ## Automation of MitM Attack on WiFi Networks ## Bachelor's Thesis UIFS FIT VUT ## Martin Vondracek ## 2016 ## INSTALL_NAME="man page wifimitmcli(1)" ## Error exit codes ERR_TASK=101 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" INSTALL_DIR="/usr/local...
mvondracek/wifimitm
install/man_page/man_page_install.sh
Shell
mit
1,903
#!/bin/bash sh ./test1.sh & sh ./test2.sh & sh ./test3.sh &
angelini/lozigo-web
tests/feed_data.sh
Shell
mit
61
#!/bin/bash #Se busca para compilar MESOS #Para tener idea de a que hora paso algo fechaLog=`date "+%Y_%m_%d_%H_%M"` echo "Iniciando a las ${fechaLog}" formatoH="+%Y/%m/%d %H: %M: %S" touch LogMesos_${fechaLog}.txt echo `date "${formatoH}"` ": iniciando Descarga" >> LogMesos_${fechaLog}.txt echo "iniciando Descarga...
segus3088/mesosDeployment
buildMESOS.sh
Shell
mit
1,284
# shellcheck shell=bash # IP addresses alias wanip="dig +short myip.opendns.com @resolver1.opendns.com" alias whois="whois -h whois-servers.net" # Flush Directory Service cache alias flush="dscacheutil -flushcache" # View HTTP traffic alias httpdump="sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E \"Host\: .*|GET \...
jesperronn/cowboy-dotfiles
source/50_net.sh
Shell
mit
641
#! /bin/bash go build -o directoryserver
kyrillzorin/CS4032_Project
directoryserver/compile.sh
Shell
mit
41
case "$1" in -a=*) export PLUSHU_APP_NAME=${1#-a=} shift ;; -a) shift export PLUSHU_APP_NAME=$1 shift ;; -a*) export PLUSHU_APP_NAME=${1#-a} shift ;; esac
plushu/plushu-app-short-opt
short-opts/a.sh
Shell
mit
203
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD export ITERM_CURSOR="true" if [[ "$OSTYPE" == darwin* ]]; then alias ls='gls -hF --color' # add colors for filetype recognition alias sed='gsed' # antigen bundle brew # antigen bundle brew-cask # zplug "plugins/brew", from:oh-my-zsh # zplug "plugins/brew-cask", ...
skk/dotfiles
zsh/lib/31_osx.zsh
Shell
mit
990
#!/usr/bin/env bash set -e main() { cd "$(dirname "${BASH_SOURCE[0]}")" DOC="get_bash.sh - Downloads & compiles bash versions for testing Usage: get_bash.sh VERSION... " # docopt parser below, refresh this parser with `docopt.sh get_bash.sh` # shellcheck disable=2016,1090,1091,2034,2154 docopt() { source ../lib/...
andsens/homeshick
test/get_bash.sh
Shell
mit
2,399
rm -rf sbtTest.txt rm -rf VexRiscv rm -rf SpinalHDL #git clone https://github.com/SpinalHDL/SpinalHDL.git -b dev mkdir SpinalHDL tar -xzf spinal.tar.gz -C SpinalHDL mkdir VexRiscv tar -xzf archive.tar.gz -C VexRiscv cd VexRiscv sudo git init sudo git add * sudo git commit -m miaou export VEXRISCV_REGRESSION_CONFIG_COUN...
SpinalHDL/VexRiscv
src/test/python/gcloud/run.sh
Shell
mit
607
#!/bin/bash curl -L http://cpanmin.us | perl - --sudo App::cpanminus cpanm --sudo YAML::XS cpanm --sudo Hash::Merge exit 0
regedor/polvo
polvo/configurations/install_yaml_xs.sh
Shell
mit
123
#!/bin/bash # http://sourceforge.net/projects/keepass/files/KeePass%201.x/ # # Array.prototype.reverse.call(Array.prototype.map.call( # document.querySelectorAll("tbody a.name[href^='/projects']"), # function(a){ return a.outerText; })) declare -a hist=( 0.8 0.81 0.82 0.83 0.83b 0.84 0.85 0.86 0.87 0.88a 0.89 \ ...
joshuadugie/scripts
create-1.x-mirror.sh
Shell
mit
965
# tab completion eval "$(pipenv --completion)" # auto-toggle shell when changing directories _togglePipenvShell() { # deactivate shell if Pipfile doesn't exit and not in a sub dir if [[ ! -a "$PWD/Pipfile" ]]; then if [[ "$PIPENV_ACTIVE" == 1 ]]; then if [[ "$PWD" != "$pipfile_dir"* ]]; then ...
eliwind/dotfiles
zsh/.oh-my-zsh_custom/plugins/pipenv/pipenv.plugin.zsh
Shell
mit
580
#!/bin/bash gcloud app deploy app.yaml
theonewolf/siegvswolf
pub.sh
Shell
mit
40
#!/usr/bin/env bash set -e pip install --user gcovr==3.2
seomoz/rep-cpp
scripts/travis/before_install.sh
Shell
mit
59
#!/bin/bash ##### # SET PATH TO TEST_VALUES SCRIPT ##### TEST_BIN_DIR=$(echo $0 | xargs dirname) ##### # SET PATH TO HDEF EXECUTABLE ##### # Check for o92util $TEST_BIN_DIR/test_find_hdef_exec.sh clip || { echo "$0: could not find clip; exiting" 1>&2; exit 1; } BIN_DIR=$(cat hdefexec.tmp | xargs dirname) ##### # R...
mherman09/Hdef
test/test_clip.sh
Shell
mit
10,173
#!/usr/bin/bash heroku pg:reset DATABASE_URL heroku run rake db:setup
l50/speech_analysis
scripts/recreateDBHeroku.sh
Shell
mit
71
openssl req -new -newkey rsa:8192 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=`hostname -f`" -keyout /root/haraka/config/tls_key.pem -out /root/haraka/config/tls_cert.pem sed -i '1s/.*/gcc -O2 -include \/usr\/include\/errno.h/g' /root/qmail/conf-cc sed -i '1s/.*/gcc ...
NikolaMandic/containers
qmail/start/bootstrap.sh
Shell
mit
2,317
#!/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() { local source="${BUILT_PRODUCTS_DIR}/Pods-TestingCocoapod_Tests/$1" loc...
GhazalahKhan/TestingCocoapod
Example/Pods/Target Support Files/Pods-TestingCocoapod_Tests/Pods-TestingCocoapod_Tests-frameworks.sh
Shell
mit
2,531
#!/bin/bash exit_code=0 echo "*** Running container app specs" #bundle install | grep Installing bundle exec rake db:drop bundle exec rake environment db:create db:migrate RAILS_ENV=test bundle exec rake environment db:create db:migrate bundle exec rspec spec exit_code+=$? exit $exit_code
shageman/cbra_book_code
c2s12/sportsball/web_container/test.sh
Shell
mit
294
#!/usr/bin/env bash # # Prepare the website. This currently does one thing: copy stuff. # # Use: # website.sh input output # Arguments: # input The path to the folder with the source data (server/static/website/) # output The root output path. The script will put the final output in that folder. set -euo pipe...
ZeusWPI/hydra
server/static/website.sh
Shell
mit
1,056
#!/bin/bash if [ ! -z "$SWIFT_HOST" ]; then sed -i -e "s@^auth_host =.*@auth_host = ${SWIFT_HOST}@" /etc/swift/test.conf fi if [ ! -z "$SWIFT_PORT" ]; then sed -i -e "s@^auth_port =.*@auth_port = ${SWIFT_PORT}@" /etc/swift/test.conf fi if [ ! -z "$AUTH_PREFIX" ]; then sed -i -e "s@^auth_prefix =.*@auth_prefix ...
racciari/dockerfiles
openstack-swift-functests/swift-functest.sh
Shell
mit
1,964
#!/bin/bash BLUE='\033[0;34m' GREEN='\033[0;32m' NC='\033[0m' cat <<EOF _ _ _ _ _ ____ _ _ _ _ | || | / \ | | | | _ \(_) __ _(_) |_ __ _| | | || |_ / _ \ | | | | | | | |/ _ | | __/ _ | | |__ _| / ___ \| | | | |_| | | (_| | | || (_| | | |_| /_/ \_\_|_| |____...
4AllDigital/DruDockCli
scripts/basic.sh
Shell
mit
739
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2012:1045 # # Security announcement date: 2012-06-27 15:52:26 UTC # Script generation date: 2016-05-12 18:10:53 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - php.x86_64:5.1.6-39.el5_8 # - php-bcm...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2012/RHSA-2012:1045.sh
Shell
mit
2,980
#!/bin/bash # Kudos to https://rsalveti.wordpress.com/2007/04/03/bash-parsing-arguments-with-getopts/ usage() { echo "Usage: $0 [yes|no] [path/to/build/CMakeCache.txt] Or: $0 (implicit yes with ./build/CMakeCache.txt) Sets compilers to VampirTrace compiler wrappers and configures them with flags, or vice-ver...
mp13on11/dwarf_mine
utilities/vampir/use_vampir_trace.sh
Shell
mit
2,259
#!/bin/sh # What command would you use for human-readable byte counts, all, by reverse time-sorted long-form ls -hartl
ReanyAlex/unix_and_bash
command-line/chap3_1ex4.sh
Shell
mit
120
#PBS -N mk3d #PBS -l mppwidth=1 #PBS -j oe ##PBS -q short-b+ #PBS -q bulk-b+ NPARALLEL=1 NPROCESS=$NPARALLEL ifile=../r008m/run.s1.00_h003-020/nohot/s1.00_h003-020.data tfile=../r008m/run.s1.00_h003-020/init/s1.00_h003-020 iflag=0 size=1e8 #size=5e7 #size=3e7 spotx=0.0 spoty=0.0 #spotz=4.2e8 #s1.00_h100-100 #spotz=3.6...
atrtnkw/sph
tool.exwd/make3d/xc30_mk3d.sh
Shell
mit
765
#!/usr/bin/env bash # Unoffical Bash "strict mode" # http://redsymbol.net/articles/unofficial-bash-strict-mode/ set -euo pipefail #ORIGINAL_IFS=$IFS IFS=$'\t\n' # Stricter IFS settings # shellcheck disable=SC2006 usage() { cat <<EOF Usage: release.sh [new version] This script is only intended for use by asdf ma...
Jwashton/asdf
release.sh
Shell
mit
2,655
#!/usr/bin/env bash USERNAME=$(whoami) killall -u $USERNAME peacoq &> /dev/null
Ptival/PeaCoq
uw-cse-505/stop-peacoq.sh
Shell
mit
82
#!/bin/bash # @Script set_proxy.sh # @Author Swapnil Agarwal # @Purpose To automate setting up proxy # @Usage ./set_proxy.sh # Copyright (c) 2013 Swapnil Agarwal # Permission to copy and modify is granted under MIT License echo When any file opens, paste the clipboard content and save before closing gedit. echo -n Ent...
swapagarwal/snippets
shell/set_proxy.sh
Shell
mit
1,259
#!/bin/bash #Dependencies: #nodejs mongodb git gcc make #################################################################################### #Configuration BF_DIR_NAME="BerryForms" LOG_DIR_NAME="Log" STARTUP_SCRIPT_NAME="NodeBerryForms" GIT_URL="https://github.com/tsimeunovic/BerryForms.git" ###########################...
tsimeunovic/BerryForms
scripts/arch/InstallBerryForms.sh
Shell
mit
2,502
# # Aliases # alias ta='tmux attach -t' alias tad='tmux attach -d -t' alias ts='tmux new-session -s' alias tl='tmux list-sessions' alias tksv='tmux kill-server' alias tkss='tmux kill-session -t' # Only run if tmux is actually installed if which tmux &> /dev/null then # Configuration variables # # Automatically st...
exos/oh-my-zsh
plugins/tmux/tmux.plugin.zsh
Shell
mit
3,992