document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_22700
--- +++ @@ -5,4 +5,4 @@ docker stop $MONO_CONTAINER_NAME 2>/dev/null docker rm $MONO_CONTAINER_NAME 2>/dev/null -docker run --name $MONO_CONTAINER_NAME -d $MONO_IMAGE +docker run --name $MONO_CONTAINER_NAME -p 3000:3000 -d $MONO_IMAGE
bash
d_bash_22701
--- +++ @@ -6,6 +6,11 @@ if [ ! -f "$signaturesDirectory/AllSignatures.plist" ]; then >&2 echo "Could not find AllSignatures.plist in $signaturesDirectory." + exit 1 +fi + +if [ -t 0 ]; then + >&2 echo "stdin seems to be empty." exit 1 fi
bash
d_bash_22702
--- +++ @@ -5,8 +5,8 @@ # This must be run as root. cd /tmp -wget https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.6.0-linux64.tar.bz2 +wget https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.7.1-linux64.tar.bz2 cd /usr/local/lib -tar xf /tmp/pypy2-v5.6.0-linux64.tar.bz2 -ln -sf /usr/local/lib/pypy2-v5.6.0-lin...
bash
d_bash_22703
--- +++ @@ -2,7 +2,7 @@ set -e set -vx -git clone --depth=1 -b powernv-5.1 https://github.com/legoater/qemu +git clone --depth=1 -b powernv-6.0 https://github.com/legoater/qemu cd qemu git submodule update --init dtc export CC="ccache gcc"
bash
d_bash_22704
--- +++ @@ -6,7 +6,7 @@ echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) - echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz" +...
bash
d_bash_22705
--- +++ @@ -35,4 +35,4 @@ dir_name=$(date +%F--%H-%M-%S) mkdir -p "$repo_dir""/versions/""$dir_name" rm -rf "$repo_dir""/versions/current" -ln -sf "$repo_dir""/versions/""$dir_name" "$repo_dir""/versions/current" +ln -sf "$dir_name" "$repo_dir""/versions/current"
bash
d_bash_22706
--- +++ @@ -13,9 +13,11 @@ install() { inst /usr/bin/python + local all_of_python=() while IFS='' read -r -d '' i; do - inst "$i" - done < <(find /usr/lib64/python2.7/ /usr/lib/python2.7/ -type f -print0) + all_of_python+=("$i") + done < <(find /usr/lib64/python2.7/ /usr/lib/python...
bash
d_bash_22707
--- +++ @@ -25,7 +25,7 @@ if [ "$ZMQ" = "4.1.6" ]; then ./configure "--prefix=${ZMQ_PREFIX}" --with-relaxed --enable-static --disable-shared --without-documentation ; else - ./configure "--prefix=${ZMQ_PREFIX}" --disable-pedantic --enable-static --disable-shared --without-documentation ; + ./configure "--prefi...
bash
d_bash_22708
--- +++ @@ -15,7 +15,7 @@ echo "Getting Devstack Code" mkdir -p ${DEVSTACK_DIR} -git clone https://git.openstack.org/cgit/openstack-dev/devstack.git ${DEVSTACK_DIR} +git clone https://git.openstack.org/openstack-dev/devstack.git ${DEVSTACK_DIR} echo "Setting up Devstack for Solum" cd ${SOLUM_DIR}/contrib/devs...
bash
d_bash_22709
--- +++ @@ -3,12 +3,13 @@ PORT=1111 USER=dba PASS=dba -LOG_FILE=err.log +LOG_FILE=pigQTLdb.log SQL_FILES=(install_vad_pkgs.sql create_db.sql QTL.sql ONTO.sql update_db.sql semantify_db.sql) rm -f $LOG_FILE for fname in ${SQL_FILES[@]} do - echo "### $(date): isql ... $fname\n" &>> $LOG_FILE + echo "###...
bash
d_bash_22710
--- +++ @@ -19,7 +19,10 @@ notice "pid file appeared after $elapsed seconds" # kill tsdfx -kill "$(cat ${pidfile})" +pid=$(cat "${pidfile}") +expr "${pid}" : "^[1-9][0-9]*$" >/dev/null || + fail "unexpected contents in pid file" +kill "${pid}" notice "killed daemon" # wait for the pid file to vanish
bash
d_bash_22711
--- +++ @@ -6,6 +6,14 @@ if [ -z "$(ls -A "$PGDATA")" ]; then gosu postgres initdb + + gosu postgres \ + sh -c '/etc/init.d/postgresql start && \ + createdb template_postgis && \ + psql template_postgis -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = '\''tem...
bash
d_bash_22712
--- +++ @@ -13,6 +13,9 @@ then mkdir $OUTPUT fi + +echo "Cleaning old .qm files..." +rm -f $OUTPUT/* echo "Creating .qm files..." for po_file in $(ls *.po)
bash
d_bash_22713
--- +++ @@ -9,13 +9,13 @@ if [[ ! -d "vendor" && "$ENV" == "development" ]]; then php composer.phar install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader fi -if [[ ! -f "core/config/config.php" && "$ENV" == "development" ]]]; then +if [[ ! -f "core/config/config.php" && "$ENV" == ...
bash
d_bash_22714
--- +++ @@ -11,7 +11,7 @@ end_section "package.contents" -if [ x$TRAVIS_BRANCH = x"master" ]; then +if [ x$TRAVIS_BRANCH = x"master" -a x$TRAVIS_EVENT_TYPE != x"cron" ]; then $SPACER start_section "package.upload" "${GREEN}Package uploading...${NC}"
bash
d_bash_22715
--- +++ @@ -2,7 +2,7 @@ command -v jq >/dev/null 2>&1 || { echo >&2 "Please install \"jq\" first. Aborting."; exit 1; } -NODES_FILE='/tmp/segshit-nodes.txt' +NODES_FILE="`mktemp /tmp/segshit-nodes.XXXXXXXXXX`" BAN_TIME="5184000" # Download the latest nodes snapshot
bash
d_bash_22716
--- +++ @@ -3,7 +3,7 @@ if [[ -z "$1" ]] then - VERSION=$(git tag | grep '^v[0-9]' | sort -V | tail -n 1 | sed 's/^v//') + VERSION=$(git tag | grep '^v[0-9]\+[.][0-9]\+[.][0-9]\+' | sort -V | tail -n 1 | sed 's/^v//') fi for m in providence $(\ @@ -15,5 +15,5 @@ do URL="http://www.javadoc.io/doc/net.mor...
bash
d_bash_22717
--- +++ @@ -10,7 +10,8 @@ buildkite-agent artifact download "pkg/buildkite-agent-linux-amd64" . echo '--- Building :docker: image' -cp pkg/buildkite-agent-linux-amd64 packaging/docker/linux/buildkite-agent +cp pkg/buildkite-agent-linux-amd64 packaging/docker/linux/buildkite-agent +chmod +x packaging/docker/linux...
bash
d_bash_22718
--- +++ @@ -2,3 +2,6 @@ # Node.js - https://nodejs.org/ PATH="$PATH:$(dirname "$(which node)")" + +# Yarn - https://yarnpkg.com +PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
bash
d_bash_22719
--- +++ @@ -19,5 +19,6 @@ cd "${0%/*}" [ -f Makefile ] && make -s distclean "${BRLTTY_AUTOCONF:-autoconf}" +rm -fr autom4te*.cache ./gendeps exit 0
bash
d_bash_22720
--- +++ @@ -28,5 +28,6 @@ exit 1 fi -flatpak-builder -v --repo=$REPO --state-dir=$STATE $BUILD $SCRIPT_DIR/$MANIFEST.json --force-clean +flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --user +flatpak-builder -v --repo=$REPO --state-dir=$STATE $BUILD $SCRIPT_DIR/$MANIFEST....
bash
d_bash_22721
--- +++ @@ -3,10 +3,10 @@ # FUNCTIONS function purge_ceph { - container_count=$(docker ps -q | wc -l) + containers_to_stop=$(docker ps -q) - if [[ "${container_count}" -gt 0 ]]; then - docker stop $(docker ps -q) || echo failed to stop containers + if [ "${containers_to_stop}" ]; then + docker stop ${...
bash
d_bash_22722
--- +++ @@ -6,14 +6,14 @@ ./gradlew -q clean check install --stacktrace -# if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then +if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then -# if [[ -n $TRAVIS_TAG ]]; then + if [[ -n $TRAVIS_TAG ]]; then ...
bash
d_bash_22723
--- +++ @@ -17,7 +17,7 @@ # --- build all version of Go1.5 # interate over all available Go1.5 versions -go15_list=( 1.5 1.5.1 ) +go15_list=( 1.5 1.5.1 1.5.2 ) for go15 in "${go15_list[@]}" do # interate over all available GOARM versions
bash
d_bash_22724
--- +++ @@ -22,7 +22,7 @@ piinfo 'Checking this repo: ' if $(require_clean_directory upgrade); then - piinfo 'ready to bootstrap' + pinfo 'ready to bootstrap' else pwarn 'Please clean up directory (e.g. `git checkout -- .`) and try again' exit 2
bash
d_bash_22725
--- +++ @@ -8,13 +8,13 @@ if [[ -n "${MODE}" ]]; then case "${MODE}" in asan) - export FUZZING_ENGINE=fsanitize_fuzzer - export CFLAGS="-O2 -fno-omit-frame-pointer -g -fsanitize=address,fuzzer-no-link" + export FUZZING_ENGINE=libfuzzer + export CFLAGS="-O2 -fno-omit-frame-pointer -g -fsan...
bash
d_bash_22726
--- +++ @@ -1,3 +1,3 @@ if test -d "$HOME/.cargo/bin"; then - export PATH="${PATH}:$HOME/.cargo/bin" + export PATH="$HOME/.cargo/bin:${PATH}" fi
bash
d_bash_22727
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh -e # Format output of alias print dump into more readable format -alias | awk -F'=' 'BEGIN { +cat ${HOME}/.zshrc | grep -e '^alias' | awk -F'=' 'BEGIN { print "ALIAS | COMMAND"; print "---------------------------------------"; }
bash
d_bash_22728
--- +++ @@ -1,6 +1,8 @@ #!/bin/bash set -eux + +: ${debug:=0} ALSPRO=$1 @@ -10,4 +12,9 @@ php --server localhost:8888 --docroot "$TESTDIR"/echo & +if (( $debug )) +then +"$ALSPRO" "$TESTDIR"/curl_test.pro -g 'test ; true' +else "$ALSPRO" "$TESTDIR"/curl_test.pro -g test +fi
bash
d_bash_22729
--- +++ @@ -46,6 +46,3 @@ # run main test go run ./verify_manifest_lists.go - -# cleanup -rm -rf ./src
bash
d_bash_22730
--- +++ @@ -1,5 +1,6 @@ -# Install LAMP sudo apt-get install -y lamp-server^ +sudo apt-get install -y python3 python3-pip +sudo pip3 install trueskill # File structure echo "Setting up file structure"
bash
d_bash_22731
--- +++ @@ -15,6 +15,14 @@ # See the License for the specific language governing permissions and # limitations under the License. +# +# First install Ace +# +# npm install +# node ./Makefile.dryice.js +# +# https://github.com/ajaxorg/ace#building-ace + echo "Compiling and copying Ace Editor for Hue" rm -rf ...
bash
d_bash_22732
--- +++ @@ -5,7 +5,7 @@ com.visualstudio.code.oss && flatpak run com.visualstudio.code.oss \ --install-extension ms-ceintl.vscode-language-pack-pt-br \ --install-extension pkief.material-icon-theme \ ---install-extension equinusocio.vsc-material-theme \ +--install-extension zhuangtongfa.material-theme \ --install...
bash
d_bash_22733
--- +++ @@ -17,7 +17,7 @@ cp -r configuration ${CONFIGDIR} -java -Xmx${MEMORY} -Dosgi.locking=none -Dosgi.configuration.area=${CONFIGDIR} $FLAG -XX:MaxPermSize=128M -XX:MaxMetaspaceSize=128M -XX:+UseG1GC -XX:ParallelGCThreads=1 -jar plugins/org.eclipse.equinox.launcher.jar -consoleLog $@ +java -Xmx${MEMORY} -Do...
bash
d_bash_22734
--- +++ @@ -15,14 +15,12 @@ AWS_ACCESS_KEY_ID='<TODO>' \ AWS_SECRET_ACCESS_KEY='<TODO>' \ BASE_URI='http://localhost:8000' \ +PGDATABASE='zoomhub_development' \ +PGUSER="$(whoami)" \ PROCESS_CONTENT="ProcessExistingAndNewContent" \ PROCESSING_WORKERS='2' \ -RACKSPACE_USERNAME='' \ -RACKSPACE_API_KEY='' \ -RACKSP...
bash
d_bash_22735
--- +++ @@ -2,5 +2,6 @@ source $(git rev-parse --show-toplevel)/quartet/scripts/defaults.sh -export DOCKER_HOST=$(eval $($DOCKER_MACHINE env 'dev-1'); echo $DOCKER_HOST | sed 's/:2376/:2377/') +eval $(docker-machine env --swarm 'dev-1' | grep DOCKER_HOST) + exec "$@"
bash
d_bash_22736
--- +++ @@ -16,7 +16,7 @@ # set -x # This should use the real ESAPI.properties in $esapi_resources that does # not yet have Encryptor.MasterKey and Encryptor.MasterSalt yet set. -java -Dlog4j.configuration="$log4j_properties" \ +java -Dlog4j.configuration="file:$log4j_properties" \ -Dorg.owasp.esapi.resource...
bash
d_bash_22737
--- +++ @@ -1,3 +1,4 @@ #!/usr/bin/env bash -echo `date` >> ~/cron.log +#echo `date` >> ~/cron.log +#cd /home/admincu/cloudunit/cu-compose && /home/admincu/cloudunit/cu-compose/start-with-elk.sh
bash
d_bash_22738
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash FOLDER="." -FILES='.+\.\(md\|rs\|\sh\|toml\|txt\|yml\)' +FILES='.+\.\(rs\|\sh\|toml\|txt\|yml\)' # Exit script on first error set -o errexit -o nounset
bash
d_bash_22739
--- +++ @@ -1,5 +1,6 @@ alias e="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n" alias gitify="git svn clone -s --prefix=svn/" +alias mr="macrake -qs" alias pj="pastejour" # ruby and rails bits
bash
d_bash_22740
--- +++ @@ -6,6 +6,7 @@ cd static && npm install -q && cd .. cd static/public && npm install -q && cd ../.. echo "====== build static files ========" +cd static && rm -rf dist/ && cd .. cd static && gulp build && cd .. echo "====== build binary ========" godep go build
bash
d_bash_22741
--- +++ @@ -1,5 +1,6 @@ #!/bin/bash +softwareupdate -i -a xcode-select --install ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" brew install saltstack
bash
d_bash_22742
--- +++ @@ -14,7 +14,7 @@ # Define TEST_NAME, then include as part of an extractor test. # TODO(zarko): lift this script out for use in other test suites. BASE_DIR="$PWD/kythe/cxx/extractor/testdata" -OUT_DIR="$TEST_TMPDIR" +OUT_DIR="$TEST_TMPDIR/out" mkdir -p "${OUT_DIR}" # This needs to be relative (or else it...
bash
d_bash_22743
--- +++ @@ -5,10 +5,13 @@ out="/Users/se7entyse7en/google-cloud-sdk.tar.gz" echo "Downloading gcloud into $out..." curl -LsSo "$out" "$GCLOUD_SDK_TARBALL_URL" &> /dev/null -tar -zxf "$out" -C /tmp +tar -zxf "$out" -C /usr/local/opt +rm ${out} + +ln -s /usr/local/opt/google-cloud-sdk/bin/gcloud /usr/local/bin/gclou...
bash
d_bash_22744
--- +++ @@ -20,6 +20,3 @@ export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home" path=($JAVA_HOME/bin $path) fi - -# Use 32-bit mode when running Java/JRuby -export JAVA_OPTS='-d32'
bash
d_bash_22745
--- +++ @@ -7,11 +7,11 @@ [Service] User=`whoami` -ExecStart=`which gunicorn` glitch.server:app +ExecStart=`which gunicorn` --certfile=fullchain.pem --keyfile=privkey.pem glitch.server:app WorkingDirectory=`pwd` "|sudo tee /etc/systemd/system/glitch.service >/dev/null echo "[Socket] -ListenStream=80 +ListenStr...
bash
d_bash_22746
--- +++ @@ -25,7 +25,7 @@ # Get input files cp DIR/$input DIR/pdb*AF*pdb . -/diva1/home/modeller/mod9v2 - ${SGE_TASK_ID} < $input >& $output +/diva1/home/modeller/mod9v3 - ${SGE_TASK_ID} < $input >& $output # Copy back PDB cp *.B* DIR
bash
d_bash_22747
--- +++ @@ -11,7 +11,7 @@ echo "Then run the 'admiralleaderchange.sh' script." exit 1 else - chown -R $RGLeaderName:RGLeader /home/data/$1 + chown -R $RGLeaderName:RGLeader /home/data/private/$1 chown -R $RGLeaderName:RGLeader /home/data/shared/$1 chown -R $RGLeaderName:RGLeader /home/data/collab/$1 ...
bash
d_bash_22748
--- +++ @@ -2,6 +2,6 @@ while true; do python3 /home/pi/Microbot/Run.py & wait $! - sleep 10 + sudo reboot done exit
bash
d_bash_22749
--- +++ @@ -16,7 +16,7 @@ # #make aws -cp /input/MPI-Latex-Templates/mpi-latex-templates_1.44_all.deb dragonfly-reports/ +cp /input/MPI-Latex-Templates/mpi-latex-templates_1.45_all.deb dragonfly-reports/ DOCKERHUB_USERNAME=deployhub1 docker login --username ${DOCKERHUB_USERNAME} --password ${DOCKERHUB_PASSWOR...
bash
d_bash_22750
--- +++ @@ -44,3 +44,11 @@ 10>> # Comment a visual block (after selecting with Ctrl+V) s/^/# + +# Write on multiple lines at once +(cursor at column to insert into) +Ctrl+V (enter Visual Block mode) +3j (highlight bottom 3 lines), or arrows +Shift+i, or capital I +(enter text) +Esc Esc (twice)
bash
d_bash_22751
--- +++ @@ -4,7 +4,8 @@ { local word=${COMP_WORDS[COMP_CWORD]} - local completions=("$(dotnet complete --position ${COMP_POINT} "${COMP_LINE}")") + local completions + completions="$(dotnet complete --position "${COMP_POINT}" "${COMP_LINE}")" COMPREPLY=( $(compgen -W "$completions" -- "$word") ) }
bash
d_bash_22752
--- +++ @@ -8,25 +8,28 @@ } pacman_install \ + base-devel \ + discord docker \ - xclip \ - wl-clipboard \ + firefox \ + htop \ + i3status \ + jdk-openjdk \ + keepassxc \ + mlocate \ + mpd \ + ncmpcpp \ + py3status \ + python-pip \ + rofi \ + rxvt-unicode \ + ...
bash
d_bash_22753
--- +++ @@ -1,15 +1,19 @@ #!/bin/bash -# Get version tag string -VERSION_TAG=`(cd $PROJECT_DIR && git describe --long)` -echo "Version tag: $VERSION_TAG" +# Get version tag/hash strings +IOS_GIT_TAG=`(cd "$PROJECT_DIR" && git describe --long)` +echo "iOS git tag: $IOS_GIT_TAG" +CORE_GIT_HASH=`(cd "$PROJECT_DIR/../...
bash
d_bash_22754
--- +++ @@ -2,5 +2,12 @@ TESTRARGS=$1 +# Delete bytecodes from normal directories before running tests. +# Note that bytecodes in dot directories will not be deleted +# to keep bytecodes of python modules installed into virtualenvs. +sh -c "find . -type d -name '.?*' -prune -o \ + \( -type d -name '__pycache_...
bash
d_bash_22755
--- +++ @@ -27,7 +27,7 @@ # Patch the pkg-config file to remove the dependency on libtensorflow_framework.so, # which is not required in monolithic builds. -sed 's/ -ltensorflow_framework//' tensorflow.pc +sed -i 's/ -ltensorflow_framework//' tensorflow.pc cp tensorflow.pc ${PREFIX}/lib/pkgconfig/
bash
d_bash_22756
--- +++ @@ -6,7 +6,6 @@ cd $TMPDIR rm -rf generator-frontend -nvm use 6 git clone https://github.com/obsidian-toaster/generator-frontend.git cd generator-frontend npm install package-json-io @@ -14,14 +13,14 @@ git commit -a -m "Released $REL of generator-frontend" git clone https://github.com/obsidian-toast...
bash
d_bash_22757
--- +++ @@ -1,11 +1,5 @@ #!/bin/bash - -# Shutdown nicely on exit signals -function finally { - exit 0 -} -trap finally SIGINT SIGHUP SIGTERM # Run Python script in subprocess to make sure that [defunct] processes are reaped # properly by bash. Google "docker PID 1 zombie reaping problem" for more info. -exec ...
bash
d_bash_22758
--- +++ @@ -1 +1,3 @@ +# By default, Tomcat does not allow the usage of encoded slash '%2F' and backslash '%5C' in URLs, as noted in http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10. +# This is why we're passing 2 system properties to allow for them as it's useful to be able to have '/' and '\' ...
bash
d_bash_22759
--- +++ @@ -24,7 +24,6 @@ ../../ococo \ -m batch \ -i data/alignment_A_2.sam \ - -f data/fasta_NN.fa \ -F output/fasta_NA.fa \ -s output/stats.ococo \ -S output/stats.ococo \ @@ -38,7 +37,6 @@ ../../ococo \ -m batch \ -i data/alignment_A_2.sam \ - -f data/fasta_NN.fa \ -F output/fasta_NA.fa \ -s o...
bash
d_bash_22760
--- +++ @@ -8,6 +8,6 @@ --format="table[no-heading](VERSION.ID)" \ --filter="SERVICE=${SERVICE} AND TRAFFIC_SPLIT=0 AND - LAST_DEPLOYED.date()<$(date -I --date='-10 day')" \ + LAST_DEPLOYED.date()<$(date -I --date='-60 day')" \ | xargs --no-run-if-empty gcloud app...
bash
d_bash_22761
--- +++ @@ -30,4 +30,3 @@ # gather all the static files in one place ./manage.py collectstatic --noinput -
bash
d_bash_22762
--- +++ @@ -16,8 +16,7 @@ exit 1 fi fi - -$CHORUS_HOME/postgres/bin/pg_ctl -l $POSTGRES_DATA_DIR/server.log -D $POSTGRES_DATA_DIR -w -o "-p$POSTGRES_PORT -h127.0.0.1 --bytea_output=escape" start &>$POSTGRES_DATA_DIR/pg_ctl.log +DYLD_LIBRARY_PATH=$CHORUS_HOME/postgres/lib LD_LIBRARY_PATH=$CHORUS_HOME/postgres...
bash
d_bash_22763
--- +++ @@ -37,7 +37,7 @@ function test_ja { setup_lang 'ja' 'user-guide' - test_manuals 'ja' 'security-guide' 'high-availability-guide' + test_manuals 'ja' 'security-guide' 'high-availability-guide' 'install-guide' }
bash
d_bash_22764
--- +++ @@ -2,4 +2,4 @@ NAME=$1 OUT=$2 -cp -r bundle.app $OUT/bundle.app +cp -r bundle.app $OUT
bash
d_bash_22765
--- +++ @@ -5,9 +5,9 @@ cd /opt/service-center -if [ ! -z "${ETCD_ADDRESS}" ]; then +if [ ! -z "${BACKEND_ADDRESS}" ]; then sed -i "s|^registry_plugin.*=.*$|registry_plugin = etcd|g" conf/app.conf - sed -i "s|^# manager_cluster.*=.*$|manager_cluster = ${ETCD_ADDRESS}|g" conf/app.conf + sed -i "s|^# ma...
bash
d_bash_22766
--- +++ @@ -23,7 +23,7 @@ uci batch << EOF set luci_splash.${netrenamed}dhcp="iface" -set luci_splash.${netrenamed}dhcp.network="${net}dhcp" +set luci_splash.${netrenamed}dhcp.network="${netrenamed}dhcp" set luci_splash.${netrenamed}dhcp.zone="freifunk" EOF
bash
d_bash_22767
--- +++ @@ -17,6 +17,12 @@ apt-get install --fix-broken --assume-yes rm --force ./google-chrome*.deb +# Install Sublime 3 +add-apt-repository -y ppa:webupd8team/sublime-text-3 +apt-get -y update +apt-get -y install sublime-text-installer + + # And get rid of some softwares I don't use apt-get -y remove firefox...
bash
d_bash_22768
--- +++ @@ -14,4 +14,6 @@ echo "## Updating submodules recursively" && \ git submodule update --init --recursive && \ echo "## Building YCM" && \ -./build_ycm.sh +./build_ycm.sh && \ +echo "## Updating helptags" && \ +vim -u NONE --cmd ":helptags ALL" --cmd ":q"
bash
d_bash_22769
--- +++ @@ -1,66 +1,8 @@ #!/bin/bash - -export PATH=$PEGASUS_BIN_DIR:$PATH cd $PEGASUS_SUBMIT_DIR -# use a temp file for the message body -TMPFILE=`mktemp -t pegasus-notification.XXXXXXXXXX` || exit 1 +# use the Pegasus provided notification script +eval `$PEGASUS_BIN_DIR/pegasus-config --sh-dump` +$PEGASUS_SHA...
bash
d_bash_22770
--- +++ @@ -19,3 +19,6 @@ # Create spacer for the Dock alias spacer="defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type=\"spacer-tile\";}'; killall Dock" + +# Launch Chrome with remote debugging support +alias chrome-debug="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Ch...
bash
d_bash_22771
--- +++ @@ -1,9 +1,10 @@ alias fucking=sudo alias bd='cd $OLDPWD' alias ls='ls --color=auto' -alias ll='ls -l' +alias ll='ls -lh' alias lla='ll -a' alias grep='grep --color=auto' alias egrep='grep -E' alias fgrep='grep -F' alias man='LC_ALL=C LANG=C man' +alias dus='du -hsc * | sort -h'
bash
d_bash_22772
--- +++ @@ -1,4 +1,6 @@ +export GO111MODULE=on export GOPATH=$HOME/Projects/go export GOROOT=/usr/local/opt/go/libexec export PATH="$GOPATH/bin:$PATH" export PATH="$GOROOT/bin:$PATH" +export PATH="${PATH}:${HOME}/.krew/bin"
bash
d_bash_22773
--- +++ @@ -8,10 +8,12 @@ heap="-Xmx2g" # start with meteor heap size for arg in "$@"; do if [[ "$arg" == "--metrics" ]]; then - heap="-Xmx200m" + # We might not be using METEOR, so don't request any additional heap + heap="" fi # TODO: Check if this follows --metric if [[ "...
bash
d_bash_22774
--- +++ @@ -5,7 +5,7 @@ echo "Building config images... " ( - cd config-nginx + cd nginx docker build --tag registry.ng.bluemix.net/jjdojo/nginx:latest . ) (
bash
d_bash_22775
--- +++ @@ -19,3 +19,7 @@ gi() { curl -s "https://www.gitignore.io/api/$*"; } + +gitall() { + find . -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} "$@" \; +}
bash
d_bash_22776
--- +++ @@ -1,4 +1,5 @@ #!/bin/bash set -e -echo 'putStrLn "Hello, World"' | ghci +# Test that the REPL exists and 'works'. +echo | ghci
bash
d_bash_22777
--- +++ @@ -2,6 +2,9 @@ # This script makes sure that Jenkins can properly run your tests against your # codebase. set -e + +DB_HOST="localhost" +DB_USER="hudson" echo "Starting build on executor $EXECUTOR_NUMBER..." @@ -10,6 +13,9 @@ # Make sure there's no old pyc files around. find . -name '*.pyc' -exec r...
bash
d_bash_22778
--- +++ @@ -13,7 +13,7 @@ JDK_ARCHIVE=jdk-${JDK_FEATURE}-ea+${JDK_BUILD}_linux-x64_bin.tar.gz cd ~ -wget http://download.java.net/java/jdk${JDK_FEATURE}/archive/${JDK_BUILD}/binaries/${JDK_ARCHIVE} +wget http://download.java.net/java/jdk${JDK_FEATURE}/archive/${JDK_BUILD}/BCL/${JDK_ARCHIVE} tar -xzf ${JDK_ARCHIV...
bash
d_bash_22779
--- +++ @@ -21,7 +21,7 @@ cd "$TRAVIS_BUILD_DIR"/ld || exit # increase irom0_0_seg size for all modules build -sed -E -i.bak 's@(.*irom0_0_seg *:.*len *=) *[^,]*(.*)@\1 0xC0000\2@' nodemcu.ld +sed -E -i.bak 's@(.*irom0_0_seg *:.*len *=) *[^,]*(.*)@\1 0xD0000\2@' nodemcu.ld cat nodemcu.ld # change to "root" di...
bash
d_bash_22780
--- +++ @@ -15,3 +15,4 @@ # git config --global color.ui = true apt-get install -y openjdk-6-jre +apt-get install -y graphviz
bash
d_bash_22781
--- +++ @@ -23,7 +23,7 @@ finder tests -maxdepth 1 -name '*.nil' printf '\n%s' "BUSTEDSPECS ?=" -finder tests -maxdepth 1 -name '*_spec.lua' +finder . -maxdepth 1 -name '*_spec.lua' printf '\n%s' "TESTEXPECTS ?=" finder tests -maxdepth 1 -name '*.expected'
bash
d_bash_22782
--- +++ @@ -7,8 +7,6 @@ else echo "Java version is lower than 7." sudo apt-get -y install openjdk-7-jre-headless - cd /usr/bin - sudo ln -s /usr/lib/jvm/java-7-openjdk-amd64/bin/java fi #install nextflow if needed
bash
d_bash_22783
--- +++ @@ -1,3 +1,3 @@ #!/bin/bash -docker run --name dpbdb -v /home/n2o/Repos/dpb/db/entrypoint:/docker-entrypoint-initdb.d --rm -e POSTGRES_PASSWORD=aFNsEQQC9Gk8NP7urjt4HBegMudJ1zuK -e POSTGRES_ROOT_PASSWORD=aFNsEQQC9Gk8NP7urjt4HBegMudJ1zuK -e POSTGRES_USER=dpb -e POSTGRES_DB=dpb -p 5432:5432 postgres:10-alpine...
bash
d_bash_22784
--- +++ @@ -9,4 +9,5 @@ sh ~/Projects/airdev/content/themes/air-light/bin/air-move-out.sh cd ~/Projects/airdev/content/themes/ zip -r air-light.zip air-light -sh ~/Projects/airdev/content/themes/air-light/bin/air-move-in.sh +sh ~/air-temp/bin/air-move-in.sh +
bash
d_bash_22785
--- +++ @@ -5,6 +5,9 @@ export NUMBA_DEVELOPER_MODE=1 export NUMBA_DISABLE_ERROR_MESSAGE_HIGHLIGHTING=1 export PYTHONFAULTHANDLER=1 + +# to print out TBB info +export TBB_VERSION=1 unamestr=`uname` if [[ "$unamestr" == 'Linux' ]]; then
bash
d_bash_22786
--- +++ @@ -1,3 +1,6 @@ #!/bin/sh -echo -n "CPU `cat /proc/loadavg |cut -f1 -d' '`"| socat - udp-datagram:127.0.0.1:8124 +DATA="`hostname -s`.CPU `cat /proc/loadavg |cut -f1 -d' '`" +HOST="127.0.0.1" + +echo -n $DATA | socat - udp-datagram:$HOST:8124
bash
d_bash_22787
--- +++ @@ -4,5 +4,7 @@ exit 1; fi -ip link add ${1} type gretap remote ${2} local ${3} +local_ip=`ip addr show ${3} |sed -nEe 's/^[ \t]*inet[ \t]*([0-9.]+)\/.*$/\1/p'` + +ip link add ${1} type gretap remote ${2} local $local_ip ip link set ${1} up
bash
d_bash_22788
--- +++ @@ -4,6 +4,7 @@ echo "TRAVIS_RUST_VERSION=$TRAVIS_RUST_VERSION" if [ "$TRAVIS_RUST_VERSION" == "1.20.0" ]; then cargo test --lib + cargo build --no-default-features else cargo build cargo test --features doc
bash
d_bash_22789
--- +++ @@ -1,5 +1,4 @@ [ -z $CONTRIB_DIR ] && export CONTRIB_DIR=/usr/win32 -[ "$CONTRIB_DIR" = no ] && export CONTRIB_DIR="" $CONFIGURE \ --with-contrib="$CONTRIB_DIR" \
bash
d_bash_22790
--- +++ @@ -16,7 +16,7 @@ endPortNumber=65535 -starPortNumber=7001 +starPortNumber=7000 for i in `seq $starPortNumber $endPortNumber` do
bash
d_bash_22791
--- +++ @@ -17,5 +17,9 @@ MBUtil buildMessage info ${1} } + printProgressMessage(){ + MBUtil buildMessage info ${1}... + } + $@ }
bash
d_bash_22792
--- +++ @@ -25,11 +25,5 @@ } EOF -# Ugly hack for testing -mkdir -p .local/share/nix -cat <<EOF > .local/share/nix/trusted-settings.json -{"post-build-hook":{"$PWD/echoing-post-hook.sh":true}} -EOF - -nix build +nix build --accept-flake-config test -f post-hook-ran || fail "The post hook should have ran"
bash
d_bash_22793
--- +++ @@ -4,8 +4,14 @@ GRAFANA_VERSION=4.5.2 # Plugins to install as default -GRAFANA_PLUGINS="raintank-worldping-app,grafana-worldmap-panel," -GRAFANA_PLUGINS+="grafana-clock-panel,grafana-piechart-panel" +GRAFANA_PLUGINS="raintank-worldping-app,cloudflare-app,grafana-worldmap-panel," +GRAFANA_PLUGINS+="grafan...
bash
d_bash_22794
--- +++ @@ -9,4 +9,20 @@ git checkout -b update-with-docker-puppet-dir origin/update-with-docker-puppet-dir sh doit.sh popd + + +# NOTE(flaper87): Install only a couple of services for now +cat > tripleo-heat-templates/roles_data_undercloud.yaml <<-EOF_CAT +- name: Undercloud # the 'primary' role goes first + Cou...
bash
d_bash_22795
--- +++ @@ -12,6 +12,8 @@ echo "$file not found. You can create this file to install additional plugins not already included in the docker image." fi +rm /var/run/dbus/pid + dbus-daemon --system avahi-daemon -D
bash
d_bash_22796
--- +++ @@ -1,3 +1,3 @@ # Timbres of Heaven http://midkar.com/soundfonts/ -fluidsynth -a alsa -m alsa_seq -g0.5 -s -i /home/epich/soundfonts/Timbres\ Of\ Heaven\ GM_GS_XG_SFX\ V\ 3.4\ Final.sf2 +fluidsynth -a alsa -m alsa_seq -g0.5 -s -i ~/soundfonts/Timbres\ Of\ Heaven\ GM_GS_XG_SFX\ V\ 3.4\ Final.sf2 #timidity -i...
bash
d_bash_22797
--- +++ @@ -2,6 +2,12 @@ ITEM="$1" ROOT="$HOME/repo/out" -ITEM_PATH="$ROOT/$ITEM" +MIRROR="$ROOT/$ITEM" -git clone $ITEM_PATH +ITEM_TAIL=$(echo "$ITEM" | tr "/" "\n" | tail -n 1) + +git clone $MIRROR + +ORIGIN=$(cd $MIRROR && git remote get-url origin) +$(cd $ITEM_TAIL && git remote set-url origin "$ORIGIN") +$...
bash
d_bash_22798
--- +++ @@ -5,6 +5,8 @@ sudo apt-get install -y oracle-java8-installer sudo apt-get install -y oracle-java8-set-default sudo update-java-alternatives -s java-8-oracle + JAVA_HOME=/usr/lib/jvm/java-8-oracle export JAVA_HOME -sudo echo "JAVA_HOME=\"/usr/lib/jvm/java-8-oracle\"" >> /etc/environment + +sudo echo "JA...
bash
d_bash_22799
--- +++ @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +# override PS1 prompt +echo 'export PS1="\w \$ "' >> /home/vagrant/.bashrc sudo apt-get update sudo apt-get install -y git-core expect vim @@ -8,6 +11,3 @@ sudo add-apt-repository -y ppa:pi-rho/dev sudo apt-get update sudo apt-get install -y tmux=1.9a-1~ppa1~p - ...
bash