prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/style.less -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; } // Variables @base_gray: #ccc; body { width: 480px; padding-top: 100px; margin: 0 auto 0 auto; background: @base_gray; } canvas { background: #fff; border-left: 1px solid darken(@b...
-moz-border-radius: @radius; border-radius: @radius; } // Variables @base_gray: #ccc; body { width: 480px; padding-top: 100px; margin: 0 auto 0 auto; background: @base_gray; } canvas { background: #fff; border-left: 1px solid darken(@base_gray, 13%); border-right: 1px solid darken(@base_gray, 13%);...
<|file_sep|>original/style.less -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; } // Variables @base_gray: #ccc; body { width: 480px; padding-top: 100px; margin: 0 auto 0 auto; background: @base_gray; } canvas { background: #fff; border-left: 1px solid darken(@b...
ed77244fc512b86323618418d113a6591ce10964
style.less
style.less
Less
<|file_sep|>original/README.md A handy wrapper that allows somebody to quickly and easily plot equations, using [Sympy](www.sympy.org) and [Matplotlib](matplotlib.org) <|file_sep|>current/README.md A handy wrapper that allows somebody to quickly and easily plot equations, using [Sympy](www.sympy.org) and [Matplotlib](m...
A handy wrapper that allows somebody to quickly and easily plot equations, using [Sympy](www.sympy.org) and [Matplotlib](matplotlib.org) ## Example Usage ```python from quiver.plotter import FieldPlotter plotter = FieldPlotter() plotter.set_equation_from_string('x+y') plotter.make_plot() with open('plot_file.png', '...
<|file_sep|>original/README.md A handy wrapper that allows somebody to quickly and easily plot equations, using [Sympy](www.sympy.org) and [Matplotlib](matplotlib.org) <|file_sep|>current/README.md A handy wrapper that allows somebody to quickly and easily plot equations, using [Sympy](www.sympy.org) and [Matplotlib](m...
26cebb05193324a79d60a260f5a364f9891f1b5b
README.md
README.md
Markdown
<|file_sep|>original/Source/library/src/main/java/im/delight/android/ddp/MeteorCallback.java * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
* You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * S...
<|file_sep|>original/Source/library/src/main/java/im/delight/android/ddp/MeteorCallback.java * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
799445cda59467c35c9d8e0318570919b8dcee3d
Source/library/src/main/java/im/delight/android/ddp/MeteorCallback.java
Source/library/src/main/java/im/delight/android/ddp/MeteorCallback.java
Java
<|file_sep|>original/tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java <|file_sep|>current/tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java <|file_sep|>updated/tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
<|file_sep|>original/tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java <|file_sep|>current/tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java <|file_sep|>updated/tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java /* * Licensed to the Apache Software Foundation (ASF...
f962509e2e2b804176ca30ab652755e2c3974523
tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java
tika-core/src/test/java/org/apache/tika/io/TikaInputStreamTest.java
Java
<|file_sep|>original/scripts/mit_license.js if (!fs.existsSync(file)) { return; } // Read package json pkg = require(file); // Is it ok already? if (pkg.license === 'MIT') { process.stdout.write('Nothing to be changed.\n'); process.exit(); } // Change to MIT and save file pkg.license = 'MIT'; fs.writeFi...
if (!fs.existsSync(file)) { return; } // Read package json pkg = require(file); // Is it ok already? if (pkg.license === 'MIT') { process.stdout.write('Nothing to be changed.\n'); process.exit(); } // Change to MIT and save file pkg.license = 'MIT'; fs.writeFileSync(file, JSON.stringify(pkg, null, 2) + ...
<|file_sep|>original/scripts/mit_license.js if (!fs.existsSync(file)) { return; } // Read package json pkg = require(file); // Is it ok already? if (pkg.license === 'MIT') { process.stdout.write('Nothing to be changed.\n'); process.exit(); } // Change to MIT and save file pkg.license = 'MIT'; fs.writeFi...
010a9f273af0d20d6c08feb393cb5522e98cf0b4
scripts/mit_license.js
scripts/mit_license.js
JavaScript
<|file_sep|>test/test.js.diff original: var is_fine = true; updated: var isFine = [][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[...
#!/usr/bin/env node var isFine = [][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])...
<|file_sep|>test/test.js.diff original: var is_fine = true; updated: var isFine = [][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[...
03999fba0d651512b11e1e96adb1b58fd8544ac1
test/test.js
test/test.js
JavaScript
<|file_sep|>original/app/views/shared/_post_form.html.haml = simple_form_for(post) do |f| = f.input :title = f.input :description = f.association :category = f.input :tag_list, as: :string = f.button :submit :javascript $("#offer_tag_list").tagsManager(); <|file_sep|>current/app/views/shared/_post_form.h...
= simple_form_for(post) do |f| = f.input :title = f.input :description = f.association :category = f.input :tag_list, as: :string - if current_user.manages? current_organization = f.association :user, collection: current_organization.users = f.hidden_field :publisher_id, value: current_user.id = f....
<|file_sep|>original/app/views/shared/_post_form.html.haml = simple_form_for(post) do |f| = f.input :title = f.input :description = f.association :category = f.input :tag_list, as: :string = f.button :submit :javascript $("#offer_tag_list").tagsManager(); <|file_sep|>current/app/views/shared/_post_form.h...
27b04bc1f54f22b61463819e3ca2ca07bb8f9351
app/views/shared/_post_form.html.haml
app/views/shared/_post_form.html.haml
Haml
<|file_sep|>source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs.diff original: updated: using Nuke.Common.Utilities; <|file_sep|>original/source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs using System.Linq; using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Unity { public partial class UnityBaseSettings ...
using System.Linq; using Nuke.Common.Tooling; using Nuke.Common.Utilities; namespace Nuke.Common.Tools.Unity { public partial class UnityBaseSettings { public override Action<OutputType, string> ProcessCustomLogger => UnityTasks.UnityLogger; public string GetProcessToolPath() { ...
<|file_sep|>source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs.diff original: updated: using Nuke.Common.Utilities; <|file_sep|>original/source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs using System.Linq; using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Unity { public partial class UnityBaseSettings ...
45348ae4071f7d519f4e4d7ca881d3ce64897461
source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs
source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs
C#
<|file_sep|>original/p/srv/examples/ufs/ufs.go // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "flag" "log" "github.com/lionkov/go9p/p/srv/ufs" "github.com/lionkov/go9p/p/clnt" ) var ( debug = flag.Int("d", 0, "print debug messages")...
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "flag" "log" "github.com/lionkov/go9p/p/srv/ufs" ) var ( debug = flag.Int("d", 0, "print debug messages") addr = flag.String("addr", ":5640", "network address") ) func main() { flag.P...
<|file_sep|>original/p/srv/examples/ufs/ufs.go // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "flag" "log" "github.com/lionkov/go9p/p/srv/ufs" "github.com/lionkov/go9p/p/clnt" ) var ( debug = flag.Int("d", 0, "print debug messages")...
740a3152c643c91c371a12d81b3c21e937d694ba
p/srv/examples/ufs/ufs.go
p/srv/examples/ufs/ufs.go
Go
<|file_sep|>original/go/src/socialapi/db/sql/sitemap_definition/002-schema.sql SET ROLE social; CREATE SCHEMA sitemap; GRANT usage ON SCHEMA sitemap to socialapplication; -- append sitemap schema SELECT set_config('search_path', current_setting('search_path') || ',sitemap', false); <|file_sep|>current/go/src/sociala...
-- SET ROLE social; CREATE SCHEMA sitemap; GRANT usage ON SCHEMA sitemap to socialapplication; -- append sitemap schema SELECT set_config('search_path', current_setting('search_path') || ',sitemap', false);
<|file_sep|>original/go/src/socialapi/db/sql/sitemap_definition/002-schema.sql SET ROLE social; CREATE SCHEMA sitemap; GRANT usage ON SCHEMA sitemap to socialapplication; -- append sitemap schema SELECT set_config('search_path', current_setting('search_path') || ',sitemap', false); <|file_sep|>current/go/src/sociala...
4712b44ae3df1e4d9f578c65c45f479ef29665b5
go/src/socialapi/db/sql/sitemap_definition/002-schema.sql
go/src/socialapi/db/sql/sitemap_definition/002-schema.sql
SQL
<|file_sep|>docs/_templates/layout.html.diff original: updated: {# ## Removed to avoid tracking our users. <|file_sep|>original/docs/_templates/layout.html {% extends "!layout.html" %} {% block footer %} {{ super() }} <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https:/...
{% extends "!layout.html" %} {% block footer %} {{ super() }} {# ## Removed to avoid tracking our users. <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type=...
<|file_sep|>docs/_templates/layout.html.diff original: updated: {# ## Removed to avoid tracking our users. <|file_sep|>original/docs/_templates/layout.html {% extends "!layout.html" %} {% block footer %} {{ super() }} <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https:/...
c7046bcb6c10994b6f703521da6183aca08b8b3b
docs/_templates/layout.html
docs/_templates/layout.html
HTML
<|file_sep|>dev/components/forms/html/form.html.diff original: <h3>TODO</h3> <ol> <li>select/dropdown</li> <li>checkboxes</li> <li>radio button</li> <li>...</li> </ol> updated: <form action="" class="form"> <label for="email"></label> <input type="email" class="form__email"> <|file_sep|>dev/componen...
<form action="" class="form"> <label for="email"></label> <input type="email" class="form__email"> <label for="password"></label> <input type="password" class="form__password"> <!-- Submit Primary Button--> <button class="btn--primary" type="submit">submit button</button> </form>
<|file_sep|>dev/components/forms/html/form.html.diff original: <h3>TODO</h3> <ol> <li>select/dropdown</li> <li>checkboxes</li> <li>radio button</li> <li>...</li> </ol> updated: <form action="" class="form"> <label for="email"></label> <input type="email" class="form__email"> <|file_sep|>dev/componen...
53264a7b89d3de560ec6428a64294d21b94d1820
dev/components/forms/html/form.html
dev/components/forms/html/form.html
HTML
<|file_sep|>appveyor.yml.diff original: nodejs_version: '5.2.0' updated: nodejs_version: "6" <|file_sep|>original/appveyor.yml environment: nodejs_version: '5.2.0' install: - ps: Install-Product node $env:nodejs_version - choco install yarn - refreshenv - set CI=true - set PATH=%APPDATA%\npm;%PATH% ca...
environment: nodejs_version: "6" install: - ps: Install-Product node $env:nodejs_version - choco install yarn - refreshenv - set CI=true - set PATH=%APPDATA%\npm;%PATH% - yarn install cache: - "%LOCALAPPDATA%/Yarn" build: off version: '{build}' shallow_clone: true clone_depth: 1 test_script: - node...
<|file_sep|>appveyor.yml.diff original: nodejs_version: '5.2.0' updated: nodejs_version: "6" <|file_sep|>original/appveyor.yml environment: nodejs_version: '5.2.0' install: - ps: Install-Product node $env:nodejs_version - choco install yarn - refreshenv - set CI=true - set PATH=%APPDATA%\npm;%PATH% ca...
6001523e22ab46830d63c57e40a586001e6a3da5
appveyor.yml
appveyor.yml
YAML
<|file_sep|>README.md.diff original: Major features all complete. Additional tests need to be written and a couple less common features. Also need some example code for the test file. updated: Many major features complete, see notes below. Additional tests need to be written and a couple less common features. Also need...
### Devices * Get Devices ### Contacts * Get Contacts * Create Contacts * Update Contact * Delete Contact ### Channels * Subscribe * Unsubscribe * Get channel info ## Todo * Web Sockets * OAuth account access * Get push history * Update a push (dismiss & update list items) * Delete a push
<|file_sep|>README.md.diff original: Major features all complete. Additional tests need to be written and a couple less common features. Also need some example code for the test file. updated: Many major features complete, see notes below. Additional tests need to be written and a couple less common features. Also need...
9bcc9a479c47dd819a5826c7d46fd07f4b1f8f8e
README.md
README.md
Markdown
<|file_sep|>original/requirements/testing.txt # Testing requirements -r common.txt # pytest pytest==3.0.7 pytest-django==3.1.2 pytest-flake8==0.8.1 pytest-xdist==1.15.0 factory-boy==2.8.1 mock==2.0.0 selenium==3.3.2 # coverage coverage==4.3.4 pytest-cov==2.4.0 python-coveralls==2.9.0 # Flake8 flake8==3.3.0 flake8-do...
# Testing requirements -r common.txt # pytest pytest==3.0.7 pytest-django==3.1.2 pytest-flake8==0.8.1 pytest-xdist==1.15.0 factory-boy==2.8.1 mock==2.0.0 selenium==3.3.3 # coverage coverage==4.3.4 pytest-cov==2.4.0 python-coveralls==2.9.0 # Flake8 flake8==3.3.0 flake8-docstrings==1.0.3
<|file_sep|>original/requirements/testing.txt # Testing requirements -r common.txt # pytest pytest==3.0.7 pytest-django==3.1.2 pytest-flake8==0.8.1 pytest-xdist==1.15.0 factory-boy==2.8.1 mock==2.0.0 selenium==3.3.2 # coverage coverage==4.3.4 pytest-cov==2.4.0 python-coveralls==2.9.0 # Flake8 flake8==3.3.0 flake8-do...
948ed31b4c95ca10a1cf3ec72874132de7b9faa6
requirements/testing.txt
requirements/testing.txt
Text
<|file_sep|>original/lib/dedalo/section_group_div/html/section_group_div_edit.phtml <?php # VISUALIZADOR HTML print "<!-- SECTION GROUP DIV [tipo:$tipo] $label -->"; print "<div id=\"$identificador_unico\" class=\"wrap_section_group_div wrap_section_group_div_{$tipo} sgc_{$modo}\" >"; # CONTENIDO (INPUT) ...
<?php # VISUALIZADOR HTML print "<!-- SECTION GROUP DIV [tipo:$tipo] $label -->"; print "<div id=\"$section_group_id\" class=\"wrap_section_group_div wrap_section_group_div_{$tipo} sgc_{$modo}\" >"; # CONTENIDO (INPUT) $html_contenido=''; $html_contenido .= " $components_html "; # PRINT HTML prin...
<|file_sep|>original/lib/dedalo/section_group_div/html/section_group_div_edit.phtml <?php # VISUALIZADOR HTML print "<!-- SECTION GROUP DIV [tipo:$tipo] $label -->"; print "<div id=\"$identificador_unico\" class=\"wrap_section_group_div wrap_section_group_div_{$tipo} sgc_{$modo}\" >"; # CONTENIDO (INPUT) ...
527e12bdf956be5d0fca8fcb856b2088accc2bbf
lib/dedalo/section_group_div/html/section_group_div_edit.phtml
lib/dedalo/section_group_div/html/section_group_div_edit.phtml
HTML+PHP
<|file_sep|>test/CMakeLists.txt.diff original: set(ITKExternalTemplateTests itkExternalTemplateTest.cxx updated: #${itk-module} will be the name of this module and will not need to be #changed when this module is renamed. set(ITK${itk-module}Tests itkExternalTemplateTest.cxx <|file_sep|>test/CMakeLists.txt.diff ori...
itk_module_test() #${itk-module} will be the name of this module and will not need to be #changed when this module is renamed. set(ITK${itk-module}Tests itkExternalTemplateTest.cxx ) CreateTestDriver(${itk-module} "${${itk-module}-Test_LIBRARIES}" "${${itk-module}Tests}") itk_add_test(NAME itkExternalTemplateTes...
<|file_sep|>test/CMakeLists.txt.diff original: set(ITKExternalTemplateTests itkExternalTemplateTest.cxx updated: #${itk-module} will be the name of this module and will not need to be #changed when this module is renamed. set(ITK${itk-module}Tests itkExternalTemplateTest.cxx <|file_sep|>test/CMakeLists.txt.diff ori...
9f0d956e19e742c434bdc8545f6916966026eff9
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/examples/cplearning.py <|file_sep|>current/examples/cplearning.py <|file_sep|>updated/examples/cplearning.py
#!/usr/bin/python # -*- coding: utf-8 -*- from semcplogic.dataset import Dataset from semcplogic.cpmodel import TableResultInterpreter from semcplogic.cpcompiler import CPCompiler, ProblogExample from semcplogic.problogresult import GnuplotDrawer import pprint #We use "breaks" because break is a reserved keyword in p...
<|file_sep|>original/examples/cplearning.py <|file_sep|>current/examples/cplearning.py <|file_sep|>updated/examples/cplearning.py #!/usr/bin/python # -*- coding: utf-8 -*- from semcplogic.dataset import Dataset from semcplogic.cpmodel import TableResultInterpreter from semcplogic.cpcompiler import CPCompiler, Problo...
9ce0806a5e4262b299e3bd98c8a722a309734dc3
examples/cplearning.py
examples/cplearning.py
Python
<|file_sep|>original/README.md # Java Library for Promises The JPromises library is a *mostly* compliant implementation of the [JavaScript Promises/A+ specification](http://promisesaplus.com/) in Java. It is designed to be compatible with AWT and GWT, and potentially with any kind of event dispatch mechanism. Its main...
# Java Library for Promises The JPromises library is a *mostly* compliant implementation of the [JavaScript Promises/A+ specification](http://promisesaplus.com/) in Java. It is designed to be compatible with AWT and GWT, and potentially with any kind of event dispatch mechanism. Its main goal is to eliminate "callback...
<|file_sep|>original/README.md # Java Library for Promises The JPromises library is a *mostly* compliant implementation of the [JavaScript Promises/A+ specification](http://promisesaplus.com/) in Java. It is designed to be compatible with AWT and GWT, and potentially with any kind of event dispatch mechanism. Its main...
247302dba3daebd6d4db5c11684b2be48c459672
README.md
README.md
Markdown
<|file_sep|>original/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="jp.gr.java_conf.neko_daisuki.android.nexec.client" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="3" andr...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="jp.gr.java_conf.neko_daisuki.android.nexec.client" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="13"/> <uses-pe...
<|file_sep|>original/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="jp.gr.java_conf.neko_daisuki.android.nexec.client" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="3" andr...
6cde7ccaebd09a83c915d6cd1f70fed59b62c7ad
AndroidManifest.xml
AndroidManifest.xml
XML
<|file_sep|>app/views/shared/menu/_mobile_menu.html.haml.diff original: %img{src: "/assets/menu/btn-menu-mobile.png"} updated: = image_tag "menu/btn-menu-mobile.png" <|file_sep|>original/app/views/shared/menu/_mobile_menu.html.haml %section.left %a.left-off-canvas-toggle.menu-icon %img{src: "/as...
%section.left %a.left-off-canvas-toggle.menu-icon = image_tag "menu/btn-menu-mobile.png" %section.left .ofn-logo %a{href: main_app.root_path} %img{src: ContentConfig.logo_mobile.url, srcset: ContentConfig.logo_mobile_svg.url, width: "75", height: "26"} %section.right{"ng-cloak" => tr...
<|file_sep|>app/views/shared/menu/_mobile_menu.html.haml.diff original: %img{src: "/assets/menu/btn-menu-mobile.png"} updated: = image_tag "menu/btn-menu-mobile.png" <|file_sep|>original/app/views/shared/menu/_mobile_menu.html.haml %section.left %a.left-off-canvas-toggle.menu-icon %img{src: "/as...
ff6ba8819f4fbc3464c7f7168ebb554cd6638e24
app/views/shared/menu/_mobile_menu.html.haml
app/views/shared/menu/_mobile_menu.html.haml
Haml
<|file_sep|>original/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java import org.apache.tapestry5.Field; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.ValidationException; import org.apache.tapestry5.ioc.MessageFormatter; import org.apache.tapestry5.services.FormSupport; pub...
import org.apache.tapestry5.Field; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.ValidationException; import org.apache.tapestry5.ioc.MessageFormatter; import org.apache.tapestry5.services.FormSupport; public class None extends AbstractValidator<Void, Object> { public None() { s...
<|file_sep|>original/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java import org.apache.tapestry5.Field; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.ValidationException; import org.apache.tapestry5.ioc.MessageFormatter; import org.apache.tapestry5.services.FormSupport; pub...
d78bcde9630150327ec01d3117b41d5cbee4bd49
tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java
tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java
Java
<|file_sep|>options/css/style.css.diff original: .form-horizontal .control-label { width: 40px; } updated: <|file_sep|>original/options/css/style.css .form-horizontal .control-label { width: 40px; } .form-horizontal .controls { margin-left: 60px; } .btn-toolbar { display: inline-block; margin: 0; } <|file_sep|...
.form-horizontal .controls { margin-left: 0; } .btn-toolbar { display: inline-block; margin: 0; }
<|file_sep|>options/css/style.css.diff original: .form-horizontal .control-label { width: 40px; } updated: <|file_sep|>original/options/css/style.css .form-horizontal .control-label { width: 40px; } .form-horizontal .controls { margin-left: 60px; } .btn-toolbar { display: inline-block; margin: 0; } <|file_sep|...
b1d2b08eb04576b24ceff6b2a10327392ed5cb3c
options/css/style.css
options/css/style.css
CSS
<|file_sep|>original/defaults/main.yml --- upstart_runtime_root: "{{ runtime_root | default('/var/run') }}/{{ upstart_name }}" upstart_pidfile_path: "{{ upstart_runtime_root }}/{{ upstart_name }}.pid" upstart_user: nobody upstart_group: nobody upstart_name: template upstart_description: 'Nondescript Template' upstar...
--- upstart_runtime_root: "{{ runtime_root | default('/var/run') }}/{{ upstart_name }}" upstart_pidfile_path: "{{ upstart_runtime_root }}/{{ upstart_name }}.pid" upstart_user: nobody upstart_group: nogroup upstart_name: template upstart_description: 'Nondescript Template' upstart_start_on: - "runlevel [2345]" upst...
<|file_sep|>original/defaults/main.yml --- upstart_runtime_root: "{{ runtime_root | default('/var/run') }}/{{ upstart_name }}" upstart_pidfile_path: "{{ upstart_runtime_root }}/{{ upstart_name }}.pid" upstart_user: nobody upstart_group: nobody upstart_name: template upstart_description: 'Nondescript Template' upstar...
7e9104f08cb0c28361c785efe09e6f3d2a6b0457
defaults/main.yml
defaults/main.yml
YAML
<|file_sep|>test/fixtures/organizations.yml.diff original: updated: name: "École de technologie supérieure" <|file_sep|>original/test/fixtures/organizations.yml ets: user: gaston <|file_sep|>current/test/fixtures/organizations.yml ets: name: "École de technologie supérieure" user: gaston <|file_sep|>updated/te...
ets: name: "École de technologie supérieure" user: gaston ulaval: name: "Université Laval" user: gaston
<|file_sep|>test/fixtures/organizations.yml.diff original: updated: name: "École de technologie supérieure" <|file_sep|>original/test/fixtures/organizations.yml ets: user: gaston <|file_sep|>current/test/fixtures/organizations.yml ets: name: "École de technologie supérieure" user: gaston <|file_sep|>updated/te...
6d4ae31b33ba24c9f32e9eb3807f7ec48cb897c8
test/fixtures/organizations.yml
test/fixtures/organizations.yml
YAML
<|file_sep|>original/.travis.yml # Language/versions language: node_js node_js: - 0.9 - 0.8 - 0.6 # Build script script: 'npm test' # Notifications notifications: email: - notify+chic@rowanmanning.co.uk <|file_sep|>current/.travis.yml # Language/versions language: node_js node_js: - 0.9 - 0.8 - 0.6 # Bui...
# Language/versions language: node_js node_js: - "0.10" - "0.8" - "0.6" # Build script script: 'npm test' # Notifications notifications: email: - notify+chic@rowanmanning.co.uk
<|file_sep|>original/.travis.yml # Language/versions language: node_js node_js: - 0.9 - 0.8 - 0.6 # Build script script: 'npm test' # Notifications notifications: email: - notify+chic@rowanmanning.co.uk <|file_sep|>current/.travis.yml # Language/versions language: node_js node_js: - 0.9 - 0.8 - 0.6 # Bui...
405ea716a72e539d48677bd859f98676248f8405
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json "mockery/mockery": "^0.9.4", "phpunit/phpunit": "^4.7.6" }, "autoload": { "psr-4": { "GrahamCampbell\\Manager\\": "src/" } }, "autoload-dev": { "psr-4": { "GrahamCampbell\\Tests\\Manager\\": "tests/" ...
"autoload": { "psr-4": { "GrahamCampbell\\Manager\\": "src/" } }, "autoload-dev": { "psr-4": { "GrahamCampbell\\Tests\\Manager\\": "tests/" } }, "config": { "preferred-install": "dist" }, "extra": { "branch-alias": { ...
<|file_sep|>original/composer.json "mockery/mockery": "^0.9.4", "phpunit/phpunit": "^4.7.6" }, "autoload": { "psr-4": { "GrahamCampbell\\Manager\\": "src/" } }, "autoload-dev": { "psr-4": { "GrahamCampbell\\Tests\\Manager\\": "tests/" ...
84a55fea825cdb7b4eaa3a9e708b206d40bdf624
composer.json
composer.json
JSON
<|file_sep|>README.markdown.diff original: <%= extension_point 'my_extension_point_name' %> updated: <%= extension_point 'my_extension_point_name' %> <|file_sep|>README.markdown.diff original: # specify a string to put in the output ViewExtender.register('my_extension_point', "STRING TO OUTPUT") updated: ...
Plugins, etc can then add to this view via: # specify a string to put in the output ViewExtender.register('my_extension_point', "STRING TO OUTPUT") # make a call to the render method at the specified point ViewExtender.register('my_extension_point', :partial => 'partial_file') # dynamically build...
<|file_sep|>README.markdown.diff original: <%= extension_point 'my_extension_point_name' %> updated: <%= extension_point 'my_extension_point_name' %> <|file_sep|>README.markdown.diff original: # specify a string to put in the output ViewExtender.register('my_extension_point', "STRING TO OUTPUT") updated: ...
b7a8fddb88c9b4c3b288abab0766c140738384d5
README.markdown
README.markdown
Markdown
<|file_sep|>original/project/Versions.scala package me.tfeng.sbt.plugins object Versions { val project = "0.1.2" val avro = "1.7.7" val dustjs = "2.4.0-1" val sbtEclipse = "2.5.0" val sbtWeb = "1.1.0" } <|file_sep|>current/project/Versions.scala package me.tfeng.sbt.plugins object Versions { val pro...
package me.tfeng.sbt.plugins object Versions { val project = "0.1.3-SNAPSHOT" val avro = "1.7.7" val dustjs = "2.4.0-1" val sbtEclipse = "2.5.0" val sbtWeb = "1.1.0" }
<|file_sep|>original/project/Versions.scala package me.tfeng.sbt.plugins object Versions { val project = "0.1.2" val avro = "1.7.7" val dustjs = "2.4.0-1" val sbtEclipse = "2.5.0" val sbtWeb = "1.1.0" } <|file_sep|>current/project/Versions.scala package me.tfeng.sbt.plugins object Versions { val pro...
93b0cf55cdd327b6d19da4e8f2c4fee412e33e64
project/Versions.scala
project/Versions.scala
Scala
<|file_sep|>original/exercises/04/README.md <|file_sep|>current/exercises/04/README.md <|file_sep|>updated/exercises/04/README.md
Упражнение 4 ============ Задачи ------ 1. Да се дефинира функцията `length(l)`, която намира дължината на списъка `l`. 2. Да се дефинира функцията `sum(l)`, която намира сумата на елементите на списъка `l`. 3. Да се дефинира функцията `append(l, x)`, коята добавя елемент `x` на края на списък `l`. 4. Да се дефини...
<|file_sep|>original/exercises/04/README.md <|file_sep|>current/exercises/04/README.md <|file_sep|>updated/exercises/04/README.md Упражнение 4 ============ Задачи ------ 1. Да се дефинира функцията `length(l)`, която намира дължината на списъка `l`. 2. Да се дефинира функцията `sum(l)`, която намира сумата на елем...
df5b158b1ed4abf79ca820fda97e4e98818c170c
exercises/04/README.md
exercises/04/README.md
Markdown
<|file_sep|>original/lib/concurrent/thread_safe/util/array_hash_rbx.rb module ThreadSafe module Util def self.make_synchronized_on_rbx(klass) klass.class_eval do private def _mon_initialize @_monitor = Monitor.new unless @_monitor # avoid double initialisation ...
module ThreadSafe module Util def self.make_synchronized_on_rbx(klass) klass.class_eval do private def _mon_initialize @_monitor = Monitor.new unless @_monitor # avoid double initialisation end def initialize(*args) _mon_initialize ...
<|file_sep|>original/lib/concurrent/thread_safe/util/array_hash_rbx.rb module ThreadSafe module Util def self.make_synchronized_on_rbx(klass) klass.class_eval do private def _mon_initialize @_monitor = Monitor.new unless @_monitor # avoid double initialisation ...
3fabacb05e29cbb77df15e661f9ab694ffc34721
lib/concurrent/thread_safe/util/array_hash_rbx.rb
lib/concurrent/thread_safe/util/array_hash_rbx.rb
Ruby
<|file_sep|>original/appdatabase/migrations/sql/0013_identity_images.up.sql CREATE TABLE IF NOT EXISTS identity_images( type VARCHAR, image_payload BLOB NOT NULL, width int, height int filesize int, resize_target int, ) WITHOUT ROWID; <|file_sep|>current/appdatabase/migrations/sql/0013_identity...
CREATE TABLE IF NOT EXISTS identity_images( type VARCHAR, image_payload BLOB NOT NULL, width int, height int, file_size int, resize_target int ) WITHOUT ROWID;
<|file_sep|>original/appdatabase/migrations/sql/0013_identity_images.up.sql CREATE TABLE IF NOT EXISTS identity_images( type VARCHAR, image_payload BLOB NOT NULL, width int, height int filesize int, resize_target int, ) WITHOUT ROWID; <|file_sep|>current/appdatabase/migrations/sql/0013_identity...
a452972e794d5cf00a86967c31809d6b3f480815
appdatabase/migrations/sql/0013_identity_images.up.sql
appdatabase/migrations/sql/0013_identity_images.up.sql
SQL
<|file_sep|>original/optional/capi/ext/proc_spec.c #include "rubyspec.h" #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_RB_PROC_NEW VALUE concat_func(VALUE args) { int i; char buffer[500] = {0}; if (TYPE(val) != T_ARRAY) return Qnil; for(i = 0; i < RARRAY_LEN(args); ++i) { VALUE v = RARRAY_PTR(args)[i...
#include "rubyspec.h" #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_RB_PROC_NEW VALUE concat_func(VALUE args) { int i; char buffer[500] = {0}; if (TYPE(args) != T_ARRAY) return Qnil; for(i = 0; i < RARRAY_LEN(args); ++i) { VALUE v = RARRAY_PTR(args)[i]; strcat(buffer, StringValuePtr(v)); strc...
<|file_sep|>original/optional/capi/ext/proc_spec.c #include "rubyspec.h" #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_RB_PROC_NEW VALUE concat_func(VALUE args) { int i; char buffer[500] = {0}; if (TYPE(val) != T_ARRAY) return Qnil; for(i = 0; i < RARRAY_LEN(args); ++i) { VALUE v = RARRAY_PTR(args)[i...
fbbb09cbea1e6544890a8bd417e424ee25411d39
optional/capi/ext/proc_spec.c
optional/capi/ext/proc_spec.c
C
<|file_sep|>WebUtils/src/ts/WebUtils/LabKey.ts.diff original: export function buildURL(controller: string, action: string, container?: string): string { updated: export function buildURL(controller: string, action: string, container: string): string { <|file_sep|>original/WebUtils/src/ts/WebUtils/LabKey.ts export funct...
} export function getBaseURL(): string { return LABKEY.ActionURL.getBaseURL(); } export function buildURL(controller: string, action: string, container: string): string { return LABKEY.ActionURL.buildURL(controller, action, container); } export function buildURLWithParams(controller: string, action: string, ...
<|file_sep|>WebUtils/src/ts/WebUtils/LabKey.ts.diff original: export function buildURL(controller: string, action: string, container?: string): string { updated: export function buildURL(controller: string, action: string, container: string): string { <|file_sep|>original/WebUtils/src/ts/WebUtils/LabKey.ts export funct...
f91974faf59fbde1002e42b59ed893b13c3da549
WebUtils/src/ts/WebUtils/LabKey.ts
WebUtils/src/ts/WebUtils/LabKey.ts
TypeScript
<|file_sep|>original/core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java <|file_sep|>current/core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java <|file_sep|>updated/core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java
package imagej.core.tools.global; import imagej.ImageJ; import imagej.ext.display.event.input.KyPressedEvent; import imagej.ext.module.ModuleInfo; import imagej.ext.module.ModuleService; import imagej.ext.tool.AbstractTool; import imagej.ext.tool.Tool; import imagej.util.Log; @Tool(name = "Keyboard Shortcuts", globa...
<|file_sep|>original/core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java <|file_sep|>current/core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java <|file_sep|>updated/core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java package imagej.core.tools.global; ...
6bf0fd8bc295c86b6ac3746d769d902903112560
core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java
core/tools/src/main/java/imagej/core/tools/global/AcceleratorHandler.java
Java
<|file_sep|>original/doc/sample/01-db/User.php <?php namespace Ray\Di\Sample; use Ray\Di\Di\Inject; use Ray\Di\Di\Named; use Ray\Di\Sample\Transactional; use Ray\Di\Sample\Template; class User { private $db; /** * @Inject * @Named("pdo=pdo_user") */ public function __construct(\PDO $pdo) ...
<?php namespace Ray\Di\Sample; use Ray\Di\Di\Inject; use Ray\Di\Di\Named; use Ray\Di\Di\PostConstruct; use Ray\Di\Sample\Transactional; use Ray\Di\Sample\Template; class User { private $db; /** * @Inject * @Named("pdo=pdo_user") */ public function __construct(\PDO $pdo) { $thi...
<|file_sep|>original/doc/sample/01-db/User.php <?php namespace Ray\Di\Sample; use Ray\Di\Di\Inject; use Ray\Di\Di\Named; use Ray\Di\Sample\Transactional; use Ray\Di\Sample\Template; class User { private $db; /** * @Inject * @Named("pdo=pdo_user") */ public function __construct(\PDO $pdo) ...
1fd4eca3131fb44920e82fd07044974b257f47b3
doc/sample/01-db/User.php
doc/sample/01-db/User.php
PHP
<|file_sep|>original/packages/webcomponentsjs/externs/webcomponents.js * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/A...
/** * @externs * @fileoverview Symbols needed to compile webcomponents * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polym...
<|file_sep|>original/packages/webcomponentsjs/externs/webcomponents.js * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/A...
eafcc1f31eb5e331e4df6220a31e1ee5c0608f75
packages/webcomponentsjs/externs/webcomponents.js
packages/webcomponentsjs/externs/webcomponents.js
JavaScript
<|file_sep|>footballseason/urls.py.diff original: # eg: /footballseason/3 updated: # eg: /footballseason/3/ <|file_sep|>footballseason/urls.py.diff original: # eg: /footballseason/3/submit url(r'^(?P<week_id>[0-9]+)/submit$', views.submit, name='submit'), updated: # eg: /footballseason/3/submit/ ...
# eg: /footballseason/3/ url(r'^(?P<week_id>[0-9]+)/$', views.display, name='display'), # eg: /footballseason/3/submit/ url(r'^(?P<week_id>[0-9]+)/submit/$', views.submit, name='submit'), # eg: /footballseason/3/vote/ url(r'^(?P<week_id>[0-9]+)/vote/$', views.vote, name='vote'), # eg: /fo...
<|file_sep|>footballseason/urls.py.diff original: # eg: /footballseason/3 updated: # eg: /footballseason/3/ <|file_sep|>footballseason/urls.py.diff original: # eg: /footballseason/3/submit url(r'^(?P<week_id>[0-9]+)/submit$', views.submit, name='submit'), updated: # eg: /footballseason/3/submit/ ...
3d1dba15097ac8b746c138b75fe1763aa4b8ac12
footballseason/urls.py
footballseason/urls.py
Python
<|file_sep|>test/.eslintrc.yml.diff original: # See https://github.com/avajs/eslint-plugin-ava#usage plugins: - ava updated: extends: "@dosomething/eslint-config/node/ava" <|file_sep|>test/.eslintrc.yml.diff original: ava/assertion-arguments: error ava/max-asserts: - 'off' - 5 ava/no-a...
--- extends: "@dosomething/eslint-config/node/ava" rules: # Allow skipping tests for now ava/no-skip-test: off
<|file_sep|>test/.eslintrc.yml.diff original: # See https://github.com/avajs/eslint-plugin-ava#usage plugins: - ava updated: extends: "@dosomething/eslint-config/node/ava" <|file_sep|>test/.eslintrc.yml.diff original: ava/assertion-arguments: error ava/max-asserts: - 'off' - 5 ava/no-a...
36b6f0c1d9851d2edcc777935f98f0a7b4af35a6
test/.eslintrc.yml
test/.eslintrc.yml
YAML
<|file_sep|>test/test_helper.rb.diff original: I18n.locale = :en updated: <|file_sep|>original/test/test_helper.rb require 'shoulda' require 'helpers/gem_helpers' RubygemFs.mock! Aws.config[:stub_responses] = true I18n.locale = :en class ActiveSupport::TestCase include FactoryGirl::Syntax::Methods include GemHel...
require 'shoulda' require 'helpers/gem_helpers' RubygemFs.mock! Aws.config[:stub_responses] = true class ActiveSupport::TestCase include FactoryGirl::Syntax::Methods include GemHelpers setup { I18n.locale = :en } def page Capybara::Node::Simple.new(@response.body) end def requires_toxiproxy ski...
<|file_sep|>test/test_helper.rb.diff original: I18n.locale = :en updated: <|file_sep|>original/test/test_helper.rb require 'shoulda' require 'helpers/gem_helpers' RubygemFs.mock! Aws.config[:stub_responses] = true I18n.locale = :en class ActiveSupport::TestCase include FactoryGirl::Syntax::Methods include GemHel...
5f83181a482a958a37ef2cb1fa77973b0440bff9
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/app/views/devise/sessions/new.html.erb <h2>Sign in</h2> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <div><%= f.label :email %><br /> <%= f.email_field :email %></div> <div><%= f.label :password %><br /> <%= f.password_field :password %></div...
<h2>Sign in</h2> <%= form_for(resource, :as => resource_name, :url => user_session_path) do |f| %> <div><%= f.label :email %><br /> <%= f.email_field :email %></div> <div><%= f.label :password %><br /> <%= f.password_field :password %></div> <% if devise_mapping.rememberable? -%> <div><%= f.check_box :...
<|file_sep|>original/app/views/devise/sessions/new.html.erb <h2>Sign in</h2> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <div><%= f.label :email %><br /> <%= f.email_field :email %></div> <div><%= f.label :password %><br /> <%= f.password_field :password %></div...
168d51fb6a2a6f6ebe467b20b526aeb0ea8b8991
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
HTML+ERB
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionSha256Sum=81003f83b0056d20eedf48cddd4f52a9813163d4ba185bcf8abd34b8eeea4cbd distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip zipStoreBase=GRADLE_USER_HOM...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionSha256Sum=13bf8d3cf8eeeb5770d19741a59bde9bd966dd78d17f1bbad787a05ef19d1c2d distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionSha256Sum=81003f83b0056d20eedf48cddd4f52a9813163d4ba185bcf8abd34b8eeea4cbd distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip zipStoreBase=GRADLE_USER_HOM...
2e733f1a353cccbe678ca845fc9931321f9c4f84
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>sonar-project.properties.diff original: sonar.projectKey = com.telefonica.fiware:fiware-orion-pep sonar.projectName = fiware-orion-pep sonar.projectVersion = 0.1.0 updated: sonar.projectKey=com.telefonica.fiware:fiware-orion-pep sonar.projectName=fiware-orion-pep sonar.projectVersion=0.1.0 <|file_sep|>sonar...
sonar.projectKey=com.telefonica.fiware:fiware-orion-pep sonar.projectName=fiware-orion-pep sonar.projectVersion=0.1.0 sonar.sources=lib sonar.tests=test sonar.language=js sonar.dynamicAnalysis=reuseReports sonar.javascript.jstest.reportsPath=site/report sonar.javascript.lcov.reportPath=site/coverage/lcov.info sonar...
<|file_sep|>sonar-project.properties.diff original: sonar.projectKey = com.telefonica.fiware:fiware-orion-pep sonar.projectName = fiware-orion-pep sonar.projectVersion = 0.1.0 updated: sonar.projectKey=com.telefonica.fiware:fiware-orion-pep sonar.projectName=fiware-orion-pep sonar.projectVersion=0.1.0 <|file_sep|>sonar...
032831386dffc6691f33f76936244224b2dbacfa
sonar-project.properties
sonar-project.properties
INI
<|file_sep|>client/modules/Challenges/Challenges.jsx.diff original: import React from 'react'; updated: import React, { Component } from 'react'; <|file_sep|>client/modules/Challenges/Challenges.jsx.diff original: const CATEGORIES = [ { name: 'Urban Planning', description: 'Description', challenges: [ ...
class Challenges extends Component { constructor(props) { super(props); this.state = { categories: [] }; } componentDidMount() { fetch('https://d4sd-api.ucsd.edu/categories?challenges=true') .then((response) => { return response.json(); }) .then((data) => { this.setS...
<|file_sep|>client/modules/Challenges/Challenges.jsx.diff original: import React from 'react'; updated: import React, { Component } from 'react'; <|file_sep|>client/modules/Challenges/Challenges.jsx.diff original: const CATEGORIES = [ { name: 'Urban Planning', description: 'Description', challenges: [ ...
58ac1efd6fcbe067e0ccb3dc7e311b84671382f5
client/modules/Challenges/Challenges.jsx
client/modules/Challenges/Challenges.jsx
JSX
<|file_sep|>original/www/shows/index.php $items = array(); foreach( $shows->channel->item as $show ): preg_match( '#\[(.+?)\]\[(.+?)\]\[(.+?)\]\[(.+?)\]#mis', $show->title, $matches ); $dateString = date( 'Y-m-d', strtotime( $matches[ 4 ] ) ); if( !isset( $items[ $dateString ] ) ): $items[ $dateS...
$items = array(); foreach( $shows->channel->item as $show ): preg_match( '#\[(.+?)\]\[(.+?)\]\[(.+?)\]\[(.+?)\]#mis', $show->title, $matches ); $dateString = date( 'Y-m-d', strtotime( $matches[ 4 ] ) ); if( !isset( $items[ $dateString ] ) ): $items[ $dateString ] = array(); endif; $item ...
<|file_sep|>original/www/shows/index.php $items = array(); foreach( $shows->channel->item as $show ): preg_match( '#\[(.+?)\]\[(.+?)\]\[(.+?)\]\[(.+?)\]#mis', $show->title, $matches ); $dateString = date( 'Y-m-d', strtotime( $matches[ 4 ] ) ); if( !isset( $items[ $dateString ] ) ): $items[ $dateS...
17583f0a19cd0710d9ee03a32ed2d0ab385b5934
www/shows/index.php
www/shows/index.php
PHP
<|file_sep|>original/metadata/com.sam.hex.txt Repo:https://github.com/Xlythe/HexGame_Android.git Build:2.2,13 commit=900717 target=android-15 Build:2.3,14 commit=ed1053230e77e13a target=android-15 Build:3.0.2,22 disable=Uses GMS commit=2010ac7d1a1ab target=android-17 srclibs=1:ActionB...
Repo:https://github.com/Xlythe/HexGame_Android.git Build:2.2,13 commit=900717 target=android-15 Build:2.3,14 commit=ed1053230e77e13a target=android-15 Build:3.0.2,22 disable=Uses GMS commit=2010ac7d1a1ab target=android-17 srclibs=1:ActionBarSherlock@4.4.0 Auto Update Mode:None Update...
<|file_sep|>original/metadata/com.sam.hex.txt Repo:https://github.com/Xlythe/HexGame_Android.git Build:2.2,13 commit=900717 target=android-15 Build:2.3,14 commit=ed1053230e77e13a target=android-15 Build:3.0.2,22 disable=Uses GMS commit=2010ac7d1a1ab target=android-17 srclibs=1:ActionB...
b4f02a1b9ebcabc3b9dd0c1428760d6e5e9bfcf0
metadata/com.sam.hex.txt
metadata/com.sam.hex.txt
Text
<|file_sep|>original/.config/fish/functions/🐍__pip.fish # end set -l global_packages \ doc2dash \ lizard \ powerline-status \ Pygments \ # gitstatus segment fork for powerline-status 'git+https://github.com/phatblat/powerline-gitstatus.git@segment-spacing' ...
# end set -l global_packages \ doc2dash \ lizard \ powerline-status \ Pygments \ # gitstatus segment fork for powerline-status 'git+https://github.com/phatblat/powerline-gitstatus.git@segment-spacing' # Update pip pip3 install --upgrade pip setuptools wh...
<|file_sep|>original/.config/fish/functions/🐍__pip.fish # end set -l global_packages \ doc2dash \ lizard \ powerline-status \ Pygments \ # gitstatus segment fork for powerline-status 'git+https://github.com/phatblat/powerline-gitstatus.git@segment-spacing' ...
cf762e19b379df761fc56107a28038caf285aa41
.config/fish/functions/🐍__pip.fish
.config/fish/functions/🐍__pip.fish
fish
<|file_sep|>original/.travis.yml --- dist: trusty services: - docker language: go go: - "1.11.x" install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/gola...
--- dist: trusty services: - docker language: go go: - "1.11.x" go_import_path: github.com/terraform-providers/terraform-provider-kubernetes install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that ...
<|file_sep|>original/.travis.yml --- dist: trusty services: - docker language: go go: - "1.11.x" install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/gola...
f79374d077b65a8cee4cdabe4ae7edc93391aef5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json ], "author": "Van-Duyet Le", "license": "MIT", "bugs": { "url": "https://github.com/duyetdev/node-ngram/issues" }, "homepage": "https://github.com/duyetdev/node-ngram#readme", "dependencies": { "lodash": "^4.17.12", "node-textcleaner": "0.0.1", "node-vntok...
], "author": "Van-Duyet Le", "license": "MIT", "bugs": { "url": "https://github.com/duyetdev/node-ngram/issues" }, "homepage": "https://github.com/duyetdev/node-ngram#readme", "dependencies": { "lodash": "^4.17.12", "node-textcleaner": "0.0.1", "node-vntokenizer": "0.0.2", "snyk": "^1....
<|file_sep|>original/package.json ], "author": "Van-Duyet Le", "license": "MIT", "bugs": { "url": "https://github.com/duyetdev/node-ngram/issues" }, "homepage": "https://github.com/duyetdev/node-ngram#readme", "dependencies": { "lodash": "^4.17.12", "node-textcleaner": "0.0.1", "node-vntok...
7d4d368b4c21061fc4e777990d52053c23e031c0
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - tip script: - go test -cpu=2 ./... - go test -cpu=2 -tags=noasm ./... - go test -cpu=2 -short -race ./... - go test -cpu=2 -short -race -tags=noasm ./... <|file_sep|>current/.travis.yml language: go go: - 1.3 - 1.4 - tip script: - go...
language: go go: - 1.3 - 1.4 - 1.5 - tip script: - go test -cpu=2 ./... - go test -cpu=2 -tags=noasm ./... - go test -cpu=2 -short -race ./... - go test -cpu=2 -short -race -tags=noasm ./...
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - tip script: - go test -cpu=2 ./... - go test -cpu=2 -tags=noasm ./... - go test -cpu=2 -short -race ./... - go test -cpu=2 -short -race -tags=noasm ./... <|file_sep|>current/.travis.yml language: go go: - 1.3 - 1.4 - tip script: - go...
48c5f348b9f5ec61d1cc7b85624500270e6a49c0
.travis.yml
.travis.yml
YAML
<|file_sep|>js/Search.spec.js.diff original: import { shallow } from 'enzyme' updated: import { Provider } from 'react-redux' import { shallow, render } from 'enzyme' <|file_sep|>js/Search.spec.js.diff original: import Search from './Search' updated: import store from './store' import { setSearchTerm } from './actionCr...
test('Search snapshot test', () => { const component = shallow(<UnwrappedSearch shows={preload.shows} searchTerm='' />) const tree = shallowToJson(component) expect(tree).toMatchSnapshot() }) test('Search should render a ShowCard for each show', () => { const component = shallow(<UnwrappedSearch shows={preloa...
<|file_sep|>js/Search.spec.js.diff original: import { shallow } from 'enzyme' updated: import { Provider } from 'react-redux' import { shallow, render } from 'enzyme' <|file_sep|>js/Search.spec.js.diff original: import Search from './Search' updated: import store from './store' import { setSearchTerm } from './actionCr...
b2df845261f189bbe7ab32422c8c0eb808eae4c9
js/Search.spec.js
js/Search.spec.js
JavaScript
<|file_sep|>original/test/CodeGen/Mips/zeroreg.ll <|file_sep|>current/test/CodeGen/Mips/zeroreg.ll <|file_sep|>updated/test/CodeGen/Mips/zeroreg.ll
; RUN: llc < %s -march=mipsel | FileCheck %s @g1 = external global i32 define i32 @foo0(i32 %s) nounwind readonly { entry: ; CHECK-NOT: addiu ; CHECK: movn %tobool = icmp ne i32 %s, 0 %0 = load i32* @g1, align 4, !tbaa !0 %cond = select i1 %tobool, i32 0, i32 %0 ret i32 %cond } define i32 @foo1(i32 %s) n...
<|file_sep|>original/test/CodeGen/Mips/zeroreg.ll <|file_sep|>current/test/CodeGen/Mips/zeroreg.ll <|file_sep|>updated/test/CodeGen/Mips/zeroreg.ll ; RUN: llc < %s -march=mipsel | FileCheck %s @g1 = external global i32 define i32 @foo0(i32 %s) nounwind readonly { entry: ; CHECK-NOT: addiu ; CHECK: movn %toboo...
d4b0a06e19faae2f2554be3a67938f6d6b8a211b
test/CodeGen/Mips/zeroreg.ll
test/CodeGen/Mips/zeroreg.ll
LLVM
<|file_sep|>original/readme.md # UsefulScripts A collection of various scripts that I wrote for various purposes. It has scripts to the following tasks: ## Descriptions of each script * Initialize a C++ project with a makefile and a skeleton main function - `quick-cpp-setup.sh` ## Notes * scripts under `inprogress...
# UsefulScripts A collection of various scripts that I wrote for various purposes. It has scripts to the following tasks: ## Descriptions of each script * Initialize a C++ project with a makefile and a skeleton main function - `quick-cpp-setup.sh` * A script that is equalivalent to the autoversion plug-in for cod...
<|file_sep|>original/readme.md # UsefulScripts A collection of various scripts that I wrote for various purposes. It has scripts to the following tasks: ## Descriptions of each script * Initialize a C++ project with a makefile and a skeleton main function - `quick-cpp-setup.sh` ## Notes * scripts under `inprogress...
25baa58747e2f3f61291d3b541ededa8233c687b
readme.md
readme.md
Markdown
<|file_sep|>original/.android-things-driver.json <|file_sep|>current/.android-things-driver.json <|file_sep|>updated/.android-things-driver.json
{ "title": "RC522", "category": "RFID reader", "published-maven": { "maven-url": "https://bintray.com", "groupid": "com.galarzza.android-things", "artifactid": "rc522" }, "compatible-with": [ { "title": "MFRC52201HN1,157", "url": "https://www.m...
<|file_sep|>original/.android-things-driver.json <|file_sep|>current/.android-things-driver.json <|file_sep|>updated/.android-things-driver.json { "title": "RC522", "category": "RFID reader", "published-maven": { "maven-url": "https://bintray.com", "groupid": "com.galarzza.android-things",...
c1b940175f77e7dc2576a8c48e3ce7a6354d619b
.android-things-driver.json
.android-things-driver.json
JSON
<|file_sep|>original/metadata/org.ligi.passandroid.txt Build:2.3.1,231 commit=2.3.1 gradle=NoMapsNoAnalyticsForFDroid prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Build:2.3.2,232 commit=2.3.2 gradle=noMaps,noAnalytics,forFDroid prebui...
Build:2.3.1,231 commit=2.3.1 gradle=NoMapsNoAnalyticsForFDroid prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Build:2.3.2,232 commit=2.3.2 gradle=noMaps,noAnalytics,forFDroid prebuild=sed -i -e '/play_services/d' -e '/android-sdk-manage...
<|file_sep|>original/metadata/org.ligi.passandroid.txt Build:2.3.1,231 commit=2.3.1 gradle=NoMapsNoAnalyticsForFDroid prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Build:2.3.2,232 commit=2.3.2 gradle=noMaps,noAnalytics,forFDroid prebui...
e492a1349a29f2e36d74ad7b248f3b3590b75c26
metadata/org.ligi.passandroid.txt
metadata/org.ligi.passandroid.txt
Text
<|file_sep|>app/assets/javascripts/_domscripting/navigation.js.diff original: navigationClassName = 'show-navigation'; updated: var NAV_CLASS_NAME = 'show-navigation'; <|file_sep|>app/assets/javascripts/_domscripting/navigation.js.diff original: $('body').toggleClass(navigationClassName); updated: $('body').tog...
event.preventDefault(); event.stopPropagation(); $('body').toggleClass(NAV_CLASS_NAME); // Close navigation slider when the user clicks ouside of the navigation: $(document).one("click", function() { $('body').removeClass(NAV_CLASS_NAME); }); // Prevent closing of navigation slider when a normal na...
<|file_sep|>app/assets/javascripts/_domscripting/navigation.js.diff original: navigationClassName = 'show-navigation'; updated: var NAV_CLASS_NAME = 'show-navigation'; <|file_sep|>app/assets/javascripts/_domscripting/navigation.js.diff original: $('body').toggleClass(navigationClassName); updated: $('body').tog...
5e8fec96c4612a43f8e6cea2a61a7eb842bd5534
app/assets/javascripts/_domscripting/navigation.js
app/assets/javascripts/_domscripting/navigation.js
JavaScript
<|file_sep|>original/config/mongoid.yml production: <<: *defaults sessions: default: database: cloudsdale username: cloudsdale password: 62148f9b9158ead23c8ace8c1b081055d068a216d3096b95f6399508f6674d6e3bf6ebbfcdbe85b126b431a8674a1d59370918683781976be5cfeba2c89f94b4 hosts: - 19...
consistency: :strong production: <<: *defaults sessions: default: database: cloudsdale username: cloudsdale password: 62148f9b9158ead23c8ace8c1b081055d068a216d3096b95f6399508f6674d6e3bf6ebbfcdbe85b126b431a8674a1d59370918683781976be5cfeba2c89f94b4 hosts: - <%= ENV['MONG...
<|file_sep|>original/config/mongoid.yml production: <<: *defaults sessions: default: database: cloudsdale username: cloudsdale password: 62148f9b9158ead23c8ace8c1b081055d068a216d3096b95f6399508f6674d6e3bf6ebbfcdbe85b126b431a8674a1d59370918683781976be5cfeba2c89f94b4 hosts: - 19...
dc8af7313c12fba8965c612c7c60941ff3c0f289
config/mongoid.yml
config/mongoid.yml
YAML
<|file_sep|>original/.travis.yml language: python python: - "2.7" sudo: false addons: apt: packages: - python-dev - build-essential - mysql-server - mysql-client - graphviz - python-pip - python-numpy - git - libmysqlclient-dev - docbook - python-apt - d...
language: python python: - "2.7" - "3.6" sudo: false addons: apt: packages: - python-dev - build-essential - mysql-server - mysql-client - graphviz - python-pip - python-numpy - git - libmysqlclient-dev - docbook - python-apt
<|file_sep|>original/.travis.yml language: python python: - "2.7" sudo: false addons: apt: packages: - python-dev - build-essential - mysql-server - mysql-client - graphviz - python-pip - python-numpy - git - libmysqlclient-dev - docbook - python-apt - d...
d21f25e6a5791d58f0bb478a976f7b81edf1d6ba
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/Middleware/SharedEncryptResponseTest.php <|file_sep|>current/tests/Middleware/SharedEncryptResponseTest.php <|file_sep|>updated/tests/Middleware/SharedEncryptResponseTest.php
<?php namespace MCordingley\LaravelSapient\Test\Middleware; use Illuminate\Http\Request; use Illuminate\Http\Response; use MCordingley\LaravelSapient\Middleware\SharedEncryptResponse; use ParagonIE\Sapient\CryptographyKeys\SharedEncryptionKey; use ParagonIE\Sapient\Simple; final class SharedEncryptResponseTest exten...
<|file_sep|>original/tests/Middleware/SharedEncryptResponseTest.php <|file_sep|>current/tests/Middleware/SharedEncryptResponseTest.php <|file_sep|>updated/tests/Middleware/SharedEncryptResponseTest.php <?php namespace MCordingley\LaravelSapient\Test\Middleware; use Illuminate\Http\Request; use Illuminate\Http\Respo...
50242428110f963f10cd2d284682a0d783986878
tests/Middleware/SharedEncryptResponseTest.php
tests/Middleware/SharedEncryptResponseTest.php
PHP
<|file_sep|>original/README.md # secure-preferences[![Build Status](https://travis-ci.org/adstro/secure-preferences.svg?branch=master)](https://travis-ci.org/adstro/secure-preferences) [![codecov](https://codecov.io/gh/adstro/secure-preferences/branch/master/graph/badge.svg)](https://codecov.io/gh/adstro/secure-prefere...
# secure-preferences [![Build Status](https://travis-ci.org/adstro/secure-preferences.svg?branch=master)](https://travis-ci.org/adstro/secure-preferences) [![codecov](https://codecov.io/gh/adstro/secure-preferences/branch/master/graph/badge.svg)](https://codecov.io/gh/adstro/secure-preferences)
<|file_sep|>original/README.md # secure-preferences[![Build Status](https://travis-ci.org/adstro/secure-preferences.svg?branch=master)](https://travis-ci.org/adstro/secure-preferences) [![codecov](https://codecov.io/gh/adstro/secure-preferences/branch/master/graph/badge.svg)](https://codecov.io/gh/adstro/secure-prefere...
2485d9344d814e2463983e709471be4445cd7612
README.md
README.md
Markdown
<|file_sep|>app/views/noisy_workflow/request_fact_check.text.erb.diff original: Hello, updated: Hello. <|file_sep|>app/views/noisy_workflow/request_fact_check.text.erb.diff original: The following piece of mainstream GOV.UK content is ready to be checked for factual accuracy: updated: The following piece of mainstream ...
Please reply to this email and either: - confirm that the content is correct - provide clear specific details of what's incorrect, why and what changes should be made Only include factual errors - we'll rewrite any content as needed. You must make sure: - you only send 1 reply - your reply is in plain text (eg no c...
<|file_sep|>app/views/noisy_workflow/request_fact_check.text.erb.diff original: Hello, updated: Hello. <|file_sep|>app/views/noisy_workflow/request_fact_check.text.erb.diff original: The following piece of mainstream GOV.UK content is ready to be checked for factual accuracy: updated: The following piece of mainstream ...
747c7bc260aab88d8520e410a8554bde63f25a24
app/views/noisy_workflow/request_fact_check.text.erb
app/views/noisy_workflow/request_fact_check.text.erb
HTML+ERB
<|file_sep|>original/ManifoldTests/InferenceTests.swift // Copyright (c) 2015 Rob Rix. All rights reserved. final class InferenceTests: XCTestCase { func testVariablesAreAssignedAFreshTypeVariable() { assertEqual(assertRight(typeOf(0))?.0, Type(Variable())) } func testApplicationsAreAssignedAFreshTypeVariable()...
final class InferenceTests: XCTestCase { func testVariablesAreAssignedAFreshTypeVariable() { assertEqual(assertRight(typeOf(0))?.0, Type(Variable())) } func testApplicationsAreAssignedAFreshTypeVariable() { let application = 0 <| 0 // fixme: left operand should be an abstraction assertEqual(assertRight(typeO...
<|file_sep|>original/ManifoldTests/InferenceTests.swift // Copyright (c) 2015 Rob Rix. All rights reserved. final class InferenceTests: XCTestCase { func testVariablesAreAssignedAFreshTypeVariable() { assertEqual(assertRight(typeOf(0))?.0, Type(Variable())) } func testApplicationsAreAssignedAFreshTypeVariable()...
7c644dac78c61d0d82d3dd78449ee97cd696b388
ManifoldTests/InferenceTests.swift
ManifoldTests/InferenceTests.swift
Swift
<|file_sep|>original/public/json/karabiner-macro-volume-brightness.json <|file_sep|>current/public/json/karabiner-macro-volume-brightness.json <|file_sep|>updated/public/json/karabiner-macro-volume-brightness.json
{ "title": "TES68 Volume and Brightness Macros + Up/Down Arrows", "rules": [ { "description": "Page Up as Volume Mod", "manipulators": [ { "type": "basic", "from": { "key_code": "page_up" ...
<|file_sep|>original/public/json/karabiner-macro-volume-brightness.json <|file_sep|>current/public/json/karabiner-macro-volume-brightness.json <|file_sep|>updated/public/json/karabiner-macro-volume-brightness.json { "title": "TES68 Volume and Brightness Macros + Up/Down Arrows", "rules": [ { ...
fd4c8fdde25b898538486af6445e91e225671126
public/json/karabiner-macro-volume-brightness.json
public/json/karabiner-macro-volume-brightness.json
JSON
<|file_sep|>original/README.md $ rails g trackets:install API_KEY $ rake trackets:test # To send testing exception ## Rails To include JavaScript tracking code in your app just add this line to your `app/views/layout/application.html.erb` ```erb <%= trackets_include_tag %> ``` ## Rake tasks $ rake track...
$ rake trackets:test # To send testing exception ## Rails To include JavaScript tracking code in your app just add this line to your `app/views/layout/application.html.erb` ```erb <%= trackets_include_tag %> ``` ## Rack Simple `example.ru` ```ruby require 'rack' require 'trackets' Trackets.setup do |config| ...
<|file_sep|>original/README.md $ rails g trackets:install API_KEY $ rake trackets:test # To send testing exception ## Rails To include JavaScript tracking code in your app just add this line to your `app/views/layout/application.html.erb` ```erb <%= trackets_include_tag %> ``` ## Rake tasks $ rake track...
b432b87b37bcd3c1661084584f2525061c8a7af4
README.md
README.md
Markdown
<|file_sep|>src/TextUI/XmlConfiguration/Migration/Migrator.php.diff original: updated: use PHPUnit\Util\Exception as UtilException; <|file_sep|>original/src/TextUI/XmlConfiguration/Migration/Migrator.php /** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class Migrat...
/** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class Migrator { /** * @throws MigrationBuilderException * @throws MigrationException * @throws Exception * @throws UtilException */ public function migrate(string $filename): string ...
<|file_sep|>src/TextUI/XmlConfiguration/Migration/Migrator.php.diff original: updated: use PHPUnit\Util\Exception as UtilException; <|file_sep|>original/src/TextUI/XmlConfiguration/Migration/Migrator.php /** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class Migrat...
60a7ebe4a00bd0bdebabb06f4b4c4976db1729a3
src/TextUI/XmlConfiguration/Migration/Migrator.php
src/TextUI/XmlConfiguration/Migration/Migrator.php
PHP
<|file_sep|>config/application.rb.diff original: origins 'ronil.kapsi.fi' updated: origins 'fillari.info' <|file_sep|>original/config/application.rb # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' # The...
# config.i18n.default_locale = :de # Do not swallow errors in after_commit/after_rollback callbacks. config.active_record.raise_in_transactional_callbacks = true config.middleware.use Rack::JSONP config.middleware.use Rack::Cors do allow do origins 'fillari.info' resource %r{...
<|file_sep|>config/application.rb.diff original: origins 'ronil.kapsi.fi' updated: origins 'fillari.info' <|file_sep|>original/config/application.rb # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' # The...
0e803d5ac8f5ab4cc6ad1b6b8b20d2b2ea28ba23
config/application.rb
config/application.rb
Ruby
<|file_sep|>original/.travis.yml script: - env CAPTURE_STDERR=${CAPTURE_STDERR:-false} bundle exec rake ci env: - "RAILS_VERSION=4.0" - "RAILS_VERSION=4.1" - "RAILS_VERSION=4.2" - "RAILS_VERSION=master" matrix: exclude: - rvm: 2.0.0 env: RAILS_VERSION=master - rvm: 2.1 env: RAILS_VERSION=maste...
env: - "RAILS_VERSION=4.0" - "RAILS_VERSION=4.1" - "RAILS_VERSION=4.2" - "RAILS_VERSION=master" matrix: exclude: - rvm: 2.0.0 env: RAILS_VERSION=master - rvm: 2.1 env: RAILS_VERSION=master include: - rvm: 2.2 env: CAPTURE_STDERR=true - rvm: jruby-9000 env: JRUBY_OPTS='--server -Xco...
<|file_sep|>original/.travis.yml script: - env CAPTURE_STDERR=${CAPTURE_STDERR:-false} bundle exec rake ci env: - "RAILS_VERSION=4.0" - "RAILS_VERSION=4.1" - "RAILS_VERSION=4.2" - "RAILS_VERSION=master" matrix: exclude: - rvm: 2.0.0 env: RAILS_VERSION=master - rvm: 2.1 env: RAILS_VERSION=maste...
94ca0e0701e64d1cf8add2454200ed1f2811161c
.travis.yml
.travis.yml
YAML
<|file_sep|>src/screens/rename/views/browse/components/folder.jsx.diff original: const Folder = ({ position, extention, match }) => { updated: const Folder = ({ extention, match }) => { <|file_sep|>src/screens/rename/views/browse/components/folder.jsx.diff original: <div class={`folder ${match ? 'active' : 'inactive'...
const Folder = ({ extention, match }) => { return ( <div class={`folder ${match ? 'active' : 'inactive'}`}> <svg version='1.1' x='0px' y='0px' viewBox='0 0 55 75' enableBackground='new 0 0 55 75'> <path class='folder-edge' fill='#141B23' d='M54.5,75h-54C0.224,75,0,74.776,0,74.5v-74C0,0.224,0.22...
<|file_sep|>src/screens/rename/views/browse/components/folder.jsx.diff original: const Folder = ({ position, extention, match }) => { updated: const Folder = ({ extention, match }) => { <|file_sep|>src/screens/rename/views/browse/components/folder.jsx.diff original: <div class={`folder ${match ? 'active' : 'inactive'...
88360acc80d75f44fd1aa202c18e747eaba0e016
src/screens/rename/views/browse/components/folder.jsx
src/screens/rename/views/browse/components/folder.jsx
JSX
<|file_sep|>setup.py.diff original: # '-ferror-limit=1' updated: <|file_sep|>original/setup.py '-fopenmp', '-fpic', '-g', '-Wno-deprecated', # '-ferror-limit=1' ] py_modules=['pyaccess/pyaccess', 'pyaccess/urbanaccess'] setup( packages=packages, py_modules=py_modules, name=extensio...
'-fopenmp', '-fpic', '-g', '-Wno-deprecated', ] py_modules=['pyaccess/pyaccess', 'pyaccess/urbanaccess'] setup( packages=packages, py_modules=py_modules, name='pyaccess', version=extension_version, ext_modules=[ Extension( extension_name, source_files...
<|file_sep|>setup.py.diff original: # '-ferror-limit=1' updated: <|file_sep|>original/setup.py '-fopenmp', '-fpic', '-g', '-Wno-deprecated', # '-ferror-limit=1' ] py_modules=['pyaccess/pyaccess', 'pyaccess/urbanaccess'] setup( packages=packages, py_modules=py_modules, name=extensio...
3c9a062ebb7745fbdefcf836165ef5cd85825417
setup.py
setup.py
Python
<|file_sep|>original/Kitbot/src/Commands/SavePreferences.cpp #include "SavePreferences.h" SavePreferences::SavePreferences() { } // Called just before this Command runs the first time void SavePreferences::Initialize() { Preferences::GetInstance()->Save(); } // Called repeatedly when this Command is scheduled to ru...
#include "SavePreferences.h" SavePreferences::SavePreferences() { this->SetRunWhenDisabled(true); } // Called just before this Command runs the first time void SavePreferences::Initialize() { Preferences::GetInstance()->Save(); } // Called repeatedly when this Command is scheduled to run void SavePreferences::Exec...
<|file_sep|>original/Kitbot/src/Commands/SavePreferences.cpp #include "SavePreferences.h" SavePreferences::SavePreferences() { } // Called just before this Command runs the first time void SavePreferences::Initialize() { Preferences::GetInstance()->Save(); } // Called repeatedly when this Command is scheduled to ru...
8a2f9ebd60568d33eb4f7bb8741a07dea6bef918
Kitbot/src/Commands/SavePreferences.cpp
Kitbot/src/Commands/SavePreferences.cpp
C++
<|file_sep|>original/views/skyflow/helper/query-form.html.twig {{ form_start(queryForm, {'attr': {'class': 'form-horizontal'}}) }} {{ form_row(queryForm.Request, {'label': 'Request'}) }} <input type="submit" name="submit" id="submit" value="Send Request ! "/> {{ form_end(queryForm) }} <|file_sep|>current/views/skyflow/...
{{ form_start(queryForm, {'attr': {'class': 'form-horizontal'}}) }} {{ form_row(queryForm.Request, {'label': 'Query'}) }} <input type="submit" name="submit" id="submit" value="Send Request ! "/> {{ form_end(queryForm) }}
<|file_sep|>original/views/skyflow/helper/query-form.html.twig {{ form_start(queryForm, {'attr': {'class': 'form-horizontal'}}) }} {{ form_row(queryForm.Request, {'label': 'Request'}) }} <input type="submit" name="submit" id="submit" value="Send Request ! "/> {{ form_end(queryForm) }} <|file_sep|>current/views/skyflow/...
5291dada84d4404098123985b427dee3897caaf9
views/skyflow/helper/query-form.html.twig
views/skyflow/helper/query-form.html.twig
Twig
<|file_sep|>original/repo_health/gh_issues/serializers/GhIssueStatsSerializer.py _label_names = None issues_count = s.SerializerMethodField() issues_closed_last_year = s.SerializerMethodField() issues_opened_last_year = s.SerializerMethodField() merged_count = s.SerializerMethodField() def __...
issues_count = s.SerializerMethodField() issues_closed_last_year = s.SerializerMethodField() issues_opened_last_year = s.SerializerMethodField() merged_count = s.SerializerMethodField() def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) repo = args[0] sel...
<|file_sep|>original/repo_health/gh_issues/serializers/GhIssueStatsSerializer.py _label_names = None issues_count = s.SerializerMethodField() issues_closed_last_year = s.SerializerMethodField() issues_opened_last_year = s.SerializerMethodField() merged_count = s.SerializerMethodField() def __...
a89b6ec1bda46c63c0ff0e0a8bb44eb3eda41c1b
repo_health/gh_issues/serializers/GhIssueStatsSerializer.py
repo_health/gh_issues/serializers/GhIssueStatsSerializer.py
Python
<|file_sep|>_includes/sidebar.html.diff original: <div class="sidebar-container col-md-3"> updated: <div class="sidebar-container"> <|file_sep|>_includes/sidebar.html.diff original: updated: <li> <a href="{{ site.baseurl }}/">Home</a> </li> <|file_sep|>original/_includes/sidebar.html </li> <ul id...
<li class="collapsed active" data-toggle="collapse" data-target="#categories"> <a href="#">Categories</a> </li> <ul id="categories" class="sub-menu collapse in"> {% for category in site.categories %} <li><a href="{{ category | first | downcase | prepend: "/" | prepend: site.baseurl }}">{{ ...
<|file_sep|>_includes/sidebar.html.diff original: <div class="sidebar-container col-md-3"> updated: <div class="sidebar-container"> <|file_sep|>_includes/sidebar.html.diff original: updated: <li> <a href="{{ site.baseurl }}/">Home</a> </li> <|file_sep|>original/_includes/sidebar.html </li> <ul id...
2d92431bf6a2b6ff2f9311ce63534ec78298b019
_includes/sidebar.html
_includes/sidebar.html
HTML
<|file_sep|>Cargo.toml.diff original: updated: rustc-serialize = { version = "0.3", optional = true } heapsize = { version = ">=0.1.1, <0.4", optional = true } <|file_sep|>original/Cargo.toml [dependencies] lazy_static = "0.2" serde = ">=0.6, <0.9" phf_shared = "0.7.4" debug_unreachable = "0.1.1" [dev-dependencies] ...
# Use unstable features to optimize space and time (memory and CPU usage). unstable = [] # HeapSizeOf support heap_size = ["heapsize"] [dependencies] lazy_static = "0.2" serde = ">=0.6, <0.9" phf_shared = "0.7.4" debug_unreachable = "0.1.1" rustc-serialize = { version = "0.3", optional = true } heapsize = { version ...
<|file_sep|>Cargo.toml.diff original: updated: rustc-serialize = { version = "0.3", optional = true } heapsize = { version = ">=0.1.1, <0.4", optional = true } <|file_sep|>original/Cargo.toml [dependencies] lazy_static = "0.2" serde = ">=0.6, <0.9" phf_shared = "0.7.4" debug_unreachable = "0.1.1" [dev-dependencies] ...
90bdc783146149924c3f5ba0b5d3f9d68803f74d
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/assets/css/tuna.css code, pre { color: #555; background-color: #ddd; } code { padding: 6px; } pre { padding: 12px; } <|file_sep|>current/assets/css/tuna.css code, pre { color: #555; background-color: #ddd; } code { padding: 6px; } pre { padding: 12px; } <|file_sep|>updated/assets/css/tuna.c...
code, pre { color: #555; background-color: #ddd; font-size: 14px !important; } code { padding: 6px; } pre { padding: 12px; }
<|file_sep|>original/assets/css/tuna.css code, pre { color: #555; background-color: #ddd; } code { padding: 6px; } pre { padding: 12px; } <|file_sep|>current/assets/css/tuna.css code, pre { color: #555; background-color: #ddd; } code { padding: 6px; } pre { padding: 12px; } <|file_sep|>updated/assets/css/tuna.c...
d387d38acf50962ef01fc5776643005d7b41bfa1
assets/css/tuna.css
assets/css/tuna.css
CSS
<|file_sep|>knapsack.py.diff original: updated: import sys import pyspark.sql.functions as func from pyspark.sql.window import Window <|file_sep|>original/knapsack.py # Knapsack 0-1 function wieights, values and size n. from pyspark.sql import Row from pyspark.sql.functions import lit from pyspark.sql.functions impor...
# Knapsack 0-1 function wieights, values and size n. import sys import pyspark.sql.functions as func from pyspark.sql.window import Window from pyspark.sql import Row from pyspark.sql.functions import lit from pyspark.sql.functions import col # Greedy implementation of 0-1 Knapsack algorithm. def knapsack(knapsackDF...
<|file_sep|>knapsack.py.diff original: updated: import sys import pyspark.sql.functions as func from pyspark.sql.window import Window <|file_sep|>original/knapsack.py # Knapsack 0-1 function wieights, values and size n. from pyspark.sql import Row from pyspark.sql.functions import lit from pyspark.sql.functions impor...
dcf0e140303259f7b3df2609281b635dbcd4806f
knapsack.py
knapsack.py
Python
<|file_sep|>original/composer.json { "name": "marcj/php-pm", "require": { "symfony/console": "~2.4", "react/react": "0.3.3", "stack/builder": "1.0.*@dev", "symfony/http-foundation": "2.4.*@dev", "symfony/http-kernel": "2.4.*@dev" }, "autoload": { "psr-4": ...
{ "name": "marcj/php-pm", "require": { "symfony/console": "~2.4", "react/react": "0.3.3", "stack/builder": "1.0.*@dev", "symfony/http-foundation": "2.4.*@dev", "symfony/http-kernel": "2.4.*@dev" }, "autoload": { "psr-4": { "PHPPM\\": "" ...
<|file_sep|>original/composer.json { "name": "marcj/php-pm", "require": { "symfony/console": "~2.4", "react/react": "0.3.3", "stack/builder": "1.0.*@dev", "symfony/http-foundation": "2.4.*@dev", "symfony/http-kernel": "2.4.*@dev" }, "autoload": { "psr-4": ...
3627fb703656b573a45dcb46c52746d361eda764
composer.json
composer.json
JSON
<|file_sep|>original/app/assets/stylesheets/functions/_golden-ratio.scss @function golden-ratio($value, $increment) { @return modular-scale($value, $increment, $golden) } <|file_sep|>current/app/assets/stylesheets/functions/_golden-ratio.scss @function golden-ratio($value, $increment) { @return modular-scale($value...
@function golden-ratio($increment) { @return modular-scale($increment, $ratio: $golden) }
<|file_sep|>original/app/assets/stylesheets/functions/_golden-ratio.scss @function golden-ratio($value, $increment) { @return modular-scale($value, $increment, $golden) } <|file_sep|>current/app/assets/stylesheets/functions/_golden-ratio.scss @function golden-ratio($value, $increment) { @return modular-scale($value...
6f4d70c3d38dbc01b3902ca3d701633c38e23c9f
app/assets/stylesheets/functions/_golden-ratio.scss
app/assets/stylesheets/functions/_golden-ratio.scss
SCSS
<|file_sep|>original/README.md # hexo-theme-colos-multilingual-demo Multilingual demo site for the colos theme <|file_sep|>current/README.md # hexo-theme-colos-multilingual-demo Multilingual demo site for the colos theme <|file_sep|>updated/README.md
# hexo-theme-colos-multilingual-demo Multilingual demo site for the colos theme You can see a single language demo in http://colos.adrianhaasler.com/.
<|file_sep|>original/README.md # hexo-theme-colos-multilingual-demo Multilingual demo site for the colos theme <|file_sep|>current/README.md # hexo-theme-colos-multilingual-demo Multilingual demo site for the colos theme <|file_sep|>updated/README.md # hexo-theme-colos-multilingual-demo Multilingual demo site for the c...
2cf67f7c5c07e0e4fbfe8bd023228f343537088b
README.md
README.md
Markdown
<|file_sep|>original/config/fuzz_pox_proactive.py <|file_sep|>current/config/fuzz_pox_proactive.py <|file_sep|>updated/config/fuzz_pox_proactive.py
from config.experiment_config_lib import ControllerConfig from sts.topology import FatTree from sts.control_flow import Fuzzer from sts.input_traces.input_logger import InputLogger from sts.simulation_state import SimulationConfig from sts.util.convenience import backtick def get_additional_metadata(): path = "dart...
<|file_sep|>original/config/fuzz_pox_proactive.py <|file_sep|>current/config/fuzz_pox_proactive.py <|file_sep|>updated/config/fuzz_pox_proactive.py from config.experiment_config_lib import ControllerConfig from sts.topology import FatTree from sts.control_flow import Fuzzer from sts.input_traces.input_logger import ...
c1bec6e99e04785e102d4de1e1a82d8a78d2b9ff
config/fuzz_pox_proactive.py
config/fuzz_pox_proactive.py
Python
<|file_sep|>original/app/controllers/neighborly/api/base_controller.rb class BaseController < ActionController::Metal include AbstractController::Rendering include ActionController::ConditionalGet include ActionController::ForceSSL include ActionController::HttpAuthentication::Token::ControllerMethods...
class BaseController < ActionController::Metal include AbstractController::Rendering include ActionController::ConditionalGet include ActionController::ForceSSL include ActionController::HttpAuthentication::Token::ControllerMethods include ActionController::Instrumentation include ActionContro...
<|file_sep|>original/app/controllers/neighborly/api/base_controller.rb class BaseController < ActionController::Metal include AbstractController::Rendering include ActionController::ConditionalGet include ActionController::ForceSSL include ActionController::HttpAuthentication::Token::ControllerMethods...
edac4d36cf3834995b8c6aa16f707dbe83e3a615
app/controllers/neighborly/api/base_controller.rb
app/controllers/neighborly/api/base_controller.rb
Ruby
<|file_sep|>original/ADVOperation.podspec Pod::Spec.new do |s| s.name = 'ADVOperation' s.version = '1.0.0' s.license = 'UNLICENSE' s.summary = 'Advanced Operations' s.homepage = 'https://github.com/gsempe/ADVOperation' s.social_media_url = 'http://twitter.com/gsempe' s.authors = { 'Guillaume Sempe' => 'gu...
Pod::Spec.new do |s| s.name = 'ADVOperation' s.version = '1.0.0' s.license = 'LICENSE' s.summary = 'Advanced Operations' s.homepage = 'https://github.com/gsempe/ADVOperation' s.social_media_url = 'http://twitter.com/gsempe' s.authors = { 'Guillaume Sempe' => 'guillaume@sempe.net' } s.source = { :git => ...
<|file_sep|>original/ADVOperation.podspec Pod::Spec.new do |s| s.name = 'ADVOperation' s.version = '1.0.0' s.license = 'UNLICENSE' s.summary = 'Advanced Operations' s.homepage = 'https://github.com/gsempe/ADVOperation' s.social_media_url = 'http://twitter.com/gsempe' s.authors = { 'Guillaume Sempe' => 'gu...
314a94cfbb83e20ad0af2dfebacaf12c845613b8
ADVOperation.podspec
ADVOperation.podspec
Ruby
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/less/components/html/umb-expansion-panel.less .umb-expansion-panel { background: @white; border-radius: 3px; margin-bottom: 20px; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16); } .umb-expansion-panel__header { padding: 10px 20px; font-weight: bol...
.umb-expansion-panel { background: @white; border-radius: 3px; margin-bottom: 20px; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16); } .umb-expansion-panel__header { box-sizing: border-box; padding: 10px 20px; font-weight: bold; display: flex; align-items: center; justify-content: s...
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/less/components/html/umb-expansion-panel.less .umb-expansion-panel { background: @white; border-radius: 3px; margin-bottom: 20px; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16); } .umb-expansion-panel__header { padding: 10px 20px; font-weight: bol...
96cbf1622f5c7620f542c8a97e602944107b11b1
src/Umbraco.Web.UI.Client/src/less/components/html/umb-expansion-panel.less
src/Umbraco.Web.UI.Client/src/less/components/html/umb-expansion-panel.less
Less
<|file_sep|>original/static_src/notes/books-2021.md <|file_sep|>current/static_src/notes/books-2021.md <|file_sep|>updated/static_src/notes/books-2021.md
<!-- # This file is distributed under under the Creative Commons # Attribution 4.0 International License. To view a copy of this # license, please visit <http://creativecommons.org/licenses/by/4.0/>. title: 'Book List: 2021 Edition' twigTemplate: .templates/notes-base.html.twig --> I'm trying to read more, ...
<|file_sep|>original/static_src/notes/books-2021.md <|file_sep|>current/static_src/notes/books-2021.md <|file_sep|>updated/static_src/notes/books-2021.md <!-- # This file is distributed under under the Creative Commons # Attribution 4.0 International License. To view a copy of this # license, please visit <http...
387266846bd86cc354563f2f6012508a66e53380
static_src/notes/books-2021.md
static_src/notes/books-2021.md
Markdown
<|file_sep|>original/libcpu/timings.h #ifdef __MACH__ #include <mach/mach_time.h> #define abs_time() mach_absolute_time() #endif #ifdef sun #include <sys/time.h> #define abs_time() gethrtime() #endif #ifdef linux #warning High precission timing currently n/a on Linux // HACK #define abs_time() 0 #endif #endif /...
#ifdef sun #include <sys/time.h> #define abs_time() gethrtime() #endif #ifdef linux #warning High precission timing currently n/a on Linux // HACK #define abs_time() 0 #endif #ifdef _WIN32 typedef unsigned long DWORD; #define WINAPI __stdcall extern "C" DWORD WINAPI GetTickCount(void); #define abs_time()...
<|file_sep|>original/libcpu/timings.h #ifdef __MACH__ #include <mach/mach_time.h> #define abs_time() mach_absolute_time() #endif #ifdef sun #include <sys/time.h> #define abs_time() gethrtime() #endif #ifdef linux #warning High precission timing currently n/a on Linux // HACK #define abs_time() 0 #endif #endif /...
b1e795e9014c091b2dc9d997b8a292afe9780597
libcpu/timings.h
libcpu/timings.h
C
<|file_sep|>original/README.md # SVG [![Build Status][travis-img]][travis-url] ## [Documentation][docs] [travis-img]: https://travis-ci.org/bodoni/svg.svg?branch=master [travis-url]: https://travis-ci.org/bodoni/svg [docs]: https://bodoni.github.io/svg <|file_sep|>current/README.md # SVG [![Build Status][travis-img]]...
# SVG [![Build Status][travis-img]][travis-url] ## [Documentation][docs] ## Contributing 1. Fork the project. 2. Implement your idea. 3. Create a pull request. [travis-img]: https://travis-ci.org/bodoni/svg.svg?branch=master [travis-url]: https://travis-ci.org/bodoni/svg [docs]: https://bodoni.github.io/svg
<|file_sep|>original/README.md # SVG [![Build Status][travis-img]][travis-url] ## [Documentation][docs] [travis-img]: https://travis-ci.org/bodoni/svg.svg?branch=master [travis-url]: https://travis-ci.org/bodoni/svg [docs]: https://bodoni.github.io/svg <|file_sep|>current/README.md # SVG [![Build Status][travis-img]]...
6089e699151a5b51b70deedf6a893665258e6b8b
README.md
README.md
Markdown
<|file_sep|>original/bin/github-backup.js help: "The github username to backup." }); parser.addArgument("path", { help: "The path where to backup the repositories to." }); parser.addArgument(['--include', '-i'], { defaultValue: 'user,org,starred', type: function(i) { return i.split(","); }, help: "Choose...
help: "The github username to backup." }); parser.addArgument("path", { help: "The path where to backup the repositories to." }); parser.addArgument(['--include', '-i'], { defaultValue: 'user,org,starred', type: function(i) { return i.split(","); }, help: "Choose which repositories to backup. You can " +...
<|file_sep|>original/bin/github-backup.js help: "The github username to backup." }); parser.addArgument("path", { help: "The path where to backup the repositories to." }); parser.addArgument(['--include', '-i'], { defaultValue: 'user,org,starred', type: function(i) { return i.split(","); }, help: "Choose...
c5b9ed04afb1a0b2ba7b2ac39fac7bdc9532d697
bin/github-backup.js
bin/github-backup.js
JavaScript
<|file_sep|>original/TestAssets/TestPackages/dotnet-dependency-tool-invoker/project.json "Microsoft.DotNet.Cli.Utils": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.Compiler.Common": "1.0.0-*", "Microsoft.Extensions.CommandLineUtils.Sources": { "type": "build", "ve...
"type": "platform", "version": "1.0.0-rc2-23931" }, "Microsoft.DotNet.Cli.Utils": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.Compiler.Common": "1.0.0-*", "Microsoft.Extensions.CommandLineUtils.Sources": { "type": "build", "version": "1.0.0-rc2-16...
<|file_sep|>original/TestAssets/TestPackages/dotnet-dependency-tool-invoker/project.json "Microsoft.DotNet.Cli.Utils": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.Compiler.Common": "1.0.0-*", "Microsoft.Extensions.CommandLineUtils.Sources": { "type": "build", "ve...
c2befefd2a23c5dca7af103f31a39a84b9041e44
TestAssets/TestPackages/dotnet-dependency-tool-invoker/project.json
TestAssets/TestPackages/dotnet-dependency-tool-invoker/project.json
JSON
<|file_sep|>original/tests/phpunit/OfficeControllerTest.php <|file_sep|>current/tests/phpunit/OfficeControllerTest.php <|file_sep|>updated/tests/phpunit/OfficeControllerTest.php
<?php class OfficeControllerTest extends PHPUnit_Framework_TestCase { public function testNearestActionNoParameters() { $request = PD::getRequest(); $request->setMethod('GET'); $response = PD::getResponse(); Mage::app()->setResponse($response); $controller = new \Linu...
<|file_sep|>original/tests/phpunit/OfficeControllerTest.php <|file_sep|>current/tests/phpunit/OfficeControllerTest.php <|file_sep|>updated/tests/phpunit/OfficeControllerTest.php <?php class OfficeControllerTest extends PHPUnit_Framework_TestCase { public function testNearestActionNoParameters() { $re...
ccec72883ef65c8384856d5373ce288f123cb5ff
tests/phpunit/OfficeControllerTest.php
tests/phpunit/OfficeControllerTest.php
PHP
<|file_sep|>original/_includes/head.html <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> {% if page.description %} ...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> {% if page.description %} <meta name="description" content="{{ pa...
<|file_sep|>original/_includes/head.html <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> {% if page.description %} ...
0ae1e3e466a75e0a8c7854f6b70a0666c0ad63d0
_includes/head.html
_includes/head.html
HTML
<|file_sep|>original/global.json { "sdk": { "version": "6.0.100-preview.4.21262.10", "allowPrerelease": false, "rollForward": "latestMajor" } } <|file_sep|>current/global.json { "sdk": { "version": "6.0.100-preview.4.21262.10", "allowPrerelease": false, "rollForward": "latestMajor" } } <...
{ "sdk": { "version": "6.0.100-preview.4.21255.9", "allowPrerelease": false, "rollForward": "latestMajor" } }
<|file_sep|>original/global.json { "sdk": { "version": "6.0.100-preview.4.21262.10", "allowPrerelease": false, "rollForward": "latestMajor" } } <|file_sep|>current/global.json { "sdk": { "version": "6.0.100-preview.4.21262.10", "allowPrerelease": false, "rollForward": "latestMajor" } } <...
8fcf048063930b2a87d2944af112a5558dbd7c0d
global.json
global.json
JSON
<|file_sep|>server/virtual_namespace_helper.php.diff original: $tempns = uniqid('phoxy\fork_'); updated: if ($classname != 'phoxy') { $tempns = uniqid('phoxy\fork_'); <|file_sep|>server/virtual_namespace_helper.php.diff original: $header = <<<END updated: $header = <<<END <|file_sep|>server/virtual_namespace_helper...
$code = file_get_contents($file); $obj = null; if ($classname != 'phoxy') { $tempns = uniqid('phoxy\fork_'); $header = <<<END namespace $tempns; use \phoxy as phoxy; END; $code = str_replace('<?php', $header, $code); $code = preg_replace('/ api\s*\n/', ' \\api', $code); eval($code); $classname = ...
<|file_sep|>server/virtual_namespace_helper.php.diff original: $tempns = uniqid('phoxy\fork_'); updated: if ($classname != 'phoxy') { $tempns = uniqid('phoxy\fork_'); <|file_sep|>server/virtual_namespace_helper.php.diff original: $header = <<<END updated: $header = <<<END <|file_sep|>server/virtual_namespace_helper...
2aab45134db2ef3b2ad8181038f6dc44b5a3b39f
server/virtual_namespace_helper.php
server/virtual_namespace_helper.php
PHP
<|file_sep|>original/src/background/usecases/LinkUseCase.ts import TabPresenter from '../presenters/TabPresenter'; export default class LinkUseCase { private tabPresenter: TabPresenter; constructor() { this.tabPresenter = new TabPresenter(); } openToTab(url: string, tabId: number): Promise<any> { ret...
import TabPresenter from '../presenters/TabPresenter'; export default class LinkUseCase { private tabPresenter: TabPresenter; constructor() { this.tabPresenter = new TabPresenter(); } openToTab(url: string, tabId: number): Promise<any> { return this.tabPresenter.open(url, tabId); } openNewTab(ur...
<|file_sep|>original/src/background/usecases/LinkUseCase.ts import TabPresenter from '../presenters/TabPresenter'; export default class LinkUseCase { private tabPresenter: TabPresenter; constructor() { this.tabPresenter = new TabPresenter(); } openToTab(url: string, tabId: number): Promise<any> { ret...
127247ca34566ac67afec71b4bbf4b937291f721
src/background/usecases/LinkUseCase.ts
src/background/usecases/LinkUseCase.ts
TypeScript
<|file_sep|>original/src/make_version.sh #!/bin/sh version=$(git describe --dirty) basedir=$(dirname $0) sed "s/<TOKEN>/$version/g" $basedir/lib/version_template.hpp > $basedir/lib/version.hpp <|file_sep|>current/src/make_version.sh #!/bin/sh version=$(git describe --dirty) basedir=$(dirname $0) sed "s/<TOKEN>/$version...
#!/bin/sh version=$(git describe --dirty) basedir=$(dirname "$0") sed "s/<TOKEN>/$version/g" "$basedir"/lib/version_template.hpp > "$basedir"/lib/version.hpp
<|file_sep|>original/src/make_version.sh #!/bin/sh version=$(git describe --dirty) basedir=$(dirname $0) sed "s/<TOKEN>/$version/g" $basedir/lib/version_template.hpp > $basedir/lib/version.hpp <|file_sep|>current/src/make_version.sh #!/bin/sh version=$(git describe --dirty) basedir=$(dirname $0) sed "s/<TOKEN>/$version...
0b5ee0047e32e328831e6ea9a93b83ff665b7824
src/make_version.sh
src/make_version.sh
Shell
<|file_sep|>original/LICENSE.md The MIT License (MIT) Copyright (c) 2014 John H. Uckele Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the right...
The MIT License (MIT) Copyright (c) 2014-2016 John H. Uckele Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
<|file_sep|>original/LICENSE.md The MIT License (MIT) Copyright (c) 2014 John H. Uckele Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the right...
6737b20cada37f276d56c19b12367816f9ab0364
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/app/views/wiki_pages/_wiki_page.html.haml = article_for wiki_page do |c| - c.title = "#{link_to "Wiki", "/wiki"} #{link_to wiki_page.title, wiki_page}".html_safe - c.body = sanitize(wiki_page.body) <|file_sep|>current/app/views/wiki_pages/_wiki_page.html.haml = article_for wiki_page do |c| -...
= article_for wiki_page do |c| - c.title = "#{link_to "Wiki", "/wiki"} #{link_to wiki_page.title, wiki_page}".html_safe - c.body = sanitize(wiki_page.body) - if current_account && current_account.can_update?(wiki_page) - c.actions = link_to("Modifier", "/wiki/#{wiki_page.to_param}/modifier", :class => 'actio...
<|file_sep|>original/app/views/wiki_pages/_wiki_page.html.haml = article_for wiki_page do |c| - c.title = "#{link_to "Wiki", "/wiki"} #{link_to wiki_page.title, wiki_page}".html_safe - c.body = sanitize(wiki_page.body) <|file_sep|>current/app/views/wiki_pages/_wiki_page.html.haml = article_for wiki_page do |c| -...
1725973aa4b692a34fc40e6383bfdc25d1d154bc
app/views/wiki_pages/_wiki_page.html.haml
app/views/wiki_pages/_wiki_page.html.haml
Haml
<|file_sep|>original/package.json { "name": "mysql_js_driver", "version": "2.1.0", "description": "This project provides you MySQL Driver written by JavaScript.", "main": "Gruntfile.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Yoichiro Tanaka", "license": "Ap...
{ "name": "mysql_js_driver", "version": "2.1.0", "description": "This project provides you MySQL Driver written by JavaScript.", "main": "Gruntfile.js", "scripts": { "build": "grunt", "test": "grunt jasmine" }, "author": "Yoichiro Tanaka", "license": "Apache License 2.0", "devDependencies": { ...
<|file_sep|>original/package.json { "name": "mysql_js_driver", "version": "2.1.0", "description": "This project provides you MySQL Driver written by JavaScript.", "main": "Gruntfile.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Yoichiro Tanaka", "license": "Ap...
d862d212a347352ba62d8353faf068ac50c3b41e
package.json
package.json
JSON
<|file_sep|>original/src/main/java/leetcode/Problem65.java } } public static void main(String[] args) { Problem65 prob = new Problem65(); test(prob.isNumber("0"), true); // true test(prob.isNumber("123.45"), true); // true test(prob.isNumber(" 0.1"), true); // true ...
package leetcode; /** * https://leetcode.com/problems/valid-number/ */ public class Problem65 { public boolean isNumber(String s) { return s.matches("\\s*(?:-|\\+)?(\\d+|(?:\\d+\\.\\d*)|(?:\\d*\\.\\d+))(e(?:-|\\+)?\\d+)?\\s*"); } }
<|file_sep|>original/src/main/java/leetcode/Problem65.java } } public static void main(String[] args) { Problem65 prob = new Problem65(); test(prob.isNumber("0"), true); // true test(prob.isNumber("123.45"), true); // true test(prob.isNumber(" 0.1"), true); // true ...
021b2633807855143d17354378685710ca8291ac
src/main/java/leetcode/Problem65.java
src/main/java/leetcode/Problem65.java
Java
<|file_sep|>original/core/app/assets/stylesheets/annotation.scss .annotation-body { display: table-cell; vertical-align: middle; } .annotation-body-content { word-wrap: break-word; padding: 1px 0; background-color: rgba(255,255,0, 0.2); transition: background-color 0.4s; &:hover { background-color: ...
.annotation-body { display: table-cell; vertical-align: middle; } .annotation-body-content { word-wrap: break-word; padding: 1px 0; background-color: rgba(255,255,0, 0.2); transition: background-color 0.4s; &:hover { background-color: rgba(255,255,0, 0.6); } } .proxy-link-favicon { width: 16px;...
<|file_sep|>original/core/app/assets/stylesheets/annotation.scss .annotation-body { display: table-cell; vertical-align: middle; } .annotation-body-content { word-wrap: break-word; padding: 1px 0; background-color: rgba(255,255,0, 0.2); transition: background-color 0.4s; &:hover { background-color: ...
e544445098be98fbd69b9c350d80820ca06a7fe0
core/app/assets/stylesheets/annotation.scss
core/app/assets/stylesheets/annotation.scss
SCSS
<|file_sep|>original/.ci/setup_cassandra.sh #!/bin/bash CASSANDRA_BASE=apache-cassandra-$CASSANDRA_VERSION sudo rm -rf /var/lib/cassandra/* curl http://apache.arvixe.com/cassandra/$CASSANDRA_VERSION/$CASSANDRA_BASE-bin.tar.gz | tar xz sudo sh $CASSANDRA_BASE/bin/cassandra <|file_sep|>current/.ci/setup_cassandra.sh #!...
#!/bin/bash CASSANDRA_BASE=apache-cassandra-$CASSANDRA_VERSION n=0 until [ $n -ge 5 ] do sudo rm -rf /var/lib/cassandra/* curl http://apache.arvixe.com/cassandra/$CASSANDRA_VERSION/$CASSANDRA_BASE-bin.tar.gz | tar xz && break n=$[$n+1] sleep 5 done if [[ ! -f $CASSANDRA_BASE/bin/cassandra ]] ; then ...
<|file_sep|>original/.ci/setup_cassandra.sh #!/bin/bash CASSANDRA_BASE=apache-cassandra-$CASSANDRA_VERSION sudo rm -rf /var/lib/cassandra/* curl http://apache.arvixe.com/cassandra/$CASSANDRA_VERSION/$CASSANDRA_BASE-bin.tar.gz | tar xz sudo sh $CASSANDRA_BASE/bin/cassandra <|file_sep|>current/.ci/setup_cassandra.sh #!...
514aee0d7dda3864800030e382a9e919578ccd78
.ci/setup_cassandra.sh
.ci/setup_cassandra.sh
Shell