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/views/admin.jade extends layout block content p.lead Friendly gebos ul - for (var i =0; i < friends.length; i++) li #{friends[i].name} - #{friends[i].email} button.btn.btn-default.btn-mini span.glyphicon.glyicon-star Poke p.lead ...
extends layout block content p.lead Friendly gebos ul - for (var i =0; i < friends.length; i++) li #{friends[i].name} - #{friends[i].email} button.btn.btn-default.btn-mini span.glyphicon.glyicon-star Poke p.lead Registered agents ul - for...
<|file_sep|>original/views/admin.jade extends layout block content p.lead Friendly gebos ul - for (var i =0; i < friends.length; i++) li #{friends[i].name} - #{friends[i].email} button.btn.btn-default.btn-mini span.glyphicon.glyicon-star Poke p.lead ...
7d436ea5e12aa08ee599fc6e42ba618192c0d81d
views/admin.jade
views/admin.jade
Jade
<|file_sep|>mobile/src/main/java/com/ianhanniballake/contractiontimer/ContractionTimerApplication.java.diff original: updated: import com.google.firebase.FirebaseApp; <|file_sep|>original/mobile/src/main/java/com/ianhanniballake/contractiontimer/ContractionTimerApplication.java /** * Creates the Contraction Timer ap...
* Creates the Contraction Timer application, setting strict mode in debug mode */ public class ContractionTimerApplication extends Application { /** * Sets strict mode if we are in debug mode. * * @see android.app.Application#onCreate() */ @Override public void onCreate() { if ...
<|file_sep|>mobile/src/main/java/com/ianhanniballake/contractiontimer/ContractionTimerApplication.java.diff original: updated: import com.google.firebase.FirebaseApp; <|file_sep|>original/mobile/src/main/java/com/ianhanniballake/contractiontimer/ContractionTimerApplication.java /** * Creates the Contraction Timer ap...
6034a1ba3859c79accb65bacdd430b21759e4d8c
mobile/src/main/java/com/ianhanniballake/contractiontimer/ContractionTimerApplication.java
mobile/src/main/java/com/ianhanniballake/contractiontimer/ContractionTimerApplication.java
Java
<|file_sep|>original/.codeclimate.yml <|file_sep|>current/.codeclimate.yml <|file_sep|>updated/.codeclimate.yml
engines: csslint: enabled: true duplication: enabled: true config: languages: - javascript eslint: enabled: true checks: wrap-iife: enabled: false fixme: enabled: true ratings: paths: - "**.css" - "**.js" exclude_paths: - .github/
<|file_sep|>original/.codeclimate.yml <|file_sep|>current/.codeclimate.yml <|file_sep|>updated/.codeclimate.yml engines: csslint: enabled: true duplication: enabled: true config: languages: - javascript eslint: enabled: true checks: wrap-iife: enabled: false fix...
9ce3d44cc6045e06c15142759854e3b21c453957
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>original/blobstore-local/set-pipeline.sh cd $(dirname $0) ../1-click/generate-bosh-lite-in-sl-manifest.sh blobstore-local-bosh-lite > /tmp/bosh-lite-in-sl.yml ../fly-login.sh flintstone # Hack: using sed to work around Concourse limitation. See bosh-create-env.sh for more details. fly \ -t flintstone ...
../1-click/generate-bosh-lite-in-sl-manifest.sh blobstore-local-bosh-lite > /tmp/bosh-lite-in-sl.yml ../fly-login.sh flintstone # Hack: using sed to work around Concourse limitation. See bosh-create-env.sh for more details. fly \ -t flintstone \ set-pipeline \ -p blobstore-local-bosh-lite \ -c <(spruce --co...
<|file_sep|>original/blobstore-local/set-pipeline.sh cd $(dirname $0) ../1-click/generate-bosh-lite-in-sl-manifest.sh blobstore-local-bosh-lite > /tmp/bosh-lite-in-sl.yml ../fly-login.sh flintstone # Hack: using sed to work around Concourse limitation. See bosh-create-env.sh for more details. fly \ -t flintstone ...
09a16f744e6cf647c9bbf29da6e17c1c11d57375
blobstore-local/set-pipeline.sh
blobstore-local/set-pipeline.sh
Shell
<|file_sep|>original/src/main/web/app/FeatureContainer.js categoryMap.forEach((features, key) => { let container = $("<div class='ui segment'>"); $("<h3>").text(key).appendTo(container); let list = $("<div class='ui list'>").appendTo(container); for (let feature ...
categoryMap.forEach((features, key) => { let container = $("<div class='ui segment'>"); $("<h3>").text(key).appendTo(container); let list = $("<div class='ui list'>").appendTo(container); for (let feature of features) { let checkbox = FeatureConta...
<|file_sep|>original/src/main/web/app/FeatureContainer.js categoryMap.forEach((features, key) => { let container = $("<div class='ui segment'>"); $("<h3>").text(key).appendTo(container); let list = $("<div class='ui list'>").appendTo(container); for (let feature ...
ae972baaf7bbfcce9decf082651f250851cf6648
src/main/web/app/FeatureContainer.js
src/main/web/app/FeatureContainer.js
JavaScript
<|file_sep|>original/.vscode/tasks.json <|file_sep|>current/.vscode/tasks.json <|file_sep|>updated/.vscode/tasks.json
{ "version": "0.1.0", "command": "mix", "isShellCommand": true, "showOutput": "always", "suppressTaskName": true, "tasks": [ { "taskName": "build", "args": [ "compile" ], "problemMatcher": [ "$mixCompileError", "$mixCompileWarning" ], "isBuildC...
<|file_sep|>original/.vscode/tasks.json <|file_sep|>current/.vscode/tasks.json <|file_sep|>updated/.vscode/tasks.json { "version": "0.1.0", "command": "mix", "isShellCommand": true, "showOutput": "always", "suppressTaskName": true, "tasks": [ { "taskName": "build", "args": [ "compi...
9a7d83475af57eb12d62cce940bf5e755d4f5647
.vscode/tasks.json
.vscode/tasks.json
JSON
<|file_sep|>original/kovot/remote_mod.py #! /usr/bin/env python # coding:utf-8 import requests import logging from kovot.response import Response class RemoteCallerMod: def __init__(self, server, port): self._root_url = "http://{}:{}".format(server, port) def generate_responses(self, bot, message):...
#! /usr/bin/env python # coding:utf-8 import requests import logging from kovot.response import Response class RemoteCallerMod: def __init__(self, server, port): self._root_url = "http://{}:{}".format(server, port) def generate_responses(self, bot, message): url = "{}/api/generate_responses...
<|file_sep|>original/kovot/remote_mod.py #! /usr/bin/env python # coding:utf-8 import requests import logging from kovot.response import Response class RemoteCallerMod: def __init__(self, server, port): self._root_url = "http://{}:{}".format(server, port) def generate_responses(self, bot, message):...
5ab86a2456b54d5af73e15b61de95994b95be8cb
kovot/remote_mod.py
kovot/remote_mod.py
Python
<|file_sep|>original/test/Profile/c-linkage-available_externally.c // Make sure instrumentation data from available_externally functions doesn't // get thrown out and are emitted with the expected linkage. // RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -e...
// Make sure instrumentation data from available_externally functions doesn't // get thrown out and are emitted with the expected linkage. // RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s // CHECK: @__pr...
<|file_sep|>original/test/Profile/c-linkage-available_externally.c // Make sure instrumentation data from available_externally functions doesn't // get thrown out and are emitted with the expected linkage. // RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -e...
88f1ce548a1e06c1d40dea57346dcd654f718fb7
test/Profile/c-linkage-available_externally.c
test/Profile/c-linkage-available_externally.c
C
<|file_sep|>original/event.cpp /*! Constructor. */ Event::Event(const char *resource, const char *what, const QString &id) : m_resource(resource), m_what(what), m_id(id), m_num(0), m_numPrev(0) { } /*! Constructor. */ Event::Event(const char *resource, const char *what, int num) : m_resource(...
m_what(what), m_id(id), m_num(0), m_numPrev(0) { } /*! Constructor. */ Event::Event(const char *resource, const char *what, int num) : m_resource(resource), m_what(what), m_num(num), m_numPrev(0) { if (resource == RGroups) { m_id = QString::number(num); } }
<|file_sep|>original/event.cpp /*! Constructor. */ Event::Event(const char *resource, const char *what, const QString &id) : m_resource(resource), m_what(what), m_id(id), m_num(0), m_numPrev(0) { } /*! Constructor. */ Event::Event(const char *resource, const char *what, int num) : m_resource(...
5eb2dbfae49098f035c47eebc818477e6df9c09c
event.cpp
event.cpp
C++
<|file_sep|>original/setup.py ], keywords='switches feature flipper pyramid pylons turbogears', author='Kyle Adams', author_email='kadams54@users.noreply.github.com', url='https://github.com/switchboardpy/switchboard/', download_url='https://github.com/switchboardpy/switchboard/relea...
], keywords='switches feature flipper pyramid pylons turbogears', author='Kyle Adams', author_email='kadams54@users.noreply.github.com', url='https://github.com/switchboardpy/switchboard/', download_url='https://github.com/switchboardpy/switchboard/releases', license='Apache Li...
<|file_sep|>original/setup.py ], keywords='switches feature flipper pyramid pylons turbogears', author='Kyle Adams', author_email='kadams54@users.noreply.github.com', url='https://github.com/switchboardpy/switchboard/', download_url='https://github.com/switchboardpy/switchboard/relea...
f4d33519c9ed78887de8040c865e94d6b0430077
setup.py
setup.py
Python
<|file_sep|>original/lib/views/general/_frontpage_intro_sentence.html.erb <h2> Your <strong>Right to Know</strong> </h2> <p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information...
<h1 class="intro__title"><%= _("Your right to know") %></h1> <p class="intro__description"> Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information.</a> </p>
<|file_sep|>original/lib/views/general/_frontpage_intro_sentence.html.erb <h2> Your <strong>Right to Know</strong> </h2> <p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information...
c8b5c91b32b9054d72ac8c12607dab9fc30217bc
lib/views/general/_frontpage_intro_sentence.html.erb
lib/views/general/_frontpage_intro_sentence.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: go go: - 1.5 - 1.6 - tip go_import_path: github.com/versent/unicreds install: - echo noop env: - "PATH=/home/travis/gopath/bin:$PATH" script: - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports - golint ./....
language: go go: - 1.5 - 1.6 # - tip go_import_path: github.com/versent/unicreds install: - echo noop env: - "PATH=/home/travis/gopath/bin:$PATH" script: - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports - golint ./... - make updatedeps - m...
<|file_sep|>original/.travis.yml language: go go: - 1.5 - 1.6 - tip go_import_path: github.com/versent/unicreds install: - echo noop env: - "PATH=/home/travis/gopath/bin:$PATH" script: - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports - golint ./....
f21180a4f69e69d4b464353dcabd20a03736de24
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml rvm: - 1.9.2 - 1.9.3 - 2.0.0 before_install: - gem update --system branches: only: - master <|file_sep|>current/.travis.yml rvm: - 1.9.2 - 1.9.3 - 2.0.0 before_install: - gem update --system branches: only: - master <|file_sep|>updated/.travis.yml
rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 before_install: - gem update --system branches: only: - master
<|file_sep|>original/.travis.yml rvm: - 1.9.2 - 1.9.3 - 2.0.0 before_install: - gem update --system branches: only: - master <|file_sep|>current/.travis.yml rvm: - 1.9.2 - 1.9.3 - 2.0.0 before_install: - gem update --system branches: only: - master <|file_sep|>updated/.travis.yml rvm: - 1....
16222fff15c814aaab847124d9949ce747d6ec86
.travis.yml
.travis.yml
YAML
<|file_sep|>src/angulartics-mixpanel.js.diff original: angulartics.waitForVendorApi('mixpanel', 500, function (mixpanel) { updated: angulartics.waitForVendorApi('mixpanel', 500, 'track', function (mixpanel) { <|file_sep|>original/src/angulartics-mixpanel.js /** * @ngdoc overview * @name angulartics.mixpanel * E...
/** * @ngdoc overview * @name angulartics.mixpanel * Enables analytics support for Mixpanel (http://mixpanel.com) */ angular.module('angulartics.mixpanel', ['angulartics']) .config(['$analyticsProvider', function ($analyticsProvider) { angulartics.waitForVendorApi('mixpanel', 500, 'track', function (mixpanel) { ...
<|file_sep|>src/angulartics-mixpanel.js.diff original: angulartics.waitForVendorApi('mixpanel', 500, function (mixpanel) { updated: angulartics.waitForVendorApi('mixpanel', 500, 'track', function (mixpanel) { <|file_sep|>original/src/angulartics-mixpanel.js /** * @ngdoc overview * @name angulartics.mixpanel * E...
df48a1871ca8645a8bbffb9a82a31b7237e9525d
src/angulartics-mixpanel.js
src/angulartics-mixpanel.js
JavaScript
<|file_sep|>original/lib/tasks/refresh_elasticsearch.rake <|file_sep|>current/lib/tasks/refresh_elasticsearch.rake <|file_sep|>updated/lib/tasks/refresh_elasticsearch.rake
namespace :elasticsearch do desc 'Refresh Elastic Search Index' task :refresh => :environment do refresh_elasticsearch end end def refresh_elasticsearch Response.__elasticsearch__.delete_index! puts "Deleted" Response.__elasticsearch__.create_index! puts "Created" Response.__elasticsearch__.import ...
<|file_sep|>original/lib/tasks/refresh_elasticsearch.rake <|file_sep|>current/lib/tasks/refresh_elasticsearch.rake <|file_sep|>updated/lib/tasks/refresh_elasticsearch.rake namespace :elasticsearch do desc 'Refresh Elastic Search Index' task :refresh => :environment do refresh_elasticsearch end end def refr...
14d06c59a2c325060a45b0d19a3f917e3a99e9a6
lib/tasks/refresh_elasticsearch.rake
lib/tasks/refresh_elasticsearch.rake
Ruby
<|file_sep|>README.md.diff original: This is a TensorFlow implementation of an arbitrary order (>=2) Factorization Machine based on paper [Factorization Machines with libFM](http://dl.acm.org/citation.cfm?doid=2168752.2168771). updated: This is a TensorFlow implementation of an arbitrary order (>=2) Factorization Mach...
* [numpy](http://www.numpy.org/) * [tensorflow 0.8](https://www.tensorflow.org/) * [tqdm](https://github.com/tqdm/tqdm) # Usage The interface is the same as of Scikit-learn models. To train a 6-order FM model with rank=10 for 100 iterations with learning_rate=0.01 use the following sample ```python from tffm import TF...
<|file_sep|>README.md.diff original: This is a TensorFlow implementation of an arbitrary order (>=2) Factorization Machine based on paper [Factorization Machines with libFM](http://dl.acm.org/citation.cfm?doid=2168752.2168771). updated: This is a TensorFlow implementation of an arbitrary order (>=2) Factorization Mach...
5de383e3989c51a878058877ae7009fe6cbb0235
README.md
README.md
Markdown
<|file_sep|>turbustat/tests/test_wrapper.py.diff original: from ..statistics import stats_wrapper updated: import pytest import numpy as np from ..statistics import stats_wrapper, statistics_list <|file_sep|>turbustat/tests/test_wrapper.py.diff original: updated: spacers = np.arange(2, len(statistics_list) + 1, 2) <|...
# Licensed under an MIT open source license - see LICENSE import pytest import numpy as np from ..statistics import stats_wrapper, statistics_list from ._testing_data import \ dataset1, dataset2 spacers = np.arange(2, len(statistics_list) + 1, 2) # Split these into smaller tests to avoid timeout errors on Trav...
<|file_sep|>turbustat/tests/test_wrapper.py.diff original: from ..statistics import stats_wrapper updated: import pytest import numpy as np from ..statistics import stats_wrapper, statistics_list <|file_sep|>turbustat/tests/test_wrapper.py.diff original: updated: spacers = np.arange(2, len(statistics_list) + 1, 2) <|...
b4d43bfbcc03b93826c194fb98a52b411dc6304b
turbustat/tests/test_wrapper.py
turbustat/tests/test_wrapper.py
Python
<|file_sep|>requirements_dev.txt.diff original: Sphinx==1.4.6 updated: Sphinx==1.4.8 <|file_sep|>requirements_dev.txt.diff original: Sphinx==1.4.6 updated: Sphinx==1.4.8 <|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 <<<<<<< H...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 <<<<<<< HEAD <<<<<<< HEAD Sphinx==1.4.8 cryptography==1.5.2 ======= Sphinx==1.4.8 cryptography==1.5.2 >>>>>>> 9ac4f2aabdf503b7711f2d5ca9964eeaef6c63e3 ======= Sphinx==1.4.8 cryptography==1.5.2 >>>>>>> cc07c02f70e241580ba6...
<|file_sep|>requirements_dev.txt.diff original: Sphinx==1.4.6 updated: Sphinx==1.4.8 <|file_sep|>requirements_dev.txt.diff original: Sphinx==1.4.6 updated: Sphinx==1.4.8 <|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.3.1 coverage==4.2 <<<<<<< H...
e48ff0fe6ef5153319076896de1a077f131040d4
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/tests/travis_install.sh set -e if [[ "$DISTRIB" == "conda" ]]; then # Deactivate the travis-provided virtual environment and setup a # conda-based environment instead deactivate # Use the miniconda installer for faster download / install of conda # itself wget http://repo....
set -e if [[ "$DISTRIB" == "conda" ]]; then # Deactivate the travis-provided virtual environment and setup a # conda-based environment instead deactivate # Use the miniconda installer for faster download / install of conda # itself wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux...
<|file_sep|>original/tests/travis_install.sh set -e if [[ "$DISTRIB" == "conda" ]]; then # Deactivate the travis-provided virtual environment and setup a # conda-based environment instead deactivate # Use the miniconda installer for faster download / install of conda # itself wget http://repo....
8dbb4a1c8952c18c386fadbfc5267a5f6867a7ba
tests/travis_install.sh
tests/travis_install.sh
Shell
<|file_sep|>README.md.diff original: # six_weeks_of_react updated: # Six Weeks of React <|file_sep|>original/README.md # six_weeks_of_react Six week collaborative learning course in React JS <|file_sep|>current/README.md # Six Weeks of React Six week collaborative learning course in React JS <|file_sep|>updated/README....
# Six Weeks of React Six week collaborative learning course in React JS # Syllabus ## Week 0 - Introduction, JSX, and Virtual DOM -What is React JS and what problems does it solve? -How does the virtual DOM work? -Compiled vs. in-browser JSX transformation -JSX conditionals -Hello World ### Week 0 Exercises ## Week...
<|file_sep|>README.md.diff original: # six_weeks_of_react updated: # Six Weeks of React <|file_sep|>original/README.md # six_weeks_of_react Six week collaborative learning course in React JS <|file_sep|>current/README.md # Six Weeks of React Six week collaborative learning course in React JS <|file_sep|>updated/README....
6d12a210913027e2c9932a8901015138dea918ad
README.md
README.md
Markdown
<|file_sep|>original/examples/borrow/input.md Most of times, we'll like to access some data, without taking ownership over it. To accomplish this, Rust provides a *borrowing* mechanism. Instead of passing objects by-value (`T`), objects can be passed by reference (`&T`). {borrow.play} The compiler statically guarante...
Most of the time we'll like to access some data, without taking ownership over it. To accomplish this, Rust provides a *borrowing* mechanism. Instead of passing objects by-value (`T`), objects can be passed by reference (`&T`). {borrow.play} The compiler statically guarantees that references *always* point to valid o...
<|file_sep|>original/examples/borrow/input.md Most of times, we'll like to access some data, without taking ownership over it. To accomplish this, Rust provides a *borrowing* mechanism. Instead of passing objects by-value (`T`), objects can be passed by reference (`&T`). {borrow.play} The compiler statically guarante...
85b63585890b5a8a749799694a693a687173ea28
examples/borrow/input.md
examples/borrow/input.md
Markdown
<|file_sep|>spec/lib/reg_api2/service_spec.rb.diff original: describe RegApi2 do updated: describe RegApi2::Service do include RegApi2 <|file_sep|>spec/lib/reg_api2/service_spec.rb.diff original: ans = RegApi2.service.nop(services: [ updated: ans = service.nop(services: [ <|file_sep|>original/spec/lib/re...
it "should return list of services if requested" do ans = service.nop(services: [ { dname:"test.ru" }, { dname: "test.su", servtype: "srv_hosting_ispmgr" }, { service_id: 111111 }, { service_id: "22bug22" }, { surprise: "surprise.ru" } ]) ans.services.map do...
<|file_sep|>spec/lib/reg_api2/service_spec.rb.diff original: describe RegApi2 do updated: describe RegApi2::Service do include RegApi2 <|file_sep|>spec/lib/reg_api2/service_spec.rb.diff original: ans = RegApi2.service.nop(services: [ updated: ans = service.nop(services: [ <|file_sep|>original/spec/lib/re...
68dd92f0c2ec05af3c117474da39c201660f186c
spec/lib/reg_api2/service_spec.rb
spec/lib/reg_api2/service_spec.rb
Ruby
<|file_sep|>themes/activate/views/sources/index.html.erb.diff original: updated: <th>Source Name</th> <|file_sep|>original/themes/activate/views/sources/index.html.erb <tr> <th>Manage</th> <th>URL</th> </tr> <% for source in @sources %> <tr class="<%= cycle 'odd', 'even' %>"> <td> <%= li...
<th>Source Name</th> <th>URL</th> </tr> <% for source in @sources %> <tr class="<%= cycle 'odd', 'even' %>"> <td> <%= link_to 'Show', organization_source_path(params[:organization_id], source) %> | <%= link_to 'Destroy', organization_source_path(params[:organization_id], source), :confir...
<|file_sep|>themes/activate/views/sources/index.html.erb.diff original: updated: <th>Source Name</th> <|file_sep|>original/themes/activate/views/sources/index.html.erb <tr> <th>Manage</th> <th>URL</th> </tr> <% for source in @sources %> <tr class="<%= cycle 'odd', 'even' %>"> <td> <%= li...
ce88210fee87baec62d8b7daf5d4aaca39c1abb7
themes/activate/views/sources/index.html.erb
themes/activate/views/sources/index.html.erb
HTML+ERB
<|file_sep|>app/js/arethusa.core/directives/arethusa_grid_handle.js.diff original: updated: function mouseEnter() { scope.$apply(function() { scope.visible = true; }); } <|file_sep|>original/app/js/arethusa.core/directives/arethusa_grid_handle.js "use strict"; angular.module('arethusa.core')...
angular.module('arethusa.core').directive('arethusaGridHandle', [ function() { return { restrict: 'E', scope: true, link: function(scope, element, attrs, ctrl, transclude) { function mouseEnter() { scope.$apply(function() { scope.visible = true; }); } function ...
<|file_sep|>app/js/arethusa.core/directives/arethusa_grid_handle.js.diff original: updated: function mouseEnter() { scope.$apply(function() { scope.visible = true; }); } <|file_sep|>original/app/js/arethusa.core/directives/arethusa_grid_handle.js "use strict"; angular.module('arethusa.core')...
e23a40064468c27be76dbb27efd4e4f2ac91ece5
app/js/arethusa.core/directives/arethusa_grid_handle.js
app/js/arethusa.core/directives/arethusa_grid_handle.js
JavaScript
<|file_sep|>original/bokehjs/gulpfile.js }; gulp.task("scripts", function() { var opts = { entries: ["./src/coffee/main.coffee"], extensions: [".coffee", ".eco"] } browserify(opts) .transform("browserify-eco") .transform("coffeeify") .bundle() .pipe(source("bokeh.js")) .pipe(gulp.des...
extensions: [".coffee", ".eco"] } browserify(opts) .transform("browserify-eco") .transform("coffeeify") .bundle() .pipe(source("bokeh.js")) .pipe(gulp.dest("./build/js/")) }); gulp.task('eco', function(){ gulp.src('./src/templates/**/*.eco') .pipe(template({author: "Continuum Analyti...
<|file_sep|>original/bokehjs/gulpfile.js }; gulp.task("scripts", function() { var opts = { entries: ["./src/coffee/main.coffee"], extensions: [".coffee", ".eco"] } browserify(opts) .transform("browserify-eco") .transform("coffeeify") .bundle() .pipe(source("bokeh.js")) .pipe(gulp.des...
9f11e4a3fda95c80d3edb8424042917c1fa47482
bokehjs/gulpfile.js
bokehjs/gulpfile.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - jruby-19mode # JRuby in 1.9 mode
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2...
8464703397bd3a82883057b6ff737c6e0ab4ae7a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # OpenTracing Tutorials A collection of tutorials for the OpenTracing API (https://opentracing.io). ## Installation The tutorials are using CNCF Jaeger (https://github.com/jaegertracing/jaeger) as the tracing backend. The full backend with a mock in-memory storage can be run as a singl...
# OpenTracing Tutorials A collection of tutorials for the OpenTracing API (https://opentracing.io). ## Installation The tutorials are using CNCF Jaeger (https://github.com/jaegertracing/jaeger) as the tracing backend. The full backend with a mock in-memory storage can be run as a single Docker container (one command...
<|file_sep|>original/README.md # OpenTracing Tutorials A collection of tutorials for the OpenTracing API (https://opentracing.io). ## Installation The tutorials are using CNCF Jaeger (https://github.com/jaegertracing/jaeger) as the tracing backend. The full backend with a mock in-memory storage can be run as a singl...
0ab981c0d98f33511062963abb005cd745589475
README.md
README.md
Markdown
<|file_sep|>original/app/assets/stylesheets/transam_transit/framework_and_overrides.css.scss white-space: nowrap; height: 38px; min-width: 180px; } .editable-input input[type="number"] { -moz-appearance: textfield; } .editable-inline { width: 100% !important; } .bootstrap-transfer-container .selecto...
white-space: nowrap; height: 38px; min-width: 180px; } .editable-input input[type="number"] { -moz-appearance: textfield; } .editable-inline { width: 100% !important; } //Override text styling for empty x-editables .editable-empty, .editable-empty:hover, .editable-empty:focus{ font-style: normal...
<|file_sep|>original/app/assets/stylesheets/transam_transit/framework_and_overrides.css.scss white-space: nowrap; height: 38px; min-width: 180px; } .editable-input input[type="number"] { -moz-appearance: textfield; } .editable-inline { width: 100% !important; } .bootstrap-transfer-container .selecto...
7e88e9e018c5e43651e1b3cc08b40be5bb963278
app/assets/stylesheets/transam_transit/framework_and_overrides.css.scss
app/assets/stylesheets/transam_transit/framework_and_overrides.css.scss
SCSS
<|file_sep|>lib/Github/Api/Gist/Comments.php.diff original: updated: /** * Get all comments for a gist. * * @param string $gist * * @return array */ <|file_sep|>lib/Github/Api/Gist/Comments.php.diff original: updated: /** * Get a comment of a gist. * * @param strin...
* @param int $comment_id * @param string $body * * @return array */ public function update($gist, $comment_id, $body) { return $this->patch('gists/'.rawurlencode($gist).'/comments/'.rawurlencode($comment_id), array('body' => $body)); } /** * Delete a comment for...
<|file_sep|>lib/Github/Api/Gist/Comments.php.diff original: updated: /** * Get all comments for a gist. * * @param string $gist * * @return array */ <|file_sep|>lib/Github/Api/Gist/Comments.php.diff original: updated: /** * Get a comment of a gist. * * @param strin...
833124a116eac05fa19e5c236523162add8776fa
lib/Github/Api/Gist/Comments.php
lib/Github/Api/Gist/Comments.php
PHP
<|file_sep|>original/.github/workflows/test.yml test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: test run: | export DEBIAN_FRONTEND=noninteractive && \ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \ sudo a...
test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: test run: | export DEBIAN_FRONTEND=noninteractive && \ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \ sudo apt-get update && \ sudo apt-get install ...
<|file_sep|>original/.github/workflows/test.yml test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: test run: | export DEBIAN_FRONTEND=noninteractive && \ echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \ sudo a...
ada4500adac33a5e7163aa47bc7243193aee5421
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/csg.gemspec Gem::Specification.new do |s| s.name = 'csg' s.version = '0.0.0' s.summary = "A fast library for Constructive Solid Geometry" s.description = s.summary s.authors = ["Yaroslav Shirokov", "Sean Bryant"] s.email = ['sshirokov@github.com', 'sbryant@github.com'] s...
Gem::Specification.new do |s| s.name = 'csg' s.version = '0.0.0' s.summary = "A fast library for Constructive Solid Geometry" s.description = s.summary s.authors = ["Yaroslav Shirokov", "Sean Bryant"] s.email = ['sshirokov@github.com', 'sbryant@github.com'] s.files = ["Makefile", "lib/...
<|file_sep|>original/csg.gemspec Gem::Specification.new do |s| s.name = 'csg' s.version = '0.0.0' s.summary = "A fast library for Constructive Solid Geometry" s.description = s.summary s.authors = ["Yaroslav Shirokov", "Sean Bryant"] s.email = ['sshirokov@github.com', 'sbryant@github.com'] s...
7375e2ff7937e3a7e09404a0a0095c6bae5a6eaf
csg.gemspec
csg.gemspec
Ruby
<|file_sep|>original/requirements.txt matplotlib>=1.0 numpy>=1. scipy>=0.12 PySide>=1.2 six>=1.3 scikit-image>=0.10 scikit-learn>=0.12 <|file_sep|>current/requirements.txt matplotlib>=1.0 numpy>=1. scipy>=0.12 PySide>=1.2 six>=1.3 scikit-image>=0.10 scikit-learn>=0.12 <|file_sep|>updated/requirements.txt
matplotlib==1.3 numpy>=1. scipy>=0.12 PySide>=1.2 six>=1.3 scikit-image>=0.10 scikit-learn>=0.12
<|file_sep|>original/requirements.txt matplotlib>=1.0 numpy>=1. scipy>=0.12 PySide>=1.2 six>=1.3 scikit-image>=0.10 scikit-learn>=0.12 <|file_sep|>current/requirements.txt matplotlib>=1.0 numpy>=1. scipy>=0.12 PySide>=1.2 six>=1.3 scikit-image>=0.10 scikit-learn>=0.12 <|file_sep|>updated/requirements.txt matplotlib==1....
a98fce428e956d2acc335c561a2b1ddaf9c8e3c9
requirements.txt
requirements.txt
Text
<|file_sep|>original/concerts/2020/better-together.html --- layout: default title: "Better Together: Benefit Concert" description: "Join us online for our “Better Together: Benefit Concert”" --- <h1>Better Together: Benefit Concert</h1> <div class="row"> <div class="col-12" style="text-align: center;"> <iframe ...
--- layout: default title: "Better Together: Benefit Concert" description: "Join us online for our “Better Together: Benefit Concert”" image: "/images/concerts/2020-fall/better-together.png" --- <h1>Better Together: Benefit Concert</h1> <div class="row"> <div class="col-12" style="text-align: center;"> <iframe ...
<|file_sep|>original/concerts/2020/better-together.html --- layout: default title: "Better Together: Benefit Concert" description: "Join us online for our “Better Together: Benefit Concert”" --- <h1>Better Together: Benefit Concert</h1> <div class="row"> <div class="col-12" style="text-align: center;"> <iframe ...
ed51df242be0a2b0cd88dac6f884c5945d720855
concerts/2020/better-together.html
concerts/2020/better-together.html
HTML
<|file_sep|>original/Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java <|file_sep|>current/Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java <|file_sep|>updated/Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.ucuenca.kodar.utils; /** * * @author Xavier Sumba <xavier.sumba93@ucuenca.ec> */ public class Tuple<T0, T1> { publ...
<|file_sep|>original/Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java <|file_sep|>current/Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java <|file_sep|>updated/Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java /* * To change this license header, choose License Headers in Project Properties. * To change th...
a73e336a698ffa301f3296e8843288d514c1760b
Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java
Job/src/main/java/edu/ucuenca/kodar/utils/Tuple.java
Java
<|file_sep|>original/lib/openxml/docx/elements/number.rb def initialize(id) super() self.id = id end with_namespace :w do attribute :id, expects: :integer, displays_as: :numId, required: true end value_property :abstract_number_id value_pro...
def initialize(id) super() self.id = id end with_namespace :w do attribute :id, expects: :integer, displays_as: :numId, required: true end value_property :abstract_number_id def property_xml(xml) props = properties.keys.map(&meth...
<|file_sep|>original/lib/openxml/docx/elements/number.rb def initialize(id) super() self.id = id end with_namespace :w do attribute :id, expects: :integer, displays_as: :numId, required: true end value_property :abstract_number_id value_pro...
9eab666e6605d9a9441a57750ff273120ec6e8bc
lib/openxml/docx/elements/number.rb
lib/openxml/docx/elements/number.rb
Ruby
<|file_sep|>original/packages/be/betris.yaml <|file_sep|>current/packages/be/betris.yaml <|file_sep|>updated/packages/be/betris.yaml
homepage: https://github.com/mlang/betris#readme changelog-type: '' hash: d62e0d97aadb343c9a66a4f781fff9ef17e20a3046de922755b03da822c2e9a5 test-bench-deps: {} maintainer: mlang@blind.guru synopsis: Braille friendly vertical version of tetris changelog: '' basic-deps: stm: -any base: ! '>=4.7 && <5' vty: -any co...
<|file_sep|>original/packages/be/betris.yaml <|file_sep|>current/packages/be/betris.yaml <|file_sep|>updated/packages/be/betris.yaml homepage: https://github.com/mlang/betris#readme changelog-type: '' hash: d62e0d97aadb343c9a66a4f781fff9ef17e20a3046de922755b03da822c2e9a5 test-bench-deps: {} maintainer: mlang@blind.gu...
3d8f82c5d7c65ca032927dd421b02c64fb89efd6
packages/be/betris.yaml
packages/be/betris.yaml
YAML
<|file_sep|>original/src/import_to_elastic.py <|file_sep|>current/src/import_to_elastic.py <|file_sep|>updated/src/import_to_elastic.py
import sys import os def get_file_names(dir_path): return None def transform_data(data): return data def import_json(dir_path): file_names = get_file_names(dir_path) for file in file_names: # TODO: Read json files and do manipulations # Maybe have a passed in function to do this? t...
<|file_sep|>original/src/import_to_elastic.py <|file_sep|>current/src/import_to_elastic.py <|file_sep|>updated/src/import_to_elastic.py import sys import os def get_file_names(dir_path): return None def transform_data(data): return data def import_json(dir_path): file_names = get_file_names(dir_path...
ecced598c7048739dd25bfa027939975f94d6950
src/import_to_elastic.py
src/import_to_elastic.py
Python
<|file_sep|>spec/models/reservation_spec.rb.diff original: updated: <|file_sep|>original/spec/models/reservation_spec.rb require 'rails_helper' RSpec.describe Reservation do describe 'validations' do it { is_expected.to validate_presence_of :user } it { is_expected.to validate_presence_of :schedule_item } ...
it { is_expected.to validate_presence_of :schedule_item } context 'with schedule item starting in the past' do subject { build(:reservation, schedule_item: build(:schedule_item, start: DateTime.now - 1.day ))} it 'is invalid' do is_expected.to be_invalid expect(subject.errors[:sche...
<|file_sep|>spec/models/reservation_spec.rb.diff original: updated: <|file_sep|>original/spec/models/reservation_spec.rb require 'rails_helper' RSpec.describe Reservation do describe 'validations' do it { is_expected.to validate_presence_of :user } it { is_expected.to validate_presence_of :schedule_item } ...
26b3d6ff38aa78bdf4760d60519063a27c7fb136
spec/models/reservation_spec.rb
spec/models/reservation_spec.rb
Ruby
<|file_sep|>original/config/locales/en.yml # To use the locales, use `I18n.t`: # # I18n.t 'hello' # # In views, this is aliased to just `t`: # # <%= t('hello') %> # # To use a different locale, set it with `I18n.locale`: # # I18n.locale = :es # # This would use the information in config/locales/es.yml. # # ...
# # <%= t('hello') %> # # To use a different locale, set it with `I18n.locale`: # # I18n.locale = :es # # This would use the information in config/locales/es.yml. # # To learn more, please read the Rails Internationalization guide # available at http://guides.rubyonrails.org/i18n.html. en: libra: dashboa...
<|file_sep|>original/config/locales/en.yml # To use the locales, use `I18n.t`: # # I18n.t 'hello' # # In views, this is aliased to just `t`: # # <%= t('hello') %> # # To use a different locale, set it with `I18n.locale`: # # I18n.locale = :es # # This would use the information in config/locales/es.yml. # # ...
577f28c021f55f6ea710ce3f60d3b19542135f41
config/locales/en.yml
config/locales/en.yml
YAML
<|file_sep|>original/README.md libcurlwp8 ========== libcurl for Windows Phone 8 Curl 7.33.0 Build instructions Open the Visual Studio solution at \curl-7.33.0\vs\vc12\vc12libcurl.sln The build depends on zlib and OpenSSL. You need to configure the project includes to point to zlib and OpenSSL headers. Notable ch...
libcurlwp8 ========== libcurl for Windows Phone 8 Curl 7.33.0 Build instructions Open the Visual Studio solution at \curl-7.33.0\vs\vc12\vc12libcurl.sln The build depends on zlib and OpenSSL. You need to configure the project includes to point to zlib and OpenSSL headers. Notable changes: A preprocessor definiti...
<|file_sep|>original/README.md libcurlwp8 ========== libcurl for Windows Phone 8 Curl 7.33.0 Build instructions Open the Visual Studio solution at \curl-7.33.0\vs\vc12\vc12libcurl.sln The build depends on zlib and OpenSSL. You need to configure the project includes to point to zlib and OpenSSL headers. Notable ch...
9c469f3d122a3017a69c08d535acab53d7630ceb
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - "4.1" - "4.0" env: - - BROWSER=1 - BROWSER=1 NOCOMPRESS=1 script: - export BUILD_PARAMS="" - if [ "x$BROWSER" = "x1" ]; then export BUILD_PARAMS="$BUILD_PARAMS -t browser"; else export BUILD_PARAMS="$BUILD_PARAMS -t node"; fi - if [ "x$NOCOMP...
language: node_js node_js: - "4" - "5" env: - - BROWSER=1 - BROWSER=1 NOCOMPRESS=1 script: - export BUILD_PARAMS="" - if [ "x$BROWSER" = "x1" ]; then export BUILD_PARAMS="$BUILD_PARAMS -t browser"; else export BUILD_PARAMS="$BUILD_PARAMS -t node"; fi - if [ "x$NOCOMPRESS" = "x1" ]; then export BUILD_PAR...
<|file_sep|>original/.travis.yml language: node_js node_js: - "4.1" - "4.0" env: - - BROWSER=1 - BROWSER=1 NOCOMPRESS=1 script: - export BUILD_PARAMS="" - if [ "x$BROWSER" = "x1" ]; then export BUILD_PARAMS="$BUILD_PARAMS -t browser"; else export BUILD_PARAMS="$BUILD_PARAMS -t node"; fi - if [ "x$NOCOMP...
9803de1133b114b80e3a21399eb5e378def39b45
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/tasks/fullapp.rake.diff original: updated: <|file_sep|>lib/tasks/fullapp.rake.diff original: updated: end <|file_sep|>lib/tasks/fullapp.rake.diff original: updated: desc 'Lint both the frontend and backend' task lint: ['lca:lint:rubocop', 'lca:frontend:lint'] namespace :lint do <|file_sep|>...
task test: [:spec, 'lca:frontend:test'] namespace :test do desc 'Run Rspec as normal and Jest with optional coverage report' task cov: [:spec, 'lca:frontend:testcov'] end desc 'Lint both the frontend and backend' task lint: ['lca:lint:rubocop', 'lca:frontend:lint'] namespace :lint do desc 'Li...
<|file_sep|>lib/tasks/fullapp.rake.diff original: updated: <|file_sep|>lib/tasks/fullapp.rake.diff original: updated: end <|file_sep|>lib/tasks/fullapp.rake.diff original: updated: desc 'Lint both the frontend and backend' task lint: ['lca:lint:rubocop', 'lca:frontend:lint'] namespace :lint do <|file_sep|>...
48800c63fd44b055500071aea42a6cf1874b52e3
lib/tasks/fullapp.rake
lib/tasks/fullapp.rake
Ruby
<|file_sep|>original/db/migrate/20130621223337_create_flash_sales.rb class CreateFlashSales < ActiveRecord::Migration def change create_table :spree_flash_sales do |t| t.string :name t.datetime :start_date t.datetime :end_date t.boolean :active, default: false t.string :permalink ...
class CreateFlashSales < ActiveRecord::Migration def change create_table :spree_flash_sales do |t| t.string :name t.datetime :start_date t.datetime :end_date t.boolean :active t.string :permalink t.belongs_to :saleable, polymorphic: true t.timestamps end end end
<|file_sep|>original/db/migrate/20130621223337_create_flash_sales.rb class CreateFlashSales < ActiveRecord::Migration def change create_table :spree_flash_sales do |t| t.string :name t.datetime :start_date t.datetime :end_date t.boolean :active, default: false t.string :permalink ...
5182ec5728a69b5cabde598aac53a0d0c0bc5b2a
db/migrate/20130621223337_create_flash_sales.rb
db/migrate/20130621223337_create_flash_sales.rb
Ruby
<|file_sep|>original/lib/chef/knife/digital_ocean_droplet_resize.rb <|file_sep|>current/lib/chef/knife/digital_ocean_droplet_resize.rb <|file_sep|>updated/lib/chef/knife/digital_ocean_droplet_resize.rb
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under th...
<|file_sep|>original/lib/chef/knife/digital_ocean_droplet_resize.rb <|file_sep|>current/lib/chef/knife/digital_ocean_droplet_resize.rb <|file_sep|>updated/lib/chef/knife/digital_ocean_droplet_resize.rb # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance w...
8ff657dac1d65a5c6336c244a64d533285a16f07
lib/chef/knife/digital_ocean_droplet_resize.rb
lib/chef/knife/digital_ocean_droplet_resize.rb
Ruby
<|file_sep|>original/.travis.yml rvm: - 2.2.10 - 2.3.7 - 2.4.4 - 2.5.1 - ruby-head # whitelist branches: only: - master gemfile: - gemfiles/rails_5_2.gemfile - gemfiles/rails_5_1.gemfile - gemfiles/rails_5_0.gemfile - gemfiles/rails_4_2.gemfile - gemfiles/rails_4_1.gemfile - gemfiles/rails...
rvm: - 2.3.7 - 2.4.4 - 2.5.1 - ruby-head # whitelist branches: only: - master gemfile: - gemfiles/rails_5_2.gemfile - gemfiles/rails_5_1.gemfile - gemfiles/rails_5_0.gemfile - gemfiles/rails_4_2.gemfile - gemfiles/rails_4_1.gemfile - gemfiles/rails_4_0.gemfile matrix: fast_finish: true
<|file_sep|>original/.travis.yml rvm: - 2.2.10 - 2.3.7 - 2.4.4 - 2.5.1 - ruby-head # whitelist branches: only: - master gemfile: - gemfiles/rails_5_2.gemfile - gemfiles/rails_5_1.gemfile - gemfiles/rails_5_0.gemfile - gemfiles/rails_4_2.gemfile - gemfiles/rails_4_1.gemfile - gemfiles/rails...
bd504a605d581c97f8f8ccad51789386b0313fba
.travis.yml
.travis.yml
YAML
<|file_sep|>original/posts/2013/09-02-blog-software-update.md <|file_sep|>current/posts/2013/09-02-blog-software-update.md <|file_sep|>updated/posts/2013/09-02-blog-software-update.md
--- title: Blog Software Update date: 2013-09-02 tags: haskell --- This blog is built on [hakyll](http://jaspervdj.be/hakyll/), a static site generator written in Haskell. I have been running on Hakyll 3.x for quite some time now, but Hakyll 4 was released in January. I kept telling myself that I would update - I ev...
<|file_sep|>original/posts/2013/09-02-blog-software-update.md <|file_sep|>current/posts/2013/09-02-blog-software-update.md <|file_sep|>updated/posts/2013/09-02-blog-software-update.md --- title: Blog Software Update date: 2013-09-02 tags: haskell --- This blog is built on [hakyll](http://jaspervdj.be/hakyll/), a sta...
519eccaf5e4537c07299def245428df7d00637e9
posts/2013/09-02-blog-software-update.md
posts/2013/09-02-blog-software-update.md
Markdown
<|file_sep|>original/metadata/de.drhoffmannsoft.pizza.txt Issue Tracker:https://gitlab.com/kollo/PizzaCostCalculator/issues Auto Name:Pizza Cost Summary:Calculate optimal offer out of three round pizzas Description: Calculate which pizza is the best offer, based on diameter and price. Use gestures to adjust price and ...
Description: Calculate which pizza is the best offer, based on diameter and price. Use gestures to adjust price and diameter of three pizzas (small, medium, large) to compare. The winner will change color (turn green). . Repo Type:git Repo:https://gitlab.com/kollo/PizzaCostCalculator.git Build:1.04-7,7 commit=6df...
<|file_sep|>original/metadata/de.drhoffmannsoft.pizza.txt Issue Tracker:https://gitlab.com/kollo/PizzaCostCalculator/issues Auto Name:Pizza Cost Summary:Calculate optimal offer out of three round pizzas Description: Calculate which pizza is the best offer, based on diameter and price. Use gestures to adjust price and ...
5dbdd6d1b917b040b608f9aeb4e290e095b574ac
metadata/de.drhoffmannsoft.pizza.txt
metadata/de.drhoffmannsoft.pizza.txt
Text
<|file_sep|>package.json.diff original: "name": "dynamodb-engine", "version": "0.8.0", "description": "A promisified Node.js engine for AWS DynamoDB.", "author": "Odd Networks (http://oddnetworks.co)", "main": "./lib/dynamodb-engine", "scripts": { updated: "name" : "dynamodb-engine", "version" ...
"repository": { "type" : "git", "url" : "https://github.com/oddnetworks/dynamodb-engine.git" }, "homepage": "https://github.com/oddnetworks/dynamodb-engine/", "dependencies": { "aws-sdk" : "~2.5.0", "bluebird" : "~3.4.0", "brixx" : "~1.6.0", "debug" : "~2.2.0", "lodash" ...
<|file_sep|>package.json.diff original: "name": "dynamodb-engine", "version": "0.8.0", "description": "A promisified Node.js engine for AWS DynamoDB.", "author": "Odd Networks (http://oddnetworks.co)", "main": "./lib/dynamodb-engine", "scripts": { updated: "name" : "dynamodb-engine", "version" ...
4f7d9dde4fa5af53b74f84f1fade23e6e9b4ea67
package.json
package.json
JSON
<|file_sep|>packages/si/simple-money.yaml.diff original: hash: 0a794057df418394727984116960a7f81e359c2b425c0a5713e8c8a01baf0887 updated: hash: 019e17471874b878f7738935d69c64e7697f461b6af9356600583b90552720e0 <|file_sep|>original/packages/si/simple-money.yaml homepage: https://github.com/nbrk/simple-money changelog-type...
homepage: https://github.com/nbrk/simple-money changelog-type: '' hash: 019e17471874b878f7738935d69c64e7697f461b6af9356600583b90552720e0 test-bench-deps: {} maintainer: nbrk@linklevel.net synopsis: Simple library to handle and interexchange money changelog: '' basic-deps: base: ! '>=4.8 && <5.0' containers: ! '>=0....
<|file_sep|>packages/si/simple-money.yaml.diff original: hash: 0a794057df418394727984116960a7f81e359c2b425c0a5713e8c8a01baf0887 updated: hash: 019e17471874b878f7738935d69c64e7697f461b6af9356600583b90552720e0 <|file_sep|>original/packages/si/simple-money.yaml homepage: https://github.com/nbrk/simple-money changelog-type...
145859bd73fd548a8cc6fc958ce732992becf040
packages/si/simple-money.yaml
packages/si/simple-money.yaml
YAML
<|file_sep|>original/icekit/plugins/file/templates/icekit/plugins/file/default.html {% if instance.file.is_active %} <p class="file"> <a class="file-link" href="{{ instance.file.file.url }}"> <i class="fa fa-cloud-download" aria-hidden="true"></i> {{ instance.file }} (<span class="file-size">{{ instance.file.fil...
{% if instance.file.is_active %} <p class="file"> <a class="file-link" href="{{ instance.file.file.url }}"> <i class="fa fa-cloud-download" aria-hidden="true"></i> {{ instance.file }} (<span class="file-size">{{ instance.file.file_size }}</span> <span class="file-extension">.{{ instance.file.extension }}&nbsp;...
<|file_sep|>original/icekit/plugins/file/templates/icekit/plugins/file/default.html {% if instance.file.is_active %} <p class="file"> <a class="file-link" href="{{ instance.file.file.url }}"> <i class="fa fa-cloud-download" aria-hidden="true"></i> {{ instance.file }} (<span class="file-size">{{ instance.file.fil...
3ca302d1a054461ddd8fc4a707e6a2b8c8820a0e
icekit/plugins/file/templates/icekit/plugins/file/default.html
icekit/plugins/file/templates/icekit/plugins/file/default.html
HTML
<|file_sep|>original/design_patterns/strategy_design_pattern/TestNumbers.java <|file_sep|>current/design_patterns/strategy_design_pattern/TestNumbers.java <|file_sep|>updated/design_patterns/strategy_design_pattern/TestNumbers.java
package design_patterns.strategy_design_pattern; import design_patterns.strategy_design_pattern.PrintNormal; // Strategy 1 import design_patterns.strategy_design_pattern.PrintReverse; // Strategy 2 import design_patterns.strategy_design_pattern.Numbers; /* This class tests class Numbers - To use different print ...
<|file_sep|>original/design_patterns/strategy_design_pattern/TestNumbers.java <|file_sep|>current/design_patterns/strategy_design_pattern/TestNumbers.java <|file_sep|>updated/design_patterns/strategy_design_pattern/TestNumbers.java package design_patterns.strategy_design_pattern; import design_patterns.strategy_desig...
7c52cdf11a2ea941cdc4e675f8a5ff902fb57ac1
design_patterns/strategy_design_pattern/TestNumbers.java
design_patterns/strategy_design_pattern/TestNumbers.java
Java
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 before_script: - sh -c "mysql -e 'create database IF NOT EXISTS geokit;'" - wget -nc http://getcomposer.org/composer.phar - php composer.phar update script: phpunit --coverage-text --configuration phpunit.travis.xml <|file_sep|>current/.travi...
language: php php: - 5.3 - 5.4 before_script: - sh -c "mysql -e 'create database IF NOT EXISTS geokit;'" - composer --prefer-source --dev install script: phpunit --coverage-text --configuration phpunit.travis.xml
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 before_script: - sh -c "mysql -e 'create database IF NOT EXISTS geokit;'" - wget -nc http://getcomposer.org/composer.phar - php composer.phar update script: phpunit --coverage-text --configuration phpunit.travis.xml <|file_sep|>current/.travi...
757f240b2321e7c30ea534979954d88e98741faf
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/com.ero.kinoko.yml.diff original: updated: - versionName: 2.0.3 versionCode: 45 commit: 16d4e6e17b27f4d7a684998850a1b322d4ac1ded output: build/app/outputs/flutter-apk/app-release.apk srclibs: - flutter@2.0.5 rm: - ios - plugins/glib/ios - plugins/glib/...
- versionName: 2.0.3 versionCode: 45 commit: 16d4e6e17b27f4d7a684998850a1b322d4ac1ded output: build/app/outputs/flutter-apk/app-release.apk srclibs: - flutter@2.0.5 rm: - ios - plugins/glib/ios - plugins/glib/example/ios build: - $$flutter$$/bin/flutter config --...
<|file_sep|>metadata/com.ero.kinoko.yml.diff original: updated: - versionName: 2.0.3 versionCode: 45 commit: 16d4e6e17b27f4d7a684998850a1b322d4ac1ded output: build/app/outputs/flutter-apk/app-release.apk srclibs: - flutter@2.0.5 rm: - ios - plugins/glib/ios - plugins/glib/...
b34050b4abba3608dee95e223fde1cf4de54a994
metadata/com.ero.kinoko.yml
metadata/com.ero.kinoko.yml
YAML
<|file_sep|>original/.github/workflows/update_data.yaml jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '12.x' - name: Install dependencies run: yarn - ...
jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '12.x' - name: Install dependencies run: yarn - name: Setup gcloud and gsutil uses: GoogleCloudP...
<|file_sep|>original/.github/workflows/update_data.yaml jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '12.x' - name: Install dependencies run: yarn - ...
95d7e1f021cd37477232d1e477733f0167cb1c5d
.github/workflows/update_data.yaml
.github/workflows/update_data.yaml
YAML
<|file_sep|>original/tests/test_coord.py <|file_sep|>current/tests/test_coord.py <|file_sep|>updated/tests/test_coord.py
import unittest from coral import coord class TestCoord(unittest.TestCase): def test_simplify(self): poly = [(-10, -10), (-10, 10), (0, 15), (10, 10), (10, -10), (0, -5)] poly = coord.simplify(poly, 10) simple = [(-1, -1), (-1, 1), (1, 1), (1, -1)] self.assertEqual(poly, simple) ...
<|file_sep|>original/tests/test_coord.py <|file_sep|>current/tests/test_coord.py <|file_sep|>updated/tests/test_coord.py import unittest from coral import coord class TestCoord(unittest.TestCase): def test_simplify(self): poly = [(-10, -10), (-10, 10), (0, 15), (10, 10), (10, -10), (0, -5)] pol...
07624ba907d66e734c9098149b62d2ea8c76392a
tests/test_coord.py
tests/test_coord.py
Python
<|file_sep|>original/bower.json }, "homepage": "http://ghostium.oswaldoacauan.com/", "authors": [ "Oswaldo Acauan <hello@oswaldoacauan.com>" ], "description": "A Ghost theme focused on content based on Medium design/ux", "license": "MIT", "private": true, "ignore": [ "**/.*", "node_modules",...
}, "homepage": "http://ghostium.oswaldoacauan.com/", "authors": [ "Oswaldo Acauan <hello@oswaldoacauan.com>" ], "description": "A Ghost theme focused on content based on Medium design/ux", "license": "MIT", "private": true, "ignore": [ "**/.*", "node_modules", "src/assets/_components" ...
<|file_sep|>original/bower.json }, "homepage": "http://ghostium.oswaldoacauan.com/", "authors": [ "Oswaldo Acauan <hello@oswaldoacauan.com>" ], "description": "A Ghost theme focused on content based on Medium design/ux", "license": "MIT", "private": true, "ignore": [ "**/.*", "node_modules",...
11c1c1a2c3236658d4ed445e9523823e8aff78f4
bower.json
bower.json
JSON
<|file_sep|>original/ui/head.html {{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }} </title> <check if="isset(@PAGE.description) && @PAGE.description"> <meta name="description" content="{{ @PAGE.description }}"> </check> <meta name="viewport" content="width=device-width, initial-sca...
</style> <check if="{{ isset(@DEBUG) && @DEBUG }}"> <link rel="stylesheet" type="text/css" href="{{ @BASE }}/debug.css"> </check> <!-- Directa Serif Heavy --> <link rel="stylesheet" type="text/css" href="{{ @STATIC }}/fonts/MyFontsWebfontsKit.css"> <check if="{{ isset(@EXTRA_HEAD) }}"> {{ @E...
<|file_sep|>original/ui/head.html {{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }} </title> <check if="isset(@PAGE.description) && @PAGE.description"> <meta name="description" content="{{ @PAGE.description }}"> </check> <meta name="viewport" content="width=device-width, initial-sca...
6280517f2e7fcfa716c7614c42a585a123788ffb
ui/head.html
ui/head.html
HTML
<|file_sep|>original/nose/orbitint4sigint.py import sys import numpy from galpy.orbit import Orbit from galpy.potential import MiyamotoNagaiPotential if __name__ == '__main__': # python orbitint4sigint.py symplec4_c full mp= MiyamotoNagaiPotential(normalize=1.,a=0.5,b=0.05) ts= numpy.linspace(0.,100000.,1...
import sys import numpy from galpy.orbit import Orbit from galpy.potential import MiyamotoNagaiPotential if __name__ == '__main__': # python orbitint4sigint.py symplec4_c full mp= MiyamotoNagaiPotential(normalize=1.,a=0.5,b=0.05) ts= numpy.linspace(0.,10000000.,1000001) if sys.argv[2] == 'full' or sys...
<|file_sep|>original/nose/orbitint4sigint.py import sys import numpy from galpy.orbit import Orbit from galpy.potential import MiyamotoNagaiPotential if __name__ == '__main__': # python orbitint4sigint.py symplec4_c full mp= MiyamotoNagaiPotential(normalize=1.,a=0.5,b=0.05) ts= numpy.linspace(0.,100000.,1...
3aa248a9ee40afb2c8c7725ae832c0d25ec92c9b
nose/orbitint4sigint.py
nose/orbitint4sigint.py
Python
<|file_sep|>src/Resources/config/liip_imagine.xml.diff original: <service id="hshn.serializer_extra.vich_uploader.uri_resolver.apply_filter" class="Hshn\SerializerExtraBundle\VichUploader\UriResolver\StorageResolver" public="false"> updated: <service id="hshn.serializer_extra.vich_uploader.uri_resolver....
<?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <services> <service id="hshn.seri...
<|file_sep|>src/Resources/config/liip_imagine.xml.diff original: <service id="hshn.serializer_extra.vich_uploader.uri_resolver.apply_filter" class="Hshn\SerializerExtraBundle\VichUploader\UriResolver\StorageResolver" public="false"> updated: <service id="hshn.serializer_extra.vich_uploader.uri_resolver....
a9776addb9cfbb7371990fd4033050944673e62b
src/Resources/config/liip_imagine.xml
src/Resources/config/liip_imagine.xml
XML
<|file_sep|>original/Sensorama/Sensorama/SRUtils.h // // SRUtils.h // Sensorama // // Created by Wojciech Koszek (home) on 3/1/16. // Copyright © 2016 Wojciech Adam Koszek. All rights reserved. // @import Foundation; @import UIKit; @interface SRUtils : NSObject + (UIColor *)mainColor; + (NSDictionary *)deviceInf...
// // SRUtils.h // Sensorama // // Created by Wojciech Koszek (home) on 3/1/16. // Copyright © 2016 Wojciech Adam Koszek. All rights reserved. // @import Foundation; @import UIKit; @import CoreMotion; @interface SRUtils : NSObject + (UIColor *)mainColor; + (NSDictionary *)deviceInfo; + (NSString*)computeSHA256Di...
<|file_sep|>original/Sensorama/Sensorama/SRUtils.h // // SRUtils.h // Sensorama // // Created by Wojciech Koszek (home) on 3/1/16. // Copyright © 2016 Wojciech Adam Koszek. All rights reserved. // @import Foundation; @import UIKit; @interface SRUtils : NSObject + (UIColor *)mainColor; + (NSDictionary *)deviceInf...
0a2d85484ad324195537b20c7691a4b49868b76f
Sensorama/Sensorama/SRUtils.h
Sensorama/Sensorama/SRUtils.h
C
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode <|file_sep|>updated/.travis...
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - rbx-18mode - rbx-19mode
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode <|file_sep|>updated/.travis...
9d227f327e725164c3266be74cf5c00678edad13
.travis.yml
.travis.yml
YAML
<|file_sep|>content/events/2017-minneapolis/program/habitat.md.diff original: Title = "Hands on with Habitat" updated: Title = "Application Automation &amp; Containerization with Habitat" <|file_sep|>content/events/2017-minneapolis/program/habitat.md.diff original: Habitat is Chef’s open-source project for application ...
Talk_date = "" Talk_start_time = "" Talk_end_time = "" Title = "Application Automation &amp; Containerization with Habitat" Type = "talk" Speakers = ["nicole-johnson", "nathen-harvey"] +++ Habitat builds and manages modern applications following the practices and principles of modern application teams. Build applicat...
<|file_sep|>content/events/2017-minneapolis/program/habitat.md.diff original: Title = "Hands on with Habitat" updated: Title = "Application Automation &amp; Containerization with Habitat" <|file_sep|>content/events/2017-minneapolis/program/habitat.md.diff original: Habitat is Chef’s open-source project for application ...
be523dad84631b6a0562cc626edbb56bf3d35680
content/events/2017-minneapolis/program/habitat.md
content/events/2017-minneapolis/program/habitat.md
Markdown
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.0
0d2a15a97e07f55c77e44b3b13f32e2336d49fef
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: * npm install <|file_sep|>original/README.md # New dev.hel.fi site's wagtail project [![Build Status](https://travis-ci.org/City-of-Helsinki/devheldev.svg?branch=master)](https://travis-ci.org/City-of-Helsinki/devheldev) [![codecov](https://codecov.io/gh/City-of-Helsinki...
# New dev.hel.fi site's wagtail project [![Build Status](https://travis-ci.org/City-of-Helsinki/devheldev.svg?branch=master)](https://travis-ci.org/City-of-Helsinki/devheldev) [![codecov](https://codecov.io/gh/City-of-Helsinki/devheldev/branch/master/graph/badge.svg)](https://codecov.io/gh/City-of-Helsinki/devheldev) ...
<|file_sep|>README.md.diff original: updated: * npm install <|file_sep|>original/README.md # New dev.hel.fi site's wagtail project [![Build Status](https://travis-ci.org/City-of-Helsinki/devheldev.svg?branch=master)](https://travis-ci.org/City-of-Helsinki/devheldev) [![codecov](https://codecov.io/gh/City-of-Helsinki...
6a7f8842f3b25cff6619e6c7d10152ebcec51994
README.md
README.md
Markdown
<|file_sep|>ui/modal-layout.html.diff original: <div class="modal-content"> updated: <form class="modal-content"> <|file_sep|>ui/modal-layout.html.diff original: </div> updated: </form> <|file_sep|>original/ui/modal-layout.html <div class="modal-footer"> <button type="button" class="btn btn-d...
<button type="button" class="btn btn-default" data-dismiss="modal"> Close </button> {% block submit %} <button type="submit" class="btn btn-primary"> Submit </button> {% endblock %} </div> </div> </form> <script> { let dia...
<|file_sep|>ui/modal-layout.html.diff original: <div class="modal-content"> updated: <form class="modal-content"> <|file_sep|>ui/modal-layout.html.diff original: </div> updated: </form> <|file_sep|>original/ui/modal-layout.html <div class="modal-footer"> <button type="button" class="btn btn-d...
08b8b58f095af10f46dff594afbd42b7fe2c24b2
ui/modal-layout.html
ui/modal-layout.html
HTML
<|file_sep|>original/src/MinCamlSharp.Compiler/Compiler.fs let rec iter n e = Printf.eprintf "iteration %d@." n; if n = 0 then e else let e' = Beta.transform e |> Assoc.transform |> Inline.transform |> ConstFold.transform ...
Printf.eprintf "iteration %d@." n; if n = 0 then e else let e' = Beta.transform e |> Assoc.transform |> Inline.transform |> ConstFold.transform |> Elim.transform in if e = e' then e else iter (n - 1) e' ...
<|file_sep|>original/src/MinCamlSharp.Compiler/Compiler.fs let rec iter n e = Printf.eprintf "iteration %d@." n; if n = 0 then e else let e' = Beta.transform e |> Assoc.transform |> Inline.transform |> ConstFold.transform ...
4f202a00014519abaca87e3aec5bb163fc2c9fa4
src/MinCamlSharp.Compiler/Compiler.fs
src/MinCamlSharp.Compiler/Compiler.fs
F#
<|file_sep|>original/src/test/ui/unused-crate-deps/test-use-ok.rs <|file_sep|>current/src/test/ui/unused-crate-deps/test-use-ok.rs <|file_sep|>updated/src/test/ui/unused-crate-deps/test-use-ok.rs
// Test-only use OK // edition:2018 // check-pass // aux-crate:bar=bar.rs // compile-flags:--test #![deny(unused_crate_dependencies)] fn main() {} #[test] fn test_bar() { assert_eq!(bar::BAR, "bar"); }
<|file_sep|>original/src/test/ui/unused-crate-deps/test-use-ok.rs <|file_sep|>current/src/test/ui/unused-crate-deps/test-use-ok.rs <|file_sep|>updated/src/test/ui/unused-crate-deps/test-use-ok.rs // Test-only use OK // edition:2018 // check-pass // aux-crate:bar=bar.rs // compile-flags:--test #![deny(unused_crate_d...
ce81d15289867f7ec0bba959712d100d3ff6a653
src/test/ui/unused-crate-deps/test-use-ok.rs
src/test/ui/unused-crate-deps/test-use-ok.rs
Rust
<|file_sep|>original/requirements.txt Flask==0.12.2 google-api-python-client==1.6.4 GoogleAppEngineCloudStorageClient==1.9.22.1 pyprof2calltree==1.4.3 Flask-WTF==0.14.2 Flask-SQLAlchemy==2.3.2 mysqlclient==1.3.12 psycopg2==2.7.3.1 nose==1.3.7 coverage==4.4.1 Flask-Migrate==2.1.1 user-agents==1.1.0 geoip2==2.5.0 timezon...
Flask==0.12.2 google-api-python-client==1.6.4 GoogleAppEngineCloudStorageClient==1.9.22.1 pyprof2calltree==1.4.3 Flask-WTF==0.14.2 Flask-SQLAlchemy==2.3.2 mysqlclient==1.3.12 psycopg2==2.7.3.2 nose==1.3.7 coverage==4.4.1 Flask-Migrate==2.1.1 user-agents==1.1.0 geoip2==2.5.0 timezonefinderL==2.0.1 Babel==2.5.1 redis==2....
<|file_sep|>original/requirements.txt Flask==0.12.2 google-api-python-client==1.6.4 GoogleAppEngineCloudStorageClient==1.9.22.1 pyprof2calltree==1.4.3 Flask-WTF==0.14.2 Flask-SQLAlchemy==2.3.2 mysqlclient==1.3.12 psycopg2==2.7.3.1 nose==1.3.7 coverage==4.4.1 Flask-Migrate==2.1.1 user-agents==1.1.0 geoip2==2.5.0 timezon...
bd4d8a14c03ac8fd0ddfb17bd2dfd78586b92040
requirements.txt
requirements.txt
Text
<|file_sep|>original/bookchook/static/js/main.js function displaySeriesNumber() { var s = document.getElementById("id_series"); var name = s.options[s.selectedIndex].text; if (name != '---------') { document.getElementById("seriesNumber").style.visibility = "visible"; } else { document.getElementBy...
function displaySeriesNumber() { var s = document.getElementById("id_series"); var name = s.options[s.selectedIndex].text; if (name != '---------') { document.getElementById("seriesNumber").style.visibility = "visible"; } else { var num = document.getElementById("id_number"); num.value = ''; ...
<|file_sep|>original/bookchook/static/js/main.js function displaySeriesNumber() { var s = document.getElementById("id_series"); var name = s.options[s.selectedIndex].text; if (name != '---------') { document.getElementById("seriesNumber").style.visibility = "visible"; } else { document.getElementBy...
29e081cf15200f090a0824b404e8ede980af3abc
bookchook/static/js/main.js
bookchook/static/js/main.js
JavaScript
<|file_sep|>lib/optical/filters/at_least_one_end_unique.rb.diff original: raise ArgumentError.new("This filter only works for paired end data") updated: # A single end with at least one end unique, is really just only unique, duh OnlyUnique.new(@lib,@name,@conf).filter_to(output_bam) else fi...
# Copyright (c) 2014, Stuart Glenn, OMRF # Distributed under a BSD 3-Clause # Full license available in LICENSE.txt distributed with this software class Optical::Filters::AtLeastOneEndUnique < Optical::Filters::NullFilter def filter_to(output_bam) if ! @lib.is_paired? # A single end with at least one end u...
<|file_sep|>lib/optical/filters/at_least_one_end_unique.rb.diff original: raise ArgumentError.new("This filter only works for paired end data") updated: # A single end with at least one end unique, is really just only unique, duh OnlyUnique.new(@lib,@name,@conf).filter_to(output_bam) else fi...
a4fc0efecfd83809ccb8ee7e6f2b53f8cf9ce20e
lib/optical/filters/at_least_one_end_unique.rb
lib/optical/filters/at_least_one_end_unique.rb
Ruby
<|file_sep|>metadata/ca.chancehorizon.paseo.yml.diff original: updated: - versionName: 1.2.3 versionCode: 6 commit: v1.2.3 subdir: app gradle: - yes <|file_sep|>original/metadata/ca.chancehorizon.paseo.yml gradle: - yes - versionName: 1.2.1 versionCode: 4 commit: v1.2.1 ...
gradle: - yes - versionName: 1.2.2 versionCode: 5 commit: v1.2.2 subdir: app gradle: - yes - versionName: 1.2.3 versionCode: 6 commit: v1.2.3 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.2.3 CurrentVersionCode:...
<|file_sep|>metadata/ca.chancehorizon.paseo.yml.diff original: updated: - versionName: 1.2.3 versionCode: 6 commit: v1.2.3 subdir: app gradle: - yes <|file_sep|>original/metadata/ca.chancehorizon.paseo.yml gradle: - yes - versionName: 1.2.1 versionCode: 4 commit: v1.2.1 ...
8f7f1e4f11eacfd3a323873d681ade5e501cace4
metadata/ca.chancehorizon.paseo.yml
metadata/ca.chancehorizon.paseo.yml
YAML
<|file_sep|>middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb.diff original: updated: <|file_sep|>middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb.diff original: updated: <|file_sep|>middleman-core/lib/middleman-core/templates/default/source/layouts/l...
<!doctype html> <html> <head> <meta charset="utf-8"> <!-- Always force latest IE rendering engine or request Chrome Frame --> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <!-- Use title if it's in the page YAML frontmatter --> <title><%= current_page.data.title || "The Middlema...
<|file_sep|>middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb.diff original: updated: <|file_sep|>middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb.diff original: updated: <|file_sep|>middleman-core/lib/middleman-core/templates/default/source/layouts/l...
c1ce3ffd612b5e93c7b58fba949f8e1f633fa594
middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb
middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb
HTML+ERB
<|file_sep|>original/config/initializers/maslow.rb require 'gds_api/maslow' Whitehall.maslow = GdsApi::Maslow.new(Plek.find('maslow')) <|file_sep|>current/config/initializers/maslow.rb require 'gds_api/maslow' Whitehall.maslow = GdsApi::Maslow.new(Plek.find('maslow')) <|file_sep|>updated/config/initializers/maslow.rb
require 'gds_api/maslow' Whitehall.maslow = GdsApi::Maslow.new(Plek.new.external_url_for('maslow'))
<|file_sep|>original/config/initializers/maslow.rb require 'gds_api/maslow' Whitehall.maslow = GdsApi::Maslow.new(Plek.find('maslow')) <|file_sep|>current/config/initializers/maslow.rb require 'gds_api/maslow' Whitehall.maslow = GdsApi::Maslow.new(Plek.find('maslow')) <|file_sep|>updated/config/initializers/maslow.rb...
20e0a6a499ab35a38ddf47245d0fd66d0776e068
config/initializers/maslow.rb
config/initializers/maslow.rb
Ruby
<|file_sep|>original/example/amex.py <|file_sep|>current/example/amex.py <|file_sep|>updated/example/amex.py
# Example on how to use the ofxclient library without the # web interface. It's admittedly clunky but doable -- it's # free so get over it >=) import ofxclient from pprint import pprint # http://www.ofxhome.com/index.php/institution/view/424 # note this is NOT the FI Id. It's the ofxhome ID. ofxhome_id = '424' you...
<|file_sep|>original/example/amex.py <|file_sep|>current/example/amex.py <|file_sep|>updated/example/amex.py # Example on how to use the ofxclient library without the # web interface. It's admittedly clunky but doable -- it's # free so get over it >=) import ofxclient from pprint import pprint # http://www.ofxhome....
9cd5226f64b93d19f6af7cfd76436118b00bd781
example/amex.py
example/amex.py
Python
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.5 cryptography==2.2.2 PyYAML==3.12 pytest==3.6.0 pytest-cov==2.5.1 pytest-mock==1.10.0 pytest-pylint==0.9.0 requests-mock==1.5.0 spec==1.4.1 <|file_sep|>current/req...
pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.5 cryptography==2.2.2 PyYAML==3.12 pytest==3.6.1 pytest-cov==2.5.1 pytest-mock==1.10.0 pytest-pylint==0.9.0 requests-mock==1.5.0 spec==1.4.1
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.5 cryptography==2.2.2 PyYAML==3.12 pytest==3.6.0 pytest-cov==2.5.1 pytest-mock==1.10.0 pytest-pylint==0.9.0 requests-mock==1.5.0 spec==1.4.1 <|file_sep|>current/req...
883720d6a27b6979d34cd0c7da6e6af838b2abd0
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.4.6 - 2.5.5 - 2.6.3 env: - RAILS=6-0 DB=sqlite - RAILS=6-0 DB=pg - RAILS=6-0 DB=mysql - RAILS=5-2 DB=sqlite - RAILS=5-2 DB=pg - RAILS=5-2 DB=mysql - RAILS=5-1 DB=sqlite - RAILS=5-1 DB=pg - RAILS=5-1 DB=mysql - RAILS=4-2 DB=sq...
sudo: false language: ruby addons: postgresql: "9.6" rvm: - 2.4.6 - 2.5.5 - 2.6.3 env: - RAILS=6-0 DB=sqlite - RAILS=6-0 DB=pg - RAILS=6-0 DB=mysql - RAILS=5-2 DB=sqlite - RAILS=5-2 DB=pg - RAILS=5-2 DB=mysql - RAILS=5-1 DB=sqlite - RAILS=5-1 DB=pg - RAILS=5-1 DB=mysql - RAILS=4-2 DB=sqlite ...
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.4.6 - 2.5.5 - 2.6.3 env: - RAILS=6-0 DB=sqlite - RAILS=6-0 DB=pg - RAILS=6-0 DB=mysql - RAILS=5-2 DB=sqlite - RAILS=5-2 DB=pg - RAILS=5-2 DB=mysql - RAILS=5-1 DB=sqlite - RAILS=5-1 DB=pg - RAILS=5-1 DB=mysql - RAILS=4-2 DB=sq...
ca3efc7dd7eb22bbb38d0ea0616d118ed6800701
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/ex_twilio/resources/dependent_phone_number.ex defmodule ExTwilio.DependentPhoneNumber do @moduledoc """ Represents an DependentPhoneNumber resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/api/rest/dependent-phone-numbers) ## Examples Since DependentPhoneNumbe...
defmodule ExTwilio.DependentPhoneNumber do @moduledoc """ Represents an DependentPhoneNumber resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/usage/api/address#list-dependent-pns) ## Examples Since DependentPhoneNumbers are a nested resource in the Twilio API, you must pass in a pa...
<|file_sep|>original/lib/ex_twilio/resources/dependent_phone_number.ex defmodule ExTwilio.DependentPhoneNumber do @moduledoc """ Represents an DependentPhoneNumber resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/api/rest/dependent-phone-numbers) ## Examples Since DependentPhoneNumbe...
744537052a8136f9f1aca0cb5283721c36b0d8bb
lib/ex_twilio/resources/dependent_phone_number.ex
lib/ex_twilio/resources/dependent_phone_number.ex
Elixir
<|file_sep|>original/src/extras/__init__.py __author__ = 's7a' # All imports from logger import Logger from sanitizer import Sanitizer from kucera_francis import KuceraFrancis <|file_sep|>current/src/extras/__init__.py __author__ = 's7a' # All imports from logger import Logger from sanitizer import Sanitizer from kuc...
__author__ = 's7a' # All imports from logger import Logger from sanitizer import Sanitizer from kucera_francis import KuceraFrancis from stemmed_kucera_francis import StemmedKuceraFrancis
<|file_sep|>original/src/extras/__init__.py __author__ = 's7a' # All imports from logger import Logger from sanitizer import Sanitizer from kucera_francis import KuceraFrancis <|file_sep|>current/src/extras/__init__.py __author__ = 's7a' # All imports from logger import Logger from sanitizer import Sanitizer from kuc...
213b889a580f58f5dea13fa63c999ca7dac04450
src/extras/__init__.py
src/extras/__init__.py
Python
<|file_sep|>original/two-samples/README.md <|file_sep|>current/two-samples/README.md <|file_sep|>updated/two-samples/README.md
# Two-sample tests Similar to the t-test, a two sample t-test will test the differences between two datasets. Example: ```R > summary(discoveries) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.0 2.0 3.0 3.1 4.0 12.0 > summary(eurodist) Min. 1st Qu. Median Mean 3rd Qu. Max. ...
<|file_sep|>original/two-samples/README.md <|file_sep|>current/two-samples/README.md <|file_sep|>updated/two-samples/README.md # Two-sample tests Similar to the t-test, a two sample t-test will test the differences between two datasets. Example: ```R > summary(discoveries) Min. 1st Qu. Median Mean 3rd Qu. ...
d0bc6f000f64048f84024d33be01f3806a26ce75
two-samples/README.md
two-samples/README.md
Markdown
<|file_sep|>core/app/templates/evidence/_ndp_evidence_layout.mustache.diff original: updated: <div class="js-content-region"></div> <|file_sep|>original/core/app/templates/evidence/_ndp_evidence_layout.mustache <div class="evidence-spacer-right"></div> <div class="evidence-spacer-left"></div> <div class="evidence-i...
<div class="evidence-spacer-right"></div> <div class="evidence-spacer-left"></div> <div class="evidence-impact"> <div class="js-vote-region"></div> <div class="evidence-impact-text"> {{#positive_impact}} {{formatted_impact}} {{/positive_impact}} {{^positive_impact}} &mdash; {{/positive_...
<|file_sep|>core/app/templates/evidence/_ndp_evidence_layout.mustache.diff original: updated: <div class="js-content-region"></div> <|file_sep|>original/core/app/templates/evidence/_ndp_evidence_layout.mustache <div class="evidence-spacer-right"></div> <div class="evidence-spacer-left"></div> <div class="evidence-i...
830c8992633b5d527a7275ca749c76990db31b3a
core/app/templates/evidence/_ndp_evidence_layout.mustache
core/app/templates/evidence/_ndp_evidence_layout.mustache
HTML+Django
<|file_sep|>original/src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/distance/DistanceRelevanceHelper.kt <|file_sep|>current/src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/distance/DistanceRelevanceHelper.kt <|file_sep|>updated/src/main/kotlin/com/kotlinnlp/simplednn/core/layers/mod...
/* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. * ------------------------------------------...
<|file_sep|>original/src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/distance/DistanceRelevanceHelper.kt <|file_sep|>current/src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/distance/DistanceRelevanceHelper.kt <|file_sep|>updated/src/main/kotlin/com/kotlinnlp/simplednn/core/layers/mod...
35f38bfa1a0769e6a62ccd45965959743c560a3d
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/distance/DistanceRelevanceHelper.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/distance/DistanceRelevanceHelper.kt
Kotlin
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). ## How to Report For more information on how to re...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Community Participation Guidelines This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines]...
ff4c00a8bf34792e6b695c4db231193ac44924a4
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>original/project/plugins.sbt addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.11.0") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmat...
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.11.0") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.9.0") val sbtSoftwareMillVersi...
<|file_sep|>original/project/plugins.sbt addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.11.0") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.7") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmat...
5c0786f4aa81275347a96b847bb39fd5f69fc1ea
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/.travis.yml sudo: required language: go go: - 1.4 - 1.5 services: - docker before_install: - export DEBIAN_FRONTEND=noninteractive - sudo apt-get update - sudo apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" lxc-docker script: - docker l...
sudo: required language: go go: - 1.5 services: - docker before_install: - export DEBIAN_FRONTEND=noninteractive - sudo apt-get update - sudo apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" lxc-docker script: - docker login -e $CI_EMAIL -u $CI_USER -p $CI_PASS...
<|file_sep|>original/.travis.yml sudo: required language: go go: - 1.4 - 1.5 services: - docker before_install: - export DEBIAN_FRONTEND=noninteractive - sudo apt-get update - sudo apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" lxc-docker script: - docker l...
86605c1cd57dc7cd58db24d46269c932168b1616
.travis.yml
.travis.yml
YAML
<|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: updated: ``` <|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: updated: setxkbmap -model abnt2 -layout br -variant abnt2 ``` <|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: updated: ``` <|file_sep|>original/docs/arch/in...
# Install Arch Linux #Change keyboard to abnt2 ``` loadkeys br-abnt2 setxkbmap -model abnt2 -layout br -variant abnt2 ``` #Show particions ``` fdisk -l ```
<|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: updated: ``` <|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: updated: setxkbmap -model abnt2 -layout br -variant abnt2 ``` <|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: updated: ``` <|file_sep|>original/docs/arch/in...
db36cf50e64dcd481486c46f3caab16ed816f52f
docs/arch/install_arch_linux_REAME.md
docs/arch/install_arch_linux_REAME.md
Markdown
<|file_sep|>original/packages/id-map/package.js Package.describe({ summary: "Dictionary data structure: a wrapper for a raw object", internal: true }); Package.on_use(function (api) { api.export('IdMap'); api.use(['underscore', 'json', 'ejson']); api.add_files([ 'id-map.js' ]); }); <|file_sep|>current/packa...
Package.describe({ summary: "Dictionary data structure allowing non-string keys", internal: true }); Package.on_use(function (api) { api.export('IdMap'); api.use(['underscore', 'json', 'ejson']); api.add_files([ 'id-map.js' ]); });
<|file_sep|>original/packages/id-map/package.js Package.describe({ summary: "Dictionary data structure: a wrapper for a raw object", internal: true }); Package.on_use(function (api) { api.export('IdMap'); api.use(['underscore', 'json', 'ejson']); api.add_files([ 'id-map.js' ]); }); <|file_sep|>current/packa...
db28492e6bd99aa138e0c7d4a1ce15fe4661f13b
packages/id-map/package.js
packages/id-map/package.js
JavaScript
<|file_sep|>original/requirements/common.txt requests==2.18.4 urllib3==1.22 # Markdown & LaTeX jinja2==2.10 MarkupSafe==1.0 pypandoc==1.4 markdown==2.6.10 # misc django-anymail==1.3 bpython==0.17 redis==2.10.6 rollbar==0.13.17 # Compressor django-compressor==2.2 rcssmin==1.0.6 rjsmin==1.0.12 # Auth <|file_sep|>curr...
requests==2.18.4 urllib3==1.22 # Markdown & LaTeX jinja2==2.10 MarkupSafe==1.0 pypandoc==1.4 markdown==2.6.10 # misc django-anymail==1.4 bpython==0.17 redis==2.10.6 rollbar==0.13.17 # Compressor django-compressor==2.2 rcssmin==1.0.6 rjsmin==1.0.12 # Auth
<|file_sep|>original/requirements/common.txt requests==2.18.4 urllib3==1.22 # Markdown & LaTeX jinja2==2.10 MarkupSafe==1.0 pypandoc==1.4 markdown==2.6.10 # misc django-anymail==1.3 bpython==0.17 redis==2.10.6 rollbar==0.13.17 # Compressor django-compressor==2.2 rcssmin==1.0.6 rjsmin==1.0.12 # Auth <|file_sep|>curr...
40bed3244c0fec3bf063c80440e0fa41505d27fd
requirements/common.txt
requirements/common.txt
Text
<|file_sep|>README.md.diff original: maven { url "http://dl.bintray.com/workday/workday-oss" } updated: mavenCentral() <|file_sep|>original/README.md # metajava Metajava is a collection of utilities that make writing annotation processors and code generation easier. You can use metajava in your p...
# metajava Metajava is a collection of utilities that make writing annotation processors and code generation easier. You can use metajava in your project by adding the following lines to you `build.gradle` file. ``` repositories { mavenCentral() } dependencies { compile 'com.workday:metajava:1.0' } ```
<|file_sep|>README.md.diff original: maven { url "http://dl.bintray.com/workday/workday-oss" } updated: mavenCentral() <|file_sep|>original/README.md # metajava Metajava is a collection of utilities that make writing annotation processors and code generation easier. You can use metajava in your p...
c7576a4083de43a029744bfe8dd9de7fcb5d3a92
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: - cat ./.tmp/js/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js updated: - codecov < .tmp/js/lcov.info <|file_sep|>original/.travis.yml before_script: - npm install -g gulp - npm install -g bower - npm install -g codeclimate-test-reporter - npm install codacy-c...
before_script: - npm install -g gulp - npm install -g bower - npm install -g codeclimate-test-reporter - npm install codacy-coverage - bower install script: gulp after_script: - codecov < .tmp/js/lcov.info - codeclimate-test-reporter < ./.tmp/js/lcov.info - codacy-coverage < .tmp/js/lcov.info cache: d...
<|file_sep|>.travis.yml.diff original: - cat ./.tmp/js/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js updated: - codecov < .tmp/js/lcov.info <|file_sep|>original/.travis.yml before_script: - npm install -g gulp - npm install -g bower - npm install -g codeclimate-test-reporter - npm install codacy-c...
7337a48d7b4433fce8983505fd1939411c682d9b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/models/concerns/event/names.rb def name_with_date "#{name} (#{short_date})" end def full_name_with_date "#{full_name} (#{short_date.try :strip})" end # Try to intelligently combined parent name and child name for schedule pages def full_name...
def name_with_date "#{name} (#{short_date})" end def full_name_with_date "#{full_name} (#{short_date.try :strip})" end # Try to intelligently combined parent name and child name for schedule pages def full_name if parent_id.nil? name elsif ...
<|file_sep|>original/app/models/concerns/event/names.rb def name_with_date "#{name} (#{short_date})" end def full_name_with_date "#{full_name} (#{short_date.try :strip})" end # Try to intelligently combined parent name and child name for schedule pages def full_name...
3464d409015f9834e17e0b255df923bf213d7c02
app/models/concerns/event/names.rb
app/models/concerns/event/names.rb
Ruby
<|file_sep|>original/site-cookbooks/sourcery-osx/templates/default/sourcery_bash_aliases.bash export PATH=./script:./bin:$PATH alias g=git alias gpr="git pull --rebase" alias gst="git status" alias canada="git commit --amend --no-edit --reset-author" alias pair="git pair $@" alias fall="spring stop" alias rrg="rake ro...
export PATH=./script:./bin:$PATH alias cdsp="cd ~/Development/payments" alias cdsg="cd ~/Development/getsourcery" alias cdss="cd ~/Development/sourcery" alias cdsa="cd ~/Development/admin" alias g=git alias gpr="git pull --rebase" alias gst="git status" alias canada="git commit --amend --no-edit --reset-author" alias ...
<|file_sep|>original/site-cookbooks/sourcery-osx/templates/default/sourcery_bash_aliases.bash export PATH=./script:./bin:$PATH alias g=git alias gpr="git pull --rebase" alias gst="git status" alias canada="git commit --amend --no-edit --reset-author" alias pair="git pair $@" alias fall="spring stop" alias rrg="rake ro...
f76deb3c2ce556aea5a953d3d507ef13c729ab97
site-cookbooks/sourcery-osx/templates/default/sourcery_bash_aliases.bash
site-cookbooks/sourcery-osx/templates/default/sourcery_bash_aliases.bash
Shell
<|file_sep|>original/metadata/org.gringene.colourclock.txt A sine-wave second "tick" has also been implemented, as well as fixing the minute hand to integer positions. This makes the clock a bit more interesting, because each hand tells the time in a different way. Other apps by this developer: [[org.gringene.concentr...
A sine-wave second "tick" has also been implemented, as well as fixing the minute hand to integer positions. This makes the clock a bit more interesting, because each hand tells the time in a different way. Other apps by this developer: [[org.gringene.concentricclock]] . Repo Type:git Repo:https://github.com/gringer/...
<|file_sep|>original/metadata/org.gringene.colourclock.txt A sine-wave second "tick" has also been implemented, as well as fixing the minute hand to integer positions. This makes the clock a bit more interesting, because each hand tells the time in a different way. Other apps by this developer: [[org.gringene.concentr...
01b3a3467d80e71c0674b61e3dca87901ee55cde
metadata/org.gringene.colourclock.txt
metadata/org.gringene.colourclock.txt
Text
<|file_sep|>original/.buildkite/pipeline.yml steps: - name: ":rspec:" command: "rspec --color specs" plugins: docker-compose#v3.1.0: run: app <|file_sep|>current/.buildkite/pipeline.yml steps: - name: ":rspec:" command: "rspec --color specs" plugins: docker-compose#v3.1.0: ...
steps: - name: ":rspec:" command: "rspec --color specs" plugins: docker-compose#v3.2.0: run: app
<|file_sep|>original/.buildkite/pipeline.yml steps: - name: ":rspec:" command: "rspec --color specs" plugins: docker-compose#v3.1.0: run: app <|file_sep|>current/.buildkite/pipeline.yml steps: - name: ":rspec:" command: "rspec --color specs" plugins: docker-compose#v3.1.0: ...
8ef1af1002b2232afdadf889f0e44a975628136f
.buildkite/pipeline.yml
.buildkite/pipeline.yml
YAML
<|file_sep|>original/writer.go } func (iw *ioWriterMsgWriter) Write(msg Msg) error { bytes := append(msg.Bytes(), '\n') n, err := iw.w.Write(bytes) if err != nil { return err } else if n != len(bytes) { return io.ErrShortWrite } return err } func (iw *ioWriterMsgWriter) Close() error { return nil } // New...
} func (iw *ioWriterMsgWriter) Write(msg Msg) error { bytes := append(msg.Bytes(), '\n') n, err := iw.w.Write(bytes) if err != nil { return err } else if n != len(bytes) { return io.ErrShortWrite } return nil } func (iw *ioWriterMsgWriter) Close() error { return nil } // NewWriter creates a new logger tha...
<|file_sep|>original/writer.go } func (iw *ioWriterMsgWriter) Write(msg Msg) error { bytes := append(msg.Bytes(), '\n') n, err := iw.w.Write(bytes) if err != nil { return err } else if n != len(bytes) { return io.ErrShortWrite } return err } func (iw *ioWriterMsgWriter) Close() error { return nil } // New...
eab36ad8a39cbe0d33484f40a43d1553661ebd9a
writer.go
writer.go
Go
<|file_sep|>original/PULL_REQUEST_TEMPLATE.md * All new code requires tests to ensure against regressions ### Description of the Change <!-- We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull re...
* All new code requires tests to ensure against regressions ### Description of the Change <!-- We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull request may be closed at the maintainers' discre...
<|file_sep|>original/PULL_REQUEST_TEMPLATE.md * All new code requires tests to ensure against regressions ### Description of the Change <!-- We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull re...
2554d896e16869805c1f41ff7b6bdb99ad0f2013
PULL_REQUEST_TEMPLATE.md
PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>assets/www/js/App.js.diff original: input.val(item.name); updated: var name = item.name; input.val(name); <|file_sep|>original/assets/www/js/App.js }; App.prototype.onViewItemChangeClicked = function(item) { var model = this.model; var input = $('#newTextInput'); input.val(item.name...
}; App.prototype.onViewItemChangeClicked = function(item) { var model = this.model; var input = $('#newTextInput'); var name = item.name; input.val(name); $('#newTextSubmit').click(function() { model.change(name, input.val()); $('#newTextDialog').dialog('close'); }); $.mobile.changePa...
<|file_sep|>assets/www/js/App.js.diff original: input.val(item.name); updated: var name = item.name; input.val(name); <|file_sep|>original/assets/www/js/App.js }; App.prototype.onViewItemChangeClicked = function(item) { var model = this.model; var input = $('#newTextInput'); input.val(item.name...
64c1d350cb113f36f15feb688800a3329e9d63e1
assets/www/js/App.js
assets/www/js/App.js
JavaScript
<|file_sep|>original/doc/resources/doc/sources/deployment-packed.adoc = Packed deployments We use the term 'packed deployment' to mean that everything required at runtime is built (if necessary) and packed into an archive, ready for deployment and execution in the target operating environment. It is common to create ...
* Start up time is fast, ideal for AWS Lambdas and for coping with sudden spikes in traffic, for example, using AWS auto-scaling groups. * Immutable Disadvantages include: * Uberjars can be large, meaning they _can_ be costly to build, store and transfer across network links. * Lossy uberjar build process, possible l...
<|file_sep|>original/doc/resources/doc/sources/deployment-packed.adoc = Packed deployments We use the term 'packed deployment' to mean that everything required at runtime is built (if necessary) and packed into an archive, ready for deployment and execution in the target operating environment. It is common to create ...
74113ec3255f28393ac473c7fa0af7bf4f297e1e
doc/resources/doc/sources/deployment-packed.adoc
doc/resources/doc/sources/deployment-packed.adoc
AsciiDoc
<|file_sep|>.travis.yml.diff original: # bootstrap the dependencies for the project # you can remove if you don't have dependencies updated: <|file_sep|>.travis.yml.diff original: # cache: cocoapods # podfile: Example/Podfile updated: cache: cocoapods podfile: Example/Podfile <|file_sep|>original/.travis.yml env: ...
global: - FRAMEWORK_NAME=xDripG5 before_install: - brew update - brew install carthage before_script: - carthage bootstrap before_deploy: - carthage build --no-skip-current cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest versio...
<|file_sep|>.travis.yml.diff original: # bootstrap the dependencies for the project # you can remove if you don't have dependencies updated: <|file_sep|>.travis.yml.diff original: # cache: cocoapods # podfile: Example/Podfile updated: cache: cocoapods podfile: Example/Podfile <|file_sep|>original/.travis.yml env: ...
12cb2971396fe0e3e330050de578864d73951140
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt Flask==0.12.2 PyYAML==3.12 argparse requests>=2.20.0 gunicorn==19.7.1 six==1.11.0 futures==3.2.0 diskcache==3.0.1 <|file_sep|>current/requirements.txt Flask==0.12.2 PyYAML==3.12 argparse requests>=2.20.0 gunicorn==19.7.1 six==1.11.0 futures==3.2.0 diskcache==3.0.1 <|file_sep|>updat...
Flask>=0.12.3 PyYAML==3.12 argparse requests>=2.20.0 gunicorn==19.7.1 six==1.11.0 futures==3.2.0 diskcache==3.0.1
<|file_sep|>original/requirements.txt Flask==0.12.2 PyYAML==3.12 argparse requests>=2.20.0 gunicorn==19.7.1 six==1.11.0 futures==3.2.0 diskcache==3.0.1 <|file_sep|>current/requirements.txt Flask==0.12.2 PyYAML==3.12 argparse requests>=2.20.0 gunicorn==19.7.1 six==1.11.0 futures==3.2.0 diskcache==3.0.1 <|file_sep|>updat...
7cfa06e5f1cb5a9df63e857fc1139a2fa39d06a2
requirements.txt
requirements.txt
Text
<|file_sep|>_posts/2017-01-25-effective-debugging.md.diff original: # How to Debug Effectively updated: This is what I found the most effective way to debug. <|file_sep|>original/_posts/2017-01-25-effective-debugging.md # How to Debug Effectively This is what I found the most effective way to debug. Read the descripti...
This is what I found the most effective way to debug. 1. Read the description of the bug carefully. 2. Write the tasks needed, on a piece of paper. 3. Go to nearest food stall or restaurant. 4. Treat yourself some good meals and nice coffee. 5. Enjoy the view of your office and relax. 6. Sit down in a sofa. 7. Start ...
<|file_sep|>_posts/2017-01-25-effective-debugging.md.diff original: # How to Debug Effectively updated: This is what I found the most effective way to debug. <|file_sep|>original/_posts/2017-01-25-effective-debugging.md # How to Debug Effectively This is what I found the most effective way to debug. Read the descripti...
8ed0a5b3f41e07a13edaba4178c2e38f823d64ac
_posts/2017-01-25-effective-debugging.md
_posts/2017-01-25-effective-debugging.md
Markdown