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|>.github/workflows/ci.yaml.diff original: java-version: 11 updated: java-version: 8 <|file_sep|>original/.github/workflows/ci.yaml name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/...
on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-java@v3 with: distribution: temurin java-version: 8 - name: Setup Gradle uses: gradle/gradle-build...
<|file_sep|>.github/workflows/ci.yaml.diff original: java-version: 11 updated: java-version: 8 <|file_sep|>original/.github/workflows/ci.yaml name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/...
fcfc50197abf4790c03c4ebba985860f712c8430
.github/workflows/ci.yaml
.github/workflows/ci.yaml
YAML
<|file_sep|>original/package.json }, "devDependencies": { "coffee-script": "1.1.2", "jasmine-node": "1.0.11", "jake": "0.2.15", "mocks": "0.0.1" }, "repository": { "type": "git", "url": "git://github.com/vojtajina/slim-jim.git" }, "main": "./lib/index", "bin": { "slim-jim": "./...
}, "devDependencies": { "coffee-script": "1.1.2", "jasmine-node": "1.0.11", "jake": "0.2.15", "mocks": "0.0.1" }, "repository": { "type": "git", "url": "git://github.com/vojtajina/slim-jim.git" }, "main": "./lib/index", "bin": { "slim-jim": "./bin/slim-jim", "slim-jim-run":...
<|file_sep|>original/package.json }, "devDependencies": { "coffee-script": "1.1.2", "jasmine-node": "1.0.11", "jake": "0.2.15", "mocks": "0.0.1" }, "repository": { "type": "git", "url": "git://github.com/vojtajina/slim-jim.git" }, "main": "./lib/index", "bin": { "slim-jim": "./...
92b350d435f00a32a438dbda470f1f22cfa18ee3
package.json
package.json
JSON
<|file_sep|>original/test/web-platform-tests/to-upstream/dom/nodes/DocumentFragment-querySelectorAll-after-modification.html <|file_sep|>current/test/web-platform-tests/to-upstream/dom/nodes/DocumentFragment-querySelectorAll-after-modification.html <|file_sep|>updated/test/web-platform-tests/to-upstream/dom/nodes/Doc...
<!DOCTYPE html> <meta charset="utf-8"> <title>querySelectorAll should still work on DocumentFragments after they are modified</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <!-- Regression test for https://github.com/jsdom/jsdom/issues/2290 --> <script...
<|file_sep|>original/test/web-platform-tests/to-upstream/dom/nodes/DocumentFragment-querySelectorAll-after-modification.html <|file_sep|>current/test/web-platform-tests/to-upstream/dom/nodes/DocumentFragment-querySelectorAll-after-modification.html <|file_sep|>updated/test/web-platform-tests/to-upstream/dom/nodes/Doc...
978912615785b0b3386f60e18dfb0e18a67dc10d
test/web-platform-tests/to-upstream/dom/nodes/DocumentFragment-querySelectorAll-after-modification.html
test/web-platform-tests/to-upstream/dom/nodes/DocumentFragment-querySelectorAll-after-modification.html
HTML
<|file_sep|>original/src/js/i18n/datepicker.pt-br.js Datepicker.language['pt-br'] = { days: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'], daysShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'], daysMin: ['Do', 'Se', 'Te', 'Qu', 'Qu', 'Se', 'Sa'], months: ['Janeiro','Fever...
Datepicker.language['pt-br'] = { days: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'], daysShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'], daysMin: ['Do', 'Se', 'Te', 'Qu', 'Qu', 'Se', 'Sa'], months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', ...
<|file_sep|>original/src/js/i18n/datepicker.pt-br.js Datepicker.language['pt-br'] = { days: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'], daysShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'], daysMin: ['Do', 'Se', 'Te', 'Qu', 'Qu', 'Se', 'Sa'], months: ['Janeiro','Fever...
4794accaf1580f7a368dc495c0a583f88806ccc7
src/js/i18n/datepicker.pt-br.js
src/js/i18n/datepicker.pt-br.js
JavaScript
<|file_sep|>tests/Helper/Filesystem.elm.diff original: module Helper.Filesystem exposing (..) updated: module Helper.Filesystem exposing (addFileRecursively) <|file_sep|>tests/Helper/Filesystem.elm.diff original: updated: addFolderReducer : String -> ( Filesystem, String ) -> ( Filesystem, String ) addFolderReducer ...
the assumption that the path the file is being added to must exist. -} addFileRecursively : Filesystem -> File -> Filesystem addFileRecursively filesystem file = let path = getFilePath file -- TODO: change this to use pipes once we move filesystem to last -- param: -- ...
<|file_sep|>tests/Helper/Filesystem.elm.diff original: module Helper.Filesystem exposing (..) updated: module Helper.Filesystem exposing (addFileRecursively) <|file_sep|>tests/Helper/Filesystem.elm.diff original: updated: addFolderReducer : String -> ( Filesystem, String ) -> ( Filesystem, String ) addFolderReducer ...
6eeb57a1aa935b5717b126b812e19081373580fb
tests/Helper/Filesystem.elm
tests/Helper/Filesystem.elm
Elm
<|file_sep|>original/test/testdata/container_redis_device.json <|file_sep|>current/test/testdata/container_redis_device.json <|file_sep|>updated/test/testdata/container_redis_device.json
{ "metadata": { "name": "podsandbox1-redis" }, "image": { "image": "redis:alpine" }, "args": [ "docker-entrypoint.sh", "redis-server" ], "working_dir": "/data", "envs": [ { "key": "PATH", "value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }, {...
<|file_sep|>original/test/testdata/container_redis_device.json <|file_sep|>current/test/testdata/container_redis_device.json <|file_sep|>updated/test/testdata/container_redis_device.json { "metadata": { "name": "podsandbox1-redis" }, "image": { "image": "redis:alpine" }, "args": [ "docker-ent...
4a02418c826273bf47af6c7c02413d08ee6f9772
test/testdata/container_redis_device.json
test/testdata/container_redis_device.json
JSON
<|file_sep|>A2/quickstart/src/app/models/mocks.ts.diff original: "entryFee": 3200 updated: "entryFee": 3200, "isRacing": false, "image": "/images/daytona_thunderdome.jpg", "imageDescription": "Race track with laser lanes" <|file_sep|>A2/quickstart/src/app/models/mocks.ts.diff original: "entryFee": 4700 upda...
"image": "/images/daytona_thunderdome.jpg", "imageDescription": "Race track with laser lanes" }, { "id": 2, "name": "San Francisco Ruins", "date": new Date('2512-07-03T20:00:00'), "about": "Drift down the streets of a city almost sunk under the ocean.", "entryFee": 4700, "isRacing": true, "image": "/i...
<|file_sep|>A2/quickstart/src/app/models/mocks.ts.diff original: "entryFee": 3200 updated: "entryFee": 3200, "isRacing": false, "image": "/images/daytona_thunderdome.jpg", "imageDescription": "Race track with laser lanes" <|file_sep|>A2/quickstart/src/app/models/mocks.ts.diff original: "entryFee": 4700 upda...
8eea0846157df029faf46759d2bf514240f363fd
A2/quickstart/src/app/models/mocks.ts
A2/quickstart/src/app/models/mocks.ts
TypeScript
<|file_sep|>original/package.json { "name": "sisyphe", "version": "0.0.18", "description": "", "main": "index.js", "scripts": { "test": "mocha", "test-worker": "git submodule foreach 'npm test'" }, "author": "", "license": "MIT", "dependencies": { "bluebird": "^3.4.1", "bull": "^2.0.0"...
{ "name": "sisyphe", "version": "0.0.18", "description": "", "main": "index.js", "scripts": { "postinstall": "lerna bootstrap", "test": "mocha && ./node_modules/lerna/bin/lerna.js run --ignore *-worker test", "updated" : "./node_modules/lerna/bin/lerna.js updated", "publish" : "./node_modules/...
<|file_sep|>original/package.json { "name": "sisyphe", "version": "0.0.18", "description": "", "main": "index.js", "scripts": { "test": "mocha", "test-worker": "git submodule foreach 'npm test'" }, "author": "", "license": "MIT", "dependencies": { "bluebird": "^3.4.1", "bull": "^2.0.0"...
1fd1c7e46a328a4d8edc16147f42da3292639fa0
package.json
package.json
JSON
<|file_sep|>original/requirements.txt celery[redis] pyoai PyPDF2 bibtexparser>=1.1.0 redis<3 cryptography django==1.11.20 django-allauth django-autocomplete-light django-bootstrap-pagination django-bulk-update django-bootstrap3-datepicker django-cache-machine django-capture-tag django-cas-ng django-countries django-cri...
celery[redis] pyoai PyPDF2 bibtexparser>=1.1.0 redis<3 cryptography django>=1.11.20,<2.3.0 django-allauth django-autocomplete-light django-bootstrap-pagination django-bulk-update django-bootstrap3-datepicker django-cache-machine django-capture-tag django-cas-ng django-countries django-crispy-forms django-geojson django...
<|file_sep|>original/requirements.txt celery[redis] pyoai PyPDF2 bibtexparser>=1.1.0 redis<3 cryptography django==1.11.20 django-allauth django-autocomplete-light django-bootstrap-pagination django-bulk-update django-bootstrap3-datepicker django-cache-machine django-capture-tag django-cas-ng django-countries django-cri...
90951159aca6499c29d5fa921af0667ac6c88706
requirements.txt
requirements.txt
Text
<|file_sep|>original/site/assets/scss/_subnav.scss .bd-subnavbar { // The position and z-index are needed for the dropdown to stay on top of the content position: relative; z-index: $zindex-sticky; background-color: rgba($white, .75); backdrop-filter: blur(1rem); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05),...
.bd-subnavbar { // The position and z-index are needed for the dropdown to stay on top of the content position: relative; z-index: $zindex-sticky; background-color: rgba($white, .95); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .15); .dropdown-menu { @include font-size(.87...
<|file_sep|>original/site/assets/scss/_subnav.scss .bd-subnavbar { // The position and z-index are needed for the dropdown to stay on top of the content position: relative; z-index: $zindex-sticky; background-color: rgba($white, .75); backdrop-filter: blur(1rem); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05),...
29c44dda39faccdca24fa438d84bc4f4cc88472a
site/assets/scss/_subnav.scss
site/assets/scss/_subnav.scss
SCSS
<|file_sep|>original/templates/puppet.default.erb # Defaults for puppet - sourced by /etc/init.d/puppet # Enable puppet agent service? # Setting this to "yes" allows the puppet agent service to run. # Setting this to "no" keeps the puppet agent service from running. START=<%- if @enable_puppet == true-%>YES<%-else-%>N...
# Defaults for puppet - sourced by /etc/init.d/puppet # Enable puppet agent service? # Setting this to "yes" allows the puppet agent service to run. # Setting this to "no" keeps the puppet agent service from running. START=<%- if @enable_puppet == true-%>yes<%-else-%>no<%-end%> # Startup options DAEMON_OPTS="" <% if...
<|file_sep|>original/templates/puppet.default.erb # Defaults for puppet - sourced by /etc/init.d/puppet # Enable puppet agent service? # Setting this to "yes" allows the puppet agent service to run. # Setting this to "no" keeps the puppet agent service from running. START=<%- if @enable_puppet == true-%>YES<%-else-%>N...
5d44b24a76795ce5bb655ae18b0694c26bdbd349
templates/puppet.default.erb
templates/puppet.default.erb
HTML+ERB
<|file_sep|>original/log4qt.qbs import qbs Project { minimumQbsVersion: "1.9.0" references: [ "examples/examples.qbs", "others.qbs", "src/log4qt/log4qt.qbs", "tests/tests.qbs", ] Product { name: "qmake project files" Group { name: "files" ...
import qbs Project { minimumQbsVersion: "1.9.0" references: [ "examples/examples.qbs", "others.qbs", "src/log4qt/log4qt.qbs", "tests/tests.qbs", ] Product { name: "qmake project files (log4qt)" Group { name: "files" files: ["**/*....
<|file_sep|>original/log4qt.qbs import qbs Project { minimumQbsVersion: "1.9.0" references: [ "examples/examples.qbs", "others.qbs", "src/log4qt/log4qt.qbs", "tests/tests.qbs", ] Product { name: "qmake project files" Group { name: "files" ...
4de9fb1a88365f1d64e147b7917e63ffa256cc1a
log4qt.qbs
log4qt.qbs
QML
<|file_sep|>allauth/socialaccount/providers/eventbrite/provider.py.diff original: updated: <<<<<<< HEAD ======= <|file_sep|>original/allauth/socialaccount/providers/eventbrite/provider.py def extract_uid(self, data): """Extract uid ('id') and ensure it's a str.""" return str(data['id']) def ge...
def extract_uid(self, data): """Extract uid ('id') and ensure it's a str.""" return str(data['id']) <<<<<<< HEAD ======= def get_default_scope(self): """Ensure scope is null to fit their API.""" return [''] >>>>>>> c32ec1de9b8af42147d2977fe173d25643be447a def extract_common...
<|file_sep|>allauth/socialaccount/providers/eventbrite/provider.py.diff original: updated: <<<<<<< HEAD ======= <|file_sep|>original/allauth/socialaccount/providers/eventbrite/provider.py def extract_uid(self, data): """Extract uid ('id') and ensure it's a str.""" return str(data['id']) def ge...
954cd7378c70ef433f5f2dc220991905fd779dc6
allauth/socialaccount/providers/eventbrite/provider.py
allauth/socialaccount/providers/eventbrite/provider.py
Python
<|file_sep|>original/global.json { "sdk": { "version": "3.0.100-preview8-013656" } } <|file_sep|>current/global.json { "sdk": { "version": "3.0.100-preview8-013656" } } <|file_sep|>updated/global.json
{ "sdk": { "version": "3.0.100-preview9-013994" } }
<|file_sep|>original/global.json { "sdk": { "version": "3.0.100-preview8-013656" } } <|file_sep|>current/global.json { "sdk": { "version": "3.0.100-preview8-013656" } } <|file_sep|>updated/global.json { "sdk": { "version": "3.0.100-preview9-013994" } }
3e522e6f0f6e093b398673c670dab4eb911595c9
global.json
global.json
JSON
<|file_sep|>lib/sendMessage.js.diff original: updated: import debug from 'debug' <|file_sep|>original/lib/sendMessage.js import enchantGitlabInfo from './enchant-gitlab-info' export default function(req, res, next) { enchantGitlabInfo(req.objectKind, req.body) .catch((err) => gitlabApiError(res, err)) .then...
import enchantGitlabInfo from './enchant-gitlab-info' import debug from 'debug' export default function(req, res, next) { enchantGitlabInfo(req.objectKind, req.body) .catch((err) => gitlabApiError(res, err)) .then(() => next()) } function gitlabApiError(res, err) { debug('result')(err) res.statusCode = ...
<|file_sep|>lib/sendMessage.js.diff original: updated: import debug from 'debug' <|file_sep|>original/lib/sendMessage.js import enchantGitlabInfo from './enchant-gitlab-info' export default function(req, res, next) { enchantGitlabInfo(req.objectKind, req.body) .catch((err) => gitlabApiError(res, err)) .then...
2ee46bf56bc66ef172cb36651555e380fd7bca60
lib/sendMessage.js
lib/sendMessage.js
JavaScript
<|file_sep|>original/README.md ### End This will set end of working time. ``` /workbot end ``` Returns following message: - Ended working time: tuesday, **6.5.2017** at **15:45**. Well, tomorrow is another day. Good job! --- ## Automation Command `/workbot status` could be called automatically when aproaching to...
- Ended working time: tuesday, **6.5.2017** at **15:45**. Well, tomorrow is another day. Good job! --- ## Automation Command `/workbot status` could be called automatically when aproaching to end time. ## API Run localtunnel: ``` lt --port 8765 --subdomain myworkbot ``` Url: https://myworkbot.localtunnel.me //...
<|file_sep|>original/README.md ### End This will set end of working time. ``` /workbot end ``` Returns following message: - Ended working time: tuesday, **6.5.2017** at **15:45**. Well, tomorrow is another day. Good job! --- ## Automation Command `/workbot status` could be called automatically when aproaching to...
59ac9704c54b4efc7f5772508789f8dda457143d
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/ws/biotea/ld2rdf/rdf/model/BaseAnnotation.java import ws.biotea.ld2rdf.util.OntologyPrefix; import java.io.Serializable; /** * OpenAnnotation: This class represents a general annotation on a Document. * @author leylajael */ public class BaseAnnotation implements Serializable { p...
import ws.biotea.ld2rdf.util.OntologyPrefix; import java.io.Serializable; /** * OpenAnnotation: This class represents a general annotation on a Document. * @author leylajael */ public class BaseAnnotation implements Serializable { private static final long serialVersionUID = 1L; /* OWL Descriptors */ public fin...
<|file_sep|>original/src/main/java/ws/biotea/ld2rdf/rdf/model/BaseAnnotation.java import ws.biotea.ld2rdf.util.OntologyPrefix; import java.io.Serializable; /** * OpenAnnotation: This class represents a general annotation on a Document. * @author leylajael */ public class BaseAnnotation implements Serializable { p...
d4682df6508513bce91cdf5fffbf0bb94d8977a6
src/main/java/ws/biotea/ld2rdf/rdf/model/BaseAnnotation.java
src/main/java/ws/biotea/ld2rdf/rdf/model/BaseAnnotation.java
Java
<|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...
a63624a0412674e8962c83c5b89087d25b9e89ba
PULL_REQUEST_TEMPLATE.md
PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/lib/ExpressRedisCache/del.js callback(error); }); domain.run(function () { var prefix = self.prefix.match(/:$/) ? self.prefix.replace(/:$/, '') : self.prefix; /** Tell Redis to delete hash **/ var redisKey = prefix + ':' + name; self.client.keys(redi...
callback(error); }); domain.run(function () { var prefix = self.prefix.match(/:$/) ? self.prefix.replace(/:$/, '') : self.prefix; /** Tell Redis to delete hash **/ var redisKey = prefix + ':' + name; self.client.keys(redisKey, domain.intercept(function(rows) { re...
<|file_sep|>original/lib/ExpressRedisCache/del.js callback(error); }); domain.run(function () { var prefix = self.prefix.match(/:$/) ? self.prefix.replace(/:$/, '') : self.prefix; /** Tell Redis to delete hash **/ var redisKey = prefix + ':' + name; self.client.keys(redi...
3def08dabdc272ae329d699cda5d7e254275a799
lib/ExpressRedisCache/del.js
lib/ExpressRedisCache/del.js
JavaScript
<|file_sep|>recipes/z5py/meta.yaml.diff original: - xtensor-python >0.20,<0.21 updated: - xtensor-python >=0.20,<0.21 <|file_sep|>original/recipes/z5py/meta.yaml host: - python - boost-cpp - numpy - xtensor >=0.17.1,<0.18 - xtensor-python >0.20,<0.21 - bzip2 - c-blosc - xz ...
host: - python - boost-cpp - numpy - xtensor >=0.17.1,<0.18 - xtensor-python >=0.20,<0.21 - bzip2 - c-blosc - xz - zlib - nlohmann_json run: - python - boost-cpp - {{ pin_compatible('numpy') }} - bzip2 - c-blosc - xz - zlib - six
<|file_sep|>recipes/z5py/meta.yaml.diff original: - xtensor-python >0.20,<0.21 updated: - xtensor-python >=0.20,<0.21 <|file_sep|>original/recipes/z5py/meta.yaml host: - python - boost-cpp - numpy - xtensor >=0.17.1,<0.18 - xtensor-python >0.20,<0.21 - bzip2 - c-blosc - xz ...
f196cf6606670cb7f313e72a0902d9cb17bcb107
recipes/z5py/meta.yaml
recipes/z5py/meta.yaml
YAML
<|file_sep|>original/appveyor.yml matrix: - ruby_version: "23" clone_folder: c:\projects\kitchen-machine clone_depth: 1 install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ...
- ruby_version: "23" clone_folder: c:\projects\kitchen-machine clone_depth: 1 install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ps: gem update --system - ps: gem install b...
<|file_sep|>original/appveyor.yml matrix: - ruby_version: "23" clone_folder: c:\projects\kitchen-machine clone_depth: 1 install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ...
6f70e90a24ee950c4295a1279c0790aa44e46e9c
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/src/lib/dom/Egueb_Dom_Private.h <|file_sep|>current/src/lib/dom/Egueb_Dom_Private.h <|file_sep|>updated/src/lib/dom/Egueb_Dom_Private.h
/* Egueb_Dom - DOM * Copyright (C) 2011 - 2013 Jorge Luis Zapata * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later...
<|file_sep|>original/src/lib/dom/Egueb_Dom_Private.h <|file_sep|>current/src/lib/dom/Egueb_Dom_Private.h <|file_sep|>updated/src/lib/dom/Egueb_Dom_Private.h /* Egueb_Dom - DOM * Copyright (C) 2011 - 2013 Jorge Luis Zapata * * This library is free software; you can redistribute it and/or * modify it under the term...
7b5b5d10206d8d492ca5823639a2828d43d85536
src/lib/dom/Egueb_Dom_Private.h
src/lib/dom/Egueb_Dom_Private.h
C
<|file_sep|>original/composer.json }, "autoload": { "psr-4": { "Uploadify\\": "src/Uploadify/" } }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "extra": { "laravel": { "providers": [ "Uploadify\...
}, "autoload": { "psr-4": { "Uploadify\\": "src/Uploadify/" } }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "extra": { "laravel": { "providers": [ "Uploadify\\Providers\\UploadifyServiceProvide...
<|file_sep|>original/composer.json }, "autoload": { "psr-4": { "Uploadify\\": "src/Uploadify/" } }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "extra": { "laravel": { "providers": [ "Uploadify\...
aefdda369d03a9b57a38a18d2d21665f2f3da119
composer.json
composer.json
JSON
<|file_sep|>original/src/load_remote_data.py import os import requests # local configuration remote_data_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'data', 'remote') # URLs at which data can be found csv_url_summary_stats = 'http://dashboard.iatistandard.org/summary_stats.csv' csv_url_h...
import os import requests # local configuration remote_data_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'data', 'remote') # URLs at which data can be found csv_url_summary_stats = 'http://publishingstats.iatistandard.org/summary_stats.csv' csv_url_humanitarian_stats = 'http://publishings...
<|file_sep|>original/src/load_remote_data.py import os import requests # local configuration remote_data_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'data', 'remote') # URLs at which data can be found csv_url_summary_stats = 'http://dashboard.iatistandard.org/summary_stats.csv' csv_url_h...
7d1f471f9723b7f8c12b5713a1a61f6391665009
src/load_remote_data.py
src/load_remote_data.py
Python
<|file_sep|>Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java.diff original: updated: import com.google.gson.JsonArray; <|file_sep|>original/Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java public static final ISerializer<Ingredient> SERIAL...
public static final ISerializer<Ingredient> SERIALIZER = new SerializerIngredient(); private SerializerIngredient() { } @Override public Ingredient fromJSON(JsonElement json) { // Support Empty Ingredient if (json instanceof JsonArray array && array.isEmpty()) { ret...
<|file_sep|>Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java.diff original: updated: import com.google.gson.JsonArray; <|file_sep|>original/Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java public static final ISerializer<Ingredient> SERIAL...
a2d8178f844c9048b17aac98d6145bb3d613f809
Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java
Common/src/main/java/net/darkhax/bookshelf/api/serialization/SerializerIngredient.java
Java
<|file_sep|>original/modules/govuk_jenkins/templates/jobs/run_whitehall_data_migrations.yaml.erb --- - job: name: Run_Whitehall_Data_Migrations display-name: Run_Whitehall_Data_Migrations project-type: freestyle description: "This job SSHes onto a whitehall-backend node and runs 'cd /var/apps/whitehall ...
- job: name: Run_Whitehall_Data_Migrations display-name: Run_Whitehall_Data_Migrations project-type: freestyle description: "This job SSHes onto a whitehall-backend node and runs 'cd /var/apps/whitehall ; RAILS_ENV=production bundle exec rake db:data:migrate'" properties: - build-discarder: ...
<|file_sep|>original/modules/govuk_jenkins/templates/jobs/run_whitehall_data_migrations.yaml.erb --- - job: name: Run_Whitehall_Data_Migrations display-name: Run_Whitehall_Data_Migrations project-type: freestyle description: "This job SSHes onto a whitehall-backend node and runs 'cd /var/apps/whitehall ...
20f4a32d3e8af955bfa145c631cf3f4c3a21f7e5
modules/govuk_jenkins/templates/jobs/run_whitehall_data_migrations.yaml.erb
modules/govuk_jenkins/templates/jobs/run_whitehall_data_migrations.yaml.erb
HTML+ERB
<|file_sep|>original/README.md Interactive Docker image ------------------------ #### To run the PyRhO docker image: `sudo service docker start` `sudo docker build -t pyrho/minimal .` `docker run -i -t pyrho/minimal /bin/bash` Useful commands --------------- #### Clean docker images `sudo docker stop $(sudo docker...
#### To run the PyRhO docker image: `sudo service docker start` `sudo docker build -t pyrho/minimal .` `docker run -i -t pyrho/minimal /bin/bash` Useful commands --------------- #### Clean docker images `sudo docker stop $(sudo docker ps -a -q)` `sudo docker rm $(sudo docker ps -a -q)` #### Check logs `sudo docker...
<|file_sep|>original/README.md Interactive Docker image ------------------------ #### To run the PyRhO docker image: `sudo service docker start` `sudo docker build -t pyrho/minimal .` `docker run -i -t pyrho/minimal /bin/bash` Useful commands --------------- #### Clean docker images `sudo docker stop $(sudo docker...
21b0f9eb806ea702902b824454c8d4cf3be65ef7
README.md
README.md
Markdown
<|file_sep|>original/source/modules/welcome/module/script/script.js Wee.fn.make('todo', { init: function() { $($('ref:template').text()).insertAfter('ref:nav'); Wee.app.make('items', { view: 'ref:todo', model: { todo: [ { label: 'Download and run Wee', done: true }, { la...
Wee.fn.make('todo', { init: function() { $('ref:nav').after($.first('ref:template').text); Wee.app.make('items', { view: 'ref:todo', model: { todo: [ { label: 'Download and run Wee', done: true }, { label: 'Explore the welcome module' }, { label: 'Configu...
<|file_sep|>original/source/modules/welcome/module/script/script.js Wee.fn.make('todo', { init: function() { $($('ref:template').text()).insertAfter('ref:nav'); Wee.app.make('items', { view: 'ref:todo', model: { todo: [ { label: 'Download and run Wee', done: true }, { la...
8da35b61ed1af40318f37a49d1e5cf14689509f5
source/modules/welcome/module/script/script.js
source/modules/welcome/module/script/script.js
JavaScript
<|file_sep|>original/data/excludes-bracketing.txt check icon_theme_cache_post[^\s]* if ifarch ifnarch include insserv_[^\s]* install install_info install_info_delete lang_package make_install mime_database_post[^\s]* package patch[0-9]* perl_process_[^\s]* post posttrans postun pre prep <|file_sep|>current/data/exclude...
check icon_theme_cache_post[^\s]* if ifarch ifnarch include insserv_[^\s]* install install_info install_info_delete ix86 lang_package make_install mime_database_post[^\s]* package patch[0-9]* perl_process_[^\s]* post posttrans postun pre
<|file_sep|>original/data/excludes-bracketing.txt check icon_theme_cache_post[^\s]* if ifarch ifnarch include insserv_[^\s]* install install_info install_info_delete lang_package make_install mime_database_post[^\s]* package patch[0-9]* perl_process_[^\s]* post posttrans postun pre prep <|file_sep|>current/data/exclude...
a0d4390de73494dddd8da0c9b8b4648174bdf43b
data/excludes-bracketing.txt
data/excludes-bracketing.txt
Text
<|file_sep|>_includes/blog/tag.html.diff original: updated: <|file_sep|>original/_includes/blog/tag.html <! -- BLOG POSTS LIST --> <div class="col-lg-8"> <h4>Blog > tab : {{ page.tagname }}</h4> <div class="hline"></div> <div class="spacing"></div> <div class="row"> {% assig...
<! -- BLOG POSTS LIST --> <div class="col-lg-8"> <h4>Blog > tab : {{ page.tagname }}</h4> <div class="hline"></div> <div class="spacing"></div> <div class="row"> {% assign posts=site.posts | where:"lang", page.lang %} {% for post in posts %} {% for pc in post.ta...
<|file_sep|>_includes/blog/tag.html.diff original: updated: <|file_sep|>original/_includes/blog/tag.html <! -- BLOG POSTS LIST --> <div class="col-lg-8"> <h4>Blog > tab : {{ page.tagname }}</h4> <div class="hline"></div> <div class="spacing"></div> <div class="row"> {% assig...
55a9bc0c87afc7a5422a42e2ee193c5c9bf8c531
_includes/blog/tag.html
_includes/blog/tag.html
HTML
<|file_sep|>original/src/main/resources/release_notes/1.1.19.txt 2016-12-14 ---------- * Add authentication though parameters for methods: - Ping request; - Payment method list; - Reporting Details; - Create token; - Get token; - Remove token; <|file_sep|>current/src/main/resources/release_notes/1.1.19.txt 2016-1...
2016-12-14 ---------- * Add authentication though parameters for methods: - Ping request; - Payment method list; - Reporting Details; - Create token; - Get token; - Remove token; * Add support for partial refund
<|file_sep|>original/src/main/resources/release_notes/1.1.19.txt 2016-12-14 ---------- * Add authentication though parameters for methods: - Ping request; - Payment method list; - Reporting Details; - Create token; - Get token; - Remove token; <|file_sep|>current/src/main/resources/release_notes/1.1.19.txt 2016-1...
fbe2dce34c1eaf88668e2d502f2f86354e821fd1
src/main/resources/release_notes/1.1.19.txt
src/main/resources/release_notes/1.1.19.txt
Text
<|file_sep|>original/appveyor.yml environment: matrix: - nodejs_version: '4' cache: - node_modules install: - ps: Install-Product node $env:nodejs_version - npm -g install npm@2 - set PATH=%APPDATA%\npm;%PATH% - npm install --msvs_version=2013 test_script: - node --version - npm --version - cmd...
environment: matrix: - nodejs_version: '4' cache: - node_modules -> package.json install: - ps: Install-Product node $env:nodejs_version - npm -g install npm@2 - set PATH=%APPDATA%\npm;%PATH% - npm install --msvs_version=2013 test_script: - node --version - npm --version - cmd: npm test build:...
<|file_sep|>original/appveyor.yml environment: matrix: - nodejs_version: '4' cache: - node_modules install: - ps: Install-Product node $env:nodejs_version - npm -g install npm@2 - set PATH=%APPDATA%\npm;%PATH% - npm install --msvs_version=2013 test_script: - node --version - npm --version - cmd...
7c0a6a2ae9d7b3e3ac901a834240630ee6a6365c
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/src/_posts/2017-02-25-stop-writing-tests.markdown <|file_sep|>current/src/_posts/2017-02-25-stop-writing-tests.markdown <|file_sep|>updated/src/_posts/2017-02-25-stop-writing-tests.markdown
--- layout: post title: Stop Writing Tests For MVPs date: 2017-02-25 23:42:30 PST excerpt: | I’ve attempted to work on a few side projects for close to a year now. The biggest roadblocks weren’t prototyping interfaces or hammering out user feedback. It was always around me attempting to debug and capture test cas...
<|file_sep|>original/src/_posts/2017-02-25-stop-writing-tests.markdown <|file_sep|>current/src/_posts/2017-02-25-stop-writing-tests.markdown <|file_sep|>updated/src/_posts/2017-02-25-stop-writing-tests.markdown --- layout: post title: Stop Writing Tests For MVPs date: 2017-02-25 23:42:30 PST excerpt: | I’ve attempt...
c155886b6130ee68b78b1bf0c3175cee96df1f6f
src/_posts/2017-02-25-stop-writing-tests.markdown
src/_posts/2017-02-25-stop-writing-tests.markdown
Markdown
<|file_sep|>original/spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml <|file_sep|>current/spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml <|file_sep|>updated/spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml
post: summary: Send quote description: | Endpoint for sending quote to client and making the quote readOnly. parameters: - name: quoteId in: path required: true schema: type: string format: ObjectId tags: - Quotes responses: 201: description: "OK"
<|file_sep|>original/spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml <|file_sep|>current/spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml <|file_sep|>updated/spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml post: summary: Send quote description: | Endpoint for sending quote to client and making the quote readOnly. ...
eaf59f017a6a64ae6bce1b4f094aa1ffcc3d9c25
spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml
spec/paths/rfqs@v1@quotes@{quoteId}@send.yaml
YAML
<|file_sep|>original/docker-compose.yml version: '3.6' services: cocoa-maze-runner: image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:master-cli command: ["--tags", "not @skip"] environment: APP_LOCATION: /app/build/iOSTestApp.ipa BROWSER_STACK_USERNAME: BROWSER_STACK_ACCES...
version: '3.6' services: cocoa-maze-runner: image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:latest-v2-cli command: ["--tags", "not @skip"] environment: APP_LOCATION: /app/build/iOSTestApp.ipa BROWSER_STACK_USERNAME: BROWSER_STACK_ACCESS_KEY: BROWSER_STACK_LOCAL_IDEN...
<|file_sep|>original/docker-compose.yml version: '3.6' services: cocoa-maze-runner: image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:master-cli command: ["--tags", "not @skip"] environment: APP_LOCATION: /app/build/iOSTestApp.ipa BROWSER_STACK_USERNAME: BROWSER_STACK_ACCES...
16c803c8975dc1af3eb3ce88f691bf4492a7bd02
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>.eslintrc.js.diff original: updated: <|file_sep|>.eslintrc.js.diff original: updated: <|file_sep|>original/.eslintrc.js env: { node: true }, rules: { // Use the Array<foo> syntax instead of foo[] in types. "@typescript-eslint/array-type": [ "error", { default: "generic", ...
"@typescript-eslint/array-type": [ "error", { default: "generic", readonly: "generic", }, ], // Mandatory return types is too verbose for my taste. "@typescript-eslint/explicit-module-boundary-types": "off", // Empty constructors make sense for singleton classes. ...
<|file_sep|>.eslintrc.js.diff original: updated: <|file_sep|>.eslintrc.js.diff original: updated: <|file_sep|>original/.eslintrc.js env: { node: true }, rules: { // Use the Array<foo> syntax instead of foo[] in types. "@typescript-eslint/array-type": [ "error", { default: "generic", ...
727d0181ec3fc2328b7e4074f5833cec75424a46
.eslintrc.js
.eslintrc.js
JavaScript
<|file_sep|>original/Source/core/animation/css/CSSTransitionData.cpp CSSTransitionData::CSSTransitionData(const CSSTransitionData& other) : CSSTimingData(other) , m_propertyList(other.m_propertyList) { } bool CSSTransitionData::transitionsMatchForStyleRecalc(const CSSTransitionData& other) const { return m...
CSSTransitionData::CSSTransitionData(const CSSTransitionData& other) : CSSTimingData(other) , m_propertyList(other.m_propertyList) { } bool CSSTransitionData::transitionsMatchForStyleRecalc(const CSSTransitionData& other) const { return m_propertyList == other.m_propertyList; } Timing CSSTransitionData::c...
<|file_sep|>original/Source/core/animation/css/CSSTransitionData.cpp CSSTransitionData::CSSTransitionData(const CSSTransitionData& other) : CSSTimingData(other) , m_propertyList(other.m_propertyList) { } bool CSSTransitionData::transitionsMatchForStyleRecalc(const CSSTransitionData& other) const { return m...
1f2fff68acf7709ba585083cfdfb96bee87e92b4
Source/core/animation/css/CSSTransitionData.cpp
Source/core/animation/css/CSSTransitionData.cpp
C++
<|file_sep|>Casks/vivaldi.rb.diff original: version '1.0.162.9' updated: version '1.0.219.50' <|file_sep|>original/Casks/vivaldi.rb cask :v1 => 'vivaldi' do version '1.0.162.9' sha256 :no_check # required as upstream package is updated in-place url "https://vivaldi.com/download/Vivaldi_TP3.#{version}.dmg" ...
cask :v1 => 'vivaldi' do version '1.0.219.50' sha256 :no_check # required as upstream package is updated in-place url "https://vivaldi.com/download/Vivaldi_TP4.#{version}.dmg" name 'Vivaldi' homepage 'https://vivaldi.com' license :gratis app 'Vivaldi.app' end
<|file_sep|>Casks/vivaldi.rb.diff original: version '1.0.162.9' updated: version '1.0.219.50' <|file_sep|>original/Casks/vivaldi.rb cask :v1 => 'vivaldi' do version '1.0.162.9' sha256 :no_check # required as upstream package is updated in-place url "https://vivaldi.com/download/Vivaldi_TP3.#{version}.dmg" ...
031c8b4d083dca0beec36b5bfea5511ff6498a32
Casks/vivaldi.rb
Casks/vivaldi.rb
Ruby
<|file_sep|>original/requirements.txt # temporary (?) until pyelliptic maintainers make it compatible with openssl>=1.1 -e git+https://github.com/LefterisJP/pyelliptic@make_compatible_with_openssl1_1#egg=pyelliptic pysha3 # temporary until new version of pyethereum is released, that supports solc >= v0.4.9 -e git+https...
# temporary (?) until pyelliptic maintainers make it compatible with openssl>=1.1 -e git+https://github.com/LefterisJP/pyelliptic@make_compatible_with_openssl1_1#egg=pyelliptic pysha3 # temporary until new version of pyethereum is released, that supports solc >= v0.4.9 -e git+https://github.com/LefterisJP/pyethapp@use_...
<|file_sep|>original/requirements.txt # temporary (?) until pyelliptic maintainers make it compatible with openssl>=1.1 -e git+https://github.com/LefterisJP/pyelliptic@make_compatible_with_openssl1_1#egg=pyelliptic pysha3 # temporary until new version of pyethereum is released, that supports solc >= v0.4.9 -e git+https...
14d0396985969ab5900247fb723f568aef195f67
requirements.txt
requirements.txt
Text
<|file_sep|>original/browser/.eslintrc.json { "extends": "../base/.eslintrc.json", "globals": { "window": false, "performance": false, "document": false, "navigator": false, "location": false, "console": false, "setTimeout": false, "clearTimeout": false, "setInterval": false, ...
{ "extends": "../base/.eslintrc.json", "globals": { "window": false, "performance": false, "document": false, "navigator": false, "location": false, "console": false, "setTimeout": false, "clearTimeout": false, "setInterval": false, "clearInterval": false, "alert": false,...
<|file_sep|>original/browser/.eslintrc.json { "extends": "../base/.eslintrc.json", "globals": { "window": false, "performance": false, "document": false, "navigator": false, "location": false, "console": false, "setTimeout": false, "clearTimeout": false, "setInterval": false, ...
eb16018b00e051380f9ff4e5db820bbccf8bbf3d
browser/.eslintrc.json
browser/.eslintrc.json
JSON
<|file_sep|>original/setup.py python_requires=">=3.5", install_requires=["channels>=2.0"], classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "License ...
install_requires=["channels>=2.0"], classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "License :: OSI Approved :: MIT License", "Programming Langu...
<|file_sep|>original/setup.py python_requires=">=3.5", install_requires=["channels>=2.0"], classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "License ...
fbb0708aebf437de8a5d2e8faf6334fc46d89b45
setup.py
setup.py
Python
<|file_sep|>.github/workflows/tests.yml.diff original: if: github.ref == 'refs/heads/master' && ${{ matrix.php }} != 8.0 updated: if: github.ref == 'refs/heads/master' && ${{ matrix.php }} != 8 <|file_sep|>original/.github/workflows/tests.yml uses: actions/checkout@v2 - name: Setup PHP ...
- name: Checkout code uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip coverage: pcov - name: Install dependencies run: composer ...
<|file_sep|>.github/workflows/tests.yml.diff original: if: github.ref == 'refs/heads/master' && ${{ matrix.php }} != 8.0 updated: if: github.ref == 'refs/heads/master' && ${{ matrix.php }} != 8 <|file_sep|>original/.github/workflows/tests.yml uses: actions/checkout@v2 - name: Setup PHP ...
90e5fcd65ca4935258dd9e1713080d6f109ff636
.github/workflows/tests.yml
.github/workflows/tests.yml
YAML
<|file_sep|>original/tox.ini [tox] envlist = py{26}-django{16},py{27,33,34}-django{16,17} [testenv] deps = django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 py26: unittest2 py26: django-select2 py27: django-select2 py33: django-select2-py3 py34: django-select2-py3 -r{toxinidir}/requ...
[tox] envlist = py{26}-django{16},py{27,33,34}-django{16,17} [testenv] deps = django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 django17: https://github.com/divio/django-cms/archive/support/3.0.x.zip py26: unittest2 py26: django-select2 py27: django-select2 py33: django-select2-py3 ...
<|file_sep|>original/tox.ini [tox] envlist = py{26}-django{16},py{27,33,34}-django{16,17} [testenv] deps = django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 py26: unittest2 py26: django-select2 py27: django-select2 py33: django-select2-py3 py34: django-select2-py3 -r{toxinidir}/requ...
d20a40c52ded209bc0ef87ddf9c0ce96db3e1927
tox.ini
tox.ini
INI
<|file_sep|>start.sh.diff original: updated: REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY} <|file_sep|>original/start.sh INPUT_FORCE=${INPUT_FORCE:-false} INPUT_DIRECTORY=${INPUT_DIRECTORY:-'.'} _FORCE_OPTION='' echo "Push to branch $INPUT_BRANCH"; [ -z "${INPUT_GITHUB_TOKEN}" ] && { echo 'Missing input "git...
INPUT_DIRECTORY=${INPUT_DIRECTORY:-'.'} _FORCE_OPTION='' REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY} echo "Push to branch $INPUT_BRANCH"; [ -z "${INPUT_GITHUB_TOKEN}" ] && { echo 'Missing input "github_token: ${{ secrets.GITHUB_TOKEN }}".'; exit 1; }; if ${INPUT_FORCE}; then _FORCE_OPTION='--force'...
<|file_sep|>start.sh.diff original: updated: REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY} <|file_sep|>original/start.sh INPUT_FORCE=${INPUT_FORCE:-false} INPUT_DIRECTORY=${INPUT_DIRECTORY:-'.'} _FORCE_OPTION='' echo "Push to branch $INPUT_BRANCH"; [ -z "${INPUT_GITHUB_TOKEN}" ] && { echo 'Missing input "git...
358cef57025fcc067d81cd768171cb3f33a28984
start.sh
start.sh
Shell
<|file_sep|>original/bot/action/extra/messages/stored_message.py <|file_sep|>current/bot/action/extra/messages/stored_message.py <|file_sep|>updated/bot/action/extra/messages/stored_message.py
class StoredMessageMapper: def from_api(self, message): data = message.data.copy() self.__replace_with_id_if_present(data, "from") self.__replace_with_id_if_present(data, "forward_from") self.__replace_with_id_if_present(data, "reply_to_message", "message_id") self.__delete_i...
<|file_sep|>original/bot/action/extra/messages/stored_message.py <|file_sep|>current/bot/action/extra/messages/stored_message.py <|file_sep|>updated/bot/action/extra/messages/stored_message.py class StoredMessageMapper: def from_api(self, message): data = message.data.copy() self.__replace_with_id...
e58f75c0c0196d2c3cb9df3e24978142ac542933
bot/action/extra/messages/stored_message.py
bot/action/extra/messages/stored_message.py
Python
<|file_sep|>original/spec/machete/dsl/pattern_spec.rb <|file_sep|>current/spec/machete/dsl/pattern_spec.rb <|file_sep|>updated/spec/machete/dsl/pattern_spec.rb
require "spec_helper" describe "patterns" do describe "method name" do it "returns true when method name is equal" do Machete.matches?('find_by_id'.to_ast, 'Send<name = :find_by_id>').should be_true end it "returns true when method name begins with find" do Machete.matches?('find_by_id'.to_a...
<|file_sep|>original/spec/machete/dsl/pattern_spec.rb <|file_sep|>current/spec/machete/dsl/pattern_spec.rb <|file_sep|>updated/spec/machete/dsl/pattern_spec.rb require "spec_helper" describe "patterns" do describe "method name" do it "returns true when method name is equal" do Machete.matches?('find_by_i...
f83d7e0dc3b9ae195bb461bf060ad32ed88abdda
spec/machete/dsl/pattern_spec.rb
spec/machete/dsl/pattern_spec.rb
Ruby
<|file_sep|>original/.travis.yml node_js: - "7" - "6" - "5" script: - make test before_deploy: - make build notifications: slack: dalee:URO6M9J02if0wyOxB0kV5geu deploy: skip_cleanup: true email: topdev@dalee.ru provider: npm api_key: "LiSpuUF8zqLFz6IiuYKxnEjcBN6sPv9irAAlJl/Xdy+7dhr3Gz2dliRrg2q/G...
language: node_js sudo: false node_js: - "7" - "6" - "5" script: - make test before_deploy: - make build
<|file_sep|>original/.travis.yml node_js: - "7" - "6" - "5" script: - make test before_deploy: - make build notifications: slack: dalee:URO6M9J02if0wyOxB0kV5geu deploy: skip_cleanup: true email: topdev@dalee.ru provider: npm api_key: "LiSpuUF8zqLFz6IiuYKxnEjcBN6sPv9irAAlJl/Xdy+7dhr3Gz2dliRrg2q/G...
7adc4912921ae5dd91747b3aa7c7bc0e8bd969c0
.travis.yml
.travis.yml
YAML
<|file_sep|>plugin-networkmonitor/translations/networkmonitor_eo.desktop.diff original: updated: <|file_sep|>original/plugin-networkmonitor/translations/networkmonitor_eo.desktop [Desktop Entry] Type=Service ServiceTypes=LxQtPanel/Plugin Name=Network monitor Comment=Displays network status and activity. # Tran...
[Desktop Entry] Type=Service ServiceTypes=LxQtPanel/Plugin Name=Network monitor Comment=Displays network status and activity. # Translations Name[eo]=Ret-observilo Comment[eo]=Elmontras ret-staton kaj -aktivecon
<|file_sep|>plugin-networkmonitor/translations/networkmonitor_eo.desktop.diff original: updated: <|file_sep|>original/plugin-networkmonitor/translations/networkmonitor_eo.desktop [Desktop Entry] Type=Service ServiceTypes=LxQtPanel/Plugin Name=Network monitor Comment=Displays network status and activity. # Tran...
3f4396e7a47ffbcdea2958e64b531eae6526dc3b
plugin-networkmonitor/translations/networkmonitor_eo.desktop
plugin-networkmonitor/translations/networkmonitor_eo.desktop
desktop
<|file_sep|>original/src/Verifier/SAW/Prelude.hs import Control.Applicative ((<$>), (<*>)) import Control.Monad (join) import Verifier.SAW.ParserUtils import Verifier.SAW.Prelude.Constants import Verifier.SAW.SharedTerm $(runDecWriter $ do prelude <- defineModuleFromFile [] "preludeModule" "prelude/Prelude.sawco...
import Verifier.SAW.SharedTerm $(runDecWriter $ do prelude <- defineModuleFromFile [] "preludeModule" "prelude/Prelude.sawcore" declareSharedModuleFns "Prelude" (decVal prelude) ) scFinConst :: SharedContext s -> Nat -- ^ Index -> Nat -- ^ Bound n -> IO (SharedTerm s) scFinCo...
<|file_sep|>original/src/Verifier/SAW/Prelude.hs import Control.Applicative ((<$>), (<*>)) import Control.Monad (join) import Verifier.SAW.ParserUtils import Verifier.SAW.Prelude.Constants import Verifier.SAW.SharedTerm $(runDecWriter $ do prelude <- defineModuleFromFile [] "preludeModule" "prelude/Prelude.sawco...
0a4d909594da051936744352c064eabd27605f6a
src/Verifier/SAW/Prelude.hs
src/Verifier/SAW/Prelude.hs
Haskell
<|file_sep|>original/parse_push/views.py from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from .serializers import DeviceSerializer class DeviceTokenSetter(APIView): """ Set a push token related to device for logged in User """ pe...
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from .serializers import DeviceSerializer class DeviceTokenSetter(APIView): """ Set a push token related to device for logged in User """ permission_classes = (IsAuthenticated, ) ...
<|file_sep|>original/parse_push/views.py from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from .serializers import DeviceSerializer class DeviceTokenSetter(APIView): """ Set a push token related to device for logged in User """ pe...
4a7b548511fa0651aa0bc526302d13947941dacc
parse_push/views.py
parse_push/views.py
Python
<|file_sep|>original/data/ext/pending/issue-3028.ttl <|file_sep|>current/data/ext/pending/issue-3028.ttl <|file_sep|>updated/data/ext/pending/issue-3028.ttl
@prefix : <https://schema.org/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xml: <http://www.w3.org/XML/1998/namespace> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . :OnlineBusiness a rdfs:Class ; rdfs:label "OnlineBusiness" ...
<|file_sep|>original/data/ext/pending/issue-3028.ttl <|file_sep|>current/data/ext/pending/issue-3028.ttl <|file_sep|>updated/data/ext/pending/issue-3028.ttl @prefix : <https://schema.org/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xm...
0919d06b3fe40ff67025ca27ff7b2cddf29ea98a
data/ext/pending/issue-3028.ttl
data/ext/pending/issue-3028.ttl
Turtle
<|file_sep|>original/altair/examples/cumulative_count_chart.py <|file_sep|>current/altair/examples/cumulative_count_chart.py <|file_sep|>updated/altair/examples/cumulative_count_chart.py
""" Cumulative Count Chart ---------------------- This example shows an area chart with cumulative count. Adapted from https://vega.github.io/vega-lite/examples/area_cumulative_freq.html """ # category: area charts import altair as alt from vega_datasets import data source = data.movies.url alt.Chart(source).transf...
<|file_sep|>original/altair/examples/cumulative_count_chart.py <|file_sep|>current/altair/examples/cumulative_count_chart.py <|file_sep|>updated/altair/examples/cumulative_count_chart.py """ Cumulative Count Chart ---------------------- This example shows an area chart with cumulative count. Adapted from https://vega...
e21d3a1da1d20a341ae165c0fa3605248744ce7e
altair/examples/cumulative_count_chart.py
altair/examples/cumulative_count_chart.py
Python
<|file_sep|>amazon/rancheros-aws-ami-test.json.diff original: updated: "ap-northeast-1", <|file_sep|>original/amazon/rancheros-aws-ami-test.json "ssh_username": "rancher", "ami_name": "rancheros-{{user `version`}}-hvm-test-{{user `build`}}", "ena_support": "true" ...
"instance_type": "m3.medium", "ssh_username": "rancher", "ami_name": "rancheros-{{user `version`}}-hvm-test-{{user `build`}}", "ena_support": "true" }, { "type": "amazon-ebs", "name": "amazon-ebs-ecs", "region": "us-west...
<|file_sep|>amazon/rancheros-aws-ami-test.json.diff original: updated: "ap-northeast-1", <|file_sep|>original/amazon/rancheros-aws-ami-test.json "ssh_username": "rancher", "ami_name": "rancheros-{{user `version`}}-hvm-test-{{user `build`}}", "ena_support": "true" ...
9936d17f6772fa969acdba2a3ac8a530e504c428
amazon/rancheros-aws-ami-test.json
amazon/rancheros-aws-ami-test.json
JSON
<|file_sep|>original/package.json "cucumber" ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@types/mocha": "9.0.0", "@types/node": "14.17....
"cucumber" ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@types/mocha": "9.0.0", "@types/node": "14.17.15", "core-js": "3.17.2", ...
<|file_sep|>original/package.json "cucumber" ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@types/mocha": "9.0.0", "@types/node": "14.17....
5011c1b689593713cfda6797d80e4245d9be3221
package.json
package.json
JSON
<|file_sep|>original/subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java <|file_sep|>current/subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java <|file_sep|>updated/subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java
/* * Copyright 2020 the original author or authors. * * 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 applica...
<|file_sep|>original/subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java <|file_sep|>current/subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java <|file_sep|>updated/subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java /*...
73541853a182ec6200643efa57da28203bb52301
subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java
subprojects/core/src/main/java/org/gradle/api/internal/credentials/package-info.java
Java
<|file_sep|>original/src/Ruler/Operator.php /** * @author Jordan Raub <jordan@raub.me> */ abstract class Operator { const UNARY = 'UNARY'; const BINARY = 'BINARY'; const MULTIPLE = 'MULTIPLE'; protected $operands = []; /** * @param array $operands */ public function __construct() ...
/** * @author Jordan Raub <jordan@raub.me> */ abstract class Operator { const UNARY = 'UNARY'; const BINARY = 'BINARY'; const MULTIPLE = 'MULTIPLE'; protected $operands = array(); /** * @param array $operands */ public function __construct() { foreach (func_get_args() ...
<|file_sep|>original/src/Ruler/Operator.php /** * @author Jordan Raub <jordan@raub.me> */ abstract class Operator { const UNARY = 'UNARY'; const BINARY = 'BINARY'; const MULTIPLE = 'MULTIPLE'; protected $operands = []; /** * @param array $operands */ public function __construct() ...
cf4446d31cd9664f180ad2321fce9f4a13f573bc
src/Ruler/Operator.php
src/Ruler/Operator.php
PHP
<|file_sep|>original/scripts/ci/run.sh # g++4.8.1 if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi # clang 3.4 if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi sh ./scripts/ci/laszip.sh sh ./scripts/ci/liblas.sh cmake \ -DCMAKE_BUILD_TYPE=Release \ . make VERBOSE=1 sh download-test-sets.sh cte...
# g++4.8.1 if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi # clang 3.4 if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi #sh ./scripts/ci/laszip.sh #sh ./scripts/ci/liblas.sh cmake \ -DCMAKE_BUILD_TYPE=Release \ . make VERBOSE=1 sh download-test-sets.sh ctest -V
<|file_sep|>original/scripts/ci/run.sh # g++4.8.1 if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi # clang 3.4 if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi sh ./scripts/ci/laszip.sh sh ./scripts/ci/liblas.sh cmake \ -DCMAKE_BUILD_TYPE=Release \ . make VERBOSE=1 sh download-test-sets.sh cte...
d3a2666fb49ed235e1fd67c97e9fae1081906f58
scripts/ci/run.sh
scripts/ci/run.sh
Shell
<|file_sep|>original/views/components/request-forward-action.html <div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="panel-body header"> <h1>{{.ID}} <small>Forward request</small></h1> </div> <div class="panel panel-default"> <div class="panel-body"> <form action="/hooks/edit/{{.ID}}...
<div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="panel-body header"> <h1>{{.ID}} <small>Forward request</small></h1> </div> <div class="panel panel-default"> <div class="panel-body"> <form action="/hooks/edit/{{.ID}}/create" method="POST"> <div class="form-group"> <label...
<|file_sep|>original/views/components/request-forward-action.html <div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="panel-body header"> <h1>{{.ID}} <small>Forward request</small></h1> </div> <div class="panel panel-default"> <div class="panel-body"> <form action="/hooks/edit/{{.ID}}...
1324b0b3f3333103b56cb3372d5d2f8c61acae80
views/components/request-forward-action.html
views/components/request-forward-action.html
HTML
<|file_sep|>original/package.json "certificate", "install", "tls", "ssl" ], "author": "Niklas Ingholt", "license": "ISC", "homepage": "https://github.com/niklasi/cert-installer#readme", "bugs": { "url": "https://github.com/niklasi/cert-installer/issues" }, "bin": { "cert-installer"...
"certificate", "install", "tls", "ssl" ], "author": "Niklas Ingholt", "license": "ISC", "homepage": "https://github.com/niklasi/cert-installer#readme", "bugs": { "url": "https://github.com/niklasi/cert-installer/issues" }, "bin": { "cert-installer": "./bin/cert-installer" }, "d...
<|file_sep|>original/package.json "certificate", "install", "tls", "ssl" ], "author": "Niklas Ingholt", "license": "ISC", "homepage": "https://github.com/niklasi/cert-installer#readme", "bugs": { "url": "https://github.com/niklasi/cert-installer/issues" }, "bin": { "cert-installer"...
9566a764491536b2537910d156e23bcd79733530
package.json
package.json
JSON
<|file_sep|>original/python2.7/build/Dockerfile FROM lambci/lambda-base:build ENV AWS_EXECUTION_ENV=AWS_Lambda_python2.7 \ PYTHONPATH=/var/runtime RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/python2.7.tgz | tar -zx -C / # Add these as a separate layer as they get updated freq...
FROM lambci/lambda-base:build ENV AWS_EXECUTION_ENV=AWS_Lambda_python2.7 \ PYTHONPATH=/var/runtime RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/python2.7.tgz | tar -zx -C / # Add these as a separate layer as they get updated frequently RUN curl --silent --show-error --retry 5 ...
<|file_sep|>original/python2.7/build/Dockerfile FROM lambci/lambda-base:build ENV AWS_EXECUTION_ENV=AWS_Lambda_python2.7 \ PYTHONPATH=/var/runtime RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/python2.7.tgz | tar -zx -C / # Add these as a separate layer as they get updated freq...
144f3b3e36e697360ffe723f3f56bf2cf9f6b742
python2.7/build/Dockerfile
python2.7/build/Dockerfile
unknown
<|file_sep|>original/server/store/requests.js const redis = require('./redis'); const config = require('./config'); const getRequest = async (requestId) => { // Set TTL for request redis.expire(`requests:${requestId}`, config('requests_ttl')); return await redis.hgetallAsync(`requests:${requestId}`); }; const c...
const redis = require('./redis'); const config = require('../config/index.js'); const getRequest = async (requestId) => { // Set TTL for request redis.expire(`requests:${requestId}`, config('requests_ttl')); return await redis.hgetallAsync(`requests:${requestId}`); }; const createRequest = async (requestDetails...
<|file_sep|>original/server/store/requests.js const redis = require('./redis'); const config = require('./config'); const getRequest = async (requestId) => { // Set TTL for request redis.expire(`requests:${requestId}`, config('requests_ttl')); return await redis.hgetallAsync(`requests:${requestId}`); }; const c...
386bd63f8d21fde74018815d410179758f5241cf
server/store/requests.js
server/store/requests.js
JavaScript
<|file_sep|>original/src/adhocracy/adhocracy/frontend/static/js/Packages/Embed/Embed.ts import _ = require("lodash"); import Util = require("../Util/Util"); /** * List of directive names that can be embedded. names must be in * lower-case with dashes, but without 'adh-' prefix. (example: * 'document-workbench' ...
import _ = require("lodash"); import Util = require("../Util/Util"); /** * List of directive names that can be embedded. names must be in * lower-case with dashes, but without 'adh-' prefix. (example: * 'document-workbench' for directive DocumentWorkbench.) */ var embeddableDirectives = ["document-workbench", ...
<|file_sep|>original/src/adhocracy/adhocracy/frontend/static/js/Packages/Embed/Embed.ts import _ = require("lodash"); import Util = require("../Util/Util"); /** * List of directive names that can be embedded. names must be in * lower-case with dashes, but without 'adh-' prefix. (example: * 'document-workbench' ...
9618cd026ee1a2e9ea370f6a99772acba8e3b2de
src/adhocracy/adhocracy/frontend/static/js/Packages/Embed/Embed.ts
src/adhocracy/adhocracy/frontend/static/js/Packages/Embed/Embed.ts
TypeScript
<|file_sep|>packages/li/list-transformer.yaml.diff original: hash: 6d9ecfd704b07c92fa2e270c891e0c406b53b48c66a9f70ad5aa963938c638d5 updated: hash: 97cf2219d90ebc3eb883cc994ea26345ac5bc573abaac59418bc210cec0fb08f <|file_sep|>packages/li/list-transformer.yaml.diff original: updated: mmorph: '>=1.1.3 && <1.3' <|file_se...
- 1.0.1 - 1.0.2 - 1.0.3 - 1.0.4 - 1.0.5 - 1.0.6 - 1.0.7 - 1.0.8 - 1.0.9 author: Gabriel Gonzalez latest: 1.0.9 description-type: haddock description: |- This library provides a list monad transformer that enriches lists with effects and streams efficiently in constant space. This library also has an extensive ...
<|file_sep|>packages/li/list-transformer.yaml.diff original: hash: 6d9ecfd704b07c92fa2e270c891e0c406b53b48c66a9f70ad5aa963938c638d5 updated: hash: 97cf2219d90ebc3eb883cc994ea26345ac5bc573abaac59418bc210cec0fb08f <|file_sep|>packages/li/list-transformer.yaml.diff original: updated: mmorph: '>=1.1.3 && <1.3' <|file_se...
1cca896987aa6837e19d0adf95e309b705c9e8d0
packages/li/list-transformer.yaml
packages/li/list-transformer.yaml
YAML
<|file_sep|>original/_ecosys/consumers/Self-ServiceDashboard.md <|file_sep|>current/_ecosys/consumers/Self-ServiceDashboard.md <|file_sep|>updated/_ecosys/consumers/Self-ServiceDashboard.md
--- layout: default category: consumers title: "Self-Service Dashboard" link: "http://self-service-dashboard.com/" --- Self-Service Dashboard allows you to make dashboards over your OData service in SaaS mode for free. Try it out at http://self-service-dashboard.com/app/.
<|file_sep|>original/_ecosys/consumers/Self-ServiceDashboard.md <|file_sep|>current/_ecosys/consumers/Self-ServiceDashboard.md <|file_sep|>updated/_ecosys/consumers/Self-ServiceDashboard.md --- layout: default category: consumers title: "Self-Service Dashboard" link: "http://self-service-dashboard.com/" --- Self-Serv...
f5076f2dfcbe74d83863e8f44a86352c733321d6
_ecosys/consumers/Self-ServiceDashboard.md
_ecosys/consumers/Self-ServiceDashboard.md
Markdown
<|file_sep|>__init__.py.diff original: import sys import importlib updated: import os <|file_sep|>original/__init__.py import sys import importlib sys.modules[__package__] = importlib.import_module('.dataset', __package__) <|file_sep|>current/__init__.py import os sys.modules[__package__] = importlib.import_module('....
import os __path__.append(os.path.dirname(__file__) + '/dataset') from .dataset import *
<|file_sep|>__init__.py.diff original: import sys import importlib updated: import os <|file_sep|>original/__init__.py import sys import importlib sys.modules[__package__] = importlib.import_module('.dataset', __package__) <|file_sep|>current/__init__.py import os sys.modules[__package__] = importlib.import_module('....
a5585f7e437a402b10e4fa9094172a10a8955eac
__init__.py
__init__.py
Python
<|file_sep|>original/src/Stripe.Tests.XUnit/coupons/_fixture.cs public StripeCoupon Coupon { get; set; } public StripeCoupon CouponRetrieved { get; set; } public StripeCoupon CouponUpdated { get; set; } public StripeDeleted CouponDeleted { get; set; } public StripeList<StripeCoup...
public StripeCoupon Coupon { get; set; } public StripeCoupon CouponRetrieved { get; set; } public StripeCoupon CouponUpdated { get; set; } public StripeDeleted CouponDeleted { get; set; } public StripeList<StripeCoupon> CouponsList { get; } public coupons_fixture() ...
<|file_sep|>original/src/Stripe.Tests.XUnit/coupons/_fixture.cs public StripeCoupon Coupon { get; set; } public StripeCoupon CouponRetrieved { get; set; } public StripeCoupon CouponUpdated { get; set; } public StripeDeleted CouponDeleted { get; set; } public StripeList<StripeCoup...
8783c703d8cbdf19d9b98b58b0d51f53512b0df4
src/Stripe.Tests.XUnit/coupons/_fixture.cs
src/Stripe.Tests.XUnit/coupons/_fixture.cs
C#
<|file_sep|>README.md.diff original: A writeup on Locality Sensitive Hashing coming soon. updated: A writeup on Locality Sensitive Hashing (LSH) coming soon. <|file_sep|>original/README.md # lsh A writeup on Locality Sensitive Hashing coming soon. For now checkout section 3.4 in "Mining of Massive Datasets": http://i...
# lsh A writeup on Locality Sensitive Hashing (LSH) coming soon. To learn more about LSH start with these slides: http://web.stanford.edu/class/cs246/slides/03-lsh.pdf These slides are based on chapter three of the "Mining of Massive Datasets" book: http://infolab.stanford.edu/~ullman/mmds/book.pdf
<|file_sep|>README.md.diff original: A writeup on Locality Sensitive Hashing coming soon. updated: A writeup on Locality Sensitive Hashing (LSH) coming soon. <|file_sep|>original/README.md # lsh A writeup on Locality Sensitive Hashing coming soon. For now checkout section 3.4 in "Mining of Massive Datasets": http://i...
773a9816585b3002433b7a28e1c5ca8db6b7270a
README.md
README.md
Markdown
<|file_sep|>original/process.py lines.remove(line) parts = [x.strip() for x in line.split("•")] if parts == ['']: break contact_lines.extend(parts) if '--tex' in sys.argv: lines.insert(0, "\\begin{nospace}\\begin{flushright}\n" + "\n\n".join(contact_lines) + ...
lines.remove(line) parts = [x.strip() for x in line.split("•")] if parts == ['']: break contact_lines.extend(parts) if '--tex' in sys.argv: lines.insert(0, "\\begin{nospace}\\begin{flushright}\n" + "\n\n".join(contact_lines) + "\n\\end{flushright}\\e...
<|file_sep|>original/process.py lines.remove(line) parts = [x.strip() for x in line.split("•")] if parts == ['']: break contact_lines.extend(parts) if '--tex' in sys.argv: lines.insert(0, "\\begin{nospace}\\begin{flushright}\n" + "\n\n".join(contact_lines) + ...
72384b3f06d4c68a94805e101f6cf4f820157834
process.py
process.py
Python
<|file_sep|>original/lib/resin/ui/patterns/patterns.coffee bar = null received = 0 server.request method: 'GET' url: url pipe: fs.createWriteStream(dest) , (error) -> return callback(error) , (state) -> bar ?= new ProgressBar 'Downloading device OS [:bar] :percent :etas', complete: '=' incomplete...
received = 0 server.request method: 'GET' url: url pipe: fs.createWriteStream(dest) , (error) -> return callback(error) , (state) -> # TODO: Allow quieting this progress bar bar ?= new ProgressBar 'Downloading device OS [:bar] :percent :etas', complete: '=' incomplete: ' ' width: 40 total:...
<|file_sep|>original/lib/resin/ui/patterns/patterns.coffee bar = null received = 0 server.request method: 'GET' url: url pipe: fs.createWriteStream(dest) , (error) -> return callback(error) , (state) -> bar ?= new ProgressBar 'Downloading device OS [:bar] :percent :etas', complete: '=' incomplete...
62b15cce927ba7b2c3abe24f6b864788c223137f
lib/resin/ui/patterns/patterns.coffee
lib/resin/ui/patterns/patterns.coffee
CoffeeScript
<|file_sep|>original/.appveyor.yml <|file_sep|>current/.appveyor.yml <|file_sep|>updated/.appveyor.yml
platform: - x64 - x86 environment: matrix: - RUST_VERSION: stable VENDOR: gnu - RUST_VERSION: stable VENDOR: msvc - RUST_VERSION: beta VENDOR: gnu - RUST_VERSION: beta VENDOR: msvc install: - ps: | if ($env:PLATFORM -eq "x86") { $arch = "i686" } ...
<|file_sep|>original/.appveyor.yml <|file_sep|>current/.appveyor.yml <|file_sep|>updated/.appveyor.yml platform: - x64 - x86 environment: matrix: - RUST_VERSION: stable VENDOR: gnu - RUST_VERSION: stable VENDOR: msvc - RUST_VERSION: beta VENDOR: gnu - RUST_VERSION: beta ...
2dc6cdcdc5d6c0b7a978a93068225628c63027db
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/Templating/Helper/SizeHelper.php <|file_sep|>current/Templating/Helper/SizeHelper.php <|file_sep|>updated/Templating/Helper/SizeHelper.php
<?php namespace Ivory\GoogleMapBundle\Templating\Helper; use Ivory\GoogleMapBundle\Model\Size; /** * Size helper allows easy rendering * * @author GeLo <geloen.eric@gmail.com> */ class SizeHelper { /** * Renders the size * * @param Ivory\GoogleMapBundle\Model\Size $size * @return string H...
<|file_sep|>original/Templating/Helper/SizeHelper.php <|file_sep|>current/Templating/Helper/SizeHelper.php <|file_sep|>updated/Templating/Helper/SizeHelper.php <?php namespace Ivory\GoogleMapBundle\Templating\Helper; use Ivory\GoogleMapBundle\Model\Size; /** * Size helper allows easy rendering * * @author GeLo ...
b1a783a6e3a24871629b0e5b0ececa603bd495f4
Templating/Helper/SizeHelper.php
Templating/Helper/SizeHelper.php
PHP
<|file_sep|>original/setup/install_casks.sh # Install essential OS X apps via Cask (in order of essentiality) install_cask google-chrome install_cask dropbox install_cask alfred install_cask atom install_cask evernote install_cask keyboard-maestro install_cask skype install_cask jitsi install_cask joinme install_cask ...
# Install essential OS X apps via Cask (in order of essentiality) install_cask google-chrome install_cask dropbox install_cask alfred install_cask atom install_cask evernote install_cask keyboard-maestro install_cask skype install_cask jitsi install_cask flux # Install additional OS X apps install_cask appcleaner inst...
<|file_sep|>original/setup/install_casks.sh # Install essential OS X apps via Cask (in order of essentiality) install_cask google-chrome install_cask dropbox install_cask alfred install_cask atom install_cask evernote install_cask keyboard-maestro install_cask skype install_cask jitsi install_cask joinme install_cask ...
7069751ce30541a65c42bf9e00e701da233de1f9
setup/install_casks.sh
setup/install_casks.sh
Shell
<|file_sep|>zuul.d/nodesets.yaml.diff original: label: ubuntu updated: label: ubuntu <|file_sep|>zuul.d/nodesets.yaml.diff original: label: ubuntu updated: label: ubuntu <|file_sep|>zuul.d/nodesets.yaml.diff original: nodes: - primary updated: nodes: - primary <|file_sep|>origina...
--- - nodeset: name: multinode-legacy nodes: - name: primary label: ubuntu - name: secondary label: ubuntu groups: - name: primary nodes: - primary - name: subnodes nodes: - secondary
<|file_sep|>zuul.d/nodesets.yaml.diff original: label: ubuntu updated: label: ubuntu <|file_sep|>zuul.d/nodesets.yaml.diff original: label: ubuntu updated: label: ubuntu <|file_sep|>zuul.d/nodesets.yaml.diff original: nodes: - primary updated: nodes: - primary <|file_sep|>origina...
3e5fa425e535728b5bc331765c2ce1eb3a372046
zuul.d/nodesets.yaml
zuul.d/nodesets.yaml
YAML
<|file_sep|>src/Optimizer/DeadCodeElimination.hs.diff original: let prunedIR = fixedPoint (\ir -> let liveVariables = foldl union [] (getLiveVariables ir) in filter (keepInstruction liveVariables) ir) ir updated: let prunedIR = fixedPoint (\ir -> let liveVariables = foldl union [] (get...
optimize :: [IR] -> Writer [String] [IR] optimize ir = do let prunedIR = fixedPoint (\ir -> let liveVariables = foldl union [] (getLiveVariables ir) in filter (keepInstruction liveVariables) ir) ir tell [ show (length ir - length prunedIR) ++ " statements out of...
<|file_sep|>src/Optimizer/DeadCodeElimination.hs.diff original: let prunedIR = fixedPoint (\ir -> let liveVariables = foldl union [] (getLiveVariables ir) in filter (keepInstruction liveVariables) ir) ir updated: let prunedIR = fixedPoint (\ir -> let liveVariables = foldl union [] (get...
576cf809016d1e3ad8ce49f6b6243c5fc0e4cbfb
src/Optimizer/DeadCodeElimination.hs
src/Optimizer/DeadCodeElimination.hs
Haskell
<|file_sep|>original/compiler-test.rkt "lambda -> func" (check-equal? (kashmir-compile-expr '(lambda ([q : int]) q)) "(func (q int) int {\nreturn q\n})")) (test-case "partial application" (check-equal? (run '(((lambda (x) (lambda (y) x)) 1) 2)) 1)) (test-case "let" ...
(test-case "partial application" (check-equal? (run '(((lambda (x) (lambda (y) x)) 1) 2)) 1)) (test-case "let" (check-equal? (run '(let (x 1) ((+ x) 2))) 3)) (test-case "higher-order functions" (check-equal? (run '(((lambda (x) (lambda (y) (x y))) (lambda (x) ...
<|file_sep|>original/compiler-test.rkt "lambda -> func" (check-equal? (kashmir-compile-expr '(lambda ([q : int]) q)) "(func (q int) int {\nreturn q\n})")) (test-case "partial application" (check-equal? (run '(((lambda (x) (lambda (y) x)) 1) 2)) 1)) (test-case "let" ...
9be349fddbb1fd9651f52b72433056433298a4fb
compiler-test.rkt
compiler-test.rkt
Racket
<|file_sep|>original/manifests/cf-manifest/operations.d/320-cc-release.yml --- - type: replace path: /releases/name=capi value: name: "capi" version: "1.104.0" url: "https://bosh.io/d/github.com/cloudfoundry/capi-release?v=1.104.0" sha1: "eae1171ff4c53bfb59f4b4d396d007ebc661cb59" <|file_sep|>current...
--- - type: replace path: /releases/name=capi value: name: "capi" version: "1.106.0" url: "https://bosh.io/d/github.com/cloudfoundry/capi-release?v=1.106.0" sha1: "5eca119d80771fedb1127a295472201b243e0793"
<|file_sep|>original/manifests/cf-manifest/operations.d/320-cc-release.yml --- - type: replace path: /releases/name=capi value: name: "capi" version: "1.104.0" url: "https://bosh.io/d/github.com/cloudfoundry/capi-release?v=1.104.0" sha1: "eae1171ff4c53bfb59f4b4d396d007ebc661cb59" <|file_sep|>current...
7ee6be1099b75d9ef99848a31655c6df6e127d51
manifests/cf-manifest/operations.d/320-cc-release.yml
manifests/cf-manifest/operations.d/320-cc-release.yml
YAML
<|file_sep|>core/amqp-transport/src/main/java/org/iotbricks/core/amqp/transport/utils/Properties.java.diff original: updated: if (status == null) { return empty(); } <|file_sep|>original/core/amqp-transport/src/main/java/org/iotbricks/core/amqp/transport/utils/Properties.java // ...
final Object status = value.get("status"); if (status == null) { return empty(); } if (status instanceof Number) { // return value as int return of(((Number) status).intValue()); } try { return of(Integer.parseInt(status....
<|file_sep|>core/amqp-transport/src/main/java/org/iotbricks/core/amqp/transport/utils/Properties.java.diff original: updated: if (status == null) { return empty(); } <|file_sep|>original/core/amqp-transport/src/main/java/org/iotbricks/core/amqp/transport/utils/Properties.java // ...
2f5cd674ce7a529b61a51f7bd00a4627c45e050f
core/amqp-transport/src/main/java/org/iotbricks/core/amqp/transport/utils/Properties.java
core/amqp-transport/src/main/java/org/iotbricks/core/amqp/transport/utils/Properties.java
Java
<|file_sep|>original/config/initializers/fast_get_text.rb # db access is cached <-> only first lookup hits the db require "fast_gettext" require "fast_gettext/translation_repository/db" FastGettext.default_text_domain = 'app' FastGettext::TranslationRepository::Db.require_models #load and include default models FastGet...
# db access is cached <-> only first lookup hits the db require "fast_gettext" require "fast_gettext/translation_repository/db" FastGettext.default_text_domain = 'app' FastGettext::TranslationRepository::Db.require_models #load and include default models FastGettext.available_locales = ['en'] FastGettext.add_text_domai...
<|file_sep|>original/config/initializers/fast_get_text.rb # db access is cached <-> only first lookup hits the db require "fast_gettext" require "fast_gettext/translation_repository/db" FastGettext.default_text_domain = 'app' FastGettext::TranslationRepository::Db.require_models #load and include default models FastGet...
3b591af5c12017c6b58009f9e0d23174ea722327
config/initializers/fast_get_text.rb
config/initializers/fast_get_text.rb
Ruby
<|file_sep|>.travis.yml.diff original: install: pip install codecov after_success: codecov updated: <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.2 install: pip install codecov after_success: codecov script: - xctool -workspace MBProgressHUD.xcworkspace -scheme HudTests -s...
language: objective-c osx_image: xcode7.2 script: - xctool -workspace MBProgressHUD.xcworkspace -scheme HudTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPad Air 2,OS=9.2" build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES after_success: - bash <(curl -s htt...
<|file_sep|>.travis.yml.diff original: install: pip install codecov after_success: codecov updated: <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode7.2 install: pip install codecov after_success: codecov script: - xctool -workspace MBProgressHUD.xcworkspace -scheme HudTests -s...
9d59d0bbee240ed9632286e1927ba8b9055623ee
.travis.yml
.travis.yml
YAML
<|file_sep|>original/controller_launcher.sh #!/bin/bash # first parameter is the IP address of the controller # if no parameters are provided the default IP address is 10.255.248.1 DEFAULT_CONTROLLER_IP='10.255.248.1' CONTROLLER_IP=$1 printandexec () { echo "$@" eval "$@" } if [ $# -eq 0 ] then CONTROLLER_...
#!/bin/bash # first parameter is the IP address of the controller # if no parameters are provided the default IP address is 10.255.248.1 DEFAULT_CONTROLLER_IP='10.255.248.1' CONTROLLER_IP=$1 printandexec () { echo "$@" eval "$@" } if [ $# -eq 0 ] then CONTROLLER_IP=$DEFAULT_CONTROLLER_IP fi #sshpass -p '...
<|file_sep|>original/controller_launcher.sh #!/bin/bash # first parameter is the IP address of the controller # if no parameters are provided the default IP address is 10.255.248.1 DEFAULT_CONTROLLER_IP='10.255.248.1' CONTROLLER_IP=$1 printandexec () { echo "$@" eval "$@" } if [ $# -eq 0 ] then CONTROLLER_...
71a2a57b5a9bc43f07aeea1f0f229e96680a2770
controller_launcher.sh
controller_launcher.sh
Shell
<|file_sep|>original/deployment/05_before_deploy.sh if [ $TRAVIS_PULL_REQUEST = "false" -a $TRAVIS_BRANCH = $SOURCE_BRANCH ]; then mv dist/* . rmdir dist git add . --all git commit -m "Build for gh-pages: ${SHA}" git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH git merge -s recursive -X...
if [ $TRAVIS_PULL_REQUEST = "false" -a $TRAVIS_BRANCH = $SOURCE_BRANCH ]; then mv dist/* . rmdir dist git add . --all git commit -m "Build for gh-pages: ${SHA}" git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH git merge -s recursive -X theirs TEMP_BRANCH -m "Merge into gh-pages: ${SHA}"...
<|file_sep|>original/deployment/05_before_deploy.sh if [ $TRAVIS_PULL_REQUEST = "false" -a $TRAVIS_BRANCH = $SOURCE_BRANCH ]; then mv dist/* . rmdir dist git add . --all git commit -m "Build for gh-pages: ${SHA}" git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH git merge -s recursive -X...
a83bd8889e3a277ce4f5a3a26ddd8e459228532c
deployment/05_before_deploy.sh
deployment/05_before_deploy.sh
Shell
<|file_sep|>original/docs/applications-using-marble.txt <|file_sep|>current/docs/applications-using-marble.txt <|file_sep|>updated/docs/applications-using-marble.txt
There are some applications/applets/plasmoids using Marble. They might be affected by changes of the Marble API. So it is good practice to check if the following applications compile and work after API changes: - extragear/graphics/digikam - playground/base/plasma/wallpapers/marble There is this link http://techbas...
<|file_sep|>original/docs/applications-using-marble.txt <|file_sep|>current/docs/applications-using-marble.txt <|file_sep|>updated/docs/applications-using-marble.txt There are some applications/applets/plasmoids using Marble. They might be affected by changes of the Marble API. So it is good practice to check if the...
f883b79d27d6594be2252323d377fb918f998f90
docs/applications-using-marble.txt
docs/applications-using-marble.txt
Text
<|file_sep|>original/ipUtils.js } const ip2number = ip => { const ipArray = (ip + '').split('.'); if (ipArray.length === 0 || ipArray.length > 4) { throw new Error('Invalid IP'); return; } else { return ipArray .map((segment, i) => { if (isNaN(parseInt(segment, 10)) || segment < 0 || se...
} const ip2number = ip => { const ipArray = (ip + '').split('.'); if (ipArray.length === 0 || ipArray.length > 4) { throw new Error('Invalid IP'); return; } else { return ipArray .map((segment, i) => { if (isNaN(+segment) || segment < 0 || segment > 255) { throw new Error('One...
<|file_sep|>original/ipUtils.js } const ip2number = ip => { const ipArray = (ip + '').split('.'); if (ipArray.length === 0 || ipArray.length > 4) { throw new Error('Invalid IP'); return; } else { return ipArray .map((segment, i) => { if (isNaN(parseInt(segment, 10)) || segment < 0 || se...
99708e8dc43549156a98feb0f5ee974bb80969cf
ipUtils.js
ipUtils.js
JavaScript
<|file_sep|>original/data/transition-sites/phe_chimat.yml --- site: phe_chimat whitehall_slug: public-health-england homepage: https://www.gov.uk/guidance/phe-data-and-analysis-tools#child-and-maternal-health homepage_furl: www.gov.uk/phe tna_timestamp: 20170302101115 host: www.chimat.org.uk aliases: - chimat.org.uk op...
--- site: phe_chimat whitehall_slug: public-health-england homepage: https://www.gov.uk/guidance/phe-data-and-analysis-tools#child-and-maternal-health tna_timestamp: 20170302101115 host: www.chimat.org.uk aliases: - chimat.org.uk options: --query-string rid:qn
<|file_sep|>original/data/transition-sites/phe_chimat.yml --- site: phe_chimat whitehall_slug: public-health-england homepage: https://www.gov.uk/guidance/phe-data-and-analysis-tools#child-and-maternal-health homepage_furl: www.gov.uk/phe tna_timestamp: 20170302101115 host: www.chimat.org.uk aliases: - chimat.org.uk op...
992f7253ef1d0c56941d83ea4191e757d96c4d13
data/transition-sites/phe_chimat.yml
data/transition-sites/phe_chimat.yml
YAML
<|file_sep|>original/.github/workflows/build-release.yml uses: softprops/action-gh-release@v1 with: files: ./build/distributions/* build-packages: strategy: matrix: os: - windows-latest - ubuntu-latest - macos-latest name: Build System Pac...
uses: softprops/action-gh-release@v1 with: files: ./build/distributions/* build-packages: strategy: matrix: os: - windows-latest - ubuntu-latest # - macos-latest name: Build System Packages on ${{ matrix.os }} runs-on: ${{ matrix.os }}...
<|file_sep|>original/.github/workflows/build-release.yml uses: softprops/action-gh-release@v1 with: files: ./build/distributions/* build-packages: strategy: matrix: os: - windows-latest - ubuntu-latest - macos-latest name: Build System Pac...
f202fe738821c91025e5dd01c2fa664e164912f7
.github/workflows/build-release.yml
.github/workflows/build-release.yml
YAML
<|file_sep|>original/requirements/test_requirements.txt futures;python_version<"3.2" pypandoc pytablewriter[excel]>=0.36.0 pytest-cov pytest responses simplejson subprocrunner tox urllib3==1.21.1 <|file_sep|>current/requirements/test_requirements.txt futures;python_version<"3.2" pypandoc pytablewriter[excel]>=0.36.0 py...
futures;python_version<"3.2" pypandoc pytablewriter[excel]>=0.36.0 pytest-cov pytest responses simplejson subprocrunner tox
<|file_sep|>original/requirements/test_requirements.txt futures;python_version<"3.2" pypandoc pytablewriter[excel]>=0.36.0 pytest-cov pytest responses simplejson subprocrunner tox urllib3==1.21.1 <|file_sep|>current/requirements/test_requirements.txt futures;python_version<"3.2" pypandoc pytablewriter[excel]>=0.36.0 py...
519a9b42ef0b355f52949c3707c1ebc75aab5b12
requirements/test_requirements.txt
requirements/test_requirements.txt
Text
<|file_sep|>original/announcements.go var annStore AnnouncementStore // AnnouncementStore implements dataobjects.AnnouncementStore type AnnouncementStore struct { scrapers map[string]scraper.AnnouncementScraper } // AddScraper registers all sources provided by this scraper func (as *AnnouncementStore) AddScraper(sc...
var annStore AnnouncementStore // AnnouncementStore implements dataobjects.AnnouncementStore type AnnouncementStore struct { scrapers map[string]scraper.AnnouncementScraper } // AddScraper registers all sources provided by this scraper func (as *AnnouncementStore) AddScraper(s scraper.AnnouncementScraper) { if as....
<|file_sep|>original/announcements.go var annStore AnnouncementStore // AnnouncementStore implements dataobjects.AnnouncementStore type AnnouncementStore struct { scrapers map[string]scraper.AnnouncementScraper } // AddScraper registers all sources provided by this scraper func (as *AnnouncementStore) AddScraper(sc...
612c4db4d5ad057730ca61ed643a733b7fec22b0
announcements.go
announcements.go
Go
<|file_sep|>original/packages/cj/cj-token.yaml <|file_sep|>current/packages/cj/cj-token.yaml <|file_sep|>updated/packages/cj/cj-token.yaml
homepage: '' changelog-type: '' hash: 4e157353484d8f8affe5b32de428b9ef7be3a1636aa744a5a6555aba9d2b7ee3 test-bench-deps: base: -any time: -any hspec: -any text: -any jwt: -any cj-token: -any QuickCheck: -any text-conversions: -any maintainer: Author name here synopsis: A new Haskeleton package. changelog...
<|file_sep|>original/packages/cj/cj-token.yaml <|file_sep|>current/packages/cj/cj-token.yaml <|file_sep|>updated/packages/cj/cj-token.yaml homepage: '' changelog-type: '' hash: 4e157353484d8f8affe5b32de428b9ef7be3a1636aa744a5a6555aba9d2b7ee3 test-bench-deps: base: -any time: -any hspec: -any text: -any jwt:...
11fec8a38ecc561802dd7dc2e8280dc6f1fde882
packages/cj/cj-token.yaml
packages/cj/cj-token.yaml
YAML
<|file_sep|>.travis.yml.diff original: - 1.9.3 updated: <|file_sep|>original/.travis.yml sudo: required # don't run on container-based infrastructure language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 before_script: - wget 'https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip' - u...
sudo: required # don't run on container-based infrastructure language: ruby rvm: - 2.0.0 - 2.1.8 - 2.2.4 before_script: - wget 'https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip' - unzip '0.5.2_linux_amd64.zip' - ./consul --version script: - ./consul agent -server -bootstrap-expe...
<|file_sep|>.travis.yml.diff original: - 1.9.3 updated: <|file_sep|>original/.travis.yml sudo: required # don't run on container-based infrastructure language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 before_script: - wget 'https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip' - u...
43072cd3b1a74a5811cd3e82e11c01b4774c8537
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Aureka/VBBundle/Handler/LoginHandler.php.diff original: use Symfony\Component\HttpFoundation\Request, Symfony\Component\HttpFoundation\RedirectResponse; updated: use Symfony\Component\HttpFoundation\Request; <|file_sep|>src/Aureka/VBBundle/Handler/LoginHandler.php.diff original: updated: <|file_se...
} public function onAuthenticationSuccess(Request $request, TokenInterface $token) { $user = $token->getUser(); try { $this->userToLogIn = $this->userProvider->load($this->session, $user->getUsername()); } catch (VBUserException $e) { $this->userToLogIn = $th...
<|file_sep|>src/Aureka/VBBundle/Handler/LoginHandler.php.diff original: use Symfony\Component\HttpFoundation\Request, Symfony\Component\HttpFoundation\RedirectResponse; updated: use Symfony\Component\HttpFoundation\Request; <|file_sep|>src/Aureka/VBBundle/Handler/LoginHandler.php.diff original: updated: <|file_se...
da482b4df20503b74b1a923c9d8c7091b1256b92
src/Aureka/VBBundle/Handler/LoginHandler.php
src/Aureka/VBBundle/Handler/LoginHandler.php
PHP
<|file_sep|>original/src/org/texastorque/texastorque2015/auto/DriveAuto.java public class DriveAuto extends AutoMode { //test auto to try out commands and raw inputs. @Override public void run() { System.out.println("Starting drive auto!"); runCommand(new DriveDistance("DriveF...
package org.texastorque.texastorque2015.auto; public class DriveAuto extends AutoMode { //test auto to try out commands and raw inputs. @Override public void run() { System.out.println("Starting drive auto!"); runCommand(new DriveDistance("DriveForward", 10, 0.25, 10)); }...
<|file_sep|>original/src/org/texastorque/texastorque2015/auto/DriveAuto.java public class DriveAuto extends AutoMode { //test auto to try out commands and raw inputs. @Override public void run() { System.out.println("Starting drive auto!"); runCommand(new DriveDistance("DriveF...
0980c7a9b52368581092728f51227cee43932e70
src/org/texastorque/texastorque2015/auto/DriveAuto.java
src/org/texastorque/texastorque2015/auto/DriveAuto.java
Java
<|file_sep|>package.json.diff original: "version": "0.8.1", updated: "version": "0.8.2", <|file_sep|>package.json.diff original: "diff": "^2.2.2", updated: "diff": "^3.1.0", <|file_sep|>original/package.json "preferGlobal": true, "keywords": [ "lodash", "underscore", "workshopper" ], "au...
"preferGlobal": true, "keywords": [ "lodash", "underscore", "workshopper" ], "author": "mdunisch", "license": "MIT", "bugs": { "url": "https://github.com/mdunisch/lololodash/issues" }, "homepage": "https://github.com/mdunisch/lololodash", "dependencies": { "colors-tmpl": "^1.0.0", ...
<|file_sep|>package.json.diff original: "version": "0.8.1", updated: "version": "0.8.2", <|file_sep|>package.json.diff original: "diff": "^2.2.2", updated: "diff": "^3.1.0", <|file_sep|>original/package.json "preferGlobal": true, "keywords": [ "lodash", "underscore", "workshopper" ], "au...
f10bc9e573fbeee18613e02bac43d196145e51aa
package.json
package.json
JSON
<|file_sep|>src/gen-commands-plugins.ads.diff original: -- Copyright (C) 2012, 2017, 2018 Stephane Carrez updated: -- Copyright (C) 2012, 2017, 2018, 2019 Stephane Carrez <|file_sep|>original/src/gen-commands-plugins.ads package Gen.Commands.Plugins is -- ------------------------------ -- Generator Command ...
package Gen.Commands.Plugins is -- ------------------------------ -- Generator Command -- ------------------------------ type Command is new Gen.Commands.Command with null record; -- Execute the command with the arguments. overriding procedure Execute (Cmd : in out Command; ...
<|file_sep|>src/gen-commands-plugins.ads.diff original: -- Copyright (C) 2012, 2017, 2018 Stephane Carrez updated: -- Copyright (C) 2012, 2017, 2018, 2019 Stephane Carrez <|file_sep|>original/src/gen-commands-plugins.ads package Gen.Commands.Plugins is -- ------------------------------ -- Generator Command ...
15592ccd524fe7003ddea8f74285b424cc1f8f66
src/gen-commands-plugins.ads
src/gen-commands-plugins.ads
Ada
<|file_sep|>original/src/index.js 'use strict' import md5 from './md5' import fs from 'fs' const filename = process.argv[2] md5(fs.ReadStream(filename)).then((sum) => { console.log(`MD5 sum of "${filename}" is ${sum}`) }) <|file_sep|>current/src/index.js 'use strict' import md5 from './md5' import fs from 'fs' con...
'use strict' import md5 from './md5' import fs from 'fs' const filename = process.argv[2] md5(fs.ReadStream(filename)).then((sum) => { console.log(`MD5 sum of "${filename}" is ${sum}`) }).catch((err) => { console.log(`something is wrong: ${err}`) })
<|file_sep|>original/src/index.js 'use strict' import md5 from './md5' import fs from 'fs' const filename = process.argv[2] md5(fs.ReadStream(filename)).then((sum) => { console.log(`MD5 sum of "${filename}" is ${sum}`) }) <|file_sep|>current/src/index.js 'use strict' import md5 from './md5' import fs from 'fs' con...
889f5ec27735158e5e22c9bc72344558af8559e5
src/index.js
src/index.js
JavaScript
<|file_sep|>web/src/components/ConfigEditor.js.diff original: import 'brace/theme/github' updated: import 'brace/theme/dawn' <|file_sep|>original/web/src/components/ConfigEditor.js import React from 'react' import AceEditor from 'react-ace' import 'brace/mode/yaml' import 'brace/theme/github' import './ConfigEditor.sc...
import React from 'react' import AceEditor from 'react-ace' import 'brace/mode/yaml' import 'brace/theme/dawn' import './ConfigEditor.scss' export default function ConfigEditor(props) { return <AceEditor mode="yaml" theme="dawn" name="config-editor" {...props} /> }
<|file_sep|>web/src/components/ConfigEditor.js.diff original: import 'brace/theme/github' updated: import 'brace/theme/dawn' <|file_sep|>original/web/src/components/ConfigEditor.js import React from 'react' import AceEditor from 'react-ace' import 'brace/mode/yaml' import 'brace/theme/github' import './ConfigEditor.sc...
922f03384944e0c3e6664ffae4ed476efbfccc67
web/src/components/ConfigEditor.js
web/src/components/ConfigEditor.js
JavaScript
<|file_sep|>original/slang/Lexing/Trees/Nodes/Transitions.cs using System.Collections.Generic; namespace slang.Lexing.Trees.Nodes { public class Transitions : Dictionary<char,Node> { } } <|file_sep|>current/slang/Lexing/Trees/Nodes/Transitions.cs using System.Collections.Generic; namespace slang.Lexing....
using System.Collections.Generic; namespace slang.Lexing.Trees.Nodes { public class Transitions : Dictionary<Character,Transition> { } }
<|file_sep|>original/slang/Lexing/Trees/Nodes/Transitions.cs using System.Collections.Generic; namespace slang.Lexing.Trees.Nodes { public class Transitions : Dictionary<char,Node> { } } <|file_sep|>current/slang/Lexing/Trees/Nodes/Transitions.cs using System.Collections.Generic; namespace slang.Lexing....
81b922ecb73f3c8dda8a08a4826eb4985d4eac9d
slang/Lexing/Trees/Nodes/Transitions.cs
slang/Lexing/Trees/Nodes/Transitions.cs
C#
<|file_sep|>original/spec/exif_gps_injector/media_spec.rb require 'spec_helper' describe ExifGpsInjector::Media do let(:media) do ExifGpsInjector::Media.new(File.join(File.dirname(__FILE__), '../fixtures/ruby.jpg')) end it 'return tags' do expect(media.tags).to_not eq(nil) expect(media.tags).to_not ...
require 'spec_helper' describe ExifGpsInjector::Media do let(:media) do ExifGpsInjector::Media.new(File.join(File.dirname(__FILE__), '../fixtures/ruby.jpg')) end it 'return tags' do expect(media.tags).to_not eq(nil) expect(media.tags).to_not eq({}) expect(media.tags.count).to be > 0 expect(m...
<|file_sep|>original/spec/exif_gps_injector/media_spec.rb require 'spec_helper' describe ExifGpsInjector::Media do let(:media) do ExifGpsInjector::Media.new(File.join(File.dirname(__FILE__), '../fixtures/ruby.jpg')) end it 'return tags' do expect(media.tags).to_not eq(nil) expect(media.tags).to_not ...
dfa720b86d749dc0daffaaa13b869cb3821f70da
spec/exif_gps_injector/media_spec.rb
spec/exif_gps_injector/media_spec.rb
Ruby
<|file_sep|>package.json.diff original: updated: "grunt-bump": "0.0.13", "grunt-cli": "^0.1.13", "grunt-codepainter": "^0.2.0", "grunt-contrib-concat": "0.1.3", "grunt-contrib-copy": "0.4.0", <|file_sep|>package.json.diff original: "grunt-contrib-concat": "0.1.3", updated: <|file_sep|>package....
"grunt-cli": "^0.1.13", "grunt-codepainter": "^0.2.0", "grunt-contrib-concat": "0.1.3", "grunt-contrib-copy": "0.4.0", "grunt-contrib-jshint": "0.8.0", "grunt-contrib-qunit": "0.4.0", "grunt-contrib-uglify": "0.3.0", "grunt-contrib-watch": "0.3.1", "grunt-contrib-yuidoc": "^0.5.2" ...
<|file_sep|>package.json.diff original: updated: "grunt-bump": "0.0.13", "grunt-cli": "^0.1.13", "grunt-codepainter": "^0.2.0", "grunt-contrib-concat": "0.1.3", "grunt-contrib-copy": "0.4.0", <|file_sep|>package.json.diff original: "grunt-contrib-concat": "0.1.3", updated: <|file_sep|>package....
0004fb6df48d41f9bcaceaaca58d5e39e4f094f3
package.json
package.json
JSON
<|file_sep|>original/docs/config.toml baseURL = "/" languageCode = "en-us" title = "Templater" [blackfriday] angledQuotes = true fractions = false plainIDAnchors = true smartlists = true extensions = ["hardLineBreak"] [params] author = "Thomas Boerger" description = "A template processor for environment...
baseURL = "https://webhippie.github.io/templater/" languageCode = "en-us" title = "Templater" [blackfriday] angledQuotes = true fractions = false plainIDAnchors = true smartlists = true extensions = ["hardLineBreak"] [params] author = "Thomas Boerger" description = "A template processor for environment ...
<|file_sep|>original/docs/config.toml baseURL = "/" languageCode = "en-us" title = "Templater" [blackfriday] angledQuotes = true fractions = false plainIDAnchors = true smartlists = true extensions = ["hardLineBreak"] [params] author = "Thomas Boerger" description = "A template processor for environment...
18fd1d8a582eb3bbc976109b316ece90568474ff
docs/config.toml
docs/config.toml
TOML
<|file_sep|>original/src/vec/input.md Vectors are re-sizable arrays, like slices their size is not known at compile time, and they can be grow or shrink at anytime. A vectors is represented using 3 words: a pointer to the data, its length and its capacity. The capacity indicates how much memory is reserved for the vect...
Vectors are re-sizable arrays, like slices their size is not known at compile time, and they can be grow or shrink at anytime. A vector is represented using 3 words: a pointer to the data, its length and its capacity. The capacity indicates how much memory is reserved for the vector, the vector can grow as long as the ...
<|file_sep|>original/src/vec/input.md Vectors are re-sizable arrays, like slices their size is not known at compile time, and they can be grow or shrink at anytime. A vectors is represented using 3 words: a pointer to the data, its length and its capacity. The capacity indicates how much memory is reserved for the vect...
6b95063e9ecf37790c270e682fc02c7b2e70c921
src/vec/input.md
src/vec/input.md
Markdown