document_id stringlengths 8 12 | document stringlengths 50 3.21k | split stringclasses 1
value |
|---|---|---|
d_bash_700 | ---
+++
@@ -6,7 +6,7 @@
if [[ "${OVERRIDE_JDK}" = 'true' ]]
then
- sudo apt-get purge openjdk* zulu* oracle-java* -q -y
+ sudo apt-get purge openjdk* oracle-java* -q -y
sudo apt-get autoclean -q -y
sudo apt-get autoremove -q -y
| bash |
d_bash_701 | ---
+++
@@ -1,7 +1,11 @@
#!/bin/bash
+
+set -e
[ ! -r cluster.crt ] || rm cluster.crt
[ ! -r cluster.key ] || rm cluster.key
+[ ! -r user.crt ] || rm user.crt
+[ ! -r user.key ] || rm user.key
# Create a CA certificate
flocker-ca initialize mycluster | bash |
d_bash_702 | ---
+++
@@ -16,7 +16,9 @@
rcvar="${name}_enable"
command="/usr/local/bin/python3.6"
-command_args="/home/sobomax/b2bua/apps/iot/pel_read.py -s /dev/cuau1 -n scrapegoat.sippysoft.com -u pel150 -P udv1pzs"
-pidfile=/var/run/pel_read.pid
+pidfile="/var/run/pel_read.pid"
+
+command_args="/home/sobomax/b2bua/apps/iot/... | bash |
d_bash_703 | ---
+++
@@ -31,9 +31,9 @@
brew cask install google-chrome
fi
-if [ ! "$(brew cask ls | grep google-photos-backup)" ]; then
- echo "Installing google-photos-backup"
- brew cask install google-photos-backup
+if [ ! "$(brew cask ls | grep google-backup-and-sync)" ]; then
+ echo "Installing google-backup-and-syn... | bash |
d_bash_704 | ---
+++
@@ -4,7 +4,7 @@
git checkout sippy_git_master
git pull
-git branch -d sippy_git_master_toplevel
+git branch -D sippy_git_master_toplevel
git subtree split --prefix=sippy --branch=sippy_git_master_toplevel
git checkout master
git pull | bash |
d_bash_705 | ---
+++
@@ -1,4 +1,4 @@
-#!/bin/bash --login
+#!/bin/bash
#Shamlessly stolen from https://github.com/vgod/vimrc
cd ~
ls -s dotfiles/.vim .vim
@@ -18,7 +18,7 @@
yes | vim +BundleInstall +qall
cd ~/.vim/bundle/command-t/ruby/command-t
-rvm use system #Needs a login shell. Should be using rbenv
+rbenv use system... | bash |
d_bash_706 | ---
+++
@@ -31,4 +31,4 @@
${WRKDIR}/data/CNV/CNV_MASTER/${pheno}/${pheno}.${CNV}.${VF}.GRCh37.${filt}.bed.gz \
${path} \
${h37}
-done
+done < ${list} | bash |
d_bash_707 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash
sudo apt-get install apache2 libapache2-mod-php5 mysql-server php5 php5-mysql \
-php5-mcrypt php5-gd php5-curl phpmyadmin
+php5-mcrypt php5-gd php5-imagick php5-curl phpmyadmin
if [ $(grep --count "/etc/phpmyadmin/apache.conf" \
"/etc/apache2/apache2.conf") = "0" ]
@@ -1... | bash |
d_bash_708 | ---
+++
@@ -9,7 +9,7 @@
sudo apt-get -y install postgresql postgresql-contrib linux-generic-lts-vivid
sudo update-rc.d postgresql enable
set +e
-sudo -u postgres createuser -d --superuser `whoami`
+sudo -u postgres createuser -d --superuser $(whoami)
createuser --superuser root
createdb atc
set -e | bash |
d_bash_709 | ---
+++
@@ -5,3 +5,4 @@
git clone https://github.com/roborescue/rcrs-server.git roborescue
sed --in-place 's/apache-ant-\*\/bin\/ant .*"/gradlew completeBuild"/' \
script/rrscluster
+sed --in-place '/connect-time/s/^/#/' script/rrscluster | bash |
d_bash_710 | ---
+++
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
set -e
+
+# Save some useful information
+REPO=`git config remote.origin.url`
+SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:}
+SHA=`git rev-parse --verify HEAD`
git checkout gh-pages || git checkout --orphan gh-pages
@@ -12,11 +17,6 @@
echo "Skipping d... | bash |
d_bash_711 | ---
+++
@@ -35,9 +35,9 @@
export LC_ALL=en_US.UTF-8
#
echo "----------------------------------------"
-echo "==> time ./makeBBoxSpreadsheet.sh -td"
+echo "==> time ./makeBBoxCatalog.sh -td"
date
-time ./makeBBoxSpreadsheet.sh -td
+time ./makeBBoxCatalog.sh -td
echo ""
echo "===================================... | bash |
d_bash_712 | ---
+++
@@ -9,6 +9,11 @@
ssh -t -t $SSH_OPTS root@$node "/etc/init.d/gmond restart"
done
+# gmeta needs rrds to be owned by nobody
+chown -R nobody /var/lib/ganglia/rrds
+# cluster-wide aggregates only show up with this. TODO: Fix this cleanly ?
+ln -s /usr/share/ganglia/conf/default.json /var/lib/ganglia/conf/... | bash |
d_bash_713 | ---
+++
@@ -4,4 +4,4 @@
make -C unix check
make -C unix clean
-DAALA_ROOT=. tools/submit_awcy.py -master
+#DAALA_ROOT=. tools/submit_awcy.py -master | bash |
d_bash_714 | ---
+++
@@ -9,8 +9,8 @@
git checkout --orphan gh-pages
git rm --cached -r .
echo "# Automatic build" > README.md
-echo "Built website from {$SHA}. See https://github.com/ethereum/browser-solidity/ for details." >> README.md
-echo "To use an offline copy, download browser-solidity-$SHA.zip." >> README.md
+echo "Bui... | bash |
d_bash_715 | ---
+++
@@ -4,7 +4,7 @@
POD_TRY_OPTION="$3"
echo "Invoking 'pod try $POD_NAME'"
-POD_TRY_DIR="$(pod _1.6.1_ try --verbose $POD_NAME <<< $POD_TRY_OPTION | tail -1 | awk '{print $2}' | echo "/$(cut -d\/ -f2-11)")"
+POD_TRY_DIR="$(pod _1.6.1_ try $POD_NAME <<< $POD_TRY_OPTION | tail -1 | awk '{print $2}' | echo "/$(... | bash |
d_bash_716 | ---
+++
@@ -1,3 +1,8 @@
# Sublime Text 2 Aliases
-alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
+#unamestr = 'uname'
+if [[ uname == 'Linux' ]]; then
+ alias st='open -a /usr/bin/sublime_text'
+elif [[ uname == 'Darwin' ]]; then
+ alias st='open -a "/Applications/Sublime Text 2.app'
... | bash |
d_bash_717 | ---
+++
@@ -1,5 +1,5 @@
rm -rf Build/Windows
mkdir -p Build/Windows
cd Build/Windows
-cmake -G "Visual Studio 14 Win64" ../..
+cmake -G "Visual Studio 15 Win64" ../..
cd ../.. | bash |
d_bash_718 | ---
+++
@@ -1,12 +1,26 @@
#!/bin/bash
# Run the translate over all inputfiles in src/test/resources/sitelog and output to /tmp/geodesyml/runall
+# $1 - (OPTIONAL) input file to process - output written to $OUTPUTDIRTMP
+# If no arg then processes all files in $INPUTDIR
INPUTDIR=src/test/resources/sitelog
-OUTPUT... | bash |
d_bash_719 | ---
+++
@@ -35,6 +35,6 @@
sync_mailboxes_loop& >> $LOG 2>&1
echo $! > $PID
-/usr/bin/mutt
+/usr/local/bin/mutt
clean_up | bash |
d_bash_720 | ---
+++
@@ -4,10 +4,10 @@
PWD=`pwd`
DIR=`basename $PWD`
-anaconda-build trigger moble/${DIR}
+# anaconda-build trigger moble/${DIR}
export CONDA_NPY=19
-CONDA_PYs=( 27 34 )
+CONDA_PYs=( 27 34 35 )
for CONDA_PY in "${CONDA_PYs[@]}"
do | bash |
d_bash_721 | ---
+++
@@ -16,7 +16,7 @@
cd $BUILD_DIR
if [ ! -f $BUILD_DIR/nuget.exe ]; then
- curl https://nuget.org/nuget.exe -o $BUILD_DIR/nuget.exe
+ curl -L https://nuget.org/nuget.exe -o $BUILD_DIR/nuget.exe
fi
mono $BUILD_DIR/nuget.exe install Mono.TextTransform -OutputDirectory $BUILD_DIR/../deps | bash |
d_bash_722 | ---
+++
@@ -21,5 +21,5 @@
set -o pipefail
docker rm -f guestbook-build 2> /dev/null || true
-docker rmi -f kubernetes/guestbook-build || true
+docker rmi -f kubernetes/guestbook-builder || true
docker rmi -f kubernetes/guestbook || true | bash |
d_bash_723 | ---
+++
@@ -9,19 +9,17 @@
case `uname -s` in
Darwin)
- LIBTOOLIZE=glibtoolize
- ;;
+ LIBTOOLIZE=glibtoolize
+ ;;
FreeBSD)
- LIBTOOLIZE=libtoolize
- if [ -d /usr/local/gnu-autotools/bin ] ; then
- PATH=/usr/local/gnu-autotools/bin:${PATH}
- export PATH
- FIX_BROKEN_FREEBSD_PORTS="-I /usr/local/share/aclo... | bash |
d_bash_724 | ---
+++
@@ -2,7 +2,7 @@
if test ! $(which brew)
then
- ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
+ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
fi
brew update | bash |
d_bash_725 | ---
+++
@@ -18,7 +18,7 @@
*) echo "Imagestream testing not supported for $OS environment." ; return 0 ;;
esac
- ct_os_test_image_stream_quickstart "${THISDIR}/imagestreams/perl-${OS}.json" \
+ ct_os_test_image_stream_quickstart "${THISDIR}/imagestreams/perl-${OS%[0-9]*}.json" \
... | bash |
d_bash_726 | ---
+++
@@ -26,7 +26,7 @@
exit 1
fi
if $VALID && $REVSIG; then
- echo "$INPUT" | gpg --trust-model always "$@" | grep "\[GNUPG:\] \(NEWSIG\|SIG_ID\|VALIDSIG\)" 2>/dev/null
+ echo "$INPUT" | gpg --trust-model always "$@" | grep "^\[GNUPG:\] \(NEWSIG\|SIG_ID\|VALIDSIG\)" 2>/dev/null
echo "$GOODREVSIG"
else
ech... | bash |
d_bash_727 | ---
+++
@@ -5,13 +5,13 @@
ROOT=$(dirname $(dirname $(readlink -e $0)))
if which pyenv >/dev/null 2>&1; then
- if pyenv versions --bare | grep '^3\.5\.4$' >/dev/null 2>&1; then
+ if pyenv versions --bare | grep '^3\.5\.5$' >/dev/null 2>&1; then
:
else
(cd $(pyenv root) && git pull)
- pyenv instal... | bash |
d_bash_728 | ---
+++
@@ -2,7 +2,7 @@
# Packages
sudo apt-get update
-cat << EOF | xargs sudo apt-get install -y
+cat << EOF | xargs -n 1 sudo apt-get install -y
arping
build-essential
curl | bash |
d_bash_729 | ---
+++
@@ -28,7 +28,7 @@
$CONDA_INSTALL pytest Cython jinja2 psutil
# OPTIONAL DEPENDENCIES
-if [ $OPTIONAL_DEPS ]
+if $OPTIONAL_DEPS
then
$CONDA_INSTALL scipy h5py matplotlib pyyaml
pip install beautifulsoup4 | bash |
d_bash_730 | ---
+++
@@ -2,7 +2,6 @@
git clone https://github.com/edx/edx-analytics-data-api.git
cd edx-analytics-data-api
-git checkout learner-analytics
pip install -q -r requirements/base.txt
make test.install_elasticsearch
cd - | bash |
d_bash_731 | ---
+++
@@ -9,6 +9,7 @@
salt-ssh --state-output=mixed 'cove-live' state.highstate
pushd ../cove
git checkout live
+git pull
source .ve/bin/activate
pip install --upgrade -r requirements_dev.txt
CUSTOM_SERVER_URL=http://cove.opendataservices.coop/ PREFIX_360=/360/ py.test fts | bash |
d_bash_732 | ---
+++
@@ -8,5 +8,5 @@
source ${MY_DIR}/scripts/common/download-pivotal-ide-prefs.sh
pushd ~/workspace/pivotal_ide_prefs/cli
-./bin/ide_prefs install --ide=gogland
+./bin/ide_prefs install --ide=goland
popd | bash |
d_bash_733 | ---
+++
@@ -1,4 +1,5 @@
export INSTALL_SCLS=rh-mysql57
+export INSTALL_PKGS="rh-mysql57 rh-mysql57-mysql"
export ENABLE_SCLS=rh-mysql57
export SERVICE_NAME=rh-mysql57-mysqld
export DATA_DIR=/var/opt/rh/rh-mysql57/lib/mysql | bash |
d_bash_734 | ---
+++
@@ -6,9 +6,8 @@
exit 1
fi
-if [ ! -d "/app/RELEASE_PROCESS.md" ]; then
- >&2 echo "Are you running in docker?"
- exit 1
+if [ ! -f "/app/RELEASE_PROCESS.md" ]; then
+ >&2 echo -e "\033[0;31mReleases must be done from withing Docker\033[0m"
fi
if [ -z ${GIT_CRYPT_KEY_BASE64} ]; then | bash |
d_bash_735 | ---
+++
@@ -21,7 +21,3 @@
BUILD_CONF_DIR="$(tr '[:lower:]' '[:upper:]' <<< ${BUILD_CONF:0:1})${BUILD_CONF:1}"
BUILD_DIR=$CUR_DIR/gmake/lib/$BUILD_CONF_DIR
-
-# Workaround for testing issue
-mkdir -p $CUR_DIR/gmake/lib/lib/$BUILD_CONF_DIR
-cp $BUILD_DIR/libNamespacesBase.* $CUR_DIR/gmake/lib/lib/$BUILD_CONF_DIR | bash |
d_bash_736 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash -e
-VERSION='v2.0.0'
+VERSION='v2.1.0'
TOXIPROXY_LOG_DIR=${CIRCLE_ARTIFACTS:-'/tmp'}
if [[ "$OSTYPE" == "linux"* ]]; then | bash |
d_bash_737 | ---
+++
@@ -1,9 +1,9 @@
#!/bin/sh
-starcluster start -c deploy aws-deployment
+starcluster start -c deploy -s $CLUSTER_SIZE aws-deployment
starcluster put aws-deployment -u mark $TARBALL $TARBALL
starcluster put aws-deployment -u mark $FOLDER/scripts/baton.sh baton.sh
-starcluster sshmaster aws-deployment -u ... | bash |
d_bash_738 | ---
+++
@@ -1,10 +1,14 @@
set -ex
-apt-get install ruby rubygems ||
-yum install -y ruby rubygems ||
-pkgin install ruby rubygems ||
+# Get ruby, rubygems, and npdtae
+apt-get install ruby rubygems ntpdate ||
+yum install -y ruby rubygems nptdate ||
false
+# Run ntpdate to ensure the system date is correct
+ntp... | bash |
d_bash_739 | ---
+++
@@ -1,7 +1,10 @@
#! /bin/sh
PORT=8080
-JASS_SERVER="http://jass-prod.herokuapp.com"
-JASS_API="$JASS_SERVER/api/inputrequests/"
+#JASS_SERVER_2="http://jass-staging.herokuapp.com"
+JASS_API_2="$JASS_SERVER_2/api/inputrequests/"
+
+JASS_SERVER_1="http://jass-prod.herokuapp.com"
+JASS_API_1="$JASS_SERVER_1/ap... | bash |
d_bash_740 | ---
+++
@@ -2,6 +2,6 @@
sudo aptitude update || true
-for PKG in texlive texlive-latex-extra darcs git automake fakeroot python-epydoc python-setuptools debhelper dh-ocaml python-virtualenv; do
+for PKG in texlive texlive-latex-extra darcs git automake fakeroot python-epydoc python-setuptools debhelper dh-ocaml ... | bash |
d_bash_741 | ---
+++
@@ -1,6 +1,6 @@
[[ -s "/etc/default/evm" ]] && source "/etc/default/evm"
# Aliases:
-alias ad='/usr/bin/appliance_console'
+alias ap='/usr/bin/appliance_console'
alias vmdb='cd /var/www/miq/vmdb'
alias appliance='[[ -n ${APPLIANCE_SOURCE_DIRECTORY} ]] && cd ${APPLIANCE_SOURCE_DIRECTORY}' | bash |
d_bash_742 | ---
+++
@@ -2,17 +2,17 @@
# Certain commands cannot be run in Dockerfile including pbuilder run them here
-DEPENDS="debhelper dh-autoreconf autoconf automake intltool zlib1g-dev libkrb5-dev
- libxslt1-dev libkeyutils-dev libglib2.0-dev libsystemd-dev libpolkit-agent-1-dev libpcp3-dev
- libjson-gl... | bash |
d_bash_743 | ---
+++
@@ -23,7 +23,8 @@
cat $dir/tmp | sort | $KL/wer_ref_filter > $dir/$part-groundtruth-text.txt
# Filter decoded
-$LVSR/bin/extract_for_kaldi.sh $report > $dir/tmp
+$LVSR/bin/extract_for_kaldi.sh $report | sed -e 's/<noise>/<NOISE>/g' | \
+ sed -e 's/ QUOTE/ "QUOTE/g' | sed -e 's/ UNQUOTE/ "UNQUOTE/g' > $dir... | bash |
d_bash_744 | ---
+++
@@ -13,7 +13,7 @@
echo -n "" > results.txt
for i in *.php; do
- /usr/bin/time -f "%e\t$i" php -c custom-php.ini $i > /dev/null 2>> results.txt
+ /usr/bin/time -f "%e\t$i" --append -o results.txt php -c custom-php.ini $i
done
sort -rn -o results.txt results.txt | bash |
d_bash_745 | ---
+++
@@ -2,7 +2,6 @@
teams=(
content-tools
- govuk-easier-finding
reliability-engineering
servicemanual
) | bash |
d_bash_746 | ---
+++
@@ -15,7 +15,7 @@
fi
if [ "$LANGUAGE" != "skip" ]; then
- LANGUAGE_DIR="${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/${LANGUAGE}.lproj"
+ LANGUAGE_DIR="${BUILT_PRODUCTS_DIR:-../../../OSRMTextInstructions/}/${UNLOCALIZED_RESOURCES_FOLDER_PATH:-}/${LANGUAGE}.lproj"
mkd... | bash |
d_bash_747 | ---
+++
@@ -2,7 +2,7 @@
set -ex -o pipefail
BCBIO_VERSION="1.0.5a"
-BCBIO_REVISION="562c5e6"
+BCBIO_REVISION="1822505"
NS="quay.io/bcbio"
TAG="${BCBIO_VERSION}-${BCBIO_REVISION}"
| bash |
d_bash_748 | ---
+++
@@ -11,9 +11,8 @@
alias glr='git pull --rebase --prune'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gp='git push origin HEAD'
-# Remove `+` and `-` from start of diff lines; just rely upon colo... | bash |
d_bash_749 | ---
+++
@@ -14,7 +14,7 @@
truncate -s0 specfailed.txt
for spec in ${DISABLED_TESTS[@]}
do
- echo $spec >> specfailed.txt
+ echo $spec >> specfailed.log
if [[ $first -eq 0 ]]
then
DISABLED_TEST_REGEX="$DISABLED_TEST_REGEX\\|$spec" | bash |
d_bash_750 | ---
+++
@@ -20,6 +20,7 @@
mkdir -p /build
rsync -av --exclude .git /source/ /build/
+chown -R root:root /build
(
set -evx | bash |
d_bash_751 | ---
+++
@@ -17,7 +17,7 @@
;;
test)
type docker-compose >/dev/null 2>&1 || { echo >&2 "docker-compose is required but it's not installed. Aborting."; exit 1; }
- docker-compose -f docker-compose-test.yml build && docker-compose -f docker-compose-test.yml up
+ docker-compose -f doc... | bash |
d_bash_752 | ---
+++
@@ -13,7 +13,7 @@
echo packages/* | xargs -t -n 1 cp .npmrc
# Set up git remote
-git remote add pushback "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git"
+git remote add pushable-origin "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git"
git checkout "${TRAVIS_BRANCH}"
# Publish!
@@ -21,5... | bash |
d_bash_753 | ---
+++
@@ -5,7 +5,7 @@
export OPAMYES=1
opam init
opam update
-opam install oasis ocamlfind calendar xmlm uri
+opam install oasis ocamlfind calendar xmlm uri lwt cohttp
eval `opam config env`
./configure --enable-tests | bash |
d_bash_754 | ---
+++
@@ -13,7 +13,7 @@
MT_CBENCH_LOCATION="https://github.com/intracom-telecom-sdn/mtcbench.git"
if [ ! -d $SCRIPT_DIR"/oflops" ] || [ ! -d $SCRIPT_DIR"/openflow" ]; then
- git clone -b add-run-handler $MT_CBENCH_LOCATION $SCRIPT_DIR"/mtcbench"
+ git clone -b master $MT_CBENCH_LOCATION $SCRIPT_DIR"/mtcbenc... | bash |
d_bash_755 | ---
+++
@@ -3,4 +3,4 @@
#unittest-xml-reporting
#xmlrunner
-sudo -H pip install pyexpect unittest-xml-reporting xmlrunner
+sudo -H pip install pyexpect unittest-xml-reporting | bash |
d_bash_756 | ---
+++
@@ -3,32 +3,22 @@
echodo() {
echo "$@"
- "$@"
+ sudo "$@"
}
-
-main() {
- if [ ! -f mirrorlist.pacnew ]; then
- echo 'No mirrorlist.pacnew!'
- exit 1
- fi
-
- echo 'Backing up old mirror list...'
- echodo mv -f mirrorlist mirrorlist.old
- echodo cp -f mirrorlist.pacnew mirrorlist.bak
-
- echo 'Please ... | bash |
d_bash_757 | ---
+++
@@ -1,6 +1,6 @@
opam pin add --no-action ocsigenserver 'https://github.com/ocsigen/ocsigenserver.git#master'
opam pin add --no-action reactiveData 'https://github.com/ocsigen/reactiveData.git#master'
-opam pin add --no-action eliom 'https://github.com/ocsigen/eliom.git#eliompp'
+opam pin add --no-action eli... | bash |
d_bash_758 | ---
+++
@@ -18,9 +18,13 @@
set -o pipefail
set -o xtrace
+TESTINFRA_ROOT=$(git rev-parse --show-toplevel)
+
for output in gs://k8s-testgrid-canary/config gs://k8s-testgrid/config; do
bazel run //testgrid/cmd/configurator -- \
--yaml="$(realpath "$(dirname "${BASH_SOURCE}")"/config.yaml)" \
+ --prow-co... | bash |
d_bash_759 | ---
+++
@@ -8,13 +8,8 @@
TO="${ALERT_EMAIL_ADDRESS}"
FROM="${ALERT_EMAIL_ADDRESS}"
-SMOKE_TEST_LOG=./smoke-tests-log/smoke-tests.log
-LAST_COMMIT_LOG=./smoke-tests-log/last-commit.log
-
-text_2_html(){
- TEXT_FILE=$1
- sed -e 's@$@<br/>@g' "${TEXT_FILE}" | tr -d '\n' | tr -d '"' | tr -d '\015'
-}
+# SMOKE_TEST_... | bash |
d_bash_760 | ---
+++
@@ -10,4 +10,4 @@
( cd server && bundle install )
echo "Install pip requirements"
-( /bin/pip install -r requirements.txt )
+( pip install -r requirements.txt ) | bash |
d_bash_761 | ---
+++
@@ -1,6 +1,6 @@
#! /bin/bash
-ENV_FILE=/tmp/olava-environment.sh
+ENV_FILE=/tmp/olava-config/olava-environment.sh
if [ -f $ENV_FILE ]; then
echo "Loading configuration from $ENV_FILE" | bash |
d_bash_762 | ---
+++
@@ -10,7 +10,7 @@
function git_dirty() {
if [[ -n $(git status -s 2> /dev/null) ]]; then
# Dirty
- echo "$fg_bold[red]●$reset_color"
+ echo "$fg_bold[red]●"
fi
}
function git_branch() {
@@ -20,7 +20,7 @@
}
function git_prompt() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
- ... | bash |
d_bash_763 | ---
+++
@@ -11,7 +11,7 @@
eval "$(ssh-agent -s)" #start the ssh agent
ssh-add .travis/id_rsa
- gulp cd:pushAndRun
+ gulp cd
elif [ $TRAVIS_BRANCH = "staging" ]; then
echo "Deploying to staging and testing"
| bash |
d_bash_764 | ---
+++
@@ -14,7 +14,7 @@
-Wd \
--travis-fold=always \
--log-config='raiden:DEBUG' \
- --random \
+ -v \
--blockchain-type=${BLOCKCHAIN_TYPE} \
${TRANSPORT_OPTIONS} \
${TEST} | bash |
d_bash_765 | ---
+++
@@ -13,4 +13,5 @@
SERIAL="$(cat /proc/cpuinfo | grep Serial | cut -d ':' -f 2 | sed 's/^ 0\+//')"
if [ "$SERIAL" == "" ]; then
SERIAL="$(hostnamectl status | grep 'Machine ID' | cut -d ':' -f 2 | cut -c 2- | cut -c -8)"
+fi
echo "dlibox-$SERIAL" | bash |
d_bash_766 | ---
+++
@@ -17,6 +17,7 @@
alias wfoff='rfkill block 0 && echo wifi turned off'
alias xc='xclip -selection clipboard'
alias ns='npm start'
+alias nst='npm stop'
alias mongostart='mongod --dbpath ~/data/db'
alias twstart='teamviewer --daemon start $$ teamviewer' | bash |
d_bash_767 | ---
+++
@@ -13,16 +13,16 @@
CVMFS_BUILD_LOCATION="$1"
shift 1
+export REBAR_CACHE_DIR=$WORKSPACE
+
# run the build script
echo "switching to $CVMFS_BUILD_LOCATION..."
cd "$CVMFS_BUILD_LOCATION"
-set +e
rebar3 as prod compile
cd _build/prod/lib/syslog
./rebar compile
cd -
rebar3 as prod release,tar
-set -e... | bash |
d_bash_768 | ---
+++
@@ -9,9 +9,8 @@
python3 --version >&2
python3 setup.py test
-pep8 *.py
-
-pep257 *.py
+pycodestyle *.py
+pydocstyle *.py
rst2html5.py README.rst README.html
| bash |
d_bash_769 | ---
+++
@@ -20,6 +20,7 @@
# re-running the protocol generation, because any changes should have been
# checked in.
if ! git diff --quiet --exit-code HEAD -- ./ ../go/ ../shared/; then
+ git diff HEAD -- ./ ../go/ ../shared/;
echo 'ERROR: `git diff` detected changes. The generated protocol files are stale.'
... | bash |
d_bash_770 | ---
+++
@@ -1,7 +1,7 @@
#!/bin/sh
RYU_GIT="https://github.com/routeflow/ryu-rfproxy.git"
-RYU_BRANCH="origin/master"
+RYU_BRANCH="origin/ha"
get_ryu() {
# TODO: This recommendation should be revisited after the ovs-1.10+ release | bash |
d_bash_771 | ---
+++
@@ -3,7 +3,7 @@
[[ -x "$HOME/.rvm/scripts/rvm" ]] && PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
# rbenv
-which rbenv > /dev/null && eval "$(rbenv init -)"
+which rbenv > /dev/null && eval "$(rbenv init -)" && rbenv global > /dev/null
# chruby
[[ -s /usr/local/share/chruby/chruby.sh ]] &... | bash |
d_bash_772 | ---
+++
@@ -1,4 +1,10 @@
#!/bin/bash
-scala_version=`scalac -version 2>&1 | grep "^Scala compiler version" | grep -oP '\K(\d+\.\d+\.\d+)'`
-[[ "$scala_version" = "2.10.3" ]] && exit 0 || { echo "Incorrect version: $scala_version."; exit 1; }
+status=0
+scalac_version=`scalac -version 2>&1 | grep "^Scala compiler v... | bash |
d_bash_773 | ---
+++
@@ -1,7 +1,23 @@
#!/bin/bash
+set -e
+
INST=$HOME/ExM/inst
+TURBINE=$INST/turbine
LB=$INST/lb
CUTILS=$INST/c-utils
-mpicc -std=c99 -O2 -L $LB/lib -L $CUTILS/lib -I $LB/include -I $CUTILS/include -o embarrassing embarrassing.c -ladlb -lexmcutils -Wl,-rpath,$LB/lib,-rpath,$CUTILS/lib
+source $TURBINE/sc... | bash |
d_bash_774 | ---
+++
@@ -7,4 +7,3 @@
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
-google-chrome --version | bash |
d_bash_775 | ---
+++
@@ -14,7 +14,6 @@
install_npm_pkg @typescript-eslint/parser
install_npm_pkg @typescript-eslint/eslint-plugin
install_npm_pkg http-server
-install_npm_pkg gatsby-cli
install_npm_pkg grunt-cli
install_npm_pkg vsce
install_npm_pkg typescript | bash |
d_bash_776 | ---
+++
@@ -2,38 +2,39 @@
run () {
- output_root=`./scripts/get_params.erl $output_dir`"_"`expr $rtime / 1000`"s"
-
- rebar clean
- rebar compile -D $1
+ ./rebar clean
+ ./rebar compile -D $1
for run in `seq 1 $run_repeat`; do
for model in $models; do
for core in $core... | bash |
d_bash_777 | ---
+++
@@ -7,9 +7,10 @@
ok=${i%.*}.ok
diff=${i%.*}.diff
./$i > $out 2>&1
- diff $out $ok > $diff
+ diff -u $ok $out > $diff
if [ -s $diff ]; then
echo "fail"
+ cat $diff
exit 1
else
echo "pass" | bash |
d_bash_778 | ---
+++
@@ -12,7 +12,7 @@
echo "Downloading..."
-wget http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
+wget -c http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
echo "Unzipping..."
| bash |
d_bash_779 | ---
+++
@@ -5,6 +5,9 @@
cd ${workdir}/sts4/headless-services
./mvnw -DskipTests package
+cd ${workdir}/sts4/headless-services/jdt-ls-extension
+./mvnw -DskipTests package
+
timestamp=`date +%s`
tarfile=${workdir}/out/sts4-mvn-cache-${timestamp}.tar.gz
tar -czvf ${tarfile} -C ${HOME} .m2/repository | bash |
d_bash_780 | ---
+++
@@ -1,6 +1,9 @@
#!/bin/sh -eEx
#
-# Run this from UCX build directory
+# Copyright (C) Mellanox Technologies Ltd. 2001-2016. ALL RIGHTS RESERVED.
+# See file LICENSE for terms.
+#
+# Run this from UCX build directory.
#
rev=$(git rev-parse --short HEAD) | bash |
d_bash_781 | ---
+++
@@ -1,3 +1,6 @@
#!/bin/sh
set -e
+dnf module enable -y maven:3.6
+dnf install -y --setopt=tsflags=nodocs maven
+dnf clean all | bash |
d_bash_782 | ---
+++
@@ -1,2 +1,2 @@
#!/bin/bash
-arm-linux-androideabi-g++ $@ $LDFLAGS -lGLESv2 -lsupc++ -L$GONKDIR/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/
+arm-linux-androideabi-g++ $@ $LDFLAGS -pie -lGLESv2 -lsupc++ -L$GONKDIR/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/ | bash |
d_bash_783 | ---
+++
@@ -5,7 +5,7 @@
command -v "$1" >/dev/null 2>&1
}
-command_exits cho || command_exits fzy || command_exits peco || {
+command_exits /usr/local/bin/cho || command_exits "$HOME"/bin/cho || command_exits fzy || command_exits peco || {
echo "ERROR: To install enhancd, you will need cho or fzy or peco."
... | bash |
d_bash_784 | ---
+++
@@ -8,15 +8,16 @@
exit 1
fi
PWD=$(pwd)
+export PYTHONPATH=$PWD/..
function cleanup {
cd $PWD
- rm -rf signac-examples
+ #rm -rf signac-examples
}
trap cleanup EXIT
-git clone --reference ~/local/gitcaches/signac-examples.reference git@bitbucket.org:glotzer/signac-examples.git
+git clone git... | bash |
d_bash_785 | ---
+++
@@ -21,6 +21,7 @@
curl \
g++ \
git \
+ jq \
libtool \
make \
unzip | bash |
d_bash_786 | ---
+++
@@ -15,8 +15,8 @@
if [[ ! -f concourse_linux_amd64 ]]; then
wget https://github.com/concourse/concourse/releases/download/v1.0.0/concourse_linux_amd64
fi
-sudo install --owner=concourse --group=concourse --mode=755 concourse_linux_amd64 /usr/local/bin/concourse
-sudo install --owner=concourse --group=con... | bash |
d_bash_787 | ---
+++
@@ -6,10 +6,10 @@
mkdir -p "$PREBUILT_DATA_DIR"
cd "$PREBUILT_DATA_DIR"
-DEP_DIR=platform-tools-31.0.3
+DEP_DIR=platform-tools-33.0.1
-FILENAME=platform-tools_r31.0.3-windows.zip
-SHA256SUM=0f4b8fdd26af2c3733539d6eebb3c2ed499ea1d4bb1f4e0ecc2d6016961a6e24
+FILENAME=platform-tools_r33.0.1-windows.zip
+SHA... | bash |
d_bash_788 | ---
+++
@@ -21,7 +21,10 @@
start.sh"
# Exclude these files/folders
-excludeList="config/purpleirc/bots/*"
+excludeList="config/purpleirc/bots/* \
+ mods/ImmersiveEngineering*-core.jar \
+ libraries/org/minimallycorrect/mixin/Mixin*/Mixin*.jar \
+ libraries/org/minimallycorrect/modpatcher/ModPatcher*/Mod... | bash |
d_bash_789 | ---
+++
@@ -5,13 +5,10 @@
echo "BROWSERBIN is $BROWSERBIN"
if [[ $BROWSERBIN == *"firefox"* ]]; then
echo "Updating path to Firefox"
- # Update the path to firefox to take off the -$BVER
- # set ./browsers/bin/firefox-stable to ./browsers/bin/firefox
- ln -s $BROWSERBIN ${BROWSERBIN:0:${#BROWSERBIN} - ${#BVER... | bash |
d_bash_790 | ---
+++
@@ -4,6 +4,12 @@
target_system="arm-hisiv200-linux"
toolchain_bin_dir="${target_dir}/bin"
+
+if [ ! "$BASH" ]; then
+ error "Android build requires Bash shell, please run it and source the \
+environment again."
+ return 22
+fi
make_toolchain() {
: ${jagen_toolchain_dir:?} | bash |
d_bash_791 | ---
+++
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
EXPECTED_SIGNATURE=$(wget -q -O - https://composer.github.io/installer.sig)
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | bash |
d_bash_792 | ---
+++
@@ -2,9 +2,27 @@
# You will need the libav-tools package installed for avconv or ffmpeg
# installed to use the other option.
-if ! hash avconv 2>/dev/null; then
+FPS="25"
+#Codecs and containers that work well: Lower quality = (libvpx and webm), High Quality = (ffv1 and avi)
+VCODEC="ffv1"
+CONTAINER="avi... | bash |
d_bash_793 | ---
+++
@@ -7,4 +7,4 @@
chmod -x pester-tests.xml
# Exit with failure if number of failed tests exceeds threshold
-[ ! $failed_tests -gt 14 ]
+[ ! $failed_tests -gt 11 ] | bash |
d_bash_794 | ---
+++
@@ -8,7 +8,8 @@
exit 1
fi
-DIR=$(dirname $(readlink -f $0))
+RELATIVE_DIR=$(dirname "${BASH_SOURCE[0]}")
+DIR=$(cd "${RELATIVE_DIR}" && pwd)
cd $DIR
GIT_COMMIT=$1 | bash |
d_bash_795 | ---
+++
@@ -1,5 +1,12 @@
#!/bin/bash
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m cp36-cp36m"
+
+package_name="$1"
+if [ -z "$package_name" ]
+then
+ &>2 echo "Please pass package name as a first argument of this script ($0)"
+ exit 1
+fi
echo "Compile wheels"
for PYTHON in ${PYTHON_VERSIONS}; do
@@ -8,13 +15,1... | bash |
d_bash_796 | ---
+++
@@ -5,3 +5,7 @@
git lfs install
npm install -g pure-prompt
+
+mkdir ~/Desktop/Screenshots
+defaults write com.apple.screencapture location ~/Desktop/Screenshots
+killall SystemUIServer | bash |
d_bash_797 | ---
+++
@@ -19,7 +19,12 @@
done
if [ "${all}" = "1" ] ; then
- (date -u && echo && ./openreviews.py -a) > results/all-openreviews.txt
+ rm results/all-openreviews.txt
+ (date -u && echo && ./openreviews.py -a) > results/all-openreviews.txt.tmp
+ for f in results/*-openreviews.txt ; do
+ (echo && cat $f) >> resul... | bash |
d_bash_798 | ---
+++
@@ -8,7 +8,7 @@
# the temp directory used, within $DIR
# omit the -p parameter to create a temporal directory in the default location
-WORK_DIR=`mktemp -d -p "$DIR"`
+WORK_DIR=`mktemp -d "$DIR.XXXXXXXX"`
# check if tmp dir was created
if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then
@@ -17,7 +17,7 @@
... | bash |
d_bash_799 | ---
+++
@@ -9,9 +9,13 @@
set -o nounset
protoc_version="3.18.1"
+arch=$(arch)
+if [[ "${arch}" == "aarch64" ]]; then
+ arch="aarch_64"
+fi
curl --fail --show-error --silent --location \
- "https://github.com/protocolbuffers/protobuf/releases/download/v${protoc_version}/protoc-${protoc_version}-linux-x86_64.z... | bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.