document_id stringlengths 8 12 | document stringlengths 50 3.21k | split stringclasses 1
value |
|---|---|---|
d_bash_500 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash
-export COVERALLS_REPO_TOKEN=Kr503QwklmJYKXYRXLywrtw8zbX7K8SKx
+export COVERALLS_REPO_TOKEN=c5Qt1n27dLFCAIESYVkuCmVpUU8doney1
source $HOME/miniconda/etc/profile.d/conda.sh
conda activate test
| bash |
d_bash_501 | ---
+++
@@ -17,4 +17,4 @@
alias gb='git branch'
alias gs='git status -sb' # upgrade your git if -sb breaks for you. it's fun.
alias grm="git status | grep deleted | awk '{\$1=\$2=\"\"; print \$0}' | \
- sed 's/^[ \t]*//' | sed 's/ /\\\\ /g' | xargs git rm"
+ perl -pe 's/^[ \t]*//' | sed 's/ /\\... | bash |
d_bash_502 | ---
+++
@@ -33,4 +33,4 @@
alias cat="BAT_THEME=\"Monokai Extended Origin\" BAT_STYLE=\"numbers,changes,header\" bat"
# Better `ls`
-alias ls="exa"
+alias ls="exa --git" | bash |
d_bash_503 | ---
+++
@@ -9,6 +9,7 @@
make
make install
rm Makefile
+rm -r debian
mv build/Prebuilt-Readme.md Readme.md
temp_archive=$(mktemp --suffix .tar.gz)
(cd "${DNANEXUS_HOME}/.."; tar --exclude-vcs -czf $temp_archive dx-toolkit) | bash |
d_bash_504 | ---
+++
@@ -1,4 +1,5 @@
#!/bin/sh -e
+sudo pkg install tex-formats texlive-full
bucket=weblog-bucket-8cjakz6b6pl3
site=`mktemp -d weblog.XXXXXX`
tmp=`mktemp -d weblog.XXXXXX` | bash |
d_bash_505 | ---
+++
@@ -28,5 +28,5 @@
about 'it pigments the file passed in and passes it to less for pagination'
param '$1: the file to paginate with less'
example 'less mysite/manage.py'
- pygmentize "$1" | "$LESS_BIN" -R
+ pygmentize "$*" | "$LESS_BIN" -R
} | bash |
d_bash_506 | ---
+++
@@ -14,6 +14,7 @@
brew cask install firefox
brew cask install flux
brew cask install handbrake
+brew cask install imageoptim
brew cask install Caskroom/versions/intellij-idea-ce
brew cask install kindle
brew cask install macdown | bash |
d_bash_507 | ---
+++
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# By default on Linux/MacOS we build Hadrian using Cabal
-./build.cabal.sh "$@"
+( ./build.cabal.sh "$@" ) | bash |
d_bash_508 | ---
+++
@@ -12,7 +12,7 @@
tarFile=apache-hive-0.13.1-bin.tar.gz
# Create directories that are required for the debian package
mkdir -p $confDirectory
-
+ mkdir -p $tempDirectory
wget http://archive.apache.org/dist/hive/hive-0.13.1/$tarFile -P $tempDirectory
if [ -f $BASE/$fileName/opt/README ]; the... | bash |
d_bash_509 | ---
+++
@@ -3,4 +3,4 @@
echo "Grabbing consoleLog"
console_log_path='consoleText'
-wget -P /tmp/console.txt --no-check-certificate $BUILD_URL$console_log_path
+wget -O /tmp/console.txt --no-check-certificate $BUILD_URL$console_log_path | bash |
d_bash_510 | ---
+++
@@ -14,6 +14,5 @@
--add-tracefile $APPBASE_INFO --add-tracefile $APPTEST_INFO
lcov --remove $APPTOTAL_INFO '/usr/*' --output-file $APPTOTAL_INFO
lcov --remove $APPTOTAL_INFO 'newsboat/test/*' --output-file $APPTOTAL_INFO
-rm -rf html
genhtml -o html $APPTOTAL_INFO
echo "The coverage report can be fou... | bash |
d_bash_511 | ---
+++
@@ -1 +1,2 @@
-oneuser login -v user --x509 --cert usercert.pem --key userkey.pem --force
+export ONE_XMLRPC=https://cloud.metacentrum.cz:6443/RPC2
+oneuser login secant --cert /root/.secant/secant-cert.pem --key /root/.secant/secant-key.pem --x509 | bash |
d_bash_512 | ---
+++
@@ -1,3 +1,3 @@
##depends:none
-lz4 -d /mnt/artefacts/downloads/R-3.4.3_ubuntu-16.04_2018-01-12.tar.lz4 |tar x -C ${TOOLS_PATH}/
+lz4 -d /mnt/artefacts/downloads/R-3.4.3_ubuntu-16.04_2018-05-30.tar.lz4 |tar x -C ${TOOLS_PATH}/ | bash |
d_bash_513 | ---
+++
@@ -19,4 +19,4 @@
rm /etc/localtime
fi
-ln -s $ZONEINFO /etc/localtime
+cp $ZONEINFO /etc/localtime | bash |
d_bash_514 | ---
+++
@@ -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:20201203.085214.79bec73 promote-test-to-prod.sh rsr rsr-version akvo-rsr zulip rsr
+ -it akvo/akvo-devops:20201203.085214.79bec73 promote-test-to-prod.sh rsr rsr-version... | bash |
d_bash_515 | ---
+++
@@ -1,4 +1,6 @@
#!/bin/bash
+tox -r -e package
+
docker-machine scp dist/bowser.pex bowser:.
docker-machine scp servers.json bowser:.
docker-machine scp token.txt bowser:. | bash |
d_bash_516 | ---
+++
@@ -2,4 +2,4 @@
set -e
./gradlew ${EXTRA_GRADLE_ARGS} clean
-./gradlew ${EXTRA_GRADLE_ARGS} --no-build-cache bintrayUpload -PdryRun=false
+./gradlew ${EXTRA_GRADLE_ARGS} --no-build-cache bintrayUpload -PwithAutoVersioning -PdryRun=false | bash |
d_bash_517 | ---
+++
@@ -1,5 +1,5 @@
# matches case insensitive for lowercase
-zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
+# zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
# pasting with tabs doesn't perform completion
zstyle ':completion:*' insert-tab pending | bash |
d_bash_518 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/bash
-VERSION=0.13
+VERSION=0.14
tar czvf executive-report-v4-${VERSION}.tar.gz run.sh run_executive_report.py reformat_v4.py | bash |
d_bash_519 | ---
+++
@@ -13,6 +13,7 @@
find . -name "makeRelease.sh" -exec rm -rf {} \; &>/dev/null
find . -name "local_*" -exec rm -rf {} \; &>/dev/null
find . -name "static" -exec rm -rf {} \; &>/dev/null
+find . -name ".idea" -exec rm -rf {} \; &>/dev/null
cd ..
tar c google-api-php-client | gzip > $RELFILE
rm -rf $TMPDI... | bash |
d_bash_520 | ---
+++
@@ -19,6 +19,7 @@
rustup component add clippy-preview
cargo fmt -- --check
cargo clippy
+ exit 0
fi
export PATH=$PATH:~/.cargo/bin && | bash |
d_bash_521 | ---
+++
@@ -20,3 +20,6 @@
# Install Composer tool for dependency management
sudo ./composer.sh
+
+# Set the latest Composer version(branch --1)
+sudo composer self-update --1 | bash |
d_bash_522 | ---
+++
@@ -7,5 +7,6 @@
00:25:86='TP-LINK Technologies Co., Ltd.|TP Link TL-WN321G USB Adapter'
68:1c:a2='Rosewill Inc.|Rosewill RNX-N150HG USB Adapter'
6c:fd:b9='Proware Technologies Co Ltd.|Rosewill RNX-N150HG USB Adapter'
+ c8:3a:35='Ralink Technology, Corp. RT5372 Wireless Adapter'
e8:4e:06='EDUP INTERNAT... | bash |
d_bash_523 | ---
+++
@@ -7,5 +7,5 @@
rm -rf /tmp/Fedora-PostInstall
cd /tmp
git clone -q https://github.com/$gituser/Fedora-PostInstall.git
-`whoami` > /tmp/Fedora-PostInstall/user.txt
+echo `whoami` > /tmp/Fedora-PostInstall/user.txt
sudo sh /tmp/Fedora-PostInstall/Fedora$(rpm -E %fedora).sh | bash |
d_bash_524 | ---
+++
@@ -15,6 +15,7 @@
sed -i 's/exports\.VERSION = "[^"]*"/exports.VERSION = "'"$VERSION"'"/g' \
package/bin/irc/irc.js
+rm -rf circ
cp -rv package circ
# Make app
grep -v "\"key\":" package/manifest.json > circ/manifest.json | bash |
d_bash_525 | ---
+++
@@ -21,6 +21,7 @@
curFile=${0/.\//}
allFiles=($(find * -type f))
includedFiles=(${allFiles[@]/*$curFile/})
+availableMethods=(convertSpacesToTab formatVars removeSpacesAfterTab trimTrailingSpaces)
for (( i=0; i<${#includedFiles[@]}; i++ )); do
Formatter convertSpacesToTab ${includedFiles[i]} | bash |
d_bash_526 | ---
+++
@@ -31,4 +31,4 @@
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
-chmod og+rX "$MKDOCS_SERVE_PATH"
+chmod -R og+rX "$MKDOCS_SERVE_PATH" | bash |
d_bash_527 | ---
+++
@@ -2,7 +2,5 @@
# Start chris server
python manage.py runserver 0.0.0.0:8000
-# Start pman server
-pman --raw 1 --http --port 5010 --listeners 12
exec "$@" | bash |
d_bash_528 | ---
+++
@@ -7,5 +7,5 @@
for app in $APP
do
APP_BASE=`basename "$app" .js`
- jspot extract -k '$' go-app-sms.js -t "translations/$APP_BASE"
+ jspot extract -k '$' "$app" -t "translations/$APP_BASE"
done | bash |
d_bash_529 | ---
+++
@@ -1,4 +1,4 @@
# floyd init tv-script-generation
-floyd run --gpu --env tensorflow-1.0 --mode jupyter | \
+floyd run --gpu --env tensorflow-1.0 --mode jupyter 2>&1 | \
tee /dev/tty | \
grep 'floyd logs' | sed 's/logs/stop/' > stop-floyd.sh | bash |
d_bash_530 | ---
+++
@@ -10,6 +10,7 @@
rm -rf $TOP_DIR/release_templates/*
cp $TOP_DIR/pyspark/pysparkbuild*.json $TOP_DIR/release_templates
+cp $TOP_DIR/pyspark/pysparkjob.json $TOP_DIR/pyspark/pysparkdc.json $TOP_DIR/release_templates
cp $TOP_DIR/java/javabuild*.json $TOP_DIR/release_templates
cp $TOP_DIR/scala/scalabuild... | bash |
d_bash_531 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/bash
-GPIO=`ls /var/www/html/shome/gpio/`
+GPIO=`ls /var/www/gpio/`
while true; do
sleep 1
for TMP4324 in $GPIO | bash |
d_bash_532 | ---
+++
@@ -5,4 +5,6 @@
# found in the LICENSE file.
trap '' USR1 TTOU TTIN
-exec /usr/bin/X11/X -nolisten tcp vt01 -auth $1 2> /dev/null
+# The '-noreset' works around an apparent bug in the X server that
+# makes us fail to boot sometimes; see http://crosbug.com/7578.
+exec /usr/bin/X11/X -noreset -nolisten tcp... | bash |
d_bash_533 | ---
+++
@@ -17,4 +17,7 @@
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${PACKAGE_VERSION#*v}" "${INFOPLIST_DIR}"
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILD_NUMBER" "${INFOPLIST_DIR}"
+# PlistBuddy re-indents Info.plist with tabs, revert this by replacing tabs with 2 spaces
+sed -i '' $... | bash |
d_bash_534 | ---
+++
@@ -2,4 +2,4 @@
cd `dirname $0`/..
-scripts/run-tool.sh com.opengamma.bbg.component.BloombergTimeSeriesUpdateTool -c config/toolcontext/toolcontext-bloombergexample-bin.properties -l com/opengamma/util/test/info-logback.xml
+scripts/run-tool.sh com.opengamma.bbg.tool.BloombergTimeSeriesUpdateTool -c conf... | bash |
d_bash_535 | ---
+++
@@ -25,4 +25,4 @@
tmux -V:
$("$DDIR/$TARGET/tmux" -V | indent)
-$COMMIT_MESSAGE_FOOTER"
+$COMMIT_MESSAGE_FOOTER" || true | bash |
d_bash_536 | ---
+++
@@ -3,6 +3,7 @@
COLOR_SUCCESS='\033[0;32m'
NC='\033[0m'
+ls
/docker/scripts/ci.sh
/docker/scripts/setup.sh | bash |
d_bash_537 | ---
+++
@@ -41,3 +41,5 @@
evalenv() {
eval $(awk '{printf "export %s\n", $0}' .env)
}
+
+alias y='/Users/mario/Code/yodel/yodel/yodel.sh' | bash |
d_bash_538 | ---
+++
@@ -17,6 +17,6 @@
pip install --no-deps numdifftools
pip install git+https://github.com/Theano/Theano.git
pip install git+https://github.com/mahmoudimus/nose-timer.git
-pip install pymc3
+pip install pymc3 parse
python setup.py build_ext --inplace | bash |
d_bash_539 | ---
+++
@@ -10,7 +10,4 @@
for version in "${versions[@]}"; do
recent=$(echo "$downloadable" | grep -m 1 "$version")
sed -ri -e 's/^(ENV ELASTICSEARCH_VERSION) .*/\1 '"$recent"'/' "$version/Dockerfile"
- curl "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${recent}.tar.gz" \
- | ta... | bash |
d_bash_540 | ---
+++
@@ -25,12 +25,16 @@
popd
apt-get install git
+git clone https://github.com/scikit-learn/scikit-learn/
# Configure the conda environment and put it in the path using the
# provided versions
conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION cy... | bash |
d_bash_541 | ---
+++
@@ -2,4 +2,4 @@
set -ex
aws --region=us-west-2 s3 sync --acl public-read --exclude ".*" ./dist/ s3://apps.other.chat/
-aws --region=us-west-2 s3api put-object --bucket apps.other.chat --acl public-read --key otherjs/0.0.x/other.min.js --website-redirect-location /apps.other.chat/otherjs/0.0.1%2B3880ffe/ot... | bash |
d_bash_542 | ---
+++
@@ -18,21 +18,14 @@
rm -fr dist/docs/*
echo "Creating link to the packages..."
-rm -fr peek_agent peek_client peek_platform peek_server peek_worker
-ln -s ../peek-agent/peek_agent/
-ln -s ../peek-client/peek_client/
-ln -s ../peek-platform/peek_platform/
-ln -s ../peek-server/peek_server/
-ln -s ../peek-w... | bash |
d_bash_543 | ---
+++
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
+set -e
+
echo "Setting up for accessibility tests..."
source scripts/jenkins-common.sh
| bash |
d_bash_544 | ---
+++
@@ -4,5 +4,5 @@
echo "Usage: ./packagelibs.sh version"
else
mkdir -p libraries/ghc-7.10/array/include
- tar -cjf haste-libs-$1.tar.bz2 --exclude-backups '--exclude=*.hi' '--exclude=*.o' include utils/unlit/unlit.c libraries/rts.pkg libraries/haste-lib/{haste-lib.cabal,src/{Haste.hs,Haste},LICENS... | bash |
d_bash_545 | ---
+++
@@ -1,4 +1,4 @@
rm -r ./build/*
grunt
-aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude '*' --include "*.js" --cache-control "public, max-age=600" --content-type="application/javascript;charset=utf-8" --delete
-aws s3 sync ./build/ s3://fucking-eu-cookies/ --exclude ".gitignore" --exclude "*.js" --ca... | bash |
d_bash_546 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/zsh
-git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
+git clone --recursive https://github.com/hnakamur/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
... | bash |
d_bash_547 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/bash
# tmux plugin manager:
-mkdir -p ~/.tmux/plugins/tpm
-git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm/tpm
+mkdir -p ~/.tmux/plugins
+git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | bash |
d_bash_548 | ---
+++
@@ -25,7 +25,6 @@
)
devent_xorg=(
- virtualbox-client
screen-layout
key-rate
set-background | bash |
d_bash_549 | ---
+++
@@ -20,4 +20,4 @@
for lang in ${!version[*]}; do
printf "%8s: %s\n" $lang "${version[$lang]}"
-done | sort
+done |& sort | bash |
d_bash_550 | ---
+++
@@ -7,7 +7,6 @@
chown -R www-data .
fi
cp /etc/piwik/config.ini.php ./config/config.ini.php
-sed -i 's/MARIADB_IP/'"$MARIADB_PORT_3306_TCP_ADDR"'/g' ./config/config.ini.php
chown www-data:1000 ./config/config.ini.php
| bash |
d_bash_551 | ---
+++
@@ -15,4 +15,5 @@
ssh-keygen -t ed25519 -C ""
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
-defaults write com.apple.Finder AppleShowAllFiles true
+# macOS Preferences
+defaults write com.apple.Finder AppleShowAllFiles -bool YES; killall -HUP Finder | bash |
d_bash_552 | ---
+++
@@ -1,6 +1,7 @@
# weirdo-collect-logs.sh
# A script to collect logs generated by a weirdo job
pushd $WORKSPACE/weirdo
+export ARA_DATABASE="sqlite:///$WORKSPACE/$JOB_NAME.sqlite"
# Don't fail script execution even if log collection fails -- the node needs to be destroyed afterwards
tox -e ansible-playboo... | bash |
d_bash_553 | ---
+++
@@ -7,4 +7,5 @@
pushd .goat/deps/src/github.com/mozilla-services/heka
source build.sh
popd
-cp -RPfv .goat/deps/src/github.com/mozilla-services/heka/build/heka/src/ .goat/deps/src
+cp -RPf .goat/deps/src/github.com/mozilla-services/heka/build/heka/src/* .goat/deps/src/
+ | bash |
d_bash_554 | ---
+++
@@ -6,4 +6,4 @@
node_modules/typescript/bin/tsc
git add -A
git commit -am 'Automated build.'
-npm version tiny
+npm version patch | bash |
d_bash_555 | ---
+++
@@ -13,6 +13,7 @@
alias bails='bundle exec rails'
alias ss='script/server'
+alias ga='git add'
alias gs='git st'
alias gst='git stash'
alias gsa='git stash apply' | bash |
d_bash_556 | ---
+++
@@ -4,6 +4,7 @@
mkdir /forum/config/Forum.WebClient
mkdir /forum/config/Forum.WebClient/doc
mkdir /forum/config/https
+mkdir /forum/logs/nginx
cp -r /var/www-old/* /var/www
cp /var/www/html/config/config.js /forum/config/Forum.WebClient/config.js | bash |
d_bash_557 | ---
+++
@@ -9,3 +9,6 @@
fileshort=$(basename "${filename%.*}")
jupyter nbconvert "$filename" --to slides --output $slides/"${fileshort// /_}"
done
+
+cd $slides
+python -m http.server 8000 | bash |
d_bash_558 | ---
+++
@@ -19,6 +19,6 @@
btrfs subvolume delete "$BTRFS_ROOT/$dest_id"
btrfs subvolume snapshot "$BTRFS_ROOT/$src_id" "$BTRFS_ROOT/$dest_id"
-rsync --timeout=30 --archive --delete --read-batch=- "$BTRFS_ROOT/$dest_id"
+rsync --timeout=300 --archive --delete --read-batch=- "$BTRFS_ROOT/$dest_id"
docker tag -f ... | bash |
d_bash_559 | ---
+++
@@ -1,2 +1,4 @@
#!/bin/sh
-VESPA_LOG_TARGET=file:vlog2.txt $VALGRIND ./searchlib_prod_features_test_app && rm -rf *.dat
+set -e
+VESPA_LOG_TARGET=file:vlog2.txt $VALGRIND ./searchlib_prod_features_test_app
+rm -rf *.dat | bash |
d_bash_560 | ---
+++
@@ -14,30 +14,30 @@
###############################################################################################################
# Kill Cassandra instance
-PID=$(ps aux | grep java | grep cassandra | awk '{ print $2 }')
+PID=$(ps aux | grep java | grep -v grep| grep cassandra | awk '{ print $2 }')
if ... | bash |
d_bash_561 | ---
+++
@@ -25,7 +25,7 @@
export PATH="$PATH:.gem/bin"
# bootstrap bundler
-gem install --no-rdoc --no-ri bundler
+gem install --no-document -v 1.17.3 bundler
bundle install
case "$1" in | bash |
d_bash_562 | ---
+++
@@ -5,6 +5,7 @@
-G Ninja \
-DCMAKE_PREFIX_PATH=${PREFIX} \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
+ -DCMAKE_INSTALL_PYTHONDIR=${SP_DIR} \
-DCMAKE_INSTALL_LIBDIR=lib \
..
ninja install -j${CPU_COUNT} | bash |
d_bash_563 | ---
+++
@@ -19,6 +19,6 @@
set_version ${SCALA_VERSION}
-PROFILE="-P sbt-2.10,local"
+PROFILE="-P sbt-2.10,local,!default"
build $* | bash |
d_bash_564 | ---
+++
@@ -1 +1,2 @@
alias mvn-vidal='mvn --settings ~/.m2/vidal-settings.xml'
+alias mvn-update-deps-to-latest-patch='mvn versions:use-latest-versions -DallowAnyUpdates=false -DallowMajorUpdates=false -DallowMinorUpdates=false -DallowIncrementalUpdates=true -DallowSnapshots=false' | bash |
d_bash_565 | ---
+++
@@ -1,4 +1,5 @@
#!/bin/bash -e
-cake compile
-cake test
+coffee -o lib -c src
+coffee -o tests/lib -c tests/src
+mocha --colors --compilers coffee:coffee-script/register --reporter spec tests/src/*Test*.coffee | bash |
d_bash_566 | ---
+++
@@ -11,4 +11,4 @@
fiat_crypto_CI_TARGETS1="printlite lite lite-display"
fiat_crypto_CI_TARGETS2="print-nobigmem nobigmem nonautogenerated-specific nonautogenerated-specific-display"
-( cd "${fiat_crypto_CI_DIR}" && make ${fiat_crypto_CI_TARGETS1} && make ${fiat_crypto_CI_TARGETS2} )
+( cd "${fiat_crypto_C... | bash |
d_bash_567 | ---
+++
@@ -7,4 +7,7 @@
chmod 600 docs/deploy_key
ssh-add docs/deploy_key
+git remote remove origin
+git remote add origin git@github.com:adamcharnock/lightbus.git
+
mkdocs gh-deploy | bash |
d_bash_568 | ---
+++
@@ -19,6 +19,12 @@
sudo tee --append /etc/postgresql/${PGVERSION}/main/postgresql.conf
echo "host all all 172.17.0.0/16 trust" | \
sudo tee --append /etc/postgresql/${PGVERSION}/main/pg_hba.conf
+
+ if [ "${PGVERSION}" -ge "11" ]; then
+ # Disable JIT to av... | bash |
d_bash_569 | ---
+++
@@ -19,5 +19,5 @@
git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
cd /emsdk-portable
-hide_output ./emsdk install 1.38.47-upstream
-./emsdk activate 1.38.47-upstream
+hide_output ./emsdk install 1.39.20
+./emsdk activate 1.39.20 | bash |
d_bash_570 | ---
+++
@@ -6,4 +6,4 @@
[ -z "${VERSION}" ] && VERSION=`basename \`pwd\`` \
&& VERSION=${VERSION#*-}
-echo -n ${VERSION}
+printf ${VERSION} | bash |
d_bash_571 | ---
+++
@@ -22,6 +22,7 @@
git new-branch Aoi
ninja -C out/Debug chrome
ninja -C out/Release chrome
+# Creates installer. Use mini_installer on Windows.
ninja -C out/Release build_app_dmg
# Updates chromium source code.
git rebase-update | bash |
d_bash_572 | ---
+++
@@ -1,3 +1,3 @@
#!/bin/bash
ARGS=$@
-mvn exec:java -Dexec.mainClass="ghostdriver.GoogleCheese" -Dexec.args="${ARGS}"
+mvn -o exec:java -Dexec.mainClass="ghostdriver.GoogleCheese" -Dexec.args="${ARGS}" | bash |
d_bash_573 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/bash
-# Assumes that the database name and password are dept in a secure directory
+# Assumes that the database name and password are kept in a secure directory
set -e
SQL_DIR="$HOME/mysql"
DB_NAME=`cat $SQL_DIR/db_name` | bash |
d_bash_574 | ---
+++
@@ -7,4 +7,5 @@
auru=" (+$aur)"
fi
-herbstclient emit_hook updates "$repo$auru"
+printf "%s%s" "$repo" "$auru" > "${XDG_RUNTIME_DIR:-/tmp}/checkup-status"
+herbstclient emit_hook updates | bash |
d_bash_575 | ---
+++
@@ -1,4 +1,4 @@
-if [ "$TRAVIS_REPO_SLUG" == "hawkw/deebee" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && ["$TRAVIS_SCALA_VERSION" == "2.11.4"]; then
+if [ "$TRAVIS_REPO_SLUG" == "hawkw/deebee" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] &... | bash |
d_bash_576 | ---
+++
@@ -11,5 +11,5 @@
do
export SESSION_ENGINE=$session
tox -- --driver=Chrome
- tox -- --driver=Firefox
+ tox -- --driver=Firefox --liveserver=127.0.0.1
done | bash |
d_bash_577 | ---
+++
@@ -2,7 +2,6 @@
#
# virtualenvwrapper initialization.
-export VIRTUALENV_DISTRIBUTE=1
export VIRTUAL_ENV_DISABLE_PROMPT=1
# MRB Custom: Uncomment this to create project directories if mkvirtualenv is
# executed under the Projects directory, and to setup postactivate to change | bash |
d_bash_578 | ---
+++
@@ -13,32 +13,31 @@
eval "$(pyenv init -)"
case "${PYTHON}" in
- py27)
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py --user
- ;;
py34|py35|py36|py37|py38)
- pyenv install ${PY_VERSION}
- pyenv global ${PY_V... | bash |
d_bash_579 | ---
+++
@@ -19,6 +19,7 @@
# export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# Install applications
+brew cask install anki
brew cask install bartender
brew cask install caffeine
brew cask install dash | bash |
d_bash_580 | ---
+++
@@ -8,3 +8,5 @@
sudo docker build pyftpdlib -t pyftpdlib:fluentftp
sudo docker build bftpd -t bftpd:fluentftp
+
+sudo docker build glftpd -t glftpd:fluentftp | bash |
d_bash_581 | ---
+++
@@ -31,4 +31,6 @@
git clone "$repo" .
git checkout "$commit"
-npm install --production
+if [ -z "$skip_npm_install" ]; then
+ npm install --production
+fi | bash |
d_bash_582 | ---
+++
@@ -3,4 +3,4 @@
bundle install --path "${HOME}/bundles/${JOB_NAME}"
export GOVUK_APP_DOMAIN=dev.gov.uk
bundle exec rake test
-bundle exec rake publish_gem
+bundle exec rake publish_gem --trace | bash |
d_bash_583 | ---
+++
@@ -16,6 +16,6 @@
# When ENABLE_PUPPET_MODULES_RPM is true, puppet modules are installed from
# rpm instead of git repo in p-o-i jobs
export ENABLE_PUPPET_MODULES_RPM=true
-export HASH_FILE="$WORKSPACE/delorean_master_centos9_current_tripleo_hash"
+export HASH_FILE="$WORKSPACE/delorean_wallaby_centos9_curr... | bash |
d_bash_584 | ---
+++
@@ -1 +1,7 @@
+# Vim as the default editor
export EDITOR='vim'
+
+# But still use emacs-style zsh bindings (without this
+# stuff like C-R for history search doesn't work for some
+# reason
+bindkey -e | bash |
d_bash_585 | ---
+++
@@ -10,6 +10,7 @@
cp refman.tex refman.tex.save
cp doxygen.sty doxygen.sty.save
cat refman.tex | sed "/File Index/,/input{files}/d" | sed "/File Documentation/,/include/d" | sed "/8c/d" | sed "/8h/d" > refman.sed
+echo "\end{document}" >> refman.sed
cat doxygen.sty | sed "s/by Doxygen//g" > doxygen.sed
m... | bash |
d_bash_586 | ---
+++
@@ -22,7 +22,6 @@
run_in_chroot $chroot "
rpm --force --nodeps --install http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-4.el6.centos.10.x86_64.rpm
rpm --force --nodeps --install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
-rpm --rebuilddb
yum --assumeye... | bash |
d_bash_587 | ---
+++
@@ -1,3 +1,3 @@
mkdir -p ~/.tmux/plugins
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
-echo "now do <M-a>I"
+echo "now do <C-b>I" | bash |
d_bash_588 | ---
+++
@@ -8,4 +8,3 @@
# Restart network service in the VMs
echo "app: network restart"; vagrant ssh app.stepup.example.com -c "sudo /etc/init.d/network restart"
echo "manage: network restart"; vagrant ssh manage.stepup.example.com -c "sudo /etc/init.d/network restart"
-echo "db: network restart"; vagrant ssh db.... | bash |
d_bash_589 | ---
+++
@@ -6,4 +6,4 @@
cd $REPORTS_DIR/$LAST_COMMIT &&
lighthouse http://localhost:8080 --perf --output=json --output-path=root.json &&
lighthouse http://localhost:8080/#/browse --perf --output=json --output-path=browse.json &&
-lighthouse http://localhost:8080/#/offline --perf --output=json --output-path=offline... | bash |
d_bash_590 | ---
+++
@@ -16,3 +16,4 @@
echo "Extracting Java..."
mkdir -p $INSTALL_PREFIX
unzip $PACKAGE_TMP -d $INSTALL_PREFIX
+rm $PACKAGE_TMP | bash |
d_bash_591 | ---
+++
@@ -21,7 +21,6 @@
apt-get -qy install linux-headers-$(uname -r) build-essential
apt-get -qy install zlib1g-dev libssl-dev
apt-get -qy install python-software-properties python-setuptools python-dev
-apt-get -qy install ruby1.9.3
# configure password-less sudo
usermod -a -G sudo vagrant | bash |
d_bash_592 | ---
+++
@@ -23,3 +23,7 @@
## libice
export ICEAUTHORITY="${XDG_RUNTIME_DIR}"/X11/iceauthority
mkdir -p $(dirname ${ICEAUTHORITY})
+
+## Gimp
+export GIMP2_DIRECTORY="${XDG_CONFIG_HOME}"/gimp
+mkdir -p ${GIMP2_DIRECTORY} | bash |
d_bash_593 | ---
+++
@@ -4,24 +4,33 @@
latest_github_release_asset_download_url=$(echo "$latest_github_release" | jq -r '.assets[0].browser_download_url // ""')
latest_github_release_asset_name=$(echo "$latest_github_release" | jq -r '.assets[0].name // ""')
-if [ "$latest_github_release_version" ]
+if [[ "$latest_github_rele... | bash |
d_bash_594 | ---
+++
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -e
| bash |
d_bash_595 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/bash
-pyvenv-3.4 myvenv
+python3 -m venv myvenv
source myvenv/bin/activate
pip install pip --upgrade
pip install -r requirements.txt | bash |
d_bash_596 | ---
+++
@@ -25,5 +25,5 @@
$script_dir/../ensure-script.sh vso-alias "$(<$script_dir/git-scripts/vso-alias.sh)"
-git config --global alias.vsoc \!". /c/Users/wiand/.git-scripts/vso-alias.sh; clone" ""
-git config --global alias.vsor \!". /c/Users/wiand/.git-scripts/vso-alias.sh; remote" ""
+git config --global al... | bash |
d_bash_597 | ---
+++
@@ -11,6 +11,7 @@
cd "../$HTMLDIR"
make --no-print-directory || exit $?
+cd ..
RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'`
make --no-print-directory HTMLDIR="$HTMLDIR" bziphtml
scp "html-$RELEASE.tar.bz2" python.sourceforge.net:/home/users/fdrake/python-docs-update.tar.bz2 | bash |
d_bash_598 | ---
+++
@@ -16,5 +16,5 @@
if [ ! -d "~/.config/nvim/colors" ]; then
mkdir ~/.config/nvim/colors
fi
-cp ~/Scripts/dots/monokai.vim ~/.config/nvim/init.vim
+cp ~/Scripts/dots/monokai.vim ~/.config/nvim/colors/
| bash |
d_bash_599 | ---
+++
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
-flock -n /var/run/salaryzen/aggregator.lock timeout -k 2m 3m /opt/SalaryZenAggregator/tools/aggregate.sh -o /etc/public_files/salaryzen/data.json 2>&1 | tee -a /var/log/salaryzen/aggregate.log
+flock -n /var/run/salaryzen/aggregator.lock timeout -k 2m 3m /opt/SalaryZen... | bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.