document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_800
--- +++ @@ -1,6 +1,6 @@ #/bin/sh -CHROME_REVISION=119695 +CHROME_REVISION=127410 sh -e /etc/init.d/xvfb start && git submodule update --init || exit 1 if [[ "$WATIR_WEBDRIVER_BROWSER" = "chrome" ]]; then
bash
d_bash_801
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -rabbitmqctl add_vhost "travis.development" +rabbitmqctl add_vhost "travisci.development" rabbitmqctl add_user travisci_worker travisci_worker_password rabbitmqctl set_permissions -p "travisci.development" travisci_worker ".*" ".*" ".*"
bash
d_bash_802
--- +++ @@ -7,9 +7,9 @@ if [ ! "$(ls -A $HOME/gnatsd)" ]; then mkdir -p $HOME/gnatsd cd $HOME/gnatsd - wget https://github.com/nats-io/gnatsd/releases/download/v1.1.0/gnatsd-v1.1.0-linux-amd64.zip -O gnatsd.zip + wget https://github.com/nats-io/gnatsd/releases/download/v1.2.0/gnatsd-v1.2.0-linux-amd64.zip -O...
bash
d_bash_803
--- +++ @@ -3,15 +3,21 @@ # based on output of 'fswebam' if [[ $# -eq 0 ]]; then echo "You must provide a camera name such as," - echo "HP or C615" + echo "HP or C615 or 'Integrated Camera'" echo "on the command line." exit fi FOUND=1 for i in /dev/video*; do if fswebcam --verbose --device="${i}" 2...
bash
d_bash_804
--- +++ @@ -1,19 +1,28 @@ -#!/usr/bin/env bash - -# Docker Version Manager Bash Wrapper +# Docker Version Manager wrapper for *nix # Implemented as a POSIX-compliant function # Should work on sh, dash, bash, ksh, zsh # To use, source this file from your bash profile +{ # This ensures the entire script is downloa...
bash
d_bash_805
--- +++ @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # bash script to create a simple debian package PACKAGE_NAME=$1 @@ -10,7 +10,7 @@ mkdir -p $BUILD_DIR/package/$PACKAGE_NAME/usr/local/bin # copy consul binary to destination -cp $BUILD_DIR/docker-compose* $BUILD_DIR/package/$PACKAGE_NAME/usr/local/bin/docke...
bash
d_bash_806
--- +++ @@ -22,7 +22,7 @@ alias usshfs='umount $HOME/Remote' fi -alias gcssh='gcloud compute ssh' +alias gcssh='TERM=xterm-256color gcloud compute ssh' # Some useful tmux alias alias t='tmux new-session -s' # Create new session, should pass name
bash
d_bash_807
--- +++ @@ -8,12 +8,7 @@ antigen bundles <<EOBUNDLES # Bundles from the default repo adb - brew - command-not-found - git history-substring-search - tmux - vi-mode sorin-ionescu/prezto modules/completion
bash
d_bash_808
--- +++ @@ -1,10 +1,10 @@ #!/usr/bin/env bash -# requires imagemagick +# requires imagemagick and maim/scrot icon="$HOME/.config/xlock/icon.png" tmpbg='/tmp/screenlock.png' -scrot "$tmpbg" +[[ $(hash maim > /dev/null 2>&1) ]] && maim "$tmpbg" || scrot "$tmpbg" convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"...
bash
d_bash_809
--- +++ @@ -15,8 +15,6 @@ pg_dump osm | gzip > "${backup_path}/${output}" # link PBF dumps -for dump in /opt/data/api-db-dumps/*; do - ln $dump $backup_path -done +cp -al /opt/data/api-db-dumps/ $backup_path echo "==> osm_api-db-backup.sh END"
bash
d_bash_810
--- +++ @@ -15,7 +15,7 @@ yum -y update yum -y groupinstall "Development tools" - yum -y install openssl-devel + yum -y install openssl-devel wget if [ ! -f /usr/local/bin/python2.7 ]; then wget --no-check-certificate https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
bash
d_bash_811
--- +++ @@ -9,7 +9,8 @@ postgresql-9.4 libpq-dev redis-server redis-tools \ git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties \ graphviz dconf-cli gnome-tweak-tool \ - p7...
bash
d_bash_812
--- +++ @@ -15,7 +15,7 @@ #SBATCH --gres=gpu:{{numberOfGpusPerNode}} {% endif -%} {% if maxWallTime -%} -#SBATCH --time=={{maxWallTime.hours}}-{{maxWallTime.minutes}}:{{maxWallTime.seconds}} +#SBATCH --time={{maxWallTime.hours}}:{{maxWallTime.minutes}}:{{maxWallTime.seconds}} {% endif -%} {% if queue -%} #SBATC...
bash
d_bash_813
--- +++ @@ -13,6 +13,11 @@ repo="https://github.com/docker-library/official-images/raw/master/library/$repo" fi +if [ -n "$ARCH_SPECIFIC_DOCS" ] && archTags="$(bashbrew cat --format '{{ range .Entries }}{{ if .HasArchitecture arch }}{{ .Tags | first }}{{ "\n" }}{{ end }}{{ end }}' "$repo")" && [ -z "$archTags" ]...
bash
d_bash_814
--- +++ @@ -22,7 +22,7 @@ alias rdr='rake db:rollback' alias rroutes='rake routes' alias mroutes='rroutes | mate' -alias rmate='mate *.rb *.yml *.watchr Rakefile README Gemfile *.markdown *.md app bin config doc examples db lib public script spec test stories features' +alias rmate='mate *.rb *.yml *.watchr Rakefi...
bash
d_bash_815
--- +++ @@ -2,7 +2,7 @@ set -e -dartanalyzer --fatal-warnings lib/event_emitter.dart +dartanalyzer --fatal-warnings lib/dart_event_emitter.dart pub run test:test
bash
d_bash_816
--- +++ @@ -19,4 +19,4 @@ ogrisel/python-winbuilder \ sh /opt/.build-trezor.sh -(cd python-trezor/dist ; unzip -o trezor-*.win32.zip) +(cd python-trezor/dist ; ls -la; unzip -o trezor-*.win32.zip)
bash
d_bash_817
--- +++ @@ -10,4 +10,5 @@ make make install echo 'extension=suhosin.so' > /etc/php.d/suhosin.ini +echo 'suhosin.get.max_value_length  = 2048' >> /etc/php.d/suhosin.ini echo "Delete temp files /tmp/suhosin-0.9.38"
bash
d_bash_818
--- +++ @@ -10,9 +10,11 @@ alias gco='git checkout' alias gb='git branch' alias ga='git add' -alias gs='git status -sb' # upgrade your git if -sb breaks for you. it's fun. +alias gs='git status -sb' alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm" alias gchurn='git log --name-only | grep ...
bash
d_bash_819
--- +++ @@ -1,7 +1,13 @@ #!/bin/sh + +echo "installing and setting up rootless podman" set -o nounset set -o errexit sudo pacman --noconfirm -S podman slirp4netns fuse-overlayfs -sudo pacman --noconfirm -S podman-docker + +# FROM: https://github.com/containers/podman/blob/master/docs/tutorials/rootless_tutori...
bash
d_bash_820
--- +++ @@ -8,7 +8,7 @@ fi cd ospi #Change port to 8080 - sed -i 's/"htp": 80,/"htp": 8080,/' data/sd.json + sed -i '' 's/"htp": 80,/"htp": 8080,/' data/sd.json nohup python ospi.py >/dev/null 2>&1 & echo $! > pid sleep 5
bash
d_bash_821
--- +++ @@ -1 +1 @@ -/usr/local/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --debug +/usr/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --debug
bash
d_bash_822
--- +++ @@ -11,7 +11,7 @@ COVERAGE=OFF fi -cmake -H. -Bbuild -DPLATFORM=$PLATFORM -DCONVERAGE=$COVERAGE +cmake -H. -Bbuild -DPLATFORM=$PLATFORM -DCOVERAGE=$COVERAGE cmake --build build # Test on iOS is still unsupported.
bash
d_bash_823
--- +++ @@ -1,19 +1,20 @@ #/bin/bash -function changes_in_git_repo { - latestlocal=`git rev-parse HEAD`; - echo $latestlocal - gitrepourl=`git remote -v | grep fetch | awk '{print $2}'`; - echo $gitrepourl; - latestremote=`git ls-remote --heads $gitrepourl master| awk '{print $1}'`; - echo $latestremote; +cd...
bash
d_bash_824
--- +++ @@ -38,7 +38,7 @@ brew cask install sourcetree brew cask install kitematic brew cask install steam -brew cask install messenger-for-desktop +brew cask install aluxian-messenger brew cask install skype # Meh. brew cask install typora brew cask install duet
bash
d_bash_825
--- +++ @@ -17,5 +17,8 @@ gem install xcode-install rbenv rehash +ls -alR /Users/vmkite/Library/Caches +sudo chown -R vmkite: /Users/vmkite/Library/Caches + xcversion install "$XCODE_VERSION" xcversion cleanup
bash
d_bash_826
--- +++ @@ -17,7 +17,7 @@ sed "s:Leaving directory.*:\tcd \$pwd:g" | \ sed "s:\\([a-zA-Z0-9_-]*\\)+.*:\`\$pwd/sysselect.sh \1\`:" | \ grep $'^\t' | \ - sed 's/.*/echo &\n&/' | \ + sed $'s/.*/echo &\\\n&/' | \ tee -a bootstrap.sh chmod +x bootstrap.sh rm ./xmbld
bash
d_bash_827
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -# Exits with zero status code if the docker image/name:tag is not in the container registry. +# Exits with zero status code if the docker image/name:tag is in the container registry. docker_id=$1 docker_repo=$2 @@ -8,5 +8,3 @@ curl -sf "https://registry.hub.docker.com/v2/repos...
bash
d_bash_828
--- +++ @@ -25,8 +25,8 @@ # modify appearance of dock: remove standard icons, add chrome and iTerm curl https://raw.githubusercontent.com/kcrawford/dockutil/master/scripts/dockutil > /usr/local/bin/dockutil chmod a+rx,go-w /usr/local/bin/dockutil -dockutil --list | awk -F\t '{print "dockutil --remove \""$1"\""}' |...
bash
d_bash_829
--- +++ @@ -21,10 +21,12 @@ OUTFILE=~/.ssh/authorized_keys -if [ -f $OUTFILE ]; then - action $"Public key installed:" `curl http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key > $OUTFILE` -else - exit 1 +if [ ! -f $OUTFILE ]; then + touch $OUTFILE fi +PUBLIC_KEY=`curl http://169.254.16...
bash
d_bash_830
--- +++ @@ -6,6 +6,7 @@ --privileged \ --detach \ --restart always \ + --volume /etc/iscsi:/etc/iscsi \ --volume /lib/modules:/lib/modules \ --volum...
bash
d_bash_831
--- +++ @@ -1,22 +1,12 @@ #!/bin/bash set -eu -o pipefail -# shellcheck disable=SC1091 -readonly OS_ID=$(. /etc/os-release; echo "$ID") -# shellcheck disable=SC1091 -readonly OS_VERSION=$(. /etc/os-release; echo "$VERSION") - echo 'Install hadolint' -if [[ "$OS_ID" = 'ol' ]] && [[ "${OS_VERSION%%.*}" = '6' ]]; t...
bash
d_bash_832
--- +++ @@ -6,9 +6,9 @@ TARBALL=VF785_20140321.tar.xz if [ ! -f ${TARBALL} ]; then - wget http://sourceforge.net/projects/alcatel/files/${TARBALL}/download + wget -O ${TARBALL} http://sourceforge.net/projects/alcatel/files/${TARBALL}/download fi -tar xvfJ ${TARBALL} +tar xpvf ${TARBALL} # EOF
bash
d_bash_833
--- +++ @@ -3,6 +3,7 @@ brew update +brew install swiftlint || brew outdated swiftlint || brew upgrade swiftlint # brew install xctool || brew outdated xctool || brew upgrade xctool brew uninstall --force xctool brew install --HEAD xctool
bash
d_bash_834
--- +++ @@ -3,7 +3,7 @@ # tosses it, at least). completion='$(brew --prefix)/share/zsh/site-functions/_git' -if test -f $completion +if [[ -f $completion ]] then source $completion fi
bash
d_bash_835
--- +++ @@ -12,4 +12,4 @@ mkdir -p /srv/www chown -R www-data:www-data /srv/www chmod -R 755 /srv/www -usermod -G www-data ubuntu +usermod -a -G www-data ubuntu
bash
d_bash_836
--- +++ @@ -8,6 +8,6 @@ apt-get update apt-get --no-install-recommends -y install build-essential ruby1.9.1-full libopenssl-ruby git-core -curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -v 11.8.0 +curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -v 11.10.0 /opt/chef/embedded/b...
bash
d_bash_837
--- +++ @@ -24,3 +24,7 @@ PROMPT='%{$fg[blue]%}%c%{$reset_color%}$ ' RPROMPT='$(git_prompt_info)' + +# Timing App +PROMPT_TITLE='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' +export PROMPT_COMMAND="${PROMPT_COMMAND} ${PROMPT_TITLE}; "
bash
d_bash_838
--- +++ @@ -1,15 +1,13 @@ #!/bin/sh set -ex -cd third_party/crypto +cd third_party/crypto/install_dependencies # get Boost -wget -q http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz; -tar xf boost_1_60_0.tar.gz -mv boost_1_60_0/boost src/. +./install_boost.sh # install relic -./in...
bash
d_bash_839
--- +++ @@ -1,6 +1,7 @@ #!/bin/bash # Sample file .secrets.sh in https://github.com/wilsonmar/git-utilities -# This file name .secrets should be specified in .gitignore so +# referenced by mac-git-install.sh also in https://github.com/wilsonmar/git-utilities +# This file name .secrets.sh should be specified in .gi...
bash
d_bash_840
--- +++ @@ -1,5 +1,25 @@ #!/bin/bash + +WAIT_SERVICE_READY=10 + +function check_service(){ + status=$($WORKDIR/control status) + echo $status | grep -q "stoped" + if [ $? -eq 0 ] ; then + return 1 + else + return 0 + fi +} + tar -zxf $PACKDIR/$PACKFILE -C $WORKDIR cp $CONFIGDIR/$CONFIGFILE $WORKDIR $WO...
bash
d_bash_841
--- +++ @@ -1,22 +1,14 @@ #!/bin/bash -owner="orbit" -repo="orbit" - version=$TAG_VERSION -GH_REPO="https://api.github.com/repos/$owner/$repo" +GH_REPO="https://api.github.com/repos/orbit/orbit" AUTH="Authorization: token $GITHUB_TOKEN" echo Commit all changed work git commit -am "Release version $version an...
bash
d_bash_842
--- +++ @@ -1,6 +1,8 @@ # A script for setting up environment for travis-ci testing. # Sets up Lua and Luarocks. # LUA must be "Lua 5.1", "Lua 5.2" or "LuaJIT 2.0". + +set -e if [ "$LUA" == "LuaJIT 2.0" ]; then wget -O - http://luajit.org/download/LuaJIT-2.0.2.tar.gz | tar xz
bash
d_bash_843
--- +++ @@ -1,8 +1,8 @@ #!/bin/bash if [ "$1" == "" ]; then - echo "Usage: run.sh qualified-class-name [args]" - exit 1 + echo "Usage: run.sh qualified-class-name [args]" + exit 1 fi className=$1 @@ -17,4 +17,9 @@ CLASSPATH=$CLASSPATH:$jar done -java -cp $CLASSPATH $className $* +ADD_MODULES="" ...
bash
d_bash_844
--- +++ @@ -22,6 +22,7 @@ git diff-tree --name-status -r ${ghprbTargetBranch}..${COMMIT} | egrep "^A" | cut -f 2 > addedFiles.txt while read name; do + futurize -f execfile -f filter -f raw_input >> test.patch || true futurize -f idioms $name >> idioms.patch || true done <changedFiles.txt
bash
d_bash_845
--- +++ @@ -1,7 +1,9 @@ #!/usr/bin/env bash # Exit if anything fails... -set -e +# This is temporarily disabled as rustfmt has not yet been updated to handle +# the new 'x86-interrupt' ABI. +# set -e # If this is not a PR then there is nothing to do if [ "$TRAVIS_PULL_REQUEST" == "false" ]
bash
d_bash_846
--- +++ @@ -2,9 +2,9 @@ set -ex -# start the ssh daemon -/usr/sbin/sshd -D # start the docker daemon /usr/local/bin/wrapdocker & +# start the ssh daemon +/usr/sbin/sshd -D
bash
d_bash_847
--- +++ @@ -9,6 +9,12 @@ apt-get install -y \ linux-generic \ virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 +# NOTE: linux-generic contains drm kernel module, which is required for +# vboxvideo kernel module. Without vboxvideo Ubuntu unity graphics will be +# extremely slow. See +# http:/...
bash
d_bash_848
--- +++ @@ -10,11 +10,17 @@ version=`$PYTHON scripts/get_bump_version.py` - if [ -e "__travis_build_id__.txt" ]; then travis_build_id=$(cat __travis_build_id__.txt) - echo $version.$travis_build_id > __conda_version__.txt + if [[ -z "$travis_build_id" ]]; then + # for releases we just need the...
bash
d_bash_849
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: extract.sh,v 1.7 1994/11/10 02:50:42 jkh Exp $ +# $Id: extract.sh,v 1.8 1994/11/10 03:22:27 phk Exp $ DDIR=/ @@ -25,6 +25,6 @@ mv /sbin/init /sbin/nondes_init fi echo "Extracting $b" - cat $b.?? | zcat | ( cd $DDIR ; tar --unlink -xf - ) + cat $b.?? | zcat |...
bash
d_bash_850
--- +++ @@ -1,17 +1,34 @@ SPECIAL_LINE=" == expected js line" +SCRIPT="print('$SPECIAL_LINE'); exit();" +if [[ $OSTYPE == msys* ]]; then + ARGS="-exec:\\\"$SCRIPT\\\"" +else + ARGS="-exec:\"$SCRIPT\"" +fi + # Development version -./gradlew run --args="-exec:\"print('$SPECIAL_LINE'); exit();\"" \ -| grep -q ...
bash
d_bash_851
--- +++ @@ -18,3 +18,5 @@ asdf_install python 3.7.0 https://github.com/tuvistavie/asdf-python asdf_install ruby 2.5.1 https://github.com/asdf-vm/asdf-ruby asdf_install rust 1.28.0 https://github.com/code-lever/asdf-rust.git +asdf_install clojure 1.10.0 https://github.com/vic/asdf-clojure.git +asdf_install golang 1...
bash
d_bash_852
--- +++ @@ -17,6 +17,6 @@ pytest # check auto-gen files up-to-date -# docs/Operators.md python onnx/defs/gen_doc.py -o docs/Operators.md -git diff --exit-code docs/Operators.md +python onnx/gen_proto.py +git diff --exit-code
bash
d_bash_853
--- +++ @@ -1,2 +1,8 @@ hash foo 2>/dev/null && eval "$(gulp --completion=zsh)" + +msim () { + if [[ $1 == 'ios' ]]; then + open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app + fi +}
bash
d_bash_854
--- +++ @@ -15,10 +15,14 @@ # End of lines added by compinstall # Lines configured by zsh-newuser-install HISTFILE=~/.cache/zsh/history -HISTSIZE=1000 -SAVEHIST=1000 +HISTSIZE=10000 +SAVEHIST=1000000 setopt appendhistory bindkey -e # End of lines configured by zsh-newuser-install +# NOTE: don't edit this file...
bash
d_bash_855
--- +++ @@ -4,7 +4,7 @@ artifacts_path=$WORKSPACE/artifacts mkdir -p $artifacts_path log_path=${artifacts_path}/all-machines-${ENV}.log - if juju --show-log scp -e $ENV -- -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" -i $JUJU_HOME/staging-juju-rsa 0:/var/log/juju/all-machines.log $log_pat...
bash
d_bash_856
--- +++ @@ -20,12 +20,9 @@ cd releasebuild git checkout $TAG -dotnet restore src/NodaTime.Serialization.JsonNet -dotnet restore src/NodaTime.Serialization.Test -dotnet restore src/NodaTime.Serialization.Protobuf - dotnet build -c Release -p:SourceLinkCreate=true src/NodaTime.Serialization.JsonNet dotnet build -...
bash
d_bash_857
--- +++ @@ -1,4 +1,4 @@ -##depends:git, python +##depends:none # ZIFA cd ${TMPDIR_PATH}/
bash
d_bash_858
--- +++ @@ -16,6 +16,8 @@ else CFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" ${PYBIN}/pip wheel cryptography -w /io/wheelhouse/ -f /io/wheelhouse ${PYBIN}/pip wheel -r /io/dev-requirements.txt -w /io/wheelhouse/ -f /io/wheelhouse || true + # Do another run allowing ...
bash
d_bash_859
--- +++ @@ -8,6 +8,7 @@ RELEASE_VERSION=`ruby scripts/get-release-version.rb $GO_PIPELINE_COUNTER` CHANGELOG=`ruby scripts/get-release-changelog.rb CHANGELOG.md` +TAG="jumi-$VERSION" mkdir build echo "$RELEASE_VERSION" > build/version @@ -28,3 +29,13 @@ -Dgpg.keyname="$GPG_KEYNAME" \ -Dgpg.passphras...
bash
d_bash_860
--- +++ @@ -31,6 +31,6 @@ brew install postgresql brew cask install google-chrome dropbox 1password karabiner iterm2 slack tunnelbear -brew cask install skype zoomus grammarly +brew cask install skype zoomus grammarly vagrant lastpass exit 0
bash
d_bash_861
--- +++ @@ -24,7 +24,7 @@ ./configure --without-readline --without-zlib --with-CC=clang CC=clang make clangver=$(strings -a ./src/backend/postgres | grep -oe "compiled by.*clang version \([0-9]*\.\)" | sed -e 's/.*[[:space:]]//') - [ "${clangver}" != "4." ] && echo "Wrong clang version found in postgres bin...
bash
d_bash_862
--- +++ @@ -2,8 +2,15 @@ set -e # set -x +# Detect which `ls` flavor is in use +if ls --color > /dev/null 2>&1; then + COLORFLAG="--color=never" +else + COLORFLAG="" +fi + FILES=$( - ls --color=never test/**/*.js test/*.js | \ + ls $COLORFLAG test/**/*.js test/*.js | \ sed "s/test\//.\//g" | \ ...
bash
d_bash_863
--- +++ @@ -5,4 +5,4 @@ touch "$1" fi -open -a /Applications/Emacs.app "$1" +open -a `brew --prefix emacs`/Emacs.app "$1"
bash
d_bash_864
--- +++ @@ -12,3 +12,5 @@ # Generated function definition string failed # $ helloIn() { echo Hello Yourself!;} + +# NOTE: Try-catch output would make manual copy-paste unncessary!
bash
d_bash_865
--- +++ @@ -16,8 +16,6 @@ echo "Installing homebrew packages..." brew install ack brew install cmake -brew install fontconfig -brew install freetype brew install git brew install git-extras brew install heroku-toolbelt @@ -28,8 +26,6 @@ brew install neovim/neovim/neovim brew install nvm brew install openssl ...
bash
d_bash_866
--- +++ @@ -14,8 +14,6 @@ SERVERROOT=$(ssh $1 "pwd") WEBROOT=$SERVERROOT/"$2" -$DIR/../. $1:$WEBROOT/ - rsync -alz --delete --stats --progress --exclude=".env" --exclude=".git" --exclude 'public/content' --exclude 'public/subsites' --exclude 'bower_components' --exclude 'node_modules' $DIR/../. $1:$WEBROOT/ c...
bash
d_bash_867
--- +++ @@ -13,6 +13,17 @@ 'JAVA_HOME="/usr/lib/jvm/java-8-oracle"' \ 'GDAL_DATA="/usr/share/gdal/2.1"' \ 'SEPAL="true"' \ + 'LC_ALL="en_US.UTF-8"' \ + 'LC_PAPER="en_US.UTF-8"' \ + 'LC_ADDRESS="en_US.UTF-8"' \ + 'LC_MONETARY="en_US.UTF-8"' \ + 'LC_NUMERIC="en_US.UTF-8"' \ + 'LC_TELEPH...
bash
d_bash_868
--- +++ @@ -15,4 +15,8 @@ uname -a cc --version ${MAKE} -# Don't run any tests yet +# Some CIs can now run tests, so do that. +if [ -n "${SURF_RUN_TESTS}" ]; then + sudo tests/setup-tests.sh + sudo tests/run-tests.sh +fi
bash
d_bash_869
--- +++ @@ -17,6 +17,7 @@ # Install & tests RUN opam pin add -y --no-action --kind=git cervoise . RUN opam pin add -y --no-action --kind=version llvm "${LLVM_VERSION}${LLVM_VERSION_MICRO}" +RUN opam install -y opam-depext RUN OPAMBUILDTEST=1 opam depext -yi cervoise EOF docker build .
bash
d_bash_870
--- +++ @@ -8,7 +8,7 @@ brew install cmake qt5 bison gettext ninja python3 || echo brew install llvm --with-clang - ./setup.sh + bash ./setup.sh fi
bash
d_bash_871
--- +++ @@ -4,7 +4,7 @@ . /var/lib/adom/etc/config -versions=('100' '111' 'etr' 'lea' 'swp') +versions=('100' '111' 'lea' 'swp') for i in $(seq $MIN_PRE $MAX_PRE); do versions+=("120p$i") done
bash
d_bash_872
--- +++ @@ -14,7 +14,7 @@ echo -e "=================================" echo -e "${lightyellow}Linux${default}GSM_" echo -e "by Daniel Gibbs" -echo -e "${lightblue}Game:${default}${gamename}" +echo -e "${lightblue}Game:${default} ${gamename}" echo -e "${lightblue}Website:${default} https://linuxgsm.com" echo -e "$...
bash
d_bash_873
--- +++ @@ -1,3 +1,3 @@ -export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH" +export PATH="./bin:$ZSH/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
bash
d_bash_874
--- +++ @@ -17,7 +17,18 @@ fi # Get the instance hostname out of the metadata -fqdn=`curl http://169.254.169.254/openstack/latest/meta_data.json 2>/dev/null| python -mjson.tool |grep '"hostname"' | awk '{ print $2 }' | sed 's/,//' | sed 's/"//g'` +data=`curl http://169.254.169.254/openstack/latest/meta_data.json ...
bash
d_bash_875
--- +++ @@ -16,7 +16,7 @@ package="$1" tag="${2-"$package":latest}" -ghc_options=${ghc_options:--static -optl-static -optl-pthread -optl-s} +ghc_options=${ghc_options:--static -optl-static -optl-pthread} socket=/var/run/docker.sock file=Dockerfile @@ -25,6 +25,7 @@ until cabal install --jobs --only-dependenc...
bash
d_bash_876
--- +++ @@ -12,4 +12,8 @@ cp /usr/lib/ipxe/undionly.kpxe /srv/tftp/undionly.kpxe service tftpd-hpa restart +# Setup smartos +cp smartos.ipxe /srv/tftp/smartos.ipxe + +# Change ownership so tftpd can read the files chown -R tftp:tftp /srv/tftp
bash
d_bash_877
--- +++ @@ -16,7 +16,7 @@ if [[ -n "$bumping_changes" ]]; then if git rev-parse $current_version; then set +x - echo "Version $version already exists. Please update version number in setup.py before merging this branch into master." + echo "Version $current_version alr...
bash
d_bash_878
--- +++ @@ -29,5 +29,5 @@ export TINK_SRC_DIR=$(pwd) export TEST_TMPDIR=$(mktemp -d) export TEST_SRCDIR=$(cd ..; pwd) -cd examples/helloworld/cc +cd examples/cc/helloworld ./cmake_build_test.sh
bash
d_bash_879
--- +++ @@ -9,12 +9,19 @@ # Delay in milliseconds DELAY=0 +# Load common features +BENCH_UTIL=$( cd $( dirname $0 )/../util ; /bin/pwd ) +source ${BENCH_UTIL}/tools.zsh + # System settings export TURBINE_DEBUG=0 export ADLB_DEBUG=0 export LOGGING=0 export ADLB_EXHAUST_TIME=1 -export TURBINE_USER_LIB=$( cd ${...
bash
d_bash_880
--- +++ @@ -15,4 +15,4 @@ # Extract strings from all source files. # If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation # system, use $EXTRACT_TR_STRINGS. -$XGETTEXT `find . -name \*.cpp -o -name \*.h -name \*.qml` -o $podir/kross5.pot +$XGETTEXT `find . -name \*.cpp -o -name \*.h -o -nam...
bash
d_bash_881
--- +++ @@ -1,5 +1,6 @@ #!/bin/bash +mkdir .git/hooks cp bin/post-update .git/hooks/ cp bin/post-merge .git/hooks/ cp bin/pre-commit .git/hooks/
bash
d_bash_882
--- +++ @@ -2,14 +2,6 @@ # start initialization once if [ ! -f /home/vagrant/initialization ]; then - - # remove packages - sudo apt-get -q -y remove juju - sudo apt-get -q -y remove ruby - sudo apt-get -q -y remove puppet - sudo apt-get -q -y remove chef - sudo apt-get -q -y autoremove - sudo apt-get -q -...
bash
d_bash_883
--- +++ @@ -13,9 +13,9 @@ tests/peloton_logging_test -t $tuples -b $thread_number -c $do_check tests/peloton_logging_test -t $tuples -b $thread_number -c $do_check -r 1 echo "-----------test with $tuples, thread $thread_number, ON $file_dir------------------" - tests/aries_logging_test -t $tuples -b $thread...
bash
d_bash_884
--- +++ @@ -1,9 +1,9 @@ #!/bin/sh -DOCDIR="/home/tatsh/dev/sutra-doc/documentation" +DOCDIR="/home/tatsh/dev/sutra-doc" FLOURISH="/home/tatsh/dev/php/flourish" SUTRA="/home/tatsh/dev/sutra/classes" -phpdoc -ti "Sutra documentation (generated $(date))" \ +phpdoc -title="Sutra documentation (generated $(date))" \ ...
bash
d_bash_885
--- +++ @@ -2,8 +2,4 @@ # setup for question answering app # start Stanford NER server -_ner_dir='resources/stanford-ner' -java -mx700m -cp "$_ner_dir/stanford-ner.jar" edu.stanford.nlp.ie.NERServer \ - -loadClassifier "$_ner_dir/classifiers/english.muc.7class.distsim.crf.ser.gz" \ - -port 9090 \ - -outputForm...
bash
d_bash_886
--- +++ @@ -1,8 +1,24 @@ #!/usr/bin/env bash + +static=0 +while getopts s opt +do + case $opt in + s) static=1 ;; + *) exit 1 ;; + esac +done if [ ! -e Debug ]; then mkdir Debug fi + +if [ $static -gt 0 ] +then + echo "Using static linking against BlueZ" + export BluezLinkType="static" +fi + cd...
bash
d_bash_887
--- +++ @@ -1,2 +1,3 @@ git config pull.rebase true git config rebase.autoStash true +git config --global url.ssh://git@github.com/.insteadOf https://github.com/
bash
d_bash_888
--- +++ @@ -4,11 +4,7 @@ case "$model" in M1000e) # Root user ID is 1 on CMC. -cat > /tmp/drac_config_user << EOF -[iDRAC.Users.1] -cfgUserAdminPassword=${DEP_MONPASS} -EOF - $racadm config -f /tmp/drac_config_user + $racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 ${DEP_CHPASS} ;; iDRAC...
bash
d_bash_889
--- +++ @@ -35,7 +35,7 @@ Architecture: amd64 Description: $(cat docs/pages/introduction/summary.txt) Homepage: https://github.com/thombashi/tcconfig -Priority: extra +Priority: optional _CONTROL_ fakeroot dpkg-deb --build $DIST_DIR_NAME $DIST_DIR_NAME
bash
d_bash_890
--- +++ @@ -3,7 +3,7 @@ # IDZ_IOS_SDK_VERSION=8.0 IDZ_OPENSSL_VERSION=1.0.1i -IDZ_OPENSSL_URL=http://www.openssl.org/source/ +IDZ_OPENSSL_URL=https://www.openssl.org/source/ IDZ_OPENSSL_SRC_DIR_NAME=openssl-$IDZ_OPENSSL_VERSION IDZ_OPENSSL_TAR=$IDZ_OPENSSL_SRC_DIR_NAME.tar.gz IDZ_OPENSSL_MD5=$IDZ_OPENSSL_TAR.md...
bash
d_bash_891
--- +++ @@ -6,6 +6,7 @@ IK_PLUGINS=$INFRAKIT_HOME/plugins rm -rf $INFRAKIT_HOME +mkdir -p $INFRAKIT_HOME/cli infrakit-flavor-vanilla & infrakit-instance-hyperkit &
bash
d_bash_892
--- +++ @@ -3,4 +3,5 @@ alias vr='vagrant reload' alias vup='vagrant up' alias vp='vagrant provision' +alias vh='vagrant halt' alias vdf='vagrant destroy -f'
bash
d_bash_893
--- +++ @@ -9,4 +9,4 @@ export GOPATH GOPATH="${GOPATH}:$(pwd)}" godep restore -go test -ginkgo.v +go test
bash
d_bash_894
--- +++ @@ -3,7 +3,7 @@ echo "==> Installing VirtualBox guest additions" -dnf -y install kernel-headers-$(uname -r) kernel-devel-$(uname -r) gcc make perl +dnf -y install kernel-headers-$(uname -r) kernel-devel-$(uname -r) elfutils-libelf-devel gcc make perl VBOX_VERSION=$(cat /home/vagrant/.vbox_version) mo...
bash
d_bash_895
--- +++ @@ -11,7 +11,7 @@ fi echo "Updating plugins ..." -vim +PluginInstall +qall +vim +PluginUpdate +qall echo "Cleaning up plugins ..." vim +PluginClean +qall
bash
d_bash_896
--- +++ @@ -6,7 +6,8 @@ # Add the number of commits after last tag to the version string add_commits=$(git describe | cut -d'-' -f2) -sed -i "/ \"version/s/\"$/-${add_commits}\"/" ${VERSION_FILE} +rev=$(git describe | cut -d'-' -f3) +sed -i "/ \"version/s/\"$/.${add_commits}+${rev}\"/" ${VERSION_FILE} # Remove...
bash
d_bash_897
--- +++ @@ -15,5 +15,8 @@ # Install npm dependencies npm install +# Build the assets +npm run build + # Start index.js with the name wdots-website pm2 start index.js --name wdots-website -- --port 80
bash
d_bash_898
--- +++ @@ -2,3 +2,17 @@ sudo mkdir -p /mnt/pd0 sudo /usr/share/google/safe_format_and_mount -m "mkfs.ext4 -F" /dev/disk/by-id/google-skia-autoroll-data /mnt/pd0 sudo chmod 777 /mnt/pd0 + +pushd /home/default +# Install depot_tools if needed. +if [[ ! -d depot_tools ]]; then + sudo -u default git clone https://ch...
bash
d_bash_899
--- +++ @@ -3,9 +3,9 @@ gcc -shared -fPIC SetSerial.c -o libSetSerial -v # Create path if needed -mkdir -p ../../../../bin/Debug/ -mkdir -p ../../../../bin/Release/ +mkdir -p ../../bin/Debug/ +mkdir -p ../../bin/Release/ # Copy to MatterControl build directories -cp libSetSerial* ../../../../bin/Debug/ -cp lib...
bash