document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_17700
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="20.10.10" +version="20.10.11" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_17701
--- +++ @@ -18,6 +18,7 @@ fi done <_data/overrides.yml +rm -rf _includes/v1.1 mv -f k8s/_includes/v1.1 _includes/ cd _includes/v1.1 find . -name '*.html' -type f -exec sed -i '' '/<style>/,/<\/style>/d' {} \;
bash
d_bash_17702
--- +++ @@ -7,11 +7,9 @@ VERSION=$(cat VERSION) if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ -z "$TRAVIS_TAG" ]; then - docker tag $APP:$VERSION $REPO/$APP:latest - docker tag $DB:$VERSION $REPO/$DB:latest - docker tag $WEB:$VERSION $REPO/$WEB:latest - - $(aws ecr ...
bash
d_bash_17703
--- +++ @@ -18,7 +18,7 @@ ./gradlew :core:install cd examples/app-example -gradle connectedAndroidTest -gradle screenshotTests +./gradlew connectedAndroidTest +./gradlew screenshotTests cleanup
bash
d_bash_17704
--- +++ @@ -16,7 +16,7 @@ /usr/local/bin/create_dhparam.sh || die "Failed to generate dhparam" -/usr/sbin/nullmailer-send -d || die "Failed to start nullmailer daemon" +/etc/init.d/nullmailer start || die "Failed to start nullmailer daemon" rm -fv ${BACULA_DIR_PID_FILE} || die "Failed to remove stale PID file...
bash
d_bash_17705
--- +++ @@ -28,15 +28,14 @@ test/io_test.dart # run test/async_helpers_test.dart -pub run test test/async_helpers_test.dart -p vm -pub run test test/async_helpers_test.dart -p chrome +pub run test test/async_helpers_test.dart -p vm -p chrome -r expanded # Start chromedriver. chromedriver --port=4444 --url-b...
bash
d_bash_17706
--- +++ @@ -3,7 +3,7 @@ password_url="taskcluster/secrets/v1/secret/repo:github.com/mozilla/balrog:dockerhub" dockerhub_email=bhearsum+test@gmail.com dockerhub_username=bhearsumtest -dockerhub_password=$(curl ${password_url} | python -c 'import json, sys; a = json.load(sys.stdin); print a["dockerhub_password"]') +...
bash
d_bash_17707
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -cmake -DWITH="ALL" -DCHECK=off -DARITH=gmp -DFP_PRIME=254 -DFP_QNRES=on -DFP_METHD="BASIC;COMBA;COMBA;MONTY;MONTY;SLIDE" DFP_QNRES=on -DPC_METHD="PRIME" -DPP_METHD="INTEG;LAZYR;O_ATE" -DCOMP="-O2 -funroll-loops -fomit-frame-pointer" $1 +cmake -DWITH="ALL" -DCHECK=off -DARITH=gmp...
bash
d_bash_17708
--- +++ @@ -2,9 +2,11 @@ set -e +chmod +x /docker-entrypoint.d/*.sh +# sync prevents aufs from sometimes returning EBUSY if you exec right after a chmod +sync for f in /docker-entrypoint.d/*.sh; do echo "Running $f" - chmod +x "$f" "$f" done
bash
d_bash_17709
--- +++ @@ -14,11 +14,11 @@ # limitations under the License. #--------------------------------------------------------------------------- cd /home/joseph/Downloads/OSEHRA-Automated-Testing -GTMPROFILE=/opt/lsb-gtm/V5.4-000A_x86_64/gtmprofile +GTMPROFILE=/opt/gtm/gtmprofile VISTA_GLOBALS_DIR=/home/joseph/vista VI...
bash
d_bash_17710
--- +++ @@ -5,7 +5,7 @@ -a "$TRAVIS_BRANCH" = master \ -a "$TRAVIS_OS_NAME" == linux ] then - mvn deploy --settings settings.xml + mvn -Pdeploy-to-imagej deploy --settings settings.xml # For update site deployment: temporarily disabled # curl -O http://downloads.imagej.net/fiji/latest/fiji-nojre.zip #...
bash
d_bash_17711
--- +++ @@ -28,7 +28,7 @@ -format "%d|" ResidentSetSize_RAW \ -format "%d|" ImageSize_RAW \ -format "%d|" RequestCpus \ - -format "%s\n" Group >> $OUTPUT_FILE + -format "\n" EMPTY >> $OUTPUT_FILE done # Invoke the parser
bash
d_bash_17712
--- +++ @@ -24,6 +24,6 @@ for i in playbooks/deploy*.yml; do logger "Started run of $i in ansible_run_all.sh" - ansible-playbook -D $i $* + timeout 1h ansible-playbook -D $i $* logger "Finished run of $i in ansible_run_all.sh" done
bash
d_bash_17713
--- +++ @@ -1,6 +1,9 @@ #!/bin/bash -if [ "$DOCKER_HUB_TOKEN" != "" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_REPO_SLUG" == "keycloak/keycloak" ]; then +if [ "$DOCKER_HUB_TOKEN" != "" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_REPO_SLUG" == "keycloak/keycloak" ] && [ "$TRAVIS_BRANCH" =...
bash
d_bash_17714
--- +++ @@ -16,7 +16,7 @@ #as sometimes having the NDEBUG flag present alters the code path for compiler in "clang++" "g++-4.6" "g++-4.7" do - for machine in "generic/cartesian.h" "rpi/kosselrampsfd.h" + for machine in machines/*/*.h do for target in "debug" "release" do @@ -24,7 +24,7 @@ make CXX=$com...
bash
d_bash_17715
--- +++ @@ -2,3 +2,6 @@ keystone token-get | grep tenant | awk '{print $4}' } +alias nlg='nova list | grep' +alias gilg='glance image-list | grep' +
bash
d_bash_17716
--- +++ @@ -16,3 +16,7 @@ export IPYTHONDIR="${XDG_CONFIG_HOME}"/jupyter export JUPYTER_CONFIG_DIR="${XDG_CONFIG_HOME}"/jupyter mkdir -p ${IPYTHONDIR} ${JUPYTER_CONFIG_DIR} + +## libice +export ICEAUTHORITY="${XDG_RUNTIME_DIR}"/X11/iceauthority +mkdir -p $(dirname ${ICEAUTHORITY})
bash
d_bash_17717
--- +++ @@ -10,6 +10,7 @@ install_cask dropbox install_cask alfred install_cask atom +install_cask 1password install_cask authy install_cask keyboard-maestro install_cask flux
bash
d_bash_17718
--- +++ @@ -8,6 +8,6 @@ s3cmd mb $BUCKET -s3cmd put dist/target/*.zip $BUCKET -s3cmd put agent/target/*.war $BUCKET -s3cmd put packages.js $BUCKET +s3cmd put --acl-public --guess-mime-type dist/target/*.zip $BUCKET +s3cmd put --acl-public --guess-mime-type agent/target/*.war $BUCKET +s3cmd put --acl-public --gue...
bash
d_bash_17719
--- +++ @@ -5,7 +5,7 @@ sed -i "s/STATIC_FOLDERS_REGEX/$REGEX/" /etc/nginx/conf.d/app.conf # Replace environment variables in the build of the frontend -PREFIX="CONFIG_" +PREFIX="EMBER_" ENV_VARIABLES=$(env | grep "${PREFIX}") while IFS= read -r line; do
bash
d_bash_17720
--- +++ @@ -17,8 +17,8 @@ done ln -svi "${git_dir}/rc/common/.vim/colors/" "${HOME}/.vim/" - echo "Now run: ln -s ${git_dir}/rc/<appropriate_directory> $(hostname)" - echo " where appropriate_directory matches your machine most closely" + local os="$(uname)" + ln -svi "${git_dir}/rc/${os}" $(hostname)" ...
bash
d_bash_17721
--- +++ @@ -1,8 +1,8 @@ sudo apt-get update sudo apt-get install -qq -y g++ gfortran csh sudo apt-get install -qq -y g++-multilib gcc-multilib openbabel -wget http://repo.continuum.io/miniconda/Miniconda-3.0.5-Linux-x86_64.sh -bash Miniconda-3.0.5-Linux-x86_64.sh -b +wget http://repo.continuum.io/miniconda/Minicon...
bash
d_bash_17722
--- +++ @@ -13,7 +13,7 @@ DAEMON_SBIN=/usr/sbin/hostapd EW7811Un=$(lsusb | grep EW-7811Un) RPI_REV=`cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'` -if [ "$RPI_REV" = "a01041" ] || [ "$RPI_REV" = "a21041" ] || [ "$RPI_REV" = "900092" ] && [ "$EW7811Un" != '' ]; then +if [ "$RPI_REV" = "a...
bash
d_bash_17723
--- +++ @@ -14,7 +14,7 @@ git ci -m "Update docs to $DESC" # Update gh-pages branch -TMP=`mktemp --tmpdir -d temp.XXXXXXXXXX` +TMP=`mktemp --tmpdir -d gh_pages.XXXXXXXXXX 2> /dev/null || mktemp -d -t gh_pages` cp ./doc/* $TMP rm -f $TMP/*~ git checkout gh-pages
bash
d_bash_17724
--- +++ @@ -1,10 +1,7 @@ #!/bin/bash -if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then +if [ "$TRAVIS_BRANCH" == "master" || "$TRAVIS_BRANCH" == "test" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then curl -H "Content-Type: application/json" --data '{"source_type": "Branch", ...
bash
d_bash_17725
--- +++ @@ -1,9 +1,13 @@ #!/usr/bin/env bash # Downloads oh-my-zsh https://github.com/robbyrussell/oh-my-zsh -# confirmed as of March 2017 -sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + +# The below shell script assumes you are running interactively, +#...
bash
d_bash_17726
--- +++ @@ -10,6 +10,6 @@ done docker rm v8docker -docker build . -t v8_docker --build-arg CACHEBUST=1 +docker build . -t v8_docker --build-arg CACHEBUST=0 --no-cache=true docker run -d --name v8docker v8_docker:latest docker cp v8docker:/home/docker/v8/build.zip .
bash
d_bash_17727
--- +++ @@ -1,5 +1,8 @@ #!/bin/bash -pharen_dir=$(dirname $(readlink -f $0)) +pushd `dirname $0` > /dev/null +pharen_dir=`pwd` +popd > /dev/null +echo $pharen_dir if [ ! -e "/usr/local/bin/pharen" ] then ln -s $pharen_dir/bin/pharen /usr/local/bin/pharen
bash
d_bash_17728
--- +++ @@ -20,4 +20,5 @@ git clone -b dev https://github.com/avalanchesass/avalanche.git fi +rm -Rf ./dist node ./scripts/build.js
bash
d_bash_17729
--- +++ @@ -6,4 +6,8 @@ npm test jshint --reporter=checkstyle -c .jshint lib spec > jshint.xml || echo "jshint finished with return code $?" gjslint --unix_mode --disable 0131,0211,0200,0222,0212 --max_line_length 90 -r lib/ -r spec/ > gjslint.log || echo "gjslint finished with return code $?" + +# delete the old ...
bash
d_bash_17730
--- +++ @@ -10,8 +10,8 @@ asadmin add-library ~/.m2/repository/postgresql/postgresql/9.1-901.jdbc4/postgresql-9.1-901.jdbc4.jar fi -asadmin delete-jdbc-resource jdbc/FGISDS -asadmin delete-jdbc-connection-pool FGISSQL +asadmin delete-jdbc-resource jdbc/FGIS +asadmin delete-jdbc-connection-pool FGISPool asadm...
bash
d_bash_17731
--- +++ @@ -32,7 +32,7 @@ build_and_publish_maven_artifacts() { log "Building and Testing project." - $(maven_command) --batch-mode clean verify -Dmaven.test.failure.ignore=false -Dmaven.javadoc.skip=true -Dmaven.source.skip=true + $(maven_command) --batch-mode clean verify -Dmaven.test.failure.ignore=f...
bash
d_bash_17732
--- +++ @@ -10,6 +10,7 @@ aptitude \ # Gradle is needed for building the project -# If gradle-1.11 is not available (returns error), install the PPA repo -sudo apt-get install gradle-1.11 || (sudo add-apt-repository ppa:cwchien/gradle && sudo apt-get update) - +# If gradle-1.10 is not available (returns error), i...
bash
d_bash_17733
--- +++ @@ -26,7 +26,7 @@ # Check if config or certificates were changed while inotifywait -q -r /etc/nginx /etc/letsencrypt; do - log "Will send reload signal to nginx due to config changes in 60 seconds..." + log "Configuration changes detected. Will send reload signal to nginx in 60 seconds..." sleep 60 ...
bash
d_bash_17734
--- +++ @@ -31,5 +31,5 @@ behave --no-color display_result $? 2 "Feature tests" -$(dirname $0)/pep-it.sh +$(dirname $0)/pep-it.sh > pep8.out display_result $? 3 "Code style check"
bash
d_bash_17735
--- +++ @@ -19,9 +19,12 @@ download_pcre(){ echo "Downloading and building PCRE2..." - wget "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21.tar.bz2" + git lfs clone -I "pcre2-10.21.tar.bz2" https://github.com/ponylang/ponyc-llvm-dependencies.git pcre-dependencies + + pushd pcre-dependencie...
bash
d_bash_17736
--- +++ @@ -24,5 +24,4 @@ fi # And here's the meat given that you have the standard build tree -export PATH="$PWD/build/build-c/src":"$PWD/build/build-c++/src":$PATH -export PATH="$PWD/build/build-c/tools":"$PWD/build/build-c++/tools":$PATH +export PATH="$PWD/build/src":"$PWD/build/tools":$PATH
bash
d_bash_17737
--- +++ @@ -1,2 +1,3 @@ -export INSTALL_SCLS="devtoolset-4-perftools devtoolset-4-toolchain" +export INSTALL_SCLS=devtoolset-4 +export INSTALL_PKGS="devtoolset-4-perftools devtoolset-4-toolchain" export ENABLE_SCLS=devtoolset-4
bash
d_bash_17738
--- +++ @@ -6,7 +6,7 @@ echo "https://github.com/bell-sw/Liberica/releases/download/8u333+2/bellsoft-jdk8u333+2-linux-amd64.tar.gz" ;; java11) - echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.15_10.tar.gz" + echo "https://githu...
bash
d_bash_17739
--- +++ @@ -5,7 +5,7 @@ function doIt() { git submodule foreach git pull origin master rsync --exclude ".git/" --exclude ".DS_Store" --exclude "update.sh" \ - --exclude "README.md" --exclude "LICENSE-MIT.txt" -avh --no-perms . ~; + --exclude "README.md" --exclude "LICENSE-MIT.txt" --exclude "assets/" --excl...
bash
d_bash_17740
--- +++ @@ -2,5 +2,8 @@ rm -rf `find . -name '.webdsl-parsecache'` rm -rf `find . -name '.webdsl-fragment-cache'` rm -rf java-runtime/bin/ +rm -rf java-runtime/dist/ +rm -f src/org/webdsl/dsl/project/template-java-servlet/lib/webdsl-built-ins.jar +rm -f src/org/webdsl/dsl/project/template-java-servlet/lib/webdsl-s...
bash
d_bash_17741
--- +++ @@ -7,9 +7,9 @@ ~/.coursier/coursier launch -q -P \ com.lihaoyi:ammonite_2.12.2:0.9.3 \ - is.cir:ciris-core_2.12:0.3.0 \ - is.cir:ciris-enumeratum_2.12:0.3.0 \ - is.cir:ciris-generic_2.12:0.3.0 \ - is.cir:ciris-refined_2.12:0.3.0 \ - is.cir:ciris-squants_2.12:0.3.0 \ + is.cir:ciris-core_2.12:0.3.1...
bash
d_bash_17742
--- +++ @@ -1,5 +1,6 @@ # setup ssh key ssh-keygen -f ~/.ssh/id_rsa -t rsa -N '' +sudo touch ~root/.ssh/authorized_keys cat ~/.ssh/id_rsa.pub | sudo tee -a ~root/.ssh/authorized_keys ssh-keyscan -H 0.0.0.0 >> ~/.ssh/known_hosts ssh-keyscan -H 127.0.0.1 >> ~/.ssh/known_hosts
bash
d_bash_17743
--- +++ @@ -25,7 +25,7 @@ # Get input files cp DIR/$input DIR/pdb*AF*pdb . -/diva1/home/modeller/mod9v3 - ${SGE_TASK_ID} < $input >& $output +/diva1/home/modeller/mod9v4 - ${SGE_TASK_ID} < $input >& $output # Copy back PDB cp *.B* DIR
bash
d_bash_17744
--- +++ @@ -36,4 +36,6 @@ listen.allowed_clients = 127.0.0.1" > /etc/php7/php-fpm.d/www.conf # PHP alias -ln -s $(which php7) /usr/bin/php +if [ ! -f /usr/bin/php ]; then + ln -s $(which php7) /usr/bin/php +fi
bash
d_bash_17745
--- +++ @@ -1,14 +1,14 @@ echo "Installing CoreNLP" pip3 install --user --upgrade pexpect unidecode xmltodict jsonrpclib-pelix pip3 install --user --upgrade git+https://bitbucket.org/ProgVal/corenlp-python.git -if [ ! -f stanford-corenlp-full-2014-08-27.zip ] +if [ ! -f stanford-corenlp-full-2015-01-29.zip ] then...
bash
d_bash_17746
--- +++ @@ -12,4 +12,4 @@ python3 keep_common_samples.py *.tsv ## Remove this because it has no Yes values -rm -f Variant_5_prime_UTR.tsv.gz +rm -f Variant_5_prime_UTR.tsv
bash
d_bash_17747
--- +++ @@ -1,8 +1,8 @@ #!/bin/bash # Set permissions properly, since appspec.yml gets this wrong. -chown -R ricsun:web /vol/www/richmondsunlight.com/ -chmod -R g+w /vol/www/richmondsunlight.com/ +chown -R ubuntu:ubuntu /var/www/richmondsunlight.com/ +chmod -R g+w /var/www/richmondsunlight.com/ # Set up Apache...
bash
d_bash_17748
--- +++ @@ -7,7 +7,8 @@ IFS=$'\n' words=($(shy completion "${COMP_WORDS[@]:1}")) if [ ${#words[@]} -eq 0 ]; then - COMPREPLY=($(compgen -f ${cur})) + compopt -o filenames + COMPREPLY=($(compgen -f -d ${cur})) else COMPREPLY=($(compgen -W '"${words[@]}"' -- ${cur})) ...
bash
d_bash_17749
--- +++ @@ -20,8 +20,8 @@ -e "ssh $SSH_STANDARD_ARGS -i $DEPLOY_KEY" \ --rsync-path=/usr/bin/openrsync \ --delete \ - --filter="exclude *.md" \ - --filter="exclude *.md.gz" \ + --filter='exclude *.md' \ + --filter='exclude *.md.gz' \ output/ \ origin.wordspeak.org:/home/esteele/Sites/$TARGET_SITE/ ...
bash
d_bash_17750
--- +++ @@ -28,3 +28,11 @@ install_utils install_buildkite install_launchd_daemon + +# Write a version file so we can track which build this refers to +cat << EOF > /etc/vmkite-info +BUILDKITE_VERSION=$(buildkite-agent --version) +BUILDKITE_BUILD_NUMBER=$BUILDKITE_BUILD_NUMBER +BUILDKITE_BRANCH=$BUILDKITE_BRANCH +...
bash
d_bash_17751
--- +++ @@ -8,4 +8,4 @@ exit 1 fi -git commit -a -S -m "$1" +git commit -S -m "$1"
bash
d_bash_17752
--- +++ @@ -19,7 +19,7 @@ echo "---> Configuration file : $(tput bold ; tput setaf 3)$CONFIGFILE$(tput sgr0)" sed s?%basedir%?$DOCROOT? "$CONFIGFILE" | sed s/%hostname%/$VHOSTNAME/ > $VHOSTNAME -sudo mv $VHOSTNAME /etc/apache2/sites-available/$VHOSTNAME.conf +sudo mv $VHOSTNAME /etc/apache2/sites-available/$VHOST...
bash
d_bash_17753
--- +++ @@ -12,7 +12,7 @@ then sam deploy --stack-name=alma-webhook-monitor-staging \ --s3-prefix=alma-webhook-monitor \ - --parameter-overrides='StageName="staging", QueueName="AlmaBibExportStaging.fifo", SecretID="alma/staging/webhookSecret"' \ + --parameter-overrides='StageName="staging", QueueName="AlmaB...
bash
d_bash_17754
--- +++ @@ -32,13 +32,13 @@ echo "Install utilities: End" echo "Install bash prompt" -curl https://raw.githubusercontent.com/riobard/bash-powerline/master/bash-powerline.sh > ~/.bash-powerline.sh -echo "source ~/.bash-powerline.sh" >> .bashrc +curl https://raw.githubusercontent.com/riobard/bash-powerline/master/b...
bash
d_bash_17755
--- +++ @@ -1,8 +1,8 @@ #!/bin/sh set -e -PLATFORM="platform=iOS Simulator,OS=9.2,name=iPhone 6s" -SDK="iphonesimulator9.2" +PLATFORM="platform=iOS Simulator,OS=9.3,name=iPhone 6s" +SDK="iphonesimulator9.3" xctool \ -workspace StudyBox_iOS.xcworkspace \
bash
d_bash_17756
--- +++ @@ -13,7 +13,7 @@ { # If the argument is - then write stdin to a tempfile and open the # tempfile. - if [[ $1 == - ]]; then + if [[ $# -ge 1 ]] && [[ $1 == - ]]; then tempfile=$(mktemp emacs-stdin-$USER.XXXXXXX --tmpdir) cat - > $tempfile _emacsfun -e "(progn (find-...
bash
d_bash_17757
--- +++ @@ -5,7 +5,7 @@ # last 'LTS' version BOX="ubuntu-14.04-amd64" -ISO_URL="http://releases.ubuntu.com/14.04/ubuntu-14.04-server-amd64.iso" +ISO_URL="http://old-releases.ubuntu.com/releases/14.04.0/ubuntu-14.04-server-amd64.iso" ISO_MD5="01545fa976c8367b4f0d59169ac4866c" ./build.sh ${BUILD_OSNAME} ${BUILD...
bash
d_bash_17758
--- +++ @@ -17,6 +17,10 @@ if [ ! -d graphql-tools-src ] then git clone --depth 1 https://github.com/apollographql/graphql-tools.git + pushd graphql-tools + git fetch origin refs/pull/807/merge:pull/807/merge + git checkout pull/807/merge + popd mv graphql-tools/src \ graphql-tools-src...
bash
d_bash_17759
--- +++ @@ -3,8 +3,4 @@ script_dir=$(cd `dirname $0`; pwd) root_dir=`dirname $script_dir` -for e in `ls $root_dir/examples`; do - echo "Building $e" - cd $root_dir/examples/$e - go build -done +(cd $root_dir && go build -v ./...)
bash
d_bash_17760
--- +++ @@ -10,13 +10,14 @@ # Set up the Settings files cp -f sites/default/default.settings.php sites/default/settings.php +cp -f example.gitignore .gitignore chmod 777 sites/default/settings.php [[ -f sites/default/default.services.yml ]] && cp -f sites/default/default.services.yml sites/default/services.yml ...
bash
d_bash_17761
--- +++ @@ -2,14 +2,31 @@ # # Description: This script installs the FiraCode font. # Author: Niklas Heer (niklas.heer@gmail.com) -# Version: 1.0.0 (2017-05-01) +# Version: 1.1.0 main() { - mkdir -p ~/.local/share/fonts - for type in Bold Light Medium Regular Retina; do - wget -O ~/.local/share/font...
bash
d_bash_17762
--- +++ @@ -23,6 +23,7 @@ echo " + " | ssh-keygen -t rsa -b 4096 -C "buildbot@pachyderm.io" echo "generated ssh keys:" ls ~/.ssh
bash
d_bash_17763
--- +++ @@ -3,9 +3,9 @@ #https://github.com/Automattic/wp-calypso/blob/master/docs/install.md # Prerequisites -. ../sysutils/nodejs.sh +. sysutils/nodejs.sh -$install git +$install git make # Installing and Running git clone https://github.com/Automattic/wp-calypso @@ -17,4 +17,4 @@ whiptail --msgbox "Wo...
bash
d_bash_17764
--- +++ @@ -6,14 +6,13 @@ curl -qsSLf "$MANIFEST" | grep '.tar.bz2$' | while IFS='' read -r pkg; do rbx="${pkg%.tar.bz2}" + version="${rbx#rubinius-}" filename="${rbx/rubinius/rbx}" - if ! file_exists "$filename"; then - write_file "$filename" <<DEF + generate_definition "$version" "$fi...
bash
d_bash_17765
--- +++ @@ -7,7 +7,7 @@ OLD_CONTAINER=`docker-compose ps -q haproxy` if [ -z ${PORT} ]; then echo "No port specified, looking up current port in haproxy container..." - PORT=`docker exec ${OLD_CONTAINER} /bin/bash -c "iptables -t nat -S | grep \"\-A OUTPUT\" | sed -r 's/^.+ --to-destination :([0-9]+)$/\1/'"` + ...
bash
d_bash_17766
--- +++ @@ -25,7 +25,7 @@ # Get input files cp DIR/$input DIR/pdb*AF*pdb . -/diva1/home/modeller/mod9v5 - ${SGE_TASK_ID} < $input >& $output +/diva1/home/modeller/mod9v6 - ${SGE_TASK_ID} < $input >& $output # Copy back PDB cp *.B* DIR
bash
d_bash_17767
--- +++ @@ -1,6 +1,34 @@ #!/bin/bash + +CONFIG_FILE=/.hecuba.edn DATA_DIR="/data/hecuba/${HOSTNAME}/" mkdir -p ${DATA_DIR} +CASSANDRA_SESSION_KEYSPACE=${HECUBA_KEYSPACE?NOT DEFINED} +S3_FILE_BUCKET=${HECUBA_FILE_BUCKET?NOT DEFINED} +S3_STATUS_BUCKET=${HECUBA_STATUS_BUCKET?NOT DEFINED} + +echo "DATA_DIR is ${DA...
bash
d_bash_17768
--- +++ @@ -8,9 +8,8 @@ python ../Installer.py -y autogen python ../Installer.py -y build -f ../conda.rc -echo "::::Backuping up variables" -ls python $RECIPE_DIR/backup_variables.py $PREFIX/bin/bigdftvars.sh +cat $PREFIX/bin/*conda.sh # Activate script mkdir -p "${PREFIX}/etc/conda/activate.d"
bash
d_bash_17769
--- +++ @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -echo "Note, if you get errors below indicate kubernetes env injection could be faliing..." +echo "If you get errors below, kubernetes env injection could be failing..." echo "env vars...
bash
d_bash_17770
--- +++ @@ -1,7 +1,10 @@ -echo Start Prestashop +echo Compile Prestashop +composer install --prefer-dist --no-interaction --no-progress --no-dev -composer install --prefer-dist --no-interaction --no-progress --no-dev -bash tests/check_file_syntax.sh +#echo Check Prestashop Files +# bash tests/check_file_syntax.sh...
bash
d_bash_17771
--- +++ @@ -4,10 +4,11 @@ cd $REPO ST2VER=`grep version st2common/st2common/__init__.py | awk '{print $3}' | tr -d "'"` +CLIENTVER="${ST2VER}-${BUILD}" sed -i "s/Release: [0-9]\+/Release: ${BUILD_NUMBER}/g" */packaging/rpm/*.spec sed -i "s/Version:.*/Version: ${ST2VER}/g" */packaging/rpm/*.spec sed -i "s/(.*)/...
bash
d_bash_17772
--- +++ @@ -34,6 +34,9 @@ cp -a $SRCDIR/* $TMPDIR +# Use the newer Koma-Script classes in the prepended path +export TEXINPUTS=/opt/koma-script: + cd $TMPDIR pdflatex $OPTS $DOCUMENT bibtex $DOCUMENT
bash
d_bash_17773
--- +++ @@ -6,6 +6,8 @@ apt-get install git -y apt-get install riak -y +sed -i 's/storage_backend = bitcask/storage_backend = leveldb/g' /etc/riak/riak.conf + ulimit -n 65536 riak start
bash
d_bash_17774
--- +++ @@ -1,7 +1,5 @@ #!/bin/bash geoc vector randompoints -g -180,-90,180,90 -n 100 > points.csv - -cat points.csv | geoc vector defaultstyle --color navy -o 0.75 > points.sld cat points.csv | geoc vector defaultstyle --color navy -o 0.75 > points.sld
bash
d_bash_17775
--- +++ @@ -9,6 +9,9 @@ # Finder: Show icons for external harddrives and removable media on desktop defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true + +# Finder: Show hidden files +# defaults write com.apple.Finder App...
bash
d_bash_17776
--- +++ @@ -4,23 +4,28 @@ START_DATE=$(date +"%d.%m.%Y | %H:%M:%S") echo "--- Updater for macOS started at: $START_DATE ---" +echo echo "- Updating \"macOS\" -" softwareupdate --install --all +echo echo "- Updating \"brew\" -" brew update brew upgrade brew cleanup brew cask cleanup +echo echo "- Updat...
bash
d_bash_17777
--- +++ @@ -1,4 +1,4 @@ rm -r ./build/* grunt -aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude '*' --include "*.js" --cache-control "public, max-age=2592000" --content-type="application/javascript;charset=utf-8" --delete -aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude ".gitignore" --exclude "*.js" ...
bash
d_bash_17778
--- +++ @@ -24,6 +24,7 @@ lib/*.jar code .excludes +.cvsignore EOF # create our distribution directory
bash
d_bash_17779
--- +++ @@ -8,13 +8,9 @@ pecl config-set preferred_state beta printf "yes\n" | pecl install apcu echo 'extension="apcu.so"' >> $INI_PATH - elif [[ `php-config --vernum` -ge 50500 ]] # 7.0>PHP>=5.5 - then - printf "yes\n" | pecl install apcu-4.0.8 + else # PHP<7.0 + pr...
bash
d_bash_17780
--- +++ @@ -1,5 +1,6 @@ #!/bin/bash +# Install Apache on Amazon Linux or Ubuntu (only if not previously installed) if which yum &>/dev/null; then yum update -y yum install -y httpd @@ -14,3 +15,6 @@ echo "apache2 already installed, skipping!" fi fi + +# Make sure /tmp/myweb doesn't exist so that th...
bash
d_bash_17781
--- +++ @@ -12,8 +12,8 @@ # Build and copy the StandaloneViewer into the static directory echo $DEPLOY_PRIME_URL cd OHIFViewer-react -export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/ -sed -i 's,https://docs.ohif.org/viewer,${ROOT_URL},g' package.json +export ROOT_URL=$DEPLOY_PRIME_URL/viewer/ +sed -i "s,https://docs.ohi...
bash
d_bash_17782
--- +++ @@ -12,11 +12,6 @@ cmd=${=EDITOR} else project=$* - fi - - if [[ -z "$project" ]]; then - echo "You have to specify a project name." - return fi for basedir ($PROJECT_PATHS); do
bash
d_bash_17783
--- +++ @@ -6,6 +6,6 @@ COMPLETION_WAITING_DOTS="true" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) -plugins=(colored-man-pages command-not-found docker docker-compose heroku history-substring-search osx rails vi-mode web-search z) +plugins=(colored-man-pages command-no...
bash
d_bash_17784
--- +++ @@ -8,11 +8,13 @@ brew cask install vagrant +# brew cask install packer + brew cask install resilio-sync brew cask install microsoft-teams -brew cask isntall visual-studio-code +brew cask install visual-studio-code brew cask install google-backup-and-sync
bash
d_bash_17785
--- +++ @@ -23,6 +23,12 @@ EXITCODE=$? #### Assert: Check expected results -OutputContains "Running request 20150102122020" -OutputContains "Running request 20150102123030" -OutputContains "Running request 20150102125050" +arr=() +while read -r line; +do + arr+=("$line") +done <<< "`grep "Running request" $STEVE...
bash
d_bash_17786
--- +++ @@ -11,8 +11,10 @@ opam init git://github.com/ocaml/opam-repository >/dev/null 2>&1 opam install ${OPAM_PACKAGES} +opam list eval `opam config env` -ocaml setup.ml -configure --enable-tests --enable-mirage +ls $(ocamlfind query mirage-types) +./configure --enable-tests --enable-mirage make make test
bash
d_bash_17787
--- +++ @@ -13,8 +13,4 @@ source $(dirname $0)/rust_env.sh set -e -if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then - make unit-${COMPONENTS:-all} -else - make unit-${COMPONENTS:-all} -fi +make unit-${COMPONENTS:-all}
bash
d_bash_17788
--- +++ @@ -1,9 +1,15 @@ #!/bin/sh -# This VimHook just runs Node with whatever file triggered the BufWritePost -# event. The hook will fire for any file ending with "test.js", which -# probably only be test.js itself. +# The hook will fire for any file ending with "test.js", which +# probably only be test.js itse...
bash
d_bash_17789
--- +++ @@ -24,9 +24,6 @@ hash=$(nix-hash --type sha256 --flat --base32 "${dir}/${i}") echo "{" echo " lang = \"${lang}\";" - if [[ "${lang}" =~ "@" ]]; then - echo " langStripped = \"${lang/@/_}\";" - fi echo " sha256 = \"${hash}\";" echo "}" echo $hash >&2
bash
d_bash_17790
--- +++ @@ -38,3 +38,5 @@ done cd .. tar -czf $OUTPUT/$ARCHIVE_FILE.tar.gz _site +# Placing offline copy of docs into site directory +mv $OUTPUT/$ARCHIVE_FILE.tar.gz _site/
bash
d_bash_17791
--- +++ @@ -9,3 +9,6 @@ echo y | android update sdk --all --filter android-23 --no-ui echo y | android update sdk --all --filter android-24 --no-ui echo y | android update sdk --all --filter android-25 --no-ui +echo y | android update sdk --all --filter platform-tools --no-ui +echo y | android update sdk --all --f...
bash
d_bash_17792
--- +++ @@ -7,3 +7,4 @@ bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment bundle exec rake +bundle exec rake assets:precompile
bash
d_bash_17793
--- +++ @@ -19,4 +19,5 @@ Host gitlab.com IdentityFile ~/.ssh/id_rsa_gitlab-test EOF + chmod 400 ~/.ssh/id_rsa_gitlab-test fi
bash
d_bash_17794
--- +++ @@ -4,3 +4,4 @@ echo "installing ruby gems" gem install nanoc gem install adsf +gem install github-pages
bash
d_bash_17795
--- +++ @@ -2,7 +2,7 @@ set -m -MONGO_URI="mongodb://${MONGO_HOST}:${MONGO_PORT}/?readPreference=secondary" +MONGO_URI="mongodb://${MONGO_HOST}:${MONGO_PORT}/" service rsyslog start echo "starting connector application" #Concatenate the cert and key together
bash
d_bash_17796
--- +++ @@ -19,7 +19,8 @@ linux-amd64/helm init --upgrade # Run test framework -export GOPATH=/src -cd /src/k8s.io/charts/test/ -go get -v ./... -go run ./helm-test/main.go +pushd . +cd $GOPATH +go get github.com/ghodss/yaml +popd +go run /src/k8s.io/charts/test/helm-test/main.go
bash
d_bash_17797
--- +++ @@ -2,8 +2,11 @@ set -e export RAILS_ENV=test +export GOVUK_APP_DOMAIN=dev.gov.uk git clean -fdx bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment bundle exec rake ci:setup:rspec default + +bundle exec rake assets:precompile
bash
d_bash_17798
--- +++ @@ -6,7 +6,7 @@ command="${command}mkdir $TRAVIS_BRANCH\ncd $TRAVIS_BRANCH\nrm *.war\n" command="${command}mput org.eclipse.winery.repository/target/*.war\n" -command="${command}mput org.eclipse.winery.repository/target/*.war\n" +command="${command}mput org.eclipse.winery.topologymodeler/target/*.war\n" ...
bash
d_bash_17799
--- +++ @@ -1,15 +1,7 @@ #!/bin/sh -if [ ! -f /etc/motd_vagrant ]; then - echo 'You are now logged in as the git user that runs GitLab, to get sudo privileges please exit to become the vagrant user' >> /etc/motd_vagrant -fi -if [ ! -f /etc/motd_git ]; then - echo 'You are now logged in as the vagrant user' >> /e...
bash