document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_8500
--- +++ @@ -9,6 +9,7 @@ virtualenv $venv_path . $venv_path/bin/activate +pip install -U pip setuptools pip install -r requirements.txt echo
bash
d_bash_8501
--- +++ @@ -1,4 +1,5 @@ cd .. +mkdir dist jar cf dist/autheoClient.jar src/main/java/gp/e3/autheo/client/ cd dist/ mvn install:install-file -Dfile=autheoClient.jar -DgroupId=gp.e3.autheo.client -DartifactId=client -Dversion=0.1 -Dpackaging=jar
bash
d_bash_8502
--- +++ @@ -1,5 +1,7 @@ #!/bin/bash set -e + +export GOPATH="`pwd`:$GOPATH" echo '--- go version' go version
bash
d_bash_8503
--- +++ @@ -7,5 +7,7 @@ # find src -name "*_fin.${ext}" -delete #done +GCOV_CMD="${GCOV_CMD:-gcov}" coveralls --exclude external --exclude hepconnector --exclude libelperiodic \ - --exclude dist --exclude bench --exclude pertools --gcov gcov --gcov-options '\-lp' + --exclude dist --exclude bench --exclude per...
bash
d_bash_8504
--- +++ @@ -1,8 +1,15 @@ #!/bin/bash set -e +if [[ -n "$JENKINS_RESTORE_FROM" ]] +then + echo "Restoring from ${JENKINS_RESTORE_FROM}..." + curl $JENKINS_RESTORE_FROM | tar xvf -C $JENKINS_HOME +fi + echo "Copying plugins..." mkdir -p ${JENKINS_HOME}/plugins +rm -rf ${JENKINS_HOME}/plugins/* cp ${JENKINS_PLU...
bash
d_bash_8505
--- +++ @@ -3,6 +3,7 @@ mkdir -p ../stacked-doc && mv doc/* ../stacked-doc && git checkout gh-pages && +rm -rf * && mv ../stacked-doc/* . && git add . && git commit -m "Updated documentation." &&
bash
d_bash_8506
--- +++ @@ -1,16 +1,19 @@ export PASSWD=$(sudo crudini --get /etc/ironic-inspector/inspector.conf swift password) uuids=$(openstack baremetal node list --format value -c UUID) -mkdir hardware -pushd hardware > /dev/null +node_type=pcloud +mkdir $node_type +pushd $node_type > /dev/null for uuid in $uuids; do - s...
bash
d_bash_8507
--- +++ @@ -22,9 +22,9 @@ rm -rf /home/ekoch/canfar_scripts git clone https://github.com/e-koch/canfar_scripts.git /home/ekoch/canfar_scripts - -echo 'Mount VOS in readonly mode' -mountvofs --vospace vos:MWSynthesis/VLA/14B-088/${1}/products/ --mountpoint ${TMPDIR}/vos --cache_dir ${TMPDIR}/vos_cache --readonly +...
bash
d_bash_8508
--- +++ @@ -8,8 +8,7 @@ # Copy all required files to the release directory cp "build/gui/Grabber" $APP_DIR -cp -r src/sites/ $APP_DIR +rsync -ar --exclude="node_modules" --exclude="**/*.ts" --exclude="**/resources" src/sites $APP_DIR cp -r src/dist/common/* $APP_DIR cp build/languages/*.qm "$APP_DIR/languages/"...
bash
d_bash_8509
--- +++ @@ -1,6 +1,6 @@ sleep 5 if curl http://localhost:3000 | grep -q '<app-root></app-root>'; then - echo -e "\e[42mSmoke test passed!\e[0m" + echo -e "\e[32mSmoke test passed!\e[0m" exit 0 else echo -e "\e[31mSmoke test failed!\e[0m"
bash
d_bash_8510
--- +++ @@ -1,7 +1,14 @@ #!/bin/bash set -e -bash /opt/docker/bin/provision.sh entrypoint + +if [ "$1" == "supervisord" ]; then + # Visible provisioning + bash /opt/docker/bin/provision.sh entrypoint +else + # Hidden provisioning + bash /opt/docker/bin/provision.sh entrypoint > /dev/null +fi ######...
bash
d_bash_8511
--- +++ @@ -62,3 +62,13 @@ fi } builtin '0<>' zero_not_equals + +zero_greater() { # 0> + pop n + if "$expr" 0 '<' "$n" >/dev/null; then + push -1 + else + push 0 + fi +} +builtin '0>' zero_greater
bash
d_bash_8512
--- +++ @@ -38,6 +38,13 @@ cd ~/.dotfiles/.oh-my-zsh/custom/themes/ ln -s ~/.dotfiles/zshrc/ruhtra.zsh-theme ruhtra.zsh-theme + echo "Creating symlinks for atom dotfiles" + cd ~/.atom/ + ln -s ~/.dotfiles/atom/config.cson config.cson + ln -s ~/.dotfiles/atom/init.coffee init.coffee + ln -s ~/.dotfiles/at...
bash
d_bash_8513
--- +++ @@ -1,12 +1,16 @@ #!/bin/bash set -e +echo "Logging into the Docker Hub" docker login -e "$DOCKER_EMAIL" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" +echo "Pushing ${DOCKER_IMAGE_TAG} to Docker hub" docker push ${DOCKER_IMAGE_TAG} docker tag -f ${DOCKER_IMAGE_TAG} ${DOCKER_REPOSITORY}:last_successful_b...
bash
d_bash_8514
--- +++ @@ -8,7 +8,7 @@ -workspace ${SAMPLE}/${SAMPLE}Example.xcworkspace \ -scheme ${SAMPLE}Example \ -sdk iphonesimulator \ - -destination 'platform=iOS Simulator,name=iPhone Xs' \ + -destination 'platform=iOS Simulator,name=iPhone 11' \ build \ test \ ONLY_ACTIVE_ARCH=YES \
bash
d_bash_8515
--- +++ @@ -6,7 +6,7 @@ if [ -e $SUCCESS ]; then echo "Reference area already staged" else - rm -rf /datastore/$CGPBOX_VERSION/reference_files + rm -rf /datastore/$CGPBOX_VERSION/ref* mkdir -p /datastore/$CGPBOX_VERSION curl -sSL --retry 10 -o /datastore/$CGPBOX_VERSION/ref.tar.gz ftp://ftp.sanger.ac.uk/...
bash
d_bash_8516
--- +++ @@ -9,7 +9,7 @@ # OpenShift expects "php" as application directory's document root cd source/_site -find . | cpio -dumpv ../php +find . | cpio -dumpv ../../php cd ../.. # Commit generated files
bash
d_bash_8517
--- +++ @@ -10,8 +10,8 @@ Run) dmenu_run -nb "#262626" -nf "#7d7d7d" -sb "#87af00" -sf "#262626" -p "Exec:" -fn "DejaVu Sans" ;; # Logout) ;; - # Reboot) ;; - # Shutdown) ;; + Reboot) exec urxvt -geometry 50x1 -name 'URxvtFloating' -e sudo shutdown -r now & ;; + ...
bash
d_bash_8518
--- +++ @@ -20,7 +20,6 @@ alias cdd='cd $(eval echo $__rsc__dev_dir)' alias df='cd $(eval echo $__rsc__dotfiles_dir)' alias e='__rsc__filebrowser . &' -alias h='cd ~' alias la='__rsc__ls_color -F' alias ll='__rsc__ls_color -AFhl' alias q='exit'
bash
d_bash_8519
--- +++ @@ -6,6 +6,8 @@ fi #$ -N $1 +#$ -M davidgasquez@gmail.com +#$ -m abe #$ -o output/$JOB_NAME_$JOB_ID.out #$ -e output/$JOB_NAME_$JOB_ID.error #$ -q larga
bash
d_bash_8520
--- +++ @@ -9,5 +9,6 @@ docker run -i -t iamsergio/clazy-ubuntu-14.04 sh $BUILD_SCRIPT $BRANCH $J_FLAG && \ docker run -i -t iamsergio/clazy-ubuntu-15.10 sh $BUILD_SCRIPT $BRANCH $J_FLAG && \ +docker run -i -t iamsergio/clazy-ubuntu-16.04 sh $BUILD_SCRIPT $BRANCH $J_FLAG && \ docker run -i -t iamsergio/clazy-ope...
bash
d_bash_8521
--- +++ @@ -15,4 +15,4 @@ test_cmd scripts/developer/git/setup-hooks \ "Failed to setup git hooks" 1 -git config hooks.clang-format true +git config hooks.clang-format false
bash
d_bash_8522
--- +++ @@ -1,11 +1,41 @@ -# build vim from source on CentOS -yum groupinstall 'Development tools' -y -yum install ncurses ncurses-devel wget git -y -cd /usr/local/src -wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 -tar -xjf vim-7.4.tar.bz2 -cd vim74 -./configure --prefix=/usr --with-features=huge --enable-ruby...
bash
d_bash_8523
--- +++ @@ -2,15 +2,17 @@ cd /opt/alaveteli -rm -rf lib/acts_as_xapian/xapiandbs/production +rm -rf /opt/alaveteli/lib/acts_as_xapian/xapiandbs/production mkdir -p $XAPIAN_MOUNT_PATH/$RAILS_ENV -ln -s $XAPIAN_MOUNT_PATH/$RAILS_ENV lib/acts_as_xapian/xapiandbs/$RAILS_ENV +ln -s /opt/alaveteli/lib/acts_as_xapia...
bash
d_bash_8524
--- +++ @@ -13,7 +13,10 @@ push_pages() { git remote add origin-pages https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git > /dev/null 2>&1 - git push --quiet --set-upstream origin-pages gh-pages + git fetch origin-pages + git branch --set-upstream-to origin-pages/gh-pages + git pull --rebase --autost...
bash
d_bash_8525
--- +++ @@ -2,7 +2,11 @@ curl -sL "<%= @url %>" > vagrant.deb for i in $(find /usr /opt /home /var -ipath '*/.vagrant.d'); do - rm -rf "${i}" + for j in $(ls -1 "${i}"); do + if [ "${j}" != 'boxes' ]; then + rm -rf "${i}/${j}" + fi + done done dpkg -i --force-confold vagrant.de...
bash
d_bash_8526
--- +++ @@ -2,6 +2,16 @@ if [[ -z "$(which makerom)" ]]; then echo "Make sure makerom is in" '$PATH' + exit 0 +fi + +if [[ -z "$(which convert)" ]]; then + echo "imagemagic is a dependecy install it!!!" + exit 0 +fi + +if [[ -z "$(which ffmpeg)" ]]; then + echo "ffmpeg is a dependecy install it!!!" exit ...
bash
d_bash_8527
--- +++ @@ -19,8 +19,10 @@ # REF=$CI_COMMIT_REF_NAME if [[ $REF = "master" || $REF =~ ^release/v || $REF =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?(-|$) ]]; then + export IS_PRIVATE= export IS_PUBLIC=1 else export IS_PRIVATE=1 + export IS_PUBLIC= fi unset REF
bash
d_bash_8528
--- +++ @@ -21,7 +21,14 @@ alias md='mkdir -p' alias rd=rmdir -alias d='dirs -v | head -10' +function d () { + if [[ -n $1 ]]; then + dirs "$@" + else + dirs -v | head -10 + fi +} +compdef _dirs d # List directory contents alias lsa='ls -lah'
bash
d_bash_8529
--- +++ @@ -8,6 +8,6 @@ rm *8md_source.html for f in *.html search/*.js; do - sed -i "" 's/href="md_doc_markdown_/href="/g' $f + sed -i"" 's/href="md_doc_markdown_/href="/g' $f done
bash
d_bash_8530
--- +++ @@ -6,7 +6,7 @@ cd _example ../bin/apig gen --all -if [ ! $(git status | grep 'nothing to commit') ]; then +if [[ ! $(git status | grep 'nothing to commit') ]]; then echo " x Generator artifact and example application are different." git --no-pager diff exit 1 @@ -16,9 +16,10 @@ go get ./... go...
bash
d_bash_8531
--- +++ @@ -1,2 +1,2 @@ #!/bin/sh -FLASK_APP=docket.py FLASK_DEBUG=1 flask run +FLASK_APP=docket.py FLASK_DEBUG=1 gunicorn docket:app --log-file - -b 0.0.0.0:5001 --reload
bash
d_bash_8532
--- +++ @@ -2,5 +2,5 @@ gmock() { - LD_LIBRARY_PATH=/usr/lib/llvm-3.4/lib python ~/repo/gmock/gmock.py "$@" + LD_LIBRARY_PATH=/usr/lib/llvm-3.5/lib python ~/repo/gmock/gmock.py "$@" }
bash
d_bash_8533
--- +++ @@ -1 +1,30 @@ -alias brew-upgrades="brew update && brew upgrade --cleanup && mas upgrade && for outdated in `brew cask outdated --quiet` ; do ; brew cask reinstall $outdated && brew cleanup && brew cask cleanup ; done" +echo-in() { #args= color, text + local NO_COLOR="\033[0m" + echo "${1}${2}${NO_COLOR}" ...
bash
d_bash_8534
--- +++ @@ -21,7 +21,7 @@ # Treat single word simple commands without redirection as candidates for resumption of an existing job. setopt AUTO_RESUME -# List jobs in the long format by default. +# List jobs in the long format by default. setopt LONG_LIST_JOBS # Report the status of background jobs immediatel...
bash
d_bash_8535
--- +++ @@ -1,7 +1,16 @@ #!/bin/sh # Damage control build script for jMock. + +#export RELEASE_ID=1.0 +#export PRERELEASE_ID=1.0-RC1 +export SNAPSHOT_ID=$(date +%Y%m%d-%H%M%S) sh continuous-integration/build-website.sh sh continuous-integration/build-javadocs.sh -sh continuous-integration/deploy-website.sh +#...
bash
d_bash_8536
--- +++ @@ -2,8 +2,8 @@ --rm \ --detach \ --name "run-pgadmin" \ - -p 8090:80 \ + --publish 8090:80 \ -e "PGADMIN_DEFAULT_EMAIL=filipenos@gmail.com" \ -e "PGADMIN_DEFAULT_PASSWORD=filipe" \ - -v "gadmin-data:/var/lib/pgadmin" \ + -v "pgadmin-data:/var/lib/pgadmin" \ dpage/pgadmin4:latest
bash
d_bash_8537
--- +++ @@ -1,11 +1,11 @@ #!/bin/bash if [[ $1 == *"Ubuntu"* ]]; then - sudo apt-get install --force-yes -y mysql-client + sudo apt-get install --force-yes -y mysql-client libmysql-java elif [[ $1 == *"CentOS"* ]] || [[ $1 == *"Red Hat Enterprise Linux"* ]]; then - sudo yum install -y mysql + sudo yu...
bash
d_bash_8538
--- +++ @@ -13,7 +13,7 @@ set +x ; : ${COVERALLS_TOKEN:?Need the coveralls.io token} ; set -x go test -v -tags "$BUILDTAGS" -covermode=count -coverprofile=coverage.out ./... set +x - echo 'goveralls -coverprofile=coverage.out -service=travis-ci -repotoken [censored] (failure ignored)' + echo 'goveralls -co...
bash
d_bash_8539
--- +++ @@ -11,4 +11,6 @@ export HOME=$BD cp config/database.yml.example config/database.yml bundle install +rake db:create +rake db:migrate rake test
bash
d_bash_8540
--- +++ @@ -1,7 +1,7 @@ # # build config # -PACKAGES="dev-lang/ruby" +PACKAGES="dev-libs/gmp dev-lang/ruby" # # this method runs in the bb builder container just before starting the build of the rootfs
bash
d_bash_8541
--- +++ @@ -5,12 +5,11 @@ source _variables.sh # Base install -wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm -wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm -rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm +rpm -U --nosignature http://dl.fedoraproject.org/pub/ep...
bash
d_bash_8542
--- +++ @@ -27,13 +27,11 @@ # check if dest exists so we don't blow away existing config if [ -e $DEST ]; then - #cat "${SRC_DIR}/bash_profile" >> $DEST echo "source ${LOCAL_CONFIG}" >> "${DEST}" else - #ln -s "${SRC_DIR}/bash_profile" $DEST ln -s "${LOCAL_CONFIG}" "${DEST}" fi #ensure direct...
bash
d_bash_8543
--- +++ @@ -24,3 +24,11 @@ bindkey "^R" history-incremental-pattern-search-backward bindkey '^?' backward-delete-char bindkey '^h' backward-delete-char + +# Search history of commands by arrow up/down +autoload -U up-line-or-beginning-search +autoload -U down-line-or-beginning-search +zle -N up-line-or-beginning-s...
bash
d_bash_8544
--- +++ @@ -1,8 +1,15 @@ #!/bin/bash -LOCAL_VERSION=`./tools/jq -r .reekwest.new version.json` +set -o errexit +set -o pipefail +set -o nounset -BINTRAY_VERSION=`curl -s https://bintray.com/api/v1/packages/reekwest/maven/reekwest/versions/_latest | ./tools/jq -r .name` +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}"...
bash
d_bash_8545
--- +++ @@ -6,7 +6,6 @@ fi SVCNAME=$1 -PID="`cat /var/run/hhvm/${SVCNAME}.pid`" if [[ "`find -L /etc/init.d/ -samefile /etc/init.d/hhvm | grep /etc/init.d/${SVCNAME}`" == "" ]]; then # Allow short parameter as hhvm.$1 @@ -17,6 +16,8 @@ exit 1 fi fi + +PID="`cat /var/run/hhvm...
bash
d_bash_8546
--- +++ @@ -22,7 +22,7 @@ echo "### Commiting and pushing appcast(s) to ${branch}" git add appcast* -git commit -S -m "Bump appcast(s) to ${compound_version}" +git commit -m "Bump appcast(s) to ${compound_version}" git push origin HEAD:"${branch}" popd > /dev/null
bash
d_bash_8547
--- +++ @@ -19,19 +19,15 @@ set -o pipefail export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. +export GO111MODULE=on +export GOPROXY="${GOPROXY:-https://proxy.golang.org}" -# Install tools we need, but only from vendor/... -cd ${KUBE_ROOT} -go install ./vendor/github.com/client9/misspell/cmd/misspell -if ! which ...
bash
d_bash_8548
--- +++ @@ -1,33 +1,34 @@ #!/bin/bash +# Install dependencies +sudo apt-get -y install libssl-dev + # Get latest Musl version from http://www.musl-libc.org/download.html -export MUSL_VERSION=1.1.12 -wget http://www.musl-libc.org/releases/musl-$MUSL_VERSION.tar.gz -tar -xvf musl-$MUSL_VERSION.tar.gz -cd musl-$MUSL...
bash
d_bash_8549
--- +++ @@ -3,6 +3,4 @@ install -m 644 files/ipv6.conf ${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf install -m 644 files/hostname ${ROOTFS_DIR}/etc/hostname -on_chroot << EOF -dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules -EOF +ln -s /dev/null ${ROOTFS_DIR}/etc/systemd/network/99-default...
bash
d_bash_8550
--- +++ @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +# exit when there is error +set -e # switch folder # get the script path http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
bash
d_bash_8551
--- +++ @@ -2,3 +2,4 @@ export GOMA_DIR=${HOME}/goma export GYP_DEFINES="use_goma=1" +export CDPATH=.:/usr/local/google/home/vakh/work/chrome/src
bash
d_bash_8552
--- +++ @@ -23,10 +23,4 @@ ##################################################### # Delete all known files in web server directory # ##################################################### -cd $WEBDIR && rm -r calendar/ css/ fonts/ images/ js/ reports/ favicon.ico index.* sitemap.xml.gz status.class.php template.h...
bash
d_bash_8553
--- +++ @@ -23,7 +23,7 @@ fi HOST=172.16.1.1 -PORT=22222 +PORT=22 USER=virl FIFO=/tmp/remotecapture.fifo
bash
d_bash_8554
--- +++ @@ -1,2 +1,2 @@ #! /bin/sh -./manage.py celeryd --verbosity=2 --loglevel=DEBUG +./manage.py celeryd --verbosity=2 --loglevel=DEBUG -c 4
bash
d_bash_8555
--- +++ @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Create a temp dir and clean it up on exit -TEMPDIR=`mktemp -d -t consul-test` +TEMPDIR=`mktemp -d -t consul-test.XXX` trap "rm -rf $TEMPDIR" EXIT HUP INT QUIT TERM # Build the Consul binary for the API tests
bash
d_bash_8556
--- +++ @@ -23,4 +23,8 @@ mtree -Pcp ${BASEDIR}/var > ${TMPFILE} mv ${TMPFILE} ${BASEDIR}/etc/mtree/var.dist -chroot ${BASEDIR} pkg_info > ${BASEDIR}/pkg_info.txt 2>/dev/null +if [ $FREEBSD_VERSION -ge 8 ]; then + pkg -c ${BASEDIR} info > ${BASEDIR}/pkg_info.txt 2> /dev/null +else + chroot ${BASEDIR} pkg_in...
bash
d_bash_8557
--- +++ @@ -1,3 +1,3 @@ #!/bin/bash -cd `dirname $0`/.. -ls tmp/capybara/ |grep -v -e '-diff.png' | xargs -n 1 -I '{}' mv 'tmp/capybara/{}' spec/screenshots/screenshots/ +cd `dirname $0`/../core +ls tmp/capybara/ | grep -v -e '-diff.png' | xargs -n 1 -I '{}' mv 'tmp/capybara/{}' spec/screenshots/screenshots/
bash
d_bash_8558
--- +++ @@ -2,7 +2,7 @@ # Mount network shared drive mkdir -p /mnt/Public -mount -t cifs -o username=root,password= //192.168.1.123/Public /mnt/Public +mount -t cifs -o username=root,password=,guest,uid=1000,gid=1000,rw,file_mode=0777,dir_mode=0777,sfu //192.168.1.123/Public /mnt/Public # Start transmission! ...
bash
d_bash_8559
--- +++ @@ -1,4 +1,4 @@ -KERL_VERSION="1.8.2" +KERL_VERSION="1.8.5" ensure_kerl_setup() { set_kerl_env
bash
d_bash_8560
--- +++ @@ -24,22 +24,10 @@ clear make clean - ./autogen.sh -aclocal -autoconf -autoheader touch NEWS README AUTHORS ChangeLog automake --add-missing -#mkdir $HOME/eas-daemon-install -#./configure $HOME/eas-daemon-install ./configure --enable-gconf-schemas-install make all ./gen-todo-list.sh -#make instal...
bash
d_bash_8561
--- +++ @@ -16,7 +16,7 @@ # Crashes will be available as test outputs. These are cleared on the next run, # so this is only useful for examples. DEFAULT_CRASH_PREFIX="$TEST_UNDECLARED_OUTPUTS_DIR" -eval "$1" -artifact_prefix="$DEFAULT_CRASH_PREFIX/" --reproducer_path="$DEFAULT_CRASH_PREFIX" "${@:2}" -seed=27351967...
bash
d_bash_8562
--- +++ @@ -15,7 +15,8 @@ for lib in $(cat libs.txt); do echo "Checking $lib..." - ./implib-gen.py $lib - # TODO: run with --vtables - rm $(basename $lib)* + ./implib-gen.py --vtables $lib + name=$(basename $lib) + gcc -Wall -Wextra -Werror -c $name*.[cS] + rm $name* done
bash
d_bash_8563
--- +++ @@ -15,7 +15,7 @@ add-apt-repository ppa:apt-fast/stable apt-get update -apt-get install --no-install-recommends -y apt-fast +apt-get install --no-install-recommends --allow-unauthenticated -y apt-fast # install required packages apt-fast -y install --no-install-recommends \ libssl-dev autoconf lib...
bash
d_bash_8564
--- +++ @@ -28,6 +28,4 @@ kill -TERM $CALLBACK_PID && wait $CALLBACK_PID # ...and make sure we've cleaned up. -! ps waxu | grep java | grep -v grep -! ps waxu | grep ruby | grep -v grep ! find /tmp/castanet-testing | egrep 'jasig\.|callback\.'
bash
d_bash_8565
--- +++ @@ -1,8 +1,14 @@ set -e -# Install git. +# Install curl +sudo apt-get install curl +# Install dev tools. +sudo apt-get install xsel sudo apt-get install git -# Install vim. sudo apt-get install vim +sudo apt-get install libmysqlclient-dev # Needed for powerline. +sudo apt-get install python-dev +sudo apt-...
bash
d_bash_8566
--- +++ @@ -3,7 +3,7 @@ # This is a basic script that downloads the original data and converts it to a JSON wget http://efele.net/maps/tz/world/tz_world.zip unzip tz_world -ogr2ogr -f GeoJSON -t_srs crs:84 tz_world.json ./world/tz_world.sph +ogr2ogr -f GeoJSON -t_srs crs:84 tz_world.json ./world/tz_world.shp mv t...
bash
d_bash_8567
--- +++ @@ -1,8 +1,8 @@ #!/bin/bash -tar tzf $1 | cut -f2- -d/ > "${1}.file-list" -tar tzf $2 | cut -f2- -d/ > "${2}.file-list" +tar tzf $1 | cut -f2- -d/ | sort > "${1}.file-list" +tar tzf $2 | cut -f2- -d/ | sort > "${2}.file-list" diff -ur "${1}.file-list" "${2}.file-list"
bash
d_bash_8568
--- +++ @@ -15,7 +15,7 @@ tap_out=$(echo $tap_out | sed 's#/#__#g') tap_out+=".tap" # we want to continue running through all tests even if some fail - ./node_modules/tap/bin/tap.js --tap $tap_test > ./tap_output/$tap_out || true + ./node_modules/tap/bin/tap.js --timeout 600 --diag $tap_test > ./...
bash
d_bash_8569
--- +++ @@ -8,4 +8,4 @@ fi #Run Ansible -PYTHONIOENCODING='utf-8' ansible-playbook base-desktop.yml --ask-become-pass --extra-vars "artifactory_username=$ARTIFACTORY_USERNAME artifactory_password=$ARTIFACTORY_PASSWORD kubuntu=true" +PYTHONIOENCODING='utf-8' ansible-playbook base-desktop.yml --extra-vars "artifact...
bash
d_bash_8570
--- +++ @@ -22,12 +22,18 @@ local TESTDIR="$1" local PASSED_COUNT=0 local FAILED_COUNT=0 + + if [[ -z "$LOGFILE" ]]; then + local LOGFILE="/dev/null" + fi for test in $(ls $TESTDIR); do [[ "$(basename $test)" == "all.sh" ]] && continue + [[ -s "$LOGFILE...
bash
d_bash_8571
--- +++ @@ -14,8 +14,9 @@ # Link vim files ln -s $(pwd)/vimrc ~/.vimrc -ln -s $(pwd)/vimrc.local ~/.vimrc.local ln -s $(pwd)/vimrc.plugins ~/.vimrc.plugins + +cp $(pwd)/vimrc.local ~/.vimrc.local # Create local files mkdir ~/.vim
bash
d_bash_8572
--- +++ @@ -16,6 +16,7 @@ valgrind \ make \ cmake \ + libboost-dev \ g++-4.8 \ g++-4.9 \ g++-5 \
bash
d_bash_8573
--- +++ @@ -4,7 +4,7 @@ shift string=${@} - if [[ ${string} == ${char}* ]]; then + if [[ ${string:0:1} == ${char} ]]; then echo true else return;
bash
d_bash_8574
--- +++ @@ -1,6 +1,7 @@ #!/bin/sh -[ -z "$(cat /etc/passwd | grep jenkins)" ] && useradd -U -u $UID -d "$HOME" -p 1234 -s /bin/false jenkins +[ -n "$(cat /etc/passwd | grep \":$UID:65534:\")" ] || useradd -u $UID -g nogroup -d "$HOME" -p 1234 -s /bin/false jenkins chown -R jenkins "$HOME" +chmod -R 700 "$HOME" c...
bash
d_bash_8575
--- +++ @@ -27,7 +27,8 @@ # send email -tb_test lb_email -s Test junk@example.com "This is a test email." +# UNCOMMENT THIS LINE TO TEST IT +#tb_test lb_email -s Test junk@example.com "This is a test email." # avoid skipping tests if last failed
bash
d_bash_8576
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash - +# Please fill in below variables with your MAC addresses! MAC_MACBOOK= MAC_IPHONE= SUPPORTED_DEVICES=("iPhone" "Macbook")
bash
d_bash_8577
--- +++ @@ -6,5 +6,5 @@ elif [ "$(uname -s)" == "Linux" ]; then echo "Installing prerequisite packages..." sudo apt-get install build-essential g++ gcc-multilib \ - zip zlib1g-dev dejagnu tcl expect #openjdk-8-jdk + zip zlib1g-dev dejagnu tcl expect wget #openjdk-8-jdk fi
bash
d_bash_8578
--- +++ @@ -6,28 +6,30 @@ exit 1 } -echo -e "Starting to deploy to gh-pages\n" - -# create and cd into temporary deployment work directory -mkdir deployment-work -cd deployment-work - -# setup git and clone from gh-pages branch -git config --global user.email "codeship-deployer@codeaffine.com" -git config --glo...
bash
d_bash_8579
--- +++ @@ -14,8 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Set provider independent environment variables +# Set the default provider of Kubernetes cluster to know where to load provider-specific scripts +# You can override the default prov...
bash
d_bash_8580
--- +++ @@ -16,3 +16,6 @@ # Zlib ZLIB_VERSION="1.2.11" # 2017-01-15 (stable) + +# PageSpeed (module, optional) +PAGESPEED_VERSION="1.12.34.2"
bash
d_bash_8581
--- +++ @@ -10,6 +10,7 @@ pkg_build_deps=( core/gcc core/make + core/pkg-config ) pkg_deps=( core/glibc
bash
d_bash_8582
--- +++ @@ -32,7 +32,8 @@ # commit git add --all . -git commit -qm "Update blog to $TRAVIS_COMMIT" +: ${UPDATE_COMMIT=$TRAVIS_COMMIT} +git commit -qm "Update blog to $UPDATE_COMMIT" # push changes git push -q origin gh-pages
bash
d_bash_8583
--- +++ @@ -12,4 +12,4 @@ sed -i "s/\"MICROSOFT_CLIENT_SECRET\"/\"${MICROSOFT_CLIENT_SECRET}\"/" appsettings.Production.json WUKONG_PROVIDER_ESCAPE=${WUKONG_PROVIDER//\//\\\/} sed -i "s/\"WUKONG_PROVIDER\"/\"${WUKONG_PROVIDER_ESCAPE}\"/" appsettings.Production.json -./wukong-dist_linux-x64/Wukong +exec ./wukong-di...
bash
d_bash_8584
--- +++ @@ -23,8 +23,8 @@ OUT=etc/gitinfo.txt -git describe --all > $OUT -git describe --always >> $OUT +git --git-dir=$dotgit describe --all > $OUT +git --git-dir=$dotgit describe --always >> $OUT date "+%b %d %Y, %H:%M:%S" >> $OUT exit 0
bash
d_bash_8585
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash -l #$ -S /bin/bash -#$ -l h_rt=48:00:00 +#$ -l h_rt=12:00:00 #$ -l mem=20G #$ -l tmpfs=50G #$ -cwd
bash
d_bash_8586
--- +++ @@ -18,7 +18,6 @@ declare -i STATUS=0 -# env PYTHONPATH="${PYTHONPATH}" for script in test_*.sh; do ./${script} if [ $? -ne 0 ]; then
bash
d_bash_8587
--- +++ @@ -8,10 +8,5 @@ run_command "composer install --no-interaction --prefer-dist" || exit $? run_command "composer dump-env test_cached" || exit $? -print_header "Setting up JWT for API" "Sylius" -run_command "source .env.test" -run_command "openssl genrsa -out config/jwt/private-test.pem 4096 -algorithm rsa...
bash
d_bash_8588
--- +++ @@ -1,18 +1,29 @@ #!/bin/sh # -# Homebrew +# Node package manager (NPM) # -# This installs some of the common dependencies needed (or at least desired) -# using Homebrew. # Check for npm if test $(which npm) then # Install npm packages globally - npm install -g autoprefixer bower csscomb grunt htt...
bash
d_bash_8589
--- +++ @@ -10,5 +10,4 @@ git remote remove origin git remote add origin git@github.com:adamcharnock/lightbus.git -git pull origin gh-pages -mkdocs gh-deploy +mkdocs gh-deploy --force
bash
d_bash_8590
--- +++ @@ -6,5 +6,5 @@ docker build -f Dockerfile-8 -t appcom/nodejs:8 . docker build -f Dockerfile-9 -t appcom/nodejs:9 . -docker tag appcom/nodejs:8 appcom/nodejs:latest +docker tag appcom/nodejs:9 appcom/nodejs:latest docker tag appcom/nodejs:8 appcom/nodejs:lts
bash
d_bash_8591
--- +++ @@ -1,15 +1,15 @@ #!/bin/sh + +set -eu + mkdir -p "$HOME/.docker/completions" if which docker-compose > /dev/null 2>&1; then - curl -sL https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose \ + curl -fsSL https://raw.githubusercontent.com/docker/compose/master/c...
bash
d_bash_8592
--- +++ @@ -16,8 +16,10 @@ mkdir -p $TMP/usr/bin mkdir -p $TMP/usr/sbin - # Crete reuired binaries for chroot + # Crete required binaries for chroot cp /bin/* $TMP/bin + cp /usr/bin/* $TMP/usr/bin + cp /usr/sbin/* $TMP/usr/sbin OS=$(uname -s)
bash
d_bash_8593
--- +++ @@ -4,4 +4,4 @@ alias railsc='pry -r ./config/environment' alias fs='foreman start' -alias rr='rubocop -R' +alias rr='rubocop'
bash
d_bash_8594
--- +++ @@ -19,6 +19,7 @@ ../admin/mac/build-release-osx.sh "$@" mv Humbug-$1.dmg ~/packages/ +mv Humbug-$1.tar.bz2 ~/packages/sparkle popd rm -rf humbug-desktop/
bash
d_bash_8595
--- +++ @@ -11,10 +11,11 @@ git config user.email "kkawa1570@gmail.com" git remote add upstream "https://$GH_TOKEN@github.com/kkawakam/rustyline.git" -git fetch upstream && git reset upstream/gh-pages +git fetch upstream +git push origin --delete gh_pages > /dev/null 2>&1 touch . git add -A . git commit -...
bash
d_bash_8596
--- +++ @@ -1,3 +1,5 @@ +#!/bin/bash + # start_rss_procs.bash Count=40 Pids='' @@ -5,7 +7,7 @@ do Log=parse_out_$i.txt echo $Log - ./ch7_rss_process.php -q > $Log 2>&1 & + ./rss_process.php -q > $Log 2>&1 & Pids="$Pids $!" done echo $Pids
bash
d_bash_8597
--- +++ @@ -2,10 +2,12 @@ SEARCHDIR=${1-$(pwd)}; -echo "function search {" > $SEARCHDIR/init_search; +echo "function search {" > $SEARCHDIR/init_search; echo " OUTPUT=\$($SEARCHDIR/searcher \$@);" >> $SEARCHDIR/init_search; -echo " cd \${OUTPUT};" >> $SEARCHDIR/init_search; -echo "}" >> $...
bash
d_bash_8598
--- +++ @@ -7,6 +7,9 @@ CN=$(hostname) EMAIL=$(mdata-get mail_adminaddr 2>/dev/null) +# Ignore python warnings by default in this script +export PYTHONWARNINGS="ignore" + # Help function function help() { echo "${0} [-c common name] [-m mail address]" @@ -14,7 +17,7 @@ } # Option parameters -while getopts...
bash
d_bash_8599
--- +++ @@ -6,7 +6,7 @@ # https://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ SLUG="square/wire" -JDK="oraclejdk8" +JDK="openjdk8" BRANCH="master" set -e
bash