document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_7300
--- +++ @@ -16,4 +16,4 @@ # We remove any natively installed JDKs, as both Cloudera Manager and Cloudera Director only support Oracle JDKs yum remove --assumeyes *openjdk* -rpm -ivh "http://archive.cloudera.com/director/redhat/7/x86_64/director/2.1.0/RPMS/x86_64/oracle-j2sdk1.8-1.8.0+update60-1.x86_64.rpm" +rpm -...
bash
d_bash_7301
--- +++ @@ -20,21 +20,19 @@ brew install --cask docker brew install --cask google-chrome brew install --cask iterm2 -brew install --cask sourcetree brew install --cask vlc brew install --cask google-japanese-ime -brew install --cask swimat brew install --cask spotify brew install --cask imageoptim -brew instal...
bash
d_bash_7302
--- +++ @@ -25,6 +25,7 @@ JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${BASE_DIR}/lib" JAVA_OPT="${JAVA_OPT} -Drocketmq.namesrv.domain=rocketmq.api" JAVA_OPT="${JAVA_OPT} -Dssl_key.password=" +JAVA_OPT="${JAVA_OPT} -Denable_ssl=true" JAVA_OPT="${JAVA_OPT} -cp ${CLASSPATH}" $JAVA ${JAVA_OPT} $@
bash
d_bash_7303
--- +++ @@ -1,4 +1,7 @@ #!/bin/sh + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +cd $DIR # Tear down and clean up all DataHub-related containers, volumes, and network docker-compose -p datahub down -v
bash
d_bash_7304
--- +++ @@ -2,6 +2,7 @@ # Source this to add additional shell features for mpv. alias mpvnova='mpv --no-video' +alias mpvp='mpv --no-video --shuffle --loop inf --playlist' playdir() { mpv --no-video --shuffle --loop inf \
bash
d_bash_7305
--- +++ @@ -31,7 +31,7 @@ cd .. if test $1 = release; then - pod trunk push AudioKit.podspec.json --verbose + pod trunk push AudioKit.podspec.json --verbose --allow-warnings else # Staging pod repo push ak-specs AudioKit.podspec.json --verbose fi
bash
d_bash_7306
--- +++ @@ -3,15 +3,47 @@ PROJECT=failsafe -mvn javadoc:javadoc -Djv=$apiVersion -rm -rf target/docs -git clone git@github.com:jhalterman/$PROJECT.git target/docs -b gh-pages -cd target/docs -git rm -rf javadoc -mkdir -p javadoc -mv -v ../site/apidocs/* javadoc -git add -A -f javadoc -git commit -m "Updated Java...
bash
d_bash_7307
--- +++ @@ -17,7 +17,7 @@ export GOPATH=/var/nsinit mkdir -p $GOPATH apt-get install -y -qq build-essential -go get github.com/docker/libcontainer/nsinit/nsinit +go get github.com/docker/docker/vendor/src/github.com/docker/libcontainer/nsinit/nsinit if [ ! -e /usr/sbin/nsinit ]; then ln -s /var/nsinit/bin/nsin...
bash
d_bash_7308
--- +++ @@ -21,7 +21,7 @@ yum -y install man nc vim nano emacs tmux htop tree lsof curl wget screen telnet mailx unzip yum-utils rsync ncdu mosh ccze pv rlwrap #Some metrics gathering tools -yum -y install apachetop atop dstat sysstat glances iotop smartmontools +#yum -y install apachetop atop dstat sysstat glanc...
bash
d_bash_7309
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh KERL_INSTALL_PATH=~/erlang -KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03 r16b03-1 maint master" +KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03-1 17.0 maint master" make build-tests
bash
d_bash_7310
--- +++ @@ -10,9 +10,11 @@ # If not ... install the drivers and restart echo $1 NVIDIA_RUNNER=$1 + cp $NVIDIA_RUNNER /rootfs chroot /rootfs ./$NVIDIA_RUNNER --ui=none --no-questions --accept-license # We want to overwrite, not append since the default # value of this file w our current AMI is just 'exit 0...
bash
d_bash_7311
--- +++ @@ -7,6 +7,6 @@ git add ./../pubspec.yaml && git commit -m "Bump version" && git tag "v$version" && -git push ${SERVER_ALIAS} ${CURRENT_BRANCH} --tags && +git push origin ${CURRENT_BRANCH} --tags && echo "\nDone v$PREV_VERSION => v$version." && exit 1
bash
d_bash_7312
--- +++ @@ -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_7313
--- +++ @@ -18,20 +18,14 @@ if [[ ${OS_ID:-} == 'ol' && ${OS_VERSION%%.*} -eq 8 ]]; then podman pull ghcr.io/linuxserver/docker-compose:latest sudo cp "$(dirname "$0")/../bin/docker-compose" /usr/local/bin/docker-compose + sudo chmod +x /usr/local/bin/docker-compose + # Docker Compose 1.29.2 is the latest Do...
bash
d_bash_7314
--- +++ @@ -27,3 +27,7 @@ cider restore + + +# Stop Responding to Key Presses +launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
bash
d_bash_7315
--- +++ @@ -2,7 +2,7 @@ include String/Util/StringUtil.sh MessageBuilderUtil(){ - local time=$(BaseUtil timestamp) + local time=$(BaseUtil timestamp log) buildMessage(){ echo "${time} [$(StringUtil toUpperCase ${1})] $(StringUtil
bash
d_bash_7316
--- +++ @@ -21,8 +21,10 @@ version=`grep '^VERSION' namebench-$$/libnamebench/version.py | cut -d\' -f2` mv namebench-$$ namebench-$version cd namebench-$version +svn log > ChangeLog.txt & ./namebench.py -q5 -j50 -x -o /tmp/$$.csv -O 8.8.8.8 -svn log > ChangeLog.txt +echo "Waiting for changelog" +wait find . -na...
bash
d_bash_7317
--- +++ @@ -27,5 +27,6 @@ ) DEBS=( \ debian-8 \ + debian-8-aarch64 \ ubuntu-16.04 \ )
bash
d_bash_7318
--- +++ @@ -8,17 +8,17 @@ # Check requirements! if ! hash go 2>/dev/null; then echo "ERROR: go required" - exit 0 + exit 1 fi if ! hash docker 2>/dev/null; then echo "ERROR: docker required" - exit 0 + exit 1 fi if ! hash kubectl 2>/dev/null; then echo "ERROR: kubectl required" - exit 0 + exi...
bash
d_bash_7319
--- +++ @@ -5,3 +5,19 @@ # be run after the Homestead machine is provisioned. echo "Running after.sh" #!/bin/sh +apt-get -y install phantomjs screen +mysql -u root -pvagrant -e "GRANT ALL PRIVILEGES ON homestead.* TO 'homestead'@'%' IDENTIFIED BY 'secret'" +echo "Set Travis privs" +(crontab -l 2>/dev/null; echo "@...
bash
d_bash_7320
--- +++ @@ -8,9 +8,9 @@ CMAKE_G_A_FLAGS=('-G' 'Visual Studio 14 2015' '-A' 'x64') ;; *) + CMAKE_G_A_FLAGS=() # Work around a bug in older versions of bash. :/ set +u - CMAKE_G_A_FLAGS=() ;; esac
bash
d_bash_7321
--- +++ @@ -23,7 +23,7 @@ apt-get update apt-get -y install sudo python-pip python-dev libxml2-dev libxslt-dev libffi-dev pip install pbr -apt-get install + cd neutron python setup.py install -O2 --prefix=/usr --exec-prefix=/usr mv /usr/etc/neutron /etc @@ -34,6 +34,7 @@ cp -rfp etc/nova /etc cd .. +pip in...
bash
d_bash_7322
--- +++ @@ -7,7 +7,7 @@ echo -e "\033[33mCongratulations!\033[0m You've successfully run your first build on Buildbox! 👍 -$ASCII +\e033[33m$ASCII\e033[0m If you need any more help, please email us at hello@buildbox.io
bash
d_bash_7323
--- +++ @@ -11,7 +11,7 @@ VERSION=$(git describe --tags) VERSION=${VERSION##v} -INDEX_PATH="/google-stackdriver-debugger/index.yml" +INDEX_PATH="/google-stackdriver-debugger/$PLATFORM/x86_64/index.yml" UPLOAD_PATH="/google-stackdriver-debugger/$PLATFORM/x86_64/google-stackdriver-debugger-$VERSION.tar.gz" tran...
bash
d_bash_7324
--- +++ @@ -16,7 +16,7 @@ wget -nv "$kojipath/$pkg" fi done - comm -13 <(sort <<< "$files") <(ls -1 *.rpm | sort) | xargs rm + comm -13 <(sort <<< "$files") <(ls -1 *.rpm | sort) | xargs --no-run-if-empty rm popd }
bash
d_bash_7325
--- +++ @@ -14,7 +14,19 @@ # License for the specific language governing permissions and limitations under # the License. -# Remove UDEV persistent network rules +# Disable automatic udev rules for network interfaces in Ubuntu, +# source: http://6.ptmc.org/164/ rm -f /etc/udev/rules.d/70-persistent-net.rules +mk...
bash
d_bash_7326
--- +++ @@ -5,7 +5,7 @@ # Add the openc_bot to the Gemfile: if [ ! -f Gemfile ]; then echo "source 'https://rubygems.org'" >> Gemfile - echo "gem 'openc_bot', :git => 'https://github.com/openc/openc_bot.git'" >> Gemfile + echo "gem 'openc_bot', :git => 'https://github.com/openc/openc_bot.git', :branch => 'comp...
bash
d_bash_7327
--- +++ @@ -1,4 +1,4 @@ -#!/usr/bin/zsh +#!/bin/zsh # Shamelessly copied from oh my zsh printf '\033[0;34m%s\033[0m\n' "Upgrading Dotfiles"
bash
d_bash_7328
--- +++ @@ -11,9 +11,10 @@ directory=opus-$1 svn export http://opus.googlecode.com/svn/trunk $directory -tar -czf opus-$1-source.tgz $directory find $directory -name "AssemblyInfo.cs" | xargs sed 's/AssemblyInformationalVersion("[0-9.]*")/AssemblyInformationalVersion("'$1'")/g' -i + +tar -czf opus-$1-source.tg...
bash
d_bash_7329
--- +++ @@ -10,9 +10,9 @@ cd $MY_PATH cd .. -git pull -make +#git pull +#make -rsync ./data/solarpi.csv rsync://192.168.178.36/data/solarpi +rsync -z ./data/solarpi.csv rsync://192.168.178.36/data/solarpi /sbin/ifdown wlan0
bash
d_bash_7330
--- +++ @@ -1,9 +1,9 @@ #!/bin/bash echo "prepare some variables" -echo "bamboo_planRepository_branchName=$bamboo_planRepository_branchName" +echo "bamboo_osm_branch_to_merge=$bamboo_osm_branch_to_merge" echo "########################################'" -echo "start bamboo job to merge $bamboo_planRepository_bran...
bash
d_bash_7331
--- +++ @@ -1,5 +1,8 @@ export PATH="/usr/local/bin:/usr/local/sbin:$DOTFILES/bin:$PATH" -export PATH="$HOME/Christophe/bin:$PATH" -export PATH="$HOME/Christophe/apps/play:$PATH" +if [ -d "$HOME/Christophe/bin" ]; then + export PATH="$HOME/Christophe/bin:$PATH" +elif [ -d "$HOME/bin" ]; then + export PATH="$HOME/b...
bash
d_bash_7332
--- +++ @@ -21,6 +21,11 @@ export HOME=/home/marv cd $MARV_SITE + +if [[ -d code ]]; then + find code -maxdepth 2 -name setup.py -execdir su -c "$MARV_VENV/bin/pip install -e ." marv \; +fi + if [[ -n "$MARV_INIT" ]] || [[ ! -e db ]]; then su - marv -p -c '/opt/marv/bin/marv --config "$MARV_CONFIG" init'...
bash
d_bash_7333
--- +++ @@ -3,7 +3,7 @@ ####################################################### # - #Call soureces # + #Call soureces # # ############...
bash
d_bash_7334
--- +++ @@ -10,11 +10,11 @@ echo "Deleting content of" $path mv $path/res /tmp/res mv $path/userSettings /tmp/userSettings - rm -rf $path/* + rm -rf $path/ mv /tmp/res $path/res mv /tmp/userSettings $path/userSettings echo "Copying www to " $path - cp -R www/* $path/ + cp -R www/ $path/ echo ...
bash
d_bash_7335
--- +++ @@ -12,7 +12,7 @@ rustup set profile minimal rustup component remove --toolchain=$TOOLCHAIN rust-docs || echo "already removed" -rustup update $TOOLCHAIN +rustup update --no-self-update $TOOLCHAIN rustup default $TOOLCHAIN rustup -V rustc -Vv
bash
d_bash_7336
--- +++ @@ -6,3 +6,4 @@ echo "quit" >> impact.bat impact -batch impact.bat +rm -f impact.bat
bash
d_bash_7337
--- +++ @@ -1,4 +1,6 @@ #!/bin/sh + +umask 002 # From working directory, copy .tgz mac.binary R packages to a # local R package repository
bash
d_bash_7338
--- +++ @@ -13,6 +13,10 @@ pip3 --version brew install albertosottile/syncplay/pyside + +# Explicitly install Qt 5.13.1 as that has both 10.12 compatibility, and a pre-built bottle +brew upgrade https://raw.githubusercontent.com/Homebrew/homebrew-core/dcc34dd3cb24cb4f7cfa0047ccdb712d7cc4c6e4/Formula/qt.rb + pyth...
bash
d_bash_7339
--- +++ @@ -31,7 +31,4 @@ # Redis apt-get install -y redis-server ps aux | grep [r]edis-server &> /dev/null -if [ $? != 0 ]; then - # Start Redis server if it's not already running - redis-server & -fi +redis-server &
bash
d_bash_7340
--- +++ @@ -3,7 +3,7 @@ echo vagrant:bascht | /usr/sbin/chpasswd find /home/vagrant mv /home/vagrant/.ssh /home/bascht/.ssh -find /home/bascht -xdev -exec chown vagrant:vagrant {} + +find /home/bascht -xdev ! -type l -exec chown 1000:1000 {} + sed -i s/vagrant/bascht/g /etc/passwd sed -i s/vagrant/bascht/g /etc/...
bash
d_bash_7341
--- +++ @@ -6,16 +6,21 @@ zfs create ${DDS}/www || true zfs create ${DDS}/mysql || true - zfs set mountpoint=/var/www ${DDS}/www - zfs set mountpoint=/var/mysql ${DDS}/mysql + if ! zfs get -o value -H mountpoint ${DDS}/www | grep -q /var/www; then + zfs set mountpoint=/var/www ${DDS}/www + fi + if ! zfs get ...
bash
d_bash_7342
--- +++ @@ -5,8 +5,6 @@ VPATCH=`cut -d. -f1,2,3 VERSION` VMINOR=`cut -d. -f1,2 VERSION` VMAJOR=`cut -d. -f1 VERSION` - -echo ' /* whatever */ ' >> dist/mapzen.css if aws s3 ls "s3://${BUCKET}/js/${VPATCH}/mapzen.min.js"; then echo "s3://${BUCKET}/js/${VPATCH}/mapzen.min.js already exits, checking diffs..."
bash
d_bash_7343
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh URL=`curl -s https://www.enlaradio.com.ar/listen/radio-am750_1147 | grep source | grep -Po 'src="\K.*?(?=")'` -HOME=/var/www/venganzasdelpasado.com.ar/st +DIR=/var/www/venganzasdelpasado.com.ar/st -./with_ffmpeg.sh $URL $HOME +/var/www/venganzasdelpasado.com.ar/current/script/w...
bash
d_bash_7344
--- +++ @@ -3,12 +3,19 @@ # shellcheck disable=SC1091 readonly OS_ID=$(. /etc/os-release; echo "$ID") +# shellcheck disable=SC1091 +readonly OS_VERSION=$(. /etc/os-release; echo "$VERSION") # Install Make case $OS_ID in ol) sudo yum -y install make - [[ -e /usr/bin/ol_yum_configure.sh ]] && sudo /u...
bash
d_bash_7345
--- +++ @@ -18,7 +18,7 @@ if [[ "${CXX}" == clang* ]] then - BUILD_FLAGS="${BUILD_FLAGS} -DCMAKE_CXX_FLAGS=-stdlib=libc++ -I/usr/include/libcxxabi" + BUILD_FLAGS="${BUILD_FLAGS} -DCMAKE_CXX_FLAGS=-stdlib=libc++ -I/usr/local/clang-3.9.0/include/c++/v1/" echo "*** Searching for cxxabi.h ***"
bash
d_bash_7346
--- +++ @@ -11,7 +11,7 @@ docker run --rm -v $BASE_DIR/.ci/output:/code/elasticsearch-py/dist \ elastic/elasticsearch-py \ python /code/elasticsearch-py/utils/build-dists.py $2 - cd ./.ci/output && tar -cvf elasticsearch-py-$2.tar.gz * && cd - + cd ./.ci/output && tar -czvf elasticsearch-py-$2.tar.gz...
bash
d_bash_7347
--- +++ @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -euf -o pipefail + +DOCKER_USER=ubuntu # Add Docker’s official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - @@ -14,4 +16,4 @@ apt-get update && sudo apt-get install -y docker-ce # Use Docker without root -usermod -aG d...
bash
d_bash_7348
--- +++ @@ -1,24 +1,27 @@ #!/bin/sh -echo "Starting Backup" >> /var/log/cron.log +echo "Starting Backup" +# Do not save full backup log to logfile but to backup-last.log restic backup /data --tag=${RESTIC_TAG?"Missing environment variable RESTIC_TAG"} > /var/log/backup-last.log 2>&1 rc=$? +echo "Finished backu...
bash
d_bash_7349
--- +++ @@ -2,5 +2,5 @@ . $(dirname $0)/../assert.sh ### murano-agent service is installed and not running (return code 3) -assert_raises "service murano-agent status" 3 +assert_raises "systemctl status murano-agent" 3 assert_end "murano-agent is installed and disabled"
bash
d_bash_7350
--- +++ @@ -8,5 +8,5 @@ fi if [ -e Ricty-Regular.ttf ]; then - cp Ricty*.ttf LICENSE README.md /out + cp -r Ricty*.ttf LICENSE README.md /out fi
bash
d_bash_7351
--- +++ @@ -4,4 +4,4 @@ sudo killall -9 sass 2> /dev/null sleep 10 echo "Starting SASS compiler..." -sass --watch /home/vagrant/www/sass/main.sass:/home/vagrant/www/static/css/main.css > /home/vagrant/parentDir/outputSASS.log 2> /home/vagrant/parentDir/errorSASS.log & +sass --poll --watch /home/vagrant/www/sass/ma...
bash
d_bash_7352
--- +++ @@ -4,6 +4,7 @@ sudo iptables -I INPUT -s 0/0 -p tcp --dport 8300 -j ACCEPT sudo iptables -I INPUT -s 0/0 -p tcp --dport 8301 -j ACCEPT sudo iptables -I INPUT -s 0/0 -p tcp --dport 8302 -j ACCEPT +sudo iptables -I INPUT -s 0/0 -p tcp --dport 8400 -j ACCEPT if [ -d /etc/sysconfig ]; then sudo iptables...
bash
d_bash_7353
--- +++ @@ -15,7 +15,7 @@ fi # Hard-code this for now. -TS_TAG=v2.7.2 +TS_TAG=v$(node -p 'require("typescript/package.json").version') if [ ! -d typescript-compiler ] then
bash
d_bash_7354
--- +++ @@ -30,3 +30,28 @@ do_submenu("Terminal", "Shell", "New Tab", 1) EOF } + +function itab() { +savepath +osascript >/dev/null <<EOF +on do_submenu(app_name, menu_name, menu_item) + -- bring the target application to the front + tell application app_name + activate + end tell + tell applicati...
bash
d_bash_7355
--- +++ @@ -11,6 +11,11 @@ PRODUCTION_FOLDER="/srv/www/corly-other" TEST_CONFIG_FILE="./corly/dao/base/Config2.xml" CONFIG_FILE="./corly/dao/base/Config.xml" +MAIL_ADDRESS="muller@redhat.com" +if [ ! -z "$1" ] +then + MAIL_ADDRESS=$1 +fi sed "s/database=\"[a-z0-9A-Z]*\"/database=\"$DATABASE\"/g" $CONFIG_FILE > $...
bash
d_bash_7356
--- +++ @@ -5,7 +5,7 @@ # Copyright © 2014-2016 R.F. Smith <rsmith@xs4all.nl>. # SPDX-License-Identifier: MIT # Created: 2014-02-27T00:15:14+0100 -# Last modified: 2019-02-20T16:23:35+0100 +# Last modified: 2019-07-08T09:23:29+0200 if [ $# -lt 1 ]; then echo "Usage: $(basename $0) file" @@ -26,7 +26,7 @@ ...
bash
d_bash_7357
--- +++ @@ -12,7 +12,7 @@ echo 'y' | apt-get autoremove echo "== Installing dev packages" -echo 'y' | apt-get install clang cmake cppcheck curl git vim nodejs npm +echo 'y' | apt-get install clang cmake cppcheck curl git vim echo "== Autoremove" echo 'y' | apt-get autoremove
bash
d_bash_7358
--- +++ @@ -15,7 +15,7 @@ local -i current integer branch_limit - zstyle -s 'git:branch:recent' 'limit' branch_limit || branch_limit=100 + zstyle -s ":completion:${curcontext}:recent-branches" 'limit' branch_limit || branch_limit=100 current=0 for branch in $(__git_recent_branches) do
bash
d_bash_7359
--- +++ @@ -2,10 +2,20 @@ # # @file Mac specific shell aliases. -alias cdf='cd "$(printfd)"' # Switch to directory selected in finder -alias puf='pushd "$(printfd)"' # Push finder directory to the stack -alias hide="chflags hidden" # Hide a file in Finder -alias show="chflags nohidden" # Show a file in F...
bash
d_bash_7360
--- +++ @@ -4,11 +4,22 @@ . ./lib/sharness/sharness.sh -test_expect_success "retrieve a cat gif" " +test_expect_success "retrieve a known popular single file" " ipget QmQ2r6iMNpky5f1m4cnm3Yqw8VSvjuKpTcK1X7dBR1LkJF/cat.gif && echo 'c5ea0d6cacf1e54635685803ec4edbe0d4fe8465' > expected && sha1sum cat...
bash
d_bash_7361
--- +++ @@ -14,5 +14,8 @@ # install the other dependencies npm install +# delete the old tarball, if it exists +rm -f matrix-react-sdk-*.tgz + # build our tarball npm pack
bash
d_bash_7362
--- +++ @@ -1,5 +1,3 @@ #! /usr/bin/env bash -find gstreamer/ -maxdepth 1 -name "*.cpp" -print > files -find gstreamer/ -maxdepth 1 -name "*.h" -print >> files -$XGETTEXT_QT --copyright-holder=This_file_is_part_of_KDE --msgid-bugs-address=https://bugs.kde.org --files-from=files -o $podir/phonon_gstreamer.pot -rm fil...
bash
d_bash_7363
--- +++ @@ -15,8 +15,8 @@ mkdir -p $tmpdir # test parsing of valid file using qcparse -./bin/qcparse ./data/valid.fastq >$tmpdir/valid.fastq -cmp --silent ./data/valid.fastq $tmpdir/valid.fastq +./bin/qcparse ./data/valid_il.fastq >$tmpdir/valid.fastq +cmp --silent ./data/valid_il.fastq $tmpdir/valid.fastq # c...
bash
d_bash_7364
--- +++ @@ -10,7 +10,7 @@ NODE_MODULES_DIR=/mapic/modules/engine/node_modules if [ ! -d "$NODE_MODULES_DIR" ]; then echo "Installing node modules..." - npm install || abort "Failed to install node modules. Quitting!" + npm install --silent || abort "Failed to install node modules. Quitting!" fi
bash
d_bash_7365
--- +++ @@ -1,6 +1,7 @@ #! /bin/bash INPUTFILE=/user/crogers/results-name-ethnic-dump-2015-10-01-2015-12-01-aman.seq +OUTPUTFILE=results-name-ethnic-dump-2015-10-01-2015-12-01-aman-token-counts.txt echo "Submitting the j...
bash
d_bash_7366
--- +++ @@ -1,3 +1,5 @@ +include string.util.StringUtil + @class AppServerVersionConstants(){ GLASSFISH_VERSION(){ @@ -44,5 +46,11 @@ echo "10.0.0" } + if [[ ${1} == *Version ]]; then + $(StringUtil toUpperCase ${1//Version/}_VERSION) + + shift + fi + $@ }
bash
d_bash_7367
--- +++ @@ -3,7 +3,7 @@ # Do some build configuration after processing command line # and user settings file -if (( ${PARALLEL} && ${MAKE_PARALLELISM} == 1)) +if (( ${PARALLEL} )) then # Auto-configure parallelism based on /proc/cpuinfo if [[ -f /proc/cpuinfo ]]
bash
d_bash_7368
--- +++ @@ -9,6 +9,7 @@ iterm2 slack seil + spectacle, spotify virtualbox vlc
bash
d_bash_7369
--- +++ @@ -9,6 +9,11 @@ echo "23" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio23/direction echo "1" > /sys/class/gpio/gpio23/value + + # ILIM_SEL = ILIM_LO (1A) + echo "504" > /sys/class/gpio/export + echo "out" > /sys/class/gpio/gpio504/direction + echo "0" > /sys/class/gpio...
bash
d_bash_7370
--- +++ @@ -13,12 +13,20 @@ #Install docker compose curl -L https://github.com/docker/compose/releases/download/1.4.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose - mkdir -p /opt/docker-compose - rm -rf /opt/docker-compose/* + mkdi...
bash
d_bash_7371
--- +++ @@ -5,8 +5,8 @@ # TODO: Boost, Python and ffmpeg are stored in repository as precompiled binaries, the proper way to fix that is to build them using scripts, and remove that binaries # --exclude="*.a" --exclude="*.so" -tar -c -z --exclude-vcs --exclude="*.o" --exclude="*.d" --exclude="*.dep" \ --f $APPNAM...
bash
d_bash_7372
--- +++ @@ -20,8 +20,10 @@ Add :LSApplicationQueriesSchemes:7 string 'fbapi20140116' Add :LSApplicationQueriesSchemes:8 string 'fbapi20150313' Add :LSApplicationQueriesSchemes:9 string 'fbapi20150629' -Add :LSApplicationQueriesSchemes:10 string 'fbauth' -Add :LSApplicationQueriesSchemes:11 string 'fbauth2' +Add :L...
bash
d_bash_7373
--- +++ @@ -3,7 +3,7 @@ EMAIL=${EMAIL:-name@example.com} cat << EOF > /etc/Caddyfile -$HOST:80 +$HOST gzip root /var/www/html
bash
d_bash_7374
--- +++ @@ -7,7 +7,7 @@ mv -v /tmp/vmx*/images/junos-vmx*qcow2 /vmx/ # 16.1 and newer mv -v /tmp/vmx*/images/jinstall64-vmx*img /vmx/ # vFPC / vPFE -mv -v /tmp/vmx*/images/vPFE-2*.img /vmx/vfpc.img # 14.1 +mv -v /tmp/vmx*/images/vPFE-lite-*.img /vmx/vfpc.img # 14.1 mv -v /tmp/vmx*/images/vFPC*.img /vmx/vfpc.img ...
bash
d_bash_7375
--- +++ @@ -13,5 +13,4 @@ alias pubkey="clipcopy ~/.ssh/id_rsa.pub | echo '=> Public key copied to pasteboard.'" # Convert vi and vim to nvim -alias vi="nvim" -alias vim="nvim" +alias vi="vim"
bash
d_bash_7376
--- +++ @@ -3,6 +3,9 @@ if [ ! -d "$HOME/.yadr" ]; then echo "Installing YADR for the first time" git clone --depth=1 https://github.com/333fred/dotfiles_yadr.git "$HOME/.yadr" + if [ ! -z "$1" ]; then + git checkout "$1" + fi cd "$HOME/.yadr" [ "$1" = "ask" ] && export ASK="true" ...
bash
d_bash_7377
--- +++ @@ -16,7 +16,7 @@ done fi -if [ -e "./work.sh" ] +if [ -e "./work.zsh" ] then - source "./work.sh" + source "./work.zsh" fi
bash
d_bash_7378
--- +++ @@ -6,7 +6,7 @@ GIT_COMMIT = `git rev-parse HEAD` /bin/bash ./build_documentation.sh > /dev/null 2>&1 git checkout --orphan gh-pages - mkdir old ; mv * old/ ; mv old/exotica/doc/_build/html/* . ; rm -rf old ; touch .nojekyll ; rm -rf .ci ; rm .clang-format .travis.yml .gitmod...
bash
d_bash_7379
--- +++ @@ -8,6 +8,7 @@ xorg \ libx11-dev libxft-dev libxinerama-dev xdm suckless-tools dmenu \ cmake pkg-config libfreetype6-dev libfontconfig1-dev libxfixes-dev libxcb-xfixes0-dev python3 \ + xsel \ zsh tmux neovim python3-neovim \ neomutt \ isync \
bash
d_bash_7380
--- +++ @@ -25,6 +25,8 @@ # stopping and removing docker containers for container in `cat $thisFolder/dockerContainerCeph.$EXECUTOR_NUMBER.swift`; do + docker logs $container + echo "Stopping and removing docker container $container" # kills running container and removes it docker rm -f $contain...
bash
d_bash_7381
--- +++ @@ -6,9 +6,9 @@ cd .. -for LEGAL_URL_FILE_RELC in */legal.url +for MARKER_FILE_RELC in */write_overview_index_html.sh do - REPO_DIR_ABS="$PWD/$(dirname "$LEGAL_URL_FILE_RELC")" + REPO_DIR_ABS="$PWD/$(dirname "$MARKER_FILE_RELC")" section "$(basename "$REPO_DIR_ABS")"
bash
d_bash_7382
--- +++ @@ -4,7 +4,9 @@ version=`grep '^WINETRICKS_VERSION' < winetricks | sed 's/.*=//'` echo Pushing version $version -tar -czvf winetricks-$version.tgz winetricks +# FIXME: Should adjust version and date in man page? +# FIXME: making the tarball should probably be the responsibility of 'make tarball' +tar -czv...
bash
d_bash_7383
--- +++ @@ -11,11 +11,11 @@ rm ${USERJSEXT} # Copy userscripts from Firefox's user profile directory -find "${FXPROFILE}" -type f -iname "${USERJSEXT}" -ipath "*/scriptish_scripts/*" -exec cp {} . \; +find "${FXPROFILE}" -type f -iname "${USERJSEXT}" -ipath "*/*_scripts/*" -exec cp {} . \; # Remove userscrip...
bash
d_bash_7384
--- +++ @@ -7,6 +7,10 @@ [[ -s "/opt/local/bin" ]] && export PATH=/opt/local/bin:$PATH [[ -s "/usr/local/bin" ]] && export PATH=/usr/local/bin:$PATH + +if [[ `uname` == Darwin ]]; then + alias pt='pstree' +fi # I dropped rvm a few days ago, so shell won't add append BUNDLE_BIN path to the # PATH when changin...
bash
d_bash_7385
--- +++ @@ -17,6 +17,10 @@ set -e +# Container Builder changes the home directory, so make sure the global +# .tool-versions file is replicated there. +test "${HOME}" = "/root" || cp /root/.tool-versions ${HOME}/ + WORKSPACE_DIR=$(/bin/pwd) cd /app ./generate_dockerfile \
bash
d_bash_7386
--- +++ @@ -1,5 +1,4 @@ #!/bin/bash -set -e WORKSPACE_DIR=$( cd $(dirname $0)/.. ; pwd ) QT_SRC_DIR=$WORKSPACE_DIR/qt/qt-envision-enhancements
bash
d_bash_7387
--- +++ @@ -7,5 +7,6 @@ && sudo jekyll serve \ --watch \ --port 80 \ + --force_polling \ --drafts \ --config _config-dev.yml
bash
d_bash_7388
--- +++ @@ -7,8 +7,10 @@ readonly name="EVPath" readonly ownership="EVPath Upstream <robot@adios2>" readonly subtree="thirdparty/EVPath/EVPath" -readonly repo="https://github.com/GTkorvo/EVPath.git" -readonly tag="master" +#readonly repo="https://github.com/GTkorvo/EVPath.git" +#readonly tag="master" +readonly rep...
bash
d_bash_7389
--- +++ @@ -6,6 +6,7 @@ # Keep-alive: update existing `sudo` time stamp until the script has finished. while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & +rsync -avh --delete --progress $HOME/Applications/ $USB_DRIVE_DIR/$(basename $HOME)/Applications rsync -avh --delete --progress $...
bash
d_bash_7390
--- +++ @@ -15,6 +15,10 @@ cat /etc/motd service ssh start + +# Get environment variables to show up in SSH session +eval $(printenv | awk -F= '{print "export " $1"="$2 }' >> /etc/profile) + eval "$(rbenv init -)" rbenv global 2.3.3 /opt/startup.sh "$@"
bash
d_bash_7391
--- +++ @@ -28,3 +28,23 @@ # vim solarized cd $HOME/.vim/bundle || exit ln -sf $SOLARIZED/vim-colors-solarized vim-colors-solarized + +# adding local files ? + +function localfiles { + cd $HOME + ln -s $DOTFILES/local/aliases.local $HOME/.aliases.local + ln -s $DOTFILES/local/gitconfig.local $HOME/.gitconfig.local...
bash
d_bash_7392
--- +++ @@ -22,6 +22,7 @@ bindkey "[C" forward-word bindkey "[A" beginning-of-line bindkey "[B" end-of-line +bindkey "^?" backward-delete-char # Kill the whole line with CTRL + U bindkey "^U" kill-whole-line
bash
d_bash_7393
--- +++ @@ -18,4 +18,4 @@ # Nicer workaround for Vim+tmux colors and mappings. # See: https://github.com/henrik/dotfiles/commit/f8347e465fe9c4b9ff7ea211e2263d6e34ace9dd -export TERM='tmux-256color' +export TERM='xterm-color'
bash
d_bash_7394
--- +++ @@ -20,3 +20,6 @@ # Install homebrew packages brew install grc wget hub gist #coreutils spark + +# Required ot use notify functions +brew install terminal-notifier
bash
d_bash_7395
--- +++ @@ -9,6 +9,13 @@ # gets torn-down and replaced, and we're not sending any private info anyway. SSH="ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" +if $SSH ec2-user@$BROKER true; then + true +else + echo "ERROR: could not ssh into $BROKER" + exit 1 +fi + $SSH -N -L 7776:$BROKER:77...
bash
d_bash_7396
--- +++ @@ -13,7 +13,7 @@ xbuild GitHub.Unity.sln /property:Configuration=$Configuration Unity="" -if [ -f $1/Unity.app/Contents/MacOS/Unity ]; then +if [ -f "$1/Unity.app/Contents/MacOS/Unity" ]; then Unity="$1/Unity.app/Contents/MacOS/Unity" elif [ -f $1/Unity ]; then Unity="$1/Unity" @@ -23,4 +23,4 @@ fi...
bash
d_bash_7397
--- +++ @@ -3,7 +3,7 @@ version=${1-nightly} TARGET=i686-unknown-linux-gnu -URL="http://static.rust-lang.org/dist/rust-${version}-${TARGET}.tar.gz" +URL="https://static-rust-lang-org.s3-us-west-1.amazonaws.com/dist/rust-${version}-${TARGET}.tar.gz" TARPATH=rust-${version}-${TARGET}/rust-std-${TARGET}/lib/rustlib...
bash
d_bash_7398
--- +++ @@ -1,3 +1,3 @@ # Configure global gitignore. -[[ ! -e "${HOME}/.gitignore" ]] && ln -vs "${DOT_STAR_ROOT}/git/.gitignore" "${HOME}" +[[ ! -L "${HOME}/.gitignore" ]] && ln -vs "${DOT_STAR_ROOT}/version_control/.gitignore" "${HOME}" git config --global core.excludesfile "~/.gitignore"
bash
d_bash_7399
--- +++ @@ -15,9 +15,11 @@ ## # add coreutils. +# add coreutils manuals. # add homebrew installed packages. # last export will be the first in path! export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH" +export MANPATH="$(brew --prefix coreutils)/libexec/gnuman:$MANPATH" ## # if exis...
bash