document_id stringlengths 8 12 | document stringlengths 50 3.21k | split stringclasses 1
value |
|---|---|---|
d_bash_17500 | ---
+++
@@ -2,5 +2,6 @@
# koopa shell
# https://koopa.acidgenomics.com/
+KOOPA_PREFIX='/usr/local/koopa'
# shellcheck source=/dev/null
-. /usr/local/koopa/activate
+. "${KOOPA_PREFIX}/activate" | bash |
d_bash_17501 | ---
+++
@@ -26,4 +26,8 @@
" >> /root/.config/quasar/quasar-config.json
fi
+
+
+export _JAVA_OPTIONS="${JAVA_OPTIONS:="-Xms1G -Xmx4G"} $SD_OPTS"
+
java -jar /slamdata/quasar.jar --content-path /slamdata/public | bash |
d_bash_17502 | ---
+++
@@ -19,3 +19,25 @@
fi
make install PREFIX=$PREFIX
+
+# add the /util directory to the PATH inside this conda env
+# http://conda.pydata.org/docs/using/envs.html#saved-environment-variables
+cat << EOF > ${PKG_NAME}-env-activate.sh
+#!/usr/bin/env bash
+
+export PRE_${PKG_NAME}_PATH=\$PATH
+export PATH=\$C... | bash |
d_bash_17503 | ---
+++
@@ -4,11 +4,8 @@
bash <(curl -s https://codecov.io/bash)
-docker tag $DOCKERHUB_REPO:$COMMIT $DOCKERHUB_REPO:travis-$TRAVIS_BUILD_NUMBER
-
-if [ "${TRAVIS_EVENT_TYPE}" == "push" ] && [ "${TRAVIS_BRANCH}" == "platform" ]; then
- docker tag $DOCKERHUB_REPO:$COMMIT $DOCKERHUB_REPO:$TRAVIS_BRANCH
-fi
+TRA... | bash |
d_bash_17504 | ---
+++
@@ -12,3 +12,5 @@
alias ll='ls -lArth'
alias la='ls -A'
+# If I'm using `file` than I want to know what a thing REALLY is, not about what it links to
+alias file='file -h' | bash |
d_bash_17505 | ---
+++
@@ -10,6 +10,9 @@
# set default mysql root password
debconf-set-selections <<< "mysql-server mysql-server/root_password password 1234"
debconf-set-selections <<< "mysql-server mysql-server/root_password_again password 1234"
+
+echo "Installing Apache2 - dev"
+apt-get install apache2-dev -y
echo "Install... | bash |
d_bash_17506 | ---
+++
@@ -1,7 +1,7 @@
#!/bin/sh
cd "diamondash"
-CLIENT_TESTS=`find -name "*.test.js" | while read f; do echo "${f%.js}"; done`
+CLIENT_TESTS=`find . -name "*.test.js" | while read f; do echo "${f%.js}"; done`
export NODE_ENV=test
export NODE_PATH=$NODE_PATH:"`pwd`/widgets":"`pwd`/public/js/" | bash |
d_bash_17507 | ---
+++
@@ -17,11 +17,11 @@
mkdir $BASE_DIR
mkdir $HOME_DIR
-cp ../../$NAME.jar $BASE_DIR
+cp ../../../$NAME.war $BASE_DIR
chown -R $USER:$GROUP $BASE_DIR
-cp init/upstart/$NAME.conf /etc/init
+cp $NAME.conf /etc/init
chmod +x /etc/init/$NAME.conf
service $NAME start | bash |
d_bash_17508 | ---
+++
@@ -3,7 +3,7 @@
# Calculate the start of the validation window as 10 days prior to the end of the window.
COMPARISON_END_TIME="${SQOOP_START_TIME}"
-COMPARISON_START_TIME=$(date -d "${COMPARISON_END_TIME} - 10 days")
+COMPARISON_START_TIME=$(date --utc --iso=minutes -d "${COMPARISON_END_TIME} - 10 days")
... | bash |
d_bash_17509 | ---
+++
@@ -32,7 +32,7 @@
yes "" | ./configure
# Run bazel test command. Double test timeouts to avoid flakes.
-bazel test --test_tag_filters=-gpu,-benchmark-test --test_lang_filters=py -k \
+bazel test --test_tag_filters=-gpu,-benchmark-test -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tes... | bash |
d_bash_17510 | ---
+++
@@ -27,4 +27,4 @@
fi
# Output path to compiled config file for use by workflow scripts
-echo "$HOME/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.calebevans.playsong/config.scpt"
+echo "$cache_dir/config.scpt" | bash |
d_bash_17511 | ---
+++
@@ -3,43 +3,16 @@
# Prepare the MySQL source code tree for building
# with checked-out InnoDB Subversion directory.
-# This script assumes that the MySQL tree is at .. and that . = ../innodb
+# This script assumes that the current directory is storage/innobase.
set -eu
TARGETDIR=../storage/innobase
... | bash |
d_bash_17512 | ---
+++
@@ -4,6 +4,8 @@
version=$(cat version/number)
pushd stacks-release
+
+git checkout master
rm config/blobs.yml
bosh -n add blob ../stack-s3/cflinuxfs2-*.tar.gz rootfs | bash |
d_bash_17513 | ---
+++
@@ -4,14 +4,15 @@
echo 'Installing Pebble SDK and its Dependencies...'
cd ~
+mkdir -p ~/pebble-dev
+touch ~/pebble-dev/ENABLE_ANALYTICS
# Get the Pebble SDK and toolchain
PEBBLE_SDK_VER=${PEBBLE_SDK#PebbleSDK-}
if [ ! -d $HOME/pebble-dev/${PEBBLE_SDK} ]; then
wget https://sdk.getpebble.com/downlo... | bash |
d_bash_17514 | ---
+++
@@ -32,9 +32,6 @@
done
if [ "$dolink" = "yes" ]; then
- MSVC98Dir="$PROGRAMFILES\Microsoft Visual Studio\VC98"
- PATH="$MSVC98Dir\BIN:$PATH"
- LIB="$MSVC98Dir\LIB;$LIB"
fl32 $args $link
stat=$?
if [ $stat -eq 1 ]; then | bash |
d_bash_17515 | ---
+++
@@ -3,6 +3,8 @@
WORKING_DIR=`pwd`
ABS_DIR=$WORKING_DIR/ActionBarSherlock-4.2.0
ABS_LIBRARY_DIR=$WORKING_DIR/ActionBarSherlock-4.2.0/library
+
+export SDK=`grep sdk.dir local.properties | cut -d'=' -f2`
if [ ! -d $ABS_DIR ]; then
# Download ActionBarSherlock
@@ -14,7 +16,7 @@
# Prepare the Ac... | bash |
d_bash_17516 | ---
+++
@@ -11,6 +11,7 @@
-m modules \
-M manifests/default.pp \
--fact osfamily=Debian \
+ --fact ipaddress_lo=127.0.0.1 \
--fact ipaddress_eth0=10.2.3.4 \
--fact architecture=amd64 \
--fact operatingsystem=Ubuntu \ | bash |
d_bash_17517 | ---
+++
@@ -9,6 +9,7 @@
caffeine
evernote
firefox
+ flux
google-chrome
google-web-designer
intellij-idea | bash |
d_bash_17518 | ---
+++
@@ -27,3 +27,8 @@
if [[ -d "$HOME/.cargo/bin" ]]; then
export PATH="$PATH:$HOME/.cargo/bin"
fi
+
+# For Haskell Stack
+if [[ -d "$HOME/.local/bin" ]]; then
+ export PATH="$PATH:$HOME/.local/bin"
+fi | bash |
d_bash_17519 | ---
+++
@@ -1,10 +1,10 @@
#!/bin/sh
-# $PostgreSQL: pgsql/src/test/bench/runwisc.sh,v 1.6 2004/09/01 17:25:40 tgl Exp $
+# $PostgreSQL: pgsql/src/test/bench/runwisc.sh,v 1.7 2004/10/07 19:37:16 momjian Exp $
#
# Note that in our published benchmark numbers, we executed the command in the
# following fashion:
#
... | bash |
d_bash_17520 | ---
+++
@@ -18,16 +18,18 @@
source tensorflow/tools/ci_build/release/common.sh
-# TODO(mihaimaruseac): Convert all builds to start from a virtualenv to isolate
-# from Kokoro setup
-python3 -m pip install --upgrade --user twine
+# Use a virtual environment to get access to the latest pips
+python3 -m venv venv &... | bash |
d_bash_17521 | ---
+++
@@ -3,7 +3,6 @@
alias sleepybear="osascript -e 'tell application \"System Events\" to sleep'"
-alias e='open -a MacVim'
alias gitx='open -a GitX .'
alias flushdns='sudo killall -HUP mDNSResponder' | bash |
d_bash_17522 | ---
+++
@@ -1,4 +1,4 @@
-VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
+VBOX_VERSION=$(cat $HOME_DIR/.vbox_version)
cd /tmp
mount -o loop $HOME_DIR/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt | bash |
d_bash_17523 | ---
+++
@@ -6,4 +6,4 @@
systemctl start grafana-server
sleep 5
grafana-cli plugins install opennms-datasource
-curl 'http://admin:admin@localhost:3000/api/datasources' -X POST -H 'Content-Type:application/json;charset=UTF-8' --data-binary '{"name":"OpenNMS","type":"opennms","access":"proxy","url":"http://localhos... | bash |
d_bash_17524 | ---
+++
@@ -12,6 +12,6 @@
export PGDATABASE=test_icekit
export REUSE_DB=1
export FORCE_SETUP_POSTGRES_DATABASE=1
-export SRC_PGDATABASE=test_icekit.sql
+export SRC_PGDATABASE="$ICEKIT_DIR/initial_data.sql"
exec entrypoint.sh python "$ICEKIT_DIR/bin/manage.py" test --noinput --verbosity=2 "$@" | bash |
d_bash_17525 | ---
+++
@@ -7,6 +7,3 @@
rm -f /usr/local/etc/bash_completion.d/npm
# Prefer `bundle` over `bundler`
rm -f /usr/local/bin/bundler
-# Prefer `speedtest` over `speedtest-cli` and `speedtest_cli`
-rm -f /usr/local/bin/speedtest-cli
-rm -f /usr/local/bin/speedtest_cli | bash |
d_bash_17526 | ---
+++
@@ -1,4 +1,4 @@
-#`!/bin/sh
+#!/bin/sh
set -e
set -x
@@ -6,4 +6,4 @@
[ -d node_modules ] && rm -rf node_modules
npm install
npm install -g mocha
-mocha src/test/chakram
+env tylrurl="https://api.teiler.io/" mocha src/test/chakram | bash |
d_bash_17527 | ---
+++
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
-echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="dialout", MODE="0666"' >/etc/udev/rules.d/99-libftdi.rules
+echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="dialout", MODE="0660"' >/etc/udev/rules.d/99... | bash |
d_bash_17528 | ---
+++
@@ -2,7 +2,17 @@
cd examples/
-RUSTC="rustc -Zcodegen-backend=$(pwd)/../target/debug/librustc_codegen_cranelift.so -L crate=. --crate-type lib"
+unamestr=`uname`
+if [[ "$unamestr" == 'Linux' ]]; then
+ dylib_ext='so'
+elif [[ "$unamestr" == 'Darwin' ]]; then
+ dylib_ext='dylib'
+else
+ echo "Unsup... | bash |
d_bash_17529 | ---
+++
@@ -6,9 +6,11 @@
for version in $(find ${package} -maxdepth 1 -type d \( ! -iname ".*" \) ); do
if [[ "$version" != "${package}" ]]; then
if [ -d "$version/build" ]; then
+ echo "Deleting '$version/build' directory and all children"
rm -fr $version/build
f... | bash |
d_bash_17530 | ---
+++
@@ -12,9 +12,9 @@
BIN_DIR="/usr/bin"
do_install() {
-mkdir -p /var/lib/cinder/dockerdriver
-mkdir -p /var/lib/cinder/mount
-curl -sSL -o $BIN_DIR/$BIN_NAME $DRIVER_URL
+sudo mkdir -p /var/lib/cinder/dockerdriver
+sudo mkdir -p /var/lib/cinder/mount
+sudo curl -sSL -o $BIN_DIR/$BIN_NAME $DRIVER_URL
}
d... | bash |
d_bash_17531 | ---
+++
@@ -3,5 +3,5 @@
cd /slang
make -C build/projects/gmake-linux -j 4 CXX=g++-7
build/linux64_gcc/bin/unittestsDebug;
-/tmp/cppcheck/cppcheck source -I. -Iexternal -Isource -q --enable=warning,performance,portability --inconclusive --suppressions-list=cppcheck_suppressions.txt
+/tmp/cppcheck/cppcheck source -I... | bash |
d_bash_17532 | ---
+++
@@ -7,7 +7,7 @@
echo "Searching for \"${search_text}\" in ${logfile}..."
-fifo=/tmp/tmpfifo.$$
+fifo=tmpfifo.$$
mkfifo ${fifo}
tail -f ${logfile} > ${fifo} & | bash |
d_bash_17533 | ---
+++
@@ -16,7 +16,7 @@
REPO_DIR=$3
SET_WD=$4
-if [ -d "$REP_DIR" -a "$(ls -A $REPO_DIR)" ]
+if [ -d "$REPO_DIR" -a "$(ls -A $REPO_DIR)" ]
then
echo "Directory $REPO_DIR exists and is not empty" >&2
exit 1 | bash |
d_bash_17534 | ---
+++
@@ -2,8 +2,7 @@
# Run etcd
-docker run --net=host -d gcr.io/google_containers/etcd:2.0.12 /usr/local/bin/etcd \
- --addr=127.0.0.1:4001 --bind-addr=0.0.0.0:4001 --data-dir=/var/etcd/data
+docker run --net=host -d gcr.io/google_containers/etcd:2.2.1 /usr/local/bin/etcd --addr=127.0.0.1:4001 --bind-addr=0.... | bash |
d_bash_17535 | ---
+++
@@ -15,6 +15,7 @@
adduser --uid ${USER_UID} --gid ${USER_GID} \
--disabled-login \
--gecos 'Skype' skype
+ adduser skype video
fi
exec su skype -c "$@" | bash |
d_bash_17536 | ---
+++
@@ -8,7 +8,7 @@
function install() {
info "Installing ${1}"
- $1
+ eval $1
success "${1} installed"
}
| bash |
d_bash_17537 | ---
+++
@@ -7,7 +7,7 @@
#
# Optional parameters:
# @raycast.icon slack.png
-# @raycast.currentDirectoryPath ~/dev/slack-objc
+# @raycast.currentDirectoryPath ~/dev/slack/slack-objc
# @raycast.packageName Slack
bazel run --config=development --noshow_progress -- //App:Slack | bash |
d_bash_17538 | ---
+++
@@ -1,3 +1,8 @@
export PATH=./bin:$DOTFILES/bin:$PATH
-export PYTHONPATH=$PYTHONPATH:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:$(brew --prefix)/lib/python2.7/site-packages
+PYTHONPATH=$PYTHONPATH:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/p... | bash |
d_bash_17539 | ---
+++
@@ -2,7 +2,7 @@
set -e
echo '--- setting ruby version'
-rbenv local 2.1.5
+rbenv local 2.3.6
echo '--- bundling'
bundle install -j $(nproc) --without production --quiet | bash |
d_bash_17540 | ---
+++
@@ -3,4 +3,3 @@
uname -a
cmake --version
gcov --version
-qmake -qt=qt5 --version | bash |
d_bash_17541 | ---
+++
@@ -1,24 +1,23 @@
#!/usr/bin/env sh
-
-if [ "$UID" -ne 0 ]
- then echo "Please run as root"
- exit
-fi
+set -e
TMP=$(mktemp pirate-get-XXX)
-if [ $(which python2.7) ]
-then
- echo "#!/usr/bin/env python2.7" > "$TMP"
-elif [ `which python2` ]
-then
- echo "#!/usr/bin/env python2" > "$TMP"
-else
- ... | bash |
d_bash_17542 | ---
+++
@@ -9,3 +9,11 @@
echo "# args: $@" >> $log
echo "# datestamp: $ds" >> $log
echo "# user: $USER" >> $log
+
+update_waves_website(){
+ cd /home/caylor-lab/waves_website
+ jekyll build >> $log
+}
+
+# Ultimately this needs to be called only on the appropriate events, but for testing we will do this.
+up... | bash |
d_bash_17543 | ---
+++
@@ -10,12 +10,9 @@
run/local-cluster.sh stop
docker tag cockroachdb/cockroach:latest cockroachdb/cockroach:${VERSION}
-docker tag cockroachdb/cockroach-dev:latest cockroachdb/cockroach-dev:${VERSION}
-for type in {,-dev}; do
- for version in {latest, ${VERSION}}; do
- # Pushing to the registry just ... | bash |
d_bash_17544 | ---
+++
@@ -10,7 +10,7 @@
# Install PhantomJS
sudo apt-get -y install libfreetype6 libfreetype6-dev fontconfig > /dev/null
ARCH=`uname -m`
-PHANTOMJS_VERSION=1.9.7
+PHANTOMJS_VERSION=1.9.8
cd /usr/local/share/
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${PHANTOMJS_VERSION}-linux-${ARCH... | bash |
d_bash_17545 | ---
+++
@@ -9,5 +9,3 @@
sed -e "s/@ENV@/$env/" conf/inventory-template.ini >> conf/inventory.ini
done
fi
-
-ansible-galaxy install thefinn93.letsencrypt --force --roles-path conf/roles | bash |
d_bash_17546 | ---
+++
@@ -5,6 +5,10 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C
+
+travis_retry sudo apt update && sudo apt install -y clang-format-9
+sudo update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100
+sudo update-altern... | bash |
d_bash_17547 | ---
+++
@@ -2,9 +2,6 @@
YEAR=`date +%Y`
source ./config/*
-# Conditionalize this later to load only the license we need
-source ./licenses/*
-
# Displays the given input
log() {
@@ -55,6 +52,7 @@
help
exit 0
elif test "$#" -eq 2 -a "$1" = "-l" -a "$2" = "mit"; then
+ source ./licenses/mit.sh
log "$... | bash |
d_bash_17548 | ---
+++
@@ -13,10 +13,7 @@
conda config --add channels omnia
conda install -yq conda-build jinja2 anaconda-client
-if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then
- /io/conda-build-all -vvv $UPLOAD -- /io/* || true
-else
- /io/conda-build-all -vvv $UPLOAD -- /io/*
-fi
+
+/io/conda-build-all -vvv $UPLOAD ... | bash |
d_bash_17549 | ---
+++
@@ -1,11 +1,27 @@
#!/bin/bash
-mkdir -p junit_reports
+
+# Do not fail to parse cookbooks because of the encoding
+export LC_CTYPE=en_US.UTF-8
+
+if [ ! -d cookbooks ]; then
+ echo 'This script must be run from the root of the chef repository'
+ exit 1
+fi
+
+if [ ! -d junit_reports ]; then
+ mkdir -p... | bash |
d_bash_17550 | ---
+++
@@ -17,8 +17,9 @@
HOME=${HOME:?}
function configureRedis() {
+ echo "$PFX Configuring redis..."
+
if which redis > /dev/null; then
- echo "$PFX Configuring redis..."
launchctl load $HOME/Library/LaunchAgents/homebrew.mxcl.redis.plist
else
echo "ERROR: redis must be installed" | bash |
d_bash_17551 | ---
+++
@@ -26,7 +26,7 @@
rm -f $BUILD_FOLDER/resources/python/uploadeddataset/*
\cp -r setup/environment.yml $BUILD_FOLDER/resources
echo "$BUILD_DATE" > $BUILD_FOLDER/resources/resources/version.txt
-echo "BUILD_VERSION='$BUILD_VERSION';" > $BUILD_FOLDER/resources/static/scripts/version.js
+echo "BUILD_VERSION='... | bash |
d_bash_17552 | ---
+++
@@ -1,14 +1,25 @@
#!/bin/sh
+version=$(lsb_release --release | cut -f2)
+lts14="14.04"
+lts16="16.04"
+
# .NET Core
-sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
+if [ "$version" = "$lts14" ]
+then
+ sudo sh -c... | bash |
d_bash_17553 | ---
+++
@@ -1,7 +1,17 @@
#!/bin/sh
+
+GROUPID=$1
src=/home/projects/maven/repository-staging/pom-svn-repository
dest=/home/projects/maven/repository-staging/to-ibiblio/maven2
+
+
+if [ ! -z $GROUPID ]
+then
+ src=$src/$GROUPID
+ dest=$src/$GROUPID
+fi
+
rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-... | bash |
d_bash_17554 | ---
+++
@@ -1,10 +1,25 @@
#!/bin/bash
-
-export PYTHONPATH=$PYTHONPATH:$(pwd)
# Run QLF in development mode, create db if it does not exist
# start QLF web applicationi, Bokeh server and the QLF daemon
+export PYTHONPATH=$PYTHONPATH:$(pwd)
+
+if [ "$QLF_ROOT" == "" ];
+then
+ echo "Set QLF_ROOT environment var... | bash |
d_bash_17555 | ---
+++
@@ -1,9 +1,10 @@
+#!/bin/sh
##
## Installs the pre-requisites for running edX on a single Ubuntu 12.04
## instance. This script is provided as a convenience and any of these
-## steps could be executed manually.
-##
-## Note that this script requires that you have the ability to run
+## steps could be... | bash |
d_bash_17556 | ---
+++
@@ -9,7 +9,7 @@
# Now build the django image
-cd ../docker-prod
+cd ${BASH_SOURCE%/*}/../docker-prod
./build.sh
cd -
| bash |
d_bash_17557 | ---
+++
@@ -17,7 +17,11 @@
tar -xzvf hdf5-$HDF5_VERSION.tar.gz
pushd hdf5-$HDF5_VERSION
chmod u+x autogen.sh
- ./configure --prefix $HDF5_DIR
+ if [[ "${HDF5_VERSION%.*}" = "1.12" ]]; then
+ ./configure --prefix $HDF5_DIR --with-default-api-version=v110
+ else
... | bash |
d_bash_17558 | ---
+++
@@ -14,7 +14,7 @@
for i in "${VERSIONS[@]}"
do
# Run BuildTools.jar for the version $i
- java -jar BuildTools.jar --rev `echo $i`
+ java -jar -Xmx1024M -Xms1024M BuildTools.jar --rev `echo $i`
# Delete all files but BuildTools.jar
TMP_JAR=`tar -c BuildTools.jar | base64` | bash |
d_bash_17559 | ---
+++
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
-sudo rm -r /home/ubuntu/arches-docs
-
-git clone --recursive https://github.com/archesproject/docs.git /home/ubuntu/arches-docs
-
-cd /home/ubuntu/arches-docs
-npm install
-npm run deploy
+# sudo rm -r /home/ubuntu/arches-docs
+#
+# git clone --recursive https://github.... | bash |
d_bash_17560 | ---
+++
@@ -5,9 +5,9 @@
./src/playpen.rs
)
-echo "Checking if any rust file has a line longer than 79 characters"
+echo "Checking if any rust file has a line longer than 99 characters"
-suspects=$(find . -name '*.rs' | xargs grep -El ".{80}")
+suspects=$(find . -name '*.rs' | xargs grep -El ".{100}")
status=... | bash |
d_bash_17561 | ---
+++
@@ -7,3 +7,6 @@
# Stow (install/link) all programs.
stow "$(basename "$program")"
done
+
+# Add the Mail directory if it doesn't already exist.
+mkdir -p ~/Mail | bash |
d_bash_17562 | ---
+++
@@ -3,7 +3,7 @@
_user="\[$Ared\]$debian_chroot\u"
_hostname="\[$HOST_COLOUR_ANSI\]\h"
_pwd="\[$Abase1\]\w"
- PS1="$_user $_hostname $_pwd\n\[$Ared\]# "
+ PS1="\n$_user $_hostname $_pwd\n\[$Ared\]# "
# Standard prompt
else
@@ -17,11 +17,11 @@
_git_info="\[$Abase01\]\$(__git_ps... | bash |
d_bash_17563 | ---
+++
@@ -1,3 +1,4 @@
+export CC=${PREFIX}/bin/gcc
export CFLAGS="-O2 -fopenmp -I$PREFIX/include -I"
cd $SRC_DIR/src
make | bash |
d_bash_17564 | ---
+++
@@ -1,12 +1,21 @@
#!/bin/bash
echo ">> Building...";
+IS_CI=false;
+if [[ ! -z "${CI}" ]]; then
+ IS_CI=true;
+fi
+echo "app-android/build.sh: IS_CI '${IS_CI}'";
+GRADLE_ARGS="";
+if [ $IS_CI = true ]; then
+ GRADLE_ARGS=" --console=plain";
+fi
DIRECTORY=$(basename ${PWD});
CUSTOM_SETTINGS_GRADLE_FILE="..... | bash |
d_bash_17565 | ---
+++
@@ -15,4 +15,5 @@
--install-extension EditorConfig.EditorConfig \
--install-extension ms-vscode.sublime-keybindings \
--install-extension msjsdiag.debugger-for-chrome \
+ --install-extension PeterJausovec.vscode-docker \
--install-extension shinnn.stylelint | bash |
d_bash_17566 | ---
+++
@@ -1,6 +1,13 @@
#!/bin/sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-brew install ruby
-sudo gem install github-pages
-sudo gem install pygments.rb
+brew install rbenv ruby-build
+echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc
... | bash |
d_bash_17567 | ---
+++
@@ -8,6 +8,7 @@
alias bout='brew outdated'
alias bin='brew install'
alias brm='brew uninstall'
+alias bcl='brew cleanup'
alias bls='brew list'
alias bsr='brew search'
alias binf='brew info' | bash |
d_bash_17568 | ---
+++
@@ -1,11 +1,11 @@
-mkdir tmp
-cd tmp
+if [ ! -d "~/config" ]; then
+ mkdir ~/config
+fi
+
+cd ~/config
# Install Dracula theme
git clone https://github.com/dracula/zsh.git
-mv zsh/dracula.zsh-theme ~/.oh-my-zsh/themes/
-
-cd ..
-rm -rf tmp
+ln -s ~/config/zsh/dracula.zsh-theme ~/.oh-my-zsh/themes/dracu... | bash |
d_bash_17569 | ---
+++
@@ -5,4 +5,4 @@
sudo npm install -g @bitwarden/cli
bundle install --jobs=3 --retry=3
# bundle exec ruby -e 'Dir.glob("tests/*.rb") { |f| load f }'
-go run parallel-runner.go -fail-fast -n 3
+go run parallel-runner.go -fail-fast | bash |
d_bash_17570 | ---
+++
@@ -18,8 +18,8 @@
for name in $names; do
echo "generating configs for $name"
- if [ -d "$name" ]; then
- rm -r "$dest/$name"
+ if [ -d "$dest/$name" ]; then
+ rm -r "${dest:?}/$name"
fi
# nginx | bash |
d_bash_17571 | ---
+++
@@ -5,7 +5,7 @@
#terminate after first line that fails
set -e
-THREADS_RAY=48
+THREADS_RAY=8
THREADS_MISC=8
for i in "$@"
@@ -32,4 +32,4 @@
make THREADS_RAY=$THREADS_RAY THREADS_MISC=$THREADS_MISC
-mv !(run.sh|Makefile|trimmomatic-0.32.jar|Trimmomatic-0.32.zip|TruSeq*|NexteraPE-PE.fa|input|outpu... | bash |
d_bash_17572 | ---
+++
@@ -1,8 +1,8 @@
#!/bin/bash -ex
-# assemble version as follows: <latest_final_release_version>.0.0+dev.<current_time_in_seconds>:
+# assemble version as follows: <latest_final_release_version>.0.0+dev.<date>.<time>.<commit_sha>:
pushd $CF_RELEASE_DIR/releases
- version=$(ls cf-* | sort | tail -1 | sed "s... | bash |
d_bash_17573 | ---
+++
@@ -5,6 +5,6 @@
thisdir=$(dirname "$0")
brew update
-brew install python3
+brew install mono python3
"$thisdir/before_install-common.sh" | bash |
d_bash_17574 | ---
+++
@@ -32,6 +32,7 @@
if [ ${bad} -eq 1 ]; then
echo "${leakedfds} FDS leaked"
ls /proc/${pid}/fd -al
+ netstat -anp 2>&1 | grep ${pid}/
false
fi
| bash |
d_bash_17575 | ---
+++
@@ -3,7 +3,7 @@
TAG="${GITHUB_REF/\/refs\/tags\//}"
if ! [ -x "$(command -v poetry)" ]; then
echo 'Poetry not found, activating venv'
- source ../../venv
+ source venv
fi
VERSION="$(poetry version --no-ansi | cut -d' ' -f2)"
| bash |
d_bash_17576 | ---
+++
@@ -21,7 +21,7 @@
# Just directly execute the .tape file with ducttape
CMD="$DUCTTAPE $tape"
fi
- output=$(mktemp -d $tape.XXXXXX.regression.TMP)
+ output=$(mktemp -d $tape.regression.TMP.XXXXXX)
echo "==================="
echo "Running test: $CMD"
echo "Output: $ou... | bash |
d_bash_17577 | ---
+++
@@ -1,2 +1,2 @@
docker pull tristandb/jotihunt:latest
-docker-compose -f docker-compose.prod.yml up -d
+docker-compose -f docker-compose.prod.yml up -d --build | bash |
d_bash_17578 | ---
+++
@@ -5,12 +5,15 @@
git clone git@github.com:scalainc/exp-api.git
cd exp-api
git checkout develop
+git pull origin develop
npm install
NODE_ENV=test npm start&
sleep 10
cd ..
git clone git@github.com:scalainc/exp-network.git
cd exp-network
+git checkout develop
+git pull origin develop
npm install
np... | bash |
d_bash_17579 | ---
+++
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
FLEX=`which flex35 2>/dev/null || which flex 2>/dev/null`
if [ $? -ne 0 ] | bash |
d_bash_17580 | ---
+++
@@ -3,6 +3,7 @@
sudo apt-get -y update
sudo apt-get -y install socat curl python3-software-properties
sudo apt install python3-pip
+pip3 install -U pip
# Install Snyk
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | bash |
d_bash_17581 | ---
+++
@@ -11,11 +11,6 @@
echo "Search similarity..."
create_tool_section_dir $galaxy_tool_dir/$section_dir
-## blast
-echo " NCBI Blast +..."
-#ncbi_blast_plus_dir=$section_dir/ncbi_blast_plus
-#create_copy_tool_dir $tool_dir/$section_dir/blast/tools/ncbi_blast_plus $galaxy_tool_dir/$ncbi_blast_plus
-
## diamo... | bash |
d_bash_17582 | ---
+++
@@ -4,8 +4,8 @@
BUILD_OSTYPE="Debian_64"
# last 'STABLE' version
-BOX="debian-7.8.0-amd64"
-ISO_URL="http://mirror.i3d.net/pub/debian-cd/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso"
-ISO_MD5="a91fba5001cf0fbccb44a7ae38c63b6e"
+BOX="debian-8.0.0-amd64"
+ISO_URL="http://cdimage.debian.org/debian-cd/8.... | bash |
d_bash_17583 | ---
+++
@@ -4,6 +4,8 @@
alias -g A='|ack'
alias -g L='|less'
+alias -g V='|vim -'
+alias -g M='|mvim -'
alias -g G='|grep'
alias -g T='|tail'
alias -g H='|head' | bash |
d_bash_17584 | ---
+++
@@ -9,7 +9,7 @@
echo -ne "\e]1;${USER}@${HOST%%.*}:${PWD/#$HOME/~}\a"
# SSH - Print out the fingerprint and comment of the default public key for this user@host
-sshkeyfingerprint
+# sshkeyfingerprint
if (( $? != 0 )); then
echo "No SSH key found"
sshnewkey "${USER}@${HOST}" | bash |
d_bash_17585 | ---
+++
@@ -38,11 +38,15 @@
actual=$( echo $( tail -n 1 $logfile )|cut -d '=' -f2 )
actual=$(basename "$actual")
+ # Test if the correct JDK was used
echo "actual: $actual" >> $logfile
echo "expected: $expected" >> $logfile
+ success="FAILED"
if [ "$actual" == "$expected" ]; then
- echo "PASSED"... | bash |
d_bash_17586 | ---
+++
@@ -18,5 +18,8 @@
# If GOPATH is not set, skip the rest of this script.
[[ -n ${GOPATH} ]] || return
+# Add user-installed Go programs to PATH.
+dotfiles.pathmunge "${GOPATH}/bin" after
+
# Change to a directory relative to $GOPATH/src.
function cdgo { cd "${GOPATH}/src/$1"; } | bash |
d_bash_17587 | ---
+++
@@ -16,6 +16,7 @@
sh dock.sh
# Update Xcode theme
+mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
cp "Monokai Inconsolata.dvtcolortheme" ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
echo "Import Terminal.terminal manually through Preferences > Gear > Import." | bash |
d_bash_17588 | ---
+++
@@ -31,5 +31,11 @@
backup_and_install $DOTFILE
done
+# Mark the git file as untracked locally so we can make changes without
+# affecting what's in the repo
+pushd $HOME/.dotfiles/ > /dev/null
+git update-index --assume-unchanged system-specific/git-user-info.sh
+popd > /dev/null
+
# Start using the ne... | bash |
d_bash_17589 | ---
+++
@@ -30,7 +30,7 @@
DIRPATH=$(cd `dirname $0`; pwd)
cd ${DIRPATH}
- TARGETS=$(git ls-files ".*")
+ TARGETS=$(git ls-files ".*" | awk -F'/' '{print $1}' | uniq)
for file in ${TARGETS[@]}
do | bash |
d_bash_17590 | ---
+++
@@ -1,2 +1,3 @@
#! /bin/sh
-$XGETTEXT *.h *.cpp lib/*.h lib/*.cpp kalarmd/*.cpp -o $podir/kalarm.pot
+$EXTRACTRC `find . -name "*.rc" -o -name "*.ui" -o -name "*.kcfg"` >> rc.cpp || exit 11
+$XGETTEXT `find . -name "*.cpp" -o -name "*.h"` -o $podir/kalarm.pot | bash |
d_bash_17591 | ---
+++
@@ -26,7 +26,6 @@
# Some useful casks (non app-store apps)
brew cask install dropbox
-brew cask install flux
brew cask install iterm2
brew cask install spotify
brew cask install steam | bash |
d_bash_17592 | ---
+++
@@ -1,4 +1,6 @@
#!/bin/bash
+set -x
+
# Simple installation script for llvm/clang.
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
@@ -8,20 +10,35 @@
platform=`uname`
if [ $platform == 'Darwin' ]; then
- echo "Installing clang..."
+ CONFIGURE_ARGS=(
+ --prefix="$CLANG_PREFIX... | bash |
d_bash_17593 | ---
+++
@@ -14,3 +14,6 @@
# Docker
sudo pacman -S --noconfirm docker
gpasswd -a vagrant docker
+
+# Fix the permission issue of Vagrant
+chown -R vagrant:vagrant /home/vagrant | bash |
d_bash_17594 | ---
+++
@@ -21,6 +21,7 @@
-o "${OUTPUT_PARENT}/pkg/bootstrap/bindata.go" \
-ignore "README.md" \
-ignore ".*\.go$" \
+ -ignore "\.DS_Store" \
-ignore application-template.json \
${EXAMPLES}/image-streams/... \
${EXAMPLES}/db-templates/... \
@@ -28,6 +29,8 @@
${EXAMPLES}/jenkins/p... | bash |
d_bash_17595 | ---
+++
@@ -1,4 +1,4 @@
-git clone https://github.com/sodatea/gonzales-pe.git
+git clone https://github.com/tonyganch/gonzales-pe.git
cd gonzales-pe && git checkout dev && npm i && npm run build && npm link && cd ..
git clone https://github.com/csscomb/core.git csscomb-core
cd csscomb-core && git checkout dev && n... | bash |
d_bash_17596 | ---
+++
@@ -1,6 +1,15 @@
#!/usr/bin/env bash
-if grep -q -F "is_a_released_version = False" ../config/coq_config.py; then
+found=
+for config in ../config/coq_config.py ../_build/default/config/coq_config.py; do
+ if [ -f "$config" ]; then found=1; break; fi
+done
+if ! [[ "$found" ]]; then
+ echo "Could not... | bash |
d_bash_17597 | ---
+++
@@ -11,7 +11,7 @@
# CTIA_LOGFILE
# Load the deployment-specific env variables
-source ./environment
+source /srv/ctia/environment
# ***********************************************
# These are package-specific settings and do not | bash |
d_bash_17598 | ---
+++
@@ -10,11 +10,6 @@
source $WORKSPACE/hash_info.sh
-if [ "$RELEASE" = "master" ]; then
- COMMIT_HASH=3b718f3fecc866332ec0663fa77e758f8346ab93
- DISTRO_HASH=4204ba89997cae739e41526b575027e333a2277d
-fi
-
set -u
# Assign label to the specific hash using the DLRN API | bash |
d_bash_17599 | ---
+++
@@ -1,7 +1,12 @@
#!/bin/sh
+set -x
+
+git log
git checkout gh-pages
+git log
git merge master
+git log
javadoc io.tus.java.client -sourcepath ./src/main/java -d ./javadoc
git add ./javadoc
git commit -m "Update javadoc for $(git rev-parse HEAD)" || true | bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.