document_id stringlengths 8 12 | document stringlengths 50 3.21k | split stringclasses 1
value |
|---|---|---|
d_bash_100 | ---
+++
@@ -4,3 +4,4 @@
gulp publish:bintray:deb --verbose
gulp publish:bintray:rpm --verbose
gulp publish:github --verbose
+gulp publish:aur --verbose | bash |
d_bash_101 | ---
+++
@@ -3,3 +3,4 @@
set -eux
sudo apt-get install libmariadbclient-dev
+sudo apt-get install xpdf | bash |
d_bash_102 | ---
+++
@@ -11,3 +11,5 @@
cp -r ChannelWorm/channelworm/* ~/app-root/runtime/repo
cp -r ChannelWorm/channelworm/.openshift/* ~/app-root/runtime/repo/.openshift
+python manage.py makemigrations
+python manage.py migrate | bash |
d_bash_103 | ---
+++
@@ -31,4 +31,4 @@
vlc
)
-brew cask install ${apps[@]} --appdir=/Applications
+brew cask install ${apps[@]} | bash |
d_bash_104 | ---
+++
@@ -3,6 +3,6 @@
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
- neutron-db-manage --service lbaas --config-file /etc/neutron/neutron.conf upgrade head
+ neutron-db-m... | bash |
d_bash_105 | ---
+++
@@ -6,3 +6,5 @@
cd $PROJECT_DIR
cp -rf $WORKSPACE/static/* ./static/.
+chown nginx.nginx static/*
+ | bash |
d_bash_106 | ---
+++
@@ -7,6 +7,7 @@
alias gd='git diff'
alias gc='git commit'
alias gca='git commit -a'
+alias gcf='git commit --fixup'
alias gco='git checkout'
alias gb='git branch'
alias ga='git add' | bash |
d_bash_107 | ---
+++
@@ -21,5 +21,7 @@
fix_install_names libopenmha.dylib
for file in $(cat expected_dependencies.txt); do
cp $file lib/.;
+done;
+for file in lib/*dylib; do
fix_install_names $file;
done; | bash |
d_bash_108 | ---
+++
@@ -9,6 +9,7 @@
grunt-init
hexo-cli
karma-cli
+ licensor
linken
mocha
node-inspector | bash |
d_bash_109 | ---
+++
@@ -21,5 +21,5 @@
domain=${1:-'orig.spf-tools.ml'}
-despfit $domain $loopfile
+despfit $domain $loopfile | grep .
cleanup $loopfile | bash |
d_bash_110 | ---
+++
@@ -4,4 +4,4 @@
# =====================================================
# Custom env variables
-export DKTB_VERSION="17.04.0-ce"
+export DKTB_VERSION="17.05.0-ce" | bash |
d_bash_111 | ---
+++
@@ -15,6 +15,8 @@
brew cask install flux
brew cask install iterm2
brew cask install torbrowser
+brew cask install onionshare
+ln -s /Applications/OnionShare.app/Contents/MacOS/onionshare ~/.bin/
brew cask install vlc
brew cask install spectacle
brew cask install disk-inventory-x | bash |
d_bash_112 | ---
+++
@@ -25,6 +25,6 @@
# limitations under the License.
#==========================================================================
-deviceid=$(adb devices | grep -v -e "List" | cut -f1 -d$'\t')
+deviceid=$(adb devices | grep -v -e "List" | cut -f1 -d$'\t' | sed -r '/^\s*$/d')
adb -s "$deviceid" shell getpr... | bash |
d_bash_113 | ---
+++
@@ -1,4 +1,6 @@
#!/bin/bash
+
+set -eu
if (( $# < 1)); then
echo "OpenHIM release build: Builds a specific tagged release ready for deployment"; | bash |
d_bash_114 | ---
+++
@@ -1,4 +1,4 @@
-docker run --name dumondaMeDatabase -d --publish 7476:7474 --publish 7688:7687 --volume /var/lib/neo4j/data:/data --volume /var/lib/neo4j/plugins:/plugins --env=NEO4J_AUTH=none --env=NEO4J_dbms_allowFormatMigration=true --env=NEO4J_dbms_memory_pagecache_size=100M --env=NEO4J_dbms_memory_heap_... | bash |
d_bash_115 | ---
+++
@@ -21,4 +21,3 @@
total=$(( width * height ))
echo "The total number of pixels is: $total"
-echo "This is differently edited!" | bash |
d_bash_116 | ---
+++
@@ -1,3 +1,4 @@
alias reload!='. ~/.zshrc'
+alias reprofile!='source ~/.zprofile'
alias vi='vim'
alias ll='ls -l' | bash |
d_bash_117 | ---
+++
@@ -32,5 +32,5 @@
-openmp $2
cd $SUBJECTS_DIR
-tar cvJf $WD/$1_output.tar.xz *
+tar cvjf $WD/$1_output.tar.bz2 *
cd $WD | bash |
d_bash_118 | ---
+++
@@ -24,5 +24,5 @@
cp ${SRC}/fish_history ~/.local/share/fish/fish_history
-cp ${SRC}/License.sublime_license ~/Library/Application\ Support/Sublime\ Text\ 3/Local/License.sublime_license ~/migration
+cp ${SRC}/License.sublime_license ~/Library/Application\ Support/Sublime\ Text\ 3/Local/License.sublime_l... | bash |
d_bash_119 | ---
+++
@@ -2,4 +2,4 @@
echo [$@]
echo "command=xdg-open \"http://www.baidu.com/s?wd=$@\""
echo "icon="
-echo "subtext=百度搜索 $@"
+echo "subtext=Search baidu $@" | bash |
d_bash_120 | ---
+++
@@ -22,5 +22,5 @@
-o match:".*libpkg.so.3 => $(atf_get_srcdir).*$" \
-e empty \
-s exit:0 \
- ldd -a $(atf_get_srcdir)/../../src/.libs/pkg
+ ldd $(atf_get_srcdir)/../../src/.libs/pkg
} | bash |
d_bash_121 | ---
+++
@@ -5,5 +5,5 @@
#it is possible to override above env-vars from the user-provided values
<% for(var key in env) { %>
- export <%- key %>="<%-("" + env[key])%>"
+ export <%- key %>=<%- ("" + env[key]).replace(/./ig, '\\$&') %>
<% } %> | bash |
d_bash_122 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/bash
docker build -t skibuddy-live .
-docker run -it --rm --name skibuddy-server -p 8282:8282 skibuddy-live
+docker run -dt --name skibuddy-server -p 8282:8282 skibuddy-live | bash |
d_bash_123 | ---
+++
@@ -1,5 +1,3 @@
#!/bin/bash -x
-source '/usr/local/lib/rvm'
-export GEM_HOME="/home/jenkins/bundles/${JOB_NAME}"
-mkdir -p "${GEM_HOME}"
-bundle install && bundle exec rake
+bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
+bundle exec rake | bash |
d_bash_124 | ---
+++
@@ -3,5 +3,5 @@
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST = "false" ]]; then
git checkout master
git remote add origin git@github.com:interfax/interfax-java.git
- mvn release:prepare release:perform -Darguments="-Dgpg.defaultKeyring=false -Dgpg-keyname=62E96907 -Dgpg.passphrase=$G... | bash |
d_bash_125 | ---
+++
@@ -18,3 +18,5 @@
export CLEAN_VAGRANT_VERSION=$(echo $VAGRANT_VERSION | sed 's/^v//' | tr -d ' -')
makepkg --syncdeps --force --noconfirm
+
+mv *.xz "vagrant_${CLEAN_VAGRANT_VERSION}_x86_64.tar.xz" | bash |
d_bash_126 | ---
+++
@@ -6,5 +6,5 @@
# autoreconf runs all the autotool configuration tools in the right order
# and will avoid regenerating files.
#
-autoreconf --install # install missing files
+autoreconf --install --make # install missing files
# automake --add-missing --copy >/dev/null 2>&1 # add install-sh | bash |
d_bash_127 | ---
+++
@@ -4,6 +4,7 @@
rm -rf ./**/__pycache__
# Compress all the example directories in .zip files to be uploaded for a release
+rm -rf ./dist
mkdir ./dist
for f in example-flask* ; do
if [[ -d $f ]] ; then | bash |
d_bash_128 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/sh
# This is useful because it prints out all of the source files. Useful for
# greps.
-find . -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v test | grep -v .flc | grep -v Sparc.burm.c | grep ... | bash |
d_bash_129 | ---
+++
@@ -46,3 +46,6 @@
bundle exec calabash-ios sim reset
cp -r "${CAL_BUILD_DIR}/Build/Products/${CAL_BUILD_CONFIG}-iphonesimulator/${TARGET_NAME}.app" ./
+
+echo "export APP=${PWD}/${TARGET_NAME}.app"
+ | bash |
d_bash_130 | ---
+++
@@ -13,33 +13,24 @@
exit -1
fi
-# Building elemento
-mvn install
-
-# Building samples
-cd samples
-mvn clean install
-cd ${ROOT}
+# Building elemento w/ samples
+mvn install -P samples
# Publishing to gh-pages
-rm -rf /tmp/samples
-mkdir /tmp/samples
-for SAMPLE in "${SAMPLES[@]}"
-do
- mv ${SA... | bash |
d_bash_131 | ---
+++
@@ -10,6 +10,7 @@
chmod 1777 "$target_dir/tmp"
chmod 1777 "$target_dir/var/tmp"
chmod 0700 "$target_dir/root/.ssh"
+chmod 0600 "$target_dir/root/.ssh/*"
chmod 0600 "$target_dir/etc/shadow"
chmod u+s "$target_dir/bin/busybox"
chmod u+s "$target_dir/usr/bin/sudo" | bash |
d_bash_132 | ---
+++
@@ -28,7 +28,6 @@
# install prog AND tests requirements :
pip install -e .
-pip install alignak-setup
pip install --upgrade -r test/requirements.txt
pyversion=$(python -c "import sys; print(''.join(map(str, sys.version_info[:2])))") | bash |
d_bash_133 | ---
+++
@@ -9,6 +9,7 @@
# Shortcuts
alias dl="cd ~/Downloads"
alias dt="cd ~/Desktop"
+alias dc="cd ~/Documents"
# Enable aliases to be sudo’ed
alias sudo='sudo ' | bash |
d_bash_134 | ---
+++
@@ -34,3 +34,5 @@
log "Copying css"
cp -r "chrome_extension/css" $DEST
cp -r "chrome_extension/sizedicons" $DEST
+
+zip -r bellxt.zip xt_distr | bash |
d_bash_135 | ---
+++
@@ -11,6 +11,6 @@
# Dirty ugly hack to make gulp work
-export PATH=$(pwd)/node_modules/.bin:$PATH
+export PATH=$(pwd)/lib/nodejs/bin:$PATH
./lib/nodejs/bin/npm $1 $2 $3 | bash |
d_bash_136 | ---
+++
@@ -1,3 +1,4 @@
-if [ -n ${WSLENV} ]; then
+if grep -qE "(Microsoft|WSL)" /proc/version &>/dev/null; then
export DOCKER_HOST=tcp://localhost:2375
-fi;
+fi
+ | bash |
d_bash_137 | ---
+++
@@ -1,5 +1,5 @@
#!/bin/bash -x
export RAILS_ENV=test
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
-bundle exec rake db:schema:load
+bundle exec rake db:drop db:create db:schema:load
bundle exec rake | bash |
d_bash_138 | ---
+++
@@ -1,5 +1,5 @@
set -x
-TAG=${SESAM_TAG:-0.0.18}
+TAG=${SESAM_TAG:-0.0.22}
wget -O sesam.tar.gz https://github.com/sesam-io/sesam/releases/download/$TAG/sesam$TAG.linux-amd64.tar.gz
tar -xf sesam.tar.gz
./sesam -version | bash |
d_bash_139 | ---
+++
@@ -12,4 +12,6 @@
PASSPHRASE_ARG="--passphrase-fd 3"
fi
-exec ${GPG_PROGRAM} --batch --no-tty --yes ${PASSPHRASE_ARG} "$@" 3<<< "${PASSPHRASE}"
+exec ${GPG_PROGRAM} --batch --no-tty --yes ${PASSPHRASE_ARG} "$@" 3<<EOM
+${PASSPHRASE}
+EOM | bash |
d_bash_140 | ---
+++
@@ -8,3 +8,5 @@
# Google Chrome
# SmartGit/Hg
+
+# Sublime Text 3 | bash |
d_bash_141 | ---
+++
@@ -19,3 +19,6 @@
# Install mysql (mariadb)
brew install mariadb
brew services start mariadb
+
+# Install packages
+brew install ag | bash |
d_bash_142 | ---
+++
@@ -1,3 +1,6 @@
#!/bin/sh
-./manage.py runserver 0.0.0.0:8080
+# ./manage.py runserver 0.0.0.0:80
+
+# Run apache with given configuration
+./manage.py runfcgi daemonize=false host=127.0.0.1 port=3033 | bash |
d_bash_143 | ---
+++
@@ -15,7 +15,6 @@
if [ "$TEST_SUITE" == "main" ]
then
yarn lint
- flow check
yarn lint-types
./scripts/test/systemJS.js
yarn locale-snapshots test | bash |
d_bash_144 | ---
+++
@@ -1,2 +1,4 @@
#!/bin/sh
+# Things to do after doing a clean SVN update to add the proper files.
+ln -vfs CHANGES NEWS
autoreconf -i -s | bash |
d_bash_145 | ---
+++
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
if [ ! -d "/vagrant/.modman/src" ]; then
# Copy skin files to ems-starter
cd /vagrant | bash |
d_bash_146 | ---
+++
@@ -17,7 +17,7 @@
echo "Will poll $URL looking for commit $GIT_COMMIT."
while true; do
- build=$(curl --fail --show-error --silent "$URL" | jq "[.builds | .[] | select(.commitId == \"$GIT_COMMIT\")][0]") || sleep 10 && continue
+ build=$(curl --fail --show-error --silent "$URL" | jq ... | bash |
d_bash_147 | ---
+++
@@ -49,6 +49,6 @@
cd ${SUBJECTS_DIR}
mv $subject/scripts/recon-all.log $subject/scripts/recon-all-step1.log
-tar cJf ${WD}/$1_recon1_output.tar.xz *
+tar cJf ${WD}/$2_recon1_output.tar.xz *
cd ${WD}
| bash |
d_bash_148 | ---
+++
@@ -25,7 +25,7 @@
# Version 0.0.4
#
-sudo apt-get install ansible -y -o Dpkg::Options::="--force-confnew"
+sudo apt-get install ansible -y -o Dpkg::Options::="--force-confold"
ansible-galaxy install defunctzombie.coreos-bootstrap -p /vagrant/automation/roles
ansible-playbook /vagrant/automation/Bootst... | bash |
d_bash_149 | ---
+++
@@ -1,4 +1,7 @@
#!/bin/bash
+#
+# Update the machine name
+#
clear
echo -e "I'll update your MAC configuration to set your Dogname as Computer...\n"
| bash |
d_bash_150 | ---
+++
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
TEST_DB=hlrdesk_test_db
TEMPLATE_DB=hlrdesk_test_template_db | bash |
d_bash_151 | ---
+++
@@ -20,5 +20,6 @@
echo "cd ds3_java_sdk"
cd ds3_java_sdk
+./gradlew jar
./gradlew test
| bash |
d_bash_152 | ---
+++
@@ -30,3 +30,7 @@
echo
fi
}
+
+function pngdatauri() {
+ echo "data:image/png;base64,$(pngcrush $1 /dev/stdout | base64)" | pbcopy
+} | bash |
d_bash_153 | ---
+++
@@ -15,4 +15,4 @@
gem install danger-jira
gem install danger-android_lint
-danger --fail-on-errors=false
+danger | bash |
d_bash_154 | ---
+++
@@ -11,4 +11,4 @@
arch="arm"
sed "s|<color>|${color}|" user-data.template.yml | sed "s|<user>|${USER}|" | sed "s|<ssh-key>|${key}|" | sed "s|<arch>|${arch}|"> user-data.generated
-flash --hostname ${color} -u ./user-data.generated https://github.com/sealsystems/pi-gen/releases/download/v1.3.3/image_2017-0... | bash |
d_bash_155 | ---
+++
@@ -14,4 +14,5 @@
done
# Make the basic directory structure
-mkdir -p assets content && cd assets && mkdir -p css fonts images js scss
+mkdir -p assets content && cd assets &&
+mkdir -p css fonts images js scss vendor | bash |
d_bash_156 | ---
+++
@@ -19,6 +19,6 @@
btrfs subvolume delete "$BTRFS_ROOT/$dest_id"
btrfs subvolume snapshot "$BTRFS_ROOT/$src_id" "$BTRFS_ROOT/$dest_id"
-rsync --archive --delete --read-batch=- "$BTRFS_ROOT/$dest_id"
+rsync --timeout=30 --archive --delete --read-batch=- "$BTRFS_ROOT/$dest_id"
docker tag -f "$dest_id" "$d... | bash |
d_bash_157 | ---
+++
@@ -2,3 +2,4 @@
set -e
swift package generate-xcodeproj --xcconfig-overrides AudioKit.xcconfig
xcodebuild -project AudioKit.xcodeproj -scheme AudioKit-Package clean test | xcpretty -c
+xcodebuild -project AudioKit.xcodeproj -scheme AudioKit-Package -destination 'platform=iOS Simulator,name=iPhone 11,OS=13.... | bash |
d_bash_158 | ---
+++
@@ -31,6 +31,7 @@
./install_kernel.sh "$TEMP/boot" "$LINUX"
./install_kernel_modules.sh "$TEMP" "$LINUX"
+./install_kernel_headers.sh "$TEMP" "$LINUX"
# Use uEnv.txt.in so we do not overwrite customizations on next update.
mv "$TEMP/boot/uEnv.txt" "$TEMP/boot/uEnv.txt.in" | bash |
d_bash_159 | ---
+++
@@ -1,4 +1,7 @@
#!/bin/bash
+
+docker-compose -f config/services.yml stop
+docker-compose -f config/overview.yml stop
docker-compose -f config/services.yml pull
docker-compose -f config/overview.yml pull | bash |
d_bash_160 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/sh
-image=${WF_DOCKER_IMAGE:-gcr.io/web-central/wf-dev}
+image=${WF_DOCKER_IMAGE:-google/webfundamentals}
cmd=$1
action=$2
if [[ "$cmd" = "grunt" && "$action" = "develop" ]]; then | bash |
d_bash_161 | ---
+++
@@ -41,6 +41,7 @@
install_git() {
local readonly target=~/.config/git
[[ -e $target ]] && die "$target already exists"
+ mkdir -p ~/.config
ln -s "$srcdir/git" $target
}
| bash |
d_bash_162 | ---
+++
@@ -10,5 +10,5 @@
envtpl < /etc/burp/burpui.cfg.tpl > /etc/burp/burpui.cfg
-exec /usr/bin/gunicorn -k gevent -w 4 -b '0.0.0.0:5000' 'burpui:create_app(conf="/etc/burp/burpui.cfg", verbose=3)'
-#exec /usr/bin/python3-gunicorn -k gevent -w 4 -b '0.0.0.0:5000' 'burpui:create_app(conf="/etc/burp/burpui.cfg",... | bash |
d_bash_163 | ---
+++
@@ -15,6 +15,7 @@
'GDAL_DATA="/usr/share/gdal"' \
'SHELL="/bin/bash"' \
'SEPAL="true"' \
+ 'PROJ_LIB="/usr/share/proj"' \
>> /etc/environment
# Remove redundant files | bash |
d_bash_164 | ---
+++
@@ -15,6 +15,6 @@
# Setup service for nginx ingress controller. A DNS entry for *.certmanager.kubernetes.network has been setup to point to 10.0.0.15 for e2e tests
while true; do if kubectl get rc nginx-ingress-controller -n kube-system; then break; fi; echo "Waiting 5s for nginx-ingress-controller rc to be... | bash |
d_bash_165 | ---
+++
@@ -23,5 +23,5 @@
# Only credential 2.6.1 is compatible with current LTS 2.303.3
# For some reason using URL breaks the command if it's reapplied, so be sure
# you removed credentials from thos command if you want to reapply
-cli_call install-plugin swarm https://updates.jenkins.io/download/plugins/credent... | bash |
d_bash_166 | ---
+++
@@ -31,6 +31,7 @@
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks
setopt EXTENDED_HISTORY # Save commands timestamp and duration
setopt HIST_VERIFY # Dont execute outright when entering line w/ hist expansion
+setopt CHASE_LINKS # Resolve symlinks to their true values
# => Basics
setopt NO_LIST_B... | bash |
d_bash_167 | ---
+++
@@ -11,11 +11,11 @@
. ${RESOURCES_ARTIFACTS_PROTOBUF_CPP_LIBRARIES}/setup.sh
(
VERSION="2.1.2"
- ${RESOURCES_FETCH_URL_SCRIPT} http://chagall.med.cornell.edu/goby/releases/archive/release-goby_${VERSION}/goby-cpp.zip
-
+ ... | bash |
d_bash_168 | ---
+++
@@ -6,5 +6,5 @@
rsync -r doc/ .
git add .
git commit
-git push -u origin gh-pages
+git push -u damballa gh-pages
git checkout master | bash |
d_bash_169 | ---
+++
@@ -7,3 +7,5 @@
scp $campi:/home/st33v/pix/*.jpg /home/st33v/cams/$campi/. 2>/dev/null
ssh $campi "rm /home/st33v/pix/*.jpg" 2>/dev/null
+
+#exit(0) # force succes exit code for fussy systemd | bash |
d_bash_170 | ---
+++
@@ -14,6 +14,6 @@
pushd .goat/deps/src/github.com/mozilla-services/heka
echo 'add_external_plugin(git https://github.com/OwnLocal/heka-plugins :local)' > cmake/plugin_loader.cmake
source build.sh
-cpack -G ${BUILD_TYPE} -D CPACK_PACKAGE_FILE_NAME=heka-${CIRCLE_BUILD_NUM}
+cpack -G ${BUILD_TYPE} -D CPACK_PA... | bash |
d_bash_171 | ---
+++
@@ -23,5 +23,5 @@
examples_process $OUT_DIR
# Readme
-cp Readme.txt $OUT_DIR
+cp Readme.md $OUT_DIR
| bash |
d_bash_172 | ---
+++
@@ -1,6 +1,3 @@
-# matches case insensitive for lowercase
-zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
-
# pasting with tabs doesn't perform completion
zstyle ':completion:*' insert-tab pending
| bash |
d_bash_173 | ---
+++
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. venv/bin/activate
-py.test -v --durations 5 --cache-clear tests/
+py.test -v --cov gypsy --durations 5 --cache-clear tests/
| bash |
d_bash_174 | ---
+++
@@ -8,7 +8,6 @@
#
# Uncomment this line and update it with the correct credentials.
# CODE_SIGN_IDENTITY="iPhone Developer: Person B (8<snip>F)"
-CODE_SIGN_IDENTITY="iPhone Developer: Joshua Moody (8QEQJFT59F)"
set -e
| bash |
d_bash_175 | ---
+++
@@ -16,4 +16,4 @@
nova boot --flavor 1 --image cirros_image --key_name test --config-drive true testvm
sleep 60
-ip netns `ip netns` exec ping -c 1 10.0.0.2
+ip netns exec `ip netns` ping -c 1 10.0.0.2 | bash |
d_bash_176 | ---
+++
@@ -15,4 +15,5 @@
--enable-ecore-con \
--enable-ecore-ipc \
--enable-ecore-txt \
+--enable-ecore-config \
$@ | bash |
d_bash_177 | ---
+++
@@ -3,5 +3,5 @@
# Extract all translatable messages to update the Arista PO template
xgettext -L glade -o - ui/*.ui | tail -n +6 >locale/templates/arista.pot
-xgettext -L python -o - arista-gtk arista-transcode arista/*.py arista/inputs/*.py | tail -n +18 >>locale/templates/arista.pot
+xgettext -L python ... | bash |
d_bash_178 | ---
+++
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
if [ "$IS_COVERAGE_BUILD" == 1 ]; then
- coveralls --exclude externals --exclude CMakeFiles --gcov-options '\-lp'
+ coveralls --exclude externals --gcov-options '\-lp'
fi | bash |
d_bash_179 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash
if [[ -n $AUTO_BAMBOO_HOST ]]; then
-sed -i "s/^.*Endpoint\": \"\(http:\/\/haproxy-ip-address:8000\)\".*$/ \"EndPoint\": \"$HOST\",/" \
+sed -i "s/^.*Endpoint\": \"\(http:\/\/haproxy-ip-address:8000\)\".*$/ \"EndPoint\": \"$HOST:8000\",/" \
${CONFIG_PATH:=config/produc... | bash |
d_bash_180 | ---
+++
@@ -11,3 +11,6 @@
# Make holding down a key work in Sublime Text vintage mode
defaults write com.sublimetext.3 ApplePressAndHoldEnabled -bool false
+# Open Sublime Text from the command line
+sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl
+ | bash |
d_bash_181 | ---
+++
@@ -16,4 +16,5 @@
cd $INSTALL_DIR
git pull
make locale/de/LC_MESSAGES/django.mo
+python manage.py migrate documents
sudo /etc/init.d/apache2 restart | bash |
d_bash_182 | ---
+++
@@ -2,3 +2,6 @@
# create a user
syndicate create_user "cyverse@cyverse.org" auto
+
+# export a user
+syndicate export_user "cyverse@cyverse.org" ~/. | bash |
d_bash_183 | ---
+++
@@ -17,3 +17,5 @@
alias gcb='git copy-branch-name'
alias gb='git branch'
alias gs='git status -sb' # upgrade your git if -sb breaks for you. it's fun.
+
+alias gnew="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative HEAD..dev" | bash |
d_bash_184 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/sh
-git submodule foreach git pull origin master
+git submodule update --init --recursive
ln -s `realpath .vimrc` ~/.vimrc
ln -s `realpath .vim` ~/.vim | bash |
d_bash_185 | ---
+++
@@ -10,6 +10,6 @@
-p $HOST_PORT:$CONTAINER_PORT \
-v $CONFIG:/etc/imgry.conf \
-v /data:/data \
- --memory-swap=-1 \
+ --memory-swappines=0 \
--restart=always \
--name $NAME $IMAGE | bash |
d_bash_186 | ---
+++
@@ -17,7 +17,7 @@
setCppcheckTriggerVars() {
CPPCHECK_BLDRVERSION_STD=${CPPCHECK_BLDRVERSION_STD:-"1.72"}
- CPPCHECK_BLDRVERSION_EXP=${CPPCHECK_BLDRVERSION_EXP:-"1.72"}
+ CPPCHECK_BLDRVERSION_EXP=${CPPCHECK_BLDRVERSION_EXP:-"1.76.1"}
if ! test "$CPPCHECK_BUILDS" = NONE; then
if ! [[ `uname` =~... | bash |
d_bash_187 | ---
+++
@@ -14,3 +14,4 @@
sudo apt-get install git-extras
git config --global core.excludesfile ~/.gitignore_global
+git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX" | bash |
d_bash_188 | ---
+++
@@ -17,3 +17,4 @@
hoverctl import pages/simulations/multiple-locations-delay-simulation.json
hoverctl export pages/simulations/multiple-locations-delay-simulation.json
hoverctl stop
+sed -i 's/\t/ /g' pages/simulations/*.json | bash |
d_bash_189 | ---
+++
@@ -4,6 +4,6 @@
HYDRA="${HYDRA_DIR}/bin/hydra"
MPIPROG="mpiexec"
-${MPIPROG} -n {{ number_of_slots-1 }} ${HYDRA} -i input/dhbox.exo -c input/dhbbox.cntl
+${MPIPROG} -n {{ number_of_slots-1 }} ${HYDRA} -i input/dhbox.exo -c input/dhbox.cntl
rm -rf input | bash |
d_bash_190 | ---
+++
@@ -3,5 +3,5 @@
git clone --depth 1 git@github.com:koding/credential.git
git clone --depth 1 git@github.com:koding/vault.git
-cp -Rv credential/config/* config/
-cp -Rv credential/scripts/* scripts/
+cp -Rv credential/config/* vault/config/* config/
+cp -Rv credential/scripts/* vault/scripts/* scripts/ | bash |
d_bash_191 | ---
+++
@@ -11,6 +11,7 @@
# Replace the placeholder with the db pw for the environment
executeSSH "sed -i \"s/@DB_PASSWORD/$DB_PASSWORD/g\" $APPROOT/deploy/backend/config/db.php" > /dev/null
+executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft migrate/all"
executeSSH "APPENV=$ENV $DEPLOY_PHP... | bash |
d_bash_192 | ---
+++
@@ -20,4 +20,3 @@
apm install minimap-selection
apm install sort-lines
apm install uuidgen
-apm install white-cursor | bash |
d_bash_193 | ---
+++
@@ -24,4 +24,4 @@
export LC_CTYPE=$LANG
export LC_ALL=en_US.UTF-8
export EDITOR=nvim
-export PATH=$LOCALDIR/go/bin:$PATH
+export PATH=$LOCALDIR/go/bin:$HOME/go/bin:$PATH | bash |
d_bash_194 | ---
+++
@@ -22,3 +22,5 @@
alias yuc="yarn global upgrade && yarn cache clean"
alias yui="yarn upgrade-interactive"
alias yup="yarn upgrade"
+alias yw="yarn workspace"
+alias yws="yarn workspaces" | bash |
d_bash_195 | ---
+++
@@ -8,7 +8,6 @@
user=lancelet
docker login \
- -e="$DOCKER_EMAIL" \
-u="$DOCKER_USERNAME" \
-p="$DOCKER_PASSWORD"
docker push $user/$docker_image:$DOCKER_IMAGE_VERSION | bash |
d_bash_196 | ---
+++
@@ -8,6 +8,6 @@
echo "Installing vbox guest additions"
apt-get install build-essential module-assistant &&
m-a prepare &&
-mount /media/cdrom &&
+mount /media/cdrom
sh /media/cdrom/VBoxLinuxAdditions.run
| bash |
d_bash_197 | ---
+++
@@ -24,6 +24,7 @@
clean ()
{
+ git checkout $initial
.github/rmpr.sh $pr
}
| bash |
d_bash_198 | ---
+++
@@ -9,4 +9,5 @@
npm run create-website
babel -d dist/main src
+cp README.md dist/main
npm run generate-packages | bash |
d_bash_199 | ---
+++
@@ -21,5 +21,7 @@
cp ${micro_src}/micro/README ${archive_dir}
cp ${micro_src}/micro/RELEASE_NOTES ${archive_dir}
+echo "${version}" > ${archive_dir}/VERSION
+
cd ${dest_dir}
zip --recurse-paths micro-${version}.zip ${archive_dir_name} | bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.