document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_21400
--- +++ @@ -3,15 +3,15 @@ # Get the latest version for 64 bit systems curl https://www.continuum.io/downloads | \ grep -o \ - 'https://[[:alnum:]|-]*.ssl.cf1.rackcdn.com/Anaconda3-.*-Linux-x86_64.sh' \ + 'https://[[:alnum:]|-]*.ssl.cf1.rackcdn.com/Anaconda2-.*-Linux-x86_64.sh' \ >> anaconda_script_u...
bash
d_bash_21401
--- +++ @@ -12,11 +12,13 @@ flycut franz google-chrome + hyperdock insync intel-haxm iterm2 java jetbrains-toolbox + microsoft-office mou osxfuse qlcolorcode
bash
d_bash_21402
--- +++ @@ -4,5 +4,5 @@ export C_FORCE_ROOT=true -cd /makeaplea && source /makeaplea/docker/celery_defaults && celery worker -A make_a_plea.celery:app +cd /makeaplea && source /makeaplea/docker/celery_defaults && celery -A make_a_plea.celery:app worker --loglevel=DEBUG
bash
d_bash_21403
--- +++ @@ -1,5 +1,5 @@ -GIT=https://github.com/ids1024/openssl.git -BRANCH=redox +GIT=https://gitlab.redox-os.org/redox-os/openssl.git +BRANCH=relibc function recipe_version { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
bash
d_bash_21404
--- +++ @@ -3,7 +3,7 @@ set -euo pipefail readonly RAILS_VERSIONS=(60 60 60 master) -readonly RUBY_VERSIONS=(2.6.3 2.6.6 2.7 2.7) +readonly RUBY_VERSIONS=(2.6.3 2.6.6 2.7.2 2.7.2) readonly RAILS_VERSION=${RAILS_VERSIONS[$BUILDKITE_PARALLEL_JOB]} readonly RUBY_VERSION=${RUBY_VERSIONS[$BUILDKITE_PARALLEL_JOB]}
bash
d_bash_21405
--- +++ @@ -1,4 +1,4 @@ #!/bin/sh echo 'goog library usage:' -grep -Rn 'goog\.[a-zA-Z0-9\.]' src/ | sed 's/.*\(goog\.[a-zA-Z0-9\.]*\).*/\1/' | grep -v goog.asserts | grep -v goog.provide | grep -v goog.require | sort | uniq -c +grep -Rn 'goog\.[a-zA-Z0-9\.]' src/ | sed 's/.*\(goog\.[a-zA-Z0-9\.]*\).*/\1/' | grep ...
bash
d_bash_21406
--- +++ @@ -12,9 +12,9 @@ VR_ADDRESS=$(vr_mgmt_ip $VROUTER) if [ -z "$USER" ] ; then - ssh $VR_ADDRESS -l vrnetlab + ssh -oStrictHostKeyChecking=no $VR_ADDRESS -l vrnetlab else - ssh $VR_ADDRESS -l $USER + ssh -oStrictHostKeyChecking=no $VR_ADDRESS -l $USER fi }
bash
d_bash_21407
--- +++ @@ -15,10 +15,10 @@ esac fi -./build.sh +./build.sh || exit 1 docker stop haproxy docker rm haproxy -./start.sh +./start.sh || exit 1 docker exec haproxy ./route-backend.sh ${PORT} exit 0
bash
d_bash_21408
--- +++ @@ -8,18 +8,23 @@ } fi -TAG=$(date +%Y-%m-%d) -$RUNC build -t quay.io/cockpit/ws:$TAG containers/ws +$RUNC build -t quay.io/cockpit/ws:release containers/ws # smoke test name=ws-release -$RUNC run --name $name -p 19999:9090 -d quay.io/cockpit/ws:$TAG +$RUNC run --name $name -p 19999:9090 -d quay.i...
bash
d_bash_21409
--- +++ @@ -1,11 +1,11 @@ #! /bin/cat -DIR=~/jab/environ.d -[[ -n $WELCOME_BYE ]] && echo Welcome to $DIR +ENVIRON_DIR=~/jab/environ.d +[[ -n $WELCOME_BYE ]] && echo Welcome to $ENVIRON_DIR -. $DIR/jab.sh -. $DIR/environ.sh -. $DIR/python.sh -. $DIR/company.sh 2>/dev/null -. $DIR/ssh_completion.sh -[[ -n $WELCOM...
bash
d_bash_21410
--- +++ @@ -3,7 +3,7 @@ set -eux sudo apt-get install postgresql postgresql-contrib -sudo systemctl enable postgres +sudo systemctl enable postgresql sudo -u postgres createuser --superuser ubuntu createdb ubuntu createuser --superuser root
bash
d_bash_21411
--- +++ @@ -20,7 +20,24 @@ letsencrypt.sh/letsencrypt.sh --cron user_site=${MAIL##*/} -echo " + Done! Now add $(realpath nfsn-cron.sh) to your scheduled tasks!" -echo " You can find them at https://members.nearlyfreespeech.net/${user_site%_*}/sites/${NFSN_SITE_NAME}/cron" -echo " letsencrypt.sh will not try a...
bash
d_bash_21412
--- +++ @@ -8,6 +8,10 @@ mkdir -p /etc/puppet/modules/continuent_install/ > /dev/null cp -r /tmp/* /etc/puppet/modules/continuent_install/ > /dev/null + + + + cd /etc/puppet/modules/continuent_install/testing/classes puppet apply test_setup.pp @@ -26,6 +30,11 @@ done fi +puppet module install puppet...
bash
d_bash_21413
--- +++ @@ -10,3 +10,16 @@ sudo apt-get update sudo apt-get install mono-mcs r-base octave default-jdk nodejs clisp gobjc gobjc++ gnustep-devel php5 clojure1.4 build-essential ruby ruby-dev python scala coffeescript erlang groovy lua5.2 lua5.2-doc libboost1.53-all-dev libboost1.53-doc + +cat > /usr/share/X11/xorg...
bash
d_bash_21414
--- +++ @@ -3,7 +3,7 @@ if !(type "brew" > /dev/null 2>&1); then case ${OSTYPE} in darwin*) - yes ' '| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + yes ' '| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/i...
bash
d_bash_21415
--- +++ @@ -39,5 +39,5 @@ cd ${root} rsync -azP .built/* ${WKM_DEPLOY_USER}@${server}:/var/www/wkm/ -ssh ${WKM_DEPLOY_USER}@${server} "cd /var/www/wkm/server && yarn install && cd .. && pm2 start pm2.config.js && pm2 save" +ssh ${WKM_DEPLOY_USER}@${server} "cd /var/www/wkm/server && yarn install && cd .." cd ${r...
bash
d_bash_21416
--- +++ @@ -17,7 +17,7 @@ cat << _EOF_ > temp.sh #!/bin/bash -python3 ~/data/CC4.0/run_OSF.py -i ${jobname}.csv -o ${jobname_date}.csv -d $d -p $pcores -l 10000 -t $t \ +python3 ~/data/CrossCompare/run_OSF.py -i ${jobname}.csv -o ${jobname_date}.csv -d $d -p $pcores -l 10000 -t $t \ > ${jobname_date}.log _EOF_ ...
bash
d_bash_21417
--- +++ @@ -8,7 +8,7 @@ fi SUBNAME=$(echo $NAME | tr '[A-Z]' '[a-z]') -ENVNAME="$(echo $NAME | tr '[a-z]' '[A-Z]')_ROOT" +ENVNAME="$(echo $NAME | tr '[a-z-]' '[A-Z_]')_ROOT" echo "Preparing your '$SUBNAME' sub!"
bash
d_bash_21418
--- +++ @@ -5,13 +5,13 @@ readonly TOKENIZER=$(dirname $0)/xmltweet.exe # tokenizer path readonly INDIR=/var/local/destress/combined -readonly OUTDIR=/var/local/destress/tokenized +readonly OUTDIR=/var/local/destress/tokenized2 readonly FILELIST=$OUTDIR/fileList.txt mkdir -p $OUTDIR rm -f $FILELIST # This s...
bash
d_bash_21419
--- +++ @@ -2,7 +2,12 @@ set -eou pipefail +source .expeditor/scripts/shared.sh + package_path=${1?package_path argument required} + +declare -g hab_binary +curlbash_hab # Since we are only verifying we don't have build failures, make everything # temp! @@ -15,6 +20,6 @@ HAB_CACHE_KEY_PATH="$JOB_TEMP_ROOT/...
bash
d_bash_21420
--- +++ @@ -18,6 +18,7 @@ scripts/reformat-source || echo 'Warning: clang-format not available, skipping reformat-source' & scripts/reformat-cmake || echo 'Warning: Unable to reformat CMake code.' & +scripts/reformat-markdown || echo 'Warning: Unable to reformat Markdown code.' & scripts/reformat-shfmt || echo '...
bash
d_bash_21421
--- +++ @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +# Stop on any error, print all commands +set -ev # List all the outdated vagrant boxes, and do an upgrade for each one vagrant box outdated --global 2>/dev/null | grep outdated | tr -d "*'" | cut -d ' ' -f 2 | xargs -I {} vagrant box add --clean {}
bash
d_bash_21422
--- +++ @@ -15,15 +15,13 @@ mkdir -p $backup_dir echo "done" -echo -n "Changing directory to \"$dotfiles_dir\"..." cd $dotfiles_dir -echo "done" echo "Deploying dotfile symlinks. Moving existing files to $backup_dir. ..." for file in $dotfiles_dir/*; do file_basename=$(basename $file) dotfile_dest=...
bash
d_bash_21423
--- +++ @@ -1,7 +1,6 @@ #!/bin/sh -if test ! $(which node) -then - echo " Installing node for you." - brew install node > /tmp/node-install.log -fi +if test ! $(which n); then + echo "Installing n (node version manager) for you" + brew install n > /tmp/n-install.log +end
bash
d_bash_21424
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh -e if [ $( uname -s ) = Darwin ]; then - target=$( brew --prefix )/etc/bash_completion + target=$( brew --prefix )/etc/profile.d/bash_completion.sh if [ -f $target ]; then . $target fi
bash
d_bash_21425
--- +++ @@ -4,7 +4,7 @@ ./grailsw test-app --non-interactive ./grailsw package-plugin --non-interactive ./grailsw doc --pdf --non-interactive -if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_REPO_SLUG == 'gpc/grails-mail' && TRAVIS_PULL_REQUEST == 'false' ]]; then +if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_REPO_SLUG...
bash
d_bash_21426
--- +++ @@ -1,4 +1,9 @@ -eval "$(./localdb_env_vars.sh)" +export BACKEND=cbioportal:master +export PORTAL_SOURCE_DIR=$(pwd) # change path if needed +export DB_DATA_DIR=/tmp/mysql # change path if needed +export TEST_HOME="$PORTAL_SOURCE_DIR/end-to-end-test" +export CHROMEDRIVER_VERSION=83.0.4103.39 +export CBIOPORTAL...
bash
d_bash_21427
--- +++ @@ -7,12 +7,13 @@ mixer="default" [ -n "$(lsmod | grep pulse)" ] && mixer="pulse" [ -n "$(lsmod | grep jack)" ] && mixer="jackplug" -mixer="${2:-$mixer}" +mixer="${3:-$mixer}" -scontrol="$(amixer -D $mixer scontrols | - sed -n "s/Simple mixer control '\([A-Za-z ]*\)',0/\1/p" | - hea...
bash
d_bash_21428
--- +++ @@ -5,11 +5,13 @@ BASE_URL="http://image-server.$PROJECT..svc.cluster.local" -HTTP_CODE=${curl -sS -w '{http_code}\n' -o /tmp/content $BASE_URL/tv-thumbnail/371157ee-b120-4504-bfaf-364c15a4137c?ticket=3d2bda8b-8b7c-47e9-85ce-f42d2e4fc12d} +curl -sS -w '{http_code}\n' -o /tmp/content $BASE_URL/tv-thumbnai...
bash
d_bash_21429
--- +++ @@ -4,11 +4,16 @@ # installer, which screws with terminal buffer. echo -e "\nInstalling dotfiles from https://github.com/danemacmillan/dotfiles. This will take a minute." echo -e "--------------------------------------------------------------------------------" -echo -e "Installing for 'root' user..." -cd ...
bash
d_bash_21430
--- +++ @@ -4,7 +4,7 @@ POD_TRY_OPTION="$3" echo "Invoking 'pod try $POD_NAME'" -POD_TRY_DIR="$(pod _1.6.1_ try $POD_NAME <<< $POD_TRY_OPTION | tail -1 | awk '{print $2}' | echo "/$(cut -d\/ -f2-11)")" +POD_TRY_DIR="$(pod _1.6.1_ try --verbose $POD_NAME <<< $POD_TRY_OPTION | tail -1 | awk '{print $2}' | echo "/$(...
bash
d_bash_21431
--- +++ @@ -8,6 +8,7 @@ DEPLOY_DATE=`date "+%FT%T%z"` heroku config:set --app=eggtimer \ +NEW_RELIC_APP_NAME='eggtimer' \ ADMIN_EMAIL="egg.timer.app@gmail.com" \ ADMIN_NAME="egg timer" \ DJANGO_SETTINGS_MODULE=eggtimer.settings.production \
bash
d_bash_21432
--- +++ @@ -3,13 +3,11 @@ set -e set -x -sed -i 's/\$(CRYPTOPP_LIBS)/\/usr\/local\/lib\/libcryptopp.a/g' Makefile.am_client - ./switch_build.sh client autoreconf --install -./configure CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -DRESTORE_CLIENT -flto" CFLAGS="-flto" LDFLAGS="-flto" --enable-headless --with-crypto...
bash
d_bash_21433
--- +++ @@ -1,4 +1,4 @@ #!/bin/bash -docker run --rm -it -v "${PWD}":/mnt radupopescu/erlang-libsodium:20.0 \ +docker run --rm -it -v "${PWD}":/mnt radupopescu/erlang-libsodium:20.2 \ sh -c "cd /mnt && rebar3 release && rebar3 as test dialyzer,ct && rebar3 as prod tar"
bash
d_bash_21434
--- +++ @@ -1,9 +1,6 @@ #!/usr/bin/env sh run () { - - ./rebar clean - ./rebar compile -D $1 for run in `seq 1 $run_repeat`; do for model in $models; do @@ -15,27 +12,32 @@ output_file=$output_root/$model/$core/$1/$logfile echo $output_file - ...
bash
d_bash_21435
--- +++ @@ -2,4 +2,11 @@ brew update && brew install asciidoc && -brew install sdl2 +brew install sdl2 && + +curl -O https://github.com/google/googletest/archive/release-1.7.0.zip && +unzip googletest-release-1.7.0.zip && cd googletest-release-1.7.0 && +mkdir build && cd build && +cmake .. && make && +sudo cp -r ...
bash
d_bash_21436
--- +++ @@ -28,5 +28,5 @@ addFilter text_attr addFilter thumbnailer -echo "ocv_face.xml" -cp $PWD/jni/diamond-core-filters/predicates/ocv_face.xml $RES_DIR/ocv_face_xml +echo "haarcascade_frontalface" +cp $PWD/jni/diamond-core-filters/predicates/ocv_face/haarcascade_frontalface.xml $RES_DIR/haarcascade_frontalfac...
bash
d_bash_21437
--- +++ @@ -1,5 +1,6 @@ #!/bin/bash docker login -e $DOCKER_EMAIL -u $DOCKER_USERNAME -p $DOCKER_PASSWORD +TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi` docker tag $REPO:$COMMIT $REPO:$TAG docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER docker push $REPO
bash
d_bash_21438
--- +++ @@ -42,6 +42,7 @@ install_cask font-source-sans-pro install_cask font-ubuntu install_cask font-pt-serif +install_cask font-pt-sans echo "Installing additional plugins..."
bash
d_bash_21439
--- +++ @@ -1,15 +1,18 @@ #!/bin/bash -export EDITOR="emacs -nw" -export VISUAL="emacs -nw" +export EDITOR="emacsclient" +export VISUAL="emacsclient -nw" +#export VISUAL="emacs -nw" +#export VISUAL="emacs -nw" + +## --------------------- ## ## Bind the key to Vi for Zsh instead of Emacs! ## http://www.cs.elte.hu...
bash
d_bash_21440
--- +++ @@ -12,8 +12,8 @@ chown www-data ./var/sessions chmod -R 777 var/cache/ var/logs/ var/sessions/ -# install mongdb adaptater for PHP7 -composer require "alcaeus/mongo-php-adapter=^1.0.0" --ignore-platform-reqs +# install mongodb adaptater for PHP7 +php -d memory_limit=-1 /usr/sbin/composer require "alcaeus...
bash
d_bash_21441
--- +++ @@ -19,8 +19,8 @@ # go live executeSSH "if [ -d $APPROOT/old ]; then rm -rf $APPROOT/old; fi - mv $APPROOT/current $APPROOT/old - mv $APPROOT/deploy $APPROOT/current" + mv -T $APPROOT/current $APPROOT/old + mv -T $APPROOT/deploy $APPROOT/current" # post go live callRecipeEvent $RECIPE "gol...
bash
d_bash_21442
--- +++ @@ -1,7 +1,11 @@ #!/bin/bash set -e -rm -rf distribution_tarball -tmp_dir_create_command="mkdir -p distribution_tarball" +tmp_dir_create_command="mktemp -d" +unamestr=`uname` +if [[ "$unamestr" == 'Darwin' ]]; then + tmp_dir_create_command="mktemp -d -t libvarnam" +fi + target_dir=`$tmp_dir_create_command`...
bash
d_bash_21443
--- +++ @@ -3,11 +3,11 @@ cd /tmp curl -o 1.sh https://raw.github.com/tiberiuc/master/1.change_sudoers.sh -wget -o 2.sh https://raw.github.com/tiberiuc/master/2.change_rights_and_root_passwd.sh -wget -o 3.sh https://raw.github.com/tiberiuc/master/3.install_guest_additions.sh -wget -o 4.sh https://raw.github.com/t...
bash
d_bash_21444
--- +++ @@ -5,7 +5,7 @@ export NODE_OS_DISTRO='ubuntu' export NODE_IMAGE="/var/lib/libvirt/images/ubuntu-xenial-docker-ec2-noclouds.qcow2" -export NODE_ADDRESS_PREFIX='192.168.201' +export NODE_ADDRESS_PREFIX=${NODE_ADDRESS_PREFIX:-'192.168.201'} export NODE_NET_DEVICE='ens3' export NODE_ADDITIONAL_DISKS=''
bash
d_bash_21445
--- +++ @@ -3,7 +3,7 @@ BIN=/usr/local/bin EMAIL=johannes.ruscheinski@ub.uni-tuebingen.de -MARC_FILENAME=bnb.mrc +MARC_FILENAME=bnb-$(date +%y%m%d).mrc cd /usr/local/ub_tools/bnb_yaz
bash
d_bash_21446
--- +++ @@ -23,8 +23,8 @@ CONFIG=opt ./tools/run_tests/build_python.sh if [ "$grpc_dist" != "" ]; then pip install -r src/python/requirements.txt -t $grpc_dist/lib/python2.7/site-packages - CFLAGS=-I$grpc_dist/include LDFLAGS=-L$grpc_dist/lib pip install src/python/src + CFLAGS=-I$grpc_dist/include LDFLAGS=-L$...
bash
d_bash_21447
--- +++ @@ -9,6 +9,13 @@ echo "- Fetching non shallow to get git version" echo "---------------------------------------------" git fetch --unshallow && git fetch --tags +if [ z"$TRAVIS_BRANCH" != z ]; then + echo "Fixing detached head" + git branch -v + git branch -D $TRAVIS_BRANCH + git checkout -b $TRAVIS_BRANCH...
bash
d_bash_21448
--- +++ @@ -9,12 +9,17 @@ # download and extract only if newer wget -N https://rvk.uni-regensburg.de/downloads/$XMLFILE.gz [[ $XMLFILE.gz -nt $XMLFILE ]] && gzip -vdk $XMLFILE.gz - + if [[ "$2" = "jskos" ]]; then + # check for existance of jq + [ -x "$(command -v jq)" ] || (echo "Expecting jq to b...
bash
d_bash_21449
--- +++ @@ -1,5 +1,6 @@ VERSION=2.9 TAR=https://download.savannah.gnu.org/releases/freetype/freetype-$VERSION.tar.gz +BUILD_DEPENDS=(zlib) function recipe_version { echo "$VERSION"
bash
d_bash_21450
--- +++ @@ -6,7 +6,8 @@ # Xcode Command Line Tools if [[ ! -x `xcode-select -p 2>/dev/null` ]]; then xcode-select --install - read -rsp $'Press any key when the installation has completed.\n' -n 1 key + echo 'Press any key when the installation has completed.' + read -n 1 fi # Clone Short Stack
bash
d_bash_21451
--- +++ @@ -1,6 +1,7 @@ #!/bin/sh PORTAL='http://lis.ly.gov.tw/lgcgi/lglaw?@98:1804289383:g:CN%3D0100*%20AND%20NO%3DA1%24%241__' +mkdir -p data curl $PORTAL | iconv -f big5 -c > data/index.html grep '<TD class=cl1>' data/index.html | sed -e 's/.*cl1>//' |awk '{print "data/law/"$1"/index.html"}' > data/file.tx...
bash
d_bash_21452
--- +++ @@ -1,4 +1,4 @@ alias reload!='. ~/.zshrc' -alias ls='ls --color=auto' -alias ll='ls --color=auto -l' +#alias ls='ls --color=auto' +alias ll='ls -l'
bash
d_bash_21453
--- +++ @@ -2,5 +2,4 @@ set -eu -curl -H 'Content-type: application/uk-gov-rsf' --data-binary @school-data.rsf http://localhost:8080/load-rsf - +curl -H 'Content-type: application/uk-gov-rsf' --data-binary @school-data.rsf -u foo:bar http://localhost:8080/load-rsf
bash
d_bash_21454
--- +++ @@ -14,4 +14,9 @@ echo "Environment variables in use:" env | grep DM_ -python application.py runserver +if [ "$1" = "gunicorn" ]; then + "$VIRTUAL_ENV/bin/pip" install gunicorn + "$VIRTUAL_ENV/bin/gunicorn" -w 4 -b 127.0.0.1:5000 application:application +else + python application.py runserver +fi
bash
d_bash_21455
--- +++ @@ -3,7 +3,8 @@ #------------------------------------------------------------------------------- # Upgrade Docker #------------------------------------------------------------------------------- - +apt-cache madison docker-engine +sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=1...
bash
d_bash_21456
--- +++ @@ -17,7 +17,7 @@ function display_help { echo " Examples: - ./extract -h # display this help + ./extract # display this help ./extract <archive> # extract here ./extract <archive> <output direcory> # extract...
bash
d_bash_21457
--- +++ @@ -1,7 +1,4 @@ #!/bin/sh progname=`basename $PWD` full_vername=$progname-`git describe --tags | sed s/^v//` -cd .. -cp -RP $progname $full_vername -tar czvf $full_vername.tar.gz --exclude '*/.*' $full_vername -rm -rf $full_vername +git tar-tree HEAD $full_vername | gzip -c > ../$full_vername.tar.gz
bash
d_bash_21458
--- +++ @@ -17,3 +17,16 @@ # lint ruby code ln -s share/linters/.rubocop.yml . && rubocop + +rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi + +# check for require 'pry' +find . -name "*.rb"|xargs grep 'require'|grep "pry\|pry-byebug" + +rc=$?; if [[ $rc != 1 ]]; then exit 1; fi + +find src/cli/* \( -path src/cli/one...
bash
d_bash_21459
--- +++ @@ -2,5 +2,5 @@ DIR=`dirname $0` export ERL_LIBS="$DIR:$DIR/deps/mochiweb" -erl +Bd +K true -noinput -sasl errlog_type error \ - -s rpssl_app -port 8000 +exec erl +Bd +K true -noinput -sasl errlog_type error \ + -s rpssl_app $@
bash
d_bash_21460
--- +++ @@ -6,7 +6,8 @@ export MANPATH="/usr/local/man:$MANPATH" -export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" +export PATH="$PATH:/usr/bin:/bin:/usr/sbin:/sbin" +export PATH="$PATH:/home/max/.rvm/gems/ruby-2.3.0/bin" export PATH="$PATH:$HOME/.rvm/bin" export PATH="$PATH:$HOME/.cargo/bin"
bash
d_bash_21461
--- +++ @@ -2,9 +2,10 @@ go version |grep go1.9 || exit VERSION=$(git describe --tags) mkdir ci/binaries -GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o ci/binaries/matterbridge-$VERSION-win64.exe -GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -X main...
bash
d_bash_21462
--- +++ @@ -11,3 +11,7 @@ pkg_build_deps=(core/autoconf core/automake core/diffutils core/patch core/make core/gcc core/sed) pkg_lib_dirs=(lib) pkg_include_dirs=(include) + +do_check() { + make check +}
bash
d_bash_21463
--- +++ @@ -8,7 +8,7 @@ libx11-data libx11-xcb1 desktop-file-utils debian-reference-en \ debian-reference-common java-common -apt-get --yes install postgresql-client libpq-dev supervisor vim screen autossh ack-grep +apt-get --yes install postgresql-client libpq-dev supervisor vim screen autossh ack-grep sendm...
bash
d_bash_21464
--- +++ @@ -2,12 +2,12 @@ echo "" echo "==== seqcloud =============================================================" # bcbio - if [[ ! -z $BCBIO_DIR ]]; then + if [[ -d $BCBIO_DIR ]]; then echo "# bcbio" echo $BCBIO_DIR fi # Conda - if [[ ! -z $CONDA_DIR ]]; then + ...
bash
d_bash_21465
--- +++ @@ -14,6 +14,11 @@ unzip site.zip -d . rm site.zip +# static learning course +gsutil cp gs://taurus-site/learn.zip learn.zip +unzip learn.zip -d . +rm learn.zip + # add snapshots gsutil cp gs://taurus-site/snapshots/*.whl snapshots
bash
d_bash_21466
--- +++ @@ -3,15 +3,19 @@ cd "$(dirname "$0")/.." # Use long options (e.g. --header instead of -H) for curl examples in documentation. -grep --extended-regexp --recursive --color=auto 'curl (.+ )?-[^- ].*' doc/ +echo 'Checking for curl short options...' +grep --extended-regexp --recursive --color=auto 'curl (.+ )...
bash
d_bash_21467
--- +++ @@ -6,4 +6,4 @@ $BASE/new/devstack/exercises/designate.sh # Run the Designate Tempest tests -#sudo ./run_tempest_tests.sh +sudo ./run_tempest_tests.sh
bash
d_bash_21468
--- +++ @@ -1,6 +1,12 @@ #!/usr/bin/env bash -source ~/.nvm/nvm.sh +if [ -f ~/.nvm/nvm.sh ] +then + source ~/.nvm/nvm.sh +elif [ -f $(brew --prefix nvm)/nvm.sh ] +then + source $(brew --prefix nvm)/nvm.sh +fi set -e # exit when error set -x # debug messages
bash
d_bash_21469
--- +++ @@ -7,16 +7,14 @@ set -o pipefail IFS=$'\n\t' -op confirm --all || eval "$(op signin my.1password.com maciej.strzelecki@gmail.com)" +eval "$(op signin)" pushd "$(mktemp -d)" > /dev/null 2>&1 while read -r key && [ -n "$key" ] do - touch "$key" + op document get "$key" --output "$key" chmod 060...
bash
d_bash_21470
--- +++ @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x if [[ ! -z $DOKKU_HOST ]]; then function dokku {
bash
d_bash_21471
--- +++ @@ -1,3 +1,3 @@ JSON="{\"service_name\":\"travis-ci\", \"service_job_id\":\"$TRAVIS_JOB_ID\", \"source_files\":[{\"coverage\":[null,0,1,2],\"name\":\"file1.hs\",\"source\":\"line1\nline2\nline3\nline4\"}]}" echo $JSON > coverage.json -#curl -F json_file=@coverage.json https://coveralls.io/api/v1/jobs +curl ...
bash
d_bash_21472
--- +++ @@ -8,7 +8,7 @@ fi # Start ngrok server for Twilio nohup ngrok -authtoken E_-s84Q-fW2O1B_kU1Fl -subdomain=52c014b4 -log=stdout 8080 & -nohup /opt/ros/indigo/bin/roslaunch metatron_id metatron_id.launch --screen & +nohup /opt/ros/indigo/bin/roslaunch metatron_id metatron_id.launch & echo "Use kill_ros.sh t...
bash
d_bash_21473
--- +++ @@ -38,7 +38,7 @@ chmod +x $buildFile # Cleanup - if test ! -d $tempFolder; then + if test -d $tempFolder; then rm -rf $tempFolder fi fi
bash
d_bash_21474
--- +++ @@ -7,12 +7,8 @@ launch_router_with_db() { host=$1 shift - WEAVE_DOCKER_ARGS="-v /tmp:/db" weave_on $host launch-router --db-prefix=/db/test162- "$@" + weave_on $host launch-router "$@" } - -# Remove any persisted data from previous runs -run_on $HOST1 "sudo rm -f /tmp/test162-*" -run_on $HO...
bash
d_bash_21475
--- +++ @@ -14,6 +14,9 @@ --passphrase CozyTest_1 \ $name.cozy.tools:8080 done + +# Install cozy-drive on dev instance +cozy-stack apps install files git://github.com/cozy/cozy-drive.git#build --domain dev.cozy.tools:8080 # Retrieve test client ID client_id=$(cozy-stack instances client-oauth \
bash
d_bash_21476
--- +++ @@ -5,11 +5,14 @@ BASE_DIR=$(readlink -f "$(dirname $(readlink -f $0))/..") cd ${BASE_DIR} -# Remove the dist directory -rm -rf dist +# Cleaning 'dist' directory +rm -rf dist/* # Launch the Python unit tests ./bin/test # Create the wheel package python3 setup.py bdist_wheel --plat-name=linux_x86_6...
bash
d_bash_21477
--- +++ @@ -1,4 +1,11 @@ #!/bin/sh + +read -p "Warning: This script will generate 500MB for testing: Continue(Y/n): " ans + +if [ "$ans" != 'Y' ] ; then + exit 2 +fi + file_size="1 500 1024 512000" # base data
bash
d_bash_21478
--- +++ @@ -23,7 +23,7 @@ } upload_files() { - git push deploy + git push deploy HEAD:master } if [[ $TRAVIS_BRANCH == 'master' ]]
bash
d_bash_21479
--- +++ @@ -17,8 +17,7 @@ set -o nounset set -o pipefail -for d in $(find . -type d -not -iwholename '*.git*' -a -not -iname '.tool' -a -not -iwholename '*vendor*'); do - gometalinter --deadline=50s --vendor \ +gometalinter --deadline=50s --vendor \ --cyclo-over=50 --dupl-threshold=100 \ --exclude=".*s...
bash
d_bash_21480
--- +++ @@ -6,5 +6,5 @@ now=$(date) echo '{"name":"API","hostname":"c9804837f0b1","pid":3572,"level":30,"count":'$i',"metric":"rss","RSS":105,"elapsedTime":180,"MemFreed":-0.03,"msg":"Ran Garbage Collector.","time":"'$now'","v":0}' >> /log/foo.log i=$((i+1)); - sleep .1; + sleep 1; done
bash
d_bash_21481
--- +++ @@ -2,5 +2,5 @@ cd /home/ubuntu -exec sudo ./HBserver --redir-host="https://filippo.io/Heartbleed" --listen=":80" --expiry="1h" 2>&1 | tee -a ./heartbleed.log +exec sudo ./HBserver --redir-host="https://filippo.io/Heartbleed" --listen=":80" --expiry="6h" 2>&1 | tee -a ./heartbleed.log
bash
d_bash_21482
--- +++ @@ -11,7 +11,7 @@ if [ -z "${bosh_agent_src_dir:-}" ] then # Use relative path to the BOSH agent - bosh_agent_src_dir=$(readlink -nf $base_dir/../../..) + bosh_agent_src_dir=$(readlink -nf $base_dir/../bosh_agent) fi # Find `ruby` in PATH if needed
bash
d_bash_21483
--- +++ @@ -23,7 +23,7 @@ # Since this is just an illustration, we will use the test ESAPI.properties in # $esapi_resources_test. That way, it won't matter if the user has neglected # to run the 'setMasterKey.sh' example before running this one. -java -Dlog4j.configuration="$log4j_properties" \ +java -Dlog4j.confi...
bash
d_bash_21484
--- +++ @@ -10,9 +10,15 @@ mkdir -p $LOG_DIR chown -R $userowner:nac $LOG_DIR +DEBUG_STR="-v0" + +if [ ! -z "$DYN_DEBUG_LEVEL" ] ; then + DEBUG_STR="-v$DYN_DEBUG_LEVEL" +fi + # note that we do not use 'su - username .... ' , because we want to keep the env settings that we have done so far -cmd="$DYN_DIR/bi...
bash
d_bash_21485
--- +++ @@ -4,4 +4,4 @@ source ~/.bash_helpers.sh [[ -f ~/.current_project ]] && source ~/.current_project -$CURRENT_PROJECT && cd ~/work/$CURRENT_PROJECT +[[ $CURRENT_PROJECT ]] && cd ~/work/$CURRENT_PROJECT
bash
d_bash_21486
--- +++ @@ -8,7 +8,7 @@ fi if [ ! -f ./document_mappings.csv ]; then - wget https://$2:$3@whitehall-admin.production.alphagov.co.uk/government/document_mappings.csv + wget https://$2:$3@whitehall-admin.production.alphagov.co.uk/government/all_document_attachment_and_non_document_mappings.csv fi departme...
bash
d_bash_21487
--- +++ @@ -5,6 +5,7 @@ # executables can take precedence. if (( $+commands[pyenv] )) then + eval "$(pyenv init --path)" eval "$(pyenv init -)" if pyenv commands | grep -q ^virtualenv-init$; then
bash
d_bash_21488
--- +++ @@ -15,6 +15,8 @@ if [[ ${prev} == -*load ]]; then COMPREPLY=( $(compgen -f -- ${cur}) ) + elif [[ ${prev} == -*port ]]; then + COMPREPLY=( $(compgen -W "80 443" -- ${cur}) ) else COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) fi
bash
d_bash_21489
--- +++ @@ -15,4 +15,4 @@ hub ) -brew uninstall ${formulae[*]} +brew uninstall --force ${formulae[*]}
bash
d_bash_21490
--- +++ @@ -9,8 +9,8 @@ if [ "$GHCVER" != "" ]; then retry sudo add-apt-repository -y ppa:hvr/ghc retry sudo apt-get update - retry sudo apt-get install cabal-install-1.18 ghc-$GHCVER - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/1.18/bin:/home/travis/.cabal/bin:$PATH + retry sudo apt-get install ...
bash
d_bash_21491
--- +++ @@ -1,5 +1,6 @@ # The commented command is to avoid compilation of `numpy` and `scipy` -#sudo pip3 install ipython jupyter sphinx matplotlib sympy numpy scipy -sudo pip3 install ipython jupyter sphinx matplotlib sympy aiohttp pymc +# $ `brew install pkg-config` only for MacOS: required by `matplotlib` +p...
bash
d_bash_21492
--- +++ @@ -3,4 +3,13 @@ # Install Box2 and put it in the path # https://github.com/box-project/box2 +# Set current hash as build name into config +BUILD=`git rev-parse HEAD` +sed -i.bak "s/build: null/build: \"$BUILD\"/g" ../../src/config.neon +rm ../../src/config.neon.bak + +# Build phar file box build + +# Re...
bash
d_bash_21493
--- +++ @@ -1,2 +1,2 @@ #!/usr/bin/env bash -docker run -it -v $(pwd)/mountdir:/mnt bdedeploy bash +docker run -it -v $(pwd)/mountdir:/mnt --net=host bdedeploy bash
bash
d_bash_21494
--- +++ @@ -2,27 +2,16 @@ SLAVE_ROOT=/var/lib/buildbot/slaves SELINUX_BUILD=${SLAVE_ROOT}/meta-selinux/build/ -SELINUX_CONF=${SELINUX_BUILD}/conf/local.conf -SELINUX_LAYERS=${SELINUX_BUILD}/LAYERS +SELINUX_AUTO_CONF=${SELINUX_BUILD}/conf/auto.conf SELINUX_FETCH_CONF=${SELINUX_BUILD}/fetch.conf -# values we'll ...
bash
d_bash_21495
--- +++ @@ -12,5 +12,7 @@ set -e -cat pom.xml +cat pom.xml | grep -v wibble > 1 +mv 1 pom.xml + mvn deploy -DskipTests=true -s upload_settings.xml -B -Parchetype
bash
d_bash_21496
--- +++ @@ -31,11 +31,14 @@ exit 0 } -# delete the branches or just show what would be done without -f -if [ "$1" = -f ]; then - git push origin $(echo "$branches" | sed 's/^ */:/') -else +[ "$1" != -f ] && { echo "These branches will be deleted:" 1>&2 echo "$branches" - echo "Run \`$0 -f' if ...
bash
d_bash_21497
--- +++ @@ -5,13 +5,13 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html -# Define space separated list of aliases for the docker image -IMAGE_ALIASES="eclipse/che-cli" - base_dir=$(cd "$(dirname "$0")"; pwd) . "${base_dir}"/../build.include init --name...
bash
d_bash_21498
--- +++ @@ -14,7 +14,7 @@ alias migrate='rake db:migrate db:test:clone_structure' # Tail the test log, ignoring TRUNCATE output from database_cleaner -alias rlog='tail -f log/test.log | grep -v TRUNCATE' +alias rlog='tail -f log/test.log | grep -v TRUNCATE | grep -v "ALTER TABLE"' # Zeus commands alias z='zeu...
bash
d_bash_21499
--- +++ @@ -7,6 +7,9 @@ source "${HOME}/.bashrc.d/external/git-completion.sh" source "${HOME}/.bashrc.d/external/git-prompt.sh" +# Complete also the "g" alias +__git_complete g __git_main + # Add __git_ps1 to the prompt if type bashrc_ps1_before >/dev/null 2>&1; then bashrc_ps1_after "__git_ps1"
bash