document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_15400
--- +++ @@ -9,10 +9,6 @@ cd $HOME/.vim [ -d ".git" ] && git remote update &> /dev/null - -cd $HOME/.rbenv -[ -d ".git" ] && git remote update &> /dev/null - function update_all_repo_remotes {
bash
d_bash_15401
--- +++ @@ -1,5 +1,5 @@ # editor -export EDITOR='code --wait' +export EDITOR='emacs' # emacs if [ ! -d $HOME/.emacs.d ]; then
bash
d_bash_15402
--- +++ @@ -6,7 +6,6 @@ ENFORCED_FILES="examples src" COPYRIGHT_HEADER="// Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved." ->>>>>>> origin/master # Go to root directory for f in $(find $ENFORCED_FILES -name *.hpp -o -name *.cpp -o -name *.h);
bash
d_bash_15403
--- +++ @@ -2,6 +2,6 @@ sudo aptitude update || true -for PKG in pdflatex darcs automake fakeroot python-epydoc python-setuptools debhelper dh-ocaml python-virtualenv; do +for PKG in texlive darcs automake fakeroot python-epydoc python-setuptools debhelper dh-ocaml python-virtualenv; do sudo aptitude instal...
bash
d_bash_15404
--- +++ @@ -1,4 +1,6 @@ #!/bin/sh + +export JEKYLL_ENV=production bundle install yarn install
bash
d_bash_15405
--- +++ @@ -14,6 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +set -eu + readonly TEST_DIR="${ROOT_DIR}/build/test" rm -rf "$TEST_DIR"
bash
d_bash_15406
--- +++ @@ -5,13 +5,9 @@ OUTDIR=${BASEOUTDIR}/${BACKUPNAME} mkdir -p "${BASEOUTDIR}" || exit 1 +cd ${BASEOUTDIR} -if test -e "${OUTDIR}"; then - echo "NOTICE: output dir already exist, will delete it!" - rm -r $OUTDIR -fi +sh /tmp/backup_databases.sh ${BACKUPNAME}-inprogress || exit 1 -sh /tmp/backup_databas...
bash
d_bash_15407
--- +++ @@ -1,5 +1,8 @@ #!/bin/sh # Kicks off the Jenkins tests. + +git submodule sync +git submodule update --init --recursive /opt/vagrant/bin/vagrant up /opt/vagrant/bin/vagrant ssh -c 'cd /home/vagrant/dxr && make clean && make test'
bash
d_bash_15408
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -docker login -e="." -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" quay.io +docker login -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" quay.io docker tag keboola/gmail-extractor quay.io/keboola/gmail-extractor:$TRAVIS_TAG docker images docker push quay.io/keboola/gmail-extractor:$TRAVIS_...
bash
d_bash_15409
--- +++ @@ -17,14 +17,9 @@ wget https://s3.amazonaws.com/grosscol-hydra-scripts/setup-deb-fedora.sh -O /home/admin/fedora-setup.sh wget https://s3.amazonaws.com/grosscol-hydra-scripts/setup-deb-solr.sh -O /home/admin/solr-setup.sh -# Change permissions for scripts +# Change permissions and ownership for scripts ...
bash
d_bash_15410
--- +++ @@ -29,5 +29,5 @@ done echo "Cleanup" - docker run --rm -v `pwd`:/io "quay.io/pypa/manylinux1_${arch}" rm -rf /io/dist + rm -rf ./dist done
bash
d_bash_15411
--- +++ @@ -7,7 +7,7 @@ export LC_CTYPE=en_US.UTF-8 # Run the unit tests -tox -- -m unit --cov pip/ --cov-report coverage.xml +tox -- -m unit --cov pip/ --cov-report xml # Run our integration tests, typically with pytest-xdist to speed things up # except on Python 3.2 where it doesn't work quite right.
bash
d_bash_15412
--- +++ @@ -4,10 +4,11 @@ DUMMY_DIR="/var/run/dummy-sink" ips="$@" for ip in $ips; do - ssh -i $JUJU_HOME/staging-juju-rsa ubuntu@$ip <<EOT + ssh -i $JUJU_HOME/staging-juju-rsa ubuntu@$ip <<"EOT" #!/bin/bash set -ux if [[ -n "$(ps ax | grep jujud | grep -v grep)" ]]; then + sudo touch /var/lib/juju/uni...
bash
d_bash_15413
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="20.10.8" +version="20.10.9" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_15414
--- +++ @@ -15,3 +15,33 @@ cd $1 } +# +# Get the value of an alias. +# +# Arguments: +# 1. alias - The alias to get its value from +# STDOUT: +# The value of alias $1 (if it has one). +# Return value: +# 0 if the alias was found, +# 1 if it does not exist +# +function alias_value() { + alias "$1"...
bash
d_bash_15415
--- +++ @@ -25,7 +25,7 @@ alias iiof='dig +short txt istheinternetonfire.com | fmt' # Avoid super wide man pages -alias man='MANWIDTH=$((COLUMNS > 120 ? 120 : COLUMNS)) man' +alias man='MANWIDTH=$((COLUMNS > 120 ? 120 : COLUMNS)) man -P "less $LESS"' # Prettier od alias od='od -A x -t x1z -v'
bash
d_bash_15416
--- +++ @@ -1,6 +1,6 @@ -for dir in /usr/bin /usr/sbin /sbin /bin; do +for dir in /usr/bin /usr/sbin /sbin /bin /usr/local/bin /usr/local/sbin; do if test -d "$dir" && ! grep -q -e "^${dir}:" -e ":${dir}:" -e ":${dir}" <<< $PATH; then - PATH="${dir}:${PATH}" + PATH="${PATH}:${dir}" fi done export PATH
bash
d_bash_15417
--- +++ @@ -4,7 +4,7 @@ last_tagged_commit=`git describe --tags --abbrev=0 --first-parent` # --first-parent ensures we don't follow tags not published in master through an unlikely intermediary merge commit -if git diff-index --name-only --exit-code $last_tagged_commit -- `echo " $IGNORE_DIFF_ON" | sed 's/ / :(...
bash
d_bash_15418
--- +++ @@ -1,3 +1,11 @@ #!/bin/bash +echo "Installing RootCAs from Mozilla..."; +mozroots --import --sync; +sudo mozroots --import --sync; + fw_depends nginx mono xsp + +echo "Installing RootCAs from Mozilla..."; +mozroots --import --sync; +sudo mozroots --import --sync;
bash
d_bash_15419
--- +++ @@ -1,6 +1,6 @@ #! /bin/bash -cd ~/airtime +cd .. #generate a new .po file #this will generate a file called messages.po
bash
d_bash_15420
--- +++ @@ -5,4 +5,4 @@ export PYTHONPATH=${0%/*} -$PYTHONPATH/cpp/$PGM.py $* +$PYTHONPATH/cpp/$PGM $*
bash
d_bash_15421
--- +++ @@ -1,3 +1,3 @@ #!/usr/bin/env bash -hg archive ~/Desktop/gundo.zip -I 'doc' -I 'plugin' -I README.markdown +hg archive ~/Desktop/gundo.zip -I 'doc' -I 'plugin' -I 'autoload' -I README.markdown
bash
d_bash_15422
--- +++ @@ -2,7 +2,7 @@ for f in bosh.yml manifests/index.yml setup_dns.py create_cert.sh setup_devbox.py init.sh deploy_bosh.sh 98-msft-love-cf do - curl --header 'Authorization: token d817959d53b8c53b5bf1710cd1be5079277db8ad' \ + curl --header 'Authorization: token 6b36115cecd0a1b748024a853999aabda62b7644' ...
bash
d_bash_15423
--- +++ @@ -2,7 +2,9 @@ sudo rm -fr "/Applications/Sublime Text 2.app" -source $HOME/.sublime/uninstall_config.sh +if [ -f "$HOME/.sublime/uninstall_config.sh" ]; then + source $HOME/.sublime/uninstall_config.sh +fi rm -fr $HOME/.sublime source $HOME/.bash_profile
bash
d_bash_15424
--- +++ @@ -29,6 +29,6 @@ svn ls $svn | grep trunk > /dev/null || exit 1 svn ls $svn/branches | grep heimdal-1-1-branch > /dev/null || exit 1 -echo "all tests passed" +echo "####all tests passed" exit 0
bash
d_bash_15425
--- +++ @@ -24,6 +24,6 @@ fi # Build the disk image -hdiutil create -srcfolder "$TEMP" -volname JHelioviewer -format UDZO -o "$BUILD/$NAME.dmg" +hdiutil create -srcfolder "$TEMP" -volname JHelioviewer -format UDZO -fs HFS+ -o "$BUILD/$NAME.dmg" rm -rf "$TEMP"
bash
d_bash_15426
--- +++ @@ -1,6 +1,9 @@ #!/bin/bash # Generates release archives based on the current Gateway revision + +# Expects to be run in the Gateway directory and has the potential for errors +# if package.json has uncommitted changes. if [ ! -e "package.json" ]; then echo "Usage: ./tools/generate-release.sh"
bash
d_bash_15427
--- +++ @@ -3,4 +3,4 @@ cd $(dirname $0) rpm -i http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm -yum -q -y install mesos-0.22.1 marathon-0.8.2 mesosphere-zookeeper-3.4.6 +yum -q -y install mesos-0.22.1 marathon-0.9.0 mesosphere-zookeeper-3.4.6
bash
d_bash_15428
--- +++ @@ -23,6 +23,5 @@ # Check for merge conflicts. if [[ -n "${CIRCLE_PR_NUMBER}" ]] then - git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge" git branch --merged | grep "pr/${CIRCLE_PR_NUMBER}/head" > /dev/null fi
bash
d_bash_15429
--- +++ @@ -42,10 +42,15 @@ cat <<EOF Usage: mac [FLAGS] COMMAND - System administration utility for OSX. + System administration utility for OSX. To view the help text for a command + use either the 'help' command or the command's '--help' flag: + + $ mac help <command> + + $ mac <command> --help ...
bash
d_bash_15430
--- +++ @@ -20,8 +20,10 @@ export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" + cd "${KUBE_ROOT}" if ! hack/update_owners.py --check; then echo 'Run ./hack/update_owners.py to fix it' + exit # TODO(rmmh): fix Github merging to respect .gitattributes exit 1 fi
bash
d_bash_15431
--- +++ @@ -1,6 +1,6 @@ # Set pager export PAGER=less -export LESS="-iMSx4 -FX" +export LESS="-iMSx4 -FXer" # Set editor unset VISUAL
bash
d_bash_15432
--- +++ @@ -1,11 +1,11 @@ -#!/bin/bash +#!/bin/bash +x if [ "$(uname)" == "Darwin" ]; then OUTPUT=`gpi --nogui repo_contents/testNets/TestNetwork.net | grep "gpi.canvasGraph:384"` fi if [ "$(uname)" == "Linux" ]; then echo "Trying to run Linux Test" - PREOUTPUT=$( DISPLAY=localhost:1.0 xvfb-run -a b...
bash
d_bash_15433
--- +++ @@ -21,6 +21,8 @@ spaceship_dir() { [[ $SPACESHIP_DIR_SHOW == false ]] && return + # Use quotes around unassigned local variables to prevent + # getting replaced by global aliases local 'dir' # Threat repo root as a top-level directory or not
bash
d_bash_15434
--- +++ @@ -5,7 +5,7 @@ import sys import psycopg2 try: - conn = psycopg2.connect(dbname="postgres", user="postgres", host="localhost") + conn = psycopg2.connect(dbname="postgres", user="postgres", host="localhost", port="5434") except psycopg2.OperationalError: sys.exit(-1) sys.exit(0)
bash
d_bash_15435
--- +++ @@ -1,6 +1,5 @@ #!/bin/bash ## Usage: -## ./build_package.sh securedrop-grsec ## ./build_package.sh securedrop-ossec-server ## ./build_package.sh securedrop-ossec-agent
bash
d_bash_15436
--- +++ @@ -20,3 +20,7 @@ alias reload!='. ~/.zshrc' # Reloads my zsh configurion alias cls='clear' # Clear screen alias pubkey="clipcopy ~/.ssh/id_rsa.pub | echo '=> Public key copied to pasteboard.'" + +# Convert vi and vim to nvim +alias vi="nvim" +alias vim="nvim"
bash
d_bash_15437
--- +++ @@ -1,12 +1,16 @@ #!/bin/sh if [ -z "$1" ]; then - echo "Usage: $0 foo" >&2 - echo " compiles map_foo.c" >&2 - echo " into taralli_foo" >&2 + cat >&2 <<EOF +Usage: $0 foo + compiles map_foo.c + into taralli_foo + +\$CC overrides the choice of C compiler. +EOF exit 1 fi ...
bash
d_bash_15438
--- +++ @@ -1,5 +1,6 @@ #!/bin/bash while true; do + git fetch if $(git rev-parse HEAD) == $(git rev-parse @{u}); then git pull fi
bash
d_bash_15439
--- +++ @@ -6,5 +6,4 @@ go get -u github.com/golang/protobuf/protoc-gen-go go generate ./... go install ./... -go test ./... - +go test -race ./...
bash
d_bash_15440
--- +++ @@ -19,18 +19,18 @@ $DOCKER_RUN_PREFIX -e PROBLEM="$folder" "$language" done - if [ "$(find "$folder" -name "*.sql" | wc -l)" -ge 1 ]; then - PROBLEM="$folder" \ - USER="$(id -u):$(id -g)" \ - docker-compose \ - -f .docker/sql-docker-compose.yml \ - ...
bash
d_bash_15441
--- +++ @@ -13,7 +13,7 @@ tail -f $out_file & tail_pd=$! -{ { { { { { stdbuf -e0 -o0 timeout -s 9 1h ./build.sh "$@" ; } 3>&1 1>&2 2>&3 ; } | sed -u 's!^![STDERR]!' ; } 3>&1 1>&2 2>&3 ; } | sed -u 's!^![STDOUT]!' ; } 2>&1 ; } >> $out_file +{ { { { { { stdbuf -e0 -o0 timeout -s 9 2h ./build.sh "$@" ; } 3>&1 1>&2 2...
bash
d_bash_15442
--- +++ @@ -7,30 +7,26 @@ make html } -# Container 0 - runs tasks not found in the below containers - # Container 1 -CASSANDRA=':atlasdb-cassandra-tests:check' +CONTAINER_1=(':atlasdb-cassandra-tests:check') # Container 2 -SHARED=':atlasdb-tests-shared:check' -ETE=':atlasdb-ete-tests:check' +CONTAINER_2=(':...
bash
d_bash_15443
--- +++ @@ -4,6 +4,6 @@ service rsyslog start mkfifo mdb-bi-connector.log tail -f mdb-bi-connector.log& -echo /opt/mongodb-bi-linux-x86_64-debian92-v${BI_CONNECTOR_VERSION}/bin/mongosqld --addr ${ADDR} --mongo-uri ${MONGO_URI} --auth --mongo-username ${SAMPLING_USER} --mongo-password ${SAMPLING_PASS} --logPath=mdb...
bash
d_bash_15444
--- +++ @@ -9,11 +9,11 @@ # use it to declare tasks that should run for any kind of bump go vet ./... go fmt ./... - github_changelog_generator --future-release !newversion! --no-pull-requests + # github_changelog_generator --future-release !newversion! --no-pull-requests # go run main.go # alike tests ...
bash
d_bash_15445
--- +++ @@ -6,5 +6,5 @@ pushd /usr/src/linux make clean popd -#emerge -C sys-kernel/gentoo-sources +emerge -C sys-kernel/gentoo-sources DATAEOF
bash
d_bash_15446
--- +++ @@ -30,7 +30,7 @@ -DLLVM_INCLUDE_DOCS=OFF \ -DLLVM_INCLUDE_EXAMPLES=OFF \ -DLLVM_ENABLE_TERMINFO=OFF \ - -DLLVM_USE_OPROFILE=USE_OPROFILE \ + -DLLVM_USE_OPROFILE=$USE_OPROFILE \ .. make -j 8
bash
d_bash_15447
--- +++ @@ -10,6 +10,10 @@ XFB_SCREEN=1024x768x24 fi +if [ ! -z "$XFB_SCREEN_DPI" ]; then + DPI_OPTIONS="-dpi $XFB_SCREEN_DPI" +fi + # first we need our security cookie and add it to user's .Xauthority mcookie | sed -e 's/^/add :0 MIT-MAGIC-COOKIE-1 /' | xauth -q @@ -18,7 +22,7 @@ xauth nlist :0 | sed -e 's...
bash
d_bash_15448
--- +++ @@ -4,6 +4,14 @@ mkdir -p $HOME/.undercloud-live LOG=$HOME/.undercloud-live/undercloud.log + +PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-""} + +if [ -z "$PIP_DOWNLOAD_CACHE" ]; then + mkdir -p $HOME/.cache/pip + PIP_DOWNLOAD_CACHE=$HOME/.cache/pip + export PIP_DOWNLOAD_CACHE +fi # This provides ...
bash
d_bash_15449
--- +++ @@ -1,3 +1,46 @@ #!/bin/bash -hostgroup-create -n "WiiMote" -s X,Y,Z,A,B,U,D,R,L,1,2,+,-,P,Battery +# Define read-only constants +typeset -r HOSTGROUP_NAME="WiiMote" +typeset -r HOSTGROUP_SOURCES="accelerometer-x,accelerometer-z,accelerometer-z,button-a,button-b,button-up,button-down,button-right,button-le...
bash
d_bash_15450
--- +++ @@ -23,6 +23,9 @@ ant clean artifacts RETURN="$?" if [ "${RETURN}" -eq "0" ]; then + # Run eclipse-warnings if build was successful + ant eclipse-warnings + RETURN="$?" break fi done
bash
d_bash_15451
--- +++ @@ -35,6 +35,8 @@ ) & } +setup + inotifywait --event modify --monitor "$@" | \ while read -r change; do echo "$change"
bash
d_bash_15452
--- +++ @@ -11,4 +11,4 @@ date=`date +"%Y%m%d%H%M%S"` log="logs/production-$date.log" -php ../vendor/bin/dep deploy -vvv production | tee $log +php ../vendor/bin/dep deploy -vvv --ansi production 2>&1 | tee $log
bash
d_bash_15453
--- +++ @@ -5,7 +5,7 @@ mkdir "$RC_DB_SQLITE_FOLDER" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/SQL/sqlite.initial.sql" -sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/plugins/carddav/dbinit/sqlite3.sql" +sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/plugins/carddav/dbmigrations/0000-dbinit/sqlite3.sql" if [ $? -ne 0 ]; th...
bash
d_bash_15454
--- +++ @@ -17,7 +17,7 @@ # Process template scripts for f in templates/*; do basef=`basename $f` - cat $f |sed 's/@ERTS_VSN@/$ERTS_VSN/g'|sed 's/@REL_VSN@/$REL_VSN/g' > $TARGET_DIR/bin/$basef + cat $f |sed "s/@ERTS_VSN@/$ERTS_VSN/g"|sed "s/@REL_VSN@/$REL_VSN/g" > $TARGET_DIR/bin/$basef done # Create...
bash
d_bash_15455
--- +++ @@ -17,7 +17,7 @@ # Note: for internal (aka pre-release) versions, the version should have # "-INTERNAL" appended. Parts of the code will look for this to distinguish # between released and internal versions. -VERSION=1.3.0-INTERNAL +VERSION=cdh5-1.3.0 GIT_HASH=$(git rev-parse HEAD) BUILD_TIME=`date` HE...
bash
d_bash_15456
--- +++ @@ -19,6 +19,7 @@ install_npm_pkg gulp-cli install_npm_pkg eslint +install_npm_pkg typescript install_npm_pkg http-server install_npm_pkg grunt-cli install_npm_pkg vsce
bash
d_bash_15457
--- +++ @@ -1,3 +1,3 @@ python input_to_database.py main -python input_to_database.py maf --vcf2mafPath ~/vcf2maf-1.6.14 --vepPath ~/vep --vepData ~/.vep --createNewMafDatabas -python input_to_database.py vcf --vcf2mafPath ~/vcf2maf-1.6.14 --vepPath ~/vep --vepData ~/.vep +python input_to_database.py maf --vcf2mafPa...
bash
d_bash_15458
--- +++ @@ -1,20 +1,36 @@ #!/usr/bin/env bash function recursive_optimize_images() { -cd $1; -optipng -o6 -strip all *.png; -jpegoptim --strip-all *.jpg; -for svg in `ls *.svg`; -do - mv $svg $svg.opttmp; - scour --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadat...
bash
d_bash_15459
--- +++ @@ -14,6 +14,11 @@ do cp -v --parents $i $2 done +} + +function check_command { + command_file="$(which $1)" || { printf "Fatal error: \`$1' command not found!\n" ; exit 1; } + check_file $command_file } function check_file { @@ -35,8 +40,8 @@ paths_to_files+="$OPTARG " ;; c) - path...
bash
d_bash_15460
--- +++ @@ -3,13 +3,10 @@ # # author: Wolfgang Merkt -# Only build a deb for the master branch -#if [ $TRAVIS_BRANCH -eq "master" ] -#then - VERSION=`date +%Y.%m.%d-%H-%M` +VERSION=`date +%Y.%m.%d-%H-%M` - mkdir -p ~/create_deb/DEBIAN - echo ' +mkdir -p ~/create_deb/DEBIAN +echo ' Package: exotica Version:...
bash
d_bash_15461
--- +++ @@ -27,6 +27,10 @@ # This will delete all of the git-managed files here, but not # the results of the build git rm -rf . + + rm -rf texlive + rm -rf install-tl* + # Copy the built files to the root cp -r build/html/* . cp -r build/latex/*.pdf...
bash
d_bash_15462
--- +++ @@ -1,7 +1,7 @@ # Hacking the build into Travis-CI "C" environment # See http://anil.recoil.org/2013/09/30/travis-and-ocaml.html -OPAM_PACKAGES='ocamlfind bytes' +OPAM_PACKAGES='ocamlfind base-bytes' export OPAMYES=1 opam init
bash
d_bash_15463
--- +++ @@ -1,11 +1,42 @@ #!/bin/sh +# +# Thomas Krennwallner <tkren@kr.tuwien.ac.at> +# +# 1. check for libtool, autoconf, automake, pkg-config +# 2. run libtoolize and autoreconf to create libltdl, configure, and Makefile.in's +# LT=`which libtoolize` +GLT=`which glibtoolize` if [ -x "$LT" ]; then LT=li...
bash
d_bash_15464
--- +++ @@ -13,6 +13,10 @@ mkdir -p $HOME/external/st cd $HOME/external/st git clone http://git.suckless.org/st . + +# TODO: move to master +git checkout 1f24bde + make # config
bash
d_bash_15465
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash +aws s3 cp --quiet s3://moocfetcher/coursera/all.json . +echo "`cat all.json | jq '.courses | map(select(.courseType == "v2.ondemand")) | .[] | .slug ' | wc -l` courses total" aws s3 cp --quiet s3://moocfetcher/coursera/ondemand/launched.json . cat launched.json | jq -r ".course...
bash
d_bash_15466
--- +++ @@ -2,9 +2,10 @@ # clean up docs folder rm -rf docs/* +mkdir -p docs/ # copy over html file -cp public/index.html docs +cp public/index.html docs/ # copy over library -cp dist/serina.js docs +cp dist/serina.js docs/
bash
d_bash_15467
--- +++ @@ -4,10 +4,13 @@ IMG_REWRITE="$TEST_ROOT/webp_rewriting/rewrite_images.html" REWRITE_URL="$IMG_REWRITE?PageSpeedFilters=rewrite_images" URL="$REWRITE_URL,convert_jpeg_to_webp&$IMAGES_QUALITY=75&$WEBP_QUALITY=65" -check run_wget_with_args \ - --header 'X-PSA-Blocking-Rewrite: psatest' --user-agent=webp $U...
bash
d_bash_15468
--- +++ @@ -2,6 +2,6 @@ docker rm -f sismics_home docker run \ -d --name=sismics_home --restart=always \ - --volumes-from=sismics_home_data \ + -v sismics_home_data:/data \ -e 'VIRTUAL_HOST_SECURE=myhome.bgamard.org' -e 'VIRTUAL_PORT=80' \ sismics/home:latest
bash
d_bash_15469
--- +++ @@ -11,7 +11,6 @@ install_cask alfred install_cask atom install_cask authy -install_cask evernote install_cask keyboard-maestro install_cask flux # Install additional apps
bash
d_bash_15470
--- +++ @@ -7,30 +7,34 @@ DIR=$(dirname $0) fi -case `uname -a` in -Linux*x86_64*) - "$DIR/../support/node-builds/lin64/node" "$DIR/cocos.js" "$@" - ;; +if which node &> /dev/null +then + # User has node installed, use that + node "$DIR/cocos.js" "$@" +else + # User doesn't have node installed, f...
bash
d_bash_15471
--- +++ @@ -13,7 +13,7 @@ # Set your hostname if it is not detected correctly # GRIDHOST="" -PUBLISHING_OIDPREFIX="publish1" +PUBLISHING_OIDPREFIX="c3published.zib.de" # VolD update interval in milliseconds PUBLISHING_UPDATE_INTERVAL="5000"
bash
d_bash_15472
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +set -e export PYTHONPATH=$PWD:$PWD/..:$PYTHONPATH
bash
d_bash_15473
--- +++ @@ -3,5 +3,5 @@ BUILDROOT="$(git rev-parse --show-toplevel)" -source $BUILDROOT/build-aux/ci/format-code.sh +source $BUILDROOT/build-aux/ci/format-code.sh "$(git rev-parse HEAD~)" source $BUILDROOT/build-aux/ci/build-linux.sh
bash
d_bash_15474
--- +++ @@ -20,7 +20,7 @@ check_good printf "Checking kernel version (3.0 or later) ... " -uname -r | awk -F . '{print $1}' | grep 3 > /dev/null 2> /dev/null +uname -r | awk -F . '{print $1}' | grep '3\|4' > /dev/null 2> /dev/null check_good printf "Checking for kernel headers... "
bash
d_bash_15475
--- +++ @@ -17,4 +17,5 @@ finish_rootfs_build() { sed -i 's/listen on localhost/listen on 0.0.0.0/g' "${_EMERGE_ROOT}"/etc/opensmtpd/smtpd.conf + mkdir "${_EMERGE_ROOT}"/run }
bash
d_bash_15476
--- +++ @@ -20,12 +20,19 @@ exit 3 } -nova list --host $1 | grep ' ACTIVE ' | cut -d\| -f3 | sed -r 's/(^[ ]+?|[ ]+?$)//g' | xargs -tI% nova live-migration % - while :; do - VMS=$(nova list --host $1 | wc -l) - if [ $VMS -eq 4 ]; then - break + VMS=$(nova list --host $1 | grep -i ' active...
bash
d_bash_15477
--- +++ @@ -38,7 +38,7 @@ } it_runs_fully_optioned() { - FILE=$(mktemp) + FILE=$(mktemp /tmp/stubbs.1.XXXX) rerun stubbs:docs --module "stubbs" --file $FILE validate $FILE
bash
d_bash_15478
--- +++ @@ -1,4 +1,4 @@ #! /usr/bin/env bash -find rnftools -name "*.py" -type f | xargs grep TODO -find rnftools -name "*.py" -type f | xargs grep FIXME +find rnftools -name "*.py" -type f | xargs grep -ni --color=auto TODO +
bash
d_bash_15479
--- +++ @@ -5,5 +5,6 @@ # line breaks occur in long conditionals. ROOT=$(readlink -fn $(dirname $0)/.. ) -find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \ +find $ROOT -not -path '*playbooks/legacy/*' -and -not -wholename \*.tox/\* \ + -and -not -wholename \*.test/\* \ -and -name \*.s...
bash
d_bash_15480
--- +++ @@ -8,7 +8,9 @@ mv e2e/project/scalapb.sbt.shaded e2e/project/scalapb.sbt fi -sbt \ +# -J-XX below is a workaround for XX:LoopStripMiningIter=0. +# TODO: remove after JDK>=11.0.3 +sbt -J-XX:LoopStripMiningIter=0 \ ++2.12.8 compilerPlugin/publishLocal compilerPluginShaded/publishLocal createVersionF...
bash
d_bash_15481
--- +++ @@ -19,11 +19,20 @@ touch /srv/logs/django.log tail -n 0 -f /srv/logs/*.log & -exec gunicorn oeem_energy_datastore.wsgi \ - --bind 0.0.0.0:8000 \ - --workers 3 \ - --timeout 180 \ - --log-level=info \ - --log-file=/srv/logs/gunicorn.log \ - --access-logfile=/srv/logs/access.log \ - "$...
bash
d_bash_15482
--- +++ @@ -5,6 +5,7 @@ do info=`/opt/cloud/bin/checks2svpn.sh $i` ret=$? - echo -n "$i:$ret:$info&" + batchInfo+="$i:$ret:$info&" done +echo -n ${batchInfo}
bash
d_bash_15483
--- +++ @@ -3,7 +3,7 @@ declare -a versions=("argon" "boron" "carbon") declare -a images=("nsolid" "nsolid-console" "nsolid-storage" "nsolid-cli") -latest=${NSOLID_LTS_LATEST:-'boron'} +latest=${NSOLID_LTS_LATEST:-'carbon'} registry=${DOCKER_REGISTRY:-'nodesource'} release=${NSOLID_VERSION}
bash
d_bash_15484
--- +++ @@ -11,6 +11,10 @@ # Ensure that the Cellar exists if [[ ! -e "$source_base/Cellar" ]] ; then mkdir -p "$source_base/Cellar" + fi + + if [[ ! -e "/usr/local/bin" ]] ; then + mkdir -p /usr/local/bin fi ln -s "$source_base/bin/brew" "/usr/local/bin/brew";
bash
d_bash_15485
--- +++ @@ -6,9 +6,9 @@ js=$(mktemp) trap "rm -f '$browser' '$js'" EXIT -base='https://chromium.googlesource.com' -curl -s "$base/chromium/src/+/master/third_party/WebKit/Source/core/inspector/browser_protocol.json?format=TEXT" | python -m base64 -d >"$browser" -curl -s "$base/v8/v8/+/master/src/inspector/js_prot...
bash
d_bash_15486
--- +++ @@ -25,7 +25,16 @@ export LESSOPEN="|$HOME/.bin/lessfilter.sh %s" # Path -export PATH="$HOME/.themer:$HOME/.bin:$PATH" +export PATH="$HOME/.bin:$PATH" + +echo "$PATH" | grep ".themer" -q -v \ + && [ -d $HOME/.themer ] \ + && export PATH="$HOME/.themer/:$PATH" + +echo "$PATH" | grep ".devtools" -q -v...
bash
d_bash_15487
--- +++ @@ -9,22 +9,6 @@ alias lF="ls -F" alias ll="ls -AFGlh" -# git ========================================================================== -# Add -alias ga="git add --all" -# Commit -alias gc="git commit -m" -# Diff -alias gd="git diff" -# Pull -alias gpull="git pull" -# Push -alias gpush="git push" -# Stat...
bash
d_bash_15488
--- +++ @@ -8,4 +8,6 @@ if [ ! -f ~/.gnupg/gpg-agent.conf ]; then touch ~/.gnupg/gpg-agent.conf echo "use-standard-socket" >> ~/.gnupg/gpg-agent.conf + echo "default-cache-ttl 3600" >> ~/.gnupg/gpg-agent.conf + echo "max-cache-ttl 3600" >> ~/.gnupg/gpg-agent.conf fi
bash
d_bash_15489
--- +++ @@ -9,5 +9,7 @@ else # ruby >= 2.2 bundle exec rake --trace + test_exit_code=$? bundle exec codeclimate-test-reporter + exit $test_exit_code fi
bash
d_bash_15490
--- +++ @@ -25,7 +25,8 @@ --name pixelcloud-duplicity \ pixelfordinner/duplicity \ ${backup_type} --allow-source-mismatch --archive-dir=/mnt/app \ - --exclude "/mnt/data/${client_name}/${project_name}/volumes/www/htdocs/content/...
bash
d_bash_15491
--- +++ @@ -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_15492
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -wget https://github.com/google/cayley/releases/download/v0.4.0/cayley_0.4.0_linux_amd64.tar.gz -tar -xvzf cayley_0.4.0_linux_amd64.tar.gz -cd cayley_0.4.0_linux_amd64 +wget https://github.com/cayleygraph/cayley/releases/download/v0.7.0/cayley_0.7.0_linux_amd64.tar.gz +tar -xvzf c...
bash
d_bash_15493
--- +++ @@ -2,6 +2,7 @@ echo "Configuring all..." +source ./config/create_symlinks.sh source ./config/set_prefs.sh source ./config/install_packages.sh source ./config/install_casks.sh
bash
d_bash_15494
--- +++ @@ -8,7 +8,7 @@ do PREFIX=aff3ct_${GIT_BRANCH} ZIP_NAME=$(echo "${BUILD/build/$PREFIX}") - ZIP_NAME=$(echo "${ZIP_NAME/\./\_}.zip") + ZIP_NAME=$(echo "${ZIP_NAME/\./\_}_$GIT_HASH.zip") find $BUILD/inc/ -type f -follow -print | grep "[.]cpp$" | xargs rm -f find $BUILD/inc/ -type f -follow -print ...
bash
d_bash_15495
--- +++ @@ -19,13 +19,6 @@ _brew_open () { - local cur="${COMP_WORDS[COMP_CWORD]}" - local prv=$(__brewcomp_prev) - __brew_complete_formulae -} - -_brew_pre_open () -{ local i=1 cmd # find the subcommand @@ -46,9 +39,9 @@ # subcommands have their own completion functions case "$cm...
bash
d_bash_15496
--- +++ @@ -1,19 +1,18 @@ -#!/bin/sh +#!/bin/bash git filter-branch --env-filter ' +WRONG_EMAIL="${1}" +NEW_NAME="${2}" +NEW_EMAIL="${3}" -OLD_EMAIL=$1 -CORRECT_NAME=$2 -CORRECT_EMAIL=$3 - -if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] +if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ] then - export GIT_COMMITTE...
bash
d_bash_15497
--- +++ @@ -2,15 +2,7 @@ set -e -unamestr=$(uname) -if [[ "$unamestr" == 'Linux' || "$unamestr" == 'FreeBSD' ]]; then - dylib_ext='so' -elif [[ "$unamestr" == 'Darwin' ]]; then - dylib_ext='dylib' -else - echo "Unsupported os" - exit 1 -fi +dylib=$(echo "" | rustc --print file-names --crate-type dylib --...
bash
d_bash_15498
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash BASEDIR="$(dirname $0)" -HSDATA_URL="https://github.com/HearthSim/hs-data.git" +HSDATA_URL="https://gitlab.com/HearthSim/hsdata.git" HSDATA_DIR="$BASEDIR/build/hs-data" CARDDEFS_OUT="$BASEDIR/hearthstone/CardDefs.xml"
bash
d_bash_15499
--- +++ @@ -2,10 +2,10 @@ HERE=$(cd $(dirname $0); pwd -P) NX_INT=$HERE/download/nuxeo-integration -XCODEBUILD=${XCODEBUILD:-xcodebuild} +XCBUILD=${XCBUILD:-xcodebuild} # Cleaning -rm -rf download nuxeo tomcat || exit 1 +rm -rf download nuxeo tomcat junit-result.txt || exit 1 # Cloning integration-release ...
bash