prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/src/Templates.php { use SingletonTrait; private $twigLoader; private $twigEnvironment; function __construct () { $this->twigLoader = new \Twig_Loader_Filesystem(array()); $this->twigEnvironment = new \Twig_Environment($this->twigLoader); } /** ...
{ use SingletonTrait; private $twigLoader; private $twigEnvironment; function __construct () { $this->twigLoader = new \Twig_Loader_Filesystem(array()); $this->twigEnvironment = new \Twig_Environment($this->twigLoader); self::extendTwig($this->twigEnvironment); } ...
<|file_sep|>original/src/Templates.php { use SingletonTrait; private $twigLoader; private $twigEnvironment; function __construct () { $this->twigLoader = new \Twig_Loader_Filesystem(array()); $this->twigEnvironment = new \Twig_Environment($this->twigLoader); } /** ...
ff9e0fcf35197ab9ffabae6f3e39334cca2c7daa
src/Templates.php
src/Templates.php
PHP
<|file_sep|>original/lib/DDG/Spice/Pokemon/Data.pm spice to => 'http://pokeapi.co/api/v1/pokemon/$1/'; spice wrap_jsonp_callback => 1; spice alt_to => { description => { is_cached => 1, proxy_cache_valid => '200 30d', to => 'http://pokeapi.co/api/v1/description/$1/' } }; my $accepted_names = join "|", share(...
spice to => 'http://pokeapi.co/api/v1/pokemon/$1/'; spice wrap_jsonp_callback => 1; spice alt_to => { description => { is_cached => 1, proxy_cache_valid => '200 30d', to => 'http://pokeapi.co/api/v1/description/$1/' } }; my $accepted_names = join "|", share('pokemon-names.txt')->slurp(chomp => 1); # Handle ...
<|file_sep|>original/lib/DDG/Spice/Pokemon/Data.pm spice to => 'http://pokeapi.co/api/v1/pokemon/$1/'; spice wrap_jsonp_callback => 1; spice alt_to => { description => { is_cached => 1, proxy_cache_valid => '200 30d', to => 'http://pokeapi.co/api/v1/description/$1/' } }; my $accepted_names = join "|", share(...
2d69290c9fed5b4f5fca6072fbe20db66ff55b4e
lib/DDG/Spice/Pokemon/Data.pm
lib/DDG/Spice/Pokemon/Data.pm
Perl
<|file_sep|>original/src/main/resources/LICENSE.txt <|file_sep|>current/src/main/resources/LICENSE.txt <|file_sep|>updated/src/main/resources/LICENSE.txt
The MIT License (MIT) Copyright (c) 2014 Vincent Link, Steffen Lohmann, Eduard Marbach Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights...
<|file_sep|>original/src/main/resources/LICENSE.txt <|file_sep|>current/src/main/resources/LICENSE.txt <|file_sep|>updated/src/main/resources/LICENSE.txt The MIT License (MIT) Copyright (c) 2014 Vincent Link, Steffen Lohmann, Eduard Marbach Permission is hereby granted, free of charge, to any person obtaining a cop...
e6d592ae5b62e94ec9b612bc5cab2ce30859c132
src/main/resources/LICENSE.txt
src/main/resources/LICENSE.txt
Text
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionSha256Sum=81003f83b0056d20eedf48cddd4f52a9813163d4ba185bcf8abd34b8eeea4cbd distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip zipStoreBase=GRADLE_USER_HOM...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionSha256Sum=81003f83b0056d20eedf48cddd4f52a9813163d4ba185bcf8abd34b8eeea4cbd distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionSha256Sum=81003f83b0056d20eedf48cddd4f52a9813163d4ba185bcf8abd34b8eeea4cbd distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip zipStoreBase=GRADLE_USER_HOM...
042bb285ec41fefd5216cd11dd6eef32f7cc1f26
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/app/assets/stylesheets/application.css.scss $bg-dark: #EEE; $bg: #FFF; body { background-color: $bg-dark; } .container { margin: 24px auto; padding: 24px; background-color: $bg; border-radius: 12px; } textarea { resize: vertical; min-height: 200px; } .full { width: ...
$bg-dark: #EEE; $bg: #FFF; body { background-color: $bg-dark; } .container { margin: 24px auto; padding: 24px; background-color: $bg; border-radius: 12px; } textarea { resize: vertical; min-height: 400px; } .full { width: 100%; }
<|file_sep|>original/app/assets/stylesheets/application.css.scss $bg-dark: #EEE; $bg: #FFF; body { background-color: $bg-dark; } .container { margin: 24px auto; padding: 24px; background-color: $bg; border-radius: 12px; } textarea { resize: vertical; min-height: 200px; } .full { width: ...
14599386a8742dd513b396521f9978681e81ecae
app/assets/stylesheets/application.css.scss
app/assets/stylesheets/application.css.scss
SCSS
<|file_sep|>locales/gn/server.ftl.diff original: updated: gScreenshotsDescription = Mba’erechaha japyhypy pererĩva. Japyhy, ñongatu ha moherakuã mba’erechaha japyhypy eheja’ỹre Firefox. <|file_sep|>locales/gn/server.ftl.diff original: footerLinkTerms = Jejapopy. updated: footerLinkTerms = Jejapopy <|file_sep|>original...
.alt = Ndojejuhúi japyhypy gScreenshotsDescription = Mba’erechaha japyhypy pererĩva. Japyhy, ñongatu ha moherakuã mba’erechaha japyhypy eheja’ỹre Firefox. ## Footer # Note: link text for a link to mozilla.org footerLinkMozilla = Mozilla footerLinkTerms = Jejapopy footerLinkPrivacy = Mombe'u ñeñomipy footerLinkFaq...
<|file_sep|>locales/gn/server.ftl.diff original: updated: gScreenshotsDescription = Mba’erechaha japyhypy pererĩva. Japyhy, ñongatu ha moherakuã mba’erechaha japyhypy eheja’ỹre Firefox. <|file_sep|>locales/gn/server.ftl.diff original: footerLinkTerms = Jejapopy. updated: footerLinkTerms = Jejapopy <|file_sep|>original...
3a78ebf530d8594edc55a4eeeb331a4971f853cd
locales/gn/server.ftl
locales/gn/server.ftl
FreeMarker
<|file_sep|>original/site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb <%= @amanda_serevr_ip %> <%= node['amanda_part']['user'] %> amdump localhost root amindexd amidxtaped <|file_sep|>current/site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb <%= @amanda_serevr_ip %> <%= node['aman...
<%= @amanda_server_ip %> <%= node['amanda_part']['user'] %> amdump localhost root amindexd amidxtaped
<|file_sep|>original/site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb <%= @amanda_serevr_ip %> <%= node['amanda_part']['user'] %> amdump localhost root amindexd amidxtaped <|file_sep|>current/site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb <%= @amanda_serevr_ip %> <%= node['aman...
4c5c18fb8f0c7bc0171e2935aa0b414292b6e553
site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb
site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb
HTML+ERB
<|file_sep|>original/requirements.txt aiohttp==2.2.5 elasticsearch==5.4.0 flake8==3.4.1 ipdb==0.10.3 ipython==6.1.0 pytest==3.2.0 pytest-cov==2.5.1 tox==2.7.0 docker==2.4.2 isort==4.2.15 -e . <|file_sep|>current/requirements.txt aiohttp==2.2.5 elasticsearch==5.4.0 flake8==3.4.1 ipdb==0.10.3 ipython==6.1.0 pytest==3.2.0...
aiohttp==2.2.5 elasticsearch==5.4.0 flake8==3.4.1 ipdb==0.10.3 ipython==6.1.0 pytest==3.2.1 pytest-cov==2.5.1 tox==2.7.0 docker==2.4.2 isort==4.2.15 -e .
<|file_sep|>original/requirements.txt aiohttp==2.2.5 elasticsearch==5.4.0 flake8==3.4.1 ipdb==0.10.3 ipython==6.1.0 pytest==3.2.0 pytest-cov==2.5.1 tox==2.7.0 docker==2.4.2 isort==4.2.15 -e . <|file_sep|>current/requirements.txt aiohttp==2.2.5 elasticsearch==5.4.0 flake8==3.4.1 ipdb==0.10.3 ipython==6.1.0 pytest==3.2.0...
f7136c1664adde9b2fbeef064157a0e93e8d4a28
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/assets/styles/global/_cards.scss /* ========================================================================== Global: Cards ========================================================================== */ .card__go-link { @extend .button, .button--primary, .button--large, .button--capsul...
/* ========================================================================== Global: Cards ========================================================================== */ .card__go-link { @extend .button, .button--primary, .button--large, .button--capsule; }
<|file_sep|>original/app/assets/styles/global/_cards.scss /* ========================================================================== Global: Cards ========================================================================== */ .card__go-link { @extend .button, .button--primary, .button--large, .button--capsul...
d2c23a5ae562a5f4df8aad9d530f71041f533dfc
app/assets/styles/global/_cards.scss
app/assets/styles/global/_cards.scss
SCSS
<|file_sep|>original/requirements/doc.txt sphinx==1.6.5 alagitpull==0.0.13 releases==1.4.0 <|file_sep|>current/requirements/doc.txt sphinx==1.6.5 alagitpull==0.0.13 releases==1.4.0 <|file_sep|>updated/requirements/doc.txt
sphinx==1.6.5 alagitpull==0.0.14 releases==1.4.0
<|file_sep|>original/requirements/doc.txt sphinx==1.6.5 alagitpull==0.0.13 releases==1.4.0 <|file_sep|>current/requirements/doc.txt sphinx==1.6.5 alagitpull==0.0.13 releases==1.4.0 <|file_sep|>updated/requirements/doc.txt sphinx==1.6.5 alagitpull==0.0.14 releases==1.4.0
ae546c38f18a211332c0d3164c079f2a8fc30e27
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/README.md Symfony Polyfill / Intl: Normalizer =================================== This component provides a fallback implementation for the [`Normalizer`](http://php.net/manual/en/class.normalizer.php) class provided by the [Intl](http://php.net/intl) extension. More information can be found in t...
Symfony Polyfill / Intl: Normalizer =================================== This component provides a fallback implementation for the [`Normalizer`](https://php.net/Normalizer) class provided by the [Intl](https://php.net/intl) extension. More information can be found in the [main Polyfill README](https://github.com/symf...
<|file_sep|>original/README.md Symfony Polyfill / Intl: Normalizer =================================== This component provides a fallback implementation for the [`Normalizer`](http://php.net/manual/en/class.normalizer.php) class provided by the [Intl](http://php.net/intl) extension. More information can be found in t...
7c22f9c1532452081be0cfce05c9f23291d8ef0f
README.md
README.md
Markdown
<|file_sep|>original/lib/geocoder/models/base.rb end def reverse_geocoded_by fail end private # ---------------------------------------------------------------- def geocoder_init(options) unless geocoder_initialized? @geocoder_options = {} require "g...
end def reverse_geocoded_by fail end private # ---------------------------------------------------------------- def geocoder_init(options) unless @geocoder_options @geocoder_options = {} require "geocoder/stores/#{geocoder_file_name}" inclu...
<|file_sep|>original/lib/geocoder/models/base.rb end def reverse_geocoded_by fail end private # ---------------------------------------------------------------- def geocoder_init(options) unless geocoder_initialized? @geocoder_options = {} require "g...
d7bbddb367c81582a572e5504b5cbc8407852bfd
lib/geocoder/models/base.rb
lib/geocoder/models/base.rb
Ruby
<|file_sep|>src/components/Badge/index.js.diff original: const { artist, event, small } = this.props; updated: const { event, small } = this.props; <|file_sep|>src/components/Badge/index.js.diff original: if (!event && !artist) { updated: if (!event) { <|file_sep|>original/src/components/Badge/index.js ...
export default class Badge extends Component { render() { const { event, small } = this.props; if (!event) { return; } if (event.cancelled) { return ( <span class={`${style.badge} ${small ? style.badgeSmall : {}} ${style.badgeCancelled}`}> <Icon name="close" /> Cancelle...
<|file_sep|>src/components/Badge/index.js.diff original: const { artist, event, small } = this.props; updated: const { event, small } = this.props; <|file_sep|>src/components/Badge/index.js.diff original: if (!event && !artist) { updated: if (!event) { <|file_sep|>original/src/components/Badge/index.js ...
468fb779830bd727aef77d55e85942ee288fd0d9
src/components/Badge/index.js
src/components/Badge/index.js
JavaScript
<|file_sep|>original/src/app/api/admin/descriptor.controller.js * limitations under the License. */ class ApiDescriptorController { constructor (ApiService, resolvedApi, $state, NotificationService, $scope) { 'ngInject'; this.ApiService = ApiService; this.NotificationService = NotificationService; t...
*/ class ApiDescriptorController { constructor (ApiService, resolvedApi, $state, NotificationService, $scope) { 'ngInject'; this.ApiService = ApiService; this.NotificationService = NotificationService; this.$scope = $scope; this.$state = $state; this.api = _.cloneDeep(resolvedApi.data); ...
<|file_sep|>original/src/app/api/admin/descriptor.controller.js * limitations under the License. */ class ApiDescriptorController { constructor (ApiService, resolvedApi, $state, NotificationService, $scope) { 'ngInject'; this.ApiService = ApiService; this.NotificationService = NotificationService; t...
b78facc8756d124b576330eb0b2777b37ed1afd2
src/app/api/admin/descriptor.controller.js
src/app/api/admin/descriptor.controller.js
JavaScript
<|file_sep|>original/README.md mincer-ruby-sass ================ Mincer Sass/Scss engine that uses official Ruby Sass engine <|file_sep|>current/README.md mincer-ruby-sass ================ Mincer Sass/Scss engine that uses official Ruby Sass engine <|file_sep|>updated/README.md
mincer-ruby-sass ================ Mincer Sass/Scss engine that uses official Ruby Sass engine NOTE ==== This package uses the [execSync](https://www.npmjs.org/package/execSync) package, which is not recommended to be run in production environments. The purpose of this package is to compile Sass stylesheets in either...
<|file_sep|>original/README.md mincer-ruby-sass ================ Mincer Sass/Scss engine that uses official Ruby Sass engine <|file_sep|>current/README.md mincer-ruby-sass ================ Mincer Sass/Scss engine that uses official Ruby Sass engine <|file_sep|>updated/README.md mincer-ruby-sass ================ Minc...
8f7399ac6d136c318ab85dc07f5d909443ffd9a3
README.md
README.md
Markdown
<|file_sep|>original/models/mpd_connection.rb class MPDConnection def self.mpd @@mpd ||= MPD.new @@mpd.connect unless @@mpd.connected? @@mpd end def self.status self.mpd.status end end <|file_sep|>current/models/mpd_connection.rb class MPDConnection def self.mpd @@mpd ||= MPD.new @@mp...
class MPDConnection def self.mpd @mpd ||= MPD.new @mpd.connect unless @mpd.connected? @mpd end def self.status self.mpd.status end end
<|file_sep|>original/models/mpd_connection.rb class MPDConnection def self.mpd @@mpd ||= MPD.new @@mpd.connect unless @@mpd.connected? @@mpd end def self.status self.mpd.status end end <|file_sep|>current/models/mpd_connection.rb class MPDConnection def self.mpd @@mpd ||= MPD.new @@mp...
de7788daa6e9e3f36f85052e85cd082e3bcee0b4
models/mpd_connection.rb
models/mpd_connection.rb
Ruby
<|file_sep|>packages/js/JSONParser.yaml.diff original: hash: 1c2babba3c0690b53ecae1632b737c47bf8409b41e7a3705c51cc087ed709028 updated: hash: 7cf8940cd97e9430e6bee07da9860b9117ad4360ed04a562e1df59d54deb0138 <|file_sep|>packages/js/JSONParser.yaml.diff original: updated: - '0.1.0.2' <|file_sep|>original/packages/js/JSON...
## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. ' basic-deps: base: ! '>=4.9 && <4.10' parsec: ! '>=3.1 && <3.2' all-versions: - '0.1.0.1' - '0.1.0.2' author: Alan Hawkins latest: '0.1.0.2' description-type: markdown description: ! '# JSONParser ' license-name: BSD3
<|file_sep|>packages/js/JSONParser.yaml.diff original: hash: 1c2babba3c0690b53ecae1632b737c47bf8409b41e7a3705c51cc087ed709028 updated: hash: 7cf8940cd97e9430e6bee07da9860b9117ad4360ed04a562e1df59d54deb0138 <|file_sep|>packages/js/JSONParser.yaml.diff original: updated: - '0.1.0.2' <|file_sep|>original/packages/js/JSON...
14ae24da11aacf9b611e5b105c8f13095e067d55
packages/js/JSONParser.yaml
packages/js/JSONParser.yaml
YAML
<|file_sep|>test/support/integration_case.ex.diff original: user = tags[:user] updated: <|file_sep|>original/test/support/integration_case.ex unless tags[:async] do Ecto.Adapters.SQL.Sandbox.mode(Repo, {:shared, self()}) end metadata = Phoenix.Ecto.SQL.Sandbox.metadata_for(Repo, self()) use...
unless tags[:async] do Ecto.Adapters.SQL.Sandbox.mode(Repo, {:shared, self()}) end metadata = Phoenix.Ecto.SQL.Sandbox.metadata_for(Repo, self()) retro = case tags[:retro_stage] do nil -> tags[:retro] _ -> tags[:retro] |> Retro.changeset(%{stage: tags[:...
<|file_sep|>test/support/integration_case.ex.diff original: user = tags[:user] updated: <|file_sep|>original/test/support/integration_case.ex unless tags[:async] do Ecto.Adapters.SQL.Sandbox.mode(Repo, {:shared, self()}) end metadata = Phoenix.Ecto.SQL.Sandbox.metadata_for(Repo, self()) use...
327691555dff885944cce463c21019751fa7eb19
test/support/integration_case.ex
test/support/integration_case.ex
Elixir
<|file_sep|>src/Form/Type/AdditionalFieldType.php.diff original: updated: use Symfony\Component\Form\Extension\Core\Type\ChoiceType; <|file_sep|>src/Form/Type/AdditionalFieldType.php.diff original: updated: $appliesToChoices = array( 'LsItem' => 'lsitem', 'LsAssociation' => 'lsassociat...
public function buildForm(FormBuilderInterface $builder, array $options) { $appliesToChoices = array( 'LsItem' => 'lsitem', 'LsAssociation' => 'lsassociation', 'LsDoc' => 'LsDoc', ); $builder ->add('name') ->add('displayName') ...
<|file_sep|>src/Form/Type/AdditionalFieldType.php.diff original: updated: use Symfony\Component\Form\Extension\Core\Type\ChoiceType; <|file_sep|>src/Form/Type/AdditionalFieldType.php.diff original: updated: $appliesToChoices = array( 'LsItem' => 'lsitem', 'LsAssociation' => 'lsassociat...
045c31b461db3fee223fea7e4d503e2a6de80b8c
src/Form/Type/AdditionalFieldType.php
src/Form/Type/AdditionalFieldType.php
PHP
<|file_sep|>app/helpers/photos_helper.rb.diff original: if crop.default_photo.present? photo = crop.default_photo full_size ? photo.fullsize_url : photo.thumbnail_url updated: photo_or_placeholder(crop, full_size: full_size) end def garden_image_path(garden, full_size: false) photo_or_place...
end private def photo_or_placeholder(item, full_size: false) if item.default_photo.present? item_photo(item, full_size: full_size) else placeholder_image end end def item_photo(item, full_size:) photo = item.default_photo full_size ? photo.fullsize_url : photo.thumbnail_url ...
<|file_sep|>app/helpers/photos_helper.rb.diff original: if crop.default_photo.present? photo = crop.default_photo full_size ? photo.fullsize_url : photo.thumbnail_url updated: photo_or_placeholder(crop, full_size: full_size) end def garden_image_path(garden, full_size: false) photo_or_place...
bd6533ccc36597822ab376e354a6ebcc7f3d85fb
app/helpers/photos_helper.rb
app/helpers/photos_helper.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0-p643 - 2.1.5 - 2.2.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0-p643 - 2.1.5 - 2.2.0 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0-p598 - 2.1.5 - 2.2.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0-p643 - 2.1.5 - 2.2.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0-p643 - 2.1.5 - 2.2.0 <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0-p598 - 2.1.5 - 2.2.0
7c0f966657358cdcffbdab907869052b331b4529
.travis.yml
.travis.yml
YAML
<|file_sep|>app/models/url.rb.diff original: validates_format_of :address, with: %r[\Ahttps?://.+] updated: validates :address, format: { with: %r[\Ahttps?://.+] } <|file_sep|>original/app/models/url.rb # A Url represents a page that can have Snapshots taken on it. class Url < ActiveRecord::Base validates_forma...
# A Url represents a page that can have Snapshots taken on it. class Url < ActiveRecord::Base validates :address, format: { with: %r[\Ahttps?://.+] } belongs_to :project validates :project, presence: true has_many :snapshots default_scope { order(:address) } # @return [String] def to_s address e...
<|file_sep|>app/models/url.rb.diff original: validates_format_of :address, with: %r[\Ahttps?://.+] updated: validates :address, format: { with: %r[\Ahttps?://.+] } <|file_sep|>original/app/models/url.rb # A Url represents a page that can have Snapshots taken on it. class Url < ActiveRecord::Base validates_forma...
08a070de5d99f50d3c3d24ea72e0b0f666dc2db9
app/models/url.rb
app/models/url.rb
Ruby
<|file_sep|>original/phpunit.xml <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="bootstrap/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsT...
<?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="bootstrap/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" proce...
<|file_sep|>original/phpunit.xml <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="bootstrap/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsT...
61012b5510ae80b722b50c4bb9ecef00e8a4a8df
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/docs/source/api.rst API === .. automodule:: sir.indexing :members: :private-members: .. automodule:: sir.config .. automodule:: sir.querying .. automodule:: sir.schema .. automodule:: sir.schema.searchentities .. automodule:: sir.util <|file_sep|>current/docs/source/api.rst API === .. automodul...
API === .. automodule:: sir.indexing :members: :private-members: .. automodule:: sir.config .. automodule:: sir.querying .. automodule:: sir.schema .. automodule:: sir.schema.searchentities .. automodule:: sir.trigger_generation .. automodule:: sir.util
<|file_sep|>original/docs/source/api.rst API === .. automodule:: sir.indexing :members: :private-members: .. automodule:: sir.config .. automodule:: sir.querying .. automodule:: sir.schema .. automodule:: sir.schema.searchentities .. automodule:: sir.util <|file_sep|>current/docs/source/api.rst API === .. automodul...
a9fa66b76ed7e5645ec373541d34fa0f68fdebbb
docs/source/api.rst
docs/source/api.rst
reStructuredText
<|file_sep|>requirements.txt.diff original: httplib2==0.9.1 updated: <|file_sep|>requirements.txt.diff original: oauth2==1.5.211 updated: <|file_sep|>requirements.txt.diff original: treeherder-client==1.7.0 updated: <|file_sep|>original/requirements.txt bugsy==0.4.1 click==4.1 Flask==0.10.1 gprof2dot==2015.2.3 gunic...
keyring==5.4 lpthw.web==1.1 MarkupSafe==0.23 mozci==0.14.0 progressbar==2.3 PyHawk-with-a-single-extra-commit==0.1.5 redis==2.10.3 requests==2.7.0 rq==0.5.4 taskcluster==0.0.24 uWSGI==2.0.11.1 Werkzeug==0.10.4 wheel==0.24.0 # Required by mozci treeherder-client==2.0.1 # Required by treeherder-client mohawk==0.3.1 req...
<|file_sep|>requirements.txt.diff original: httplib2==0.9.1 updated: <|file_sep|>requirements.txt.diff original: oauth2==1.5.211 updated: <|file_sep|>requirements.txt.diff original: treeherder-client==1.7.0 updated: <|file_sep|>original/requirements.txt bugsy==0.4.1 click==4.1 Flask==0.10.1 gprof2dot==2015.2.3 gunic...
799acbde9f53fff014587270067e613a8fbefb93
requirements.txt
requirements.txt
Text
<|file_sep|>original/etl/scripts/sql/etl_redcap_userDetails.sql SELECT DISTINCT pc.value AS practice_code, d.value AS email_address FROM redcap6170_briccsext.redcap_data d INNER JOIN redcap6170_briccsext.redcap_data pc ON pc.project_id = d.project_id AND pc.field_name = 'practice_code' AND pc.rec...
SELECT DISTINCT pc.value AS practice_code, d.value AS email_address FROM redcap6170_briccsext.redcap_data d INNER JOIN redcap6170_briccsext.redcap_data pc ON pc.project_id = d.project_id AND pc.field_name = 'practice_code' AND pc.record = d.record WHERE d.project_id IN (29, 53) AND d.field_na...
<|file_sep|>original/etl/scripts/sql/etl_redcap_userDetails.sql SELECT DISTINCT pc.value AS practice_code, d.value AS email_address FROM redcap6170_briccsext.redcap_data d INNER JOIN redcap6170_briccsext.redcap_data pc ON pc.project_id = d.project_id AND pc.field_name = 'practice_code' AND pc.rec...
f9aae547a418771dc0915989c0172606665a0e22
etl/scripts/sql/etl_redcap_userDetails.sql
etl/scripts/sql/etl_redcap_userDetails.sql
SQL
<|file_sep|>README.md.diff original: `npm install @gerardolima/number-formatter` updated: `npm install gerardolima-number-formatter` <|file_sep|>original/README.md This is a personal study on the necessary steps to create, publish and consume a npm package. I am following [this nice tutorial](https://medium.com/@jd...
This is a personal study on the necessary steps to create, publish and consume a npm package. I am following [this nice tutorial](https://medium.com/@jdaudier/how-to-create-and-publish-your-first-node-js-module-444e7585b738#.12iq9dolk) from [Joanne](https://medium.com/@jdaudier) at medium.com. This package exports J...
<|file_sep|>README.md.diff original: `npm install @gerardolima/number-formatter` updated: `npm install gerardolima-number-formatter` <|file_sep|>original/README.md This is a personal study on the necessary steps to create, publish and consume a npm package. I am following [this nice tutorial](https://medium.com/@jd...
f44425730f2250406db949b53cf69ff9f3ee4e11
README.md
README.md
Markdown
<|file_sep|>src/checked.spec.js.diff original: // const NotCheckedFixture = () => ( // <input type="checkbox" value="coffee" /> // ); updated: const NotCheckedFixture = () => ( <input type="checkbox" value="coffee" /> ); <|file_sep|>src/checked.spec.js.diff original: let checkedInput; // notCheckedInput; u...
describe('Checkbox', () => { const methodNames = ['shallow', 'mount']; [shallow, mount].forEach((renderMethod, i) => { let checkedInput, notCheckedInput; before(() => { checkedInput = WrapperBuilder(renderMethod(<CheckedFixture />)); notCheckedInput = WrapperBuilder(renderMethod(<NotCheckedFixtu...
<|file_sep|>src/checked.spec.js.diff original: // const NotCheckedFixture = () => ( // <input type="checkbox" value="coffee" /> // ); updated: const NotCheckedFixture = () => ( <input type="checkbox" value="coffee" /> ); <|file_sep|>src/checked.spec.js.diff original: let checkedInput; // notCheckedInput; u...
0089918d2b03b5fb6196861448a393127a92c554
src/checked.spec.js
src/checked.spec.js
JavaScript
<|file_sep|>original/package.json "LICENSE", "README.md", "src" ], "main": "src/index.js", "bin": {}, "repository": { "type": "git", "url": "https://github.com/vinsonchuong/esnext-decorators" }, "scripts": { "prepublish": "dist-es6", "test": "eslint && jasmine" }, "dependenci...
"LICENSE", "README.md", "src" ], "main": "src/index.js", "bin": {}, "repository": { "type": "git", "url": "https://github.com/vinsonchuong/esnext-decorators" }, "scripts": { "prepublish": "dist-es6", "test": "eslint && jasmine" }, "dependencies": {}, "devDependencies": { ...
<|file_sep|>original/package.json "LICENSE", "README.md", "src" ], "main": "src/index.js", "bin": {}, "repository": { "type": "git", "url": "https://github.com/vinsonchuong/esnext-decorators" }, "scripts": { "prepublish": "dist-es6", "test": "eslint && jasmine" }, "dependenci...
b75b0ef16d15ae23d484ac6917998c2747d3e76e
package.json
package.json
JSON
<|file_sep|>original/requirements/base.txt # like Pillow and psycopg2 # See http://bitly.com/wheel-building-fails-CPython-35 # Verified bug on Python 3.5.1 wheel==0.32.3 # Frontend django-bootstrap-breadcrumbs==0.9.1 # Resources Pillow==5.3.0 yattag==1.10.1 tinycss==0.4 # Markdown verto==0.10.0 python-markdown-math=...
# like Pillow and psycopg2 # See http://bitly.com/wheel-building-fails-CPython-35 # Verified bug on Python 3.5.1 wheel==0.32.3 # Frontend django-bootstrap-breadcrumbs==0.9.1 # Resources Pillow==5.3.0 yattag==1.11.1 tinycss==0.4 # Markdown verto==0.10.0 python-markdown-math==0.5 # Search django-haystack==2.8.1 Whoos...
<|file_sep|>original/requirements/base.txt # like Pillow and psycopg2 # See http://bitly.com/wheel-building-fails-CPython-35 # Verified bug on Python 3.5.1 wheel==0.32.3 # Frontend django-bootstrap-breadcrumbs==0.9.1 # Resources Pillow==5.3.0 yattag==1.10.1 tinycss==0.4 # Markdown verto==0.10.0 python-markdown-math=...
51905bc76b27775db8a11b0ae66a050d15222ab0
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>util.go.diff original: func Boolean(b bool) BooleanParameter { updated: func FromBoolean(b bool) BooleanParameter { <|file_sep|>original/util.go } } furl.RawQuery = strings.TrimLeft(path, "/") if isDatabaseURL { furl.Path = urlConcat(furl.Path, "database.html") return furl } furl.Path = urlCon...
if isDatabaseURL { furl.Path = urlConcat(furl.Path, "database.html") return furl } furl.Path = urlConcat(furl.Path, "document.html") return furl } func FromBoolean(b bool) BooleanParameter { if b { return True } return False } func ToBoolean(b BooleanParameter) bool { return b == True }
<|file_sep|>util.go.diff original: func Boolean(b bool) BooleanParameter { updated: func FromBoolean(b bool) BooleanParameter { <|file_sep|>original/util.go } } furl.RawQuery = strings.TrimLeft(path, "/") if isDatabaseURL { furl.Path = urlConcat(furl.Path, "database.html") return furl } furl.Path = urlCon...
0a8f980f31c1139e45048cf704fb57dd1b000681
util.go
util.go
Go
<|file_sep|>packages/me/median-stream.yaml.diff original: hash: 876da9bcbde397eb5d9ec4779f8288e92f0b3d1ac2940aedd542c81a833b975f updated: hash: b558cc5ec5930510bf19a7946b4d450bd5d0b7904faf122ae195167cf36221eb <|file_sep|>packages/me/median-stream.yaml.diff original: updated: - '0.2.0.0' <|file_sep|>original/packages/m...
base: -any median-stream: -any QuickCheck: -any maintainer: jmc41493@gmail.com synopsis: ! 'Constant-time queries for the median of a stream of numeric data.' changelog: '' basic-deps: base: ! '>=4.7 && <5' heap: -any all-versions: - '0.1.0.0' - '0.2.0.0' author: Joe Canero latest: '0.2.0.0' description-ty...
<|file_sep|>packages/me/median-stream.yaml.diff original: hash: 876da9bcbde397eb5d9ec4779f8288e92f0b3d1ac2940aedd542c81a833b975f updated: hash: b558cc5ec5930510bf19a7946b4d450bd5d0b7904faf122ae195167cf36221eb <|file_sep|>packages/me/median-stream.yaml.diff original: updated: - '0.2.0.0' <|file_sep|>original/packages/m...
2a1cb81426ae05020342837f9746c116d4526acc
packages/me/median-stream.yaml
packages/me/median-stream.yaml
YAML
<|file_sep|>original/webcomix/tests/test_comic_availability.py import pytest from webcomix.comic import Comic from webcomix.supported_comics import supported_comics from webcomix.util import check_first_pages @pytest.mark.slow def test_supported_comics(): for comic_name, comic_info in supported_comics.items(): ...
import pytest from webcomix.comic import Comic from webcomix.supported_comics import supported_comics from webcomix.util import check_first_pages @pytest.mark.slow @pytest.mark.parametrize("comic_name", list(supported_comics.keys())) def test_supported_comics(comic_name): comic = Comic(comic_name, *supported_com...
<|file_sep|>original/webcomix/tests/test_comic_availability.py import pytest from webcomix.comic import Comic from webcomix.supported_comics import supported_comics from webcomix.util import check_first_pages @pytest.mark.slow def test_supported_comics(): for comic_name, comic_info in supported_comics.items(): ...
a1e18385c2c5df9db8390b2da4d5baa2465f150e
webcomix/tests/test_comic_availability.py
webcomix/tests/test_comic_availability.py
Python
<|file_sep|>original/update-version.sh <|file_sep|>current/update-version.sh <|file_sep|>updated/update-version.sh
#!/bin/bash VERSION_STRING=$1 VERSION_ARRAY=( ${VERSION_STRING//./ } ) VERSION_MAJOR=${VERSION_ARRAY[0]} VERSION_MINOR=${VERSION_ARRAY[1]} VERSION_PATCH=${VERSION_ARRAY[2]} sed -i "s,\(Version = \"\).*\(\"\),\1$VERSION_STRING\2," config/version.go sed -i "s,\(Version:[[:space:]]*\).*,\1$VERSION_STRING," rpm/SPECS/git...
<|file_sep|>original/update-version.sh <|file_sep|>current/update-version.sh <|file_sep|>updated/update-version.sh #!/bin/bash VERSION_STRING=$1 VERSION_ARRAY=( ${VERSION_STRING//./ } ) VERSION_MAJOR=${VERSION_ARRAY[0]} VERSION_MINOR=${VERSION_ARRAY[1]} VERSION_PATCH=${VERSION_ARRAY[2]} sed -i "s,\(Version = \"\).*...
766f63d09d5ebf346e17eb9695540fc90021bf4d
update-version.sh
update-version.sh
Shell
<|file_sep|>app/src/main/java/com/ogsdroid/MyApplication.java.diff original: updated: import org.acra.ReportField; <|file_sep|>original/app/src/main/java/com/ogsdroid/MyApplication.java import android.content.Context; import org.acra.ACRA; import org.acra.ReportingInteractionMode; import org.acra.annotation.ReportsCr...
import android.content.Context; import org.acra.ACRA; import org.acra.ReportField; import org.acra.ReportingInteractionMode; import org.acra.annotation.ReportsCrashes; @ReportsCrashes( mailTo = "nathanj439@gmail.com", mode = ReportingInteractionMode.TOAST, customReportContent = {ReportField.AP...
<|file_sep|>app/src/main/java/com/ogsdroid/MyApplication.java.diff original: updated: import org.acra.ReportField; <|file_sep|>original/app/src/main/java/com/ogsdroid/MyApplication.java import android.content.Context; import org.acra.ACRA; import org.acra.ReportingInteractionMode; import org.acra.annotation.ReportsCr...
6140c9cd0315cdd6e7a9bc824f774320f73717f5
app/src/main/java/com/ogsdroid/MyApplication.java
app/src/main/java/com/ogsdroid/MyApplication.java
Java
<|file_sep|>original/.github/workflows/dart.yml - name: Setup Dart SDK run: | sudo apt-get update sudo apt-get install apt-transport-https sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' sudo sh -c 'wget -qO- https://storage.googleap...
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' sudo apt-get update sudo apt-get install dart ...
<|file_sep|>original/.github/workflows/dart.yml - name: Setup Dart SDK run: | sudo apt-get update sudo apt-get install apt-transport-https sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' sudo sh -c 'wget -qO- https://storage.googleap...
a6064c14ee435db6effeb480f80b87504e0473a1
.github/workflows/dart.yml
.github/workflows/dart.yml
YAML
<|file_sep|>original/requirements.txt dj-database-url==0.2.1 django-discover-runner==0.3 django-pipeline==1.3.3 Django==1.5 docutils==0.10 Markdown==2.2.1 psycopg2==2.4.5 # django-markupfield with Py3 support. Can be removed when 1.1 is released. git+git://github.com/jamesturk/django-markupfield.git@70dc74 # My fork ...
dj-database-url==0.2.1 django-discover-runner==0.3 django-pipeline==1.3.6 Django==1.5 docutils==0.10 Markdown==2.2.1 psycopg2==2.4.5 # django-markupfield with Py3 support. Can be removed when 1.1 is released. git+git://github.com/jamesturk/django-markupfield.git@70dc74 # My fork of django-sitetree, adding Py3 support...
<|file_sep|>original/requirements.txt dj-database-url==0.2.1 django-discover-runner==0.3 django-pipeline==1.3.3 Django==1.5 docutils==0.10 Markdown==2.2.1 psycopg2==2.4.5 # django-markupfield with Py3 support. Can be removed when 1.1 is released. git+git://github.com/jamesturk/django-markupfield.git@70dc74 # My fork ...
ca772148b28108c705f2abcceef3d329fc607964
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/zlown/script/script.rb # encoding: UTF-8 # # Copyright (c) 2016 Tomas Korcak <korczis@gmail.com>. All rights reserved. # This source code is licensed under the MIT-style license found in the # LICENSE file in the root directory of this source tree. module Zlown class Script HTTPRY_PID_FI...
# This source code is licensed under the MIT-style license found in the # LICENSE file in the root directory of this source tree. module Zlown class Script HTTPRY_PID_FILE = '/root/.zlown/run/httpry.pid' def self.httpry_start(args = [], opts = {}) cmd = "httpry -d -P #{HTTPRY_PID_FILE} -i wlan1 -o /ro...
<|file_sep|>original/lib/zlown/script/script.rb # encoding: UTF-8 # # Copyright (c) 2016 Tomas Korcak <korczis@gmail.com>. All rights reserved. # This source code is licensed under the MIT-style license found in the # LICENSE file in the root directory of this source tree. module Zlown class Script HTTPRY_PID_FI...
81b6d4d40a30ea1945e3b1d1c851f34a2cad845d
lib/zlown/script/script.rb
lib/zlown/script/script.rb
Ruby
<|file_sep|>eligible.gemspec.diff original: gem.add_development_dependency('rake', '~> 10.5') updated: gem.add_development_dependency('rake', '~> 12.0') <|file_sep|>original/eligible.gemspec Gem::Specification.new do |gem| gem.name = 'eligible' gem.version = Eligible::VERSION gem.authors ...
Gem::Specification.new do |gem| gem.name = 'eligible' gem.version = Eligible::VERSION gem.authors = ['Katelyn Gleaon', 'Rodrigo Dominguez', 'Aaron Bedra'] gem.email = ['k@eligible.com', 'rod@eligible.com', 'abedra@eligible.com'] gem.description = 'Eligible is a developer-friend...
<|file_sep|>eligible.gemspec.diff original: gem.add_development_dependency('rake', '~> 10.5') updated: gem.add_development_dependency('rake', '~> 12.0') <|file_sep|>original/eligible.gemspec Gem::Specification.new do |gem| gem.name = 'eligible' gem.version = Eligible::VERSION gem.authors ...
b3badd167f1f6bcd9bc50c62742b729ebbe5e7c2
eligible.gemspec
eligible.gemspec
Ruby
<|file_sep|>original/tests/Handler/MethodNameInflector/ClassNameInflectorTest.php private $inflector; /** * @var object */ private $mockHandler; protected function setUp() { $this->inflector = new ClassNameInflector(); $this->handler = new ConcreteMethodsHandler(); } ...
private $inflector; /** * @var object */ private $mockHandler; protected function setUp() { $this->inflector = new ClassNameInflector(); $this->mockHandler = new ConcreteMethodsHandler(); } public function testHandlesClassesWithoutNamespace() { $comma...
<|file_sep|>original/tests/Handler/MethodNameInflector/ClassNameInflectorTest.php private $inflector; /** * @var object */ private $mockHandler; protected function setUp() { $this->inflector = new ClassNameInflector(); $this->handler = new ConcreteMethodsHandler(); } ...
4bfe1d424145548a7d48cc2fd9ae82ce651e6962
tests/Handler/MethodNameInflector/ClassNameInflectorTest.php
tests/Handler/MethodNameInflector/ClassNameInflectorTest.php
PHP
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode before_install: - sudo apt-get update - sudo apt-get --no-install-recommends install tracker gir1.2-tracker-0.10 libtracker-sparql-0.10-dev before_script: - "export DISPLAY=:99.0" - "sh -e /etc/i...
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode before_install: - sudo apt-get update - sudo apt-get --no-install-recommends install tracker gir1.2-tracker-0.14 libtracker-sparql-0.14-dev before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" script: "DISPLA...
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode before_install: - sudo apt-get update - sudo apt-get --no-install-recommends install tracker gir1.2-tracker-0.10 libtracker-sparql-0.10-dev before_script: - "export DISPLAY=:99.0" - "sh -e /etc/i...
ac4edcc2542df3c76fc2269802d60a2eb81ee531
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: python python: - '2.7' - '3.3' - 'pypy' env: global: - APIKEY=NkExMzEzRDYzQ0EyRTA5NEJCQTJDMUY1N0IwNDk4QkQ= script: python setup.py run_tests -k $(echo $APIKEY|base64 -d) notifications: email: on_success: never on_failure: always ...
language: python python: - '2.7' - '3.3' - 'pypy' env: global: - APIKEY=MTI2Njc1RDNENEJDOUU5QzVBMTBEQjJDMTdDQUNFOTI= script: python setup.py run_tests -k $(echo $APIKEY|base64 -d) notifications: email: on_success: never on_failure: always irc: channels: ...
<|file_sep|>original/.travis.yml language: python python: - '2.7' - '3.3' - 'pypy' env: global: - APIKEY=NkExMzEzRDYzQ0EyRTA5NEJCQTJDMUY1N0IwNDk4QkQ= script: python setup.py run_tests -k $(echo $APIKEY|base64 -d) notifications: email: on_success: never on_failure: always ...
01d0c207dfe97d749176a38db2091d8498f74105
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: docker run -it --rm nanoservice/protobuf --help updated: docker run -it --rm \ nanoservice/protobuf --help <|file_sep|>original/README.md Part of nanoservice docker image library. ## Usage # Just print protobuf help message docker run -it --rm nanoservice/pr...
Part of nanoservice docker image library. ## Usage # Just print protobuf help message docker run -it --rm \ nanoservice/protobuf --help # Use current folder for input and output docker run -it --rm -v .:/src:rw \ nanoservice/protobuf --cpp_out=. *.proto # If you ran into problems wi...
<|file_sep|>README.md.diff original: docker run -it --rm nanoservice/protobuf --help updated: docker run -it --rm \ nanoservice/protobuf --help <|file_sep|>original/README.md Part of nanoservice docker image library. ## Usage # Just print protobuf help message docker run -it --rm nanoservice/pr...
32e37206f4e2e91e6e7cbe2ecc846f89f0fbbd45
README.md
README.md
Markdown
<|file_sep|>original/requirements-dev.txt -e . base58==0.2.2 boto3==1.3.1 # via zappa botocore==1.4.27 # via boto3, zappa Django==1.9.6 docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.4 futures==3.0.5 # via zappa isort==4.2.5 jmespath==0...
-e . base58==0.2.2 boto3==1.3.1 # via zappa botocore==1.4.27 # via boto3, zappa Django==1.9.6 docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.5 futures==3.0.5 # via zappa isort==4.2.5 jmespath==0.9.0 # via boto3, botocore, zapp...
<|file_sep|>original/requirements-dev.txt -e . base58==0.2.2 boto3==1.3.1 # via zappa botocore==1.4.27 # via boto3, zappa Django==1.9.6 docutils==0.12 # via botocore, zappa filechunkio==1.6 # via zappa flake8==2.5.4 futures==3.0.5 # via zappa isort==4.2.5 jmespath==0...
79ccd72c469e028d0e29ef31401177d802529b39
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/karma.conf.js reporters: ['progress'], browsers: ['Chrome'], singleRun: true, plugins: [ require.resolve('./packages/karma-kocha'), 'karma-browserify', 'karma-chrome-launcher' ] } if (false && process.env.CI) { // Sauce Labs settings const customLaunchers = require('./kar...
reporters: ['progress'], browsers: ['Chrome'], singleRun: true, plugins: [ require.resolve('./packages/karma-kocha'), 'karma-browserify', 'karma-chrome-launcher' ] } if (process.env.CI) { // Sauce Labs settings const customLaunchers = require('./karma.custom-launchers.js') options.plugins.p...
<|file_sep|>original/karma.conf.js reporters: ['progress'], browsers: ['Chrome'], singleRun: true, plugins: [ require.resolve('./packages/karma-kocha'), 'karma-browserify', 'karma-chrome-launcher' ] } if (false && process.env.CI) { // Sauce Labs settings const customLaunchers = require('./kar...
bbce11a5b7cf71b35d1ab77d48eacd8ddc755b9e
karma.conf.js
karma.conf.js
JavaScript
<|file_sep|>original/examples/ex1/main.cpp #include <iostream> #include "../../rltk/rltk.hpp" #include <sstream> bool tick(double duration_ms) { auto res = rltk::get_screen_size_px(); std::stringstream ss; ss << "Frame duration: " << duration_ms << " ms. Resolution: " << res.first << "x" << res.second; rltk::cls_r...
#include <iostream> #include "../../rltk/rltk.hpp" #include <sstream> bool tick(double duration_ms) { auto res = rltk::get_screen_size_px(); std::stringstream ss; ss << "Frame duration: " << duration_ms << " ms (" << (1000.0/duration_ms) << " FPS). Resolution: " << res.first << "x" << res.second; rltk::cls_root();...
<|file_sep|>original/examples/ex1/main.cpp #include <iostream> #include "../../rltk/rltk.hpp" #include <sstream> bool tick(double duration_ms) { auto res = rltk::get_screen_size_px(); std::stringstream ss; ss << "Frame duration: " << duration_ms << " ms. Resolution: " << res.first << "x" << res.second; rltk::cls_r...
e351e9e0b25aea35cd8863e51e7cc24d6973158d
examples/ex1/main.cpp
examples/ex1/main.cpp
C++
<|file_sep|>original/config/default.rb Vagrant::Config.run do |config| # default config goes here config.vagrant.dotfile_name = ".vagrant" config.vagrant.host = :detect config.ssh.username = "vagrant" config.ssh.password = "vagrant" config.ssh.host = "127.0.0.1" config.ssh.guest_port = 22 config.ssh.ma...
Vagrant::Config.run do |config| # default config goes here config.vagrant.dotfile_name = ".vagrant" config.vagrant.host = :detect config.ssh.username = "vagrant" config.ssh.host = "127.0.0.1" config.ssh.guest_port = 22 config.ssh.max_tries = 100 config.ssh.timeout = 10 config.ssh.forward_agent = fals...
<|file_sep|>original/config/default.rb Vagrant::Config.run do |config| # default config goes here config.vagrant.dotfile_name = ".vagrant" config.vagrant.host = :detect config.ssh.username = "vagrant" config.ssh.password = "vagrant" config.ssh.host = "127.0.0.1" config.ssh.guest_port = 22 config.ssh.ma...
1bc853a2c164001fdfdb773f87b7fb263cedcf60
config/default.rb
config/default.rb
Ruby
<|file_sep|>original/README.md * tabstop=4 * shiftwidth=4 * expandtab Targeting Python 3.6 on RHEL 7/FreeBSD 11 based systems See requirements.txt for package versions. Currently checking test coverage with Coverage 4.4 ## Tests Django tests: ``` ./manage test ``` Code coverage: ``` coverage run --source='.' manag...
* tabstop=4 * shiftwidth=4 * expandtab Targeting Python 3.6 on RHEL 7/FreeBSD 11 based systems See requirements.txt for package versions. Currently checking test coverage with Coverage 4.4 ## Tests Django tests: ``` ./manage test ``` Code coverage: ``` coverage run --source='.' manage.py test blog coverage report ...
<|file_sep|>original/README.md * tabstop=4 * shiftwidth=4 * expandtab Targeting Python 3.6 on RHEL 7/FreeBSD 11 based systems See requirements.txt for package versions. Currently checking test coverage with Coverage 4.4 ## Tests Django tests: ``` ./manage test ``` Code coverage: ``` coverage run --source='.' manag...
5eaccf9523257694b4a523ec4a360e26d1e7174f
README.md
README.md
Markdown
<|file_sep|>original/phpunit.xml.dist highLowerBound="70"/> <log type="coverage-clover" target="/tmp/coverage.xml"/> <log type="coverage-php" target="/tmp/coverage.serialized"/> <log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/> <log type="json" tar...
highLowerBound="70"/> <log type="coverage-clover" target="/tmp/coverage.xml"/> <log type="coverage-php" target="/tmp/coverage.serialized"/> <log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/> <log type="json" target="/tmp/logfile.json"/> <log...
<|file_sep|>original/phpunit.xml.dist highLowerBound="70"/> <log type="coverage-clover" target="/tmp/coverage.xml"/> <log type="coverage-php" target="/tmp/coverage.serialized"/> <log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/> <log type="json" tar...
afdafe05be1a0aec6fea3194a28d55b8fea8493f
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/.github/SECURITY.md <|file_sep|>current/.github/SECURITY.md <|file_sep|>updated/.github/SECURITY.md
# Security Policy ## Supported versions The Zephyr project supports the following versions with security updates: - The most recent release, and the release prior to that. - Active LTS releases. At this time, with the latest release of v2.5.0, the supported versions are: - 1.14.x: Current LTS - v2.4.0: Pri...
<|file_sep|>original/.github/SECURITY.md <|file_sep|>current/.github/SECURITY.md <|file_sep|>updated/.github/SECURITY.md # Security Policy ## Supported versions The Zephyr project supports the following versions with security updates: - The most recent release, and the release prior to that. - Active LTS relea...
911ba334a06ac55e28856e49a694083974196f8c
.github/SECURITY.md
.github/SECURITY.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.5 cryptography==2.2.2 PyYAML==3.12 pytest==3.6.1 pytest-cov==2.5.1 coveralls==1.3.0 pytest-runner==4.2 numpy==1.14.4 pandas==0.22.0 <|file_sep|>current/requirements...
pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.5 cryptography==2.2.2 PyYAML==3.12 pytest==3.6.1 pytest-cov==2.5.1 coveralls==1.3.0 pytest-runner==4.2 numpy==1.14.4 pandas==0.23.1
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.5 cryptography==2.2.2 PyYAML==3.12 pytest==3.6.1 pytest-cov==2.5.1 coveralls==1.3.0 pytest-runner==4.2 numpy==1.14.4 pandas==0.22.0 <|file_sep|>current/requirements...
ad87b32e429c22c94aba47827ac0e45951253f60
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/Settings/Controls/Slider.h void Buddy(Control *buddy, bool bottomOrRight = true); int Position(); void Position(int position); /// <summary>Sets the range (min, max) for the slider control.</summary> /// <param name="lo">Lower bound for the slider.</param> /// <param name...
void Buddy(Control *buddy, bool bottomOrRight = true); int Position(); void Position(int position); /// <summary>Sets the range (min, max) for the slider control.</summary> /// <param name="lo">Lower bound for the slider.</param> /// <param name="hi">Upper bound for the slider.</param> vo...
<|file_sep|>original/Settings/Controls/Slider.h void Buddy(Control *buddy, bool bottomOrRight = true); int Position(); void Position(int position); /// <summary>Sets the range (min, max) for the slider control.</summary> /// <param name="lo">Lower bound for the slider.</param> /// <param name...
a5f0f5dc4ba0d3f1d257db7542e7dedc7627c462
Settings/Controls/Slider.h
Settings/Controls/Slider.h
C
<|file_sep|>original/validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcontext.swift <|file_sep|>current/validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcontext.swift <|file_sep|>updated/validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcont...
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LICENSE.txt for license information // See http://swift.org/CONTRIBUTORS.txt for the list...
<|file_sep|>original/validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcontext.swift <|file_sep|>current/validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcontext.swift <|file_sep|>updated/validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcont...
97f0b5c7c6c90224809db105dabc0a21c598bf8f
validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcontext.swift
validation-test/compiler_crashers/28360-swift-archetypebuilder-maptypeoutofcontext.swift
Swift
<|file_sep|>original/python35/requirements.txt # Required packages for synapse tornado==4.5.1 cryptography==2.0 pyOpenSSL==17.2.0 msgpack-python==0.4.8 xxhash==1.0.1 lmdb==0.92 # Delayed import psycopg2==2.7.1 # Code style checks pycodestyle==2.3.1 # Test related packages coverage==4.3.4 # pyup: ignore codecov==2.0.9 ...
# Required packages for synapse tornado==4.5.1 cryptography==2.0 pyOpenSSL==17.2.0 msgpack-python==0.4.8 xxhash==1.0.1 lmdb==0.93 # Delayed import psycopg2==2.7.1 # Code style checks pycodestyle==2.3.1 # Test related packages coverage==4.3.4 # pyup: ignore codecov==2.0.9 nose==1.3.7
<|file_sep|>original/python35/requirements.txt # Required packages for synapse tornado==4.5.1 cryptography==2.0 pyOpenSSL==17.2.0 msgpack-python==0.4.8 xxhash==1.0.1 lmdb==0.92 # Delayed import psycopg2==2.7.1 # Code style checks pycodestyle==2.3.1 # Test related packages coverage==4.3.4 # pyup: ignore codecov==2.0.9 ...
fff416d99b62692e5cc9e5b1e0f7f1478b1e2153
python35/requirements.txt
python35/requirements.txt
Text
<|file_sep|>original/README.rst Simple Pipeline Data Processing for Python ========================================== |Status| |Docs| Documentation here: http://python-pipeline.readthedocs.org/en/latest/ .. |Status| image:: https://travis-ci.org/renshawbay/pipeline.svg?branch=master :target: https://travis-ci.org...
Simple Pipeline Data Processing for Python ========================================== |Status| |Docs| Documentation here: http://python-pipeline.readthedocs.org/en/latest/ .. |Status| image:: https://travis-ci.org/renshawbay/genpipeline.svg?branch=master :target: https://travis-ci.org/renshawbay/genpipeline .. |...
<|file_sep|>original/README.rst Simple Pipeline Data Processing for Python ========================================== |Status| |Docs| Documentation here: http://python-pipeline.readthedocs.org/en/latest/ .. |Status| image:: https://travis-ci.org/renshawbay/pipeline.svg?branch=master :target: https://travis-ci.org...
ec60336fc87b38414b5b003075e095a64b71c507
README.rst
README.rst
reStructuredText
<|file_sep|>original/app/Product.php public function getUrl() { return $this->_url; } private function _parseData($data) { if (isset($data['product'])) { if (isset($data['product']['name'])) { $this->_name = $data['product']['name']; } ...
public function getUrl() { return $this->_url; } private function _parseData($data) { if (isset($data['product'])) { if (isset($data['product']['name'])) { $this->_name = $data['product']['name']; } if (isset($data['product']['for...
<|file_sep|>original/app/Product.php public function getUrl() { return $this->_url; } private function _parseData($data) { if (isset($data['product'])) { if (isset($data['product']['name'])) { $this->_name = $data['product']['name']; } ...
ac933dd241ff56a79c26a39e41e33db086114869
app/Product.php
app/Product.php
PHP
<|file_sep|>README.md.diff original: updated: [![Logo](spidercrab.gif?raw=true)] <|file_sep|>README.md.diff original: > Install details to follow once we have a Chocolatey package updated: ### Install with Chocolatey ```ps choco install spidercrab -y ``` <|file_sep|>README.md.diff original: You can specify: updated: ...
[![Build status](https://ci.appveyor.com/api/projects/status/3j8ihrkf1lq2k1eh?svg=true)](https://ci.appveyor.com/project/GingerTommy/spidercrab) # SpiderCrab Execute PowerShell scripts via an ASP.NET Web API endpoint [![Logo](spidercrab.gif?raw=true)] ## Setup The SpiderCrab agent install a Windows service. ### In...
<|file_sep|>README.md.diff original: updated: [![Logo](spidercrab.gif?raw=true)] <|file_sep|>README.md.diff original: > Install details to follow once we have a Chocolatey package updated: ### Install with Chocolatey ```ps choco install spidercrab -y ``` <|file_sep|>README.md.diff original: You can specify: updated: ...
f9a16064f29acfa63f6b93fdb00d852205ce7ac8
README.md
README.md
Markdown
<|file_sep|>composer.json.diff original: "url": "git@github.com:kusanagi/katana-sdk-php5.git", updated: "url": "git@github.com:kusanagi/katana-sdk-php7.git", <|file_sep|>original/composer.json "name": "Fernando Castillo", "email": "contact@fcastillo.es" } ], ...
"name": "Fernando Castillo", "email": "contact@fcastillo.es" } ], "repositories": [ { "type": "vcs", "url": "git@github.com:kusanagi/katana-sdk-php7.git", "no-api": true } ], "autoload": { "psr-4": {"Tsuka\\DB\\"...
<|file_sep|>composer.json.diff original: "url": "git@github.com:kusanagi/katana-sdk-php5.git", updated: "url": "git@github.com:kusanagi/katana-sdk-php7.git", <|file_sep|>original/composer.json "name": "Fernando Castillo", "email": "contact@fcastillo.es" } ], ...
f5d5fa202c52fba1aedd296daf5d9907ac71269a
composer.json
composer.json
JSON
<|file_sep|>original/.travis.yml sudo: required language: bash services: - docker install: - docker pull swipl:stable script: - docker run -it --name test --entrypoint=/bin/bash -v ${PWD}:/logtalk3 library/swipl -c "/logtalk3/scripts/install.sh && logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester &...
sudo: required language: bash services: - docker install: - docker pull swipl:stable script: - docker run -it --name test --entrypoint=/bin/bash -v ${PWD}:/logtalk3 library/swipl -c "/logtalk3/scripts/install.sh && logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester && cd ~/logtalk/tools && logtalk_t...
<|file_sep|>original/.travis.yml sudo: required language: bash services: - docker install: - docker pull swipl:stable script: - docker run -it --name test --entrypoint=/bin/bash -v ${PWD}:/logtalk3 library/swipl -c "/logtalk3/scripts/install.sh && logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester &...
aafb25777302c453249011d14bf562f60d489666
.travis.yml
.travis.yml
YAML
<|file_sep|>cluster_down.sh.diff original: updated: # Delete firewall rules gcloud compute firewall-rules delete --quiet ${CLUSTER_NAME}-jenkins-swarm-internal gcloud compute firewall-rules delete --quiet ${CLUSTER_NAME}-jenkins-web-public <|file_sep|>original/cluster_down.sh # You may obtain a copy of the License at...
# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing per...
<|file_sep|>cluster_down.sh.diff original: updated: # Delete firewall rules gcloud compute firewall-rules delete --quiet ${CLUSTER_NAME}-jenkins-swarm-internal gcloud compute firewall-rules delete --quiet ${CLUSTER_NAME}-jenkins-web-public <|file_sep|>original/cluster_down.sh # You may obtain a copy of the License at...
b477b3db5709594eecc0e4499c5e2a68f4128f1a
cluster_down.sh
cluster_down.sh
Shell
<|file_sep|>original/appveyor.yml platform: - x86 environment: CYG_ROOT: "C:\\cygwin" CYG_BASH: "%CYG_ROOT%\\bin\\bash -lc" TESTS: "false" PINS: "irmin-watcher.0.1.2 topkg.0.7.8" install: - appveyor DownloadFile https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/appveyor-opam.sh - "%CYG_ROO...
platform: - x86 environment: CYG_ROOT: "C:\\cygwin" CYG_BASH: "%CYG_ROOT%\\bin\\bash -lc" TESTS: "false" PINS: "irmin-watcher.0.1.3 topkg.0.7.8" install: - appveyor DownloadFile https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/appveyor-opam.sh - "%CYG_ROOT%\\setup-x86.exe -qnNdO -R %CYG_R...
<|file_sep|>original/appveyor.yml platform: - x86 environment: CYG_ROOT: "C:\\cygwin" CYG_BASH: "%CYG_ROOT%\\bin\\bash -lc" TESTS: "false" PINS: "irmin-watcher.0.1.2 topkg.0.7.8" install: - appveyor DownloadFile https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/appveyor-opam.sh - "%CYG_ROO...
75a412f8275037a82226f8cb3bd45ea4a0d147b0
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/app/Models/Transformable.php } /** * Jury-rig a connection to the transformer class. * * @return array */ protected function transformMapping() { $transformerClass = app('Resources')->getTransformerForModel(get_called_class()); $fields = (new $t...
/** * Jury-rig a connection to the transformer class. * * @return array */ protected function transformMapping() { $transformerClass = app('Resources')->getTransformerForModel(get_called_class()); // include `is_restricted` fields $fields = (new $transformerClas...
<|file_sep|>original/app/Models/Transformable.php } /** * Jury-rig a connection to the transformer class. * * @return array */ protected function transformMapping() { $transformerClass = app('Resources')->getTransformerForModel(get_called_class()); $fields = (new $t...
a43933a2a73497aff1b9b0c51942f6e3c7649d65
app/Models/Transformable.php
app/Models/Transformable.php
PHP
<|file_sep|>original/tests/test_fields.py import moarjson as json class User(object): def __init__(self, first_name, last_name): self.first_name = first_name self.last_name = last_name def full_name(self): return '{} {}'.format(self.first_name, self.last_name) json.register_with_fi...
import moarjson as json class User(object): def __init__(self, first_name, last_name): self.first_name = first_name self.last_name = last_name def full_name(self): return '{0} {1}'.format(self.first_name, self.last_name) json.register_with_fields(User, ('first_name', 'last_name', '...
<|file_sep|>original/tests/test_fields.py import moarjson as json class User(object): def __init__(self, first_name, last_name): self.first_name = first_name self.last_name = last_name def full_name(self): return '{} {}'.format(self.first_name, self.last_name) json.register_with_fi...
7a8c29ddabb31c16e908552fb0dd8558a4700b41
tests/test_fields.py
tests/test_fields.py
Python
<|file_sep|>original/app/helpers/categories_helper.rb module CategoriesHelper def active?(category) current_category current_page?(category_path(category)) || (category.is_homepage && current_page?(root_path)) || (defined?(@current_category) && @current_category&.id == category.id) end def expandab...
module CategoriesHelper def active?(category) current_category current_page?(category_path(category)) || (category.is_homepage && current_page?(root_path)) || (defined?(@current_category) && @current_category&.id == category.id) end def expandable? (defined?(@category) && !current_page?(new_cat...
<|file_sep|>original/app/helpers/categories_helper.rb module CategoriesHelper def active?(category) current_category current_page?(category_path(category)) || (category.is_homepage && current_page?(root_path)) || (defined?(@current_category) && @current_category&.id == category.id) end def expandab...
5d14a381ecf16b09afee966c8fe990dad8e1d528
app/helpers/categories_helper.rb
app/helpers/categories_helper.rb
Ruby
<|file_sep|>package.json.diff original: updated: "css-loader": "^0.23.1", <|file_sep|>original/package.json "start": "node index.js" }, "author": "Clément Bourgoin <cb@nokto.net>", "license": "MIT", "dependencies": { "body-parser": "^1.15.0", "express": "^4.13.4", "generate-key": "0.0.6", ...
"start": "node index.js" }, "author": "Clément Bourgoin <cb@nokto.net>", "license": "MIT", "dependencies": { "body-parser": "^1.15.0", "css-loader": "^0.23.1", "express": "^4.13.4", "generate-key": "0.0.6", "isbn-utils": "^1.0.0", "mongoose": "^4.4.4", "style-loader": "^0.13.1", ...
<|file_sep|>package.json.diff original: updated: "css-loader": "^0.23.1", <|file_sep|>original/package.json "start": "node index.js" }, "author": "Clément Bourgoin <cb@nokto.net>", "license": "MIT", "dependencies": { "body-parser": "^1.15.0", "express": "^4.13.4", "generate-key": "0.0.6", ...
9f47eba26a91a52d37b6ada0bd420c0957209eda
package.json
package.json
JSON
<|file_sep|>original/db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb <|file_sep|>current/db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb <|file_sep|>updated/db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb
class AddFilterableClassNameToAudits < ActiveRecord::DataMigration def up if SystemConfig.transam_module_loaded? :audit Audit.where(class_name: "AssetAuditor").each do |audit| audit.filterable_class_name = "FtaAssetCategory" audit.save end end end end
<|file_sep|>original/db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb <|file_sep|>current/db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb <|file_sep|>updated/db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb class AddFilterableClassNameToAudits <...
a35c17153b27f3e3741113c60c37e40c6a654e46
db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb
db/data_migrations/20190122153116_add_filterable_class_name_to_audits.rb
Ruby
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.7.8 pytest==5.1.1 pytest-cov==2.7.1 pytest-django==3.5.1 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.7.8 pytest==5.1.1 pytest-cov==2.7.1 pytest-django==3.5.1 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt flake8==3.7.8 pytest==5.1.2 pytest-cov==2.7.1 pytest-django==3.5.1
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.7.8 pytest==5.1.1 pytest-cov==2.7.1 pytest-django==3.5.1 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.7.8 pytest==5.1.1 pytest-cov==2.7.1 pytest-django==3.5.1 <|file_sep|>updated/requirements-dev.txt -r requirements.txt fl...
6268cf9eae5168f3daeb03fe32b791e40520da83
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>src/lime/tools/Library.hx.diff original: public var generate:Bool; updated: public var generate:Null<Bool>; <|file_sep|>src/lime/tools/Library.hx.diff original: public var preload:Bool; updated: public var preload:Null<Bool>; <|file_sep|>original/src/lime/tools/Library.hx class Library { public var emb...
class Library { public var embed:Null<Bool>; public var generate:Null<Bool>; public var name:String; public var prefix:String; public var preload:Null<Bool>; public var sourcePath:String; public var type:String; public function new(sourcePath:String, name:String = "", type:String = null, embed:Null<Bool> = nul...
<|file_sep|>src/lime/tools/Library.hx.diff original: public var generate:Bool; updated: public var generate:Null<Bool>; <|file_sep|>src/lime/tools/Library.hx.diff original: public var preload:Bool; updated: public var preload:Null<Bool>; <|file_sep|>original/src/lime/tools/Library.hx class Library { public var emb...
2750cf501118497151cb30071f5a1bcf039031b4
src/lime/tools/Library.hx
src/lime/tools/Library.hx
Haxe
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "6" - "7" - "8" - "9" - "10" <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "6" - "7" - "8" - "9" - "10" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "6" - "7" - "8" - "9" - "10"
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "6" - "7" - "8" - "9" - "10" <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "6" - "7" - "8" - "9" - "10" <|file_sep|>updated/.travis.yml language: node_js node_js: - "6" - "7" - "8" - "9" - "10"
f5c77cf94b63a40930e4433a1a8c0ec87992ffad
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/react-reload/skaffold.yaml apiVersion: skaffold/v1beta13 kind: Config build: artifacts: - image: gcr.io/k8s-skaffold/react-reload context: app sync: manual: - src: 'src/components/*' dest: . - src: 'src/styles/*' dest: . <|file_sep|>current/exa...
apiVersion: skaffold/v1beta13 kind: Config build: artifacts: - image: gcr.io/k8s-skaffold/react-reload context: app sync: infer: - 'src/components/*' - 'src/styles/*'
<|file_sep|>original/examples/react-reload/skaffold.yaml apiVersion: skaffold/v1beta13 kind: Config build: artifacts: - image: gcr.io/k8s-skaffold/react-reload context: app sync: manual: - src: 'src/components/*' dest: . - src: 'src/styles/*' dest: . <|file_sep|>current/exa...
3dc88f6ced6dafe68e9c38210861c1bd7cd574bf
examples/react-reload/skaffold.yaml
examples/react-reload/skaffold.yaml
YAML
<|file_sep|>lib/lewtgms.character.structure.js.diff original: updated: }, "id": { "callback": 0 <|file_sep|>original/lib/lewtgms.character.structure.js "current": { "save": true, "default": 0 } ...
} ], "save": true }, "items": { "array": [ { "item": { "save": true, "default": "rock" } } ], "save": true ...
<|file_sep|>lib/lewtgms.character.structure.js.diff original: updated: }, "id": { "callback": 0 <|file_sep|>original/lib/lewtgms.character.structure.js "current": { "save": true, "default": 0 } ...
203251902988ed7fb65b6f447f6b074796d1989f
lib/lewtgms.character.structure.js
lib/lewtgms.character.structure.js
JavaScript
<|file_sep|>doc/installation_linux.rst.diff original: Python 3.x ---------- updated: <|file_sep|>doc/installation_linux.rst.diff original: sudo apt-get install libavbin-dev libavbin0 python3-dev python3-pip libjpeg-dev zlib1g-dev sudo pip3 install arcade updated: apt update && sudo apt install -y python3-dev py...
Installation on Linux ===================== .. code-block:: bash apt update && sudo apt install -y python3-dev python3-pip git libavbin-dev libavbin0 libjpeg-dev zlib1g-dev sudo pip3 install virtualenv virtualenvwrapper virtualenv ~/.virtualenvs/arcade -p python3 source ~/.virtualenvs/arcade/bin/activ...
<|file_sep|>doc/installation_linux.rst.diff original: Python 3.x ---------- updated: <|file_sep|>doc/installation_linux.rst.diff original: sudo apt-get install libavbin-dev libavbin0 python3-dev python3-pip libjpeg-dev zlib1g-dev sudo pip3 install arcade updated: apt update && sudo apt install -y python3-dev py...
53378ca5028460d32d314a259e9098918782e25e
doc/installation_linux.rst
doc/installation_linux.rst
reStructuredText
<|file_sep|>app/controllers/tesseract_pages_controller.rb.diff original: #File.open("ocr/sample.jpg",'wb') do |f| # f.write jpg #end updated: File.open("tmp/sample.jpg",'wb') do |f| f.write jpg end <|file_sep|>original/app/controllers/tesseract_pages_controller.rb class TesseractPagesController < A...
class TesseractPagesController < ApplicationController skip_before_filter :verify_authenticity_token def run puts "In Run Controller" puts params[:image] jpg = Base64.decode64(params[:image]) File.open("tmp/sample.jpg",'wb') do |f| f.write jpg end #str = %x(./ocr/bin/tesseract ocr/sample.jpg...
<|file_sep|>app/controllers/tesseract_pages_controller.rb.diff original: #File.open("ocr/sample.jpg",'wb') do |f| # f.write jpg #end updated: File.open("tmp/sample.jpg",'wb') do |f| f.write jpg end <|file_sep|>original/app/controllers/tesseract_pages_controller.rb class TesseractPagesController < A...
7741088fb722debfe9bdfc78d6251829f31d01a6
app/controllers/tesseract_pages_controller.rb
app/controllers/tesseract_pages_controller.rb
Ruby
<|file_sep|>original/package.json { "name": "PancakeCreator", "version": "0.9.5", "description": "A simple drawing application and GCODE generator for the PancakeBot", "main": "src/main.js", "author": "techninja", "stage": "development", "license": "Apache-2.0", "dependencies": { "datauri": "^0.7.1"...
{ "name": "PancakeCreator", "version": "0.9.6", "description": "A simple drawing application and GCODE generator for the PancakeBot", "main": "src/main.js", "author": "techninja", "stage": "development", "license": "Apache-2.0", "dependencies": { "datauri": "^0.7.1", "fs-plus": "^2.8.1", "gr...
<|file_sep|>original/package.json { "name": "PancakeCreator", "version": "0.9.5", "description": "A simple drawing application and GCODE generator for the PancakeBot", "main": "src/main.js", "author": "techninja", "stage": "development", "license": "Apache-2.0", "dependencies": { "datauri": "^0.7.1"...
c8fefc1dda912b56ff558b16fec64477d00fa442
package.json
package.json
JSON
<|file_sep|>original/orbited.cfg [listen] http://:9000 # This enables Orbited's built-in MorbidQ message queue. # Comment this out if to use your own, eg: RabbitMQ stomp://:61613 [access] * -> localhost:61613 * -> localhost:9999 * -> irc.freenode.net:6667 [global] session.ping_interval = 300 <|file_sep|>current/orbi...
[listen] http://:9000 # This enables Orbited's built-in MorbidQ message queue. # Comment this out if to use your own, eg: RabbitMQ #stomp://:61613 [access] * -> localhost:61613 * -> localhost:9999 * -> irc.freenode.net:6667 [global] session.ping_interval = 300
<|file_sep|>original/orbited.cfg [listen] http://:9000 # This enables Orbited's built-in MorbidQ message queue. # Comment this out if to use your own, eg: RabbitMQ stomp://:61613 [access] * -> localhost:61613 * -> localhost:9999 * -> irc.freenode.net:6667 [global] session.ping_interval = 300 <|file_sep|>current/orbi...
af5c87574f27c4d0bb579c8c76f36bcb23be30d6
orbited.cfg
orbited.cfg
INI
<|file_sep|>original/configuration/development.py "verbose": { "format": '%(asctime)s %(levelname)s: %(message)s ' '[in %(pathname)s:%(lineno)d]' }, }, "handlers": { "file": { "level": "DEBUG", "formatter": "verbose", ...
"verbose": { "format": '%(asctime)s %(levelname)s: %(message)s ' '[in %(pathname)s:%(lineno)d]' }, }, "handlers": { "file": { "level": "DEBUG", "formatter": "verbose", "class": "iis.log.LockingFileHandler", ...
<|file_sep|>original/configuration/development.py "verbose": { "format": '%(asctime)s %(levelname)s: %(message)s ' '[in %(pathname)s:%(lineno)d]' }, }, "handlers": { "file": { "level": "DEBUG", "formatter": "verbose", ...
9dd71fe94b57d56a422e784c10c463c22add90c3
configuration/development.py
configuration/development.py
Python
<|file_sep|>scipy/integrate/_ivp/tests/test_rk.py.diff original: from numpy.testing import assert_allclose updated: from numpy.testing import assert_allclose, assert_ <|file_sep|>original/scipy/integrate/_ivp/tests/test_rk.py import pytest from numpy.testing import assert_allclose import numpy as np from scipy.integrat...
@pytest.mark.parametrize("solver", [RK23, RK45, DOP853]) def test_coefficient_properties(solver): assert_allclose(np.sum(solver.B), 1, rtol=1e-15) assert_allclose(np.sum(solver.A, axis=1), solver.C, rtol=1e-14) def test_coefficient_properties_dop853(): assert_allclose(np.sum(dop853_coefficients.B), 1, rto...
<|file_sep|>scipy/integrate/_ivp/tests/test_rk.py.diff original: from numpy.testing import assert_allclose updated: from numpy.testing import assert_allclose, assert_ <|file_sep|>original/scipy/integrate/_ivp/tests/test_rk.py import pytest from numpy.testing import assert_allclose import numpy as np from scipy.integrat...
b86d23b0302bb4d0efa2aa203883a78d3dcbf26e
scipy/integrate/_ivp/tests/test_rk.py
scipy/integrate/_ivp/tests/test_rk.py
Python
<|file_sep|>original/README.md } } } ``` Usage ===== Inside some example: ```php expect(file_exists('crazyfile.xtn'))->toBe(true); ``` Roadmap ======= Version `2.x` supports PhpSpec 3 and PHP 5.6. Version `3.x` requires PhpSpec 4, and therefore requires PHP 7. Both versions are under active ...
Usage ===== Inside some example: ```php expect(file_exists('crazyfile.xtn'))->toBe(true); ``` Roadmap ======= Version `2.x` supports PhpSpec 3 and PHP 5.6. Version `3.0.x` requires PhpSpec 4, and therefore requires PHP 7. Version `3.1.x` requires PhpSpec 5 and PHP 7. These versions are all under active ...
<|file_sep|>original/README.md } } } ``` Usage ===== Inside some example: ```php expect(file_exists('crazyfile.xtn'))->toBe(true); ``` Roadmap ======= Version `2.x` supports PhpSpec 3 and PHP 5.6. Version `3.x` requires PhpSpec 4, and therefore requires PHP 7. Both versions are under active ...
15cc0209bf390aa7ff1df3c8ec3d2f3eb66ed0b9
README.md
README.md
Markdown
<|file_sep|>lib/iridium/casperjs/lib/iridium/qunit_adapter.coffee.diff original: currentTest = {} startTime = null updated: @currentTest = {} @startTime = null <|file_sep|>lib/iridium/casperjs/lib/iridium/qunit_adapter.coffee.diff original: QUnit.testStart (context) -> currentTest = {} currentTest.name = context.na...
else if context.expected @currentTest.failed = true @currentTest.message = "Expected: #{context.expected}, Actual: #{context.actual}" stackTrace = context.source # format the backtrace accordingly for line in stackTrace.split("\n") matches = line.match(/(file:\/\/|https?:\/\/|\/.+:\d+)/) if m...
<|file_sep|>lib/iridium/casperjs/lib/iridium/qunit_adapter.coffee.diff original: currentTest = {} startTime = null updated: @currentTest = {} @startTime = null <|file_sep|>lib/iridium/casperjs/lib/iridium/qunit_adapter.coffee.diff original: QUnit.testStart (context) -> currentTest = {} currentTest.name = context.na...
4a90c6e038ddf8fbbb44cfb7382e89b487193914
lib/iridium/casperjs/lib/iridium/qunit_adapter.coffee
lib/iridium/casperjs/lib/iridium/qunit_adapter.coffee
CoffeeScript
<|file_sep|>src/tests/marquise_init_test.c.diff original: updated: #include <sys/stat.h> <|file_sep|>original/src/tests/marquise_init_test.c #include <glib.h> #include <stdlib.h> #include <string.h> #include "../marquise.h" void test_init() { marquise_ctx *ctx = marquise_init("test"); g_assert_nonnull(ctx); } int...
#include <glib.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include "../marquise.h" void test_init() { setenv("MARQUISE_SPOOL_DIR", "/tmp", 1); mkdir("/tmp/marquisetest", 0700); marquise_ctx *ctx = marquise_init("marquisetest"); g_assert_nonnull(ctx); } int main(int argc, char **argv) { g_t...
<|file_sep|>src/tests/marquise_init_test.c.diff original: updated: #include <sys/stat.h> <|file_sep|>original/src/tests/marquise_init_test.c #include <glib.h> #include <stdlib.h> #include <string.h> #include "../marquise.h" void test_init() { marquise_ctx *ctx = marquise_init("test"); g_assert_nonnull(ctx); } int...
6f805776fca1835477b730ced60fe72d9905f874
src/tests/marquise_init_test.c
src/tests/marquise_init_test.c
C
<|file_sep|>packages/di/dice.yaml.diff original: hash: f35c355e84171d21a4929fd290c7e40f7da1826ebc3508cc87c0c634ac2d1698 updated: hash: 4d844962a12997df1f87bb51eee802b0244f86ed784ff0da8acd941521da3968 <|file_sep|>packages/di/dice.yaml.diff original: maintainer: Bertram Felgenhauer <int-e@gmx.de> updated: maintainer: Naï...
synopsis: Simplistic D&D style dice-rolling system. changelog: "0.1.0.1\n\tUpdate for ghc-8.8 (change Monad superclasses to MonadFail)\n\n" basic-deps: base: '>=3 && <5' parsec: -any mtl: -any random-fu: '>=0.3' random: '>=1.2' all-versions: - '0.1' - 0.1.0.1 - 0.1.1 author: James Cook <mokus@deepbondi.net> l...
<|file_sep|>packages/di/dice.yaml.diff original: hash: f35c355e84171d21a4929fd290c7e40f7da1826ebc3508cc87c0c634ac2d1698 updated: hash: 4d844962a12997df1f87bb51eee802b0244f86ed784ff0da8acd941521da3968 <|file_sep|>packages/di/dice.yaml.diff original: maintainer: Bertram Felgenhauer <int-e@gmx.de> updated: maintainer: Naï...
09ef582f3c689189ce541930fce335a94158ce22
packages/di/dice.yaml
packages/di/dice.yaml
YAML
<|file_sep|>original/delete_files_containing_text.sh <|file_sep|>current/delete_files_containing_text.sh <|file_sep|>updated/delete_files_containing_text.sh
#!/bin/bash string=$1 self="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" find . ! -name $self -exec grep -q $string '{}' \; -delete
<|file_sep|>original/delete_files_containing_text.sh <|file_sep|>current/delete_files_containing_text.sh <|file_sep|>updated/delete_files_containing_text.sh #!/bin/bash string=$1 self="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" find . ! -name $self -exec grep -q $string '{}' \; -delete
da5eb20bb32c0071f819ee1c00cdc870041174f2
delete_files_containing_text.sh
delete_files_containing_text.sh
Shell
<|file_sep|>original/appjar/src/main/java/com/google/gerrit/server/ssh/Upload.java import org.spearce.jgit.transport.UploadPack; import java.io.IOException; /** Publishes Git repositories over SSH using the Git upload-pack protocol. */ class Upload extends AbstractGitCommand { @Override protected void runImpl() t...
import org.spearce.jgit.transport.UploadPack; import java.io.IOException; /** Publishes Git repositories over SSH using the Git upload-pack protocol. */ class Upload extends AbstractGitCommand { @Override protected void runImpl() throws IOException { closeDb(); // TODO Verify the user can access this pro...
<|file_sep|>original/appjar/src/main/java/com/google/gerrit/server/ssh/Upload.java import org.spearce.jgit.transport.UploadPack; import java.io.IOException; /** Publishes Git repositories over SSH using the Git upload-pack protocol. */ class Upload extends AbstractGitCommand { @Override protected void runImpl() t...
072ce0d928f99db04340f81bc73b7bdfc909d606
appjar/src/main/java/com/google/gerrit/server/ssh/Upload.java
appjar/src/main/java/com/google/gerrit/server/ssh/Upload.java
Java
<|file_sep|>scripts/integrate.sh.diff original: DOCKER_IMAGE="jcassee/registronavale.com:$DOCKER_TAG" updated: DOCKER_IMAGE="jcassee/registronavale:$DOCKER_TAG" <|file_sep|>scripts/integrate.sh.diff original: echo "########## Building $DOCKER_IMAGE ##########" updated: <|file_sep|>original/scripts/integrate.sh DOCKE...
fi DOCKER_IMAGE="jcassee/registronavale:$DOCKER_TAG" export DOCKER_TAG DOCKER_IMAGE i=0 section() { [ -z "$TRAVIS" ] || echo -en "travis_fold:start:$1\\r" i=$((i+1)) echo "---------- Step $i: $1 ----------" scripts/integrate/"$1".sh [ -z "$TRAVIS" ] || echo -en "travis_fold:end:$1\\r" } echo "########## De...
<|file_sep|>scripts/integrate.sh.diff original: DOCKER_IMAGE="jcassee/registronavale.com:$DOCKER_TAG" updated: DOCKER_IMAGE="jcassee/registronavale:$DOCKER_TAG" <|file_sep|>scripts/integrate.sh.diff original: echo "########## Building $DOCKER_IMAGE ##########" updated: <|file_sep|>original/scripts/integrate.sh DOCKE...
dc666862a188e27c94583e7a8369ff38a5bd4266
scripts/integrate.sh
scripts/integrate.sh
Shell
<|file_sep|>original/spec/features/sms_notifications_spec.rb require "rails_helper" RSpec.feature 'SMS notifications', :type => :feature do let(:password) { 'asdfasdf' } let(:admin) { create :admin, :password => password } let!(:tournament) { create :tournament } let!(:round_one) { create :round, tournament: t...
require "rails_helper" RSpec.feature 'SMS notifications', :type => :feature do let(:password) { 'asdfasdf' } let(:admin) { create :admin, :password => password } let!(:tournament) { create :tournament, name: "US Open"} let!(:round_one) { create :round, tournament: tournament } let!(:attendee_one) { create :g...
<|file_sep|>original/spec/features/sms_notifications_spec.rb require "rails_helper" RSpec.feature 'SMS notifications', :type => :feature do let(:password) { 'asdfasdf' } let(:admin) { create :admin, :password => password } let!(:tournament) { create :tournament } let!(:round_one) { create :round, tournament: t...
a11a3132aa28c8bf3b22c7ca9ff8efea09250ff9
spec/features/sms_notifications_spec.rb
spec/features/sms_notifications_spec.rb
Ruby
<|file_sep|>original/query-specifications/bi-read-11.yaml operation: read number: 11 title: Friend triangles description: | For a given `country`, count all the distinct triples of *Persons* such that: * `a` is friend of `b`, * `b` is friend of `c`, * `c` is friend of `a`, and these friendships were created...
operation: read number: 11 title: Friend triangles description: | For a given `country`, count all the distinct triples of *Persons* such that: * `a` is friend of `b`, * `b` is friend of `c`, * `c` is friend of `a`, and these friendships were created in the range [`startDate`, `endDate`]. Distinct means ...
<|file_sep|>original/query-specifications/bi-read-11.yaml operation: read number: 11 title: Friend triangles description: | For a given `country`, count all the distinct triples of *Persons* such that: * `a` is friend of `b`, * `b` is friend of `c`, * `c` is friend of `a`, and these friendships were created...
027a6e0b19801db98127dea0b15b519588333e4c
query-specifications/bi-read-11.yaml
query-specifications/bi-read-11.yaml
YAML
<|file_sep|>original/test/test_suite.sh #!/usr/bin/env bash echo "##################### Launching TEST $TEST_SUITE" # Travis: only need to run the installation once, it it not link to a specific python version. They don't need to use CPU for nothing ;) if [ "$TEST_SUITE" == "PYTHON" ]; then echo "Installing opsb...
#!/usr/bin/env bash echo "##################### Launching TEST $TEST_SUITE" # Travis: only need to run the installation once, it it not link to a specific python version. They don't need to use CPU for nothing ;) if [ "$TEST_SUITE" == "PYTHON" ]; then echo "Installing opsbro for TESTING (so have libs)" cd .. ...
<|file_sep|>original/test/test_suite.sh #!/usr/bin/env bash echo "##################### Launching TEST $TEST_SUITE" # Travis: only need to run the installation once, it it not link to a specific python version. They don't need to use CPU for nothing ;) if [ "$TEST_SUITE" == "PYTHON" ]; then echo "Installing opsb...
4ac3f814778686c19851c8e6d31a118782ba9a88
test/test_suite.sh
test/test_suite.sh
Shell
<|file_sep|>original/scripts/test_notebooks.sh #!/bin/bash ./venv/bin/pytest --nbval \ notebooks/Example.ipynb \ notebooks/Diagnose-TCR-ECS.ipynb \ --sanitize notebooks/tests_sanitize.cfg <|file_sep|>current/scripts/test_notebooks.sh #!/bin/bash ./venv/bin/pytest --nbval \ notebooks/Example.ipynb \ notebooks/Di...
#!/bin/bash PYTEST=./venv/bin/pytest if [ "$TRAVIS" = true ]; then PYTEST=pytest fi $PYTEST --nbval \ notebooks/Example.ipynb \ notebooks/Diagnose-TCR-ECS.ipynb \ --sanitize notebooks/tests_sanitize.cfg
<|file_sep|>original/scripts/test_notebooks.sh #!/bin/bash ./venv/bin/pytest --nbval \ notebooks/Example.ipynb \ notebooks/Diagnose-TCR-ECS.ipynb \ --sanitize notebooks/tests_sanitize.cfg <|file_sep|>current/scripts/test_notebooks.sh #!/bin/bash ./venv/bin/pytest --nbval \ notebooks/Example.ipynb \ notebooks/Di...
54843804c2e5d4f076a6d2043632d94096c4373c
scripts/test_notebooks.sh
scripts/test_notebooks.sh
Shell
<|file_sep|>original/funsize/utils/fetch.py if not verify(mar, checksum, cipher): logging.warning('Verification of %s with checksum %s failed', url, checksum) raise DownloadError('Checksums do not match') else: logging.info('Verified download of %s', url) if ...
if not verify(mar, checksum, cipher): logging.warning('Verification of %s with checksum %s failed', url, checksum) raise DownloadError('Checksums do not match') else: logging.info('Verified download of %s', url) if output_file: try: loggi...
<|file_sep|>original/funsize/utils/fetch.py if not verify(mar, checksum, cipher): logging.warning('Verification of %s with checksum %s failed', url, checksum) raise DownloadError('Checksums do not match') else: logging.info('Verified download of %s', url) if ...
4bf959b75c195c86418ff65c9147c3345712a188
funsize/utils/fetch.py
funsize/utils/fetch.py
Python
<|file_sep|>original/ajax-endpoints/tag-cloud.php <|file_sep|>current/ajax-endpoints/tag-cloud.php <|file_sep|>updated/ajax-endpoints/tag-cloud.php
<?php require_once '../includes/master.inc.php'; $db = Database::getDatabase(); $result = $db->getRows("select tags from search where 1=1"); $tags = array(); foreach($result as $row){ $tmp = explode(';', $row['tags']); foreach($tmp as $tg){ if(isset($tags[$tg])) $tags[$tg]++; else...
<|file_sep|>original/ajax-endpoints/tag-cloud.php <|file_sep|>current/ajax-endpoints/tag-cloud.php <|file_sep|>updated/ajax-endpoints/tag-cloud.php <?php require_once '../includes/master.inc.php'; $db = Database::getDatabase(); $result = $db->getRows("select tags from search where 1=1"); $tags = array(); foreach($...
bb8ee7e0ad4545e7e91d7384ddc4733713980af9
ajax-endpoints/tag-cloud.php
ajax-endpoints/tag-cloud.php
PHP
<|file_sep|>original/.github/FUNDING.yml # These are supported funding model platforms github: bbatsov patreon: bbatsov open_collective: rubocop tidelift: "rubygems/rubocop" custom: https://www.paypal.me/bbatsov <|file_sep|>current/.github/FUNDING.yml # These are supported funding model platforms github: bbatsov patr...
# These are supported funding model platforms github: [bbatsov, koic] patreon: bbatsov open_collective: rubocop tidelift: "rubygems/rubocop" custom: https://www.paypal.me/bbatsov
<|file_sep|>original/.github/FUNDING.yml # These are supported funding model platforms github: bbatsov patreon: bbatsov open_collective: rubocop tidelift: "rubygems/rubocop" custom: https://www.paypal.me/bbatsov <|file_sep|>current/.github/FUNDING.yml # These are supported funding model platforms github: bbatsov patr...
3b7fac3ffb9a673078cf5e2176de6d9c209721e2
.github/FUNDING.yml
.github/FUNDING.yml
YAML
<|file_sep|>original/lib/qless/lua.rb module Qless class Lua LUA_SCRIPT_DIR = File.expand_path("../qless-core/", __FILE__) # the #evalsha method signature changed between v2.x and v3.x of the redis ruby gem # to maintain backwards compatibility with v2.x of that gem we need this constant USE_LEGACY_E...
module Qless class Lua LUA_SCRIPT_DIR = File.expand_path("../qless-core/", __FILE__) # the #evalsha method signature changed between v2.x and v3.x of the redis ruby gem # to maintain backwards compatibility with v2.x of that gem we need this constant USE_LEGACY_EVALSHA = ::Redis::VERSION.to_f < 3.0 ...
<|file_sep|>original/lib/qless/lua.rb module Qless class Lua LUA_SCRIPT_DIR = File.expand_path("../qless-core/", __FILE__) # the #evalsha method signature changed between v2.x and v3.x of the redis ruby gem # to maintain backwards compatibility with v2.x of that gem we need this constant USE_LEGACY_E...
81e88f9563d160dda75d5bd5fca162adbf1e5c0e
lib/qless/lua.rb
lib/qless/lua.rb
Ruby
<|file_sep|>LICENCE.txt.diff original: MiDax is Copyright (C) 2015 Betser Information Technologies Ltd updated: MiDax is a C# library which calculates real-time algorithmic trading signals Copyright (C) 2016 Jonathan Betser <|file_sep|>LICENCE.txt.diff original: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND C...
MiDax is a C# library which calculates real-time algorithmic trading signals Copyright (C) 2016 Jonathan Betser 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 version 3 of the License...
<|file_sep|>LICENCE.txt.diff original: MiDax is Copyright (C) 2015 Betser Information Technologies Ltd updated: MiDax is a C# library which calculates real-time algorithmic trading signals Copyright (C) 2016 Jonathan Betser <|file_sep|>LICENCE.txt.diff original: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND C...
43c66fc83e5fbc3a645de327323c7a8b22203618
LICENCE.txt
LICENCE.txt
Text
<|file_sep|>gears/flywheel/ismrm-rd-demo.json.diff original: "label": "ISMRM-RD (DEMO)", updated: "label": "ISMRMRD: Siemens MR Raw to ISMRMRD Converter (DEMO)", <|file_sep|>original/gears/flywheel/ismrm-rd-demo.json }, "description": "Convert Siemens MR Raw to ISMRMRD format", "inputs": { ...
}, "description": "Convert Siemens MR Raw to ISMRMRD format", "inputs": { "input": { "base": "file", "description": "Siemens MR Raw", "type": { "enum": [ "Siemens MR Raw" ] } } }, ...
<|file_sep|>gears/flywheel/ismrm-rd-demo.json.diff original: "label": "ISMRM-RD (DEMO)", updated: "label": "ISMRMRD: Siemens MR Raw to ISMRMRD Converter (DEMO)", <|file_sep|>original/gears/flywheel/ismrm-rd-demo.json }, "description": "Convert Siemens MR Raw to ISMRMRD format", "inputs": { ...
29057b01426c54a99a01dbf94468aa5044f6452d
gears/flywheel/ismrm-rd-demo.json
gears/flywheel/ismrm-rd-demo.json
JSON
<|file_sep|>original/phpunit.xml.dist <phpunit bootstrap="./bootstrap.php.dist" colors="true"> <testsuites> <testsuite> <directory suffix="Test.php">./tests/phpunit/</directory> </testsuite> </testsuites> </phpunit> <|file_sep|>current/phpunit.xml.dist <phpunit bootstrap="./bootstrap.php.dist" colors="...
<phpunit bootstrap="./bootstrap.php.dist" colors="true"> <testsuites> <testsuite> <directory suffix="Test.php">./tests/phpunit/</directory> </testsuite> </testsuites> <filter> <whitelist> <file>./wp-async-task.php</file> </whitelist> </filter> </phpunit>
<|file_sep|>original/phpunit.xml.dist <phpunit bootstrap="./bootstrap.php.dist" colors="true"> <testsuites> <testsuite> <directory suffix="Test.php">./tests/phpunit/</directory> </testsuite> </testsuites> </phpunit> <|file_sep|>current/phpunit.xml.dist <phpunit bootstrap="./bootstrap.php.dist" colors="...
758b773fe64ded04c80a658240902ed71704383c
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/README.md # toyboard 一款使用8x8LED矩阵的Arduino Esplora兼容开发板 <|file_sep|>current/README.md # toyboard 一款使用8x8LED矩阵的Arduino Esplora兼容开发板 <|file_sep|>updated/README.md
# toyboard 一款使用8x8LED矩阵的Arduino Esplora兼容开发板 ![](https://github.com/uname/toyboard/blob/master/snapshot.jpg)
<|file_sep|>original/README.md # toyboard 一款使用8x8LED矩阵的Arduino Esplora兼容开发板 <|file_sep|>current/README.md # toyboard 一款使用8x8LED矩阵的Arduino Esplora兼容开发板 <|file_sep|>updated/README.md # toyboard 一款使用8x8LED矩阵的Arduino Esplora兼容开发板 ![](https://github.com/uname/toyboard/blob/master/snapshot.jpg)
adff909a846fdde385b2427360dd012d3a01d818
README.md
README.md
Markdown
<|file_sep|>original/src/Cash-Flow-Projection/Models/Balance.cs return entries .Where(entry => entry.Account == account) .Where(entry => entry.IsBalance) .OrderByDescending(entry => entry.Date) .FirstOrDefault(); } ...
return entries .Where(entry => entry.Account == account) .Where(entry => entry.IsBalance) .OrderByDescending(entry => entry.Date) .FirstOrDefault(); } public static Decimal GetBalanceOn(this IEnumerable<Entry> e...
<|file_sep|>original/src/Cash-Flow-Projection/Models/Balance.cs return entries .Where(entry => entry.Account == account) .Where(entry => entry.IsBalance) .OrderByDescending(entry => entry.Date) .FirstOrDefault(); } ...
10080a492aaafb5a3636fc8235eb6fc21a626e2b
src/Cash-Flow-Projection/Models/Balance.cs
src/Cash-Flow-Projection/Models/Balance.cs
C#
<|file_sep|>original/app/views/projects/index.html.erb <%= navigation true %> <ul class="navigation"> <li><%= link_to "Witchifier", witchifier_path %></li> <li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li> <li><a target="_blank" href="http://linkedin365.morgan.io">A Year At LinkedIn</a><...
<%= navigation true %> <ul class="navigation"> <li><%= link_to "Witchifier", witchifier_path %></li> <li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li> <li><a target="_blank" href="http://ayearatlinkedin.morgan.io">A Year At LinkedIn</a></li> </ul>
<|file_sep|>original/app/views/projects/index.html.erb <%= navigation true %> <ul class="navigation"> <li><%= link_to "Witchifier", witchifier_path %></li> <li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li> <li><a target="_blank" href="http://linkedin365.morgan.io">A Year At LinkedIn</a><...
ff111f800c201f401b111990cd1cc3fbb6828f84
app/views/projects/index.html.erb
app/views/projects/index.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml branches: except: - /^[^/]+/.+$/ - book - /^book/.+$/ python: - "2.7" - "pypy" - "pypy3" - "3.3" - "3.4" - "3.5" install: - travis_retry pip install --upgrade setuptools pip pytest pytest-cov codecov 'setuptools_scm>=1.9' - pip install -e '.[develo...
branches: except: - /^[^/]+/.+$/ - book - /^book/.+$/ python: - "2.7" - "pypy" - "3.3" - "3.4" - "3.5" install: - travis_retry pip install --upgrade setuptools pip pytest pytest-cov codecov 'setuptools_scm>=1.9' - pip install -e '.[development,logger]' script: python setup.py t...
<|file_sep|>original/.travis.yml branches: except: - /^[^/]+/.+$/ - book - /^book/.+$/ python: - "2.7" - "pypy" - "pypy3" - "3.3" - "3.4" - "3.5" install: - travis_retry pip install --upgrade setuptools pip pytest pytest-cov codecov 'setuptools_scm>=1.9' - pip install -e '.[develo...
0dc1b987d25dd71334b2b0a341d6d26790d33db2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/model/ProfileProperty.php /** * @param int $counter * @param string $language * * @return string */ public function getLabelForExport($counter, $language = '') { $label = $this->getName(); $label = $this->getIsRequired() ? "*" . $label : $label; if ($this->get...
/** * @param int $counter * @param string $language * * @return string */ public function getLabelForExport($counter, $language = '') { $label = $this->getLabel(); $label = $this->getIsRequired() ? "*" . $label : $label; if ($this->getHasLanguage()) { $label = $this->getIsSingle...
<|file_sep|>original/lib/model/ProfileProperty.php /** * @param int $counter * @param string $language * * @return string */ public function getLabelForExport($counter, $language = '') { $label = $this->getName(); $label = $this->getIsRequired() ? "*" . $label : $label; if ($this->get...
c95cd0ae834542f214ee38ef70426a4505fec24b
lib/model/ProfileProperty.php
lib/model/ProfileProperty.php
PHP