document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_7000
--- +++ @@ -5,5 +5,6 @@ set -eo pipefail cd .git/hooks/ -ln -vs ~/src/pre-commit.sh pre-commit -ln -vs ~/src/pre-push.sh pre-push +SCRIPTS=$HOME/github.com/hkjn/scripts +ln -vs $SCRIPTS/pre-commit.sh pre-commit +ln -vs $SCRIPTS/pre-push.sh pre-push
bash
d_bash_7001
--- +++ @@ -12,14 +12,14 @@ echo "Submitting the job to the Memex cluster." time spark-submit \ --master 'yarn-client' \ - --num-executors 100 \ + --num-executors 350 \ --py-files crf_tokenizer.py \ ./extractAndTokenizeField.py \ -- \ --input ${DUMP6FILE} \ --key ${KEY_TO_EXTRACT...
bash
d_bash_7002
--- +++ @@ -10,7 +10,7 @@ PREVIOUS_TAG_NAME=$(git describe --abbrev=0 --tags "$TAG_NAME^") LAST_DRAFT_ID=$(curl "https://$GH_TOKEN:x-oauth-basic@api.github.com/repos/shockone/black-screen/releases" | python -c "import json,sys; array=json.load(sys.stdin); print array[0]['id'];") BODY=$(git log --oneline --no-merge...
bash
d_bash_7003
--- +++ @@ -1,4 +1,15 @@ #!/bin/bash +# https://www.kali.org/news/kali-on-krack/ + +if ! grep "unmanaged-devices=interface-name:wlan0" /etc/NetworkManager/NetworkManager.conf ; then + cat << EOF >> /etc/NetworkManager/NetworkManager.conf +[keyfile] +unmanaged-devices=interface-name:wlan0 +unmanaged-devices=interf...
bash
d_bash_7004
--- +++ @@ -7,24 +7,64 @@ assert_directory() { NAME="$1" if [ ! -d doc ]; then - log "FATAL: $NAME does not exist or is not a directory." + log "FATAL: \"$NAME\" does not exist or is not a directory." exit 1 fi } -# Build site -jekyll build +assert_program() { + NAME="$1" ...
bash
d_bash_7005
--- +++ @@ -6,7 +6,7 @@ HOSTNAME=`hostname` -set -i "s/MY_SERVER_1/$HOSTNAME/" /btsync/btsync.conf +sed -i "s/MY_SERVER_1/$HOSTNAME/" /btsync/btsync.conf sed -i "s/MY_SECRET_1/$SECRET/" /btsync/btsync.conf echo "Starting btsync with secret: $SECRET"
bash
d_bash_7006
--- +++ @@ -23,7 +23,7 @@ TESTERROR="$(/bin/sh $testfile 2>&1 > /dev/null)" - if [ $? -eq 1 ] + if [ $? -ne 0 ] then echo "\033[0;31m[FAILED]\033[0m $TESTERROR" > /dev/stderr let TESTS_FAILED=$TESTS_FAILED+1
bash
d_bash_7007
--- +++ @@ -8,7 +8,7 @@ docker/build-all-in-one.sh docker network create -d bridge --subnet 10.99.99.0/24 --gateway 10.99.99.1 dockernet -docker run -i --rm --net dockernet --ip 10.99.99.3 --name irmin -v $OPAM_DIR:/home/opam/.opam keyfender_buildbase irmin init -a http://0.0.0.0:8081 -d --verbosity=debug -s mem ...
bash
d_bash_7008
--- +++ @@ -14,7 +14,7 @@ }; if ${INPUT_FORCE}; then - _FORCE_OPTION='--force-with-lease' + _FORCE_OPTION='--force' fi if ${INPUT_TAGS}; then
bash
d_bash_7009
--- +++ @@ -1,7 +1,7 @@ dcheck fzf || return if dcheck fd; then - export FZF_DEFAULT_COMMAND="fd --exclude .git --type f --no-ignore" + export FZF_DEFAULT_COMMAND="fd --exclude .git --type f --no-ignore --hidden" else find_cmd=find dcheck gfind && find_cmd=gfind
bash
d_bash_7010
--- +++ @@ -9,7 +9,6 @@ pushd updated-buildpack/scripts git checkout master - git pull submodule_commit="$(git log --format=%B -n 1 HEAD | head -n 1)" popd
bash
d_bash_7011
--- +++ @@ -5,7 +5,7 @@ fi source "$fasd_cache" unset fasd_cache - alias v='f -e vim' + alias v='f -e mvim' alias o='a -e open' fi
bash
d_bash_7012
--- +++ @@ -22,9 +22,7 @@ StringValidator isSubstring ignorableCommands _test) if [[ ! ${isIgnorable} ]]; then - if [[ $(${testClass} ${_test}) == FAIL ]]; then - echo ${testClass}\#${_test} - fi + echo ${testClass}\#${_test} $(${testClass} ${_test})ED fi done }
bash
d_bash_7013
--- +++ @@ -1,12 +1,11 @@ #!/bin/sh -cp $BSDINIT_INSTALLER_FILE "$BSDINSTALL_CHROOT/root/installer.sh" +cp $BSDINIT_INSTALLER_FILE "$BSDINSTALL_CHROOT/installer.sh" #!/bin/sh -FETCH='fetch --no-verify-peer' INSTALLER='/root/installer.sh' ############################################## @@ -27,6 +26,8 @@...
bash
d_bash_7014
--- +++ @@ -1,13 +1,16 @@ #!/bin/bash +cat <<END | sudo tee /etc/yum.repos.d/mongodb-org-3.2.repo +[mongodb-org-3.2] +name=MongoDB Repository +baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.2/x86_64/ +gpgcheck=1 +enabled=1 +gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc +END +sudo yum up...
bash
d_bash_7015
--- +++ @@ -22,7 +22,7 @@ CREATE TABLE files ( file_id serial PRIMARY KEY , file_path varchar(32) NOT NULL - , file_contents varchar(4096) + , file_contents varchar(65536) , modification_time timestamptz NOT NULL ...
bash
d_bash_7016
--- +++ @@ -34,4 +34,4 @@ pushd solar -PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s solar +SOLAR_CONFIG=../.config PYTHONPATH=$WORKSPACE/solar CONFIG_FILE=$CONFIG_FILE py.test --cov=solar -s solar/test
bash
d_bash_7017
--- +++ @@ -3,9 +3,7 @@ set -u # to force this script to run: -# \rm ~/.bash_aliases -# ./setup_dotfiles.sh -# . ~/.bash_aliases +# \rm ~/.bash_aliases && ./setup_dotfiles.sh && . ~/.bash_aliases BASH_ALIASES=~/.bash_aliases if [ ! -f $BASH_ALIASES ]; then
bash
d_bash_7018
--- +++ @@ -28,7 +28,7 @@ } function copy-file { - scp -i "$PWD/.ssh-key" "$FILE" "$SSH_CONNECTION_STRING:$1" + scp -i "$PWD/.ssh-key" ${FILE} "$SSH_CONNECTION_STRING:$1" } main
bash
d_bash_7019
--- +++ @@ -5,4 +5,4 @@ fi cd "$GOPATH/src/github.com/mellanox-senior-design/docker-volume-rdma" || exit 1 -go run -ldflags -s main.go -logtostderr=true "$@" +go run main.go -logtostderr=true "$@"
bash
d_bash_7020
--- +++ @@ -6,7 +6,7 @@ exit fi FOUND=1 -for i in $(/usr/bin/pacmd list-sources | grep 'index:' | awk '{ print $NF }' 2>/dev/null); do +for i in $(/usr/bin/aplay -l | grep card | awk '{ print $2 }' | tr -d ':' 2>/dev/null); do if ! [[ ${FOUND} == 0 ]] && amixer -c "${i}" scontrols 2>/dev/null | grep "Master" ...
bash
d_bash_7021
--- +++ @@ -10,3 +10,14 @@ echo "Usearch..." create_tool_section_dir $galaxy_tool_dir/$section_dir +cp $tool_dir/$section_dir/usearch8.1.1756* $galaxy_tool_dir/$section_dir + +## derep_prefix +echo " derep_prefix..." +derep_prefix_dir=$section_dir/derep_prefix +create_copy_tool_dir $tool_dir/$derep_prefix_dir $ga...
bash
d_bash_7022
--- +++ @@ -7,7 +7,7 @@ _phing () { if [ -f build.xml ]; then if _phing_does_target_list_need_generating; then - phing -l |grep -v ":" |grep -v "^$"|grep -v "\-" > .phing_targets + phing -l |grep -v ":$" |grep -v "^-*$" > .phing_targets fi compadd `cat .phing_targets` fi
bash
d_bash_7023
--- +++ @@ -7,8 +7,9 @@ # Suggested usage: './probe.sh > probe.out 2>&1' for posn in `python -c "for i in range(195,1046): print i"`; do - cp input.onetime this-try.onetime for newval in `python -c "for i in range(0,256): print i"`; do + rm this-try + cp input.onetime this-try.onetime ../zap this-t...
bash
d_bash_7024
--- +++ @@ -23,7 +23,7 @@ git clone ${REPO} ${NAME} else cd ${NAME} - git pull + echo ${NAME} `git pull` cd .. fi } @@ -37,17 +37,24 @@ git clone ${REPO} ${NAME} else cd ${NAME} - git pull + echo ${NAME} `git pull` cd .. ...
bash
d_bash_7025
--- +++ @@ -9,7 +9,7 @@ source scripts/helpers.zsh if [[ ${?} != 0 ]] then - print "\n Could not source helpers.zsh!" + print "\n Could not source helpers.zsh!" > /dev/stderr exit 1 fi
bash
d_bash_7026
--- +++ @@ -10,7 +10,7 @@ rm -rf $WORKDIR mkdir -p ${WORKDIR} cp -a . ${WORKDIR} -docker run --rm -v ${WORKDIR}:${SRC_DIR} -e CGO_ENABLED=0 -e GOOS=linux golang:1.5.1 bash -c "cd ${SRC_DIR};make deps; make build" +docker run --rm -v ${WORKDIR}:${SRC_DIR} -e CGO_ENABLED=0 -e GOOS=linux golang:1.5.4 bash -c "cd ${SR...
bash
d_bash_7027
--- +++ @@ -10,7 +10,7 @@ ruby scripts/copy-staging-to-release-repo.rb -mvn org.sonatype.plugins:nexus-maven-plugin:staging-close \ +mvn org.sonatype.plugins:nexus-maven-plugin:2.0.6:staging-close \ --batch-mode \ --errors \ -Dnexus.url=https://oss.sonatype.org/ \
bash
d_bash_7028
--- +++ @@ -25,7 +25,7 @@ mkdir -p "${OUTSUBDIR}" basename -a $(ls -1 "${SRCDIR}"/*-unsigned.exe) | while read UNSIGNED; do echo Signing "${UNSIGNED}" - "${OSSLSIGNCODE}" sign -certs "${CERTFILE}" -t "${TIMESERVER}" -in "${SRCDIR}/${UNSIGNED}" -out "${WORKDIR}/${UNSIGNED}" "$@" + "${OSSLSIGNCODE}" sign -certs ...
bash
d_bash_7029
--- +++ @@ -12,12 +12,14 @@ cat >${CONFIG_D_DIR}/test.conf <<EOF server { - listen 80; + listen 80 default_server; + listen [::]:80 default_server; server_name myhost.com; root ${STATIC_DATA_DIR}; index index.php index.html; } EOF +sed -i -e 's/default_server//' ${CONFIG_D_DIR}/../nginx.conf ...
bash
d_bash_7030
--- +++ @@ -26,5 +26,6 @@ source tensorflow_lite_support/tools/ci_build/tests/run_support_lib_tests.sh bazel test --test_output=all \ + //tensorflow_lite_support/c/test:all \ //tensorflow_lite_support/cc/test/task/vision:all \ //tensorflow_lite_support/custom_ops/kernel/sentencepiece:all
bash
d_bash_7031
--- +++ @@ -14,7 +14,7 @@ if [ $? -ne 0 ]; then exit_error "Please install flake8: pip install flake8" fi -flake8 || exit_error "Please correct flake8 issues." +flake8 --exclude=.eggs,.venv || exit_error "Please correct flake8 issues." echo "style pass!" pydocstyle --version > /dev/null 2>&1
bash
d_bash_7032
--- +++ @@ -1,2 +1,2 @@ #!/bin/sh -export GEM_PATH=$(`rbenv-which gem` env gempath):$RBENV_ROOT/gems +export GEM_PATH=$RBENV_ROOT/gems:$GEM_PATH
bash
d_bash_7033
--- +++ @@ -13,7 +13,11 @@ go test -race -cover -v ./... | tee test.output | go-junit-report > junit.xml +statuscode=${PIPESTATUS[0]} + pkill -9 server sudo pkill -9 fakes3 cat test.output + +exit $statuscode
bash
d_bash_7034
--- +++ @@ -9,6 +9,7 @@ main() { pid_file_contains_rabbitmq_erlang_vm_pid + clusterer_app_is_running } pid_file_contains_rabbitmq_erlang_vm_pid() { @@ -18,6 +19,14 @@ [[ "$tracked_pid" = "$rabbitmq_erlang_vm_pid" ]] || fail "Expected PID file to contain '$rabbitmq_erlang_vm_pid' but it contained '$...
bash
d_bash_7035
--- +++ @@ -2,26 +2,27 @@ echo "Git: $TRAVIS_COMMIT [$TRAVIS_BRANCH]" if [ $TRAVIS_PULL_REQUEST == 'false' ] then - echo "Promoting an untagged build on dartdesigner.github.io/p2/nightly" + echo "Promoting an untagged build on vitruv-tools.github.io/p2/nightly" cd releng/tools.vitruv.updatesite/target -...
bash
d_bash_7036
--- +++ @@ -14,7 +14,7 @@ curl -L -O "https://github.com/FFmpeg/FFmpeg/archive/n${FFMPEG_VERSION}.tar.gz" tar xvf "n${FFMPEG_VERSION}.tar.gz" cd "FFmpeg-n${FFMPEG_VERSION}" - ./configure --prefix=$HOME/opt + ./configure --enable-pic --prefix=$HOME/opt make -j$CORES make install $HOME/opt/bin/ffmpe...
bash
d_bash_7037
--- +++ @@ -10,3 +10,7 @@ # https://github.com/tonsky/AnyBar function anybar { echo -n $1 | nc -4u -w0 localhost ${2:-1738}; } + +antigen bundle vagrant + +antigen apply
bash
d_bash_7038
--- +++ @@ -1,9 +1,16 @@ +# If MANPATH starts or ends with a colon the system config will be pre- or appended. +export MANPATH="${MANPATH:-:}" + add_to_manpath () { dir="$1" [[ -d "$dir" ]] || return - [[ -n "$MANPATH" ]] && MANPATH=":$MANPATH" - export MANPATH="$dir${MANPATH/:$dir/}" + # If MANPATH has con...
bash
d_bash_7039
--- +++ @@ -18,3 +18,5 @@ cd ns1 && sh sign.sh echo "a.bogus.example. A 10.0.0.22" >>../ns3/bogus.example.db.signed + +cd ../ns5 && cp trusted.conf.bad trusted.conf
bash
d_bash_7040
--- +++ @@ -6,13 +6,13 @@ BOOTSTRAP_SCRIPT=$1 # Run the script and create a new python repository -${BOOTSTRAP_SCRIPT} -i python -n skynet -c BSD-3-Clause -a 'Miles Bennett Dyson' -e 'miles@cyberdyne.com' -l logfile +${BOOTSTRAP_SCRIPT} -i python -n biodemo -c BSD-3-Clause -a 'Example Author Name' -e 'example@ema...
bash
d_bash_7041
--- +++ @@ -31,4 +31,4 @@ fi # run tests -npm test +DEBUG=windshaft:renderer:pg_mvt npm test
bash
d_bash_7042
--- +++ @@ -3,7 +3,7 @@ cd "$DIR/example_9" PS4='$ ' set -x -EXPECTED_ERROR="Error: The command has not failed!" +EXPECTED_ERROR="Error: The command has not failed" ACTUAL_PRE="$(echo "y" | python ../../find-bug.py example_9.v bug_9.v 2>&1)" if [ "$(echo "$ACTUAL_PRE" | grep -c "$EXPECTED_ERROR")" -ne 1 ] then
bash
d_bash_7043
--- +++ @@ -5,7 +5,7 @@ # .children[-2] selects the one before the last which is the all distro latestSnapshotPath=` http get https://repo.gradle.org/gradle/api/storage/$repo/ \ - | jq -r '[ .children[] | select(.uri | startswith("/gradle-kotlin-dsl-4.8-")) ][-2].uri'` + | jq -r '[ .children[] | ...
bash
d_bash_7044
--- +++ @@ -9,9 +9,11 @@ git config --global user.email "travis@travis-ci.org" git config --global user.name "Travis CI" -git checkout -b production +npm run doc:build -npm run doc:build +git checkout production +git branch --set-upstream-to=origin/production production +git status git add package.json git ...
bash
d_bash_7045
--- +++ @@ -1,23 +1,51 @@ -# Based on code from Joseph M. Reagle -# http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html +# +# INSTRUCTIONS +# +# To enabled agent forwarding support add the following to +# your .zshrc file: +# +# zstyle :omz:plugins:ssh-agent agent-forwarding on +# +# +# CREDITS +# +# Base...
bash
d_bash_7046
--- +++ @@ -26,5 +26,5 @@ coverage report if [[ -n "$TRAVIS" ]]; then - coveralls + coveralls || true fi
bash
d_bash_7047
--- +++ @@ -1,3 +1,3 @@ #!/bin/bash # Determine if the following files changed in the branch -git diff --name-only `git rev-list HEAD | tail -n 2 | head -n 1` HEAD LICENSE README.md +git diff --exit-code --name-only `git rev-list HEAD | tail -n 2 | head -n 1` HEAD LICENSE README.md
bash
d_bash_7048
--- +++ @@ -14,7 +14,7 @@ files=("${files[@]}" "${root_files[@]}") - for dir in clib faucet tests ; do + for dir in adapters clib docs faucet tests ; do readarray -t sub_files \ <<< "$(find "${BASEDIR}/${dir}/" -type f ! -size 0 -name '*.py' -exec realpath {} \;)"
bash
d_bash_7049
--- +++ @@ -42,4 +42,10 @@ vim ;; esac -pip3 install black cmake_format flake8 mypy pylint +pip3 install \ + black \ + cmake_format \ + flake8 \ + isort \ + mypy \ + pylint
bash
d_bash_7050
--- +++ @@ -15,8 +15,8 @@ -h Show this message -F file Use a custom SSH configuration file -u user SSH user to log in as (overrides SSH config) - -d dir Store the backups in a different directory - -s Skip downloading the backups + -d dir Use named directory to store and load...
bash
d_bash_7051
--- +++ @@ -4,26 +4,28 @@ local db_url=${1} db_protocol=$(expr "$db_url" : "\(.\+\)://") - if [ $db_protocol == "postgres" ]; then + if [ "$db_protocol" == "postgres" ]; then jdbc_protocol="jdbc:postgresql" - else - jdbc_protocol="jdbc:${db_protocol}" + elif [ "$db_protocol" == "mysql" ]; then + ...
bash
d_bash_7052
--- +++ @@ -15,14 +15,15 @@ # Run Jasmine tests # start jasmine -ps aux | grep jasmine | grep -v grep | awk '{print $2}' | xargs kill -9 -bundle exec rake jasmine 2>&1 | tee $WORKSPACE/jasmine.log & +bundle exec rake jasmine > $WORKSPACE/jasmine.log 2>&1 & jasmine_pid=$! -echo $jasmine_pid +echo "Jasmine proces...
bash
d_bash_7053
--- +++ @@ -2,7 +2,7 @@ if [ $# -ne 2 ] then - echo "$0 fscq-repo top-dir" + echo "$0 xv6-repo top-dir" exit 1 fi @@ -10,22 +10,8 @@ cd $2 echo "=== git clone ===" -time -p git clone $1 fscq +time -p git clone $1 xv6 echo "=== compile xv6 ===" -cd fscq/xv6 +cd xv6 time -p make - -echo "==...
bash
d_bash_7054
--- +++ @@ -20,7 +20,7 @@ python=$(which python2 python2.7 | head -n 1) else # python 3.5 - python=$(which python3.5 python3 | head -n 1) + python=$(which python3 python3.5 | head -n 1) fi py=${python##*/} # ll: python3.5
bash
d_bash_7055
--- +++ @@ -5,4 +5,5 @@ # coreutils_path=$(brew --prefix coreutils) coreutils_path="/usr/local/opt/coreutils" export PATH="${coreutils_path}/libexec/gnubin:${PATH}" + export MANPATH="${coreutils_path}/libexec/gnuman:${MANPATH}" fi
bash
d_bash_7056
--- +++ @@ -7,19 +7,14 @@ pacman -Syu --noconfirm # Install git and some other required things - pacman -S git bridge-utils iproute2 --noconfirm --needed - - # Download docker daemon - curl -sSL https://github.com/luxas/kubernetes-on-arm/releases/download/v0.6.3/docker-1.10.0 > /usr/bin/docker - ...
bash
d_bash_7057
--- +++ @@ -1,11 +1,5 @@ # Define custom utilities # Test for OSX with [ -n "$IS_OSX" ] - -# override pip_wheel_cmd to make pip more verbose while building the wheel -function pip_wheel_cmd { - local abs_wheelhouse=$1 - pip wheel $(pip_opts) -v -w $abs_wheelhouse --no-deps . -} function pre_build { # ...
bash
d_bash_7058
--- +++ @@ -2,6 +2,7 @@ git reset --hard git pull +chmod u+x deploy.sh bower install npm install pm2 restart app
bash
d_bash_7059
--- +++ @@ -1,7 +1,8 @@ #!/bin/bash -# Clone the repo +# Clone the repos git clone --recursive git@github.com:SkyTruth/pelagos.git +git clone --recursive git@github.com:SkyTruth/pelagos-data.git # Initialize GAE virutalenv #TODO: Put this into a script in the pelagos repo @@ -12,3 +13,10 @@ # Deploy # Updat...
bash
d_bash_7060
--- +++ @@ -7,6 +7,6 @@ gem update --system 3.1.2 gem install bundler --version 2.1.4 --force -bundle install --jobs 3 --retry 3 +bundle install set -x
bash
d_bash_7061
--- +++ @@ -1,4 +1,4 @@ -vagrant destroy -f infra1 infra2 infra3 proxy1 control1 +vagrant destroy -f infra1 infra2 infra3 proxy1 control1 hyper1 vagrant up infra1 & sleep 3
bash
d_bash_7062
--- +++ @@ -1,3 +1,3 @@ #!/usr/bin/env bash DB_IP=$(docker inspect --format '{{.NetworkSettings.Networks.keepwatching_default.IPAddress}}' keepwatching_db-local_1) -mvn -e test -Dspring.profiles.active=compose -Ddb.url=jdbc:postgresql://${DB_IP}:5432/kw -Dspring.datasource.url=jdbc:postgresql://${DB_IP}:5432/kw -Ds...
bash
d_bash_7063
--- +++ @@ -1,3 +1,3 @@ alias sd='svn diff' alias ss='svn status' -alias sclean='svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs rm -rf' +alias sclean='svn status --no-ignore | grep "^\?" | sed "s/^\? //" | xargs rm -rf'
bash
d_bash_7064
--- +++ @@ -10,7 +10,7 @@ perl -p -e 's/\$\{([^}]+)\}/defined $ENV{$1} ? $ENV{$1} : $&/eg' < files/credentials-sonatype > ~/.credentials-sonatype perl -p -e 's/\$\{([^}]+)\}/defined $ENV{$1} ? $ENV{$1} : $&/eg' < files/sonatype-curl > ~/.sonatype-curl - openssl aes-256-cbc -d -pass "pass:$GPG_...
bash
d_bash_7065
--- +++ @@ -16,9 +16,9 @@ EOF exit 2 fi -if python --version | grep -q 'Python 3.6' +if python --version | grep -q 'Python 3.6' && command -v pyflakes >/dev/null then d=$(python -c 'import skyfield as s; print(s.__file__.rsplit("/", 1)[0])') - pyflakes "$d"/*.py "$d"/data/*.py + pyflakes $(find "$d...
bash
d_bash_7066
--- +++ @@ -35,7 +35,7 @@ #------------------------------------------------------------------------------- # Profile #------------------------------------------------------------------------------- -alias dotfiles="edit ~/.dotfiles" +alias dotfiles="edit ~/.dotfiles ~/.config/fish/" # Prints out aliases contain...
bash
d_bash_7067
--- +++ @@ -20,15 +20,15 @@ target=$builddir/src/renderer -version=$($target -version | cut -f 3 -d ' ') -arch=$($target -version | cut -f 4 -d ' ') +version=$(xvfb-run $target -version | cut -f 3 -d ' ') +arch=$(xvfb-run $target -version | cut -f 4 -d ' ') cp $target $destdir/$prefix/bin/ chmod a+x $destdir...
bash
d_bash_7068
--- +++ @@ -3,3 +3,5 @@ git clone --branch=gh-pages `git config --get remote.origin.url` gh-pages rm -rf build/html ln -sf ../gh-pages/latest build/html +cd gh-pages/ +git submodule update --init
bash
d_bash_7069
--- +++ @@ -11,4 +11,5 @@ -packageHUnit \ -i../../dist/build/ \ -i../../src/ \ + -optP-include -optP../../dist/build/autogen/cabal_macros.h \ parsetests.hs
bash
d_bash_7070
--- +++ @@ -15,7 +15,7 @@ done echo "• Installing Atom packages" -for pkg in "autocomplete-python" "spacegray-dark-syntax" "travis-ci-status" "dash" "autosave" "atom-scrolloff"; do +for pkg in "autocomplete-python" "spacegray-dark-syntax" "travis-ci-status" "dash" "atom-scrolloff"; do apm install "${pkg}" done...
bash
d_bash_7071
--- +++ @@ -6,7 +6,7 @@ echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u275b01.tar.gz" ;; java11) - echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9%2B11.1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9_11...
bash
d_bash_7072
--- +++ @@ -22,3 +22,6 @@ echo "Did finish to install pods."; rm -f install.sh echo "Did remove setup files."; +rm -rf .git +git init +echo "Initialize git.";
bash
d_bash_7073
--- +++ @@ -7,7 +7,7 @@ PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \ --enable-rw-rootfs --enable-progress \ - --enable-x11-common-plugin \ + --enable-dbus-plugin --enable-x11-common-plugin \ --enable-alsa-utils-plugin --enable-inetd...
bash
d_bash_7074
--- +++ @@ -7,13 +7,20 @@ # of lines. Then iterate those looking for lines that match URL # or Revision regular expressions. +my @svnstatus = `svn status`; my @svninfo = `svn info`; + +if (scalar(@svnstatus) != 0) { + print "This is a dirty svn working copy or not an svn working copy\n"; + @svninfo = (); +...
bash
d_bash_7075
--- +++ @@ -6,13 +6,10 @@ source=$1 es_index=$2 processed=$3 -sed -i "s/ES_INDEX/$es_index/" joblog.conf -# create index with one replica per index, it's faster although will cause -# problems if data node goes down while indexing -curl -XPUT "http://uct2-es-door.mwt2.org:9200/$es_index" -d '{ "settings" : { "numb...
bash
d_bash_7076
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -sudo puppet apply --modulepath=./modules manifests/site.pp +sudo puppet apply --modulepath=./modules:/etc/puppet/modules manifests/site.pp
bash
d_bash_7077
--- +++ @@ -13,6 +13,8 @@ # Recurse up to 5 levels deep, don't get any html above # plplot_wiki, get the files necessary to display all pages, +# Do not download *.tar.gz files (because these plplot tarballs are +# huge and dated), # convert links to the locally downloaded version, windows==> escape a long # l...
bash
d_bash_7078
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -dir=$(readlink -f $(dirname $0)) +dir=$(dirname $(test -L "$BASH_SOURCE" && readlink -f "$BASH_SOURCE" || echo "$BASH_SOURCE")) function copy_files() { srcdir=$1
bash
d_bash_7079
--- +++ @@ -7,7 +7,7 @@ echo "Installing node..." if [ ! -e ~/.nvm ]; then - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash mkdir -p ~/.nvm fi source ~/dotfiles/terminal/bash/load_nvm.sh
bash
d_bash_7080
--- +++ @@ -8,6 +8,10 @@ sudo apt-key adv --keyserver packages.microsoft.com \ --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893 + +# new as of 5/2018 +curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - + sudo apt-get install apt-transport-https sudo apt-get update sudo apt-get ...
bash
d_bash_7081
--- +++ @@ -15,11 +15,14 @@ python_version=`python -c 'import sys;print "%d.%d" % sys.version_info[0:2]'` # We install/upgrade the setuptools -echo "### Installing 'virtualenv'..." -[ ! -d $1 ] && mkdir $1; -[ -f ez_setup.py ] && rm -f ez_setup.py; -wget --quiet http://peak.telecommunity.com/dist/ez_setup.py; -py...
bash
d_bash_7082
--- +++ @@ -1,7 +1,10 @@ #!/bin/bash if [[ $TRAVIS_BRANCH == "master" ]]; then - sphinx-apidoc -o docs/source pyramid_jsonapi - travis-sphinx build - travis-sphinx deploy + # Generate api docs, rmeove modules.rst as we don't + # Use it and it's xistence raises an error + sphinx-apidoc -o docs/source pyra...
bash
d_bash_7083
--- +++ @@ -8,11 +8,9 @@ sudo apt-get -y install nodejs sudo apt-get -y install postgresql sudo apt-get -y install postgresql-client -sudo apt-get -y install git -sudo -u postgres psql postgres -\password postgres -\q +sudo -u postgres psql -U postgres -d postgres -c "alter user postgres with password 'password';"...
bash
d_bash_7084
--- +++ @@ -38,7 +38,7 @@ chmod +x $buildFile # Cleanup - if test ! -d $tempFolder; then + if test -d $tempFolder; then rm -rf $tempFolder fi fi
bash
d_bash_7085
--- +++ @@ -1,18 +1,19 @@ mex -g rosbag_wrapper.cpp parser.cpp \ - ./librosbag.a \ - ./librosconsole.a \ - ./libroscpp_serialization.a \ - ./libros.a \ - ./librostime.a \ - ./liblog4cxx.a \ - ./libaprutil-1.a \ - ./libapr-1.a \ - ./libexpat.a \ - ../lib_boost/libboost_filesystem.a \ - ../lib_boost/libboo...
bash
d_bash_7086
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash cd "$(dirname "$0")" -java -Xms128m -Xmx1536m -jar libs/Terasology.jar +java -Xms128m -Xmx1536m -jar libs/Terasology.jar "$@" # Alternatively use our Launcher from: https://github.com/MovingBlocks/TerasologyLauncher/releases
bash
d_bash_7087
--- +++ @@ -18,6 +18,9 @@ export CXXFLAGS="${CXXFLAGS} -Qunused-arguments -DSEQAN_IGNORE_MISSING_OPENMP=1" fi +# Switch version check default to OFF to prevent checks during app tests +CXXFLAGS="${CXXFLAGS} -DSEQAN_VERSION_CHECK_OPT_IN=YES" + ctest -V -S util/travis/linux-cibuild.cmake # we indicate build f...
bash
d_bash_7088
--- +++ @@ -20,3 +20,5 @@ # Disable Bash Sessions feature in OS X El Capitan touch ~/.bash_sessions_disable + +source ./personal/config/create_symlinks.sh
bash
d_bash_7089
--- +++ @@ -1,6 +1,5 @@ echo # prereqs -brew install tccutil brew tap OJFord/formulae brew install loginitems @@ -8,7 +7,6 @@ cp files/com.googlecode.iterm2.plist ~/Library/Preferences echo "Configuring ShiftIt" -sudo tccutil --insert "org.shiftitapp.ShiftIt" # Enable Accessibility Settings loginitems -a "...
bash
d_bash_7090
--- +++ @@ -1,4 +1,4 @@ sudo wget -nc -O /opt/flink-1.0.3-bin-hadoop27-scala_2.10.tgz http://ftp.halifax.rwth-aachen.de/apache/flink/flink-1.0.3/flink-1.0.3-bin-hadoop27-scala_2.10.tgz && sudo tar -xzvf /opt/flink-1.0.3-bin-hadoop27-scala_2.10.tgz -C /opt/ && -grep -q 'export PATH="/opt/flink-1.0.3/bin/:$PATH"' /ho...
bash
d_bash_7091
--- +++ @@ -2,6 +2,8 @@ # let's teach less some colors export LESS='-FSRX' +# and uncompress files +export LESSOPEN="|/usr/local/bin/lesspipe.sh %s" LESS_ADVANCED_PREPROCESSOR=1 export LC_ALL="en_US.UTF-8" export LANG="en_US.UTF-8"
bash
d_bash_7092
--- +++ @@ -1 +1,2 @@ +# https://git.fedorahosted.org/cgit/firewalld.git/tree/config/macros.firewalld test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || :
bash
d_bash_7093
--- +++ @@ -4,6 +4,7 @@ ## Arch Installer Script Configuration # Global configuration +AIS_MNT=/mnt AIS_TIMEZONE=US/Eastern AIS_HOST=dabba AIS_USER=hersh
bash
d_bash_7094
--- +++ @@ -8,7 +8,7 @@ go get golang.org/dl/gotip -gotip download 272258 +gotip download gotip version
bash
d_bash_7095
--- +++ @@ -1,9 +1,11 @@ #!/usr/bin/env bash echo -e "Updating miscellaneous configuration files..." - if [[ "$OSTYPE" != 'linux-gnu' ]]; then rm -f ~/.hushlogin ln -s ~/dotfiles/.hushlogin ~/.hushlogin fi + +rm -f ~/.gitignore +ln -s ~/dotfiles/.gitignore ~/.gitignore
bash
d_bash_7096
--- +++ @@ -1,5 +1,6 @@ #!/bin/sh +brew update brew install qt5 brew link qt5 --force brew install python3
bash
d_bash_7097
--- +++ @@ -6,8 +6,6 @@ rm -rf Export haxelib run duell update -verbose -yestoall - -$ANDROID_HOME/platform-tools/adb kill-server haxelib run duell build android -test -verbose -D jenkins -yestoall
bash
d_bash_7098
--- +++ @@ -1,8 +1,6 @@ echo "Setting up directories..." -mkdir -p go/src -mkdir -p go/bin -mkdir -p go/pkg +mkdir -p go/{src,bin,pkg} echo "Downloading vagrant config..."
bash
d_bash_7099
--- +++ @@ -3,11 +3,11 @@ : ${NODE_VERSION?"NODE_VERSION has not been set."} -docker build --no-cache --build-arg "NODE_VERSION=${NODE_VERSION}" -t "abernix/meteord:base-node-${NODE_VERSION}" ../base && \ - docker tag "abernix/meteord:base-node-${NODE_VERSION}" abernix/meteord:base -docker build --no-cache --bu...
bash