document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_1000
--- +++ @@ -15,7 +15,7 @@ DOCKERHUB_TAG="latest"; fi -TARGET_IMAGE="${DOCKERHUB_USER}/mongoose_push:${DOCKERHUB_TAG}" +TARGET_IMAGE="${DOCKERHUB_REPOSITORY}/mongoose_push:${DOCKERHUB_TAG}" if [ "${TRAVIS_SECURE_ENV_VARS}" == 'true' ]; then docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}"
bash
d_bash_1001
--- +++ @@ -9,6 +9,7 @@ --namespace=${KUBE_ENV_UAT_NAMESPACE} \ --values ${HELM_DIR}/values-uat.yaml \ --set fullnameOverride=$RELEASE_NAME \ + --set environment=$RELEASE_NAME \ --set host=$RELEASE_HOST \ --set image.repository=$DOCKER_REPOSITORY \ --set image.tag=$IMAGE_TAG \
bash
d_bash_1002
--- +++ @@ -22,7 +22,6 @@ if [ "$ecode" -eq "3" ] then - git checkout -- blacklisted_websites.txt git checkout master git pull git submodule update
bash
d_bash_1003
--- +++ @@ -2,12 +2,14 @@ source .set_credentials.sh +daily=true + # Fetch course info -./.scripts/fetch_course_json.sh -./.scripts/extract_course_json.py +${daily} || ./.scripts/fetch_course_json.sh +${daily} || ./.scripts/extract_course_json.py # Extract into departments -./.scripts/extract_departments_fro...
bash
d_bash_1004
--- +++ @@ -27,9 +27,9 @@ export GOOGLE_CLIENT_SECRETS=$(pwd)/testing/client-secrets.json # Run tests -pip install --upgrade pip -pip install --upgrade nox-automation -nox -k "${NOX_SESSION}" || ret_code=$? +pip install --user --upgrade pip +~/.local/bin/pip install --user --upgrade nox-automation +~/.local/bin/n...
bash
d_bash_1005
--- +++ @@ -7,7 +7,7 @@ # # Run ./set-defaults.sh and you'll be good to go. -# Disable press-and-hold for keys in favor of key repeat +# Disable press-and-hold for keys in favor of key repeat. defaults write -g ApplePressAndHoldEnabled -bool false # Use AirDrop over every interface. srsly this should be a def...
bash
d_bash_1006
--- +++ @@ -4,5 +4,5 @@ builddir="$basepath/../build" mkdir -p "$builddir" cd "$builddir" -cmake .. -G "Unix Makefiles" -DCMAKE_CXX_FLAGS:STRING="-march=native -m64 -Ofast -flto" "$@" +cmake .. -G "Unix Makefiles" -DCMAKE_CXX_FLAGS:STRING="-Ofast" "$@"
bash
d_bash_1007
--- +++ @@ -15,6 +15,7 @@ # -device ide-drive,drive=disk,bus=ahci.0 # -net dump,file=net.pcap # -serial file:serial.log +# -monitor telnet:localhost:1234,server,nowait ) #execute the cmd string
bash
d_bash_1008
--- +++ @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Defaults -JOBS_DEFAULT=50 +JOBS_DEFAULT=10 NUM_DEFAULT=10 # Parameters
bash
d_bash_1009
--- +++ @@ -19,5 +19,5 @@ # Install packages and test for PYBIN in /opt/python/*/bin/; do ${PYBIN}/pip install bencoder.pyx --no-index -f /io/wheelhouse - (cd $HOME; ${PYBIN}/nosetests bencoder.pyx) + (cd $HOME; ${PYBIN}/nosetests bencoder) done
bash
d_bash_1010
--- +++ @@ -3,6 +3,7 @@ sed -i \ -e "s/http:\/\/localhost:5000\/api/$(echo $SUPERDESK_URL | sed 's/\//\\\//g')/g" \ -e "s/ws:\/\/localhost:5100/$(echo $SUPERDESK_WS_URL | sed 's/\//\\\//g')/g" \ + -e "s/ws:\/\/0.0.0.0:5100/$(echo $SUPERDESK_WS_URL | sed 's/\//\\\//g')/g" \ -e 's/iframely:{key:""}/iframely:{key...
bash
d_bash_1011
--- +++ @@ -10,6 +10,7 @@ install_cask dropbox install_cask alfred install_cask atom +install_cask visual-studio-code install_cask 1password install_cask keyboard-maestro install_cask flux
bash
d_bash_1012
--- +++ @@ -11,7 +11,7 @@ if [[ "$goversion" == *"go1.5"* ]] || [[ "$goversion" == *"go1.6"* ]] || [[ "$goversion" == *"go1.7"* ]] || - [[ "$goversion" == *"go1.8"* ]] + [[ "$goversion" == *"go1.8"* ]] || [[ "$goversion" == *"go1.9"* ]]; then echo "Skipping tests requiring Consul which is not su...
bash
d_bash_1013
--- +++ @@ -1,3 +1,5 @@ +#!/bin/sh + JENKINS_CLI_CMD=$1 BBUSER=$2 BBPASSWORD=$3
bash
d_bash_1014
--- +++ @@ -1,4 +1,11 @@ #!/bin/bash -x set -e bundle install --path "${HOME}/bundles/${JOB_NAME}" -bundle exec rake +# commented out for now as there are no unit tests +# and rake aefault is currently integration test +# bundle exec rake + +./scripts/generate_fog_conf_file.sh +export FOG_RC=fog_integration_test.c...
bash
d_bash_1015
--- +++ @@ -28,3 +28,11 @@ cmake ../tests make cd .. + +# Documentation build + +mkdir -p docs +cd docs +cmake ../doc +make core_doc +cd ..
bash
d_bash_1016
--- +++ @@ -11,16 +11,18 @@ # Get the latest version number, for 64 bit systems. curl http://www.rstudio.com/products/rstudio/download/ | - grep -o 'http://download1.rstudio.org/rstudio.*amd64\.deb' > rs_deb_url + grep -o 'https://download1.rstudio.org/rstudio.*amd64\.deb' > rs_deb_url # Download the deb fil...
bash
d_bash_1017
--- +++ @@ -11,6 +11,9 @@ SRC_DIR=`dirname $0`"/.." RELEASE_VERSION=${1} echo "Release version set to ${RELEASE_VERSION}" + +which npm > /dev/null +which gulp > /dev/null sed -ri 's/(.*)<version>(.+)<\/version>/\1<version>'${RELEASE_VERSION}'<\/version>/g' ${SRC_DIR}/appinfo/info.xml npm install
bash
d_bash_1018
--- +++ @@ -1,8 +1,14 @@ #!/usr/bin/env bash -DOCKER_IP_PORT=${1:-192.168.99.100:2376} +# Docker Machine +# DOCKER_IP_PORT=${1:-192.168.99.100:2376} +# export DOCKER_CERT_PATH="/Users/chmoulli/.docker/machine/machines/default" +# export DOCKER_HOST="tcp://$DOCKER_IP_PORT" +# export DOCKER_MACHINE_NAME="default" +#...
bash
d_bash_1019
--- +++ @@ -6,7 +6,7 @@ logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl - server = puppetee28.lab.iad.cloudboltsw.com + server = YOUR_PUPPET_ENTERPRISE_HOSTNAME pluginsync = true [agent] classfile = $vardir/classes.txt
bash
d_bash_1020
--- +++ @@ -1,4 +1,3 @@ if mdata-get mail_smarthost 1>/dev/null 2>&1; then - echo XXX add smf manifest - #/usr/sbin/svcadm enable svc:/pkgsrc/nullmailer:default + /usr/sbin/svcadm enable svc:/pkgsrc/nullmailer:default fi
bash
d_bash_1021
--- +++ @@ -1,6 +1,4 @@ #!/bin/bash -euo # build statically linked binary with Rust -LIBRARY_PATH=$PREFIX/lib cargo build --release - -cp target/release/prosic $PREFIX/bin +C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib cargo install --root $PREFIX
bash
d_bash_1022
--- +++ @@ -6,6 +6,3 @@ heroku buildpacks:add https://codon-buildpacks.s3.amazonaws.com/buildpacks/groonga/rroonga.tgz --app $HEROKU_APP_NAME || true git push git@heroku.com:$HEROKU_APP_NAME.git $CIRCLE_SHA1:refs/heads/master - -heroku run rake ar:migrate --app $HEROKU_APP_NAME -heroku run rake sebastian:clear_al...
bash
d_bash_1023
--- +++ @@ -5,7 +5,9 @@ # avoids re-compilation during publishing of both packages if [[ ! -v ALREADY_COMPILED ]]; then + npm run prepublish npm run prepare + npm run prepack fi cp README.md contracts/
bash
d_bash_1024
--- +++ @@ -1,2 +1,2 @@ #start SQL Server, start the script to create the DB and import the data, start the app -/opt/mssql/bin/sqlservr & ./setup.sh +/opt/mssql/bin/sqlservr & ./setup.sh & sleep infinity & wait
bash
d_bash_1025
--- +++ @@ -10,7 +10,8 @@ setup_git() { git config user.email "travis@travis-ci.org" git config user.name "Travis CI" - git remote add public ${REMOTE_HOST_GIT_URL} + git remote add public "${REMOTE_HOST_GIT_URL}" + git config push.default simple git remote -v yes | cp -rf .travis/public-gitignore .gi...
bash
d_bash_1026
--- +++ @@ -34,4 +34,4 @@ done dotfiles_echo "Dotfiles installation complete!" -dotfiles_echo "Complete Brew Bundle installation with `brew bundle install --global`" +dotfiles_echo "Complete Brew Bundle installation with 'brew bundle install --global'"
bash
d_bash_1027
--- +++ @@ -6,6 +6,7 @@ "/listings/" "/feed/" "/university/" + "/healthz/" "/robots.txt" "/contribute.json" )
bash
d_bash_1028
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -DOWNLOAD_URI=https://github.com/supermarin/Alcatraz/archive/1.1.7.tar.gz +DOWNLOAD_URI=https://github.com/supermarin/Alcatraz/releases/download/1.1.7/Alcatraz.tar.gz PLUGINS_DIR="${HOME}/Library/Application Support/Developer/Shared/Xcode/Plug-ins" mkdir -p "${PLUGINS_DIR}"
bash
d_bash_1029
--- +++ @@ -26,6 +26,7 @@ spry.addLib() spry.addUI() +discard spry.eval("""[ EOF cat ide.sy >> ./ide.nim @@ -35,5 +36,5 @@ EOF # Through experiments this builds libui statically linked -nim --verbosity:2 --dynlibOverride:ui --passL:" ./libuiosx.a -lobjc -framework Foundation -framework AppKit" c ide +nim...
bash
d_bash_1030
--- +++ @@ -6,7 +6,6 @@ && rm -rf ./_site \ && sudo jekyll serve \ --watch \ - --force_polling \ --port 80 \ --drafts \ --config _config-dev.yml
bash
d_bash_1031
--- +++ @@ -18,8 +18,8 @@ echo "=====================================" echo -sudo click chroot -a $ARCH -f ubuntu-sdk-14.10 -s utopic create -sudo click chroot -a $ARCH -f ubuntu-sdk-14.10 -s utopic upgrade +sudo click chroot -a $ARCH -f ubuntu-sdk-15.04 -s utopic create +sudo click chroot -a $ARCH -f ubuntu-sdk-...
bash
d_bash_1032
--- +++ @@ -3,16 +3,24 @@ git clone --depth 1 https://github.com/BlokasLabs/mod-lv2-data ${DATA_DIR} for i in `comm -12 <(ls ${DATA_DIR}/plugins-fixed | grep -v bad) <(ls ${LV2_ABS_DIR})`; do - echo Copying $i data...; - cp -r ${DATA_DIR}/plugins-fixed/$i ${LV2_ABS_DIR}/ + if test -e ${LV2_ABS_DIR}/$i/modgui; the...
bash
d_bash_1033
--- +++ @@ -8,4 +8,4 @@ sleep 30 -knife bootstrap $IP -x brain -N $HOSTNAME-toad -P password -r 'role[simple_webserver]' --sudo +knife bootstrap $IP -x brain -N $HOSTNAME -P password -r 'role[simple_webserver]' --sudo
bash
d_bash_1034
--- +++ @@ -1,4 +1,5 @@ packagelist=( + whois xclip postgresql vim
bash
d_bash_1035
--- +++ @@ -3,4 +3,4 @@ git fetch docker run --rm -e ZULIP_CLI_TOKEN -v ~/.config:/home/akvo/.config -v "$(pwd)":/app \ - -it akvo/akvo-devops:20201110.135154.8d39c9c promote-test-to-prod.sh rsr rsr-version akvo-rsr zulip + -it akvo/akvo-devops:20201110.135154.8d39c9c promote-test-to-prod.sh rsr rsr-version akv...
bash
d_bash_1036
--- +++ @@ -12,11 +12,11 @@ # Copy CSS rsync -r css $OUT_DIR -css_compress $OUT_DIR/css/dataTables.fixedColumns.css +css_compress $OUT_DIR/css/dataTables.fixedHeader.css # Copy JS rsync -r js $OUT_DIR -js_compress $OUT_DIR/js/dataTables.fixedColumns.js +js_compress $OUT_DIR/js/dataTables.fixedHeader.js # C...
bash
d_bash_1037
--- +++ @@ -3,7 +3,7 @@ # https://github.com/fhaun/config-misc/blob/master/i3-stuff/auto-start-for-i3 # maximum time to wait for a program to start -MAXWAIT=30 +MAXWAIT=10 start() { eval "$@ &" # Handle arguments with whitspaces
bash
d_bash_1038
--- +++ @@ -22,6 +22,8 @@ setopt COMPLETE_ALIASES +unsetopt NOMATCH + bindkey '^[[H' beginning-of-line bindkey '^[[F' end-of-line bindkey '\e[3~' delete-char
bash
d_bash_1039
--- +++ @@ -4,3 +4,7 @@ python /opt/savanna/setup.py install +service savanna_git restart + +tail /var/log/upstart/savanna_git.log +
bash
d_bash_1040
--- +++ @@ -7,12 +7,12 @@ ~/.coursier/coursier launch -q -P \ com.lihaoyi:ammonite_2.12.4:1.0.3 \ - is.cir:ciris-core_2.12:0.5.0 \ - is.cir:ciris-enumeratum_2.12:0.5.0 \ - is.cir:ciris-generic_2.12:0.5.0 \ - is.cir:ciris-refined_2.12:0.5.0 \ - is.cir:ciris-spire_2.12:0.5.0 \ - is.cir:ciris-squants_2.12:0....
bash
d_bash_1041
--- +++ @@ -1,16 +1,38 @@ +readonly TIMEOUT=30 + function lib::wait_for_pg () { + local COUNT=0 + while ! exec_container postgres psql --username postgres -l 2>/dev/null >/dev/null do echo -n . + + COUNT=$((${COUNT} + 1)) + if [ ${COUNT} -gt ${TIMEOUT} ] + then + ...
bash
d_bash_1042
--- +++ @@ -2,9 +2,9 @@ docker build -t=pact_broker_img . docker run --name broker_app \ - -e DB_USERNAME=YOUR_DB_USERNAME \ - -e DB_PASSWORD=YOUR_DB_PASSWORD \ - -e DB_HOST=YOUR_DB_HOST \ - -e DB_NAME=YOUR_DB_NAME \ + -e DB_USERNAME=$BROKER_DB_USERNAME \ + -e DB_PASSWORD=$BROKER_DB_PASSWORD \ + -e DB_HOST...
bash
d_bash_1043
--- +++ @@ -29,5 +29,5 @@ ( cd freeciv - ./autogen.sh --with-project-definition=../freeciv-web.project --enable-fcweb --enable-json --disable-delta-protocol --disable-nls --disable-debug --disable-fcmp --disable-freeciv-manual --disable-ruledit --enable-ai-static=classic,threaded && make + ./autogen.sh CFLAGS=...
bash
d_bash_1044
--- +++ @@ -21,6 +21,7 @@ ui/resources.js ui/style.css bower_components/platform/platform.js + bower_components/gif.js/dist/gif.worker.js ) image_files=`find ui icons -name *.jpg -o -name *.jpeg -o -name *.gif -o -name *.png` all_files="${js_files[@]} ${image_files[@]}"
bash
d_bash_1045
--- +++ @@ -1 +1,2 @@ -clang++ -std=c++11 -O2 -o Nullocity.bin -I/usr/local/include -I/usr/local/include/SDL2 -I../SDL2TK/include ../source/*.cpp ../SDL2TK/source/*.cpp ../SDL2TK/source/glew.c -L/usr/local/lib -lSDL2 -lSDL2_image -llua -framework OpenGL -framework OpenAL +clang -O2 -c ../SDL2TK/source/glew.c +clang++...
bash
d_bash_1046
--- +++ @@ -1,9 +1,9 @@ export NVM_VERSION=0.35.3 -export NODE_VERSION=13.12.0 -export NPM_VERSION=6.14.4 +export NODE_VERSION=14.5.0 +export NPM_VERSION=6.14.5 export RUBY_VERSION=2.6.0 -export COCOAPODS_VERSION=1.9.1 -export GRADLE_VERSION=4.10.3 +export COCOAPODS_VERSION=1.9.3 +export GRADLE_VERSION=6.5 expor...
bash
d_bash_1047
--- +++ @@ -7,8 +7,8 @@ MASTER="localhost:9989" USER_NAME="pbchange" AUTH="" -PROJECT="aes-pipe" -LOGFILE="/tmp/aes-pipe_git.log" +PROJECT="SOME-PROJECT" +LOGFILE="/tmp/${PROJECT}_git.log" if [ ! -x ${GIT_BUILDBOT} ]; then echo "No git_buildbot.py script." 1>&2
bash
d_bash_1048
--- +++ @@ -7,5 +7,8 @@ alias j8='JAVA_HOME=$(/usr/libexec/java_home -v 1.8)' alias j9='JAVA_HOME=$(/usr/libexec/java_home -v 9)' alias j10='JAVA_HOME=$(/usr/libexec/java_home -v 10)' +alias j11='JAVA_HOME=$(/usr/libexec/java_home -v 11)' alias jlast='JAVA_HOME=$(/usr/libexec/java_home)' alias jversion='java -ve...
bash
d_bash_1049
--- +++ @@ -17,7 +17,23 @@ # Let's run the Zend Server installation! wget http://downloads.zend.com/zendserver/8.5.0/ZendServer-8.5.0-RepositoryInstaller-linux.tar.gz -O - | tar -xzf - -C /tmp && /tmp/ZendServer-RepositoryInstaller-linux/install_zs.sh 5.6 nginx --automatic +# Answer 'Y' when asked to overwrite an...
bash
d_bash_1050
--- +++ @@ -5,4 +5,6 @@ wget https://raw.githubusercontent.com/rawdigits/wee-slack/master/wee_slack.py wget https://raw.githubusercontent.com/kattrali/weemoji/master/weemoji.py + +cd ~/.weechat/perl/autoload wget https://weechat.org/files/scripts/buffers.pl
bash
d_bash_1051
--- +++ @@ -2,8 +2,8 @@ set -euo pipefail -REPO_SLUG=$TRAVIS_REPO_SLUG -GIT_COMMIT=$TRAVIS_COMMIT +REPO_SLUG=${TRAVIS_PULL_REQUEST_SLUG:-TRAVIS_REPO_SLUG} +GIT_COMMIT=${TRAVIS_PULL_REQUEST_SHA:-TRAVIS_COMMIT} if [ -z "${TRAVIS_TAG:-}" ]; then GIT_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
bash
d_bash_1052
--- +++ @@ -6,6 +6,9 @@ sa_creds=74668_ci-service-account project_id=anthos-platform-ci-env domain=ap-anthos-platform-ci-env.cloud-tutorial.dev + +# Set the project ID for CI +gcloud config set project ${project_id} # Activate the service account gcloud auth activate-service-account --key-file="${KOKORO_KEYSTO...
bash
d_bash_1053
--- +++ @@ -14,3 +14,4 @@ docker build \ --file src/main/docker/Dockerfile.native \ --tag $REPO:$VERSION \ + .
bash
d_bash_1054
--- +++ @@ -1,8 +1,12 @@ #!/bin/bash if [ "$TRAVIS_BRANCH" == "master" ]; then + echo "=======================================" + echo "Authelia will be deployed on Dockerhub." + echo "=======================================" + echo "TRAVIS_TAG='$TRAVIS_TAG'" + TAG=latest - if [ ! -z "$TRAVIS_TAG" ]; th...
bash
d_bash_1055
--- +++ @@ -23,6 +23,7 @@ ;; *) echo "Error: Invalid Method" + return 1 ;; esac }
bash
d_bash_1056
--- +++ @@ -1,10 +1,8 @@ #!/bin/sh if [ "$LANE" = "test" ]; then - xcodebuild -project Sentry.xcodeproj -scheme SentryTests build test -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES bash <(curl -s https://codecov.io/bash) -J '^Swift$' -elif [ "$LANE" = "do_co...
bash
d_bash_1057
--- +++ @@ -23,7 +23,8 @@ // Deprecated header file for case-sensitive filesystems #warning The dart/$lower/$1.h header file is deprecated \\ - as of dart 4.3 and will be removed in the next release. + as of dart 4.3 and will be removed in the next release. \\ + Please include dart/$lower/$2.h instead. #inclu...
bash
d_bash_1058
--- +++ @@ -7,7 +7,10 @@ exit 1 fi -JARS=./target/test-classes:${APARAPI_HOME}/com.amd.aparapi/dist/aparapi.jar:./target/swat-1.0-SNAPSHOT.jar +cp ../clalloc/libclalloc.so . +cp ../clutil/libclutil.so . + +JARS=./target/test-classes:${APARAPI_SWAT}/com.amd.aparapi/dist/aparapi.jar:./target/swat-1.0-SNAPSHOT.jar...
bash
d_bash_1059
--- +++ @@ -10,7 +10,7 @@ GITDIR="${ENVROOT}/${1}/.git" # check to make sure the env repo exists -if [ -d ${GITDIR} ]; +if [ -e ${GITDIR} ]; then git --git-dir ${GITDIR} rev-parse --short HEAD else
bash
d_bash_1060
--- +++ @@ -5,4 +5,5 @@ virtualenv -p python3 . . bin/activate pip install -r requirements.txt +sed -i 's/\.iteritems/.items/g' lib/*/site-packages/flaskext/genshi.py rm -f $0
bash
d_bash_1061
--- +++ @@ -17,3 +17,6 @@ echo "Uploading cookbooks..." knife cookbook upload -a -VV -o ${COOKBOOK_DIR} -s http://localhost:4000 -u chef-webui -k /etc/chef/webui.pem +# Make sure web console is started (sometimes it crashes at startup) +echo "Restarting web console..." +/etc/init.d/chef-server-webui restart
bash
d_bash_1062
--- +++ @@ -9,7 +9,7 @@ # Insert a tile source for every file found under /var/local/images sources="" -for file in $(find /var/local/images -name "*.jp2" -o -name "*.tiff"); do +for file in $(find /var/local/images -name "*.jp2" -o -name "*.tiff" -o -name "*.jpg"); do relpath=${file##/var/local/images/} re...
bash
d_bash_1063
--- +++ @@ -11,6 +11,17 @@ tfenv use ${v} if ! check_version ${v}; then echo "Installing latest version ${v}" 1>&2 + exit 1 +fi + +echo "### Install latest version with Regex" +cleanup + +v=$(tfenv list-remote | grep 0.8 | head -n 1) +tfenv install latest:^0.8 +tfenv use latest:^0.8 +if ! check_version ${v}; th...
bash
d_bash_1064
--- +++ @@ -8,9 +8,9 @@ cloc emacs fuse git keybase linux-lts llvm llvm-clang openssh \ sdl2-devel sdl2-image-devel sdl2-mixer-devel sdl2-ttf-devel sudo usermod -aG fuse $(whoami) -snap refresh -snap install sublime-text --classic -snap install sublime-merge --classic +sudo snap refresh +sudo snap install ...
bash
d_bash_1065
--- +++ @@ -2,7 +2,7 @@ export TMP="$BATS_TEST_DIRNAME/tmp" export NAGIOS_PLUGINS_DIRECTORY="$TMP/../.." export PATH="$NAGIOS_PLUGINS_DIRECTORY:$TMP/stub:$PATH" - export NAGIOS_BASH_SCRIPTS=$(find "$NAGIOS_PLUGINS_DIRECTORY" -type f -maxdepth 1 -name '*.sh' -print) + export NAGIOS_BASH_SCRIPTS=$(find "$NAG...
bash
d_bash_1066
--- +++ @@ -12,7 +12,7 @@ ) case $OS_ID in ol) - sudo yum -y localinstall "https://github.com/dshearer/jobber/releases/download/${LATEST}/jobber-${LATEST#v}-1.el7.x86_64.rpm" + sudo yum -y localinstall "https://github.com/dshearer/jobber/releases/download/${LATEST}/jobber-${LATEST#v}-1.el8.x86_64.rpm" ...
bash
d_bash_1067
--- +++ @@ -23,7 +23,7 @@ ( cd $VIRTUAL_ENV/src - wget -O - http://ccl.cse.nd.edu/software/files/cctools-lobster-142-55035a54-cvmfs-40cf5bba-x86_64-redhat6.tar.gz|tar xzf - + wget -O - http://ccl.cse.nd.edu/software/files/cctools-lobster-142-55035a54-cvmfs-40cf5bba-source.tar.gz|tar xzf - cd cctools* sed -i ...
bash
d_bash_1068
--- +++ @@ -1 +1,3 @@ +chmod a+rx screenshots/*x* +chmod a+r screenshots/*x*/*.png rsync -av --progress ./screenshots/ rhughes@secondary01.fedoraproject.org:/srv/pub/alt/screenshots/f21/
bash
d_bash_1069
--- +++ @@ -20,9 +20,9 @@ delete=true fi cd .. - echo "./goyang -p $path -u https://github.com/openconfig/public/blob/$commit/" + echo "./crawl -p $path -u https://raw.githubusercontent.com/openconfig/public/$commit/" - ./goyang -p $path -u https://github.com/openconfig/public/blob/$comm...
bash
d_bash_1070
--- +++ @@ -1,3 +1,3 @@ -git clone git://github.com/fsquillace/junest ~/junest +git clone https://github.com/fsquillace/junest ~/junest export PATH=~/junest/bin:$PATH junest -f -- pacman --noconfirm -Sy zsh awk pkgfile grep
bash
d_bash_1071
--- +++ @@ -37,5 +37,5 @@ psql -U postgres -d $database -c \ "DELETE FROM \"Users\" \ WHERE \"AuthenticationStatus\" = 0 AND \ - \"CreationDate\" < now()::date - 7;" + \"CreationDate\" < now()::date - 8;"
bash
d_bash_1072
--- +++ @@ -29,7 +29,8 @@ sudo pip install ipython #Unittest dependencies -sudo apt-get install libsqlite3-mod-spatialite +sudo apt-get install -y libsqlite3-mod-spatialite # fulltext Python library for extracting text from various file formats (for indexing). -sudo apt-get install catdoc odt2txt antiword popp...
bash
d_bash_1073
--- +++ @@ -38,7 +38,7 @@ // available and the UMD wrapper prevents this global from being set when // RequireJS is used. See issue #157. // -browserify(options).plugin(deumdify).bundle().pipe(concat({ +browserify(options).ignore('ws').plugin(deumdify).bundle().pipe(concat({ encoding: 'string' }, function (out...
bash
d_bash_1074
--- +++ @@ -21,7 +21,7 @@ if [ -n "$currentservice" ] ; then interface=$currentservice - network_id=`networksetup -getairportnetwork en0 | cut -c 24-` + network_id=`networksetup -getairportnetwork $sdev | cut -c 24-` else interface='none' network_id='none'
bash
d_bash_1075
--- +++ @@ -11,10 +11,14 @@ fi # Install rbenv: -git clone git://github.com/sstephenson/rbenv.git $RBENV_ROOT +if [ ! -f $RBENV_ROOT/bin/rbenv ] ; then + git clone git://github.com/sstephenson/rbenv.git $RBENV_ROOT +fi # Install rbenv plugins: -git clone git://github.com/sstephenson/rbenv-vars.git $RBENV_ROOT...
bash
d_bash_1076
--- +++ @@ -1,7 +1,13 @@ # # build config # -PACKAGES="www-servers/nginx" +PACKAGES="www-servers/nginx::mva" + +configure_bob() +{ + # add mva overlay which has nginx with pagespeed and other goodies + layman -a mva +} # # this method runs in the bb builder container just before starting the build of the...
bash
d_bash_1077
--- +++ @@ -2,7 +2,7 @@ # Remote debug: export JAVA_OPTS="-Xdebug -Xmx256m -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n" -export PORT="8081" +export PORT="${PORT:-8081}" # File reloading: export RESTOLINO_STATIC="src/main/web"
bash
d_bash_1078
--- +++ @@ -12,9 +12,9 @@ > /tmp/versioner.web.env set -a -. /tmp/versioner.web.env +source /tmp/versioner.web.env set +a -. "${SH_DIR}/set_image_tags.sh" +source "${SH_DIR}/set_image_tags.sh" "${SH_DIR}/docker_containers_down.sh" "${SH_DIR}/build_docker_images.sh"
bash
d_bash_1079
--- +++ @@ -1,3 +1,9 @@ #!/bin/sh -cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. + +cmake -G "Unix Makefiles" \ + -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_C_COMPILER=/usr/local/bin/clang-3.5 \ + -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++-3.5 \ + -DCMAKE_EXPORT_COMPILE_COMMANDS...
bash
d_bash_1080
--- +++ @@ -5,6 +5,7 @@ if [[ -f .cache/alexwlchan_build.tar ]] then + echo "Cached Docker exist; reloading from cache" docker load .cache/alexwlchan_build.tar docker load .cache/specktre.tar fi
bash
d_bash_1081
--- +++ @@ -20,7 +20,7 @@ version="${BASH_REMATCH[1]}" date="${BASH_REMATCH[2]}" -notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')" +notes="$(echo "${BASH_REMATCH[3]}" | sed -n -E '/^[0-9]+\.[0-9]+\.[0-9]+/,$!p')" if [[ "$date" != $(date +"%Y-%m-%d") ]]; then echo "$date...
bash
d_bash_1082
--- +++ @@ -26,6 +26,7 @@ ~/Library/Developer/Toolchains ) +shopt -s nullglob for toolchain_directory in "${toolchain_directories[@]}" do for toolchain in "$toolchain_directory"/*.xctoolchain
bash
d_bash_1083
--- +++ @@ -1,7 +1,11 @@ #!/bin/sh -if ! whoami &> /dev/null; then - if [ -w /etc/passwd ]; then +if [ -w /etc/passwd ]; then + # Change root's home folder to /home + sed -i 's/root:\/root:/root:\/home:/' /etc/passwd + + # If we don't know who we are (whoami returns false) add a new entry into the users list +...
bash
d_bash_1084
--- +++ @@ -12,13 +12,13 @@ echo 'Setting up mysql...'; wget http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.11-src.tar.gz - tar -xf mysql-connector-c-6.1.6-src.tar.gz - rm mysql-connector-c-6.1.6-src.tar.gz - cd mysql-connector-c-6.1.6-src + tar -xf mysql-connector-c-...
bash
d_bash_1085
--- +++ @@ -2,7 +2,7 @@ set -ev if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then if [ "${TRAVIS_BRANCH}" = "master" ]; then - if [ "${TRAVIS_COMMIT_MESSAGE}" = "Version bump" ]; then + if [ "${TRAVIS_COMMIT_MESSAGE}" = "Bump version" ]; then echo "Skipping version bump commit" else ./gradlew deplo...
bash
d_bash_1086
--- +++ @@ -29,7 +29,7 @@ then docker $command; else - echo "Command is not allowed" + echo -e "\033[0;91mCommand is not allowed\033[0m" fi history -s $command; done
bash
d_bash_1087
--- +++ @@ -26,8 +26,7 @@ # add localhost to known_hosts ssh-keyscan -H localhost >> ~/.ssh/known_hosts -# add root's key to authorized_keys -if [ ! -e ~/.ssh/id_rsa.pub ]; then - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' -fi -cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys +# generate and add key to authorized...
bash
d_bash_1088
--- +++ @@ -1,7 +1,11 @@ #!/bin/bash + apt-get update && apt-get -y dist-upgrade +# Install Vmware tools apt-get install -y open-vm-tools-desktop fuse +# Install tools +apt-get install -y libbde-dev libbde-utils exfat-fuse exfat-utils
bash
d_bash_1089
--- +++ @@ -4,7 +4,7 @@ src_dir="$(cd "$(dirname "$0")" && pwd)" build_dir=${1:-.} -truncate -s 16G ${build_dir}/rootfs.img +truncate -s 32G ${build_dir}/rootfs.img mkfs.ext4 -FqL rootfs ${build_dir}/rootfs.img dir=$(mktemp -d)
bash
d_bash_1090
--- +++ @@ -24,6 +24,6 @@ git clone --depth=1 --branch=master https://github.com/pearofducks/ansible-vim $USER_HOME/.vim/bundle/ansible-vim git clone --depth=1 --branch=master https://tpope.io/vim/surround.git $USER_HOME/.vim/bundle/surround -find . -type d -name '.git' -maxdepth 2 | xargs rm -rf {} +find $USER_H...
bash
d_bash_1091
--- +++ @@ -17,9 +17,9 @@ git clone https://github.com/4finance/boot-microservice.git cd boot-microservice updateMicroInfraSpringVersionInConfigurationFile -./gradlew clean check uptodate --stacktrace --continue --info --no-daemon +./gradlew clean check guiTest uptodate --stacktrace --continue --info --no-daemon ...
bash
d_bash_1092
--- +++ @@ -5,5 +5,5 @@ ./google-cloud-sdk/install.sh --usage-reporting false --path-update true source './google-cloud-sdk/path.bash.inc' gcloud auth activate-service-account $TRAVIS_SERVICE_ACCOUNT --key-file=travis-service-account-auth.json -gsutil -m rsync -R -d build/ $GCS_BUCKE +gsutil -m rsync -R -d build/ ...
bash
d_bash_1093
--- +++ @@ -1,8 +1,8 @@ #!/bin/sh # Tested with: -# - Fedora 22 (x64) -# - Centos 7 (x64: on AWS EC2 t2.micro, DigitalOcean droplet) +# - Fedora 22, 23 (x64) +# - Centos 7 (x64: onD igitalOcean droplet) if type yum 2>/dev/null then @@ -15,17 +15,33 @@ exit 1 fi +# Some distros and older versions...
bash
d_bash_1094
--- +++ @@ -15,6 +15,7 @@ # Main Program # ############################################ RELATIVE_DIR_PATH="$(dirname "${BASH_SOURCE[0]:-$0}")" +. "${RELATIVE_DIR_PATH}/javaConfig.bash" echo "Running serverless tests with Java ${JAVA_VERSION}"
bash
d_bash_1095
--- +++ @@ -3,6 +3,15 @@ echo This script is very temporary. Please validate all input files in the source repository before blindly copying them in. echo Ensure all artifacts have a valid POM, and are signed used PGP. echo This will be removed when the repository manager is in place. + +echo + +echo +echo If you ...
bash
d_bash_1096
--- +++ @@ -11,4 +11,4 @@ git config --file "$git_config_dir/config" user.email guthrie.armstrong@gmail.com git config --file "$git_config_dir/config" core.excludesFile "$HOME/dotfiles/git/ignore" git config --file "$git_config_dir/config" core.attributesFile "$HOME/dotfiles/git/attributes" -git config --file "$gi...
bash
d_bash_1097
--- +++ @@ -23,9 +23,8 @@ apk add nodejs npm -g install npm @angular/cli -# Make the angular server accessible from the host, without port // TODO: needs disable-host-check, too +# Make the angular server accessible from the host // TODO: needs disable-host-check, too ng set defaults.serve.host 0.0.0.0 -g -ng se...
bash
d_bash_1098
--- +++ @@ -1,4 +1,4 @@ #!/bin/bash -oc get nodes --no-headers | cut -f1 -d" " | while read i; do ssh -n "$i" 'sync ; echo 3 > /proc/sys/vm/drop_caches'; done +oc get nodes --no-headers | cut -f1 -d" " | while read i; do ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -n "$i" 'sync ; echo 3 > /pr...
bash
d_bash_1099
--- +++ @@ -29,4 +29,5 @@ docker tag lambci/lambda:build-${RUNTIME} lambci/lambda:${PUBLISH_DATE}-build-${RUNTIME} docker push lambci/lambda:build-${RUNTIME} docker push lambci/lambda:${PUBLISH_DATE}-build-${RUNTIME} + docker rmi lambci/lambda:${PUBLISH_DATE}-build-${RUNTIME} done
bash