document_id stringlengths 8 12 | document stringlengths 50 3.21k | split stringclasses 1
value |
|---|---|---|
d_bash_400 | ---
+++
@@ -5,6 +5,7 @@
alias dev-http="xdg-open http://${DESK_NAME}.dev/ > /dev/null" # Open browser on dev server
+alias dev-log="tail -f /var/log/nginx/${DESK_NAME}.dev-error.log" # Tail nginx error log
alias dev-mysql="mysql ${PROJECT_DB}" # mysql alias with dbname inser... | bash |
d_bash_401 | ---
+++
@@ -6,6 +6,6 @@
screen -S server -d -m phantomjs --webdriver=4444
/usr/local/bin/composer self-update
echo "" >> /home/vagrant/.bashrc
-echo "PATH=$PATH:/home/vagrant/vendor/bin" >> /home/vagrant/.bashrc
+echo "PATH=$PATH:/home/vagrant/simplelance.dev/vendor/bin" >> /home/vagrant/.bashrc
echo "export PATH... | bash |
d_bash_402 | ---
+++
@@ -1,4 +1,5 @@
#!/bin/bash
# Determine if the following files changed in the branch
+echo "Email to $EMAIL ..."
echo "Checking for modifications to files that should not be changed"
git diff --exit-code --name-only `git rev-list HEAD | tail -n 2 | head -n 1` HEAD LICENSE | bash |
d_bash_403 | ---
+++
@@ -11,7 +11,7 @@
./gradlew --stop
./gradlew clean
-./gradlew installDist
+./gradlew installDist || exit 1
# Fix problem arising if eclipse is used jointly
mkdir build/xtend/test | bash |
d_bash_404 | ---
+++
@@ -11,6 +11,7 @@
dialog
imagemagick
jq
+ ncdu
openssl
pv
ssh-copy-id | bash |
d_bash_405 | ---
+++
@@ -13,8 +13,8 @@
"test")
# Need rustfmt to compare the test expectations.
rustup update nightly
- rustup run nightly cargo install -f rustfmt-nightly
-
+ rustup component add rustfmt
+ export RUSTFMT="$(rustup which rustfmt)"
cargo test $BINDGEN_PROFILE --feature... | bash |
d_bash_406 | ---
+++
@@ -36,5 +36,5 @@
_package_name="$( basename -- "$( readlink -e -- . )" )"
_package_scripts=( run-node-wui node )
-_package_version="${mosaic_distribution_version:-0.2.0_mosaic_dev}"
+_package_version="${mosaic_distribution_version:-0.2.1_mosaic_dev}"
_package_cook="${mosaic_distribution_cook:-cook@agent... | bash |
d_bash_407 | ---
+++
@@ -33,3 +33,6 @@
mkdir /usr/local/validator && cd /usr/local/validator
wget http://validator.w3.org/validator.tar.gz && tar -xzf validator.*
wget http://validator.w3.org/sgml-lib.tar.gz && tar -xzf sgml.*
+
+cp -R validator-1.1/htdocs/* validator-1.3/htdocs/
+mv validator-1.3/htdocs validator-1.3/share va... | bash |
d_bash_408 | ---
+++
@@ -3,4 +3,3 @@
set -eu
/opt/phpdoc/bin/phpdoc
-chmod -R a+rX /home/runner/work/PHPMailer/PHPMailer | bash |
d_bash_409 | ---
+++
@@ -1,2 +1,2 @@
-export PATH="./bin:$ZSH/bin:/usr/local/bin:/usr/local/sbin:$PATH"
+export PATH="./bin:$ZSH/bin:/usr/local/bin:/usr/local/sbin:$PATH:$HOME/Code/welder/bin"
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" | bash |
d_bash_410 | ---
+++
@@ -18,8 +18,8 @@
################################################################################MASTERIP='127.0.0.1'
apt-get update
-apt-get install -y python-software-properties
-add-apt-repository -y ppa:saltstack/salt
+echo 'deb http://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest trusty main' > /... | bash |
d_bash_411 | ---
+++
@@ -25,6 +25,7 @@
done
for variant in onbuild; do
+ commit="$(git log -1 --format='format:%H' "$version/$variant")"
echo
for va in "${versionAliases[@]}"; do
if [ "$va" = 'latest' ]; then | bash |
d_bash_412 | ---
+++
@@ -37,3 +37,4 @@
# Link Atom config
ln -s ~/.dotfiles/atom/symlink.config.cson ~/.atom/config.cson
ln -s ~/.dotfiles/atom/symlink.snippets.cson ~/.atom/snippets.cson
+ln -s ~/.dotfiles/atom/symlink.styles.less ~/.atom/styles.less | bash |
d_bash_413 | ---
+++
@@ -1,6 +1,6 @@
# Use `hub` as our git wrapper:
# http://defunkt.github.com/hub/
-hub_path=$(which hub)
+hub_path=$(readlink -f `which hub`)
if (( $+commands[hub] ))
then
alias git=$hub_path | bash |
d_bash_414 | ---
+++
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
+gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
source /home/vagrant/.rvm/scripts/rvm
rvm --default use --install 2.2.3 | bash |
d_bash_415 | ---
+++
@@ -1,2 +1,2 @@
-CORENLP_OPTIONS="-parse.flags \" -makeCopulaHead\"" CORENLP=stanford-corenlp-full-* python3 -m corenlp --memory 1g -p 8999 &
+CORENLP_OPTIONS="-annotators tokenize,ssplit,pos,lemma,parse -parse.flags \" -makeCopulaHead\"" CORENLP=stanford-corenlp-full-* python3 -m corenlp --memory 1g -p 8999 ... | bash |
d_bash_416 | ---
+++
@@ -22,4 +22,6 @@
mkdir -p -m 0755 /opt/cloudera/security/x509
mkdir -p -m 0755 /opt/cloudera/security/jks
mkdir -p -m 0755 /opt/cloudera/security/CAcerts
+mkdir -p -m 0755 /opt/cloudera/security/keytabs
+mkdir -p -m 0755 /opt/cloudera/security/jaas
| bash |
d_bash_417 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/bash -x
export DISPLAY=:99
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
-bundle exec rake db:create db:migrate db:test:prepare && RAILS_ENV=test bundle exec rake test test:cleanup --trace && RAILS_ENV=production bundle exec rake assets:precompile
+bundle exec rake... | bash |
d_bash_418 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/bash
-python -c "import re;import os;out=re.sub('(#SecAction[\S\s]*id:900000[\s\S]*paranoia_level=1\")','SecAction \\\\\n \"id:900000, \\\\\n phase:1, \\\\\n nolog, \\\\\n pass, \\\\\n t:none, \\\\\n setvar:tx.paranoia_level='+os.environ['PARANOIA']+'\"',open('/etc/httpd/mod... | bash |
d_bash_419 | ---
+++
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-gulp update-changelog --trackerToken $(lpass show -G "Shared-Pivotal UI/pui-tracker-token" --notes)
+gulp update-changelog --trackerToken $(lpass show -G "Shared-frontend/pui-tracker-token" --notes) | bash |
d_bash_420 | ---
+++
@@ -7,6 +7,6 @@
cd ..
else
echo "Downloading repository of regression files..."
- git clone git@github.com:langner/cclib-data.git regression
+ git clone https://github.com/cclib/cclib-data.git regression
fi
| bash |
d_bash_421 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/sh
docker build . -t bro-image
-docker run --name bro-container --rm -v /var/log/bro-master/:/usr/local/bro/logs/ -p 9999:9999 bro-image
+docker run --name bro-container --rm -v /var/beemaster/log/bro-master/:/usr/local/bro/logs/ -p 9999:9999 bro-image | bash |
d_bash_422 | ---
+++
@@ -35,5 +35,5 @@
make "$@" -C ./depends/ V=1 NO_QT=1
./autogen.sh
-./configure --prefix="${PREFIX}" --with-gui=no "$LCOV_ARG" CXXFLAGS='-Wno-deprecated-declarations -Werror -Og -g'
+./configure --prefix="${PREFIX}" --with-gui=no "$LCOV_ARG" CXXFLAGS='-Wno-deprecated-declarations -Wno-placement-new -Wno-t... | bash |
d_bash_423 | ---
+++
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
+# https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then # running in cron job
FLAGS=""
| bash |
d_bash_424 | ---
+++
@@ -1,5 +1,6 @@
#!/bin/sh
+brew update
brew install qt5
brew link qt5 --force
brew install python3 | bash |
d_bash_425 | ---
+++
@@ -20,6 +20,6 @@
fi
#add to PATH
-export PATH=$HOME/nextflow:$PATH
+echo "export PATH=$HOME/nextflow:$PATH" >> $HOME/.bashrc
cd $WORK_DIR | bash |
d_bash_426 | ---
+++
@@ -1,4 +1,5 @@
-source ./config.sh
+CUR_DIR=$(dirname $0)
+source $CUR_DIR/config.sh
result=$(curl -k -i -d "user=$user&password=$password&cmd=authenticate&Login=Log+In" $url 2> /dev/null | grep 'User Authenticated' | wc -l)
| bash |
d_bash_427 | ---
+++
@@ -26,3 +26,4 @@
ci XCTUITestRunner iphonesimulator build-tests
ci XCTUITestRunner iphoneos build-tests
fi
+ | bash |
d_bash_428 | ---
+++
@@ -1,4 +1,5 @@
+
xcodebuild test -project "Mobile Buy SDK/Mobile Buy SDK.xcodeproj" \
-scheme "Mobile Buy SDK Tests" \
-sdk iphonesimulator \
--destination 'platform=iOS Simulator,name=iPhone 6s,OS=10.0'
+-destination 'platform=iOS Simulator,name=iPhone 6s,OS=10.1' | bash |
d_bash_429 | ---
+++
@@ -18,3 +18,4 @@
sudo dpkg -i dist/debian/cinnamon-i3_0.5.0-1_amd64.deb
sudo apt-get -f install
rm -rf cinnamon-i3
+sudo apt-get install libanyevent-i3-perl | bash |
d_bash_430 | ---
+++
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -rf autom4te.cache
mkdir -p config/m4 config/aux external/jemalloc | bash |
d_bash_431 | ---
+++
@@ -1,2 +1,4 @@
-export GOPATH=$PROJECTS/go
-export PATH="$GOPATH/bin:$PATH"
+export GODEV=$PROJECTS/go
+export GO3RDPARTY=$GODEV/3rdparty
+export GOPATH=$GO3RDPARTY:$GODEV
+export PATH="$GODEV:$GO3RDPARTY:$PATH" | bash |
d_bash_432 | ---
+++
@@ -25,6 +25,6 @@
# loop through all collections and test all
for collection in $collections ; do
echo "Checking SCL $collection ..."
- ./run-repo-tests.sh "$collection" "$el_version"
+ ./run.sh "$collection" "$el_version"
done
| bash |
d_bash_433 | ---
+++
@@ -1,5 +1,4 @@
GIT=https://gitlab.redox-os.org/redox-os/userutils.git
-BRANCH=redox-unix
BINS=(
id
getty | bash |
d_bash_434 | ---
+++
@@ -9,6 +9,6 @@
startZero
start
-coverage run --source=pydgraph setup.py test
+coverage run --source=pydgraph --omit=pydgraph/proto/* setup.py test
quit 0 | bash |
d_bash_435 | ---
+++
@@ -3,3 +3,4 @@
########################################
export WORKSPACE_HOME='/Users/dpilone/Documents/NASA/code/echo_10_latest'
+export ANT_OPTS=-XX:MaxPermSize=256m\ -Xmx256m | bash |
d_bash_436 | ---
+++
@@ -1,2 +1,3 @@
export GOPATH=$GOPATH:/Users/jemy/QiniuCloud/Projects/qshell
-gox
+gox -os="windows"
+gox -os="darwin" | bash |
d_bash_437 | ---
+++
@@ -1,6 +1,6 @@
result=$(trim "$(bundle exec vagrant run completion-data | wc -w)")
-[[ "${result}" == '15' ]] || {
+[[ "${result}" == '19' ]] || {
echo 'Completion data contains unexpected number of return values...'
echo "Got result: '${result}'"
exit 1 | bash |
d_bash_438 | ---
+++
@@ -5,6 +5,7 @@
PYGLET_DIR=/home/pyglet/www
make clean
+mkdir _build/html
make html
rsync -az --delete _build/html/ -e ssh $PYGLET_USR@$PYGLET_ORG:$PYGLET_DIR/doc-current | bash |
d_bash_439 | ---
+++
@@ -7,6 +7,6 @@
# If your server is running in an untrusted environment, you should probably
# change the cookie too. (All nodes in a cluster must have the same cookie.)
-exec erl -pa $PWD/ebin -pa {{src}}/ebin -pa {{src}}/deps/*/ebin \
+exec erl +K true -pa $PWD/ebin -pa {{src}}/ebin -pa {{src}}/deps/*/e... | bash |
d_bash_440 | ---
+++
@@ -34,3 +34,6 @@
# Inline::Python work directory
export PERL_INLINE_DIRECTORY="$MC_ROOT_DIR/_Inline/"
+
+# Add lib/ to @INC
+export PERL5LIB="$MC_ROOT_DIR/lib:$PERL5LIB" | bash |
d_bash_441 | ---
+++
@@ -10,6 +10,7 @@
README.md \
index.js \
package.json \
+ typings.d.ts \
src/*
do
cp -r "$pattern" "$dir" | bash |
d_bash_442 | ---
+++
@@ -3,5 +3,3 @@
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_443 | ---
+++
@@ -8,6 +8,7 @@
alias -g .....='../../../..'
alias -g ......='../../../../..'
+alias -- -='cd -'
alias 1='cd -'
alias 2='cd -2'
alias 3='cd -3' | bash |
d_bash_444 | ---
+++
@@ -20,5 +20,5 @@
ln -s /cfg/config.local.php /jirafeau/lib/config.local.php
fi
-chown -R jirafeau:jirafeau /jirafeau /var/run/php-fpm.sock /var/lib/nginx /tmp /data /cfg
+chown -R jirafeau:jirafeau /jirafeau /var/run/php-fpm.sock /var/lib/nginx /tmp /data /cfg /var/tmp/nginx
supervisord -c /usr/local/e... | bash |
d_bash_445 | ---
+++
@@ -33,3 +33,6 @@
alias cp="cp -i"
alias mv="mv -i"
alias rm="rm -i"
+
+# Better `cat` code formatting
+alias c="pygmentize -O style=monokai -f console256 -g" | bash |
d_bash_446 | ---
+++
@@ -4,5 +4,6 @@
cd ./gode-sunder
sbt clean coverage test
sbt coveralls
+cd ..
echo -e "...finished running unit tests and generating coverage statistics!\n"
| bash |
d_bash_447 | ---
+++
@@ -1,6 +1,6 @@
export MINERVA_DB_NAME=minerva
export PGDATABASE=$MINERVA_DB_NAME
-gosu postgres create-minerva-database
+create-minerva-database
echo 'minerva.trigger_mark_modified = on' >> /var/lib/postgresql/data/postgresql.conf | bash |
d_bash_448 | ---
+++
@@ -22,6 +22,7 @@
sleep $BOOT_DELAY
echo 'Grid engine should have 2 exec hosts:'
setuser xenon ssh-keyscan -t rsa xenon-gridengine >> /home/xenon/.ssh/known_hosts
+ chown xenon.xenon /home/xenon/.ssh/known_hosts
setuser xenon ssh xenon-gridengine qhost
fi
| bash |
d_bash_449 | ---
+++
@@ -20,6 +20,6 @@
ClangDiagnosticAST ClangDiagnosticDriver ClangDiagnosticAnalysis \
ClangDriverOptions ClangAttrParserStringSwitches ClangAttrParsedAttrList \
ClangAttrTemplateInstantiate ClangAttrSpellingListIndex \
- ClangAttrParsedAtt... | bash |
d_bash_450 | ---
+++
@@ -3,5 +3,5 @@
if [[ ! -z ${TRAVIS_TAG} ]]; then
export ARCHIVE_TAG=${TRAVIS_TAG}
else
- DATE=$(date +%Y.%m.%d) && export ARCHIVE_TAG="nightly-$DATE"
+ DATE=$(date +%Y-%m-%dT%T) && export ARCHIVE_TAG="nightly-$DATE"
fi | bash |
d_bash_451 | ---
+++
@@ -7,5 +7,5 @@
--ipc container:dtwsagent \
--publish-all \
nginx \
- sh -c "(sleep 1 && \${DTWSAGENT_ENV_DT}/attach-wsagent-slave.sh &) && \
+ sh -c "(sleep 1 && \${DTWSAGENT_ENV_DT}/attach-to-wsagent-master.sh &) && \
LD_PRELOAD=\${DTWSAGENT_ENV_LIB64} nginx" | bash |
d_bash_452 | ---
+++
@@ -6,3 +6,4 @@
pip install -e tests/functional/registration/projects/types_dsl || exit 1
pip install -e tests/functional/registration/projects/data_dsl || exit 1
pip install -e tests/functional/registration/projects/flow_dsl || exit 1
+pip install -e tests/functional/registration/projects/flow_codegen || ... | bash |
d_bash_453 | ---
+++
@@ -8,3 +8,6 @@
sed -i -e "s|^SELINUX=.*|SELINUX=disabled|" /etc/selinux/config
sudo setenforce 0
+
+sudo yum install -y libselinux-python
+ | bash |
d_bash_454 | ---
+++
@@ -5,6 +5,7 @@
# the test in this case.
if [ ! -f compile_commands.json ]
then
+ echo "Compilation database file does not exist. Skipping clang-tidy test."
exit 0
fi
| bash |
d_bash_455 | ---
+++
@@ -13,4 +13,4 @@
# travis token
#
-curl -vvv -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $auth_token" -d '{"request":{"branch":"master"}}' https://api.travis-ci.org/repo/alphagov%2Fnotify-functional-tests/requests
+cur... | bash |
d_bash_456 | ---
+++
@@ -13,3 +13,5 @@
$dir/fetch-jslint.sh $resourceDir $pkgDir
$dir/extract-options.rb $resourceDir/$pkgDir/fulljslint.js $javaDir/$pkgDir/Option.java > tmp.java
mv tmp.java $javaDir/$pkgDir/Option.java
+
+echo "Please update jslint4java-docs now!" | bash |
d_bash_457 | ---
+++
@@ -1,6 +1,5 @@
PROMPT='%{%f%b%k%}$(build_prompt) '$'\n$ '
-export DEFAULT_USER='jonchen'
export GPG_TTY=$(tty)
alias cd-='cd -' | bash |
d_bash_458 | ---
+++
@@ -14,4 +14,4 @@
fi
build_dir=${branch_dir}/${build_dir_name}
-${build_dir}/opencog/server/cogserver -c ~/Ubuntu\ One/.opencog.conf
+${build_dir}/opencog/server/cogserver -c ../lib/opencog.conf | bash |
d_bash_459 | ---
+++
@@ -5,7 +5,7 @@
# or the CSS::Sass Perl 5 module: https://metacpan.org/pod/CSS::Sass
#
-if command -v sass >/dev/null 2>&1; then
+if command -v sass >/dev/null 2>&1 && sass --version 2>&1/dev/null; then
sass -t compressed assets/sass/style.scss:html/css/style.css &&
echo "Successfully compiled S... | bash |
d_bash_460 | ---
+++
@@ -1,6 +1,6 @@
# OPAM packages needed to build tests.
OPAM_PACKAGES="ezjsonm ocamlgraph lwt cryptokit re dolog mstruct core_kernel uri \
- cohttp ssl core_kernel cmdliner alcotest"
+ cohttp ssl core_kernel cmdliner alcotest git"
ppa=avsm/ocaml41+opam11
echo "yes" | sudo add-... | bash |
d_bash_461 | ---
+++
@@ -7,6 +7,7 @@
{
download "$URL" "$OUTPUT" 2>/dev/null
+ assertFalse "did not remove the .part file" '[[ -f "$OUTPUT.part" ]]'
assertTrue "did not download the file" '[[ -f "$OUTPUT" ]]'
}
| bash |
d_bash_462 | ---
+++
@@ -1,6 +1,6 @@
git pull
read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1
+echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" -av . ~
fi
-echo | bash |
d_bash_463 | ---
+++
@@ -21,4 +21,6 @@
set -e
pip install wheel
+pwd
+cd "$ROOT"
"$ROOT"/scripts/create-wheels.sh ucs2 | bash |
d_bash_464 | ---
+++
@@ -1,3 +1,3 @@
-psql -U postgres -h localhost -c "DROP DATABASE IF EXISTS test_rulerz"
-psql -U postgres -h localhost -c "CREATE DATABASE test_rulerz"
-psql -U postgres -h localhost -d test_rulerz -f ./examples/database.sql
+psql -U postgres -h localhost -c "DROP DATABASE IF EXISTS test_rulerz" && \
+psql -U... | bash |
d_bash_465 | ---
+++
@@ -11,6 +11,7 @@
# Extraction
pybabel extract -F babel.cfg $keys -o messages.pot .
pybabel init -i messages.pot -d . -o './beavy-server.po' -l en
+mkdir var/server-messages
./node_modules/.bin/po2json beavy-server.po var/server-messages/beavy-server.json -F -f mf --fallback-to-msgid
# Clean up | bash |
d_bash_466 | ---
+++
@@ -8,6 +8,7 @@
echo -e "$DOCKER_INTERNAL_IP\thost.docker.internal" >> /etc/hosts
echo "Added host.docker.internal to /etc/hosts"
fi
+touch /var/log/xdebug.log && chmod a+rw /tmp/xdebug.log
DB_CONFIG_FILE="config/autoload/doctrine.local.dev.php"
if [ ! -f "$DB_CONFIG_FILE" ]; then | bash |
d_bash_467 | ---
+++
@@ -29,6 +29,7 @@
# git config
su vagrant -c 'git config --global color.ui true'
+su vagrant -c 'git config --global core.editor vim'
## Node.js modules
| bash |
d_bash_468 | ---
+++
@@ -24,6 +24,7 @@
{
for d in ${DIR[@]}
do
+ export ID=$( basename $d )
export MODEL=$( find $d -name "*.model.h5" )
export WEIGHTS=$( find $d -name "*.weights.h5" )
m4 -P < infer-template.json | fmt -w 1024 | bash |
d_bash_469 | ---
+++
@@ -1,2 +1,5 @@
# Local installs with `pip --user` and stack.
pathaddstart "$HOME/.local/bin"
+
+# Installed to home directory.
+pathaddstart "$HOME/opt/bin" | bash |
d_bash_470 | ---
+++
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
-firefox cqse.slack.com https://chat.google.com/u/1 https://web.whatsapp.com/ mail.google.com/mail/u/0 mail.google.com/mail/u/1 &
+firefox cqse.slack.com https://web.whatsapp.com/ mail.google.com/mail/u/0 mail.google.com/mail/u/1 &
sleep 1.25
i3-msg 'move window to workspa... | bash |
d_bash_471 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash
-for i in `echo 3a 3b 3c 3d 3e 4a 4b 4c`; do
+for i in `echo 3a 3b 3c 3d 3e 3f 3g 3h 3i 3j 3k 3l 4a 4b 4c`; do
echo $i
ssh volt$i ps -ef | grep java && exit
done | bash |
d_bash_472 | ---
+++
@@ -12,3 +12,4 @@
docker build -t praekelt/mama-ng-static-reply $INSTALLDIR/$REPO/docker-vms/static_reply_app
docker build -t praekelt/mama-ng-vumi-api $INSTALLDIR/$REPO/docker-vms/http_api
docker build -t praekelt/mama-ng-jssandbox $INSTALLDIR/$REPO/docker-vms/jssandbox
+docker build -t praekelt/mama-ng-g... | bash |
d_bash_473 | ---
+++
@@ -3,4 +3,4 @@
###############################################################################
# Add binaries in cabal install location to path.
-export PATH="/Users/Shared/Library/Haskell/bin:$PATH"
+export PATH="$HOME"/Library/Haskell/bin:$PATH | bash |
d_bash_474 | ---
+++
@@ -13,3 +13,5 @@
}
reload-gpg-agent
+# Support for curses or CLI-based pin entry applications
+export GPG_TTY="$(tty)" | bash |
d_bash_475 | ---
+++
@@ -17,5 +17,5 @@
}
complete -F ssh_complete ssh
- complete -F ssh_complete scp
+ #complete -F ssh_complete scp
fi | bash |
d_bash_476 | ---
+++
@@ -1,2 +1,3 @@
#! /bin/sh
-cargo fuzz run server_basic -- -dict=fuzzer_dict -only_ascii=1 -timeout=60 $@
+# pwd
+cargo fuzz run server_basic -- -dict=fuzz/fuzzer_dict -only_ascii=1 -timeout=60 $@ | bash |
d_bash_477 | ---
+++
@@ -28,5 +28,5 @@
# update /etc/ansible
sudo -n /usr/local/bin/update_ansible_config.sh
# run ansible
- sudo -n -u {{ ansible_username }} -c /usr/local/bin/generate_ansible_command.py {{ '--compat' if not compat_disable else '' }} --old $OLDREV --new $NEWREV --git $(pwd)
+ ... | bash |
d_bash_478 | ---
+++
@@ -8,4 +8,4 @@
TURBINE_HOME=$( cd $( dirname $( which turbine ) )/.. ; /bin/pwd )
source ${TURBINE_HOME}/scripts/turbine-build-config.sh
export TCL_INCLUDE_SPEC
-export BLAS=${HOME}/Downloads/BLAS/BLAS.a
+export BLAS=${BLAS:-${HOME}/Downloads/BLAS/BLAS.a} | bash |
d_bash_479 | ---
+++
@@ -14,6 +14,7 @@
# Run InfluxDB automatically with Docker
docker run -d -p 8086:8086 -p 25826:25826/udp \
+ --restart unless-stopped \
-v /var/lib/influxdb:/var/lib/influxdb \
-v $PWD/influxdb.conf:/etc/influxdb/influxdb.conf:ro \
-v $PWD/types.db:/usr/share/collectd/types.db:ro \ | bash |
d_bash_480 | ---
+++
@@ -17,5 +17,5 @@
$(dirname $0)/../git/install.sh
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
fi
-vim +BundleInstall +qall
+vim +PluginInstall +qall
| bash |
d_bash_481 | ---
+++
@@ -19,4 +19,4 @@
# Note: verifier tool path assumes it came with the release pre-built.
KYTHE_DIRNAME="kythe-${KYTHE_VERSION}"
KYTHE_DIR_ABS="$(readlink -f "kythe-bin/${KYTHE_DIRNAME}")"
-bazel test --test_arg="$KYTHE_DIR_ABS/tools/verifier" verilog/tools/kythe:verification_test
+bazel test --test_output=... | bash |
d_bash_482 | ---
+++
@@ -27,4 +27,5 @@
--enable-activex \
--enable-sse --enable-mmx \
--disable-cddax --disable-vcdx --disable-libcdio --disable-vcdinfo \
- --disable-libcddb --disable-dvb --enable-zvbi --disable-telx
+ --disable-libcddb --disable-dvb --enable-zvbi --disable-telx \
+ --enable-... | bash |
d_bash_483 | ---
+++
@@ -5,5 +5,5 @@
ssh-keygen -t rsa -b 4096 -f deploy_key
travis encrypt-file deploy_key | \
grep -o -P "encrypted_\K[0-9a-f]+" | \
- head -n 1 |
+ head -n 1 \
> travis-encryption-label | bash |
d_bash_484 | ---
+++
@@ -24,4 +24,4 @@
echo "PHPUNIT is: $PHPUNIT"
export PHPUNIT
-echo "{ XDEBUG2HOST="${XDEBUG2HOST}"; . /usr/local/bin/xdebug2host; cd /curator; /usr/local/phpenv/shims/php $PHPUNIT; }" | sudo -u www-data --preserve-env --login
+echo "XDEBUG2HOST="${XDEBUG2HOST}"; . /usr/local/bin/xdebug2host; cd /curator; ... | bash |
d_bash_485 | ---
+++
@@ -4,6 +4,7 @@
--exclude 'themes/dpla/exhibitions-assets' \
--exclude 'application/logs' \
--exclude 'files' \
+ --exclude 'plugins/Dropbox/files' \
/home/dpla/exhibitions /srv/www
if [ $? -ne 0 ]; then | bash |
d_bash_486 | ---
+++
@@ -1,4 +1,5 @@
#!/bin/bash
+sudo apt-get install -y ruby1.9.1
sudo gem install bundler --no-ri --no-rdoc
cd /tmp/tests
bundle install --path=vendor | bash |
d_bash_487 | ---
+++
@@ -15,4 +15,5 @@
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_488 | ---
+++
@@ -8,5 +8,4 @@
opam install -j ${NJOBS} -y menhir
git_checkout ${CompCert_CI_BRANCH} ${CompCert_CI_GITURL} ${CompCert_CI_DIR}
-#( cd ${CompCert_CI_DIR} && ./configure -ignore-coq-version x86_32-linux && make && make check-proof )
-( cd ${CompCert_CI_DIR} && ./configure -ignore-coq-version x86_32-linux &&... | bash |
d_bash_489 | ---
+++
@@ -3,4 +3,4 @@
rm -f /var/tmp/catalyst/tmp/hardened/.autoresume-$n/{chroot_setup,setup_confdir,build_packages}
ln -sf /var/tmp/catalyst/builds/hardened/$n.tar.bz2
[ -L tmp ] && rm tmp; ln -sf /var/tmp/catalyst/tmp/hardened/$n tmp
-time catalyst -c catalyst.conf -f stage4.spec
+time catalyst -c catalyst.co... | bash |
d_bash_490 | ---
+++
@@ -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_491 | ---
+++
@@ -37,3 +37,6 @@
$CPANM List::MoreUtils
$CPANM Devel::NYTProf
+$CPANM Module::Install
+
+$CPANM Gearman::XS | bash |
d_bash_492 | ---
+++
@@ -12,4 +12,6 @@
itamae__node=`hostname`
. ${ITAMAE_HOME}/nodes/${itamae__node}
itamae_log__config
+itamae_log -l info Itamae start running
itamae__main 2>&1 | itamae_log
+itamae_log -l info Itamae finish running | bash |
d_bash_493 | ---
+++
@@ -15,11 +15,11 @@
# it needs to be removed before a symlink can be created
mv $dst $dst.bak
fi
- # if the directory still exists this means that it is already a symlink
- # or something went wrong, so we shouldn't really try and add another.
- if [ ! -... | bash |
d_bash_494 | ---
+++
@@ -3,6 +3,7 @@
# tmux
+alias tmux="TERM=screen-256color tmux"
alias t=tmux
alias tls="tmux ls"
| bash |
d_bash_495 | ---
+++
@@ -4,6 +4,7 @@
if [ -z "$1" ] || [ -z "$2" ] ; then
echo "Usage: sh toggle.sh 'Window Title' 'Path to program'"
+ exit 1
fi
wid=`xdotool search --name "$1"` | bash |
d_bash_496 | ---
+++
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
+cp docker-files/.env ./
docker-compose up -d
docker exec ruggedy-vma /usr/share/nginx/html/ruggedy-vma/docker-files/post-docker-compose-up.sh | bash |
d_bash_497 | ---
+++
@@ -21,4 +21,6 @@
if [[ "${PLATFORM}" == "mac" ]]; then
set_alias_if_program_exists 'gfind' 'find'
set_alias_if_program_exists 'gsed' 'sed'
+ set_alias_if_program_exists 'ggrep' 'grep'
+ set_alias_if_program_exists 'gcat' 'cat'
fi | bash |
d_bash_498 | ---
+++
@@ -1,6 +1,6 @@
# This file is part of Archivematica.
#
-# Copyright 2010-2012 Artefactual Systems Inc. <http://artefactual.com>
+# Copyright 2010-2013 Artefactual Systems Inc. <http://artefactual.com>
#
# Archivematica is free software: you can redistribute it and/or modify
# it under the terms of the G... | bash |
d_bash_499 | ---
+++
@@ -33,5 +33,9 @@
SUDO_PREFIX="sudo -E "
export KUBECONFIG="/root/.kube/config"
+# Clean up running docker containers on the test slave
+docker stop $(docker ps -aq) || true
+docker rm $(docker ps -aq) || true
+
# Download files and set permissions
source common.sh | bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.