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|>ynr/apps/candidates/views/version_data.py.diff original: def get_change_metadata(request, information_source): updated: def get_change_metadata(request, information_source, user=None): """ :type user: django.contrib.auth.models.User """ <|file_sep|>original/ynr/apps/candidates/views/version_dat...
def get_current_timestamp(): return datetime.utcnow().isoformat() def get_change_metadata(request, information_source, user=None): """ :type user: django.contrib.auth.models.User """ result = { "information_source": information_source, "version_id": create_version_id(), ...
<|file_sep|>ynr/apps/candidates/views/version_data.py.diff original: def get_change_metadata(request, information_source): updated: def get_change_metadata(request, information_source, user=None): """ :type user: django.contrib.auth.models.User """ <|file_sep|>original/ynr/apps/candidates/views/version_dat...
01ef56e5ef825897648de792d1734a336499fb0b
ynr/apps/candidates/views/version_data.py
ynr/apps/candidates/views/version_data.py
Python
<|file_sep|>original/languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt gmail grand-daughter grand-daughters grand-father grand-fathers grand-mother grand-mothers grand-son grand-sons # In BrE and in AmE, the verb is 'improvise': improvize improvized improvizer improv...
grand-daughter grand-daughters grand-father grand-fathers grand-mother grand-mothers grand-son grand-sons # In BrE and in AmE, the verb is 'improvise': improvize improvized improvizer improvizes improvizing ing # seems to be very rare and is a potential misspelling of 'means': meas maladjust nauseam ne personnels
<|file_sep|>original/languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt gmail grand-daughter grand-daughters grand-father grand-fathers grand-mother grand-mothers grand-son grand-sons # In BrE and in AmE, the verb is 'improvise': improvize improvized improvizer improv...
d9a4c4e5f99400ceeeb04e476f8af55ab7283486
languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt
languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt
Text
<|file_sep|>cypress/integration/starting-game.spec.js.diff original: updated: it('displays the morning screen', function() { cy.visit('/') cy.get('h1').within(function() { cy.queryByText('The Republia Times').should('exist') }) }) <|file_sep|>original/cypress/integration/starting-game.spec.js de...
describe('starting a game', function() { it('displays the morning screen', function() { cy.visit('/') cy.get('h1').within(function() { cy.queryByText('The Republia Times').should('exist') }) }) it('starts the first day', function() { cy.getByText('Start Work').click() cy.get('h1').withi...
<|file_sep|>cypress/integration/starting-game.spec.js.diff original: updated: it('displays the morning screen', function() { cy.visit('/') cy.get('h1').within(function() { cy.queryByText('The Republia Times').should('exist') }) }) <|file_sep|>original/cypress/integration/starting-game.spec.js de...
aa6f6b65e7cf3c17c52cb4e11f9641923b86402a
cypress/integration/starting-game.spec.js
cypress/integration/starting-game.spec.js
JavaScript
<|file_sep|>original/src/resources/forrest-shbat/bin/forrest.bat Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use -------------------------------------- set ANTFILE="%FORREST_HOME%\forrest.build.xml" Rem ----- Save old ANT_HOME ------...
Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use -------------------------------------- set ANTFILE="%FORREST_HOME%\forrest.build.xml" Rem ----- Save old ANT_HOME -------------------------------------------- set OLD_ANT_HOME=%ANT_HOM...
<|file_sep|>original/src/resources/forrest-shbat/bin/forrest.bat Rem ----- use the location of this script to infer $FORREST_HOME ------- set FORREST_HOME=%~dp0\.. Rem ----- set the ant file to use -------------------------------------- set ANTFILE="%FORREST_HOME%\forrest.build.xml" Rem ----- Save old ANT_HOME ------...
948caf38b90f5feb167e40e087075f4ce28c5504
src/resources/forrest-shbat/bin/forrest.bat
src/resources/forrest-shbat/bin/forrest.bat
Batchfile
<|file_sep|>src/routes/main/about/index.js.diff original: // try to fix a strange ReferenceError in production server build // by defining and assigning About first let About = () => null; updated: <|file_sep|>src/routes/main/about/index.js.diff original: async action(context) { About = await loadComponent( upd...
const title = 'About / Privacy'; export default { path: '/about', action(context) { return loadComponent( () => require.ensure([], require => require('./About').default, 'about') ).then(About => ({ title, chunk: 'about', component: ( <LayoutContainer path={context.url}> ...
<|file_sep|>src/routes/main/about/index.js.diff original: // try to fix a strange ReferenceError in production server build // by defining and assigning About first let About = () => null; updated: <|file_sep|>src/routes/main/about/index.js.diff original: async action(context) { About = await loadComponent( upd...
77be797fc02b092d8bbdb2c7b1f68eca08b431ed
src/routes/main/about/index.js
src/routes/main/about/index.js
JavaScript
<|file_sep|>original/recipes/_package.rb # # Cookbook:: cmake # Recipe:: _package # package "cmake" do not_if { platform_family?('windows') } end cmake_version = node["cmake"]["version"] windows_package "CMake #{cmake_version}, a cross-platform, open-source build system" do source "http://www.cmake.org/files/v#{...
# Cookbook:: cmake # Recipe:: _package # package "cmake" do not_if { platform_family?('windows') } end cmake_version = node["cmake"]["version"] windows_package "CMake #{cmake_version}, a cross-platform, open-source build system" do source "http://www.cmake.org/files/v#{cmake_version[/^\d\.\d/, 0]}/cmake-#{cmake_...
<|file_sep|>original/recipes/_package.rb # # Cookbook:: cmake # Recipe:: _package # package "cmake" do not_if { platform_family?('windows') } end cmake_version = node["cmake"]["version"] windows_package "CMake #{cmake_version}, a cross-platform, open-source build system" do source "http://www.cmake.org/files/v#{...
c24884e107aeaf1c2ef6747367dc81c7d1532469
recipes/_package.rb
recipes/_package.rb
Ruby
<|file_sep|>original/requirements.txt <|file_sep|>current/requirements.txt <|file_sep|>updated/requirements.txt
-e git+https://github.com/NeuralEnsemble/libNeuroML.git#egg=libNeuroML -e git+https://github.com/zopefoundation/ZODB.git#egg=ZODB -e git+https://github.com/RDFLib/FuXi#egg=FuXi # runs setup.py -e .
<|file_sep|>original/requirements.txt <|file_sep|>current/requirements.txt <|file_sep|>updated/requirements.txt -e git+https://github.com/NeuralEnsemble/libNeuroML.git#egg=libNeuroML -e git+https://github.com/zopefoundation/ZODB.git#egg=ZODB -e git+https://github.com/RDFLib/FuXi#egg=FuXi # runs setup.py -e .
7631c24cbc15a8f7dcd8ffc0df1c4cdb24c918af
requirements.txt
requirements.txt
Text
<|file_sep|>README.md.diff original: ## If you'd like to contribute, checkout our [Trello Board](https://trello.com/b/mffBye8Z) and come [hangout with us](https://discord.gg/vJjgKT7) ## Tool Docs - [Feathers](https://docs.feathersjs.com) - [SocketIO](https://socket.io/docs/) updated: <|file_sep|>README.md.diff origi...
- Initiate RethinkDB database `$ npm db` - Dev server with reloading `$ npm dev` - Production mode server `$ npm start` ## If you'd like to contribute, checkout our [Trello Board](https://trello.com/b/mffBye8Z) and come [hangout with us](https://discord.gg/vJjgKT7) ## Tool Docs - [Feathers](https://docs.feathers...
<|file_sep|>README.md.diff original: ## If you'd like to contribute, checkout our [Trello Board](https://trello.com/b/mffBye8Z) and come [hangout with us](https://discord.gg/vJjgKT7) ## Tool Docs - [Feathers](https://docs.feathersjs.com) - [SocketIO](https://socket.io/docs/) updated: <|file_sep|>README.md.diff origi...
6fb1648bb0de01132d6727a25b24197d2beb8fd9
README.md
README.md
Markdown
<|file_sep|>original/app/assets/javascripts/effective_datatables/scopes.js.coffee $(document).on 'click', 'a[data-clear-form]', (event) -> event.preventDefault() $(event.currentTarget).closest('form').trigger('clear') $(document).on 'clear', '.effective-datatable-scopes form', (event) -> $(this).find('.radio.act...
$(document).on 'click', 'a[data-clear-form]', (event) -> event.preventDefault() $(event.currentTarget).closest('form').trigger('clear') $(document).on 'clear', '.effective-datatable-scopes form', (event) -> $(this).find('.radio.active').removeClass('active'); $(this).find(':radio').prop('checked', false); $(...
<|file_sep|>original/app/assets/javascripts/effective_datatables/scopes.js.coffee $(document).on 'click', 'a[data-clear-form]', (event) -> event.preventDefault() $(event.currentTarget).closest('form').trigger('clear') $(document).on 'clear', '.effective-datatable-scopes form', (event) -> $(this).find('.radio.act...
dcacca98b66d3cb196431f99e1fa679a51d8689f
app/assets/javascripts/effective_datatables/scopes.js.coffee
app/assets/javascripts/effective_datatables/scopes.js.coffee
CoffeeScript
<|file_sep|>recipes/gvcftools/build.sh.diff original: sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -L$(PREFIX)/include^' src/Makefile updated: sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile <|file_sep|>original/recipes/gvcftools/build.sh sed -i.bak 's^TABIX_LIB_DIR)$^TAB...
sed -i.bak 's^TABIX_LIB_DIR)$^TABIX_LIB_DIR) -L$(PREFIX)/lib^' src/Makefile sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile sed -r -i.bak "s^tabix: (.*)^tabix: \1\n\tsed -i.bak 's@CFLAGS =@CFLAGS = -I$\(PREFIX\)/include@' tabix*/Makefile^" redist/Makefile make BIN_DIR=$PREFIX/bi...
<|file_sep|>recipes/gvcftools/build.sh.diff original: sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -L$(PREFIX)/include^' src/Makefile updated: sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile <|file_sep|>original/recipes/gvcftools/build.sh sed -i.bak 's^TABIX_LIB_DIR)$^TAB...
3ad0f82d71b47d1aeef01bdc9612f3c73645fe1d
recipes/gvcftools/build.sh
recipes/gvcftools/build.sh
Shell
<|file_sep|>original/test/CodeGen/PowerPC/vrspill.ll ; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s ; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s ; XFAIL: * ; This verifies that we generate correct spill/r...
; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -mattr=+altivec -verify-machineinstrs < %s | FileCheck %s ; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -verify-machineinstrs < %s | FileCheck %s ; This verifies that we generate correct spill/reload code for vector regs. define void @addrtaken(...
<|file_sep|>original/test/CodeGen/PowerPC/vrspill.ll ; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s ; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s ; XFAIL: * ; This verifies that we generate correct spill/r...
e0bc37579b5562b7aae3ba225b4e7a4332ee0973
test/CodeGen/PowerPC/vrspill.ll
test/CodeGen/PowerPC/vrspill.ll
LLVM
<|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff original: if (lastResult != null) { updated: if (lastResult != null && lastResult != "") { if (!lastResult.startsWith("~")) return null; <|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff original: upda...
List<String> splits = lastResult.split(":"); String msgType = splits[1]; int time = int.parse(splits[0].substring(1)); if (msgType == "Log" && splits[2] == "SEVERE") return lastResult; } } String close() { String lastResult = message.toString(); if (lastResult == null || lastR...
<|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff original: if (lastResult != null) { updated: if (lastResult != null && lastResult != "") { if (!lastResult.startsWith("~")) return null; <|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff original: upda...
d9cad33aebbbd3162fc753244d6daca2b8d2aa87
sintr_analysis_server_example/lib/instrumentation_lib.dart
sintr_analysis_server_example/lib/instrumentation_lib.dart
Dart
<|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff original: updated: var hasPWSHCategory = false; var hasPWSHKeywords = false; <|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff original: updated: hasPWSHCategory = item.Categories...
{ var keywords = element.GetObject<string>(); hasPowerShellKeywords = keywords.ToLowerInvariant().Contains("powershell"); hasPWSHKeywords = keywords.ToLowerInvariant().Contains("pwsh"); } } var hasPowerS...
<|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff original: updated: var hasPWSHCategory = false; var hasPWSHKeywords = false; <|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff original: updated: hasPWSHCategory = item.Categories...
7097ac5f52cd26b8d4f8f5a0cec169c8fade49fa
src/Firehose.Web/Extensions/SyndicationItemExtensions.cs
src/Firehose.Web/Extensions/SyndicationItemExtensions.cs
C#
<|file_sep|>plugins/delayer/index.js.diff original: delayPath = conf.delaypath || '/.*'; updated: delayPath = conf.delaypath || '/.*', delayDisabled = !!conf.delaydisabled; <|file_sep|>original/plugins/delayer/index.js handler: function(req, res, next) { setTimeout(function()...
setTimeout(function() { next(req, res); }, delayMilliseconds); } })); return { heads: [ new RoboHydraHead({ name: 'delayer-config', detached: delayDisabled, path: '/robohydra-admin/delay/:delayVa...
<|file_sep|>plugins/delayer/index.js.diff original: delayPath = conf.delaypath || '/.*'; updated: delayPath = conf.delaypath || '/.*', delayDisabled = !!conf.delaydisabled; <|file_sep|>original/plugins/delayer/index.js handler: function(req, res, next) { setTimeout(function()...
a0627e423f5bf4dc00eda084552e1e5d3fcc6012
plugins/delayer/index.js
plugins/delayer/index.js
JavaScript
<|file_sep|>original/requirements.txt aiohttp==3.5.1 attrs==18.2.0 flake8==3.6.0 ipdb==0.11 ipython==7.2.0 pytest==4.1.0 pytest-cov==2.6.1 pytest-mock==1.10.0 tox==3.6.1 docker==3.6.0 isort==4.3.4 -e . <|file_sep|>current/requirements.txt aiohttp==3.5.1 attrs==18.2.0 flake8==3.6.0 ipdb==0.11 ipython==7.2.0 pytest==4.1....
aiohttp==3.5.4 attrs==18.2.0 flake8==3.6.0 ipdb==0.11 ipython==7.2.0 pytest==4.1.0 pytest-cov==2.6.1 pytest-mock==1.10.0 tox==3.6.1 docker==3.6.0 isort==4.3.4 -e .
<|file_sep|>original/requirements.txt aiohttp==3.5.1 attrs==18.2.0 flake8==3.6.0 ipdb==0.11 ipython==7.2.0 pytest==4.1.0 pytest-cov==2.6.1 pytest-mock==1.10.0 tox==3.6.1 docker==3.6.0 isort==4.3.4 -e . <|file_sep|>current/requirements.txt aiohttp==3.5.1 attrs==18.2.0 flake8==3.6.0 ipdb==0.11 ipython==7.2.0 pytest==4.1....
af9e3afe1f102d2e9e8997f300b36fb4462fbb48
requirements.txt
requirements.txt
Text
<|file_sep|>src/Monolog/SocketIOEmitterHandler.php.diff original: updated: use Monolog\Formatter\FormatterInterface; use Monolog\Formatter\NormalizerFormatter; <|file_sep|>original/src/Monolog/SocketIOEmitterHandler.php public function __construct(Emitter $emitter, $level = Logger::DEBUG, $bubble = true) { ...
} /** * {@inheritdoc} */ protected function write(array $record) { $event = $record['formatted']['message']; $data = $record['formatted']['context']; $this->emitter->emit($event, $data); } /** * @inheritdoc */ protected function getDefaultFormat...
<|file_sep|>src/Monolog/SocketIOEmitterHandler.php.diff original: updated: use Monolog\Formatter\FormatterInterface; use Monolog\Formatter\NormalizerFormatter; <|file_sep|>original/src/Monolog/SocketIOEmitterHandler.php public function __construct(Emitter $emitter, $level = Logger::DEBUG, $bubble = true) { ...
bfa799cbaee383656473939ff68d669253d59769
src/Monolog/SocketIOEmitterHandler.php
src/Monolog/SocketIOEmitterHandler.php
PHP
<|file_sep|>original/Gruntfile.coffee module.exports = (grunt) -> require('load-grunt-tasks')(grunt) grunt.initConfig pkg: grunt.file.readJSON 'package.json' shell: clean: command: '[ -e gametime.db ] && rm gametime.db' init_db: command: 'sqlite3 gametime.db < db.sql' noin...
module.exports = (grunt) -> require('load-grunt-tasks')(grunt) grunt.initConfig pkg: grunt.file.readJSON 'package.json' shell: clean: command: '[ ! -e gametime.db ] || rm gametime.db' init_db: command: 'sqlite3 gametime.db < db.sql' nointro: command: 'coffee nointr...
<|file_sep|>original/Gruntfile.coffee module.exports = (grunt) -> require('load-grunt-tasks')(grunt) grunt.initConfig pkg: grunt.file.readJSON 'package.json' shell: clean: command: '[ -e gametime.db ] && rm gametime.db' init_db: command: 'sqlite3 gametime.db < db.sql' noin...
3cfb9bb9fe78c41adc9c9d44e1c7e36070a2c94d
Gruntfile.coffee
Gruntfile.coffee
CoffeeScript
<|file_sep|>bulbs/utils/filters.py.diff original: val = request.QUERY_PARAMS[field] if val in ['true', 'True']: updated: val = request.QUERY_PARAMS[field].lower() if val == 'true': <|file_sep|>original/bulbs/utils/filters.py def filter_queryset(self, ...
def filter_queryset(self, request, queryset, view): boolean_fields = getattr(view, 'boolean_fields', None) if not boolean_fields: return queryset boolean_filters = {} for field in boolean_fields: if field in request.QUERY_PARAMS: val = requ...
<|file_sep|>bulbs/utils/filters.py.diff original: val = request.QUERY_PARAMS[field] if val in ['true', 'True']: updated: val = request.QUERY_PARAMS[field].lower() if val == 'true': <|file_sep|>original/bulbs/utils/filters.py def filter_queryset(self, ...
aa360309f387f19f6566d08325cd1aa1131768da
bulbs/utils/filters.py
bulbs/utils/filters.py
Python
<|file_sep|>original/app/assets/stylesheets/application.css.scss /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets...
* * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any styles * defined in the other CSS/SCSS files in this directory. It is generally better to create a new * file per style scope. *...
<|file_sep|>original/app/assets/stylesheets/application.css.scss /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets...
269ad640be78eae09d448fa26481a7e5b20ae59f
app/assets/stylesheets/application.css.scss
app/assets/stylesheets/application.css.scss
SCSS
<|file_sep|>original/resources/views/partials/menu.blade.php @if(Admin::user()->visible($item['roles'])) @if(!isset($item['children'])) <li> <a href="{{ admin_base_path($item['uri']) }}"><i class="fa {{$item['icon']}}"></i> <span>{{$item['title']}}</span> </a> ...
@if(Admin::user()->visible($item['roles'])) @if(!isset($item['children'])) <li> @if(url()->isValidUrl($item['uri'])) <a href="{{ $item['uri'] }}" target="_blank"> @else <a href="{{ admin_base_path($item['uri']) }}"> @endif ...
<|file_sep|>original/resources/views/partials/menu.blade.php @if(Admin::user()->visible($item['roles'])) @if(!isset($item['children'])) <li> <a href="{{ admin_base_path($item['uri']) }}"><i class="fa {{$item['icon']}}"></i> <span>{{$item['title']}}</span> </a> ...
7e68c6c9c3b5fc0c5cb979c8e20e511d9da6ac4e
resources/views/partials/menu.blade.php
resources/views/partials/menu.blade.php
PHP
<|file_sep|>original/schemes/tomorrow-solarized.yml scheme: "tomorrow-solarized" author: "Keith Smiley (http://keith.so)" base00: "cccccc" base01: "999999" base02: "393939" base03: "2d2d2d" base0: "ebe4d3" base1: "93a1a1" base2: "eee8d5" base3: "fdf6e3" blue: "99cccc" cyan: "...
scheme: "tomorrow-solarized" author: "Keith Smiley (http://keith.so)" base00: "cccccc" base01: "999999" base02: "393939" base03: "2d2d2d" base0: "ebe4d3" base1: "93a1a1" base2: "eee8d5" base3: "fdf6e3" blue: "99cccc" cyan: "d2fdfe" green: "99cc99" magenta: "d567af" oran...
<|file_sep|>original/schemes/tomorrow-solarized.yml scheme: "tomorrow-solarized" author: "Keith Smiley (http://keith.so)" base00: "cccccc" base01: "999999" base02: "393939" base03: "2d2d2d" base0: "ebe4d3" base1: "93a1a1" base2: "eee8d5" base3: "fdf6e3" blue: "99cccc" cyan: "...
9ad5678590e5f5e25f933847beddef46a56e3748
schemes/tomorrow-solarized.yml
schemes/tomorrow-solarized.yml
YAML
<|file_sep|>original/lib/collective/collectors/rabbitmq.rb end end end end def instrument_queues queues = client.get('queues').body queues.each do |queue| group 'rabbitmq.queue' do |group| instrument_hash(group, queue, source: "rabbitmq.queue.#{queue['name...
end end end end def instrument_queues queues = client.get('queues').body queues.each do |queue| group 'rabbitmq.queue' do |group| instrument_hash(group, queue, source: queue['name']) end end end def instrument_hash(group, hash, optio...
<|file_sep|>original/lib/collective/collectors/rabbitmq.rb end end end end def instrument_queues queues = client.get('queues').body queues.each do |queue| group 'rabbitmq.queue' do |group| instrument_hash(group, queue, source: "rabbitmq.queue.#{queue['name...
327ddd181ac2379e3afb83b1ec080148b91f92d4
lib/collective/collectors/rabbitmq.rb
lib/collective/collectors/rabbitmq.rb
Ruby
<|file_sep|>original/serial/low-speed-transmitter/low-speed-transmitter.ino <|file_sep|>current/serial/low-speed-transmitter/low-speed-transmitter.ino <|file_sep|>updated/serial/low-speed-transmitter/low-speed-transmitter.ino
void setup() { pinMode(LED_BUILTIN, OUTPUT); SerialUSB.begin(2000000); } void loop() { static int counter = 0; SerialUSB.println(counter, DEC); counter = (counter + 1) % (1 << 8); digitalWrite(LED_BUILTIN, counter >> 7 ? HIGH : LOW); delay(20); }
<|file_sep|>original/serial/low-speed-transmitter/low-speed-transmitter.ino <|file_sep|>current/serial/low-speed-transmitter/low-speed-transmitter.ino <|file_sep|>updated/serial/low-speed-transmitter/low-speed-transmitter.ino void setup() { pinMode(LED_BUILTIN, OUTPUT); SerialUSB.begin(2000000); } void loop() { ...
6dd824617791b455e89ff75aa02337549539e509
serial/low-speed-transmitter/low-speed-transmitter.ino
serial/low-speed-transmitter/low-speed-transmitter.ino
Arduino
<|file_sep|>examples/calculate_single_person_1.json.diff original: "parents": ["individu0"], "enfants": [] updated: "parents": ["individu0"] <|file_sep|>original/examples/calculate_single_person_1.json "scenarios": [ { "test_case": { "familles": [ { ...
"scenarios": [ { "test_case": { "familles": [ { "parents": ["individu0"] } ], "foyers_fiscaux": [ { "declarants": ["individu0"] } ], "individus": [ { "birth": "1980-01-01", ...
<|file_sep|>examples/calculate_single_person_1.json.diff original: "parents": ["individu0"], "enfants": [] updated: "parents": ["individu0"] <|file_sep|>original/examples/calculate_single_person_1.json "scenarios": [ { "test_case": { "familles": [ { ...
2c7342ac1f6d8cba425d0097c6d39515bfbd562d
examples/calculate_single_person_1.json
examples/calculate_single_person_1.json
JSON
<|file_sep|>original/app/views/layers/new.html.erb <h2>New Mosaic</h2> <em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed but they could be seen on the final map image.</em> <%= error_messages_for @layer %> <%= render :partial => "form", :locals => {:page => "new"} %> <|file_sep|>...
<h2>New Mosaic</h2> <em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed<br /> but they could be seen on the final map image.</em> <%= error_messages_for @layer %> <%= render :partial => "form", :locals => {:page => "new"} %>
<|file_sep|>original/app/views/layers/new.html.erb <h2>New Mosaic</h2> <em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed but they could be seen on the final map image.</em> <%= error_messages_for @layer %> <%= render :partial => "form", :locals => {:page => "new"} %> <|file_sep|>...
40ed0b579030ca4b372a54d4176a5f19b6e47fcb
app/views/layers/new.html.erb
app/views/layers/new.html.erb
HTML+ERB
<|file_sep|>original/requirements-prod.txt gunicorn==19.5 # Used as a http server in production psycopg2 # Postgres adapter <|file_sep|>current/requirements-prod.txt gunicorn==19.5 # Used as a http server in production psycopg2 # Postgres a...
gunicorn==19.6 # Used as a http server in production psycopg2 # Postgres adapter
<|file_sep|>original/requirements-prod.txt gunicorn==19.5 # Used as a http server in production psycopg2 # Postgres adapter <|file_sep|>current/requirements-prod.txt gunicorn==19.5 # Used as a http server in production psycopg2 # Postgres a...
bbedf82aa3bae5891dd23290416fdfc720a10040
requirements-prod.txt
requirements-prod.txt
Text
<|file_sep|>original/core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala */ package org.openmole.plugin.domain.modifier import java.io.File import org.openmole.core.model.domain._ import org.openmole.core.model.data._ import org.openmole...
*/ package org.openmole.plugin.domain.modifier import java.io.File import org.openmole.core.model.domain._ import org.openmole.core.model.data._ import org.openmole.misc.exception._ class SortByNameDomain(val domain: Domain[File] with Finite[File]) extends Domain[File] with Finite[File] { override def computeVal...
<|file_sep|>original/core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala */ package org.openmole.plugin.domain.modifier import java.io.File import org.openmole.core.model.domain._ import org.openmole.core.model.data._ import org.openmole...
2490beffc15d6eff241cd23c6d223702ed53799c
core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala
core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala
Scala
<|file_sep|>src/lib/md5.ts.diff original: return "Base64 Encoded" updated: return "as Base64" <|file_sep|>original/src/lib/md5.ts } export class StringToMD5Base64Transformer extends StringToMD5Transformer{ protected get digestMethodDescription(): string { return "Base64 Encoded" } protected get digestMethod(...
} export class StringToMD5Base64Transformer extends StringToMD5Transformer{ protected get digestMethodDescription(): string { return "as Base64" } protected get digestMethod(): crypto.HexBase64Latin1Encoding { return "base64" } } export class StringToMD5HexTransformer extends StringToMD5Transformer { protec...
<|file_sep|>src/lib/md5.ts.diff original: return "Base64 Encoded" updated: return "as Base64" <|file_sep|>original/src/lib/md5.ts } export class StringToMD5Base64Transformer extends StringToMD5Transformer{ protected get digestMethodDescription(): string { return "Base64 Encoded" } protected get digestMethod(...
752d8394993880d1e09ef0c3e379a1874ba6f588
src/lib/md5.ts
src/lib/md5.ts
TypeScript
<|file_sep|>original/requirements.txt beautifulsoup4==4.5.1 certifi==2016.9.26 click==6.6 Flask==0.12 future==0.16.0 itsdangerous==0.24 Jinja2==2.8.1 MarkupSafe==0.23 python-telegram-bot==5.3.0 PyYAML==3.12 requests==2.12.4 urllib3==1.19.1 Werkzeug==0.11.15 <|file_sep|>current/requirements.txt beautifulsoup4==4.5.1 cer...
beautifulsoup4==4.5.1 certifi==2016.9.26 click==6.6 Flask==0.12 future==0.16.0 itsdangerous==0.24 Jinja2==2.9.1 MarkupSafe==0.23 python-telegram-bot==5.3.0 PyYAML==3.12 requests==2.12.4 urllib3==1.19.1 Werkzeug==0.11.15
<|file_sep|>original/requirements.txt beautifulsoup4==4.5.1 certifi==2016.9.26 click==6.6 Flask==0.12 future==0.16.0 itsdangerous==0.24 Jinja2==2.8.1 MarkupSafe==0.23 python-telegram-bot==5.3.0 PyYAML==3.12 requests==2.12.4 urllib3==1.19.1 Werkzeug==0.11.15 <|file_sep|>current/requirements.txt beautifulsoup4==4.5.1 cer...
5bdf603afbf67c24e41584d4020fe71f99f6610f
requirements.txt
requirements.txt
Text
<|file_sep|>client/app/helpers.js.diff original: updated: displayPricePerUnit, <|file_sep|>original/client/app/helpers.js } if (price % 1 === 0) { return `$${price}`; } return `$${price.toFixed(2)}`; } function findTypeId(types, name) { let type = _.findWhere(types, { name }); return type && type....
price = Number(price); } if (price % 1 === 0) { return `$${price}`; } return `$${price.toFixed(2)}`; } function displayPricePerUnit(price, unit) { if (unit) { return `${displayPrice(price)} / ${unit}`; } return `${displayPrice(price)} / `; } function findTypeId(types, name) { let type =...
<|file_sep|>client/app/helpers.js.diff original: updated: displayPricePerUnit, <|file_sep|>original/client/app/helpers.js } if (price % 1 === 0) { return `$${price}`; } return `$${price.toFixed(2)}`; } function findTypeId(types, name) { let type = _.findWhere(types, { name }); return type && type....
71a5ceb81dad1e6c221fde0d23a1424c114ca791
client/app/helpers.js
client/app/helpers.js
JavaScript
<|file_sep|>original/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java <|file_sep|>current/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java <|file_sep|>updated/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
package jme3test.scene; import com.jme3.app.SimpleApplication; import com.jme3.material.Material; import com.jme3.scene.Geometry; import com.jme3.scene.Node; import com.jme3.scene.shape.Box; public class TestRefreshFlagBug extends SimpleApplication { private float time = 0; private boolean attached = false; ...
<|file_sep|>original/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java <|file_sep|>current/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java <|file_sep|>updated/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java package jme3test.scene; import com.jme3.app.SimpleAppli...
e19be328a79de757eb044a6fb096a28d9c1b72ad
jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
Java
<|file_sep|>original/server/server.js import webpackConfig from '../webpack.dev.babel'; import universalRender from './universalRender'; const PORT = process.env.PORT || 3000; // Initialize the Express App const app = new Express(); // Run Webpack dev server in development mode if (process.env.NODE_ENV === 'developm...
import webpackConfig from '../webpack.dev.babel'; import universalRender from './universalRender'; const PORT = process.env.PORT || 3000; // Initialize the Express App const app = new Express(); // Run Webpack dev server in development mode if (process.env.NODE_ENV === 'development') { require.extensions['.svg'] =...
<|file_sep|>original/server/server.js import webpackConfig from '../webpack.dev.babel'; import universalRender from './universalRender'; const PORT = process.env.PORT || 3000; // Initialize the Express App const app = new Express(); // Run Webpack dev server in development mode if (process.env.NODE_ENV === 'developm...
77baf7471184b0603f9ec0c93e040bd9b23d03ce
server/server.js
server/server.js
JavaScript
<|file_sep|>original/requirements.txt aioamqp==0.10.0 aiobotocore==0.4.4 aiohttp==2.2.5 appdirs==1.4.3 async-timeout==1.2.1 botocore==1.5.78 chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 docutils==0.14 jmespath==0.9.3 multidict==3.1.3 mypy==0.521 packaging==16.8 pep8==1.7.0 py==1.4.34 pyparsing==2.2.0 pytest==3.2.1 pyt...
aioamqp==0.10.0 aiobotocore==0.4.4 aiohttp==2.2.5 appdirs==1.4.3 async-timeout==1.3.0 botocore==1.5.78 chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 docutils==0.14 jmespath==0.9.3 multidict==3.1.3 mypy==0.521 packaging==16.8 pep8==1.7.0 py==1.4.34 pyparsing==2.2.0 pytest==3.2.1 pytest-cov==2.5.1 python-dateutil==2.6.1 ...
<|file_sep|>original/requirements.txt aioamqp==0.10.0 aiobotocore==0.4.4 aiohttp==2.2.5 appdirs==1.4.3 async-timeout==1.2.1 botocore==1.5.78 chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 docutils==0.14 jmespath==0.9.3 multidict==3.1.3 mypy==0.521 packaging==16.8 pep8==1.7.0 py==1.4.34 pyparsing==2.2.0 pytest==3.2.1 pyt...
67dc8f77430a472b85f48841028494d823633696
requirements.txt
requirements.txt
Text
<|file_sep|>original/AbstractFactory/php/tests/ListLinkTest.php use PHPUnit\Framework\TestCase as TestCase; require_once dirname(__DIR__) . '/listfactory/ListLink.php'; /** * AbstractFactory ListLink Test */ final class AbstractFactoryListLinkTest extends TestCase { public function testCreate() { $...
use PHPUnit\Framework\TestCase as TestCase; require_once dirname(__DIR__) . '/listfactory/ListLink.php'; /** * AbstractFactory ListLink Test */ final class AbstractFactoryListLinkTest extends TestCase { public function test_makeHTMLでフォーマット化されたHTMLを返す() { $expected = ''; $expected .= '<li>';...
<|file_sep|>original/AbstractFactory/php/tests/ListLinkTest.php use PHPUnit\Framework\TestCase as TestCase; require_once dirname(__DIR__) . '/listfactory/ListLink.php'; /** * AbstractFactory ListLink Test */ final class AbstractFactoryListLinkTest extends TestCase { public function testCreate() { $...
4320a318d476adb27203d8b763acc35ba0dc39d1
AbstractFactory/php/tests/ListLinkTest.php
AbstractFactory/php/tests/ListLinkTest.php
PHP
<|file_sep|>original/src/doc/unstable-book/src/library-features/format-args-capture.md <|file_sep|>current/src/doc/unstable-book/src/library-features/format-args-capture.md <|file_sep|>updated/src/doc/unstable-book/src/library-features/format-args-capture.md
# `format_args_capture` The tracking issue for this feature is: [#67984] [#67984]: https://github.com/rust-lang/rust/issues/67984 ------------------------ Enables `format_args!` (and macros which use `format_args!` in their implementation, such as `format!`, `print!` and `panic!`) to capture variables from the surr...
<|file_sep|>original/src/doc/unstable-book/src/library-features/format-args-capture.md <|file_sep|>current/src/doc/unstable-book/src/library-features/format-args-capture.md <|file_sep|>updated/src/doc/unstable-book/src/library-features/format-args-capture.md # `format_args_capture` The tracking issue for this featur...
a1217cb29de22aae3cda717e78d1edd3e9d8ffd1
src/doc/unstable-book/src/library-features/format-args-capture.md
src/doc/unstable-book/src/library-features/format-args-capture.md
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - '8' - '9' - '10' - 'node' before_install: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - '8' - '9' - '10' - 'node' before_install: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml
language: node_js node_js: - '8' - '9' - '10' - '11' - '12' before_install: - npm install -g grunt-cli
<|file_sep|>original/.travis.yml language: node_js node_js: - '8' - '9' - '10' - 'node' before_install: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - '8' - '9' - '10' - 'node' before_install: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml languag...
963b67dec3c75a754e37cfaf3f5699ee51305bb8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/cbio_client_test.py <|file_sep|>current/test/cbio_client_test.py <|file_sep|>updated/test/cbio_client_test.py
from bioagents import cbio_client def test_get_cancer_studies(): study_ids = cbio_client.get_cancer_studies('pancreatic') assert(len(study_ids) > 0) assert('paad_tcga' in study_ids) def test_get_cancer_types(): type_ids = cbio_client.get_cancer_types('lung') assert(len(type_ids) > 0) def test_get...
<|file_sep|>original/test/cbio_client_test.py <|file_sep|>current/test/cbio_client_test.py <|file_sep|>updated/test/cbio_client_test.py from bioagents import cbio_client def test_get_cancer_studies(): study_ids = cbio_client.get_cancer_studies('pancreatic') assert(len(study_ids) > 0) assert('paad_tcga' i...
4c4564c7e00adeb56f18a192f9544145d8512232
test/cbio_client_test.py
test/cbio_client_test.py
Python
<|file_sep|>original/demo/router-components/echo.tsx import app, { Component } from '../../index-jsx'; var model = 'world'; const Hello = ({name}) => <div>Hello: {name}</div>; const view = (val) => { return <div> <Hello name={val}/> <input value={val} oninput={function() { app.run('render', this.value)}}/>...
import app from '../../index-jsx'; var model = 'world'; const Hello = ({name}) => <div>Hello: {name}</div>; const view = (val) => { return <div> <Hello name={val}/> <input value={val} oninput={function() { app.run('render', this.value)}}/> </div> }; const update = { '#echo': (model, pushState) => push...
<|file_sep|>original/demo/router-components/echo.tsx import app, { Component } from '../../index-jsx'; var model = 'world'; const Hello = ({name}) => <div>Hello: {name}</div>; const view = (val) => { return <div> <Hello name={val}/> <input value={val} oninput={function() { app.run('render', this.value)}}/>...
12ccfab25a885a6c69685bb48dc783ecc358c86b
demo/router-components/echo.tsx
demo/router-components/echo.tsx
TypeScript
<|file_sep|>.travis.yml.diff original: updated: dist: trusty <|file_sep|>original/.travis.yml # Travis CI config # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ # https://docs.travis-ci.com/user/customizing-the-build/ # https://docs.travis-ci.com/user/migrating-from-legacy/ sudo: false language: no...
# Travis CI config # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ # https://docs.travis-ci.com/user/customizing-the-build/ # https://docs.travis-ci.com/user/migrating-from-legacy/ dist: trusty sudo: false language: node_js matrix: include: - node_js: 4 - node_js: 5 - node_js: 6 -...
<|file_sep|>.travis.yml.diff original: updated: dist: trusty <|file_sep|>original/.travis.yml # Travis CI config # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ # https://docs.travis-ci.com/user/customizing-the-build/ # https://docs.travis-ci.com/user/migrating-from-legacy/ sudo: false language: no...
2232bc2cab4462dd0a910e392d935031e942aa30
.travis.yml
.travis.yml
YAML
<|file_sep|>original/features/caching/README.md <|file_sep|>current/features/caching/README.md <|file_sep|>updated/features/caching/README.md
It would be better to install/upgrade Vim plugins as fast as possible. Since `vim-flavor` manages Vim plugins with Git, it has to clone each plugin's repository at first, and it also has to fetch changes from time to time. But network access is typically time-consuming. Therefore `vim-flavor` caches fetched stuffs. T...
<|file_sep|>original/features/caching/README.md <|file_sep|>current/features/caching/README.md <|file_sep|>updated/features/caching/README.md It would be better to install/upgrade Vim plugins as fast as possible. Since `vim-flavor` manages Vim plugins with Git, it has to clone each plugin's repository at first, and i...
8cd6c4fb733e1c9e5893baddb9465775d871a48e
features/caching/README.md
features/caching/README.md
Markdown
<|file_sep|>original/.travis.yml cache: directories: - $HOME/.m2 matrix: include: - os: linux sudo: false dist: trusty language: java jdk: oraclejdk8 - os: osx language: java osx_image: xcode9.2 notifications: email: - ben.alex@acegi.com.au - stoffe@gmail.com before_install: ...
cache: directories: - $HOME/.m2 matrix: include: - os: linux language: java jdk: oraclejdk8 - os: osx language: java osx_image: xcode9.2 notifications: email: - ben.alex@acegi.com.au - stoffe@gmail.com before_install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/us...
<|file_sep|>original/.travis.yml cache: directories: - $HOME/.m2 matrix: include: - os: linux sudo: false dist: trusty language: java jdk: oraclejdk8 - os: osx language: java osx_image: xcode9.2 notifications: email: - ben.alex@acegi.com.au - stoffe@gmail.com before_install: ...
5da571dee2a0c12160d155747ceeaf373c513f2e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Gruntfile.js reporter: "xunit", captureFile: testOutputLocation + "/mocha/results.xml", quiet: true } } }, mocha_istanbul: { coverage: { src: ["test/**/*.js"], ...
reporter: "xunit", captureFile: testOutputLocation + "/mocha/results.xml", quiet: true } } }, mocha_istanbul: { coverage: { src: ["test/**/*.js"], options: { ...
<|file_sep|>original/Gruntfile.js reporter: "xunit", captureFile: testOutputLocation + "/mocha/results.xml", quiet: true } } }, mocha_istanbul: { coverage: { src: ["test/**/*.js"], ...
cf3200a37bf58f26cf8ffe9f8650bd9d39bffbc5
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/app/helpers/application_helper.rb module ApplicationHelper def page_title(*title_parts) if title_parts.any? title_parts.push("Admin") if params[:controller] =~ /^admin\// title_parts.push("GOV.UK") @page_title = title_parts.reject(&:blank?).join(" - ") else @page_t...
module ApplicationHelper def page_title(*title_parts) title_parts.push("Admin") if params[:controller] =~ /^admin\// title_parts.push("GOV.UK") title_parts.reject(&:blank?).join(" - ") end def page_class(css_class) content_for(:page_class, css_class) end def govspeak(text) if text ...
<|file_sep|>original/app/helpers/application_helper.rb module ApplicationHelper def page_title(*title_parts) if title_parts.any? title_parts.push("Admin") if params[:controller] =~ /^admin\// title_parts.push("GOV.UK") @page_title = title_parts.reject(&:blank?).join(" - ") else @page_t...
06b9c804f9d0a0f9287baa069ff3a78666fd5eec
app/helpers/application_helper.rb
app/helpers/application_helper.rb
Ruby
<|file_sep|>original/core/spec/models/spree/wallet_payment_source_spec.rb require 'spec_helper' describe Spree::WalletPaymentSource, type: :model do subject { Spree::WalletPaymentSource } describe "validation" do it "is valid with a `credit_card` as `payment_source`" do valid_attrs = { payment_s...
require 'spec_helper' describe Spree::WalletPaymentSource, type: :model do subject { Spree::WalletPaymentSource } describe "validation" do context 'with a non-PaymentSource model' do with_model 'NonPaymentSource', scope: :all do model do # We have to set this up or else `inverse_of` pr...
<|file_sep|>original/core/spec/models/spree/wallet_payment_source_spec.rb require 'spec_helper' describe Spree::WalletPaymentSource, type: :model do subject { Spree::WalletPaymentSource } describe "validation" do it "is valid with a `credit_card` as `payment_source`" do valid_attrs = { payment_s...
588147580f2a285ecf72b9a7243e06e0352a82df
core/spec/models/spree/wallet_payment_source_spec.rb
core/spec/models/spree/wallet_payment_source_spec.rb
Ruby
<|file_sep|>original/deploy/staging/prison-visits-public-secrets.yaml GITCRYPT de{@{TnᘆHt"L0{`)3pŎ'l@48ȟ\P>I4F9RJ[ QP玎 ^8ip'^Ū&W92:ME#JLJMLtjtib Gy jO)#ǭp^$!+ALR[B@$MÊ?5( ŕMixZjM/1(>*U'ʽOVO|ks=v ?MɯI]0"yL0.dm if+EDKx>V$RFv1SdD \z ¶ڻƙ̂"}(^{XGkw9~M8V"# EAt6g" /3B%aޢٯ߭_IG }n><0...
GITCRYPTϷQζÉfx1XhQK Ef7VL۲Vr{dr כ=-f3)ݡZ k!ϟY`<t%؃IOgBB!רjԪWlݨ:ݍy< j96%HNƧSC&k2XboF+tgdR.}\sޑ}o :Crh Y.8 ~6in~{,!r[+riYIm֓bcy/=u[)|cI ?0s w}C@6!Դ +b|ThF;U0'Xi#ehb@#%e=N π pkXAqzL`25 ˦]O[w2;1,O`raQȪfkό!6?[*i;G4r 6&* gw7x[#ů+OeI>!/iqOR1+PUa |^Γ K2Pѿj"3r+{:...
<|file_sep|>original/deploy/staging/prison-visits-public-secrets.yaml GITCRYPT de{@{TnᘆHt"L0{`)3pŎ'l@48ȟ\P>I4F9RJ[ QP玎 ^8ip'^Ū&W92:ME#JLJMLtjtib Gy jO)#ǭp^$!+ALR[B@$MÊ?5( ŕMixZjM/1(>*U'ʽOVO|ks=v ?MɯI]0"yL0.dm if+EDKx>V$RFv1SdD \z ¶ڻƙ̂"}(^{XGkw9~M8V"# EAt6g" /3B%aޢٯ߭_IG }n><0...
5ebc911cdcdfe2570475436ff1a7e404ccf2616b
deploy/staging/prison-visits-public-secrets.yaml
deploy/staging/prison-visits-public-secrets.yaml
YAML
<|file_sep|>original/bin/mixedindentlint.js var files = args.filter( function( arg ) { return arg.substr( 0, 2 ) !== '--'; } ); if ( args[0] === '--version' ) { var version = require( '../package.json' ).version; console.log( 'mixedindentlint version ' + version ); process.exit( 0 ); } var messages = files.reduce...
var files = args.filter( function( arg ) { return arg.substr( 0, 2 ) !== '--'; } ); if ( args[0] === '--version' ) { var version = require( '../package.json' ).version; console.log( 'mixedindentlint version ' + version ); process.exit( 0 ); } if ( files.length < 1 ) { console.log( 'No files to lint' ); console....
<|file_sep|>original/bin/mixedindentlint.js var files = args.filter( function( arg ) { return arg.substr( 0, 2 ) !== '--'; } ); if ( args[0] === '--version' ) { var version = require( '../package.json' ).version; console.log( 'mixedindentlint version ' + version ); process.exit( 0 ); } var messages = files.reduce...
de67cae52aca9ecf2b91f0b5a9204642a123834c
bin/mixedindentlint.js
bin/mixedindentlint.js
JavaScript
<|file_sep|>original/src/condor_ckpt/condor_syscalls.h BOOL LocalSysCalls(); BOOL RemoteSysCalls(); BOOL MappingFileDescriptors(); int REMOTE_syscall( int syscall_num, ... ); #if 0 #if defined(AIX32) && defined(__cplusplus) int syscall( ... ); #elif defined(ULTRIX42) && defined(__cplusplus) int syscall( ... ); #else...
#if 0 #if defined(AIX32) && defined(__cplusplus) int syscall( ... ); #elif defined(ULTRIX42) && defined(__cplusplus) int syscall( ... ); #else int syscall( int, ... ); #endif #endif #if defined(OSF1) int syscall( int, ... ); #endif #if defined(__cplusplus) } #endif #endif
<|file_sep|>original/src/condor_ckpt/condor_syscalls.h BOOL LocalSysCalls(); BOOL RemoteSysCalls(); BOOL MappingFileDescriptors(); int REMOTE_syscall( int syscall_num, ... ); #if 0 #if defined(AIX32) && defined(__cplusplus) int syscall( ... ); #elif defined(ULTRIX42) && defined(__cplusplus) int syscall( ... ); #else...
7fa397ca3c0d036c835318c9214a9b7343dfcb8d
src/condor_ckpt/condor_syscalls.h
src/condor_ckpt/condor_syscalls.h
C
<|file_sep|>original/requirements.txt # Core packages django-dotenv==1.4.1 # Read environment variables from .env Flask==0.12.2 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past security update cssmin==0.2.0 # CSS minifi...
# Core packages django-dotenv==1.4.1 # Read environment variables from .env Flask==0.12.2 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past security update cssmin==0.2.0 # CSS minification uWSGI==2.0.15 # Applicat...
<|file_sep|>original/requirements.txt # Core packages django-dotenv==1.4.1 # Read environment variables from .env Flask==0.12.2 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past security update cssmin==0.2.0 # CSS minifi...
a047db70f03e77c954369e9481eb72e82d20b8b4
requirements.txt
requirements.txt
Text
<|file_sep|>original/states/common/syncthing/init.sls <|file_sep|>current/states/common/syncthing/init.sls <|file_sep|>updated/states/common/syncthing/init.sls
# Deploy syncthing service for primary user. ############################################################################### # [[[ {% if grains['os_platform_type'].startswith('rhel') or grains['os_platform_type'].startswith('fc') %} # TODO: Use this repository and installation steps (it seems the most popular): # htt...
<|file_sep|>original/states/common/syncthing/init.sls <|file_sep|>current/states/common/syncthing/init.sls <|file_sep|>updated/states/common/syncthing/init.sls # Deploy syncthing service for primary user. ############################################################################### # [[[ {% if grains['os_platform_...
c195899feda30f5dd2f5e1e076a16628e83b7634
states/common/syncthing/init.sls
states/common/syncthing/init.sls
SaltStack
<|file_sep|>original/VaadinatorTooling/VaadinatorGeneratorBase/src/main/java/de/akquinet/engineering/vaadinator/model/BeanArtifact.java <|file_sep|>current/VaadinatorTooling/VaadinatorGeneratorBase/src/main/java/de/akquinet/engineering/vaadinator/model/BeanArtifact.java <|file_sep|>updated/VaadinatorTooling/Vaadinato...
package de.akquinet.engineering.vaadinator.model; /** * Artifacts which are generated per bean. * * @author dve * */ public enum BeanArtifact { LIST_VIEW_IMPL, LIST_VIEW, LIST_PRES, LIST_PRES_IMPL, EDIT_VIEW_IMPL, EDIT_VIEW, EDIT_PRES, EDIT_PRES_IMPL, ADD_VIEW, ADD_VIEW_IMPL, ADD_PRES, ADD_PRES_IMPL, CHANGE_VIE...
<|file_sep|>original/VaadinatorTooling/VaadinatorGeneratorBase/src/main/java/de/akquinet/engineering/vaadinator/model/BeanArtifact.java <|file_sep|>current/VaadinatorTooling/VaadinatorGeneratorBase/src/main/java/de/akquinet/engineering/vaadinator/model/BeanArtifact.java <|file_sep|>updated/VaadinatorTooling/Vaadinato...
377b811c16bf33c590c6c99a512c2c7b86ac0626
VaadinatorTooling/VaadinatorGeneratorBase/src/main/java/de/akquinet/engineering/vaadinator/model/BeanArtifact.java
VaadinatorTooling/VaadinatorGeneratorBase/src/main/java/de/akquinet/engineering/vaadinator/model/BeanArtifact.java
Java
<|file_sep|>original/metadata/name.seguri.android.lock.txt Auto Name:Lock Summary:Lock the screen Description: Very fast shortcut to lock the screen (just launch the app). Realized for FAST launcher to be able to lock the screen searching for "lk" app (it will isolate this app as the only one containing "l" and "k" in...
Auto Name:Lock Summary:Lock the screen Description: Very fast shortcut to lock the screen (just launch the app). Realized for FAST launcher to be able to lock the screen searching for "lk" app (it will isolate this app as the only one containing "l" and "k" in its name). . Repo Type:git Repo:https://github.com/seguri...
<|file_sep|>original/metadata/name.seguri.android.lock.txt Auto Name:Lock Summary:Lock the screen Description: Very fast shortcut to lock the screen (just launch the app). Realized for FAST launcher to be able to lock the screen searching for "lk" app (it will isolate this app as the only one containing "l" and "k" in...
d9702a2ffeee55f12d33fb92e9523ebc1b770d5e
metadata/name.seguri.android.lock.txt
metadata/name.seguri.android.lock.txt
Text
<|file_sep|>composer.json.diff original: "illuminate/database": "~4.1 || ~5.0", updated: <|file_sep|>original/composer.json "email": "rougingutib@gmail.com", "homepage": "http://rougin.github.io", "role": "Developer" } ], "require": { "php": ">=5.3.0"...
"homepage": "http://rougin.github.io", "role": "Developer" } ], "require": { "php": ">=5.3.0", "http-interop/http-middleware": "~0.4", "rougin/slytherin": "dev-master", "symfony/console": "~2.8 || ~3.0", "vlucas/valitron": "~1.4" }, ...
<|file_sep|>composer.json.diff original: "illuminate/database": "~4.1 || ~5.0", updated: <|file_sep|>original/composer.json "email": "rougingutib@gmail.com", "homepage": "http://rougin.github.io", "role": "Developer" } ], "require": { "php": ">=5.3.0"...
df7e308361b974c461f0258b2779b0d40e907d39
composer.json
composer.json
JSON
<|file_sep|>original/app/App_Resources/Android/values/strings.xml <|file_sep|>current/app/App_Resources/Android/values/strings.xml <|file_sep|>updated/app/App_Resources/Android/values/strings.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Groceries</string> <string name="title_activity_kimera">Groceries</string> </resources>
<|file_sep|>original/app/App_Resources/Android/values/strings.xml <|file_sep|>current/app/App_Resources/Android/values/strings.xml <|file_sep|>updated/app/App_Resources/Android/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Groceries</string> <string name="title_...
5590d51662edda06fb35a563c79181235d67641b
app/App_Resources/Android/values/strings.xml
app/App_Resources/Android/values/strings.xml
XML
<|file_sep|>original/.travis.yml before_install: - if [[ `gem -v` != 1.8.* ]]; then gem update --system; fi script: "script/test_all 2>&1 && bin/rake cucumber --trace 2>&1" bundler_args: "--binstubs" rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree - jruby <|file_sep|>current/.travis.yml before_install: - if [[ `gem -v...
before_install: - if [[ `gem -v` != 1.8.* ]]; then gem update --system; fi script: "script/test_all 2>&1 && bin/rake cucumber --trace 2>&1" bundler_args: "--binstubs" rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode matrix: allow_failures: - rvm: rbx-18m...
<|file_sep|>original/.travis.yml before_install: - if [[ `gem -v` != 1.8.* ]]; then gem update --system; fi script: "script/test_all 2>&1 && bin/rake cucumber --trace 2>&1" bundler_args: "--binstubs" rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree - jruby <|file_sep|>current/.travis.yml before_install: - if [[ `gem -v...
e0524195f1eca333bad8536b996fd340b4aa4387
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/prod.txt -r base.txt brotli==1.0.1 gunicorn==19.7.1 whitenoise==3.3.1 psycopg2-binary==2.7.4 <|file_sep|>current/requirements/prod.txt -r base.txt brotli==1.0.1 gunicorn==19.7.1 whitenoise==3.3.1 psycopg2-binary==2.7.4 <|file_sep|>updated/requirements/prod.txt
-r base.txt brotli==1.0.4 gunicorn==19.7.1 whitenoise==3.3.1 psycopg2-binary==2.7.4
<|file_sep|>original/requirements/prod.txt -r base.txt brotli==1.0.1 gunicorn==19.7.1 whitenoise==3.3.1 psycopg2-binary==2.7.4 <|file_sep|>current/requirements/prod.txt -r base.txt brotli==1.0.1 gunicorn==19.7.1 whitenoise==3.3.1 psycopg2-binary==2.7.4 <|file_sep|>updated/requirements/prod.txt -r base.txt brotli==1.0.4...
2f5794995d9675283c2b3dba4b7680771820635d
requirements/prod.txt
requirements/prod.txt
Text
<|file_sep|>original/requirements.txt # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.52 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests cssselect==1.0.3 docutils==0.13.1 # via botocore idna==2.5 ...
# pip-compile --output-file requirements.txt requirements.in # boto3==1.7.52 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests cssselect==1.0.3 docutils==0.13.1 # via botocore idna==2.5 # via requests jinja2==2...
<|file_sep|>original/requirements.txt # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.52 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests cssselect==1.0.3 docutils==0.13.1 # via botocore idna==2.5 ...
6b0e8f6a55f94fb57ecd83c688727bb4186413e1
requirements.txt
requirements.txt
Text
<|file_sep|>lib/juicer/command/cat.rb.diff original: updated: DESC = "Resolve dependencies and concatenate files" <|file_sep|>original/lib/juicer/command/cat.rb module Command class Cat include Juicer::Loggable attr_reader :output, :type def initialize(args = nil) args = args.spl...
module Command class Cat include Juicer::Loggable attr_reader :output, :type DESC = "Resolve dependencies and concatenate files" def initialize(args = nil) args = args.split(" ") if args.is_a?(String) opts = Trollop::options(args || []) do banner DESC ...
<|file_sep|>lib/juicer/command/cat.rb.diff original: updated: DESC = "Resolve dependencies and concatenate files" <|file_sep|>original/lib/juicer/command/cat.rb module Command class Cat include Juicer::Loggable attr_reader :output, :type def initialize(args = nil) args = args.spl...
791cf17982f4202bf18206285cd6332ef5a4ca82
lib/juicer/command/cat.rb
lib/juicer/command/cat.rb
Ruby
<|file_sep|>original/docs/lab_project_browse.md View project in a browser ``` lab project browse [remote] [flags] ``` ### Examples ``` lab mr browse origin ``` ### Options ``` -h, --help help for browse ``` ### Options inherited from parent commands <|file_sep|>current/docs/lab_project_browse.md View proje...
View project in a browser ``` lab project browse [remote] [flags] ``` ### Examples ``` lab project browse origin ``` ### Options ``` -h, --help help for browse ``` ### Options inherited from parent commands
<|file_sep|>original/docs/lab_project_browse.md View project in a browser ``` lab project browse [remote] [flags] ``` ### Examples ``` lab mr browse origin ``` ### Options ``` -h, --help help for browse ``` ### Options inherited from parent commands <|file_sep|>current/docs/lab_project_browse.md View proje...
e7a4b5ed857da51ff99d7bd256e90469d29ba0c5
docs/lab_project_browse.md
docs/lab_project_browse.md
Markdown
<|file_sep|>original/.travis.yml # command to install dependencies install: - pip install coverage --use-mirrors - pip install coveralls --use-mirrors - pip install pep8 --use-mirrors # command to run tests # require 100% coverage (not including test files) to pass Travis CI test # To skip pypy: - if [[ $...
# command to install dependencies install: - pip install coverage --use-mirrors - pip install coveralls --use-mirrors - pip install pep8 --use-mirrors # command to run tests # require 100% coverage (not including test files) to pass Travis CI test # To skip pypy: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]...
<|file_sep|>original/.travis.yml # command to install dependencies install: - pip install coverage --use-mirrors - pip install coveralls --use-mirrors - pip install pep8 --use-mirrors # command to run tests # require 100% coverage (not including test files) to pass Travis CI test # To skip pypy: - if [[ $...
095ef59783fd1eb0c4da366a3d73fb71d83649e9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/atomic/__init__.py from .atomic_data import AtomicData from .collisional_radiative import CollRadEquilibrium from .time_dependent_rates import RateEquations, RateEquationsWithDiffusion from .radiation import Radiation from .electron_cooling import ElectronCooling element = AtomicData.from_element ...
import os, sys sys.path.append(os.path.join(os.path.dirname(__file__))) from .atomic_data import AtomicData from .collisional_radiative import CollRadEquilibrium from .time_dependent_rates import RateEquations, RateEquationsWithDiffusion from .radiation import Radiation from .electron_cooling import ElectronCooling el...
<|file_sep|>original/atomic/__init__.py from .atomic_data import AtomicData from .collisional_radiative import CollRadEquilibrium from .time_dependent_rates import RateEquations, RateEquationsWithDiffusion from .radiation import Radiation from .electron_cooling import ElectronCooling element = AtomicData.from_element ...
43662a6417a9d589bac2ab49e5b9b5441adf1115
atomic/__init__.py
atomic/__init__.py
Python
<|file_sep|>original/nopassword.gemspec # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "nopassword" s.version = Nopassword::VERSION s.authors = ["Alex Smolen"] s.email = ["me@alexsmolen.com"] s.homepage = "https://github.com/alsmola/nopassword"...
# Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "nopassword" s.version = Nopassword::VERSION s.authors = ["Alex Smolen"] s.email = ["me@alexsmolen.com"] s.homepage = "https://github.com/alsmola/nopassword" s.summary = "NoPassword is a simp...
<|file_sep|>original/nopassword.gemspec # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "nopassword" s.version = Nopassword::VERSION s.authors = ["Alex Smolen"] s.email = ["me@alexsmolen.com"] s.homepage = "https://github.com/alsmola/nopassword"...
ac714a5773b91e85188faf061136e18a89365331
nopassword.gemspec
nopassword.gemspec
Ruby
<|file_sep|>original/app/views/tasuku/taskables/_illustration.html.erb <% if request.image? %> <div class="image"><%= image_tag request.image %></div> <% end %> <% if request.video_id %> <div class="video"><%= embed_video(request, '100%', '100%') %></div> <% end %> <|file_sep|>current/app/views/tasuku/taskables/_i...
<% if request.image? %> <div class="image"><%= image_tag request.image %></div> <% end %> <% if request.video? %> <div class="video"><%= embed_video(request, '100%', '100%') %></div> <% end %>
<|file_sep|>original/app/views/tasuku/taskables/_illustration.html.erb <% if request.image? %> <div class="image"><%= image_tag request.image %></div> <% end %> <% if request.video_id %> <div class="video"><%= embed_video(request, '100%', '100%') %></div> <% end %> <|file_sep|>current/app/views/tasuku/taskables/_i...
a8d00891189bbab038e082076dd3f2edc28c6576
app/views/tasuku/taskables/_illustration.html.erb
app/views/tasuku/taskables/_illustration.html.erb
HTML+ERB
<|file_sep|>original/CMake/PackageDepends/MITK_Qt5_Config.cmake find_package(Qt5 COMPONENTS ${Qt5_REQUIRED_COMPONENTS_BY_MODULE} REQUIRED QUIET) foreach(_component ${Qt5_REQUIRED_COMPONENTS_BY_MODULE}) list(APPEND ALL_LIBRARIES ${Qt5${_component}_LIBRARIES}) endforeach() <|file_sep|>current/CMake/PackageDepends/MITK_...
find_package(Qt5 COMPONENTS ${Qt5_REQUIRED_COMPONENTS_BY_MODULE} REQUIRED QUIET) foreach(qt5_component ${Qt5_REQUIRED_COMPONENTS_BY_MODULE}) list(APPEND ALL_LIBRARIES Qt5::${qt5_component}) endforeach()
<|file_sep|>original/CMake/PackageDepends/MITK_Qt5_Config.cmake find_package(Qt5 COMPONENTS ${Qt5_REQUIRED_COMPONENTS_BY_MODULE} REQUIRED QUIET) foreach(_component ${Qt5_REQUIRED_COMPONENTS_BY_MODULE}) list(APPEND ALL_LIBRARIES ${Qt5${_component}_LIBRARIES}) endforeach() <|file_sep|>current/CMake/PackageDepends/MITK_...
5ab8273f7517d9d79b145b5996f563809ae9947e
CMake/PackageDepends/MITK_Qt5_Config.cmake
CMake/PackageDepends/MITK_Qt5_Config.cmake
CMake
<|file_sep|>original/src/test/scala/controllers/graphql/GraphQLControllerSpec.scala <|file_sep|>current/src/test/scala/controllers/graphql/GraphQLControllerSpec.scala <|file_sep|>updated/src/test/scala/controllers/graphql/GraphQLControllerSpec.scala
package controllers.graphql import akka.http.scaladsl.model.{HttpEntity, MediaTypes, StatusCodes} import akka.http.scaladsl.server.Route import akka.http.scaladsl.testkit.ScalatestRouteTest import akka.util.ByteString import models.counter.Counter import org.scalatest.{Matchers, WordSpec} import spray.json._ import ut...
<|file_sep|>original/src/test/scala/controllers/graphql/GraphQLControllerSpec.scala <|file_sep|>current/src/test/scala/controllers/graphql/GraphQLControllerSpec.scala <|file_sep|>updated/src/test/scala/controllers/graphql/GraphQLControllerSpec.scala package controllers.graphql import akka.http.scaladsl.model.{HttpEn...
abf9cf6033f27a6895d0583a01042d4ad4bddf3e
src/test/scala/controllers/graphql/GraphQLControllerSpec.scala
src/test/scala/controllers/graphql/GraphQLControllerSpec.scala
Scala
<|file_sep|>original/config/local.php.jinja 'port' => 6379, // The number of files that can be stored in Redis. 'size' => 30, ), ), 'log' => [ 'path' => '{{pillar['apps']['opg-lpa-pdf']['log-dir']}}/application.log', 'sentry-uri' => '{{pillar['opg-...
'port' => 6379, // The number of files that can be stored in Redis. 'size' => 30, ), ), 'log' => [ 'path' => '{{pillar['apps']['opg-lpa-pdf2']['log-dir']}}/application.log', 'sentry-uri' => '{{pillar['opg-lpa']['sentry']['api-uri']}}', ], // lo...
<|file_sep|>original/config/local.php.jinja 'port' => 6379, // The number of files that can be stored in Redis. 'size' => 30, ), ), 'log' => [ 'path' => '{{pillar['apps']['opg-lpa-pdf']['log-dir']}}/application.log', 'sentry-uri' => '{{pillar['opg-...
1dc1ff27758399a7436e844c071a12cc78bade7b
config/local.php.jinja
config/local.php.jinja
HTML+Django
<|file_sep|>original/README.md # CapTalk This project contains an example application to be deployed with Capistrano. Please be aware that this project is setup to run in a very specific and contained environment. It only purpose is to demonstrate the capabilities of Capistrano. The slides for the talk can be found [...
# CapTalk This project contains an example application to be deployed with Capistrano. Please be aware that this project is setup to run in a very specific and contained environment. It only purpose is to demonstrate the capabilities of Capistrano. The slides for the talk can be found [here](https://docs.google.com/a...
<|file_sep|>original/README.md # CapTalk This project contains an example application to be deployed with Capistrano. Please be aware that this project is setup to run in a very specific and contained environment. It only purpose is to demonstrate the capabilities of Capistrano. The slides for the talk can be found [...
8b26ef649586f418fce667b8ed38de2a1d8a96b0
README.md
README.md
Markdown
<|file_sep|>original/CERR_core/Contouring/models/heart/test/test.py <|file_sep|>current/CERR_core/Contouring/models/heart/test/test.py <|file_sep|>updated/CERR_core/Contouring/models/heart/test/test.py
#Test script for heart container testing if all the imports are successful import sys import os import numpy as np import h5py import fnmatch from modeling.sync_batchnorm.replicate import patch_replication_callback from modeling.deeplab import * from torchvision.utils import make_grid from dataloaders.utils import dec...
<|file_sep|>original/CERR_core/Contouring/models/heart/test/test.py <|file_sep|>current/CERR_core/Contouring/models/heart/test/test.py <|file_sep|>updated/CERR_core/Contouring/models/heart/test/test.py #Test script for heart container testing if all the imports are successful import sys import os import numpy as np ...
e9f2e966361d8a23c83fbbbb4a4b3d4046203a16
CERR_core/Contouring/models/heart/test/test.py
CERR_core/Contouring/models/heart/test/test.py
Python
<|file_sep|>original/lib/rr/core_ext/regexp.rb class Regexp def wildcard_match?(other) self == other || !!(other.is_a?(String) && other =~ self) end alias :eql? :== end <|file_sep|>current/lib/rr/core_ext/regexp.rb class Regexp def wildcard_match?(other) self == other || !!(other.is_a?(String) ...
class Regexp def wildcard_match?(other) self == other || !!(other.is_a?(String) && other =~ self) end alias_method :eql?, :== end
<|file_sep|>original/lib/rr/core_ext/regexp.rb class Regexp def wildcard_match?(other) self == other || !!(other.is_a?(String) && other =~ self) end alias :eql? :== end <|file_sep|>current/lib/rr/core_ext/regexp.rb class Regexp def wildcard_match?(other) self == other || !!(other.is_a?(String) ...
a4cf91f2c436ea19a7b7e984491951e1e2f29127
lib/rr/core_ext/regexp.rb
lib/rr/core_ext/regexp.rb
Ruby
<|file_sep|>original/src/main/kotlin/simulator/impl/SLT.kt import venus.simulator.SimulatorState import venus.simulator.DispatchTest import venus.simulator.FieldTest import venus.simulator.InstructionImplementation object SLT { val implementation = object: InstructionImplementation { override operator fun ...
import venus.simulator.SimulatorState import venus.simulator.DispatchTest import venus.simulator.FieldTest import venus.simulator.InstructionImplementation object SLT { val implementation = object: InstructionImplementation { override operator fun invoke(inst: Instruction, state: SimulatorState) { ...
<|file_sep|>original/src/main/kotlin/simulator/impl/SLT.kt import venus.simulator.SimulatorState import venus.simulator.DispatchTest import venus.simulator.FieldTest import venus.simulator.InstructionImplementation object SLT { val implementation = object: InstructionImplementation { override operator fun ...
954bba2fc4dc497c343fcb938c51f1bcfb783c7d
src/main/kotlin/simulator/impl/SLT.kt
src/main/kotlin/simulator/impl/SLT.kt
Kotlin
<|file_sep|>original/skills/streamcheck.ts const api = new Twitch(Constants.TWITCH_CLIENT_ID, Constants.TWITCH_CLIENT_SECRET, user.twitch_token); try { const streams = await api.listFollowerStreams({}); const responses: string[] = []; if (streams...
const api = new Twitch(Constants.TWITCH_CLIENT_ID, Constants.TWITCH_CLIENT_SECRET, user.twitch_token); try { const streams = await api.listFollowerStreams({}); const responses: string[] = []; if (streams._total === 0) { respon...
<|file_sep|>original/skills/streamcheck.ts const api = new Twitch(Constants.TWITCH_CLIENT_ID, Constants.TWITCH_CLIENT_SECRET, user.twitch_token); try { const streams = await api.listFollowerStreams({}); const responses: string[] = []; if (streams...
df3a0e7670d601f81c6a4020cc4d7fb3cf4eee13
skills/streamcheck.ts
skills/streamcheck.ts
TypeScript
<|file_sep|>original/pubspec.yaml name: built_collection version: 3.1.0 description: > Immutable collections using the builder pattern. authors: - David Morgan <davidmorgan@google.com> - Matan Lurey <matanl@google.com> - Philipp Schiffmann <philippschiffmann93@gmail.com> homepage: https://github.com/google/built_coll...
name: built_collection version: 3.1.0 description: > Immutable collections using the builder pattern. authors: - David Morgan <davidmorgan@google.com> - Matan Lurey <matanl@google.com> - Philipp Schiffmann <philippschiffmann93@gmail.com> homepage: https://github.com/google/built_collection.dart environment: sdk: '...
<|file_sep|>original/pubspec.yaml name: built_collection version: 3.1.0 description: > Immutable collections using the builder pattern. authors: - David Morgan <davidmorgan@google.com> - Matan Lurey <matanl@google.com> - Philipp Schiffmann <philippschiffmann93@gmail.com> homepage: https://github.com/google/built_coll...
b3248419c0fa919bfdaeecea17afca3f62377bb6
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/app/src/lib/stores/helpers/onboarding-tutorial.ts } isReadmeEdited() { return false } hasCommit() { return false } commitPushed() { return false } pullRequestCreated() { if (this.skipCreatePR) { return true } return false } } <|file_sep|>current/a...
} commitPushed() { return false } pullRequestCreated() { if (this.skipCreatePR) { return true } return false } skipEditorInstall() { this.skipEditorInstall = true } skipCreatePR() { this.skipCreatePR = true } }
<|file_sep|>original/app/src/lib/stores/helpers/onboarding-tutorial.ts } isReadmeEdited() { return false } hasCommit() { return false } commitPushed() { return false } pullRequestCreated() { if (this.skipCreatePR) { return true } return false } } <|file_sep|>current/a...
ea9677a9d9ad6eafcd776ff52e8ffce13b58189c
app/src/lib/stores/helpers/onboarding-tutorial.ts
app/src/lib/stores/helpers/onboarding-tutorial.ts
TypeScript
<|file_sep|>original/app/feed/model.js license_redistribute: DS.attr('string'), last_sha1: DS.attr('string'), last_fetched_at: DS.attr('string'), last_imported_at: DS.attr('string'), created_at: DS.attr('date'), updated_at: DS.attr('date'), geometry: DS.attr(), tags: DS.attr(), addOperator: function(operato...
last_sha1: DS.attr('string'), last_fetched_at: DS.attr('string'), last_imported_at: DS.attr('string'), created_at: DS.attr('date'), updated_at: DS.attr('date'), geometry: DS.attr(), tags: DS.attr(), addOperator: function(operator) { this.get('operators').createRecord({ id: operator.onestop_id, ...
<|file_sep|>original/app/feed/model.js license_redistribute: DS.attr('string'), last_sha1: DS.attr('string'), last_fetched_at: DS.attr('string'), last_imported_at: DS.attr('string'), created_at: DS.attr('date'), updated_at: DS.attr('date'), geometry: DS.attr(), tags: DS.attr(), addOperator: function(operato...
d31252d2335c1f4a66a27e068fc32c87ed2b52e2
app/feed/model.js
app/feed/model.js
JavaScript
<|file_sep|>original/app/helpers/sandbox_helper.rb module SandboxHelper def download_and_submit content_tag(:div, nil, class: 'download-and-submit') do content_tag(:div, nil, class: 'download-report') do content_tag(:i, nil, class: 'fa fa-download') + link_to(t('download_report_on_errors'), ...
module SandboxHelper def download_and_submit content_tag(:div, nil, class: 'download-and-submit') do content_tag(:div, nil, class: 'download-report') do content_tag(:i, nil, class: 'fa fa-download') + link_to(t('download_report_on_errors'), download_error_report_path, class: 'bold') en...
<|file_sep|>original/app/helpers/sandbox_helper.rb module SandboxHelper def download_and_submit content_tag(:div, nil, class: 'download-and-submit') do content_tag(:div, nil, class: 'download-report') do content_tag(:i, nil, class: 'fa fa-download') + link_to(t('download_report_on_errors'), ...
6bf4c0f1f367273b837ff39dc3e831c564bbaf0d
app/helpers/sandbox_helper.rb
app/helpers/sandbox_helper.rb
Ruby
<|file_sep|>original/paper/text_files/5.2_discussion_of_future_work.tex % TeX file: 5.2 Discussion of Future Work \par One idea that arose during the preliminary stages of the project that has now become a work currently in progress is the implementation of support vector machines. A support vector machine is a powerfu...
% TeX file: 5.2 Discussion of Future Work \par One idea that arose during the preliminary stages of the project that has now become a work currently in progress is the implementation of support vector machines. A support vector machine is a powerful algorithm used for prediction in machine learning, often for classific...
<|file_sep|>original/paper/text_files/5.2_discussion_of_future_work.tex % TeX file: 5.2 Discussion of Future Work \par One idea that arose during the preliminary stages of the project that has now become a work currently in progress is the implementation of support vector machines. A support vector machine is a powerfu...
a41fcd6b2c264d1e2ad1ba49cdff2b2c8ce3ca32
paper/text_files/5.2_discussion_of_future_work.tex
paper/text_files/5.2_discussion_of_future_work.tex
TeX
<|file_sep|>original/custom/icds/tests/test_views.py <|file_sep|>current/custom/icds/tests/test_views.py <|file_sep|>updated/custom/icds/tests/test_views.py
from __future__ import absolute_import from django.test import TestCase from django.test.utils import override_settings from django.urls import reverse class TestViews(TestCase): @override_settings(CUSTOM_LANDING_TEMPLATE='icds/login.html') def test_custom_login(self): response = self.client.get(rever...
<|file_sep|>original/custom/icds/tests/test_views.py <|file_sep|>current/custom/icds/tests/test_views.py <|file_sep|>updated/custom/icds/tests/test_views.py from __future__ import absolute_import from django.test import TestCase from django.test.utils import override_settings from django.urls import reverse class T...
d67d5fc6de19f2a1191e7289fcf8b96116eb1cf9
custom/icds/tests/test_views.py
custom/icds/tests/test_views.py
Python
<|file_sep|>original/spec/fixtures/bitbucket_cloud_api/oauth2_response.json <|file_sep|>current/spec/fixtures/bitbucket_cloud_api/oauth2_response.json <|file_sep|>updated/spec/fixtures/bitbucket_cloud_api/oauth2_response.json
HTTP/1.1 200 OK { "access_token": "a_token", "scopes": "pullrequest:write", "expires_in": 7200, "refresh_token": "a_refresh", "token_type": "bearer" }
<|file_sep|>original/spec/fixtures/bitbucket_cloud_api/oauth2_response.json <|file_sep|>current/spec/fixtures/bitbucket_cloud_api/oauth2_response.json <|file_sep|>updated/spec/fixtures/bitbucket_cloud_api/oauth2_response.json HTTP/1.1 200 OK { "access_token": "a_token", "scopes": "pullrequest:write", "expires_...
322ba0bb859a22dc2e77c19efbb50721f522e6b3
spec/fixtures/bitbucket_cloud_api/oauth2_response.json
spec/fixtures/bitbucket_cloud_api/oauth2_response.json
JSON
<|file_sep|>original/composer.json { "name": "akeneo/batch-bundle", "type": "symfony-bundle", "description": "Akeneo Batch Bundle", "keywords": ["Akeneo", "Batch", "Job", "Reader", "Writer", "Processor"], "license": "MIT", "require": { "php": ">=5.3.3", "symfony/symfony": ">=2.1"...
{ "name": "akeneo/batch-bundle", "type": "symfony-bundle", "description": "Akeneo Batch Bundle", "keywords": ["Akeneo", "Batch", "Job", "Reader", "Writer", "Processor"], "license": "MIT", "require": { "php": ">=5.4.4", "symfony/symfony": ">=2.1", "doctrine/orm": ">=2.1.3"...
<|file_sep|>original/composer.json { "name": "akeneo/batch-bundle", "type": "symfony-bundle", "description": "Akeneo Batch Bundle", "keywords": ["Akeneo", "Batch", "Job", "Reader", "Writer", "Processor"], "license": "MIT", "require": { "php": ">=5.3.3", "symfony/symfony": ">=2.1"...
8705edef64f96a150d544887a94c5231efc23bf7
composer.json
composer.json
JSON
<|file_sep|>website/app/components/project/processes/mc-project-processes.component.js.diff original: MCProjectProcessesComponentController.$inject = ["project", "$stateParams"]; function MCProjectProcessesComponentController(project, $stateParams) { updated: MCProjectProcessesComponentController.$inject = ...
module.component('mcProjectProcesses', { templateUrl: 'components/project/processes/mc-project-processes.html', controller: 'MCProjectProcessesComponentController' }); module.controller('MCProjectProcessesComponentController', MCProjectProcessesComponentController); MCProjectProcessesCo...
<|file_sep|>website/app/components/project/processes/mc-project-processes.component.js.diff original: MCProjectProcessesComponentController.$inject = ["project", "$stateParams"]; function MCProjectProcessesComponentController(project, $stateParams) { updated: MCProjectProcessesComponentController.$inject = ...
dca31a84fd3ff04258907f5c8474c5576b224d9f
website/app/components/project/processes/mc-project-processes.component.js
website/app/components/project/processes/mc-project-processes.component.js
JavaScript
<|file_sep|>phpunit.xml.diff original: <coverage processUncoveredFiles="true"> <include> updated: <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <|file_sep|>original/phpunit.xml <testsuites> <testsuite name="Package Test Suite"> <directory suffix=".php">./...
<testsuites> <testsuite name="Package Test Suite"> <directory suffix=".php">./tests/</directory> </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <directory suffix=".php">./src/PanelTraits/</directory> <file...
<|file_sep|>phpunit.xml.diff original: <coverage processUncoveredFiles="true"> <include> updated: <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <|file_sep|>original/phpunit.xml <testsuites> <testsuite name="Package Test Suite"> <directory suffix=".php">./...
35c3c548d0ce5ea42cd190871b34c6ad3fc98808
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.5.1 before_script: - mkdir ~/.task - echo data.location=~/.task > ~/.taskrc before_install: - sudo apt-get update - sudo apt-get install task - sudo apt-get install graphviz # https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-377680126 ...
language: ruby rvm: - 2.5.3 before_script: - mkdir ~/.task - echo data.location=~/.task > ~/.taskrc before_install: - sudo apt-get update - sudo apt-get install task - sudo apt-get install graphviz # https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-377680126 - gem install bundler
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.5.1 before_script: - mkdir ~/.task - echo data.location=~/.task > ~/.taskrc before_install: - sudo apt-get update - sudo apt-get install task - sudo apt-get install graphviz # https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-377680126 ...
98461c49460bc0243784cc0caa1686f73b2c01c1
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/devise/mailer/reset_password_instructions.en.html.slim.diff original: - if @resource.name.present? p Greetings, #{@resource.name}! - else p Greetings p Forgot your password? No worries! You can reset your password here: updated: p Greetings, p Forgot your password? No worries, you can reset i...
p Greetings, p Forgot your password? No worries, you can reset it here: p strong = link_to 'Reset my password', edit_password_url(@resource, reset_password_token: @token) p | All the best, br | The #{Configuration[:company_name]} Team
<|file_sep|>app/views/devise/mailer/reset_password_instructions.en.html.slim.diff original: - if @resource.name.present? p Greetings, #{@resource.name}! - else p Greetings p Forgot your password? No worries! You can reset your password here: updated: p Greetings, p Forgot your password? No worries, you can reset i...
e6d598e21cc73c00059af47eba72343a2d4a2609
app/views/devise/mailer/reset_password_instructions.en.html.slim
app/views/devise/mailer/reset_password_instructions.en.html.slim
Slim
<|file_sep|>Assets/Teak/Editor/TeakPreProcessDefiner.cs.diff original: updated: using System.Collections.Generic; <|file_sep|>original/Assets/Teak/Editor/TeakPreProcessDefiner.cs public int callbackOrder { get { return 0; } } public static readonly string[] TeakDefines = new string[] { "TEAK_2_0_OR_NEWER" }; ...
public int callbackOrder { get { return 0; } } public static readonly string[] TeakDefines = new string[] { "TEAK_2_0_OR_NEWER" }; #if UNITY_2018_1_OR_NEWER public void OnPreprocessBuild(BuildReport report) { SetTeakPreprocesorDefines(report.summary.platformGroup); } #else public void OnPr...
<|file_sep|>Assets/Teak/Editor/TeakPreProcessDefiner.cs.diff original: updated: using System.Collections.Generic; <|file_sep|>original/Assets/Teak/Editor/TeakPreProcessDefiner.cs public int callbackOrder { get { return 0; } } public static readonly string[] TeakDefines = new string[] { "TEAK_2_0_OR_NEWER" }; ...
377039400fa0456f15382a024020d43d061fc9ae
Assets/Teak/Editor/TeakPreProcessDefiner.cs
Assets/Teak/Editor/TeakPreProcessDefiner.cs
C#
<|file_sep|>original/SUMMARY.md # Summary * [Basics](basics/README.md) * [Comments](basics/comments.md) * [Variables](basics/variables.md) * [Types](basics/types.md) * [Numbers](numbers/README.md) * [Creation](numbers/create.md) * [Basic Operators](numbers/operators.md) * [Advanced Operators](n...
# Summary * [Basics](basics/README.md) * [Comments](basics/comments.md) * [Variables](basics/variables.md) * [Types](basics/types.md) * [Numbers](numbers/README.md) * [Creation](numbers/create.md) * [Basic Operators](numbers/operators.md) * [Advanced Operators](numbers/advanced.md) * [Strings](...
<|file_sep|>original/SUMMARY.md # Summary * [Basics](basics/README.md) * [Comments](basics/comments.md) * [Variables](basics/variables.md) * [Types](basics/types.md) * [Numbers](numbers/README.md) * [Creation](numbers/create.md) * [Basic Operators](numbers/operators.md) * [Advanced Operators](n...
775c52077b5a2fa9f3c59c888b135456423c1ef3
SUMMARY.md
SUMMARY.md
Markdown
<|file_sep|>original/superstatic.json ] }, { "source" : "404.html", "headers" : [ { "key" : "Cache-Control", "value" : "max-age=300" } ] } ], "redirects": [ { "source": "/firebase/*", "destination":"https://www.firebase.com", ...
"headers" : [ { "key" : "Cache-Control", "value" : "max-age=300" } ] } ], "redirects": [ { "source": "/firebase/*", "destination":"https://www.firebase.com", "type": 302 } ], "root": "dist", "routes": { "**:" "index.html" }, ...
<|file_sep|>original/superstatic.json ] }, { "source" : "404.html", "headers" : [ { "key" : "Cache-Control", "value" : "max-age=300" } ] } ], "redirects": [ { "source": "/firebase/*", "destination":"https://www.firebase.com", ...
94c766597c3c40ab08128d6944736e32edaf8d61
superstatic.json
superstatic.json
JSON
<|file_sep|>original/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt sphinx==1.8.3 sphinx_rtd_theme==0.4.2 <|file_sep|>current/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt s...
# ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt sphinx==1.8.4 sphinx_rtd_theme==0.4.2
<|file_sep|>original/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt sphinx==1.8.3 sphinx_rtd_theme==0.4.2 <|file_sep|>current/requirements/docs.txt # ulid/requirements/docs.txt # # Requirements for generating package documentation. -r base.txt s...
6e08ff8da5b9a223a224d8a2bbe7b3bfd8954861
requirements/docs.txt
requirements/docs.txt
Text
<|file_sep|>original/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.rembx.android.sfquizz" android:versionName="1.6.1" android:versionCode="19"> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"> </...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.rembx.android.sfquizz" android:versionName="1.7" android:versionCode="20"> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"> </uses-sdk> <supports-screens android:smallSc...
<|file_sep|>original/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.rembx.android.sfquizz" android:versionName="1.6.1" android:versionCode="19"> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"> </...
2a1c69d904644ef4aba6d756a5d0e4ae7e4f123e
AndroidManifest.xml
AndroidManifest.xml
XML
<|file_sep|>original/ide/tool/drone_io.sh # Setup the build environment. pub get # Build the archive. if test x$DRONE_BRANCH = xmaster ; then ./grind release-nightly else ./grind archive fi # Disable polymer deploy on drone.io for now. #./grind deploy-test ./grind mode-test # Run tests on dartium. dart tool/te...
# Build the archive. if test x$DRONE_BRANCH = xmaster ; then ./grind release-nightly else ./grind archive fi # Disable polymer deploy on drone.io for now. #./grind deploy-test ./grind mode-test # Run tests on dartium. dart tool/test_runner.dart --dartium # Run tests on chrome. if [ "$DRONE" = "true" ]; then #...
<|file_sep|>original/ide/tool/drone_io.sh # Setup the build environment. pub get # Build the archive. if test x$DRONE_BRANCH = xmaster ; then ./grind release-nightly else ./grind archive fi # Disable polymer deploy on drone.io for now. #./grind deploy-test ./grind mode-test # Run tests on dartium. dart tool/te...
9d2c3b3f067e9aebb9a3983cfe152eb058291a42
ide/tool/drone_io.sh
ide/tool/drone_io.sh
Shell
<|file_sep|>pages/app/controllers/refinery/pages/admin/preview_controller.rb.diff original: updated: before_filter :find_page <|file_sep|>original/pages/app/controllers/refinery/pages/admin/preview_controller.rb module Admin class PreviewController < AdminController include Pages::InstanceMe...
module Admin class PreviewController < AdminController include Pages::InstanceMethods include Pages::RenderOptions before_filter :find_page layout :layout def show render_with_templates? @page, :template => template end protected de...
<|file_sep|>pages/app/controllers/refinery/pages/admin/preview_controller.rb.diff original: updated: before_filter :find_page <|file_sep|>original/pages/app/controllers/refinery/pages/admin/preview_controller.rb module Admin class PreviewController < AdminController include Pages::InstanceMe...
a77263ceab8ce4dc752f703f56c9b9472d925b53
pages/app/controllers/refinery/pages/admin/preview_controller.rb
pages/app/controllers/refinery/pages/admin/preview_controller.rb
Ruby
<|file_sep|>src/main/scripts/jiiifyNagios.sh.diff original: if [ ${1:0:8} != 'https://' ]; then updated: if [ ${1:0:8} != 'https://' ] && [ ${1:0:7} != 'http://' ]; then <|file_sep|>original/src/main/scripts/jiiifyNagios.sh # if [ $# -ne 2 ]; then echo "Usage: ./jiiifyNagios my.domain.edu [basic]" else if [ ${1...
# if [ $# -ne 2 ]; then echo "Usage: ./jiiifyNagios my.domain.edu [basic]" else if [ ${1:0:8} != 'https://' ] && [ ${1:0:7} != 'http://' ]; then URL='https://'${1%/} else URL=${1%/} fi STATUS=`curl -k -s -L "${URL}/status/${2}"` echo "$STATUS" | cut -d '_' -f 2 if [[ ${STATUS:0:2} == 'OK' ]]; th...
<|file_sep|>src/main/scripts/jiiifyNagios.sh.diff original: if [ ${1:0:8} != 'https://' ]; then updated: if [ ${1:0:8} != 'https://' ] && [ ${1:0:7} != 'http://' ]; then <|file_sep|>original/src/main/scripts/jiiifyNagios.sh # if [ $# -ne 2 ]; then echo "Usage: ./jiiifyNagios my.domain.edu [basic]" else if [ ${1...
acc15e7d547802ea92106644551118feda23a25e
src/main/scripts/jiiifyNagios.sh
src/main/scripts/jiiifyNagios.sh
Shell
<|file_sep|>original/osu.Framework/Timing/IFrameBasedClock.cs // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Timing { /// <summary> /// A clock which will only update its current time ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Timing { /// <summary> /// A clock which will only update its current time when a frame process is triggered. /// Useful for keeping ...
<|file_sep|>original/osu.Framework/Timing/IFrameBasedClock.cs // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Timing { /// <summary> /// A clock which will only update its current time ...
bdd00c555dca23b179ae38cc85c00e91fbac6252
osu.Framework/Timing/IFrameBasedClock.cs
osu.Framework/Timing/IFrameBasedClock.cs
C#
<|file_sep|>original/index.html title="Image by Javier Ferreiro - https://www.flickr.com/photos/dekuwa/5983723237, available under Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic (https://creativecommons.org/licenses/by-nc-sa/2.0/)" caption="Blog Posts" %} </a> </div> <div id="latest-po...
title="Image by Javier Ferreiro - https://www.flickr.com/photos/dekuwa/5983723237, available under Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic (https://creativecommons.org/licenses/by-nc-sa/2.0/)" caption="Blog Posts" %} </a> </div> <div id="latest-post"> <h1 class="page-heading">...
<|file_sep|>original/index.html title="Image by Javier Ferreiro - https://www.flickr.com/photos/dekuwa/5983723237, available under Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic (https://creativecommons.org/licenses/by-nc-sa/2.0/)" caption="Blog Posts" %} </a> </div> <div id="latest-po...
b75dce9bf70dea0514a476c1a84808dbff71bb6c
index.html
index.html
HTML
<|file_sep|>lib/marooned/finder.rb.diff original: files = files.select do |file| File.file? file end updated: files = files.select(&method(:filter_absolute_paths)) <|file_sep|>lib/marooned/finder.rb.diff original: updated: end def filter_absolute_paths(path) if absolute_regex....
) end def regex Regexp.union( [ /^license(\..*)?$/i, /^readme(\..*)?$/i, /^Pods\/.*/, /\.xcassets\/.*$/, /\.xcodeproj\/.*$/, /\.xcworkspace\/.*$/, /Gemfile(\.lock)?$/, /Podfile(\.lock)?$/, /^bin\/.*$/,...
<|file_sep|>lib/marooned/finder.rb.diff original: files = files.select do |file| File.file? file end updated: files = files.select(&method(:filter_absolute_paths)) <|file_sep|>lib/marooned/finder.rb.diff original: updated: end def filter_absolute_paths(path) if absolute_regex....
5baf79f54727c5220f500b415a71f67a3def40a0
lib/marooned/finder.rb
lib/marooned/finder.rb
Ruby
<|file_sep|>original/requirements.txt beautifulsoup4==4.9.3 bcrypt==3.2.0 croniter==0.3.35 Cython==0.29.21 feedparser==6.0.2 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2 google-api-python-client==1.12.5 isodate==0.6.0 jsonpath-ng==1.5.2 lxml==4.6.1 numpy==1.19.2 Pillow==8.0.0 parsedatetime==2.6 psutil==5.7....
beautifulsoup4==4.9.3 bcrypt==3.2.0 croniter==0.3.35 Cython==0.29.21 feedparser==6.0.2 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2 google-api-python-client==1.12.5 isodate==0.6.0 jsonpath-ng==1.5.2 lxml==4.6.1 numpy==1.19.2 Pillow==8.0.1 parsedatetime==2.6 psutil==5.7.2 pyhedrals==0.2.0 python-dateutil==2....
<|file_sep|>original/requirements.txt beautifulsoup4==4.9.3 bcrypt==3.2.0 croniter==0.3.35 Cython==0.29.21 feedparser==6.0.2 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2 google-api-python-client==1.12.5 isodate==0.6.0 jsonpath-ng==1.5.2 lxml==4.6.1 numpy==1.19.2 Pillow==8.0.0 parsedatetime==2.6 psutil==5.7....
87604f6b90774c975bd57894ad503ca595343bcb
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: ruby cache: bundler bundler_args: '--without production development' #rvm: #- 2.3.0 env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - bundle exec rake db:setup # allow elasticsearch to be ready - https://docs.travis-ci.com/user/database-s...
language: ruby cache: bundler bundler_args: '--without production development' env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - bundle exec rake db:setup # allow elasticsearch to be ready - https://docs.travis-ci.com/user/database-setup/#ElasticSearch - sleep 10 services: - ela...
<|file_sep|>original/.travis.yml language: ruby cache: bundler bundler_args: '--without production development' #rvm: #- 2.3.0 env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - bundle exec rake db:setup # allow elasticsearch to be ready - https://docs.travis-ci.com/user/database-s...
4c92f7e7acf9e20929c9877d990751efd7583240
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json }, "dependencies": { "addons-linter": "1.15.1", "clean-css": "4.2.1", "clean-css-cli": "4.3.0", "jqmodal": "1.4.2", "jquery": "3.4.1", "jquery.browser": "0.1.0", "jquery.cookie": "1.4.1", "@claviska/jquery-minicolors": "2.3.4", "jquery-pjax": "2....
}, "dependencies": { "addons-linter": "1.15.1", "clean-css": "4.2.1", "clean-css-cli": "4.3.0", "jqmodal": "1.4.2", "jquery": "3.4.1", "jquery.browser": "0.1.0", "jquery.cookie": "1.4.1", "@claviska/jquery-minicolors": "2.3.4", "jquery-pjax": "2.0.1", "jquery-ui": "1.12.1", ...
<|file_sep|>original/package.json }, "dependencies": { "addons-linter": "1.15.1", "clean-css": "4.2.1", "clean-css-cli": "4.3.0", "jqmodal": "1.4.2", "jquery": "3.4.1", "jquery.browser": "0.1.0", "jquery.cookie": "1.4.1", "@claviska/jquery-minicolors": "2.3.4", "jquery-pjax": "2....
174de2fb77d68002957c8726b11b3279a899b8ad
package.json
package.json
JSON
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt click==8.1.3 future==0.18.2 Jinja2==3.1.2 livereload==2.6.3 lunr==0.6.2 Markdown==3.4.1 MarkupSafe==2.1.1 mkdocs==1.3.0 mkdocs-macros-plugin==0.7.0 mkdocs-material==8.5.3 mkdocs-material-extensions==1.0.3 Pygments==2.13.0 pymdown-extensions==9.5 python-date...
click==8.1.3 future==0.18.2 Jinja2==3.1.2 livereload==2.6.3 lunr==0.6.2 Markdown==3.4.1 MarkupSafe==2.1.1 mkdocs==1.3.0 mkdocs-macros-plugin==0.7.0 mkdocs-material==8.5.3 mkdocs-material-extensions==1.0.3 Pygments==2.13.0 pymdown-extensions==9.6 python-dateutil==2.8.2 PyYAML==6.0 repackage==0.7.3 six==1.16.0 termcolor=...
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt click==8.1.3 future==0.18.2 Jinja2==3.1.2 livereload==2.6.3 lunr==0.6.2 Markdown==3.4.1 MarkupSafe==2.1.1 mkdocs==1.3.0 mkdocs-macros-plugin==0.7.0 mkdocs-material==8.5.3 mkdocs-material-extensions==1.0.3 Pygments==2.13.0 pymdown-extensions==9.5 python-date...
24f34835f379d914f5c164ab6645defa4cf7a725
.github/workflows/mkdocs-requirements.txt
.github/workflows/mkdocs-requirements.txt
Text
<|file_sep|>original/Cargo.toml [package] name = "jqsh" version = "0.0.1" authors = [ "madmalik <matthias.tellen@gmail.com>", "Fenhl <fenhl@fenhl.net>" ] [[bin]] name = "jqsh" path = "src/main.rs" [lib] name = "jqsh" path = "src/lib.rs" [dependencies.readline] git = "https://github.com/shaleh/rust-readline.git" <|f...
[package] name = "jqsh" version = "0.0.1" authors = [ "madmalik <matthias.tellen@gmail.com>", "Fenhl <fenhl@fenhl.net>" ] [[bin]] name = "jqsh" path = "src/main.rs" [lib] name = "jqsh" path = "src/lib.rs" [dependencies.readline] git = "https://github.com/fenhl/rust-readline.git"
<|file_sep|>original/Cargo.toml [package] name = "jqsh" version = "0.0.1" authors = [ "madmalik <matthias.tellen@gmail.com>", "Fenhl <fenhl@fenhl.net>" ] [[bin]] name = "jqsh" path = "src/main.rs" [lib] name = "jqsh" path = "src/lib.rs" [dependencies.readline] git = "https://github.com/shaleh/rust-readline.git" <|f...
36c6bdeb3f6af942e6d8c1c0fb71030b6e8c4561
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/UPDATING.md <|file_sep|>current/UPDATING.md <|file_sep|>updated/UPDATING.md
## Updating TypeDoc makes use of internal API methods from the TypeScript compiler - as such you will need to recompile it for each and every different TypeScript compiler release. If your project doesn't rely on features from the latest TypeScript compiler, you may be able to get away with using version of TypeDoc wh...
<|file_sep|>original/UPDATING.md <|file_sep|>current/UPDATING.md <|file_sep|>updated/UPDATING.md ## Updating TypeDoc makes use of internal API methods from the TypeScript compiler - as such you will need to recompile it for each and every different TypeScript compiler release. If your project doesn't rely on feature...
89b702b5ab3ecd1da9fbb66e810fcfcf61e7c3ad
UPDATING.md
UPDATING.md
Markdown
<|file_sep|>original/bin/install/osx/installs/brew.sh # Exit on error set -e; set -o pipefail PFX=${PFX:-==>} HOMEBREW_URL=https://raw.githubusercontent.com/Homebrew/install/master/install PACKAGES=( ack cmake git git-extras heroku-toolbelt httpie iperf jq mongodb neovim/neovim/neovim ...
# Exit on error set -e; set -o pipefail PFX=${PFX:-==>} HOMEBREW_URL=https://raw.githubusercontent.com/Homebrew/install/master/install PACKAGES=( ack cmake git git-extras # heroku-toolbelt httpie iperf jq mongodb neovim/neovim/neovim nvm openssl redis tree watch
<|file_sep|>original/bin/install/osx/installs/brew.sh # Exit on error set -e; set -o pipefail PFX=${PFX:-==>} HOMEBREW_URL=https://raw.githubusercontent.com/Homebrew/install/master/install PACKAGES=( ack cmake git git-extras heroku-toolbelt httpie iperf jq mongodb neovim/neovim/neovim ...
060854ca33e1175f27235a60adabf64cd9074b7e
bin/install/osx/installs/brew.sh
bin/install/osx/installs/brew.sh
Shell