document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_6500
--- +++ @@ -5,23 +5,18 @@ TF_TYPE="cpu" # Change to "gpu" for GPU support OS="$(uname -s | awk '{print tolower($0)}')" TARGET_DIRECTORY="/usr/local" +URL="https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-${OS}-x86_64-1.1.0.tar.gz" # Download and expand tensorflow lib -sudo echo ...
bash
d_bash_6501
--- +++ @@ -1,13 +1,26 @@ #!/usr/bin/env bash +# # ILAMB execution script. +# +# Run with: +# $ ./ILAMB_Main.sh > ILAMB.stdout -export ILAMB_UNDER=`pwd` +export ILAMB_CODESDIR=`pwd` cd .. export ILAMB_ROOT=`pwd` +cd $ILAMB_CODESDIR -cd $ILAMB_UNDER +# Allow a user to configure these directories. +export ILA...
bash
d_bash_6502
--- +++ @@ -2,5 +2,5 @@ for PIP in /opt/python/*/bin/pip; do $PIP install --disable-pip-version-check --upgrade pip - $PIP install scikit-build==0.7.1 + $PIP install scikit-build==0.8.1 done
bash
d_bash_6503
--- +++ @@ -1,4 +1,16 @@ #!/bin/bash + +if ! command -v git >/dev/null; then + echo "Git is not installed!!!" >&2 + exit 1 +fi + +if ! git rev-parse --abbrev-ref HEAD | grep -q comp; then + echo "YOUR BRANCH DOES NOT CONTAIN COMP. PLEASE RECONSIDER OR COMMENT ME OUT." 2>&1 + exit 1 +else + echo "Branc...
bash
d_bash_6504
--- +++ @@ -10,9 +10,18 @@ fi aclocal${ver} autoheader -libtoolize --automake --copy +libtoolize --force --automake --copy automake${ver} --verbose --add-missing --copy autoconf -./configure --enable-maintainer-mode +confflags="--enable-maintainer-mode" +if test x$NOCONFIGURE = x; then + echo Running $srcdir/c...
bash
d_bash_6505
--- +++ @@ -13,9 +13,6 @@ # Start Xfce's settings and power managers xfsettingsd & xfce4-power-manager & - -# Start up Syncthing for file synchronization -syncthing-gtk --minimized & # Load system tray apps for sound, bluetooth, and networking blueman-applet &
bash
d_bash_6506
--- +++ @@ -1,16 +1,21 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] then - if [[ `php-config --vernum` -ge 50500 ]] + INI_PATH=~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + + if [[ `php-config --vernum` -ge 70000 ]] # PHP>=7.0 then pecl config-set preferred_state beta printf...
bash
d_bash_6507
--- +++ @@ -12,7 +12,7 @@ source /opt/${JBOSS_PRODUCT}/launch/configure.sh -echo "Running $JBOSS_PRODUCT image, version $PRODUCT_VERSION" +echo "Running $JBOSS_IMAGE_NAME image, version $PRODUCT_VERSION" if [ -n "$CLI_GRACEFUL_SHUTDOWN" ] ; then trap "" TERM
bash
d_bash_6508
--- +++ @@ -11,3 +11,6 @@ # Common ls aliases alias ll='ls -lArth' alias la='ls -A' + +# For some reason, set completion-ignore-case on isn't working in my ~/.inputrc +bind 'set completion-ignore-case on'
bash
d_bash_6509
--- +++ @@ -5,3 +5,4 @@ alias rm='trash' alias tigs='tig status' alias rb='rbenv' +alias be='bundle exec'
bash
d_bash_6510
--- +++ @@ -11,3 +11,10 @@ if [ -z "$XDG_CACHE_HOME" ]; then export XDG_CACHE_HOME="$HOME/.cache" fi + +if [ -z "$CC" ]; then + export CC=cc +fi +if [ -z "$CXX" ]; then + export CCX=c++ +fi
bash
d_bash_6511
--- +++ @@ -22,7 +22,7 @@ rm -rf $UI_REPO curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list -apt-get update && sudo apt-get install yarn +apt-get update && apt-get install yarn git clone https://github.co...
bash
d_bash_6512
--- +++ @@ -24,5 +24,6 @@ then exit 0 else + echo "Unexpected exit code: $exit_code" exit 1 fi
bash
d_bash_6513
--- +++ @@ -4,7 +4,7 @@ set -euv yarn install; - gem install --update overcommit haml-lint bundler-audit; + gem install --update overcommit haml-lint bundler-audit --no-document; pip install --upgrade pip; pip install yamllint --user;
bash
d_bash_6514
--- +++ @@ -1 +1 @@ -docker run -ti -p 8100:8100 -p 35729:35729 -v /home/dodger/proyectos/piweek/eve2/src:/myApp gleclaire/ionic-framework /bin/bash +docker run -ti -p 8100:8100 -p 35729:35729 -v `pwd`/src:/myApp gleclaire/ionic-framework /bin/bash
bash
d_bash_6515
--- +++ @@ -13,6 +13,8 @@ # to run all_in_one, you will likely want to set this export build_server="${build_server:-build-server}" +export openstack_version="${openstack_scenario:-havana}" + bash <(curl -fsS https://raw.github.com/CiscoSystems/openstack-installer/master/install-scripts/setup.sh) cp -R /root/...
bash
d_bash_6516
--- +++ @@ -25,6 +25,6 @@ # Install zsh echo "Installing zsh and oh-my-zsh." sudo apt-get install zsh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" +sudo -E sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh...
bash
d_bash_6517
--- +++ @@ -2,7 +2,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" HOMEDIR=${HOME} -ignoredfiles=(.git LICENSE.md README.md push.sh setup.sh update.sh install.sh install.py utils .DS_Store Brewfile assets) +ignoredfiles=(.git .gitmodules LICENSE.md README.md push.sh setup.sh update.sh install.sh inst...
bash
d_bash_6518
--- +++ @@ -1,6 +1,7 @@ #!/bin/bash THIS=${BASH_SOURCE[0]} THIS_PATH=$(dirname ${BASH_SOURCE[0]}) +GIT_REV=$(git log -1 --format="%H") function fmt_date () { @@ -9,17 +10,17 @@ mkdir $THIS_PATH/tmp for file in $THIS_PATH/*.yaml; do - echo "$(fmt_date) Processing $file" + echo "$(fmt_date) $GIT_REV Processi...
bash
d_bash_6519
--- +++ @@ -6,12 +6,6 @@ docker run --rm cyberdojo/versioner:latest echo CYBER_DOJO_WEB_SHA="$(image_sha)" echo CYBER_DOJO_WEB_TAG="$(image_tag)" - - echo CYBER_DOJO_DIFFER_SHA=cddbc35b93e5effb05b0d45014ec7973c714d9af - echo CYBER_DOJO_DIFFER_TAG=cddbc35 - - echo CYBER_DOJO_NGINX_SHA=a3aa9ac5bef66c71f6b94...
bash
d_bash_6520
--- +++ @@ -4,7 +4,7 @@ set -e git checkout gh-pages -git rebase master +git merge master rm resources/public/cljs/main.js lein cljsbuild once prod git add -f resources/public/cljs/main.js
bash
d_bash_6521
--- +++ @@ -7,6 +7,6 @@ # LC_CTYPE=C is specified for OS X, as otherwise tr will return # an illegal byte sequence from assuming /dev/urandom is UTF-8 -cat /dev/urandom | LC_CTYPE=C tr -cd 'a-zA-Z0-9' | head -c 64 +cat /dev/urandom | LC_CTYPE=C tr -cd 'a-z0-9' | tr -d '01oil' | head -c 64 echo '' # Add a newli...
bash
d_bash_6522
--- +++ @@ -27,7 +27,6 @@ echo "Installing Quick Look plugins..." -install_cask qlstephen install_cask qlmarkdown install_cask scriptql install_cask quicklook-json
bash
d_bash_6523
--- +++ @@ -1,6 +1,6 @@ #! /bin/sh export PORT=7003 -export TIMEOUT=60000 +export TIMEOUT=300000 export MEMLIMIT=1500M export TMPDIR=/tmp export TCLLIBPATH=${ALPINO_HOME}/create_bin/tcl8.5 @@ -8,7 +8,7 @@ ## this one is for parsing -PROLOGMAXSIZE=${MEMLIMIT} ${ALPINO_HOME}/bin/Alpino -notk -fast user_max=${...
bash
d_bash_6524
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -set -eu +set -Ceu if ! hash git 2>/dev/null; then echo "You need git" @@ -12,11 +12,6 @@ exit 1 fi -if ! hash unzip 2>/dev/null; then - echo "You need unzip" - exit 1 -fi - # Install ALE if [ ! -e Arcade-Learning-Environment ]; then git clone https://github.c...
bash
d_bash_6525
--- +++ @@ -1,4 +1,7 @@ #!/bin/sh + +# Render R Markdown +# https://github.com/bcbio/bcbio_rnaseq_output_example render_templates() { pwd @@ -8,9 +11,7 @@ Rscript -e 'devtools::install_local("../bcbioRNASeq")' Rscript -e 'testthat::test_file("test_reports.R")' cd report - mv de.html de-${TR...
bash
d_bash_6526
--- +++ @@ -4,12 +4,10 @@ sudo apt-get install -y apache2 git -git clone https://github.com/jginesta/itmo544-444-fall2015.git -git clone https://github.com/jginesta/itmo-544-444-env.git -git clone https://github.com/jginesta/itmo-544-444-app +git clone https://github.com/jginesta/itmo544-444-fall2015.git /tmp/we...
bash
d_bash_6527
--- +++ @@ -10,24 +10,26 @@ echo failures=0 -successes=0 +passes=0 for test in ./functional/*.sh; do jmm clean $test if [ $? -eq 0 ]; then - successes=successes+1 + passes=$(($passes+1)) echo " Pass $test" else - failures=failures+1 + failures=$(($failures+1)) echo " Fail $test" ...
bash
d_bash_6528
--- +++ @@ -1,2 +1,2 @@ -uglifyjs util/socket.io.js util/sails.io.js util/q.js util/loglevel.js util/adapter.js brightstream.js brightstream/event.js brightstream/client.js brightstream/endpoints.js brightstream/signalingChannel.js brightstream/call.js -c -o brightstream.min.js > /dev/null 2>&1 +uglifyjs util/socket...
bash
d_bash_6529
--- +++ @@ -1,9 +1,5 @@ wget 'http://homes.cs.washington.edu/~jrw12/coq-8.5-build-local.tgz' tar xf coq-8.5-build-local.tgz -export PATH="$PWD/coq-8.5/bin:$PATH" - -wget 'http://homes.cs.washington.edu/~ztatlock/mathcomp.tgz' -tar xf mathcomp.tgz -export mathcomp_PATH="$PWD/mathcomp/mathcomp" +export PATH=$PWD/coq-...
bash
d_bash_6530
--- +++ @@ -9,9 +9,7 @@ echo Copying files -cp scripts/ data/ -r -cp styles/ data/ -r -cp images/ data/images/ -r +cp -r scripts/ styles/ images/ data/ cp icons/18.png data/icons/18.png cp manifest.json data/manifest.json
bash
d_bash_6531
--- +++ @@ -21,8 +21,10 @@ pkill -P ${MYPID} tail || true } +: ${PARAMS:=-disablewallet} + # Launch bitcoind -./bitcoind -datadir=ibd -disablewallet & +./bitcoind -datadir=ibd "${PARAMS}" & bitcoin_pid=$! trap "cleanup ${bitcoin_pid}" EXIT
bash
d_bash_6532
--- +++ @@ -23,6 +23,7 @@ if [ "$ECHO" -eq "0" ]; then for c in "${CALLERS[@]}"; do VCF_FILE="$(find data -name $c.vcf)" - [ -e "$VCF_FILE" ] && exit 0 || exit 1 + MSG=$([ -e "$VCF_FILE" ] && echo "OK" || echo "missing") + echo "$VCF_FILE...$MSG" done fi
bash
d_bash_6533
--- +++ @@ -1,3 +1,11 @@ #!/bin/sh +# check if pkg-config is installed, otherwise ./configure will fail. +pkg-config --version > /dev/null 2>&1 +if [ $? -ne 0 ] +then + echo "Required package "pkg-config" not found." + exit 1 +fi + autoreconf -fiv
bash
d_bash_6534
--- +++ @@ -12,6 +12,8 @@ bundle exec rake db:migrate # execute smoke test - needs seeded tables bundle exec rake db:seed - echo "INFO: EXECUTING SMOKE TEST <<<<<<<<<<<<<<<<<<<<<<<<<<<<<" - bundle exec rake api:smoke_test + + # DISABLE API SMOKE TEST + # echo "INFO: EXECUTING SMOKE TEST <<<<<<<<<<<<<<<<<...
bash
d_bash_6535
--- +++ @@ -1,12 +1,6 @@ if [ "$CI_PULL_REQUEST" = "9854" ] || [ "$CI_BRANCH" = "field_simplify_int" ]; then - - compcert_CI_REF=field_simplify_int - compcert_CI_GITURL=https://github.com/vbgl/CompCert coquelicot_CI_REF=field_simplify_int coquelicot_CI_GITURL=https://gitlab.com/vbgl/coquelicot - ...
bash
d_bash_6536
--- +++ @@ -8,5 +8,6 @@ GOPATH=$HOME/.go PATH="$GOPATH/bin:$PATH" +PATH="/usr/local/opt/mysql@5.7/bin:$PATH" export -U PATH GOPATH
bash
d_bash_6537
--- +++ @@ -5,6 +5,6 @@ fi conda create -n wrapped_ibench -c intel -y python=3.6 hugetlbfs scipy -source $HOME/.conda/envs/ibench/bin/activate wrapped_ibench +source $HOME/.conda/envs/wrapped_ibench/bin/activate wrapped_ibench cd ../../ python setup.py install
bash
d_bash_6538
--- +++ @@ -8,8 +8,8 @@ distro=`whichdistro` if [[ $distro == "redhat" ]];then - sudo python3 -m pip install neovim || true + sudo python3 -m pip install pynvim || true else - sudo pip install neovim + sudo pip install pynvim fi
bash
d_bash_6539
--- +++ @@ -11,3 +11,11 @@ # Compilation with a different output GOOS=windows GOARCH=amd64 go build -o yourAppName.exe main.go + + +# Another possibility on mac +sudo env GOOS=windows go tool dist bootstrap -v +go build -o yourAppName.exe main.go + +# Check bin +file yourAppName.exe
bash
d_bash_6540
--- +++ @@ -14,7 +14,7 @@ git branch -D $HACKING_BRANCH fi -git checkout -b $HACKING_BRANCH origin/master +git checkout -b $HACKING_BRANCH master git am $PATCH_DIR/00* # jump now to mesa dir and apply the needed patches there
bash
d_bash_6541
--- +++ @@ -1,3 +1,4 @@ alias reload!='. ~/.zshrc' alias vim='mvim -v' alias cake='nocorrect cake' +alias update_1p='curl -s http://i.agilebits.com/dist/1P/mas/run_onepassword_beta.rb | /usr/bin/ruby'
bash
d_bash_6542
--- +++ @@ -1,4 +1,6 @@ #!/usr/bin/env bash + +#./setup-logentries.sh # Try to install composer dev dependencies cd /data/vendor/simplesamlphp/simplesamlphp/modules/silauth
bash
d_bash_6543
--- +++ @@ -12,7 +12,7 @@ bosh2 -d cf instances > instances router_ip=$(grep -E '^router' instances | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+') -bits_service_ip=$(grep -E '^api' instances | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+') +bits_service_ip=$(grep -E '^bits' instances | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\...
bash
d_bash_6544
--- +++ @@ -1,5 +1,6 @@ #!/bin/bash +./gradlew assemble echo "Upload app to TestFairy" rm app-release-unsigned.apk
bash
d_bash_6545
--- +++ @@ -6,8 +6,13 @@ export CFLAGS="-I$PREFIX/include $CFLAGS" export LDFLAGS="-Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -headerpad_max_install_names $LDFLAGS" sed -i -e "s/@OSX_ARCH@/$ARCH/g" Lib/distutils/unixccompiler.py - ./configure --enable-shared --enable-ipv6 --with-ensurepip=no \ - --...
bash
d_bash_6546
--- +++ @@ -10,7 +10,7 @@ export PATH=${GOPATH}/bin:${PATH} cf_admin_password=$( \ - bosh2 int deployment-vars/environments/softlayer/director/${ENVIRONMENT_NAME}/cf-deployment/vars.yml \ + bosh2 int deployment-vars/environments/softlayer/director/${ENVIRONMENT_NAME}-bosh-lite/cf-deployment/vars.yml \ --path...
bash
d_bash_6547
--- +++ @@ -1,15 +1,19 @@ #!/bin/bash # # Run rspec tests in docker environment: -# – Execute like this: `docker-compose run --rm app ./docker/dev/run-rspec.sh` -# – Or make an alias `alias dspec='docker-compose run --rm app ./docker/dev/run-rspec.sh'` -# then type `dspec` to start Continuous Integratio...
bash
d_bash_6548
--- +++ @@ -23,8 +23,8 @@ cp meta.json ../hscpastpapers/data/meta.json # Push to hscpastpapers git cd ../hscpastpapers -git add data.json -git add meta.json +git add data/data.json +git add data/meta.json git commit -S -m "Update data: ${TIMESTAMP}" git push echo "\n${GREEN}Data updated: ${TIMESTAMP}${NC}"
bash
d_bash_6549
--- +++ @@ -1,15 +1,11 @@ #!/bin/bash if [ "$TRAVIS_BRANCH" == "master" ]; then - if [ "${ghToken:-false}" != "false" ]; then - git config --global user.email "tomaszguzialek_flask-api@travis-ci.org" - git config --global user.name "Travis CI" - export GIT_TAG=build-$TRAVIS_BUILD_NUMBER - git tag $GIT_...
bash
d_bash_6550
--- +++ @@ -16,6 +16,7 @@ sed -i ' /^KUBELET_ADDRESS=/ s/=.*/="--address=0.0.0.0"/ /^KUBELET_HOSTNAME=/ s/=.*/="--hostname_override='"$myip"'"/ +/^KUBELET_API_SERVER=/ s/=.*/="--api_servers='"$KUBE_MASTER_IP"':8080"/ ' /etc/kubernetes/kubelet sed -i '
bash
d_bash_6551
--- +++ @@ -10,6 +10,7 @@ echo Downloading Docker requirements.. wget --user=admin --password=$ADMIN_PASSWORD https://$BUILD_DOCKER_HOST:8443/dockerneeds.tar -q echo Setting up Docker... +sudo apt-get update ; sudo apt-get install -y lxc tar xzf dockerneeds.tar ; mv docker ../ ; cd .. ; chmod +x docker ; \ expo...
bash
d_bash_6552
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -x -rm -fv ltmain.sh config.sub config.guess config.h.in +rm -fv ltmain.sh config.sub config.guess config.h.in aclocal.m4 aclocal -I m4 autoheader libtoolize --automake --copy
bash
d_bash_6553
--- +++ @@ -2,7 +2,7 @@ set -ex -o pipefail BCBIO_VERSION="1.0.5a" -BCBIO_REVISION="b36556f" +BCBIO_REVISION="da21d30" NS="quay.io/bcbio" TAG="${BCBIO_VERSION}-${BCBIO_REVISION}"
bash
d_bash_6554
--- +++ @@ -12,7 +12,7 @@ echo "https://github.com/bell-sw/Liberica/releases/download/17.0.4.1+1/bellsoft-jdk17.0.4.1+1-linux-amd64.tar.gz" ;; java18) - echo "https://github.com/bell-sw/Liberica/releases/download/18.0.2+10/bellsoft-jdk18.0.2+10-linux-amd64.tar.gz" + echo "https://github.com/bell-sw/Liberi...
bash
d_bash_6555
--- +++ @@ -3,6 +3,7 @@ packer build \ --only=vmware-iso \ --var vhv_enable=true \ - --var iso_url=~/downloads/17763.1.180914-1434.rs5_release_SERVER_EVAL_x64FRE_en-us.iso \ - --var "docker_images=mcr.microsoft.com/nanoserver:sac2019 mcr.microsoft.com/windowsservercore:ltsc2019 mcr.microsoft.com/windows:ltsc...
bash
d_bash_6556
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash # Version of Ansible that is used -ANSIBLE_VERSION=${ANSIBLE_VERSION:=1.8.2} +ANSIBLE_VERSION=${ANSIBLE_VERSION:=2.5.4} source $PROJECT_FOLDER/$VAGRANT_ANSIBLE_REMOTE/ansible/git-install.sh
bash
d_bash_6557
--- +++ @@ -19,17 +19,23 @@ # SBCL does not ship with readline support, so we'll need to wrap the REPL # command with the `rlwrap` command to inject readline support. sbcl() { - if [ -z "$(command -v rlwrap)" ]; then - err "rlwrap not installed" - return 1 + if [ -n "$(command -v rlwrap)" ]; then + eval...
bash
d_bash_6558
--- +++ @@ -2,7 +2,8 @@ ZSH_THEME="farmber" DISABLE_UNTRACKED_FILES_DIRTY="true" -export PATH=$HOME/bin:$PATH +export VOLTA_HOME="$HOME/.volta" +export PATH="$HOME/bin:$VOLTA_HOME/bin:/opt/homebrew/bin:$PATH" if [[ -n $SSH_CONNECTION ]]; then export EDITOR='vim'
bash
d_bash_6559
--- +++ @@ -36,3 +36,11 @@ alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder" fi + +# skim with preview +function skk() { + if [ -n "$1" ] + then + sk --ansi -i -...
bash
d_bash_6560
--- +++ @@ -9,6 +9,12 @@ echo "Downloading '${s3_file}' from S3..." aws s3 cp "${s3_path}${s3_file}" sherpa.gz +AWS_STATUS=$? +if [ $AWS_STATUS -ne 0 ]; then + echo "AWS CLI exited with code $AWS_STATUS; aborting import..." + exit 1 +fi + gunzip -f sherpa.gz $PSQL -e <<EOSQL
bash
d_bash_6561
--- +++ @@ -5,6 +5,6 @@ sleep 20 fi -java -jar target/autobet-0.1-SNAPSHOT-executable.jar stats -c 5000 -java -jar target/autobet-0.1-SNAPSHOT-executable.jar eval -c 500 -s random -java -jar target/autobet-0.1-SNAPSHOT-executable.jar eval -c 500 -s goal_based +java -jar target/autobet-0.1-SNAPSHOT-executable.ja...
bash
d_bash_6562
--- +++ @@ -24,5 +24,5 @@ title=$(jq --raw-output .pull_request.title "$GITHUB_EVENT_PATH") detail_url=$(jq --raw-output .pull_request.url "$GITHUB_EVENT_PATH") -echo "http --ignore-stdin POST authorization:token REDACTED title=$title detail_url=$detail_url description=@$file_path" -http --ignore-stdin POST "auth...
bash
d_bash_6563
--- +++ @@ -42,7 +42,7 @@ REQUIREMENT_OPTS+=("-r /$requirement_file") done -docker run --rm \ +docker run --rm -it \ "${REQUIREMENT_VOLUMES[@]}" \ -v "$WHEEL_DIR":/wheelhouse \ $DOCKER_IMAGE \
bash
d_bash_6564
--- +++ @@ -13,5 +13,5 @@ echo "Setting Maven version to ${PROJECT_VERSION}" mvn versions:set -DnewVersion=${PROJECT_VERSION} # Builds top level pom w/ zip -mvn --batch-mode --non-recursive -Dmaven.javadoc.skip=true -DskipTests -DskipDockerBuild -U -Prelease -Dproject.version=${PROJECT_VERSION} clean install -mvn ...
bash
d_bash_6565
--- +++ @@ -2,5 +2,5 @@ # add local and global node_modules to the path # https://gist.github.com/branneman/8048520#4-the-environment -parent=$(node -e "console.log(require('path').resolve('$0', '../..'))") +parent=$(node -e "console.log(require('fs').realpathSync(require('path').resolve('$0', '../..')))") NODE_...
bash
d_bash_6566
--- +++ @@ -15,6 +15,9 @@ # Create spool directory mkdir -p /var/spool/rsyslog +# Expand multiple tags, in the format of tag1:tag2:tag3, into several tag arguments +LOGGLY_TAG=$(echo $LOGGLY_TAG | sed 's/:/\\\\" tag=\\\\"/g') + # Replace variables sed -i "s/LOGGLY_AUTH_TOKEN/$LOGGLY_AUTH_TOKEN/" /etc/rsyslog.co...
bash
d_bash_6567
--- +++ @@ -11,6 +11,7 @@ # pip pip install bruges +pip install welly # conda conda config --add channels conda-forge
bash
d_bash_6568
--- +++ @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/bash -x # Only attempt to unmount if the directory is already mounted if mountpoint -q `pwd`/build; then
bash
d_bash_6569
--- +++ @@ -4,7 +4,7 @@ echo "Validating OpenAPI specs..." for filename in src/main/webapp/definitions/*.yaml; do - docker run -v $(pwd):/app:rw dockerreg.alfresco.com/swagger-tester:1.0.0-beta.2 swagger validate "/app/$filename" + docker run -v $(pwd):/app:rw docker-internal.alfresco.com/swagger-tester...
bash
d_bash_6570
--- +++ @@ -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_6571
--- +++ @@ -1,4 +1,4 @@ -GC_OPTS="-XX:+UseParallelGC -XX:+ParallelOldGC -XX:+UseG1GC -Xms3g -Xmx3g" +GC_OPTS="-XX:+UseParallelGC -XX:+ParallelOldGC -XX:+UseG1GC -Xms3g" PROFILER_OPTS="-agentpath:/opt/gatling/bin/linux-x86-64/libyjpagent.so" ON_OOM_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/`date "+...
bash
d_bash_6572
--- +++ @@ -2,6 +2,7 @@ if [[ `uname` == 'Darwin' ]]; then CXXFLAGS="${CXXFLAGS} -DBOOST_NO_CXX11_RVALUE_REFERENCES" + LDFLAGS="${LDFLAGS} -DBOOST_NO_CXX11_RVALUE_REFERENCES" $PYTHON -B setup.py install --single-version-externally-managed --record record.txt else $PYTHON -B setup.py install --single-version...
bash
d_bash_6573
--- +++ @@ -17,6 +17,7 @@ cd bazel_pip pip --version +pip install portpicker pip install *.whl # Use default configuration
bash
d_bash_6574
--- +++ @@ -12,12 +12,19 @@ } install_darwin() { + # Install software + # XXX: This requires homebrew to use /usr/local as prefix; on Apple Silicon that is by default not the case! + brew install bash gpg pinentry-mac + # Install keybindings mkdir -p ~/Library/KeyBindings ln -sf $PWD/Library/KeyBindings/Def...
bash
d_bash_6575
--- +++ @@ -1,4 +1,5 @@ if [[ -d "${HOME}/go" ]]; then export GOPATH=~/go export PATH=$PATH:${GOPATH}/bin + export GOFLAGS="-tags=unit,integration" fi
bash
d_bash_6576
--- +++ @@ -1,18 +1,11 @@ #!/bin/sh umount /mnt -yes | mdadm --create /dev/md0 --raid-devices=2 --level=1 /dev/xvdb /dev/xvdc -# Add disk to mdadm.conf so it will be enabled on boot -mdadm --examine --scan | sed 's/ metadata=1.2//; s/ name.*//; s|md/0|md0|' >> /etc/mdadm/mdadm.conf -blockdev --setra 4096 /dev/xv...
bash
d_bash_6577
--- +++ @@ -1,8 +1,8 @@ #!/usr/bin/env bash case "$TRAVIS_SBT_VERSION" in - 0.13.x) SWITCH_SBT_VERSION=""; SCRIPTED="scripted" ;; - 1.x) SWITCH_SBT_VERSION="^^1.0.0"; SCRIPTED="" ;; + 0.13.x) SWITCH_SBT_VERSION=""; ;; + 1.x) SWITCH_SBT_VERSION="^^1.0.0"; ;; *) echo >&2 "Abo...
bash
d_bash_6578
--- +++ @@ -18,8 +18,8 @@ echo -n "Installing vimrc.js... " git clone git@github.com:zperrault/vimrc.js.git ~/.vimrc.js &> /dev/null -echo "\" Put your personal settings here...\n" > ~/.vimrc.js/vimrc.local -echo "\" Add additional plugins here...\n" > ~/.vimrc.js/vimrc.plugs.local +echo "\" Put your personal set...
bash
d_bash_6579
--- +++ @@ -35,7 +35,6 @@ python3 --version pip3 install --upgrade -r requirements.txt -q -# Use libc++ -CXX_FLAGS="-stdlib=libc++" ./open_spiel/scripts/build_and_run_tests.sh +./open_spiel/scripts/build_and_run_tests.sh deactivate
bash
d_bash_6580
--- +++ @@ -3,12 +3,12 @@ cp /root/spark-ec2/slaves /root/spark/conf/ # Set cluster-url to standalone master -echo "`cat /root/spark-ec2/masters`"":7077" > /root/spark-ec2/cluster-url +echo "spark://""`cat /root/spark-ec2/masters`"":7077" > /root/spark-ec2/cluster-url /root/spark-ec2/copy-dir /root/spark/conf ...
bash
d_bash_6581
--- +++ @@ -13,3 +13,10 @@ # Make sure all examples are still runnable $(npm bin)/lab --silence --ignore document *.test.js + +# clean up to avoid circular links confusing watchers +npm unlink sinon +git checkout -- package.json +npm install +cd "$SCRIPT_DIR/.." +npm unlink
bash
d_bash_6582
--- +++ @@ -4,7 +4,12 @@ . $(dirname $0)/lib.sh -for ktype in rsa:2048 rsa:3072 dsa:2048 dsa:3072 ec:secp256r1 ec:secp384r1 ec:secp521r1; do +ec_list="" +for curve in $(sysca show-curves); do + ec_list="${ec_list} ec:${curve}" +done + +for ktype in ${ec_list} rsa:2048 rsa:3072 rsa:4096 dsa:2048 dsa:3072; do ...
bash
d_bash_6583
--- +++ @@ -1,2 +1,2 @@ -cc -I $PREFIX/include -L $PREFIX/lib test.c -lgmp -o test.out +cc -I $PREFIX/include -L $PREFIX/lib test.c -lgmp -Wl,-rpath,$PREFIX/lib -o test.out ./test.out
bash
d_bash_6584
--- +++ @@ -10,13 +10,13 @@ mkdir -p win64 cd win64 -cmake ../.. -DTARGET_SUFFIX="win64" -DCMAKE_TOOLCHAIN_FILE=../../cmake/win64.cmake -DCMAKE_C_FLAGS="-mpopcnt" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../${INSTALL_DIR} +cmake ../.. -DTARGET_SUFFIX="win64" -DCMAKE_TOOLCHAIN_FILE=../../cmake/win64.cmake...
bash
d_bash_6585
--- +++ @@ -17,3 +17,8 @@ /usr/sbin/useradd -m test /usr/sbin/userdel -r test ls -al /home/test +groupadd shared +usermod -G shared test +ls -al +mkdir test +touch myfile
bash
d_bash_6586
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -e -touch /etc/crontab /etc/cron.d/* +touch /etc/crontab /etc/cron.d/* /etc/cron.daily/* /etc/cron.hourly/* /etc/cron.monthly/* /etc/cron.weekly/*
bash
d_bash_6587
--- +++ @@ -1,5 +1,8 @@ +# macOS 10.13.x +alias flushdns="sudo killall -HUP mDNSResponder && echo macOS DNS Cache Reset" + # OS X 10.10.4 -alias flushdns="dscacheutil -flushcache; sudo killall -HUP mDNSResponder" +# alias flushdns="dscacheutil -flushcache; sudo killall -HUP mDNSResponder" # OS X 10.10 #alias flu...
bash
d_bash_6588
--- +++ @@ -12,6 +12,6 @@ # Add, Commit and Push -git add dist +git add -A dist git commit -m "Auto push from Travis" git push upstream `git subtree split --prefix dist master`:gh-pages --force
bash
d_bash_6589
--- +++ @@ -13,12 +13,13 @@ alias trs='trash' # load virtualenvwrapper -source /usr/local/bin/virtualenvwrapper.sh +[ -f /usr/local/bin/virtualenvwrapper.sh ] && source /usr/local/bin/virtualenvwrapper.sh; # load autoenv -source /usr/local/opt/autoenv/activate.sh +[ -f /usr/local/opt/autoenv/activate.sh ] && ...
bash
d_bash_6590
--- +++ @@ -1,7 +1,7 @@ #!/usr/bin/env bash stack exec -- cardano-node \ - --system-start 1496075885 \ + --system-start 1497640619 \ --kademlia-explicit-initial \ --log-config scripts/log-templates/log-config-abc.yaml \ --logs-prefix "logs/qanet" \
bash
d_bash_6591
--- +++ @@ -6,6 +6,15 @@ zip ./agent_spawn.zip -r ./index.js cd ../.. +terraform remote config -backend=s3 \ + -backend-config="bucket=webapptest-terraform" \ + -backend-config="access_key=$AWS_ACCESS_KEY_ID" \ + -backend-config="secret_key=$AWS_SECRET_ACCESS_KEY" \ + -backend-config="region=eu-west-1" \ + -...
bash
d_bash_6592
--- +++ @@ -4,6 +4,7 @@ sleep 20 +echo 'delete from key_value_store_entries;' | docker exec -i mysql_autobet mysql -pmysql autobet java -jar target/autobet-0.1-SNAPSHOT-executable.jar stats -c 10000 java -jar target/autobet-0.1-SNAPSHOT-executable.jar eval -c 1000 -s random java -jar target/autobet-0.1-SNAPSH...
bash
d_bash_6593
--- +++ @@ -2,7 +2,6 @@ set -e # start SSHd in the background, like the horrible people we are -mkdir -p /var/run/sshd -/usr/sbin/sshd -D & +/etc/init.d/ssh start exec dockerd-entrypoint.sh "$@"
bash
d_bash_6594
--- +++ @@ -16,6 +16,7 @@ echo "Usage: $CMD [options]" echo "" echo "options are:" + echo " -nc don't clean before build" echo " -v0 turn off all prints to stdout" echo " -v1 print only basic log about build progress" echo " -v2 print f...
bash
d_bash_6595
--- +++ @@ -3,5 +3,5 @@ # Switch to using brew-installed bash as default shell if ! fgrep -q '/usr/local/bin/bash' /etc/shells; then echo '/usr/local/bin/bash' | sudo tee -a /etc/shells; - chsh -s /usr/local/bin/bash; + sudo chsh -s /usr/local/bin/bash; fi;
bash
d_bash_6596
--- +++ @@ -1,7 +1,12 @@ # This file defines where WEST and Amber can be found # Modify to taste -# Inform WEST where to find Amber +# Inform WEST where to find Amber. +# If AMBERHOME isn't set, it's unlikely that the libraries can be found, regardless of whether cpptraj/pmemd exist in the path. +if [[ -z "$AMBER...
bash
d_bash_6597
--- +++ @@ -4,4 +4,4 @@ python -m jiocloud.apply_resources ssh_config --project_tag=${project_tag} ${mappings_arg} environment/${layout:-full}.yaml > ssh_config -ssh -F ssh_config -l ${ssh_user:-jenkins} oc1_${project_tag} '~jenkins/tempest/runtempest.sh -N' || true +ssh -F ssh_config -l ${ssh_user:-jenkins} oc1...
bash
d_bash_6598
--- +++ @@ -9,5 +9,6 @@ /home/wger/venvwrapper collectstatic --no-input /home/wger/venvwrapper compress --force +chown www-data:www-data -R /home/wger/static /usr/sbin/apache2ctl -D FOREGROUND
bash
d_bash_6599
--- +++ @@ -1,13 +1,5 @@ #!/usr/bin/env bash # Use this file to your own code to run at NPM `prepublish` event. -cp -rf ./src/fonts/ ./dist/fonts/ -cp -rf ./src/components/images/ ./dist/components/images/ -cp -rf ./src/components/CanvasPIXI/images/ ./dist/components/CanvasPIXI/images/ -cp ./src/ExplodingDots.css...
bash