prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/.travis.yml language: ruby # This intended to fix bundler bug in Ruby 1.9.3 (see https://github.com/travis-ci/travis-ci/issues/5239) before_install: - gem install bundler rvm: - 2.3.3 - 2.4.0 - 2.5.1 - 2.6.4 <|file_sep|>current/.travis.yml language: ruby # This intended to fix bundler ...
language: ruby # This intended to fix bundler bug in Ruby 1.9.3 (see https://github.com/travis-ci/travis-ci/issues/5239) before_install: - gem install bundler rvm: - 2.3.8 - 2.4.10 - 2.5.9 - 2.6.7 - 2.7.3 - 3.0.1
<|file_sep|>original/.travis.yml language: ruby # This intended to fix bundler bug in Ruby 1.9.3 (see https://github.com/travis-ci/travis-ci/issues/5239) before_install: - gem install bundler rvm: - 2.3.3 - 2.4.0 - 2.5.1 - 2.6.4 <|file_sep|>current/.travis.yml language: ruby # This intended to fix bundler ...
426b80ff165bfe4ba33c429f14271b01e7fe4bb9
.travis.yml
.travis.yml
YAML
<|file_sep|>GruntFile.js.diff original: updated: var jsFiles = [ 'Gruntfile.js', 'generators/**/*.js' ]; <|file_sep|>GruntFile.js.diff original: files: [ 'Gruntfile.js', 'generators/**/*.js' ], updated: files: jsFiles, <|file_...
createTag: false, push: false } }, watch: { options: { spawn: false }, scripts: { files: jsFiles, tasks: ['jshint'] } } }); grunt.loadNpmTasks('gru...
<|file_sep|>GruntFile.js.diff original: updated: var jsFiles = [ 'Gruntfile.js', 'generators/**/*.js' ]; <|file_sep|>GruntFile.js.diff original: files: [ 'Gruntfile.js', 'generators/**/*.js' ], updated: files: jsFiles, <|file_...
a602af391fe8b1d6b6a022ad21e57aaf00555ede
GruntFile.js
GruntFile.js
JavaScript
<|file_sep|>original/src/mlpack/methods/neighbor_search/CMakeLists.txt # Define the files we need to compile. # Anything not in this list will not be compiled into MLPACK. set(SOURCES neighbor_search.hpp neighbor_search_impl.hpp neighbor_search_rules.hpp neighbor_search_rules_impl.hpp neighbor_search_stat.hpp...
# Define the files we need to compile. # Anything not in this list will not be compiled into MLPACK. set(SOURCES neighbor_search.hpp neighbor_search_impl.hpp neighbor_search_rules.hpp neighbor_search_rules_impl.hpp neighbor_search_stat.hpp ns_traversal_info.hpp sort_policies/nearest_neighbor_sort.hpp so...
<|file_sep|>original/src/mlpack/methods/neighbor_search/CMakeLists.txt # Define the files we need to compile. # Anything not in this list will not be compiled into MLPACK. set(SOURCES neighbor_search.hpp neighbor_search_impl.hpp neighbor_search_rules.hpp neighbor_search_rules_impl.hpp neighbor_search_stat.hpp...
255218bececc72227a834cf2571081e0fe961347
src/mlpack/methods/neighbor_search/CMakeLists.txt
src/mlpack/methods/neighbor_search/CMakeLists.txt
Text
<|file_sep|>README.md.diff original: Assertions for `DataSource` using datasource-proxy. Also, includes custom assertions for `assertThat` in AssertJ and Hamcrest. updated: Assertions for `DataSource` using [datasource-proxy]. Also, includes custom assertions for `assertThat` in [Assertj][assertj] and [Hamcrest][ha...
# datasource-assertions Assertions for `DataSource` using [datasource-proxy]. Also, includes custom assertions for `assertThat` in [Assertj][assertj] and [Hamcrest][hamcrest]. ## Usage examples ### Regular assertions(assertEquals, etc) - [SimpleAssertionApiCheck](../master/src/test/java/net/ttddyy/dsproxy/test/Sim...
<|file_sep|>README.md.diff original: Assertions for `DataSource` using datasource-proxy. Also, includes custom assertions for `assertThat` in AssertJ and Hamcrest. updated: Assertions for `DataSource` using [datasource-proxy]. Also, includes custom assertions for `assertThat` in [Assertj][assertj] and [Hamcrest][ha...
d286ab7310ded7827b85d5f5bfa9ef82156b67d0
README.md
README.md
Markdown
<|file_sep|>original/cntlm_noproxy_config.sh <|file_sep|>current/cntlm_noproxy_config.sh <|file_sep|>updated/cntlm_noproxy_config.sh
#!/bin/bash # script for automatic reconfiguration of CNTLM's NoProxy setting # # changes NoProxy setting according to assigned IP address, for example # to skip corporate proxy when not in corporate network and to use the proxy # with desired exceptions when in corporate network # # usage: # 1. make sure $CNTLM_CONF ...
<|file_sep|>original/cntlm_noproxy_config.sh <|file_sep|>current/cntlm_noproxy_config.sh <|file_sep|>updated/cntlm_noproxy_config.sh #!/bin/bash # script for automatic reconfiguration of CNTLM's NoProxy setting # # changes NoProxy setting according to assigned IP address, for example # to skip corporate proxy when n...
812a40401d5d4cb3a61f30215ad1583dd983fcea
cntlm_noproxy_config.sh
cntlm_noproxy_config.sh
Shell
<|file_sep|>Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/UIRequirementSpecNode.java.diff original: updated: import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.swing.Action; <|file_sep|>original/Client/Client-UI/src/main/java/net/sourceforge/javydre...
public UIRequirementSpecNode(RequirementSpec spec) throws IntrospectionException { super(spec, new SpecNodeChildFactory(spec), new InstanceContent()); setIconBaseWithExtension("com/validation/manager/resources/icons/Papermart/Contacts-alt.png"); } @Override public String...
<|file_sep|>Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/UIRequirementSpecNode.java.diff original: updated: import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.swing.Action; <|file_sep|>original/Client/Client-UI/src/main/java/net/sourceforge/javydre...
73b4abbdede9847851ea7c5575d03e96e0d58d4d
Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/UIRequirementSpecNode.java
Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/UIRequirementSpecNode.java
Java
<|file_sep|>trigrams.py.diff original: print(lines) updated: # print(lines) <|file_sep|>trigrams.py.diff original: text.replace(c, ' ') updated: text = text.replace(c, ' ') return text <|file_sep|>original/trigrams.py import string def read_file(): """Open and read file input.""" f...
def read_file(): """Open and read file input.""" f = io.open('sherlock_small.txt', 'r') lines = ''.join(f.readlines()) # print(lines) return lines def strip_punct(text): """Do stuff.""" # strip punct from # print(type(text)) for c in string.punctuation: text = text.replac...
<|file_sep|>trigrams.py.diff original: print(lines) updated: # print(lines) <|file_sep|>trigrams.py.diff original: text.replace(c, ' ') updated: text = text.replace(c, ' ') return text <|file_sep|>original/trigrams.py import string def read_file(): """Open and read file input.""" f...
e889b37d6db1ca29e874e11cdc122159fe9da136
trigrams.py
trigrams.py
Python
<|file_sep|>original/python-trezor-wine.sh set -ev test -d cython-hidapi || git clone https://github.com/trezor/cython-hidapi (cd cython-hidapi; git pull; git submodule init; git submodule update) test -d python-trezor || git clone https://github.com/akhavr/python-trezor (cd python-trezor; git pull) cat > ./.build-t...
test -d cython-hidapi || git clone https://github.com/trezor/cython-hidapi (cd cython-hidapi; git pull; git submodule init; git submodule update) test -d python-trezor || git clone https://github.com/akhavr/python-trezor (cd python-trezor; git pull) cat > ./.build-trezor.sh <<EOF wine python -m pip install -U pip se...
<|file_sep|>original/python-trezor-wine.sh set -ev test -d cython-hidapi || git clone https://github.com/trezor/cython-hidapi (cd cython-hidapi; git pull; git submodule init; git submodule update) test -d python-trezor || git clone https://github.com/akhavr/python-trezor (cd python-trezor; git pull) cat > ./.build-t...
da6ad192c28bab38ad21d8b4b23bc8ca9f5ffe32
python-trezor-wine.sh
python-trezor-wine.sh
Shell
<|file_sep|>original/ipwb/serviceWorker.js /* eslint-env serviceworker */ // This makes a module available named "reconstructive" importScripts('reconstructive.js') // Customize configs (defaults should work for IPWB out of the box) // reconstructive.init({ // version: 'reconstructive.js:v1', // urimPattern: self...
/* eslint-env serviceworker */ // This makes a module available named "reconstructive" importScripts('/reconstructive.js') // Customize configs (defaults should work for IPWB out of the box) // reconstructive.init({ // version: 'reconstructive.js:v1', // urimPattern: self.location.origin + '/memento/<datetime>/<u...
<|file_sep|>original/ipwb/serviceWorker.js /* eslint-env serviceworker */ // This makes a module available named "reconstructive" importScripts('reconstructive.js') // Customize configs (defaults should work for IPWB out of the box) // reconstructive.init({ // version: 'reconstructive.js:v1', // urimPattern: self...
884455a7aa3cc8f8a6f1d6f9ca28faa597b4993f
ipwb/serviceWorker.js
ipwb/serviceWorker.js
JavaScript
<|file_sep|>original/app/assets/javascripts/representativeSelector.js representativeSelect.trigger('liszt:updated'); // chosen } districtSelect.change(function (e) { useRepresentativesFrom($(this).val()); if (opts.selectedRepresentative !== '') { representativeSelect.val(...
representativeSelect.trigger('liszt:updated'); // chosen } districtSelect.change(function (e) { useRepresentativesFrom($(this).val()); if (opts.selectedRepresentative !== '') { representativeSelect.val(opts.selectedRepresentative).change(); } }); if ...
<|file_sep|>original/app/assets/javascripts/representativeSelector.js representativeSelect.trigger('liszt:updated'); // chosen } districtSelect.change(function (e) { useRepresentativesFrom($(this).val()); if (opts.selectedRepresentative !== '') { representativeSelect.val(...
8ca18ff251f2f44b93ebb9050931c542628fc8d1
app/assets/javascripts/representativeSelector.js
app/assets/javascripts/representativeSelector.js
JavaScript
<|file_sep|>packages/av/avatar-generator.yaml.diff original: hash: 12fc502c958c58195cb95bd7cfeef7845da52d1df3e39935fa3c6cbcd00186be updated: hash: 765f6b24e602dba81da2f067f8d457ca62d95055dac3496a2994f9b4fa9c9d41 <|file_sep|>packages/av/avatar-generator.yaml.diff original: synopsis: A simple 5x5 random avatar icon gener...
homepage: http://github.com/keera-studios/avatar-generator changelog-type: '' hash: 765f6b24e602dba81da2f067f8d457ca62d95055dac3496a2994f9b4fa9c9d41 test-bench-deps: {} maintainer: ivan.perez@keera.co.uk synopsis: A simple random avatar icon generator changelog: '' basic-deps: JuicyPixels: ! '>=3.2 && <3.3' base: !...
<|file_sep|>packages/av/avatar-generator.yaml.diff original: hash: 12fc502c958c58195cb95bd7cfeef7845da52d1df3e39935fa3c6cbcd00186be updated: hash: 765f6b24e602dba81da2f067f8d457ca62d95055dac3496a2994f9b4fa9c9d41 <|file_sep|>packages/av/avatar-generator.yaml.diff original: synopsis: A simple 5x5 random avatar icon gener...
c7f55bf6dfde7dd4c49f1c1e5f896f988d97e91c
packages/av/avatar-generator.yaml
packages/av/avatar-generator.yaml
YAML
<|file_sep|>.travis.yml.diff original: updated: bundler_args: --without development <|file_sep|>.travis.yml.diff original: updated: - jruby-18mode - jruby-19mode - jruby-head <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree <|file_sep|>current/.travis.yml language: ruby...
language: ruby bundler_args: --without development rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - jruby-head - ree - ruby-head - rbx-18mode # - rbx-19mode
<|file_sep|>.travis.yml.diff original: updated: bundler_args: --without development <|file_sep|>.travis.yml.diff original: updated: - jruby-18mode - jruby-19mode - jruby-head <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree <|file_sep|>current/.travis.yml language: ruby...
e842a38299118b098d7ac071e400af0cf5bcfe0f
.travis.yml
.travis.yml
YAML
<|file_sep|>dmoj/executors/RKT.py.diff original: updated: import os <|file_sep|>dmoj/executors/RKT.py.diff original: import os updated: <|file_sep|>original/dmoj/executors/RKT.py from dmoj.executors.base_executor import CompiledExecutor from dmoj.executors.mixins import ScriptDirectoryMixin import os class Executo...
import os from dmoj.executors.base_executor import CompiledExecutor from dmoj.executors.mixins import ScriptDirectoryMixin class Executor(ScriptDirectoryMixin, CompiledExecutor): ext = '.rkt' name = 'RKT' fs = [os.path.expanduser('~/\.racket/.*?'), '/etc/racket/.*?'] command = 'racket' syscalls...
<|file_sep|>dmoj/executors/RKT.py.diff original: updated: import os <|file_sep|>dmoj/executors/RKT.py.diff original: import os updated: <|file_sep|>original/dmoj/executors/RKT.py from dmoj.executors.base_executor import CompiledExecutor from dmoj.executors.mixins import ScriptDirectoryMixin import os class Executo...
1474c74bc65576e1931ff603c63be0d5d1ca803a
dmoj/executors/RKT.py
dmoj/executors/RKT.py
Python
<|file_sep|>app/Transformers/Inbound/Collections/Asset.php.diff original: protected function getDates(Datum $datum) { $dates = parent::getDates($datum); updated: // Unfortunately, NetX does not provide this data: // protected function getDates(Datum $datum) // { // $dates = parent::g...
'lake_guid' => $datum->id, ]; } // Unfortunately, NetX does not provide this data: // protected function getDates(Datum $datum) // { // $dates = parent::getDates($datum); // return array_merge($dates, [ // 'content_modified_at' => $datum->date('content_m...
<|file_sep|>app/Transformers/Inbound/Collections/Asset.php.diff original: protected function getDates(Datum $datum) { $dates = parent::getDates($datum); updated: // Unfortunately, NetX does not provide this data: // protected function getDates(Datum $datum) // { // $dates = parent::g...
144f1d53cf54925628b014769c130437bfa9aa72
app/Transformers/Inbound/Collections/Asset.php
app/Transformers/Inbound/Collections/Asset.php
PHP
<|file_sep|>original/applications/advection/2d/filament/user_4.6/setaux_nomap.f <|file_sep|>current/applications/advection/2d/filament/user_4.6/setaux_nomap.f <|file_sep|>updated/applications/advection/2d/filament/user_4.6/setaux_nomap.f
subroutine setaux_nomap(mbc,mx,my,xlower,ylower,dx,dy, & maux,aux) implicit none integer mbc, mx,my, meqn, maux double precision dx,dy, xlower, ylower double precision aux(1-mbc:mx+mbc,1-mbc:my+mbc, maux) double precision t t = 0 call compute_velocity_psi_no...
<|file_sep|>original/applications/advection/2d/filament/user_4.6/setaux_nomap.f <|file_sep|>current/applications/advection/2d/filament/user_4.6/setaux_nomap.f <|file_sep|>updated/applications/advection/2d/filament/user_4.6/setaux_nomap.f subroutine setaux_nomap(mbc,mx,my,xlower,ylower,dx,dy, & maux,au...
8998467d70cf76304ce273ab48e2109f34ba51cc
applications/advection/2d/filament/user_4.6/setaux_nomap.f
applications/advection/2d/filament/user_4.6/setaux_nomap.f
FORTRAN
<|file_sep|>original/lib/docs/scrapers/apache.rb module Docs class Apache < UrlScraper self.name = 'Apache HTTP Server' self.slug = 'apache_http_server' self.type = 'apache' self.release = '2.4.23' self.base_url = 'https://httpd.apache.org/docs/2.4/en/' self.links = { home: 'https://http...
module Docs class Apache < UrlScraper self.name = 'Apache HTTP Server' self.slug = 'apache_http_server' self.type = 'apache' self.release = '2.4.25' self.base_url = 'https://httpd.apache.org/docs/2.4/en/' self.links = { home: 'https://httpd.apache.org/' } html_filters.push 'apac...
<|file_sep|>original/lib/docs/scrapers/apache.rb module Docs class Apache < UrlScraper self.name = 'Apache HTTP Server' self.slug = 'apache_http_server' self.type = 'apache' self.release = '2.4.23' self.base_url = 'https://httpd.apache.org/docs/2.4/en/' self.links = { home: 'https://http...
3e58ec2aeebade9337f0730628b7b59223e39350
lib/docs/scrapers/apache.rb
lib/docs/scrapers/apache.rb
Ruby
<|file_sep|>original/requirements.txt pytest==6.2.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 pytest-benchmark==3.1.1 Sphinx==1.7.4 wheel==0.31.1 <|file_sep|>current/requirements.txt pytest==6.2.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 pytest-benchmark==3.1.1 Sphinx==1.7.4 wheel==0.31.1 <|file_sep|>updated/requirements.tx...
pytest==6.2.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 pytest-benchmark==3.1.1 Sphinx==1.7.4 wheel==0.36.1
<|file_sep|>original/requirements.txt pytest==6.2.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 pytest-benchmark==3.1.1 Sphinx==1.7.4 wheel==0.31.1 <|file_sep|>current/requirements.txt pytest==6.2.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 pytest-benchmark==3.1.1 Sphinx==1.7.4 wheel==0.31.1 <|file_sep|>updated/requirements.tx...
6979fbbc8361aca1f2e25ab356bff71684916382
requirements.txt
requirements.txt
Text
<|file_sep|>original/aliases.zsh alias sc='ruby script/console' alias sd='ruby script/server --debugger' alias ss='thin --stats "/thin/stats" start' alias mr='mate CHANGELOG app config db lib public script spec test' alias .='pwd' alias ...='cd ../..' alias _='sudo' alias g='grep -in' alias history='fc -l 1' alias...
alias sc='ruby script/console' alias sd='ruby script/server --debugger' alias ss='thin --stats "/thin/stats" start' alias mr='mate CHANGELOG app config db lib public script spec test' alias .='pwd' alias ...='cd ../..' alias _='sudo' #alias g='grep -in' alias g='git' alias history='fc -l 1' alias ls='ls -GF' alias...
<|file_sep|>original/aliases.zsh alias sc='ruby script/console' alias sd='ruby script/server --debugger' alias ss='thin --stats "/thin/stats" start' alias mr='mate CHANGELOG app config db lib public script spec test' alias .='pwd' alias ...='cd ../..' alias _='sudo' alias g='grep -in' alias history='fc -l 1' alias...
0f2e63f8995bfaf35b2cfc149866c3be503d3820
aliases.zsh
aliases.zsh
Shell
<|file_sep|>original/dot_zsh/keys.zsh bindkey '\ew' kill-region bindkey -s '\el' "ls\n" bindkey '^r' history-incremental-search-backward bindkey "^[[5~" up-line-or-history bindkey "^[[6~" down-line-or-history bindkey '^[[A' up-line-or-search bindkey '^[[B' down-line-or-search bindkey "^[[H" beginning-of-line bindkey "^...
bindkey -s '\el' "ls\n" bindkey '^r' history-incremental-search-backward bindkey "^[[5~" up-line-or-history bindkey "^[[6~" down-line-or-history bindkey '^[[A' up-line-or-search bindkey '^[[B' down-line-or-search bindkey "^[[H" beginning-of-line bindkey "^[[1~" beginning-of-line bindkey "^[OH" beginning-of-line bindkey...
<|file_sep|>original/dot_zsh/keys.zsh bindkey '\ew' kill-region bindkey -s '\el' "ls\n" bindkey '^r' history-incremental-search-backward bindkey "^[[5~" up-line-or-history bindkey "^[[6~" down-line-or-history bindkey '^[[A' up-line-or-search bindkey '^[[B' down-line-or-search bindkey "^[[H" beginning-of-line bindkey "^...
cac232bce38dda35825ef2ecdb14175b9b431c34
dot_zsh/keys.zsh
dot_zsh/keys.zsh
Shell
<|file_sep|>publish.sh.diff original: updated: # First, publish docs <|file_sep|>publish.sh.diff original: updated: <|file_sep|>publish.sh.diff original: updated: # Then publish build artifacts <|file_sep|>original/publish.sh rm -rf publish_docs || exit 0; mkdir publish_docs cp -R docs/* publish_docs cd publish_do...
git init git config user.name "ZeusJS Build Bot" git config user.email "zeusjs.bot@gmail.com" git add . git commit -m "Deployed to Github Pages" git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1 cd .. # Then publish build artifacts rm -rf .travis_build || exit 0; mkdir .travis_...
<|file_sep|>publish.sh.diff original: updated: # First, publish docs <|file_sep|>publish.sh.diff original: updated: <|file_sep|>publish.sh.diff original: updated: # Then publish build artifacts <|file_sep|>original/publish.sh rm -rf publish_docs || exit 0; mkdir publish_docs cp -R docs/* publish_docs cd publish_do...
39f745deab92aeaa9aa458e6fd7c554e58c52b9f
publish.sh
publish.sh
Shell
<|file_sep|>original/.gitlab-ci.yml - tags cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules/ artifacts: paths: - public/ - lambda/ deploy: stage: deploy environment: name: production url: https://iiro.fi before_script: - npm i -g netlify-cli@next script: ...
- tags cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules/ artifacts: paths: - public/ - lambda/ deploy: stage: deploy environment: name: production url: https://iiro.fi before_script: - npm i -g netlify-cli@next script: - netlify deploy -d public -f lam...
<|file_sep|>original/.gitlab-ci.yml - tags cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules/ artifacts: paths: - public/ - lambda/ deploy: stage: deploy environment: name: production url: https://iiro.fi before_script: - npm i -g netlify-cli@next script: ...
cdcd817f94193c89818692fa4b05a6dd9c29c607
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/.github/workflows/main.yml name: Docker build on: push: branches: [ '*' ] tags: [ '*' ] jobs: docker-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build and push Docker images uses: docker/build-push-action@v1.0.1 with: us...
name: Docker build on: push: branches: [ '*' ] tags: [ '*' ] jobs: docker-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build and push Docker images uses: docker/build-push-action@v1.0.1 with: username: konstin2 password: ${{ secrets.D...
<|file_sep|>original/.github/workflows/main.yml name: Docker build on: push: branches: [ '*' ] tags: [ '*' ] jobs: docker-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build and push Docker images uses: docker/build-push-action@v1.0.1 with: us...
419f1d7a72eb14baec06ea3df3e6b1e36c32f963
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" script: "npm run $TEST_STEP" env: matrix: - TEST_STEP=lint - TEST_STEP=test notifications: email: false before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>current/.travis.yml language: node_js node_js: ...
language: node_js node_js: - "4.2.6" script: "npm run $TEST_STEP" env: matrix: - TEST_STEP=lint - TEST_STEP=test notifications: email: false before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" script: "npm run $TEST_STEP" env: matrix: - TEST_STEP=lint - TEST_STEP=test notifications: email: false before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>current/.travis.yml language: node_js node_js: ...
4a6f1279fab25bdf6da21298ca1a6fd17b086103
.travis.yml
.travis.yml
YAML
<|file_sep|>original/gwt-example/src/main/java/org/realityforge/arez/gwt/examples/ExampleUtil.java import org.realityforge.arez.Arez; import org.realityforge.arez.ArezContext; import org.realityforge.arez.extras.WhyRun; final class ExampleUtil { private ExampleUtil() { } static void whyRun() { DomGlobal...
import org.realityforge.arez.Arez; import org.realityforge.arez.ArezContext; import org.realityforge.arez.extras.WhyRun; final class ExampleUtil { private ExampleUtil() { } static void spyEvents() { Arez.context().getSpy().addSpyEventHandler( SpyUtil::emitEvent ); } static void whyRun() { Dom...
<|file_sep|>original/gwt-example/src/main/java/org/realityforge/arez/gwt/examples/ExampleUtil.java import org.realityforge.arez.Arez; import org.realityforge.arez.ArezContext; import org.realityforge.arez.extras.WhyRun; final class ExampleUtil { private ExampleUtil() { } static void whyRun() { DomGlobal...
5a3dbe0367b7e734ea3668b33aa556a15b49e4b5
gwt-example/src/main/java/org/realityforge/arez/gwt/examples/ExampleUtil.java
gwt-example/src/main/java/org/realityforge/arez/gwt/examples/ExampleUtil.java
Java
<|file_sep|>README.md.diff original: Binaries: updated: Download Binaries: <|file_sep|>README.md.diff original: darwin: updated: | Platform | ------------------------ | [Linux (x64)][linux] | [macOS (x64)][darwin] | [Windows (x64)][windows] <|file_sep|>README.md.diff original: wget https...
Installation: // For linux/mac chmod +x kpt ./kpt version Source: GO111MODULE=on go get -v github.com/GoogleContainerTools/kpt ### [Documentation](googlecontainertools.github.io/kpt) See the [docs](docs/README.md) for more information on how to use `kpt`. --- [linux]: https://storage.googleapis...
<|file_sep|>README.md.diff original: Binaries: updated: Download Binaries: <|file_sep|>README.md.diff original: darwin: updated: | Platform | ------------------------ | [Linux (x64)][linux] | [macOS (x64)][darwin] | [Windows (x64)][windows] <|file_sep|>README.md.diff original: wget https...
3288d96b1ed6785274d2f461d93aed9174a22320
README.md
README.md
Markdown
<|file_sep|>original/src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/AndroidGradleVersion.kt package com.github.shiraji.permissionsdispatcherplugin.data class AndroidGradleVersion(versionText: String) { private var major: Int private var minor: Int init { try { majo...
package com.github.shiraji.permissionsdispatcherplugin.data class AndroidGradleVersion(versionText: String) { private var major: Int private var minor: Int init { try { major = versionText.substringBefore(".").toInt() minor = versionText.substring(versionText.indexOf(".") +...
<|file_sep|>original/src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/AndroidGradleVersion.kt package com.github.shiraji.permissionsdispatcherplugin.data class AndroidGradleVersion(versionText: String) { private var major: Int private var minor: Int init { try { majo...
e4ba4d0be4ff9322fffaf3fb66407b8236e721a7
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/AndroidGradleVersion.kt
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/AndroidGradleVersion.kt
Kotlin
<|file_sep|>forms.py.diff original: username = StringField('Username', validators=[DataRequired("Please enter a usename")]) updated: username = StringField('Username', validators=[DataRequired("Please enter a username")]) <|file_sep|>original/forms.py from wtforms import StringField, PasswordField, SubmitField, Radio...
from wtforms import StringField, PasswordField, SubmitField, RadioField, validators, IntegerField, BooleanField from wtforms.validators import DataRequired, Email, Length class AddUserForm(Form): name = StringField('Name of User', validators=[DataRequired("Please enter the name of the newcomer.")]) username= StringF...
<|file_sep|>forms.py.diff original: username = StringField('Username', validators=[DataRequired("Please enter a usename")]) updated: username = StringField('Username', validators=[DataRequired("Please enter a username")]) <|file_sep|>original/forms.py from wtforms import StringField, PasswordField, SubmitField, Radio...
e9c6b22ffaf498dc64f590689cc637a152444665
forms.py
forms.py
Python
<|file_sep|>src/main/java/nuclibook/routes/ExportRoute.java.diff original: updated: import nuclibook.entity_utils.ActionLogger; <|file_sep|>src/main/java/nuclibook/routes/ExportRoute.java.diff original: if (SecurityUtils.requirePermission(P.VIEW_PATIENT_LIST, response)) { updated: if (SecurityU...
return null; } String exportData = null; if (table.equals("patients")) { if (SecurityUtils.requirePermission(P.EXPORT_PATIENTS, response)) { if (type.equals("csv")) { exportData = ExportUtils.exportCSV(Patient.class); ...
<|file_sep|>src/main/java/nuclibook/routes/ExportRoute.java.diff original: updated: import nuclibook.entity_utils.ActionLogger; <|file_sep|>src/main/java/nuclibook/routes/ExportRoute.java.diff original: if (SecurityUtils.requirePermission(P.VIEW_PATIENT_LIST, response)) { updated: if (SecurityU...
4fd7840a1b3b7387c918de8f1369e14c62190dc7
src/main/java/nuclibook/routes/ExportRoute.java
src/main/java/nuclibook/routes/ExportRoute.java
Java
<|file_sep|>original/spec/CanvasToBuffer.coffee <|file_sep|>current/spec/CanvasToBuffer.coffee <|file_sep|>updated/spec/CanvasToBuffer.coffee
noflo = require 'noflo' unless noflo.isBrowser() chai = require 'chai' unless chai CanvasToBuffer = require '../components/CanvasToBuffer.coffee' else CanvasToBuffer = require 'noflo-image/components/CanvasToBuffer.js' describe 'CanvasToBuffer component', -> c = null ins = null out = null error = null ...
<|file_sep|>original/spec/CanvasToBuffer.coffee <|file_sep|>current/spec/CanvasToBuffer.coffee <|file_sep|>updated/spec/CanvasToBuffer.coffee noflo = require 'noflo' unless noflo.isBrowser() chai = require 'chai' unless chai CanvasToBuffer = require '../components/CanvasToBuffer.coffee' else CanvasToBuffer = re...
45838c10262793bf93b7ce546d10ac55ee9960a7
spec/CanvasToBuffer.coffee
spec/CanvasToBuffer.coffee
CoffeeScript
<|file_sep|>packages/po/pontarius-xmpp-extras.yaml.diff original: hash: 69d3a3b8e608ec77d3c5cb2551e79d0b1128fd0e855c836a834554bd2ea230f9 updated: hash: 0273b2018bdfc631ec38ba7d398443901782260b6ddf9d292d4ea36204b5a68c <|file_sep|>packages/po/pontarius-xmpp-extras.yaml.diff original: updated: - 0.1.0.1 <|file_sep|>origi...
changelog-type: '' hash: 0273b2018bdfc631ec38ba7d398443901782260b6ddf9d292d4ea36204b5a68c test-bench-deps: {} maintainer: zl29ah@gmail.com synopsis: XEPs implementation on top of pontarius-xmpp changelog: '' basic-deps: base: '>=4.12 && <4.13' time: '>=1.8 && <1.9' text: '>=1.2 && <1.3' data-default: '>=0.7.1.1...
<|file_sep|>packages/po/pontarius-xmpp-extras.yaml.diff original: hash: 69d3a3b8e608ec77d3c5cb2551e79d0b1128fd0e855c836a834554bd2ea230f9 updated: hash: 0273b2018bdfc631ec38ba7d398443901782260b6ddf9d292d4ea36204b5a68c <|file_sep|>packages/po/pontarius-xmpp-extras.yaml.diff original: updated: - 0.1.0.1 <|file_sep|>origi...
b272706c10ce9e305c4d049de7609095a0d22c8f
packages/po/pontarius-xmpp-extras.yaml
packages/po/pontarius-xmpp-extras.yaml
YAML
<|file_sep|>original/app/views/makers/show.html.erb <h1><%= "Contributions from #{@maker.name}" %></h1> <% if @jerries.any? %> <% @jerries.each do |jerry| %> <p> <%= link_to image_tag(jerry.avatar.url(:small).to_s), jerry_path(jerry) if jerry.avatar.url %> <%= link_to jerry.name, jerry_path(jerry) %> </p>...
<h1><%= "Contributions from #{@maker.name}" %></h1> <% if @jerries.any? %> <% @jerries.each do |jerry| %> <p> <% if jerry.avatar.url %> <%= link_to image_tag(jerry.avatar.url(:small).to_s), jerry_path(jerry) %> <% else %> <%= link_to image_tag("http://placehold.it/50x50&text=#{jerry.name.first.upcase}")...
<|file_sep|>original/app/views/makers/show.html.erb <h1><%= "Contributions from #{@maker.name}" %></h1> <% if @jerries.any? %> <% @jerries.each do |jerry| %> <p> <%= link_to image_tag(jerry.avatar.url(:small).to_s), jerry_path(jerry) if jerry.avatar.url %> <%= link_to jerry.name, jerry_path(jerry) %> </p>...
fc3811c2caeaf570acda853d6c0e398634e13400
app/views/makers/show.html.erb
app/views/makers/show.html.erb
HTML+ERB
<|file_sep|>original/requirements.txt argparse==1.2.1 argcomplete==0.8.1 kazoo==2.0 PyYAML==3.11 <|file_sep|>current/requirements.txt argparse==1.2.1 argcomplete==0.8.1 kazoo==2.0 PyYAML==3.11 <|file_sep|>updated/requirements.txt
argparse==1.2.1 argcomplete==0.8.1 kazoo==2.0 PyYAML==3.11 requests==2.4.3
<|file_sep|>original/requirements.txt argparse==1.2.1 argcomplete==0.8.1 kazoo==2.0 PyYAML==3.11 <|file_sep|>current/requirements.txt argparse==1.2.1 argcomplete==0.8.1 kazoo==2.0 PyYAML==3.11 <|file_sep|>updated/requirements.txt argparse==1.2.1 argcomplete==0.8.1 kazoo==2.0 PyYAML==3.11 requests==2.4.3
c09799630eecac7382f1e366e98eb917bf1bfc18
requirements.txt
requirements.txt
Text
<|file_sep|>original/monitor.rb <|file_sep|>current/monitor.rb <|file_sep|>updated/monitor.rb
#!/usr/bin/env ruby # require "bignum" require "rubygems" require "bundler/setup" Bundler.require(:default, :development) require "launchpad" # "Each element has a brightness value from 00h – 3Fh (0 – 63), where 0 is off and 3Fh is full brightness." def set_color(device, x, y, r, g, b) output = device.instance_vari...
<|file_sep|>original/monitor.rb <|file_sep|>current/monitor.rb <|file_sep|>updated/monitor.rb #!/usr/bin/env ruby # require "bignum" require "rubygems" require "bundler/setup" Bundler.require(:default, :development) require "launchpad" # "Each element has a brightness value from 00h – 3Fh (0 – 63), where 0 is off a...
64e09f6888f50253332552a49fd6eff44d96b1e5
monitor.rb
monitor.rb
Ruby
<|file_sep|>original/ckanext/requestdata/templates/requestdata/my_requested_data.html {% extends 'user/read.html' %} {% block subtitle %}{{ _('My Requested Data') }} - {{ super() }}{% endblock %} {% block primary_content_inner %} {% snippet 'requestdata/snippets/section_base.html', type='new', title='New', requests...
{% extends 'user/read.html' %} {% block subtitle %}{{ _('My Requested Data') }} - {{ super() }}{% endblock %} {% block primary_content_inner %} {% snippet 'requestdata/snippets/section_base.html', state='new', title='New', requests=requests_new %} {% snippet 'requestdata/snippets/section_base.html', state='open',...
<|file_sep|>original/ckanext/requestdata/templates/requestdata/my_requested_data.html {% extends 'user/read.html' %} {% block subtitle %}{{ _('My Requested Data') }} - {{ super() }}{% endblock %} {% block primary_content_inner %} {% snippet 'requestdata/snippets/section_base.html', type='new', title='New', requests...
48bb0b6d453b31521f860550ba652fbfb7a6ab61
ckanext/requestdata/templates/requestdata/my_requested_data.html
ckanext/requestdata/templates/requestdata/my_requested_data.html
HTML
<|file_sep|>original/package.json { "name": "angularjs-server", "version": "0.0.9", "description": "A specialized server for AngularJS applications", "author": "Martin Atkins <mart@degeneration.co.uk>", "keywords": ["angularjs"], "repository": { "type": "git", "url": "git://githu...
{ "name": "angularjs-server", "version": "0.0.10", "description": "A specialized server for AngularJS applications", "author": "Martin Atkins <mart@degeneration.co.uk>", "keywords": ["angularjs"], "repository": { "type": "git", "url": "git://github.com/apparentlymart/angularjs-se...
<|file_sep|>original/package.json { "name": "angularjs-server", "version": "0.0.9", "description": "A specialized server for AngularJS applications", "author": "Martin Atkins <mart@degeneration.co.uk>", "keywords": ["angularjs"], "repository": { "type": "git", "url": "git://githu...
081a6f8b1b173558331bf5ff40b3f81d0add304e
package.json
package.json
JSON
<|file_sep|>original/setup.py from distutils.core import setup setup( name = 'dp2ppgen', packages = ['dp2ppgen'], # this must be the same as the name above version = '0.1', description = 'Translates pgdp.org formatted text files into ppgen syntax.', author = 'David Maranhao', author_email = 'david.maranhao@...
from distutils.core import setup setup( name = 'dp2ppgen', packages = ['dp2ppgen'], # this must be the same as the name above version = '0.1', description = 'Translates pgdp.org formatted text files into ppgen syntax.', author = 'David Maranhao', author_email = 'david.maranhao@gmail.com', url = 'https://g...
<|file_sep|>original/setup.py from distutils.core import setup setup( name = 'dp2ppgen', packages = ['dp2ppgen'], # this must be the same as the name above version = '0.1', description = 'Translates pgdp.org formatted text files into ppgen syntax.', author = 'David Maranhao', author_email = 'david.maranhao@...
ba9c55206b814d580965fb305c23fdb01c99af7d
setup.py
setup.py
Python
<|file_sep|>webapps/callimachus/styles/callimachus.css.diff original: .noauth .protected { updated: html.logout .protected, html.logout .hidden-logout { <|file_sep|>webapps/callimachus/styles/callimachus.css.diff original: updated: } html.login .hidden-login { display: none !important; } html.iframe .hidden-ifra...
pre { white-space:pre-wrap; } img.icon { max-height:1em; padding-right:2pt; vertical-align:text-top; } a.ui-icon { display:inline-block; vertical-align:text-bottom; } .flex { display:block; } .summary { line-height:1em;
<|file_sep|>webapps/callimachus/styles/callimachus.css.diff original: .noauth .protected { updated: html.logout .protected, html.logout .hidden-logout { <|file_sep|>webapps/callimachus/styles/callimachus.css.diff original: updated: } html.login .hidden-login { display: none !important; } html.iframe .hidden-ifra...
776acae380a5df55e5e42f77cbda10971f148158
webapps/callimachus/styles/callimachus.css
webapps/callimachus/styles/callimachus.css
CSS
<|file_sep|>obj_sys/templates/obj_sys/mptt_tree.html.diff original: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> updated: {% extends "base.html" %} <|file_sep|>obj_sys/templates/obj_sys/mptt_tree.html.diff original: updated: {% block container %} <|file_sep|>ori...
{% extends "base.html" %} {% load mptt_tags %} {% block container %} <ul> {% recursetree nodes %} <li> {{ node.ufs_obj }} {% if not node.is_leaf_node %} <ul class="children"> {{ children }} </ul> {% endif %} </li...
<|file_sep|>obj_sys/templates/obj_sys/mptt_tree.html.diff original: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> updated: {% extends "base.html" %} <|file_sep|>obj_sys/templates/obj_sys/mptt_tree.html.diff original: updated: {% block container %} <|file_sep|>ori...
59001206dc682749f9ee9812ce84d61a7e641f6e
obj_sys/templates/obj_sys/mptt_tree.html
obj_sys/templates/obj_sys/mptt_tree.html
HTML
<|file_sep|>original/requirements.txt # # install_requires in setup.py gives the abstract requiments # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.2.1 numpy==1.16.2 docrep==0.2.5 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdifftools.git@fix_vstack_fu...
# # install_requires in setup.py gives the abstract requiments # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.2.1 numpy==1.16.2 docrep==0.2.5 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdifftools.git@fix_vstack_futurewarning#egg=numdifftools matplotl...
<|file_sep|>original/requirements.txt # # install_requires in setup.py gives the abstract requiments # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.2.1 numpy==1.16.2 docrep==0.2.5 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdifftools.git@fix_vstack_fu...
fb6f89dd2d539a777262bd7d69aa9488a2548d7a
requirements.txt
requirements.txt
Text
<|file_sep|>original/docker-compose.yml environment: - REDIS_HOST=redis - REDIS_PORT=6379 - LS_HOST=logstash - LS_LUMBERJACK_TCP_PORT=12345 env_file: - build/test.env elasticsearch-172: image: elasticsearch:1.7.2 elasticsearch-200: image: elasticsearch:2.0.0-beta2 command: elasticsearch -D...
environment: - REDIS_HOST=redis - REDIS_PORT=6379 - LS_HOST=logstash - LS_LUMBERJACK_TCP_PORT=12345 env_file: - build/test.env elasticsearch-172: image: elasticsearch:1.7.2 elasticsearch-200: image: elasticsearch:2.0.0-rc1 command: elasticsearch -Des.network.host=0.0.0.0 redis: image: re...
<|file_sep|>original/docker-compose.yml environment: - REDIS_HOST=redis - REDIS_PORT=6379 - LS_HOST=logstash - LS_LUMBERJACK_TCP_PORT=12345 env_file: - build/test.env elasticsearch-172: image: elasticsearch:1.7.2 elasticsearch-200: image: elasticsearch:2.0.0-beta2 command: elasticsearch -D...
34564247bd53d031b0d2ff0700956db168d65b2d
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/docker-cloud.yml <|file_sep|>current/docker-cloud.yml <|file_sep|>updated/docker-cloud.yml
admin: command: node admin/server.js environment: - BALANCE=source - 'VIRTUAL_HOST=admin.cotejs.org, demo-admin.cotejs.org, ws://admin.cotejs.org, ws://demo-admin.cotejs.org' expose: - '5000' image: 'cotedemo/cote-workshop:latest' restart: on-failure tags: - admin db: command: node init-db...
<|file_sep|>original/docker-cloud.yml <|file_sep|>current/docker-cloud.yml <|file_sep|>updated/docker-cloud.yml admin: command: node admin/server.js environment: - BALANCE=source - 'VIRTUAL_HOST=admin.cotejs.org, demo-admin.cotejs.org, ws://admin.cotejs.org, ws://demo-admin.cotejs.org' expose: - '50...
d23915af8b7954b706198d5e6c9543c10116f12b
docker-cloud.yml
docker-cloud.yml
YAML
<|file_sep|>original/src/renderer/components/confim-modal.jsx } componentWillUnmount() { $(this.refs.confirmModal).modal('hide'); } render() { const { title, message } = this.props; return ( <div className="ui modal" ref="confirmModal"> <div className="header"> {title} ...
} componentWillUnmount() { $(this.refs.confirmModal).modal('hide'); } render() { const { title, message } = this.props; return ( <div className="ui modal" ref="confirmModal" style={{position: 'absolute'}}> <div className="header"> {title} </div> <div classN...
<|file_sep|>original/src/renderer/components/confim-modal.jsx } componentWillUnmount() { $(this.refs.confirmModal).modal('hide'); } render() { const { title, message } = this.props; return ( <div className="ui modal" ref="confirmModal"> <div className="header"> {title} ...
cfdfe21f8c8778ab3d02f0172758a17d16a0adc8
src/renderer/components/confim-modal.jsx
src/renderer/components/confim-modal.jsx
JSX
<|file_sep|>original/requirements.txt bandit==1.6.2 beautifulsoup4==4.8.0 GitPython==3.0.2 codecov==2.0.15 coverage==4.5.4 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.8 internetarchive==1.8.5 mypy==0.730 nose==1.3.7 oauthlib==3.1.0 patool==1.12 pip==19.2.3 pyfiglet==0.8.post1 pylint==2.4.2 PyGithub==1.43.8 pywikibot==3.0....
bandit==1.6.2 beautifulsoup4==4.8.1 GitPython==3.0.2 codecov==2.0.15 coverage==4.5.4 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.8 internetarchive==1.8.5 mypy==0.730 nose==1.3.7 oauthlib==3.1.0 patool==1.12 pip==19.2.3 pyfiglet==0.8.post1 pylint==2.4.2 PyGithub==1.43.8 pywikibot==3.0.20190722 requests==2.22.0 requests-moc...
<|file_sep|>original/requirements.txt bandit==1.6.2 beautifulsoup4==4.8.0 GitPython==3.0.2 codecov==2.0.15 coverage==4.5.4 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.8 internetarchive==1.8.5 mypy==0.730 nose==1.3.7 oauthlib==3.1.0 patool==1.12 pip==19.2.3 pyfiglet==0.8.post1 pylint==2.4.2 PyGithub==1.43.8 pywikibot==3.0....
8fa515e2e75c579a4a5361bf9c9536ffa5846475
requirements.txt
requirements.txt
Text
<|file_sep|>src/registry.py.diff original: updated: self.__formatter_source_map = {} <|file_sep|>src/registry.py.diff original: updated: self.__formatter_source_map = dict((source, formatter) for formatter in self.__formatters ...
ClangFormat(), ElmFormat(), GoFormat(), JavaScriptFormat(), JsonFormat(), PythonFormat(), RustFormat(), TerraformFormat() ] self.__formatter_source_map = dict((source, formatter) for formatter in self.__formatters ...
<|file_sep|>src/registry.py.diff original: updated: self.__formatter_source_map = {} <|file_sep|>src/registry.py.diff original: updated: self.__formatter_source_map = dict((source, formatter) for formatter in self.__formatters ...
0e19f960b2234fcd9711f123526f8de507ed2d99
src/registry.py
src/registry.py
Python
<|file_sep|>workcraft/WorkcraftCore/src/org/workcraft/types/LinkedTwoWayMap.java.diff original: super(new LinkedHashMap<S, T>(), new LinkedHashMap<T, S>()); updated: super(new LinkedHashMap<>(), new LinkedHashMap<>()); <|file_sep|>original/workcraft/WorkcraftCore/src/org/workcraft/types/LinkedTwoWayMap....
package org.workcraft.types; import java.util.LinkedHashMap; public class LinkedTwoWayMap<S, T> extends GeneralTwoWayMap<S, T> { public LinkedTwoWayMap() { super(new LinkedHashMap<>(), new LinkedHashMap<>()); } }
<|file_sep|>workcraft/WorkcraftCore/src/org/workcraft/types/LinkedTwoWayMap.java.diff original: super(new LinkedHashMap<S, T>(), new LinkedHashMap<T, S>()); updated: super(new LinkedHashMap<>(), new LinkedHashMap<>()); <|file_sep|>original/workcraft/WorkcraftCore/src/org/workcraft/types/LinkedTwoWayMap....
dcfacb83d6e17a4deecea757d36e84c928df01a9
workcraft/WorkcraftCore/src/org/workcraft/types/LinkedTwoWayMap.java
workcraft/WorkcraftCore/src/org/workcraft/types/LinkedTwoWayMap.java
Java
<|file_sep|>original/copyright.txt be sent to Sean Flanigan <sflaniga@redhat.com>. Contributor Name <email@address> Role ------------------------------------------------------------------------------ Asgeir Frimannsson Project Founder and former Lead James Ni <jni@redhat.com> ...
be sent to Sean Flanigan <sflaniga@redhat.com>. Contributor Name <email@address> Role ------------------------------------------------------------------------------ Asgeir Frimannsson Project Founder and former Lead James Ni <jni@redhat.com> Project Contri...
<|file_sep|>original/copyright.txt be sent to Sean Flanigan <sflaniga@redhat.com>. Contributor Name <email@address> Role ------------------------------------------------------------------------------ Asgeir Frimannsson Project Founder and former Lead James Ni <jni@redhat.com> ...
58c6f9077ceb7ab9ef677c9aa4d35870e68eed08
copyright.txt
copyright.txt
Text
<|file_sep|>original/package.json "url": "https://github.com/etsy/statsd.git" }, "version": "0.7.2", "dependencies": { "generic-pool": "2.2.0" }, "devDependencies": { "nodeunit": "0.7.x", "underscore": "1.4.x", "temp": "0.4.x" }, "optionalDependencies": { "node-syslog":"1.2.0", ...
"url": "https://github.com/etsy/statsd.git" }, "version": "0.7.2", "dependencies": { "generic-pool": "2.2.0" }, "devDependencies": { "nodeunit": "0.7.x", "underscore": "1.4.x", "temp": "0.4.x" }, "optionalDependencies": { "node-syslog":"1.2.0", "hashring":"3.2.0", "winser":...
<|file_sep|>original/package.json "url": "https://github.com/etsy/statsd.git" }, "version": "0.7.2", "dependencies": { "generic-pool": "2.2.0" }, "devDependencies": { "nodeunit": "0.7.x", "underscore": "1.4.x", "temp": "0.4.x" }, "optionalDependencies": { "node-syslog":"1.2.0", ...
19e5b5a36e90345b84835eb504e2b1b7e6b03e0d
package.json
package.json
JSON
<|file_sep|>README.md.diff original: $ docker run --net=host racknet/ip public updated: $ docker run --net=host --rm racknet/ip public <|file_sep|>original/README.md # racknet Query the host networking when working in a Docker environment on Rackspace ``` $ docker run --net=host racknet/ip public 104.130.0.127 ``` `...
# racknet Query the host networking when working in a Docker environment on Rackspace ``` $ docker run --net=host --rm racknet/ip public 104.130.0.127 ``` ``` $ docker run --net=host --rm racknet/ip service 10.184.13.252 ``` ## Usage ``` racknet public [ipv4|ipv6] racknet service [ipv4|ipv6] Examples:
<|file_sep|>README.md.diff original: $ docker run --net=host racknet/ip public updated: $ docker run --net=host --rm racknet/ip public <|file_sep|>original/README.md # racknet Query the host networking when working in a Docker environment on Rackspace ``` $ docker run --net=host racknet/ip public 104.130.0.127 ``` `...
cdc915a97a99f28332e24c4b1cac9a4c87466233
README.md
README.md
Markdown
<|file_sep|>original/geometry-mootools.js Returns element position and bounding box as a <Rect> */ getRect: function(relativeTo) { return Rect.fromCoordinates(this.getCoordinates(relativeTo)); }, /* Method: setRect Set element position and size using a <Rect> */ setRect: function(rect) { ...
Element.implement({ /* Method: getRect Returns element position and bounding box as a <Rect> */ getRect: function(relativeTo) { return Rect.fromCoordinates(this.getCoordinates(relativeTo)); }, /* Method: setRect Set element position and size using a <Rect> */ setRect: function(rect...
<|file_sep|>original/geometry-mootools.js Returns element position and bounding box as a <Rect> */ getRect: function(relativeTo) { return Rect.fromCoordinates(this.getCoordinates(relativeTo)); }, /* Method: setRect Set element position and size using a <Rect> */ setRect: function(rect) { ...
53562b9db5d6d1a5dabe25e87efa5cb3563259d0
geometry-mootools.js
geometry-mootools.js
JavaScript
<|file_sep|>original/src/expressions/path/ContextItemExpression.js import Sequence from '../dataTypes/Sequence'; import Specificity from '../Specificity'; /** * @extends {Expression} */ class ContextItemExpression extends Expression { constructor () { super( new Specificity({}), [] ); } evaluate (dynam...
import Sequence from '../dataTypes/Sequence'; import Specificity from '../Specificity'; /** * @extends {Expression} */ class ContextItemExpression extends Expression { constructor () { super( new Specificity({}), [], { resultOrder: Expression.RESULT_ORDERINGS.SORTED } ); } evaluate (dynamicCo...
<|file_sep|>original/src/expressions/path/ContextItemExpression.js import Sequence from '../dataTypes/Sequence'; import Specificity from '../Specificity'; /** * @extends {Expression} */ class ContextItemExpression extends Expression { constructor () { super( new Specificity({}), [] ); } evaluate (dynam...
d5c2962e329c056dd4ccfd112b66b638c9750aeb
src/expressions/path/ContextItemExpression.js
src/expressions/path/ContextItemExpression.js
JavaScript
<|file_sep|>original/config/clean-ac-topdir.sh <|file_sep|>current/config/clean-ac-topdir.sh <|file_sep|>updated/config/clean-ac-topdir.sh
#!/bin/sh set -x rm -vf Makefile.am configure m4 Makefile.in configure.ac Makefile rm -vf config.status config.log rm -vf *.la rm -vf libtool rm -vfr autom4te.cache rm -vf aclocal.m4
<|file_sep|>original/config/clean-ac-topdir.sh <|file_sep|>current/config/clean-ac-topdir.sh <|file_sep|>updated/config/clean-ac-topdir.sh #!/bin/sh set -x rm -vf Makefile.am configure m4 Makefile.in configure.ac Makefile rm -vf config.status config.log rm -vf *.la rm -vf libtool rm -vfr autom4te.cache rm -vf aclocal...
e07b52f5246456f815f4fa1ad763271b0b0bf68b
config/clean-ac-topdir.sh
config/clean-ac-topdir.sh
Shell
<|file_sep|>test/.eslintrc.json.diff original: "globals": { "describe": true, "it": true, "before": true, "after": true }, updated: <|file_sep|>original/test/.eslintrc.json { "env": { "mocha": true }, "globals": { "describe": true, "it": true, "before": true, "after": true...
{ "env": { "mocha": true }, "rules": { "no-unused-expressions": "off" } }
<|file_sep|>test/.eslintrc.json.diff original: "globals": { "describe": true, "it": true, "before": true, "after": true }, updated: <|file_sep|>original/test/.eslintrc.json { "env": { "mocha": true }, "globals": { "describe": true, "it": true, "before": true, "after": true...
8e3341acfdcf9a55dba091334ec8f59526cdcb07
test/.eslintrc.json
test/.eslintrc.json
JSON
<|file_sep|>original/src/cli.js 'use strict' import {Runner} from '../' import yargs from 'yargs' import prop from 'dot-prop' import {resolve} from 'path' import {createLogger} from 'clout' const {cwd} = process const pkg = require(resolve(cwd(), 'package.json')) const log = createLogger(pkg.name) const {argv} = yar...
'use strict' import {Runner} from '../' import yargs from 'yargs' import prop from 'dot-prop' import {resolve} from 'path' import {createLogger} from 'clout' const {cwd} = process const pkg = require(resolve(cwd(), 'package.json')) const log = createLogger('test-peer-range') const {argv} = yargs .demand(1) .opti...
<|file_sep|>original/src/cli.js 'use strict' import {Runner} from '../' import yargs from 'yargs' import prop from 'dot-prop' import {resolve} from 'path' import {createLogger} from 'clout' const {cwd} = process const pkg = require(resolve(cwd(), 'package.json')) const log = createLogger(pkg.name) const {argv} = yar...
8bebc285cda89863227d3a2f1fafa0e3fe77e0f2
src/cli.js
src/cli.js
JavaScript
<|file_sep|>original/src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java <|file_sep|>current/src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java <|file_sep|>updated/src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java
package net.fushizen.invokedynamic.proxy; import org.junit.Test; import java.lang.invoke.*; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.util.concurrent.CountDownLatch; import static org.junit.Assert.assertEquals; /** * Example of how to implement the classic Java Proxy ...
<|file_sep|>original/src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java <|file_sep|>current/src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java <|file_sep|>updated/src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java package net.fushizen.invokedynamic.proxy; import org.ju...
61aa5058d840d5be2936853ef6b64e13d32a9a3f
src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java
src/test/java/net/fushizen/invokedynamic/proxy/ProxyProxyTest.java
Java
<|file_sep|>original/t/os2.t <|file_sep|>current/t/os2.t <|file_sep|>updated/t/os2.t
#!/usr/bin/perl use Test::Simple tests => 6; use Font::TTF::Font; $f = Font::TTF::Font->open("t/testfont.ttf"); ok($f); # Add SMP-encoded glyph and verify OS2 changes $os2 = $f->{'OS/2'}->read; ok($os2); ok($os2->{'usLastCharIndex'} < 0xFFFF and !($os2->{'ulUnicodeRange2'} & ~0x2000000)); # double-encode first char i...
<|file_sep|>original/t/os2.t <|file_sep|>current/t/os2.t <|file_sep|>updated/t/os2.t #!/usr/bin/perl use Test::Simple tests => 6; use Font::TTF::Font; $f = Font::TTF::Font->open("t/testfont.ttf"); ok($f); # Add SMP-encoded glyph and verify OS2 changes $os2 = $f->{'OS/2'}->read; ok($os2); ok($os2->{'usLastCharIndex'...
0477f3fb30457eb67604e023ee901339c959dc2e
t/os2.t
t/os2.t
Perl
<|file_sep|>original/candidates/tests/test_caching.py seen_cache = True self.assertTrue(value == 'max-age=1200') self.assertTrue(seen_cache) def test_auth_user_cache_headers(self): response = self.app.get( '/election/2015/post/65808/dulwich-and-west-norw...
self.assertTrue(seen_cache) def test_auth_user_cache_headers(self): response = self.app.get( '/election/2015/post/65808/dulwich-and-west-norwood', user=self.user ) headers = response.headerlist seen_cache = False for header, value in headers...
<|file_sep|>original/candidates/tests/test_caching.py seen_cache = True self.assertTrue(value == 'max-age=1200') self.assertTrue(seen_cache) def test_auth_user_cache_headers(self): response = self.app.get( '/election/2015/post/65808/dulwich-and-west-norw...
786903e417c7dfd8773db10fcc7cd5fa1130272a
candidates/tests/test_caching.py
candidates/tests/test_caching.py
Python
<|file_sep|>original/net_http_ssl_fix.gemspec $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'net_http_ssl_fix/version' Gem::Specification.new do |s| s.name = 'net_http_ssl_fix' s.version = NetHttpSslFix::VERSION s.summary = 'Community-updated Net::HTTP certificate authority...
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'net_http_ssl_fix/version' Gem::Specification.new do |s| s.name = 'net_http_ssl_fix' s.version = NetHttpSslFix::VERSION s.summary = 'Community-updated Net::HTTP certificate authority file hack. Very useful for authoring HTTP cli...
<|file_sep|>original/net_http_ssl_fix.gemspec $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'net_http_ssl_fix/version' Gem::Specification.new do |s| s.name = 'net_http_ssl_fix' s.version = NetHttpSslFix::VERSION s.summary = 'Community-updated Net::HTTP certificate authority...
e9ad63685c1f57858c869c11052d9a662372d0f0
net_http_ssl_fix.gemspec
net_http_ssl_fix.gemspec
Ruby
<|file_sep|>original/fill-constants.pl use v6; sub get-constants(@lines) { gather for @lines -> $definition { my ( $key, $value ) = $definition.split('='); take $key, $value; } } sub MAIN { my %constants = get-constants(pipe('./constant-helper', :r).lines()); for lines() -> $line { ...
use v6; sub get-constants(@lines) { gather for @lines -> $definition { my ( $key, $value ) = $definition.split('='); take $key, $value; } } sub MAIN { my %constants = get-constants(run('./constant-helper', :out).out.lines()); for lines() -> $line { my $new-line = $line; ...
<|file_sep|>original/fill-constants.pl use v6; sub get-constants(@lines) { gather for @lines -> $definition { my ( $key, $value ) = $definition.split('='); take $key, $value; } } sub MAIN { my %constants = get-constants(pipe('./constant-helper', :r).lines()); for lines() -> $line { ...
e0f7f6e46ede9656f73cb6e5e5b4ab82ad2b717d
fill-constants.pl
fill-constants.pl
Perl
<|file_sep|>original/requirements.txt cssselect==1.0.1 lxml==3.7.2 reppy==0.4.3 requests==2.12.4 <|file_sep|>current/requirements.txt cssselect==1.0.1 lxml==3.7.2 reppy==0.4.3 requests==2.12.4 <|file_sep|>updated/requirements.txt
cssselect==1.0.1 lxml==3.7.2 reppy==0.4.3 requests==2.12.5
<|file_sep|>original/requirements.txt cssselect==1.0.1 lxml==3.7.2 reppy==0.4.3 requests==2.12.4 <|file_sep|>current/requirements.txt cssselect==1.0.1 lxml==3.7.2 reppy==0.4.3 requests==2.12.4 <|file_sep|>updated/requirements.txt cssselect==1.0.1 lxml==3.7.2 reppy==0.4.3 requests==2.12.5
3e6c3f09d2fb5638f09dae0864679737dc8e1512
requirements.txt
requirements.txt
Text
<|file_sep|>metadata/com.saha.batchuninstaller.txt.diff original: updated: Build:0.97,9 commit=0.97 subdir=app gradle=yes <|file_sep|>original/metadata/com.saha.batchuninstaller.txt Repo:https://github.com/sarbajitsaha/Batch-Uninstaller.git Build:0.9,1 commit=0.92 subdir=app gradle=yes Build...
gradle=yes Build:0.95,7 commit=0.95 subdir=app gradle=yes Build:0.96,8 commit=0.96 subdir=app gradle=yes Build:0.97,9 commit=0.97 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags Current Version:0.97 Current Version Code:9
<|file_sep|>metadata/com.saha.batchuninstaller.txt.diff original: updated: Build:0.97,9 commit=0.97 subdir=app gradle=yes <|file_sep|>original/metadata/com.saha.batchuninstaller.txt Repo:https://github.com/sarbajitsaha/Batch-Uninstaller.git Build:0.9,1 commit=0.92 subdir=app gradle=yes Build...
620eb11ad8b21ce0f0c62a4643fbb9ffecd9f585
metadata/com.saha.batchuninstaller.txt
metadata/com.saha.batchuninstaller.txt
Text
<|file_sep|>original/etrago/cluster/analyses/objective_function.py <|file_sep|>current/etrago/cluster/analyses/objective_function.py <|file_sep|>updated/etrago/cluster/analyses/objective_function.py
# -*- coding: utf-8 -*- """ """ from os import path, listdir import matplotlib import pandas as pd results_dir = 'snapshot-clustering-results-k10-noDailyBounds' clustered_path = path.join('/home/simnh/pf_results', results_dir, 'daily') original_path = path.join('/home/simnh/pf_results', results_dir, 'original') netw...
<|file_sep|>original/etrago/cluster/analyses/objective_function.py <|file_sep|>current/etrago/cluster/analyses/objective_function.py <|file_sep|>updated/etrago/cluster/analyses/objective_function.py # -*- coding: utf-8 -*- """ """ from os import path, listdir import matplotlib import pandas as pd results_dir = 'sna...
d6a4f3149739ef35bed57c61ebaacfabeb51e46a
etrago/cluster/analyses/objective_function.py
etrago/cluster/analyses/objective_function.py
Python
<|file_sep|>original/recipes/tomopy/meta.yaml <|file_sep|>current/recipes/tomopy/meta.yaml <|file_sep|>updated/recipes/tomopy/meta.yaml
{% set version = "1.0.0" %} package: name: tomopy version: {{ version }} source: url: https://github.com/tomopy/tomopy/archive/{{ version }}.tar.gz fn: tomopy-{{ version }}.tar.gz sha256: b30a4828c9928aacb26f3cd1f44555aeeb031e9ed3585014b04a3b5079e78e24 build: number: 0 script: C_INCLUDE_P...
<|file_sep|>original/recipes/tomopy/meta.yaml <|file_sep|>current/recipes/tomopy/meta.yaml <|file_sep|>updated/recipes/tomopy/meta.yaml {% set version = "1.0.0" %} package: name: tomopy version: {{ version }} source: url: https://github.com/tomopy/tomopy/archive/{{ version }}.tar.gz fn: tomopy-{{ ve...
62ed101712c1c49aa3dcce68c75403a96cf3edef
recipes/tomopy/meta.yaml
recipes/tomopy/meta.yaml
YAML
<|file_sep|>Class_Pattern.py.diff original: updated: import random <|file_sep|>Class_Pattern.py.diff original: updated: self.pattern_dict = {'C': self.consonants, 'V': self.vowels} <|file_sep|>Class_Pattern.py.diff original: updated: def create_word(self): string_list = [] <|fil...
class Pattern(object): def __init__(self, pattern): self.consonants = ['b','c','d','f','g','h','j','k','l','m','n','p','q','r','s','t','v','w','x','y','z'] self.vowels = ['a','e','i','o','u'] self.pattern_dict = {'C': self.consonants, 'V': self.vowels} self.pattern = pattern ...
<|file_sep|>Class_Pattern.py.diff original: updated: import random <|file_sep|>Class_Pattern.py.diff original: updated: self.pattern_dict = {'C': self.consonants, 'V': self.vowels} <|file_sep|>Class_Pattern.py.diff original: updated: def create_word(self): string_list = [] <|fil...
6be8907881870fd6dd5e5629b7cbc9fe491c35dd
Class_Pattern.py
Class_Pattern.py
Python
<|file_sep|>original/tests/common/mod.rs use std::io::{Write,Result}; use std::str; pub struct FauxStdout { buffer: String } impl FauxStdout { pub fn new() -> FauxStdout { FauxStdout { buffer: String::new() } } } impl Write for FauxStdout { fn write(&mut self, buf: &[u8]) -> Result<usize> ...
use std::io::{Write,Result}; use std::str; pub struct FauxStdout { pub buffer: String } impl FauxStdout { pub fn new() -> FauxStdout { FauxStdout { buffer: String::new() } } } impl Write for FauxStdout { fn write(&mut self, buf: &[u8]) -> Result<usize> { match str::from_utf8(buf) {...
<|file_sep|>original/tests/common/mod.rs use std::io::{Write,Result}; use std::str; pub struct FauxStdout { buffer: String } impl FauxStdout { pub fn new() -> FauxStdout { FauxStdout { buffer: String::new() } } } impl Write for FauxStdout { fn write(&mut self, buf: &[u8]) -> Result<usize> ...
d577d64d7c60b0807f829057664b4959022740eb
tests/common/mod.rs
tests/common/mod.rs
Rust
<|file_sep|>original/thinreports-rails.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/thinreports-rails/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Takeshi Shinoda"] gem.email = ["takeshinoda@gmail.com"] gem.description = %q{Rails plugin for Thinreports...
# -*- encoding: utf-8 -*- require File.expand_path('../lib/thinreports-rails/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Takeshi Shinoda"] gem.email = ["takeshinoda@gmail.com"] gem.description = %q{Rails plugin for Thinreports DSL.} gem.summary = %q{Rails plugin fo...
<|file_sep|>original/thinreports-rails.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/thinreports-rails/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Takeshi Shinoda"] gem.email = ["takeshinoda@gmail.com"] gem.description = %q{Rails plugin for Thinreports...
985a024982aadeb5aa60e2f08f2dbc04f4a469b6
thinreports-rails.gemspec
thinreports-rails.gemspec
Ruby
<|file_sep|>original/lib/yaml-init.el (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\.yml" . feature-mode)) <|file_sep|>current/lib/yaml-init.el (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\.yml" . feature-mode)) <|file_sep|>updated/lib/yaml-init.el
(require 'yaml-mode) (add-to-list 'auto-mode-alist '("\.yml" . yaml-mode))
<|file_sep|>original/lib/yaml-init.el (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\.yml" . feature-mode)) <|file_sep|>current/lib/yaml-init.el (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\.yml" . feature-mode)) <|file_sep|>updated/lib/yaml-init.el (require 'yaml-mode) (add-to-list 'auto-mode-alis...
913ed6ff5a8568683efb2471aa4a5878f1802572
lib/yaml-init.el
lib/yaml-init.el
Emacs Lisp
<|file_sep|>tox.ini.diff original: envlist = py32,py33,py34,py35 updated: envlist = py33,py34,py35 <|file_sep|>original/tox.ini [tox] envlist = py32,py33,py34,py35 [tox:travis] 3.2 = py32 3.3 = py33 3.4 = py34 3.5 = py35 [testenv] deps = pytest pygments sphinx changedir = {envtmpdir} commands = py.tes...
[tox] envlist = py33,py34,py35 [tox:travis] 3.3 = py33 3.4 = py34 3.5 = py35 [testenv] deps = pytest pygments sphinx changedir = {envtmpdir} commands = py.test {toxinidir}/tests
<|file_sep|>tox.ini.diff original: envlist = py32,py33,py34,py35 updated: envlist = py33,py34,py35 <|file_sep|>original/tox.ini [tox] envlist = py32,py33,py34,py35 [tox:travis] 3.2 = py32 3.3 = py33 3.4 = py34 3.5 = py35 [testenv] deps = pytest pygments sphinx changedir = {envtmpdir} commands = py.tes...
bdb5c596f2acd18e49cdf93d0de1f6a04d2dca22
tox.ini
tox.ini
INI
<|file_sep|>original/test/integration/targets/setup_azure/tasks/main.yml - name: install cryptography requirement # preempt the installation of cryptography from requirements-azure.txt to limit the version installed # requests[security] requires cryptography >= 1.3.4 # cryptography 2.1 requires pip 8.1.2+ comma...
- pip: requirements: '{{ role_path }}/../../../../packaging/requirements/requirements-azure.txt'
<|file_sep|>original/test/integration/targets/setup_azure/tasks/main.yml - name: install cryptography requirement # preempt the installation of cryptography from requirements-azure.txt to limit the version installed # requests[security] requires cryptography >= 1.3.4 # cryptography 2.1 requires pip 8.1.2+ comma...
80b0e0e05a7c6e5286ac0baaf143691927f00f1f
test/integration/targets/setup_azure/tasks/main.yml
test/integration/targets/setup_azure/tasks/main.yml
YAML
<|file_sep|>original/template/build/webpack.base.conf.js var path = require('path') module.exports = { entry: { app: './src/main.js', }, output: { path: path.resolve(__dirname, '../dist'), publicPath: '/themes/{{ name }}/dist/', filename: '[name].js', }, resolve: { ...
var path = require('path') module.exports = { entry: { app: './src/main.js', vendors: [ 'vue', 'vue-resource', 'vue-router', ], }, output: { path: path.resolve(__dirname, '../dist'), publicPath: '/themes/{{ name }}/dist/', ...
<|file_sep|>original/template/build/webpack.base.conf.js var path = require('path') module.exports = { entry: { app: './src/main.js', }, output: { path: path.resolve(__dirname, '../dist'), publicPath: '/themes/{{ name }}/dist/', filename: '[name].js', }, resolve: { ...
659f40e8f2b92ad720a35ab255ad831c46c4ccbc
template/build/webpack.base.conf.js
template/build/webpack.base.conf.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: language: python python: - "2.6" - "2.7" - "3.2" - "3.5" <|file_sep|>original/.travis.yml install: - pip install coveralls script: coverage run --source pccora setup.py test after_success: coveralls <|file_sep|>current/.travis.yml language: python python:...
language: python python: - "2.6" - "2.7" - "3.2" - "3.5" install: - pip install coveralls script: coverage run --source pccora setup.py test after_success: coveralls sudo: - true
<|file_sep|>.travis.yml.diff original: updated: language: python python: - "2.6" - "2.7" - "3.2" - "3.5" <|file_sep|>original/.travis.yml install: - pip install coveralls script: coverage run --source pccora setup.py test after_success: coveralls <|file_sep|>current/.travis.yml language: python python:...
64b43f3d62976826546b6d760915d9ac0c22dc45
.travis.yml
.travis.yml
YAML
<|file_sep|>original/dominoes.md Compute a way to order a given set of dominoes in such a way that they form a correct domino chain (the dots on one half of a stone match the dots on the neighbouring half of an adjacent stone) and that dots on the halfs of the stones which don't have a neighbour (the first and last sto...
Compute a way to order a given set of dominoes in such a way that they form a correct domino chain (the dots on one half of a stone match the dots on the neighbouring half of an adjacent stone) and that dots on the halfs of the stones which don't have a neighbour (the first and last stone) match each other. For exampl...
<|file_sep|>original/dominoes.md Compute a way to order a given set of dominoes in such a way that they form a correct domino chain (the dots on one half of a stone match the dots on the neighbouring half of an adjacent stone) and that dots on the halfs of the stones which don't have a neighbour (the first and last sto...
5f52faa4553586c9ed1e7d08c9f552b423853615
dominoes.md
dominoes.md
Markdown
<|file_sep|>app/controllers/home_controller.rb.diff original: updated: <|file_sep|>app/controllers/home_controller.rb.diff original: updated: <|file_sep|>app/controllers/home_controller.rb.diff original: pages = %w(acerca contacto privacidad) updated: pages = %w(acerca privacidad) <|file_sep|>origi...
class HomeController < ApplicationController #@contact_form.request = request def index end def show pages = %w(acerca privacidad) page = params[:id] || '' return render page.downcase if pages.include?(page.downcase) render text: 'Not found', status: 404 end end
<|file_sep|>app/controllers/home_controller.rb.diff original: updated: <|file_sep|>app/controllers/home_controller.rb.diff original: updated: <|file_sep|>app/controllers/home_controller.rb.diff original: pages = %w(acerca contacto privacidad) updated: pages = %w(acerca privacidad) <|file_sep|>origi...
c38e88b6fb92b6291fd4181ab93e7cde5fdc62a4
app/controllers/home_controller.rb
app/controllers/home_controller.rb
Ruby
<|file_sep|>original/ReymentaNode/package.json "start": "PORT=8000 node app.js" }, "description": "ReymentaNode", "author": { "name": "bruce", "email": "bruce@batchass.fr" }, "dependencies": { "body-parser": "~1.8.1", "cookie-parser": "~1.3.3", "debug": "~2.0.0", "express": "~4.9.0...
"start": "PORT=8000 node app.js" }, "description": "ReymentaNode", "author": { "name": "bruce", "email": "bruce@batchass.fr" }, "dependencies": { "body-parser": "~1.8.1", "cookie-parser": "~1.3.3", "debug": "~4.1.1", "express": "~4.9.0", "jade": "~1.6.0", "mongodb": "^2.0.4...
<|file_sep|>original/ReymentaNode/package.json "start": "PORT=8000 node app.js" }, "description": "ReymentaNode", "author": { "name": "bruce", "email": "bruce@batchass.fr" }, "dependencies": { "body-parser": "~1.8.1", "cookie-parser": "~1.3.3", "debug": "~2.0.0", "express": "~4.9.0...
8ab381d6d1e364aa831dbae11766d4cd953d378f
ReymentaNode/package.json
ReymentaNode/package.json
JSON
<|file_sep|>original/app/views/devise/registrations/new.html.erb <h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :username %><br /> <%= f.text_field :username, autofocus: true %></div> <div><%= f.label ...
<%- if session["devise.provider"].blank? %> <h2>Sign up</h2> <% else %> <h2>Complete your signup!</h2> <% end %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :username %><br /> <%= f.text_field :username, autofocus:...
<|file_sep|>original/app/views/devise/registrations/new.html.erb <h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :username %><br /> <%= f.text_field :username, autofocus: true %></div> <div><%= f.label ...
c1b4aec6cf6096270dd54105674638bacaef7510
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
HTML+ERB
<|file_sep|>demo/controller/main.go.diff original: "github.com/voxelbrain/goptions" updated: "fmt" <|file_sep|>demo/controller/main.go.diff original: updated: "github.com/voxelbrain/goptions" <|file_sep|>demo/controller/main.go.diff original: updated: fmt.Println(options.Servers, len(options.Servers)) <|file_sep...
Password string `goptions:"-p, --password, description='Don\\'t prompt for password'"` Timeout time.Duration `goptions:"-t, --timeout, description='Connection timeout in seconds'"` Help goptions.Help `goptions:"-h, --help, description='Show this help'"` goptions.Verbs Execute struct { Command ...
<|file_sep|>demo/controller/main.go.diff original: "github.com/voxelbrain/goptions" updated: "fmt" <|file_sep|>demo/controller/main.go.diff original: updated: "github.com/voxelbrain/goptions" <|file_sep|>demo/controller/main.go.diff original: updated: fmt.Println(options.Servers, len(options.Servers)) <|file_sep...
906ada3541c2d001f7bbdd1a2ad7ca1f4d9f754b
demo/controller/main.go
demo/controller/main.go
Go
<|file_sep|>app/assets/stylesheets/outofplace.css.diff original: updated: -webkit-transform: rotate(45deg); <|file_sep|>original/app/assets/stylesheets/outofplace.css } .one { color: magenta; top: 500px; } .two { color: blue; top: 65px; } .three { color: yellow; top: 205px; } .four { top: 430px; ...
-webkit-transform: rotate(45deg); } .one { color: magenta; top: 500px; } .two { color: blue; top: 165px; } .three { color: yellow; top: 205px; } .four { top: 430px; color: cyan;
<|file_sep|>app/assets/stylesheets/outofplace.css.diff original: updated: -webkit-transform: rotate(45deg); <|file_sep|>original/app/assets/stylesheets/outofplace.css } .one { color: magenta; top: 500px; } .two { color: blue; top: 65px; } .three { color: yellow; top: 205px; } .four { top: 430px; ...
77e3c9dcbb0890d0166d0ee98c58f06839a2de0c
app/assets/stylesheets/outofplace.css
app/assets/stylesheets/outofplace.css
CSS
<|file_sep|>lib/hato/httpd.rb.diff original: before do if settings.api_key != params[:api_key] updated: before '/.+' do if settings.api_key && (settings.api_key != params[:api_key]) <|file_sep|>original/lib/hato/httpd.rb before do if settings.api_key != params[:api_key] ...
before '/.+' do if settings.api_key && (settings.api_key != params[:api_key]) halt 403, JSON.dump( status: :error, message: 'API key is wrong. Confirm your API key setting of server/client.', ) end end get '/' do 'Hato https://gith...
<|file_sep|>lib/hato/httpd.rb.diff original: before do if settings.api_key != params[:api_key] updated: before '/.+' do if settings.api_key && (settings.api_key != params[:api_key]) <|file_sep|>original/lib/hato/httpd.rb before do if settings.api_key != params[:api_key] ...
212d8653cddf39aaa4594c55de3dd3afe6fdb993
lib/hato/httpd.rb
lib/hato/httpd.rb
Ruby
<|file_sep|>original/urls.py # -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns( '', url(r'^', include('api.urls')), url('r^accounts/', include('accounts.urls')), url('', include('social.apps.django_...
# -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns( '', url(r'^', include('api.urls')), url(r'^accounts/', include('accounts.urls')), url('', include('social.apps.django_app.urls', namespace='social'...
<|file_sep|>original/urls.py # -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns( '', url(r'^', include('api.urls')), url('r^accounts/', include('accounts.urls')), url('', include('social.apps.django_...
99bd465550fd8c085cb0317b53647de75cf4eee7
urls.py
urls.py
Python
<|file_sep|>original/influxdb/map.jinja {# Get legacy pillar data for backwards compatibility #} {% for p_entry in ['bind-address'] %} {% do defaults.influxdb.conf.update( { p_entry: salt['pillar.get']( 'influxdb:{}'.format(p_entry), defaults.influxdb.conf.get(p_entry) ) ...
##} {% set os_family_map = salt['grains.filter_by']({ 'Debian': {}, 'RedHat': {}, }, grain="os_family", merge=salt['pillar.get']('influxdb:lookup')) %} {## Merge the os_family_map into default settings ##} {% do defaults.influxdb.update(os_family_map) %} {# Update settings defaults from pillar data #} {%...
<|file_sep|>original/influxdb/map.jinja {# Get legacy pillar data for backwards compatibility #} {% for p_entry in ['bind-address'] %} {% do defaults.influxdb.conf.update( { p_entry: salt['pillar.get']( 'influxdb:{}'.format(p_entry), defaults.influxdb.conf.get(p_entry) ) ...
6480a1639ec5f026ec728f5791edd22025e34dc2
influxdb/map.jinja
influxdb/map.jinja
HTML+Django
<|file_sep|>original/package.json { "name": "tigefa", "private": true, "dependencies": {}, "devDependencies": { "sass": "1.25.0", "vanilla-framework": "2.5.0" } } <|file_sep|>current/package.json { "name": "tigefa", "private": true, "dependencies": {}, "devDependencies": { "sass": "1.25.0"...
{ "name": "tigefa", "private": true, "dependencies": {}, "devDependencies": { "sass": "1.25.0", "vanilla-framework": "2.6.0" } }
<|file_sep|>original/package.json { "name": "tigefa", "private": true, "dependencies": {}, "devDependencies": { "sass": "1.25.0", "vanilla-framework": "2.5.0" } } <|file_sep|>current/package.json { "name": "tigefa", "private": true, "dependencies": {}, "devDependencies": { "sass": "1.25.0"...
f96a9f871082f2e9d50fe72a48a046f24d46319d
package.json
package.json
JSON
<|file_sep|>original/bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py <|file_sep|>current/bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py <|file_sep|>updated/bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2020-03-18 14:04 from __future__ import unicode_literals from django.db import migrations from bluebottle.funding_stripe.models import get_specs def set_eventually_due(apps, schema_editor): Account = apps.get_model('funding_stripe', 'StripePayoutAccount') ...
<|file_sep|>original/bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py <|file_sep|>current/bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py <|file_sep|>updated/bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py # -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2020-03-...
cd2f9ec0c8ffbdfda4620b9edf57ab839b286ddf
bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py
bluebottle/funding_stripe/migrations/0004_auto_20200318_1504.py
Python
<|file_sep|>com.rcarrillocruz.android.openstackdroid/AndroidManifest.xml.diff original: updated: <uses-permission android:name="android.permission.INTERNET"></uses-permission> <|file_sep|>original/com.rcarrillocruz.android.openstackdroid/AndroidManifest.xml android:minSdkVersion="14" android:t...
<uses-permission android:name="android.permission.INTERNET"></uses-permission> <application android:name="OpenstackdroidApplication" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > ...
<|file_sep|>com.rcarrillocruz.android.openstackdroid/AndroidManifest.xml.diff original: updated: <uses-permission android:name="android.permission.INTERNET"></uses-permission> <|file_sep|>original/com.rcarrillocruz.android.openstackdroid/AndroidManifest.xml android:minSdkVersion="14" android:t...
de4798d18026eddfae309d33a6b1aca9f4d5a8b1
com.rcarrillocruz.android.openstackdroid/AndroidManifest.xml
com.rcarrillocruz.android.openstackdroid/AndroidManifest.xml
XML
<|file_sep|>original/src/Data/Field.purs , module Data.Semiring ) where import Data.CommutativeRing (class CommutativeRing) import Data.EuclideanRing (class EuclideanRing, degree, div, mod, (/), gcd, lcm) import Data.Ring (class Ring, negate, sub) import Data.Semiring (class Semiring, add, mul, one, zero, (*), (+)...
( class Field , module Data.CommutativeRing , module Data.EuclideanRing , module Data.Ring , module Data.Semiring ) where import Data.CommutativeRing (class CommutativeRing) import Data.EuclideanRing (class EuclideanRing, degree, div, mod, (/), gcd, lcm) import Data.Ring (class Ring, negate, sub) import Da...
<|file_sep|>original/src/Data/Field.purs , module Data.Semiring ) where import Data.CommutativeRing (class CommutativeRing) import Data.EuclideanRing (class EuclideanRing, degree, div, mod, (/), gcd, lcm) import Data.Ring (class Ring, negate, sub) import Data.Semiring (class Semiring, add, mul, one, zero, (*), (+)...
6fa68dad7aea63cc67369085015b2811344fa19a
src/Data/Field.purs
src/Data/Field.purs
PureScript
<|file_sep|>test/doesthing.js.diff original: // Put test setup here // Test wildly varying input on existing functions and see if // the expected result is obtained. // Get Results - no data, lots of data, // initialize vars and stuff updated: <|file_sep|>original/test/doesthing.js this.a...
test.throws(function() { that.abTestHelper.hasEnoughData('F'); }, Error, 'Version F should not have existed.'); test.doesNotThrow(function() { that.abTestHelper.hasEnoughData('A'); }, Error, 'Version A should have existed.'); test.done(); }, 'Get Rate - Divide by zero': functio...
<|file_sep|>test/doesthing.js.diff original: // Put test setup here // Test wildly varying input on existing functions and see if // the expected result is obtained. // Get Results - no data, lots of data, // initialize vars and stuff updated: <|file_sep|>original/test/doesthing.js this.a...
924eb2ac50d18eb8bb6e9dd4cd1b1b06b7111cd1
test/doesthing.js
test/doesthing.js
JavaScript
<|file_sep|>original/resources/views/mail/attendance/report.blade.php @component('mail::message') RoboJackets' attendance report from {{ $export->start_time->format('l, n/j/Y \a\t g:iA') }} to {{ $export->end_time->format('l, n/j/Y \a\t g:iA') }} is available [here]({{ route('attendance.export', ['secret' => $export->...
@component('mail::message') RoboJackets' attendance report from {{ $export->start_time->format('l, n/j/Y \a\t g:iA') }} to {{ $export->end_time->format('l, n/j/Y \a\t g:iA') }} is available [here]({{ route('attendance.export', ['secret' => $export->secret]) }}). That link will only work once and will expire on {{ $exp...
<|file_sep|>original/resources/views/mail/attendance/report.blade.php @component('mail::message') RoboJackets' attendance report from {{ $export->start_time->format('l, n/j/Y \a\t g:iA') }} to {{ $export->end_time->format('l, n/j/Y \a\t g:iA') }} is available [here]({{ route('attendance.export', ['secret' => $export->...
a5c348fd1d5ac6e8212653410d43e69b28cf57db
resources/views/mail/attendance/report.blade.php
resources/views/mail/attendance/report.blade.php
PHP
<|file_sep|>metadata/fr.masciulli.drinks.txt.diff original: updated: Build:1.2.2,19 commit=v1.2.2 subdir=Drinks gradle=yes prebuild=sed -i -e 's/v7:21.0.2/v7:21.0.+/g' build.gradle ../build.gradle ../android-quantizer/build.gradle <|file_sep|>original/metadata/fr.masciulli.drinks.txt Auto Name:Drinks...
Repo Type:git Repo:https://github.com/amasciul/Drinks Build:1.2.1,18 commit=v1.2.1 subdir=Drinks gradle=yes prebuild=sed -i -e 's/v7:21.0.2/v7:21.0.+/g' build.gradle ../build.gradle ../android-quantizer/build.gradle Build:1.2.2,19 commit=v1.2.2 subdir=Drinks gradle=yes prebuild=sed -i...
<|file_sep|>metadata/fr.masciulli.drinks.txt.diff original: updated: Build:1.2.2,19 commit=v1.2.2 subdir=Drinks gradle=yes prebuild=sed -i -e 's/v7:21.0.2/v7:21.0.+/g' build.gradle ../build.gradle ../android-quantizer/build.gradle <|file_sep|>original/metadata/fr.masciulli.drinks.txt Auto Name:Drinks...
c45cf6722974d2107d46045968f8d93fe3d94b5e
metadata/fr.masciulli.drinks.txt
metadata/fr.masciulli.drinks.txt
Text
<|file_sep|>original/app/views/partials/dashboard/nav.blade.php <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu"> ...
<nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu"> <span class="sr-only">{{ Lang::get('cachet.dashboard....
<|file_sep|>original/app/views/partials/dashboard/nav.blade.php <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu"> ...
f4f172a1c4963a163da8973860f1307bf409c622
app/views/partials/dashboard/nav.blade.php
app/views/partials/dashboard/nav.blade.php
PHP
<|file_sep|>README.md.diff original: KunstmaanAdminBundle by Kunstmaan ================================= updated: # KunstmaanAdminBundle [![Build Status](https://travis-ci.org/Kunstmaan/KunstmaanAdminBundle.png?branch=master)](http://travis-ci.org/Kunstmaan/KunstmaanAdminBundle) <|file_sep|>README.md.diff original: Abo...
# KunstmaanAdminBundle [![Build Status](https://travis-ci.org/Kunstmaan/KunstmaanAdminBundle.png?branch=master)](http://travis-ci.org/Kunstmaan/KunstmaanAdminBundle) The Kunstmaan Admin bundle supplies your project with a basic, elegant backend interface you can modify and extend so you can make your perfect admin mod...
<|file_sep|>README.md.diff original: KunstmaanAdminBundle by Kunstmaan ================================= updated: # KunstmaanAdminBundle [![Build Status](https://travis-ci.org/Kunstmaan/KunstmaanAdminBundle.png?branch=master)](http://travis-ci.org/Kunstmaan/KunstmaanAdminBundle) <|file_sep|>README.md.diff original: Abo...
e1feedf17c8ee7ae4b159059828ca3144fbc6413
README.md
README.md
Markdown
<|file_sep|>original/src/prepare_asaim/populate_galaxy.sh cd $tool_playbook_dir ansible-playbook tools.yml -i "localhost," cd $current_dir echo "" echo "Populate with workflows..." for i in $( ls $workflow_dir/*.ga ) do echo $i workflow_path=$workflow_dir"/"$i #python ./src/integrate_workflow_in_gi.py \ ...
generate_tools_yml $tool_playbook_dir/tools.yml source $galaxy_dir/.venv/bin/activate current_dir=$PWD echo "Populate with tools..." cd $tool_playbook_dir ansible-playbook tools.yml -i "localhost," cd $current_dir echo "" declare RESULT=($(python $src_prepare/get_installed_tool_info.py \ --tool_name "package_s...
<|file_sep|>original/src/prepare_asaim/populate_galaxy.sh cd $tool_playbook_dir ansible-playbook tools.yml -i "localhost," cd $current_dir echo "" echo "Populate with workflows..." for i in $( ls $workflow_dir/*.ga ) do echo $i workflow_path=$workflow_dir"/"$i #python ./src/integrate_workflow_in_gi.py \ ...
196e6dd1913ddb6687c26d613f74436019f612d0
src/prepare_asaim/populate_galaxy.sh
src/prepare_asaim/populate_galaxy.sh
Shell
<|file_sep|>original/package.json "test": "node test.js" }, "repository": { "type": "git", "url": "git://github.com/pumodo/node-s3.git" }, "dependencies": { "curly": ">=0.6.0" }, "devDependencies": { "tape": "^2.14.0" }, "keywords": [ "s3", "aws", "storage", "amazon" ...
"test": "node test.js" }, "repository": { "type": "git", "url": "git://github.com/pumodo/node-s3.git" }, "dependencies": { "curly": ">=0.6.0" }, "devDependencies": { "tape": "2.14.x" }, "keywords": [ "s3", "aws", "storage", "amazon" ], "author": "Thomas Watson Ste...
<|file_sep|>original/package.json "test": "node test.js" }, "repository": { "type": "git", "url": "git://github.com/pumodo/node-s3.git" }, "dependencies": { "curly": ">=0.6.0" }, "devDependencies": { "tape": "^2.14.0" }, "keywords": [ "s3", "aws", "storage", "amazon" ...
79029546a848369f818528746a132f0887098b12
package.json
package.json
JSON
<|file_sep|>original/recipes-devtools/python/python3-janus_0.4.0.bb <|file_sep|>current/recipes-devtools/python/python3-janus_0.4.0.bb <|file_sep|>updated/recipes-devtools/python/python3-janus_0.4.0.bb
SUMMARY = "Mixed sync-async queue to interoperate between asyncio tasks and classic threads" AUTHOR = "Andrew Svetlov" HOMEPAGE = "https://github.com/aio-libs/janus/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=23878c357ebb4c8ce1109be365043349" inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYT...
<|file_sep|>original/recipes-devtools/python/python3-janus_0.4.0.bb <|file_sep|>current/recipes-devtools/python/python3-janus_0.4.0.bb <|file_sep|>updated/recipes-devtools/python/python3-janus_0.4.0.bb SUMMARY = "Mixed sync-async queue to interoperate between asyncio tasks and classic threads" AUTHOR = "Andrew Svetlo...
adfd93dd0180f1e91cfa77137c9e88d636241b85
recipes-devtools/python/python3-janus_0.4.0.bb
recipes-devtools/python/python3-janus_0.4.0.bb
BitBake
<|file_sep|>original/app/assets/stylesheets/forms.css.scss form { .input-group { select.date { width: auto; } } } <|file_sep|>current/app/assets/stylesheets/forms.css.scss form { .input-group { select.date { width: auto; } } } <|file_sep|>updated/app/assets/stylesheets/forms.css.scss
form { .input-group { select.date { width: auto; } } input[type=radio] { cursor: pointer; } }
<|file_sep|>original/app/assets/stylesheets/forms.css.scss form { .input-group { select.date { width: auto; } } } <|file_sep|>current/app/assets/stylesheets/forms.css.scss form { .input-group { select.date { width: auto; } } } <|file_sep|>updated/app/assets/stylesheets/forms.css.scss...
6fe99104f76d3ff775a34db64107e4621170843e
app/assets/stylesheets/forms.css.scss
app/assets/stylesheets/forms.css.scss
SCSS
<|file_sep|>original/db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb class RenameEntryContentHashToUniqueHash < ActiveRecord::Migration[5.2] def up rename_column :entries, :content_hash, :unique_hash change_column_default :entries, :unique_hash, '' # Calculate unique_hash for older ...
class RenameEntryContentHashToUniqueHash < ActiveRecord::Migration[5.2] def up rename_column :entries, :content_hash, :unique_hash change_column_default :entries, :unique_hash, '' # Calculate unique_hash for older entries Entry.all.order(published: :asc, created_at: :asc, id: :asc).each do |e| ...
<|file_sep|>original/db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb class RenameEntryContentHashToUniqueHash < ActiveRecord::Migration[5.2] def up rename_column :entries, :content_hash, :unique_hash change_column_default :entries, :unique_hash, '' # Calculate unique_hash for older ...
d50074edeeba9065cc2f86fd62de15e6d2edf7b0
db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb
db/migrate/20190811191846_rename_entry_content_hash_to_unique_hash.rb
Ruby
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.2 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.2 pytest-mock==1.6.3 pytest-runner==2.12.1 six==1.11.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.2 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.3 pytest-mock==1.6.3 pytest-runner==2.12.1 six==1.11.0
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.2 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.2 pytest-mock==1.6.3 pytest-runner==2.12.1 six==1.11.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion...
d1023a0c0b0f9b961feb9bf670efb2183d6a1ad0
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>header/src/main/java/org/zstack/header/storage/primary/TakeSnapshotMsg.java.diff original: updated: import org.zstack.header.core.ApiTimeout; <|file_sep|>header/src/main/java/org/zstack/header/storage/primary/TakeSnapshotMsg.java.diff original: updated: import org.zstack.header.volume.APICreateVolumeSnaps...
package org.zstack.header.storage.primary; import org.zstack.header.core.ApiTimeout; import org.zstack.header.message.NeedReplyMessage; import org.zstack.header.storage.snapshot.VolumeSnapshotStruct; import org.zstack.header.volume.APICreateVolumeSnapshotMsg; /** */ @ApiTimeout(apiClasses = {APICreateVolumeSnapshotM...
<|file_sep|>header/src/main/java/org/zstack/header/storage/primary/TakeSnapshotMsg.java.diff original: updated: import org.zstack.header.core.ApiTimeout; <|file_sep|>header/src/main/java/org/zstack/header/storage/primary/TakeSnapshotMsg.java.diff original: updated: import org.zstack.header.volume.APICreateVolumeSnaps...
9d1d372484acd24b6f4a9227caf3064ca8400f19
header/src/main/java/org/zstack/header/storage/primary/TakeSnapshotMsg.java
header/src/main/java/org/zstack/header/storage/primary/TakeSnapshotMsg.java
Java
<|file_sep|>stock_inventory_chatter/__openerp__.py.diff original: updated: # Copyright 2018 initOS GmbH <|file_sep|>stock_inventory_chatter/__openerp__.py.diff original: 'version': '9.0.1.0.0', updated: 'version': '8.0.1.0.0', <|file_sep|>original/stock_inventory_chatter/__openerp__.py # -*- coding: utf-8 -*- ...
# -*- coding: utf-8 -*- # Copyright 2017 Eficent Business and IT Consulting Services S.L. # Copyright 2018 initOS GmbH # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { 'name': 'Stock Inventory Chatter', 'version': '8.0.1.0.0', 'author': "Eficent, " ...
<|file_sep|>stock_inventory_chatter/__openerp__.py.diff original: updated: # Copyright 2018 initOS GmbH <|file_sep|>stock_inventory_chatter/__openerp__.py.diff original: 'version': '9.0.1.0.0', updated: 'version': '8.0.1.0.0', <|file_sep|>original/stock_inventory_chatter/__openerp__.py # -*- coding: utf-8 -*- ...
0f0e0e91db679f18ad9dc7568047b76e447ac589
stock_inventory_chatter/__openerp__.py
stock_inventory_chatter/__openerp__.py
Python
<|file_sep|>src/main/java/starpunk/AssetManager.java.diff original: updated: import java.util.Map; <|file_sep|>src/main/java/starpunk/AssetManager.java.diff original: updated: private final HashMap<String, TextureAtlas> _textures = new HashMap<String, TextureAtlas>(); <|file_sep|>src/main/java/starpunk/AssetManager...
final TextureAtlas textureAtlas = new TextureAtlas( Gdx.files.internal( textureName ) ); for( final TextureAtlas.AtlasRegion r : textureAtlas.getRegions() ) { _sprites.put( r.name, r ); } _textures.put( textureName, textureAtlas ); } protected void dispose() { for( final Map.Entry<S...
<|file_sep|>src/main/java/starpunk/AssetManager.java.diff original: updated: import java.util.Map; <|file_sep|>src/main/java/starpunk/AssetManager.java.diff original: updated: private final HashMap<String, TextureAtlas> _textures = new HashMap<String, TextureAtlas>(); <|file_sep|>src/main/java/starpunk/AssetManager...
f2d5de53a560731476d96423988d2e55cdbdef32
src/main/java/starpunk/AssetManager.java
src/main/java/starpunk/AssetManager.java
Java
<|file_sep|>original/.travis.yml install: - curl -sSL https://raw.githubusercontent.com/acidgenomics/Rcheck/master/install | bash before_script: # Avoid BiocCheck > checkCodingPractice > checkLogicalUseFiles error. - touch inst/rmarkdown/templates/{differential-expression,functional-analysis,quality-control}/s...
install: - curl -sSL https://raw.githubusercontent.com/acidgenomics/Rcheck/master/install | bash before_script: # Avoid BiocCheck > checkCodingPractice > checkLogicalUseFiles error. - touch inst/rmarkdown/templates/{differential-expression,functional-analysis,quality-control}/skeleton/_{footer,header,links}.Rm...
<|file_sep|>original/.travis.yml install: - curl -sSL https://raw.githubusercontent.com/acidgenomics/Rcheck/master/install | bash before_script: # Avoid BiocCheck > checkCodingPractice > checkLogicalUseFiles error. - touch inst/rmarkdown/templates/{differential-expression,functional-analysis,quality-control}/s...
ff090efe7ee9904d9724522f8e7c3da8abb8ded1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Types/CarbonDatetime.php use Carbon\Carbon; use Doctrine\ODM\MongoDB\Types\Type; class CarbonDatetime extends Type { public function convertToPHPValue($value) { $timestamp = $value->sec; return Carbon::createFromTimestampUTC($timestamp); } public function closu...
use Carbon\Carbon; use Doctrine\ODM\MongoDB\Types\Type; class CarbonDatetime extends Type { public function convertToPHPValue($value) { $timestamp = $value->sec; return Carbon::createFromTimestampUTC($timestamp); } public function closureToPHP() { return '$return = \Carbon\...
<|file_sep|>original/src/Types/CarbonDatetime.php use Carbon\Carbon; use Doctrine\ODM\MongoDB\Types\Type; class CarbonDatetime extends Type { public function convertToPHPValue($value) { $timestamp = $value->sec; return Carbon::createFromTimestampUTC($timestamp); } public function closu...
92b732c37d912da90d8497bb0d83c769dab2a147
src/Types/CarbonDatetime.php
src/Types/CarbonDatetime.php
PHP
<|file_sep|>setup.py.diff original: version = "0.10" updated: version = "0.19" REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()] <|file_sep|>setup.py.diff original: "pycoinnet.peer.tests", updated: <|file_sep|>setup.py.diff original: "pycoinnet.peergroup.tests", updated: <|file...
version=version, packages=[ "pycoinnet", "pycoinnet.examples", "pycoinnet.helpers", "pycoinnet.peer", "pycoinnet.peergroup", "pycoinnet.util", ], entry_points = { 'console_scripts': [ 'blockwatcher = pycoinnet.examples.blockwatcher:main...
<|file_sep|>setup.py.diff original: version = "0.10" updated: version = "0.19" REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()] <|file_sep|>setup.py.diff original: "pycoinnet.peer.tests", updated: <|file_sep|>setup.py.diff original: "pycoinnet.peergroup.tests", updated: <|file...
cb84aa95759234ff2d7f8aa6b67e28eab382f9cc
setup.py
setup.py
Python