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/app/models/runner.rb self.token = SecureRandom.hex(15) if self.token.blank? end def assign_to(project, current_user) ActiveRecord::Base.transaction do runner_project = project.runner_projects.create!(runner_id: self.id) opts = { key: self.public_key, title:...
end def assign_to(project, current_user) ActiveRecord::Base.transaction do runner_project = project.runner_projects.create!(runner_id: self.id) opts = { key: self.public_key, title: "gitlab-ci-runner-#{self.id}", private_token: current_user.private_token } resu...
<|file_sep|>original/app/models/runner.rb self.token = SecureRandom.hex(15) if self.token.blank? end def assign_to(project, current_user) ActiveRecord::Base.transaction do runner_project = project.runner_projects.create!(runner_id: self.id) opts = { key: self.public_key, title:...
3d0369dcccc08169e266b2efca1e778190750801
app/models/runner.rb
app/models/runner.rb
Ruby
<|file_sep|>original/.travis.yml # # We pretend to be erlang because we need GNU Octave which is not # available (as of April 2015) language: erlang cache: - apt env: global: - OCTAVE=octave before_install: # to prevent IPv6 being used for APT - sudo bash -c "echo 'Acquire::ForceIPv4 \"true\";' > /etc/...
# We pretend to be erlang because we need GNU Octave which is not # available (as of April 2015) language: erlang cache: - apt env: global: - OCTAVE=octave before_install: # to prevent IPv6 being used for APT - sudo bash -c "echo 'Acquire::ForceIPv4 \"true\";' > /etc/apt/apt.conf.d/99force-ipv4" - ...
<|file_sep|>original/.travis.yml # # We pretend to be erlang because we need GNU Octave which is not # available (as of April 2015) language: erlang cache: - apt env: global: - OCTAVE=octave before_install: # to prevent IPv6 being used for APT - sudo bash -c "echo 'Acquire::ForceIPv4 \"true\";' > /etc/...
b8d78d9035909f713bc1255569e9b0026d3adb5c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/brakeman.gemspec Gem::Specification.new do |s| s.name = %q{brakeman} s.version = Brakeman::Version s.authors = ["Justin Collins"] s.summary = "Security vulnerability scanner for Ruby on Rails." s.description = "Brakeman detects security vulnerabilities in Ruby on Rails applications via st...
Gem::Specification.new do |s| s.name = %q{brakeman} s.version = Brakeman::Version s.authors = ["Justin Collins"] s.summary = "Security vulnerability scanner for Ruby on Rails." s.description = "Brakeman detects security vulnerabilities in Ruby on Rails applications via static analysis." s.homepage = "http:/...
<|file_sep|>original/brakeman.gemspec Gem::Specification.new do |s| s.name = %q{brakeman} s.version = Brakeman::Version s.authors = ["Justin Collins"] s.summary = "Security vulnerability scanner for Ruby on Rails." s.description = "Brakeman detects security vulnerabilities in Ruby on Rails applications via st...
f32d5e012d343466a8030ee49e30cefb97f845e4
brakeman.gemspec
brakeman.gemspec
Ruby
<|file_sep|>original/PlugIns/CMakeLists.txt if (OGRE_BUILD_PLUGIN_CG) if (NOT Cg_FOUND) message(STATUS "Could not find dependency: Cg") message(STATUS "Skipping Plugin_CgProgramManager") set(OGRE_BUILD_PLUGIN_CG 0) else (NOT Cg_FOUND) add_subdirectory(CgProgramManager) endif (NOT Cg_FOUND) endif ...
endif (OGRE_BUILD_PLUGIN_BSP) if (OGRE_BUILD_PLUGIN_CG) if (NOT Cg_FOUND) message(STATUS "Could not find dependency: Cg") message(STATUS "Skipping Plugin_CgProgramManager") set(OGRE_BUILD_PLUGIN_CG 0) else (NOT Cg_FOUND) add_subdirectory(CgProgramManager) endif (NOT Cg_FOUND) endif (OGRE_BUILD_PL...
<|file_sep|>original/PlugIns/CMakeLists.txt if (OGRE_BUILD_PLUGIN_CG) if (NOT Cg_FOUND) message(STATUS "Could not find dependency: Cg") message(STATUS "Skipping Plugin_CgProgramManager") set(OGRE_BUILD_PLUGIN_CG 0) else (NOT Cg_FOUND) add_subdirectory(CgProgramManager) endif (NOT Cg_FOUND) endif ...
34b872f9824973c5517ddd87480182e5b5956f12
PlugIns/CMakeLists.txt
PlugIns/CMakeLists.txt
Text
<|file_sep|>src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java.diff original: updated: import static org.jivesoftware.openfire.clearspace.ClearspaceManager.HttpType.GET; <|file_sep|>src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java.diff original: updated: protected s...
// It is not supported exception, wrap it into an UnsupportedOperationException throw new UnsupportedOperationException("Unexpected error", e); } } public void authenticate(String username, String token, String digest) throws UnauthorizedException { throw new Unsupported...
<|file_sep|>src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java.diff original: updated: import static org.jivesoftware.openfire.clearspace.ClearspaceManager.HttpType.GET; <|file_sep|>src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java.diff original: updated: protected s...
a59f98bf0a1f62ade907a32a1148506d5c0b3d5b
src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java
src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java
Java
<|file_sep|>lib/Type/Constraint/Enum.pm.diff original: . '&& $_enum_values{' updated: . '&& $_Type_Constraint_Enum_enum_values{' <|file_sep|>original/lib/Type/Constraint/Enum.pm . $val . ') ' . '&& !ref(' . $val . ') ' . '&& $_enum_values{' . $val . '}'; }; has '...
. $val . ') ' . '&& !ref(' . $val . ') ' . '&& $_Type_Constraint_Enum_enum_values{' . $val . '}'; }; has '+inline_generator' => ( init_arg => undef, default => sub { $_inline_generator }, ); sub _build_inline_environment { my $self = shift; my %values = map { ...
<|file_sep|>lib/Type/Constraint/Enum.pm.diff original: . '&& $_enum_values{' updated: . '&& $_Type_Constraint_Enum_enum_values{' <|file_sep|>original/lib/Type/Constraint/Enum.pm . $val . ') ' . '&& !ref(' . $val . ') ' . '&& $_enum_values{' . $val . '}'; }; has '...
72804e847d5d9c5593b14a983ce495eeebccc0cc
lib/Type/Constraint/Enum.pm
lib/Type/Constraint/Enum.pm
Perl
<|file_sep|>original/css/legacy/form.css .input-aside, .dbjs-input-component .input-aside { display: block; } .input-aside > span:first-child { display: inline-block; } <|file_sep|>current/css/legacy/form.css .input-aside, .dbjs-input-component .input-aside { display: block; } .input-aside > span:first-child { disp...
.input-aside, .dbjs-input-component .input-aside { display: block; } .input-aside > span:first-child { display: inline-block; } .auto-submit .submit { display: block; }
<|file_sep|>original/css/legacy/form.css .input-aside, .dbjs-input-component .input-aside { display: block; } .input-aside > span:first-child { display: inline-block; } <|file_sep|>current/css/legacy/form.css .input-aside, .dbjs-input-component .input-aside { display: block; } .input-aside > span:first-child { disp...
ea9f6f5353830afec5b31ad042872d24f319c4b9
css/legacy/form.css
css/legacy/form.css
CSS
<|file_sep|>original/files/vertica/update_vertica_stats.sh #!/bin/bash MONASCA_TABLES="\ MonMetrics.Dimensions \ MonMetrics.Definitions \ MonMetrics.DefinitionDimensions \ MonMetrics.Measurements" for table in $MONASCA_TABLES do /usr/sbin/vsql -c "select analyze_statistics('$table');" done <|file_sep|>curr...
#!/bin/bash MONASCA_TABLES="\ MonMetrics.Dimensions \ MonMetrics.Definitions \ MonMetrics.DefinitionDimensions \ MonMetrics.Measurements \ MonAlarms.StateHistory" for table in $MONASCA_TABLES do /usr/sbin/vsql -c "select analyze_statistics('$table');" done
<|file_sep|>original/files/vertica/update_vertica_stats.sh #!/bin/bash MONASCA_TABLES="\ MonMetrics.Dimensions \ MonMetrics.Definitions \ MonMetrics.DefinitionDimensions \ MonMetrics.Measurements" for table in $MONASCA_TABLES do /usr/sbin/vsql -c "select analyze_statistics('$table');" done <|file_sep|>curr...
91466b45ac5159f763d8db2553c4b922c257beda
files/vertica/update_vertica_stats.sh
files/vertica/update_vertica_stats.sh
Shell
<|file_sep|>original/_layouts/defaults.html <|file_sep|>current/_layouts/defaults.html <|file_sep|>updated/_layouts/defaults.html
<!DOCTYPE html> <html lang="{{ site.lang | default: "en-US" }}"> <head> <meta charset="UTF-8"> <title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title | default: site.github.repository_name }} by {{ site.github.owner_name }}</title> <meta name="description" content="{{ page.description | def...
<|file_sep|>original/_layouts/defaults.html <|file_sep|>current/_layouts/defaults.html <|file_sep|>updated/_layouts/defaults.html <!DOCTYPE html> <html lang="{{ site.lang | default: "en-US" }}"> <head> <meta charset="UTF-8"> <title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title | default: si...
33979fb826e350e5ffea4ccbe8cfe7f65a225c39
_layouts/defaults.html
_layouts/defaults.html
HTML
<|file_sep|>original/html/index.html <!-- index.html --> <!DOCTYPE html> <html> <head> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta NAME="viewport" CONTENT="width=device-width, height=device-height, initial-scale=1, user-scalable=no"/> ...
<!-- index.html --> <!DOCTYPE html> <html> <head> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta NAME="viewport" CONTENT="width=device-width, height=device-height, initial-scale=1, user-scalable=no"/> <meta name="mobile-web-app-capable...
<|file_sep|>original/html/index.html <!-- index.html --> <!DOCTYPE html> <html> <head> <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta NAME="viewport" CONTENT="width=device-width, height=device-height, initial-scale=1, user-scalable=no"/> ...
baf9163ee449d98ca2ea1e6bb0e537f6234fe50d
html/index.html
html/index.html
HTML
<|file_sep|>original/courriers/management/commands/mailjet_sync_unsubscribed.py backend = backend_klass() unsubscribed_users = (NewsletterSubscriber.objects.using(self.connection) .filter(is_unsubscribed=True) ...
backend_klass = get_backend() backend = backend_klass() unsubscribed_users = (NewsletterSubscriber.objects.using(self.connection) .filter(is_unsubscribed=True) .values_list('emai...
<|file_sep|>original/courriers/management/commands/mailjet_sync_unsubscribed.py backend = backend_klass() unsubscribed_users = (NewsletterSubscriber.objects.using(self.connection) .filter(is_unsubscribed=True) ...
3e37885f7241b985740bf753ca237c31497ac57e
courriers/management/commands/mailjet_sync_unsubscribed.py
courriers/management/commands/mailjet_sync_unsubscribed.py
Python
<|file_sep|>lib/gitlab/repository_cache.rb.diff original: @namespace = "#{repository.full_path}:#{repository.project.id}" updated: @namespace = "project:#{repository.project.id}" <|file_sep|>original/lib/gitlab/repository_cache.rb attr_reader :repository, :namespace, :backend def initialize(reposit...
attr_reader :repository, :namespace, :backend def initialize(repository, extra_namespace: nil, backend: Rails.cache) @repository = repository @namespace = "project:#{repository.project.id}" @namespace = "#{@namespace}:#{extra_namespace}" if extra_namespace @backend = backend end ...
<|file_sep|>lib/gitlab/repository_cache.rb.diff original: @namespace = "#{repository.full_path}:#{repository.project.id}" updated: @namespace = "project:#{repository.project.id}" <|file_sep|>original/lib/gitlab/repository_cache.rb attr_reader :repository, :namespace, :backend def initialize(reposit...
19440e67225d41ff821a9e31f47d60fe7a1718c2
lib/gitlab/repository_cache.rb
lib/gitlab/repository_cache.rb
Ruby
<|file_sep|>README.rst.diff original: updated: * Partially done. <|file_sep|>original/README.rst gir-dylan ========= These are Dylan bindings for the ``gobject-introspection`` library: https://live.gnome.org/GObjectIntrospection To build them, you will need to build and install the gobject-introspection library fi...
---- * Remove struct definitions. We don't need or want access to struct members. * Rename class types so that ``<_GObject>`` is the raw struct (if we even have that) and ``<GObject>`` is the pointer to the struct. * Partially done. * Modify how enumerations are handled so that they use ``one-of``. * Add back bi...
<|file_sep|>README.rst.diff original: updated: * Partially done. <|file_sep|>original/README.rst gir-dylan ========= These are Dylan bindings for the ``gobject-introspection`` library: https://live.gnome.org/GObjectIntrospection To build them, you will need to build and install the gobject-introspection library fi...
be16bca90a7965a9d1156bf5a95a609c1923ea5e
README.rst
README.rst
reStructuredText
<|file_sep|>Source/carthage/Formatting.swift.diff original: static let isTTY: Bool = isatty(1) == 1 updated: <|file_sep|>original/Source/carthage/Formatting.swift internal struct Formatting { static let color = Terminal.isTTY && !Terminal.isDumb static let bulletin = Color.Wrap(foreground: .Blue, style: .Bold) st...
static let color = Terminal.isTTY && !Terminal.isDumb static let bulletin = Color.Wrap(foreground: .Blue, style: .Bold) static let bullets: String = { return bulletin.autowrap("***") + " " }() static let URL = [StyleParameter.Underlined] as Color.Wrap static let projectName = [StyleParameter.Bold] as Color.Wr...
<|file_sep|>Source/carthage/Formatting.swift.diff original: static let isTTY: Bool = isatty(1) == 1 updated: <|file_sep|>original/Source/carthage/Formatting.swift internal struct Formatting { static let color = Terminal.isTTY && !Terminal.isDumb static let bulletin = Color.Wrap(foreground: .Blue, style: .Bold) st...
6a691f00e6da5fa16458ea629f22186ed483733b
Source/carthage/Formatting.swift
Source/carthage/Formatting.swift
Swift
<|file_sep|>original/.travis.yml language: c before_install: - wget https://gist.github.com/petere/5893799/raw/apt.postgresql.org.sh - wget https://gist.github.com/petere/6023944/raw/pg-travis-test.sh - sudo sh ./apt.postgresql.org.sh env: - PGVERSION=9.6 - PGVERSION=10 - PGVERSION=11 - PGVERSION=12 - P...
language: c before_install: - wget https://gist.github.com/petere/5893799/raw/apt.postgresql.org.sh - wget https://gist.github.com/petere/6023944/raw/pg-travis-test.sh - sudo sh ./apt.postgresql.org.sh env: - PGVERSION=9.6 - PGVERSION=10 - PGVERSION=11 - PGVERSION=12 - PGVERSION=13 - PGVERSION=14 scri...
<|file_sep|>original/.travis.yml language: c before_install: - wget https://gist.github.com/petere/5893799/raw/apt.postgresql.org.sh - wget https://gist.github.com/petere/6023944/raw/pg-travis-test.sh - sudo sh ./apt.postgresql.org.sh env: - PGVERSION=9.6 - PGVERSION=10 - PGVERSION=11 - PGVERSION=12 - P...
5eba79295c4aa2e13e5cf518c8f14ca01515ba24
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/score/new.slim .row h1 Submit Score p | Before submitting your score, check the current season: strong = @current_season.name = form_for :score, url(:score, :create), method: 'post', class: 'small-6 columns', data: { abide: '' } do |f| = partial 'score/form', locals: { ...
.row h1 Submit Score - if @current_season.present? p | Before submitting your score, check the current season: strong = @current_season.name = form_for :score, url(:score, :create), method: 'post', class: 'small-6 columns', data: { abide: '' } do |f| = partial 'score/form', locals: { f: f...
<|file_sep|>original/app/views/score/new.slim .row h1 Submit Score p | Before submitting your score, check the current season: strong = @current_season.name = form_for :score, url(:score, :create), method: 'post', class: 'small-6 columns', data: { abide: '' } do |f| = partial 'score/form', locals: { ...
54a435ab5ed53b684bbd81e41f85bb5e9f8c42f4
app/views/score/new.slim
app/views/score/new.slim
Slim
<|file_sep|>original/requirements/base.txt boto3==1.9.159 celery[redis]==4.3.0 django-celery-results==1.1.2 django-filter==1.1 django==1.11.20 django-storages==1.7.1 djangorestframework-gis==0.14.0 djangorestframework==3.9.3 logstash-formatter==0.5.9 psycopg2-binary==2.7.5 raven==5.2.0 requests==2.20.0 uwsgi==2.0.17.1 ...
boto3==1.9.159 celery[redis]==4.3.0 django-celery-results==1.1.2 django-filter==1.1 django==1.11.23 django-storages==1.7.1 djangorestframework-gis==0.14.0 djangorestframework==3.9.3 logstash-formatter==0.5.9 psycopg2-binary==2.7.5 raven==5.2.0 requests==2.20.0 uwsgi==2.0.17.1 xlrd==0.9.3 django-moj-irat>=0.4 # https://...
<|file_sep|>original/requirements/base.txt boto3==1.9.159 celery[redis]==4.3.0 django-celery-results==1.1.2 django-filter==1.1 django==1.11.20 django-storages==1.7.1 djangorestframework-gis==0.14.0 djangorestframework==3.9.3 logstash-formatter==0.5.9 psycopg2-binary==2.7.5 raven==5.2.0 requests==2.20.0 uwsgi==2.0.17.1 ...
5c4f6c1d202f5ae3c708b8621409405d412473e5
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>tests/AmCharts/Chart/DataProviderTest.php.diff original: class CoordinateTest extends \PHPUnit_Framework_TestCase updated: class DataProviderTest extends \PHPUnit_Framework_TestCase <|file_sep|>tests/AmCharts/Chart/DataProviderTest.php.diff original: * @var Coordinate updated: * @var DataProvider ...
* @copyright Copyright (c) 2012 Nicolas Eeckeloo */ namespace AmCharts\Chart; class DataProviderTest extends \PHPUnit_Framework_TestCase { /** * @var DataProvider */ protected $provider; public function setUp() { $this->provider = new DataProvider(array('foo' => 123, 'bar' =...
<|file_sep|>tests/AmCharts/Chart/DataProviderTest.php.diff original: class CoordinateTest extends \PHPUnit_Framework_TestCase updated: class DataProviderTest extends \PHPUnit_Framework_TestCase <|file_sep|>tests/AmCharts/Chart/DataProviderTest.php.diff original: * @var Coordinate updated: * @var DataProvider ...
9dcc49fa687efc6c32724b5271fe9483600eb4b7
tests/AmCharts/Chart/DataProviderTest.php
tests/AmCharts/Chart/DataProviderTest.php
PHP
<|file_sep|>app/views/admin/locations/forms/_kind.html.haml.diff original: = f.select :kind, Location.kind.options, prompt: 'Choose an option' updated: = f.select :kind, Location.kind.options, { prompt: 'Choose an option' }, class: 'form-control' <|file_sep|>original/app/views/admin/locations/forms/_kind.ht...
.inst-box %header %strong Kind %p.desc Choose the type of location that best describes the services offered. %p - if f.object.new_record? = f.select :kind, Location.kind.options, { prompt: 'Choose an option' }, class: 'form-control' - else = f.select :kind, Location.kind.opti...
<|file_sep|>app/views/admin/locations/forms/_kind.html.haml.diff original: = f.select :kind, Location.kind.options, prompt: 'Choose an option' updated: = f.select :kind, Location.kind.options, { prompt: 'Choose an option' }, class: 'form-control' <|file_sep|>original/app/views/admin/locations/forms/_kind.ht...
cd71453d3334e0559575675c90192553f8f716e2
app/views/admin/locations/forms/_kind.html.haml
app/views/admin/locations/forms/_kind.html.haml
Haml
<|file_sep|>original/README.md # Wocker This repository provides a template Vagrantfile to create a Docker-based rapid development environment of WordPress. __IT TAKES JUST 3 SECONDS TO CREATE A NEW ONE!__ ## Documentation [http://ixkaito.github.io/wocker/](http://ixkaito.github.io/wocker/) <|file_sep|>current/READM...
# Wocker This repository provides a template Vagrantfile to create a Docker-based rapid development environment of WordPress. __IT TAKES JUST 3 SECONDS TO CREATE A NEW ONE!__ ## Documentation [http://wocker-prj.github.io/](http://wocker-prj.github.io/)
<|file_sep|>original/README.md # Wocker This repository provides a template Vagrantfile to create a Docker-based rapid development environment of WordPress. __IT TAKES JUST 3 SECONDS TO CREATE A NEW ONE!__ ## Documentation [http://ixkaito.github.io/wocker/](http://ixkaito.github.io/wocker/) <|file_sep|>current/READM...
d37cad5950de978ed7b5f874600e4c71f31fe5e6
README.md
README.md
Markdown
<|file_sep|>original/README.md # docker Central place for dockerfiles and other utilities to support docker at flow ## play templates/play/Dockerfile defines a base image that we can use when building our play applications. FROM flowdocker/play:0.0.68 To create a new play base image cd play go run buil...
# docker Central place for dockerfiles and other utilities to support docker at flow ## play templates/play/Dockerfile defines a base image that we can use when building our play applications. FROM flowdocker/play:0.0.69 To create a new play base image cd play go run build.go This will create a new im...
<|file_sep|>original/README.md # docker Central place for dockerfiles and other utilities to support docker at flow ## play templates/play/Dockerfile defines a base image that we can use when building our play applications. FROM flowdocker/play:0.0.68 To create a new play base image cd play go run buil...
af9e84a61ad07e9ec0f3b9268f61dc7e05915997
README.md
README.md
Markdown
<|file_sep|>original/examples/example.tls.js var spdyPush = require('..') , spdy = require('spdy') , express = require('express') , path = require('path') , fs = require('fs'); var app = express(); app.use(spdyPush.referrer()); app.use(express.static(path.join(__dirname, '../test/site'))); var options = { k...
'use strict'; var spdyPush = require('..') , spdy = require('spdy') , express = require('express') , path = require('path') , fs = require('fs'); var app = express(); app.use(spdyPush.referrer()); app.use(express.static(path.join(__dirname, '../test/site'))); var options = { key: fs.readFileSync(path.join(_...
<|file_sep|>original/examples/example.tls.js var spdyPush = require('..') , spdy = require('spdy') , express = require('express') , path = require('path') , fs = require('fs'); var app = express(); app.use(spdyPush.referrer()); app.use(express.static(path.join(__dirname, '../test/site'))); var options = { k...
7e84c0227dd793591188454e9cc1e3b63d6b8b9f
examples/example.tls.js
examples/example.tls.js
JavaScript
<|file_sep|>original/.circleci/config.yml version: 2.1 orbs: yarn: artsy/yarn@4.0.2 codecov: codecov/codecov@1.0.5 auto: artsy/auto@1.0.1 workflows: build_and_verify: jobs: - yarn/workflow-queue - yarn/update-cache: requires: - yarn/workflow-queue - yarn/relay: ...
version: 2.1 orbs: yarn: artsy/yarn@4.0.2 codecov: codecov/codecov@1.0.5 auto: artsy/auto@1.0.2 workflows: build_and_verify: jobs: - yarn/workflow-queue - yarn/update-cache: requires: - yarn/workflow-queue - yarn/relay: requires: - yarn/workflo...
<|file_sep|>original/.circleci/config.yml version: 2.1 orbs: yarn: artsy/yarn@4.0.2 codecov: codecov/codecov@1.0.5 auto: artsy/auto@1.0.1 workflows: build_and_verify: jobs: - yarn/workflow-queue - yarn/update-cache: requires: - yarn/workflow-queue - yarn/relay: ...
ff72e629152aab85c7d2ca4f1c28aca34b1fc3e4
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>spec/spec_helper.rb.diff original: updated: if ENV['COVERAGE'] == 'true' require 'simplecov' SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'spec' minimum_coverage 100 end end <|file_sep|>original/spec/spec_helper.rb Dir[File.expand_path('...
minimum_coverage 100 end end require 'spec' require 'spec/autorun' # require spec support files and shared behavior Dir[File.expand_path('../{support,shared}/**/*.rb', __FILE__)].each do |file| require file end Spec::Runner.configure do |config| end # change the heckle timeout to be 5 seconds if defined?(::...
<|file_sep|>spec/spec_helper.rb.diff original: updated: if ENV['COVERAGE'] == 'true' require 'simplecov' SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'spec' minimum_coverage 100 end end <|file_sep|>original/spec/spec_helper.rb Dir[File.expand_path('...
e6661be7b3261863b5016e5cb40b26f26bb2a734
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml @using CkanDotNet.Web.Models.Helpers @using System.Configuration <!--v Denvergov:1of3(head) v--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="Stylesheet" type="text/css" href...
@using CkanDotNet.Web.Models.Helpers @using System.Configuration <!--v Denvergov:1of3(head) v--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="Stylesheet" type="text/css" href="@Url.Content(ConfigurationManager.AppSettings["Catalog.SkinLocatio...
<|file_sep|>original/CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml @using CkanDotNet.Web.Models.Helpers @using System.Configuration <!--v Denvergov:1of3(head) v--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link rel="Stylesheet" type="text/css" href...
ef3396984c31d1c25228ac7b660b51de600ed536
CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml
CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml
C#
<|file_sep|>message_view.py.diff original: updated: OUTPUT_PANEL = "output." + PANEL_NAME <|file_sep|>original/message_view.py PANEL_NAME = "SublimeLinter Messages" def plugin_unloaded(): for window in sublime.windows(): window.destroy_output_panel(PANEL_NAME) class SublimeLinterDisplayPanelCommand(sub...
OUTPUT_PANEL = "output." + PANEL_NAME def plugin_unloaded(): for window in sublime.windows(): window.destroy_output_panel(PANEL_NAME) class SublimeLinterDisplayPanelCommand(sublime_plugin.WindowCommand): def run(self, msg=""): panel_view = self.window.create_output_panel(PANEL_NAME, True) ...
<|file_sep|>message_view.py.diff original: updated: OUTPUT_PANEL = "output." + PANEL_NAME <|file_sep|>original/message_view.py PANEL_NAME = "SublimeLinter Messages" def plugin_unloaded(): for window in sublime.windows(): window.destroy_output_panel(PANEL_NAME) class SublimeLinterDisplayPanelCommand(sub...
aed8a831bca72268ad9fbcd2f777d91af29d61b6
message_view.py
message_view.py
Python
<|file_sep|>core/src/main/scala/filodb.core/FutureUtils.scala.diff original: import scala.concurrent.Future updated: import scala.concurrent.{ExecutionContext, Future} <|file_sep|>core/src/main/scala/filodb.core/FutureUtils.scala.diff original: def rateLimit(f: => Future[Response]): Future[Response] = { updated: de...
trait FutureUtils { val limiter: ConcurrentLimiter /** * Only executes f if the limiter value is below the limit, otherwise * fails fast and returns TooManyRequests */ def rateLimit(f: => Future[Response])(implicit ec: ExecutionContext): Future[Response] = { if (limiter.obtain()) { val future...
<|file_sep|>core/src/main/scala/filodb.core/FutureUtils.scala.diff original: import scala.concurrent.Future updated: import scala.concurrent.{ExecutionContext, Future} <|file_sep|>core/src/main/scala/filodb.core/FutureUtils.scala.diff original: def rateLimit(f: => Future[Response]): Future[Response] = { updated: de...
e30b0470ada744beea540de1e7f64b288b4a54a7
core/src/main/scala/filodb.core/FutureUtils.scala
core/src/main/scala/filodb.core/FutureUtils.scala
Scala
<|file_sep|>original/LICENSE.md <|file_sep|>current/LICENSE.md <|file_sep|>updated/LICENSE.md
The MIT License (MIT) Copyright (c) 2015 Rudolph Gottesheim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
<|file_sep|>original/LICENSE.md <|file_sep|>current/LICENSE.md <|file_sep|>updated/LICENSE.md The MIT License (MIT) Copyright (c) 2015 Rudolph Gottesheim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the ...
f43c2524dff2d538630a97adccef350f364e662a
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/requirements-dev.txt flake8==3.3.0 pytest==3.1.3 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 coveralls==1.1 Sphinx==1.6.3 lz4tools==1.3.1.2 xxhash==1.0.1 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==2.3.0 alabaster==0.7.10 diff-cover==0.9.11 setuptools>=34.4.0 <|file_sep|>c...
flake8==3.3.0 pytest==3.1.3 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 coveralls==1.1 Sphinx==1.6.3 lz4tools==1.3.1.2 xxhash==1.0.1 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==2.3.0 alabaster==0.7.10 diff-cover==0.9.12 setuptools>=34.4.0
<|file_sep|>original/requirements-dev.txt flake8==3.3.0 pytest==3.1.3 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 coveralls==1.1 Sphinx==1.6.3 lz4tools==1.3.1.2 xxhash==1.0.1 sphinxcontrib-asyncio==0.2.0 sphinxcontrib-spelling==2.3.0 alabaster==0.7.10 diff-cover==0.9.11 setuptools>=34.4.0 <|file_sep|>c...
44a26c413cec0241da49c626f2ede84f2466cf88
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/db/feature_migrate/20120426073305_create_backlogs.rb t.timestamps end add_column :issues, :backlog_id, :integer # migrate data backlog = Backlog.create! name: "backlog", locked: false sprint_backlog = Backlog.create! name: "sprint_backlog", locked: false ...
t.timestamps end add_column :issues, :backlog_id, :integer # migrate data backlog = Backlog.create! name: "backlog", locked: false sprint_backlog = Backlog.create! name: "sprint_backlog", locked: false finished_backlog = Backlog.create! name: "finished_backlog", locked: false...
<|file_sep|>original/db/feature_migrate/20120426073305_create_backlogs.rb t.timestamps end add_column :issues, :backlog_id, :integer # migrate data backlog = Backlog.create! name: "backlog", locked: false sprint_backlog = Backlog.create! name: "sprint_backlog", locked: false ...
33d4023e1fc08870cb8206b50bd82a54839fd044
db/feature_migrate/20120426073305_create_backlogs.rb
db/feature_migrate/20120426073305_create_backlogs.rb
Ruby
<|file_sep|>proxy/src/main/java/com/wavefront/agent/DisableGZIPEncodingInterceptor.java.diff original: import org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages; updated: <|file_sep|>proxy/src/main/java/com/wavefront/agent/DisableGZIPEncodingInterceptor.java.diff original: updated: import java.util.logging.Logger; <...
* Content-Encoding header. * RESTEasy always adds "Content-Encoding: gzip" header when it encounters @GZIP annotation, but if the request body * is actually sent uncompressed, it violates section 3.1.2.2 of RFC7231. * * Created by vasily@wavefront.com on 6/9/17. */ public class DisableGZIPEncodingInterceptor impl...
<|file_sep|>proxy/src/main/java/com/wavefront/agent/DisableGZIPEncodingInterceptor.java.diff original: import org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages; updated: <|file_sep|>proxy/src/main/java/com/wavefront/agent/DisableGZIPEncodingInterceptor.java.diff original: updated: import java.util.logging.Logger; <...
83d7e1431024cd18faae6cba6543c5c0ae97e5af
proxy/src/main/java/com/wavefront/agent/DisableGZIPEncodingInterceptor.java
proxy/src/main/java/com/wavefront/agent/DisableGZIPEncodingInterceptor.java
Java
<|file_sep|>original/generators/deployment/templates/manifest_master.yml memory: {{{this.memory}}} {{/if ~}} {{#if this.domain }} domain: {{{this.domain}}} {{/if ~}} {{#if this.host }} host: {{{this.host}}} {{else}} random-route: true {{/if ~}} {{#if this.services }} services: {{#each this.ser...
memory: {{{this.memory}}} {{/if ~}} {{#if this.domain }} domain: {{{this.domain}}} {{/if ~}} {{#if this.host }} host: {{{this.host}}} {{else}} random-route: true {{/if ~}} {{#if this.health-check-type}} health-check-type: {{{this.health-check-type}}} {{/if ~}} {{#if this.health-check-http-en...
<|file_sep|>original/generators/deployment/templates/manifest_master.yml memory: {{{this.memory}}} {{/if ~}} {{#if this.domain }} domain: {{{this.domain}}} {{/if ~}} {{#if this.host }} host: {{{this.host}}} {{else}} random-route: true {{/if ~}} {{#if this.services }} services: {{#each this.ser...
869447cbf3e1207f04bba116585af3cb02b6e3e1
generators/deployment/templates/manifest_master.yml
generators/deployment/templates/manifest_master.yml
YAML
<|file_sep|>original/.travis.yml before_install: - | rvm install "$BUILD_RUBY_VERSION" rvm use "$BUILD_RUBY_VERSION" ruby --version ruby -e 'require "pp"; pp RbConfig::CONFIG' before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - | travis-cargo build &&...
before_install: - | rvm install "$BUILD_RUBY_VERSION" rvm use "$BUILD_RUBY_VERSION" ruby --version ruby -e 'require "pp"; pp RbConfig::CONFIG' before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH && mkdir -p target/debug/deps cp $(ruby -e 'puts File.join(RbConf...
<|file_sep|>original/.travis.yml before_install: - | rvm install "$BUILD_RUBY_VERSION" rvm use "$BUILD_RUBY_VERSION" ruby --version ruby -e 'require "pp"; pp RbConfig::CONFIG' before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - | travis-cargo build &&...
66173ce4ac1a041e8e0109d4cdad3d6036858e2a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/Main.elm module Main exposing (..) import Html exposing (programWithFlags) import Model exposing (Model) import Data.Wallet exposing (Wallet) import Update exposing (Msg, fetchBalance, update) import View exposing (view) main = programWithFlags { init = init, update = update, view = view...
module Main exposing (main) import Html exposing (programWithFlags) import Model exposing (Model) import Data.Wallet exposing (Wallet) import Update exposing (Msg, fetchBalance, update) import View exposing (view) main = programWithFlags { init = init, update = update, view = view, subscriptions = (\_ -> Sub.non...
<|file_sep|>original/app/Main.elm module Main exposing (..) import Html exposing (programWithFlags) import Model exposing (Model) import Data.Wallet exposing (Wallet) import Update exposing (Msg, fetchBalance, update) import View exposing (view) main = programWithFlags { init = init, update = update, view = view...
4bdd209503c975b8e654891e02a99ee2eac53c66
app/Main.elm
app/Main.elm
Elm
<|file_sep|>original/dockci/models/job_meta/config.py from yaml_model import LoadOnAccess, Model, OnAccess def get_job(slug): """ Wrapper to import, and return a Job object for the JobConfig to avoid cyclic import """ from dockci.models.job import Job return Job.query.filter_by(slug=slug).fir...
from yaml_model import LoadOnAccess, Model, OnAccess def get_job(slug): """ Wrapper to import, and return a Job object for the JobConfig to avoid cyclic import """ from dockci.models.job import Job return Job.load(slug) class JobConfig(Model): # pylint:disable=too-few-public-methods ""...
<|file_sep|>original/dockci/models/job_meta/config.py from yaml_model import LoadOnAccess, Model, OnAccess def get_job(slug): """ Wrapper to import, and return a Job object for the JobConfig to avoid cyclic import """ from dockci.models.job import Job return Job.query.filter_by(slug=slug).fir...
14e39e28c22da59049feeae0efd1a9fa2bfb51e6
dockci/models/job_meta/config.py
dockci/models/job_meta/config.py
Python
<|file_sep|>original/.travis.yml --- language: node_js sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - npm test <|file_sep|>current/.travis.yml --- langu...
--- language: node_js node_js: - "0.12" - "iojs" sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install
<|file_sep|>original/.travis.yml --- language: node_js sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - npm test <|file_sep|>current/.travis.yml --- langu...
b4b001ea8925b98e77debc8b662398ef768fd4e9
.travis.yml
.travis.yml
YAML
<|file_sep|>image_cropping/thumbnail_processors.py.diff original: updated: <|file_sep|>image_cropping/thumbnail_processors.py.diff original: if isinstance(box, basestring): if box.startswith('-'): pass # TBC: what does this indicate? No-op value? else: try: ...
""" if box and not box.startswith('-'): # a leading - indicates that cropping is disabled try: box = map(int, box.split(',')) except ValueError: # there's garbage in the cropping field, ignore logger.warning( 'Unable to parse "box" para...
<|file_sep|>image_cropping/thumbnail_processors.py.diff original: updated: <|file_sep|>image_cropping/thumbnail_processors.py.diff original: if isinstance(box, basestring): if box.startswith('-'): pass # TBC: what does this indicate? No-op value? else: try: ...
be746c870f2015507af5513a8636905cf9018001
image_cropping/thumbnail_processors.py
image_cropping/thumbnail_processors.py
Python
<|file_sep|>views/list.jade.diff original: updated: th Vue utilisateur <|file_sep|>original/views/list.jade .container-fluid .navbar-header a.navbar-brand(href="/") Dossier de Demande Simplifié ul.navbar-nav.nav li: a(href="/admin/situations") Situations en cours...
a.navbar-brand(href="/") Dossier de Demande Simplifié ul.navbar-nav.nav li: a(href="/admin/situations") Situations en cours .container .page-header h1 Dossiers ouverts table.table.table-striped.table-bordered tr th Code du dossier th...
<|file_sep|>views/list.jade.diff original: updated: th Vue utilisateur <|file_sep|>original/views/list.jade .container-fluid .navbar-header a.navbar-brand(href="/") Dossier de Demande Simplifié ul.navbar-nav.nav li: a(href="/admin/situations") Situations en cours...
98d838ce365e8b5183d8acf08daf06871ea20235
views/list.jade
views/list.jade
Jade
<|file_sep|>Help-Getting-Started.txt.diff original: 4. Roll a Pungi RPM to install on the build host by running "make pungi-rpm". updated: 4. Add your user to the "mock" group. <|file_sep|>Help-Getting-Started.txt.diff original: 5. Install the generated pungi rpm "# yum localinstall repos/my-repo/pungi*.noarch.rpm". up...
3. Add your user to /etc/sudoers (required since mock and livecd creator use chroots) 4. Add your user to the "mock" group. 5. Roll a Pungi RPM to install on the build host by running "make pungi-rpm". 6. Install the generated pungi rpm "# yum localinstall repos/my-repo/pungi*.noarch.rpm". 7. CHANGE THE DEFAULT PAS...
<|file_sep|>Help-Getting-Started.txt.diff original: 4. Roll a Pungi RPM to install on the build host by running "make pungi-rpm". updated: 4. Add your user to the "mock" group. <|file_sep|>Help-Getting-Started.txt.diff original: 5. Install the generated pungi rpm "# yum localinstall repos/my-repo/pungi*.noarch.rpm". up...
2b05a247dff6d227dc9fe5388c153db3175abeac
Help-Getting-Started.txt
Help-Getting-Started.txt
Text
<|file_sep|>original/modules/ws-messenger/commons/src/main/java/org/apache/airavata/wsmg/commons/MsgBoxQNameConstants.java <|file_sep|>current/modules/ws-messenger/commons/src/main/java/org/apache/airavata/wsmg/commons/MsgBoxQNameConstants.java <|file_sep|>updated/modules/ws-messenger/commons/src/main/java/org/apache...
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
<|file_sep|>original/modules/ws-messenger/commons/src/main/java/org/apache/airavata/wsmg/commons/MsgBoxQNameConstants.java <|file_sep|>current/modules/ws-messenger/commons/src/main/java/org/apache/airavata/wsmg/commons/MsgBoxQNameConstants.java <|file_sep|>updated/modules/ws-messenger/commons/src/main/java/org/apache...
d87b2e0823c7efa400a2ff1a4af09b6bc6d3fd3a
modules/ws-messenger/commons/src/main/java/org/apache/airavata/wsmg/commons/MsgBoxQNameConstants.java
modules/ws-messenger/commons/src/main/java/org/apache/airavata/wsmg/commons/MsgBoxQNameConstants.java
Java
<|file_sep|>original/.circleci/config.yml docker: # specify the version - image: circleci/golang:1.8 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circ...
docker: # specify the version - image: circleci/golang:1.8 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/postgres:9.4 #### TEMPLATE_NOTE:...
<|file_sep|>original/.circleci/config.yml docker: # specify the version - image: circleci/golang:1.8 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circ...
b377c69d87981fb9a4ba36302593b09778018ab6
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/test/CMakeLists.txt # 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 law or agreed to in writing, software # distributed under the License is distributed ...
# 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 law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES...
<|file_sep|>original/test/CMakeLists.txt # 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 law or agreed to in writing, software # distributed under the License is distributed ...
0f05a3ac3e8cfa61c5a1669825114a2a912525fd
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/.github/workflows/main.yml <|file_sep|>current/.github/workflows/main.yml <|file_sep|>updated/.github/workflows/main.yml
name: Code Quality on: push: paths: - "**.py" jobs: lint: name: Python Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: "2.7" - name: Run flake8 uses: julianwachholz/flake8-action@...
<|file_sep|>original/.github/workflows/main.yml <|file_sep|>current/.github/workflows/main.yml <|file_sep|>updated/.github/workflows/main.yml name: Code Quality on: push: paths: - "**.py" jobs: lint: name: Python Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - ...
2cf9e083fbc6cf2a1e7be97ea929f08cab5ed303
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/app/views/donations/_fully_funded.html.haml = image_tag('fully_funded.png') .small.uppcased_button_text .fully_funded_no_text This News Item is Fully Funded! .double_content_border <|file_sep|>current/app/views/donations/_fully_funded.html.haml = image_tag('fully_funded.png') .small.uppcased_bu...
= image_tag('fully_funded.png', :alt => 'This News Item is Fully Funded!')
<|file_sep|>original/app/views/donations/_fully_funded.html.haml = image_tag('fully_funded.png') .small.uppcased_button_text .fully_funded_no_text This News Item is Fully Funded! .double_content_border <|file_sep|>current/app/views/donations/_fully_funded.html.haml = image_tag('fully_funded.png') .small.uppcased_bu...
788ce5b5f53368df6606c41248f59f5d800b488f
app/views/donations/_fully_funded.html.haml
app/views/donations/_fully_funded.html.haml
Haml
<|file_sep|>original/src/main/java/leetcode/Problem81.java <|file_sep|>current/src/main/java/leetcode/Problem81.java <|file_sep|>updated/src/main/java/leetcode/Problem81.java
package leetcode; /** * https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ */ public class Problem81 { public boolean search(int[] nums, int target) { return false; } public static void main(String[] args) { Problem81 prob = new Problem81(); // System.out.println...
<|file_sep|>original/src/main/java/leetcode/Problem81.java <|file_sep|>current/src/main/java/leetcode/Problem81.java <|file_sep|>updated/src/main/java/leetcode/Problem81.java package leetcode; /** * https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ */ public class Problem81 { public boolean sear...
913c0e3f97560410c900b5977f3ab7776308ae28
src/main/java/leetcode/Problem81.java
src/main/java/leetcode/Problem81.java
Java
<|file_sep|>original/app/views/advocates/claims/archived.html.haml %h1.page-title = t('.archived_claims') %h2 #{pluralize(@claims.count, t('.archived_claim'))} #report-options.container = render partial: 'search_form', locals: { archived: true} #search-summary - if params[:search].present? = render partial...
%h1.page-title = t('.archived_claims') #report-options.container = render partial: 'search_form', locals: { archived: true} #search-summary - if params[:search].present? = render partial: 'shared/search_summary' #details = render partial: 'claims', locals: { claims: @claims } = paginate @claims
<|file_sep|>original/app/views/advocates/claims/archived.html.haml %h1.page-title = t('.archived_claims') %h2 #{pluralize(@claims.count, t('.archived_claim'))} #report-options.container = render partial: 'search_form', locals: { archived: true} #search-summary - if params[:search].present? = render partial...
966c2d5acc5882fda5e225cb048c1daac7eeecb0
app/views/advocates/claims/archived.html.haml
app/views/advocates/claims/archived.html.haml
Haml
<|file_sep|>original/lib/helpers.js o_.lowerFirstLetter = function(string){ if(!string) return; return string.charAt(0).toLowerCase() + string.slice(1); }; o_.sanitizeObject = function(object){ if(Meteor.isServer){ var sanitizedObject = {}; _.each(_.pairs(object), function(lonelyArray){ ...
o_.lowerFirstLetter = function(string){ if(!string) return; return string.charAt(0).toLowerCase() + string.slice(1); }; o_.sanitizeObject = function(object){ if(Meteor.isServer){ var sanitizedObject = {}; _.each(_.pairs(object), function(lonelyArray){ if(sanitizedObject[0] === ...
<|file_sep|>original/lib/helpers.js o_.lowerFirstLetter = function(string){ if(!string) return; return string.charAt(0).toLowerCase() + string.slice(1); }; o_.sanitizeObject = function(object){ if(Meteor.isServer){ var sanitizedObject = {}; _.each(_.pairs(object), function(lonelyArray){ ...
a107b97aca1d6346811f4fba3bd2cc0dcded2dff
lib/helpers.js
lib/helpers.js
JavaScript
<|file_sep|>routes/api/save-project.js.diff original: updated: const fs = require('fs') const { join } = require('path') const idyll = require('idyll') <|file_sep|>routes/api/save-project.js.diff original: updated: const build = (req, cb) => { const { owner, name } = req.params const { username } = req.cookies ...
const project = { ...req.body, ...artifacts } requests .createTree(req, project) .then(tree => { return requests.createCommit(req, project, tree.body) }) .then(commit => { project.lastCommit = commit.body return requests.updateRef(req, project, commit.body) ...
<|file_sep|>routes/api/save-project.js.diff original: updated: const fs = require('fs') const { join } = require('path') const idyll = require('idyll') <|file_sep|>routes/api/save-project.js.diff original: updated: const build = (req, cb) => { const { owner, name } = req.params const { username } = req.cookies ...
c40abc1eab66b8c63da5a804fe9c2e7a3aadc106
routes/api/save-project.js
routes/api/save-project.js
JavaScript
<|file_sep|>example.py.diff original: updated: import json <|file_sep|>original/example.py def main(): s = Schedule(["EECE 353", "CPSC 304", "EECE 381", "GEOG 122"], session="2014W", terms=[2]) # STTs are for Vantage College students s.courses["GEOG 122"].add_constraint( lambda a...
# students, so removing that and only setting Lecture and Discussion s.courses["GEOG 122"].num_section_constraints = [ (Lecture, 1), (Discussion, 1) ] return s.generate_schedules() if __name__ == '__main__': start_time = datetime.now() scheds = main() # Unwrap activities out of c...
<|file_sep|>example.py.diff original: updated: import json <|file_sep|>original/example.py def main(): s = Schedule(["EECE 353", "CPSC 304", "EECE 381", "GEOG 122"], session="2014W", terms=[2]) # STTs are for Vantage College students s.courses["GEOG 122"].add_constraint( lambda a...
18c99ee2b96564913cbd406bb540af10b078b2f3
example.py
example.py
Python
<|file_sep|>original/README.md This library provides some useful classes that help you integrate Google Guice into your JavaFX based applications. The idea for that class was born after I read an article on fxexperience.com (http://fxexperience.com/2011/10/fxml-guice/). Therefore,... credits go to 'Richard Bair' for t...
fx-guice ======== [![Build Status](https://travis-ci.org/cathive/fx-guice.png)](https://travis-ci.org/cathive/fx-guice) This library provides some useful classes that help you integrate Google Guice into your JavaFX based applications. The idea for that class was born after I read an article on fxexperience.com (htt...
<|file_sep|>original/README.md This library provides some useful classes that help you integrate Google Guice into your JavaFX based applications. The idea for that class was born after I read an article on fxexperience.com (http://fxexperience.com/2011/10/fxml-guice/). Therefore,... credits go to 'Richard Bair' for t...
d14bf3246f1bdd3e1c0e2dcfaa10b3288e188f4b
README.md
README.md
Markdown
<|file_sep|>original/metadata/com.brosmike.airpushdetector.txt . Repo Type:git Repo:https://github.com/brosmike/AirPush-Detector.git Build:2.4,7 commit=7c6baa68d target=android-16 Build:3.1,10 commit=f88eb3c8a target=android-16 Build:3.2,11 commit=2bdfa08f0f72fcd target=android-17 Auto Upda...
. Repo Type:git Repo:https://github.com/brosmike/AirPush-Detector.git Build:2.4,7 commit=7c6baa68d target=android-16 Build:3.1,10 commit=f88eb3c8a target=android-16 Build:3.2,11 commit=2bdfa08f0f72fcd target=android-17 Auto Update Mode:None Update Check Mode:RepoManifest Current Version:3.2...
<|file_sep|>original/metadata/com.brosmike.airpushdetector.txt . Repo Type:git Repo:https://github.com/brosmike/AirPush-Detector.git Build:2.4,7 commit=7c6baa68d target=android-16 Build:3.1,10 commit=f88eb3c8a target=android-16 Build:3.2,11 commit=2bdfa08f0f72fcd target=android-17 Auto Upda...
a74ac562932b1b760094c428fe842152c963573e
metadata/com.brosmike.airpushdetector.txt
metadata/com.brosmike.airpushdetector.txt
Text
<|file_sep|>original/src/UiTID/InMemoryCacheDecoratedUsers.php <|file_sep|>current/src/UiTID/InMemoryCacheDecoratedUsers.php <|file_sep|>updated/src/UiTID/InMemoryCacheDecoratedUsers.php
<?php /** * @file */ namespace CultuurNet\UDB3\UiTID; use Psr\Log\LoggerAwareInterface; use Psr\Log\LoggerAwareTrait; use Psr\Log\NullLogger; use ValueObjects\String\String; use ValueObjects\Web\EmailAddress; class InMemoryCacheDecoratedUsers implements UsersInterface, LoggerAwareInterface { use LoggerAwareTra...
<|file_sep|>original/src/UiTID/InMemoryCacheDecoratedUsers.php <|file_sep|>current/src/UiTID/InMemoryCacheDecoratedUsers.php <|file_sep|>updated/src/UiTID/InMemoryCacheDecoratedUsers.php <?php /** * @file */ namespace CultuurNet\UDB3\UiTID; use Psr\Log\LoggerAwareInterface; use Psr\Log\LoggerAwareTrait; use Psr\L...
a146951cb8012f994dc3a2b71e7e778a95a1dce9
src/UiTID/InMemoryCacheDecoratedUsers.php
src/UiTID/InMemoryCacheDecoratedUsers.php
PHP
<|file_sep|>original/releasenotes/source/index.rst Welcome to Nova Release Notes documentation! ============================================== Contents ======== .. toctree:: :maxdepth: 1 unreleased stein rocky queens pike ocata newton mitaka liberty <|file_sep|>current/releasenotes/sour...
================== Nova Release Notes ================== .. toctree:: :maxdepth: 1 unreleased stein rocky queens pike ocata newton mitaka liberty
<|file_sep|>original/releasenotes/source/index.rst Welcome to Nova Release Notes documentation! ============================================== Contents ======== .. toctree:: :maxdepth: 1 unreleased stein rocky queens pike ocata newton mitaka liberty <|file_sep|>current/releasenotes/sour...
124229705ee5feee5cc53d7ade10a264e781631c
releasenotes/source/index.rst
releasenotes/source/index.rst
reStructuredText
<|file_sep|>original/packaging/bintray-travis.json { "package": { "name": "qmk-firmware-flasher", "repo": "generic", "subject": "noahandrews" }, "version": { "name": "0.5.1" }, "files": [ { "includePattern": "dist/mac/(mac-.*.asar)", "uploadPattern": "$1" } ] } <|file_sep...
{ "package": { "name": "qmk-firmware-flasher", "repo": "generic", "subject": "noahandrews" }, "version": { "name": "0.5.1" }, "files": [ { "includePattern": "dist/mac/(mac-.*.asar)", "uploadPattern": "$1" } ], "publish": true }
<|file_sep|>original/packaging/bintray-travis.json { "package": { "name": "qmk-firmware-flasher", "repo": "generic", "subject": "noahandrews" }, "version": { "name": "0.5.1" }, "files": [ { "includePattern": "dist/mac/(mac-.*.asar)", "uploadPattern": "$1" } ] } <|file_sep...
e10bf835ea5ab4c1820500219a89040cd96ccc10
packaging/bintray-travis.json
packaging/bintray-travis.json
JSON
<|file_sep|>original/_includes/about.html <!-- About Section --> <section id="about" class="container content-section text-center"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> <h2>About Neurohackweek</h2> <p>Neurohackweek is a 5-day hands-on works...
<!-- About Section --> <section id="about" class="container content-section text-center"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> <h2>Neurohackweek, September 4th-8th, 2017</h2> <p>Neurohackweek is a 5-day hands-on workshop in neuroimaging and...
<|file_sep|>original/_includes/about.html <!-- About Section --> <section id="about" class="container content-section text-center"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> <h2>About Neurohackweek</h2> <p>Neurohackweek is a 5-day hands-on works...
f93e5b4b39fab30495ffff0ed819694b755d9b61
_includes/about.html
_includes/about.html
HTML
<|file_sep|>original/client/dist/css/securityalerts.css .site-summary__security-alerts { margin: 0; } .security-alerts__list { margin-top: 8px; display: none; } .security-alerts__toggler { cursor: pointer; } <|file_sep|>current/client/dist/css/securityalerts.css .site-summary__security-alerts { margin: 0; }...
.site-summary__security-alerts { margin: 0; } .package-summary__security-alerts ul { margin-bottom: 0; } .security-alerts__list { margin-top: 8px; display: none; } .security-alerts__toggler { cursor: pointer; }
<|file_sep|>original/client/dist/css/securityalerts.css .site-summary__security-alerts { margin: 0; } .security-alerts__list { margin-top: 8px; display: none; } .security-alerts__toggler { cursor: pointer; } <|file_sep|>current/client/dist/css/securityalerts.css .site-summary__security-alerts { margin: 0; }...
938ac4ac2b2ea40d3ba161cf8b4d59637069f08e
client/dist/css/securityalerts.css
client/dist/css/securityalerts.css
CSS
<|file_sep|>original/.travis.yml - "export TRAVIS_COMMIT_MSG=\"$(git log --format=%f --no-merges -n 1)\"" install: - pip install -r requirements.txt - pip install coveralls - python setup.py install script: - python setup.py clean --all - py3clean . - coverage run --source=vulk setup.py test - flake8 ...
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%f --no-merges -n 1)\"" install: - pip install -r requirements.txt - pip install coveralls - python setup.py install script: - python setup.py clean --all - py3clean . - coverage run --source=vulk --omit="vulk/tests*" setup.py test - flake8 vulk - pyl...
<|file_sep|>original/.travis.yml - "export TRAVIS_COMMIT_MSG=\"$(git log --format=%f --no-merges -n 1)\"" install: - pip install -r requirements.txt - pip install coveralls - python setup.py install script: - python setup.py clean --all - py3clean . - coverage run --source=vulk setup.py test - flake8 ...
89a473c2d91f31940eaf35ad9a8f7a94b43474c4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/rack-archive-zip-extract.gemspec Gem::Specification.new do |spec| spec.name = 'rack-archive-zip-extract' spec.version = '0.0.3' spec.summary = 'Zip file server' spec.description = 'Rack::Archive::Zip::Extract serves files in zip archives.' spec.authors = ['KITAITI Makoto'] spec.email = ...
Gem::Specification.new do |spec| spec.name = 'rack-archive-zip-extract' spec.version = '0.0.3' spec.summary = 'Zip file server' spec.description = 'Rack::Archive::Zip::Extract serves files in zip archives.' spec.authors = ['KITAITI Makoto'] spec.email = 'KitaitiMakoto@gmail.com' spec.required_ruby_version...
<|file_sep|>original/rack-archive-zip-extract.gemspec Gem::Specification.new do |spec| spec.name = 'rack-archive-zip-extract' spec.version = '0.0.3' spec.summary = 'Zip file server' spec.description = 'Rack::Archive::Zip::Extract serves files in zip archives.' spec.authors = ['KITAITI Makoto'] spec.email = ...
0dc719331264661b30f06d9cf3abbc3edbf6a3e6
rack-archive-zip-extract.gemspec
rack-archive-zip-extract.gemspec
Ruby
<|file_sep|>original/common/components/Lang.php <?php namespace common\components; use Yii; class Lang { /** * AHNAMES Lng to Yii2 i18n * @param null $txt * @param string $path * * @return string */ public static function l($txt=null, $path='app') { if ($txt!==null) { ...
use Yii; class Lang { /** * AHNAMES Lng to Yii2 i18n * @param null $txt * @param string $path * * @return string */ public static function l($txt=null, $path='app') { return self::t($txt, $path); } public static function t($txt=null, $path='app') { if ($tx...
<|file_sep|>original/common/components/Lang.php <?php namespace common\components; use Yii; class Lang { /** * AHNAMES Lng to Yii2 i18n * @param null $txt * @param string $path * * @return string */ public static function l($txt=null, $path='app') { if ($txt!==null) { ...
295a83c696d26716857fba936b25c3140e8a54b7
common/components/Lang.php
common/components/Lang.php
PHP
<|file_sep|>.travis.yml.diff original: matrix: include: - php: 7.1 env: COVERAGE=1 updated: <|file_sep|>.travis.yml.diff original: # Deactivate xdebug if we don't do code coverage - if [ -z "$COVERAGE" ]; then rm -rfv /home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ; fi updat...
language: php php: - 7.1 cache: directories: - vendor - $HOME/.composer/cache before_script: - composer install script: - ./vendor/bin/php-cs-fixer fix --diff --verbose --dry-run - ./vendor/bin/phpunit --coverage-clover coverage-clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.p...
<|file_sep|>.travis.yml.diff original: matrix: include: - php: 7.1 env: COVERAGE=1 updated: <|file_sep|>.travis.yml.diff original: # Deactivate xdebug if we don't do code coverage - if [ -z "$COVERAGE" ]; then rm -rfv /home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ; fi updat...
e5aa0e007cdfaca3d91c59693222578031b6235a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # name-to-point Преобразует локальное имя объекта в координату ### Install dependencies `npm install` ### How to run? * **Multi-OS** `npm start` <|file_sep|>current/README.md # name-to-point Преобразует локальное имя объекта в координату ### Install dependencies `npm install` ### How ...
# name-to-point Преобразует локальное имя объекта в координату ### Install dependencies `npm install` ### How to run? * **Multi-OS** `npm start` ### How to work? - `GET /location` for get geolocation points. Example: ``` GET /location?name=ул.%20Лиможа&base=Гродно [ { name: "улица Лиможа, Девятовка–1, Лени...
<|file_sep|>original/README.md # name-to-point Преобразует локальное имя объекта в координату ### Install dependencies `npm install` ### How to run? * **Multi-OS** `npm start` <|file_sep|>current/README.md # name-to-point Преобразует локальное имя объекта в координату ### Install dependencies `npm install` ### How ...
d710139544c8b52f3021551018ee2905917cc1e3
README.md
README.md
Markdown
<|file_sep|>original/db/migrate/20191010143350_add_conditioning_unit_to_products.rb SET delta = m.delta * v.default_quantity FROM products AS p INNER JOIN product_nature_variants AS v ON p.variant_id = v.id WHERE m.product_id = p.id AND p.conditioning_unit_id IS NULL; UP...
SET delta = m.delta * v.default_quantity FROM products AS p INNER JOIN product_nature_variants AS v ON p.variant_id = v.id WHERE m.product_id = p.id AND p.conditioning_unit_id IS NULL; UPDATE products AS p SET conditioning_unit_id = v.default_unit_id FROM pro...
<|file_sep|>original/db/migrate/20191010143350_add_conditioning_unit_to_products.rb SET delta = m.delta * v.default_quantity FROM products AS p INNER JOIN product_nature_variants AS v ON p.variant_id = v.id WHERE m.product_id = p.id AND p.conditioning_unit_id IS NULL; UP...
7021f88584ea6a469072446074ede531bd845305
db/migrate/20191010143350_add_conditioning_unit_to_products.rb
db/migrate/20191010143350_add_conditioning_unit_to_products.rb
Ruby
<|file_sep|>TacticalAdvanceMissionBuilder/supported_scripts.json.diff original: "Init": "" updated: "Init": "_logistic = execVM \"fw_scripts\\=BTC=_Logistic\\=BTC=_Logistic_Init.sqf\";" <|file_sep|>TacticalAdvanceMissionBuilder/supported_scripts.json.diff original: "DescriptionExtInit": "", "Description...
"FriendlyName": "=BTC= Logistics", "FolderName": "=BTC= Logistics", "DescriptionExtInit": "", "DescriptionExtFunctions": "", "Init": "_logistic = execVM \"fw_scripts\\=BTC=_Logistic\\=BTC=_Logistic_Init.sqf\";" }, { "FriendlyName": "TAW View Distance", "FolderName": "TAW_VD", "Descri...
<|file_sep|>TacticalAdvanceMissionBuilder/supported_scripts.json.diff original: "Init": "" updated: "Init": "_logistic = execVM \"fw_scripts\\=BTC=_Logistic\\=BTC=_Logistic_Init.sqf\";" <|file_sep|>TacticalAdvanceMissionBuilder/supported_scripts.json.diff original: "DescriptionExtInit": "", "Description...
c2f4b2b3ca7499bc78c4cd55eb372db5eef55ec0
TacticalAdvanceMissionBuilder/supported_scripts.json
TacticalAdvanceMissionBuilder/supported_scripts.json
JSON
<|file_sep|>original/simple_form.gemspec Gem::Specification.new do |s| s.name = "simple_form" s.version = SimpleForm::VERSION.dup s.platform = Gem::Platform::RUBY s.summary = "Forms made easy!" s.email = "opensource@plataformatec.com.br" s.homepage = "https://github.com/plataforma...
Gem::Specification.new do |s| s.name = "simple_form" s.version = SimpleForm::VERSION.dup s.platform = Gem::Platform::RUBY s.summary = "Forms made easy!" s.email = "opensource@plataformatec.com.br" s.homepage = "https://github.com/plataformatec/simple_form" s.description = "Forms...
<|file_sep|>original/simple_form.gemspec Gem::Specification.new do |s| s.name = "simple_form" s.version = SimpleForm::VERSION.dup s.platform = Gem::Platform::RUBY s.summary = "Forms made easy!" s.email = "opensource@plataformatec.com.br" s.homepage = "https://github.com/plataforma...
42d199a732cefc4812b2fe2cba87b38f47a35a49
simple_form.gemspec
simple_form.gemspec
Ruby
<|file_sep|>lib/metacrunch/elasticsearch/destination.rb.diff original: result_callback: nil updated: result_callback: nil, bulk_options: {} <|file_sep|>lib/metacrunch/elasticsearch/destination.rb.diff original: @options = DEFAULT_OPTIONS.merge(options) updated: @options = DEFAULT_OPTIONS.d...
def initialize(elasticsearch_client, options = {}) @client = elasticsearch_client @options = DEFAULT_OPTIONS.deep_merge(options) end def write(data) return if data.blank? # Call elasticsearch bulk api bulk_options = @options[:bulk_options] bulk_options[:body] = data ...
<|file_sep|>lib/metacrunch/elasticsearch/destination.rb.diff original: result_callback: nil updated: result_callback: nil, bulk_options: {} <|file_sep|>lib/metacrunch/elasticsearch/destination.rb.diff original: @options = DEFAULT_OPTIONS.merge(options) updated: @options = DEFAULT_OPTIONS.d...
e3af6db6ee8196dff1c5022adeae9a8ec008781d
lib/metacrunch/elasticsearch/destination.rb
lib/metacrunch/elasticsearch/destination.rb
Ruby
<|file_sep|>original/emacs/.emacs.d/lisp/ds-sql.el (add-hook 'sql-mode-hook #'flycheck-mode) (defun ds/set-product-postgres () (sql-set-product "postgres")) (add-hook 'sql-mode-hook #'ds/set-product-postgres) (use-package sql-indent :ensure t :config (add-hook 'sql-mode-hook #'sql-indent-minor-mode) (setq...
(add-hook 'sql-mode-hook #'flycheck-mode) (defun ds/set-product-postgres () (sql-set-product "postgres")) (add-hook 'sql-mode-hook #'ds/set-product-postgres) (use-package sql-indent :ensure t :config (add-hook 'sql-mode-hook #'sqlind-minor-mode) (setq-default sqlind-indentation-offsets-alist ...
<|file_sep|>original/emacs/.emacs.d/lisp/ds-sql.el (add-hook 'sql-mode-hook #'flycheck-mode) (defun ds/set-product-postgres () (sql-set-product "postgres")) (add-hook 'sql-mode-hook #'ds/set-product-postgres) (use-package sql-indent :ensure t :config (add-hook 'sql-mode-hook #'sql-indent-minor-mode) (setq...
c39fd82f936bd38151e9f8ba05e9803aa6036c5a
emacs/.emacs.d/lisp/ds-sql.el
emacs/.emacs.d/lisp/ds-sql.el
Emacs Lisp
<|file_sep|>original/server.js var http = require('http'); var fs = require('fs'); var path = require('path'); var mime = require('mime'); var cache = {}; function send404(response) { response.writeHead(404, {'Content-Type': 'text/plain'}); response.write('Error 404: resource not found.'); response.end(); } fun...
response.end(); } function sendFile(response, filePath, fileContents) { response.writeHead( 200, {'Content-Type': mime.lookup(path.basename(filePath))} ); response.end(fileContents); } function serveStatic(response, cache, absPath) { if (cache[absPath]) { sendFile(response, absPath, cache[absPat...
<|file_sep|>original/server.js var http = require('http'); var fs = require('fs'); var path = require('path'); var mime = require('mime'); var cache = {}; function send404(response) { response.writeHead(404, {'Content-Type': 'text/plain'}); response.write('Error 404: resource not found.'); response.end(); } fun...
188f10af537bfdfb3e0c24c676b129efca9117f5
server.js
server.js
JavaScript
<|file_sep|>original/packages/ha/hall-symbols.yaml <|file_sep|>current/packages/ha/hall-symbols.yaml <|file_sep|>updated/packages/ha/hall-symbols.yaml
homepage: https://github.com/narumij/hall-symbols#readme changelog-type: markdown hash: 1de53c583ca52137078b3dffd5612c27b5ce96b81eba919e63d04496e3d7781a test-bench-deps: base: ! '>=4.7 && <5' hspec: -any matrix: -any parsec: -any doctest: -any hall-symbols: -any matrix-as-xyz: -any QuickCheck: -any main...
<|file_sep|>original/packages/ha/hall-symbols.yaml <|file_sep|>current/packages/ha/hall-symbols.yaml <|file_sep|>updated/packages/ha/hall-symbols.yaml homepage: https://github.com/narumij/hall-symbols#readme changelog-type: markdown hash: 1de53c583ca52137078b3dffd5612c27b5ce96b81eba919e63d04496e3d7781a test-bench-dep...
b40d3d9c9bb92b4e4a9004d9e0003de618c44786
packages/ha/hall-symbols.yaml
packages/ha/hall-symbols.yaml
YAML
<|file_sep|>manifest.yml.diff original: version: 1.9.9 updated: version: 1.9.10 <|file_sep|>manifest.yml.diff original: version: 1.9.9 uri: https://pivotal-buildpacks.s3.amazonaws.com/concourse-binaries/nginx/nginx-1.9.9-linux-x64.tgz updated: version: 1.9.10 uri: https://pivotal-buildpacks.s3.a...
- .gitignore - .gitmodules - .rspec - cf_spec/ - log/ - test/ - buildpack-packager/ - staticfile_buildpack-*v*.zip url_to_dependency_map: - match: nginx.tgz name: nginx version: 1.9.10 dependencies: - name: nginx version: 1.9.10 uri: https://pivotal-buildpacks.s3.amazonaws.com/conc...
<|file_sep|>manifest.yml.diff original: version: 1.9.9 updated: version: 1.9.10 <|file_sep|>manifest.yml.diff original: version: 1.9.9 uri: https://pivotal-buildpacks.s3.amazonaws.com/concourse-binaries/nginx/nginx-1.9.9-linux-x64.tgz updated: version: 1.9.10 uri: https://pivotal-buildpacks.s3.a...
484e4f606cb76b83bd6e9f8d62190532968f74ec
manifest.yml
manifest.yml
YAML
<|file_sep|>original/src/Illuminate/Database/Schema/MySqlBuilder.php <?php namespace Illuminate\Database\Schema; class MySqlBuilder extends Builder { /** * Determine if the given table exists. * * @param string $table * @return bool */ public function hasTable($table) { $sql = $this->grammar->compile...
class MySqlBuilder extends Builder { /** * Determine if the given table exists. * * @param string $table * @return bool */ public function hasTable($table) { $sql = $this->grammar->compileTableExists(); $database = $this->connection->getDatabaseName(); $table = $this->connection->getTablePrefix...
<|file_sep|>original/src/Illuminate/Database/Schema/MySqlBuilder.php <?php namespace Illuminate\Database\Schema; class MySqlBuilder extends Builder { /** * Determine if the given table exists. * * @param string $table * @return bool */ public function hasTable($table) { $sql = $this->grammar->compile...
1553f0ca825b255ca958168f2d3a06c0cee54904
src/Illuminate/Database/Schema/MySqlBuilder.php
src/Illuminate/Database/Schema/MySqlBuilder.php
PHP
<|file_sep|>original/app/src/main/java/org/tb/sundtektvinput/MainFragment.java import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import android.webkit.WebViewClient; /** * Fragment that shows a web page for Sample TV Input introduction. */ public class MainFragment extends Fragm...
import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import android.webkit.WebViewClient; /** * Fragment that shows a web page for Sample TV Input introduction. */ public class MainFragment extends Fragment { private static final String URL = "https://github.com/tam...
<|file_sep|>original/app/src/main/java/org/tb/sundtektvinput/MainFragment.java import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import android.webkit.WebViewClient; /** * Fragment that shows a web page for Sample TV Input introduction. */ public class MainFragment extends Fragm...
30920549c5bb53cc0ca5736a95e5d14b578bb544
app/src/main/java/org/tb/sundtektvinput/MainFragment.java
app/src/main/java/org/tb/sundtektvinput/MainFragment.java
Java
<|file_sep|>original/src/containers/Counter/counter.scss .counter { text-align: center; } .counter__button { border-radius: 100%; background: #fff; border: 1px solid black; font-size: 20px; width: 50px; height: 50px; } .counter__button--async { border-radius: 5px; width: auto; } .counter__button:ho...
.counter { text-align: center; border: 1px solid black; border-radius: 5px; width: 250px; height: 150px; padding: 10px; } .counter__button { border-radius: 100%; background: #fff; border: 1px solid black; font-size: 20px; width: 50px; height: 50px; } .counter__button--async { border-radius: ...
<|file_sep|>original/src/containers/Counter/counter.scss .counter { text-align: center; } .counter__button { border-radius: 100%; background: #fff; border: 1px solid black; font-size: 20px; width: 50px; height: 50px; } .counter__button--async { border-radius: 5px; width: auto; } .counter__button:ho...
21eff0f92a7693284fe577b141cbb7328e19e4a6
src/containers/Counter/counter.scss
src/containers/Counter/counter.scss
SCSS
<|file_sep|>original/guides/calculators/tax-calculator.md <|file_sep|>current/guides/calculators/tax-calculator.md <|file_sep|>updated/guides/calculators/tax-calculator.md
# Tax calculator Solidus comes with a tax calculator that is used to calculate both sales tax (United States-style taxes) and value-added tax (VAT): [`Spree::Calculator::DefaultTax`][default-tax-calculator]. Typically, this calculator should be the only tax calculator required by your store. Taxes can apply to line i...
<|file_sep|>original/guides/calculators/tax-calculator.md <|file_sep|>current/guides/calculators/tax-calculator.md <|file_sep|>updated/guides/calculators/tax-calculator.md # Tax calculator Solidus comes with a tax calculator that is used to calculate both sales tax (United States-style taxes) and value-added tax (VA...
b49dbf79d558abcad4c108e7b0a500757877df79
guides/calculators/tax-calculator.md
guides/calculators/tax-calculator.md
Markdown
<|file_sep|>composer.json.diff original: "nette/utils": "^2.4", "damejidlo/coding-standard": "^0.10.0" updated: "nette/utils": "^2.4" <|file_sep|>original/composer.json "homepage": "http://petrhejna.org", "email": "hejna.peter@gmail.com" } ], "require": { "nette/security": "^2.4", "php": ">=7.1", ...
"homepage": "http://petrhejna.org", "email": "hejna.peter@gmail.com" } ], "require": { "nette/security": "^2.4", "php": ">=7.1", "nette/utils": "^2.4" }, "require-dev": { "damejidlo/coding-standard": "^0.10.0", "nette/tester": "^2.2", "mockery/mockery": "^1.2" }, "autoload": { "psr-4": { ...
<|file_sep|>composer.json.diff original: "nette/utils": "^2.4", "damejidlo/coding-standard": "^0.10.0" updated: "nette/utils": "^2.4" <|file_sep|>original/composer.json "homepage": "http://petrhejna.org", "email": "hejna.peter@gmail.com" } ], "require": { "nette/security": "^2.4", "php": ">=7.1", ...
b63adb4a46a1d7785ce769a1603a63795d046233
composer.json
composer.json
JSON
<|file_sep|>metadata/com.correctsyntax.biblenotify.yml.diff original: updated: - versionName: '4.0' versionCode: 12 commit: 922f4e6f3247e5c8f4657d63db2f448ec2b07a32 subdir: app gradle: - yes <|file_sep|>original/metadata/com.correctsyntax.biblenotify.yml SourceCode: https://github.com/BibleNot...
Repo: https://github.com/BibleNotify/BibleNotify.git Builds: - versionName: '3.0' versionCode: 8 commit: v3.1.1 subdir: app gradle: - yes - versionName: '4.0' versionCode: 12 commit: 922f4e6f3247e5c8f4657d63db2f448ec2b07a32 subdir: app gradle: - yes AutoUpdateMode: Ver...
<|file_sep|>metadata/com.correctsyntax.biblenotify.yml.diff original: updated: - versionName: '4.0' versionCode: 12 commit: 922f4e6f3247e5c8f4657d63db2f448ec2b07a32 subdir: app gradle: - yes <|file_sep|>original/metadata/com.correctsyntax.biblenotify.yml SourceCode: https://github.com/BibleNot...
a2f911d2d536fb29f0f96f15c06f71ed7e8c4093
metadata/com.correctsyntax.biblenotify.yml
metadata/com.correctsyntax.biblenotify.yml
YAML
<|file_sep|>original/library/mps/common.h * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing per...
/** * \file common.h * * \brief Common functions and macros used by MPS */ #ifndef MBEDTLS_MPS_COMMON_H #define MBEDTLS_MPS_COMMON_H /** * \name SECTION: MPS Configuration * * \{ */ /*! This flag enables/disables assertions on the internal state of MPS. * * Assertions are sanity checks that should ...
<|file_sep|>original/library/mps/common.h * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing per...
6ed183cf0022fdc65b0bfcd883dd3a9c4e231a19
library/mps/common.h
library/mps/common.h
C
<|file_sep|>radio/__init__.py.diff original: updated: import logging <|file_sep|>radio/__init__.py.diff original: updated: logger = logging.getLogger(__name__) <|file_sep|>original/radio/__init__.py from django.utils.version import get_version from subprocess import check_output, CalledProcessError VERSION = (0, ...
import logging from django.utils.version import get_version from subprocess import check_output, CalledProcessError logger = logging.getLogger(__name__) VERSION = (0, 0, 3, 'beta', 1) __version__ = get_version(VERSION) try: __git_hash__ = check_output(['git', 'rev-parse', '--short', 'HEAD']).strip().decode() ...
<|file_sep|>radio/__init__.py.diff original: updated: import logging <|file_sep|>radio/__init__.py.diff original: updated: logger = logging.getLogger(__name__) <|file_sep|>original/radio/__init__.py from django.utils.version import get_version from subprocess import check_output, CalledProcessError VERSION = (0, ...
89a8d6021d8ca8a714af018f3168298109013c6f
radio/__init__.py
radio/__init__.py
Python
<|file_sep|>original/.travis.yml - 1.11.x - 1.12.x - 1.13.x - 1.14.x - 1.15.x - tip script: - make test - ./go.test.sh after_success: - bash <(curl -s https://codecov.io/bash) notifications: slack: if: branch = main on_pull_requests: false on_success: never on_failure: change ...
- 1.12.x - 1.13.x - 1.14.x - 1.15.x - tip script: - make test - ./go.test.sh after_success: - bash <(curl -s https://codecov.io/bash) notifications: slack: if: branch = main on_pull_requests: false on_success: never on_failure: change rooms: - secure: IeJzY9FGjI5yK9fisoQst...
<|file_sep|>original/.travis.yml - 1.11.x - 1.12.x - 1.13.x - 1.14.x - 1.15.x - tip script: - make test - ./go.test.sh after_success: - bash <(curl -s https://codecov.io/bash) notifications: slack: if: branch = main on_pull_requests: false on_success: never on_failure: change ...
cc4a64b785dee74a9cb9a039e1739c2b68e2dcee
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/exception_notifier/squash_ruby.rb <|file_sep|>current/lib/exception_notifier/squash_ruby.rb <|file_sep|>updated/lib/exception_notifier/squash_ruby.rb
require "squash/ruby" module Squash::Ruby # You need to set a configuration :filter_env_vars and :filter_argv # These are supposed to contain lambdas/procs that will filter the contents of these arrays before sending them up to the Squash server class << self private alias :environment_data__original ...
<|file_sep|>original/lib/exception_notifier/squash_ruby.rb <|file_sep|>current/lib/exception_notifier/squash_ruby.rb <|file_sep|>updated/lib/exception_notifier/squash_ruby.rb require "squash/ruby" module Squash::Ruby # You need to set a configuration :filter_env_vars and :filter_argv # These are supposed to con...
3fcbed3a9696a5bccd3064f0a96d7f1f762ec6ba
lib/exception_notifier/squash_ruby.rb
lib/exception_notifier/squash_ruby.rb
Ruby
<|file_sep|>original/plugins/push_notification/test/helpers/observers_test_helper.rb def create_add_friend_task user1 = fast_create(User) person = fast_create(Person, :user_id => user1.id) user2 = fast_create(User) friend = fast_create(Person, :user_id => user2.id) return AddFriend.create!(:reque...
def create_add_friend_task user1 = fast_create(User) person = fast_create(Person, :user_id => user1.id) user2 = fast_create(User) friend = fast_create(Person, :user_id => user2.id) return AddFriend.create!(:requestor => person, :target => friend) end def create_add_member_task user = fas...
<|file_sep|>original/plugins/push_notification/test/helpers/observers_test_helper.rb def create_add_friend_task user1 = fast_create(User) person = fast_create(Person, :user_id => user1.id) user2 = fast_create(User) friend = fast_create(Person, :user_id => user2.id) return AddFriend.create!(:reque...
0b13c293bd3efef3e72d8130ad2cbebae526e624
plugins/push_notification/test/helpers/observers_test_helper.rb
plugins/push_notification/test/helpers/observers_test_helper.rb
Ruby
<|file_sep|>original/mbc-transactional-digest/mbc-transactional-digest.php * compose a single digest message request. */ date_default_timezone_set('America/New_York'); define('CONFIG_PATH', __DIR__ . '/messagebroker-config'); // Load up the Composer autoload magic require_once __DIR__ . '/vendor/autoload.php'; use...
* compose a single digest message request. */ date_default_timezone_set('America/New_York'); define('CONFIG_PATH', __DIR__ . '/messagebroker-config'); // Load up the Composer autoload magic require_once __DIR__ . '/vendor/autoload.php'; use DoSomething\ MBC_TransactionalDigest\MBC_TransactionalDigest_Consumer; //...
<|file_sep|>original/mbc-transactional-digest/mbc-transactional-digest.php * compose a single digest message request. */ date_default_timezone_set('America/New_York'); define('CONFIG_PATH', __DIR__ . '/messagebroker-config'); // Load up the Composer autoload magic require_once __DIR__ . '/vendor/autoload.php'; use...
c22ceb15ae94e34dcc45b1cdb05ce9411b7f75d6
mbc-transactional-digest/mbc-transactional-digest.php
mbc-transactional-digest/mbc-transactional-digest.php
PHP
<|file_sep|>original/requirements.txt Cython==0.29.28 feedparser==6.0.8 furl==2.1.3 google-api-python-client==2.45.0 isodate==0.6.1 jq==1.2.2 jsonpath-ng==1.5.3 lxml==4.8.0 Pillow==9.1.0 parsedatetime==2.6 psutil==5.9.0 pyhedrals==0.2.0 pymediawiki==0.7.1 pyre2==0.3.6 python-dateutil==2.8.2 pytimeparse==1.1.8 pyxDamera...
Cython==0.29.28 feedparser==6.0.8 furl==2.1.3 google-api-python-client==2.45.0 isodate==0.6.1 jq==1.2.2 jsonpath-ng==1.5.3 lxml==4.8.0 Pillow==9.1.0 parsedatetime==2.6 psutil==5.9.0 pyhedrals==0.2.0 pymediawiki==0.7.1 pyre2==0.3.6 python-dateutil==2.8.2 pytimeparse==1.1.8 pyxDamerauLevenshtein==1.7.0 regex==2022.4.24 r...
<|file_sep|>original/requirements.txt Cython==0.29.28 feedparser==6.0.8 furl==2.1.3 google-api-python-client==2.45.0 isodate==0.6.1 jq==1.2.2 jsonpath-ng==1.5.3 lxml==4.8.0 Pillow==9.1.0 parsedatetime==2.6 psutil==5.9.0 pyhedrals==0.2.0 pymediawiki==0.7.1 pyre2==0.3.6 python-dateutil==2.8.2 pytimeparse==1.1.8 pyxDamera...
d510f245757e6b54aee0d141918465c6cf6fbe56
requirements.txt
requirements.txt
Text
<|file_sep|>original/voteswap/urls.py 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') Including anothe...
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') Including another URLconf 1. Import the include() function: from django.conf.urls import url, incl...
<|file_sep|>original/voteswap/urls.py 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') Including anothe...
13ab83d88739baccbff204d20f9782e0db447cdc
voteswap/urls.py
voteswap/urls.py
Python
<|file_sep|>original/app/src/main/java/org/mozilla/focus/activity/EraseAndOpenShortcutActivity.kt import android.app.Activity import android.content.Intent import android.os.Bundle import org.mozilla.focus.ext.components import org.mozilla.focus.telemetry.TelemetryWrapper class EraseAndOpenShortcutActivity : Activity(...
import android.os.Bundle import org.mozilla.focus.ext.components import org.mozilla.focus.telemetry.TelemetryWrapper class EraseAndOpenShortcutActivity : Activity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) components.tabsUseCases.removeAllTabs() ...
<|file_sep|>original/app/src/main/java/org/mozilla/focus/activity/EraseAndOpenShortcutActivity.kt import android.app.Activity import android.content.Intent import android.os.Bundle import org.mozilla.focus.ext.components import org.mozilla.focus.telemetry.TelemetryWrapper class EraseAndOpenShortcutActivity : Activity(...
b8f190b617bcf2cdfdc81f268627615eb8728fa9
app/src/main/java/org/mozilla/focus/activity/EraseAndOpenShortcutActivity.kt
app/src/main/java/org/mozilla/focus/activity/EraseAndOpenShortcutActivity.kt
Kotlin
<|file_sep|>test/views/vrm_retention/ConfirmBusinessIntegrationSpec.scala.diff original: "redirect to Confirm keeper page" taggedAs UiTag in new WebBrowser { updated: "redirect to Confirm business page" taggedAs UiTag in new WebBrowser { <|file_sep|>original/test/views/vrm_retention/ConfirmBusinessIntegrationSp...
"confirm button" should { "redirect to Confirm business page" taggedAs UiTag in new WebBrowser { go to BeforeYouStartPage cacheSetup() go to ConfirmBusinessPage click on confirm page.url should equal(ConfirmPage.url) } } "exit button" should { "display feedback page...
<|file_sep|>test/views/vrm_retention/ConfirmBusinessIntegrationSpec.scala.diff original: "redirect to Confirm keeper page" taggedAs UiTag in new WebBrowser { updated: "redirect to Confirm business page" taggedAs UiTag in new WebBrowser { <|file_sep|>original/test/views/vrm_retention/ConfirmBusinessIntegrationSp...
0e3f2252f60f05af9a9d9eda4a72e16cda12fbc6
test/views/vrm_retention/ConfirmBusinessIntegrationSpec.scala
test/views/vrm_retention/ConfirmBusinessIntegrationSpec.scala
Scala
<|file_sep|>original/spec/system/bus_stops/editing_bus_stops_spec.rb let!(:user) { create :user } let!(:edit_stop) { create :bus_stop } before :each do when_current_user_is user visit edit_bus_stop_path(edit_stop) end context 'with no changes' do before :each do within 'table.edit-form' do ...
end end it 'updates the stop' do expect(page).to have_selector 'p.notice', text: 'Bus stop was updated.' end it 'redirects to the bus stops page' do expect(page.current_url).to end_with bus_stops_path end end context 'with data changes' do ...
<|file_sep|>original/spec/system/bus_stops/editing_bus_stops_spec.rb let!(:user) { create :user } let!(:edit_stop) { create :bus_stop } before :each do when_current_user_is user visit edit_bus_stop_path(edit_stop) end context 'with no changes' do before :each do within 'table.edit-form' do ...
3553295d9b4be6c31c2165ede0b76b04c9c4614a
spec/system/bus_stops/editing_bus_stops_spec.rb
spec/system/bus_stops/editing_bus_stops_spec.rb
Ruby
<|file_sep|>original/README.md # Sticky Notes v1.0 [![Build Status](https://travis-ci.org/sayakb/sticky-notes.png?branch=dev-1.0)](http://goo.gl/DRaaX0) Sticky notes is a powerful open-source pastebin application. See http://sayakbanerjee.com/sticky-notes for help with installation and updating. License: [www.openso...
# Sticky Notes v1.0 [![Build Status](https://travis-ci.org/sayakb/sticky-notes.png?branch=dev-1.0)](http://goo.gl/DRaaX0) Sticky notes is a powerful open-source pastebin application. See http://sayakbanerjee.com/sticky-notes for help with installation and updating. License: [http://www.opensource.org/licenses/bsd-li...
<|file_sep|>original/README.md # Sticky Notes v1.0 [![Build Status](https://travis-ci.org/sayakb/sticky-notes.png?branch=dev-1.0)](http://goo.gl/DRaaX0) Sticky notes is a powerful open-source pastebin application. See http://sayakbanerjee.com/sticky-notes for help with installation and updating. License: [www.openso...
724c400e646691f84bdfe641a5cf39e07317b3dd
README.md
README.md
Markdown
<|file_sep|>original/app/views/days/about.html.erb <h2>About 40days</h2> <div id="about_page"> <p class="verse">These stones are to be a memorial to the people ... forever." (Joshua 4:7)</p> <p><a href="http://www.flickr.com/photos/stollerdos/143395735/" title="rock balancing by strollerdos, on Flickr"><img src=...
<h2>About 40days</h2> <div id="about_page"> <p class="verse">These stones are to be a memorial to the people ... forever." (Joshua 4:7)</p> <p><a href="http://www.flickr.com/photos/stollerdos/143395735/" title="rock balancing by strollerdos, on Flickr"><img src="http://farm1.staticflickr.com/53/143395735_25085fc...
<|file_sep|>original/app/views/days/about.html.erb <h2>About 40days</h2> <div id="about_page"> <p class="verse">These stones are to be a memorial to the people ... forever." (Joshua 4:7)</p> <p><a href="http://www.flickr.com/photos/stollerdos/143395735/" title="rock balancing by strollerdos, on Flickr"><img src=...
c8b39a346a0c222e3dfdf74b5c4f23085a4aa064
app/views/days/about.html.erb
app/views/days/about.html.erb
HTML+ERB
<|file_sep|>original/android/src/main/java/com/b8ne/RNPusherPushNotifications/RNPusherPushNotificationsPackage.java import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import com.facebook.react.bridge.JavaScriptModule;...
import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import com.facebook.react.bridge.JavaScriptModule; public class RNPusherPushNotificationsPackage implements ReactPackage { @Override public List<NativeModule...
<|file_sep|>original/android/src/main/java/com/b8ne/RNPusherPushNotifications/RNPusherPushNotificationsPackage.java import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import com.facebook.react.bridge.JavaScriptModule;...
3d4ddc7229c550ceeab6f67c79897bdb6f718113
android/src/main/java/com/b8ne/RNPusherPushNotifications/RNPusherPushNotificationsPackage.java
android/src/main/java/com/b8ne/RNPusherPushNotifications/RNPusherPushNotificationsPackage.java
Java
<|file_sep|>original/tasks/boxes.rake namespace :boxes do namespace :quantal64 do desc 'Build Ubuntu Quantal 64 bits Vagrant LXC box' task :build do if File.exists?('./boxes/output/lxc-quantal64.box') puts 'Box has been built already!' exit 1 end sh 'mkdir -p boxes/output' ...
namespace :boxes do namespace :quantal64 do desc 'Build Ubuntu Quantal 64 bits Vagrant LXC box' task :build do if File.exists?('./boxes/output/lxc-quantal64.box') puts 'Box has been built already!' exit 1 end sh 'mkdir -p boxes/output' sh 'cd boxes/quantal64 && sudo ./...
<|file_sep|>original/tasks/boxes.rake namespace :boxes do namespace :quantal64 do desc 'Build Ubuntu Quantal 64 bits Vagrant LXC box' task :build do if File.exists?('./boxes/output/lxc-quantal64.box') puts 'Box has been built already!' exit 1 end sh 'mkdir -p boxes/output' ...
cc069a5caa44210d64dcd830bb6d96b2747ce683
tasks/boxes.rake
tasks/boxes.rake
Ruby
<|file_sep|>load/mediator/tcp-handler.js.diff original: updated: function sendHttpHeaders (conn) { conn.write('HTTP/1.1 200 OK\n') conn.write('Content-Type: text/plain\n') conn.write('\n') } <|file_sep|>load/mediator/tcp-handler.js.diff original: updated: sendHttpHeaders(conn) <|file_sep|>load/mediator/tcp-h...
} exports.handleBodyRequest = (conn) => { sendHttpHeaders(conn) conn.end(bigBuff) } exports.handleDelayRequest = (conn) => { sendHttpHeaders(conn) conn.write('Delay start') setTimeout(() => { conn.end(`Waited for ${DELAY}ms`) }, DELAY) conn.on('error', console.warn) } exports.handleImmediateRespon...
<|file_sep|>load/mediator/tcp-handler.js.diff original: updated: function sendHttpHeaders (conn) { conn.write('HTTP/1.1 200 OK\n') conn.write('Content-Type: text/plain\n') conn.write('\n') } <|file_sep|>load/mediator/tcp-handler.js.diff original: updated: sendHttpHeaders(conn) <|file_sep|>load/mediator/tcp-h...
4458638eb53a079e701d2b1b03615f0130b4d0e8
load/mediator/tcp-handler.js
load/mediator/tcp-handler.js
JavaScript
<|file_sep|>original/CHANGELOG.md # Changelog ## 0.4 (2017-12-04) * [#20] Support Jekyll 3.5, Liquid 4.0 * [#25] Permit root level output of asset files * Fix and refactor to eliminate Rubocop offenses <|file_sep|>current/CHANGELOG.md # Changelog ## 0.4 (2017-12-04) * [#20] Support Jekyll 3.5, Liquid 4.0 * [#25] Pe...
# Changelog ## 0.4 (2017-12-03) * [#20] Support Jekyll 3.5, Liquid 4.0 * [#25] Permit root level output of asset files * Fix and refactor to eliminate Rubocop offenses
<|file_sep|>original/CHANGELOG.md # Changelog ## 0.4 (2017-12-04) * [#20] Support Jekyll 3.5, Liquid 4.0 * [#25] Permit root level output of asset files * Fix and refactor to eliminate Rubocop offenses <|file_sep|>current/CHANGELOG.md # Changelog ## 0.4 (2017-12-04) * [#20] Support Jekyll 3.5, Liquid 4.0 * [#25] Pe...
cfa6b8757f32cd602f13bacaec6232a8b1fcb812
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/source/assets/stylesheets/blog.css.scss article { @include base-font; header { @include base-font; margin-bottom: 2.25rem; } h3,h4,h5 { margin-top: 3rem; margin-bottom: 1.111rem; } p { color: $mainColor; letter-spacing: 0.15px; line-height: 1.75; } p:last...
article { @include base-font; header { @include base-font; margin-bottom: 2.25rem; } h3,h4,h5 { margin-top: 3rem; margin-bottom: 1.111rem; } &.index-post { h3,h4,h5 { margin-top: 1.111rem; } } p { color: $mainColor; letter-spacing: 0.15px; line-height: 1.75; }...
<|file_sep|>original/source/assets/stylesheets/blog.css.scss article { @include base-font; header { @include base-font; margin-bottom: 2.25rem; } h3,h4,h5 { margin-top: 3rem; margin-bottom: 1.111rem; } p { color: $mainColor; letter-spacing: 0.15px; line-height: 1.75; } p:last...
ffb6faee2dbc27d04ad42e68693bb972108e65e1
source/assets/stylesheets/blog.css.scss
source/assets/stylesheets/blog.css.scss
SCSS
<|file_sep|>packages/gm/gmpint.yaml.diff original: hash: ee17530ef8868e53d42e522920a7c5082091da48e428c7edc6d9b66a71f92596 updated: hash: 98b8f89d350225f20346791404464f01442b707112f41b3bb005db16d75179c1 <|file_sep|>packages/gm/gmpint.yaml.diff original: updated: - '0.1.0.12' <|file_sep|>original/packages/gm/gmpint.yaml...
- '0.1.0.4' - '0.1.0.5' - '0.1.0.6' - '0.1.0.7' - '0.1.0.8' - '0.1.0.9' - '0.1.0.10' - '0.1.0.11' - '0.1.0.12' author: Vanessa McHale latest: '0.1.0.12' description-type: markdown description: ! '# gmpint This defines a `GMPInt` type and a `Storable` instance for that type, as well functions for working with suc...
<|file_sep|>packages/gm/gmpint.yaml.diff original: hash: ee17530ef8868e53d42e522920a7c5082091da48e428c7edc6d9b66a71f92596 updated: hash: 98b8f89d350225f20346791404464f01442b707112f41b3bb005db16d75179c1 <|file_sep|>packages/gm/gmpint.yaml.diff original: updated: - '0.1.0.12' <|file_sep|>original/packages/gm/gmpint.yaml...
f57972aec9e942cb29a534c47d60fe29f09a53df
packages/gm/gmpint.yaml
packages/gm/gmpint.yaml
YAML
<|file_sep|>original/xdocs/overview.html this work for additional information regarding copyright ownership. The ASF licenses this file to You 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 ...
this work for additional information regarding copyright ownership. The ASF licenses this file to You 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/LICEN...
<|file_sep|>original/xdocs/overview.html this work for additional information regarding copyright ownership. The ASF licenses this file to You 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 ...
1c58544807edc33fac32e8248a1f6e0eac95007a
xdocs/overview.html
xdocs/overview.html
HTML
<|file_sep|>original/requirements/static-testing.txt bandit==1.4.0 flake8==3.5.0 flake8-docstrings==1.3.0 flake8-bugbear==18.2.0;python_version>="3.5" flake8-import-order==0.17 mccabe==0.6.1 mypy==0.560 pep8-naming==0.5.0 pipdeptree==0.10.1 pipenv==10.0.0 safety==1.7.0 vulture==0.26 xenon==0.5.4 <|file_sep|>current/req...
bandit==1.4.0 flake8==3.5.0 flake8-docstrings==1.3.0 flake8-bugbear==18.2.0;python_version>="3.5" flake8-import-order==0.17 mccabe==0.6.1 mypy==0.560 pep8-naming==0.5.0 pipdeptree==0.11.0 pipenv==10.0.0 safety==1.7.0 vulture==0.26 xenon==0.5.4
<|file_sep|>original/requirements/static-testing.txt bandit==1.4.0 flake8==3.5.0 flake8-docstrings==1.3.0 flake8-bugbear==18.2.0;python_version>="3.5" flake8-import-order==0.17 mccabe==0.6.1 mypy==0.560 pep8-naming==0.5.0 pipdeptree==0.10.1 pipenv==10.0.0 safety==1.7.0 vulture==0.26 xenon==0.5.4 <|file_sep|>current/req...
8c61ffb1eabb5db3648148407ca5871bbf2fc16e
requirements/static-testing.txt
requirements/static-testing.txt
Text
<|file_sep|>packages/node_modules/@node-red/editor-client/src/js/polyfills.js.diff original: Array._from = Array.from; updated: <|file_sep|>packages/node_modules/@node-red/editor-client/src/js/polyfills.js.diff original: updated: if (arguments.length > 1) { throw new Error("Node-RE...
throw new Error("Missing Array.from base polyfill"); } Array.from = function() { if (arguments.length > 1) { throw new Error("Node-RED's IE11 Array.from polyfill doesn't support multiple arguments"); } var arrayLike = arguments[0] ...
<|file_sep|>packages/node_modules/@node-red/editor-client/src/js/polyfills.js.diff original: Array._from = Array.from; updated: <|file_sep|>packages/node_modules/@node-red/editor-client/src/js/polyfills.js.diff original: updated: if (arguments.length > 1) { throw new Error("Node-RE...
5dc1cc54d5080799f53f16307f1a5b7d4627f6a3
packages/node_modules/@node-red/editor-client/src/js/polyfills.js
packages/node_modules/@node-red/editor-client/src/js/polyfills.js
JavaScript
<|file_sep|>original/lib/night_watch/ref_resolver.rb def find_baseline(ref) parents = all_parent_commits_for(ref) raise "Ref #{ref} has no parent!" if parents.empty? parents.one? ? parents.first : merge_base_of(parents) end private attr_reader :repos, :repo_name def all_parent_co...
def find_baseline(ref) parents = all_parent_commits_for(ref) raise "Ref #{ref} has no parent!" if parents.empty? parents.one? ? parents.first : merge_base_of(parents) end private attr_reader :repos, :repo_name def all_parent_commits_for(ref) in_workspace { sh("git show #{re...
<|file_sep|>original/lib/night_watch/ref_resolver.rb def find_baseline(ref) parents = all_parent_commits_for(ref) raise "Ref #{ref} has no parent!" if parents.empty? parents.one? ? parents.first : merge_base_of(parents) end private attr_reader :repos, :repo_name def all_parent_co...
dbcf60721e0d504272b77bc69e20a13f149e73ce
lib/night_watch/ref_resolver.rb
lib/night_watch/ref_resolver.rb
Ruby
<|file_sep|>original/package.json }, "contributors": [ { "name": "Geir Gåsodden", "email": "geir.gasodden@pythonia.no", "url": "https://github.com/zrrrzzt" } ], "scripts": { "test": "standard && tap --reporter=spec test/*.js", "setup": "npm install && node setup.js", "filte...
}, "contributors": [ { "name": "Geir Gåsodden", "email": "geir.gasodden@pythonia.no", "url": "https://github.com/zrrrzzt" } ], "scripts": { "test": "standard && tap --reporter=spec test/*.js", "setup": "npm install && node setup.js", "filter": "node filter.js" }, "depen...
<|file_sep|>original/package.json }, "contributors": [ { "name": "Geir Gåsodden", "email": "geir.gasodden@pythonia.no", "url": "https://github.com/zrrrzzt" } ], "scripts": { "test": "standard && tap --reporter=spec test/*.js", "setup": "npm install && node setup.js", "filte...
d7c28d6b4228ab508aa3029f8a8b153ec529b020
package.json
package.json
JSON
<|file_sep|>original/Kicad/Weather_station_unit/Weather_station_unit.sch LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $EndSCHEMATC ...
LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "WeatherSpot" Date "Sunday, June 07, 2015" Rev "0.1" Comp "Capstone-WeatherSpot" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $EndSCHEMATC
<|file_sep|>original/Kicad/Weather_station_unit/Weather_station_unit.sch LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $EndSCHEMATC ...
5a7eda591d8865af20c176ed77b63e7bf97f57df
Kicad/Weather_station_unit/Weather_station_unit.sch
Kicad/Weather_station_unit/Weather_station_unit.sch
Eagle