document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_22600
--- +++ @@ -5,4 +5,8 @@ alias ls="ls --color" +if [[ -e "$(which exa)" ]]; then + alias ls="exa" +fi + alias nose="nosetests --with-yanc --with-watcher"
bash
d_bash_22601
--- +++ @@ -35,7 +35,7 @@ log "Containers still running" dockerLogs=$(docker-compose logs --tail="all") echo $dockerLogs - if [ $dockerLogs == *"ERROR"* || $dockerLogs == *"error"* ] ; then + if [[ $dockerLogs == *"ERROR"* || $dockerLogs == *"error"* ]] log "There was an issue in the container execut...
bash
d_bash_22602
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash # Change this directory for each lab -sudo losetup /dev/loop0 ~/18349/lab2/sdcard.img +sudo losetup /dev/loop0 ~/18349/lab3/sdcard.img sudo kpartx -a /dev/loop0
bash
d_bash_22603
--- +++ @@ -1,11 +1,13 @@ #!/bin/bash -openstack project create --domain default --description "Admin Project" admin -openstack user create --domain default --password $1 admin -openstack role create admin -openstack role add --project admin --user admin admin -openstack project create --domain default --description...
bash
d_bash_22604
--- +++ @@ -10,7 +10,7 @@ # oh-my-zsh plugins #zgen oh-my-zsh plugins/chucknorris zgen oh-my-zsh plugins/command-not-found - zgen oh-my-zsh plugins/git + #zgen oh-my-zsh plugins/git zgen oh-my-zsh plugins/sudo zgen oh-my-zsh plugins/wd zgen oh-my-zsh plugins/web-search @@ -21,7 +21...
bash
d_bash_22605
--- +++ @@ -7,4 +7,9 @@ fi echo "Connecting to Cubietruck plus serial" +if [[ $(screen -ls | grep serial) != "" ]]; then + echo "Serial screen already exists, connecting" + sudo screen -rd serial +fi + sudo screen -S serial -t 'Sotolito Serial' /dev/ttyUSB0 115200
bash
d_bash_22606
--- +++ @@ -17,6 +17,7 @@ handbrake # Video conversion utility. handbrakecli # CLI for Handbrake. keka # Archive extraction and creation. + sketch # Professional Digital Design for Mac slack # Chat client for teams. ...
bash
d_bash_22607
--- +++ @@ -3,7 +3,7 @@ case "$1" in java8) - echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz" + echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.g...
bash
d_bash_22608
--- +++ @@ -26,6 +26,7 @@ } echo "Creating test environment" +rm -rf "${TEST_TMPDIR?}" # In case this wasn't cleaned up previously mkdir "${TEST_TMPDIR?}" trap cleanup EXIT # Execute whatever we were passed.
bash
d_bash_22609
--- +++ @@ -20,4 +20,8 @@ done -mkdir -p "/home/${USER}/.virtualenvs" +if [ ${UNAME} == "Linux" ]; then + mkdir -p "/home/${USER}/.virtualenvs" +else + mkdir -p "/Users/${USER}/.virtualenvs" +fi
bash
d_bash_22610
--- +++ @@ -5,7 +5,7 @@ echo "MAC_ADDRESS=$MAC_ADDRESS" # run the QEMU box -sudo qemu-system-aarch64 -m 768 -cpu cortex-a57 -M virt -nographic \ +sudo qemu-system-aarch64 -m 512 -cpu cortex-a57 -M virt -nographic \ -pflash $HOME/qemu/bootdisk/flash0.img \ -pflash $HOME/qemu/bootdisk/flash1.img \ -drive i...
bash
d_bash_22611
--- +++ @@ -1,6 +1,9 @@ #!/bin/bash npm run build -cd dist && npm i && cd - +cd dist +npm i +rm -rf node_modules/*/{example,examples,test,tests,*.md,*.markdown,CHANGELOG*,.*,Makefile} +cd - ./scripts/patch-react-devtools.sh
bash
d_bash_22612
--- +++ @@ -21,7 +21,7 @@ export BUILDROOT=$(pwd) REPOSITORY_DIR=$(pwd)/geode LOCAL_FILE=${BUILDROOT}/results/passing.txt -DESTINATION_URL=gs://${PUBLIC_BUCKET}/passing.txt +DESTINATION_URL=gs://${PUBLIC_BUCKET}/${MAINTENANCE_VERSION}/passing.txt pushd ${REPOSITORY_DIR} git rev-parse HEAD > ${LOCAL_FILE} popd
bash
d_bash_22613
--- +++ @@ -12,6 +12,7 @@ chmod +x ./blobs/davcli/davcli-*-amd64 pushd blobs + cp -R $PWD/../src/patches . BOSH_INSTALL_TARGET=$PWD/../src/tmp/integration-nginx bash ../packages/nginx/packaging popd
bash
d_bash_22614
--- +++ @@ -3,7 +3,7 @@ # Caleb Evans # Expand multiple subdirectories using the globstar (**) option -shopt -s globstar +shopt -s globstar 2> /dev/null # Ensure that command history is appended to and not overwritten shopt -s histappend
bash
d_bash_22615
--- +++ @@ -5,7 +5,7 @@ # Sorin Ionescu <sorin.ionescu@gmail.com> # -# Load and run the prompt theming system. +# Load and execute the prompt theming system. autoload -Uz promptinit && promptinit # Load the prompt theme.
bash
d_bash_22616
--- +++ @@ -3,6 +3,8 @@ virtualenv --no-site-packages venv venv/bin/pip install -r requirements.txt +# Get the latest question updates from Stack Overflow +venv/bin/python update-latest-from-so.py # Write out the files from the database venv/bin/python write-files.py
bash
d_bash_22617
--- +++ @@ -15,6 +15,7 @@ for resultfile in c*.txt do echo "Processing data in $resultfile, this may take a while!" + echo "BEGIN TRANSACTION; " > queryfile.sql cValue="$(grep -o '[0-9][0-9]' <<< $resultfile)" while read line; do if grep -q '^HTTP/' <<< $line @@ -25,12 +26,11 @@ RT=$(echo $li...
bash
d_bash_22618
--- +++ @@ -21,11 +21,8 @@ IGNORE_EXIT=( "lint-assertions.sh" "lint-circular-dependencies.sh" - "lint-format-strings.sh" - "lint-includes.sh" "lint-python-dead-code.sh" "lint-python.sh" - "lint-tests.sh" ) for f in "${SCRIPTDIR}"/lint-*.sh; do
bash
d_bash_22619
--- +++ @@ -1,6 +1,18 @@ #!/bin/bash mkdir -p $PREFIX/bin + +# fix automake +sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/aclocal +sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/automake + +# fix autoconf +sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' $PREFIX/bin/autom4te +sed -i.bak '1 s|^.*$|#...
bash
d_bash_22620
--- +++ @@ -1,9 +1,12 @@ #!/usr/bin/env bash + +set -e echo -e '\n\033[1mPackaging dmg installer: \033[01;0m' mkdir -p build/installers zip -ryq "Headset-$NEW_VERSION.zip" build/Headset-darwin-x64/Headset.app -create-dmg build/Headset-darwin-x64/Headset.app -mv "Headset-$NEW_VERSION.dmg" build/installers/. +s...
bash
d_bash_22621
--- +++ @@ -12,6 +12,7 @@ publishing-frontend reliability-engineering taxonomy + gov-uk-licensing-support ) for team in ${teams[*]}; do
bash
d_bash_22622
--- +++ @@ -7,7 +7,7 @@ exit 1 fi -files_found=$(find "${CHECK_DIRECTORY}" -ctime -1 -type f ! -empty) +files_found=$(find "${CHECK_DIRECTORY}" -mtime -1.125 -type f ! -empty) if [ "${files_found}" = "" ]; then echo "No new files found in ${CHECK_DIRECTORY}"
bash
d_bash_22623
--- +++ @@ -7,6 +7,9 @@ echo if [[ $REPLY =~ ^[Yy]$ ]]; then + # Maintenance mode + heroku maintenance:on --app $DEMO_HEROKU_APP_NAME + # Reset database through Heroku Postgres CLI echo "⚙ 💻 ⚙ heroku pg:reset..." heroku pg:reset DATABASE_URL -a $DEMO_HEROKU_APP_NAME --confirm $DEMO_HEROKU_APP_NAME ...
bash
d_bash_22624
--- +++ @@ -10,12 +10,11 @@ echo "Compiling using Google Closure Service..." curl --silent \ - --request POST \ - --data-ascii output_format=text \ - --data-ascii output_info=compiled_code \ - --data-ascii use_closure_library=true \ - --data-ascii compilation_level=SIMPLE_OPTIMIZATIONS \ - -...
bash
d_bash_22625
--- +++ @@ -1,20 +1,11 @@ #!/bin/sh main () { - echo "U P D A T I N G O S . . ." - update_os echo "I N S T A L L I N G N E C E S S A R Y P A C K A G E S . . ." install_necessary_packages - echo "I N S T A L L I N G T R A C K E R C I Z E . . ." - install_trackercise -} - -update_os () { -...
bash
d_bash_22626
--- +++ @@ -25,6 +25,7 @@ cd $VIRTUAL_ENV/src wget -O - http://ccl.cse.nd.edu/software/files/cctools-current-source.tar.gz|tar xzf - cd cctools*source + sed -i 's/\(config_perl_path\)=auto/\1=no/' ./configure ./configure --prefix $VIRTUAL_ENV make make install
bash
d_bash_22627
--- +++ @@ -5,6 +5,7 @@ CAD_ZIP=figures/cad.zip STL=figures/turbine.stl STL_Y_UP=figures/turbine-y-up.stl +R_INV=1.86 # 1/R # Download zip of CAD files if doesn't exist if [ ! -f $CAD_ZIP ] @@ -19,8 +20,10 @@ mv figures/turbine.STL $STL fi -# Rotate turbine into y-up coordinate system (requires OpenFOA...
bash
d_bash_22628
--- +++ @@ -1,7 +1,8 @@ #!/bin/bash set -e -gosu "${UWSGI_USER}" mkdir -p "${KOBOCAT_SRC_DIR}/onadata/static" +mkdir -p "${KOBOCAT_SRC_DIR}/onadata/static" +chown -R "${UWSGI_USER}" "${KOBOCAT_SRC_DIR}/onadata/static" echo "Collecting static files..." gosu "${UWSGI_USER}" "${VIRTUAL_ENV}/bin/python" manage.py...
bash
d_bash_22629
--- +++ @@ -1,2 +1,2 @@ -export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH" +export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:/Users/sytse/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
bash
d_bash_22630
--- +++ @@ -22,5 +22,8 @@ ## Add the host ip detector as startup script cp /build/bin/detect-docker-host-ip /etc/my_init.d/ -## Set python executable -ln -s /usr/bin/python3 /usr/bin/python +. /etc/lsb-release +if [ $DISTRIB_RELEASE != "12.04" ]; then + ## Set python executable + ln -s /usr/bin/python3 /usr/bin...
bash
d_bash_22631
--- +++ @@ -9,10 +9,10 @@ zip -r reports/test-reports.zip **/build/reports zip -r reports/jacoco-reports.zip **/build/jacoco # Upload the prepared reports to GCS. -dpl --provider=gcs - --access-key-id=GOOGX66ER6DXLZH7IKQF - --secret-access-key=${GCS_SECRET} - --bucket=spine-dev.appspot.com - --upload-d...
bash
d_bash_22632
--- +++ @@ -1,12 +1 @@ -# eval "$(pyenv exec pip completion --zsh)" -# pip zsh completion start -function _pip_completion { - local words cword - read -Ac words - read -cn cword - reply=( $( COMP_WORDS="$words[*]" \ - COMP_CWORD=$(( cword-1 )) \ - PIP_AUTO_COMPLETE=1 $words[1] ) ) -} -comp...
bash
d_bash_22633
--- +++ @@ -9,7 +9,6 @@ echo $version > version/number pushd release-repo - bosh -n --parallel 10 sync blobs - bosh -n create release --force --name $RELEASE_NAME --with-tarball --version $version + bosh2 -n --parallel 10 sync-blobs + bosh2 -n create-release --force --name $RELEASE_NAME --tarball ../release-t...
bash
d_bash_22634
--- +++ @@ -1,6 +1,6 @@ #!/usr/bin/env bash -rm -R build/php56 +I: rm -R build/php56 mkdir build/php56 cp psh build/php56 @@ -18,7 +18,6 @@ mv psh.phar build/psh.phar chmod +x build/psh.phar -cp build/psh.phar ../b2b/ -cp build/psh56.phar ../b2b/ +cp build/psh56.phar ../b2b/psh.phar rm -R build/php56
bash
d_bash_22635
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh # ファイル名から時間の抽出 -epoch_time=`basename "$1" .mov | cut -c 10-22` +epoch_time=`basename "$1" .m4v | cut -c 10-22` epoch_time="${epoch_time}00" echo $epoch_time
bash
d_bash_22636
--- +++ @@ -5,6 +5,15 @@ cd `dirname $0` TEST_DIR=$PWD export PATH=$PWD/../bin:$PATH + +# Remove things we could have in our env +unset GOPATH +unset GEM_HOME + +# And reset the direnv loading if any +unset DIRENV_LIBEXEC +unset DIRENV_BACKUP +unset DIRENV_MTIME direnv_eval() { eval `direnv export`
bash
d_bash_22637
--- +++ @@ -2,7 +2,7 @@ cd "$(dirname "${BASH_SOURCE}")"; -git pull origin master; +# git pull origin master; function doIt() { rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \
bash
d_bash_22638
--- +++ @@ -10,6 +10,8 @@ KIFU_TARBALL=$3 KIFU_TARBALL_NAME=`basename ${KIFU_TARBALL}` +TARGET_BRANCH=master + YUM_PACKAGES="git gcc-c++ cmake" SUNFISH_REPO="https://github.com/sunfish-shogi/sunfish3.git" SUNFISH_DIR="sunfish3" @@ -20,7 +22,7 @@ ssh -i ${SSH_KEY} -t -t ec2-user@${EC2_HOST} <<EOF sudo yum i...
bash
d_bash_22639
--- +++ @@ -1,4 +1,7 @@ #!/bin/bash + +# Clear old files +find locale -name "messages.js*" -exec rm {} \; # Convert PO files to JSON ./node_modules/i18n-abide/bin/compile-json locale locale
bash
d_bash_22640
--- +++ @@ -16,6 +16,6 @@ echo "Current path is" pwd -cat make/common/config/core/config_env +cat make/common/config/core/env chmod 777 /data/
bash
d_bash_22641
--- +++ @@ -1,3 +1,3 @@ if [ -x /usr/libexec/java_home ]; then - export JAVA_HOME=`/usr/libexec/java_home` + export JAVA_HOME=`/usr/libexec/java_home -v 1.6` fi
bash
d_bash_22642
--- +++ @@ -6,8 +6,7 @@ if [ "$(whoami)" == "root" ]; then TARGET_DIR="/Library/Google/Chrome/NativeMessagingHosts" else - TARGET_DIR=\ - "$HOME/Library/Application Support/Google/Chrome/NativeMessagingHosts" + TARGET_DIR="$HOME/Library/Application Support/Google/Chrome/NativeMessagingHosts" ...
bash
d_bash_22643
--- +++ @@ -1,10 +1,18 @@ #! /bin/sh + +MAN="man -s" +man -s1 man > /dev/null 2>&1 +if [ $? -ne 0 ] +then + MAN="man -S" +fi + MANPATH=`pwd`/man export MANPATH exitcode=0 check_manpage() { - man -s$1 $2 > /dev/null 2>&1 + ${MAN}$1 $2 > /dev/null 2>&1 if [ $? -ne 0 ] then echo "Missing: $2(...
bash
d_bash_22644
--- +++ @@ -1,15 +1,10 @@ #!/bin/bash -set -x +set -ex rm -rf build mkdir -p build -git --no-pager log -1 --pretty=format:x . 2>&1 -git describe --abbrev=4 --match="$prefix*" HEAD -git describe --abbrev=4 HEAD 2>/dev/null -git rev-list "$vtag"..HEAD 2>/dev/null -git --version >/dev/null 2>&1 build-aux/git-v...
bash
d_bash_22645
--- +++ @@ -21,7 +21,6 @@ fi if [ -z "$wan_ip" ]; then - #wan_ip=$(wget --timeout=1 --tries=1 -O - http://formyip.com/ 2>/dev/null | grep -Pzo "(?<=Your IP is )[^<]*") wan_ip=$(curl --max-time 2 -s http://whatismyip.akamai.com/) if [ "$?" -eq "0" ]; then @@ -32,7 +31,6 @@ fi if [ -n "$wan_ip" ]; then...
bash
d_bash_22646
--- +++ @@ -2,5 +2,6 @@ pip install pandas pip install numpy +pip install git+https://github.com/berkerpeksag/astor pip install git+https://github.com/dalejung/asttools pip install .
bash
d_bash_22647
--- +++ @@ -42,6 +42,7 @@ tap_brew_repo caskroom/fonts install_cask font-open-sans install_cask font-montserrat +install_cask font-source-sans-pro install_cask font-ubuntu echo "Installing additional plugins..."
bash
d_bash_22648
--- +++ @@ -28,9 +28,4 @@ getent passwd largo > /dev/null || create_user_largo -if [ -z "$1" ] ; then - exec /bin/su largo -l -else - cmd="$@" - exec /bin/su largo -lc "$cmd" -fi +exec login -f largo
bash
d_bash_22649
--- +++ @@ -38,4 +38,4 @@ self="${BASH_SOURCE[0]}" selfdir="$(cd "$(dirname "${self}")" ; pwd)" selfpath="$selfdir/$(basename "$self")" -exec "$java_command" "${options[@]-}" -Dboot.app.path="$selfpath" -jar "$0" "$@" +exec "$java_command" "${options[@]}" -Dboot.app.path="$selfpath" -jar "$0" "$@"
bash
d_bash_22650
--- +++ @@ -2,5 +2,5 @@ for idx in $Idx_dataset do - /usr/local/MATLAB/R2012a/bin/matlab -r "cd ..; datasetId = $idx; main_DX_advanced; exit;" & + /usr/local/MATLAB/R2012a/bin/matlab -r "cd ..; datasetId = $idx; main_DX_advanced; exit;" & done
bash
d_bash_22651
--- +++ @@ -6,6 +6,13 @@ cd /bundle/bundle/programs/server/ npm i cd /bundle/bundle/ +elif [[ $BUNDLE_URL ]]; then + cd /tmp + wget $BUNDLE_URL -O bundle.tar.gz + tar xzf bundle.tar.gz + cd /tmp/bundle/programs/server/ + npm i + cd /tmp/bundle/ else cd /built_app fi
bash
d_bash_22652
--- +++ @@ -16,4 +16,5 @@ PYTHONIOENCODING='utf-8' ansible-playbook desktop.yml #Return to normal password sudo +sudo sed -i .bak -e 's/^\(%wheel.*ALL=(ALL) NOPASSWD: ALL\)/#\1/g' /etc/sudoers sudo dscl . delete /Groups/wheel GroupMembership $USER
bash
d_bash_22653
--- +++ @@ -1,7 +1,7 @@ #!/usr/bin/env bash -conda install conda-build conda-verify +conda install conda-build conda-verify anaconda-client conda build . export PKG_PATH=$(conda build . --output)
bash
d_bash_22654
--- +++ @@ -2,14 +2,14 @@ set -e # setup nvm -mv ../../../.nvmrc nvmrc # Remove for init otherwise nvm init could fail +mv .nvmrc nvmrc-temp # Remove for init otherwise nvm init could fail if [[ "$OSTYPE" == "darwin"* ]]; then export NVM_DIR=~/.nvm source $(brew --prefix nvm)/nvm.sh else source $NVM_DIR/n...
bash
d_bash_22655
--- +++ @@ -22,8 +22,8 @@ docker network inspect "$PROJECT_NAME" &>/dev/null || docker network create --driver bridge "$PROJECT_NAME" docker stop "$PROJECT_NAME" || true -docker container prune --force --filter "until=336h" -docker image prune --force --filter "until=336h" +docker container prune --force --fil...
bash
d_bash_22656
--- +++ @@ -25,3 +25,10 @@ libffi-devel openssl-devel \ yum-utils \ pypy pypy-devel + + +# dpkg isn't currently available upstream +# https://bugzilla.redhat.com/show_bug.cgi?id=1149590 +yum install -y \ + https://copr-be.cloud.fedoraproject.org/results/xaeth/dpkg/epel-7-x86_64/dpkg-1.16.15-2.fc22/dpkg-1.16.15-...
bash
d_bash_22657
--- +++ @@ -1,2 +1,2 @@ #!/usr/bin/env bash -grep -r -i --include \*.java --include \*.xml --include \*.txt --include \*.properties --include Dockerfile --exclude workspace.xml TODO . +grep -r -i --include "*.java" --include "*.xml" --include "*.txt" --include "*.properties" --include Dockerfile --exclude workspace....
bash
d_bash_22658
--- +++ @@ -1,3 +1,4 @@ rm -rf dist cp -r src dist +find dist/ -name *.js -type f -exec mv {} {}.flow \; babel src/ -d dist/ "$@" --source-maps
bash
d_bash_22659
--- +++ @@ -15,7 +15,7 @@ docker images | egrep 'zenoss/ubuntu[ ]+wget' || docker pull zenoss/ubuntu:wget go get github.com/tools/godep cd $GOPATH/src/github.com/control-center/serviced -sudo su - root -c "source /home/jenkins/.gvm/scripts/gvm; gvm use go1.4.2; cd $PWD/volume; GOPATH=$GOPATH godep go test -v -tags...
bash
d_bash_22660
--- +++ @@ -17,6 +17,7 @@ $DIR/util.es.abc \ $DIR/bytes-tamarin.es.abc \ $DIR/util-tamarin.es.abc \ + $DIR/lex-token.es.abc \ $DIR/asm.es.abc \ $DIR/abc.es.abc \ $DIR/abc-encode.es.abc \
bash
d_bash_22661
--- +++ @@ -4,4 +4,4 @@ version=$(cat $VERSION_FILE) bosh create release --force --name $RELEASE_NAME --with-tarball --version $version -mv dev_releases/$RELEASE_NAME/$RELEASE_NAME-*.tgz ../release/ +mv dev_releases/$RELEASE_NAME/$RELEASE_NAME-*.tgz ../releases/
bash
d_bash_22662
--- +++ @@ -4,7 +4,7 @@ SETUP_DIR=$(pwd) # Only symlink bashrc and zshrc if they don't exist. -# If they already exist but do not 'source ~/.dotfiles', then append it. +# If they already exist but do not 'source ~/.dotfiles_prompt', then append it. for rc in bashrc zshrc; do if [ ! -e ~/.$rc ]; then ...
bash
d_bash_22663
--- +++ @@ -39,7 +39,7 @@ local timeDiff=$(($currentTime - $lastUpdate)) if [ $(($timeDiff)) -ge $(($updateIntervalSeconds)) ]; then - lastWeather=$(curl --max-time 0.8 -s "https://wttr.in/$location?format=4") + lastWeather=$(curl --max-time 0.8 -s "https://wttr.in/$location?format=2") lastUpdate=$...
bash
d_bash_22664
--- +++ @@ -11,4 +11,4 @@ iso_file_url="$(jq --raw-output '.variables.dynamic_mirror_url' ${template_filename})" iso_file_name="$(jq --raw-output '.variables.iso_name' ${template_filename})" new_iso_checksum=$(curl -svL ${iso_file_url}/$(echo ${iso_checksum_type} | awk '{print toupper($0)}')SUMS | grep ${iso_file_...
bash
d_bash_22665
--- +++ @@ -6,11 +6,21 @@ docker run -v /var/lib/mysql --name apel-mysql -p 3306:3306 -e "MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD" -d mysql + + + HOST_NAME=$(hostname) echo "Creating (self-signed) cert of $HOST_NAME" -docker run -it --link apel-mysql:mysql -p 80:80 -p 443:443 -e "HOST_NAME=$HOST_NAME" gre...
bash
d_bash_22666
--- +++ @@ -29,4 +29,5 @@ git add ./docs/baselines git commit -m "rebuild pages at ${rev}" +git checkout -b new-pages-master git push upstream master
bash
d_bash_22667
--- +++ @@ -1,3 +1,4 @@ #!/bin/sh git checkout Sensorama/Pods/Pods.xcodeproj/xcuserdata/wk.xcuserdatad/xcschemes/*.xcscheme +git checkout Sensorama/Pods/Pods.xcodeproj/xcuserdata/wk.xcuserdatad/xcschemes/xcschememanagement.plist
bash
d_bash_22668
--- +++ @@ -1,9 +1,16 @@ -#!/bin/sh +#!/bin/bash # Based on https://gist.github.com/cooperka/c5dd3ab11f588044d4d6ba22d52c4ab0 # Downloads FlatList and its related dependencies directly into your node_modules. -mkdir -p node_modules/react-native/Libraries/CustomComponents/Lists/ && \ -for file in 'FlatList' 'Met...
bash
d_bash_22669
--- +++ @@ -3,56 +3,82 @@ CARGOFLAGS="--no-default-features --features redox --bin uutils -- -C lto" BINS=( - base32 - base64 - basename - chmod - cksum - comm - cp - cut - date - dircolors - dirname - echo - env - expand - expr - factor - false - fmt - fold - head - install - link - ls - ...
bash
d_bash_22670
--- +++ @@ -5,14 +5,14 @@ sudo add-apt-repository ppa:gnome-terminator sudo apt-add-repository ppa:mizuno-as/silversearcher-ag +sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get -y upgrade -sudo apt-get -y install curl subversion libcurl3 libcurl3-dev php5-curl gconf-editor zlib1g...
bash
d_bash_22671
--- +++ @@ -8,7 +8,7 @@ # environment variable set in test runner file `test/run-tests-within-vm`. echo "bind-key -t vi-copy y copy-selection" > ~/.tmux.conf echo "bind-key -t emacs-copy y copy-selection" >> ~/.tmux.conf - echo "set -g @copycat_search_C-t 'random string[[:digit:]]\+'" >> ~/.tmux.conf + echo...
bash
d_bash_22672
--- +++ @@ -1,3 +1,6 @@ +# Make sure we can execute this even if the `TRAVIS` variable isn’t set. It should default to false. +: ${TRAVIS:=false} + # Opens a Travis-CI fold, iff we’re running on Travis-CI. # # @param $1 The name of the fold, should be matched by a call to travis_fold_close() with the same
bash
d_bash_22673
--- +++ @@ -1,9 +1,4 @@ #!/bin/bash - -export CFLAGS="-Wall -g -m${ARCH} -pipe -O2 -fPIC" -export CXXLAGS="${CFLAGS}" -export CPPFLAGS="-I${PREFIX}/include" -export LDFLAGS="-L${PREFIX}/lib" if [ `uname` == Darwin ]; then ./configure --prefix=$PREFIX \ @@ -26,7 +21,8 @@ fi make -# This is failing for R t...
bash
d_bash_22674
--- +++ @@ -10,4 +10,4 @@ ver=$(grep Version ./src/version/version.go | sed 's/^.*"\(.*\)".*$/\1/') tagprod "uolibraries/rais:$ver-$(date +"%Y-%m-%d")" -tagprod "uolibraries/rais:latest-dev" +tagprod "uolibraries/rais:latest-indev"
bash
d_bash_22675
--- +++ @@ -1,25 +1,28 @@ #!/bin/sh + +set -e cat <<EOF package blob var files = map [string] map [string] []byte { EOF -CDIR=`pwd` +ORIGINAL_PWD=${PWD} + for dir in $@ do - cd "$dir" - echo "\"`basename $dir`\": {" + cd "${dir}" + echo "\"$(basename ${dir})\": {" - find -type f | while read file + ...
bash
d_bash_22676
--- +++ @@ -24,7 +24,7 @@ done echo "Creating the external network." -neutron net-create ext-net --shared --router:external=True +neutron net-create ext-net --router:external=True echo "Creating a subnet on the external network." neutron subnet-create ext-net \
bash
d_bash_22677
--- +++ @@ -5,7 +5,7 @@ exit 1 fi -mvn clean verify || { echo "Build failed"; exit 1; } +mvn clean install || { echo "Build failed"; exit 1; } rm -rf $JENKINS_HOME/plugins/warnings*
bash
d_bash_22678
--- +++ @@ -12,7 +12,7 @@ capsh --drop=cap_setfcap -- -c "$BOOTSTRAP_CMD \ --components=main,contrib,non-free \ --arch armhf \ - --keyring $SUB_STAGE_DIR/files/raspberrypi.gpg \ + --keyring ./files/raspberrypi.gpg \ jessie ...
bash
d_bash_22679
--- +++ @@ -20,9 +20,7 @@ bosh2 -n -d cf deploy cf-deployment/cf-deployment.yml \ --vars-store /tmp/deployment-vars.yml \ -v system_domain="$SYSTEM_DOMAIN" \ --o cf-deployment/operations/windows-cell.yml \ --o cf-deployment/operations/scale-to-one-az.yml \ --o buildpacks-ci/deployments/edge-shared/num-cells.yml +-...
bash
d_bash_22680
--- +++ @@ -4,5 +4,7 @@ -e "s|authPROVIDER|Globus|g" -i config/environment.js && \ npm -g install bower && \ unset NODE_ENV && npm -s install && \ -bower install --allow-root +apt-get update -qqy && \ +apt-get install -y git && \ +bower install --allow-root && \ ./node_modules/.bin/ember build --environment=p...
bash
d_bash_22681
--- +++ @@ -1,4 +1,5 @@ -#!/bin/sh +#!/bin/bash +set -e BINARY="cf-mysql-plugin"
bash
d_bash_22682
--- +++ @@ -12,10 +12,16 @@ set -x +gettextize=$(which gettextize) +if test -z "$gettextize"; then + echo "Couldn't find gettextize" >&2 + exit 1 +fi + # Copied from avahi's autogen.sh to work around gettext braindamage rm -f Makefile.am~ configure.ac~ # Evil, evil, evil, evil hack -sed 's/read dummy/\#/' `wh...
bash
d_bash_22683
--- +++ @@ -23,3 +23,6 @@ mkdir -p /mnt/$PARTNAME/data ln -s /mnt/$PARTNAME/data /data + +mkdir -p /mnt/$PARTNAME/var/lib/kubelet +ln -s /mnt/$PARTNAME/var/lib/kubelet /var/lib/kubelet
bash
d_bash_22684
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -dockerd-entrypoint.sh --log-level "${DOCKERD_LOG_LEVEL:-warn}" "$@" & +dockerd-entrypoint.sh --log-level "${DOCKERD_LOG_LEVEL:-warn}" & DOCKERD_PID="$!" while ! docker version 1>/dev/null; do
bash
d_bash_22685
--- +++ @@ -24,7 +24,7 @@ "map": "function(doc) { if (doc.standard === true) emit([doc.categoryName, doc.id], doc._id); }" }, "parent-grade": { - "map": "function(doc) { var gradeInfo, grade; if(doc.standard === true || doc.category === true) return; for (gradeInfo = 0; gradeInfo < doc.dcterms_educationLe...
bash
d_bash_22686
--- +++ @@ -2,6 +2,7 @@ set -ex cd "$(dirname "${BASH_SOURCE[0]}")/../.." mkdir -p etc/docker/_artifacts +export LANG=C.UTF-8 stack build Cabal # Memory stack install --local-bin-path=etc/docker/_artifacts "$@" rsync -av --delete config static etc/docker/_artifacts/
bash
d_bash_22687
--- +++ @@ -1,6 +1,8 @@ -# Aliases to stop, start and restart Postgres -# Paths noted below are for Postgress installed via Homebrew on OSX +# Aliases to control Postgres +# Paths noted below are for Postgres installed via Homebrew on OSX alias startpost='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgre...
bash
d_bash_22688
--- +++ @@ -1,20 +1,27 @@ #!/bin/bash -eu readonly SRC="https://github.com/rinatz/dotfiles/archive/master.tar.gz" -readonly DEST="${HOME}/.dotfiles" +readonly DEST="/tmp/dotfiles" function main() { mkdir -p "${DEST}" curl -fsSL "${SRC}" | tar zxv -C "${DEST}" --strip-components 1 local dotfiles - d...
bash
d_bash_22689
--- +++ @@ -7,6 +7,8 @@ ./cf-space/login pushd brats + export BUNDLE_GEMFILE=$PWD/Gemfile + if [ ! -z "$RUBYGEM_MIRROR" ]; then bundle config mirror.https://rubygems.org "${RUBYGEM_MIRROR}" fi
bash
d_bash_22690
--- +++ @@ -8,6 +8,9 @@ exit 3 fi +testname="merge check for `pwd|sed "s/.*\///"`" +echo "##teamcity[testStarted name='$testname' captureStandardOutput='<true/false>']" + command="git --no-pager log --no-color $SINCE..$UNTIL" # TODO Why do I get whitespace in the beginning of the wc output? change_count=`$com...
bash
d_bash_22691
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash # Update vscode from downloaded deb file -url="https://az764295.vo.msecnd.net/insider/ab491d3b40a99485eece2bff1ce8c4aa49aad913/code-insiders_1.9.0-1483081998_amd64.deb" +url="https://go.microsoft.com/fwlink/?LinkID=760865" rm -f /tmp/vscode.deb curl -L $url > /tmp/vscode.deb
bash
d_bash_22692
--- +++ @@ -11,7 +11,7 @@ fi # Run cis celery worker -celery -A mozillians worker -Q cis -l INFO -n cis@%h -c $conc & +celery -A mozillians worker -Q cis -l INFO -n cis@%h -Ofair -c $conc & status=$? if [ $status -ne 0 ]; then echo "Failed to start cis worker: $status"
bash
d_bash_22693
--- +++ @@ -10,6 +10,7 @@ # Uninstall preinstalled brew packages from Travis CI brew uninstall postgis +brew uninstall postgres # Start with the installation macstrap install
bash
d_bash_22694
--- +++ @@ -1,2 +1,8 @@ # Install packages into CASA using casa-pip + +casa-pip install astropy +casa-pip install numpy --update +casa-pip install scipy --update +casa-pip install matplotlib --update +casa-pip install jdcal
bash
d_bash_22695
--- +++ @@ -8,16 +8,8 @@ echo "[+] Adding deb package to the local repository" dput local globaleaks*changes -mini-dinstall --batch if [ -d ${GLCLIENT_DIR} ]; then echo "[+] Copying GLClient package to ${WEB_DIR}" cp ${GLCLIENT_DIR}/* ${WEB_DIR} fi - -# XXX why are we doing this? This seems quite hackis...
bash
d_bash_22696
--- +++ @@ -16,7 +16,9 @@ mkdir -p $scriptDir/bin find $scriptDir/src/main/scala \ | egrep '\.scala$' \ - | xargs fsc -deprecation -cp $libs \ + | xargs scalac \ + -Dscala.timings=true \ + -unchecked -deprecation -cp $libs \ -d $scriptDir/bin/ \ | $scriptDir/color_scalac.awk
bash
d_bash_22697
--- +++ @@ -10,3 +10,4 @@ sudo pip install bitly_api sudo pip install ipython[all] sudo pip install psycopg2 +sudo pip install choice
bash
d_bash_22698
--- +++ @@ -1,6 +1,10 @@ #!/usr/bin/env bash + +echo "[START GPG] Setup Signing Key" if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_COMMIT_MESSAGE" == *"[ci deploy]"* ]]; then openssl aes-256-cbc -K $encrypted_SOME_key -iv $encrypted_SOME_iv -in .ci/signingkey.asc.enc...
bash
d_bash_22699
--- +++ @@ -6,7 +6,7 @@ cd /Package mkdir build cd build -cmake -GNinja -DUSE_CXX11=ON -DBUILD_ROOTDICT=ON .. +cmake -GNinja -DUSE_CXX11=ON -DBUILD_ROOTDICT=ON -DCMAKE_CXX_FLAGS="-fdiagnostics-color=always" .. ninja ninja install ctest --output-on-failure
bash