document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_7100
--- +++ @@ -14,7 +14,7 @@ fi -if [ "$TRAVIS_REPO_SLUG" == "nixsolutions/yandex-php-library" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_PHP_VERSION" == "5.3" ]; then +if [ "$TRAVIS_REPO_SLUG" == "nixsolutions/yandex-php-library" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_PHP_VERSION" =...
bash
d_bash_7101
--- +++ @@ -1,17 +1,25 @@ # Ckan Test Services +echo "CLONING CKAN..." git clone https://github.com/ckan/ckan.git ckan pushd ckan +echo "CHECKOUT VERSION 2.8.0" git checkout tags/ckan-2.8.0 pushd contrib/docker +echo "CONFIGURING DOCKER COMPOSE ENVIRONMENT" cp .env.template .env +echo "BUILD CKAN CONTAINERS AND...
bash
d_bash_7102
--- +++ @@ -1,6 +1,18 @@ #!/bin/bash -echo 'Setting up parallel databases' +echo 'Setting up parallel test environment...' + +echo 'Setting up parallel ElasticSearch indexes...' + +bundle exec rails runner 'index = CheckConfig.get("elasticsearch_index") ; MediaSearch.create!(index, true) ; puts "Created ElasticSea...
bash
d_bash_7103
--- +++ @@ -2,7 +2,6 @@ set -ex -google-chrome --version wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update
bash
d_bash_7104
--- +++ @@ -8,6 +8,7 @@ alias -g .....='../../../..' alias -g ......='../../../../..' +alias -- -='cd -' alias 1='cd -' alias 2='cd -2' alias 3='cd -3'
bash
d_bash_7105
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh sleep 15 -raspivid -hf -t 0 -h 480 -w 640 -fps 25 -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.1.221 port=5000 +raspivid -hf -t 0 -h 480 -w 640 -fps 25 -b 2000000 -o - | gst-launch-1.0 -v fdsrc !...
bash
d_bash_7106
--- +++ @@ -23,6 +23,9 @@ error "Failed to install XCode command line tools." fi +info "Installing Rosetta..." +sudo softwareupdate --install-rosetta + # Package control must be executed first in order for the rest to work ./packages/setup.sh
bash
d_bash_7107
--- +++ @@ -5,6 +5,7 @@ command clj "$@" fi } +alias cljs='clojure -M:rebel-cljs' -rlwrap! bb alias bbj='bb "(json/parse-stream *in* true)" | bb'
bash
d_bash_7108
--- +++ @@ -30,6 +30,7 @@ cat << _CONTROL_ > "${DIST_DIR_NAME}/DEBIAN/control" Package: $PKG_NAME Version: $PKG_VERSION +Depends: iproute2 Maintainer: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> Architecture: amd64 Description: $(cat docs/pages/introduction/summary.txt)
bash
d_bash_7109
--- +++ @@ -2,8 +2,9 @@ ADMINUSER=$1 -# Disable the need for a tty when running sudo +# Disable the need for a tty when running sudo and allow passwordless sudo for the admin user sed -i '/Defaults[[:space:]]\+!*requiretty/s/^/#/' /etc/sudoers +echo "$ADMINUSER ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers # Moun...
bash
d_bash_7110
--- +++ @@ -1,9 +1,9 @@ #!/bin/bash -rm -rf target/gh-pages || exit 0; +echo "gather files for deployment..."; mkdir -p target/gh-pages; -cp test.html ./target/gh-pages/index.html -cp bundle.js ./target/gh-pages/bundle.js -echo "starting deploy..." +cp test.html ./target/gh-pages/index.html; +cp bundle.js ./target/...
bash
d_bash_7111
--- +++ @@ -28,7 +28,8 @@ "src/plugins/yambi/"*.cpp \ "src/plugins/yamlcpp/"*.{c,cpp} \ "src/plugins/yamlsmith/"*.{c,cpp} \ - "src/plugins/yanlr/"*.{c,cpp} -exit_if_fail "OCLint found problematic code" + "src/plugins/yanlr/"*.{c,cpp} \ + "src/plugins/yawn/"*.cpp \ + exit_if_fail "OCLint found problematic code" ...
bash
d_bash_7112
--- +++ @@ -2,7 +2,7 @@ #*** SQLcl *** cd $OOS_SOURCE_DIR/tmp -${OOS_UTILS_DIR}/download.sh $OOS_MODULE_SQLCL +${OOS_UTILS_DIR}/download.sh $OOS_SQLCL_FILE_URL unzip $OOS_SQLCL_FILENAME
bash
d_bash_7113
--- +++ @@ -24,4 +24,4 @@ mvn nexus:staging-close \ -Dnexus.description="Specsy $VERSION" -git tag -s -m "Release $VERSION" "v$VERSION" +git tag -s -m "Specsy $VERSION" "v$VERSION"
bash
d_bash_7114
--- +++ @@ -8,7 +8,7 @@ p_run sed -i 's|^\(HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=\).*$|\1y|' \ os/linux/config.mk - p_run make CROSS_COMPILE="${target_system}-" \ + p_run make CROSS_COMPILE="${target_bin_dir}/${target_system}-" \ CHIPSET=5370 LINUX_SRC="$LINUX_KERNEL" }
bash
d_bash_7115
--- +++ @@ -6,21 +6,25 @@ git fetch --tags # Get latest tag name -latestTag=$(git describe --tags `git rev-list --tags --max-count=1`) +latestTag=$(git describe --tags `git rev-list --tags --max-count=1` | sed -e 's/-rc[0-9][0-9]*//') +product=apache-calcite-avatica-go +tarFile=$product-src-$latestTag.tar.gz #...
bash
d_bash_7116
--- +++ @@ -21,5 +21,6 @@ ${LIBTOOLIZE} --force aclocal automake --add-missing -autoconf +# Use -f so git-version-gen does refresh +autoconf -f
bash
d_bash_7117
--- +++ @@ -11,6 +11,8 @@ echo ${t//[:]/} elif [[ $1 == date ]]; then date +%Y%m%d + else + date +%T fi }
bash
d_bash_7118
--- +++ @@ -19,7 +19,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )" # Copy into tmpdir -cp -R $DIR/website/ $DEPLOY/ +rsync -avP $DIR/website/ $DEPLOY/ # Change into that directory pushd $DEPLOY &>/dev/null
bash
d_bash_7119
--- +++ @@ -25,7 +25,8 @@ exit fi -pkexec /bin/bash -c "apt-get install --yes python-software-properties && +pkexec /bin/bash -c "apt-get update --yes && + apt-get install --yes python-software-properties && yes | apt-add-repository ppa:developmentseed/mapbox && apt-get update --yes && apt-get...
bash
d_bash_7120
--- +++ @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +## Abort on error +set -e if [[ $(uname) == *"CYGWIN"* ]]; then EBIN=$(cygpath -w $PWD/ebin) @@ -6,4 +9,5 @@ EBIN=$PWD/ebin fi +erl -make ct_run -noshell -pa $EBIN -include ./include -dir ./test -logdir ./var/logs -cover ./cover.spec
bash
d_bash_7121
--- +++ @@ -14,7 +14,7 @@ export PATH=`pwd`/.build/debug:${PATH} popd >/dev/null if which parallel >/dev/null ; then - for gen in Packages/*/gir-to-swift.sh ; do \ + for gen in Packages/*/gir-to-swift.sh ./gir-to-swift.sh ; do \ echo echo \"Generate Swift Wrapper for `dirname $gen | cut -d/ -f2`\" \; \ "( cd...
bash
d_bash_7122
--- +++ @@ -12,4 +12,5 @@ boost-devel \ jemalloc-devel \ valgrind \ - lcov + lcov \ + postgresql-contrib
bash
d_bash_7123
--- +++ @@ -1,5 +1,5 @@ alias brews='brew list' alias brewupd='brew update' -alias brewupg='brew upgrade' +alias brewupg='brew upgrade --all' alias brewdr='brew doctor' -alias bubu="brew update && brew upgrade && brew cleanup" +alias bubu="brew update && brew upgrade --all && brew cleanup"
bash
d_bash_7124
--- +++ @@ -27,6 +27,6 @@ --js='!**protractor_spec.js' \ --js='!**protractor.conf.js' \ --js='!**browser_capabilities.js' \ - --js='!**bin/generate_closure_unit_tests/generate_closure_unit_tests.js' \ + --js='!**generate_closure_unit_tests.js' \ --js='!./doc/**.js' \ --js_output_file=$(mktemp);
bash
d_bash_7125
--- +++ @@ -14,7 +14,3 @@ export RUN_FUNCTIONAL_TESTS=false export GOAL="deploy" export BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests --disable-external-signer" - -# Compiler for MinGW-w64 causes false -Wreturn-type warning. -# See https://sourceforge.net/p/mingw-w64/bugs/306/ -export NO_WERROR=1
bash
d_bash_7126
--- +++ @@ -10,7 +10,6 @@ npm install --global ava npm install --global xo npm install --global mocha -npm install --global csslint npm install --global eslint npm install --global generator-generator npm install --global generator-webapp
bash
d_bash_7127
--- +++ @@ -8,6 +8,6 @@ # You will then be able to use a java debugger on port 8000. #JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,server=y,address=localhost:8000,suspend=n" -# enable JMX +# Enable JMX. Read the documentation before uncommenting the next line! #JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.man...
bash
d_bash_7128
--- +++ @@ -20,6 +20,7 @@ 'phpmd/phpmd=1.4.*' 'squizlabs/php_codesniffer=*' 'phpdocumentor/phpdocumentor=2.*' +'laravel/installer=~1.1' ) for package in ${packages[@]} ; do
bash
d_bash_7129
--- +++ @@ -3,6 +3,15 @@ # this script will install vagrant-hostmanager and patch it with the extra # features that are needed for oh-my-vagrant until they are upstream! # https://github.com/smdahlen/vagrant-hostmanager/pull/145 + +# NOTE: some users have needed the following dependencies for this script: +# +# su...
bash
d_bash_7130
--- +++ @@ -1,3 +1,9 @@ if [ $OSX ]; then - export PATH="/Applications/Postgres.app/Contents/Versions/9.3/bin:/usr/local/share/npm/bin:/usr/local/bin:/usr/local/sbin:$PATH" + # If Postgres.app is installed then include its bin + pg_app_bin="/Applications/Postgres.app/Contents/Versions/9.3/bin" + if [[ -d $pg_app...
bash
d_bash_7131
--- +++ @@ -4,7 +4,7 @@ (cd experiments; git pull) -for branch in raft-45 raft-46 raft-56 raft-58 raft-58-initialization raft-42 raft-66; do +for branch in raft-45 raft-46 raft-56 raft-58-initialization raft-58 raft-42 raft-66; do if [ "$START_WITH" != "" -a "$START_WITH" != $branch ]; then continue f...
bash
d_bash_7132
--- +++ @@ -4,6 +4,7 @@ # testsuite. Should be run from the same dir where bindings-mpi.cabal # is located and after "cabal install" or "cabal build" has been run +rm -f *.tix mpirun -np 2 bindings-mpi-testsuite 2>receiver.log | tee sender.log hpc combine --output=bindings-mpi-testsuite.tix rank0.tix rank1.tix ...
bash
d_bash_7133
--- +++ @@ -25,10 +25,3 @@ fi } -function vagrant() { - local curr_rvm=`rvm current` - rvm use system - command vagrant "$@" - rvm use $curr_rvm -} -
bash
d_bash_7134
--- +++ @@ -20,6 +20,7 @@ echo -e "eval \`opam config -env\`\n" >> ~/.bashrc echo "alias ack='ack-grep'" >> ~/.bashrc +echo "alias vpn='~/Dropbox/anyconnect-3.1.04059/vpn/vpn'" >> ~/.bashrc echo 'function gvim () { (/usr/bin/gvim "$@" 2> /dev/null &) }' >> ~/.bashrc echo 'function vim () { (/usr/bin/gvim "$@" ...
bash
d_bash_7135
--- +++ @@ -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.14%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.14_9.tar.gz" +...
bash
d_bash_7136
--- +++ @@ -6,11 +6,11 @@ JDK_FEATURE=10 TMP=$(curl -L jdk.java.net/${JDK_FEATURE}) -TMP="${TMP#*Most recent build: jdk-${JDK_FEATURE}-ea+}" # remove everything before the number +TMP="${TMP#*Most recent build: jdk-${JDK_FEATURE}+}" # remove everything before the number TMP="${TMP%%<*}" ...
bash
d_bash_7137
--- +++ @@ -19,9 +19,21 @@ sudo chown -R jenkins:stack $SHADE_DIR echo "Running shade Ansible test suite" -set +e -sudo -E -H -u jenkins tox -eansible -EXIT_CODE=$? -set -e + +if [ ${SHADE_ANSIBLE_DEV:-0} -eq 1 ] +then + # Use the upstream development version of Ansible + set +e + sudo -E -H -u jenkins t...
bash
d_bash_7138
--- +++ @@ -18,7 +18,7 @@ echo y | add-apt-repository ppa:webupd8team/java apt-get update -apt-get install -y zip g++ zlib1g-dev wget git unzip python python3 curl +apt-get install -y zip g++ zlib1g-dev wget git unzip python python3 curl realpath # Should accept the licence: apt-get install -y oracle-java8-in...
bash
d_bash_7139
--- +++ @@ -6,4 +6,10 @@ stage_files +if ! haproxy -v | grep -q 'version 1.6'; then + apt-get update -y && apt-get install -y software-properties-common \ + && add-apt-repository -y ppa:vbernat/haproxy-1.6 \ + && apt-get update && apt-get -y purge haproxy && apt-get -y install haproxy +fi + reload_hapr...
bash
d_bash_7140
--- +++ @@ -24,3 +24,6 @@ python "$HERE/template.py" < $tfile > "$ODIR/$tfile" done done + +ADIR="$ODIR/ambassador" +cat "$ADIR/ambassador-store.yaml" "$ADIR/ambassador-rest.yaml" > "$ADIR/ambassador.yaml"
bash
d_bash_7141
--- +++ @@ -15,7 +15,9 @@ case $1 in radio1cz) URL="http://netshow.play.cz:8000/radio1.mp3" - SECONDS=4200 + SECONDS=7800 + STATION="Prague Radio 1" + SHOW="News Of Alternative Scene by DJ Josef Sedlon" ;; -h) usage @@ -36,4 +38,6 @@ mkdir -p $DEST echo "http://localhost:8000/" >> ...
bash
d_bash_7142
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash # Coverage reporting -sbt coveralls +sbt stage coveralls # Deployment to Heroku if [ "$TRAVIS_BRANCH" = "master" ]; then
bash
d_bash_7143
--- +++ @@ -7,11 +7,13 @@ exit 0 fi +git config --global user.email "notmyemail@bower-chosen.lol" +git config --global user.name "bower-chosen" + git clone https://pfiller:${GH_TOKEN}@github.com/harvesthq/bower-chosen.git rm -rf bower-chosen/* cp public/bower.json public/*.png public/chosen.jquery.min.js pub...
bash
d_bash_7144
--- +++ @@ -1,6 +1,11 @@ #!/bin/bash +SRC_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) + #set name and email git config --global user.name "Alan Christianson" git config --global user.email "git@c10n.net" +# set up global gitignore +ln -s $SRC_DIR/gitignore_global ~/.gitignore_global +git config --glob...
bash
d_bash_7145
--- +++ @@ -8,4 +8,4 @@ SECURITY_GROUPS=$(awscli ec2 describe-security-groups --output text --query "SecurityGroups[$FILTER].[GroupId]") select_one SecurityGroup "$SECURITY_GROUPS" -awscli ec2 describe-security-groups --group-id $SELECTED --output table --query "SecurityGroups[].{\"1.Name\":$TAG_NAME,\"2.GroupId\...
bash
d_bash_7146
--- +++ @@ -12,7 +12,6 @@ echo "${CERTIFICATE}" > fastlane/Certificates/distribution_base64; base64 -D fastlane/Certificates/distribution_base64 -o fastlane/Certificates/distribution.p12; - echo `md5 fastlane/Certificates/distribution.p12`; echo "Testing succeeded. Next steps will be taken"; ...
bash
d_bash_7147
--- +++ @@ -38,4 +38,4 @@ env | sort -su ${USERNAME} -c "JAVA_HOME="${JAVA_HOME}" java ${JAVA_OPTS} -Dspring.profiles.active=${SPRING_PROFILES} -cp app:app/lib/* ${MAIN_CLASS}" +su ${USERNAME} -c ${JAVA_HOME}"/bin/java ${JAVA_OPTS} -Dspring.profiles.active=${SPRING_PROFILES} -cp app:app/lib/* ${MAIN_CLASS}"
bash
d_bash_7148
--- +++ @@ -1,6 +1,8 @@ #!/usr/bin/env zsh -if [[ -d $HOME/opt/google-cloud-sdk ]]; then - source $HOME/opt/google-cloud-sdk/path.zsh.inc - source $HOME/opt/google-cloud-sdk/completion.zsh.inc -fi +for f in $HOME/opt/google-cloud-sdk /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk; do + if [[ -d "$...
bash
d_bash_7149
--- +++ @@ -31,7 +31,7 @@ echo "install $NAME ..." cd $NAME if [ -f $INSTALL_SCRIPT ]; then - ./$INSTALL_SCRIPT + ./$INSTALL_SCRIPT | tee /tmp/install.log if [ -f $START_SCRIPT ]; then ./$START_SCRIPT @@ -48,3 +48,4 @@ fi done < co...
bash
d_bash_7150
--- +++ @@ -7,7 +7,7 @@ CommandValidatorTestUtil(){ writeBashFile(){ local content=( - "Test(){\n\t@ignore\n\talpha(){\n\t\techo\n\t}" + "@class\nTest(){\n\t@ignore\n\talpha(){\n\t\techo\n\t}" "\n\n\t@private\n\tbeta(){\n\t\techo\n\t}" "\n\n\t@test\n\tkappa(){\n\t\techo\n\t}\n\n\t\$@\n}" )
bash
d_bash_7151
--- +++ @@ -10,7 +10,7 @@ version_sha=$(echo "$current_version" | awk '/sha256/{print $2}') # fetch chef -curl --location $version_url -o chef.deb +curl --insecure --location $version_url -o chef.deb # check the file echo "$version_sha chef.deb" > '/tmp/chef-checksum'
bash
d_bash_7152
--- +++ @@ -13,7 +13,7 @@ EXECNAME=$(basename "$0"); SUFFIX_FIN="sums" -NOW="$(date -u +%s)" +NOW="$(date -u "+%Y-%m-%d-%H%M%S")" FILE_FIN="$NOW"."$SUFFIX_FIN"
bash
d_bash_7153
--- +++ @@ -18,6 +18,8 @@ export MANPATH export NODE_PATH="/usr/local/lib/node_modules" +export GOPATH="$HOME/go" +export PATH=$PATH:$GOPATH/bin export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375 export LANG=en_US.UTF-8
bash
d_bash_7154
--- +++ @@ -12,5 +12,5 @@ # Helper for shell prompts and the like current_node() { - echo "$(nodenv version)" + echo "$(nodenv version-name)" }
bash
d_bash_7155
--- +++ @@ -2,7 +2,7 @@ alias b='bundle' alias be='bundle exec' alias bec='bundle exec rails c' -alias beg='spring stop && bundle exec guard' +alias beg='spring stop && bundle exec guard --clear' alias ber='bundle exec rake' alias bes='bundle exec rails s' alias bo='bundle open'
bash
d_bash_7156
--- +++ @@ -28,9 +28,6 @@ # Previrtualize -#slash --stats --devirt --work-dir=slash ssh.manifest -echo "NOT DOING --devirt COZ ITS DODGEY!!!!!!!!!!!!!!!!!" -slash --stats --work-dir=slash ssh.manifest +slash --stats --devirt --work-dir=slash ssh.manifest cp slash/ssh_slashed . -echo "NOT DOING --devirt COZ IT...
bash
d_bash_7157
--- +++ @@ -1,3 +1,17 @@ +MSBUILD_EXISTS=`which msbuild >/dev/null 2>&1 ; echo $?` +if [ ${MSBUILD_EXISTS} -ne 0 ] +then + echo "You need to install 'msbuild'" + exit -1 +fi + +NUGET_EXISTS=`which nuget >/dev/null 2>&1 ; echo $?` +if [ ${NUGET_EXISTS} -ne 0 ] +then + echo "You need to install 'nuget' (packag...
bash
d_bash_7158
--- +++ @@ -24,7 +24,7 @@ # solr.autoSoftCommit.maxTime: time to use a new searcher after last update (changes are visible to clients, but not persisted to disk) # solr.autoCommit.maxTime: time to commit changes to disk after last update cd $SOLR_DIR/solr/bin -./solr start -p 8983 -s $SOLR_HOME -Dsolr.autoSoftComm...
bash
d_bash_7159
--- +++ @@ -8,36 +8,38 @@ # Install packages apps=( 1password + atom + dash + dropbox + elmedia-player + evernote + firefox + firefoxnightly + flux + glimmerblocker + google-chrome + google-chrome-canary + google-drive gyazo - dropbox - google-drive - spectacle...
bash
d_bash_7160
--- +++ @@ -2,8 +2,8 @@ set -euo pipefail -readonly RAILS_VERSIONS=(41 42 50 51) -readonly RUBY_VERSIONS=(2.3.8 2.3.8 2.5 2.5) +readonly RAILS_VERSIONS=(60 60 60 master) +readonly RUBY_VERSIONS=(2.6.3 2.6.6 2.7 2.7) readonly RAILS_VERSION=${RAILS_VERSIONS[$BUILDKITE_PARALLEL_JOB]} readonly RUBY_VERSION=${RUBY_...
bash
d_bash_7161
--- +++ @@ -22,7 +22,7 @@ for vmx in "output-${PACKER_BUILD_NAME}"/*.vmx; do name=$(basename "${vmx}" .vmx).ova - ovftool --compress=9 -o "${vmx}" "output-${PACKER_BUILD_NAME}/${name}" + ovftool --shaAlgorithm=sha1 --compress=9 -o "${vmx}" "output-${PACKER_BUILD_NAME}/${name}" done # Cleanup all files tha...
bash
d_bash_7162
--- +++ @@ -2,9 +2,9 @@ sed -E ' s/^(==>| ) vmware-(iso|vmx): ?//g; - s/^(Downloading or copying ISO)/+++ :packer: \1/g; - s/^(Cloning source VM)/+++ :packer: \1/g; - s/^(Provisioning with shell script)/+++ :packer: \1/g; - s/^(Starting virtual machine)/+++ :packer: \1/g; - s/^(Waiting for SSH to become ...
bash
d_bash_7163
--- +++ @@ -4,6 +4,6 @@ # This will happen unless the script dl_freeciv.sh exists. # If you wish to modify this file copy it to dl_freeciv.sh and edit it. -git clone https://github.com/freeciv/freeciv.git --depth=10 +git clone https://github.com/freeciv/freeciv.git --depth=500 cd freeciv git reset --hard $1
bash
d_bash_7164
--- +++ @@ -1,30 +1,30 @@ #!/usr/bin/env bash set -e -u -BACKUP="${HOME}/.dotfiles_backup" -DOTFILES=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -PACKAGES=(editorconfig git ruby tmux vim zsh) -RUBY_BUILD="${HOME}/.rbenv/plugins/ruby-build" -RUBY_VERSION='2.4.1' +backup_location="${HOME}/.dotfiles_backup" +s...
bash
d_bash_7165
--- +++ @@ -8,4 +8,7 @@ gem list bundler | grep bundler || gem install bundler bundle install rake legacy:setup db:migrate db:test:prepare db:test:prepare:legacy -script/test + +script/test > $CC_BUILD_ARTIFACTS/rspec_tests.log 2>&1 + +rake phantom > $CC_BUILD_ARTIFACTS/jasmine_tests.log 2>&1
bash
d_bash_7166
--- +++ @@ -14,21 +14,18 @@ stty -ixon # disable C-s -# Use video title as file name. -alias yt="youtube-dl -t" - -alias vi="vim" -alias vundle="vim +PluginInstall +qall" alias bx="bundle exec" alias cdgr="cd \`git root\`" alias git="hub" alias mk="make" -alias rake="bundle exec rake" alias rk="rake" -alias...
bash
d_bash_7167
--- +++ @@ -7,5 +7,11 @@ go build -a --installsuffix cgo --ldflags="-s" -o ./hello docker build -t faustxvi/simple-two-ports . +docker push faustxvi/simple-two-ports -docker push faustxvi/simple-two-ports +docker build -t faustxvi/simple-two-ports:wrong-one - <<EOF +FROM scratch +LABEL is=wrong +EOF + +dock...
bash
d_bash_7168
--- +++ @@ -2,7 +2,7 @@ NAME=gridengine SCRIPTS_DIR=/home/ubuntu/config-tools - +CONFIG_TOOLS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # create the GE cluster on the cloud platform #elasticluster start $NAME @@ -14,7 +14,7 @@ if [ "$first" == "yes" ]; then elasticluster sftp $NAME -n $host <<...
bash
d_bash_7169
--- +++ @@ -7,7 +7,6 @@ popd pushd grootfs-release-develop/src/code.cloudfoundry.org/grootfs - current_sha=$(git rev-parse HEAD) git fetch git reset --hard $head popd @@ -15,10 +14,10 @@ pushd grootfs-release-develop git add src/code.cloudfoundry.org/grootfs grootfs_changes=$(git diff --cached --su...
bash
d_bash_7170
--- +++ @@ -1,7 +1,19 @@ -for benchmark in $(ls /project/work/timing_analysis/skew/*/vpr_timing_graph.echo) +#!/bin/bash + +for benchmark in $(ls -hSr /project/work/timing_analysis/skew/*/vpr_timing_graph.echo) do echo "===============================================================" echo $benchmark ...
bash
d_bash_7171
--- +++ @@ -1,3 +1,5 @@ +set -e + # read version gitsha=$(git rev-parse HEAD) version=$(cat package.json | jq .version | sed -e 's/^"//' -e 's/"$//')
bash
d_bash_7172
--- +++ @@ -1,3 +1,4 @@ #!/bin/sh sh -e /etc/init.d/xvfb start echo "echo \"127.0.0.1 test.example.com\" >> /etc/hosts" | sudo sh +sudo hostname test.example.com
bash
d_bash_7173
--- +++ @@ -10,19 +10,6 @@ echo "Assign taxonomy to non rRNA..." create_tool_section_dir $galaxy_tool_dir/$section_dir - -## metaphlan -echo " Metaphlan..." -cd $galaxy_tool_dir/$section_dir -if [ ! -d "metaphlan/" ]; then - echo " cloning" - hg clone https://toolshed.g2.bx.psu.edu/repos/dannon/metaphlan ...
bash
d_bash_7174
--- +++ @@ -5,7 +5,7 @@ ARCH=$3 revision_build=$4 RELEASE_TOOLS=$(readlink -f $(dirname $0)) -jujud=$(find -path ./juju-build-$SERIES-amd64/juju-core-*/bin/jujud -type f) +jujud=$(find -path ./juju-build-$SERIES-$ARCH/juju-core-*/bin/jujud -type f) version=$(echo $jujud|sed -r "s/.\/juju-build-$SERIES-$ARCH\/juju...
bash
d_bash_7175
--- +++ @@ -1,7 +1,7 @@ set -e set -x -if [[ $CIRCLE_NODE_TOTAL < 2 ]]; then +if [[ $CIRCLE_NODE_TOTAL != 2 ]]; then echo "ERROR: You must allocate 2 containers for the tests to run properly!" exit 1 fi
bash
d_bash_7176
--- +++ @@ -7,20 +7,7 @@ reinstall_body() { - cat << EOF > test.ucl -name: test -origin: test -version: 1 -maintainer: test -categories: [test] -comment: a test -www: http://test -prefix: /usr/local -desc: <<EOD -Yet another test -EOD -EOF - + new_pkg test test test /usr/local atf_check \ -o ignore \
bash
d_bash_7177
--- +++ @@ -7,3 +7,7 @@ echo "No SSH key found" sshnewkey "${USER}@${HOST}" fi + +# Liquid Prompt +# Only load in interactive shells, not from a script or from scp +[[ $- = *i* ]] && source ~/dev/shell/liquidprompt/liquidprompt
bash
d_bash_7178
--- +++ @@ -26,9 +26,9 @@ # First ensure that the base dependencies are sufficient for a full import and # data load -pip install -q -e . +pip install -e . python -c "import tensorflow_datasets as tfds" python -c "import tensorflow_datasets as tfds; tfds.load('mnist', split=tfds.Split.TRAIN)" # Then install ...
bash
d_bash_7179
--- +++ @@ -1,5 +1,7 @@ sed '/^[ ]*#/d' "${sourceFile}" sed '/^[ ]*#/d' < "${sourceFile}" +sed '/^\\s*#/d' "${sourceFile}" +sed '/^\\s*#/d' < "${sourceFile}" grep -v '^[ ]*#' "${sourceFile}" grep -v '^[ ]*#' < "${sourceFile}" grep -v '^\\s*#' "${sourceFile}"
bash
d_bash_7180
--- +++ @@ -13,3 +13,11 @@ psql -c "CREATE USER root SUPERUSER PASSWORD 'smartvm';" -U postgres export BUNDLE_WITHOUT=development export BUNDLE_GEMFILE=${PWD}/Gemfile + +# suites that need bower assets to work: javascript, vmdb +if [[ "$TEST_SUITE" = "javascript" ]] || [[ "$TEST_SUITE" = "vmdb" ]]; then + which b...
bash
d_bash_7181
--- +++ @@ -6,3 +6,11 @@ source $GIT_PROMPT_LOC __git_ps1 fi + +# Arch Linux stores this in a different location +ALT_PROMPT_LOC="/usr/share/git/completion/git-prompt.sh" + +if [ -f $ALT_PROMPT_LOC ]; then + source $ALT_PROMPT_LOC + __git_ps1 +fi
bash
d_bash_7182
--- +++ @@ -1,30 +1,28 @@ #!/usr/bin/env bash PROJECTS="grails-spring-security-group grails-spring-security-hierarchical-roles" -GORM_VERSIONS="6.0.9.RELEASE 6.1.1.RELEASE" +GORM_VERSIONS="6.1.1.RELEASE 6.0.9.RELEASE" set -e for project in $PROJECTS; do + + echo "cd misc-functional-test-app/$project"...
bash
d_bash_7183
--- +++ @@ -11,3 +11,7 @@ # Fixes "Cannot connect to the Docker daemon" error sudo usermod -aG docker $(whoami) + +# Installs Docker Compose as a container +curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose +chmod +x /usr/local/bin/docker-compose
bash
d_bash_7184
--- +++ @@ -1,3 +1,3 @@ #!/bin/bash - -wp search-replace http://local.wordpress.dev "$WORDPRESS_URL" --recurse-objects --allow-root +DOMAIN_NO_PROTOCOL=$(echo "$WORDPRESS_URL" | sed 's~http[s]*://~~g') +wp search-replace local.wordpress.dev "$DOMAIN_NO_PROTOCOL" --recurse-objects --allow-root
bash
d_bash_7185
--- +++ @@ -11,11 +11,11 @@ exit 1 fi -SCHEMA_FILE="$1/data/schema.sql" +SCHEMA_FILE="$1/code/schema.sql" if [ ! -r ${SCHEMA_FILE} ]; then echo "$0: ERROR: schema file is not readable" >&2 exit 1 fi -psql -X -d $2 -f ${SCHEMA_FILE} +psql -X --set ON_ERROR_STOP=1 -d $2 -f ${SCHEMA_FILE}
bash
d_bash_7186
--- +++ @@ -2,11 +2,11 @@ set -e if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - ionic platform add ios - ionic build ios --device --buildConfig ./cordovaBuildConfig.json + ionic cordova platform add ios + ionic cordova build ios --device --buildConfig ./cordovaBuildConfig.json fi if [[ "$TRAVIS_OS_NAME" !=...
bash
d_bash_7187
--- +++ @@ -5,6 +5,8 @@ exit 1; fi +rm -Rf .sculpin +sculpin install sculpin generate --env=prod sculpin install
bash
d_bash_7188
--- +++ @@ -2,7 +2,7 @@ # Configure nginx ssl certificate # SSL -host=$(mdata-get sdc:hostname) +host=$(hostname) cert_dir='/opt/local/etc/nginx/ssl/' # SSL configuration
bash
d_bash_7189
--- +++ @@ -23,7 +23,7 @@ twpayne/taps/chezmoi \ zsh -[[ -d ~/.dotfiles ]] || chezmoi --source ~/.dotfiles init https://github.com/Li9htmare/dotfiles +[[ -d ~/.dotfiles ]] || chezmoi --source ~/.dotfiles init git@github.com:Li9htmare/dotfiles.git chezmoi diff echo 'Press any key to continue or Ctrl+C to...
bash
d_bash_7190
--- +++ @@ -1,10 +1,5 @@ check () { git fetch - - changes=$(git diff HEAD..FETCH_HEAD) - if [ "$changes" != "" ] ; then - echo 'YOUR DOTFILES ARE OUT OF DATE'; - fi changes=$(git diff) if [ "$changes" != "" ]; then @@ -14,6 +9,11 @@ changes=$(git ls-files --others --excl...
bash
d_bash_7191
--- +++ @@ -18,7 +18,7 @@ testrepo () { go version - env GORACE='halt_on_error=1' CC=gcc GOTESTFLAGS='-race -short' bash ./testmodules.sh + env CC=gcc GOTESTFLAGS='-short' bash ./testmodules.sh } DOCKER=
bash
d_bash_7192
--- +++ @@ -8,5 +8,5 @@ go get go.mozilla.org/autograph # Start autograph in background -echo "start autograph in background at $(head autograph.yaml | grep listen)" +echo "start autograph in background at $(head ./scripts/autograph_travis_test_config.yaml | grep listen)" nohup $GOPATH/bin/autograph -c ./scripts...
bash
d_bash_7193
--- +++ @@ -25,7 +25,7 @@ make_binname() { GOOS="${GOOS:-$(go env GOOS)}" - GOARCH="${GOOS:-$(go env GOARCH)}" + GOARCH="${GOARCH:-$(go env GOARCH)}" local binname binname="davcli-$(get_semver)-${GOOS}-${GOARCH}"
bash
d_bash_7194
--- +++ @@ -22,3 +22,4 @@ apt-get update apt-get install gcc-6 g++-6 -y update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 100 --slave /usr/bin/g++ g++ /usr/bin/g++-6 +update-alternatives --config gcc
bash
d_bash_7195
--- +++ @@ -5,9 +5,7 @@ cp files/dircolors.ansi-dark ~/.dircolors cp files/.inputrc ~/.inputrc rm -rf ~/.bash_it -pushd ~/ git clone https://github.com/Bash-it/bash-it.git ~/.bash_it -popd cp files/add_user_initials_to_git_prompt_info.bash ~/.bash_it/custom cp files/bobby_pivotal/bobby_pivotal.theme.bash ~/.bas...
bash
d_bash_7196
--- +++ @@ -16,4 +16,6 @@ done echo gzip $O.tar -gzip -f $O.tar +gzip -f -k $O.tar +echo xz $O.tar +xz -f -k $O.tar
bash
d_bash_7197
--- +++ @@ -1,2 +1,2 @@ #!/bin/sh -/usr/local/appengine-java-sdk/bin/dev_appserver.sh web-app +/usr/local/appengine-java-sdk/bin/dev_appserver.sh --address=0.0.0.0 web-app
bash
d_bash_7198
--- +++ @@ -1,3 +1,3 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh docker run -ti --net=host --privileged -e http_proxy=$http_proxy -e https_proxy=$https_proxy klabs/forgetproxy
bash
d_bash_7199
--- +++ @@ -3,6 +3,5 @@ [[ -z $1 ]] && echo "Please provide the file to be hashed" && exit 1 FILE_NAME=$(basename $1 | awk '{split($0,a,/\.(d|s)/); print a[1] }') export DETERMINED_HASH=$(sha1sum $1 | awk '{ print $1 }') -( [[ $FILE_NAME =~ 'macos' ]] && [[ $PINNED == false || $UNPINNED == true ]] ) && FILE_NAME="...
bash