document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_18100
--- +++ @@ -20,5 +20,6 @@ --prefix=${PREFIX} make kcp +export OMPI_MCA_plm_rsh_agent=sh make check make install
bash
d_bash_18101
--- +++ @@ -1,3 +1,6 @@ +PATH="/usr/local/opt/curl/bin:$PATH" +PATH="/usr/local/opt/openssl/bin:$PATH" + # load rbenv if available if command -v rbenv >/dev/null; then eval "$(rbenv init - --no-rehash)"
bash
d_bash_18102
--- +++ @@ -6,8 +6,9 @@ # Runs flutter's analyzer related tests with a locally built SDK. set -e -dart=$(pwd)/tools/sdks/dart-sdk/bin/dart -sdk=$(pwd)/out/ReleaseX64/dart-sdk +checkout=$(pwd) +dart=$checkout/tools/sdks/dart-sdk/bin/dart +sdk=$checkout/out/ReleaseX64/dart-sdk tmpdir=$(mktemp -d) cleanup() { r...
bash
d_bash_18103
--- +++ @@ -21,5 +21,6 @@ fi echo "Installing swapspace to accommodate MeCab's memory requirements..." +apt-get -y update apt-get -y install swapspace service swapspace start
bash
d_bash_18104
--- +++ @@ -8,11 +8,14 @@ # recordings are saved in /data/eyra, need to make sure our server # has permissions to write there. if [ ! -d "/data" ]; then + report "/data doesn't exist, creating" sudo mkdir "/data" fi if [ ! -d "/data/eyra" ]; then + report "/data/eyra doesn't exist, creating" ...
bash
d_bash_18105
--- +++ @@ -1,9 +1,10 @@ #!/bin/sh # name: $1, domain: $2, Subject: $3, Explanation: $4, diff-file: stdin # test checkin -export BK_PATCH_IMPORT=YES -export BK_USER="$1" -export BK_HOST="$2" +BK_PATCH_IMPORT=YES +BK_USER="$1" +BK_HOST="$2" +export BK_PATCH_IMPORT BK_USER BK_HOST SUBJECT=`echo "$3" | sed 's/\(\[[^...
bash
d_bash_18106
--- +++ @@ -12,7 +12,7 @@ echo "+ Scraping site" wget -P static_site -X "/user,/feeds,/flag,/search/everything,/vote,/dataset" --adjust-extension -p --convert-links --restrict-file-names=windows -m -e robots=off --wait .5 -x http://$RESERVE_SITE -# Call insert banner to make sure they each have a banner +# Call...
bash
d_bash_18107
--- +++ @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash # # backup vCenter's Postgres database # copyright (c) 2014 Pivotal Labs
bash
d_bash_18108
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -DEPENDS="fish" +DEPENDS="fish exa" MAKEDEPENDS="curl" module_install() {
bash
d_bash_18109
--- +++ @@ -1,9 +1,9 @@ dir=$(pwd)/ cd ~ -ln -Fs -a ${dir}.vim -ln -Fs ${dir}.vimrc -ln -Fs ${dir}.tmux.conf -ln -Fs ${dir}.tmux.local.local -ln -Fs ${dir}.bashrc -ln -Fs ${dir}.gitconfig +ln -fs -a ${dir}.vim +ln -fs ${dir}.vimrc +ln -fs ${dir}.tmux.conf +ln -fs ${dir}.tmux.local.local +ln -fs ${dir}.bashrc +ln -f...
bash
d_bash_18110
--- +++ @@ -38,7 +38,7 @@ chmod +x $buildFile # Cleanup - if test ! -d $tempFolder; then + if test -d $tempFolder; then rm -rf $tempFolder fi fi
bash
d_bash_18111
--- +++ @@ -5,8 +5,8 @@ apt-get -y install ccache export PATH=/usr/lib/ccache:$PATH -if [ -f binary-builder-compiler-cache/binary-builder-compiler-cache.tgz ]; then - tar xzf binary-builder-compiler-cache/binary-builder-compiler-cache.tgz +if [ -f binary-builder-compiler-cache/ccache.tgz ]; then + tar xzf binar...
bash
d_bash_18112
--- +++ @@ -2,7 +2,7 @@ set -e # Add common variables. -source ./commonVar.sh "$1" "$2" "$3" +source ~/ci/commonVar.sh "$1" "$2" "$3" #Create administrator in Gerrit. source ~/gerrit-docker/addGerritUser.sh
bash
d_bash_18113
--- +++ @@ -1,4 +1,14 @@ #!/usr/bin/env bash + +# dnsmasq configuration file +dnsmasqconfig="$(cat <<-ENDOFCONFIG +no-dhcp-interface= +server=8.8.8.8 + +no-hosts +addn-hosts=/etc/dnsmasq.hosts +ENDOFCONFIG +)" # Make sure to use root user sudo su @@ -7,6 +17,15 @@ if [[ ! -n $(dpkg -l | grep dnsmasq) ]]; then ...
bash
d_bash_18114
--- +++ @@ -1,6 +1,6 @@ function init(){ switch_repo_to_dev_branch - run_cloud9_setup_scripts + switch_repo_to_dev_branch_and_init_repo_as_git_flow_repo } function run_cloud9_setup_scripts(){ @@ -9,10 +9,11 @@ bash $setup_script_name_and_path } -function switch_repo_to_dev_branch(){ +function ...
bash
d_bash_18115
--- +++ @@ -15,3 +15,12 @@ echo "Setting up logstash" wget https://logstash.objects.dreamhost.com/release/logstash-1.1.13-flatjar.jar + +echo "Installing identity team public keys" + +git clone https://github.com/mozilla/identity-pubkeys +cd identity-pubkeys +git checkout b63a19a153f631c949e7f6506ad4bf1f258dda69 ...
bash
d_bash_18116
--- +++ @@ -1,10 +1,15 @@ #!/bin/bash if [ -d regression/.git ]; then - echo "Updating regression files..." - cd regression - git pull - cd .. + if [ -e regression/README.md ] && [ `head -1 regression/README.md` == "cclib-data" ]; then + echo "Updating regression files..." + cd regres...
bash
d_bash_18117
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +# to download the latest repository: git clone https://github.com/pfnegrini/time-lapse-server.git /home/pi/time-lapse-server asd() { cat <<"EOT" @@ -20,7 +22,7 @@ \__-" "\_/ - + EOT } @@ -38,4 +40,14 @@ mkdir /home/pi/D...
bash
d_bash_18118
--- +++ @@ -11,7 +11,7 @@ # This will affect the wpull exe wrapper mkdir -p /tmp/bin/ -ln -s /usr/bin/python3.4 /tmp/bin/python3 +ln -s /usr/bin/$PYTHON /tmp/bin/python3 echo -n 'Using ' which python3
bash
d_bash_18119
--- +++ @@ -3,8 +3,8 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then MINICONDA=Miniconda3-latest-MacOSX-x86_64.sh; fi if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MINICONDA=Miniconda3-latest-Linux-x86_64.sh; fi -MINICONDA_MD5=$(curl -s http://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -...
bash
d_bash_18120
--- +++ @@ -1,13 +1,17 @@ #!/bin/bash +make tests + for file in $(ls tests/bin); do + echo "Testing " $file if valgrind --error-exitcode=0 tests/bin/$file $TEST_ARGS; then - echo "Error: $file leaking memory" + echo "Error:" $file "leaking memory" 1>&2 fi tests/bin/$file done for file in $(ls build/bi...
bash
d_bash_18121
--- +++ @@ -1,5 +1,5 @@ # Basic compiler used for OMNI Compiler compilation -OMNI_FC="gfortan" +OMNI_FC="gfortran" OMNI_CC="gcc-5" OMNI_CXX="gcc-5"
bash
d_bash_18122
--- +++ @@ -3,3 +3,12 @@ export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -lssl" $PYTHON setup.py install + +if [[ `uname` == 'Darwin' ]]; then + PG_LIB=$(pg_config --libdir) + for LIBRARY in `find ${SP_DIR}/${PKG_NAME} -name "*.so"`; + do + install_name_tool -change libssl.1.0.0.dylib @rpath/libssl.1....
bash
d_bash_18123
--- +++ @@ -12,7 +12,7 @@ ZSH_THEME="fishy" # Plugins list -plugins=(asdf command-not-found compleat docker golang git git-extras gitignore gradle systemd) +plugins=(asdf command-not-found compleat docker golang git gitfast git-extras gitignore gradle systemd) # Load startup script source $ZSH/oh-my-zsh.sh
bash
d_bash_18124
--- +++ @@ -6,7 +6,13 @@ trap 'err_report $LINENO' ERR # Install Oh My Zsh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +test -s "$ZSH/oh-my-zsh.sh" || { + sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" + # Fix ...
bash
d_bash_18125
--- +++ @@ -8,7 +8,7 @@ tar -zxf "$tmp_file" -C /tmp echo "Installing gcloud..." -/tmp/google-cloud-sdk/install.sh --rc-path ~/.zshrc --command-completion true --bash-completion true --install-python false -q +/tmp/google-cloud-sdk/install.sh --rc-path ~/.zshrc --path-update --command-completion true --bash-compl...
bash
d_bash_18126
--- +++ @@ -12,4 +12,4 @@ # Apparently, MaxMax tends to emit very large synsets that # have no sense (check it yourself). There is no reason to # evaluate them due to the computational complexity. -$CWD/../../pairs.awk -v N=300 "$CWD/../maxmax-synsets.tsv" > "$CWD/../maxmax-pairs.txt" +$CWD/../../pairs.awk -v N=10...
bash
d_bash_18127
--- +++ @@ -1,23 +1,20 @@ #!/bin/bash +# Sidekiq +redis-server & +bundle exec sidekiq -L log/sidekiq.log -d + # Rake tasks - bundle exec rake db:create bundle exec rake db:migrate export SECRET_KEY_BASE=$(bundle exec rake secret) bundle exec rake lapis:api_keys:create_default -# Sidekiq - -redis-server & -b...
bash
d_bash_18128
--- +++ @@ -18,7 +18,7 @@ --exclude=pep8.py,compat.py,utils.py \ --ignore=E402,W503 touch "$(pwd)/__init__.py" - $PYTHON -m pylint "$(pwd)" + $PYTHON -m pylint --disable=R0205 "$(pwd)" exit 0 fi
bash
d_bash_18129
--- +++ @@ -16,8 +16,8 @@ git init # Set user details -git config user.name "${USER_NAME}" -git config user.email "${USER_EMAIL}" +git config user.name "IBUILD.IO" +git config user.email "ibuild@ibuild.io" # First commit, .. horray! git add .
bash
d_bash_18130
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -APOLLO_TAG="v1.0.2" +APOLLO_TAG="v1.0.3" REPOSRC=https://github.com/erdemaksu/apollo.git LOCALREPO=apollo @@ -10,10 +10,10 @@ then git clone $REPOSRC $LOCALREPO else - (cd $LOCALREPO && git pull $REPOSRC) + (cd $LOCALREPO && git pull $REPOSRC --tags) fi -(cd $LO...
bash
d_bash_18131
--- +++ @@ -1,5 +1,6 @@ #!/usr/bin/env bash -make posix_sitl_default -cp build/posix_sitl_default/parameters.xml ../qgroundcontrol/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml -#cp build/posix_sitl_default/airframes.xml ../qgroundcontrol/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml +make parameters_met...
bash
d_bash_18132
--- +++ @@ -3,4 +3,4 @@ git fetch docker run --rm -e ZULIP_CLI_TOKEN -v ~/.config:/home/akvo/.config -v "$(pwd)":/app \ - -it akvo/akvo-devops:20200810.101049.f106b48 promote-test-to-prod.sh rsr rsr-version akvo-rsr zulip + -it akvo/akvo-devops:20200810.101253.a1dbc6a promote-test-to-prod.sh rsr rsr-version akv...
bash
d_bash_18133
--- +++ @@ -9,11 +9,12 @@ yum -y install yum-plugin-priorities rpm -Uvh https://repo.grid.iu.edu/osg/3.3/osg-3.3-el${OS_VERSION}-release-latest.rpm -yum -y install python condor-python +yum -y install python condor-python make # First, install osg-configure cd /osg-configure -python setup.py install +make ins...
bash
d_bash_18134
--- +++ @@ -1,5 +1,7 @@ -#!/bin/bash +# Copyright 2015 Google Inc. # +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. UTIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -24,9 +26,10 @@ ADB_REQUIRED="1.0.31 or 1.0.32" fi -# get the version...
bash
d_bash_18135
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash N=1000 -M=100 +M=10 # get proper dirname cd $(dirname $0)
bash
d_bash_18136
--- +++ @@ -19,7 +19,8 @@ function bump_solution_version() { - sed -ri "s/version *= *.+/version = ${NEW_VERSION}/g" "$SOLUTION_ROOT/Agiil.sln" + SOLUTION_FILE="$SOLUTION_ROOT/Agiil.sln" + sed -ri "s/version *= *.+/version = ${NEW_VERSION}/g" "$SOLUTION_FILE" find "$SOLUTION_ROOT" \ \! -path "*/.gi...
bash
d_bash_18137
--- +++ @@ -2,7 +2,6 @@ appdir="/Applications" apps=( - android-file-transfer atom appcleaner caffeine @@ -10,20 +9,30 @@ firefox flux google-chrome + slack + skype + spotifree + spotify + the-unarchiver + vlc +) + +devApps=( + android-file-transfer + android-studio google-web-design...
bash
d_bash_18138
--- +++ @@ -1,20 +1,38 @@ if [[ $OSTYPE == darwin* ]]; then - # Script for ensuring only one instance of gpg-agent is running - # and if there is not one, start an instance of gpg-agent. - if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then - GPG_AGENT_INFO=`cat $HOME/...
bash
d_bash_18139
--- +++ @@ -14,5 +14,5 @@ ssh $(cat "${EMAILHOST}") "mail -s \"$SUBJECT\" $ERRORMAIL" < $EMAIL_BODY_FILE exit; else - mail -s \"$SUBJECT\" $ERRORMAIL < $EMAIL_BODY_FILE + mail -s "$SUBJECT" $ERRORMAIL < $EMAIL_BODY_FILE fi
bash
d_bash_18140
--- +++ @@ -1,9 +1,12 @@ +apt-get install -y ca-certificates-java +#dpkg-reconfigure ca-certificates-java + export JAVA_HOME=/usr/lib/jvm/java-8-oracle git clone https://github.com/nla/outbackcdx.git +cd outbackcdx git checkout 0.3.2 -cd outbackcdx/ mvn package || exit -cp target/outbackcdx*.jar outbackcdx....
bash
d_bash_18141
--- +++ @@ -1,11 +1,15 @@ -#!/bin/bash -xe +#!/bin/bash -e main() { - run_plabook "$(load_private_key)" + local ssh_key_path + ssh_key_path="$(load_private_key)" + set -x + run_plabook "$ssh_key_path" } load_private_key() { - local private_key_path=$TMPDIR/ssh-key + local private_key_path + private_key...
bash
d_bash_18142
--- +++ @@ -15,6 +15,7 @@ alias mcopy='reattach-to-user-namespace pbcopy' alias mpaste='reattach-to-user-namespace pbpaste' alias ctt='cp ~/.tmux.sh.example .tmux.sh' -alias ag='ack -H --smart-case --column --ignore-dir=.binstubs --ignore-dir=vendor --ignore-dir=log --ignore-dir=tmp --ignore-file=is:Session.vim' +...
bash
d_bash_18143
--- +++ @@ -3,14 +3,15 @@ # Allow using the docker socket without root. sudo chgrp docker /var/run/docker.sock -# Start-up the GPG-Agent for managing SSH and GPG so they can be used across -# all tmux panes/windows. -eval $(gpg-agent --daemon --enable-ssh-support --disable-scdaemon) - # Start TMUX for all termin...
bash
d_bash_18144
--- +++ @@ -2,6 +2,12 @@ set -eu +until ping -c1 $BZK_SERVER_HOST &>/dev/null +do + echo "waiting for server to come up" + sleep 1 +done + /bin/sed -i "s/<bzk_server_placeholder>/${BZK_SERVER_HOST}/" /etc/nginx/conf.d/default.conf exec nginx -g "daemon off;"
bash
d_bash_18145
--- +++ @@ -1,5 +1,14 @@ +set -e + echo JAVA_HOME=$JAVA_HOME java -version +J=`which javac` +JH1=`dirname $J` +JH2=`dirname $JH1` + +export JAVA_HOME=$JH2 +echo JAVA_HOME=$JAVA_HOME + cd $TRAVIS_BUILD_DIR/java export STREAMS_INSTALL=/dev/null
bash
d_bash_18146
--- +++ @@ -1,8 +1,8 @@ #!/bin/bash set -ev -rswd="\$(cd \$(dirname "\$0"); pwd)" -export RAM_CONF="\$rswd/backend/conf/conf.js" +dir=$(PWD) +export RAM_CONF=$dir/backend/conf/conf.js echo RAM_CONF is $RAM_CONF
bash
d_bash_18147
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -ORGANISATION=AIFDR +ORGANISATION=aifdr PROJECT=inasafe-django PG_USER=docker PG_PASS=docker
bash
d_bash_18148
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh echo "starting functional tests" -source ejrf_env/bin/activate +source ../ejrf_env/bin/activate cp eJRF/snap-ci/snap-settings.py eJRF/localsettings.py echo "setup for tests done" ./manage.py harvest --tag=-WIP
bash
d_bash_18149
--- +++ @@ -8,4 +8,5 @@ # PrestaShop configuration -cp tests/parameters.yml.travis app/config/parameters.yml +# cp tests/parameters.yml.travis app/config/parameters.yml +cp app/config/parameters.yml.dist app/config/parameters.yml
bash
d_bash_18150
--- +++ @@ -4,7 +4,7 @@ DATE=$(date +"%d-%b-%Y" --date="1 days ago") env LD_LIBRARY_PATH=~/Downloads/instantclient_11_2 TWO_TASK=warehouse \ rlwrap -H /tmp/sqlplus_hist ~/Downloads/instantclient_11_2/sqlplus \ --S dannybd/$(cat ~/cron_scripts/.warehousepw) <<EOF +-S $(cat ~/cron_scripts/.warehousecreds) <<EOF set...
bash
d_bash_18151
--- +++ @@ -4,4 +4,4 @@ # It runs the appropriate commands depending on the task requested. # Otherwise compile and check as normal -qmake && make && xvfb-run --server-args="-screen 0, 1024x768x24" ./unittest.sh +qmake && make && ./unittest.sh
bash
d_bash_18152
--- +++ @@ -28,7 +28,10 @@ git clone --depth=1 -v https://github.com/phalcon/php-zephir-parser.git -b ${ZEPHIR_PARSER_VERSION} ${PARSER_DIR} fi - cd ${PARSER_DIR} -bash ./unit-tests/ci/install-travis +if [ -z "${TRAVIS}" ]; then + bash ./install +else + bash ./unit-tests/ci/install-travis +fi
bash
d_bash_18153
--- +++ @@ -33,7 +33,7 @@ time terraform apply -input=false $@ ;; destroy) - time terraform destroy -force=true $@ + time terraform destroy -input=false -force=true $@ ;; *) echo "unrecognized verb: $verb" >2
bash
d_bash_18154
--- +++ @@ -24,7 +24,6 @@ --arch=x64 \ --electron-version=$(electron -v | cut -c 2-) \ --prune \ - --ignore=".git" \ --ignore=".gitignore" \ --ignore="install" \ --ignore="Model.md" \
bash
d_bash_18155
--- +++ @@ -3,10 +3,11 @@ cliopts="$@" max_procs=1 -DATA="data/RCV1_seq.bin" +DATA="data/RCV1-seq.bin" THETA="0.35 0.5 0.7 0.8 0.9 0.99" LAMBDA="1 0.1 0.01 0.001 0.0001" -INDEX="INVERTED ALLPAIRS L2AP" +#INDEX="INVERTED ALLPAIRS L2AP" +INDEX="INVERTED L2AP" -parallel --ungroup --max-procs ${max_procs} "script...
bash
d_bash_18156
--- +++ @@ -1,7 +1,18 @@ set -e -zypper --non-interactive in netcat swig gcc-c++ libopenssl-devel +zypper --non-interactive in \ + swig \ + gcc-c++ \ + libopenssl-devel \ + python-m2crypto \ + python-pycrypto \ + python-msgpack-python \ + python-PyYAML \ + python-Jinja2 \ + python-psutil \...
bash
d_bash_18157
--- +++ @@ -13,7 +13,7 @@ set -v bundle exec jekyll build --config=./_config.yml,"$ENV_SPECIFIC_CONFIG_FILE" -FILES_REGEX=".*\.\(html\|css\|js\|mp4\|png\|ico\|jpeg\|jpg\|svg\|pdf\|php\)" +FILES_REGEX=".*\.\(html\|css\|js\|mp4\|png\|ico\|jpeg\|jpg\|svg\|pdf\|php\|ttf|\woff\|woff2\)" find _site -regextype sed -reg...
bash
d_bash_18158
--- +++ @@ -1,5 +1,8 @@ #!/bin/bash +MY_DIR=$(dirname $0) + +echo "Updating the thinkbig nifi nar and jar files" rm -rf /opt/nifi/data/lib/*.nar rm -rf /opt/nifi/data/lib/app/*.jar @@ -8,4 +11,6 @@ chown -R nifi:users /opt/nifi/data/lib -./create-symbolic-links.sh +$MY_DIR/create-symbolic-links.sh + +echo...
bash
d_bash_18159
--- +++ @@ -21,7 +21,7 @@ git submodule init git submodule update cd ~/myria-web/submodules/raco -git fetch --all && git reset --hard origin/blob_literal +git fetch --all && git reset --hard origin/master python setup.py install # Set up myria-python
bash
d_bash_18160
--- +++ @@ -5,7 +5,12 @@ zle -N zle-line-init zle -N zle-keymap-select +#changing mode clobbers the keybinds, so store the keybinds before and execute +#them after +binds=`bindkey -L` bindkey -v +for bind in ${(@f)binds}; do eval $bind; done +unset binds # if mode indicator wasn't setup by theme, define defa...
bash
d_bash_18161
--- +++ @@ -21,8 +21,8 @@ # Stop SDK /etc/init.d/cdap-sdk stop -# Remove data and logs directories -rm -rf /opt/cdap/sdk/data /opt/cdap/sdk/logs +# Remove conf, data, and logs directories +rm -rf /opt/cdap/conf /opt/cdap/sdk/data /opt/cdap/sdk/logs # Make cdap own /opt/cdap chown -R cdap:cdap /opt/cdap
bash
d_bash_18162
--- +++ @@ -17,5 +17,5 @@ echo "Bundler already installed at \"$(which bundle)\"" else echo "No existing Bundler installation found, installing…" - gem install bundler + gem install bundler --no-doc fi
bash
d_bash_18163
--- +++ @@ -3,5 +3,5 @@ # Ubuntu-only stuff. Abort if not Ubuntu. [[ "$(cat /etc/issue 2> /dev/null)" =~ Ubuntu ]] || exit 1 -DEPS="git tmux curl wget" +DEPS="git tmux curl wget vim-nox" sudo apt-get install $DEPS
bash
d_bash_18164
--- +++ @@ -1,11 +1,61 @@ -_redfish-client_complete_baseopts() +_redfish-client() { - case $2 in + local cur prev opts + COMPREPLY=() + cfgfile=$HOME/.redfish/inventory + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + opts="--help -h --insecure --debug --inventory -i --de...
bash
d_bash_18165
--- +++ @@ -3,4 +3,4 @@ echo "Exporting configuration..." echo "Updating Atom package list..." -apm ls --installed --bare | grep -oP '[a-z0-9\-]+(?=@)' > ./atom/packages.txt +apm ls --installed --bare | grep -oP '(.+)(?=@)' > ./atom/packages.txt
bash
d_bash_18166
--- +++ @@ -1,26 +1,30 @@ #!/bin/sh +launchctl unload -w ~/Library/LaunchAgents/com.adobe.ccxprocess.plist launchctl unload -w ~/Library/LaunchAgents/com.adobe.GC.Invoker-1.0.plist launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist launchctl unload -w /Library/LaunchAgents/com.adobe.GC...
bash
d_bash_18167
--- +++ @@ -16,6 +16,9 @@ sudo apt install redis sudo apt install ubuntu-dev-tools +sudo apt install redshift +sudo apt install plasma-applet-redshift-control + sudo snap install bitwarden sudo snap install bw
bash
d_bash_18168
--- +++ @@ -9,8 +9,6 @@ python functests/test_data_ingestion_bulk.py akumulid/ TCP python functests/test_data_ingestion_bulk.py akumulid/ UDP python functests/test_query_language.py akumulid/ -python functests/test_volume_overflow.py akumulid/ -python functests/test_database_overflow.py akumulid/ python functests...
bash
d_bash_18169
--- +++ @@ -2,7 +2,7 @@ sudo ./scripts/apply_django_patches /home/vagrant/virtualenv/python2.7/lib/python2.7/site-packages/django createdb -T template_postgis atlas_travis -U postgres -fab --set run_local=True install_solr install_solr_2155 +fab --set run_local=True install_solr make_solr_conf_dir make_solr_data_...
bash
d_bash_18170
--- +++ @@ -30,6 +30,8 @@ JOB_NAME="VirtualBox_macOS" EXTRA_ARGS="--bootstrapper=kubeadm" PARALLEL_COUNT=3 +# hyperkit behaves better, so it has higher precedence. +# Assumes that hyperkit is also installed on the VirtualBox CI host. EXPECTED_DEFAULT_DRIVER="hyperkit"
bash
d_bash_18171
--- +++ @@ -1 +1,3 @@ -fswatch -o less | xargs -n1 -I{} ./buildless.sh +fswatch -o less | xargs -n1 -I{} ./buildless.sh & +browser-sync start --proxy "10.100.10.10" --files "ckanext/apicatalog_ui/public/main.css" & +
bash
d_bash_18172
--- +++ @@ -4,3 +4,4 @@ sleep 0.1 done cbot /home/cbot/config/cbot.cfg +kill %1
bash
d_bash_18173
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -galaxy_dir="lib/galaxy/" +galaxy_dir=$1 galaxy_tool_dir=$galaxy_dir/tools/ tool_dir=lib/galaxy_tools/
bash
d_bash_18174
--- +++ @@ -14,12 +14,14 @@ locate_pool if [ $? -ne 0 ] ; then + if [ ${1} = "init" ] ; then + do_init + fi echo "overmind has not yet been setup. Please run 'overmind init'" exit 0 fi case $1 in restart_dhcpd) enable_dhcpd ;; - init) do_init ;; *) usage ;; esac
bash
d_bash_18175
--- +++ @@ -25,10 +25,9 @@ } shortopts() { - local c opts + local c for c in $(fold -w1 <<< "${1#-}"); do - opts+=(-$c) + printf -- "-$c " done - printf -- "${opts[@]}" }
bash
d_bash_18176
--- +++ @@ -3,4 +3,6 @@ if [ "${BUILD}" == "native" ]; then touch templates/docs/installers.html +elif [ "${BUILD}" == "docker" ]; then + sudo service postgresql stop fi
bash
d_bash_18177
--- +++ @@ -2,6 +2,7 @@ docker run -i -t -d \ -p 8000:8000 \ - tray/dynamodb-local \ + amazon/dynamodb-local:latest \ + -jar DynamoDBLocal.jar \ -inMemory -sharedDb -port 8000
bash
d_bash_18178
--- +++ @@ -43,6 +43,8 @@ conda create -n dist python=2.7 source activate dist +conda install numpy +conda install six python setup.py sdist
bash
d_bash_18179
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh # If empty data directory -if [ ! -f /var/lib/postgresql/9.4/main/PG_VERSION ] +if [ ! -f /var/lib/postgresql/9.4/main/PG_VERSION ] && [ "$DATABASE_NAME" ] && [ "$DATABASE_USER" ] && [ "$DATABASE_PASSWORD" ] then # Create postgres data directory mkdir -p /var/lib/postg...
bash
d_bash_18180
--- +++ @@ -6,7 +6,7 @@ firewall-cmd --zone=public --permanent --add-service=https firewall-cmd --reload -echo "Use VHostSSL empty.local" >> /etc/httpd/conf.modules.d/11-domains.conf +echo "Use VHostSSL empty.local empty.local html/web" >> /etc/httpd/conf.modules.d/11-domains.conf cp /etc/pki/tls/certs/localhost...
bash
d_bash_18181
--- +++ @@ -6,44 +6,44 @@ pwd -# remote=$(git config remote.origin.url) -# -# siteSource="$1" -# -# if [ ! -d "$siteSource" ] -# then -# echo "Usage: $0 <site source dir>" -# exit 1 -# fi -# -# # make a directory to put the gp-pages branch -# mkdir gh-pages-branch -# cd gh-pages-branch -# # now lets setu...
bash
d_bash_18182
--- +++ @@ -1,16 +1,37 @@ #!/bin/sh + +# See http://stackoverflow.com/a/21189044/1935861 +function parse_yaml { + local prefix=$2 + local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034') + sed -ne "s|^\($s\):|\1|" \ + -e "s|^\($s\)\($w\)$s:$s[\"']\(.*\)[\"']$s\$|\1$fs\2$fs\3|p" \ + -e ...
bash
d_bash_18183
--- +++ @@ -22,7 +22,7 @@ # Bootstrap Users -./bin/bootstrap.py --insecure --secret "${SCITRAN_CORE_DRONE_SECRET}" "${SCITRAN_SITE_API_URL}" "${bootstrap_user_file}" +./bin/load_users_drone_secret.py --insecure --secret "${SCITRAN_CORE_DRONE_SECRET}" "${SCITRAN_SITE_API_URL}" "${bootstrap_user_file}" )
bash
d_bash_18184
--- +++ @@ -26,5 +26,5 @@ then VBoxManage startvm "RustOS" else - qemu-system-x86_64 -d int -no-reboot build/disk.img + qemu-system-x86_64 -d int -no-reboot build/disk.img -monitor stdio fi
bash
d_bash_18185
--- +++ @@ -1,4 +1,7 @@ #!/bin/bash -ex + +# sudo +sudo -v INSTALLER_REPO=${INSTALLER_REPO:-https://raw.github.com/yudai/cf_nise_installer} INSTALLER_BRANCH=${INSTALLER_BRANCH:-master}
bash
d_bash_18186
--- +++ @@ -24,3 +24,10 @@ cd interfaces/cython $PYTHON setup.py build --build-lib=../../build/python install + +if [[ "$target_platform" == osx-* ]]; then + VERSION=$(echo $PKG_VERSION | cut -db -f1) + file_to_fix=$(find $SP_DIR/cantera -name "_cantera*.so" | head -n 1) + ${OTOOL:-otool} -L $file_to_fix + ...
bash
d_bash_18187
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash # This script will build the project. -SWITCHES="--debug --stacktrace" +SWITCHES="--info --stacktrace" if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
bash
d_bash_18188
--- +++ @@ -1,9 +1,9 @@ +#Aliases for Ubuntu + #built ins declared before shared alias grepc="grep -nrP --color=always" source "${DOTFILES_DIR}aliases_shared.bash" - -#Aliases for Ubuntu only #alias for bash settings alias settings="subl ~/.bash_aliases ~/.bashrc ~/.vimrc \"${DOTFILES_DIR}aliases_ubuntu.bash...
bash
d_bash_18189
--- +++ @@ -30,7 +30,6 @@ echo all do_db do_rspec - do_ci ;; rspec) echo rspec
bash
d_bash_18190
--- +++ @@ -1,17 +1,16 @@ #!/bin/bash -v # Add R build steps here (if any) - -pushd extract -./extract.sh -popd +#pushd extract +#./extract.sh +#popd #Rscript Build.R # Fetch AWS ECR variables -#version=$1 -#chmod 700 fetch.sh -#./fetch.sh $version > variables.json +version=$1 +chmod 700 fetch.sh +./fetch.sh ...
bash
d_bash_18191
--- +++ @@ -11,3 +11,19 @@ -n 5:0:+${swapspace}M -t 5:8200 -c 5:"Linux swap" \ -n 6:0:0 -t 6:8300 -c 6:"Linux home" \ --print /dev/sda + +mkfs.ext4 /dev/sda2 +mkfs.ext4 /dev/sda3 +mkfs.ext4 /dev/sda4 +mkswap /dev/sda5 +mkfs.ext4 /dev/sda6 + +mkdir -p /mnt/boot +mkdir -p /mnt/var +mkdir -p /mnt/home...
bash
d_bash_18192
--- +++ @@ -1,7 +1,7 @@ export NODE_ENV=cron -sudo tee /tmp/migrate.log < /dev/null +tee /tmp/migrate.log < /dev/null mkfifo /tmp/sw-pipe trap "wait" EXIT @@ -18,7 +18,7 @@ util/listGitURLsOfDir /ebs/home | grep -v newdataset | sort -u | while read -r BOX GIT_URL TOOLNAME do - if ./should-migrate.s...
bash
d_bash_18193
--- +++ @@ -14,7 +14,11 @@ then MART_NAME=programs_reporting elif [ "$MODELS_TO_TRANSFER" = 'enterprise' ] +then MART_NAME=enterprise +else + echo "Unknown MODELS_TO_TRANSFER: '${MODELS_TO_TRANSFER}'" + exit 1 fi ARGS="{mart: ${MART_NAME} }"
bash
d_bash_18194
--- +++ @@ -1,9 +1,9 @@ #!/bin/sh KERL_INSTALL_PATH=~/erlang -KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03-1 17.0 maint master" +KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03-1 17.0 17.1.2" -make build-tests +make build-ct-suites for rel in $KERL_RELEASES do
bash
d_bash_18195
--- +++ @@ -22,4 +22,4 @@ python manage.py createddsendpoint "Duke Data Service" $D4S2_DDSCLIENT_URL $D4S2_DDSCLIENT_PORTAL_ROOT $D4S2_DDSCLIENT_AGENT_KEY $D4S2_DDSCLIENT_OPENID_PROVIDER_SERVICE_ID $D4S2_DDSCLIENT_OPENID_PROVIDER_ID # 4. Launch gunicorn -gunicorn -b 0.0.0.0:8000 --timeout 120 d4s2.wsgi:applicatio...
bash
d_bash_18196
--- +++ @@ -7,5 +7,5 @@ git push -q "https://${GH_TOKEN}@${GH_REF}" master:ci > /dev/null 2>&1 # Bump quay so it builds a new indexer image: -DOCKER_REPO_SHA=$(curl -s https://api.github.com/repos/klibby/dxr-docker/git/refs/heads/master | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["object"]["sh...
bash
d_bash_18197
--- +++ @@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8 -export PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-...
bash
d_bash_18198
--- +++ @@ -20,6 +20,7 @@ # Test our gem. rspec +mkdir -p pkg gem build ecs_compose.gemspec mv *.gem pkg/ gem push pkg/*.gem
bash
d_bash_18199
--- +++ @@ -12,6 +12,7 @@ APP_ENV="${APP_ENV:-production}" docker-compose down +docker-compose rm -f docker-compose pull if [ $APP_ENV = "production" ]; then @@ -21,3 +22,5 @@ fi docker-compose up -d + +docker rmi $(docker images | grep "none" | awk '/ / { print $3 }')
bash