document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_9100
--- +++ @@ -5,5 +5,6 @@ sed -i "s/\"readURL\": \"\",/\"readURL\": \"$BUCKETEER_BUCKET_NAME.s3.amazonaws.com\",/g" ./hub/config.json sed -i "s/\"driver\": \"\",/\"driver\": \"aws\",/g" ./hub/config.json sed -i "s/\"bucket\": \"\",/\"bucket\": \"$BUCKETEER_BUCKET_NAME\",/g" ./hub/config.json +sed -i "s/\"port\": 300...
bash
d_bash_9101
--- +++ @@ -5,7 +5,7 @@ # install some basic packages we need sudo apt-get -y install ant ant-optional git libev-dev libyaml-dev lsof python-dev python-setuptools python-pip rsync screen wamerican # install some python modules that we need -sudo pip install blist cql decorator enum34 flaky futures nose-test-select...
bash
d_bash_9102
--- +++ @@ -14,7 +14,7 @@ find . -mindepth 2 -type f -print -exec mv {} . \; rm -R -- */ cd .. -mv plugins/* Library/Application\ Support/com.bohemiancoding.sketch3/Plugins/ +mv plugins/* ~/Library/Application\ Support/com.bohemiancoding.sketch3/Plugins/ echo "Plugins installed; Cleaning up files..."
bash
d_bash_9103
--- +++ @@ -1 +1 @@ -. $ROOT_PATH/lib/say.sh -m "Initial process is complete, sir. Now you need to reinstall the system manually." +. $ROOT_PATH/lib/say.sh -m "Initial process is complete, sir. Your drupal 8 project using the cocomore profile has been installed."
bash
d_bash_9104
--- +++ @@ -12,6 +12,6 @@ sudo service deluge-daemon restart exit 1 else - echo $(date -u) "Process running." 1>&2 + echo $(date + %Y-%m-%d %H:%M:%S") "Process running." 1>&2 exit 1 fi
bash
d_bash_9105
--- +++ @@ -10,16 +10,13 @@ Usage: build.sh Builds the local node-admin docker image used in the local zone. -You must set the NODE_ADMIN_FROM_IMAGE environment variable to point to the -base image (FROM-line in Dockerfile) you'd like to build the node admin image -on. EOF exit 1 } if [ -z "$NODE_ADMIN_...
bash
d_bash_9106
--- +++ @@ -2,6 +2,7 @@ # The following IAM roles are required: # AmazonS3ReadOnlyAccess +# AmazonEC2ReadOnlyAccess if [ ! -d ~magento/.ssh/ ]; then @@ -9,9 +10,13 @@ chown magento:magento ~magento/.ssh/ fi -while [ -z ${keybucket} ] +region=`curl -s http://169.254.169.254/latest/meta-data/placement...
bash
d_bash_9107
--- +++ @@ -5,13 +5,15 @@ export CMAKE=cmake28 EIGEN3_INCLUDE_DIR="$TRAVIS_BUILD_DIR/eigen" LD_LIBRARY_PATH="$TRAVIS_BUILD_DIR/build/dynet:$LD_LIBRARY_PATH" cd "$TRAVIS_BUILD_DIR" +if [[ "$BUILD_ARCH" == i686 ]]; then + yum install -y openssl-devel +else + yum install -y gmp-devel +fi # Compile wheels for PYB...
bash
d_bash_9108
--- +++ @@ -32,7 +32,6 @@ echo "==> Downloading Go $VERSION" $(downloader) ${GO_URI}${GOFILE} | sudo tar xzf - -C /usr/local - -if [ $? == 0 ]; then +if [ $? -eq 0 ]; then echo "==> Go $VERSION is now installed in /usr/local/go" fi
bash
d_bash_9109
--- +++ @@ -11,7 +11,7 @@ exit 1 } src_node=$1 - [ -n "$2" ] && { + [ -n "$2" ] || { echo "No destination DB node" exit 1 }
bash
d_bash_9110
--- +++ @@ -4,4 +4,4 @@ # It runs the appropriate commands depending on the task requested. # Otherwise compile and check as normal -qmake QMAKE_CXX=$CXX && make && ./unittest.sh +qmake QMAKE_CXX=$CXX QMAKE_LINK=$CXX QMAKE_LINK_SHLIB=$CXX && make && ./unittest.sh
bash
d_bash_9111
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -diff -pruNb --exclude '*~' --exclude '.git' --exclude '*.elc' --exclude 'state' ~/.emacs.d emacs.d +diff -prub --exclude '*~' --exclude '.git' --exclude '*.elc' --exclude 'state' ~/.emacs.d emacs.d diff -ub ~/.emacs dot.emacs diff -ub ~/.ackrc ackrc
bash
d_bash_9112
--- +++ @@ -25,5 +25,5 @@ # will be lost, since we are overwriting it.) We redirect any output to # /dev/null to hide any sensitive credential data that might otherwise be exposed. # tokens GH_TOKEN and GH_REF will be provided as Travis CI environment variables - git push --force --q...
bash
d_bash_9113
--- +++ @@ -26,4 +26,7 @@ {% if qualityOfService -%} #SBATCH --qos={{qualityOfService}} {% endif -%} +{% if constraint -%} +#SBATCH --constraint={{constraint}} +{% endif -%}
bash
d_bash_9114
--- +++ @@ -1,2 +1,2 @@ -export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH" +export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:/usr/local/opt/python/libexec/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
bash
d_bash_9115
--- +++ @@ -1,6 +1,14 @@ #!/usr/bin/env bash # Set up Go paths + +for goroot in /usr/local/go /usr/local/opt/go/libexec; do + if [ -d "$goroot" ]; then + export GOROOT="$goroot" + add-path "$GOROOT/bin" + break + fi +done + export GOPATH="$HOME/go" -export GOROOT="/usr/local/opt/go/libexec" add-path "$GOPATH...
bash
d_bash_9116
--- +++ @@ -10,7 +10,7 @@ cd src # current-release/src svn checkout https://weecology.svn.beanstalkapp.com/dbtk/trunk/ mv trunk dbtk -sudo rm dbtk/dbtk-build.sh +sudo rm dbtk/dbtk-build.sh dbtk/make-windows-executables.bat # make apidocs cd .. # current-release
bash
d_bash_9117
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=0.3 +VERSION=0.4 TMPDIR=/tmp/google-api-php-client RELFILE=/tmp/google-api-php-client-${VERSION}.tar.gz @@ -11,6 +11,8 @@ cd $TMPDIR find . -name ".*" -exec rm -rf {} \; &>/dev/null find . -name "makeRelease.sh" -exec rm -rf {} \; &>/dev/null +find . -name "local...
bash
d_bash_9118
--- +++ @@ -2,7 +2,7 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. -set -ex +set -x npm update wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
bash
d_bash_9119
--- +++ @@ -1,6 +1,5 @@ #!/bin/bash -x -source '/usr/local/lib/rvm' -bundle install --path "/home/jenkins/bundles/${JOB_NAME}" --deployment +bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment bundle exec rake db:setup bundle exec rake db:migrate bundle exec rake stats
bash
d_bash_9120
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -CC=avr-gcc CXX=c++ LINK="-mmcu=atmega128 -Wl,-gc-sections" COMP="-O2 -ggdb -Wa,-mmcu=atmega128 -mmcu=atmega128 -ffunction-sections -fdata-sections" cmake -DARCH=AVR -DWORD=8 -DOPSYS=NONE -DSEED=LIBC -DSHLIB=OFF -DSTBIN=ON -DTIMER=NONE -DWITH="DV;BN;FP;EP;EC;PP;PC;CP;MD" -DBENCH=...
bash
d_bash_9121
--- +++ @@ -5,7 +5,6 @@ yum install -y php yum install -y epel-release yum install -y phpMyAdmin -yum update -y ln -s /mnt/fuelphp /home/vagrant/fuelphp cp /mnt/fuelphp/vagrant/*.conf /etc/httpd/conf.d curl get.fuelphp.com/oil | sh
bash
d_bash_9122
--- +++ @@ -1,14 +1,49 @@ #!/bin/bash # $1 Project name -BASE=${PWD} +# Script directory (this file) +BASE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ -z "$1" ]; then - echo "Undefined project name, aborting." + printf "Required argument project-name missing.\n" + printf "Usage: ./configure...
bash
d_bash_9123
--- +++ @@ -5,4 +5,18 @@ # Cleanup rm -f $prefix*.zip +# Check for logo files > 4 MiB (The logo partition on Moto G devices is exactly 4 MiB) +error=false +for logo in `ls -1 boot-animations/*/logo/*/logo.bin`; do + if [ `stat --printf="%s" $logo` -gt 4194304 ]; then + echo "ERROR: logo file is greater ...
bash
d_bash_9124
--- +++ @@ -16,8 +16,11 @@ git clone git@github.com:tomislav/osx-terminal.app-colors-solarized.git \ $SOLARIZED/osx-terminal.app-colors-solarized +# Install brew formulaes +./system/osx/brew.sh + # symlink it up! -./system/osx/symlink_setup.sh +#./system/osx/symlink_setup.sh # Install vim plugin manager cu...
bash
d_bash_9125
--- +++ @@ -3,10 +3,10 @@ EXIT_CODE=0 PROJECT_ROOT='../../tests/data/stackurlhelper/badtemplateurl' -PYTHONIOENCODING=UTF-8 ${BIN} -d test run -p ${PROJECT_ROOT} >& /tmp/output || EXIT_CODE=$? +PYTHONIOENCODING=UTF-8 ${BIN} -d lint -p ${PROJECT_ROOT} >& /tmp/output || EXIT_CODE=$? if [[ ${EXIT_CODE} -ne 0 ]]...
bash
d_bash_9126
--- +++ @@ -17,4 +17,4 @@ resolution="$2" fi -livestreamer --http-header Client-ID=ewvlchtxgqq88ru9gmfp1gmyt6h2b93 "twitch.tv/$1" "$resolution" +streamlink "twitch.tv/$1" "$resolution"
bash
d_bash_9127
--- +++ @@ -15,4 +15,7 @@ alias pkg="sudo pkg" +#nginx +alias nginx="sudo service nginx" +
bash
d_bash_9128
--- +++ @@ -2,7 +2,7 @@ ./go javadocs || exit # Python -./go //py:setup //py:init py_docs || exit +./go //py:setup //py:init //py:docs || exit # Ruby ./go //rb:docs || exit
bash
d_bash_9129
--- +++ @@ -27,3 +27,10 @@ python -m openquake.commands db set_status 1 executing # repeat the failed/executing calculation, which is useful for QGIS python -m openquake.commands engine --run $1/hazard/AreaSourceClassicalPSHA/job.ini + + +# display the calculations +python -m openquake.commands db find % + +# buil...
bash
d_bash_9130
--- +++ @@ -23,20 +23,3 @@ open https://www.google.com/intl/en/chrome/browser/ open https://www.google.com/intl/en/chrome/browser/canary.html open http://www.mozilla.org/en-US/firefox - -# Mou.app -open http://mouapp.com - -# Please install home brew for me: http://mxcl.github.io/homebrew/ -ruby -e "$(curl -fsSL h...
bash
d_bash_9131
--- +++ @@ -19,5 +19,8 @@ # numericjs wget https://github.com/sloisel/numeric/archive/v1.2.6.zip unzip v1.2.6.zip -d numericjs -ln -s numericjs/numeric-1.2.6/src/numeric.js numericjs/numeric-1.2.6.min.js +cd numericjs +ln -s numeric-1.2.6/src/numeric.js numeric-1.2.6.min.js +cd .. +
bash
d_bash_9132
--- +++ @@ -3,3 +3,5 @@ svccfg setnotify -g from-online,to-maintenance mailto:root@localhost svccfg setnotify problem-diagnosed,problem-updated mailto:root@localhost + +svcadm enable -r svc:/system/fm/smtp-notify:default
bash
d_bash_9133
--- +++ @@ -14,7 +14,7 @@ BIN_VERSIONS="2.10.4 2.11.2" SBT_VERSION="2.10.4" - LIBS="library jasmineTestFramework tools testBridge" + LIBS="library javalibEx jasmineTestFramework tools testBridge" # Publish compiler echo "project compiler"
bash
d_bash_9134
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash set -eu -password="$(cat ~/documents/secure/files/borg-passwd.txt)" +password="$(pass show computer/titus/borg-raw)" archive="$(date +%B-%d-%Y | tr '[:upper:]' '[:lower:]')" backup="/media/archive/backup/titus/borg" locations=(
bash
d_bash_9135
--- +++ @@ -5,7 +5,7 @@ readonly BUILD_USER=$(whoami) readonly BUILD_TIMESTAMP=$(date -u) -readonly BUILD_BRANCH=$(a=$(git symbolic-ref HEAD 2> /dev/null || echo "<UNKNOWN>") ; echo ${#refs/heads/}) +readonly BUILD_BRANCH=$(a=$(git symbolic-ref HEAD 2> /dev/null || echo "<UNKNOWN>") ; echo ${a#refs/heads/}) read...
bash
d_bash_9136
--- +++ @@ -1 +1,4 @@ +#!/bin/bash + +#POST API request with the content of the clipboard" echo "`xclip -selection clipboard -o`" | curl --request POST --data @- localhost:8080/realclipper/api/v1.0/clipboard
bash
d_bash_9137
--- +++ @@ -27,6 +27,7 @@ rm -rf functional-text-sandbox if ! git diff-index --quiet HEAD --; then + git add index.html bundle.js bundle.js.map git commit -m "Updating gh-pages branch. (with sandbox @ $SANDBOX_COMMIT, and functional text @ $PARENT_COMMIT)" git push fi
bash
d_bash_9138
--- +++ @@ -1,39 +1,42 @@ -#!/bin/bash +#!/usr/bin/bash + set -e tmp=${TMPDIR:-/tmp/} -check_assignment () { - intest="$1" - testfn=${intest##*/} - assignment=${testfn%_test.rs} - workdir=$(mktemp -d "${tmp}${assignment}.XXXXXXXXXX") - modname=$(awk '/^mod / { sub(";", ""); print $2 }' "${intest}") -...
bash
d_bash_9139
--- +++ @@ -1,29 +1,28 @@ -# "atalho" pra https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 +sudo su -sudo swapon -s +swapon -s free -m df -h +fallocate -l 4G /swapfile +chmod 600 /swapfile +mkswap /swapfile +swapon /swapfile -sudo fallocate -l 4G /swapfile -sudo chmod 600 /swap...
bash
d_bash_9140
--- +++ @@ -33,3 +33,4 @@ npm install gulp js.core.install gulp protobuf.install +gulp internal.test.install
bash
d_bash_9141
--- +++ @@ -1,10 +1,39 @@ -#!/bin/bash +#!/usr/bin/env bash -# If sublime is not running, check if we should clean the session -if ! pgrep -x subl > /dev/null +# +# This is meant to be invoked from the task bar or a launcher in order to start +# Sublime; any arguments passed to the script are passed to Sublime when...
bash
d_bash_9142
--- +++ @@ -2,18 +2,26 @@ set -e # exit when error -COMMIT_MSG=`git log --format=%B --no-merges -n 1` +COMMIT_MSG=$(git log --format=%B --no-merges -n 1) +[[ "$COMMIT_MSG" =~ hotfix ]] && is_hotfix=1 || is_hotfix=0 +[[ "$COMMIT_MSG" =~ /^docs/ ]] && is_doc=1 || is_doc=0 +[[ "$TRAVIS_PULL_REQUEST" == false ]] && ...
bash
d_bash_9143
--- +++ @@ -8,5 +8,5 @@ npm test npm run test:coverage export PATH="$HOME/miniconda/bin:$PATH" - +npm run build:example npm run docs
bash
d_bash_9144
--- +++ @@ -8,4 +8,10 @@ export TMPDIR=$(mktemp -d $WORKSPACE/chapel-test-release.XXXXX) export CHPL_GEN_RELEASE_TMPDIR=$TMPDIR +# Clone from the current workspace, which is a clean, up-to-date working copy +# of the repo in Chapel's testing system. +if [ -d "${WORKSPACE}/.git" ] ; then + export CHPL_HOME_REPO...
bash
d_bash_9145
--- +++ @@ -1,5 +1,5 @@ # GRC colorizes nifty unix tools all over the place -if (( $+commands[grc] )) && (( $+commands[brew] )) -then - source `brew --prefix`/etc/grc.bashrc -fi +# if (( $+commands[grc] )) && (( $+commands[brew] )) +# then +# source `brew --prefix`/etc/grc.bashrc +# fi
bash
d_bash_9146
--- +++ @@ -4,7 +4,6 @@ alias grep="grep --color=auto" alias pgrep='ps aux | grep -v grep | grep' alias ss="open -a 'screen sharing'" -alias ge='mvim --remote-silent' alias ls='ls -GF' # ======================================================= @@ -25,4 +24,14 @@ if [[ "$(uname -s)" == "Linux" ]] then alias...
bash
d_bash_9147
--- +++ @@ -28,4 +28,15 @@ #Print docker info sleep 10; -docker -H :4000 info +NODES=$(cat address_nodes | wc -w) + +WAITS=0; +while (( $NODES != $(docker -H :4000 info | awk '$1 == "Nodes:" {print $2}') )); do + echo "Nodes are not ready yet..." + let WAITS++; + if (( $WAITS == 6 )); then + echo "For some reas...
bash
d_bash_9148
--- +++ @@ -3,6 +3,6 @@ cd /home/vagrant sudo rm -rf *.sh cd /home/vagrant/odoo -sudo -u vagrant find -name "*.sh" -exec ln -s odoo/{} ../{} \; +sudo -u vagrant find -maxdepth 1 -name "*.sh" -exec ln -s odoo/{} ../{} \; cd .. chmod u+x *.sh
bash
d_bash_9149
--- +++ @@ -25,3 +25,12 @@ exit } builtin 'bye' bye + +tuck() { + pop x2 + pop x1 + push "$x2" + push "$x1" + push "$x2" +} +builtin 'tuck' tuck
bash
d_bash_9150
--- +++ @@ -19,6 +19,3 @@ # Enable proxy modules in apache and restart a2enmod proxy_http systemctl restart apache2.service - -# Run shake.js/logger -docker run --restart=always -d -p 8080:80 --name shake-logger -e TARGET_SOCKET=192.168.33.10:8080 wurstbrot/shake-logger
bash
d_bash_9151
--- +++ @@ -1,5 +1,6 @@ . "$(dirname $0)/packages.bash" || exit 1 . "$(dirname $0)/opam.bash" || exit 1 +mkdir dist || true opam install $OPAM_PKGS export OCAMLRUNPARAM=b ocaml setup.ml -distclean
bash
d_bash_9152
--- +++ @@ -12,6 +12,7 @@ find . -name "*.c" -exec $scriptDir/replace_header.sh {} java_c \; find . -name "*.cc" -exec $scriptDir/replace_header.sh {} java_c \; find . -name "*.h" -exec $scriptDir/replace_header.sh {} java_c \; + find . -name "Makefile*" -exec $scriptDir/replace_header.sh {} python \; ...
bash
d_bash_9153
--- +++ @@ -33,3 +33,6 @@ asdf plugin-add golang asdf install golang 1.13.4 asdf global golang 1.13.4 + +asdf plugin-add java https://github.com/halcyon/asdf-java.git +asdf install java adopt-openjdk-13.0.2+8
bash
d_bash_9154
--- +++ @@ -4,13 +4,13 @@ rm -Rf tmp-deploy mkdir tmp-deploy cp -R .git tmp-deploy -cp -R app tmp-deploy +cp -R app/* tmp-deploy cd tmp-deploy git add . git commit --allow-empty-message -m "" git remote add ourikas git@github.com:Ourikas/ourikas.github.io.git git push ourikas :master -git subtree push --prefi...
bash
d_bash_9155
--- +++ @@ -16,7 +16,7 @@ cp CppLispDebugger/libFuelDebugger.* . mkdir Library cp ../Library/fuellib.fuel Library -strip fuel +#strip fuel zip -u fuel-lang-android-$ANDROID_ABI-bin.zip fuel libFuelInterpreter.* libFuelDebugger.* Library/fuellib.fuel echo *** Build fuel without shared libraries *** cd CppLisp @@...
bash
d_bash_9156
--- +++ @@ -2,4 +2,4 @@ python3 ../src/m_play/manage.py collectstatic sudo /etc/init.d/nginx restart cd ../src/m_play/ -uwsgi --socket :8001 --module m_play.wsgi:application --chmod-socket=664 +uwsgi --ini m_play_uwsgi.ini
bash
d_bash_9157
--- +++ @@ -21,7 +21,7 @@ # go to run-dir mkdir -p $RUNDIR -cp run_RooFitMPworkspace20190114.conf $RUNDIR/workspace_benchmark.conf +cp $BASERUNDIR/run_RooFitMPworkspace20190114.conf $RUNDIR/workspace_benchmark.conf cd $RUNDIR function start_run() {
bash
d_bash_9158
--- +++ @@ -3,15 +3,26 @@ set -e cd "$(readlink -f "$(dirname "$0")/..")" - -find "$PWD/po" -type f -name '*.po' | \ -while read po_file; do - language="$(basename "$po_file")" +update_mo(){ + echo $1 + language="$(basename "$1")" language="${language%.po}" target="$PWD/share/locale/$language/LC_MESSAGES/isod...
bash
d_bash_9159
--- +++ @@ -5,6 +5,7 @@ DST_DIR=$HERE/src/traffic/messages mkdir -p $DST_DIR +touch $DST_DIR/__init__.py for proto in ${SRC_DIR}/*.proto ; do protoc -I=$SRC_DIR --python_out=$DST_DIR ${proto}
bash
d_bash_9160
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +command="/usr/lib/postgresql/9.3/bin/postgres -D "$DATA_DIRECTORY" -c config_file=/etc/postgresql/9.3/main/postgresql.conf" if [[ "$1" == "--initialize" ]]; then chown -R postgres:postgres "$DATA_DIRECTORY" @@ -11,8 +13,23 @@ /etc/init.d/postgresql stop COMMANDS -...
bash
d_bash_9161
--- +++ @@ -16,4 +16,4 @@ ${PKG_MGR} install -y ansible curl bzip2 deltarpm gcc git kernel-devel kernel-headers make net-tools nfs-utils orca perl sqlite-devel sudo tar wget yum-utils zlib-devel # The remaining packages are GPII Framework dependencies - https://github.com/gpii/linux -${PKG_MGR} install -y glib2-d...
bash
d_bash_9162
--- +++ @@ -14,7 +14,7 @@ mkdir repo/github cd repo/github -sudo apt-get install git +sudo apt-get install git htop clang git clone https://github.com/severalgh/scripts.git
bash
d_bash_9163
--- +++ @@ -19,12 +19,12 @@ mkdir libindy-zip/lib cp -r ./include ./libindy-zip cp ./target/release/*.dll ./libindy-zip/lib/ -powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('libindy-zip', 'libindy-$version.zip'); }" +pow...
bash
d_bash_9164
--- +++ @@ -19,7 +19,7 @@ #run minia on converted file #./minia input kmer_length min_abundance estimated_genome_size prefix - ${RESOURCES_ARTIFACTS_MINIA_EXECUTABLE} ${TEMPFILE} 25 3 3000000000 unused + ${RESOURCES_ARTIFACTS_MINIA_EXECUTABLE}/minia ${TEMPFILE} 25 3 3000000000 unused # copy minia output f...
bash
d_bash_9165
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -### Manage the (developer) software on your Mac with one command. +### Manage the (developer) software on your Mac with this command. ### @bbaassssiiee ### https://github.com/bbaassssiiee/developer_mac
bash
d_bash_9166
--- +++ @@ -4,7 +4,7 @@ OUTPUTFILE=$(tempfile) -rspec spec-unit | tee "$OUTPUTFILE" +bundle exec rspec spec-unit | tee "$OUTPUTFILE" cat "$OUTPUTFILE" | grep ', 0 failures' || exit 1 exit
bash
d_bash_9167
--- +++ @@ -18,7 +18,7 @@ set -x # check the remote has been added git checkout -b latest-release v"$VERSION_TAG" - git push --f deploy-latest-release latest-release + git push --force deploy-latest-release latest-release echo "Pushed latest-release branch to GitHub" else echo "Not updating the late...
bash
d_bash_9168
--- +++ @@ -2,6 +2,7 @@ if [[ "TRAVIS_PULL_REQUEST" != false ]]; then + cd Example/ bundle install bundle exec fastlane test exit $?
bash
d_bash_9169
--- +++ @@ -19,7 +19,7 @@ # Set up calculation. echo "Setting up binding free energy calculation..." -yank prepare binding amber --setupdir=setup --ligand="resname BEN" --store=output --iterations=$NITERATIONS --nbmethod=CutoffPeriodic --temperature="300*kelvin" --pressure="1*atmospheres" --minimize --verbose +ya...
bash
d_bash_9170
--- +++ @@ -4,7 +4,7 @@ ### Ignore this test if there are no relevant changes cd ${CMLE_REPO_DIR}/${CMLE_TEST_BASE_DIR} -if [[-z `git diff $KOKORO_GITHUB_PULL_REQUEST_COMMIT ${KOKORO_GITHUB_PULL_REQUEST_COMMIT}~1 $PWD`]] +if [ -z `git diff $KOKORO_GITHUB_PULL_REQUEST_COMMIT ${KOKORO_GITHUB_PULL_REQUEST_COMMIT}~1 ...
bash
d_bash_9171
--- +++ @@ -9,4 +9,4 @@ FILTER_QUERY="?$(join "||" $FILTER_ID $FILTER_DOMAIN $FILTER_STATUS $FILTER_ALIAS)" fi -awscli cloudfront list-distributions --output table --query "DistributionList.Items[$FILTER_QUERY].{\"1.Id\": Id, \"2.DomainName\": DomainName, \"3.Status\": Status, \"4.Enabled\":Enabled, \"5.Price...
bash
d_bash_9172
--- +++ @@ -1,8 +1,6 @@ #!/usr/bin/env bash -printenv - -if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version(\/noid)?\/([0-9.]+) ]]; then +if [[ -n ${DRONE_SOURCE_BRANCH} && ! ${DRONE_SOURCE_BRANCH} =~ version(\/noid)?\/([0-9.]+) ]]; then echo "Skip CA bundle check" exit 0 fi
bash
d_bash_9173
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -e - +composer update php makephar.php [ -d JSON.sh ] || git clone https://github.com/dominictarr/JSON.sh
bash
d_bash_9174
--- +++ @@ -4,14 +4,7 @@ qemu) exit 0 ;; esac -major_version="`uname -r | awk -F. '{print $1}'`"; - -if [ "$major_version" -eq 10 ]; then - ZROOT="zroot" -else - ZROOT="zroot/ROOT/default" -fi - +ZROOT="zroot/ROOT/default" COMPRESSION=$(zfs get -H compression $ZROOT | cut -f3); zfs set compression=off $ZR...
bash
d_bash_9175
--- +++ @@ -34,4 +34,4 @@ rsync -azP systemd $HOME/.config/ # copy background updater -sudo cp backgrounds/change_background.sh /etc/cron.hourly +sudo cp backgrounds/change_background.sh /usr/bin/change_background.sh
bash
d_bash_9176
--- +++ @@ -18,7 +18,7 @@ source "${VENV_DIR}"/bin/activate if [ ! -d "${VENV_DIR}"/lib/python2.7/site-packages/mapnik ]; then - ln -s "$MAPNIK_DIR" "${VENV_DIR}"/lib/python2.7/site-packages/ + ln -s "$MAPNIK_DIR" "${VENV_DIR}"/lib/python2.7/site-packages/mapnik fi DEV_FILE='dev-requirements.txt'
bash
d_bash_9177
--- +++ @@ -5,8 +5,8 @@ cd $CRAZY_MONKEY_HOME && /bin/bash ./reset_vpn.sh # Git update and build -#echo "[Crazy Monkey] Update the crazy monkey code..." -#cd $CRAZY_MONKEY_HOME && git pull +echo "[Crazy Monkey] Update the crazy monkey code..." +cd $CRAZY_MONKEY_HOME && git pull echo "[Crazy Monkey] Build the p...
bash
d_bash_9178
--- +++ @@ -3,8 +3,8 @@ # host=s3://dev.mockbrian.com/squiggle # host=s3://mockbrian.com/squiggle -host=s3://dev.squiggle-lang.org -# host=s3://squiggle-lang.org +# host=s3://dev.squiggle-lang.org +host=s3://squiggle-lang.org ./bin/build-js.sh
bash
d_bash_9179
--- +++ @@ -3,6 +3,14 @@ "--numprocesses=$NIX_BUILD_CORES" "--forked" ) + + # Using --forked on darwin leads to crashes when fork safety is + # enabled. This often happens when urllib tries to request proxy + # settings on MacOS through `urllib.request.getproxies()` + # - https://gi...
bash
d_bash_9180
--- +++ @@ -1,15 +1,15 @@ # Extra kernel image for AUFS -apt-get install -y linux-image-extra-$(uname -r) +apt-get -y install "linux-image-extra-4.*" -apt-get install -y apt-transport-https ca-certificates +apt-get -y install apt-transport-https ca-certificates apt-key adv --keyserver hkp://p80.pool.sks-keyserver...
bash
d_bash_9181
--- +++ @@ -2,6 +2,12 @@ cd /home/deploy/Env/logtacts/ source bin/activate cd /home/deploy/logtacts/ +source .env git pull --rebase pip install -r requirements.txt kill -HUP `cat /tmp/logtacts-master.pid` +curl https://intake.opbeat.com/api/v1/organizations/$OPBEAT_ORG_ID/apps/$OPBEAT_APP_ID/releases/ \ +    -H...
bash
d_bash_9182
--- +++ @@ -30,7 +30,7 @@ fi outputfile=output.txt -sysapi=${sysurl}/v2/rest/provider/ +sysapi=${sysurl}/v2/rest/query/ echo "Pushing registered query $filename to sysytem API via ${sysapi}" echo -n "" > $outputfile
bash
d_bash_9183
--- +++ @@ -14,3 +14,5 @@ rsync -av --progress -h --exclude-from=$HOME/.cvsignore \ gconf/apps/dockbarx/%gconf.xml \ $HOME/.gconf/apps/dockbarx/%gconf.xml + +sed -i -E "s|/home/[[:alnum:]]+/|$HOME/|g" $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
bash
d_bash_9184
--- +++ @@ -3,5 +3,5 @@ mkdir build ; pushd build cmake .. -make -j +make -j 1 popd
bash
d_bash_9185
--- +++ @@ -24,3 +24,4 @@ fi cp deployments/bits-service-release.yml ../manifests/manifest-$VERSION.yml +cp deployments/bits-service-release.yml ../manifests/manifest.yml
bash
d_bash_9186
--- +++ @@ -3,21 +3,21 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" - ./gradlew build + ./gradlew --stacktrace build elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then echo -e 'Build Branch with Sna...
bash
d_bash_9187
--- +++ @@ -11,6 +11,7 @@ pip install mopidy-tunein==0.1.3 pip install mopidy-youtube==1.0.2 pip install mopidy-spotify-web==0.3.0 +pip install https://github.com/pimusicbox/mopidy-websettings/zipball/develop # Reckless hack for playlists not appearing issue. sed -i '175s/^/#/' /usr/local/lib/python2.7/dist-pa...
bash
d_bash_9188
--- +++ @@ -25,7 +25,7 @@ # Approx memory per grid process export MEM_PER_RUN=8 -export MAX_CPU_PER_GRID=$(($MEM_GB/$MEM_PER_RUN)) +export MAX_GRID_CPU=$(($MEM_GB/$MEM_PER_RUN)) export MAX_VIVADO_PROCESS=$(($MEM_GB/$MEM_PER_RUN)) echo
bash
d_bash_9189
--- +++ @@ -11,5 +11,7 @@ mkdir VDrumExplorer-$version cp ../VDrumExplorer.Wpf/bin/Release/net472/* VDrumExplorer-$version cp ../td17.vdrum VDrumExplorer-$version +cp ../LICENSE* VDrumExplorer-$version +cp ../README.md VDrumExplorer-$version zip -r VDrumExplorer-$version.zip VDrumExplorer-$version cd ..
bash
d_bash_9190
--- +++ @@ -24,7 +24,13 @@ cd $WORKSPACE/repo rvm use 2.2.2 -gem install kitchen-joyent + +if ! grep -q "kitchen-joyent" Gemfile +then + echo "gem 'kitchen-joyent', '~> 0.2.2'" >> Gemfile + bundle install +fi + if [ -f Thorfile ]; then bundle exec thor test:kitchen else
bash
d_bash_9191
--- +++ @@ -8,14 +8,6 @@ # NOTE: it is intentional to omit the .git dir mkdir wu && cp -r ../../modules/wu/* wu || exit 1 -# stamp package.json with original time -cd wu && -REV=$(git rev-list -n 1 HEAD 'package.json') \ -STAMP=$(git show --pretty=format:%ai --abbrev-commit "$REV" | head -n 1) \ -touch -d "$STAMP...
bash
d_bash_9192
--- +++ @@ -4,12 +4,12 @@ # to the current Travis number so that the 'build number' in # x.y.z-<build number> is zero. jhrg 3/22/21 -OLFS_VERSION=1.18.11 -TRAVIS_OLFS_BUILD_OFFSET=1456 +OLFS_VERSION=1.18.12 +TRAVIS_OLFS_BUILD_OFFSET=1459 echo "OLFS_VERSION: ${OLFS_VERSION}" echo "TRAVIS_OLFS_BUILD_OFFSET: ${TRA...
bash
d_bash_9193
--- +++ @@ -1,6 +1,6 @@ #VERSION=`curl -s https://dotnetcli.blob.core.windows.net/dotnet/master/dnvm/latest.sharedfx.ubuntu.16.04.arm.version | tr -d '\r' | tail -1` -VERSION=2.0.0-beta-001663-00 +VERSION=2.0.0-beta-001915-00 docker build --build-arg VERSION=$VERSION -t sceneskope/armv7-dotnet . docker tag scene...
bash
d_bash_9194
--- +++ @@ -2,29 +2,6 @@ set -e -<<<<<<< HEAD -SCRATCH=/tmp/Downloads - -set_up () { - trap tear_down EXIT - if [[ -d "${SCRATCH}" ]]; then - rm -rf ${SCRATCH}/* - else - mkdir ${SCRATCH} - fi - cd ${SCRATCH} -} - -tear_down () { - if [[ -d "${SCRATCH}" ]]; then - rm -rf ...
bash
d_bash_9195
--- +++ @@ -1,17 +1,13 @@ #!/bin/bash -xue function install_deb { - sudo aptitude install -y python-dev libffi-dev python-pip; + sudo aptitude install -y python-dev libffi-dev } function install_centos { - sudo yum -y install python-devel libffi-devel; - # pip is not in the standard repo - sudo...
bash
d_bash_9196
--- +++ @@ -1,6 +1,6 @@ #! /usr/bin/env bash -echo $AWS_BUCKET +npm rebuild echo ">> Starting server..."
bash
d_bash_9197
--- +++ @@ -4,5 +4,5 @@ REVISION=`git rev-parse --abbrev-ref HEAD` if [ "$REVISION" == "master" ]; then - git push origin gh-pages + git push --force origin gh-pages fi
bash
d_bash_9198
--- +++ @@ -17,7 +17,7 @@ export HAPROXY=/usr/local/sbin/haproxy if [[ "x$KEY" != "x" ]]; then - echo $KEY $CERT > /usr/local/etc/haproxy/haproxy.pem + echo $CERT $KEY > /usr/local/etc/haproxy/haproxy.pem fi $SCORCH -e $TEMPLATE > $CONFFILE
bash
d_bash_9199
--- +++ @@ -33,8 +33,6 @@ cd $TRAVIS_BUILD_DIR fi -docker version - mvn install -DcreateJavadoc=true -Pbuild-docker-image,run-tests >> $BUILD_OUTPUT 2>&1 # The build finished without returning an error so dump a tail of the output
bash