prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/db/migrate/20190124103508_remove_micro_chp_input.rb SOURCE_KEY = 'households_heater_micro_chp_network_gas_share' TARGET_KEY = 'households_heater_combined_network_gas_share' def up say "#{Scenario.migratable.count} scenarios to be checked..." updated = 0 Scenario.migratable.find_...
SOURCE_KEY = 'households_heater_micro_chp_network_gas_share' TARGET_KEY = 'households_heater_combined_network_gas_share' def up say "#{Scenario.migratable.count} scenarios to be checked..." updated = 0 Scenario.migratable.find_each.with_index do |scenario, index| say "#{index} done" if index.p...
<|file_sep|>original/db/migrate/20190124103508_remove_micro_chp_input.rb SOURCE_KEY = 'households_heater_micro_chp_network_gas_share' TARGET_KEY = 'households_heater_combined_network_gas_share' def up say "#{Scenario.migratable.count} scenarios to be checked..." updated = 0 Scenario.migratable.find_...
3a39b1b8138908456d50278377f737d3c16cb9dd
db/migrate/20190124103508_remove_micro_chp_input.rb
db/migrate/20190124103508_remove_micro_chp_input.rb
Ruby
<|file_sep|>original/synapse/crypto/context_factory.py <|file_sep|>current/synapse/crypto/context_factory.py <|file_sep|>updated/synapse/crypto/context_factory.py
from twisted.internet import reactor, ssl from OpenSSL import SSL class ServerContextFactory(ssl.ContextFactory): """Factory for PyOpenSSL SSL contexts that are used to handle incoming connections and to make connections to remote servers.""" def __init__(self, config): self._context = SSL.Contex...
<|file_sep|>original/synapse/crypto/context_factory.py <|file_sep|>current/synapse/crypto/context_factory.py <|file_sep|>updated/synapse/crypto/context_factory.py from twisted.internet import reactor, ssl from OpenSSL import SSL class ServerContextFactory(ssl.ContextFactory): """Factory for PyOpenSSL SSL contex...
6200630904db2452ecfb551d54974acfad978d17
synapse/crypto/context_factory.py
synapse/crypto/context_factory.py
Python
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.2.1 WebTest==2.0.28 factory-boy==2.9.2 # Lint and code style flake8==3.4.1 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.1.0 flake8-isort==2.2....
# Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.2.1 WebTest==2.0.28 factory-boy==2.9.2 # Lint and code style flake8==3.4.1 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.1.0 flake8-isort==2.2.2 flake8-quotes==0.11.0 isort==4.2.15 pep8...
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.2.1 WebTest==2.0.28 factory-boy==2.9.2 # Lint and code style flake8==3.4.1 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.1.0 flake8-isort==2.2....
b8944340f185dac2b58d4c1a24ebb130b588b35f
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/crosscheckInfo.awk <|file_sep|>current/crosscheckInfo.awk <|file_sep|>updated/crosscheckInfo.awk
# Crosscheck the number of episodes of each show found by counting them (grep -c) # in EPISODES_SORTED_FILE versus the number added up from SEASONS_SORTED_FILE # Both numbers are found by processing a checkEpisodeInfo file # # For now these seem more likely a problem in scraping SEASONS_SORTED_FILE than EPISODES_SORTED...
<|file_sep|>original/crosscheckInfo.awk <|file_sep|>current/crosscheckInfo.awk <|file_sep|>updated/crosscheckInfo.awk # Crosscheck the number of episodes of each show found by counting them (grep -c) # in EPISODES_SORTED_FILE versus the number added up from SEASONS_SORTED_FILE # Both numbers are found by processing a...
f9f56547f387b988fecf50b9897c577a03838664
crosscheckInfo.awk
crosscheckInfo.awk
Awk
<|file_sep|>original/datapipe/denoising/__init__.py # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE ...
# furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIE...
<|file_sep|>original/datapipe/denoising/__init__.py # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE ...
f21da23d45c328acffaba69a6f2fbf2056ca326b
datapipe/denoising/__init__.py
datapipe/denoising/__init__.py
Python
<|file_sep|>original/transformers/sockjs/update.sh <|file_sep|>current/transformers/sockjs/update.sh <|file_sep|>updated/transformers/sockjs/update.sh
#!/usr/bin/env bash set -e CURRENTDIR=$(pwd) DESTDIR=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd) TEMPDIR=$(mktemp -d 2> /dev/null || mktemp -d -t 'tmp') cleanup () { cd $CURRENTDIR [ -d $TEMPDIR ] && rm -rf $TEMPDIR } trap cleanup INT TERM EXIT git clone https://github.com/sockjs/sockjs-client.git $TEMPDIR cd $T...
<|file_sep|>original/transformers/sockjs/update.sh <|file_sep|>current/transformers/sockjs/update.sh <|file_sep|>updated/transformers/sockjs/update.sh #!/usr/bin/env bash set -e CURRENTDIR=$(pwd) DESTDIR=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd) TEMPDIR=$(mktemp -d 2> /dev/null || mktemp -d -t 'tmp') cleanup () { ...
7e7ef95800fb97b087d226c459d03acb45e3fdda
transformers/sockjs/update.sh
transformers/sockjs/update.sh
Shell
<|file_sep|>repo_manage/forms.py.diff original: print kwargs['instance'] updated: <|file_sep|>repo_manage/forms.py.diff original: def save(self, **kwargs): updated: def clean(self): cleaned_data = super(CollaborationForm, self).clean() self.instance.full_clean() return clean...
self.fields['user'] = forms.CharField(initial=kwargs['instance'].user.username) def clean(self): cleaned_data = super(CollaborationForm, self).clean() self.instance.full_clean() return cleaned_data def clean_user(self): username = self.cleaned_data['user'] u...
<|file_sep|>repo_manage/forms.py.diff original: print kwargs['instance'] updated: <|file_sep|>repo_manage/forms.py.diff original: def save(self, **kwargs): updated: def clean(self): cleaned_data = super(CollaborationForm, self).clean() self.instance.full_clean() return clean...
91eca37144d0c378761e47c143e66a79af37c226
repo_manage/forms.py
repo_manage/forms.py
Python
<|file_sep|>original/SearchResultsView/PrecompiledHeader.h #pragma once #define NTDDI_VERSION 0x06010000 #define WINVER 0x0601 #define _WIN32_WINNT 0x0601 #include <ShellScalingApi.h> #include <Shlobj.h> #include <ShObjIdl.h> #include <Windows.h> #include <wrl.h> #undef min #undef max #include <algorithm> #include ...
#pragma once #define NTDDI_VERSION 0x0A000007 // NTDDI_WIN10_19H1 #define _WIN32_WINNT 0x0A00 // _WIN32_WINNT_WIN10 #define WINVER 0x0A00 #include <ShellScalingApi.h> #include <Shlobj.h> #include <ShObjIdl.h> #include <Windows.h> #include <wrl.h> #undef min #undef max #include <algorithm> #include <unordered_map> ...
<|file_sep|>original/SearchResultsView/PrecompiledHeader.h #pragma once #define NTDDI_VERSION 0x06010000 #define WINVER 0x0601 #define _WIN32_WINNT 0x0601 #include <ShellScalingApi.h> #include <Shlobj.h> #include <ShObjIdl.h> #include <Windows.h> #include <wrl.h> #undef min #undef max #include <algorithm> #include ...
352fd8a38a7ca9bed62801969d9e0188f6b7e3ad
SearchResultsView/PrecompiledHeader.h
SearchResultsView/PrecompiledHeader.h
C
<|file_sep|>original/README.md # FOPD-tunner Fractional order proportional derivative controller tuner <|file_sep|>current/README.md # FOPD-tunner Fractional order proportional derivative controller tuner <|file_sep|>updated/README.md
# FOPD-tunner Fractional order proportional derivative controller tuner # 1. License FOPD-tunner is released under a [MIT license](https://github.com/cnpcshangbo/FOPD-tunner/blob/master/LICENSE). If you use FOPD-tunner in an academic work, please cite: @inproceedings{shang2016fractional, title={Fractional orde...
<|file_sep|>original/README.md # FOPD-tunner Fractional order proportional derivative controller tuner <|file_sep|>current/README.md # FOPD-tunner Fractional order proportional derivative controller tuner <|file_sep|>updated/README.md # FOPD-tunner Fractional order proportional derivative controller tuner # 1. License...
fc160b507c3565d1dc03a84b32dfd1dc5dd8a809
README.md
README.md
Markdown
<|file_sep|>kaptan/__about__.py.diff original: __version__ = '0.5.10' updated: __version__ = '0.5.11' <|file_sep|>original/kaptan/__about__.py __title__ = 'kaptan' __package_name__ = 'kaptan' __version__ = '0.5.10' __description__ = 'Configuration manager' __email__ = 'mail@emreyilmaz.me' __url__ = 'https://github.com/...
__title__ = 'kaptan' __package_name__ = 'kaptan' __version__ = '0.5.11' __description__ = 'Configuration manager' __email__ = 'mail@emreyilmaz.me' __url__ = 'https://github.com/emre/kaptan' __author__ = 'Emre Yilmaz' __license__ = 'BSD' __copyright__ = 'Copyright 2013-2018 Emre Yilmaz'
<|file_sep|>kaptan/__about__.py.diff original: __version__ = '0.5.10' updated: __version__ = '0.5.11' <|file_sep|>original/kaptan/__about__.py __title__ = 'kaptan' __package_name__ = 'kaptan' __version__ = '0.5.10' __description__ = 'Configuration manager' __email__ = 'mail@emreyilmaz.me' __url__ = 'https://github.com/...
6b5b99256dbc8b23a371130d33d0759f13adc37d
kaptan/__about__.py
kaptan/__about__.py
Python
<|file_sep|>original/app/views/layouts/_admin_header.html.erb <h1> <%= link_to namespaced_root_path do %> <%= setting['org_name'] %> <br><small><%= namespaced_header_title %></small> <% end %> </h1> </div> <div id="responsive_menu">...
<%= link_to namespaced_root_path do %> <%= setting['org_name'] %> <br><small><%= namespaced_header_title %></small> <% end %> </h1> </div> <div id="responsive_menu"> <div class="top-bar-right"> <ul class="menu" data-respons...
<|file_sep|>original/app/views/layouts/_admin_header.html.erb <h1> <%= link_to namespaced_root_path do %> <%= setting['org_name'] %> <br><small><%= namespaced_header_title %></small> <% end %> </h1> </div> <div id="responsive_menu">...
92c9ad4e1b698b05581c302471d3e9dd489fc7c4
app/views/layouts/_admin_header.html.erb
app/views/layouts/_admin_header.html.erb
HTML+ERB
<|file_sep|>source/documentation/documentation.html.md.diff original: <div class="span5 offset1"> {{#evp:youtube|Aq3ctFhBIhk|Installing oVirt on a single machine}} updated: <div class="span5 offset1" style="text-align: center"> <iframe width="250" src="//youtube.com/embed/Aq3ctFhBIhk" frameborder="0" allowfullscreen="t...
__NOTOC__ <div class="row"> <div class="span5 offset1" style="text-align: center"> <iframe width="250" src="//youtube.com/embed/Aq3ctFhBIhk" frameborder="0" allowfullscreen="true"> </iframe> Installing oVirt on a single machine </div> <div class="span5" style="text-align: center"> <iframe width="250" src="//youtube...
<|file_sep|>source/documentation/documentation.html.md.diff original: <div class="span5 offset1"> {{#evp:youtube|Aq3ctFhBIhk|Installing oVirt on a single machine}} updated: <div class="span5 offset1" style="text-align: center"> <iframe width="250" src="//youtube.com/embed/Aq3ctFhBIhk" frameborder="0" allowfullscreen="t...
8fe065fb13ea54186cc8251f505f089dccb09cc0
source/documentation/documentation.html.md
source/documentation/documentation.html.md
Markdown
<|file_sep|>original/lib/mime.js * Used by `serve.js` when streaming files from disk. * * @property contentTypes * @type object */ this.contentTypes = { "css": "text/css", "html": "text/html", "ico": "image/vnd.microsoft.icon", "jpeg": "image/jpeg", "jpg": "image/jpeg", "js": "application/javascript", ...
* Used by `serve.js` when streaming files from disk. * * @property contentTypes * @type object */ this.contentTypes = { "css": "text/css", "html": "text/html", "ico": "image/vnd.microsoft.icon", "jpeg": "image/jpeg", "jpg": "image/jpeg", "js": "application/javascript", "json": "application/json", "...
<|file_sep|>original/lib/mime.js * Used by `serve.js` when streaming files from disk. * * @property contentTypes * @type object */ this.contentTypes = { "css": "text/css", "html": "text/html", "ico": "image/vnd.microsoft.icon", "jpeg": "image/jpeg", "jpg": "image/jpeg", "js": "application/javascript", ...
980fc6cfc3702645eafd18dc46d9a399ca7fb3ad
lib/mime.js
lib/mime.js
JavaScript
<|file_sep|>spec/dummy/application.rb.diff original: module Actions class << self def index lambda do |env| [200, {'Content-Type' => 'text/html'}, ['Home']] end end def protected lambda do |env| [200, {'Content-Type' => 'text/html'}, ['Admin']] ...
provider :developer, name: 'admin' end routes.draw do get '/' => 'dummy#index' constraints SimpleAdminAuth::Authenticate do get '/protected/test' => 'dummy#protected' end end end class DummyController < ActionController::Base def index render text: 'Home' end def protected ...
<|file_sep|>spec/dummy/application.rb.diff original: module Actions class << self def index lambda do |env| [200, {'Content-Type' => 'text/html'}, ['Home']] end end def protected lambda do |env| [200, {'Content-Type' => 'text/html'}, ['Admin']] ...
19a56c965a5bbd3b53af5ddb3d60d09c499768f8
spec/dummy/application.rb
spec/dummy/application.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.8" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "0.10" - "0.8" <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - "0.10" - "0.12" - "iojs"
<|file_sep|>.travis.yml.diff original: updated: sudo: false <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.8" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "0.10" - "0.8" <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - "0.10" - ...
d3cf5d3eacd647af8d4e9a20045d2a9e37eb90b7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.pep8speaks.yml pycodestyle: max-line-length: 120 # Default is 79 in PEP8 ignore: - E741 # l and b are valid variable names for the galactic frame - E226 # Don't force "missing whitespace around arithmetic operator" - E402 # .conf has to be set in the __init__.py modules imports...
pycodestyle: max-line-length: 120 # Default is 79 in PEP8 ignore: - E741 # l and b are valid variable names for the galactic frame - E226 # Don't force "missing whitespace around arithmetic operator" - E402 # .conf has to be set in the __init__.py modules imports - W504 # we need to have line b...
<|file_sep|>original/.pep8speaks.yml pycodestyle: max-line-length: 120 # Default is 79 in PEP8 ignore: - E741 # l and b are valid variable names for the galactic frame - E226 # Don't force "missing whitespace around arithmetic operator" - E402 # .conf has to be set in the __init__.py modules imports...
e8b087c9f4e5aa88573e83e8fcdfacecafb1559f
.pep8speaks.yml
.pep8speaks.yml
YAML
<|file_sep|>original/docs/common_mistakes.md def initialize(*args) super my own stuff here end end # I am trying to use plugin options, but Ruby says it cannot find the `config` method A common mistake is to try and use plugin options on class level, for example to manipulate matches....
The following is not possible: class MyPlugin include Cinch::Plugin match(config[:pattern]) def execute(m) # ... end end # My handlers won't run, even though the Regexp matches. Cinch plugins have a default prefix (`/^!/`). This allows for flexible prefixes across the whole b...
<|file_sep|>original/docs/common_mistakes.md def initialize(*args) super my own stuff here end end # I am trying to use plugin options, but Ruby says it cannot find the `config` method A common mistake is to try and use plugin options on class level, for example to manipulate matches....
b5157d6f11dad57ffdc12e1db450f9e5a45e6077
docs/common_mistakes.md
docs/common_mistakes.md
Markdown
<|file_sep|>controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json.diff original: "jobs":[ updated: "jobs": [ <|file_sep|>controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json.diff original: "nam...
}, { "name": "DeploymentExpirer" }, { "name": "MetricsReporter" }, { "name": "VersionStatusUpdater" }, { "name": "DeploymentIssueReporter" }, { "name": "OutstandingChangeDeployer" } ], "inactive": [ "DeploymentExpirer" ] }
<|file_sep|>controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json.diff original: "jobs":[ updated: "jobs": [ <|file_sep|>controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json.diff original: "nam...
8a6860ad309f6a5e8131dc69b8272927cbc734cf
controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json
controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/controller/responses/maintenance.json
JSON
<|file_sep|>original/src/config/colors.js export default { primary: '#9E9E9E', primary1: '#4d86f7', primary2: '#6296f9', secondary: '#8F0CE8', secondary2: '#00B233', secondary3: '#00FF48', grey0: '#393e42', grey1: '#43484d', grey2: '#5e6977', grey3: '#86939e', grey4: '#bdc6cf', grey5: '#e1e8ee',...
export default { primary: '#9E9E9E', primary1: '#4d86f7', primary2: '#6296f9', secondary: '#8F0CE8', secondary2: '#00B233', secondary3: '#00FF48', grey0: '#393e42', grey1: '#43484d', grey2: '#5e6977', grey3: '#86939e', grey4: '#bdc6cf', grey5: '#e1e8ee', dkGreyBg: '#232323', greyOutline: '#c...
<|file_sep|>original/src/config/colors.js export default { primary: '#9E9E9E', primary1: '#4d86f7', primary2: '#6296f9', secondary: '#8F0CE8', secondary2: '#00B233', secondary3: '#00FF48', grey0: '#393e42', grey1: '#43484d', grey2: '#5e6977', grey3: '#86939e', grey4: '#bdc6cf', grey5: '#e1e8ee',...
d9b32ab691c097762b526c8f4c0cac6d154fd87c
src/config/colors.js
src/config/colors.js
JavaScript
<|file_sep|>original/bower.json { "name": "typi", "version": "1.1.0", "authors": [ "Zell Liew <zellwk@gmail.com>" ], "description": "Making responsive typography easy", "main": "scss/_typi.scss", "moduleType": [], "keywords": [ "responsive", "typography", "type" ], "license": "MIT", ...
{ "name": "typi", "version": "2.0.0", "authors": [ "Zell Liew <zellwk@gmail.com>" ], "description": "Making responsive typography easy", "main": "scss/_typi.scss", "moduleType": [], "keywords": [ "responsive", "typography", "type" ], "license": "MIT", "homepage": "", "ignore": [ ...
<|file_sep|>original/bower.json { "name": "typi", "version": "1.1.0", "authors": [ "Zell Liew <zellwk@gmail.com>" ], "description": "Making responsive typography easy", "main": "scss/_typi.scss", "moduleType": [], "keywords": [ "responsive", "typography", "type" ], "license": "MIT", ...
44d6e177886054ed5428fd90ce5f122c5ae4be71
bower.json
bower.json
JSON
<|file_sep|>original/money.gemspec s.platform = Gem::Platform::RUBY s.authors = ["Shopify Inc"] s.email = "gems@shopify.com" s.description = "Manage money in Shopify with a class that wont lose pennies during division!" s.homepage = "https://github.com/Shopify/money" s.licenses = "MIT" s.summary = "Shopif...
s.platform = Gem::Platform::RUBY s.authors = ["Shopify Inc"] s.email = "gems@shopify.com" s.description = "Manage money in Shopify with a class that wont lose pennies during division!" s.homepage = "https://github.com/Shopify/money" s.licenses = "MIT" s.summary = "Shopify's money gem" s.add_development...
<|file_sep|>original/money.gemspec s.platform = Gem::Platform::RUBY s.authors = ["Shopify Inc"] s.email = "gems@shopify.com" s.description = "Manage money in Shopify with a class that wont lose pennies during division!" s.homepage = "https://github.com/Shopify/money" s.licenses = "MIT" s.summary = "Shopif...
d76d7516447909bf3a09ba2290579a9c82c54356
money.gemspec
money.gemspec
Ruby
<|file_sep|>original/partner_compassion/data/partner_action_rules.xml <odoo> <data noupdate="1"> <!-- Rule for notifying responsible of event registration --> <record id="partner_notify_criminal_record_expiration" model="base.automation"> <field name="name">Partner: Notify criminal recor...
<odoo> <data noupdate="1"> <!-- Rule for notifying responsible of event registration --> <record id="partner_notify_criminal_record_expiration" model="base.automation"> <field name="name">Partner: Notify criminal record expiration</field> <field name="model_id" ref="model_res...
<|file_sep|>original/partner_compassion/data/partner_action_rules.xml <odoo> <data noupdate="1"> <!-- Rule for notifying responsible of event registration --> <record id="partner_notify_criminal_record_expiration" model="base.automation"> <field name="name">Partner: Notify criminal recor...
25805e041ef514bf48d578703ff56ddcb436e043
partner_compassion/data/partner_action_rules.xml
partner_compassion/data/partner_action_rules.xml
XML
<|file_sep|>original/lib/native/Cargo.toml version = "0.8.0" authors = ["The Cretonne Project Developers"] description = "Support for targeting the host with Cretonne" repository = "https://github.com/cretonne/cretonne" license = "Apache-2.0" readme = "README.md" [dependencies] cretonne-codegen = { path = "../codegen"...
repository = "https://github.com/cretonne/cretonne" license = "Apache-2.0" readme = "README.md" [dependencies] cretonne-codegen = { path = "../codegen", version = "0.8.0", default-features = false } [target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies] raw-cpuid = "3.1.0" [features] default =...
<|file_sep|>original/lib/native/Cargo.toml version = "0.8.0" authors = ["The Cretonne Project Developers"] description = "Support for targeting the host with Cretonne" repository = "https://github.com/cretonne/cretonne" license = "Apache-2.0" readme = "README.md" [dependencies] cretonne-codegen = { path = "../codegen"...
eaa70584a37fef3e778784a81657114746cd5166
lib/native/Cargo.toml
lib/native/Cargo.toml
TOML
<|file_sep|>original/definitions.mk SELF_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))) COMMON_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/common/src/main -name *.scala) RUNNER_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/runner/src/main -name *.scala) GRADER_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/grader...
SELF_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))) COMMON_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/common/src/main -name *.scala) RUNNER_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/runner/src/main -name *.scala) GRADER_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/grader/src/main -name *.scala) BACKEND_SOU...
<|file_sep|>original/definitions.mk SELF_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))) COMMON_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/common/src/main -name *.scala) RUNNER_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/runner/src/main -name *.scala) GRADER_SOURCES := $(shell /usr/bin/find $(SELF_DIR)/grader...
9e9a73b2106ba7d73e8ab53870bb3056fd00ca03
definitions.mk
definitions.mk
Makefile
<|file_sep|>original/requirements/doc.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 sphinx-argparse==0.2.0 <|file_sep|>current/requirements/doc.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 sphinx-argparse==0.2.0 <|file_sep|>updated/requirements/doc.txt
sphinx==1.6.1 alabaster==0.7.10 releases==1.3.0 sphinx-argparse==0.2.0
<|file_sep|>original/requirements/doc.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 sphinx-argparse==0.2.0 <|file_sep|>current/requirements/doc.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 sphinx-argparse==0.2.0 <|file_sep|>updated/requirements/doc.txt sphinx==1.6.1 alabaster==0.7.10 releases==1.3.0 sphinx...
ac039f816b4b97ccc28604b9384f268e4495339d
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>native-whitelist.json.diff original: updated: "evancz/elm-http", <|file_sep|>native-whitelist.json.diff original: updated: "evancz/task-tutorial", <|file_sep|>original/native-whitelist.json [ "elm-lang/core", "evancz/elm-markdown", "evancz/virtual-dom", "joefiorini/elm-mousetrap", ...
[ "elm-lang/core", "evancz/elm-http", "evancz/elm-markdown", "evancz/task-tutorial", "evancz/virtual-dom", "joefiorini/elm-mousetrap", "johnpmayer/elm-webgl", "johnpmayer/elm-linear-algebra", "jwmerrill/elm-animation-frame", "maxsnew/lazy", "mgold/elm-socketio", "michaelb...
<|file_sep|>native-whitelist.json.diff original: updated: "evancz/elm-http", <|file_sep|>native-whitelist.json.diff original: updated: "evancz/task-tutorial", <|file_sep|>original/native-whitelist.json [ "elm-lang/core", "evancz/elm-markdown", "evancz/virtual-dom", "joefiorini/elm-mousetrap", ...
dbf1e9abd1ee2b02b78f961e3c9b930345b2f164
native-whitelist.json
native-whitelist.json
JSON
<|file_sep|>original/Gruntfile.js bower: 'grunt-bower-task' }); /** * Default grunt task. * Compiles all .scss/.sass files with ':dev' options and * validates all js-files inside Resources/Private/Javascripts with JSHint. */ grunt.registerTask("default", function() { grunt.task.run(["css", "jshint"]); ...
bower: 'grunt-bower-task' }); /** * Default grunt task. * Compiles all .scss/.sass files with ':dev' options and * validates all js-files inside Resources/Private/Javascripts with JSHint. */ grunt.registerTask("default", function() { grunt.task.run(["compile:css", "jshint"]); }); /** * Travis CI ...
<|file_sep|>original/Gruntfile.js bower: 'grunt-bower-task' }); /** * Default grunt task. * Compiles all .scss/.sass files with ':dev' options and * validates all js-files inside Resources/Private/Javascripts with JSHint. */ grunt.registerTask("default", function() { grunt.task.run(["css", "jshint"]); ...
334feec9c3474b62907e96d8c5e272b7b0227bd2
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>src/tests/compiler/literal/regularExpressionLiteralTests.ts.diff original: doTest("const t = /testing/gi", "testing", "gi"); updated: doTest("const t = /testing/gi;", "testing", "gi"); <|file_sep|>original/src/tests/compiler/literal/regularExpressionLiteralTests.ts return { ...ob...
return { ...obj, initializer }; } describe(nameof(RegularExpressionLiteral), () => { describe(nameof<RegularExpressionLiteral>(n => n.getLiteralValue), () => { function doTest(text: string, pattern: string, flags: string) { const {initializer} = getInfoFromTextWithInitializer(text); ...
<|file_sep|>src/tests/compiler/literal/regularExpressionLiteralTests.ts.diff original: doTest("const t = /testing/gi", "testing", "gi"); updated: doTest("const t = /testing/gi;", "testing", "gi"); <|file_sep|>original/src/tests/compiler/literal/regularExpressionLiteralTests.ts return { ...ob...
9ce86e4d0c16dda7b4db1d6e81cf4f5dc863341d
src/tests/compiler/literal/regularExpressionLiteralTests.ts
src/tests/compiler/literal/regularExpressionLiteralTests.ts
TypeScript
<|file_sep|>original/app/app.rb set :mustache, { :namespace => Object, :views => "#{dir}/views", :templates => "#{dir}/templates" } get '/' do mustache :index end get '/:gem' do @gem = params[:gem] mustache :gem_info end post '/push' do if rep...
set :mustache, { :namespace => Object, :views => "#{dir}/views", :templates => "#{dir}/templates" } get '/' do mustache :index end get '/gems/:gem' do @gem = params[:gem] mustache :gem_info end post '/push' do if repo = Repository.from_payload...
<|file_sep|>original/app/app.rb set :mustache, { :namespace => Object, :views => "#{dir}/views", :templates => "#{dir}/templates" } get '/' do mustache :index end get '/:gem' do @gem = params[:gem] mustache :gem_info end post '/push' do if rep...
3f33579bb5e63ae9712f4d01558a8fdabf778c8f
app/app.rb
app/app.rb
Ruby
<|file_sep|>original/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java <|file_sep|>current/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java <|file_sep|>updated/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java
package to.etc.domui.hibernate.idgen; import org.hibernate.HibernateException; import org.hibernate.engine.SessionImplementor; import org.hibernate.id.IdentifierGenerator; import to.etc.util.StringTool; import java.io.Serializable; import java.util.UUID; /** * Create a String identifier that is based on an UUID, bu...
<|file_sep|>original/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java <|file_sep|>current/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java <|file_sep|>updated/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java pa...
d3a943c4a7c65cfff3ed2ce63472052b271bf4c5
to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java
to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/idgen/UUIDGenerator23.java
Java
<|file_sep|>original/src/checkstyle/checkstyle-suppressions.xml <?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.0//EN" "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor licens...
<?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.0//EN" "https://checkstyle.org/dtds/suppressions_1_0.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work fo...
<|file_sep|>original/src/checkstyle/checkstyle-suppressions.xml <?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.0//EN" "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor licens...
db31503cdaecab046b0e2c0a3cbcbc3aca6b4bfd
src/checkstyle/checkstyle-suppressions.xml
src/checkstyle/checkstyle-suppressions.xml
XML
<|file_sep|>original/src/Backend/Core/Layout/Templates/macros.html.twig {% macro required() %} <abbr tabindex="0" data-toggle="tooltip" aria-label="{{ 'lbl.RequiredField'|trans|ucfirst }}" title="{{ 'lbl.RequiredField'|trans|ucfirst }}">*</abbr> {% endmacro %} {% macro icon(icon) %} <span class="fa fa-{{ icon }}"...
{% macro required() %} <abbr tabindex="0" data-toggle="tooltip" aria-label="{{ 'lbl.RequiredField'|trans|ucfirst }}" title="{{ 'lbl.RequiredField'|trans|ucfirst }}">*</abbr> {% endmacro %} {% macro icon(icon) %} <span class="fa fa-{{ icon }}" aria-hidden="true"></span> {% endmacro %} {% macro infoTooltip(title) ...
<|file_sep|>original/src/Backend/Core/Layout/Templates/macros.html.twig {% macro required() %} <abbr tabindex="0" data-toggle="tooltip" aria-label="{{ 'lbl.RequiredField'|trans|ucfirst }}" title="{{ 'lbl.RequiredField'|trans|ucfirst }}">*</abbr> {% endmacro %} {% macro icon(icon) %} <span class="fa fa-{{ icon }}"...
b7a09445b447ac8b927c0c1693524d75d463daf1
src/Backend/Core/Layout/Templates/macros.html.twig
src/Backend/Core/Layout/Templates/macros.html.twig
Twig
<|file_sep|>qtcreator/cutelyst/classes/controller.h.diff original: bool Begin(Context *c) override; updated: bool Begin(Context *c); <|file_sep|>qtcreator/cutelyst/classes/controller.h.diff original: bool Auto(Context *c) override; updated: bool Auto(Context *c); <|file_sep|>original/qtcreator/cutelyst/...
explicit %{CN}(QObject *parent = 0); C_ATTR(index, :Path) void index(Context *c); private Q_SLOTS: @if %{BeginMethod} bool Begin(Context *c); @endif @if %{AutoMethod} bool Auto(Context *c); @endif @if %{EndMethod} bool End(Context *c); @endif }; %{JS: Cpp.closeNamespaces('%{Class}')} #e...
<|file_sep|>qtcreator/cutelyst/classes/controller.h.diff original: bool Begin(Context *c) override; updated: bool Begin(Context *c); <|file_sep|>qtcreator/cutelyst/classes/controller.h.diff original: bool Auto(Context *c) override; updated: bool Auto(Context *c); <|file_sep|>original/qtcreator/cutelyst/...
dadb6d44743b45f60dc95d833b22f3de1e6dbd7d
qtcreator/cutelyst/classes/controller.h
qtcreator/cutelyst/classes/controller.h
C
<|file_sep|>.travis.yml.diff original: - xcode_scheme: Tentacle-OSX updated: - osx_image: xcode8.3 xcode_scheme: Tentacle-OSX <|file_sep|>.travis.yml.diff original: - xcode_scheme: Tentacle-iOS updated: - osx_image: xcode8.3 xcode_scheme: Tentacle-iOS <|file_sep|>.travis.yml.diff original: ...
include: - osx_image: xcode8.3 xcode_scheme: Tentacle-OSX env: XCODE_ACTION="build-for-testing test-without-building" - osx_image: xcode8.3 xcode_scheme: Tentacle-iOS env: XCODE_ACTION="build-for-testing test-without-building" - osx_image: xcode8.3 xcode_scheme: update-test-f...
<|file_sep|>.travis.yml.diff original: - xcode_scheme: Tentacle-OSX updated: - osx_image: xcode8.3 xcode_scheme: Tentacle-OSX <|file_sep|>.travis.yml.diff original: - xcode_scheme: Tentacle-iOS updated: - osx_image: xcode8.3 xcode_scheme: Tentacle-iOS <|file_sep|>.travis.yml.diff original: ...
d3ccafdb5ac8e16cb3461c230a6c4868d3b33574
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Twig/BaseUrlFunction.php.diff original: if (is_array($assetPath) || ($assetPath instanceof \ArrayAccess)) { $assetPath = (isset($assetPath['permalink'])) ? $assetPath['permalink'] : '/'; } else if (is_null($assetPath)) { $assetPath = '/'; ...
return ($baseURL . $url); } public static function get () { return new \Twig_SimpleFunction('url', new self(), array( 'needs_environment' => true )); } private function guessAssetPath ($assetPath) { if (is_array($assetPath) || ($assetPath instanceof...
<|file_sep|>src/Twig/BaseUrlFunction.php.diff original: if (is_array($assetPath) || ($assetPath instanceof \ArrayAccess)) { $assetPath = (isset($assetPath['permalink'])) ? $assetPath['permalink'] : '/'; } else if (is_null($assetPath)) { $assetPath = '/'; ...
ca34517f4dbfdd5b5d97bdfc5d5644a300432ab4
src/Twig/BaseUrlFunction.php
src/Twig/BaseUrlFunction.php
PHP
<|file_sep|>osu.Framework/Allocation/AsyncDisposalQueue.cs.diff original: updated: using osu.Framework.Statistics; <|file_sep|>osu.Framework/Allocation/AsyncDisposalQueue.cs.diff original: updated: private static readonly GlobalStatistic<string> last_disposal = GlobalStatistics.Get<string>("Drawable", "Last d...
disposal_queue.Enqueue(disposable); if (runTask?.Status < TaskStatus.Running) return; runTask = Task.Run(() => { lock (disposal_queue) { while (disposal_queue.Count > 0) { ...
<|file_sep|>osu.Framework/Allocation/AsyncDisposalQueue.cs.diff original: updated: using osu.Framework.Statistics; <|file_sep|>osu.Framework/Allocation/AsyncDisposalQueue.cs.diff original: updated: private static readonly GlobalStatistic<string> last_disposal = GlobalStatistics.Get<string>("Drawable", "Last d...
6377e565fb206c5d2a524d17a8940f880bebc143
osu.Framework/Allocation/AsyncDisposalQueue.cs
osu.Framework/Allocation/AsyncDisposalQueue.cs
C#
<|file_sep|>.travis.yml.diff original: - 2.6.2 updated: - 2.6.3 <|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false rvm: - 2.6.2 - 2.5.5 - 2.4.5 - ruby-head - jruby-9.2.5.0 before_install: - gem update --system - gem install bundler --no-document before_script: - curl -L https...
language: ruby cache: bundler sudo: false rvm: - 2.6.3 - 2.5.5 - 2.4.6 - ruby-head - jruby-9.2.5.0 before_install: - gem update --system - gem install bundler --no-document before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - ...
<|file_sep|>.travis.yml.diff original: - 2.6.2 updated: - 2.6.3 <|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false rvm: - 2.6.2 - 2.5.5 - 2.4.5 - ruby-head - jruby-9.2.5.0 before_install: - gem update --system - gem install bundler --no-document before_script: - curl -L https...
3bdbce7dc993062d44e100c1baa355678ba555db
.travis.yml
.travis.yml
YAML
<|file_sep|>original/cmake/os/AIX.cmake # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #Enable 64 bit file offsets SET(_LARGE_FILES 1) # Fix xlC oddity - it complains about same inline function defined multiple times # in di...
# along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #Enable 64 bit file offsets SET(_LARGE_FILES 1) # Fix xlC oddity - it complains about same inline function defined multiple times # in different compilation units INCLUDE(Chec...
<|file_sep|>original/cmake/os/AIX.cmake # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #Enable 64 bit file offsets SET(_LARGE_FILES 1) # Fix xlC oddity - it complains about same inline function defined multiple times # in di...
4c626c0588545a985f67867345a1996e4925867f
cmake/os/AIX.cmake
cmake/os/AIX.cmake
CMake
<|file_sep|>original/src/components/Moment.vue <template> <span class="live-relative-timestamp" :data-timestamp="timestamp" :title="title">{{ formatted }}</span> </template> <script> import { getLocale } from 'nextcloud-server/dist/l10n' import moment from 'moment'; if (typeof OC !== 'undefined') { mome...
<template> <span class="live-relative-timestamp" :data-timestamp="timestamp * 1000" :title="title">{{ formatted }}</span> </template> <script> import { getLocale } from 'nextcloud-server/dist/l10n' import moment from 'moment'; if (typeof OC !== 'undefined') { moment.locale(getLocale()); } export defa...
<|file_sep|>original/src/components/Moment.vue <template> <span class="live-relative-timestamp" :data-timestamp="timestamp" :title="title">{{ formatted }}</span> </template> <script> import { getLocale } from 'nextcloud-server/dist/l10n' import moment from 'moment'; if (typeof OC !== 'undefined') { mome...
226e802d5d8f3a8fe337b4de10f5d1e8230e91bf
src/components/Moment.vue
src/components/Moment.vue
Vue
<|file_sep|>original/README.md zarth.us ========== [![Build Status](https://travis-ci.org/Zarthus/zarth.us.svg)](https://travis-ci.org/Zarthus/zarth.us) ## What is this? This is zarth.us, a website I made by and for myself. I wanted to focus on documenting my code properly, and generally try out all kinds of open s...
zarth.us ========== ## What is this? This is zarth.us, a website I made by and for myself. I wanted to focus on documenting my code properly, and generally try out all kinds of open source utilities more popular projects have. ## Cool, what can I do with it? Honestly, as it was so strongly designed for myself, I as...
<|file_sep|>original/README.md zarth.us ========== [![Build Status](https://travis-ci.org/Zarthus/zarth.us.svg)](https://travis-ci.org/Zarthus/zarth.us) ## What is this? This is zarth.us, a website I made by and for myself. I wanted to focus on documenting my code properly, and generally try out all kinds of open s...
07a1d8f0ad921c2e5c97f9043c6621f945e331c3
README.md
README.md
Markdown
<|file_sep|>test/SpecRunner.html.diff original: <!-- <script type="text/javascript" src="javascripts/plain-old-js-objects.js"></script> --> updated: <|file_sep|>original/test/SpecRunner.html <link rel="stylesheet" type="text/css" href="../javascripts/vendor/jasmine-2.0.0/jasmine.css"> <!-- fir...
<link rel="shortcut icon" type="image/png" href="../javascripts/vendor/jasmine-2.0.0/jasmine_favicon.png"> <link rel="stylesheet" type="text/css" href="../javascripts/vendor/jasmine-2.0.0/jasmine.css"> <!-- first, include jasmine library --> <script type="text/javascript" src="../javasc...
<|file_sep|>test/SpecRunner.html.diff original: <!-- <script type="text/javascript" src="javascripts/plain-old-js-objects.js"></script> --> updated: <|file_sep|>original/test/SpecRunner.html <link rel="stylesheet" type="text/css" href="../javascripts/vendor/jasmine-2.0.0/jasmine.css"> <!-- fir...
73741e6cf3d98178d5be7eb32f56e809bdb809f9
test/SpecRunner.html
test/SpecRunner.html
HTML
<|file_sep|>original/config/initializers/will_paginate.rb # config/initializers/will_paginate.rb # # This extension code was written by Isaac Bowen, originally found # at http://isaacbowen.com/blog/using-will_paginate-action_view-and-bootstrap/ module WillPaginate module ActionView def will_paginate(collection ...
# config/initializers/will_paginate.rb # # This extension code was written by Isaac Bowen, originally found # at http://isaacbowen.com/blog/using-will_paginate-action_view-and-bootstrap/ require 'will_paginate/view_helpers/action_view' module WillPaginate module ActionView def will_paginate(collection = nil, o...
<|file_sep|>original/config/initializers/will_paginate.rb # config/initializers/will_paginate.rb # # This extension code was written by Isaac Bowen, originally found # at http://isaacbowen.com/blog/using-will_paginate-action_view-and-bootstrap/ module WillPaginate module ActionView def will_paginate(collection ...
da548d874e0314b0ac1c0d033158c61902de92dd
config/initializers/will_paginate.rb
config/initializers/will_paginate.rb
Ruby
<|file_sep|>original/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt
molecule==2.5.0 pytest==3.3.0 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1
<|file_sep|>original/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt molecule==2.5.0 pytest==3.3.0 python-vagrant...
4192562a20c408e7876be7866f667d4d8ea8dcc6
requirements.txt
requirements.txt
Text
<|file_sep|>wercker.yml.diff original: # A custom script step, name value is used in the UI # and the code value contains the command that get executed updated: <|file_sep|>original/wercker.yml box: blisteringherb/scholarship@0.0.6 build: # The steps that will be executed on build steps: # A ...
box: blisteringherb/scholarship@0.0.6 build: # The steps that will be executed on build steps: - leipert/composer-install@0.0.1 - wercker/npm-install@0.9.3 - plasticine/bower-install@0.0.4 - wercker/bundle-install@1.1.1 - script: name: build assets code: gulp bu...
<|file_sep|>wercker.yml.diff original: # A custom script step, name value is used in the UI # and the code value contains the command that get executed updated: <|file_sep|>original/wercker.yml box: blisteringherb/scholarship@0.0.6 build: # The steps that will be executed on build steps: # A ...
aef1e0c09d8d41506ad869b65b9f6314c7c38466
wercker.yml
wercker.yml
YAML
<|file_sep|>packages/dcos-integration-test/extra/test_sysctl.py.diff original: test_command = ('test "$(/usr/sbin/sysctl vm.swappiness)" = ' updated: test_command = ('test "$(/sbin/sysctl vm.swappiness)" = ' <|file_sep|>original/packages/dcos-integration-test/extra/test_sysctl.py def test_if_default_systctls_ar...
def test_if_default_systctls_are_set(dcos_api_session): """This test verifies that default sysctls are set for tasks. We use a `mesos-execute` to check for the values to make sure any task from any framework would be affected by default. The job then examines the default sysctls, and returns a failure ...
<|file_sep|>packages/dcos-integration-test/extra/test_sysctl.py.diff original: test_command = ('test "$(/usr/sbin/sysctl vm.swappiness)" = ' updated: test_command = ('test "$(/sbin/sysctl vm.swappiness)" = ' <|file_sep|>original/packages/dcos-integration-test/extra/test_sysctl.py def test_if_default_systctls_ar...
f76c1adc3081877d28a656e54eb32c1dcfc2cdb2
packages/dcos-integration-test/extra/test_sysctl.py
packages/dcos-integration-test/extra/test_sysctl.py
Python
<|file_sep|>original/frontend-plugin-core/src/test/java/com/github/eirslett/maven/plugins/frontend/lib/UtilsTest.java <|file_sep|>current/frontend-plugin-core/src/test/java/com/github/eirslett/maven/plugins/frontend/lib/UtilsTest.java <|file_sep|>updated/frontend-plugin-core/src/test/java/com/github/eirslett/maven/pl...
package com.github.eirslett.maven.plugins.frontend.lib; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class UtilsTest { @...
<|file_sep|>original/frontend-plugin-core/src/test/java/com/github/eirslett/maven/plugins/frontend/lib/UtilsTest.java <|file_sep|>current/frontend-plugin-core/src/test/java/com/github/eirslett/maven/plugins/frontend/lib/UtilsTest.java <|file_sep|>updated/frontend-plugin-core/src/test/java/com/github/eirslett/maven/pl...
532b36645d5f6f77a92963ec259d53259512b62a
frontend-plugin-core/src/test/java/com/github/eirslett/maven/plugins/frontend/lib/UtilsTest.java
frontend-plugin-core/src/test/java/com/github/eirslett/maven/plugins/frontend/lib/UtilsTest.java
Java
<|file_sep|>original/racecar/TextConverter/pattern_solution/src/main/java/de/itemis/mosig/racecar/textconv/TextFileReader.java private final Path filePath; public TextFileReader(Path filePath) { this.filePath = filePath; } public String contents() { String result = null; t...
private final Path filePath; public TextFileReader(Path filePath) { this.filePath = filePath; } public String contents() { String result = null; try { result = new String(Files.readAllBytes(filePath), StandardCharsets.UTF_8); } catch (IOExceptio...
<|file_sep|>original/racecar/TextConverter/pattern_solution/src/main/java/de/itemis/mosig/racecar/textconv/TextFileReader.java private final Path filePath; public TextFileReader(Path filePath) { this.filePath = filePath; } public String contents() { String result = null; t...
18b163bff24d5fcea5517d124b2def6459c2e1b9
racecar/TextConverter/pattern_solution/src/main/java/de/itemis/mosig/racecar/textconv/TextFileReader.java
racecar/TextConverter/pattern_solution/src/main/java/de/itemis/mosig/racecar/textconv/TextFileReader.java
Java
<|file_sep|>popcorn.cmd.diff original: if /i "%~1" == "-?" goto help if /i "%~1" == "-h" goto help if /i "%~1" == "--help" goto help updated: if /i %1 == "-?" goto help if /i %1 == "-h" goto help if /i %1 == "--help" goto help <|file_sep|>popcorn.cmd.diff original: if /i "%~1" == "-t" ( updated: if /i %1 == "-t" ( <|fi...
if /i %1 == "--times" ( set "times=%~2" shift ) if /i %1 == "-o" ( set "output=%~2" shift ) if /i %1 == "--output" ( set "output=%~2" shift ) shift goto parseArgs :curl @powershell -NoProfile "iwr %~1 -OutFile %~2" 2> nul
<|file_sep|>popcorn.cmd.diff original: if /i "%~1" == "-?" goto help if /i "%~1" == "-h" goto help if /i "%~1" == "--help" goto help updated: if /i %1 == "-?" goto help if /i %1 == "-h" goto help if /i %1 == "--help" goto help <|file_sep|>popcorn.cmd.diff original: if /i "%~1" == "-t" ( updated: if /i %1 == "-t" ( <|fi...
183b1da86ea185455a33914a2ce36b798a6e4a88
popcorn.cmd
popcorn.cmd
Batchfile
<|file_sep|>original/third_party/gopt/CMakeLists.txt add_library(gopt STATIC gopt.c) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${core_cflags}") <|file_sep|>current/third_party/gopt/CMakeLists.txt add_library(gopt STATIC gopt.c) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${core_cflags}") <|file_sep|>updated/third_party/gopt/CMakeL...
add_library(gopt STATIC gopt.c) set_target_properties(gopt PROPERTIES COMPILE_FLAGS "${core_cflags}")
<|file_sep|>original/third_party/gopt/CMakeLists.txt add_library(gopt STATIC gopt.c) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${core_cflags}") <|file_sep|>current/third_party/gopt/CMakeLists.txt add_library(gopt STATIC gopt.c) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${core_cflags}") <|file_sep|>updated/third_party/gopt/CMakeL...
65b7faf751a60d2869f4c91fc8c1f098125c5b4a
third_party/gopt/CMakeLists.txt
third_party/gopt/CMakeLists.txt
Text
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: <|file_sep|>original/README.md TODO: Write a gem description First basic version will have an interface where the user will provide the expected extension by giving the mime type. The signatures are fetched based on this mime type by fetchi...
First basic version will have an interface where the user will provide the expected extension by giving the mime type. The signatures are fetched based on this mime type by fetching the entire list of extensions and figuring out the starting and trailing bytes. Later versions may contain absolute checking based on th...
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: <|file_sep|>original/README.md TODO: Write a gem description First basic version will have an interface where the user will provide the expected extension by giving the mime type. The signatures are fetched based on this mime type by fetchi...
d5717def9ca8abc0b916b8c7ab51979b56c5b1ce
README.md
README.md
Markdown
<|file_sep|>original/tasks/lib/sigint-hook.js var sigintHooked = false; module.exports = function sigintHook( fn ) { if ( sigintHooked ) { return; } sigintHooked = true; // ctrl+c should stop this task and quit grunt gracefully // (process.on("SIGINT", fn) doesn't behave correctly on Windows): var rl = require...
var sigintHooked = false; module.exports = function sigintHook( fn ) { if ( sigintHooked ) { return; } sigintHooked = true; // ctrl+c should stop this task and quit grunt gracefully // (process.on("SIGINT", fn) doesn't behave correctly on Windows): var rl = require( "readline" ).createInterface( { input: pro...
<|file_sep|>original/tasks/lib/sigint-hook.js var sigintHooked = false; module.exports = function sigintHook( fn ) { if ( sigintHooked ) { return; } sigintHooked = true; // ctrl+c should stop this task and quit grunt gracefully // (process.on("SIGINT", fn) doesn't behave correctly on Windows): var rl = require...
b6988ddfadcc5636fcdfff772715cd5199954f04
tasks/lib/sigint-hook.js
tasks/lib/sigint-hook.js
JavaScript
<|file_sep|>app/mailers/comments_mailer.rb.diff original: # updated: # <|file_sep|>app/mailers/comments_mailer.rb.diff original: # updated: # <|file_sep|>app/mailers/comments_mailer.rb.diff original: # updated: # <|file_sep|>app/mailers/comments_mailer.rb.diff original: default :to => Settings.email.comments up...
# University. Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distrib...
<|file_sep|>app/mailers/comments_mailer.rb.diff original: # updated: # <|file_sep|>app/mailers/comments_mailer.rb.diff original: # updated: # <|file_sep|>app/mailers/comments_mailer.rb.diff original: # updated: # <|file_sep|>app/mailers/comments_mailer.rb.diff original: default :to => Settings.email.comments up...
ca76a969420eacca2ce61c73dffc09471ac3b363
app/mailers/comments_mailer.rb
app/mailers/comments_mailer.rb
Ruby
<|file_sep|>wagtail/admin/staticfiles.py.diff original: updated: from django.contrib.staticfiles.storage import HashedFilesMixin from django.core.files.storage import get_storage_class <|file_sep|>original/wagtail/admin/staticfiles.py import hashlib from django.conf import settings from django.templatetags.static imp...
import hashlib from django.conf import settings from django.contrib.staticfiles.storage import HashedFilesMixin from django.core.files.storage import get_storage_class from django.templatetags.static import static from wagtail import __version__ # Check whether we should add cache-busting '?v=...' parameters to sta...
<|file_sep|>wagtail/admin/staticfiles.py.diff original: updated: from django.contrib.staticfiles.storage import HashedFilesMixin from django.core.files.storage import get_storage_class <|file_sep|>original/wagtail/admin/staticfiles.py import hashlib from django.conf import settings from django.templatetags.static imp...
779620e53bd9c71e1c9e078ff46498d363dd392e
wagtail/admin/staticfiles.py
wagtail/admin/staticfiles.py
Python
<|file_sep|>original/README.md # LabelledSpinner A Spinner component with a floating label for Android, similar to EditText components wrapped in a TextInputLayout. It answers [this question on Stack Overflow](http://stackoverflow.com/questions/31625620/floating-label-spinner) ## Gradle (Android Studio) You can add th...
# LabelledSpinner A Spinner component with a floating label for Android, similar to EditText components wrapped in a TextInputLayout. It answers [this question on Stack Overflow](http://stackoverflow.com/questions/31625620/floating-label-spinner), and [another similar question](http://stackoverflow.com/questions/310019...
<|file_sep|>original/README.md # LabelledSpinner A Spinner component with a floating label for Android, similar to EditText components wrapped in a TextInputLayout. It answers [this question on Stack Overflow](http://stackoverflow.com/questions/31625620/floating-label-spinner) ## Gradle (Android Studio) You can add th...
559670dc531618ce1a35fc2697aac96a3cf5493b
README.md
README.md
Markdown
<|file_sep|>original/swarm-mode/scripts/docker-swarm-init.sh #!/bin/bash -x ip=$2 docker swarm init --listen-addr "$ip:2377" --advertise-addr "$ip:2377" echo "Warning: Do not insecure Docker port 2375 in production!" sudo systemctl stop docker sudo sed -i 's,-H fd://,-H tcp://0.0.0.0:2375 -H fd://,' /lib/systemd/syste...
#!/bin/bash -x ip=$2 docker swarm init --listen-addr "$ip:2377" --advertise-addr "$ip:2377" echo "Warning: Do not insecure Docker port 2375 in production!" sudo systemctl stop docker sudo sed -i 's,dockerd,dockerd -H tcp://0.0.0.0:2375,' /lib/systemd/system/docker.service sudo systemctl daemon-reload sudo systemctl st...
<|file_sep|>original/swarm-mode/scripts/docker-swarm-init.sh #!/bin/bash -x ip=$2 docker swarm init --listen-addr "$ip:2377" --advertise-addr "$ip:2377" echo "Warning: Do not insecure Docker port 2375 in production!" sudo systemctl stop docker sudo sed -i 's,-H fd://,-H tcp://0.0.0.0:2375 -H fd://,' /lib/systemd/syste...
0440fb639c0636be92338c25496220f2e874a432
swarm-mode/scripts/docker-swarm-init.sh
swarm-mode/scripts/docker-swarm-init.sh
Shell
<|file_sep|>original/luigi.cfg [core] logging_conf_file = logging.cfg [resources] toil = 5 <|file_sep|>current/luigi.cfg [core] logging_conf_file = logging.cfg [resources] toil = 5 <|file_sep|>updated/luigi.cfg
[core] logging_conf_file = logging.cfg [resources] toil = 5 [retcode] # The following return codes are the recommended exit codes for Luigi # They are in increasing level of severity (for most applications) already_running=10 missing_data=20 not_run=25 task_failed=30 scheduling_error=35 unhandled_exception=40
<|file_sep|>original/luigi.cfg [core] logging_conf_file = logging.cfg [resources] toil = 5 <|file_sep|>current/luigi.cfg [core] logging_conf_file = logging.cfg [resources] toil = 5 <|file_sep|>updated/luigi.cfg [core] logging_conf_file = logging.cfg [resources] toil = 5 [retcode] # The following return codes are th...
0cc86b033c61741bc2a27a606033e7e92678e214
luigi.cfg
luigi.cfg
INI
<|file_sep|>original/test/docker_install.sh #!/bin/bash # We need to install dependencies only for Docker [[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0 # Where am I? DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" set -xe # Replace test config with docker config file mv "$DIR/config-ci.json" "...
#!/bin/bash # We need to install dependencies only for Docker [[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0 # Where am I? DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" set -xe # Install sqlite3 apt-get update -yqq apt-get install sqlite3 libsqlite3-dev -yqq # Replace test config with docker...
<|file_sep|>original/test/docker_install.sh #!/bin/bash # We need to install dependencies only for Docker [[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0 # Where am I? DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" set -xe # Replace test config with docker config file mv "$DIR/config-ci.json" "...
a8d7daf02a93f271f19c8ee668da2bbada753d69
test/docker_install.sh
test/docker_install.sh
Shell
<|file_sep|>lib/extlib/string.rb.diff original: updated: # Overwrite this method to provide your own translations. def self.translate(value) translations[value] || value end def self.translations @translations ||= {} end <|file_sep|>original/lib/extlib/string.rb # SELECT name # FROM us...
lines = self.dup.split($/) min_margin = 0 lines.each do |line| if line =~ /^(\s+)/ && (min_margin == 0 || $1.size < min_margin) min_margin = $1.size end end lines.map { |line| line.sub(/^\s{#{min_margin}}/, '') }.join($/) end # Formats String for easy translation. Replaces a...
<|file_sep|>lib/extlib/string.rb.diff original: updated: # Overwrite this method to provide your own translations. def self.translate(value) translations[value] || value end def self.translations @translations ||= {} end <|file_sep|>original/lib/extlib/string.rb # SELECT name # FROM us...
7867646f7ad854cac9e6c50b7b4830fac619b23a
lib/extlib/string.rb
lib/extlib/string.rb
Ruby
<|file_sep|>original/Examples/basic/package.json { "name": "basic-react-image-accordion-demo", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "webpack" }, "author": "Zach Perrault <zach.perrault@gmail.com>", ...
{ "name": "basic-react-image-accordion-demo", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "webpack" }, "author": "Zach Perrault <zach.perrault@gmail.com>", "license": "MIT", "dependencies": { "babel...
<|file_sep|>original/Examples/basic/package.json { "name": "basic-react-image-accordion-demo", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "webpack" }, "author": "Zach Perrault <zach.perrault@gmail.com>", ...
7efc24579fb3e2fcce9ce9d0dbc0464fa14fc152
Examples/basic/package.json
Examples/basic/package.json
JSON
<|file_sep|>app/modules/video/templates/bookmarks-tablet.tpl.diff original: <div id="tabletVideos"> <div id="videos"> updated: <div id="tabletVideos" class="splitview"> <div id="videos" class="listcontainer"> <|file_sep|>original/app/modules/video/templates/bookmarks-tablet.tpl {extends file="findExtends:mo...
{extends file="findExtends:modules/video/templates/bookmarks.tpl"} {block name="bookmarkHeader"} <div id="videoHeader"></div> {/block} {block name="bookmarks"} <div id="tabletVideos" class="splitview"> <div id="videos" class="listcontainer"> {include file="findInclude:modules/$moduleID/templates/results...
<|file_sep|>app/modules/video/templates/bookmarks-tablet.tpl.diff original: <div id="tabletVideos"> <div id="videos"> updated: <div id="tabletVideos" class="splitview"> <div id="videos" class="listcontainer"> <|file_sep|>original/app/modules/video/templates/bookmarks-tablet.tpl {extends file="findExtends:mo...
fc273512cc2c37f4888d582cb595f9c6df71bd37
app/modules/video/templates/bookmarks-tablet.tpl
app/modules/video/templates/bookmarks-tablet.tpl
Smarty
<|file_sep|>lib/gutentag/active_record.rb.diff original: updated: UNIQUENESS_METHOD = ActiveRecord::VERSION::MAJOR == 3 ? :uniq : :distinct <|file_sep|>original/lib/gutentag/active_record.rb :through => :taggings after_save :persist_tags end def tagged_with(*tags) joins(:tags).where( ...
:dependent => :destroy has_many :tags, :class_name => 'Gutentag::Tag', :through => :taggings after_save :persist_tags end def tagged_with(*tags) joins(:tags).where( Gutentag::Tag.table_name => {:name => Gutentag::TagNames.call(tags)} ).public_send UNIQUENESS...
<|file_sep|>lib/gutentag/active_record.rb.diff original: updated: UNIQUENESS_METHOD = ActiveRecord::VERSION::MAJOR == 3 ? :uniq : :distinct <|file_sep|>original/lib/gutentag/active_record.rb :through => :taggings after_save :persist_tags end def tagged_with(*tags) joins(:tags).where( ...
19956ade5a34cc6415a70b048b6304927e849548
lib/gutentag/active_record.rb
lib/gutentag/active_record.rb
Ruby
<|file_sep|>regtests/util-locales-tests.ads.diff original: -- locales.tests -- Unit tests for Locales -- Copyright (C) 2009, 2010, 2011 Stephane Carrez updated: -- util-locales-tests -- Unit tests for Locales -- Copyright (C) 2009, 2010, 2011, 2022 Stephane Carrez <|file_sep|>original/regtests/util-locales-tests.ad...
-- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ------------------------------------------------------------------...
<|file_sep|>regtests/util-locales-tests.ads.diff original: -- locales.tests -- Unit tests for Locales -- Copyright (C) 2009, 2010, 2011 Stephane Carrez updated: -- util-locales-tests -- Unit tests for Locales -- Copyright (C) 2009, 2010, 2011, 2022 Stephane Carrez <|file_sep|>original/regtests/util-locales-tests.ad...
fdd736f163dc4171df927ab8958869fa3dd562a9
regtests/util-locales-tests.ads
regtests/util-locales-tests.ads
Ada
<|file_sep|>lib/react_layout.js.diff original: updated: ReactLayout._domLoaded = false; <|file_sep|>lib/react_layout.js.diff original: var renderdComp = React.render(el, rootNode); updated: this._ready(function() { React.render(el, rootNode); }); <|file_sep|>original/lib/react_layout.js ReactLayout._renderSe...
ReactLayout._renderClient = function(layoutClass, regions) { var rootNode = ReactLayout._getRootNode(); var el = React.createElement(layoutClass, regions); this._ready(function() { React.render(el, rootNode); }); }; ReactLayout._ready = function(cb) { var self = this; if(self._domLoaded) { cb(); ...
<|file_sep|>lib/react_layout.js.diff original: updated: ReactLayout._domLoaded = false; <|file_sep|>lib/react_layout.js.diff original: var renderdComp = React.render(el, rootNode); updated: this._ready(function() { React.render(el, rootNode); }); <|file_sep|>original/lib/react_layout.js ReactLayout._renderSe...
89213bcb2c8890a63c51c050f5437e63a1c18fa4
lib/react_layout.js
lib/react_layout.js
JavaScript
<|file_sep|>original/Properties/AssemblyInfo.cs using System.Reflection; [assembly: AssemblyTitle("Autofac.Tests.Configuration")] [assembly: AssemblyDescription("")] <|file_sep|>current/Properties/AssemblyInfo.cs using System.Reflection; [assembly: AssemblyTitle("Autofac.Tests.Configuration")] [assembly: AssemblyDe...
using System.Reflection; [assembly: AssemblyTitle("Autofac.Tests.Configuration")]
<|file_sep|>original/Properties/AssemblyInfo.cs using System.Reflection; [assembly: AssemblyTitle("Autofac.Tests.Configuration")] [assembly: AssemblyDescription("")] <|file_sep|>current/Properties/AssemblyInfo.cs using System.Reflection; [assembly: AssemblyTitle("Autofac.Tests.Configuration")] [assembly: AssemblyDe...
7a9fe3554d13c42c5e48b320c7c04cc7228c3d92
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
C#
<|file_sep|>demo-suite/demos/fractal/vm_files/startup.sh.diff original: curl -O https://go.googlecode.com/files/go1.1rc3.linux-amd64.tar.gz tar -C /usr/local -xzf go1.1rc3.linux-amd64.tar.gz updated: pushd /tmp curl -O https://go.googlecode.com/files/go1.1.linux-amd64.tar.gz tar -C /usr/local -xzf go1.1.linux...
curl -O https://go.googlecode.com/files/go1.1.linux-amd64.tar.gz tar -C /usr/local -xzf go1.1.linux-amd64.tar.gz touch $IMAGE_MARK popd fi export PATH=$PATH:/usr/local/go/bin GMV=/usr/share/google/get_metadata_value # Restart the server in the background if it fails. cd /tmp function runServer { while : d...
<|file_sep|>demo-suite/demos/fractal/vm_files/startup.sh.diff original: curl -O https://go.googlecode.com/files/go1.1rc3.linux-amd64.tar.gz tar -C /usr/local -xzf go1.1rc3.linux-amd64.tar.gz updated: pushd /tmp curl -O https://go.googlecode.com/files/go1.1.linux-amd64.tar.gz tar -C /usr/local -xzf go1.1.linux...
84896a28c43e54e1261a2e38dda502ab928c6cd2
demo-suite/demos/fractal/vm_files/startup.sh
demo-suite/demos/fractal/vm_files/startup.sh
Shell
<|file_sep|>packages/pr/predicate-transformers.yaml.diff original: hash: 9ce9d20c8b92f4bad9069218fe0599b3eb24b1fd1fe834af1018e4fdc88cba55 updated: hash: 6687c5d5ba704d27cd851361b0473486822ef21bb3a122fcfb6b7ac6a5ccd080 <|file_sep|>packages/pr/predicate-transformers.yaml.diff original: updated: deepseq: ^>=1.4.4.0 <|f...
* First version. Released on an unsuspecting world. basic-deps: base: ^>=4.11 || ^>=4.12 || ^>=4.13 adjunctions: ^>=4.2 || ^>=4.3 || ^>=4.4 lens: ^>=4.17 || ^>=4.18 mtl: ^>=2.2.2 deepseq: ^>=1.4.4.0 all-versions: - 0.1.0.0 - 0.2.0.0 - 0.3.0.0 - 0.4.0.0 - 0.5.0.0 - 0.6.0.0 - 0.7.0.0 author: Edmund Noble late...
<|file_sep|>packages/pr/predicate-transformers.yaml.diff original: hash: 9ce9d20c8b92f4bad9069218fe0599b3eb24b1fd1fe834af1018e4fdc88cba55 updated: hash: 6687c5d5ba704d27cd851361b0473486822ef21bb3a122fcfb6b7ac6a5ccd080 <|file_sep|>packages/pr/predicate-transformers.yaml.diff original: updated: deepseq: ^>=1.4.4.0 <|f...
1ba2d7669d572a1f43ea137cba8492fddd4f93f8
packages/pr/predicate-transformers.yaml
packages/pr/predicate-transformers.yaml
YAML
<|file_sep|>Library/Formula/p0f.rb.diff original: inreplace 'config.h', 'p0f.fp', "#{etc}/p0f/p0f.fp" updated: inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp" <|file_sep|>original/Library/Formula/p0f.rb homepage 'http://lcamtuf.coredump.cx/p0f3/' url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.07b.t...
homepage 'http://lcamtuf.coredump.cx/p0f3/' url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.07b.tgz' sha1 'ae2c4fbcddf2a5ced33abd81992405b93207e7c8' def install inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp" system './build.sh' sbin.install 'p0f' (etc + 'p0f').install 'p0f.fp' end ...
<|file_sep|>Library/Formula/p0f.rb.diff original: inreplace 'config.h', 'p0f.fp', "#{etc}/p0f/p0f.fp" updated: inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp" <|file_sep|>original/Library/Formula/p0f.rb homepage 'http://lcamtuf.coredump.cx/p0f3/' url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.07b.t...
19ee6039bfeeabf74edb136ba75d90dffa5f2991
Library/Formula/p0f.rb
Library/Formula/p0f.rb
Ruby
<|file_sep|>original/config/k8s/worker-deployment.yaml creationTimestamp: null labels: app: portability spec: volumes: - name: portability-service-account-key secret: secretName: portability-service-account-creds containers: - name: portability-worker ...
creationTimestamp: null labels: app: portability spec: volumes: - name: portability-service-account-key secret: secretName: portability-service-account-creds containers: - name: portability-worker image: IMAGE # Replaced by script imagePu...
<|file_sep|>original/config/k8s/worker-deployment.yaml creationTimestamp: null labels: app: portability spec: volumes: - name: portability-service-account-key secret: secretName: portability-service-account-creds containers: - name: portability-worker ...
b103be775e4ddeb776bd3f3bdc77ea3a20366ca5
config/k8s/worker-deployment.yaml
config/k8s/worker-deployment.yaml
YAML
<|file_sep|>original/.github/workflows/test.yml name: Test on: pull_request: types: [opened, synchronize, reopened] jobs: build: runs-on: ubuntu-latest strategy: matrix: node: ['12.x'] name: Test on node ${{ matrix.node }} steps: - uses: actions/checkout@v1 - name...
name: Unit Test on: pull_request: types: [opened, synchronize, reopened] jobs: build: runs-on: ubuntu-latest strategy: matrix: node: ['12.x'] name: Test on node ${{ matrix.node }} steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node }} us...
<|file_sep|>original/.github/workflows/test.yml name: Test on: pull_request: types: [opened, synchronize, reopened] jobs: build: runs-on: ubuntu-latest strategy: matrix: node: ['12.x'] name: Test on node ${{ matrix.node }} steps: - uses: actions/checkout@v1 - name...
60ad629ba89a72085a34caaa4bd465af8c66f645
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>ruby/triangle/triangle.rb.diff original: attr_reader :first_side, :second_side, :third_side, :sorted_lengths, :multiplied_lengths updated: attr_reader :sides <|file_sep|>ruby/triangle/triangle.rb.diff original: @sorted_lengths = side_lengths.sort @multiplied_lengths = sorted_lengths.map {|n| n *...
def invalid_lengths? return true if sides.include?(0) lengths = sides.uniq if lengths.size >= 2 lengths[0] * 2 < lengths[1] end end def scalene? has_scalene_ratio? end private def has_scalene_ratio? first_side, second_side, third_side = sides.sort (first_side % 4).zero...
<|file_sep|>ruby/triangle/triangle.rb.diff original: attr_reader :first_side, :second_side, :third_side, :sorted_lengths, :multiplied_lengths updated: attr_reader :sides <|file_sep|>ruby/triangle/triangle.rb.diff original: @sorted_lengths = side_lengths.sort @multiplied_lengths = sorted_lengths.map {|n| n *...
25dc8d82b893d9252f4209528c54bf8d0d8d4826
ruby/triangle/triangle.rb
ruby/triangle/triangle.rb
Ruby
<|file_sep|>original/README.md # .NET Core Build Tools [![Build status](http://corefx-ci.cloudapp.net/jenkins/job/BuildTools_Build/badge/icon)](http://corefx-ci.cloudapp.net/jenkins/job/BuildTools_Build/) This repository contains supporting build tools that are necessary for building the [.NET Core][dotnet-corefx] pr...
# .NET Core Build Tools [![Build status](http://corefx-ci.cloudapp.net/jenkins/job/dotnet_buildtools/badge/icon)](http://corefx-ci.cloudapp.net/jenkins/job/dotnet_buildtools/) This repository contains supporting build tools that are necessary for building the [.NET Core][dotnet-corefx] projects. These projects consum...
<|file_sep|>original/README.md # .NET Core Build Tools [![Build status](http://corefx-ci.cloudapp.net/jenkins/job/BuildTools_Build/badge/icon)](http://corefx-ci.cloudapp.net/jenkins/job/BuildTools_Build/) This repository contains supporting build tools that are necessary for building the [.NET Core][dotnet-corefx] pr...
e8b2d366479aebb617d926784776b4ea66c5eb55
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/nodejs.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x,14.x,15.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: ...
on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x,14.x,16.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - ...
<|file_sep|>original/.github/workflows/nodejs.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x,14.x,15.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: ...
e55c08c00eba4fffcc1331647ec1eab388845b4a
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>.travis.yml.diff original: - "0.10" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" - iojs <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - iojs <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.12" - iojs - "4.0" - "4.1" - stable
<|file_sep|>.travis.yml.diff original: - "0.10" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" - iojs <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - iojs <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.12" - iojs - "4.0" ...
ac3ebe77e8b3a7546fb129296b33a5e102c22f84
.travis.yml
.travis.yml
YAML
<|file_sep|>original/templates/mail/fgal_quota_exceeded.tpl {tr}File gallery quota exceeded{/tr} {if !empty($mail_fgal)}{tr}File gallery:{/tr} <a href="{$mail_machine_raw}/tiki-list_file_gallery.php?galleryId={$mail_fgal.galleryId}">{$mail_fgal.name|escape}</a> {tr}Quota:{/tr} ($mail_fgal.quota} {tr}Mb{/tr}{/if} {tr}Us...
{tr}File gallery quota exceeded{/tr} {if !empty($mail_fgal)}{tr}File gallery:{/tr} <a href="{$mail_machine}/{$mail_fgal.galleryId|sefurl:'file gallery'}">{$mail_fgal.name|escape}</a> {tr}Quota:{/tr} {$mail_fgal.quota} {tr}Mb{/tr} {/if} {tr}User:{/tr} {$user|escape} {tr}Size:{/tr} {$mail_diff|kbsize|replace:'&nbsp;':' '...
<|file_sep|>original/templates/mail/fgal_quota_exceeded.tpl {tr}File gallery quota exceeded{/tr} {if !empty($mail_fgal)}{tr}File gallery:{/tr} <a href="{$mail_machine_raw}/tiki-list_file_gallery.php?galleryId={$mail_fgal.galleryId}">{$mail_fgal.name|escape}</a> {tr}Quota:{/tr} ($mail_fgal.quota} {tr}Mb{/tr}{/if} {tr}Us...
30dd1d2cb211afa904181935d35bbd5a04fd3e63
templates/mail/fgal_quota_exceeded.tpl
templates/mail/fgal_quota_exceeded.tpl
Smarty
<|file_sep|>original/spec/spec_helper.rb add_group "Finalizer", "lib/data_mapper/finalizer" add_group "Mapper", "lib/data_mapper/mapper" add_group "Relation", "lib/data_mapper/relation" add_group "Relationship", "lib/data_mapper/relationship" add_group "Engine", "lib/data_mapper/e...
add_group "Finalizer", "lib/data_mapper/finalizer" add_group "Mapper", "lib/data_mapper/mapper" add_group "Relation", "lib/data_mapper/relation" add_group "Relationship", "lib/data_mapper/relationship" add_group "Engine", "lib/data_mapper/engine" end end require 'pp' require 'o...
<|file_sep|>original/spec/spec_helper.rb add_group "Finalizer", "lib/data_mapper/finalizer" add_group "Mapper", "lib/data_mapper/mapper" add_group "Relation", "lib/data_mapper/relation" add_group "Relationship", "lib/data_mapper/relationship" add_group "Engine", "lib/data_mapper/e...
132fff52902711b697aab0d9f5c350162f708630
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>.chalice/policy.json.diff original: "Version": "2012-10-17", updated: "Version": "2012-10-17", <|file_sep|>.chalice/policy.json.diff original: "s3:GetObject", "s3:DeleteObject", "s3:PutObject" updated: "s3:GetObject" <|file_sep|>.chalice/policy.json.diff original: ...
{ "Action": [ "s3:GetObject" ], "Resource": [ "*" ], "Effect": "Allow", "Sid": "44672fce0f634184a414e7d4e136310e" }, { "Action": [ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource"...
<|file_sep|>.chalice/policy.json.diff original: "Version": "2012-10-17", updated: "Version": "2012-10-17", <|file_sep|>.chalice/policy.json.diff original: "s3:GetObject", "s3:DeleteObject", "s3:PutObject" updated: "s3:GetObject" <|file_sep|>.chalice/policy.json.diff original: ...
fc164ddeb0304204d75b6b013f53d056cd5831d8
.chalice/policy.json
.chalice/policy.json
JSON
<|file_sep|>js/SudokuBoard.js.diff original: defaultSetup: [ [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, ...
var SudokuBoard = { create: function(initialState){ var rawValues = []; for(i = 0; i < 9; i++){ rawValues.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); } if(initialState != undefined){ var valueArray = initialState.split(""); for(row = 0; row < 9; row++){ for(col = 0; col < 9; col++){ ...
<|file_sep|>js/SudokuBoard.js.diff original: defaultSetup: [ [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, ...
ba2a6c6e83a36327c0b71b42a12872a1f6a032b4
js/SudokuBoard.js
js/SudokuBoard.js
JavaScript
<|file_sep|>original/app/assets/javascripts/pages/project_wizard.coffee Testributor.Pages ||= {} class Testributor.Pages.ProjectWizard show: ()-> $(".multi-select").select2() $fetchRepos = $('.js-fetch-repos') $fetchingRepos = $('.js-fetching-repos') currentPath = $fetchRepos.data('current-path') ...
Testributor.Pages ||= {} class Testributor.Pages.ProjectWizard show: ()-> $(".multi-select").select2() $fetchRepos = $('.js-fetch-repos') $fetchingRepos = $('.js-fetching-repos') currentPath = $fetchRepos.data('current-path') if currentPath Pace.ignore(-> jqxhr = $.get(currentPath,...
<|file_sep|>original/app/assets/javascripts/pages/project_wizard.coffee Testributor.Pages ||= {} class Testributor.Pages.ProjectWizard show: ()-> $(".multi-select").select2() $fetchRepos = $('.js-fetch-repos') $fetchingRepos = $('.js-fetching-repos') currentPath = $fetchRepos.data('current-path') ...
623ca126a21676d19243738580b92e42061d2d09
app/assets/javascripts/pages/project_wizard.coffee
app/assets/javascripts/pages/project_wizard.coffee
CoffeeScript
<|file_sep|>original/themes/_global/js/autoClose.js $(document).ready(function() { current_url = window.location.href if (current_url.match("&closewin=true")) { window.close(); } }); <|file_sep|>current/themes/_global/js/autoClose.js $(document).ready(function() { current_url = window.location.href if (current_u...
$(document).ready(function() { if (location.search.match("&closewin=true")) { if (window.opener) { var msgDiv = $("div.messages"); var msg = msgDiv.children("p").text(); var status = msgDiv.hasClass("success") ? 'success' : 'unknown'; var url = $(".tool.link")[0].href; window.opener.postMessage({...
<|file_sep|>original/themes/_global/js/autoClose.js $(document).ready(function() { current_url = window.location.href if (current_url.match("&closewin=true")) { window.close(); } }); <|file_sep|>current/themes/_global/js/autoClose.js $(document).ready(function() { current_url = window.location.href if (current_u...
a7991b2d4c8ca35ed421af62f47e558fce0f8fff
themes/_global/js/autoClose.js
themes/_global/js/autoClose.js
JavaScript
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_script: cd test/ script: jjs -DNnClassLoader.debug=true test-all.js <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 before_script: cd test/ script: jjs -DNnClassLoader.debug=true test-all.js <|file_sep|>updated/.travis.y...
language: java jdk: - oraclejdk8 - oraclejdk9 before_script: cd test/ script: jjs -DNnClassLoader.debug=true test-all.js
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_script: cd test/ script: jjs -DNnClassLoader.debug=true test-all.js <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 before_script: cd test/ script: jjs -DNnClassLoader.debug=true test-all.js <|file_sep|>updated/.travis.y...
1ff42157c2599b67918f7427e9fd0f97b19e3794
.travis.yml
.travis.yml
YAML
<|file_sep|>original/scripts/postgres/create_database.sh psql -U postgres -h localhost -c "DROP DATABASE IF EXISTS test_rulerz" psql -U postgres -h localhost -c "CREATE DATABASE test_rulerz" psql -U postgres -h localhost -d test_rulerz -f ./examples/database.sql <|file_sep|>current/scripts/postgres/create_database.sh p...
psql -U postgres -h localhost -c "DROP DATABASE IF EXISTS test_rulerz" && \ psql -U postgres -h localhost -c "CREATE DATABASE test_rulerz" && \ psql -U postgres -h localhost -d test_rulerz < ./examples/database.sql
<|file_sep|>original/scripts/postgres/create_database.sh psql -U postgres -h localhost -c "DROP DATABASE IF EXISTS test_rulerz" psql -U postgres -h localhost -c "CREATE DATABASE test_rulerz" psql -U postgres -h localhost -d test_rulerz -f ./examples/database.sql <|file_sep|>current/scripts/postgres/create_database.sh p...
0eed39c0cbe5293f251fbd3536956ef20bc06777
scripts/postgres/create_database.sh
scripts/postgres/create_database.sh
Shell
<|file_sep|>original/.github/workflows/ci.yaml matrix: ruby-version: - '2.5' - '2.6' - '2.7' - '3.0' env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 ...
ruby-version: - '2.5' - '2.6' - '2.7' - '3.0' env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} ...
<|file_sep|>original/.github/workflows/ci.yaml matrix: ruby-version: - '2.5' - '2.6' - '2.7' - '3.0' env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 ...
540ab1e02d132ea3f5496e9aa8664660c4a12114
.github/workflows/ci.yaml
.github/workflows/ci.yaml
YAML
<|file_sep|>original/.travis.yml language: go go: - 1.3 - tip before_install: - sudo apt-get update -qq - sudo apt-get install -y libsdl2-dev - go get -v github.com/veandco/go-sdl2/sdl before_script: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get code.google.com/p/go...
language: go go: - 1.3 - tip before_install: - sudo apt-get update -qq - sudo apt-get install -y mercurial build-essential xorg-dev libudev-dev libts-dev libgl1-mesa-dev libglu1-mesa-dev libasound2-dev libpulse-dev libopenal-dev libogg-dev libvorbis-dev libaudiofile-dev libpng12-dev libfreetype6-dev libusb-de...
<|file_sep|>original/.travis.yml language: go go: - 1.3 - tip before_install: - sudo apt-get update -qq - sudo apt-get install -y libsdl2-dev - go get -v github.com/veandco/go-sdl2/sdl before_script: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get code.google.com/p/go...
02168b7f706860227aa9155ad6290b6637159154
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/http/middleware/body-size-limiter.js.diff original: updated: var sprintf = require('sprintf').sprintf; <|file_sep|>lib/http/middleware/body-size-limiter.js.diff original: updated: var MAX_BUFFER_SIZE = 10 * 1024 * 1024; <|file_sep|>original/lib/http/middleware/body-size-limiter.js var log = require(...
var sprintf = require('sprintf').sprintf; var log = require('util/log'); var MAX_BUFFER_SIZE = 10 * 1024 * 1024; function attachMiddleware(maxSize) { if (maxSize > MAX_BUFFER_SIZE) { throw new Error(sprintf('Buffering more then %d bytes of data in memory is a bad idea', MAX_BUFFER_S...
<|file_sep|>lib/http/middleware/body-size-limiter.js.diff original: updated: var sprintf = require('sprintf').sprintf; <|file_sep|>lib/http/middleware/body-size-limiter.js.diff original: updated: var MAX_BUFFER_SIZE = 10 * 1024 * 1024; <|file_sep|>original/lib/http/middleware/body-size-limiter.js var log = require(...
03278cc191d9dea00ad8406a3e57c6c05f82eec0
lib/http/middleware/body-size-limiter.js
lib/http/middleware/body-size-limiter.js
JavaScript
<|file_sep|>original/src/test/ui/no-std-macros.rs <|file_sep|>current/src/test/ui/no-std-macros.rs <|file_sep|>updated/src/test/ui/no-std-macros.rs
// compile-flags: --crate-type=lib // check-pass // issue #55482 #![no_std] macro_rules! foo { ($e:expr) => { $crate::core::assert!($e); $crate::core::assert_eq!($e, true); }; } pub fn foo() { foo!(true); }
<|file_sep|>original/src/test/ui/no-std-macros.rs <|file_sep|>current/src/test/ui/no-std-macros.rs <|file_sep|>updated/src/test/ui/no-std-macros.rs // compile-flags: --crate-type=lib // check-pass // issue #55482 #![no_std] macro_rules! foo { ($e:expr) => { $crate::core::assert!($e); $crate::core...
5afb95a6ca94071a67fb4ab74a1636ea7dfaaa5d
src/test/ui/no-std-macros.rs
src/test/ui/no-std-macros.rs
Rust
<|file_sep|>original/README.md docker-webex ============ Run Cisco WebEx [1] inside docker. To use it simply clone this repository and run the **webex.sh** script.<br/> This will build the image and execute firefox in the resulting container ready to go to the WebEx site. 1. http://www.webex.com/ <|file_sep|>current...
docker-webex ============ Run Cisco WebEx [1] inside docker. To use it simply clone this repository and run the **webex.sh** script.<br/> This will build the image and execute firefox in the resulting container ready to go to the WebEx site. N.B. At the moment this requires the **lxc** exec driver (option `--exec-dr...
<|file_sep|>original/README.md docker-webex ============ Run Cisco WebEx [1] inside docker. To use it simply clone this repository and run the **webex.sh** script.<br/> This will build the image and execute firefox in the resulting container ready to go to the WebEx site. 1. http://www.webex.com/ <|file_sep|>current...
6a8d82697601e4814a85577cd824941015bd7ab0
README.md
README.md
Markdown
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Sun Oct 30 18:02:02 CET 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip <|file_sep|>current/gradle/w...
#Sun Oct 30 18:02:02 CET 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-3.2-all.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Sun Oct 30 18:02:02 CET 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip <|file_sep|>current/gradle/w...
5f919ba8aa5a3fd0ac630544efd9c75fb1826a53
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/lib/data/sequelize.js var Sequelize = require('sequelize'); var config = require(__dirname+'/../../config/environment.js'); var dbOptions = { dialect: config.get('DATABASE_DIALECT'), host: config.get('DATABASE_HOST'), port: config.get('DATABASE_PORT'), logging: config.get('DATABASE_LOGGIN...
var Sequelize = require('sequelize'); var config = require(__dirname+'/../../config/environment.js'); var dbOptions = { dialect: config.get('DATABASE_DIALECT'), host: config.get('DATABASE_HOST'), port: config.get('DATABASE_PORT'), logging: config.get('DATABASE_LOGGING'), define: { timestamps: true, ...
<|file_sep|>original/lib/data/sequelize.js var Sequelize = require('sequelize'); var config = require(__dirname+'/../../config/environment.js'); var dbOptions = { dialect: config.get('DATABASE_DIALECT'), host: config.get('DATABASE_HOST'), port: config.get('DATABASE_PORT'), logging: config.get('DATABASE_LOGGIN...
e0c2ac07631197bb73cc0fbd912dbecf9e6ff74a
lib/data/sequelize.js
lib/data/sequelize.js
JavaScript
<|file_sep|>original/README.md # sunshine Sunshine app is the android project used by Udacity in it's course to teach the fundamentals of android development : https://www.udacity.com/course/new-android-fundamentals--ud851 <|file_sep|>current/README.md # sunshine Sunshine app is the android project used by Udacity in i...
# Sunshine Sunshine app is the android project used by Udacity in it's course to teach the fundamentals of android development : https://www.udacity.com/course/new-android-fundamentals--ud851
<|file_sep|>original/README.md # sunshine Sunshine app is the android project used by Udacity in it's course to teach the fundamentals of android development : https://www.udacity.com/course/new-android-fundamentals--ud851 <|file_sep|>current/README.md # sunshine Sunshine app is the android project used by Udacity in i...
faac058d8ac931418dc4ead149a0c09f4703ca1a
README.md
README.md
Markdown
<|file_sep|>original/marked_tests.py import unittest class MarkedTests(unittest.TestCase): pass if __name__ == '__main__': unittest.main() <|file_sep|>current/marked_tests.py import unittest class MarkedTests(unittest.TestCase): pass if __name__ == '__main__': unittest.main() <|file_sep|>updated...
import unittest import marked class MarkedTests(unittest.TestCase): pass if __name__ == '__main__': unittest.main()
<|file_sep|>original/marked_tests.py import unittest class MarkedTests(unittest.TestCase): pass if __name__ == '__main__': unittest.main() <|file_sep|>current/marked_tests.py import unittest class MarkedTests(unittest.TestCase): pass if __name__ == '__main__': unittest.main() <|file_sep|>updated...
6dfc0d6cec2d0bd9d873f4e0854cee46414c37ec
marked_tests.py
marked_tests.py
Python
<|file_sep|>package.json.diff original: "description": "JavaScript (Node.js) library for communication with the Stardog HTTP server.", updated: "description": "Node.js library for communicating with the Stardog HTTP server.", <|file_sep|>original/package.json { "name": "stardog-js", "version": "0.5.0", "descr...
{ "name": "stardog-js", "version": "0.5.0", "description": "Node.js library for communicating with the Stardog HTTP server.", "author": "x0r2", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/x0r2/stardog-js.git" }, "engines": { "node": ">=8.0.0" }, "keywords"...
<|file_sep|>package.json.diff original: "description": "JavaScript (Node.js) library for communication with the Stardog HTTP server.", updated: "description": "Node.js library for communicating with the Stardog HTTP server.", <|file_sep|>original/package.json { "name": "stardog-js", "version": "0.5.0", "descr...
4c3a545829e574cc8866210bb495e5e2749eb2eb
package.json
package.json
JSON
<|file_sep|>README.md.diff original: updated: ##Notes regarding this fork socket.io examples only available with Jade template engine for now. <|file_sep|>original/README.md ``` Install dependencies: ```bash $ npm install ``` Rock and Roll ```bash $ npm start ``` To see an example of socket.io and Expre...
Create the app: ```bash $ npm install -g express-generator $ express /tmp/foo && cd /tmp/foo ``` Install dependencies: ```bash $ npm install ``` Rock and Roll ```bash $ npm start ``` ### [License (MIT)](LICENSE)
<|file_sep|>README.md.diff original: updated: ##Notes regarding this fork socket.io examples only available with Jade template engine for now. <|file_sep|>original/README.md ``` Install dependencies: ```bash $ npm install ``` Rock and Roll ```bash $ npm start ``` To see an example of socket.io and Expre...
f88aca76ab5006394815d74fcb30d6e56ce6d074
README.md
README.md
Markdown
<|file_sep|>original/src/internal/Hash.h <|file_sep|>current/src/internal/Hash.h <|file_sep|>updated/src/internal/Hash.h
#ifndef ARBITER_HASH_H #define ARBITER_HASH_H #ifndef __cplusplus #error "This file must be compiled as C++." #endif #include <functional> #include <type_traits> namespace Arbiter { template<typename T> size_t hashOf (const T &value) { return std::hash<T>()(value); } } #endif
<|file_sep|>original/src/internal/Hash.h <|file_sep|>current/src/internal/Hash.h <|file_sep|>updated/src/internal/Hash.h #ifndef ARBITER_HASH_H #define ARBITER_HASH_H #ifndef __cplusplus #error "This file must be compiled as C++." #endif #include <functional> #include <type_traits> namespace Arbiter { template<ty...
8aa16932e265e483217d9a5fabfb8a8c26cbed15
src/internal/Hash.h
src/internal/Hash.h
C
<|file_sep|>original/net/netx/CMakeLists.txt ############################################################################ # CMakeLists.txt file for building ROOT net/netx package # @author Pere Mato, CERN ############################################################################ ROOT_USE_PACKAGE(net/net) ROOT_USE_PA...
############################################################################ # CMakeLists.txt file for building ROOT net/netx package # @author Pere Mato, CERN ############################################################################ ROOT_USE_PACKAGE(net/net) ROOT_USE_PACKAGE(proof/proofd) include_directories(${XR...
<|file_sep|>original/net/netx/CMakeLists.txt ############################################################################ # CMakeLists.txt file for building ROOT net/netx package # @author Pere Mato, CERN ############################################################################ ROOT_USE_PACKAGE(net/net) ROOT_USE_PA...
7045df5a6e9af65b6098c45ded1a0e3e3ac4eec3
net/netx/CMakeLists.txt
net/netx/CMakeLists.txt
Text
<|file_sep|>original/index.d.ts declare const observableSymbol: symbol; export default observableSymbol; declare global { export interface SymbolConstructor { readonly observable: unique symbol; } } <|file_sep|>current/index.d.ts declare const observableSymbol: symbol; export default observableSymbol; declare...
declare const observableSymbol: symbol; export default observableSymbol; declare global { export interface SymbolConstructor { readonly observable: symbol; } }
<|file_sep|>original/index.d.ts declare const observableSymbol: symbol; export default observableSymbol; declare global { export interface SymbolConstructor { readonly observable: unique symbol; } } <|file_sep|>current/index.d.ts declare const observableSymbol: symbol; export default observableSymbol; declare...
72ce7dcc5d22f8a67ec928b61e879e1ded7a0869
index.d.ts
index.d.ts
TypeScript
<|file_sep|>ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/commons/security/DataServiceSecurityAnnotationsTest.java.diff original: updated: import springfox.documentation.schema.property.ModelSpecificationFactory; <|file_sep|>original/ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/c...
package org.innovateuk.ifs.commons.security; import org.innovateuk.ifs.activitylog.advice.TestActivityLogServiceImpl; import org.innovateuk.ifs.security.AbstractDataServiceSecurityAnnotationsTest; import org.innovateuk.ifs.security.StatelessAuthenticationFilter; import springfox.documentation.schema.property.ModelSpec...
<|file_sep|>ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/commons/security/DataServiceSecurityAnnotationsTest.java.diff original: updated: import springfox.documentation.schema.property.ModelSpecificationFactory; <|file_sep|>original/ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/c...
add4a0f6bd6d6295e271fbf2363fb0abddd7fbb5
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/commons/security/DataServiceSecurityAnnotationsTest.java
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/commons/security/DataServiceSecurityAnnotationsTest.java
Java
<|file_sep|>original/testsuite/tests/unboxed-primitive-args/test_common.c /* Copyright 2015 Institut National de Recherche en Informatique et */ /* en Automatique. */ /* */ /* All rights...
/* Copyright 2015 Institut National de Recherche en Informatique et */ /* en Automatique. */ /* */ /* All rights reserved. This file is distributed under the terms of */ /* the GNU...
<|file_sep|>original/testsuite/tests/unboxed-primitive-args/test_common.c /* Copyright 2015 Institut National de Recherche en Informatique et */ /* en Automatique. */ /* */ /* All rights...
32906dc26611ed18710c338b93136c2a487ada3b
testsuite/tests/unboxed-primitive-args/test_common.c
testsuite/tests/unboxed-primitive-args/test_common.c
C
<|file_sep|>original/lib/sizo/typography/index.styl <|file_sep|>current/lib/sizo/typography/index.styl <|file_sep|>updated/lib/sizo/typography/index.styl
// Sizo Typography body background-color sz-base-background-color font-family sz-base-font-family font-size sz-base-font-size -webkit-font-smoothing antialiased color sz-base-font-color line-height sz-base-line-height h1 h2 h3 h4 h5 h6 margin 0 font-family sz-header-font-family lin...
<|file_sep|>original/lib/sizo/typography/index.styl <|file_sep|>current/lib/sizo/typography/index.styl <|file_sep|>updated/lib/sizo/typography/index.styl // Sizo Typography body background-color sz-base-background-color font-family sz-base-font-family font-size sz-base-font-size -webkit-font-smoothin...
27cc1ca6e54c3f0495ec07e8c50b8a7a24763151
lib/sizo/typography/index.styl
lib/sizo/typography/index.styl
Stylus
<|file_sep|>original/CHANGELOG.md # 0.1.2 / _Not released yet_ - Add Apt proxy configuration for FTP URIs ([GH-5][]) - Warn and fail if Vagrant is older than v1.2.0 ([GH-7][]) # 0.1.1 / 2013-06-27 - Don't crash if there is no configuration for us in the Vagrantfiles ([GH-2][]) * Related [Vagrant issue](https://g...
# 0.1.2 / _Not released yet_ - Add Apt proxy configuration for FTP URIs ([GH-5][]) - Warn and fail if Vagrant is older than v1.2.0 ([GH-7][]) # 0.1.1 / 2013-06-27 - Don't crash if there is no configuration for us in the Vagrantfiles ([GH-2][]) * Related [Vagrant issue](https://github.com/mitchellh/vagrant/issues...
<|file_sep|>original/CHANGELOG.md # 0.1.2 / _Not released yet_ - Add Apt proxy configuration for FTP URIs ([GH-5][]) - Warn and fail if Vagrant is older than v1.2.0 ([GH-7][]) # 0.1.1 / 2013-06-27 - Don't crash if there is no configuration for us in the Vagrantfiles ([GH-2][]) * Related [Vagrant issue](https://g...
ffcf920df29328e59817707c7789d1b8f90f7332
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>people/2015/spring/kocsen.yaml.diff original: vidreivew0: http://kocsen-hfoss.blogspot.com/2015/02/vidreview-0.html updated: vidreview0: http://kocsen-hfoss.blogspot.com/2015/02/vidreview-0.html <|file_sep|>original/people/2015/spring/kocsen.yaml blog: http://kocsen-hfoss.blogspot.com feed: http://kocs...
blog: http://kocsen-hfoss.blogspot.com feed: http://kocsen-hfoss.blogspot.com/feeds/posts/default?alt=rss forges: - https://github.com/kocsenc irc: kocsen name: Kocsen rit_dce: kxc4519 hw: firstflight: http://kocsen-hfoss.blogspot.com/2015/02/first-flight.html litreview0: http://kocsen-hfoss.blogspot.com/2015/02...
<|file_sep|>people/2015/spring/kocsen.yaml.diff original: vidreivew0: http://kocsen-hfoss.blogspot.com/2015/02/vidreview-0.html updated: vidreview0: http://kocsen-hfoss.blogspot.com/2015/02/vidreview-0.html <|file_sep|>original/people/2015/spring/kocsen.yaml blog: http://kocsen-hfoss.blogspot.com feed: http://kocs...
6b7e0d4b44205fc9c17708dd82987698c4ec75c0
people/2015/spring/kocsen.yaml
people/2015/spring/kocsen.yaml
YAML