document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_18300
--- +++ @@ -29,7 +29,7 @@ msfdb init echo "Installing VirtualBox Guest Additions" -apt-get -y install virtualbox-guest-x11 +apt-get -y install linux-image-amd64 virtualbox-guest-x11 echo "MySQL Root Password: $pass" echo "Please reboot."
bash
d_bash_18301
--- +++ @@ -9,13 +9,13 @@ -git pull --rebase && +git pull && cp CNAME /tmp/CNAME && cp 404.html /tmp/404.html && rm -rf * && +git rm * && cp /tmp/CNAME CNAME && cp /tmp/404.html 40...
bash
d_bash_18302
--- +++ @@ -22,4 +22,6 @@ fleetctl start /opt/data/fleet/logstash/logstash.service +fleetctl start /opt/data/fleet/kibana/kibana.service + /opt/data/tools/wait-fleet-unit.sh manager.service
bash
d_bash_18303
--- +++ @@ -3,10 +3,10 @@ RESULT=$? TOTAL=$(echo $JPM_OUT | sed -n 's/.* \([0-9]\+\) tests passed.*/\1/p') PASSED=$(echo $JPM_OUT | sed -n 's/.* \([0-9]\+\) of [0-9]\+ tests passed.*/\1/p') -BUG=$(echo "$JPM_OUT" | grep "Plural form unknown for locale \"null\"") -TESTS_FAILED=$(echo $JPM_OUT | sed -n 's/.*The foll...
bash
d_bash_18304
--- +++ @@ -7,6 +7,5 @@ #svn --quiet export svn://svn.gna.org/svn/freeciv/$2 -r $1 freeciv #Temporary git repo for Freeciv. -#Note to self: say thanks to JTN for setting up new Git repo for Freeciv. -git clone git://repo.or.cz/freeciv.git --depth=10 +git clone https://github.com/freeciv/freeciv.git --depth=10 ...
bash
d_bash_18305
--- +++ @@ -1,6 +1,5 @@ #!/bin/sh set -e -set -x docker login -u "$DOCKER_USER" -p "$DOCKER_PASSWORD"
bash
d_bash_18306
--- +++ @@ -1,4 +1,20 @@ #!/usr/bin/env bash + +TOP2000_FILE="/var/tmp/top2000-$(date +%Y)" +TOP2000=false + +# Download this year's Top 2000 list. +if [ ! -f $TOP2000_FILE ]; then + curl -fsLo $TOP2000_FILE "http://www.nporadio2.nl/index.php?option=com_ajax&plugin=Top2000&format=json&year=$(date +%Y)&npo_cc_skip...
bash
d_bash_18307
--- +++ @@ -24,7 +24,7 @@ done # Things on reddit is a zip of a zip. Kaggle d --unzip doesn't do a deep unzip, but kernels does -unzip input/things-on-reddit/top-things.zip -d input/things-on-reddit/top-things +unzip -q input/things-on-reddit/top-things.zip -d input/things-on-reddit/top-things # Setup a shallo...
bash
d_bash_18308
--- +++ @@ -7,7 +7,7 @@ git pull echo "Updating Kernel..." -/opt/scripts/tools/update_kernel.sh +/opt/scripts/tools/update_kernel.sh --lts-4_19 echo "Updating bootloader..." /opt/scripts/tools/developers/update_bootloader.sh
bash
d_bash_18309
--- +++ @@ -9,7 +9,7 @@ version_file="$dir/.ruby-version" if [[ -f "$version_file" ]]; then - version="$(cat "$version_file")" + read -r version < "$version_file" if [[ "$version" == "$RUBY_AUTO_VERSION" ]]; then return else
bash
d_bash_18310
--- +++ @@ -1,22 +1,24 @@ #! /usr/bin/env bash -set -x +current_version=`python setup.py --version` -current_version=`python setup.py --version` -if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" != false ]] +if ! git diff-index --quiet master openfisca_core then - if git rev-parse $current_versio...
bash
d_bash_18311
--- +++ @@ -3,6 +3,7 @@ ./setup.sh cd elm +npm run format:validate npm run compile npm run test cd ..
bash
d_bash_18312
--- +++ @@ -11,4 +11,6 @@ # Install the latest version of JHipster #-------------------------------------------------- cd $TRAVIS_BUILD_DIR/ -npm install -g +npm install +npm link +npm test
bash
d_bash_18313
--- +++ @@ -1,5 +1,8 @@ #!/bin/sh # Deploy to a Aptible, https://www.aptible.com/ +# +# Before you use this script, add the public SSH key from your projects General +# settings page to https://dashboard.aptible.com/settings/ssh # # Add this as an environment variable to your project configuration APTIBLE_APP=""
bash
d_bash_18314
--- +++ @@ -6,3 +6,7 @@ add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${VERSION} main" apt update apt-get install -y clang-${VERSION} libc++-${VERSION}-dev libc++abi-${VERSION}-dev + +if [[ ${VERSION} -ge 12 ]]; then + apt-get install -y --no-install-recommends libunwind-${VERSION}-dev...
bash
d_bash_18315
--- +++ @@ -24,4 +24,4 @@ export LESSOPEN="|~/.bin/lessfilter.sh %s" # Path -export PATH=$HOME/.themer:$HOME/.git-hooks:$HOME/.bin:$HOME/.devtools/vendor/bin:$HOME/.devtools/node_modules/.bin:$PATH +export PATH=$HOME/.themer:$HOME/.git-hooks:$HOME/.bin:$HOME/.devtools/vendor/bin:$HOME/.devtools/node_modules/.bin:...
bash
d_bash_18316
--- +++ @@ -3,7 +3,7 @@ echo "ShineISP Update and Reset tasks."; echo "================================"; echo ""; -echo "SVN Update"; +echo "GIT Update"; echo "=========="; cd /var/www/shineisp.com/web/demo/ git pull @@ -17,6 +17,5 @@ chmod 776 public -R chmod 776 reset.sh rm -f public/.htaccess -rm -f app...
bash
d_bash_18317
--- +++ @@ -9,6 +9,7 @@ # The rest of my fun git aliases alias gl='git pull --prune' alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" +alias glogu="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Crese...
bash
d_bash_18318
--- +++ @@ -9,3 +9,6 @@ # Set here the ODL release to use for the Gate job echo "ODL_RELEASE=lithium-snapshot-0.3.1" >> $DEVSTACK_PATH/localrc + +# Switch to using the ODL's L3 implementation +echo "ODL_L3=True" >> $DEVSTACK_PATH/localrc
bash
d_bash_18319
--- +++ @@ -5,5 +5,6 @@ alias cl='lein' alias clr='lein repl' alias cls='lein trampoline ring server-headless' -alias clt='lein with-profile test midje' -alias clta='clt :autotest' +alias clt='lein with-profile test test' +alias clm='lein with-profile test midje' +alias clma='clm :autotest'
bash
d_bash_18320
--- +++ @@ -12,6 +12,6 @@ ./configure --with-pychart touch build_server_ok fi - +./switch_build.sh server make make dist
bash
d_bash_18321
--- +++ @@ -4,7 +4,7 @@ if [ "${TRAVIS_OS_NAME}" == "osx" ]; then # https://github.com/travis-ci/travis-ci/issues/6307#issuecomment-233315824 - rvm get stable + rvm get head git clone --depth 1 https://github.com/yyuu/pyenv.git ~/.pyenv PYENV_ROOT="$HOME/.pyenv"
bash
d_bash_18322
--- +++ @@ -1,2 +1,3 @@ -export ARDUINO_DIR=$HOME/dev/arduino/mpide +export ARDUINO_DIR=$HOME/dev/arduino/arduino +export MPIDE_DIR=$HOME/dev/arduino/mpide export ARDUINO_MAKEFILE_HOME=$PROJECTS/arduino.mk
bash
d_bash_18323
--- +++ @@ -14,6 +14,6 @@ while echo "Running"; do airflow scheduler -n 5 echo "Scheduler crashed with exit code $?. Respawning.." >&2 - date >> /tmp/airflow_scheduler_errrors.txt + date >> /tmp/airflow_scheduler_errors.txt sleep 1 done
bash
d_bash_18324
--- +++ @@ -8,5 +8,5 @@ machine=default -ssh -i ~/.docker/machine/machines/$machine/id_rsa docker@$(docker-machine ip $machine) \ +ssh -f -T -N -i ~/.docker/machine/machines/$machine/id_rsa docker@$(docker-machine ip $machine) \ -L 8080:localhost:8080
bash
d_bash_18325
--- +++ @@ -32,3 +32,9 @@ # What should be the default behavior of cp alias copy='/bin/cp --interactive --recursive --no-dereference --preserve=mode,timestamps,links,xattr --no-preserve=ownership --sparse=always --one-file-system' + +# Its finally possible to hide the annoying banner in ffmpeg tools! +alias ffmpe...
bash
d_bash_18326
--- +++ @@ -24,9 +24,9 @@ export KUBECONFIG="${KUBECONFIG:-${HOME}/.kube/config}" # If you need your test to persist any output files (e.g. test results) dump -# them into the /workspace/_artifacts. Content of this directory will get +# them into the ARTIFACTS directory. Content of this directory will get # auto...
bash
d_bash_18327
--- +++ @@ -26,6 +26,7 @@ # Run tests using App Engine local devserver. devserver_tests=( + appengine/helloworld appengine/datastore/geo appengine/datastore/indexes appengine/datastore/indexes-exploding
bash
d_bash_18328
--- +++ @@ -2,7 +2,7 @@ # Simple script to Build a docker image and push to the USGO Org's Docker hub # repository. -if [ "$TRAVIS_BRANCH" == "release" ]; then +if [ "$TRAVIS_BRANCH" == "master" ]; then # Take the first 7 digits of the hash. WEB_IMAGE=usgo/online-ratings-web:${TRAVIS_COMMIT:0:7} WEB_IMAG...
bash
d_bash_18329
--- +++ @@ -5,7 +5,7 @@ } function _update_zsh_update() { - echo "LAST_EPOCH=$(_current_epoch)" > ~/.zsh-update + echo "LAST_EPOCH=$(_current_epoch)" >! ~/.zsh-update } function _upgrade_zsh() {
bash
d_bash_18330
--- +++ @@ -1,8 +1,8 @@ docker rm -f syncthing docker run -d --restart=always \ - -v /nut/syncthing-sync:/srv/data \ - -v /nut/syncthing-config:/srv/config \ + -v /srv/syncthing-sync:/srv/data \ + -v /srv/syncthing-config:/srv/config \ -p 22000:22000 -p 21027:21027/udp \ --name syncthing \ justifiab...
bash
d_bash_18331
--- +++ @@ -21,4 +21,4 @@ d=$(python -c 'import skyfield as s; print(s.__file__.rsplit("/", 1)[0])') pyflakes "$d"/skyfield/*.py fi -exec assay --batch skyfield/tests +exec assay --batch skyfield.tests
bash
d_bash_18332
--- +++ @@ -6,7 +6,8 @@ echo "TEST: pwd=`pwd`" echo "TEST: dir: `ls`" -$PREFIX/bin/sby test/demo3.sby > output 2>&1 +# `|| true` is needed because of the `set -e` option. +$PREFIX/bin/sby test/demo3.sby > output 2>&1 || true passed=`grep 'Status: passed' output | wc -l`
bash
d_bash_18333
--- +++ @@ -1,6 +1,6 @@ #! /bin/bash -export SECRET_KEY_BASE=$(bundle exec rake secret) -export DEVISE_PEPPER=$(bundle exec rake secret) +#export SECRET_KEY_BASE=$(bundle exec rake secret) +#export DEVISE_PEPPER=$(bundle exec rake secret) export RAILS_SERVE_STATIC_FILES='true' . /usr/src/app/secrets.sh
bash
d_bash_18334
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash # Install dependencies -sudo yum -y install git python-devel python-setuptools libffi libffi-devel +sudo yum -y install gcc git python-devel python-setuptools libffi libffi-devel sudo easy_install pip sudo pip install ansible
bash
d_bash_18335
--- +++ @@ -14,7 +14,7 @@ # Install extensions EXTENSIONS=( - $(sed "s/[[:space:]]*#.*//;/^[[:space:]]*$/d" extensions.txt) + $(sed "s/[[:space:]]*#.*//;/^[[:space:]]*$/d" $(dirname "$0")/extensions.txt) ) for VARIANT in "code" \
bash
d_bash_18336
--- +++ @@ -34,6 +34,8 @@ sed -i 's~<!-- <apparmor mode="disabled"/> -->~<apparmor mode="disabled"/>~' ${SERVER_INSTALL_DIR}/etc/patlms/dbus.config.template +mkdir -p ${SERVER_INSTALL_DIR}/var/lib/patlms + # build agent cd ${START_DIR}/agent ./autogen.sh
bash
d_bash_18337
--- +++ @@ -1,2 +1,3 @@ GIT=https://gitlab.redox-os.org/redox-os/extrautils.git +BRANCH=redox-unix BUILD_DEPENDS=(xz)
bash
d_bash_18338
--- +++ @@ -4,6 +4,6 @@ echo Install CoffeeScript from https://www.coffeescript.org/ >&2 exit 1 else - echo anagrams,triple,wordcount,animals + echo anagrams,animals,average_with_splats,chained_existential,circle exit 0 fi
bash
d_bash_18339
--- +++ @@ -39,6 +39,19 @@ git rev-parse --abbrev-ref HEAD } + getSHA(){ + local length=${2} + local projectDir=${1} + + cd ${projectDir} + + if [[ $(BaseComparator isEqual ${length} long) ]]; then + git log --oneline --pretty=format:%H -1 + elif [[ $(BaseComparator isEqual ${length} short) ]]; then + ...
bash
d_bash_18340
--- +++ @@ -1,5 +1,5 @@ sed -i.bak 's^TABIX_LIB_DIR)$^TABIX_LIB_DIR) -L$(PREFIX)/lib^' src/Makefile sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile -sed -r -i.bak "s^tabix: (.*)^tabix: \1\n\tsed -i.bak 's@CFLAGS =@CFLAGS = -I$\(PREFIX\)/include@' tabix*/Makefile^" redist/Make...
bash
d_bash_18341
--- +++ @@ -19,5 +19,10 @@ echo "with NODE_ENV=${NODE_ENV}" now -e NODE_ENV=${NODE_ENV} -t ${NOW_TOKEN} -C -f -echo "Setting alias for deployment to ${ALIAS}" -now alias set $(get_id) ${ALIAS} -t ${NOW_TOKEN} +ID=$(get_id) +echo "Setting alias for deployment id ${ID} to ${ALIAS}" +now alias set ${ID} ${ALIAS} -t ...
bash
d_bash_18342
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash set -eu -version=0.5.0 +version=0.6.0 if command -v rustfmt >/dev/null; then if [[ $(rustfmt --version) = "$version" ]]; then
bash
d_bash_18343
--- +++ @@ -10,4 +10,6 @@ cp -LR result/ghc/pact/share/hpc/vanilla/html public/code-coverage mkdir -p public/docs cp -LR `find result-doc/share -name html`/* public/docs +mkdir -p public/binaries +cp -LR result/ghc/pact/bin/pact public/binaries/pact-macos chmod -R u+w public
bash
d_bash_18344
--- +++ @@ -4,7 +4,7 @@ rm -f $niftynet_dir/dist/*.whl # bundle installer -python3 setup.py bdist_wheel +python setup.py bdist_wheel # inform other scripts of wheel's location export niftynet_wheel=$(ls $niftynet_dir/dist/*.whl) # there will be only one file!
bash
d_bash_18345
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -webTag="${WEB_TAG:-0.0.1}" +webTag="${WEB_TAG:-0.0.2}" here=$(python -c 'import os; print os.path.realpath(os.getcwd())') webDir=${here}/web
bash
d_bash_18346
--- +++ @@ -4,4 +4,4 @@ mkdir -p .karma # ensure we are building a non-broken bundle for AMD -npm start build && [[ -z "$(grep 'define.amd' mocha.js)" ]] || exit 1 +npm start build.mochajs && [[ -z "$(grep 'define.amd' mocha.js)" ]] || exit 1
bash
d_bash_18347
--- +++ @@ -10,3 +10,5 @@ alias phpdebug='PHP_IDE_CONFIG="serverName=develop.vagrant.dev" /usr/bin/env php -d "xdebug.idekey=PHPSTORM" -d "xdebug.remote_host=10.0.2.2" -d "xdebug.remote_port=9000" -d "xdebug.remote_enable=1" -d "xdebug.remote_autostart=1" -d "xdebug.remote_handler=dbgp"' alias inphantom="phantomj...
bash
d_bash_18348
--- +++ @@ -7,6 +7,5 @@ shasum -a 256 analyzer builder detector exporter launcher > shasum.txt popd -# upload each binary to our s3 -# modify manifest with s3 url and sha - +version=$(cat binaries/VERSION) +tar cvf binaries-$version.tgz binaries
bash
d_bash_18349
--- +++ @@ -19,3 +19,6 @@ wget http://people.mozilla.org/~mreid/heka-data-pipeline-linux-amd64.tar.gz tar xzvf heka-data-pipeline-linux-amd64.tar.gz + +echo "ubuntu hard nofile 200000" >> /etc/security/limits.conf +echo "ubuntu soft nofile 50000" >> /etc/security/limits.conf
bash
d_bash_18350
--- +++ @@ -20,7 +20,7 @@ fi echo "TMPDIR: ${TMPDIR}" -ls "${TMPDIR}/realm*" | while read filename; do rm -rf "$filename"; done +find $TMPDIR -name 'realm*' -exec rm -rf "{}" \+ || true rm -rf coverage.build mkdir -p coverage.build cd coverage.build @@ -32,3 +32,5 @@ cmake ${cmake_flags} -DCMAKE_BUILD_TYPE=...
bash
d_bash_18351
--- +++ @@ -2,7 +2,7 @@ cd GASNet-1.18.2 #make distclean -./configure --prefix=`pwd`/../built_deps +./configure --prefix=`pwd`/../built_deps --enable-segment-everything CC='cc -g ' make -j make install cd ..
bash
d_bash_18352
--- +++ @@ -1,6 +1,10 @@ #!/bin/bash BASEDIR=$(dirname $0) -SEC=$[($RANDOM % 25) * 60] -sleep $SEC -node $BASEDIR/ncu_sign.js $1 $2 $3 $4 + +MIN=$[($RANDOM % 10)] # Random Number 0-10 for minutes +SEC=$[($RANDOM % 60)] # Random Number 0-60 for seconds +TIME=$[$MIN*60+$SEC] # Sleep Time + +sleep $TIME +node $BAS...
bash
d_bash_18353
--- +++ @@ -5,4 +5,4 @@ ip route add local $PREFIX dev lo fi -exec node app.js -c /data/config.yaml -p 9995 -f /data/appservice-registration-irc.yaml -u http://localhost:9995 +exec node app.js -c /data/config.yaml -p 9999 -f /data/appservice-registration-irc.yaml -u http://localhost:9995
bash
d_bash_18354
--- +++ @@ -2,17 +2,17 @@ set -euo pipefail install_new_job() { - local renew_cmd='certbot renew --allow-subset-of-names --quiet --renew-hook \"systemctl reload nginx\"' + local renew_cmd='certbot renew --allow-subset-of-names --quiet --renew-hook "systemctl reload nginx"' local hour="$(date +'%H')" local...
bash
d_bash_18355
--- +++ @@ -1,4 +1,10 @@ #!/bin/bash + +cd .. + +git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git +DEPOT_PATH="$PWD/depot_tools" +export PATH=$PATH:$DEPOT_PATH echo "solutions = [ { @@ -11,10 +17,14 @@ }, ]" > .gclient +mv libjingle src + gclient sync -cd src +mv src libjingl...
bash
d_bash_18356
--- +++ @@ -17,7 +17,8 @@ git config user.name "kwkbtr (Travis CI)" # update gh-pages branch - cp ../vivliostyle/vivliostyle.js/build/vivliostyle-viewer.min.js ../vivliostyle/vivliostyle.js/src/{adapt,vivliostyle}/*.{css,txt,xml} viewer/ + master=../vivliostyle/vivliostyle.js + cp ${master}/build...
bash
d_bash_18357
--- +++ @@ -1,7 +1,9 @@ _dl_cmd init "initialize $DOCKERLITE_ROOT and create the root (empty) image" _dl_init () { - curl -s https://raw.github.com/dominictarr/JSON.sh/master/JSON.sh > JSON.sh - chmod +x JSON.sh + # If for some reason, we cannot "vendor in" JSON.sh, we could download + # it here, when t...
bash
d_bash_18358
--- +++ @@ -1,4 +1,9 @@ #!/bin/sh + +# Copy inventory.yml.example to inventory.yml if needed +if [ ! -f inventory.yml ]; then + cp inventory.yml.example inventory.yml +fi # check if using Vagrant grep -q "^\s*use_vagrant:\s*yes" inventory.yml
bash
d_bash_18359
--- +++ @@ -18,7 +18,7 @@ fi echo "Create directory into the youcompleteme configuraiton." -mkdir $INSTALL_DIR/tex +mkdir -p $INSTALL_DIR/tex # get current directory pushd . > /dev/null
bash
d_bash_18360
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh git pull git checkout production -git merge staging +git merge master git push git checkout master cap deploy
bash
d_bash_18361
--- +++ @@ -7,7 +7,7 @@ echo Pulling from git git pull >> buildLog echo Running maven -mvn install >> buildLog +mvn clean install >> buildLog echo Building ember cd ~/transparentPolitics/trpo/ ember build >> buildLog
bash
d_bash_18362
--- +++ @@ -8,6 +8,7 @@ case $os_id in ol) sudo yum -y install make + [[ -e /usr/bin/ol_yum_configure.sh ]] && sudo /usr/bin/ol_yum_configure.sh ;; ubuntu) sudo apt update
bash
d_bash_18363
--- +++ @@ -5,7 +5,9 @@ _overrideTomcatVersion(){ branch=${1} - if [[ $(StringValidator isSubstring ${branch} 6.2.x) ]]; then + if [[ $(StringValidator isNull ${branch}) ]]; then + AppServerVersionConstants tomcatVersion + elif [[ $(StringValidator isSubstring ${branch} 6.2.x) ]]; then echo 7.0.62 ...
bash
d_bash_18364
--- +++ @@ -11,7 +11,7 @@ echo "Make sure Cassandra is running on the host machine." echo "Starting Carbon Daemon server." -sudo -u www-data /opt/graphite/bin/carbon-daemon.py writer start 2 &> 1 +sudo -u www-data /opt/graphite/bin/carbon-daemon.py writer start # TODO Run graphite as a background process, appe...
bash
d_bash_18365
--- +++ @@ -6,12 +6,15 @@ # Copyright © 2021 R.F. Smith <rsmith@xs4all.nl> # SPDX-License-Identifier: MIT # Created: 2021-10-31T02:35:43+0200 -# Last modified: 2021-11-02T14:34:33+0100 +# Last modified: 2021-11-03T01:55:42+0100 export CASROOT="/usr/local/OpenCAS" -export CSF_OCCTResourcePath="/usr/local/OpenCAS...
bash
d_bash_18366
--- +++ @@ -2,5 +2,5 @@ set -eu -go test -timeout 130m -ginkgo.v +go test -timeout 12h -ginkgo.v
bash
d_bash_18367
--- +++ @@ -18,7 +18,7 @@ done result=`alias "$1" 2> /dev/null` - [[ $? -eq 0 ]] && command=(`echo "$result" | head -n1 | sed "s/[^=]*='\(.*\)'/\1/"`) || command=("$1") + [[ $? -eq 0 ]] && command=(`echo "$result" | head -n1 | sed -e "s/[^=]*=\(.*\)/\1/" -e "s/^'//" -e "s/'$//" `) || command=("$1") shift...
bash
d_bash_18368
--- +++ @@ -2,16 +2,18 @@ usuario=$(./app/utils/UsuarioLogado.sh) -wget https://download-cf.jetbrains.com/webstorm/WebStorm-2017.1.1.tar.gz -O /home/$usuario/Downloads/WebStorm-2017.1.1.tar.gz +sudo rm /opt/WebStorm* -R -sudo tar xf /home/$usuario/Downloads/WebStorm-2017.1.1.tar.gz -C /opt/ +wget https://downl...
bash
d_bash_18369
--- +++ @@ -1,5 +1,7 @@ #!/bin/sh set -e + +TEMPLATE=$(cat website/demo.html.template) for f in packages/*; do if [ -n "$PACKAGE" ] && [ `basename $f` != "$PACKAGE" ]; then @@ -13,7 +15,6 @@ EXAMPLE=${EXAMPLE/'```'/} BODY=${BODY/'```html'/$EXAMPLE'```html'} BODY=$(echo "$BODY" | node_modules/ma...
bash
d_bash_18370
--- +++ @@ -1,14 +1,13 @@ #!/bin/bash #Patch basebox to remove "stdin is not a tty" errors by removing "mesg n" from this file echo "" >/root/.profile +# Sleep for 5 seconds to wait for network to come up +sleep 5 echo "... Installing the correct librarian-puppet and facter versions" -# Remove puppet 2.7.19 which...
bash
d_bash_18371
--- +++ @@ -10,6 +10,7 @@ ln -s $CONFIG $RCFILE git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim +vim +BundleInstall +qall echo "Done config vim, but you need to install the bundles in vim!" echo "We need to install instant-markdown-d with node.js. Please refer to [vim-instant-markd...
bash
d_bash_18372
--- +++ @@ -19,6 +19,7 @@ cp ../../shared/parameters.yml app/config cp ../../shared/client_secrets.json app/config +ln -s ../../export composer.phar install --no-dev --optimize-autoloader app/console doctrine:schema:update --force --env=${SYMFONY_ENV}
bash
d_bash_18373
--- +++ @@ -18,6 +18,6 @@ echo "Inodes free: $(df -k -h --output=iavail "$PWD" | tail -n1 | sed -e 's/^[[:space:]]//')" if [[ $inodes_avail -lt $DISK_MIN_INODES ]]; then - echo "Not enough inodes free, cutoff is ${DISK_MIN_INODES inodes} 🚨" >&2 + echo "Not enough inodes free, cutoff is ${DISK_MIN_INODES} 🚨" >...
bash
d_bash_18374
--- +++ @@ -13,7 +13,13 @@ sudo rm /etc/profile.d/rvm.sh sudo useradd -m user -sudo su -l user -c bash -c "mkdir .ssh && touch .ssh/authorized_keys" +sudo su -l user -c bash -c "mkdir .ssh && touch .ssh/authorized_keys && touch .pam_environment" + +# Apparently travis manages elixir versions with kiex. Let's hope...
bash
d_bash_18375
--- +++ @@ -16,7 +16,7 @@ # limitations under the License. # -( cd .. && mvn clean package -DskipTests=true ) +( cd .. && mvn clean package -DskipTests=true ) || exit version=$(fgrep '<version>' pom.xml | head -1 | sed 's@.*>\(.*\)<.*$@\1@g') echo "Testing version ${version}" && \ java -jar target/benchmarks.j...
bash
d_bash_18376
--- +++ @@ -4,7 +4,11 @@ if [ -e "script/server" ]; then ruby script/$@ else - ruby script/rails $@ + if [ -e "bin/rails" ]; then + bin/rails $@ + else + rails $@ + fi fi }
bash
d_bash_18377
--- +++ @@ -5,8 +5,8 @@ macros=avadanlik/viachristus.m4 -git worktree prune -git worktree add --detach ${WT} ${1} +git worktree prune > /dev/null +git worktree add --detach ${WT} ${1} > /dev/null m4 ${macros} ${WT}/${2} | git hash-object --stdin -w | read A m4 ${macros} ${2} | git hash-object --stdin -w | re...
bash
d_bash_18378
--- +++ @@ -14,8 +14,8 @@ cd - # Now collect migrate and collect static -migrate -collectstatic +manage migrate +manage "collectstatic --noinput" # Now run the service run_django_server
bash
d_bash_18379
--- +++ @@ -24,7 +24,7 @@ # echo and exit on error, like a makefile set -ex -# build Alembic +# build & install Alembic mkdir alembic-build pushd alembic-build cmake "$alembic" -DUSE_HDF5=ON -DALEMBIC_SHARED_LIBS=OFF -DSTATIC_HDF5=ON -DCMAKE_INSTALL_PREFIX="`pwd`/../alembic-installed" @@ -33,16 +33,11 @@ make...
bash
d_bash_18380
--- +++ @@ -10,7 +10,7 @@ cd ${BASH_SOURCE%/*}/.. # Download the markdown readme echo "Downloading the README.md..." -curl -s -o README.md http://www.craft.ai/content/api/python.md +curl -s -o README.md https://www.craft.ai/content/api/python.md # Convert to rst echo "Converting to README.rst..." pandoc --from=...
bash
d_bash_18381
--- +++ @@ -24,7 +24,7 @@ $composer install -q && \ php -d phar.readonly=0 $buildscript && \ mv $buildphar "$root/$target/$buildphar" && \ -git log --pretty="%h" -n1 HEAD > "$root/$target/version" +git log --pretty="%H" -n1 HEAD > "$root/$target/version" # create tagged releases for version in `git tag`; do
bash
d_bash_18382
--- +++ @@ -1,8 +1,6 @@ #!/bin/sh # Pushes javadocs for an given release version # Run from top level dir - -PROJECT=atomix echo "Enter the API version to generate docs for: " read apiVersion @@ -11,10 +9,10 @@ rm -rf target/docs git clone git@github.com:atomix/atomix.github.io.git target/docs > /dev/null c...
bash
d_bash_18383
--- +++ @@ -4,9 +4,14 @@ bower install --allow-root --config.interactive=false python nomenklatura/manage.py createdb # python nomenklatura/manage.py assets build + +# sets FORWARDED_ALLOW_IPS to 127.0.0.1 if not set +: ${FORWARDED_ALLOW_IPS:-127.0.0.1} + exec gunicorn nomenklatura.manage:app \ --bind 0.0.0....
bash
d_bash_18384
--- +++ @@ -5,6 +5,7 @@ echo "Configuring Database" MYSQL_ROOT_PASSWORD="EagerOmega" +MYSQL_APEL_PASSWORD="${MYSQL_ROOT_PASSWORD}APEL" docker run -v /var/lib/mysql --name apel-mysql -p 3306:3306 -e "MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD" -d mysql @@ -13,6 +14,9 @@ docker exec apel-mysql mysql -u root -...
bash
d_bash_18385
--- +++ @@ -3,25 +3,43 @@ # package info ppa="ppa:colin-duquesnoy/experimental" name="pyqode-core" -version="2.6.0~dev0" -debian_version=1 +version="2.6.0" # read pgp key from gpg_key file gpg_key=`cat gpg_key` # generate debian source package and .orig.tar.gz -python3 setup.py --command-packages=stdeb.comm...
bash
d_bash_18386
--- +++ @@ -1,5 +1,5 @@ function portslay { - pid=$(lsof -t -i:$port) + pid=$(lsof -t -i:$1) running=$? if [ $running -eq 0 ]; then kill $pid
bash
d_bash_18387
--- +++ @@ -10,7 +10,7 @@ fi echo "[$NODE_NAME] - stopping node..." -docker-machine stop "$NODE_NAME" > /dev/null 2>&1 +docker-machine stop "$NODE_NAME" > /dev/null echo "[$NODE_NAME] - node stopped succesfully"
bash
d_bash_18388
--- +++ @@ -8,5 +8,5 @@ THETA="0.35 0.5 0.7 0.8 0.9 0.99" LAMBDA="1 0.1 0.01 0.001 0.0001" INDEX="INVERTED ALL_PAIRS L2AP" -parallel --max-procs ${max_procs} "scripts/minibatch -t {1} -l {2} -f ${FORMAT} ${DATA} ${cliopts}; echo" ::: $THETA ::: $LAMBDA > "results/t${t}_l${l}_mb-inv" -parallel --max-procs ${max_pro...
bash
d_bash_18389
--- +++ @@ -11,6 +11,10 @@ function install_theano { pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git +} + +function install_joblib { + pip install joblib } function install_pylearn2 { @@ -31,6 +35,7 @@ source activate "$(pwd)/$ENV" safe_call install_theano +safe_call install_...
bash
d_bash_18390
--- +++ @@ -7,7 +7,7 @@ ppa=avsm/ocaml41+opam11 echo "yes" | sudo add-apt-repository ppa:$ppa sudo apt-get update -qq -sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam +sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam libgmp-dev export OPAMYES=1 opam init git://git...
bash
d_bash_18391
--- +++ @@ -1,2 +1,2 @@ # Pipe my public key to my clipboard. -alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | echo '=> Public key copied to pasteboard.'" +alias pubkey="more ~/.ssh/id_ed25519.pub | pbcopy | echo '=> Public key copied to pasteboard.'"
bash
d_bash_18392
--- +++ @@ -9,5 +9,5 @@ sudo yum install -y m4 git gcc44-c++ else - pkg install -y wget git gcc m4 + pkg install -y wget git gcc m4 automake fi
bash
d_bash_18393
--- +++ @@ -1,7 +1,12 @@ #!/bin/sh +set -x CLI=bitcoin-cli TESTADDR=`$CLI -regtest -datadir=regtest-datadir getnewaddress` +echo "TESTADDR is $TESTADDR" TESTTX=`$CLI -regtest -datadir=regtest-datadir sendtoaddress $TESTADDR 1.0` +echo sendtoaddress returned $? +$CLI -regtest -datadir=regtest-datadir gettransactio...
bash
d_bash_18394
--- +++ @@ -26,7 +26,7 @@ done dist/calicoctl container add node 192.168.1.1 -dist/calicoctl profile TEST_GROUP add member node +dist/calicoctl profile TEST_GROUP member add node while ! ip route |grep 192.168.1.1; do echo "Waiting for felix to add route"
bash
d_bash_18395
--- +++ @@ -8,7 +8,7 @@ readonly ownership="Google double-conversion Maintainers <floitsch@google.com>" readonly subtree="Modules/ThirdParty/DoubleConversion/src/double-conversion" readonly repo="https://github.com/google/double-conversion" -readonly tag="0d3733a4168dd739f45cef8a55718f8b02ee3073" +readonly tag="ma...
bash
d_bash_18396
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2010 The Chromium Authors. All rights reserved. +# Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -19,7 +19,7 @@ depot_tools_error f...
bash
d_bash_18397
--- +++ @@ -3,4 +3,18 @@ go get github.com/BurntSushi/toml-test # install test suite go get github.com/BurntSushi/toml/toml-test-go # install my parser go build -o test_program_bin github.com/pelletier/go-toml/test_program -$GOPATH/bin/toml-test ./test_program_bin # run tests on my parser + +toml_test_wrapper() { ...
bash
d_bash_18398
--- +++ @@ -7,6 +7,10 @@ if ! test -d build; then mkdir -p build (cd build && ${dn}/../../ci/build-rpm.sh) +else + # XXX: we should invalidate based on `git describe` or something + echo "NOTE: Re-using prebuilt RPMs:" + find build -name '*.rpm' fi # https://fedoraproject.org/wiki/CI/Tests
bash
d_bash_18399
--- +++ @@ -7,7 +7,7 @@ [[ $# = 1 ]] || { echo "No log file given, aborting" 1>&2 ; exit 1 ; } readonly log="$1" -. /opt/ldregistry/replication-conf.sh +. /opt/ldregistry/conf/replication-conf.sh if [[ -z $SLAVE ]]; then echo "No slave configured"
bash