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|>atom/snapcraft.yaml.diff original: confinement: strict updated: confinement: devmode <|file_sep|>original/atom/snapcraft.yaml name: atom version: "1.8.0" summary: Atom Text Editor description: Atom Text editor, from GitHub confinement: strict apps: atom: command: bin/wrapper plugs: [home] parts:...
name: atom version: "1.8.0" summary: Atom Text Editor description: Atom Text editor, from GitHub confinement: devmode apps: atom: command: bin/wrapper plugs: [home, x11, unity7, gsettings, opengl, pulseaudio, network] parts: atom: source: https://github.com/atom/atom/archive/v1.8.0.tar.gz plugin: ...
<|file_sep|>atom/snapcraft.yaml.diff original: confinement: strict updated: confinement: devmode <|file_sep|>original/atom/snapcraft.yaml name: atom version: "1.8.0" summary: Atom Text Editor description: Atom Text editor, from GitHub confinement: strict apps: atom: command: bin/wrapper plugs: [home] parts:...
f144136e79817457075efe906df0999e8a296a40
atom/snapcraft.yaml
atom/snapcraft.yaml
YAML
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.2 git: submodules: false before_install: - brew update - brew install carthage install: script/update script: script/test <|file_sep|>current/.travis.yml language: objective-c osx_image: xcode7.2 git: submodules: false before_install: - ...
language: objective-c osx_image: xcode7.2 git: submodules: false before_install: - brew update - brew install carthage install: script/bootstrap script: script/test
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.2 git: submodules: false before_install: - brew update - brew install carthage install: script/update script: script/test <|file_sep|>current/.travis.yml language: objective-c osx_image: xcode7.2 git: submodules: false before_install: - ...
a8cc0ae9574ed47d81ba3e7a4a52ead50eb50a06
.travis.yml
.travis.yml
YAML
<|file_sep|>original/stylesheets/cheat-sheet-stylesheet.css } #red { color: red; } #red_center { color: red; text-align: center; } .topics { font-weight: bold; } .italics { font-style: italic; } .center { text-align:center; } <|file_sep|>current/stylesheets/cheat-sheet-stylesheet.css } #red { colo...
} #red { color: red; } #red_center { color: red; text-align: center; } #blue_center { color: blue; text-align: center; } .topics { font-weight: bold; } .italics { font-style: italic;
<|file_sep|>original/stylesheets/cheat-sheet-stylesheet.css } #red { color: red; } #red_center { color: red; text-align: center; } .topics { font-weight: bold; } .italics { font-style: italic; } .center { text-align:center; } <|file_sep|>current/stylesheets/cheat-sheet-stylesheet.css } #red { colo...
ddb5832bd70a1391efc991826eac9bf6399a9b90
stylesheets/cheat-sheet-stylesheet.css
stylesheets/cheat-sheet-stylesheet.css
CSS
<|file_sep|>original/codecheck-requirements.txt flake8==4.0.1 pylint==2.14.5 pytype==2022.7.18 <|file_sep|>current/codecheck-requirements.txt flake8==4.0.1 pylint==2.14.5 pytype==2022.7.18 <|file_sep|>updated/codecheck-requirements.txt
flake8==5.0.2 pylint==2.14.5 pytype==2022.7.18
<|file_sep|>original/codecheck-requirements.txt flake8==4.0.1 pylint==2.14.5 pytype==2022.7.18 <|file_sep|>current/codecheck-requirements.txt flake8==4.0.1 pylint==2.14.5 pytype==2022.7.18 <|file_sep|>updated/codecheck-requirements.txt flake8==5.0.2 pylint==2.14.5 pytype==2022.7.18
241ec312400009f020a1379ab676dda793bcb1a9
codecheck-requirements.txt
codecheck-requirements.txt
Text
<|file_sep|>original/lib/chef/provider/log.rb # class Chef class Provider class Log # Chef log provider, allows logging to chef's logs # # @author Cary Penniman <cary@rightscale.com> # @author Tyler Cloke <tyler@chef.io> class ChefLog < Chef::Provider # No concept of a 'curr...
# class Chef class Provider class Log # Chef log provider, allows logging to chef's logs # # @author Cary Penniman <cary@rightscale.com> # @author Tyler Cloke <tyler@chef.io> class ChefLog < Chef::Provider provides :log # No concept of a 'current' resource for logs,...
<|file_sep|>original/lib/chef/provider/log.rb # class Chef class Provider class Log # Chef log provider, allows logging to chef's logs # # @author Cary Penniman <cary@rightscale.com> # @author Tyler Cloke <tyler@chef.io> class ChefLog < Chef::Provider # No concept of a 'curr...
748b3e626a20d050d5d777ce5c206203e01f8386
lib/chef/provider/log.rb
lib/chef/provider/log.rb
Ruby
<|file_sep|>git/aliases.zsh.diff original: updated: alias git="nocorrect git" <|file_sep|>original/git/aliases.zsh alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" alias gs='git status -sb' # upgrade your git if -sb ...
alias git="nocorrect git" alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" alias gs='git status -sb' # upgrade your git if -sb breaks for you. it's fun. alias grm="git status | grep deleted | awk '{print \$3}' | xargs...
<|file_sep|>git/aliases.zsh.diff original: updated: alias git="nocorrect git" <|file_sep|>original/git/aliases.zsh alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" alias gs='git status -sb' # upgrade your git if -sb ...
e9de391501922143ffab11a1703b344b53a4225a
git/aliases.zsh
git/aliases.zsh
Shell
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10' <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10' <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - 'stable' - '0.12' - '0.10'
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10' <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10' <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - 'stable' - '0.12' - '0.10'
cee9339b68be915b2399a3d802bc3b003512e5fe
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/layouts/application.html.erb.diff original: <!-- <%= stylesheet_link_tag "application", :media => "all" %> --> <!-- <%= javascript_include_tag "application" %> --> <!-- <%= csrf_meta_tags %> --> updated: <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_inclu...
<!DOCTYPE html> <html> <head> <title>Food is here</title> <meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" /> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<|file_sep|>app/views/layouts/application.html.erb.diff original: <!-- <%= stylesheet_link_tag "application", :media => "all" %> --> <!-- <%= javascript_include_tag "application" %> --> <!-- <%= csrf_meta_tags %> --> updated: <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_inclu...
b98a5e03bcbe35ec4ec8f8360f18198a55537425
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/README.md cosmo-plugin-python-webserver ============================= - Build Status (master branch) [![Build Status](https://secure.travis-ci.org/CloudifySource/cosmo-plugin-python-webserver.png?branch=master)](http://travis-ci.org/CloudifySource/cosmo-plugin-python-webserver) Cosmo plugin which...
cosmo-plugin-python-webserver ============================= - Build Status (develop branch) [![Build Status](https://secure.travis-ci.org/CloudifySource/cosmo-plugin-python-webserver.png?branch=develop)](http://travis-ci.org/CloudifySource/cosmo-plugin-python-webserver) Cosmo plugin which installs a python webserver
<|file_sep|>original/README.md cosmo-plugin-python-webserver ============================= - Build Status (master branch) [![Build Status](https://secure.travis-ci.org/CloudifySource/cosmo-plugin-python-webserver.png?branch=master)](http://travis-ci.org/CloudifySource/cosmo-plugin-python-webserver) Cosmo plugin which...
99e499ed902d7fa5acec164a974ec687dfec9ad2
README.md
README.md
Markdown
<|file_sep|>original/modules/advanced/templates/irc.yaml.erb --- :irc_server: 'irc://<%= @nick %>@irc.puppetlabs.vm:6667#advanced' #:irc_password: 'password' :irc_join: true :irc_ssl: false :irc_register_first: true #:github_token: 'token' #:github_user: 'user' <|file_sep|>current/modules/advanced/templates/irc.yaml.er...
--- :irc_server: 'irc://<%= @nick %>@irc.puppetlabs.vm:6667#advanced' #:irc_password: 'password' :irc_join: true :irc_ssl: false :irc_register_first: true :report_url: https://classroom.puppetlabs.vm/nodes/%h #:github_token: 'token' #:github_user: 'user'
<|file_sep|>original/modules/advanced/templates/irc.yaml.erb --- :irc_server: 'irc://<%= @nick %>@irc.puppetlabs.vm:6667#advanced' #:irc_password: 'password' :irc_join: true :irc_ssl: false :irc_register_first: true #:github_token: 'token' #:github_user: 'user' <|file_sep|>current/modules/advanced/templates/irc.yaml.er...
f2c13eeb3bc7ef3dabfcb6da39ad845c2d344968
modules/advanced/templates/irc.yaml.erb
modules/advanced/templates/irc.yaml.erb
HTML+ERB
<|file_sep|>metadata/subins2000.manglish.yml.diff original: updated: - versionName: '7.0' versionCode: 7 commit: '7.0' subdir: app gradle: - yes <|file_sep|>original/metadata/subins2000.manglish.yml gradle: - yes - versionName: '5.0' versionCode: 5 commit: '5.0' subdir...
gradle: - yes - versionName: '6.0' versionCode: 6 commit: '6.0' subdir: app gradle: - yes - versionName: '7.0' versionCode: 7 commit: '7.0' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '7.0' CurrentVersionCode: 7
<|file_sep|>metadata/subins2000.manglish.yml.diff original: updated: - versionName: '7.0' versionCode: 7 commit: '7.0' subdir: app gradle: - yes <|file_sep|>original/metadata/subins2000.manglish.yml gradle: - yes - versionName: '5.0' versionCode: 5 commit: '5.0' subdir...
2d349ba24c87e8669488982e497dd13c038808e6
metadata/subins2000.manglish.yml
metadata/subins2000.manglish.yml
YAML
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - 1.5 before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: - go test -v ./... -bench=. - $HOME/gopath/...
language: go go: - 1.3 - 1.4 - 1.5 - tip matrix: allow_failures: - go: tip before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: - go test -v ./... -bench=. ...
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - 1.5 before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: - go test -v ./... -bench=. - $HOME/gopath/...
49319651fef535f5a07af86204dea627adf7d3f9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/outdatedbrowser/check.js function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }; } } addLoadEvent(funct...
function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }; } } addLoadEvent(function() { outdatedBrowser({ bgColor: '#f25...
<|file_sep|>original/outdatedbrowser/check.js function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }; } } addLoadEvent(funct...
34d1266f031ce118ce860820b0cd4be332bb86d2
outdatedbrowser/check.js
outdatedbrowser/check.js
JavaScript
<|file_sep|>original/src/main/web/florence/js/functions/_reset.js function resetPage() { // Prevent default behaviour of all form submits throught Florence $(document).on('submit', 'form', function(e) { e.preventDefault(); console.log('Form submit stopped on: ', e); }); // Fix for modal...
function resetPage() { // Prevent default behaviour of all form submits throught Florence $(document).on('submit', 'form', function(e) { e.preventDefault(); }); // Fix for modal form submits not being detected $(document).on('click', 'button', function() { var $closestForm = $(this)...
<|file_sep|>original/src/main/web/florence/js/functions/_reset.js function resetPage() { // Prevent default behaviour of all form submits throught Florence $(document).on('submit', 'form', function(e) { e.preventDefault(); console.log('Form submit stopped on: ', e); }); // Fix for modal...
2014d17c9c301508b0747327fc6a2a7b8dd538a3
src/main/web/florence/js/functions/_reset.js
src/main/web/florence/js/functions/_reset.js
JavaScript
<|file_sep|>recipes/pyani/meta.yaml.diff original: {% set version = "0.2.0" %} updated: {% set version = "0.2.3" %} <|file_sep|>recipes/pyani/meta.yaml.diff original: md5: 40168592baabe261e0fe8eac1e3c7018 updated: md5: f4da6989c63b6b712ddddcd5bac902de <|file_sep|>recipes/pyani/meta.yaml.diff original: - r upda...
- pandas - seaborn - rpy2 - scipy - numpy - mummer - blast - blast-legacy # [not osx] test: imports: - pyani commands: - average_nucleotide_identity.py -h - genbank_get_genomes_by_taxon.py -h about: home: http://widdowquinn.github.io/pyani/ license: MIT License ...
<|file_sep|>recipes/pyani/meta.yaml.diff original: {% set version = "0.2.0" %} updated: {% set version = "0.2.3" %} <|file_sep|>recipes/pyani/meta.yaml.diff original: md5: 40168592baabe261e0fe8eac1e3c7018 updated: md5: f4da6989c63b6b712ddddcd5bac902de <|file_sep|>recipes/pyani/meta.yaml.diff original: - r upda...
f8c4dd4b5b302e3cd8c377847652f2ec58f68184
recipes/pyani/meta.yaml
recipes/pyani/meta.yaml
YAML
<|file_sep|>original/source/jobs/technical-writer/index.md <|file_sep|>current/source/jobs/technical-writer/index.md <|file_sep|>updated/source/jobs/technical-writer/index.md
--- layout: markdown_page title: "Technical Writer Responsibilities and Tasks" --- ## Responsibilities * Keep website regarding GitLab CE/EE/CI up to date * Upgrade about.gitlab.com/gitlab-ci page * Add more examples * CI examples (.gitlab-ci.yaml) * Imrove existing documentation * Make sure there are upgrade g...
<|file_sep|>original/source/jobs/technical-writer/index.md <|file_sep|>current/source/jobs/technical-writer/index.md <|file_sep|>updated/source/jobs/technical-writer/index.md --- layout: markdown_page title: "Technical Writer Responsibilities and Tasks" --- ## Responsibilities * Keep website regarding GitLab CE/EE/...
be5ef430a156daba28876ac778f76f974d0be0e6
source/jobs/technical-writer/index.md
source/jobs/technical-writer/index.md
Markdown
<|file_sep|>original/requirements.txt Cython==0.29.30 feedparser==6.0.10 furl==2.1.3 google-api-python-client==2.49.0 isodate==0.6.1 jq==1.2.2 jsonpath-ng==1.5.3 lxml==4.9.0 Pillow==9.1.1 parsedatetime==2.6 psutil==5.9.1 pyhedrals==0.2.0 pymediawiki==0.7.1 pyre2==0.3.6 python-dateutil==2.8.2 pytimeparse==1.1.8 pyxDamer...
Cython==0.29.30 feedparser==6.0.10 furl==2.1.3 google-api-python-client==2.49.0 isodate==0.6.1 jq==1.2.2 jsonpath-ng==1.5.3 lxml==4.9.0 Pillow==9.1.1 parsedatetime==2.6 psutil==5.9.1 pyhedrals==0.2.0 pymediawiki==0.7.1 pyre2==0.3.6 python-dateutil==2.8.2 pytimeparse==1.1.8 pyxDamerauLevenshtein==1.7.0 regex==2022.6.2 r...
<|file_sep|>original/requirements.txt Cython==0.29.30 feedparser==6.0.10 furl==2.1.3 google-api-python-client==2.49.0 isodate==0.6.1 jq==1.2.2 jsonpath-ng==1.5.3 lxml==4.9.0 Pillow==9.1.1 parsedatetime==2.6 psutil==5.9.1 pyhedrals==0.2.0 pymediawiki==0.7.1 pyre2==0.3.6 python-dateutil==2.8.2 pytimeparse==1.1.8 pyxDamer...
a10b2cf5c455f33bb0008727e6161936f49961bd
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements_for_test.txt -r requirements.txt isort==4.3.4 pytest==3.10.1 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.6.1 pytest-xdist==1.26.1 coveralls==1.5.1 beautifulsoup4==4.7.1 freezegun==0.3.11 flake8==3.7.3 flake8-print==3.1.0 requests-mock==1.5.2 <|file_sep|>current/requirements_for...
-r requirements.txt isort==4.3.4 pytest==3.10.1 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.6.1 pytest-xdist==1.26.1 coveralls==1.5.1 beautifulsoup4==4.7.1 freezegun==0.3.11 flake8==3.7.4 flake8-print==3.1.0 requests-mock==1.5.2
<|file_sep|>original/requirements_for_test.txt -r requirements.txt isort==4.3.4 pytest==3.10.1 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.6.1 pytest-xdist==1.26.1 coveralls==1.5.1 beautifulsoup4==4.7.1 freezegun==0.3.11 flake8==3.7.3 flake8-print==3.1.0 requests-mock==1.5.2 <|file_sep|>current/requirements_for...
5c26095ad45a1231506c747f5b040937da75b84a
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/requirements/base.txt django-allauth==0.34.0 # For the persistence stores psycopg2==2.7.3.2 # Unicode slugification unicode-slugify==0.1.3 django-autoslug==1.9.3 # Time zones support pytz==2017.2 # Redis support django-redis==4.8.0 redis>=2.10.0 jsonfield==2.0.2 django-reversion==2.0.10 repor...
django-allauth==0.34.0 # For the persistence stores psycopg2==2.7.3.2 # Unicode slugification unicode-slugify==0.1.3 django-autoslug==1.9.3 # Time zones support pytz==2017.3 # Redis support django-redis==4.8.0 redis>=2.10.0 jsonfield==2.0.2 django-reversion==2.0.10 reportlab==3.4.0 django-filter==1.0.4
<|file_sep|>original/requirements/base.txt django-allauth==0.34.0 # For the persistence stores psycopg2==2.7.3.2 # Unicode slugification unicode-slugify==0.1.3 django-autoslug==1.9.3 # Time zones support pytz==2017.2 # Redis support django-redis==4.8.0 redis>=2.10.0 jsonfield==2.0.2 django-reversion==2.0.10 repor...
13cc70e5557131f092a56c6c3acdfdd3308430e4
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>lib/cwb/config.rb.diff original: updated: # TODO: Consider returning nil as default value. # The current deep_fetch implementation doesn't support { default: nil } <|file_sep|>lib/cwb/config.rb.diff original: deep_fetch("cwb", "provider_name") updated: deep_fetch("benchmark", "provider_...
def server deep_fetch("cwb", "server") end def provider_name deep_fetch("benchmark", "provider_name") end def provider_instance_id deep_fetch("benchmark", "provider_instance_id") end private def self.config_file(dir) File.join(dir, "node.yml") end ...
<|file_sep|>lib/cwb/config.rb.diff original: updated: # TODO: Consider returning nil as default value. # The current deep_fetch implementation doesn't support { default: nil } <|file_sep|>lib/cwb/config.rb.diff original: deep_fetch("cwb", "provider_name") updated: deep_fetch("benchmark", "provider_...
fda3b83dfc74c1ef7d68fd2cfbafec521ef078b7
lib/cwb/config.rb
lib/cwb/config.rb
Ruby
<|file_sep|>README.md.diff original: # Network analysis of correlations updated: # Network analysis of correlations in Python <|file_sep|>original/README.md # Network analysis of correlations Inspired by Weighted gene network correlation analysis (WGCNA) and Beyonce. <|file_sep|>current/README.md # Network analysis of...
# Network analysis of correlations in Python Inspired by Weighted gene network correlation analysis (WGCNA) and Beyonce. ![Code up flawless](http://i.imgur.com/l20fCZJ.png)
<|file_sep|>README.md.diff original: # Network analysis of correlations updated: # Network analysis of correlations in Python <|file_sep|>original/README.md # Network analysis of correlations Inspired by Weighted gene network correlation analysis (WGCNA) and Beyonce. <|file_sep|>current/README.md # Network analysis of...
be14b56a121f0e8c18bae135aeb4e9c596dfffc5
README.md
README.md
Markdown
<|file_sep|>__tests__/helpers/password-test.js.diff original: updated: // @flow import { times, uniq, compose, length } from 'ramda'; <|file_sep|>__tests__/helpers/password-test.js.diff original: const R = require('ramda'); updated: const createArrayOfRandomNumbers = (min: number, max: number, count: number): Functi...
times((): number => getRandomNumber(min, max), count); const countUniqueValuesInArray = compose(length, uniq, createArrayOfRandomNumbers); test('Generates a random number between two numbers', () => { // generates a number that is lower than max and higher than min expect(getRandomNumber(1, 5)).toBeGreaterThanO...
<|file_sep|>__tests__/helpers/password-test.js.diff original: updated: // @flow import { times, uniq, compose, length } from 'ramda'; <|file_sep|>__tests__/helpers/password-test.js.diff original: const R = require('ramda'); updated: const createArrayOfRandomNumbers = (min: number, max: number, count: number): Functi...
ec38728f7919e8b43a9575e0ba952eca1b1b6c42
__tests__/helpers/password-test.js
__tests__/helpers/password-test.js
JavaScript
<|file_sep|>lib/single_xlsx/writing.rb.diff original: def generate raise ArgumentError, "no block given" unless block_given? updated: def generate(&block) create_book(&block).stream.read end <|file_sep|>lib/single_xlsx/writing.rb.diff original: book = RubyXL::Workbook.new sheet = She...
module SingleXLSX module Writing def generate(&block) create_book(&block).stream.read end def open(path, &block) create_book(&block).write(path) end private def create_book(&block) raise ArgumentError, "no block given" if block.nil? book = RubyXL::Workbook.ne...
<|file_sep|>lib/single_xlsx/writing.rb.diff original: def generate raise ArgumentError, "no block given" unless block_given? updated: def generate(&block) create_book(&block).stream.read end <|file_sep|>lib/single_xlsx/writing.rb.diff original: book = RubyXL::Workbook.new sheet = She...
89fa7fa2e216967d93461d202dbde60e6e9e8ee0
lib/single_xlsx/writing.rb
lib/single_xlsx/writing.rb
Ruby
<|file_sep|>lib/wog.js.diff original: updated: // colors var colors = { teal: 36, purple: 35 }; // apply color function _colorify(str, color) { // UNIX start escape: \033[ // UNIX end escape: m var setCustom = "\033[" + colors[color] + "m"; var resetDefault = "\033[39m"; // sandwich str b...
var callFrame = callStack[callIndex]; var callInfoIndex = callFrame.indexOf("("); var callInfo = callFrame.slice(callInfoIndex+1); // split the call info by colons var details = callInfo.split(":"); // first element will be the file var callerFile = details[0]; // second will be the lin...
<|file_sep|>lib/wog.js.diff original: updated: // colors var colors = { teal: 36, purple: 35 }; // apply color function _colorify(str, color) { // UNIX start escape: \033[ // UNIX end escape: m var setCustom = "\033[" + colors[color] + "m"; var resetDefault = "\033[39m"; // sandwich str b...
6ca376f63eb77e53c4d844d81c7cf141586d4ccd
lib/wog.js
lib/wog.js
JavaScript
<|file_sep|>original/pages/docs_home.html --- layout: default title: Jasmine documentation home --- <div class="main-content"> {% for version in site.versions %} <h1><a href="{{ version.url }}">{{ version.url | remove_first: "/" | remove: "/introduction" | capitalize }}</a></h1> {% endfor %} </div> <|file_sep|>c...
--- layout: default title: Jasmine documentation home --- <div class="main-content"> {% for version in site.versions %} <h1><a href="{{ site.github.url }}{{ version.url }}">{{ version.url | remove_first: "/" | remove: "/introduction" | capitalize }}</a></h1> {% endfor %} </div>
<|file_sep|>original/pages/docs_home.html --- layout: default title: Jasmine documentation home --- <div class="main-content"> {% for version in site.versions %} <h1><a href="{{ version.url }}">{{ version.url | remove_first: "/" | remove: "/introduction" | capitalize }}</a></h1> {% endfor %} </div> <|file_sep|>c...
d59d6d3f9e52e3909d126253f31389bdb1eba1dd
pages/docs_home.html
pages/docs_home.html
HTML
<|file_sep|>original/scss/components/navigation/_segmented-control.scss // URL: http://matthewmorek.com // ----------------------------------------------------------------------------- // Segmented Controls // [docs-url]/components/navigation/#segmented-controls // -----------------------------------------------------...
// URL: http://matthewmorek.com // ----------------------------------------------------------------------------- // Segmented Controls // [docs-url]/components/navigation/#segmented-controls // ----------------------------------------------------------------------------- %seg-control { @extend %no-list; display: i...
<|file_sep|>original/scss/components/navigation/_segmented-control.scss // URL: http://matthewmorek.com // ----------------------------------------------------------------------------- // Segmented Controls // [docs-url]/components/navigation/#segmented-controls // -----------------------------------------------------...
f221b0ab6ff2dbc289a2ecda497670ac2077e6d7
scss/components/navigation/_segmented-control.scss
scss/components/navigation/_segmented-control.scss
SCSS
<|file_sep|>original/fluentd-daemonset-gcs.yaml <|file_sep|>current/fluentd-daemonset-gcs.yaml <|file_sep|>updated/fluentd-daemonset-gcs.yaml
apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: fluentd-gcs namespace: kube-system labels: k8s-app: fluentd-logging version: v1 # kubernetes.io/cluster-service: "true" spec: template: metadata: labels: k8s-app: fluentd-logging version: v1 # ...
<|file_sep|>original/fluentd-daemonset-gcs.yaml <|file_sep|>current/fluentd-daemonset-gcs.yaml <|file_sep|>updated/fluentd-daemonset-gcs.yaml apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: fluentd-gcs namespace: kube-system labels: k8s-app: fluentd-logging version: v1 # kubernetes...
727b16a13bc793a83a1f0ced07813ac80c72c841
fluentd-daemonset-gcs.yaml
fluentd-daemonset-gcs.yaml
YAML
<|file_sep|>en/eBook/01.0.md.diff original: - Provides a software development model that is easy to reason about, avoiding most of the problems that caused by C-style header files. updated: - Provides a software development model that is easy to reason about, avoiding most of the problems associated with C-style header...
# 1 Go Environment Configuration Welcome to the world of Go, let's start exploring! Go is a fast-compiled, garbage-collected, concurrent systems programming language. It has the following advantages: - Compiles a large project within a few seconds. - Provides a software development model that is easy to reason about...
<|file_sep|>en/eBook/01.0.md.diff original: - Provides a software development model that is easy to reason about, avoiding most of the problems that caused by C-style header files. updated: - Provides a software development model that is easy to reason about, avoiding most of the problems associated with C-style header...
0173f9081373729b8cc5412b17a0e8c23e107080
en/eBook/01.0.md
en/eBook/01.0.md
Markdown
<|file_sep|>original/.rubocop.yml # a: 0 # bb: 1 # separator - alignment of colons, keys are right aligned # a: 0 # bb: 1 # table - left alignment of keys and values # a: 0 # bb: 1 EnforcedColonStyle: separator # TODO Documentation: Enabled: false # Currently IndentationWidth reports...
# bb: 1 # table - left alignment of keys and values # a: 0 # bb: 1 EnforcedColonStyle: separator # TODO Documentation: Enabled: false # Currently IndentationWidth reports false positive offence around here document. IndentationWidth: Enabled: false # TODO: This should not register offences for n...
<|file_sep|>original/.rubocop.yml # a: 0 # bb: 1 # separator - alignment of colons, keys are right aligned # a: 0 # bb: 1 # table - left alignment of keys and values # a: 0 # bb: 1 EnforcedColonStyle: separator # TODO Documentation: Enabled: false # Currently IndentationWidth reports...
02bcc7ff1610ad6cf42b17b25e9f3bf44258e163
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/examples/src/main/java/recommendations/tutorial4/Serving.java package io.prediction.examples.java.recommendations.tutorial4; import io.prediction.controller.java.LJavaServing; import io.prediction.controller.java.EmptyParams; import java.lang.Iterable; public class Serving extends LJavaServing<Em...
package io.prediction.examples.java.recommendations.tutorial4; import io.prediction.controller.java.LJavaServing; import io.prediction.controller.java.EmptyParams; import java.lang.Iterable; public class Serving extends LJavaServing<EmptyParams, Query, Float> { public Serving() {} public Float serve(Query query,...
<|file_sep|>original/examples/src/main/java/recommendations/tutorial4/Serving.java package io.prediction.examples.java.recommendations.tutorial4; import io.prediction.controller.java.LJavaServing; import io.prediction.controller.java.EmptyParams; import java.lang.Iterable; public class Serving extends LJavaServing<Em...
f7f8a483353bdf69a31249461647d1ede61e512e
examples/src/main/java/recommendations/tutorial4/Serving.java
examples/src/main/java/recommendations/tutorial4/Serving.java
Java
<|file_sep|>original/repository/Fuel-Tests-Core.package/FLHookedSubstitutionTest.class/instance/testObjectByProxyThatBecomesItsContent.st tests testObjectByProxyThatBecomesItsContent "Tests a substitution of an object by a proxy that becomes another object on materialization." | aProxyClass result | aProxyClass := ...
tests testObjectByProxyThatBecomesItsContent "Tests a substitution of an object by a proxy that becomes another object on materialization." | aProxyClass result | aProxyClass := self classFactory silentlyNewClassWithInstanceVariableNames: 'someState'. self classFactory silentlyCompile: 'initialize someState := ...
<|file_sep|>original/repository/Fuel-Tests-Core.package/FLHookedSubstitutionTest.class/instance/testObjectByProxyThatBecomesItsContent.st tests testObjectByProxyThatBecomesItsContent "Tests a substitution of an object by a proxy that becomes another object on materialization." | aProxyClass result | aProxyClass := ...
29a44d972737acdf18881ca47b6d02e7c67a9c5c
repository/Fuel-Tests-Core.package/FLHookedSubstitutionTest.class/instance/testObjectByProxyThatBecomesItsContent.st
repository/Fuel-Tests-Core.package/FLHookedSubstitutionTest.class/instance/testObjectByProxyThatBecomesItsContent.st
Smalltalk
<|file_sep|>original/composer.json "name": "Mathias Verraes", "email": "mathias@verraes.net", "homepage": "http://verraes.net" } ], "keywords": ["domain-driven design", "cqrs", "event sourcing", "ddd", "reactive"], "require" : { "php": ">=5.5" }, ...
"require" : { "php": ">=5.5" }, "autoload": { "psr-4": { "EventCentric\\DomainEvents\\": ["src/EventCentric/DomainEvents"] } }, "config": { "bin-dir": "bin" }, "extra": { "branch-alias": { "dev-master": "0.0.x-dev" }...
<|file_sep|>original/composer.json "name": "Mathias Verraes", "email": "mathias@verraes.net", "homepage": "http://verraes.net" } ], "keywords": ["domain-driven design", "cqrs", "event sourcing", "ddd", "reactive"], "require" : { "php": ">=5.5" }, ...
5b1a251f89547a673a4ceef8f41b326eded6d833
composer.json
composer.json
JSON
<|file_sep|>src/components/Checkbox/Checkbox.tsx.diff original: {childIds.length ? ( updated: {childIds.length > 0 && ( <|file_sep|>original/src/components/Checkbox/Checkbox.tsx {text} </label> </li> )} {childIds.length ? ( <li> <List> ...
{text} </label> </li> )} {childIds.length > 0 && ( <li> <List> {childIds.map((childId) => ( <Checkbox key={childId} id={childId} nodes={nodes} onToggle={onToggle} ...
<|file_sep|>src/components/Checkbox/Checkbox.tsx.diff original: {childIds.length ? ( updated: {childIds.length > 0 && ( <|file_sep|>original/src/components/Checkbox/Checkbox.tsx {text} </label> </li> )} {childIds.length ? ( <li> <List> ...
70995bb7eac31e2fe1864448c56bbb9969a5bc20
src/components/Checkbox/Checkbox.tsx
src/components/Checkbox/Checkbox.tsx
TypeScript
<|file_sep|>original/src/userinterface/examples/components/examplebase.twig <html> <head> <title>Mimoto.Aimless examples</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="/static/css/main...
<html> <head> <title>Mimoto.Aimless examples</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="/static/css/main.css"> <link rel="stylesheet" type="text/css" href="/static/css/mimo...
<|file_sep|>original/src/userinterface/examples/components/examplebase.twig <html> <head> <title>Mimoto.Aimless examples</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="/static/css/main...
f6ec0a4d63cc430b883ed38ddd3c8739b982dac8
src/userinterface/examples/components/examplebase.twig
src/userinterface/examples/components/examplebase.twig
Twig
<|file_sep|>zoom.go.diff original: func Init(config *Configuration) { updated: func Init(config *Configuration) error { <|file_sep|>zoom.go.diff original: panic(err) updated: return err <|file_sep|>original/zoom.go // atomic transactions, lua scripts, and running Redis commands // directly if needed. package zoom ...
// directly if needed. package zoom // Init starts the Zoom library and creates a connection pool. It accepts // a Configuration struct as an argument. Any zero values in the configuration // will fallback to their default values. Init should be called once during // application startup. func Init(config *Configuratio...
<|file_sep|>zoom.go.diff original: func Init(config *Configuration) { updated: func Init(config *Configuration) error { <|file_sep|>zoom.go.diff original: panic(err) updated: return err <|file_sep|>original/zoom.go // atomic transactions, lua scripts, and running Redis commands // directly if needed. package zoom ...
8ae18ede39728d61830544ae795a7fa36bf42ea6
zoom.go
zoom.go
Go
<|file_sep|>metadata/org.nuntius35.wrongpinshutdown.txt.diff original: updated: Build:7,7 commit=v7 subdir=app gradle=yes <|file_sep|>original/metadata/org.nuntius35.wrongpinshutdown.txt gradle=yes Build:4,4 commit=v4 subdir=app gradle=yes Build:5,5 commit=v5 subdir=app gradl...
gradle=yes Build:5,5 commit=v5 subdir=app gradle=yes Build:6,6 commit=v6 subdir=app gradle=yes Build:7,7 commit=v7 subdir=app gradle=yes Auto Update Mode:Version v%c Update Check Mode:Tags Current Version:7 Current Version Code:7
<|file_sep|>metadata/org.nuntius35.wrongpinshutdown.txt.diff original: updated: Build:7,7 commit=v7 subdir=app gradle=yes <|file_sep|>original/metadata/org.nuntius35.wrongpinshutdown.txt gradle=yes Build:4,4 commit=v4 subdir=app gradle=yes Build:5,5 commit=v5 subdir=app gradl...
51262e0e1e0b9c6e522836ae97d2b927f195da7c
metadata/org.nuntius35.wrongpinshutdown.txt
metadata/org.nuntius35.wrongpinshutdown.txt
Text
<|file_sep|>original/asyncmongo/__init__.py import bson except ImportError: raise ImportError("bson library not installed. Install pymongo >= 1.9 https://github.com/mongodb/mongo-python-driver") # also update in setup.py version = "1.3" version_info = (1, 3) ASCENDING = 1 """Ascending sort order.""" DESCENDIN...
import bson except ImportError: raise ImportError("bson library not installed. Install pymongo >= 1.9 https://github.com/mongodb/mongo-python-driver") # also update in setup.py version = "1.3" version_info = (1, 3) ASCENDING = 1 """Ascending sort order.""" DESCENDING = -1 """Descending sort order.""" GEO2D = ...
<|file_sep|>original/asyncmongo/__init__.py import bson except ImportError: raise ImportError("bson library not installed. Install pymongo >= 1.9 https://github.com/mongodb/mongo-python-driver") # also update in setup.py version = "1.3" version_info = (1, 3) ASCENDING = 1 """Ascending sort order.""" DESCENDIN...
d81d17b3ef7819cf70c302f36afab32ae33e66a9
asyncmongo/__init__.py
asyncmongo/__init__.py
Python
<|file_sep|>original/templates/button.py from copy import deepcopy as copy from text import TextTemplate TextTemplate.get_text = lambda self: self.get_message()['text'] TEXT_CHARACTER_LIMIT = 320 template = { 'template_type': 'button', 'value': { 'attachment': { 'type': 'template', ...
from copy import deepcopy as copy from text import TextTemplate TextTemplate.get_text = lambda self: self.get_message()['text'] TEXT_CHARACTER_LIMIT = 640 template = { 'template_type': 'button', 'value': { 'attachment': { 'type': 'template', 'payload': { 'templ...
<|file_sep|>original/templates/button.py from copy import deepcopy as copy from text import TextTemplate TextTemplate.get_text = lambda self: self.get_message()['text'] TEXT_CHARACTER_LIMIT = 320 template = { 'template_type': 'button', 'value': { 'attachment': { 'type': 'template', ...
b8f6027f475025f1b04c26e1ff4e9c6ff659e362
templates/button.py
templates/button.py
Python
<|file_sep|>original/README.md # `cshell.js`(wip) Client side HTML page generation. Simply add these two lines to your `index.html`: ```html <script type="text/javascript" src="cshell.js"></script> <script>loadMarkdown("https://raw.githubusercontent.com/USERNAME/PROJECT/master/README.md");</script> ``` And watch it ma...
# `cshell.js`(wip) Client side HTML page generation. Simply add these two lines to your `index.html`: ```html {{% include_relative index.html %}} ``` And watch it magically generate your page client side!
<|file_sep|>original/README.md # `cshell.js`(wip) Client side HTML page generation. Simply add these two lines to your `index.html`: ```html <script type="text/javascript" src="cshell.js"></script> <script>loadMarkdown("https://raw.githubusercontent.com/USERNAME/PROJECT/master/README.md");</script> ``` And watch it ma...
0540b2d08681f3c5ee4a462363e1fab73b700836
README.md
README.md
Markdown
<|file_sep|>original/spec/spec_helper.rb require 'rubygems' require 'spork' require 'webmock/rspec' require 'vcr' require "factory_girl_rails" require 'blacklight' FactoryGirl.find_definitions ENV['RAILS_ENV'] ||= 'test' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') Spork.prefork do ENV["RAILS_ENV"] |...
require 'rubygems' require 'spork' require 'webmock/rspec' require 'vcr' require "factory_girl_rails" require 'blacklight' require 'dotenv' Dotenv.load FactoryGirl.find_definitions ENV['RAILS_ENV'] ||= 'test' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') Spork.prefork do ENV["RAILS_ENV"] ||= 'test' ...
<|file_sep|>original/spec/spec_helper.rb require 'rubygems' require 'spork' require 'webmock/rspec' require 'vcr' require "factory_girl_rails" require 'blacklight' FactoryGirl.find_definitions ENV['RAILS_ENV'] ||= 'test' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') Spork.prefork do ENV["RAILS_ENV"] |...
d62872bf7afcff989cb2b899de5f7b4f65f8840d
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/app/views/resources/show.html.erb <h3>What it's about:</h3> <p><%= @resource.description %></p> <%= link_to "Edit this Resource", edit_resource_path(@resource) if correct_user? %> <%= button_to "Delete this Resource", resource_path(@resource), method: 'delete' if correct_user?%> <% if @resource...
<h3>What it's about:</h3> <p><%= @resource.description %></p> <%= link_to "Edit this Resource", edit_resource_path(@resource) if correct_user? %> <%= button_to "Delete this Resource", resource_path(@resource), method: 'delete' if correct_user?%> <% if @resource.comments.first.content.present? %> <h3>Comments:</h3...
<|file_sep|>original/app/views/resources/show.html.erb <h3>What it's about:</h3> <p><%= @resource.description %></p> <%= link_to "Edit this Resource", edit_resource_path(@resource) if correct_user? %> <%= button_to "Delete this Resource", resource_path(@resource), method: 'delete' if correct_user?%> <% if @resource...
fa7f86524951cb36ac29108e1ee0d2240b0cda8e
app/views/resources/show.html.erb
app/views/resources/show.html.erb
HTML+ERB
<|file_sep|>original/.github/ISSUE_TEMPLATE/Feature_request.md --- name: Feature Request about: Tell us about something in the Python language/NumPy you'd like Numba to support. Not for asking general questions - see below. --- --- <!-- Thanks for opening an issue! To help the Numba team handle your information eff...
--- name: Feature Request about: Tell us about something in the Python language/NumPy you'd like Numba to support. Not for asking general questions - see below. --- <!-- Thanks for opening an issue! To help the Numba team handle your information efficiently, please first ensure that there is no other issue present t...
<|file_sep|>original/.github/ISSUE_TEMPLATE/Feature_request.md --- name: Feature Request about: Tell us about something in the Python language/NumPy you'd like Numba to support. Not for asking general questions - see below. --- --- <!-- Thanks for opening an issue! To help the Numba team handle your information eff...
dd6690b4f2b21e7fefcdcf016bf0a576c8fb01ba
.github/ISSUE_TEMPLATE/Feature_request.md
.github/ISSUE_TEMPLATE/Feature_request.md
Markdown
<|file_sep|>test/breadcrumb_test.rb.diff original: updated: member_of_set :id => :a_set_of_things <|file_sep|>original/test/breadcrumb_test.rb it 'can record a key to track in' do assert_equal 'tracking_key', TestBreadcrumb.tracked_in end it 'can own a key' do assert_equal [:a_owned_key], TestBread...
end it 'can record a key to track in' do assert_equal 'tracking_key', TestBreadcrumb.tracked_in end it 'can own a key' do assert_equal [:a_owned_key], TestBreadcrumb.owned_keys end it 'can be a member of a set' do assert_equal [[:id, :a_set_of_things]], TestBreadcrumb.member_of_sets end ...
<|file_sep|>test/breadcrumb_test.rb.diff original: updated: member_of_set :id => :a_set_of_things <|file_sep|>original/test/breadcrumb_test.rb it 'can record a key to track in' do assert_equal 'tracking_key', TestBreadcrumb.tracked_in end it 'can own a key' do assert_equal [:a_owned_key], TestBread...
bab7a45454cc2b55c4b64252638907a151266fa0
test/breadcrumb_test.rb
test/breadcrumb_test.rb
Ruby
<|file_sep|>doc/source/uml/h5lattice.txt.diff original: updated: !include cuba_data.txt !include no_uid_record.txt !include h5_container_data.txt <|file_sep|>doc/source/uml/h5lattice.txt.diff original: data : Table = Data updated: data : Table = ContainerData <|file_sep|>doc/source/uml/h5lattice.txt.diff original:...
_v_name: String = <name> lattice : Table = Nodes data : Table = ContainerData -- Node Attributes -- type: String base_vect : Double[2..3] size : Int[2..3] origin: Double[2..3] } class Nodes as "Nodes(Table)" { _v_name: String = "lattice" row : NoUidRecord } H5Lattice -- Nodes H5Lattice -- Containe...
<|file_sep|>doc/source/uml/h5lattice.txt.diff original: updated: !include cuba_data.txt !include no_uid_record.txt !include h5_container_data.txt <|file_sep|>doc/source/uml/h5lattice.txt.diff original: data : Table = Data updated: data : Table = ContainerData <|file_sep|>doc/source/uml/h5lattice.txt.diff original:...
d3def61c49d46c15dbd132ae8810238886447727
doc/source/uml/h5lattice.txt
doc/source/uml/h5lattice.txt
Text
<|file_sep|>lib/chef/chef_fs/file_system/memory_dir.rb.diff original: if path_parts.length == 1 add_child(MemoryFile.new(path_parts[0], self, value)) else if !child(path_parts[0]).exists? add_child(MemoryDir.new(path_parts[0], self)) updated: dir = add...
dir.add_child(file) file end def add_dir(path) path_parts = path.split('/') dir = self path_parts.each do |path_part| subdir = dir.child(path_part) if !subdir.exists? subdir = MemoryDir.new(path_part, dir) ...
<|file_sep|>lib/chef/chef_fs/file_system/memory_dir.rb.diff original: if path_parts.length == 1 add_child(MemoryFile.new(path_parts[0], self, value)) else if !child(path_parts[0]).exists? add_child(MemoryDir.new(path_parts[0], self)) updated: dir = add...
603db5ec5f54ee8c435b097ef0fa336e0e9f3dc0
lib/chef/chef_fs/file_system/memory_dir.rb
lib/chef/chef_fs/file_system/memory_dir.rb
Ruby
<|file_sep|>original/app/templates/components/user-profile-ics.hbs <h2 class='title'>{{t 'general.icsFeed'}}</h2> <div class='actions'> {{#if isManaging}} <button disabled={{refreshKey.isRunning}} title={{t 'general.refreshIcsFeedKey'}} class='refresh-key' {{action (perform refreshKey)}}>{{fa-icon (if refreshKey....
<h2 class='title'>{{t 'general.icsFeed'}}</h2> <div class='actions'> {{#if isManaging}} <button disabled={{refreshKey.isRunning}} title={{t 'general.refreshIcsFeedKey'}} class='refresh-key' {{action (perform refreshKey)}}>{{fa-icon (if refreshKey.isRunning 'spinner' 'refresh') spin=(if refreshKey.isRunning true f...
<|file_sep|>original/app/templates/components/user-profile-ics.hbs <h2 class='title'>{{t 'general.icsFeed'}}</h2> <div class='actions'> {{#if isManaging}} <button disabled={{refreshKey.isRunning}} title={{t 'general.refreshIcsFeedKey'}} class='refresh-key' {{action (perform refreshKey)}}>{{fa-icon (if refreshKey....
fb6e39a1b6c924b9bc7d7dfd26594d01976d9c2e
app/templates/components/user-profile-ics.hbs
app/templates/components/user-profile-ics.hbs
Handlebars
<|file_sep|>src/dbup-mysql/MySqlCommandReader.cs.diff original: while (char.IsWhiteSpace(CurrentChar)) updated: int result; do <|file_sep|>original/src/dbup-mysql/MySqlCommandReader.cs { delimiter.Append(CurrentChar); if (Read() == FailedRe...
delimiter.Append(CurrentChar); if (Read() == FailedRead) { break; } } while (!IsEndOfLine && !IsWhiteSpace); Delimiter = delimiter.ToString(); } void SkipWhitespace() { ...
<|file_sep|>src/dbup-mysql/MySqlCommandReader.cs.diff original: while (char.IsWhiteSpace(CurrentChar)) updated: int result; do <|file_sep|>original/src/dbup-mysql/MySqlCommandReader.cs { delimiter.Append(CurrentChar); if (Read() == FailedRe...
f84ffbec8d00f845fbaffd3097e631d3c22863b4
src/dbup-mysql/MySqlCommandReader.cs
src/dbup-mysql/MySqlCommandReader.cs
C#
<|file_sep|>tasks/security/root_auth_plugin.yml.diff original: # We need to adjust .my.cnf here so that the other tasks will work as expected. updated: <|file_sep|>tasks/security/root_auth_plugin.yml.diff original: - name: ensure root user has password set using mysql_native_password command: "mysql -NBe \"UPDATE my...
--- # On some installations the MySQL root user has the auth plugin check_token configured. # To change the root password we have to first change the auth plugin to mysql_native_password here. - name: check auth system capabilities command: mysql -NBe "DESCRIBE mysql.user plugin" register: mysql_check_new_auth c...
<|file_sep|>tasks/security/root_auth_plugin.yml.diff original: # We need to adjust .my.cnf here so that the other tasks will work as expected. updated: <|file_sep|>tasks/security/root_auth_plugin.yml.diff original: - name: ensure root user has password set using mysql_native_password command: "mysql -NBe \"UPDATE my...
a139b760243fad68c9bb3c9b770d2f69928ebaa4
tasks/security/root_auth_plugin.yml
tasks/security/root_auth_plugin.yml
YAML
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md
Reason for Change =================== * Describe the big picture of your changes here. * This should describe why this pull request should be merged. * If it fixes a bug or resolves a feature request, link to that issue. Changes ======= * Describe your changes as a concise list of items. Minor ===== * List any minor ...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md Reason for Change =================== * Describe the big picture of your changes here. * This should describe why this pull request should be merged. * If it ...
a5eb46159a82c9bb3d358f5b8507e73968ea8fe2
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/bmi_tester/tests_pytest/test_grid_uniform_rectilinear.py assert rtn is shape for dim in shape: assert dim > 0 if gtype == 'scalar': ndim = new_bmi.get_grid_rank(gid) shape = np.empty(ndim, dtype=np.int32) try: rtn = new_bmi....
try: rtn = new_bmi.get_grid_shape(gid, shape) except TypeError: warnings.warn('get_grid_shape should take two arguments') rtn = new_bmi.get_grid_shape(gid) shape[:] = rtn else: assert rtn is shape for dim in shape: ...
<|file_sep|>original/bmi_tester/tests_pytest/test_grid_uniform_rectilinear.py assert rtn is shape for dim in shape: assert dim > 0 if gtype == 'scalar': ndim = new_bmi.get_grid_rank(gid) shape = np.empty(ndim, dtype=np.int32) try: rtn = new_bmi....
ff460f9a3c7df3322271eeb5de3bead72fe121bc
bmi_tester/tests_pytest/test_grid_uniform_rectilinear.py
bmi_tester/tests_pytest/test_grid_uniform_rectilinear.py
Python
<|file_sep|>original/.travis.yml language: php sudo: false php: - 5.6 - 7.0 before_script: - composer self-update - composer require satooshi/php-coveralls:dev-master - composer install script: - $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; else echo "php";') vendor/bin/phpunit -c phpunit.xm...
language: php sudo: false php: - 5.6 - 7.0 before_script: - composer self-update - composer require satooshi/php-coveralls:dev-master - composer install - git clone https://github.com/kelunik/travis-php && travis-php/install.sh master script: - $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; ...
<|file_sep|>original/.travis.yml language: php sudo: false php: - 5.6 - 7.0 before_script: - composer self-update - composer require satooshi/php-coveralls:dev-master - composer install script: - $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; else echo "php";') vendor/bin/phpunit -c phpunit.xm...
51b13a453026fc037b71788ee7005e6489b88a9d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/source/partials/_index-list-item-vimeo.erb <div class='vimeo-player'> <iframe src="https://player.vimeo.com/video/<%= article.data.vimeo_id %>?color=ababab&portrait=0" width="950" height="534" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen> </i...
<div class='vimeo-player'> <div class='embed-container'> <iframe src="https://player.vimeo.com/video/<%= article.data.vimeo_id %>?color=ababab&portrait=0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen> </iframe> </div> </div>
<|file_sep|>original/source/partials/_index-list-item-vimeo.erb <div class='vimeo-player'> <iframe src="https://player.vimeo.com/video/<%= article.data.vimeo_id %>?color=ababab&portrait=0" width="950" height="534" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen> </i...
9f08bb01ac299d3d6f7588084c7547a7b8bc1910
source/partials/_index-list-item-vimeo.erb
source/partials/_index-list-item-vimeo.erb
HTML+ERB
<|file_sep|>original/src/AppBundle/Resources/views/Note/create.html.twig {% extends 'AppBundle::layout.html.twig' %} {% block content %} <h1>{{ "Add a Note"|trans }}</h1> <div> {{ form_start (form) }} {{ form_label(form.title) }} {{ form_widget(form.title) }} {{ form...
{% extends 'AppBundle::layout.html.twig' %} {% block content %} <h1>{{ "Add a Note"|trans }}</h1> <div> {{ form_start (form) }} {{ form_label(form.title) }} {{ form_widget(form.title) }} {{ form_label(form.content) }} {{ form_widget(form.content, {"attr":...
<|file_sep|>original/src/AppBundle/Resources/views/Note/create.html.twig {% extends 'AppBundle::layout.html.twig' %} {% block content %} <h1>{{ "Add a Note"|trans }}</h1> <div> {{ form_start (form) }} {{ form_label(form.title) }} {{ form_widget(form.title) }} {{ form...
64ccb852bf60bb14ccbaf66b121688a456fed2a9
src/AppBundle/Resources/views/Note/create.html.twig
src/AppBundle/Resources/views/Note/create.html.twig
Twig
<|file_sep|>original/tests/Secp256k1ConstantsTest.php <|file_sep|>current/tests/Secp256k1ConstantsTest.php <|file_sep|>updated/tests/Secp256k1ConstantsTest.php
<?php namespace BitWasp\Secp256k1Tests; class Secp256k1ConstantsTest extends TestCase { public function testConstants() { $this->assertEquals('secp256k1_ecdsa_signature_t', SECP256K1_TYPE_SIG); $this->assertEquals('secp256k1_pubkey_t', SECP256K1_TYPE_PUBKEY); $this->assertEquals('secp2...
<|file_sep|>original/tests/Secp256k1ConstantsTest.php <|file_sep|>current/tests/Secp256k1ConstantsTest.php <|file_sep|>updated/tests/Secp256k1ConstantsTest.php <?php namespace BitWasp\Secp256k1Tests; class Secp256k1ConstantsTest extends TestCase { public function testConstants() { $this->assertEqual...
67132fba51b75e8ef28fe6216db61ed1ac827d3a
tests/Secp256k1ConstantsTest.php
tests/Secp256k1ConstantsTest.php
PHP
<|file_sep|>features/support/env.rb.diff original: updated: #!/usr/bin/env ruby $: << File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib')) <|file_sep|>original/features/support/env.rb require 'cucumber/nagios/steps' <|file_sep|>current/features/support/env.rb #!/usr/bin/env ruby $: << File.expand_...
#!/usr/bin/env ruby $: << File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib')) require 'cucumber/nagios/steps' World do Webrat::Session.new(Webrat::MechanizeAdapter.new) end
<|file_sep|>features/support/env.rb.diff original: updated: #!/usr/bin/env ruby $: << File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib')) <|file_sep|>original/features/support/env.rb require 'cucumber/nagios/steps' <|file_sep|>current/features/support/env.rb #!/usr/bin/env ruby $: << File.expand_...
8867e869fdf313176418fab19749c378e2a34fa1
features/support/env.rb
features/support/env.rb
Ruby
<|file_sep|>original/tests/src/Module/Api/Mastodon/PushSubscriptionTest.php <|file_sep|>current/tests/src/Module/Api/Mastodon/PushSubscriptionTest.php <|file_sep|>updated/tests/src/Module/Api/Mastodon/PushSubscriptionTest.php
<?php /** * @copyright Copyright (C) 2010-2022, the Friendica project * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either ...
<|file_sep|>original/tests/src/Module/Api/Mastodon/PushSubscriptionTest.php <|file_sep|>current/tests/src/Module/Api/Mastodon/PushSubscriptionTest.php <|file_sep|>updated/tests/src/Module/Api/Mastodon/PushSubscriptionTest.php <?php /** * @copyright Copyright (C) 2010-2022, the Friendica project * * @license GNU AG...
60b1cac1667cf41ce12a48b5c8014eeedc246084
tests/src/Module/Api/Mastodon/PushSubscriptionTest.php
tests/src/Module/Api/Mastodon/PushSubscriptionTest.php
PHP
<|file_sep|>original/.travis.yml language: scala jdk: oraclejdk7 sudo: false scala: - 2.10.5 - 2.11.6 script: - "sbt ++$TRAVIS_SCALA_VERSION test:compile" - "sbt ++$TRAVIS_SCALA_VERSION it:compile" - "sbt ++$TRAVIS_SCALA_VERSION test" <|file_sep|>current/.travis.yml language: scala jdk: oraclejdk7 sudo: fal...
language: scala jdk: oraclejdk7 sudo: false scala: - 2.10.5 - 2.11.6 script: - "sbt ++$TRAVIS_SCALA_VERSION test:compile" - "sbt ++$TRAVIS_SCALA_VERSION it:compile" - "sbt ++$TRAVIS_SCALA_VERSION test" - "sbt ++$TRAVIS_SCALA_VERSION it:test"
<|file_sep|>original/.travis.yml language: scala jdk: oraclejdk7 sudo: false scala: - 2.10.5 - 2.11.6 script: - "sbt ++$TRAVIS_SCALA_VERSION test:compile" - "sbt ++$TRAVIS_SCALA_VERSION it:compile" - "sbt ++$TRAVIS_SCALA_VERSION test" <|file_sep|>current/.travis.yml language: scala jdk: oraclejdk7 sudo: fal...
2239b943e7d095cb060a498f5c95b4971f6613a7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb <|file_sep|>current/recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb <|file_sep|>updated/recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb
DESCRIPTION = "A console-only with QtXBee temperature monitor demo installed" # customize IMAGE_FEATURES as follows IMAGE_FEATURES += " \ debug-tweaks \ ssh-server-openssh \ " # packagegroup-core-tools-profile will build and install tracing and profiling tools to the target image. # packagegroup-core-bu...
<|file_sep|>original/recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb <|file_sep|>current/recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb <|file_sep|>updated/recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb DESCRIPTION = "A console-only with QtXBee temperature monitor demo installed" # customize IMAGE_FEATURES as follows IMAGE_FEATU...
f5ef31824b9db86b21c93412dde5d602fac59344
recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb
recipes-qt/qt5/qtxbee/qtxbee-demo-image.bb
BitBake
<|file_sep|>original/slides/list.json "filename": "index.html", "attr": { "data-state": "art-of-mathematics" } }, { "filename": "rubin-vase.md" }, { "attr": { "data-background": "image/f1-race.jpg" } }, { "attr": { ...
{ "filename": "index.html", "attr": { "data-state": "art-of-mathematics" } }, { "filename": "rubin-vase.md" }, { "attr": { "data-background": "image/swim-contest.jpg" } }, { "filename": "study-mathemathics.md", ...
<|file_sep|>original/slides/list.json "filename": "index.html", "attr": { "data-state": "art-of-mathematics" } }, { "filename": "rubin-vase.md" }, { "attr": { "data-background": "image/f1-race.jpg" } }, { "attr": { ...
c29f7ba19e63b0755d4e010b9467c9360403b54a
slides/list.json
slides/list.json
JSON
<|file_sep|>metadata/de.wikilab.android.ldapsync.yml.diff original: updated: - versionName: 2.1.4 versionCode: 18 commit: 2.1.4 subdir: app gradle: - yes <|file_sep|>original/metadata/de.wikilab.android.ldapsync.yml AutoName: LDAP Sync Description: |- LDAP synchronization adapter for Andro...
Repo: https://github.com/max-weller/LDAP-Sync.git Builds: - versionName: 2.1.3 versionCode: 17 commit: 2.1.3 subdir: app gradle: - yes - versionName: 2.1.4 versionCode: 18 commit: 2.1.4 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentV...
<|file_sep|>metadata/de.wikilab.android.ldapsync.yml.diff original: updated: - versionName: 2.1.4 versionCode: 18 commit: 2.1.4 subdir: app gradle: - yes <|file_sep|>original/metadata/de.wikilab.android.ldapsync.yml AutoName: LDAP Sync Description: |- LDAP synchronization adapter for Andro...
7978ee641948060e09f218a6460bef3ec02b2d59
metadata/de.wikilab.android.ldapsync.yml
metadata/de.wikilab.android.ldapsync.yml
YAML
<|file_sep|>original/Source/Premier+UILabel.swift extension UILabel { public convenience init(text: String, font: UIFont, color: UIColor = .white) { self.init(frame: .null) self.text = text self.font = font self.textColor = color self.numberOfLines = 0 } public conv...
extension UILabel { public convenience init(text: String, font: UIFont, color: UIColor = .white) { self.init(frame: .null) self.text = text self.font = font self.textColor = color self.numberOfLines = 0 } public convenience init(attributedText: NSAttributedString, f...
<|file_sep|>original/Source/Premier+UILabel.swift extension UILabel { public convenience init(text: String, font: UIFont, color: UIColor = .white) { self.init(frame: .null) self.text = text self.font = font self.textColor = color self.numberOfLines = 0 } public conv...
a17fc51061f5d4f417c1377e370f2ce2342790ae
Source/Premier+UILabel.swift
Source/Premier+UILabel.swift
Swift
<|file_sep|>original/metadata.rb name 'rabbitmq-cluster' maintainer 'Sunggun Yu' maintainer_email 'sunggun.dev@gmail.com' license 'Apache 2.0' description 'Configures rabbitmq cluster' long_description 'This cookbook configures rabbitmq cluster by executing rabbitmqctl command.' version ...
name 'rabbitmq-cluster' maintainer 'Sunggun Yu' maintainer_email 'sunggun.dev@gmail.com' license 'Apache 2.0' description 'Configures rabbitmq cluster' long_description 'This cookbook configures rabbitmq cluster by executing rabbitmqctl command.' version '0.1.2' depends 'rabbit...
<|file_sep|>original/metadata.rb name 'rabbitmq-cluster' maintainer 'Sunggun Yu' maintainer_email 'sunggun.dev@gmail.com' license 'Apache 2.0' description 'Configures rabbitmq cluster' long_description 'This cookbook configures rabbitmq cluster by executing rabbitmqctl command.' version ...
fc48f2415afc91304652847e6b3a7d69c8d4c942
metadata.rb
metadata.rb
Ruby
<|file_sep|>server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java.diff original: updated: import org.springframework.web.bind.annotation.RequestBody; <|file_sep|>original/server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java import org.springframework.beans.factory.annota...
import me.izstas.rfs.server.config.web.PathWithinPattern; import me.izstas.rfs.server.model.Metadata; import me.izstas.rfs.server.service.MetadataService; @RestController @RequestMapping("/metadata/**") public class MetadataController { @Autowired private MetadataService metadataService; @RequestMapping(...
<|file_sep|>server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java.diff original: updated: import org.springframework.web.bind.annotation.RequestBody; <|file_sep|>original/server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java import org.springframework.beans.factory.annota...
3fe26b57fe76fa9f7d58102b81892293d31dd90e
server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java
server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java
Java
<|file_sep|>original/tox.ini [tox] envlist = py26, py27, py33, py34 [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/colorific commands = python setup.py test deps = -r{toxinidir}/requirements.pip <|file_sep|>current/tox.ini [tox] envlist = py26, py27, py33, py34 [testenv] setenv = PYTHONPATH = {to...
[tox] envlist = py27, py33, py34 [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/colorific commands = python setup.py test deps = -r{toxinidir}/requirements.pip
<|file_sep|>original/tox.ini [tox] envlist = py26, py27, py33, py34 [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/colorific commands = python setup.py test deps = -r{toxinidir}/requirements.pip <|file_sep|>current/tox.ini [tox] envlist = py26, py27, py33, py34 [testenv] setenv = PYTHONPATH = {to...
aed14b912a50a43380e74494287a8cd89e860ad3
tox.ini
tox.ini
INI
<|file_sep|>original/ReactiveSwift.podspec # Version goes here and will be used to access the git tag later on, once we have a first release. s.version = "4.0.0-rc.2" s.summary = "Streams of values over time" s.description = <<-DESC ReactiveSwift is a Swift framework inspired by Fu...
s.description = <<-DESC ReactiveSwift is a Swift framework inspired by Functional Reactive Programming. It provides APIs for composing and transforming streams of values over time. DESC s.homepage = "https://github.com/ReactiveCocoa/ReactiveSwift" s.license = { :typ...
<|file_sep|>original/ReactiveSwift.podspec # Version goes here and will be used to access the git tag later on, once we have a first release. s.version = "4.0.0-rc.2" s.summary = "Streams of values over time" s.description = <<-DESC ReactiveSwift is a Swift framework inspired by Fu...
6e1ebef514720c627427e666a740193788bac905
ReactiveSwift.podspec
ReactiveSwift.podspec
Ruby
<|file_sep|>original/package.json "dependencies": { "body-parser": "^1.14.2", "express": "^4.13.3", "jfs": "^0.2.6", "mustache": "^2.2.1", "request": "^2.67.0", "ws": "^1.0.0" }, "devDependencies": { "jscs": "^2.7.0", "node-env-file": "^0.1.8", "should": "^8.0.2", "tap-spec...
"dependencies": { "body-parser": "^1.14.2", "express": "^4.13.3", "jfs": "^0.2.6", "mustache": "^2.2.1", "request": "^2.67.0", "ws": "^1.0.0" }, "devDependencies": { "jscs": "^2.7.0", "mocha": "^2.4.5", "node-env-file": "^0.1.8", "should": "^8.0.2", "tap-spec": "^4.1.1"...
<|file_sep|>original/package.json "dependencies": { "body-parser": "^1.14.2", "express": "^4.13.3", "jfs": "^0.2.6", "mustache": "^2.2.1", "request": "^2.67.0", "ws": "^1.0.0" }, "devDependencies": { "jscs": "^2.7.0", "node-env-file": "^0.1.8", "should": "^8.0.2", "tap-spec...
abd29354c146ac8d768ff4309a1b785cf78e65a4
package.json
package.json
JSON
<|file_sep|>original/menus/encoding-selector.cson 'menu': [ 'label': 'Edit' 'submenu': [ 'label': 'Select Encoding' 'command': 'encoding-selector:show' ] ] 'context-menu': 'atom-text-editor': [ 'label': 'Change Encoding' 'command': 'encoding-selector:show' ] <|file_sep|>current/menus/encoding...
'menu': [ 'label': 'Edit' 'submenu': [ 'label': 'Select Encoding' 'command': 'encoding-selector:show' ] ] 'context-menu': 'atom-text-editor:not([mini])': [ 'label': 'Change Encoding' 'command': 'encoding-selector:show' ]
<|file_sep|>original/menus/encoding-selector.cson 'menu': [ 'label': 'Edit' 'submenu': [ 'label': 'Select Encoding' 'command': 'encoding-selector:show' ] ] 'context-menu': 'atom-text-editor': [ 'label': 'Change Encoding' 'command': 'encoding-selector:show' ] <|file_sep|>current/menus/encoding...
fb07ecae52bc4980ee8e6add3051939661339110
menus/encoding-selector.cson
menus/encoding-selector.cson
CoffeeScript
<|file_sep|>original/CHANGELOG.md # Repr Changelog ### 3.0.0 (2020-08-25) - **[BC]** Drop support for PHP 7.1 ### 2.0.1 (2019-10-23) - Convert curly-brace string offsets to use square brackets (php 7.4 compatibility) ### 2.0.0 (2019-05-28) - **[BC]** Drop support for PHP 5.x and PHP 7.0 - **[BC]** Remove `Package...
# Repr Changelog ### 4.0.0 (2020-08-25) - **[BC]** Add parameter and return type hints to all types ### 3.0.0 (2020-08-25) - **[BC]** Drop support for PHP 7.1 ### 2.0.1 (2019-10-23) - Convert curly-brace string offsets to use square brackets (php 7.4 compatibility) ### 2.0.0 (2019-05-28) - **[BC]** Drop support...
<|file_sep|>original/CHANGELOG.md # Repr Changelog ### 3.0.0 (2020-08-25) - **[BC]** Drop support for PHP 7.1 ### 2.0.1 (2019-10-23) - Convert curly-brace string offsets to use square brackets (php 7.4 compatibility) ### 2.0.0 (2019-05-28) - **[BC]** Drop support for PHP 5.x and PHP 7.0 - **[BC]** Remove `Package...
3dad35ee43394404ae0f1926d754e7b7820da8e4
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/tk/material/migrations/0002_auto_20170704_2155.py <|file_sep|>current/tk/material/migrations/0002_auto_20170704_2155.py <|file_sep|>updated/tk/material/migrations/0002_auto_20170704_2155.py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-04 19:55 from __future__ import unicode_literals from django.db import migrations import localized_fields.fields.field class Migration(migrations.Migration): dependencies = [ ('material', '0001_initial'), ] operations = [ m...
<|file_sep|>original/tk/material/migrations/0002_auto_20170704_2155.py <|file_sep|>current/tk/material/migrations/0002_auto_20170704_2155.py <|file_sep|>updated/tk/material/migrations/0002_auto_20170704_2155.py # -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-04 19:55 from __future__ import unicode_lit...
45fea3847e2800a920ccb06e102ebaf9a5f9a4ce
tk/material/migrations/0002_auto_20170704_2155.py
tk/material/migrations/0002_auto_20170704_2155.py
Python
<|file_sep|>original/luminoso_api/compat.py import sys # Detect Python 3 PY3 = (sys.hexversion >= 0x03000000) if PY3: types_not_to_encode = (int, str) string_type = str from urllib.parse import urlparse else: types_not_to_encode = (int, long, basestring) string_type = basestring from urllib2 i...
import sys # Detect Python 3 PY3 = (sys.hexversion >= 0x03000000) if PY3: types_not_to_encode = (int, str) string_type = str from urllib.parse import urlparse else: types_not_to_encode = (int, long, basestring) string_type = basestring from urlparse import urlparse
<|file_sep|>original/luminoso_api/compat.py import sys # Detect Python 3 PY3 = (sys.hexversion >= 0x03000000) if PY3: types_not_to_encode = (int, str) string_type = str from urllib.parse import urlparse else: types_not_to_encode = (int, long, basestring) string_type = basestring from urllib2 i...
bff72be24e44cec1d819de630afb91868fadeaa5
luminoso_api/compat.py
luminoso_api/compat.py
Python
<|file_sep|>original/README.md # Docker Dashboard An browser interface to interact with Docker on your machine. Heavily inspired by the great tutorial "[Create a Docker dashboard with TypeScript, React and Socket.io](https://auth0.com/blog/docker-dashboard-with-react-typescript-socketio/)", published by [Steve Hobbs]...
# Docker Dashboard An browser interface to interact with Docker on your machine. Heavily inspired by the great tutorial "[Create a Docker dashboard with TypeScript, React and Socket.io](https://auth0.com/blog/docker-dashboard-with-react-typescript-socketio/)", published by [Steve Hobbs](http://twitter.com/elkdanger)....
<|file_sep|>original/README.md # Docker Dashboard An browser interface to interact with Docker on your machine. Heavily inspired by the great tutorial "[Create a Docker dashboard with TypeScript, React and Socket.io](https://auth0.com/blog/docker-dashboard-with-react-typescript-socketio/)", published by [Steve Hobbs]...
b40509db92f0c725c6d2a280bab2005e7a1eaa59
README.md
README.md
Markdown
<|file_sep|>original/packages/hm/hmatrix-nlopt.yaml <|file_sep|>current/packages/hm/hmatrix-nlopt.yaml <|file_sep|>updated/packages/hm/hmatrix-nlopt.yaml
homepage: https://github.com/peddie/hmatrix-nlopt changelog-type: markdown hash: 99f8435087901aa0565e220db29081c0c7f613a18cb21f14f5bd416ba81f3646 test-bench-deps: base: ! '>=4 && <5' doctest: ! '>=0.11' maintainer: mpeddie@gmail.com synopsis: Interface HMatrix with the NLOPT minimizer changelog: ! '# Revision histo...
<|file_sep|>original/packages/hm/hmatrix-nlopt.yaml <|file_sep|>current/packages/hm/hmatrix-nlopt.yaml <|file_sep|>updated/packages/hm/hmatrix-nlopt.yaml homepage: https://github.com/peddie/hmatrix-nlopt changelog-type: markdown hash: 99f8435087901aa0565e220db29081c0c7f613a18cb21f14f5bd416ba81f3646 test-bench-deps: ...
264f82df72656dd8f7898b3ccc4da7136b627bcb
packages/hm/hmatrix-nlopt.yaml
packages/hm/hmatrix-nlopt.yaml
YAML
<|file_sep|>original/ChangeLog.md # Version 1.1.X * Add CI configuration for Travis-CI and AppVeyor. * Add more test cases and reference new test COM server project. # Version 1.1.1 * Fixes for Linux build. * Fixes for Windows build. # Version 1.1.0 The change to provide building on all platforms is a new feat...
# Version 1.1.X * Add CI configuration for Travis-CI and AppVeyor. * Add test InterfaceID and ClassID for the COM Test Server project. * **Add more test cases and reference new test COM server project.** (Placeholder for future additions) # Version 1.1.1 * Fixes for Linux build. * Fixes for Windows build. # Ve...
<|file_sep|>original/ChangeLog.md # Version 1.1.X * Add CI configuration for Travis-CI and AppVeyor. * Add more test cases and reference new test COM server project. # Version 1.1.1 * Fixes for Linux build. * Fixes for Windows build. # Version 1.1.0 The change to provide building on all platforms is a new feat...
f61f7d62ff350a5155f205402c9bc775260319fb
ChangeLog.md
ChangeLog.md
Markdown
<|file_sep|>app/templates/arethusa.dep_tree/focus_controls.html.diff original: class="margined-hor-tiny clickable flash-on-hover note" updated: title="Focus Root" class="margined-hor-tiny clickable flash-on-hover" <|file_sep|>app/templates/arethusa.dep_tree/focus_controls.html.diff original: Focus Root updated:...
ng-click="focusRoot()"> <i class="fa fa-crosshairs"></i> </span> <span title="Focus Selection" class="margined-hor-tiny clickable flash-on-hover" ng-click="focusSelection()"> <i class="fi-target-two"></i> </span> <span title="Center Tree" class="margined-hor-tiny clickable flash-on-hover" ng-click="ce...
<|file_sep|>app/templates/arethusa.dep_tree/focus_controls.html.diff original: class="margined-hor-tiny clickable flash-on-hover note" updated: title="Focus Root" class="margined-hor-tiny clickable flash-on-hover" <|file_sep|>app/templates/arethusa.dep_tree/focus_controls.html.diff original: Focus Root updated:...
e154bd59c74ac1c45172cca8b658469708a8348b
app/templates/arethusa.dep_tree/focus_controls.html
app/templates/arethusa.dep_tree/focus_controls.html
HTML
<|file_sep|>original/src/scripts/appModule.js $locationProvider.html5Mode(false); } ]); // CONFIG SETTINGS angular.module('app.config', []) // Log settings .constant('LOG', { ENABLE_DEBUG: true }) .contant('WEATHER_SETTINGS', { OPEN_WEATHER_MAP: { BASE_URI: 'http://...
$locationProvider.html5Mode(false); } ]); // CONFIG SETTINGS angular.module('app.config', []) // Log settings .constant('LOG', { ENABLE_DEBUG: true }) .constant('WEATHER_SETTINGS', { OPEN_WEATHER_MAP: { BASE_URI: 'http://api.openweathermap.org/data/2.5', API...
<|file_sep|>original/src/scripts/appModule.js $locationProvider.html5Mode(false); } ]); // CONFIG SETTINGS angular.module('app.config', []) // Log settings .constant('LOG', { ENABLE_DEBUG: true }) .contant('WEATHER_SETTINGS', { OPEN_WEATHER_MAP: { BASE_URI: 'http://...
e8fd17d8cd052940a49d75d18a694c4a6a13f73b
src/scripts/appModule.js
src/scripts/appModule.js
JavaScript
<|file_sep|>r/load_data.r.diff original: #' ## Code Owners: Kyle Baird #' ### OWNERS ATTEST TO THE FOLLOWING: #' * The `master` branch will meet Milliman QRM standards at all times. #' * Deliveries will only be made from code in the `master` branch. #' * Review/Collaboration notes will be captured in Pull Request...
#' ## Code Owners: Kyle Baird, Shea Parkes #' #' ### Objective: #' * Load the data for analytics into native R data structures so it is easy to work with #' #' ### Developer Notes: #' * <none> path.dir.source <- '../data/' #' ## LIBRARIES, LOCATIONS, LITERALS, ETC. GO ABOVE HERE df.labs <- read.csv( paste0(p...
<|file_sep|>r/load_data.r.diff original: #' ## Code Owners: Kyle Baird #' ### OWNERS ATTEST TO THE FOLLOWING: #' * The `master` branch will meet Milliman QRM standards at all times. #' * Deliveries will only be made from code in the `master` branch. #' * Review/Collaboration notes will be captured in Pull Request...
fe67c5d7cfc4ec55e95ae2955f3be37fb3d844e7
r/load_data.r
r/load_data.r
R
<|file_sep|>lib/postgres_db_driver.rb.diff original: if ActiveRecord::Base.connection.select_all("SELECT * FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '#{schema_name}'").empty? updated: if select_rows("SELECT * FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '#{schema_name}'").empty? <|file_se...
def pre_table_import(imp, module_name, table) end def post_table_import(imp, module_name, table) end def post_data_module_import(imp, module_name) end protected def current_database select_value("SELECT current_database()") end def control_database_name 'postgre...
<|file_sep|>lib/postgres_db_driver.rb.diff original: if ActiveRecord::Base.connection.select_all("SELECT * FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '#{schema_name}'").empty? updated: if select_rows("SELECT * FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '#{schema_name}'").empty? <|file_se...
424a970fac2e193ba64767042bd62f17551e8329
lib/postgres_db_driver.rb
lib/postgres_db_driver.rb
Ruby
<|file_sep|>activesupport/lib/active_support/locale/en.rb.diff original: abs_number = number.to_i.abs if (11..13).cover?(abs_number % 100) "th" updated: case number when 1; "st" when 2; "nd" when 3; "rd" when 4, 5, 6, 7, 8, 9, 10, 11, 12...
nth: { ordinals: lambda do |_key, number:, **_options| case number when 1; "st" when 2; "nd" when 3; "rd" when 4, 5, 6, 7, 8, 9, 10, 11, 12, 13; "th" else num_modulo = number.to_i.abs % 100 num_modulo %= 10 if num_modulo >...
<|file_sep|>activesupport/lib/active_support/locale/en.rb.diff original: abs_number = number.to_i.abs if (11..13).cover?(abs_number % 100) "th" updated: case number when 1; "st" when 2; "nd" when 3; "rd" when 4, 5, 6, 7, 8, 9, 10, 11, 12...
0c54fc460e52d2b9aa02e1e27a090dbe7ee98829
activesupport/lib/active_support/locale/en.rb
activesupport/lib/active_support/locale/en.rb
Ruby
<|file_sep|>original/duralex/ForkReferenceVisitor.py from AbstractVisitor import AbstractVisitor from duralex.alinea_parser import * import duralex.node_type class ForkReferenceVisitor(AbstractVisitor): def visit_node(self, node): if duralex.tree.is_reference(node) and 'children' in node and len(node['ch...
from AbstractVisitor import AbstractVisitor from duralex.alinea_parser import * import duralex.tree class ForkReferenceVisitor(AbstractVisitor): def visit_node(self, node): if duralex.tree.is_reference(node) and 'children' in node and len(node['children']) > 1: ref_nodes = filter(lambda n: du...
<|file_sep|>original/duralex/ForkReferenceVisitor.py from AbstractVisitor import AbstractVisitor from duralex.alinea_parser import * import duralex.node_type class ForkReferenceVisitor(AbstractVisitor): def visit_node(self, node): if duralex.tree.is_reference(node) and 'children' in node and len(node['ch...
83efdc63bed6c280e62eae1fb3a741adc2ac730a
duralex/ForkReferenceVisitor.py
duralex/ForkReferenceVisitor.py
Python
<|file_sep|>ansible.cfg.diff original: # include roles from galaxyproject/ansible-common-roles updated: # include things from galaxyproject/ansible-common-roles <|file_sep|>ansible.cfg.diff original: # include filter plugins from galaxyproject/ansible-common-roles updated: <|file_sep|>original/ansible.cfg [defaults] ...
[defaults] # don't create .retry files on failure retry_files_enabled = False # include things from galaxyproject/ansible-common-roles roles_path = roles:common_roles filter_plugins = common_roles/filter_plugins lookup_plugins = common_roles/lookup_plugins # include modules from library library = library # use open...
<|file_sep|>ansible.cfg.diff original: # include roles from galaxyproject/ansible-common-roles updated: # include things from galaxyproject/ansible-common-roles <|file_sep|>ansible.cfg.diff original: # include filter plugins from galaxyproject/ansible-common-roles updated: <|file_sep|>original/ansible.cfg [defaults] ...
72a2bc06d5468fa94e1b59b260ce257e596ac1d4
ansible.cfg
ansible.cfg
INI
<|file_sep|>original/types/common.go This support includes or will include, for each type. - JSON Unmarshalling via UnmarshalJSON(b []byte), in the format of the navitia.io API - Validity Checking via Check() - Pretty-printing via String() This package is still a work in progress. It is not API-Stable, and won't b...
/* Package types implements support for the types used in the Navitia API (see doc.navitia.io), simplified and modified for idiomatic Go use. This package was and is developed as a supporting library for the gonavitia API client (https://github.com/aabizri/navitia) but can be used to build other API clients. */ packag...
<|file_sep|>original/types/common.go This support includes or will include, for each type. - JSON Unmarshalling via UnmarshalJSON(b []byte), in the format of the navitia.io API - Validity Checking via Check() - Pretty-printing via String() This package is still a work in progress. It is not API-Stable, and won't b...
7ebdcd7ee77d88e37e3354cec46eeca3f1c9bf0b
types/common.go
types/common.go
Go
<|file_sep|>original/README.md # TanitaTracker ![Build status](https://build.mobile.azure.com/v0.1/apps/78ef69af-242d-4129-a4e6-23101e9156b1/branches/master/badge) Tracker of Tanita Omniron for La Foca Fitness club <|file_sep|>current/README.md # TanitaTracker ![Build status](https://build.mobile.azure.com/v0.1/app...
# TanitaTracker ## Master ![Build status](https://build.mobile.azure.com/v0.1/apps/78ef69af-242d-4129-a4e6-23101e9156b1/branches/master/badge) ## Develop ![Build status](https://build.mobile.azure.com/v0.1/apps/78ef69af-242d-4129-a4e6-23101e9156b1/branches/develop/badge) Tracker of Tanita Omniron for La Foca Fit...
<|file_sep|>original/README.md # TanitaTracker ![Build status](https://build.mobile.azure.com/v0.1/apps/78ef69af-242d-4129-a4e6-23101e9156b1/branches/master/badge) Tracker of Tanita Omniron for La Foca Fitness club <|file_sep|>current/README.md # TanitaTracker ![Build status](https://build.mobile.azure.com/v0.1/app...
e5eb3fca28fda27e4c8a77680e19cc6ce0d02238
README.md
README.md
Markdown
<|file_sep|>original/composer.json { "name": "sroze/tolerance", "type": "library", "license": "MIT", "description": "Fault tolerance library and micro-services helpers", "require": { "ramsey/uuid": "^3.1", "symfony/psr-http-message-bridge": "^0.2.0", "zendframework/zend-diac...
{ "name": "tolerance/tolerance", "type": "library", "license": "MIT", "description": "Fault tolerance library and micro-services helpers", "require": { "ramsey/uuid": "^3.1", "symfony/psr-http-message-bridge": "^0.2.0", "zendframework/zend-diactoros": "^1.3" }, "req...
<|file_sep|>original/composer.json { "name": "sroze/tolerance", "type": "library", "license": "MIT", "description": "Fault tolerance library and micro-services helpers", "require": { "ramsey/uuid": "^3.1", "symfony/psr-http-message-bridge": "^0.2.0", "zendframework/zend-diac...
4fc4f484a5946ff3ab23dde70cb8dd48b6540493
composer.json
composer.json
JSON
<|file_sep|>original/custom/icds_reports/permissions.py from custom.icds_core.view_utils import icds_pre_release_features def can_access_location_data(view_fn): """ Decorator controlling a user's access to VIEW data for a specific location. """ @wraps(view_fn) def _inner(request, domain, *args, **...
from custom.icds_core.view_utils import icds_pre_release_features def can_access_location_data(view_fn): """ Decorator controlling a user's access to VIEW data for a specific location. """ @wraps(view_fn) def _inner(request, domain, *args, **kwargs): def call_view(): return view_fn(request...
<|file_sep|>original/custom/icds_reports/permissions.py from custom.icds_core.view_utils import icds_pre_release_features def can_access_location_data(view_fn): """ Decorator controlling a user's access to VIEW data for a specific location. """ @wraps(view_fn) def _inner(request, domain, *args, **...
f6b40cbe9da0552b27b7c4c5d1a2d9bb0a75dafd
custom/icds_reports/permissions.py
custom/icds_reports/permissions.py
Python
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.3 script: rubocop && rspec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.3 script: rubocop && rspec <|file_sep|>updated/.travis.yml
sudo: false language: ruby rvm: - 2.2.3 script: rubocop && rspec
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.3 script: rubocop && rspec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.3 script: rubocop && rspec <|file_sep|>updated/.travis.yml sudo: false language: ruby rvm: - 2.2.3 script: rubocop && rspec
11874d6f0345564a6322465e3f08238d575f8e92
.travis.yml
.travis.yml
YAML
<|file_sep|>original/provision/vhosts/hosts-get.sh getHosts() { hostnames=$(vagrant ssh -c "/usr/sbin/apache2ctl -S 2>&1 | awk '/namevhost/' | awk '{print \$4;}'") aliases=$(vagrant ssh -c "/usr/sbin/apache2ctl -S 2>&1 | awk '/alias/' | awk '{print \$2;}'") echo "$hostnames$aliases" } getIp() { ip=$(vagrant ssh -c...
getHosts() { hostnames=$(vagrant ssh -c "/usr/sbin/apache2ctl -S 2>&1 | awk '/namevhost/' | awk '{print \$4;}'") aliases=$(vagrant ssh -c "/usr/sbin/apache2ctl -S 2>&1 | awk '/alias/' | awk '{print \$2;}'") printf "$hostnames\n$aliases" } getIp() { ip=$(vagrant ssh -c "/sbin/ifconfig eth1 | grep 'inet addr:' | cut...
<|file_sep|>original/provision/vhosts/hosts-get.sh getHosts() { hostnames=$(vagrant ssh -c "/usr/sbin/apache2ctl -S 2>&1 | awk '/namevhost/' | awk '{print \$4;}'") aliases=$(vagrant ssh -c "/usr/sbin/apache2ctl -S 2>&1 | awk '/alias/' | awk '{print \$2;}'") echo "$hostnames$aliases" } getIp() { ip=$(vagrant ssh -c...
8773fdb833d741ba2b7c2f27c885d4aff4e8cc75
provision/vhosts/hosts-get.sh
provision/vhosts/hosts-get.sh
Shell
<|file_sep|>original/src/package.electron.json { "name": "uoa-annotation-tool", "version": "1.0.0", "author": "Jerry Fan - The University of Auckland", "description": "An annotation tool for location aware multi-camera person tracking datasets.", "license": "Artistic-2.0", "main": "electron.js",...
{ "name": "uoa-annotation-tool", "version": "1.2.0", "author": "Jerry Fan - The University of Auckland", "description": "An annotation tool for location aware multi-camera person tracking datasets.", "license": "Artistic-2.0", "main": "electron.js", "repository": { "type": "git", ...
<|file_sep|>original/src/package.electron.json { "name": "uoa-annotation-tool", "version": "1.0.0", "author": "Jerry Fan - The University of Auckland", "description": "An annotation tool for location aware multi-camera person tracking datasets.", "license": "Artistic-2.0", "main": "electron.js",...
b136e1c4fd804fb46c5f2d0c374f16d07bcfed28
src/package.electron.json
src/package.electron.json
JSON
<|file_sep|>original/readme.txt === QuickLogin === Contributors: redsweater Tags: utilities, login, admin Requires at least: 3.4.2 Tested up to: 3.5 Stable tag: 1.0.1 License: MIT License URI: http://opensource.org/licenses/MIT Adds a keyboard shortcut to your blog for easily logging in. == Description == The QuickL...
=== QuickLogin === Contributors: redsweater Tags: utilities, login, admin Requires at least: 3.4.2 Tested up to: 4.0 Stable tag: 1.0.1 License: MIT License URI: http://opensource.org/licenses/MIT Adds a keyboard shortcut to your blog for easily logging in. == Description == The QuickLogin plugin for self-hosted Word...
<|file_sep|>original/readme.txt === QuickLogin === Contributors: redsweater Tags: utilities, login, admin Requires at least: 3.4.2 Tested up to: 3.5 Stable tag: 1.0.1 License: MIT License URI: http://opensource.org/licenses/MIT Adds a keyboard shortcut to your blog for easily logging in. == Description == The QuickL...
21a2c2d6c76b8173190ac86069323435082cb6ac
readme.txt
readme.txt
Text
<|file_sep|>original/src/parser/shaman/enhancement/modules/features/Checklist/Component.js }).isRequired, thresholds: PropTypes.object.isRequired, }; render() { const { thresholds } = this.props; return ( <Checklist> <Rule name="Always be casting" description={<Do...
}).isRequired, thresholds: PropTypes.object.isRequired, }; render() { const { thresholds } = this.props; return ( <Checklist> <Rule name="Always be casting" description={<>You should try to avoid doing nothing during the fight. If you have to move, try casting som...
<|file_sep|>original/src/parser/shaman/enhancement/modules/features/Checklist/Component.js }).isRequired, thresholds: PropTypes.object.isRequired, }; render() { const { thresholds } = this.props; return ( <Checklist> <Rule name="Always be casting" description={<Do...
9491a88bde80004a680a7de162081982637fc33e
src/parser/shaman/enhancement/modules/features/Checklist/Component.js
src/parser/shaman/enhancement/modules/features/Checklist/Component.js
JavaScript
<|file_sep|>original/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.1 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagr...
4f577284e4eeee32200bf15ac772fa1692503919
requirements.txt
requirements.txt
Text
<|file_sep|>original/_includes/footer.html <footer class="site-footer"> <div class="wrapper"> <nav class="footer-nav"> <a href="/demo" class="footer-link">Demo</a> &bull; <a href="https://github.com/hospitalrun" class="footer-link">Source</a> &bull; <a href="/beta" class="footer-link">Beta</a> ...
<footer class="site-footer"> <div class="wrapper"> <nav class="footer-nav"> <a href="/demo" class="footer-link">Demo</a> &bull; <a href="https://github.com/hospitalrun" class="footer-link">Source</a> &bull; <a href="/beta" class="footer-link">Beta</a> &bull; <a href="/events" class="foote...
<|file_sep|>original/_includes/footer.html <footer class="site-footer"> <div class="wrapper"> <nav class="footer-nav"> <a href="/demo" class="footer-link">Demo</a> &bull; <a href="https://github.com/hospitalrun" class="footer-link">Source</a> &bull; <a href="/beta" class="footer-link">Beta</a> ...
16c3e8317d983860bdf589213328d4a67d80109f
_includes/footer.html
_includes/footer.html
HTML
<|file_sep|>original/package.json { "name": "animate-a-name", "version": "1.0.0", "description": "A Google Doodle by Suriyaa Kudo.", "main": "index.html", "scripts": { "test": "npm install" }, "repository": { "type": "git", "url": "git+https://github.com/SuriyaaKudoIsc/animate-a-name.git" },...
{ "name": "animate-a-name", "version": "1.0.1", "description": "A Google Doodle by Suriyaa Kudo.", "main": "index.html", "scripts": { "test": "npm install" }, "repository": { "type": "git", "url": "git+https://github.com/SuriyaaKudoIsc/animate-a-name.git" }, "keywords": [ "animate", ...
<|file_sep|>original/package.json { "name": "animate-a-name", "version": "1.0.0", "description": "A Google Doodle by Suriyaa Kudo.", "main": "index.html", "scripts": { "test": "npm install" }, "repository": { "type": "git", "url": "git+https://github.com/SuriyaaKudoIsc/animate-a-name.git" },...
0deb14c3b4977659a3d5a8818c30608bd294bce0
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' - '0.10' before_install: - npm install -g grunt-cli install: - npm install notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - '0.12' - '0.10' before_install: - npm install -g grunt-cli install: - npm install not...
language: node_js node_js: - stable before_install: - npm install -g grunt-cli install: - npm install notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' - '0.10' before_install: - npm install -g grunt-cli install: - npm install notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - '0.12' - '0.10' before_install: - npm install -g grunt-cli install: - npm install not...
3f190fc117c04e83d920a3b6e3ec9869367e54f9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.gitlab-ci.yml stages: - mirror mirror repository: stage: mirror allow_failure: true variables: REPO: "git@github.com:RafalSkolasinski/devenv.git" before_script: - mkdir ~/.ssh && chmod 700 ~/.ssh - ssh-keyscan github.com >> ~/.ssh/known_hosts - echo "$DE...
stages: - mirror mirror repository: stage: mirror allow_failure: true variables: REPO: "git@github.com:RafalSkolasinski/kwant-devenv.git" before_script: - mkdir ~/.ssh && chmod 700 ~/.ssh - ssh-keyscan github.com >> ~/.ssh/known_hosts - echo "$DEPLOY_KEY" > ~/.ssh/id_rsa && c...
<|file_sep|>original/.gitlab-ci.yml stages: - mirror mirror repository: stage: mirror allow_failure: true variables: REPO: "git@github.com:RafalSkolasinski/devenv.git" before_script: - mkdir ~/.ssh && chmod 700 ~/.ssh - ssh-keyscan github.com >> ~/.ssh/known_hosts - echo "$DE...
e04d09440f2902c3b4ff3811eaa043f83ebbcbf3
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/README.rst * TODO Prerequisites ------------- :: $ sudo pip install -r requirements.txt Running Kuryr ------------- Please run the following script, it creates `/usr/lib/docker/plugins/kuryr` and the JSON spec file, `/usr/lib/docker/plugins/kuryr/kuryr.json`, if they don't exist. :: ...
:: $ sudo pip install -r requirements.txt Running Kuryr ------------- Please run the following script, it creates `/usr/lib/docker/plugins/kuryr` and the JSON spec file, `/usr/lib/docker/plugins/kuryr/kuryr.json`, if they don't exist. :: $ ./scripts/run_kuryr.sh Testing Kuryr ------------- :: $ tox
<|file_sep|>original/README.rst * TODO Prerequisites ------------- :: $ sudo pip install -r requirements.txt Running Kuryr ------------- Please run the following script, it creates `/usr/lib/docker/plugins/kuryr` and the JSON spec file, `/usr/lib/docker/plugins/kuryr/kuryr.json`, if they don't exist. :: ...
4b4cf827e7a392448861b5a58f59af7a40912579
README.rst
README.rst
reStructuredText
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest_linux.txt # These tests fail due to certificate errors; see http://crbug.com/36770 HTTPSRequestTest.HTTPSMismatchedTest SSLClientSocketTest.ConnectMismatched # Flaky. crbug.com/234776 DiskCacheEntryTest.SimpleCacheStreamAccess DiskCacheEntryTest.Sim...
# These tests fail due to certificate errors; see http://crbug.com/36770 HTTPSRequestTest.HTTPSMismatchedTest SSLClientSocketTest.ConnectMismatched # Flaky. crbug.com/234776 DiskCacheEntryTest.SimpleCacheStreamAccess DiskCacheEntryTest.SimpleCacheGrowData DiskCacheEntryTest.SimpleCacheSizeChanges
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest_linux.txt # These tests fail due to certificate errors; see http://crbug.com/36770 HTTPSRequestTest.HTTPSMismatchedTest SSLClientSocketTest.ConnectMismatched # Flaky. crbug.com/234776 DiskCacheEntryTest.SimpleCacheStreamAccess DiskCacheEntryTest.Sim...
d47775ef43417c904da078daa9e4d1f6f27f3608
tools/valgrind/gtest_exclude/net_unittests.gtest_linux.txt
tools/valgrind/gtest_exclude/net_unittests.gtest_linux.txt
Text
<|file_sep|>original/test/CFrontend/2003-08-29-BitFieldStruct.c <|file_sep|>current/test/CFrontend/2003-08-29-BitFieldStruct.c <|file_sep|>updated/test/CFrontend/2003-08-29-BitFieldStruct.c
typedef enum { FALSE, TRUE } flagT; struct Word { short bar; short baz; flagT final:1; short quux; } *word_limit; void foo () { word_limit->final = (word_limit->final && word_limit->final); }
<|file_sep|>original/test/CFrontend/2003-08-29-BitFieldStruct.c <|file_sep|>current/test/CFrontend/2003-08-29-BitFieldStruct.c <|file_sep|>updated/test/CFrontend/2003-08-29-BitFieldStruct.c typedef enum { FALSE, TRUE } flagT; struct Word { short bar; short baz; flagT final:1; short quux; } *word_limit; void...
879678338f7a4aeff364d7eb3aecfc22360c50fa
test/CFrontend/2003-08-29-BitFieldStruct.c
test/CFrontend/2003-08-29-BitFieldStruct.c
C
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: python python: - "2.7" before_install: - sudo apt-get -qq update - sudo apt-get -y install curl - curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh - sudo bash bootstrap_salt.sh -d - sudo mkdir -p /srv - chmod 755 travis/bu...
dist: trusty language: python python: - "2.7" before_install: - sudo apt-get -qq update - sudo apt-get -y install curl - curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh - sudo bash bootstrap_salt.sh -d - sudo mkdir -p /srv - chmod 755 travis/build.sh - chmod 755 travis/test.sh - sudo sys...
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: python python: - "2.7" before_install: - sudo apt-get -qq update - sudo apt-get -y install curl - curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh - sudo bash bootstrap_salt.sh -d - sudo mkdir -p /srv - chmod 755 travis/bu...
017fc04fa039426240e1b613b5ba8b458f0126dc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/Integration/BulkWriteTest.php <|file_sep|>current/tests/Integration/BulkWriteTest.php <|file_sep|>updated/tests/Integration/BulkWriteTest.php
<?php namespace Mongolid\Tests\Integration; use MongoDB\BSON\ObjectId; use MongoDB\Driver\WriteResult; use Mongolid\Query\BulkWrite; use Mongolid\Tests\Stubs\ReferencedUser; class BulkWriteTest extends IntegrationTestCase { public function testShouldRunMultipleUpdateOperations() { $bob = $this->create...
<|file_sep|>original/tests/Integration/BulkWriteTest.php <|file_sep|>current/tests/Integration/BulkWriteTest.php <|file_sep|>updated/tests/Integration/BulkWriteTest.php <?php namespace Mongolid\Tests\Integration; use MongoDB\BSON\ObjectId; use MongoDB\Driver\WriteResult; use Mongolid\Query\BulkWrite; use Mongolid\Te...
0761aba46c0e51ff148318448d854be209e9fa25
tests/Integration/BulkWriteTest.php
tests/Integration/BulkWriteTest.php
PHP
<|file_sep|>original/__tests__/DateSlider.js import { shallow } from "enzyme"; import toJson from "enzyme-to-json"; import moment from "moment"; import DateSlider from "../src/DateSlider"; describe("DateSlider Component", () => { it("should shallow render without issues", () => { const component = shallow(<Da...
import { shallow } from "enzyme"; import toJson from "enzyme-to-json"; import moment from "moment"; import DateSlider from "../src/DateSlider"; describe("DateSlider Component", () => { it("should shallow render without issues", () => { const component = shallow( <DateSlider selectedDate={moment.utc("201...
<|file_sep|>original/__tests__/DateSlider.js import { shallow } from "enzyme"; import toJson from "enzyme-to-json"; import moment from "moment"; import DateSlider from "../src/DateSlider"; describe("DateSlider Component", () => { it("should shallow render without issues", () => { const component = shallow(<Da...
112119708a4a26f92ae22df85110b9f44f002032
__tests__/DateSlider.js
__tests__/DateSlider.js
JavaScript