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/CHANGELOG.md ## Unreleased ### Bugfixes - Print long name for multi-bit fields in command-line app (they were only being printed for single bit fields). ### New features - Added support for decoding MIDR values too. ## 0.2.0 ### Breaking changes - Removed `Decoded` struct, inlined its fiel...
## Unreleased ### Bugfixes - Print long name for multi-bit fields in command-line app (they were only being printed for single bit fields). ### New features - Added support for decoding MIDR values too. - Added HVC and SMC ECs for `ESR_EL2`. ## 0.2.0 ### Breaking changes - Removed `Decoded` struct, inlined its...
<|file_sep|>original/CHANGELOG.md ## Unreleased ### Bugfixes - Print long name for multi-bit fields in command-line app (they were only being printed for single bit fields). ### New features - Added support for decoding MIDR values too. ## 0.2.0 ### Breaking changes - Removed `Decoded` struct, inlined its fiel...
268093dc41f514135857e88dbe3604ab9b5fe64b
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/lib/devise_cas_authenticatable/single_sign_out/warden_failure_app.rb flash[:alert] = i18n_message end redirect_to redirect_url end protected def redirect_url if warden_message == :timeout flash[:timedout] = true Devise.cas_client.logout_url else if re...
def redirect_url if warden_message == :timeout flash[:timedout] = true Devise.cas_client.logout_url else if respond_to?(:scope_path) scope_path else super end end end # Devise < 2.0 doesn't have this method, which we want to use unless instance_metho...
<|file_sep|>original/lib/devise_cas_authenticatable/single_sign_out/warden_failure_app.rb flash[:alert] = i18n_message end redirect_to redirect_url end protected def redirect_url if warden_message == :timeout flash[:timedout] = true Devise.cas_client.logout_url else if re...
4645a7036afc99c3bfb4137c95cb1ddb74670749
lib/devise_cas_authenticatable/single_sign_out/warden_failure_app.rb
lib/devise_cas_authenticatable/single_sign_out/warden_failure_app.rb
Ruby
<|file_sep|>original/requirements/base.txt django-jsonfield==0.9.13 django-markdown==0.8.4 django-markitup==3.0.0 django-multiselectfield==0.1.5 djangorestframework==3.3.3 Fabric==1.12.0 fabtools==0.19.0 gunicorn==19.6.0 Pillow==3.3.1 pinax-eventlog==1.1.2 pip==9.0.1 psycopg2==2.6.2 pytz==2016.6.1 setuptools==34.0.2 si...
django-analytical==2.2.1 django-bootstrap-form==3.2.1 django-jsonfield==0.9.13 django-markdown==0.8.4 django-markitup==3.0.0 django-multiselectfield==0.1.5 djangorestframework==3.3.3 Fabric==1.12.0 fabtools==0.19.0 gunicorn==19.6.0 Pillow==3.3.1 pinax-eventlog==1.1.2 pip==9.0.1 psycopg2==2.6.2 pytz==2016.6.1 unicodecsv...
<|file_sep|>original/requirements/base.txt django-jsonfield==0.9.13 django-markdown==0.8.4 django-markitup==3.0.0 django-multiselectfield==0.1.5 djangorestframework==3.3.3 Fabric==1.12.0 fabtools==0.19.0 gunicorn==19.6.0 Pillow==3.3.1 pinax-eventlog==1.1.2 pip==9.0.1 psycopg2==2.6.2 pytz==2016.6.1 setuptools==34.0.2 si...
7c7be4572e3713ab2d96a533c21ee2c4fc88ec8d
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/.github/workflows/build.yml <|file_sep|>current/.github/workflows/build.yml <|file_sep|>updated/.github/workflows/build.yml
name: Build Site on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-vers...
<|file_sep|>original/.github/workflows/build.yml <|file_sep|>current/.github/workflows/build.yml <|file_sep|>updated/.github/workflows/build.yml name: Build Site on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [8.x, 10.x, 12.x] steps: - uses: actions/chec...
a4d69873aaf3ecf352527d33a31830639ff02e8f
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java.diff original: updated: import edu.nwu.bioinformatics.commons.testing.CoreTestCase; <|file_sep|>original/test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java import java.util.Se...
import java.lang.reflect.Method; import java.util.Set; import java.util.HashSet; import org.easymock.classextension.EasyMock; /** * @author Rhett Sutphin */ public abstract class StudyCalendarTestCase extends CoreTestCase { protected Set<Object> mocks = new HashSet<Object>(); ////// MOCK REGISTRATION AND ...
<|file_sep|>test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java.diff original: updated: import edu.nwu.bioinformatics.commons.testing.CoreTestCase; <|file_sep|>original/test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java import java.util.Se...
8a0672676c6bf5978e18962a71485a9082457c1b
test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java
test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java
Java
<|file_sep|>Casks/iterm2-beta.rb.diff original: homepage 'http://www.iterm2.com/' license :oss updated: homepage 'https://www.iterm2.com/' license :gpl <|file_sep|>original/Casks/iterm2-beta.rb cask :v1 => 'iterm2-beta' do version '2.9.20150626' sha256 '18cf11393ed81d351d739257185bc33414c440c4281e576f9d0b54...
cask :v1 => 'iterm2-beta' do version '2.9.20150626' sha256 '18cf11393ed81d351d739257185bc33414c440c4281e576f9d0b54405970f902' url 'https://iterm2.com/downloads/beta/iTerm2-2_9_20150626.zip' homepage 'https://www.iterm2.com/' license :gpl app 'iTerm.app' zap :delete => '~/Library/Preferences/com.googl...
<|file_sep|>Casks/iterm2-beta.rb.diff original: homepage 'http://www.iterm2.com/' license :oss updated: homepage 'https://www.iterm2.com/' license :gpl <|file_sep|>original/Casks/iterm2-beta.rb cask :v1 => 'iterm2-beta' do version '2.9.20150626' sha256 '18cf11393ed81d351d739257185bc33414c440c4281e576f9d0b54...
76a04b6ce223bca418a6b6fd422616bd25c5eb09
Casks/iterm2-beta.rb
Casks/iterm2-beta.rb
Ruby
<|file_sep|>original/tomso/__init__.py __version__ = "0.0.11a" __all__ = [ 'adipls', 'common', 'gyre', 'io', 'mesa', 'stars' ] <|file_sep|>current/tomso/__init__.py __version__ = "0.0.11a" __all__ = [ 'adipls', 'common', 'gyre', 'io', 'mesa', 'stars' ] <|file_se...
__version__ = "0.0.11a" __all__ = [ 'adipls', 'common', 'gyre', 'fgong', 'mesa', 'stars' ]
<|file_sep|>original/tomso/__init__.py __version__ = "0.0.11a" __all__ = [ 'adipls', 'common', 'gyre', 'io', 'mesa', 'stars' ] <|file_sep|>current/tomso/__init__.py __version__ = "0.0.11a" __all__ = [ 'adipls', 'common', 'gyre', 'io', 'mesa', 'stars' ] <|file_se...
594f6b189f496ec01c8c6742cde8639689dd50cc
tomso/__init__.py
tomso/__init__.py
Python
<|file_sep|>original/src/main/scala/uk/gov/digital/ho/proving/financialstatus/api/CustomSerializer.scala package uk.gov.digital.ho.proving.financialstatus.api import com.fasterxml.jackson.core.JsonGenerator import com.fasterxml.jackson.databind.{JsonSerializer, SerializerProvider} class CustomSerializer extends JsonS...
package uk.gov.digital.ho.proving.financialstatus.api import com.fasterxml.jackson.core.JsonGenerator import com.fasterxml.jackson.databind.{JsonSerializer, SerializerProvider} class CustomSerializer extends JsonSerializer[BigDecimal] { override def serialize(value: BigDecimal , jgen: JsonGenerator, provider: Seri...
<|file_sep|>original/src/main/scala/uk/gov/digital/ho/proving/financialstatus/api/CustomSerializer.scala package uk.gov.digital.ho.proving.financialstatus.api import com.fasterxml.jackson.core.JsonGenerator import com.fasterxml.jackson.databind.{JsonSerializer, SerializerProvider} class CustomSerializer extends JsonS...
b2ac38713b64c44fb5feec3bd385870766d8ccff
src/main/scala/uk/gov/digital/ho/proving/financialstatus/api/CustomSerializer.scala
src/main/scala/uk/gov/digital/ho/proving/financialstatus/api/CustomSerializer.scala
Scala
<|file_sep|>src/test/ui/proc-macro/auxiliary/api/cmp.rs.diff original: use proc_macro::{LineColumn, Punct}; updated: use proc_macro::{LineColumn, Punct, Spacing}; <|file_sep|>original/src/test/ui/proc-macro/auxiliary/api/cmp.rs use proc_macro::{LineColumn, Punct}; pub fn test() { test_line_column_ord(); test_p...
use proc_macro::{LineColumn, Punct, Spacing}; pub fn test() { test_line_column_ord(); test_punct_eq(); } fn test_line_column_ord() { let line0_column0 = LineColumn { line: 0, column: 0 }; let line0_column1 = LineColumn { line: 0, column: 1 }; let line1_column0 = LineColumn { line: 1, column: 0 }; ...
<|file_sep|>src/test/ui/proc-macro/auxiliary/api/cmp.rs.diff original: use proc_macro::{LineColumn, Punct}; updated: use proc_macro::{LineColumn, Punct, Spacing}; <|file_sep|>original/src/test/ui/proc-macro/auxiliary/api/cmp.rs use proc_macro::{LineColumn, Punct}; pub fn test() { test_line_column_ord(); test_p...
faad7e209deee6d09d335ca00c06d9f41bc040b5
src/test/ui/proc-macro/auxiliary/api/cmp.rs
src/test/ui/proc-macro/auxiliary/api/cmp.rs
Rust
<|file_sep|>original/docs/documentation/database/database-basic-entities.md <|file_sep|>current/docs/documentation/database/database-basic-entities.md <|file_sep|>updated/docs/documentation/database/database-basic-entities.md
--- layout: page title: Database Basic Entities description: Basic Entities required in order to have a working system --- ## Database Basic Entities This page describes the basic entities required in order to have a working system. These are created by default during the system installation, and also for running tes...
<|file_sep|>original/docs/documentation/database/database-basic-entities.md <|file_sep|>current/docs/documentation/database/database-basic-entities.md <|file_sep|>updated/docs/documentation/database/database-basic-entities.md --- layout: page title: Database Basic Entities description: Basic Entities required in orde...
9ab4843fb35c1feadd17b33cbcdf48ceaff3528b
docs/documentation/database/database-basic-entities.md
docs/documentation/database/database-basic-entities.md
Markdown
<|file_sep|>original/app.yaml application: bear-status version: 1 runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico # static urls - url: /view/stylesheets/ static_dir: view/stylesheets - url: /view/javascript/ static_dir: view/javasc...
application: bear-status version: stable runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico # static urls - url: /view/stylesheets/ static_dir: view/stylesheets - url: /view/javascript/ static_dir: view/javascript # set up the edit p...
<|file_sep|>original/app.yaml application: bear-status version: 1 runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico # static urls - url: /view/stylesheets/ static_dir: view/stylesheets - url: /view/javascript/ static_dir: view/javasc...
d932d0d8cbbb4803339a12fd9ba9ad2c53c75c03
app.yaml
app.yaml
YAML
<|file_sep|>original/build/unix/gitinfo.sh if [ -x /bin/cygpath ]; then dir=`cygpath -u $1` git=/usr/bin/git else dir=$1 fi dotgit="$dir/.git" fi # if we don't see the .git directory, just return if test ! -d $dotgit; then exit 0; fi OUT=etc/gitinfo.txt git describe --all > $OUT git ...
if [ -x /bin/cygpath ]; then dir=`cygpath -u $1` git=/usr/bin/git else dir=$1 fi dotgit="$dir/.git" fi # if we don't see the .git directory, just return if test ! -d $dotgit; then exit 0; fi OUT=etc/gitinfo.txt git --git-dir=$dotgit describe --all > $OUT git --git-dir=$dotgit describ...
<|file_sep|>original/build/unix/gitinfo.sh if [ -x /bin/cygpath ]; then dir=`cygpath -u $1` git=/usr/bin/git else dir=$1 fi dotgit="$dir/.git" fi # if we don't see the .git directory, just return if test ! -d $dotgit; then exit 0; fi OUT=etc/gitinfo.txt git describe --all > $OUT git ...
bcc39c2c56e9c6c0b7a79164af072edd12e72f0f
build/unix/gitinfo.sh
build/unix/gitinfo.sh
Shell
<|file_sep|>original/_posts/2016-5-7-KFC-flavored_nail_polish_gives_new_meaning_to_chicken_fingers.md --- date: 2016-05-07 07:44:00-05:00 layout: post link_url: http://ift.tt/1SZiXOz tags: - chicken - makeup text: '> KFC is taking its "finger lickin'' good" slogan a bit too far. The fried chicken fast food chain mad...
--- date: 2016-05-07 07:44:00-05:00 layout: post link_url: http://www.engadget.com/2016/05/04/kfc-flavored-nail-polish/ tags: - chicken - makeup text: '> KFC is taking its "finger lickin'' good" slogan a bit too far. The fried chicken fast food chain made two "edible" fingernail polishes for its fans in Hong Kong...
<|file_sep|>original/_posts/2016-5-7-KFC-flavored_nail_polish_gives_new_meaning_to_chicken_fingers.md --- date: 2016-05-07 07:44:00-05:00 layout: post link_url: http://ift.tt/1SZiXOz tags: - chicken - makeup text: '> KFC is taking its "finger lickin'' good" slogan a bit too far. The fried chicken fast food chain mad...
5a64dcc318bc835e908c217284f9bc514b6e0188
_posts/2016-5-7-KFC-flavored_nail_polish_gives_new_meaning_to_chicken_fingers.md
_posts/2016-5-7-KFC-flavored_nail_polish_gives_new_meaning_to_chicken_fingers.md
Markdown
<|file_sep|>original/spec/presenters/ci/trigger_presenter_spec.rb <|file_sep|>current/spec/presenters/ci/trigger_presenter_spec.rb <|file_sep|>updated/spec/presenters/ci/trigger_presenter_spec.rb
require 'spec_helper' describe Ci::TriggerPresenter do set(:user) { create(:user) } set(:project) { create(:project) } set(:trigger) do create(:ci_trigger, token: '123456789abcd', project: project) end let(:subject) do described_class.new(trigger, current_user: user) end before do project....
<|file_sep|>original/spec/presenters/ci/trigger_presenter_spec.rb <|file_sep|>current/spec/presenters/ci/trigger_presenter_spec.rb <|file_sep|>updated/spec/presenters/ci/trigger_presenter_spec.rb require 'spec_helper' describe Ci::TriggerPresenter do set(:user) { create(:user) } set(:project) { create(:project) ...
ba8a1ec92c783dae6f050e80c491bd1a42e1023d
spec/presenters/ci/trigger_presenter_spec.rb
spec/presenters/ci/trigger_presenter_spec.rb
Ruby
<|file_sep|>original/ganglia/setup.sh #!/bin/bash /root/spark-ec2/copy-dir /etc/ganglia/ # Start gmond everywhere /etc/init.d/gmond restart for node in $SLAVES $OTHER_MASTERS; do ssh -t -t $SSH_OPTS root@$node "/etc/init.d/gmond restart" done /etc/init.d/gmetad restart # Start http server to serve ganglia /etc/i...
#!/bin/bash /root/spark-ec2/copy-dir /etc/ganglia/ # Start gmond everywhere /etc/init.d/gmond restart for node in $SLAVES $OTHER_MASTERS; do ssh -t -t $SSH_OPTS root@$node "/etc/init.d/gmond restart" done # gmeta needs rrds to be owned by nobody chown -R nobody /var/lib/ganglia/rrds # cluster-wide aggregates only...
<|file_sep|>original/ganglia/setup.sh #!/bin/bash /root/spark-ec2/copy-dir /etc/ganglia/ # Start gmond everywhere /etc/init.d/gmond restart for node in $SLAVES $OTHER_MASTERS; do ssh -t -t $SSH_OPTS root@$node "/etc/init.d/gmond restart" done /etc/init.d/gmetad restart # Start http server to serve ganglia /etc/i...
4fdaf108fc3377a41a5c0727249917da06833dd8
ganglia/setup.sh
ganglia/setup.sh
Shell
<|file_sep|>ReactiveCocoaTests/Swift/HotSignalSpec.swift.diff original: var coldSignal : ColdSignal<Int>! updated: var replaySignal : ColdSignal<Int>! <|file_sep|>ReactiveCocoaTests/Swift/HotSignalSpec.swift.diff original: coldSignal = signal.replay(1) updated: replaySignal = signal.replay(1) <|file_sep|>...
var signal : HotSignal<Int>! var sink : SinkOf<Int>! var replaySignal : ColdSignal<Int>! beforeEach { let pipe = HotSignal<Int>.pipe() signal = pipe.0 sink = pipe.1 replaySignal = signal.replay(1) } it("should replay the first value") { sink.put(99) let result = replaySignal...
<|file_sep|>ReactiveCocoaTests/Swift/HotSignalSpec.swift.diff original: var coldSignal : ColdSignal<Int>! updated: var replaySignal : ColdSignal<Int>! <|file_sep|>ReactiveCocoaTests/Swift/HotSignalSpec.swift.diff original: coldSignal = signal.replay(1) updated: replaySignal = signal.replay(1) <|file_sep|>...
8aff4502db960a58bac3c63c5e7ff69a1b620e8c
ReactiveCocoaTests/Swift/HotSignalSpec.swift
ReactiveCocoaTests/Swift/HotSignalSpec.swift
Swift
<|file_sep|>original/requirements.txt coverage pytest-coverage coveralls mock pytest maya; python_version == '2.7' or python_version >= '3.6' <|file_sep|>current/requirements.txt coverage pytest-coverage coveralls mock pytest maya; python_version == '2.7' or python_version >= '3.6' <|file_sep|>updated/requirements.txt
coverage pytest-coverage coveralls mock pytest>=4.6 maya; python_version == '2.7' or python_version >= '3.6'
<|file_sep|>original/requirements.txt coverage pytest-coverage coveralls mock pytest maya; python_version == '2.7' or python_version >= '3.6' <|file_sep|>current/requirements.txt coverage pytest-coverage coveralls mock pytest maya; python_version == '2.7' or python_version >= '3.6' <|file_sep|>updated/requirements.txt ...
fd637b716796cf7532b2c27c5583717a20aa1f61
requirements.txt
requirements.txt
Text
<|file_sep|>original/review_front/app/styles/project/commits.scss .commits-table { &__commit-info { float: left; &--message { margin-top: 4px; } } &__commit-reviewer { float: left; margin-right: 15px; } } .author-avatar { float: left; margin-right: 5px; .picture { <|file_sep...
.commits-table { &__commit-info { float: left; &--message { margin-top: 4px; max-width: 500px; } } &__commit-reviewer { float: left; margin-right: 15px; } } .author-avatar { float: left; margin-right: 5px;
<|file_sep|>original/review_front/app/styles/project/commits.scss .commits-table { &__commit-info { float: left; &--message { margin-top: 4px; } } &__commit-reviewer { float: left; margin-right: 15px; } } .author-avatar { float: left; margin-right: 5px; .picture { <|file_sep...
adec77d50847e6ed954d8b3af971f4ba0033050f
review_front/app/styles/project/commits.scss
review_front/app/styles/project/commits.scss
SCSS
<|file_sep|>original/.github/workflows/go.yml <|file_sep|>current/.github/workflows/go.yml <|file_sep|>updated/.github/workflows/go.yml
name: Go on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.16 - name: Build
<|file_sep|>original/.github/workflows/go.yml <|file_sep|>current/.github/workflows/go.yml <|file_sep|>updated/.github/workflows/go.yml name: Go on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - ...
fba56cbed697d54c482baa949b727b17adfd3e4c
.github/workflows/go.yml
.github/workflows/go.yml
YAML
<|file_sep|>original/py-requirements/base.txt dj-database-url==0.4.2 django-choices==1.5.0 django-extensions==1.7.7 django-storages==1.5.2 djangorestframework==3.5.4 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.31.0 oauthlib==2.0.1 python3-openid==3.1.0 requests-oauthlib==0.8.0 # Github github3.py=...
dj-database-url==0.4.2 django-choices==1.5.0 django-extensions==1.7.7 django-storages==1.5.2 djangorestframework==3.5.4 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.31.0 oauthlib==2.0.2 python3-openid==3.1.0 requests-oauthlib==0.8.0 # Github github3.py==1.0.0a4 uritemplate==3.0.0 uritemplate.py==3....
<|file_sep|>original/py-requirements/base.txt dj-database-url==0.4.2 django-choices==1.5.0 django-extensions==1.7.7 django-storages==1.5.2 djangorestframework==3.5.4 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.31.0 oauthlib==2.0.1 python3-openid==3.1.0 requests-oauthlib==0.8.0 # Github github3.py=...
1083cea37a46ee76591a972585ca26a2c5c9d25f
py-requirements/base.txt
py-requirements/base.txt
Text
<|file_sep|>original/carrierwave-aws.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'carrierwave/aws/version' Gem::Specification.new do |gem| gem.name = 'carrierwave-aws' gem.version = Carrierwave::AWS::VERSION gem.authors = ['Parker Selbert'] gem.email = [...
require 'carrierwave/aws/version' Gem::Specification.new do |gem| gem.name = 'carrierwave-aws' gem.version = Carrierwave::AWS::VERSION gem.authors = ['Parker Selbert'] gem.email = ['parker@sorentwo.com'] gem.description = %q{Use aws-sdk for S3 support in CarrierWave} gem.summ...
<|file_sep|>original/carrierwave-aws.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'carrierwave/aws/version' Gem::Specification.new do |gem| gem.name = 'carrierwave-aws' gem.version = Carrierwave::AWS::VERSION gem.authors = ['Parker Selbert'] gem.email = [...
cfa15b9ab38a75cf12b0ce070b549b2e0271b412
carrierwave-aws.gemspec
carrierwave-aws.gemspec
Ruby
<|file_sep|>original/models/classifier.py <|file_sep|>current/models/classifier.py <|file_sep|>updated/models/classifier.py
# coding: utf-8 # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
<|file_sep|>original/models/classifier.py <|file_sep|>current/models/classifier.py <|file_sep|>updated/models/classifier.py # coding: utf-8 # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the ...
6130ef75adf9755ab63f82a9dc98d9be29e2b9bc
models/classifier.py
models/classifier.py
Python
<|file_sep|>app/src/main/java/io/akessler/elixircounter/CounterButton.java.diff original: updated: import android.view.View.OnClickListener; import android.view.View.OnTouchListener; import android.widget.Toast; <|file_sep|>app/src/main/java/io/akessler/elixircounter/CounterButton.java.diff original: public class Coun...
public CounterButton(Context context, int counterValue) { super(context); this.context = context; this.counterValue = counterValue; setOnTouchListener(this); setOnClickListener(this); setText(String.valueOf(counterValue)); } @Override public void onClick...
<|file_sep|>app/src/main/java/io/akessler/elixircounter/CounterButton.java.diff original: updated: import android.view.View.OnClickListener; import android.view.View.OnTouchListener; import android.widget.Toast; <|file_sep|>app/src/main/java/io/akessler/elixircounter/CounterButton.java.diff original: public class Coun...
891cc17a23416816346c7f4804b7471cab394556
app/src/main/java/io/akessler/elixircounter/CounterButton.java
app/src/main/java/io/akessler/elixircounter/CounterButton.java
Java
<|file_sep|>original/src/blacklist/background/quick-blacklist-confirm.js import { deleteDocs } from 'src/page-storage/deletion' import { addToBlacklist } from '..' /** * Handles confirmation and running of a quick blacklist request from the popup script. * * @param {string} url The URL being blacklisted. */ export...
import { deleteDocs } from 'src/page-storage/deletion' import { addToBlacklist } from '..' /** * Handles confirmation and running of a quick blacklist request from the popup script. * * @param {string} url The URL being blacklisted. */ export default function quickBlacklistConfirm(url) { if (window.confirm(`Do...
<|file_sep|>original/src/blacklist/background/quick-blacklist-confirm.js import { deleteDocs } from 'src/page-storage/deletion' import { addToBlacklist } from '..' /** * Handles confirmation and running of a quick blacklist request from the popup script. * * @param {string} url The URL being blacklisted. */ export...
a6c6d36515ebbd797a6e85d20a54a6c9262641b9
src/blacklist/background/quick-blacklist-confirm.js
src/blacklist/background/quick-blacklist-confirm.js
JavaScript
<|file_sep|>original/ci/geminstaller.yml - name: geminstaller version: >= 0.4.3 - name: fcgi version: >= 0.8.7 - name: memcache-client version: >= 1.5.0 - name: mocha version: >= 0.9.4 - name: mysql #version: >= 2.7 version: = 2.7 - name: postgres version: >= 0.7.9.2008.01.28 - name: rack version: '~> 0...
- name: geminstaller version: >= 0.4.3 - name: fcgi version: >= 0.8.7 - name: memcache-client version: >= 1.5.0 - name: mocha version: >= 0.9.4 - name: mysql #version: >= 2.7 version: = 2.7 - name: pg version: >= 0.7.9.2008.10.13 - name: rack version: '~> 0.9.0' - name: rake version: >= 0.8.1 - name: ...
<|file_sep|>original/ci/geminstaller.yml - name: geminstaller version: >= 0.4.3 - name: fcgi version: >= 0.8.7 - name: memcache-client version: >= 1.5.0 - name: mocha version: >= 0.9.4 - name: mysql #version: >= 2.7 version: = 2.7 - name: postgres version: >= 0.7.9.2008.01.28 - name: rack version: '~> 0...
feed7b4cfd860bdc9f5b4efc2ca2af76cb01d55d
ci/geminstaller.yml
ci/geminstaller.yml
YAML
<|file_sep|>original/setup.py setup( name='porick', version='0.1', description='', author='', author_email='', url='', install_requires=[ "Pylons>=1.0.1rc1", "SQLAlchemy==0.7.7", ], setup_requires=["PasteScript>=1.6.3"], packages=find_packages(exclude=['ez_setup']...
setup( name='porick', version='0.1', description='', author='', author_email='', url='', install_requires=[ "Pylons>=1.0.1rc1", "SQLAlchemy==0.7.7", "py-bcrypt" ], setup_requires=["PasteScript>=1.6.3"], packages=find_packages(exclude=['ez_setup']), inc...
<|file_sep|>original/setup.py setup( name='porick', version='0.1', description='', author='', author_email='', url='', install_requires=[ "Pylons>=1.0.1rc1", "SQLAlchemy==0.7.7", ], setup_requires=["PasteScript>=1.6.3"], packages=find_packages(exclude=['ez_setup']...
f4d894222d596760a62f22d43379f93a827e9ef2
setup.py
setup.py
Python
<|file_sep|>original/einhorn.gemspec gem.email = ['gdb@stripe.com'] gem.summary = 'Einhorn: the language-independent shared socket manager' gem.description = 'Einhorn makes it easy to run multiple instances of an application server, all listening on the same port. You can also seamlessly restart y...
gem.summary = 'Einhorn: the language-independent shared socket manager' gem.description = 'Einhorn makes it easy to run multiple instances of an application server, all listening on the same port. You can also seamlessly restart your workers without dropping any requests. Einhorn requires minimal applicatio...
<|file_sep|>original/einhorn.gemspec gem.email = ['gdb@stripe.com'] gem.summary = 'Einhorn: the language-independent shared socket manager' gem.description = 'Einhorn makes it easy to run multiple instances of an application server, all listening on the same port. You can also seamlessly restart y...
7846da61d3682bb54b0b2d6159702b3a7a488c6f
einhorn.gemspec
einhorn.gemspec
Ruby
<|file_sep|>original/spec/database_structure.sql id serial PRIMARY KEY, integers integer[] ); DROP TABLE IF EXISTS float_array_records; CREATE TABLE float_array_records( id serial PRIMARY KEY, floats float[] ); DROP TABLE IF EXISTS float_array_records; CREATE TABLE decimal_array_records( id serial PRI...
id serial PRIMARY KEY, integers integer[] ); DROP TABLE IF EXISTS float_array_records; CREATE TABLE float_array_records( id serial PRIMARY KEY, floats float[] ); DROP TABLE IF EXISTS decimal_array_records; CREATE TABLE decimal_array_records( id serial PRIMARY KEY, decimals decimal[] );
<|file_sep|>original/spec/database_structure.sql id serial PRIMARY KEY, integers integer[] ); DROP TABLE IF EXISTS float_array_records; CREATE TABLE float_array_records( id serial PRIMARY KEY, floats float[] ); DROP TABLE IF EXISTS float_array_records; CREATE TABLE decimal_array_records( id serial PRI...
19134ec66744a5019eac6615b7e00a78684b7e1b
spec/database_structure.sql
spec/database_structure.sql
SQL
<|file_sep|>original/android/README.md <|file_sep|>current/android/README.md <|file_sep|>updated/android/README.md
System Requirements * Download [Android SDK](http://developer.android.com/sdk/index.html) * Download [Crosswalk](https://crosswalk-project.org/#documentation/getting_started/linux_host_setup) and setup the environment Add to your ~/.bash_profile or ~/.bashrc ``` export CROSSWALK="<path to Crosswalk directory>" ``` ...
<|file_sep|>original/android/README.md <|file_sep|>current/android/README.md <|file_sep|>updated/android/README.md System Requirements * Download [Android SDK](http://developer.android.com/sdk/index.html) * Download [Crosswalk](https://crosswalk-project.org/#documentation/getting_started/linux_host_setup) and setup ...
7580715dc23bf9b8d0134d1eae5a00a68a3d5cb1
android/README.md
android/README.md
Markdown
<|file_sep|>lib/graphite_client/event_reporter.rb.diff original: updated: require 'json' <|file_sep|>lib/graphite_client/event_reporter.rb.diff original: require 'json' updated: require 'net/https' <|file_sep|>lib/graphite_client/event_reporter.rb.diff original: updated: @http.use_ssl = true if uri.scheme == 'h...
if opts[:basic_auth] username = opts[:basic_auth][:username] password = opts[:basic_auth][:password] @req.basic_auth(username, password) end end def report(event) @req.body = EventValue.from(event) @http.request(@req) end class EventValue def self...
<|file_sep|>lib/graphite_client/event_reporter.rb.diff original: updated: require 'json' <|file_sep|>lib/graphite_client/event_reporter.rb.diff original: require 'json' updated: require 'net/https' <|file_sep|>lib/graphite_client/event_reporter.rb.diff original: updated: @http.use_ssl = true if uri.scheme == 'h...
e5ef314abf6d7016e16a894be612d43dc5309d2e
lib/graphite_client/event_reporter.rb
lib/graphite_client/event_reporter.rb
Ruby
<|file_sep|>original/access-granted.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "access-granted" spec.version = "1.0.0" spec.authors = ["Piotrek Okoński"] spec.email ...
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "access-granted" spec.version = "1.0.1" spec.authors = ["Piotrek Okoński"] spec.email = ["piotrek@okonski.org"] spec.des...
<|file_sep|>original/access-granted.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "access-granted" spec.version = "1.0.0" spec.authors = ["Piotrek Okoński"] spec.email ...
9dc4e897f13be85df0061a68ddf7b9edb1b85158
access-granted.gemspec
access-granted.gemspec
Ruby
<|file_sep|>original/.github/workflows/issues.yml name: issue assignment on: issues: types: [opened] jobs: auto-assign: runs-on: ubuntu-latest steps: - name: 'auto-assign issue' uses: pozil/auto-assign-issue@v1.9.0 with: assignees: konstruktoid <|file_sep|>current/.gith...
name: issue assignment on: issues: types: [opened] jobs: auto-assign: runs-on: ubuntu-latest steps: - name: 'auto-assign issue' uses: pozil/auto-assign-issue@v1.10.0 with: assignees: konstruktoid
<|file_sep|>original/.github/workflows/issues.yml name: issue assignment on: issues: types: [opened] jobs: auto-assign: runs-on: ubuntu-latest steps: - name: 'auto-assign issue' uses: pozil/auto-assign-issue@v1.9.0 with: assignees: konstruktoid <|file_sep|>current/.gith...
6bfc4ce70181105c60555b95a93ad8f3e71fa6c9
.github/workflows/issues.yml
.github/workflows/issues.yml
YAML
<|file_sep|>index-browser.js.diff original: updated: <|file_sep|>index-browser.js.diff original: } if (document.body) { document.body.appendChild(canvas) } else { // just in case our script is included above <body> document.addEventListener('DOMContentLoaded', () => { updated: if (document.body)...
if (!canvas) { canvas = document.createElement('canvas') canvas.width = opts.width || window.innerWidth canvas.height = opts.height || window.innerHeight if (!opts.width && !opts.height) { // fullscreen document.body.style.margin = '0px' } if (document.body) { document.body.a...
<|file_sep|>index-browser.js.diff original: updated: <|file_sep|>index-browser.js.diff original: } if (document.body) { document.body.appendChild(canvas) } else { // just in case our script is included above <body> document.addEventListener('DOMContentLoaded', () => { updated: if (document.body)...
bde5e1162e6b16ae6a0cd810001c01cb29945fb6
index-browser.js
index-browser.js
JavaScript
<|file_sep|>original/requirements.txt requests==2.26.0 urllib3==1.26.6 patool==1.12 # configs pyyaml==5.4.1 # Logs daiquiri==3.0.0 # Find media name guessit==3.3.1 # Emails sendgrid==6.7.1 <|file_sep|>current/requirements.txt requests==2.26.0 urllib3==1.26.6 patool==1.12 # configs pyyaml==5.4.1 # Logs daiquiri==3...
requests==2.26.0 urllib3==1.26.7 patool==1.12 # configs pyyaml==5.4.1 # Logs daiquiri==3.0.0 # Find media name guessit==3.3.1 # Emails sendgrid==6.7.1
<|file_sep|>original/requirements.txt requests==2.26.0 urllib3==1.26.6 patool==1.12 # configs pyyaml==5.4.1 # Logs daiquiri==3.0.0 # Find media name guessit==3.3.1 # Emails sendgrid==6.7.1 <|file_sep|>current/requirements.txt requests==2.26.0 urllib3==1.26.6 patool==1.12 # configs pyyaml==5.4.1 # Logs daiquiri==3...
ee45a25d59ddb400aff97250f87ba6e8ce5c42d7
requirements.txt
requirements.txt
Text
<|file_sep|>original/java/src/main/java/me/gowdru/notes/sort/Sorter.java package me.gowdru.notes.sort; import java.util.Comparator; /** * Defines contract for Sorter algorithm implementations */ public interface Sorter<T> { /** * sorts {@code items}i in an array by comparing them using {@code comparator} ...
*/ public interface Sorter<T> { /** * sorts {@code items}i in an array by comparing them using {@code comparator} * @param items items to be sorted * @param comparator comparison assistant */ public void sort(T[] items, Comparator<T> comparator); /** * swaps a pair of elements in...
<|file_sep|>original/java/src/main/java/me/gowdru/notes/sort/Sorter.java package me.gowdru.notes.sort; import java.util.Comparator; /** * Defines contract for Sorter algorithm implementations */ public interface Sorter<T> { /** * sorts {@code items}i in an array by comparing them using {@code comparator} ...
0c8484323be566e3bd362bcd99efc24d26c74afd
java/src/main/java/me/gowdru/notes/sort/Sorter.java
java/src/main/java/me/gowdru/notes/sort/Sorter.java
Java
<|file_sep|>original/simhash/simhash.pyx import hashlib import struct from simhash cimport compute as c_compute from simhash cimport find_all as c_find_all def unsigned_hash(bytes obj): '''Returns a hash suitable for use as a hash_t.''' return struct.unpack('>Q', hashlib.md5(obj).digest()[0:8])[0] & 0xFFFFFF...
import hashlib import struct from simhash cimport compute as c_compute from simhash cimport find_all as c_find_all def unsigned_hash(bytes obj): '''Returns a hash suitable for use as a hash_t.''' # Takes first 8 bytes of MD5 digest digest = hashlib.md5(obj).digest()[0:8] # Unpacks the binary bytes in...
<|file_sep|>original/simhash/simhash.pyx import hashlib import struct from simhash cimport compute as c_compute from simhash cimport find_all as c_find_all def unsigned_hash(bytes obj): '''Returns a hash suitable for use as a hash_t.''' return struct.unpack('>Q', hashlib.md5(obj).digest()[0:8])[0] & 0xFFFFFF...
e5557b2bee103aa33100b3e85795b4b2cf9c880d
simhash/simhash.pyx
simhash/simhash.pyx
Cython
<|file_sep|>_videos/ac-analysis-impedance.md.diff original: The ratio of a sinusoidal voltage to a sinusoidal current is called *impedance*. Impeadance is a generalization of the concept of resistance $(v/i)$. We derive the impedance of a resistor, inductor, and capacitor. The impedance of the inductor and capacitor in...
--- layout: video title: "Impedance" author: Willy McAllister youtubeID: WmTlioVfS78 comments: true --- The ratio of a sinusoidal voltage to a sinusoidal current is called *impedance*. Impedance is a generalization of the concept of resistance $(v/i)$. We derive the impedance of a resistor, inductor, and capacitor. ...
<|file_sep|>_videos/ac-analysis-impedance.md.diff original: The ratio of a sinusoidal voltage to a sinusoidal current is called *impedance*. Impeadance is a generalization of the concept of resistance $(v/i)$. We derive the impedance of a resistor, inductor, and capacitor. The impedance of the inductor and capacitor in...
734e34739d093c15b5ad2006c51e7cdbe1b2fc24
_videos/ac-analysis-impedance.md
_videos/ac-analysis-impedance.md
Markdown
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
}, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/issues" }, "homepage": "https://...
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
3876b0a861019b7153780739788c646d9dca5239
package.json
package.json
JSON
<|file_sep|>original/api/pom.xml <version>0.8-SNAPSHOT</version> </parent> <artifactId>adbcj-api</artifactId> <version>${parent.version}</version> <packaging>jar</packaging> <name>ADBCJ - API</name> <dependencies> <dependency> <artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId> </dep...
</parent> <artifactId>adbcj-api</artifactId> <version>${parent.version}</version> <packaging>jar</packaging> <name>ADBCJ - API</name> <dependencies> <dependency> <artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId> </dependency> <dependency> <groupId>org.slf4j</group...
<|file_sep|>original/api/pom.xml <version>0.8-SNAPSHOT</version> </parent> <artifactId>adbcj-api</artifactId> <version>${parent.version}</version> <packaging>jar</packaging> <name>ADBCJ - API</name> <dependencies> <dependency> <artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId> </dep...
cec0464274719f4c1aaa4d9de3ce6b960d7302a4
api/pom.xml
api/pom.xml
XML
<|file_sep|>original/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.7.0 tox==2.8.1 <|file_sep|>current/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.7.0 tox==2.8.1 <|file_sep|>updated/requirements.txt
docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.7.0 tox==2.8.2
<|file_sep|>original/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.7.0 tox==2.8.1 <|file_sep|>current/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.7.0 tox==2.8.1 <|file_sep|>updated/requirements.txt docker==2.5.1 mo...
1d76f6e517386fb86fb4f832bae5d15b42e8f5d4
requirements.txt
requirements.txt
Text
<|file_sep|>.travis.yml.diff original: language: haskell ghc: 7.8 updated: # Based on the settings found in https://github.com/thoughtbot/carnival # Copyright (C) 2014 thoughtbot <hello@thoughtbot.com>, released under the MIT License language: sh <|file_sep|>original/.travis.yml language: haskell ghc: 7.8 notificatio...
# Based on the settings found in https://github.com/thoughtbot/carnival # Copyright (C) 2014 thoughtbot <hello@thoughtbot.com>, released under the MIT License language: sh notifications: email: false slack: secure: dNE7nOHDxyrwcgPfcDJB6WZeoYCYx/ZGI4rOJsSxbxK//0uUjZ1ECwUW4wN0+sQkYUqm0xKku9ZUHFCVDr8R572srM+7cJ8...
<|file_sep|>.travis.yml.diff original: language: haskell ghc: 7.8 updated: # Based on the settings found in https://github.com/thoughtbot/carnival # Copyright (C) 2014 thoughtbot <hello@thoughtbot.com>, released under the MIT License language: sh <|file_sep|>original/.travis.yml language: haskell ghc: 7.8 notificatio...
df8eb0cb37265683c235ec4f06f9bed1c029bf71
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.zsh-custom/aliases.zsh alias tigs="tig status" alias mkdir="mkdir -p" alias e='$EDITOR' if [ -d ~/.dotvm ] ; then alias vm="(cd ~/.dotvm && vagrant ssh)" fi # Show external IP alias ip="dig +short myip.opendns.com @resolver1.opendns.com" # Lock the screen alias afk="/System/Library/CoreServi...
alias tigs="tig status" alias mkdir="mkdir -p" alias e='$EDITOR' if [ -d ~/.dotvm ] ; then alias vm="(cd ~/.dotvm && vagrant ssh)" fi # Show external IP alias ip="dig +short myip.opendns.com @resolver1.opendns.com" # Lock the screen is_osx && alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents...
<|file_sep|>original/.zsh-custom/aliases.zsh alias tigs="tig status" alias mkdir="mkdir -p" alias e='$EDITOR' if [ -d ~/.dotvm ] ; then alias vm="(cd ~/.dotvm && vagrant ssh)" fi # Show external IP alias ip="dig +short myip.opendns.com @resolver1.opendns.com" # Lock the screen alias afk="/System/Library/CoreServi...
1226e6040c03a8af11eefc723f9e7da983b4f8bb
.zsh-custom/aliases.zsh
.zsh-custom/aliases.zsh
Shell
<|file_sep|>original/web/static/js/components/category_column.jsx import React from "react" import Idea from "./idea" import * as AppPropTypes from "../prop_types" import styles from "./css_modules/category_column.css" function CategoryColumn(props) { const categoryToEmoticonUnicodeMap = { happy: "😊", sad: ...
import React from "react" import Idea from "./idea" import * as AppPropTypes from "../prop_types" import styles from "./css_modules/category_column.css" function CategoryColumn(props) { const categoryToEmoticonUnicodeMap = { happy: "😊", sad: "😥", confused: "🤔", "action-item": "🚀", } const em...
<|file_sep|>original/web/static/js/components/category_column.jsx import React from "react" import Idea from "./idea" import * as AppPropTypes from "../prop_types" import styles from "./css_modules/category_column.css" function CategoryColumn(props) { const categoryToEmoticonUnicodeMap = { happy: "😊", sad: ...
6487c98435a3c3b9fbb5a80f28b2c857f3b18741
web/static/js/components/category_column.jsx
web/static/js/components/category_column.jsx
JSX
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception end <|file_sep|>current/app/controllers/application_contr...
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. # include Authentication protect_from_forgery with: :exception end
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception end <|file_sep|>current/app/controllers/application_contr...
cf3c91f1d601bd702748576d27da3c930330b7f9
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>lib/dap/cli.rb.diff original: req.url '/api/v1/threat_assessments' updated: req.url '/api/v1/threat_assessment_runs' <|file_sep|>lib/dap/cli.rb.diff original: threat_assessment: { updated: threat_assessment_run: { <|file_sep|>lib/dap/cli.rb.diff original: JSON.parse...
JSON.parse(response.body)['threat_assessment_run']['id'] end def update_threat_assessment_run(tar_id, updated_fields) puts "Updating #{tar_id} threat assessment run with following fields #{updated_fields}" response = connection.put do |req| req.url "/api/v1/threat_assessment_runs/#{...
<|file_sep|>lib/dap/cli.rb.diff original: req.url '/api/v1/threat_assessments' updated: req.url '/api/v1/threat_assessment_runs' <|file_sep|>lib/dap/cli.rb.diff original: threat_assessment: { updated: threat_assessment_run: { <|file_sep|>lib/dap/cli.rb.diff original: JSON.parse...
2779228ccd4b22c1a4900a264eb96b97ecc7dc48
lib/dap/cli.rb
lib/dap/cli.rb
Ruby
<|file_sep|>original/app/Assets/Scripts/AdminModeMessageWindow.cs public class AdminModeMessageWindow : MonoBehaviour { private const float WINDOW_WIDTH = 300; private const float WINDOW_HEIGHT = 120; private const float MESSAGE_HEIGHT = 60; private const float BUTTON_HEIGHT = 30; private const flo...
public class AdminModeMessageWindow : MonoBehaviour { private const float WINDOW_WIDTH = 300; private const float WINDOW_HEIGHT = 120; private const float MESSAGE_HEIGHT = 60; private const float BUTTON_HEIGHT = 30; private const float BUTTON_WIDTH = 40; private string Message; public void...
<|file_sep|>original/app/Assets/Scripts/AdminModeMessageWindow.cs public class AdminModeMessageWindow : MonoBehaviour { private const float WINDOW_WIDTH = 300; private const float WINDOW_HEIGHT = 120; private const float MESSAGE_HEIGHT = 60; private const float BUTTON_HEIGHT = 30; private const flo...
d1b9168575ea75605cb72a252e8c722a9a991a5d
app/Assets/Scripts/AdminModeMessageWindow.cs
app/Assets/Scripts/AdminModeMessageWindow.cs
C#
<|file_sep|>portfolio/src/main/webapp/index.html.diff original: updated: <meta name="viewport" content="width=device-width"> <|file_sep|>portfolio/src/main/webapp/index.html.diff original: <script src="script.js"></script> updated: <|file_sep|>portfolio/src/main/webapp/index.html.diff original: updated: ...
</div> <section class="sound-clips"> </section> </section> <div id = "listening-graphic"> </div> <div id = "conversation-container"> </div> <button onclick="startListening()">Record</button> <br><br> <form action = "/audio-input" method = "POST"> <t...
<|file_sep|>portfolio/src/main/webapp/index.html.diff original: updated: <meta name="viewport" content="width=device-width"> <|file_sep|>portfolio/src/main/webapp/index.html.diff original: <script src="script.js"></script> updated: <|file_sep|>portfolio/src/main/webapp/index.html.diff original: updated: ...
3ddbce8226c4673927c23c640f365b6cf6626df8
portfolio/src/main/webapp/index.html
portfolio/src/main/webapp/index.html
HTML
<|file_sep|>loopback/server/server.js.diff original: updated: var explorer = require('loopback-component-explorer'); var path = require('path'); <|file_sep|>loopback/server/server.js.diff original: updated: //app.use(customBaseUrl+'/explorer', loopback.rest()); <|file_sep|>original/loopback/server/server.js var ap...
var explorer = require('loopback-component-explorer'); var path = require('path'); var app = module.exports = loopback(); //app.use(customBaseUrl+'/explorer', loopback.rest()); app.start = function() { // start the web server var customBaseUrl=''; process.argv.forEach(function(element){ var valueArray = ...
<|file_sep|>loopback/server/server.js.diff original: updated: var explorer = require('loopback-component-explorer'); var path = require('path'); <|file_sep|>loopback/server/server.js.diff original: updated: //app.use(customBaseUrl+'/explorer', loopback.rest()); <|file_sep|>original/loopback/server/server.js var ap...
af94e5976370f46979e31e8d9254ff2bca873ad7
loopback/server/server.js
loopback/server/server.js
JavaScript
<|file_sep|>.github/workflows/run-tests.yml.diff original: updated: services: postgres: image: postgres:13 ports: - "5432:5432" env: POSTGRES_DB: rails_test POSTGRES_USER: rails POSTGRES_PASSWORD: password env: RAILS_ENV: test DA...
steps: - uses: actions/checkout@v3 - name: Set up Ruby # It uses v1 as a code for "The latest version with automatic fixes etc.", referred to as a floating V1 uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' a...
<|file_sep|>.github/workflows/run-tests.yml.diff original: updated: services: postgres: image: postgres:13 ports: - "5432:5432" env: POSTGRES_DB: rails_test POSTGRES_USER: rails POSTGRES_PASSWORD: password env: RAILS_ENV: test DA...
861aa6e381c3affa862cb3ea7c6f5425d5b0a4a0
.github/workflows/run-tests.yml
.github/workflows/run-tests.yml
YAML
<|file_sep|>original/cucumber-api-steps.gemspec Gem::Specification.new do |s| s.name = "cucumber-api-steps" s.version = Cucumber::ApiSteps::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Jay Zeschin"] s.email = ["jay.zeschin@modeset.com"] s.homepage = "http://github.com/ja...
Gem::Specification.new do |s| s.name = "cucumber-api-steps" s.version = Cucumber::ApiSteps::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Jay Zeschin"] s.email = ["jay.zeschin@modeset.com"] s.homepage = "http://github.com/jayzes/cucumber-api-steps" s.summary = %q{Cu...
<|file_sep|>original/cucumber-api-steps.gemspec Gem::Specification.new do |s| s.name = "cucumber-api-steps" s.version = Cucumber::ApiSteps::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Jay Zeschin"] s.email = ["jay.zeschin@modeset.com"] s.homepage = "http://github.com/ja...
6ab1b205f573fdb9efc38e6431f9e22822d36eef
cucumber-api-steps.gemspec
cucumber-api-steps.gemspec
Ruby
<|file_sep|>original/.travis.yml language: python python: - 2.6 - 2.7 services: - couchdb install: make install script: make tests notifications: irc: channels: - "irc.freenode.org#spiral-project" on_success: change <|file_sep|>current/.travis.yml language: python python: - 2...
language: python python: - 2.6 - 2.7 - 3.3 services: - couchdb install: make install script: make tests notifications: irc: channels: - "irc.freenode.org#spiral-project" on_success: change
<|file_sep|>original/.travis.yml language: python python: - 2.6 - 2.7 services: - couchdb install: make install script: make tests notifications: irc: channels: - "irc.freenode.org#spiral-project" on_success: change <|file_sep|>current/.travis.yml language: python python: - 2...
42c8aa92aac585c716fe4629427ee1c10d3452fb
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - gcc-4.8-multilib updated: <|file_sep|>original/.travis.yml language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - gcc-4.8-multilib - g++-4.8 - g++-4.8-multilib install: - sudo apt-key adv --keyserver hkp://keyse...
language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - g++-4.8 install: - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF - echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo ...
<|file_sep|>.travis.yml.diff original: - gcc-4.8-multilib updated: <|file_sep|>original/.travis.yml language: cpp addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - gcc-4.8-multilib - g++-4.8 - g++-4.8-multilib install: - sudo apt-key adv --keyserver hkp://keyse...
1e640220126890f1577e685b202dbc0d974e79c6
.travis.yml
.travis.yml
YAML
<|file_sep|>ab_game.py.diff original: CAPTURE_SCORE_BASE = 120 ** 3 updated: <|file_sep|>original/ab_game.py def utility(self, state): return state.utility() def successors(self, state, depth): mn = state.get_move_number() if mn == 1: # The first black move is always in th...
def successors(self, state, depth): mn = state.get_move_number() if mn == 1: # The first black move is always in the centre brd_size = self.base_game.get_board().get_size() centre_pos = (brd_size/2, brd_size/2) p_i = [centre_pos] else: ...
<|file_sep|>ab_game.py.diff original: CAPTURE_SCORE_BASE = 120 ** 3 updated: <|file_sep|>original/ab_game.py def utility(self, state): return state.utility() def successors(self, state, depth): mn = state.get_move_number() if mn == 1: # The first black move is always in th...
54d4551ce8efb16d4a8d02e38b9f223f8f1cd816
ab_game.py
ab_game.py
Python
<|file_sep|>components/camel-firebase/src/test/resources/log4j2.properties.diff original: ## --------------------------------------------------------------------------- ## Licensed to the Apache Software Foundation (ASF) under one or more ## contributor license agreements. See the NOTICE file distributed with ## this ...
appender.out.type = Console appender.out.name = out appender.out.layout.type = PatternLayout appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n rootLogger.level = INFO rootLogger.appenderRef.out.ref = out
<|file_sep|>components/camel-firebase/src/test/resources/log4j2.properties.diff original: ## --------------------------------------------------------------------------- ## Licensed to the Apache Software Foundation (ASF) under one or more ## contributor license agreements. See the NOTICE file distributed with ## this ...
fc7b7db5fa3d3dd3b030ecedef9103412078f099
components/camel-firebase/src/test/resources/log4j2.properties
components/camel-firebase/src/test/resources/log4j2.properties
INI
<|file_sep|>sql/patch_106_107_b.sql.diff original: updated: SET FOREIGN_KEY_CHECKS = 0; <|file_sep|>original/sql/patch_106_107_b.sql -- -- 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 ...
-- 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 permissions and -- limitations under the License. # patch_106_107_b.sql # # Title: Alter stable_id to make case sensiti...
<|file_sep|>sql/patch_106_107_b.sql.diff original: updated: SET FOREIGN_KEY_CHECKS = 0; <|file_sep|>original/sql/patch_106_107_b.sql -- -- 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 ...
77b862405997eefe98940cf87067e2b68f9bcf8d
sql/patch_106_107_b.sql
sql/patch_106_107_b.sql
SQL
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/kuzzleio/kuzzle-proxy.svg?branch=master)](https://travis-ci.org/kuzzleio/kuzzle-proxy) [![codecov.io](http://codecov.io/github/kuzzleio/kuzzle-proxy/coverage.svg?branch=master)](http://codecov.io/github/kuzzleio/kuzzle-proxy?branch=master) [![Depende...
[![Build Status](https://travis-ci.org/kuzzleio/kuzzle-proxy.svg?branch=master)](https://travis-ci.org/kuzzleio/kuzzle-proxy) [![codecov.io](http://codecov.io/github/kuzzleio/kuzzle-proxy/coverage.svg?branch=master)](http://codecov.io/github/kuzzleio/kuzzle-proxy?branch=master) [![Dependency Status](https://david-dm.or...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/kuzzleio/kuzzle-proxy.svg?branch=master)](https://travis-ci.org/kuzzleio/kuzzle-proxy) [![codecov.io](http://codecov.io/github/kuzzleio/kuzzle-proxy/coverage.svg?branch=master)](http://codecov.io/github/kuzzleio/kuzzle-proxy?branch=master) [![Depende...
753d3d0f055e1655215fba38819dcef5c14d1d38
README.md
README.md
Markdown
<|file_sep|>original/src/domains/invariantCil.ml open Cil (* TODO: detect temporaries created by Cil? *) (* let var_is_tmp {vdescrpure} = not vdescrpure (* doesn't exclude tmp___0 *) *) let tmp_var_regexp = Str.regexp "^\\(tmp\\(___[0-9]+\\)?\\|cond\\|RETURN\\)$" let var_is_tmp {vname} = Str.string_match tmp_var_regex...
open Cil (* TODO: detect temporaries created by Cil? *) (* let var_is_tmp {vdescrpure} = not vdescrpure (* doesn't exclude tmp___0 *) *) (* TODO: instead check if vdescr is nonempty? (doesn't cover all cases, e.g. ternary temporary) *) let tmp_var_regexp = Str.regexp "^\\(tmp\\(___[0-9]+\\)?\\|cond\\|RETURN\\)$" let v...
<|file_sep|>original/src/domains/invariantCil.ml open Cil (* TODO: detect temporaries created by Cil? *) (* let var_is_tmp {vdescrpure} = not vdescrpure (* doesn't exclude tmp___0 *) *) let tmp_var_regexp = Str.regexp "^\\(tmp\\(___[0-9]+\\)?\\|cond\\|RETURN\\)$" let var_is_tmp {vname} = Str.string_match tmp_var_regex...
5f4155be9d845498c8fedb89c3e11c7559e46908
src/domains/invariantCil.ml
src/domains/invariantCil.ml
OCaml
<|file_sep|>original/src/tpn/data_io.py <|file_sep|>current/src/tpn/data_io.py <|file_sep|>updated/src/tpn/data_io.py
#!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy array, scores: c by n numpy array, boxes: 4 by n numpy array, rois: 4 by n numpy array } """ d...
<|file_sep|>original/src/tpn/data_io.py <|file_sep|>current/src/tpn/data_io.py <|file_sep|>updated/src/tpn/data_io.py #!/usr/bin/env python import zipfile import cPickle import numpy as np """ track_obj: { frames: 1 by n numpy array, anchors: 1 by n numpy array, features: m by n numpy ar...
cac3636a2e49e088c2a43b2f21a7aa31af66d215
src/tpn/data_io.py
src/tpn/data_io.py
Python
<|file_sep|>original/web/locales/sah/messages.ftl <|file_sep|>current/web/locales/sah/messages.ftl <|file_sep|>updated/web/locales/sah/messages.ftl
## General # Don't rename the following section, its contents are auto-inserted based on the name (see scripts/pontoon-languages-to-ftl.js) # [Languages] ## Languages az = Азербайджан тыла cv = Чуваш тыла da = Датчан тыла de = Немец тыла el = Грек тыла en = Английскай тыл es = Испанскай тыл et = Эстон тыла fr = Фр...
<|file_sep|>original/web/locales/sah/messages.ftl <|file_sep|>current/web/locales/sah/messages.ftl <|file_sep|>updated/web/locales/sah/messages.ftl ## General # Don't rename the following section, its contents are auto-inserted based on the name (see scripts/pontoon-languages-to-ftl.js) # [Languages] ## Languages...
1445e895b97252cd76d6ce67c5a0ccca1fb38db0
web/locales/sah/messages.ftl
web/locales/sah/messages.ftl
FreeMarker
<|file_sep|>original/curl-sys/Cargo.toml [badges] travis-ci = { repository = "alexcrichton/curl-rust" } appveyor = { repository = "alexcrichton/curl-rust" } [lib] name = "curl_sys" path = "lib.rs" [dependencies] libz-sys = "0.1.2" libc = "0.2.2" [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies] ope...
[badges] travis-ci = { repository = "alexcrichton/curl-rust" } appveyor = { repository = "alexcrichton/curl-rust" } [lib] name = "curl_sys" path = "lib.rs" [dependencies] libz-sys = ">= 0.1.2" libc = "0.2.2" [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies] openssl-sys = "0.9" [target."cfg(windows...
<|file_sep|>original/curl-sys/Cargo.toml [badges] travis-ci = { repository = "alexcrichton/curl-rust" } appveyor = { repository = "alexcrichton/curl-rust" } [lib] name = "curl_sys" path = "lib.rs" [dependencies] libz-sys = "0.1.2" libc = "0.2.2" [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies] ope...
dd796acfc735d554d338af86c01cfd8d29f6dd28
curl-sys/Cargo.toml
curl-sys/Cargo.toml
TOML
<|file_sep|>package.json.diff original: "version": "0.8.5", updated: "version": "0.8.6", <|file_sep|>original/package.json "name": "aspax-less-handler", "version": "0.8.5", "description": "Plugin enabling ASPAX to handle LESS files.", "keywords": [ "aspax", "less", "css", "compilation" ], ...
"name": "aspax-less-handler", "version": "0.8.6", "description": "Plugin enabling ASPAX to handle LESS files.", "keywords": [ "aspax", "less", "css", "compilation" ], "dependencies": { "iced-coffee-script": "^1.7.1-g", "less": "~1.7.5" }, "engines": { "node": ">=0.8.16" }, ...
<|file_sep|>package.json.diff original: "version": "0.8.5", updated: "version": "0.8.6", <|file_sep|>original/package.json "name": "aspax-less-handler", "version": "0.8.5", "description": "Plugin enabling ASPAX to handle LESS files.", "keywords": [ "aspax", "less", "css", "compilation" ], ...
08d608621da7fb30d9b762857f5c1b8e134b5d87
package.json
package.json
JSON
<|file_sep|>original/webapp/db/migrate/20111214182014_unique_live_form_template.rb class UniqueLiveFormTemplate < ActiveRecord::Migration def self.up execute "CREATE UNIQUE INDEX unique_live_form_template ON forms (template_id) WHERE status = 'Live'" end def self.down execute 'DROP INDEX unique_live_form...
class UniqueLiveFormTemplate < ActiveRecord::Migration def self.up execute %{ UPDATE forms SET status = 'Inactive' FROM ( SELECT DISTINCT ON (template_id) template_id, id FROM forms WHERE status = 'Live' AND template_i...
<|file_sep|>original/webapp/db/migrate/20111214182014_unique_live_form_template.rb class UniqueLiveFormTemplate < ActiveRecord::Migration def self.up execute "CREATE UNIQUE INDEX unique_live_form_template ON forms (template_id) WHERE status = 'Live'" end def self.down execute 'DROP INDEX unique_live_form...
2130d4430d75776d0e188cead0c4f6e6a883c600
webapp/db/migrate/20111214182014_unique_live_form_template.rb
webapp/db/migrate/20111214182014_unique_live_form_template.rb
Ruby
<|file_sep|>static/main.css.diff original: font-family: "SF UI Text", "Lucida Grande", Helvetica, Arial, sans-serif; updated: font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Lucida Grande", Arial, sans-serif; <|file_sep|>original/static/main.css input[type="radio"], input[type="text"] { m...
input[type="radio"], input[type="text"] { margin-top: 4px; margin-bottom: 4px; } input[type="submit"] { padding: 3.5px 7px; } table.result td { text-align: center; } table.rjust td { text-align: right; } td.demo { font-weight: 500; padding: 4px 24px; } textarea { font-family: "SF Mono", Menlo, ...
<|file_sep|>static/main.css.diff original: font-family: "SF UI Text", "Lucida Grande", Helvetica, Arial, sans-serif; updated: font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Lucida Grande", Arial, sans-serif; <|file_sep|>original/static/main.css input[type="radio"], input[type="text"] { m...
bf976558082bd3e74b833133c68b50d03633b0a3
static/main.css
static/main.css
CSS
<|file_sep|>original/src/org/zeroxlab/aster/DefaultActionListModel.java <|file_sep|>current/src/org/zeroxlab/aster/DefaultActionListModel.java <|file_sep|>updated/src/org/zeroxlab/aster/DefaultActionListModel.java
/* * Copyright (C) 2011 0xlab - http://0xlab.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
<|file_sep|>original/src/org/zeroxlab/aster/DefaultActionListModel.java <|file_sep|>current/src/org/zeroxlab/aster/DefaultActionListModel.java <|file_sep|>updated/src/org/zeroxlab/aster/DefaultActionListModel.java /* * Copyright (C) 2011 0xlab - http://0xlab.org/ * * Licensed under the Apache License, Version 2.0 ...
6230a671237e81c973ff5b75395a7a1960a56473
src/org/zeroxlab/aster/DefaultActionListModel.java
src/org/zeroxlab/aster/DefaultActionListModel.java
Java
<|file_sep|>.circleci/config.yml.diff original: - image: hbpmip/docker-compose-for-ci:17.06-2 updated: - image: hbpmip/docker-compose-for-ci:18.09-0 <|file_sep|>original/.circleci/config.yml version: 2.1 jobs: build: working_directory: ~/src docker: - image: hbpmip/docker-compose-for-ci:17.0...
version: 2.1 jobs: build: working_directory: ~/src docker: - image: hbpmip/docker-compose-for-ci:18.09-0 environment: - CIRCLECI: true steps: - setup_remote_docker: version: 18.06.0-ce - checkout - restore_cache: keys: - pre-commit-dot-cac...
<|file_sep|>.circleci/config.yml.diff original: - image: hbpmip/docker-compose-for-ci:17.06-2 updated: - image: hbpmip/docker-compose-for-ci:18.09-0 <|file_sep|>original/.circleci/config.yml version: 2.1 jobs: build: working_directory: ~/src docker: - image: hbpmip/docker-compose-for-ci:17.0...
3b7eca7918774b94106abcd533a1ff67f1eb1a63
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/infrastructure/app/cloudfront.tf viewer_protocol_policy = "allow-all" min_ttl = 0 default_ttl = 3600 max_ttl = 86400 } restrictions { geo_restriction { restriction_type = "none" } } custom_error_response = ["${var.res...
} } viewer_protocol_policy = "allow-all" min_ttl = 0 default_ttl = 3600 max_ttl = 86400 } restrictions { geo_restriction { restriction_type = "none" } } viewer_certificate { acm_certificate_arn = "${data.aws_acm_certif...
<|file_sep|>original/infrastructure/app/cloudfront.tf viewer_protocol_policy = "allow-all" min_ttl = 0 default_ttl = 3600 max_ttl = 86400 } restrictions { geo_restriction { restriction_type = "none" } } custom_error_response = ["${var.res...
2b7d637f1d1848f8ecb22f5dffb883cf80a6fabd
infrastructure/app/cloudfront.tf
infrastructure/app/cloudfront.tf
HCL
<|file_sep|>original/my_own_exercises/web_server/flaskapp.py <|file_sep|>current/my_own_exercises/web_server/flaskapp.py <|file_sep|>updated/my_own_exercises/web_server/flaskapp.py
from flask import Flask from flask import Response flask_app = Flask('flaskapp') @flask_app.route('/hello') def hello_world(): return Response( 'Hello world from Flask!\n', mimetype='text/plain' ) app = flask_app.wsgi_app
<|file_sep|>original/my_own_exercises/web_server/flaskapp.py <|file_sep|>current/my_own_exercises/web_server/flaskapp.py <|file_sep|>updated/my_own_exercises/web_server/flaskapp.py from flask import Flask from flask import Response flask_app = Flask('flaskapp') @flask_app.route('/hello') def hello_world(): return ...
17857a746484dd49bf5805f596e6efcd23035afb
my_own_exercises/web_server/flaskapp.py
my_own_exercises/web_server/flaskapp.py
Python
<|file_sep|>original/src/example/bench_wsh.py <|file_sep|>current/src/example/bench_wsh.py <|file_sep|>updated/src/example/bench_wsh.py
# Copyright 2011, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
<|file_sep|>original/src/example/bench_wsh.py <|file_sep|>current/src/example/bench_wsh.py <|file_sep|>updated/src/example/bench_wsh.py # Copyright 2011, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following ...
a3ac011c35fa8918a4828a2c6eb119d5ca18a857
src/example/bench_wsh.py
src/example/bench_wsh.py
Python
<|file_sep|>composer.json.diff original: "symfony/console": "~2.3", "symfony/finder": "~2.2", "symfony/process": "~2.1@dev" updated: "symfony/console": "~2.3" <|file_sep|>original/composer.json ], "support": { "issues": "https://github.com/php-loep/shunt/issues" }, ...
"support": { "issues": "https://github.com/php-loep/shunt/issues" }, "require": { "php": ">=5.3.3", "ext-ssh2": ">=0.12", "symfony/console": "~2.3" }, "require-dev": { "phpunit/phpunit": "~3.7.10", "symfony/finder": "~2.2", "symfony/process": "...
<|file_sep|>composer.json.diff original: "symfony/console": "~2.3", "symfony/finder": "~2.2", "symfony/process": "~2.1@dev" updated: "symfony/console": "~2.3" <|file_sep|>original/composer.json ], "support": { "issues": "https://github.com/php-loep/shunt/issues" }, ...
ee8730ef38d905a039a59976351b0144c28ada74
composer.json
composer.json
JSON
<|file_sep|>packages/de/deterministic-game-engine.yaml.diff original: hash: 9d07980b96bbf2e9aaba227788f3aa0f243e591ce6b1d0deba162211a2f6be64 updated: hash: 56e777b3733aba7c5aba0468eae128043989360dfb2c875393826ce42d5e1a9f <|file_sep|>packages/de/deterministic-game-engine.yaml.diff original: deterministic-game-engine: ...
maintainer: tydotg@gmail.com synopsis: Simple deterministic game engine changelog: '' basic-deps: base: <5.0 mtl: -any all-versions: - '0.1.0.0' - '0.2.0' - '0.2.1' author: Tyler Olson latest: '0.2.1' description-type: haddock description: ! 'Haskell library for creating simple deterministic games, such as tic-t...
<|file_sep|>packages/de/deterministic-game-engine.yaml.diff original: hash: 9d07980b96bbf2e9aaba227788f3aa0f243e591ce6b1d0deba162211a2f6be64 updated: hash: 56e777b3733aba7c5aba0468eae128043989360dfb2c875393826ce42d5e1a9f <|file_sep|>packages/de/deterministic-game-engine.yaml.diff original: deterministic-game-engine: ...
c96ab9b1b9e0d151eb2a34766ef99cbe8a79617b
packages/de/deterministic-game-engine.yaml
packages/de/deterministic-game-engine.yaml
YAML
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
#javascript-koans This is a copy of the work I did on a private repo, originally a project from [Hack Reactor's](http://hackreactor.com) curriculum. This project was worked on with a pair; it's representative of the kind of problems that I've tackled, but not of my solo work.
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md #javascript-koans This is a copy of the work I did on a private repo, originally a project from [Hack Reactor's](http://hackreactor.com) curriculum. This project was worked on with a pair; it's representative of the kind of pr...
f79707376184fc2aaa7c1ca2992c387c400fcb0c
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: [![Code Climate](https://codeclimate.com/github/cornelius/myer.png)](https://codeclimate.com/github/cornelius/myer) updated: <|file_sep|>original/README.md [![Build Status](https://travis-ci.org/cornelius/myer.svg?branch=master)](https://travis-ci.org/cornelius/myer) [![Code Climat...
[![Build Status](https://travis-ci.org/cornelius/myer.svg?branch=master)](https://travis-ci.org/cornelius/myer) [![Code Climate](https://codeclimate.com/github/cornelius/myer/badges/gpa.svg)](https://codeclimate.com/github/cornelius/myer) [![Test Coverage](https://codeclimate.com/github/cornelius/myer/badges/coverage.s...
<|file_sep|>README.md.diff original: [![Code Climate](https://codeclimate.com/github/cornelius/myer.png)](https://codeclimate.com/github/cornelius/myer) updated: <|file_sep|>original/README.md [![Build Status](https://travis-ci.org/cornelius/myer.svg?branch=master)](https://travis-ci.org/cornelius/myer) [![Code Climat...
863193d348082942b86a8ab1e9f06e372891eeed
README.md
README.md
Markdown
<|file_sep|>packages/ca/cautious-file.yaml.diff original: hash: c6183204fc6d4767c8b8c4b954f6908fd376054c28904866a90a66497970d893 updated: hash: 5a88b7bf00d2b2cf4ae4112416c9401e05bd7fbded665c87069fb0734aadda0b <|file_sep|>original/packages/ca/cautious-file.yaml test-bench-deps: {} maintainer: Robin Green <greenrd@greenr...
test-bench-deps: {} maintainer: Robin Green <greenrd@greenrd.org> synopsis: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures changelog: '' basic-deps: bytestring: ! '>=0.9 && <0.11' unix: -any base: ==4.* filepath: ! '>=1.2 && <1.5' direct...
<|file_sep|>packages/ca/cautious-file.yaml.diff original: hash: c6183204fc6d4767c8b8c4b954f6908fd376054c28904866a90a66497970d893 updated: hash: 5a88b7bf00d2b2cf4ae4112416c9401e05bd7fbded665c87069fb0734aadda0b <|file_sep|>original/packages/ca/cautious-file.yaml test-bench-deps: {} maintainer: Robin Green <greenrd@greenr...
ec4a8b39d2811655679b7ff16dfe1c1ed23e8288
packages/ca/cautious-file.yaml
packages/ca/cautious-file.yaml
YAML
<|file_sep|>original/server/config/unicorn.rb worker_processes(20) stdout_path('log/unicorn_stdout') stderr_path('log/unicorn_stderr') <|file_sep|>current/server/config/unicorn.rb worker_processes(20) stdout_path('log/unicorn_stdout') stderr_path('log/unicorn_stderr') <|file_sep|>updated/server/config/unicorn.rb
worker_processes(8) stdout_path('log/unicorn_stdout') stderr_path('log/unicorn_stderr')
<|file_sep|>original/server/config/unicorn.rb worker_processes(20) stdout_path('log/unicorn_stdout') stderr_path('log/unicorn_stderr') <|file_sep|>current/server/config/unicorn.rb worker_processes(20) stdout_path('log/unicorn_stdout') stderr_path('log/unicorn_stderr') <|file_sep|>updated/server/config/unicorn.rb work...
dbc15a7401bb235746ef0a91c32b3dbd1db52a09
server/config/unicorn.rb
server/config/unicorn.rb
Ruby
<|file_sep|>original/docs/index.rst Why use agate? * A clean, readable API. * Self-documenting code patterns. * A full set of SQL-like operations. * Unicode support everywhere. * Decimal precision everywhere. * Pure Python. It runs everywhere. * 100% test coverage. * Exhaustive user documentation. * Optional extension...
Why use agate? * A clean, readable API. * Self-documenting code patterns. * A full set of SQL-like operations. * Unicode support everywhere. * Decimal precision everywhere. * Pure Python. It runs everywhere. * 100% test coverage. * Exhaustive user documentation. * Optional extensions that add support for `SQL integrat...
<|file_sep|>original/docs/index.rst Why use agate? * A clean, readable API. * Self-documenting code patterns. * A full set of SQL-like operations. * Unicode support everywhere. * Decimal precision everywhere. * Pure Python. It runs everywhere. * 100% test coverage. * Exhaustive user documentation. * Optional extension...
703d5741ca5543f042fe6733e80f1a9597f6236e
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>CONTRIBUTIONS.md.diff original: Send a pull request with your code and the tests for it. updated: The library lives and prospers thanks to you. If you want to share some of your work, or if you have fixed some of the open issues, send a pull request with your code and the tests for it. <|file_sep|>CONTRIBU...
# CONTRIBUTIONS The library lives and prospers thanks to you. If you want to share some of your work, or if you have fixed some of the open issues, send a pull request with your code and the tests for it. We're currently re-organizing the project organization, and as such we're starting to adopt a stricter commit gu...
<|file_sep|>CONTRIBUTIONS.md.diff original: Send a pull request with your code and the tests for it. updated: The library lives and prospers thanks to you. If you want to share some of your work, or if you have fixed some of the open issues, send a pull request with your code and the tests for it. <|file_sep|>CONTRIBU...
7ec3bd82c55a09efa2119d9d37a44562d6cce344
CONTRIBUTIONS.md
CONTRIBUTIONS.md
Markdown
<|file_sep|>original/.lein/profiles.clj {:user {:dependencies [[clj-stacktrace "0.2.5"] [org.clojure/tools.trace "0.7.5"] [org.clojure/tools.namespace "0.2.3"] [redl "0.1.0"] [spyscope "0.1.3"] [slamhound ...
{:user {:dependencies [[clj-stacktrace "0.2.5"] [org.clojure/tools.trace "0.7.5"] [org.clojure/tools.namespace "0.2.3"] [redl "0.1.0"] [speclj-tmux "1.0.0"] [spyscope "0.1.3"] [slamh...
<|file_sep|>original/.lein/profiles.clj {:user {:dependencies [[clj-stacktrace "0.2.5"] [org.clojure/tools.trace "0.7.5"] [org.clojure/tools.namespace "0.2.3"] [redl "0.1.0"] [spyscope "0.1.3"] [slamhound ...
ebc595deeafd4a9ec9988fbf84efae58c7041edd
.lein/profiles.clj
.lein/profiles.clj
Clojure
<|file_sep|>original/views/layout.jade !!! html head title= title link(rel='stylesheet', href='/stylesheets/#{stylesheet}.css') script(src="/javascripts/jquery.js") script(src="/javascripts/application.js") body #header h1= title each flashType in ['info', 'error'] if flash[flas...
!!! html head title= title link(rel='stylesheet', href='/stylesheets/application.css') script(src="/javascripts/jquery.js") script(src="/javascripts/application.js") body #header h1= title each flashType in ['info', 'error'] if flash[flashType] p.flash(class=flashType) ...
<|file_sep|>original/views/layout.jade !!! html head title= title link(rel='stylesheet', href='/stylesheets/#{stylesheet}.css') script(src="/javascripts/jquery.js") script(src="/javascripts/application.js") body #header h1= title each flashType in ['info', 'error'] if flash[flas...
4da6948882b4fd46f4b035c9f9868bf7ef590253
views/layout.jade
views/layout.jade
Jade
<|file_sep|>original/contrib/ping-report.jq <|file_sep|>current/contrib/ping-report.jq <|file_sep|>updated/contrib/ping-report.jq
map(.result) | flatten(1) | map(.rtt) | length as $total | "Median: " + (sort | if length % 2 == 0 then .[length/2] else .[(length-1)/2] end | tostring), "Average: " + (map(select(. != null)) | add/length | tostring) + " ms", "Min: " + (map(select(. != null)) | min | tostring) + " ms", "Max: " + (max | tostri...
<|file_sep|>original/contrib/ping-report.jq <|file_sep|>current/contrib/ping-report.jq <|file_sep|>updated/contrib/ping-report.jq map(.result) | flatten(1) | map(.rtt) | length as $total | "Median: " + (sort | if length % 2 == 0 then .[length/2] else .[(length-1)/2] end | tostring), "Average: " + (map(select(...
279e83c9d1bff2228b33b62b371fb679ada839f2
contrib/ping-report.jq
contrib/ping-report.jq
JSONiq
<|file_sep|>original/example/test/support/query_helper.exs <|file_sep|>current/example/test/support/query_helper.exs <|file_sep|>updated/example/test/support/query_helper.exs
defmodule QueryHelper do import Ecto.Query # Company related query functions def company_count(), do: (from company in Company, select: count(company.id)) def company_count(:multitenant), do: company_count() |> MultiTenantHelper.add_prefix_to_query() def first_company(), do: (first(Company, :id) |> preload(...
<|file_sep|>original/example/test/support/query_helper.exs <|file_sep|>current/example/test/support/query_helper.exs <|file_sep|>updated/example/test/support/query_helper.exs defmodule QueryHelper do import Ecto.Query # Company related query functions def company_count(), do: (from company in Company, select: ...
f2519dbe638f10da9aa470fb892a17856d18d6f3
example/test/support/query_helper.exs
example/test/support/query_helper.exs
Elixir
<|file_sep|>original/functest/utils/env.py import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None,...
import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'false', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None, 'OS_AUTH_URL': None } class Environ...
<|file_sep|>original/functest/utils/env.py import os import re default_envs = { 'NODE_NAME': 'unknown_pod', 'CI_DEBUG': 'true', 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha', 'DEPLOY_TYPE': 'virt', 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, 'OS_ENDPOINT_TYPE': None,...
b85d2605224ac3d079c71c93e9d94329366ec0f9
functest/utils/env.py
functest/utils/env.py
Python
<|file_sep|>original/test/controllers/accounts_controller_test.rb test "should get index" do get :index assert_response :success assert_not_nil assigns(:accounts) assert_template :index assert_template layout: "layouts/application" end test "new should render correct page" do get :new ...
end test "new should render correct page" do get :new assert_template :new end test "should create account" do assert_difference('Account.count') do post :create, account: accounts(:user1).serializable_hash() end assert_not_nil assigns(:account) assert_redirected_to account_path(...
<|file_sep|>original/test/controllers/accounts_controller_test.rb test "should get index" do get :index assert_response :success assert_not_nil assigns(:accounts) assert_template :index assert_template layout: "layouts/application" end test "new should render correct page" do get :new ...
25953a3d8faed4ff44c4c64f37bbb933877a16b5
test/controllers/accounts_controller_test.rb
test/controllers/accounts_controller_test.rb
Ruby
<|file_sep|>original/lib/IfPermission/IfPermission.js import _ from 'lodash'; const IfPermission = props => (_.get(props, ['currentPerms', props.perm]) ? props.children : null); export default IfPermission; <|file_sep|>current/lib/IfPermission/IfPermission.js import _ from 'lodash'; const IfPermission = props => ...
import _ from 'lodash'; const IfPermission = props => (props.stripes.hasPerm(props.perm) ? props.children : null); export default IfPermission;
<|file_sep|>original/lib/IfPermission/IfPermission.js import _ from 'lodash'; const IfPermission = props => (_.get(props, ['currentPerms', props.perm]) ? props.children : null); export default IfPermission; <|file_sep|>current/lib/IfPermission/IfPermission.js import _ from 'lodash'; const IfPermission = props => ...
4f6112e614df26df32647ac1042c60df50aa646d
lib/IfPermission/IfPermission.js
lib/IfPermission/IfPermission.js
JavaScript
<|file_sep|>original/SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { if (reader.TokenType == JsonToken.Null) { return null...
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { if (reader.TokenType == JsonToken.Null) { return null; } JValue v = (JValue)JToken.Load(reader); string pri...
<|file_sep|>original/SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { if (reader.TokenType == JsonToken.Null) { return null...
df3a4dd3a2b6e5dc05ed56c590ec192d2ddc863a
SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs
SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs
C#
<|file_sep|>original/numpy/setup.py #!/usr/bin/env python3 def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('numpy', parent_package, top_path) config.add_subpackage('compat') config.add_subpackage('core') config.add_subp...
#!/usr/bin/env python3 def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('numpy', parent_package, top_path) config.add_subpackage('_array_api') config.add_subpackage('compat') config.add_subpackage('core') config.add_...
<|file_sep|>original/numpy/setup.py #!/usr/bin/env python3 def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('numpy', parent_package, top_path) config.add_subpackage('compat') config.add_subpackage('core') config.add_subp...
2bdc5c33b1e9eb394eb62533f4ae4df081ea1452
numpy/setup.py
numpy/setup.py
Python
<|file_sep|>original/tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php <|file_sep|>current/tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php <|file_sep|>updated/tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php
<?php /** * This file is part of the Gerrie package. * * (c) Andreas Grunwald <andygrunwald@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Gerrie\Tests\Check; use Gerrie\Check\DatabaseConnectionCheck; class...
<|file_sep|>original/tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php <|file_sep|>current/tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php <|file_sep|>updated/tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php <?php /** * This file is part of the Gerrie package. * * (c) Andreas Grunwald <andy...
fc73d31a8a0d9b0cf6eac03e8257c18aea2e3b7d
tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php
tests/Gerrie/Tests/Check/DatabaseConnectionCheckTest.php
PHP
<|file_sep|>original/redis-rails-instrumentation.gemspec spec.name = 'redis-rails-instrumentation' spec.version = Redis::Rails::Instrumentation::VERSION spec.authors = ['Ville Lautanala'] spec.email = ['lautis@gmail.com'] spec.summary = 'Railtie to include Redis commands in ...
spec.version = Redis::Rails::Instrumentation::VERSION spec.authors = ['Ville Lautanala'] spec.email = ['lautis@gmail.com'] spec.summary = 'Railtie to include Redis commands in Rails logging.' spec.description = 'Log Redis commands and their total runtime in Rails request log.' sp...
<|file_sep|>original/redis-rails-instrumentation.gemspec spec.name = 'redis-rails-instrumentation' spec.version = Redis::Rails::Instrumentation::VERSION spec.authors = ['Ville Lautanala'] spec.email = ['lautis@gmail.com'] spec.summary = 'Railtie to include Redis commands in ...
9c673880af45593b889e6ac7538874e2b64003ef
redis-rails-instrumentation.gemspec
redis-rails-instrumentation.gemspec
Ruby
<|file_sep|>original/Changelog.md ### Unreleased. * Updated to Rails 4+. * Dropped compatiblity with Rails 3.1 and Ruby 1.8. ### 0.1.2 * Devise dependency locked at `2.1.x`. ### 0.1.1 * Initial support for Devise `2.1.0.rc`. ### 0.1.0 * Added the encryptable module and the encryptors from Devise. <|file_sep|>cu...
### Unreleased. * Updated to Rails 4+. * Dropped compatibility with Rails 3.1 and Ruby 1.8. ### 0.1.2 * Devise dependency locked at `2.1.x`. ### 0.1.1 * Initial support for Devise `2.1.0.rc`. ### 0.1.0 * Added the encryptable module and the encryptors from Devise.
<|file_sep|>original/Changelog.md ### Unreleased. * Updated to Rails 4+. * Dropped compatiblity with Rails 3.1 and Ruby 1.8. ### 0.1.2 * Devise dependency locked at `2.1.x`. ### 0.1.1 * Initial support for Devise `2.1.0.rc`. ### 0.1.0 * Added the encryptable module and the encryptors from Devise. <|file_sep|>cu...
7462be35c116830a207dacf5921da6b382891de1
Changelog.md
Changelog.md
Markdown
<|file_sep|>test/test_helper.rb.diff original: updated: $stdout.write('Loading Rails from ') <|file_sep|>test/test_helper.rb.diff original: puts "Using Ruby on Rails from #{rails_directory}" updated: puts rails_directory <|file_sep|>test/test_helper.rb.diff original: puts "Using Ruby on R...
end require 'test/unit' require 'active_support' require 'active_support/test_case' require 'action_controller' require 'action_controller/test_process' require File.join(PLUGIN_ROOT, 'rails', 'init') $:.unshift(File.join(PLUGIN_ROOT, 'lib')) $:...
<|file_sep|>test/test_helper.rb.diff original: updated: $stdout.write('Loading Rails from ') <|file_sep|>test/test_helper.rb.diff original: puts "Using Ruby on Rails from #{rails_directory}" updated: puts rails_directory <|file_sep|>test/test_helper.rb.diff original: puts "Using Ruby on R...
0be87cb9689f90011db87579a9d623bde26fb971
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/requirements_dev.txt # Database psycopg2-binary==2.7.5 pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 cryptography==2.3.1 Sphinx==1.8.1 coverage==4.5.1 pytest==3.10.0 pytest-runner==4.2 pytest-cov==2.6.0 # miscellaneous sphinx_rtd_theme==0.4.2 pre-commit==1.12...
# Database psycopg2-binary==2.7.5 pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 cryptography==2.3.1 Sphinx==1.8.2 coverage==4.5.1 pytest==3.10.0 pytest-runner==4.2 pytest-cov==2.6.0 # miscellaneous sphinx_rtd_theme==0.4.2 pre-commit==1.12.0 python-dotenv==0.9.1
<|file_sep|>original/requirements_dev.txt # Database psycopg2-binary==2.7.5 pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 cryptography==2.3.1 Sphinx==1.8.1 coverage==4.5.1 pytest==3.10.0 pytest-runner==4.2 pytest-cov==2.6.0 # miscellaneous sphinx_rtd_theme==0.4.2 pre-commit==1.12...
aa0992ee9c52a08a0f9a193d1338a3dc38947938
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/misc/copy_boost_headers.rb <|file_sep|>current/misc/copy_boost_headers.rb <|file_sep|>updated/misc/copy_boost_headers.rb
#!/usr/bin/env ruby PROGRAM_SOURCE = %q{ #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost/function.hpp> #include <boost/bind.hpp> } boost_dir = ARGV[0] Dir.chdir(File.dirname(__FILE__) + "/../ext") File.open("test.cpp", "w") do |f| f.write(PROGRAM_SOURCE) end def sh(*command) puts com...
<|file_sep|>original/misc/copy_boost_headers.rb <|file_sep|>current/misc/copy_boost_headers.rb <|file_sep|>updated/misc/copy_boost_headers.rb #!/usr/bin/env ruby PROGRAM_SOURCE = %q{ #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost/function.hpp> #include <boost/bind.hpp> } boost_dir = ...
11b6c6863269c3cf8c22097f941b935678c99eee
misc/copy_boost_headers.rb
misc/copy_boost_headers.rb
Ruby
<|file_sep|>original/package.json { "name": "kws-rpc-builder", "version": "4.2.5-SNAPSHOT", "description": "RPC library for browser and Node.js", "main": "lib/index.js", "scripts": { "test": "nodeunit test/index.js" }, "repository": { "type": "git", "url": "Kurento/kws-rpc-builder" }, "key...
{ "name": "kws-rpc-builder", "version": "4.2.5", "description": "RPC library for browser and Node.js", "main": "lib/index.js", "scripts": { "test": "nodeunit test/index.js" }, "repository": { "type": "git", "url": "Kurento/kws-rpc-builder" }, "keywords": [ "RPC", "JsonRPC", "XM...
<|file_sep|>original/package.json { "name": "kws-rpc-builder", "version": "4.2.5-SNAPSHOT", "description": "RPC library for browser and Node.js", "main": "lib/index.js", "scripts": { "test": "nodeunit test/index.js" }, "repository": { "type": "git", "url": "Kurento/kws-rpc-builder" }, "key...
b93fb230a438974baf4eba97277e42e6323d4019
package.json
package.json
JSON
<|file_sep|>original/client/view/nav.html <template name='nav'> <ul class="nav nav-tabs pull-left"> <li class="{{activeClass 'home'}}"><a href="{{pathFor 'home'}}">Home</a></li> {{#if canSeeHidden}} <li class="{{activeClass 'propose'}}"><a href="{{pathFor 'propose'}}">Propose</a></li> <li class="{{activeCla...
<template name='nav'> <ul class="nav nav-tabs pull-left"> <li class="{{activeClass 'home'}}"><a href="{{pathFor 'home'}}">Home</a></li> {{#if canSeeHidden}} <li class="{{activeClass 'propose'}}"><a href="{{pathFor 'propose'}}"><strong>Propose</strong></a></li> <li class="{{activeClass 'proposals'}}"> ...
<|file_sep|>original/client/view/nav.html <template name='nav'> <ul class="nav nav-tabs pull-left"> <li class="{{activeClass 'home'}}"><a href="{{pathFor 'home'}}">Home</a></li> {{#if canSeeHidden}} <li class="{{activeClass 'propose'}}"><a href="{{pathFor 'propose'}}">Propose</a></li> <li class="{{activeCla...
9f4afcd256585a94070d74b31ce041016b4eecff
client/view/nav.html
client/view/nav.html
HTML
<|file_sep|>recipes/dask/meta.yaml.diff original: {% set version = "0.14.0" %} {% set hash = "0ac9309a08fa381ae8d0a4717055784e1264a2d241db03b02bd5086ec7ab0951" %} updated: {% set version = "0.14.1" %} {% set hash = "46c8ef9aa41a5755f2194b535bff7fdef1343d3993ab294b198caf95155ec94e" %} <|file_sep|>recipes/dask/meta.yaml....
build: - python - setuptools run: - python - bokeh - cloudpickle >=0.2.1 - distributed >=1.16.0 - numpy - pandas >=0.19.0 - partd >=0.3.7 - toolz >=0.7.2 test: imports: - dask - dask.array - dask.bag - dask.bytes - dask.dataframe
<|file_sep|>recipes/dask/meta.yaml.diff original: {% set version = "0.14.0" %} {% set hash = "0ac9309a08fa381ae8d0a4717055784e1264a2d241db03b02bd5086ec7ab0951" %} updated: {% set version = "0.14.1" %} {% set hash = "46c8ef9aa41a5755f2194b535bff7fdef1343d3993ab294b198caf95155ec94e" %} <|file_sep|>recipes/dask/meta.yaml....
abc7365eaf7ba52f4248cb0141438924f25019af
recipes/dask/meta.yaml
recipes/dask/meta.yaml
YAML
<|file_sep|>requirements.txt.diff original: updated: # via pytest exceptiongroup==1.0.0rc9 <|file_sep|>requirements.txt.diff original: py==1.10.0 # via pytest updated: <|file_sep|>original/requirements.txt # via -r requirements.in iniconfig==1.1.1 # via pytest numpy==1.23.3 # via # -r requir...
# via pytest h5py==3.7.0 # via -r requirements.in iniconfig==1.1.1 # via pytest numpy==1.23.3 # via # -r requirements.in # h5py packaging==20.9 # via pytest pluggy==0.13.1 # via pytest pyparsing==2.4.7 # via packaging pytest==7.2.0 # via -r requirements.in quantities==0.13.0 ...
<|file_sep|>requirements.txt.diff original: updated: # via pytest exceptiongroup==1.0.0rc9 <|file_sep|>requirements.txt.diff original: py==1.10.0 # via pytest updated: <|file_sep|>original/requirements.txt # via -r requirements.in iniconfig==1.1.1 # via pytest numpy==1.23.3 # via # -r requir...
59ac59dbdf3157c5a0b6ab605845c92cd5fe80e6
requirements.txt
requirements.txt
Text
<|file_sep|>original/opps/api/__init__.py class ApiKeyAuthentication(object): def __init__(self, auth_func=authenticate, method=['GET']): self.auth_func = auth_func self.method = method def is_authenticated(self, request): if request.method == 'GET' and 'GET' in self.method: ...
class ApiKeyAuthentication(object): def __init__(self, auth_func=authenticate, method=['GET']): self.auth_func = auth_func self.method = method def is_authenticated(self, request): if request.method == 'GET' and 'GET' in self.method: return True try: me...
<|file_sep|>original/opps/api/__init__.py class ApiKeyAuthentication(object): def __init__(self, auth_func=authenticate, method=['GET']): self.auth_func = auth_func self.method = method def is_authenticated(self, request): if request.method == 'GET' and 'GET' in self.method: ...
5ed5855efe09c92efbf93dab5eb0b37325072381
opps/api/__init__.py
opps/api/__init__.py
Python
<|file_sep|>src/date.js.diff original: import moment from 'moment'; import 'moment-timezone'; updated: import moment from 'moment-timezone'; <|file_sep|>src/date.js.diff original: .moment(locale, timezone, dateValue) updated: .moment(dateValue, locale, timezone) <|file_sep|>original/src/date.js import momen...
import moment from 'moment-timezone'; import AbstractFormat from './abstract'; export default class DateFormat extends AbstractFormat { format(dateValue, dateFormat, locale, timezone) { return this .moment(dateValue, locale, timezone) .format(dateFormat); } moment(dateValue, locale, timezone) { ...
<|file_sep|>src/date.js.diff original: import moment from 'moment'; import 'moment-timezone'; updated: import moment from 'moment-timezone'; <|file_sep|>src/date.js.diff original: .moment(locale, timezone, dateValue) updated: .moment(dateValue, locale, timezone) <|file_sep|>original/src/date.js import momen...
72b793e8b371bad00593d3c5023a92f9256618ad
src/date.js
src/date.js
JavaScript
<|file_sep|>tests/Network/BitTorrent/DHT/TokenSpec.hs.diff original: updated: {-# LANGUAGE ScopedTypeVariables #-} <|file_sep|>tests/Network/BitTorrent/DHT/TokenSpec.hs.diff original: updated: import Data.List as L <|file_sep|>tests/Network/BitTorrent/DHT/TokenSpec.hs.diff original: import Network.BitTorrent.DHT.Tok...
instance Arbitrary Token where arbitrary = fromString <$> arbitrary instance Arbitrary TokenMap where arbitrary = tokens <$> arbitrary repeatN :: Int -> (a -> a) -> (a -> a) repeatN n f = L.foldr (.) id $ L.replicate n f spec :: Spec spec = do describe "Token" $ do return () describe "TokenMap" $ do ...
<|file_sep|>tests/Network/BitTorrent/DHT/TokenSpec.hs.diff original: updated: {-# LANGUAGE ScopedTypeVariables #-} <|file_sep|>tests/Network/BitTorrent/DHT/TokenSpec.hs.diff original: updated: import Data.List as L <|file_sep|>tests/Network/BitTorrent/DHT/TokenSpec.hs.diff original: import Network.BitTorrent.DHT.Tok...
4a231f96101e9b00db0328c7fbcd16884df33325
tests/Network/BitTorrent/DHT/TokenSpec.hs
tests/Network/BitTorrent/DHT/TokenSpec.hs
Haskell
<|file_sep|>original/.travis.yml language: node_js node_js: - "9.4.0" <|file_sep|>current/.travis.yml language: node_js node_js: - "9.4.0" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "15" - "16" - "17" - "18"
<|file_sep|>original/.travis.yml language: node_js node_js: - "9.4.0" <|file_sep|>current/.travis.yml language: node_js node_js: - "9.4.0" <|file_sep|>updated/.travis.yml language: node_js node_js: - "15" - "16" - "17" - "18"
b9fc4da315ef9fe0dcbec2fe84dedfc854f6566d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json "license": "MIT", "homepage": "https://github.com/neeckeloo/Wizard", "authors": [ { "name": "Nicolas Eeckeloo", "email": "neeckeloo@gmail.com" } ], "require": { "php": ">=5.3.3", "zendframework/zendframework":...
"homepage": "https://github.com/neeckeloo/Wizard", "authors": [ { "name": "Nicolas Eeckeloo", "email": "neeckeloo@gmail.com" } ], "require": { "php": ">=5.3.3", "zendframework/zendframework": "2.*" }, "autoload": { "psr-0": { ...
<|file_sep|>original/composer.json "license": "MIT", "homepage": "https://github.com/neeckeloo/Wizard", "authors": [ { "name": "Nicolas Eeckeloo", "email": "neeckeloo@gmail.com" } ], "require": { "php": ">=5.3.3", "zendframework/zendframework":...
ed4aa24436bfddb0520066cd8f314901533a9f93
composer.json
composer.json
JSON