document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_14800
--- +++ @@ -3,6 +3,6 @@ pwd ls -l cp 2 "${HOME}/Library/Application Support/BibleAppNW/databases/file__0/1" -cp 2 $HOME/BibleApp/BibleAppCLI/www/WEB.word1 +cp 2 $HOME/BibleApp/BibleAppCLI/www/WEB.db1 -echo "Remember to delete the copy of WEB.word1 in simulator's Library/LocalDatabase/Web.word1" +echo "Remember t...
bash
d_bash_14801
--- +++ @@ -1,3 +1,5 @@ +npm_global="bower yo gulp grunt-cli react-native" + brew install nvm export NVM_DIR=~/.nvm @@ -7,24 +9,11 @@ source $(brew --prefix nvm)/nvm.sh -nvm install 0.12 -nvm install 4 -nvm install latest - -nvm use 0.12 -npm update -g npm -npm install -g bower yo gulp grunt-cli - -nvm use 4...
bash
d_bash_14802
--- +++ @@ -7,6 +7,7 @@ set -e mkdir -p target/doc +./mach bootstrap-rust cp -R rust/doc/* target/doc/ cp etc/doc.servo.org/* target/doc/ ./mach doc # After copying rust/doc, so that the crate index is correct
bash
d_bash_14803
--- +++ @@ -9,7 +9,7 @@ module=`echo "${Module}" | tr '[:upper:]' '[:lower:]'` BUILD_DIR=`pwd`/.build export PATH="${BUILD_DIR}/gir2swift/.build/release:${BUILD_DIR}/gir2swift/.build/debug:${PATH}" -LINKFLAGS=`pkg-config --libs $module gio-unix-2.0 glib-2.0 | tr ' ' '\n' | sed 's/^/-Xlinker /' | tr '\n' ' '` +LINK...
bash
d_bash_14804
--- +++ @@ -3,3 +3,7 @@ # First copy Lasfiles from Google drive unzip ./Lasfiles.zip +#Rename to remove spaces for simplicity +mv ./Lasfiles/Penobscot\ B-41\ LASOut_W4.las ./Lasfiles/Penobscot_B-41_LASOut_W4.las +mv ./Lasfiles/Penobscot\ L-30\ LASOut_W7.las ./Lasfiles/Penobscot_L-30_LASOut_W7.las +
bash
d_bash_14805
--- +++ @@ -5,7 +5,7 @@ TIMEOUT_ITERARION=5 for i in {1..${MAX_ITERATIONS}}; do - STATUS=`docker exec -t gallant_jepsen jitterbit status` + STATUS=`docker exec -t jitterbit_test jitterbit status` echo "Checking service status ..." echo "${STATUS}" ASSERT=`echo "${STATUS}" | grep "All services...
bash
d_bash_14806
--- +++ @@ -22,3 +22,16 @@ git commit -m "Add dist files for ${release_series}${current_release}" git tag -s ${release_series}${current_release} -m "Release ${release_series}${current_release}" +git update-ref refs/heads/latest HEAD + +cat <<EOF +Created a tag and updated branch latest +If all looks good, you can...
bash
d_bash_14807
--- +++ @@ -1,4 +1,5 @@ #!/bin/bash +set -o errexit if [ `whoami` == "root" ] then
bash
d_bash_14808
--- +++ @@ -7,7 +7,14 @@ compile() { cmake -H. -Bbuild -DPLATFORM=$PLATFORM -DCOVERAGE=$COVERAGE -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/${PLATFORM}.cmake - return $((eval "$COMPILE_PREFIX cmake --build build")) + local comm + comm="$COMPILE_PREFIX cmake --build build" + # remove leading whitespace...
bash
d_bash_14809
--- +++ @@ -15,7 +15,7 @@ # limitations under the License. # -if [ "${TEST_TYPE}" = "fidelity" ] || [ "${TRAVIS_PULL_REQUEST_BRANCH}" = "master" ]; then +if [[ "${TEST_TYPE}" = "fidelity" || ("${TRAVIS_BRANCH}" = "master" && "${TRAVIS_PULL_REQUEST}" = "false") ]]; then npm run build npm run check-fidelity ...
bash
d_bash_14810
--- +++ @@ -5,7 +5,7 @@ FILE_ROOT="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" -salt-call --local --file-root=$FILE_ROOT/ --log-level=info state.sls default.minimal ||: +salt-call --local --file-root=$FILE_ROOT/ --log-level=quiet --output=quiet state.sls default.minimal ||: NEXT_TRY=0 until [ $NEXT_T...
bash
d_bash_14811
--- +++ @@ -10,7 +10,7 @@ $CURRENTDIR/Etymology/Etymology.sh $CURRENTDIR/Acronyms/Acronyms.sh $CURRENTDIR/Parts_of_speech/PartsOfSpeech.sh -$CURRENTDIR/Pronunciation/Pronunciatiom.sh +$CURRENTDIR/Pronunciation/Pronunciation.sh $CURRENTDIR/Rhyming/Rhyming.sh $CURRENTDIR/Sign_language/Signlanguage.sh $CURRENTDIR/...
bash
d_bash_14812
--- +++ @@ -4,7 +4,7 @@ git pull origin master; function doIt() { - rsync --exclude "init" --exclude ".idea" --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "Brewfile" --exclude "Caskfile" --exclude ".osx" --exclude "README.md" -avh . ~; + rsync --exclude "init" --exclude ".idea" --excl...
bash
d_bash_14813
--- +++ @@ -9,4 +9,9 @@ # oh-my-zsh plugins plugins=(archlinux bower bundler coffee composer gem git golang heroku laravel5 node npm nvm pip rails rake rbenv systemd ubuntu vagrant) +# Add brew plugin on OS X +if [ "$OSTYPE" = darwin* ];then + plugins+=(brew) +fi + source $ZSH/oh-my-zsh.sh
bash
d_bash_14814
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="19.03.9" +version="19.03.11" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_14815
--- +++ @@ -7,5 +7,5 @@ export NODE_HOSTNAME="${NODE_OS_DISTRO}-worker04" export NODE_ADDRESS="${NODE_ADDRESS_PREFIX}.124" -export NODE_ADDITIONAL_DISKS='10 10' +export NODE_ADDITIONAL_DISKS='80 80' export NODE_USERDATA=${env_dir}/../userdata/${NODE_OS_DISTRO}-worker04.yaml
bash
d_bash_14816
--- +++ @@ -5,6 +5,9 @@ RKT_VERSION="v1.0.0" DEST_DIR="/usr/local/bin" +sudo mkdir -p /etc/rkt/net.d +echo '{"name": "default", "type": "ptp", "ipMasq": false, "ipam": { "type": "host-local", "subnet": "172.16.28.0/24", "routes": [ { "dst": "0.0.0.0/0" } ] } }' | sudo tee -a /etc/rkt/net.d/99-network.conf + wget...
bash
d_bash_14817
--- +++ @@ -12,4 +12,4 @@ BUILD_DIR="$PWD"/build pushd build -rpmbuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" -ts "${TARBALL}" --define "_topdir ." --with server +rpmbuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" -ts "...
bash
d_bash_14818
--- +++ @@ -9,6 +9,7 @@ NODE=node RUBY=ruby DART=dart +PYTHON3=python # Pre-Test Setup rm -f $TEST_RESULTS_FILE || true @@ -31,3 +32,4 @@ testlang "JavaScript" "Node.JS $($NODE -v)" "$NODE tests/benchmark_loop.js" testlang "Ruby" "$($RUBY -v)" "$RUBY tests/benchmark_loop.rb" testlang "Dart" "$(dart --versio...
bash
d_bash_14819
--- +++ @@ -12,8 +12,11 @@ # # This script validates headers and relative links in documentation markdown files -# +# and verifies markdown is buildable by jekyll SCRIPT_DIR=$(cd "$( dirname "$( readlink "$0" || echo "$0" )" )"; pwd) GOPATH="${SCRIPT_DIR}" go run "${SCRIPT_DIR}/src/alluxio.org/check-docs/ma...
bash
d_bash_14820
--- +++ @@ -14,6 +14,8 @@ then echo "$DYLIB was not found in $LWS_DYNAMIC_LIB" echo "Building libwebsockets" + git submodule init + git submodule foreach git pull origin master mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX:"PATH=$LWS_DYNAMIC_LIB_DIR" ../lib/libwebsockets
bash
d_bash_14821
--- +++ @@ -3,7 +3,7 @@ set -Eeuxo pipefail cd "$( dirname "${BASH_SOURCE[0]}" )/.." -release=$(echo cci-$1-${CIRCLE_SHA1}| cut -c 1-50) +release=$(echo cci-${date +%s}-$1-${CIRCLE_SHA1}| cut -c 1-50) function cleanup { helm del --tiller-namespace helm-ci --purge ${release}
bash
d_bash_14822
--- +++ @@ -3,21 +3,21 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" - ./gradlew build jacoco coveralls + ./gradlew build jacocoTestReport coveralls elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then ...
bash
d_bash_14823
--- +++ @@ -4,7 +4,7 @@ ############################################################################### # For tmux projects -gem install tmuxinator +gem install tmuxinator -v 1.1.5 # Python Packages ###############################################################################
bash
d_bash_14824
--- +++ @@ -2,15 +2,15 @@ if [ "$(ls -A $INSPECTIT_CONFIG_HOME)" ]; then echo "Using existing inspectIT configuration..." else - echo "No custom inspectIT configuration found, using default one..." - cp -r $INSPECTIT_CONFIG_HOME/../config/* $INSPECTIT_CONFIG_HOME - CMR_ADDR=${INSPECTIT_CMR_ADDR:-$CMR_PORT_9070_TC...
bash
d_bash_14825
--- +++ @@ -33,7 +33,8 @@ # Miscellaneous pip_install 'required Python libraries' pyyaml cython -install 'hdf5' libhdf5-7 +install 'hdf5' libhdf5-7 libhdf5-dev +pip_install 'h5py' h5py pip_install 'ipython' ipython pip_install 'jupyter' jupyter install 'matplotlib' matplotlib
bash
d_bash_14826
--- +++ @@ -5,7 +5,7 @@ } function get_until_paren { - awk 'match($0, "\\("){ print substr($0, 0, RSTART - 1) }' + awk 'match($0, "\\(|$"){ print substr($0, 0, RSTART - 1) }' } DISKS="`diskutil list | grep '^\/' | get_until_paren`"
bash
d_bash_14827
--- +++ @@ -11,5 +11,6 @@ # Replace the placeholder with the db pw for the environment executeSSH "sed -i \"s/@DB_PASSWORD/$DB_PASSWORD/g\" $APPROOT/deploy/backend/config/db.php" > /dev/null +executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft project-config/apply" executeSSH "APPENV=$ENV $D...
bash
d_bash_14828
--- +++ @@ -10,9 +10,12 @@ cd snippets-config set -u -for DEPLOYMENT_YAML in deploy.yaml clock-deploy.yaml; do - sed -i -e "s|image: .*|image: ${DOCKER_IMAGE_TAG}|" ${CLUSTER_NAME:=oregon-b}/${NAMESPACE:=snippets-dev}/${DEPLOYMENT_YAML} - git add ${CLUSTER_NAME}/${NAMESPACE}/${DEPLOYMENT_YAML} +for DEPLOYME...
bash
d_bash_14829
--- +++ @@ -1,3 +1,5 @@ +ps aux | grep App +# Kill old process vapor build --release -#sudo supervisorctl restart debuggedpodcast -#.build/release/App serve --env=production & +# probably rm Data/database.sqlite +.build/release/App serve --env=production &
bash
d_bash_14830
--- +++ @@ -10,7 +10,7 @@ # /usr/local/ruby. PREFIX=$(pwd) -JAVA=/usr/local/java/default/bin/java +JAVA=/usr/java/default/bin/java echo "Installing the entire wmt stack in:" echo ""
bash
d_bash_14831
--- +++ @@ -9,16 +9,15 @@ python3 -m venv venv fi -deactivate || true source venv/bin/activate -pip install --user -r requirements.txt +pip install -r requirements.txt -t lib # Zip the lambda zip -9 lambda.zip main.py # Zip the dependencies -cd venv/lib/python3.6/site-packages/ -zip -r9 ../../../../la...
bash
d_bash_14832
--- +++ @@ -2,7 +2,7 @@ tools/build.bat -if [ ! -d "Assemblies" ]; then +if [ ! -f "Assemblies/CraftingHysteresis.dll" ]; then echo FAIL exit fi
bash
d_bash_14833
--- +++ @@ -6,7 +6,7 @@ exit 0 fi -if ! $(dirname "$BASH_SOURCE")/detect-functional-changes.sh +if ! $(dirname "$BASH_SOURCE")/has-functional-changes.sh then echo "No need for a version update." exit 0 @@ -24,7 +24,7 @@ exit 1 fi -if ! $(dirname "$BASH_SOURCE")/detect-functional-changes.sh ...
bash
d_bash_14834
--- +++ @@ -2,7 +2,7 @@ main() { source grpc_docker.sh - test_cases=(large_unary empty_unary client_streaming server_streaming service_account_creds compute_engine_creds) + test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming service_account_creds compute_engine_creds) clients=(c...
bash
d_bash_14835
--- +++ @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/sh libdir="$1" binary_version="$2"
bash
d_bash_14836
--- +++ @@ -7,7 +7,7 @@ if [[ $DEPLOY_DOCS == 1 ]] then pip install doctr - doctr deploy --gh-pages-docs "/" --deploy-repo "cesium-ml/docs" + doctr deploy --gh-pages-docs '.' --deploy-repo "cesium-ml/docs" else echo "-- will only push docs from master --" fi
bash
d_bash_14837
--- +++ @@ -1,12 +1,18 @@ include base.vars.BaseVars include file.io.util.FileIOUtil +include file.name.util.FileNameUtil include props.validator.PropsValidator PropsWriter(){ _setProps(){ + if [[ ! -e ${1} ]]; then + local propsFile=$(FileUtil + makeFile $(FileNameUtil getPath nix ${1})) + fi + ...
bash
d_bash_14838
--- +++ @@ -5,4 +5,4 @@ # Make sure that the python here is the anaconda python if that is not the one in the path -PYTHONPATH=. python $* +PYTHONPATH=. python "$@"
bash
d_bash_14839
--- +++ @@ -4,8 +4,8 @@ AWS_PROFILE=${3:-coreos-cluster} ASG=${1:-etcd} -EC2_IDS=$(aws --profile $PROFILE autoscaling describe-auto-scaling-groups \ - --region $REGION --auto-scaling-group-name $ASG \ +EC2_IDS=$(aws --profile $AWS_PROFILE autoscaling describe-auto-scaling-groups \ + --region $AWS_RE...
bash
d_bash_14840
--- +++ @@ -1,32 +1,6 @@ #### List current git config settings git config -l - - -#### push.default - -# Push the current branch to a remote branch of the same name without specifying -# either the remote or branch name. -# Example: git push -# You must supply the -u option and both remote and branch names the ...
bash
d_bash_14841
--- +++ @@ -5,7 +5,7 @@ set -x git log -git fetch gh-pages +git fetch origin gh-pages git checkout gh-pages git log git merge master
bash
d_bash_14842
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -set -ev +#set -ev version=${DEV_RESOURCES_VERSION:=1.0} echo -e "Pull or build dev-resources-${version}.jar..."
bash
d_bash_14843
--- +++ @@ -8,20 +8,5 @@ export PRUNING=false export SYSTEM_MODEL=prop_partisan_zraft -# echo "Performing static analaysis [checkout] ..." -# IMPLEMENTATION_MODULE=${MODULE} bin/partisan-analysis.escript _checkouts/zraft_lib/src/zraft_consensus.erl - -# echo "Performing static analaysis [build] ..." -# IMPLEMENTA...
bash
d_bash_14844
--- +++ @@ -16,6 +16,6 @@ alias ql="qlmanage -p >/dev/null 2>&1" # Open a file in quick look alias dce="docker-compose exec" # Run a command in a given service -alias dcr="docker-compose restart" # Restart a given service +alias dcr="docker-compose run --rm" # Run a one off command in a cont...
bash
d_bash_14845
--- +++ @@ -3,3 +3,5 @@ echo "installing ruby gems" gem install jekyll gem install github-pages + +echo "cd /vagrant" >> /home/vagrant/.bashrc
bash
d_bash_14846
--- +++ @@ -5,6 +5,7 @@ version=$(jq -r '.version' $MANIFEST) icons=$(jq -r '.icons[]' $MANIFEST) +toolbar_icons="resources/disabled_32x32.png resources/enabled_32x32.png" content_scripts=$(jq -r '.content_scripts[].js[]' $MANIFEST) background_scripts=$(jq -r '.background.scripts[]' $MANIFEST) web_accessible_r...
bash
d_bash_14847
--- +++ @@ -6,9 +6,7 @@ SaveUserName=${SaveUserName//"="/".equal."} SaveUserName=${SaveUserName//","/".comma."} SaveUserName=${SaveUserName//"@"/".at."} - if id -u "$SaveUserName" >/dev/null 2>&1; then - echo "$SaveUserName exists" - else + if ! id -u "$SaveUserName" >/dev/null 2>&1; then #sudo wi...
bash
d_bash_14848
--- +++ @@ -17,6 +17,9 @@ mkdir -p prereqs && pushd prereqs +get_it zlib-1.2.8 http://zlib.net/zlib-1.2.8.tar.gz +get_it libpng-1.6.3 http://download.sourceforge.net/libpng/libpng-1.6.3.tar.gz + sdlproj=http://www.libsdl.org/projects get_it SDL2-2.0.0 http://www.libsdl.org/release/SDL2-2.0.0.tar.gz
bash
d_bash_14849
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash set -euxo pipefail -if [ ! -d "$HOME/.anyenv" ]; then +if [[ ! -d "$HOME/.anyenv" ]]; then git clone https://github.com/riywo/anyenv "$HOME/.anyenv" fi if ! grep -q anyenv "$HOME/.bashrc"; then @@ -13,12 +13,12 @@ set +x eval "$(anyenv init - --no-rehash)" set -x -if [ ! ...
bash
d_bash_14850
--- +++ @@ -1,5 +1,8 @@ -export EDITOR='subl -w' +type -P vi &>/dev/null && export EDITOR='vi' +type -P vim &>/dev/null && export EDITOR='vim' +type -P subl &>/dev/null && export EDITOR='subl -w' +type -P atom &>/dev/null && export EDITOR='atom --wait' # your projects folder export WORKS=~/Works
bash
d_bash_14851
--- +++ @@ -1,3 +1,2 @@ #!/usr/bin/env bash -stack --nix install happy stack --nix build --fast --ghc-options="-j +RTS -A128m -n2m -RTS"
bash
d_bash_14852
--- +++ @@ -25,3 +25,7 @@ color-picker \ editorconfig \ imdone-atom + +# npm config +# use user path, not install path +npm config set prefix '~/npm/'
bash
d_bash_14853
--- +++ @@ -1,3 +1,8 @@ +#!/bin/bash +# -e: script exits as soon as a command returns a non-zero exit code +# -v: verbose. +set -ev + # Run the utils scripts # Output isn't verified, this is just a quick test to ensure they can run
bash
d_bash_14854
--- +++ @@ -6,13 +6,13 @@ } trap cleanup EXIT -BTCD=copied-artifacts/src/omnicored +OMNICORED=copied-artifacts/src/omnicored DATADIR=$HOME/.bitcoin LOGDIR=logs -MSCLOG=/tmp/mastercore.log +OMNILOG=/tmp/omnicore.log # Assume omnicored built elsewhere and copied by Jenkins Copy Artifact plugin -chmod +x $BTCD ...
bash
d_bash_14855
--- +++ @@ -12,11 +12,13 @@ fi tag="nuget-$version" +commit_hash=$(git rev-parse @) +metadata="$commit_hash" dotnet pack src/rm.Extensions/rm.Extensions.csproj \ -c Release \ --include-symbols //p:SymbolPackageFormat=snupkg \ -o .nupkg/ \ - //p:PackageVersion="$version" \ + //p:PackageVersion="$version+$...
bash
d_bash_14856
--- +++ @@ -3,6 +3,10 @@ IFS=$'\n\t' BUILD_TYPE=${BUILD_TYPE:-'dev'} +if [ "$BUILD_TYPE" != 'dev' -a "$BUILD_TYPE" != 'minimized' ]; then + echo 'BUILD_TYPE must be one of "dev" or "minimized"'; + exit 1; +fi BUILD_PATTERN=${1:-} if [[ -z "$BUILD_PATTERN" ]]; then
bash
d_bash_14857
--- +++ @@ -20,6 +20,7 @@ then curl https://bootstrap.pypa.io/get-pip.py > get-pip.py python get-pip.py + rm get-pip.py fi pip install -U pip @@ -39,4 +40,5 @@ supervisor_path="/etc/supervisor/conf.d/" if [ -d "$supervisor_path" ]; then echo "$supervisor_configuration" > $supervisor_path/unic...
bash
d_bash_14858
--- +++ @@ -7,7 +7,7 @@ exit 1 } -VERSION=1.15.0 +VERSION=1.15.1 BINARY="http://www.makemkv.com/download/makemkv-bin-${VERSION}.tar.gz" SOURCE="http://www.makemkv.com/download/makemkv-oss-${VERSION}.tar.gz" PACKAGES="sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev l...
bash
d_bash_14859
--- +++ @@ -5,7 +5,7 @@ array_0_12='0'; array_4_2='4 argon'; -array_5_2='5 latest'; +array_5_3='5 latest'; cd $(cd ${0%/*} && pwd -P);
bash
d_bash_14860
--- +++ @@ -11,7 +11,7 @@ pushd pylith_installer && \ autoreconf --install --verbose && \ - ./configure --prefix=${DEPS_DIR} --disable-cppunit --enable-numpy --disable-proj4 --enable-hdf5 --enable-netcdf --disable-cmake --enable-netcdfpy --enable-nemesis --enable-fiat --with-fortran=no --with-make-threads=${MA...
bash
d_bash_14861
--- +++ @@ -23,7 +23,7 @@ ant -q test 2>&1 > ant-test.log RC=$? { - if grep -q "Testsuites with failed tests:"; then + if grep -q "Testsuites with failed tests:" ant-test.log; then for failed in $(awk 'failed == 1 { print $2 }; /Testsuites with failed tests:/ { failed=1 }' ant-test.log); do ...
bash
d_bash_14862
--- +++ @@ -2,6 +2,13 @@ set -e source /build/buildconfig set -x + +# PAM conflicts with users on Host machine! +# https://github.com/dotcloud/docker/issues/6345#issuecomment-46791228 +# This workaround is required temporarily, can be removed after +# Docker Hub kernel is upgraded or issue is fixed +export D...
bash
d_bash_14863
--- +++ @@ -8,4 +8,4 @@ xcodebuild -workspace MatrixSDK.xcworkspace/ -scheme MatrixSDK -sdk iphonesimulator -destination 'name=iPhone 4s' # Run CocoaPod lint in order to check pod submission -pod spec lint +pod lib lint
bash
d_bash_14864
--- +++ @@ -2,7 +2,22 @@ set -euo pipefail +usage() { echo "Usage: $0 [-s]" 1>&2; exit 1; } + SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) + +SUBSHELL=false +while getopts "s,subshell" o; do + case "${o}" in + s) + SUBSHELL=true + ;; + + *) + usage + ;; + esac +done # shellcheck disable=SC1090 source...
bash
d_bash_14865
--- +++ @@ -4,13 +4,8 @@ export GPG_TTY=$(tty) # Start the gpg-agent if not already running -if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 3>&1; then - gpg-connect-agent /bye >/dev/null 3>&1 -fi +gpg-connect-agent /bye >/dev/null 3>&1 # Set SSH to use gpg-agent unset SSH_AGENT_PID -export SSH_AUTH_SOCK="${...
bash
d_bash_14866
--- +++ @@ -15,3 +15,11 @@ git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add + +# Enable history search via arrow keys. +autoload -U up-line-or-beginning-search +autoload -U down-line-or-beginning-search +zle -N up-line-or-beginning-search +zle -N down-line-or-beginning...
bash
d_bash_14867
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash set -e -chown dokku:dokku $DOKKU_ROOT +chown -R dokku:dokku $DOKKU_ROOT getent group docker && groupmod -g $DOCKER_GID docker || groupadd -g $DOCKER_GID docker
bash
d_bash_14868
--- +++ @@ -1,3 +1,3 @@ #!/bin/bash -docker run -it --rm -v $PWD:/app -w /app/src/CodeRetreat microsoft/dotnet:1.1-sdk-projectjson bash +docker run -it --rm -v ${PWD}:/app -w /app/CodeRetreat.Tests microsoft/dotnet:2.0.0-sdk bash
bash
d_bash_14869
--- +++ @@ -2,5 +2,8 @@ curl -X POST --data-binary @knowledge.properties -H 'Content-Type:text/plain' http://localhost:8080/blazegraph/namespace rm -rf /data/nanopublications rm -rf /data/files +mkdir /data/nanopublications +mkdir /data/files +chown whyis:whyis /data/nanopublications /data/files #curl -X DELETE h...
bash
d_bash_14870
--- +++ @@ -23,7 +23,7 @@ if [ "$1" = "XC" ]; then echo "Cross-compiling" go get github.com/laher/goxc - $GOPATH/bin/goxc -t -wd=appstax + $GOPATH/bin/goxc -t -wd=appstax xc rm -rf .godeps/bin/appstax-xc/snapshot/.goxc-temp rm -rf .godeps/bin/appstax-xc/snapshot/downloads.md
bash
d_bash_14871
--- +++ @@ -11,6 +11,7 @@ # New commands alias reload='source ~/.zshrc' alias nombom='rm -rf node_modules bower_components && npm cache clean && bower cache clean && npm install && bower install' +alias stree='/Applications/SourceTree.app/Contents/Resources/stree' # Directory jumps alias dev='cd ~/Developer'
bash
d_bash_14872
--- +++ @@ -16,6 +16,14 @@ sed -i -e "s/- seeds: \"127.0.0.1\"/- seeds: \"$SEEDS\"/" $CONFIG/cassandra.yaml sed -i -e "s/# JVM_OPTS=\"$JVM_OPTS -Djava.rmi.server.hostname=<public name>\"/ JVM_OPTS=\"$JVM_OPTS -Djava.rmi.server.hostname=$IP\"/" $CONFIG/cassandra-env.sh +if [[ $SNITCH ]]; then + sed -i -e "s...
bash
d_bash_14873
--- +++ @@ -6,7 +6,7 @@ export PATH=./bin:$PATH export BUNDLE_WITHOUT="test:development" -version_number=${GO_PIPELINE_COUNTER-0} +version_number=${GO_PIPELINE_LABEL-0} revision=`git rev-parse HEAD` build_date=`date +'%Y-%m-%d %H:%M %z'`
bash
d_bash_14874
--- +++ @@ -11,6 +11,7 @@ previousPublishedPackageName="SnomedCT_Release_INT_20140731.zip" productName="SNOMED CT Release" buildName="Int Daily Build" +packageName="Snomed Release Package echo "Configuration set to pull export files from $1"
bash
d_bash_14875
--- +++ @@ -17,3 +17,8 @@ function pman() { man $1 -t | open -f -a Preview } + +## pretty JSON +function pj() { + python -mjson.tool +}
bash
d_bash_14876
--- +++ @@ -1,11 +1,11 @@ #!/bin/bash sudo mkdir /emergence/services/sencha -sudo git clone --bare https://github.com/JarvusInnovations/extjs.git /emergence/services/sencha/frameworks-repo.git -sudo chown root:www-data -R /emergence/services/sencha/frameworks-repo.git -sudo chmod ug=Xrw,o=Xr -R /emergence/service...
bash
d_bash_14877
--- +++ @@ -20,7 +20,7 @@ tar -xvf /tmp/mongodb.tgz -C ${MONGODB_DIR} --strip=1 echo "Starting MongoDB v${MONGODB_VERSION}" ${MONGODB_DIR}/bin/mongod --nojournal --journalCommitInterval 500 \ - --syncdelay 0 --dbpath ${DATA_DIR} --bind_ip 127.0.0.1 &> /tmp/mongodb.log & + --nojournal --syncdelay 0 --dbpath $...
bash
d_bash_14878
--- +++ @@ -1,4 +1,7 @@ #!/bin/bash +echo "Pulling latest code" +git pull + echo "Building SASS and Coffee resources." sbt resources:compile-sass resources:copy-scripts
bash
d_bash_14879
--- +++ @@ -11,7 +11,7 @@ BRANCH=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') SUFFIX="-${BRANCH}" else - if [ -z "$TRAVIS_PULL_REQUEST" ]; then + if [ -z "$TRAVIS_PULL_REQUEST" ] || [ "$TRAVIS_PULL_REQUEST" == "false" ]; then SUFFIX="-$TRAVIS_BRANCH" # No branch name for master
bash
d_bash_14880
--- +++ @@ -3,6 +3,11 @@ DIR="$(pwd -P $0)/ssh" echo "🔐 Setting up SSH." + +if [ -n "$CODESPACES" ]; then + echo "🔐 Already setup on Codespaces!" + exit 0 +fi if ! test -d ~/.ssh; then ln -s $(pwd) ~/.ssh
bash
d_bash_14881
--- +++ @@ -4,12 +4,12 @@ cat <<-EOS > build-node.bash set -e cd "\$(dirname "\$0")" - + rollback() { echo "rolling back" set +e rm -rf node_modules - rm -rf build + rm -rf build rm -rf repos rm build-node.bash } @@ -33,6 +33,6 @@ docker run \ --rm \ -v $(pwd):/...
bash
d_bash_14882
--- +++ @@ -1,11 +1,10 @@ #!/bin/sh -DOCDIR="/home/tatsh/dev/sutra-doc" -FLOURISH="/home/tatsh/dev/php/flourish" -SUTRA="/home/tatsh/dev/sutra/classes" +DOCDIR="$HOME/sutra-doc" +SUTRA="./classes" -phpdoc -title="Sutra documentation (generated $(date))" \ +bin/phpdoc.php -title="Sutra documentation (generated $(da...
bash
d_bash_14883
--- +++ @@ -1,4 +1,4 @@ #!/bin/bash -/usr/bin/find /srv/downloads /var/www/fuelweb-iso -mtime +10 -delete 2>&1 | logger -t seed-downloads-cleanup +/usr/bin/find /srv/downloads /var/www/fuelweb-iso -type f -mtime +10 -delete 2>&1 | logger -t seed-downloads-cleanup /usr/bin/seedcleaner.py 2>&1 | logger -t seed-down...
bash
d_bash_14884
--- +++ @@ -9,17 +9,19 @@ fi wget -O miniconda.sh $MINICONDA_URL -MINICONDA=$TRAVIS_BUILD_DIR/miniconda +MINICONDA=$HOME/miniconda bash miniconda.sh -b -p $MINICONDA export PATH="$MINICONDA/bin:$PATH" + conda update -y -q conda +conda install -y -q conda-build conda info -a conda config --set show_channel_...
bash
d_bash_14885
--- +++ @@ -13,18 +13,6 @@ cd $current_dir echo "" - -echo "Populate with workflows..." -for i in $( ls $workflow_dir/*.ga ) -do - echo $i - workflow_path=$workflow_dir"/"$i - #python ./src/integrate_workflow_in_gi.py \ - # --workflow_path $i \ - # --gi_url "http://"$host":"$port \ - # ...
bash
d_bash_14886
--- +++ @@ -15,6 +15,7 @@ cd ../monkey-tail supervisor app.js > ../monkey-face/log/app.log 2>&1 & +supervisor e2eBridge.js > ../monkey-face/log/e2eBridge.log 2>&1 & cd ../monkey-face
bash
d_bash_14887
--- +++ @@ -19,6 +19,7 @@ groupadd wheel apt-get install --force-yes -fuy debian-keyring +apt-get update apt-get install sudo gpasswd -a chefdeploy wheel echo "%wheel ALL = (ALL) NOPASSWD: ALL" > /etc/sudoers.d/passwordless_wheel
bash
d_bash_14888
--- +++ @@ -15,7 +15,7 @@ yum install -y \ @buildsys-build git \ dkms kernel-headers kernel-devel rpmdevtools \ - zlib-devel libuuid-devel libselinux-devel \ + zlib-devel libuuid-devel \ automake autoconf libtool \ rpm-devel rpmlint mock createrepo \ docker \
bash
d_bash_14889
--- +++ @@ -4,6 +4,17 @@ TAG="latest" if [ $# -gt 0 ] ; then TAG="$1" +fi + +# If you want to set some env variables for your site, you can use +# a file called "config" and export them. +# Example: +# +# #config +# BASE_URL="https://example.com" ; export BASE_URL +# +if [ -r config ] ; then + . config fi # ...
bash
d_bash_14890
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash ## These 3 lines are mandatory. -export PERLBREW_ROOT=/home/dlarochelle/perl5/perlbrew +export PERLBREW_ROOT=$HOME/perl5/perlbrew export PERLBREW_HOME=/tmp/.perlbrew echo source ${PERLBREW_ROOT}/etc/bashrc
bash
d_bash_14891
--- +++ @@ -13,6 +13,7 @@ SSH_OPTIONS="-i $JUJU_HOME/staging-juju-rsa \ -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" +set -x DOWNLOADED=$($SCRIPTS/jujuci.py get build-revision '*' ./) TARFILE=$(basename $(echo "$DOWNLOADED" | grep -F tar.gz)) source buildvars.bash
bash
d_bash_14892
--- +++ @@ -30,7 +30,7 @@ fi fi - gvim -f -p --remote-tab-silent "$@" &> /dev/null & + $(gvim -f -p --remote-tab-silent "$@" &> /dev/null &) elif which "mvim" &> /dev/null; then open -a MacVim "$@" else
bash
d_bash_14893
--- +++ @@ -16,9 +16,11 @@ # seeing with Python 3 pip install -q -U numpy -# First ensure that the base dependencies are sufficient for a full import +# First ensure that the base dependencies are sufficient for a full import and +# data load pip install -q -e . python -c "import tensorflow_datasets as tfds" +p...
bash
d_bash_14894
--- +++ @@ -32,7 +32,8 @@ esac done -sudo restart spinnaker +# NOTE: The following command will start Spinnaker even if it's not running, whereas "sudo restart spinnaker" would fail in that case +sudo service spinnaker restart # Wait for the following Spinnaker services to be ready: # Gate - port 8084
bash
d_bash_14895
--- +++ @@ -1,2 +1,7 @@ ../scripts/gen_thrift_file.py java '../thrift/ModelDB.thrift' './src/main/thrift/' -mvn clean compile && mvn exec:java -Dexec.mainClass="edu.mit.csail.db.ml.main.Main" -Dexec.args="-conf ./src/main/resources/reference-test.conf" + +# check if thrift version specified and pass that on +if [ -...
bash
d_bash_14896
--- +++ @@ -1,7 +1,7 @@ sudo apt-get remove lighttpd php5-cgi php5-mysql sudo apt-get autoremove sudo apt-get autoclean -sudo apt-get install lighttpd php5-cgi php5-mysql +sudo apt-get install lighttpd php5-cgi php5-mysql debconf-utils sudo lighttpd-enable-mod fastcgi sudo lighttpd-enable-mod fastcgi-php sudo s...
bash
d_bash_14897
--- +++ @@ -30,7 +30,7 @@ fi mkdir -p "$CACHE_DIR" - curl -# --fail --silent --show-error --location --output "$JAR_PATH" "$DOWNLOAD_URL" + curl -# --fail --show-error --location --output "$JAR_PATH" "$DOWNLOAD_URL" } function runApplication() {
bash
d_bash_14898
--- +++ @@ -10,4 +10,4 @@ alias ip="dig +short myip.opendns.com @resolver1.opendns.com" # Lock the screen -alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend" +is_osx && alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -s...
bash
d_bash_14899
--- +++ @@ -1,3 +1,3 @@ #/bin/sh echo "Executing 'java $JAVA_OPTS $GREENMAIL_OPTS -jar greenmail-standalone.jar' ..." -java $JAVA_OPTS $GREENMAIL_OPTS -jar greenmail-standalone.jar +exec java $JAVA_OPTS $GREENMAIL_OPTS -jar greenmail-standalone.jar
bash