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|>README.md.diff original: updated: ``` 1 ----- Bots --------- success error 2 Googlebot 1402 2 3 bingbot 63 0 4 Yandex 22277 19 5 Baiduspider 2 192 6 Yahoo! 234 0 7 ...
France 6 Germany 3 Hong Kong 1 India 1 Ireland 5 Italy 2 Japan 5 Netherlands 3 New Zealand 1 Romania 1 Russian Federation 28 Singapore ...
<|file_sep|>README.md.diff original: updated: ``` 1 ----- Bots --------- success error 2 Googlebot 1402 2 3 bingbot 63 0 4 Yandex 22277 19 5 Baiduspider 2 192 6 Yahoo! 234 0 7 ...
26d21d87503e6d0b3e1e6bd5f7e8f9dc5e15c861
README.md
README.md
Markdown
<|file_sep|>original/requirements-dev.txt -r requirements.txt coverage==4.5.3 coveralls==1.8.0 cssselect==1.0.3 flake8==3.7.7 freezegun==0.3.12 mock==3.0.5 pytest==4.5.0 pytest-cov==2.7.1 requests-mock==1.6.0 watchdog==0.9.0 git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.0#egg=digitalmarketplac...
-r requirements.txt coverage==4.5.3 coveralls==1.8.0 cssselect==1.0.3 flake8==3.7.7 freezegun==0.3.12 mock==3.0.5 pytest==4.6.0 pytest-cov==2.7.1 requests-mock==1.6.0 watchdog==0.9.0 git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.0#egg=digitalmarketplace-test-utils==2.1.0
<|file_sep|>original/requirements-dev.txt -r requirements.txt coverage==4.5.3 coveralls==1.8.0 cssselect==1.0.3 flake8==3.7.7 freezegun==0.3.12 mock==3.0.5 pytest==4.5.0 pytest-cov==2.7.1 requests-mock==1.6.0 watchdog==0.9.0 git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.1.0#egg=digitalmarketplac...
36e173af631432b266d8828728440b4d06439330
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.5.1 cryptography==2.1.4 flake8==3.5.0 mock==2.0.0 pip==9.0.1 tox==2.9.1 watchdog==0.8.3 wheel==0.30.0 <|file_sep|>current/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.5.1 cryptography==2...
-r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.5.1 cryptography==2.1.4 flake8==3.5.0 mock==2.0.0 pip==9.0.2 tox==2.9.1 watchdog==0.8.3 wheel==0.30.0
<|file_sep|>original/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.5.1 cryptography==2.1.4 flake8==3.5.0 mock==2.0.0 pip==9.0.1 tox==2.9.1 watchdog==0.8.3 wheel==0.30.0 <|file_sep|>current/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.5.1 cryptography==2...
83bc47c4e7833c5369b4f4635f5fd88f26eac9ce
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>grip/__init__.py.diff original: from .server import default_filenames, serve updated: <|file_sep|>original/grip/__init__.py """\ Grip ---- Render local readme files before sending off to Github. :copyright: (c) 2012 by Joe Esposito. :license: MIT, see LICENSE for more details. """ __version__ = '1.2.0' ...
"""\ Grip ---- Render local readme files before sending off to Github. :copyright: (c) 2012 by Joe Esposito. :license: MIT, see LICENSE for more details. """ __version__ = '1.2.0' from . import command from .renderer import render_content, render_page from .server import default_filenames, create_app, serve from ....
<|file_sep|>grip/__init__.py.diff original: from .server import default_filenames, serve updated: <|file_sep|>original/grip/__init__.py """\ Grip ---- Render local readme files before sending off to Github. :copyright: (c) 2012 by Joe Esposito. :license: MIT, see LICENSE for more details. """ __version__ = '1.2.0' ...
156c049cc3965f969ee252dc5859cf0713bcbe27
grip/__init__.py
grip/__init__.py
Python
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>NYC Crash Mapper</title> <meta name="description" content="Mapping NYC automobile collision data published by the NYPD"> <meta name="author" content="chris henrick"> <meta name="viewport" cont...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>NYC Crash Mapper</title> <meta name="description" content="Mapping NYC automobile collision data published by the NYPD"> <meta name="author" content="chris henrick"> <meta name="viewport" content="width=device-width, initial-sca...
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>NYC Crash Mapper</title> <meta name="description" content="Mapping NYC automobile collision data published by the NYPD"> <meta name="author" content="chris henrick"> <meta name="viewport" cont...
b3c699cdda0acbffd7f96b9a9132171c251a9c4f
src/index.html
src/index.html
HTML
<|file_sep|>app.php.diff original: use ProjectRena\Lib\SessionHandler; updated: <|file_sep|>original/app.php <?php // Imports use ProjectRena\Lib\SessionHandler; use Slim\Slim; use Slim\Views\Twig; use Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware; // Error display ini_set('display_errors', 1); error_reporting(E_ALL...
<?php // Imports use Slim\Slim; use Slim\Views\Twig; use ProjectRena\Lib\SessionHandler; use Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware; // Error display ini_set('display_errors', 1); error_reporting(E_ALL); // Load the autoloader if(file_exists(__DIR__."/vendor/autoload.php")) require_once(__DIR__."/vendor/a...
<|file_sep|>app.php.diff original: use ProjectRena\Lib\SessionHandler; updated: <|file_sep|>original/app.php <?php // Imports use ProjectRena\Lib\SessionHandler; use Slim\Slim; use Slim\Views\Twig; use Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware; // Error display ini_set('display_errors', 1); error_reporting(E_ALL...
25985a85c4717f6fa38f99dc1e89b51512f56843
app.php
app.php
PHP
<|file_sep|>original/requirements/base.txt Django==1.8.7 ipython==4.0.0 raven==5.8.1 psycopg2==2.6.1 PyYAML==3.11 redis==2.10.3 python3-memcached==1.51 certifi==2015.9.6.2 django-flat-theme==1.1.1 djangorestframework==3.3.1 django-extensions==1.5.7 django-cors-headers==1.1.0 django-celery==3.1.17 django-cachalot==1.0...
Django==1.8.7 ipython==4.0.1 raven==5.8.1 psycopg2==2.6.1 PyYAML==3.11 redis==2.10.3 python3-memcached==1.51 certifi==2015.9.6.2 django-flat-theme==1.1.1 djangorestframework==3.3.1 django-extensions==1.5.7 django-cors-headers==1.1.0 django-celery==3.1.17 django-cachalot==1.0.3 django-oauth-toolkit==0.9.0 django-basis...
<|file_sep|>original/requirements/base.txt Django==1.8.7 ipython==4.0.0 raven==5.8.1 psycopg2==2.6.1 PyYAML==3.11 redis==2.10.3 python3-memcached==1.51 certifi==2015.9.6.2 django-flat-theme==1.1.1 djangorestframework==3.3.1 django-extensions==1.5.7 django-cors-headers==1.1.0 django-celery==3.1.17 django-cachalot==1.0...
c39d01d74fa4b0ecbb3dae5ca29dfbc23b7a4dd1
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>source/glbinding/include/glbinding/Function.h.diff original: updated: #ifndef WINAPI #ifdef _WIN32 #define WINAPI __stdcall #else #define WINAPI #endif #endif <|file_sep|>original/source/glbinding/include/glbinding/Function.h { friend struct FunctionHelper<ReturnType, Arguments...>; using Signatur...
} namespace glbinding { template <typename ReturnType, typename... Arguments> class Function : public AbstractFunction { friend struct FunctionHelper<ReturnType, Arguments...>; using Signature = ReturnType(WINAPI *) (Arguments...); using BeforeCallback = std::function<void(Arguments...)>; using Aft...
<|file_sep|>source/glbinding/include/glbinding/Function.h.diff original: updated: #ifndef WINAPI #ifdef _WIN32 #define WINAPI __stdcall #else #define WINAPI #endif #endif <|file_sep|>original/source/glbinding/include/glbinding/Function.h { friend struct FunctionHelper<ReturnType, Arguments...>; using Signatur...
aaadede7cfb154186bcf8f74927ca34ee1123264
source/glbinding/include/glbinding/Function.h
source/glbinding/include/glbinding/Function.h
C
<|file_sep|>fbone/appointment/views.py.diff original: from flask import (Blueprint, render_template, request, updated: from datetime import datetime from flask import (Blueprint, render_template, request, abort, <|file_sep|>fbone/appointment/views.py.diff original: form = MakeAppointmentForm(formdata=request.args,...
elif request.method == 'GET': form = MakeAppointmentForm(formdata=request.args, next=request.args.get('next')) # Dump all available data from request or session object to form # fields. for key in form.data.keys(): if key == "date": ...
<|file_sep|>fbone/appointment/views.py.diff original: from flask import (Blueprint, render_template, request, updated: from datetime import datetime from flask import (Blueprint, render_template, request, abort, <|file_sep|>fbone/appointment/views.py.diff original: form = MakeAppointmentForm(formdata=request.args,...
2db6e8e294059847251feb9610c42180ae44e05b
fbone/appointment/views.py
fbone/appointment/views.py
Python
<|file_sep|>original/lib/stash/wrapper/stash_wrapper_extensions.rb @datacite_resource = resource end def stash_descriptive return [] unless datacite_resource [datacite_resource.save_to_xml] end def stash_descriptive=(value) raise ArgumentError, "Not an array: #{...
@datacite_resource = resource end def stash_descriptive return [] unless datacite_resource [datacite_resource.save_to_xml] end def stash_descriptive=(value) raise ArgumentError, "Not an array: #{value}" unless value.nil? || (value.respond_to?(:empty?) && value.r...
<|file_sep|>original/lib/stash/wrapper/stash_wrapper_extensions.rb @datacite_resource = resource end def stash_descriptive return [] unless datacite_resource [datacite_resource.save_to_xml] end def stash_descriptive=(value) raise ArgumentError, "Not an array: #{...
967d02e7d3498f2477875fb470a0573acdc2367d
lib/stash/wrapper/stash_wrapper_extensions.rb
lib/stash/wrapper/stash_wrapper_extensions.rb
Ruby
<|file_sep|>original/netbox/utilities/templatetags/perms.py <|file_sep|>current/netbox/utilities/templatetags/perms.py <|file_sep|>updated/netbox/utilities/templatetags/perms.py
from django import template register = template.Library() def _check_permission(user, instance, action): return user.has_perm( perm=f'{instance._meta.app_label}.{action}_{instance._meta.model_name}', obj=instance ) @register.filter() def can_view(user, instance): return _check_permissio...
<|file_sep|>original/netbox/utilities/templatetags/perms.py <|file_sep|>current/netbox/utilities/templatetags/perms.py <|file_sep|>updated/netbox/utilities/templatetags/perms.py from django import template register = template.Library() def _check_permission(user, instance, action): return user.has_perm( ...
68ef5177f0519d1bb889a51974fdd5f075c8b0f0
netbox/utilities/templatetags/perms.py
netbox/utilities/templatetags/perms.py
Python
<|file_sep|>app/models/related_content_score.rb.diff original: updated: belongs_to :user <|file_sep|>original/app/models/related_content_score.rb class RelatedContentScore < ActiveRecord::Base belongs_to :related_content, touch: true, counter_cache: :related_content_scores_count validates :user_id, presence: tr...
class RelatedContentScore < ActiveRecord::Base belongs_to :related_content, touch: true, counter_cache: :related_content_scores_count belongs_to :user validates :user, presence: true validates :related_content, presence: true validates :related_content_id, uniqueness: { scope: [:user_id] } end
<|file_sep|>app/models/related_content_score.rb.diff original: updated: belongs_to :user <|file_sep|>original/app/models/related_content_score.rb class RelatedContentScore < ActiveRecord::Base belongs_to :related_content, touch: true, counter_cache: :related_content_scores_count validates :user_id, presence: tr...
a72cc58b49c058dd3c9eaed72726adfcbc4fb947
app/models/related_content_score.rb
app/models/related_content_score.rb
Ruby
<|file_sep|>original/BmpListener/Bgp/IPAddrPrefix.cs using System; using System.Linq; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { public IPAddrPrefix(ArraySegment<byte> data, Bgp.AddressFamily afi = Bgp.AddressFamily.IP) { DecodeFromBytes(data, afi); ...
using System; using System.Linq; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { //TODO add offset to ctor public IPAddrPrefix(ArraySegment<byte> data, int offset = 0, AddressFamily afi = AddressFamily.IP) { DecodeFromBytes(data, afi); } ...
<|file_sep|>original/BmpListener/Bgp/IPAddrPrefix.cs using System; using System.Linq; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { public IPAddrPrefix(ArraySegment<byte> data, Bgp.AddressFamily afi = Bgp.AddressFamily.IP) { DecodeFromBytes(data, afi); ...
74d472f96e44d8842cd21078adf1d710b32ef970
BmpListener/Bgp/IPAddrPrefix.cs
BmpListener/Bgp/IPAddrPrefix.cs
C#
<|file_sep|>original/README.md batsd-ruby ========== A ruby client for batsd. <|file_sep|>current/README.md batsd-ruby ========== A ruby client for batsd. <|file_sep|>updated/README.md
batsd-ruby ========== A Ruby client for [batsd](https://github.com/noahhl/batsd), a ruby-based alternative to statsd for aggregating and storing statistics. # Installation A simple gem installation. gem install batsd Or you can include it in your Gemfile: gem "batsd" # Getting Started You can connect to Batsd...
<|file_sep|>original/README.md batsd-ruby ========== A ruby client for batsd. <|file_sep|>current/README.md batsd-ruby ========== A ruby client for batsd. <|file_sep|>updated/README.md batsd-ruby ========== A Ruby client for [batsd](https://github.com/noahhl/batsd), a ruby-based alternative to statsd for aggregating...
b05496a1825d46b86805e66b1884db62ee755f20
README.md
README.md
Markdown
<|file_sep|>original/Readme.md ```shell $ path/to/install.sh ``` * Launch Atom ## Install on Windows Follow [this guide](http://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file) ## Uninstall on macOS This icon also comes with an uninstall script. To use it: * Quit Atom * Run the f...
```shell $ path/to/install.sh ``` * Launch Atom ## Install on Windows Follow [this guide](http://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file) ## Install on Linux (gnome) * Move the `atom.png` to a location like `/usr/share/atom/atom-replacement-icon-png-icon/atom.png` * Open `...
<|file_sep|>original/Readme.md ```shell $ path/to/install.sh ``` * Launch Atom ## Install on Windows Follow [this guide](http://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file) ## Uninstall on macOS This icon also comes with an uninstall script. To use it: * Quit Atom * Run the f...
90d8653e6944eccc9bd72be4d87d2f8808def4bd
Readme.md
Readme.md
Markdown
<|file_sep|>bin/cideploy-prod.sh.diff original: cf unmap-route citizenship-appointment-beta-blue appointments.border.gov.au cf push citizenship-appointment-beta-blue --no-hostname --no-manifest --no-route -p build/libs/citizenship-appointments-0.0.1.jar -i 1 -m 512M cf map-route citizenship-appointment-beta-blue appoi...
#!/bin/bash # Exit immediately if any commands return non-zero set -e # Output the commands we run set -x # This is a modified version of the Cloud Foundry Blue/Green deployment guide: # # https://docs.pivotal.io/pivotalcf/devguide/deploy-apps/blue-green.html # Update the blue app cf unmap-route citizenship-appointm...
<|file_sep|>bin/cideploy-prod.sh.diff original: cf unmap-route citizenship-appointment-beta-blue appointments.border.gov.au cf push citizenship-appointment-beta-blue --no-hostname --no-manifest --no-route -p build/libs/citizenship-appointments-0.0.1.jar -i 1 -m 512M cf map-route citizenship-appointment-beta-blue appoi...
2304c4fdf048028014eef9e842ba7273cf8c83a7
bin/cideploy-prod.sh
bin/cideploy-prod.sh
Shell
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer cache: directories: - $HOME/.m2/repository/io - $HOME/.m2/repository/it - $HOME/.m2/repository/org - $HOME/.m2/repository/mysql sudo: false <|file_sep|>current/.travis.ym...
language: java jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer cache: directories: - $HOME/.m2/repository/io - $HOME/.m2/repository/it - $HOME/.m2/repository/org - $HOME/.m2/repository/mysql sudo: false before_install: - rm -f ~/.m2/settings.xml
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer cache: directories: - $HOME/.m2/repository/io - $HOME/.m2/repository/it - $HOME/.m2/repository/org - $HOME/.m2/repository/mysql sudo: false <|file_sep|>current/.travis.ym...
73058b3f56644ee3e983b96ac3cc7d3dd256ba29
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml [package] name = "weld_java" version = "0.1.0" authors = ["Herman van Hovell <hvanhovell@databricks.com>"] [dependencies] libc = "0.2.0" weld = { git = "https://github.com/hvanhovell/weld", branch = "static-weldrt" } jni = { git = "https://github.com/prevoty/jni-rs" } regex = "*" [lib]...
[package] name = "weld_java" version = "0.1.0" authors = ["Herman van Hovell <hvanhovell@databricks.com>"] [dependencies] libc = "0.2.0" weld = { git = "https://github.com/weld-project/weld" } jni = { git = "https://github.com/prevoty/jni-rs" } regex = "*" [lib] path = "src/main/rust/lib.rs" crate-type = ["cdylib", "...
<|file_sep|>original/Cargo.toml [package] name = "weld_java" version = "0.1.0" authors = ["Herman van Hovell <hvanhovell@databricks.com>"] [dependencies] libc = "0.2.0" weld = { git = "https://github.com/hvanhovell/weld", branch = "static-weldrt" } jni = { git = "https://github.com/prevoty/jni-rs" } regex = "*" [lib]...
88afe2daf070629aeda62a6385244ec81153ced9
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/conman/redirects/views.py from django.views.generic import RedirectView class RouteRedirectView(RedirectView): """Redirect to the target Route.""" def get_redirect_url(self, *args, **kwargs): """ Return the route's target url. Save the route's redirect type for us...
from django.views.generic import RedirectView class RouteRedirectView(RedirectView): """Redirect to the target Route.""" permanent = True # Set to django 1.9's default to avoid RemovedInDjango19Warning def get_redirect_url(self, *args, **kwargs): """ Return the route's target url. ...
<|file_sep|>original/conman/redirects/views.py from django.views.generic import RedirectView class RouteRedirectView(RedirectView): """Redirect to the target Route.""" def get_redirect_url(self, *args, **kwargs): """ Return the route's target url. Save the route's redirect type for us...
25f2692d5865a76533f8087c2f566299ae777c8e
conman/redirects/views.py
conman/redirects/views.py
Python
<|file_sep|>original/requirements.txt amqp==1.4.9 anyjson==0.3.3 beautifulsoup4==4.4.1 billiard==3.3.0.23 celery==3.1.23 Django==1.9.6 kombu==3.0.35 mysqlclient==1.3.7 pytz==2016.4 requests==2.10.0 uWSGI==2.0.13.1 <|file_sep|>current/requirements.txt amqp==1.4.9 anyjson==0.3.3 beautifulsoup4==4.4.1 billiard==3.3.0.23 c...
amqp==2.0.0 anyjson==0.3.3 beautifulsoup4==4.4.1 billiard==3.3.0.23 celery==3.1.23 Django==1.9.6 kombu==3.0.35 mysqlclient==1.3.7 pytz==2016.4 requests==2.10.0 uWSGI==2.0.13.1
<|file_sep|>original/requirements.txt amqp==1.4.9 anyjson==0.3.3 beautifulsoup4==4.4.1 billiard==3.3.0.23 celery==3.1.23 Django==1.9.6 kombu==3.0.35 mysqlclient==1.3.7 pytz==2016.4 requests==2.10.0 uWSGI==2.0.13.1 <|file_sep|>current/requirements.txt amqp==1.4.9 anyjson==0.3.3 beautifulsoup4==4.4.1 billiard==3.3.0.23 c...
3e8f73dcb563ea2cf2144a3eb07152b15a5e6316
requirements.txt
requirements.txt
Text
<|file_sep|>original/server/model-config.json { "_meta": { "sources": [ "loopback/common/models", "loopback/server/models", "../common/models", "./models" ] }, "User": { "dataSource": "db" }, "AccessToken": { "dataSource": "db", "public": false }, "ACL": { "...
{ "_meta": { "sources": [ "loopback/common/models", "loopback/server/models", "../common/models", "./models" ] }, "User": { "dataSource": "db", "public": false }, "AccessToken": { "dataSource": "db", "public": false }, "ACL": { "dataSource": "db", "p...
<|file_sep|>original/server/model-config.json { "_meta": { "sources": [ "loopback/common/models", "loopback/server/models", "../common/models", "./models" ] }, "User": { "dataSource": "db" }, "AccessToken": { "dataSource": "db", "public": false }, "ACL": { "...
589f8851f31389f5e2186eeb91f161e743ee3f8c
server/model-config.json
server/model-config.json
JSON
<|file_sep|>original/serfnode/build/handler/handler.py #!/usr/bin/env python import os from serf_master import SerfHandlerProxy from base_handler import BaseHandler try: from my_handler import MyHandler except ImportError: print "Could not import user's handler." print "Defaulting to dummy handler." My...
#!/usr/bin/env python import os from serf_master import SerfHandlerProxy from base_handler import BaseHandler try: from my_handler import MyHandler except ImportError: MyHandler = BaseHandler if __name__ == '__main__': handler = SerfHandlerProxy() role = os.environ.get('ROLE') or 'no_role' handle...
<|file_sep|>original/serfnode/build/handler/handler.py #!/usr/bin/env python import os from serf_master import SerfHandlerProxy from base_handler import BaseHandler try: from my_handler import MyHandler except ImportError: print "Could not import user's handler." print "Defaulting to dummy handler." My...
4c04979de66cf5d0858ff00002ef40df196ccd05
serfnode/build/handler/handler.py
serfnode/build/handler/handler.py
Python
<|file_sep|>metadata/com.mirfatif.noorulhuda.yml.diff original: updated: - versionName: v1.02 versionCode: 102 commit: ab782bd738552247acd25c72d57fa1d08f9aef8c subdir: app submodules: true sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk - update-alte...
prebuild: sed -i 's|pref_settings_check_for_updates_default">true<|pref_settings_check_for_updates_default">false<|' src/main/res/values/pref_strings.xml - versionName: v1.02 versionCode: 102 commit: ab782bd738552247acd25c72d57fa1d08f9aef8c subdir: app submodules: true sudo: - a...
<|file_sep|>metadata/com.mirfatif.noorulhuda.yml.diff original: updated: - versionName: v1.02 versionCode: 102 commit: ab782bd738552247acd25c72d57fa1d08f9aef8c subdir: app submodules: true sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk - update-alte...
568a60073f01d1a0a7a7e4b35b0cc5f19471009e
metadata/com.mirfatif.noorulhuda.yml
metadata/com.mirfatif.noorulhuda.yml
YAML
<|file_sep|>original/requirements-app.txt govuk-bank-holidays==0.8 humanize==3.0.1 Flask==1.1.2 Flask-WTF==0.14.3 Flask-Login==0.5.0 blinker==1.4 pyexcel==0.6.5 pyexcel-io==0.6.2 pyexcel-xls==0.6.0 pyexcel-xlsx==0.5.8 pyexcel-ods3==0.5.3 pytz==2020.1 gunicorn==20.0.4 eventlet==0.28.0 notifications-python-client==5.7.0...
govuk-bank-holidays==0.8 humanize==3.0.1 Flask==1.1.2 Flask-WTF==0.14.3 Flask-Login==0.5.0 blinker==1.4 pyexcel==0.6.5 pyexcel-io==0.6.2 pyexcel-xls==0.6.0 pyexcel-xlsx==0.6.0 pyexcel-ods3==0.5.3 pytz==2020.1 gunicorn==20.0.4 eventlet==0.28.0 notifications-python-client==5.7.0 Shapely==1.7.1 # PaaS awscli-cwlogs>=1.4...
<|file_sep|>original/requirements-app.txt govuk-bank-holidays==0.8 humanize==3.0.1 Flask==1.1.2 Flask-WTF==0.14.3 Flask-Login==0.5.0 blinker==1.4 pyexcel==0.6.5 pyexcel-io==0.6.2 pyexcel-xls==0.6.0 pyexcel-xlsx==0.5.8 pyexcel-ods3==0.5.3 pytz==2020.1 gunicorn==20.0.4 eventlet==0.28.0 notifications-python-client==5.7.0...
4426ecdd4045095c348dc147eeed79cc91e5c5e6
requirements-app.txt
requirements-app.txt
Text
<|file_sep|>.travis.yml.diff original: - 8 updated: <|file_sep|>.travis.yml.diff original: updated: - 14 - node <|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 10 - 12 matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci after_success...
language: node_js node_js: - 10 - 12 - 14 - node matrix: include: - name: Lint node_js: 14 script: npm run lint script: npm run test:ci after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
<|file_sep|>.travis.yml.diff original: - 8 updated: <|file_sep|>.travis.yml.diff original: updated: - 14 - node <|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 10 - 12 matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci after_success...
c7e4f1d4e0abffb3764876cda04230b221189a50
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3", "symf...
{ "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": ">=7.1.3", "symfony/polyfill-ctype": "~1.8" },...
<|file_sep|>original/composer.json { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3", "symf...
c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a
composer.json
composer.json
JSON
<|file_sep|>original/var/spack/repos/builtin/packages/py-scikit-learn/package.py from spack import * class PyScikitLearn(Package): """""" homepage = "https://pypi.python.org/pypi/scikit-learn" url = "https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-0.15.2.tar.gz" version('0.15....
from spack import * class PyScikitLearn(Package): """""" homepage = "https://pypi.python.org/pypi/scikit-learn" url = "https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-0.15.2.tar.gz" version('0.15.2', 'd9822ad0238e17b382a3c756ea94fe0d') version('0.16.1', '363ddda501e3b6b617...
<|file_sep|>original/var/spack/repos/builtin/packages/py-scikit-learn/package.py from spack import * class PyScikitLearn(Package): """""" homepage = "https://pypi.python.org/pypi/scikit-learn" url = "https://pypi.python.org/packages/source/s/scikit-learn/scikit-learn-0.15.2.tar.gz" version('0.15....
d0ca3952a34a74f0167b76bbedfa3cf8875a399c
var/spack/repos/builtin/packages/py-scikit-learn/package.py
var/spack/repos/builtin/packages/py-scikit-learn/package.py
Python
<|file_sep|>app/page/User.php.diff original: updated: $this->auth->requireLogin(); <|file_sep|>original/app/page/User.php $this->load->layout('Fresh', [ 'title'=>'My Reading History' ]); } public function history() { $this->load...
'mangapath'=>$cfg['path'] ]); $this->load->layout('Fresh', [ 'title'=>'My Reading History' ]); } public function history() { $this->auth->requireLogin(); $this->load->model('Manga'); ...
<|file_sep|>app/page/User.php.diff original: updated: $this->auth->requireLogin(); <|file_sep|>original/app/page/User.php $this->load->layout('Fresh', [ 'title'=>'My Reading History' ]); } public function history() { $this->load...
f4f796ec0d4d2d68c0a73a9c421cd9058c37ad98
app/page/User.php
app/page/User.php
PHP
<|file_sep|>deployment/puppet/osnailyfacter/modular/memcached/memcached_post.rb.diff original: def test_memcached_on_internal ip = TestCommon::Settings.internal_address updated: def get_node metadata = TestCommon::Settings.network_metadata node_name = TestCommon::Settings.node_name return metadata['...
require File.join File.dirname(__FILE__), '../test_common.rb' class MemcachedPostTest < Test::Unit::TestCase def test_memcached_is_running assert TestCommon::Process.running?('memcached'), 'Memcached is not running!' end def get_node metadata = TestCommon::Settings.network_metadata node_name = TestC...
<|file_sep|>deployment/puppet/osnailyfacter/modular/memcached/memcached_post.rb.diff original: def test_memcached_on_internal ip = TestCommon::Settings.internal_address updated: def get_node metadata = TestCommon::Settings.network_metadata node_name = TestCommon::Settings.node_name return metadata['...
e3812a62856399276f982fe4709a64709dc4056b
deployment/puppet/osnailyfacter/modular/memcached/memcached_post.rb
deployment/puppet/osnailyfacter/modular/memcached/memcached_post.rb
Ruby
<|file_sep|>original/components/docs-chef-io/content/habitat/_index.md <|file_sep|>current/components/docs-chef-io/content/habitat/_index.md <|file_sep|>updated/components/docs-chef-io/content/habitat/_index.md
+++ title = "About Chef Habitat" [menu] [menu.habitat] title = "About Chef Habitat" identifier = "habitat/About Chef Habitat" parent = "habitat" weight = 5 +++ Chef Habitat centers application configuration, management, and behavior around the application itself, not the infrastructure that the app ...
<|file_sep|>original/components/docs-chef-io/content/habitat/_index.md <|file_sep|>current/components/docs-chef-io/content/habitat/_index.md <|file_sep|>updated/components/docs-chef-io/content/habitat/_index.md +++ title = "About Chef Habitat" [menu] [menu.habitat] title = "About Chef Habitat" identifier =...
7a55b078e2731f47c9799e98fab293309fb7ac98
components/docs-chef-io/content/habitat/_index.md
components/docs-chef-io/content/habitat/_index.md
Markdown
<|file_sep|>original/addon/components/ilios-calendar-event.js import layout from '../templates/components/ilios-calendar-event'; import moment from 'moment'; const {computed, Handlebars} = Ember; const {SafeString} = Handlebars; export default CalendarEvent.extend({ layout, event: null, timeFormat: 'h:mma', c...
import layout from '../templates/components/ilios-calendar-event'; import moment from 'moment'; const {computed, Handlebars} = Ember; const {SafeString} = Handlebars; export default CalendarEvent.extend({ layout, event: null, timeFormat: 'h:mma', classNameBindings: [':event', ':event-pos', ':ilios-calendar-ev...
<|file_sep|>original/addon/components/ilios-calendar-event.js import layout from '../templates/components/ilios-calendar-event'; import moment from 'moment'; const {computed, Handlebars} = Ember; const {SafeString} = Handlebars; export default CalendarEvent.extend({ layout, event: null, timeFormat: 'h:mma', c...
254a3a85d6ca2e769949c7062bb6035dcfd9cd11
addon/components/ilios-calendar-event.js
addon/components/ilios-calendar-event.js
JavaScript
<|file_sep|>original/validation-test/compiler_crashers/28273-swift-archetypebuilder-potentialarchetype-gettype.swift <|file_sep|>current/validation-test/compiler_crashers/28273-swift-archetypebuilder-potentialarchetype-gettype.swift <|file_sep|>updated/validation-test/compiler_crashers/28273-swift-archetypebuilder-po...
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LICENSE.txt for license information // See http://swift.org/CONTRIBUTORS.txt for the list...
<|file_sep|>original/validation-test/compiler_crashers/28273-swift-archetypebuilder-potentialarchetype-gettype.swift <|file_sep|>current/validation-test/compiler_crashers/28273-swift-archetypebuilder-potentialarchetype-gettype.swift <|file_sep|>updated/validation-test/compiler_crashers/28273-swift-archetypebuilder-po...
90085c22753a2999ea5c7a109d47b55aa38141c0
validation-test/compiler_crashers/28273-swift-archetypebuilder-potentialarchetype-gettype.swift
validation-test/compiler_crashers/28273-swift-archetypebuilder-potentialarchetype-gettype.swift
Swift
<|file_sep|>original/lib/services.rb require 'gds_api/publishing_api_v2' require 'gds_api/rummager' module Services def self.publishing_api @publishing_api ||= GdsApi::PublishingApiV2.new(Plek.new.find('publishing-api')) end def self.rummager @rummager ||= GdsApi::Rummager.new(Plek.new.find('search')) ...
require 'gds_api/publishing_api_v2' require 'gds_api/rummager' module Services def self.publishing_api @publishing_api ||= GdsApi::PublishingApiV2.new( Plek.new.find('publishing-api'), bearer_token: ENV['PUBLISHING_API_BEARER_TOKEN'] || 'example' ) end def self.rummager @rummager ||= Gds...
<|file_sep|>original/lib/services.rb require 'gds_api/publishing_api_v2' require 'gds_api/rummager' module Services def self.publishing_api @publishing_api ||= GdsApi::PublishingApiV2.new(Plek.new.find('publishing-api')) end def self.rummager @rummager ||= GdsApi::Rummager.new(Plek.new.find('search')) ...
4405fa1e8852a5855e480c30cfc760ff5979f9de
lib/services.rb
lib/services.rb
Ruby
<|file_sep|>original/_notes/framework/knockout/event_binding.md <|file_sep|>current/_notes/framework/knockout/event_binding.md <|file_sep|>updated/_notes/framework/knockout/event_binding.md
--- doc: https://knockoutjs.com/documentation/event-binding.html --- ## Get file ```html <input type="file" data-bind="event: {change: function () {loadFile($element.files[0])}}" /> <script type="text/javascript"> function AppViewModel () { self.file = null; self.loadFile = function (file) { var reader = new...
<|file_sep|>original/_notes/framework/knockout/event_binding.md <|file_sep|>current/_notes/framework/knockout/event_binding.md <|file_sep|>updated/_notes/framework/knockout/event_binding.md --- doc: https://knockoutjs.com/documentation/event-binding.html --- ## Get file ```html <input type="file" data-bind="event: ...
0d2762735656eb5739790130ff9b259c7765d23e
_notes/framework/knockout/event_binding.md
_notes/framework/knockout/event_binding.md
Markdown
<|file_sep|>original/src/app/Hit/style.scss height: $card-size-large; } @include hover-transition(border-color); &:hover { border-color: material-color('blue', '500'); } } .hit__image { width: $card-image-size; height: $card-image-size; @include break(large) { width: $card-image-size-large...
height: $card-size-large; } @include hover-transition(border-color); &:hover { border-color: material-color('blue', '500'); } } .hit__link { &:focus { outline: 0 !important; } } .hit__image { width: $card-image-size; height: $card-image-size; @include break(large) {
<|file_sep|>original/src/app/Hit/style.scss height: $card-size-large; } @include hover-transition(border-color); &:hover { border-color: material-color('blue', '500'); } } .hit__image { width: $card-image-size; height: $card-image-size; @include break(large) { width: $card-image-size-large...
da159c2a66eabf3c3ab331519324b922e1b93dc2
src/app/Hit/style.scss
src/app/Hit/style.scss
SCSS
<|file_sep|>pytils/test/__init__.py.diff original: updated: import sys <|file_sep|>original/pytils/test/__init__.py loader = unittest.defaultTestLoader suite.addTest(loader.loadTestsFromModule(imported_module)) suite.addTest(get_django_suite()) return suite def run_tests_from_module(modul...
suite.addTest(get_django_suite()) return suite def run_tests_from_module(module, verbosity=1): """Run unit-tests for single module""" suite = unittest.TestSuite() loader = unittest.defaultTestLoader suite.addTest(loader.loadTestsFromModule(module)) unittest.TextTestRunner(verbosity=ver...
<|file_sep|>pytils/test/__init__.py.diff original: updated: import sys <|file_sep|>original/pytils/test/__init__.py loader = unittest.defaultTestLoader suite.addTest(loader.loadTestsFromModule(imported_module)) suite.addTest(get_django_suite()) return suite def run_tests_from_module(modul...
c32bdff4b0ee570ed58cd869830d89e3251cf82a
pytils/test/__init__.py
pytils/test/__init__.py
Python
<|file_sep|>original/index.js constructor(size) { this.size = size; this.$buffer = new Buffer(size); this.$buffer.fill(0); this.$curSize = 0; } append(buffer) { if (buffer.length == 0) { return; } if (buffer.length >= this.s...
constructor(size) { this.size = size; this.$buffer = new Buffer(size); this.$buffer.fill(0); this.$curSize = 0; } append(buffer) { if (buffer.length === 0) { return; } if (buffer.length >= this.size) { // buffer ...
<|file_sep|>original/index.js constructor(size) { this.size = size; this.$buffer = new Buffer(size); this.$buffer.fill(0); this.$curSize = 0; } append(buffer) { if (buffer.length == 0) { return; } if (buffer.length >= this.s...
561a249225136d29874cef810d924ea913b86d5a
index.js
index.js
JavaScript
<|file_sep|>original/build/tasks/output-for-loop-returns.coffee <|file_sep|>current/build/tasks/output-for-loop-returns.coffee <|file_sep|>updated/build/tasks/output-for-loop-returns.coffee
path = require 'path' module.exports = (grunt) -> grunt.registerTask 'output-for-loop-returns', 'Log methods that end with a for loop', -> appDir = grunt.config.get('atom.appDir') jsPaths = [] grunt.file.recurse path.join(appDir, 'src'), (absolutePath, rootPath, relativePath, fileName) -> jsPaths....
<|file_sep|>original/build/tasks/output-for-loop-returns.coffee <|file_sep|>current/build/tasks/output-for-loop-returns.coffee <|file_sep|>updated/build/tasks/output-for-loop-returns.coffee path = require 'path' module.exports = (grunt) -> grunt.registerTask 'output-for-loop-returns', 'Log methods that end with a ...
b4f911f6d39d263adb9a9f966f8399b5972db265
build/tasks/output-for-loop-returns.coffee
build/tasks/output-for-loop-returns.coffee
CoffeeScript
<|file_sep|>original/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb <|file_sep|>current/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb <|file_sep|>updated/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
# frozen_string_literal: true # See http://doc.gitlab.com/ce/development/migration_style_guide.html # for more information on how to write migrations for GitLab. class RemoveRedundantCiBuildsPartialIndex < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false disable_ddl_transact...
<|file_sep|>original/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb <|file_sep|>current/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb <|file_sep|>updated/db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb # frozen_string_literal: true # See http://doc...
abf3c9680e132af49662f3600dc601b2d995b81c
db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
db/migrate/20181121101843_remove_redundant_ci_builds_partial_index.rb
Ruby
<|file_sep|>original/.travis.yml language: php php: - 5.3.3 - 5.3 - 5.4 before_install: - cp tests/TestConfiguration.php.travis tests/TestConfiguration.php - composer install --dev --prefer-source - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar script: - php ./tests/run-tests.php - output=$(php php-...
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 matrix: allow_failures: - php: 5.5 before_install: - cp tests/TestConfiguration.php.travis tests/TestConfiguration.php - composer install --dev --prefer-source - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar script: - php ./tests/run-tests.php - ...
<|file_sep|>original/.travis.yml language: php php: - 5.3.3 - 5.3 - 5.4 before_install: - cp tests/TestConfiguration.php.travis tests/TestConfiguration.php - composer install --dev --prefer-source - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar script: - php ./tests/run-tests.php - output=$(php php-...
f64d59108a0a46173f11bd0d9cd4add4cb16c7e3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CodeFights/magicalWell.py <|file_sep|>current/CodeFights/magicalWell.py <|file_sep|>updated/CodeFights/magicalWell.py
#!/usr/local/bin/python # Code Fights Growing Plant Problem def magicalWell(a, b, n): return sum([x * y for (x, y) in zip(range(a, a + n), range(b, b + n))]) def main(): tests = [ [1, 2, 2, 8], [1, 1, 1, 1], [6, 5, 3, 128] ] for t in tests: res = magicalWell(t[0], t[...
<|file_sep|>original/CodeFights/magicalWell.py <|file_sep|>current/CodeFights/magicalWell.py <|file_sep|>updated/CodeFights/magicalWell.py #!/usr/local/bin/python # Code Fights Growing Plant Problem def magicalWell(a, b, n): return sum([x * y for (x, y) in zip(range(a, a + n), range(b, b + n))]) def main(): ...
61b1410af66bbdbdc3ac2bb222b43a2aebc9beb8
CodeFights/magicalWell.py
CodeFights/magicalWell.py
Python
<|file_sep|>original/utils/find-unused-diagnostics.sh <|file_sep|>current/utils/find-unused-diagnostics.sh <|file_sep|>updated/utils/find-unused-diagnostics.sh
#!/usr/bin/env bash # # This script produces a list of all diagnostics that are defined # but not used in sources. # # Gather all diagnostic identifiers. ALL_DIAGS=$(grep -E --only-matching --no-filename 'ERROR\([a-z_]+,' include/swift/AST/Diagnostics.def | sed -e 's/ERROR(//' -e 's/,//') # Now look for all potential...
<|file_sep|>original/utils/find-unused-diagnostics.sh <|file_sep|>current/utils/find-unused-diagnostics.sh <|file_sep|>updated/utils/find-unused-diagnostics.sh #!/usr/bin/env bash # # This script produces a list of all diagnostics that are defined # but not used in sources. # # Gather all diagnostic identifiers. ALL...
c0ddd3504eb5675f8b821b3bd121df43d4cf569c
utils/find-unused-diagnostics.sh
utils/find-unused-diagnostics.sh
Shell
<|file_sep|>original/examsys/templates/choosetest.html <h1>Choose a test</h1> {% for test in alltests %} <a href="{% url 'examsys:taketest' test.id %}">{{ test.tname }}</a> {% endfor %} <|file_sep|>current/examsys/templates/choosetest.html <h1>Choose a test</h1> {% for test in alltests %} <a href="{% url 'examsys:tak...
<h1>Choose a test</h1> {% for test in alltests %} <a href="{% url 'examsys:taketest' test.id %}">{{ test.tname }}</a> <br/> {% endfor %}
<|file_sep|>original/examsys/templates/choosetest.html <h1>Choose a test</h1> {% for test in alltests %} <a href="{% url 'examsys:taketest' test.id %}">{{ test.tname }}</a> {% endfor %} <|file_sep|>current/examsys/templates/choosetest.html <h1>Choose a test</h1> {% for test in alltests %} <a href="{% url 'examsys:tak...
6f362a4d198cfe58b55af41c955389e2304aa641
examsys/templates/choosetest.html
examsys/templates/choosetest.html
HTML
<|file_sep|>original/.travis.yml addons: apt: sources: - boost-latest - ubuntu-toolchain-r-test packages: - gcc-4.9 - g++-4.9 - clang-3.6 - libboost1.58-all-dev before_script: - pwd - mkdir -p build/debug - cd build/debug script: - cmake ../.. -DBUILD_TESTS=ON - m...
addons: apt: sources: - boost-latest - ubuntu-toolchain-r-test packages: - gcc-4.9 - g++-4.9 - clang-3.6 - libboost1.58-all-dev - libgtest-dev before_install: - "cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ ; cd -" befor...
<|file_sep|>original/.travis.yml addons: apt: sources: - boost-latest - ubuntu-toolchain-r-test packages: - gcc-4.9 - g++-4.9 - clang-3.6 - libboost1.58-all-dev before_script: - pwd - mkdir -p build/debug - cd build/debug script: - cmake ../.. -DBUILD_TESTS=ON - m...
09822c19aa4cc2e5105582698863af1067913c71
.travis.yml
.travis.yml
YAML
<|file_sep|>spdx/tv_to_rdf.py.diff original: # Author: Thomas Hafner updated: # Author: Thomas Hafner # # 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...
def tv_to_rdf(infile_name, outfile_name): """ Convert a SPDX file from tag/value format to RDF format. """ parser = Parser(Builder(), StandardLogger()) parser.build() with open(infile_name) as infile: data = infile.read() document, error = parser.parse(data) if not error:...
<|file_sep|>spdx/tv_to_rdf.py.diff original: # Author: Thomas Hafner updated: # Author: Thomas Hafner # # 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...
711afeb0e01bc35b1f82588d814be4275f59f758
spdx/tv_to_rdf.py
spdx/tv_to_rdf.py
Python
<|file_sep|>original/src/auth/IdBroker.php <?php namespace Sil\SilAuth\auth; use Psr\Log\LoggerInterface; class IdBroker { /** @var LoggerInterface */ protected $logger; public function __construct(LoggerInterface $logger) { $this->logger = $logger; } public function getUserA...
class IdBroker { /** @var LoggerInterface */ protected $logger; public function __construct(LoggerInterface $logger) { $this->logger = $logger; } public function getUserAttributesFor($username) { throw new \Exception('Not yet implemented.'); } public f...
<|file_sep|>original/src/auth/IdBroker.php <?php namespace Sil\SilAuth\auth; use Psr\Log\LoggerInterface; class IdBroker { /** @var LoggerInterface */ protected $logger; public function __construct(LoggerInterface $logger) { $this->logger = $logger; } public function getUserA...
6c779a86bb56d2df87952b400c9661935cdd609d
src/auth/IdBroker.php
src/auth/IdBroker.php
PHP
<|file_sep|>original/app/manifest.json { "manifest_version": 2, "name": "Nodeachrome", "version": "0.0.1", "description": "Nodeachrome", "app": { "background": { "scripts": [ "background.js" ] } }, "content_security_policy": "script-src 'self' 'unsafe-eval'; objec...
{ "manifest_version": 2, "name": "Nodeachrome", "version": "0.0.1", "description": "Nodeachrome", "app": { "background": { "scripts": [ "background.js" ] } }, "permissions": [ "http://*/", "https://*/", "nativeMessaging" ] }
<|file_sep|>original/app/manifest.json { "manifest_version": 2, "name": "Nodeachrome", "version": "0.0.1", "description": "Nodeachrome", "app": { "background": { "scripts": [ "background.js" ] } }, "content_security_policy": "script-src 'self' 'unsafe-eval'; objec...
1609f453db62572f6dff6beee1d0a24e9f97fe98
app/manifest.json
app/manifest.json
JSON
<|file_sep|>original/.travis.yml dist: trusty addons: chrome: stable language: python python: - '3.5' install: - pip install -r requirements.txt - pip install coveralls before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start script: - coverage run --sour...
dist: trusty addons: chrome: stable language: python python: - '3.5' before_install: - wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip - unzip chromedriver_linux64.zip - sudo mv chromedriver /usr/local/bin - sudo chmod a+x /usr/local/bin/chromedriver install: - pip install -r requiremen...
<|file_sep|>original/.travis.yml dist: trusty addons: chrome: stable language: python python: - '3.5' install: - pip install -r requirements.txt - pip install coveralls before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start script: - coverage run --sour...
a8341d29730a17066986708d074f3d08185cfade
.travis.yml
.travis.yml
YAML
<|file_sep|>original/COPYRIGHT.md Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above co...
Copyright (c) 2009-2015, Wojciech Adam Koszek <wojciech@koszek.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list ...
<|file_sep|>original/COPYRIGHT.md Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above co...
a363eedb6fc50d44ad8b7b23b28fe2386eb12d31
COPYRIGHT.md
COPYRIGHT.md
Markdown
<|file_sep|>original/app/overrides/spree/shared/_filters/remove_filters.html.erb.deface <!-- remove 'erb[silent]:contains("unless filters.empty?")' closing_selector 'erb[silent]:contains("end")' --> <|file_sep|>current/app/overrides/spree/shared/_filters/remove_filters.html.erb.deface <!-- remove 'erb[silent]:contains...
<!-- remove 'erb[silent]:contains("unless filters.empty?")' closing_selector 'erb[silent]:contains("end")' --> <!-- remove 'erb[silent]:contains("end")' -->
<|file_sep|>original/app/overrides/spree/shared/_filters/remove_filters.html.erb.deface <!-- remove 'erb[silent]:contains("unless filters.empty?")' closing_selector 'erb[silent]:contains("end")' --> <|file_sep|>current/app/overrides/spree/shared/_filters/remove_filters.html.erb.deface <!-- remove 'erb[silent]:contains...
4719de8cbcb49a8ee9dc2b1228d8dca2ab5e1f2a
app/overrides/spree/shared/_filters/remove_filters.html.erb.deface
app/overrides/spree/shared/_filters/remove_filters.html.erb.deface
unknown
<|file_sep|>original/content/post/automatic-renewal-of-letsencrypt.md <|file_sep|>current/content/post/automatic-renewal-of-letsencrypt.md <|file_sep|>updated/content/post/automatic-renewal-of-letsencrypt.md
+++ image = "" math = false tags = [ ] date = "2016-10-11T00:15:22Z" title = "Automatic renewal of Let's Encrypt Certificates" +++ Let's Encrypt certificates need to be renewed avery three months. [The Arch Wiki](https://wiki.archlinux.org/index.php/Let%E2%80%99s_Encrypt#Automatic_renewal) has good documentation on a...
<|file_sep|>original/content/post/automatic-renewal-of-letsencrypt.md <|file_sep|>current/content/post/automatic-renewal-of-letsencrypt.md <|file_sep|>updated/content/post/automatic-renewal-of-letsencrypt.md +++ image = "" math = false tags = [ ] date = "2016-10-11T00:15:22Z" title = "Automatic renewal of Let's Encry...
3af5c9a4a5ae462b353855a84c6108c19d73dbe9
content/post/automatic-renewal-of-letsencrypt.md
content/post/automatic-renewal-of-letsencrypt.md
Markdown
<|file_sep|>original/.circleci/config.yml - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: npm test deploy: docker: - image: circleci/node:latest steps: - add_ssh_keys: fingerprints: - "73:b7:b4:63:6a:82:76:02:ae:41:8f:80:5...
key: v1-dependencies-{{ checksum "package.json" }} - run: npm test deploy: docker: - image: circleci/node:latest steps: - add_ssh_keys: fingerprints: - "73:b7:b4:63:6a:82:76:02:ae:41:8f:80:5e:ca:01:8f" - run: echo '73:b7:b4:63:6a:82:76:02:ae:41:8f:80:5e...
<|file_sep|>original/.circleci/config.yml - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: npm test deploy: docker: - image: circleci/node:latest steps: - add_ssh_keys: fingerprints: - "73:b7:b4:63:6a:82:76:02:ae:41:8f:80:5...
93f9d6b5a7d54db51cd56659ae31b76091a3e428
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "7" cache: directories: - node_modules <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "7" cache: directories: - node_modules <|file_sep|>updated/.travis.yml
language: node_js node_js: - "6" - "7" cache: directories: - node_modules
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "7" cache: directories: - node_modules <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "7" cache: directories: - node_modules <|file_sep|>updated/.travis.yml language: node_js node_js: - "6" - "7" cache:...
4720412c11191a667fd3bb893ba9322a9606299f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: go go: - 1.6.2 - tip branches: only: - develop - master install: - go get github.com/codegangsta/cli - go get github.com/keltia/ripe-atlas/atlas script: - go build -v ./cmd/... <|file_sep|>current/.travis.yml language: go go: - 1.6.2 - tip branches: only: - develop ...
language: go go: - 1.6.2 - tip branches: only: - develop - master install: - go get github.com/codegangsta/cli - go get github.com/keltia/ripe-atlas script: - go build -v ./cmd/...
<|file_sep|>original/.travis.yml language: go go: - 1.6.2 - tip branches: only: - develop - master install: - go get github.com/codegangsta/cli - go get github.com/keltia/ripe-atlas/atlas script: - go build -v ./cmd/... <|file_sep|>current/.travis.yml language: go go: - 1.6.2 - tip branches: only: - develop ...
cf0988a55b21e7f8a2650d7d1a4118a9c873b1c6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/builds/publish_lambda_zip.Dockerfile FROM alpine LABEL maintainer "Alex Chan <a.chan@wellcome.ac.uk>" LABEL description "A Docker image for publishing AWS Lambda ZIPs to S3" RUN apk update && apk add libzip-tools git python3 RUN pip3 install boto3 docopt COPY publish_lambda_zip.py /publish_lambd...
FROM alpine LABEL maintainer "Alex Chan <a.chan@wellcome.ac.uk>" LABEL description "A Docker image for publishing AWS Lambda ZIPs to S3" RUN apk update && apk add build-base libzip-tools git python3 python3-dev RUN pip3 install boto3 docopt COPY publish_lambda_zip.py /publish_lambda_zip.py COPY tooling.py /tooling.p...
<|file_sep|>original/builds/publish_lambda_zip.Dockerfile FROM alpine LABEL maintainer "Alex Chan <a.chan@wellcome.ac.uk>" LABEL description "A Docker image for publishing AWS Lambda ZIPs to S3" RUN apk update && apk add libzip-tools git python3 RUN pip3 install boto3 docopt COPY publish_lambda_zip.py /publish_lambd...
4930e49d6a22c9678cb33356b0102e1a8d8902c6
builds/publish_lambda_zip.Dockerfile
builds/publish_lambda_zip.Dockerfile
unknown
<|file_sep|>docs/source/whatsnew/pr/newfeat.rst.diff original: YouTube video will now show thumbnail when exported to a media that do not support video. (PR #9086) updated: YouTube video will now show thumbnail when exported to a media that do not support video. (:ghpull:`9086`) <|file_sep|>docs/source/whatsnew/pr/newf...
YouTube video will now show thumbnail when exported to a media that do not support video. (:ghpull:`9086`) Add warning when running `ipython <subcommand>` when subcommand is deprecated. `jupyter` should now be used. Code in `%pinfo` (also known as `??`) are now highlighter (:ghpull:`8947`) `%aimport` now support mod...
<|file_sep|>docs/source/whatsnew/pr/newfeat.rst.diff original: YouTube video will now show thumbnail when exported to a media that do not support video. (PR #9086) updated: YouTube video will now show thumbnail when exported to a media that do not support video. (:ghpull:`9086`) <|file_sep|>docs/source/whatsnew/pr/newf...
2884a0aa6855e4cb342c693f6dd357e08e448e56
docs/source/whatsnew/pr/newfeat.rst
docs/source/whatsnew/pr/newfeat.rst
reStructuredText
<|file_sep|>original/Prototypes/jsrunner/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "sourceMap": true, "target": "ES6" } } <|file_sep|>current/Prototypes/jsrunner/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "sourceMap": true, "...
{ "compilerOptions": { "noImplicitAny": true, "sourceMap": true, "removeComments": true, "target": "ES6" } }
<|file_sep|>original/Prototypes/jsrunner/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "sourceMap": true, "target": "ES6" } } <|file_sep|>current/Prototypes/jsrunner/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "sourceMap": true, "...
74e7997d7e8e31b677f472a0ad8b95d3ffc49fde
Prototypes/jsrunner/tsconfig.json
Prototypes/jsrunner/tsconfig.json
JSON
<|file_sep|>original/source/stylesheets/syntax.css.scss.erb not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on ...
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. See the License for the specific language governing permissions an...
<|file_sep|>original/source/stylesheets/syntax.css.scss.erb not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on ...
26d47b06a0a5204435cda3863073dbb1eca61b7a
source/stylesheets/syntax.css.scss.erb
source/stylesheets/syntax.css.scss.erb
HTML+ERB
<|file_sep|>README.md.diff original: A set of applications for analyzing BACnet traffic in pcap files based on BACpypes. To use these applications, first install BACpypes from PyPI: $ pip install bacpypes or $ easy_install bacpypes updated: A set of applications for analyzing BACnet traffic in pcap files bas...
# BACpypes-pcap A set of applications for analyzing BACnet traffic in pcap files based on BACpypes. To use these applications, first install [BACpypes](https://pypi.python.org/pypi/BACpypes) from PyPI and [pylibpcap](http://pylibpcap.sourceforge.net/) from SourceForge. Then run them by feeding them the name of a `pca...
<|file_sep|>README.md.diff original: A set of applications for analyzing BACnet traffic in pcap files based on BACpypes. To use these applications, first install BACpypes from PyPI: $ pip install bacpypes or $ easy_install bacpypes updated: A set of applications for analyzing BACnet traffic in pcap files bas...
06c411348ace421a8d9ebcc8036bacdd5679fe61
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "type-check": "tsc -p .", "test": "mocha test/**/*.js" updated: "precommit": ".git/hooks/pre-commit", "test": "mocha test/**/*.js", "type-check": "tsc -p ." <|file_sep|>package.json.diff original: "type-check", updated: <|file_sep|>original/package.json ...
"description": "", "main": "index.js", "scripts": { "lint": "eslint .", "precommit": ".git/hooks/pre-commit", "test": "mocha test/**/*.js", "type-check": "tsc -p ." }, "precommit": [ "lint", "test", "type-check" ], "author": "", "dependencies": { "chrome-har": "^0.3.2", ...
<|file_sep|>package.json.diff original: "type-check": "tsc -p .", "test": "mocha test/**/*.js" updated: "precommit": ".git/hooks/pre-commit", "test": "mocha test/**/*.js", "type-check": "tsc -p ." <|file_sep|>package.json.diff original: "type-check", updated: <|file_sep|>original/package.json ...
edd70028db3673c607725c1189e8d1ea350fcef3
package.json
package.json
JSON
<|file_sep|>original/src/Main.elm -- Messages type Msg = Tick Time | Genesis (List(Coordinate)) -- View view : Model -> Html Msg view matrix = text "banana" -- Update update : Msg -> Model -> (Model, Cmd Msg) update msg model = case msg of Tick _ -> (model, Cmd.none) Genesis points -> ...
-- Messages type Msg = Tick Time | Genesis (List(Coordinate)) -- View view : Model -> Html Msg view model = text <| toString model -- Update update : Msg -> Model -> (Model, Cmd Msg) update msg model = case msg of Tick _ -> (model, Cmd.none) Genesis points -> ( { model | aliv...
<|file_sep|>original/src/Main.elm -- Messages type Msg = Tick Time | Genesis (List(Coordinate)) -- View view : Model -> Html Msg view matrix = text "banana" -- Update update : Msg -> Model -> (Model, Cmd Msg) update msg model = case msg of Tick _ -> (model, Cmd.none) Genesis points -> ...
7b02e3ab0ad248e11fd2bd45cc3b079be3a86fee
src/Main.elm
src/Main.elm
Elm
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 script: - set -o pipefail - travis_retry xcodebuild -workspace RolePlayingCore.xcworkspace -scheme "RolePlayingCore" -destination "platform=iOS Simulator,name=iPhone 6" build-for-testing test <|file_sep|>current/.travis.yml language: objective-c...
language: objective-c osx_image: xcode8.2 script: - set -o pipefail - travis_retry xcodebuild -workspace RolePlayingCore.xcworkspace -scheme "RolePlayingCore" -destination "platform=iOS Simulator,name=iPad Retina" build-for-testing test
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.2 script: - set -o pipefail - travis_retry xcodebuild -workspace RolePlayingCore.xcworkspace -scheme "RolePlayingCore" -destination "platform=iOS Simulator,name=iPhone 6" build-for-testing test <|file_sep|>current/.travis.yml language: objective-c...
3cbcc1784c7c3721f9d54744eb6698a995023f0e
.travis.yml
.travis.yml
YAML
<|file_sep|>lexer.py.diff original: updated: 'STRING', <|file_sep|>lexer.py.diff original: updated: 'EQU', <|file_sep|>lexer.py.diff original: updated: def t_STRING(t): r'(\".*\"|\'.*\')' t.value = t.value[1:-1] return t <|file_sep|>original/lexer.py r'{' return t def t_RB...
def t_STRING(t): r'(\".*\"|\'.*\')' t.value = t.value[1:-1] return t def t_LBRACE(t): r'{' return t def t_EQU(t): r'=' return t def t_RBRACE(t): r'}' return t def t_SEMI(t): r';' return t
<|file_sep|>lexer.py.diff original: updated: 'STRING', <|file_sep|>lexer.py.diff original: updated: 'EQU', <|file_sep|>lexer.py.diff original: updated: def t_STRING(t): r'(\".*\"|\'.*\')' t.value = t.value[1:-1] return t <|file_sep|>original/lexer.py r'{' return t def t_RB...
dbfc1a11c0ced8ab7a997944e943a17ff0069199
lexer.py
lexer.py
Python
<|file_sep|>original/app/views/service_versions/_form.html.haml = form_for ([@organization, @service, service_version]) do |f| - if service_version.errors.any? #error_explanation %h2 = pluralize(service_version.errors.count, "error") prohibited this service_version from being saved: %u...
= form_for ([@organization, @service, service_version]) do |f| - if service_version.errors.any? #error_explanation %h2 = pluralize(service_version.errors.count, "error") prohibited this service_version from being saved: %ul - service_version.errors.full_messages.each do |messag...
<|file_sep|>original/app/views/service_versions/_form.html.haml = form_for ([@organization, @service, service_version]) do |f| - if service_version.errors.any? #error_explanation %h2 = pluralize(service_version.errors.count, "error") prohibited this service_version from being saved: %u...
2097a41eb789e1ccd558d856d220e4b816c1131e
app/views/service_versions/_form.html.haml
app/views/service_versions/_form.html.haml
Haml
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.7.5 pytest==4.2.0 pytest-cov==2.6.1 pytest-django==3.4.7 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.7.5 pytest==4.2.0 pytest-cov==2.6.1 pytest-django==3.4.7 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt flake8==3.7.5 pytest==4.2.0 pytest-cov==2.6.1 pytest-django==3.4.8
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.7.5 pytest==4.2.0 pytest-cov==2.6.1 pytest-django==3.4.7 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.7.5 pytest==4.2.0 pytest-cov==2.6.1 pytest-django==3.4.7 <|file_sep|>updated/requirements-dev.txt -r requirements.txt fl...
a675801cdf6f681d514f3fd90e31a3747ba4f9cc
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/tsconfig.json { "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "noUnusedLocals": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "declaration": true, "skipLibCheck": true, "outDir": "lib/", "lib"...
{ "compilerOptions": { "target": "es5", "module": "es2015", "moduleResolution": "node", "noUnusedLocals": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "declaration": true, "skipLibCheck": true, "outDir": "lib/", "lib": ["dom", "es5", "es2015.core", "es20...
<|file_sep|>original/tsconfig.json { "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "noUnusedLocals": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "declaration": true, "skipLibCheck": true, "outDir": "lib/", "lib"...
50dfe6a5016e3f82b52715ee7b4581685cf1e55f
tsconfig.json
tsconfig.json
JSON
<|file_sep|>server/routes.js.diff original: const indexHtml = process.env.NODE_ENV === "development" ? path.join(__dirname, "../client/index.html") : path.join(__dirname, "../build/client/index.html"); updated: <|file_sep|>original/server/routes.js */ import type { $Application, $Request, $Response } from...
*/ import type { $Application, $Request, $Response } from "express"; import Api from "./api"; import Auth from "./auth"; import { pageNotFound } from "./components/errors"; import path from "path"; function defaultRouteHandler(req: $Request, res: $Response) { res.render(path.join(__dirname, "../client/index.html"...
<|file_sep|>server/routes.js.diff original: const indexHtml = process.env.NODE_ENV === "development" ? path.join(__dirname, "../client/index.html") : path.join(__dirname, "../build/client/index.html"); updated: <|file_sep|>original/server/routes.js */ import type { $Application, $Request, $Response } from...
de7962db1faf9f29dbaab8e6104e6c806f2a442c
server/routes.js
server/routes.js
JavaScript
<|file_sep|>original/site-lisp/db-utils-test.el ;;; db-utils-test.el -- Tests for db-utils -*- lexical-binding: t -*- ;;; Commentary: ;;; Code: (require 'ert) (require 'db-utils) (require 'cl-lib) (ert-deftest db-utils-db/ntp-to-time () "Test NTP conversion to readable time with `db/ntp-to-time'." (should (equa...
;;; db-utils-test.el -- Tests for db-utils -*- lexical-binding: t -*- ;;; Commentary: ;;; Code: (require 'ert) (require 'db-utils) (require 'cl-lib) (ert-deftest db-utils-db/ntp-to-time () "Test NTP conversion to readable time with `db/ntp-to-time'." (should (equal (db/ntp-to-time #xdcd2ac0c #x05c6dbac) ...
<|file_sep|>original/site-lisp/db-utils-test.el ;;; db-utils-test.el -- Tests for db-utils -*- lexical-binding: t -*- ;;; Commentary: ;;; Code: (require 'ert) (require 'db-utils) (require 'cl-lib) (ert-deftest db-utils-db/ntp-to-time () "Test NTP conversion to readable time with `db/ntp-to-time'." (should (equa...
c86051ba22e21caf8fc20c2474d7714935658862
site-lisp/db-utils-test.el
site-lisp/db-utils-test.el
Emacs Lisp
<|file_sep|>original/package.json "main": "choropleth.js", "scripts": { "start": "babel choropleth.jsx > choropleth.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "chroma-js": "1.1.1" }, "peerDependencies": { "leaflet": "^1...
"main": "choropleth.js", "scripts": { "start": "babel choropleth.jsx > choropleth.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "chroma-js": "1.1.1" }, "peerDependencies": { "leaflet": "^1.0.2", "react-leaflet": "^1.0....
<|file_sep|>original/package.json "main": "choropleth.js", "scripts": { "start": "babel choropleth.jsx > choropleth.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "chroma-js": "1.1.1" }, "peerDependencies": { "leaflet": "^1...
57b93f8fbb484322e107513491c181bdf2d9f1ff
package.json
package.json
JSON
<|file_sep|>original/res/css/views/rooms/_VoiceRecordComposerTile.scss .mx_VoiceRecordComposerTile_stop { // 28px plus a 2px border makes this a 32px square (as intended) width: 28px; height: 28px; border: 2px solid $voice-record-stop-border-color; border-radius: 32px; margin-right: 16px; // be...
.mx_VoiceRecordComposerTile_stop { // 28px plus a 2px border makes this a 32px square (as intended) width: 28px; height: 28px; border: 2px solid $voice-record-stop-border-color; border-radius: 32px; margin-right: 16px; // between us and the send button position: relative; &::after { ...
<|file_sep|>original/res/css/views/rooms/_VoiceRecordComposerTile.scss .mx_VoiceRecordComposerTile_stop { // 28px plus a 2px border makes this a 32px square (as intended) width: 28px; height: 28px; border: 2px solid $voice-record-stop-border-color; border-radius: 32px; margin-right: 16px; // be...
51dca8d13d670c8fe9bfe5676f8726d0210bc5ac
res/css/views/rooms/_VoiceRecordComposerTile.scss
res/css/views/rooms/_VoiceRecordComposerTile.scss
SCSS
<|file_sep|>SECURITY.md.diff original: As of January 2022 (and until this document is updated), only the v3.0.0 and v4.0.0 _stable_ releases of Strapi are supported for updates. Any previous versions are currently not supported and users are advised to use them "at their own risk". updated: As of May 2022 (and until th...
# Security Policy ## Supported Versions As of May 2022 (and until this document is updated), only the v4.x.x _stable_ releases of Strapi are supported for updates and bug fixes. Any previous versions are currently not supported and users are advised to use them "at their own risk". - v3.x.x support is limited to Cri...
<|file_sep|>SECURITY.md.diff original: As of January 2022 (and until this document is updated), only the v3.0.0 and v4.0.0 _stable_ releases of Strapi are supported for updates. Any previous versions are currently not supported and users are advised to use them "at their own risk". updated: As of May 2022 (and until th...
7406d6bba3875eee51837134672d6966c3540a19
SECURITY.md
SECURITY.md
Markdown
<|file_sep|>original/qed/Functions/CreateRavenStore.cs { ravenStore = new EmbeddableDocumentStore { DataDirectory = GetConfiguration<string>(Constants.Configuration.RavenDataDirectoryKey) }; } else { ...
{ ravenStore = new EmbeddableDocumentStore { DataDirectory = GetConfiguration<string>(Constants.Configuration.RavenDataDirectoryKey) }; } else { ravenStore = new DocumentStore ...
<|file_sep|>original/qed/Functions/CreateRavenStore.cs { ravenStore = new EmbeddableDocumentStore { DataDirectory = GetConfiguration<string>(Constants.Configuration.RavenDataDirectoryKey) }; } else { ...
092958dfe6298fcd8177f3947b5e89dc6bd59297
qed/Functions/CreateRavenStore.cs
qed/Functions/CreateRavenStore.cs
C#
<|file_sep|>original/tasks/main.yml --- - name: "Verify redirect value and fail" fail: msg="Redirect should be a complete URL, not {{ redirect }}" when: "redirect is defined and not {{ redirect | match('^https?://') }}" - include: common.yml when: httpd_common is not defined - set_fact: httpd_common=True - fil...
--- - name: "Verify redirect value and fail" fail: msg="Redirect should be a complete URL, not {{ redirect }}" when: "redirect is defined and not redirect | match('^https?://')" - include: common.yml when: httpd_common is not defined - set_fact: httpd_common=True - file: state=directory path={{ document_root }...
<|file_sep|>original/tasks/main.yml --- - name: "Verify redirect value and fail" fail: msg="Redirect should be a complete URL, not {{ redirect }}" when: "redirect is defined and not {{ redirect | match('^https?://') }}" - include: common.yml when: httpd_common is not defined - set_fact: httpd_common=True - fil...
291f764ca1a44aeb68a83692f5dfdd6adab6bfc5
tasks/main.yml
tasks/main.yml
YAML
<|file_sep|>original/py-requirements/base.txt # Django stuff Django==1.10.7 dj-database-url==0.4.2 django-choices==1.5.0 django-extensions==1.7.9 django-storages==1.5.2 djangorestframework==3.6.3 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.32.0 oauthlib==2.0.2 python3-openid==3.1.0 requests-oauthli...
# Django stuff Django==1.10.7 dj-database-url==0.4.2 django-choices==1.5.0 django-extensions==1.7.9 django-storages==1.6.3 djangorestframework==3.6.3 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.32.0 oauthlib==2.0.2 python3-openid==3.1.0 requests-oauthlib==0.8.0 # Github github3.py==1.0.0a4 uritemp...
<|file_sep|>original/py-requirements/base.txt # Django stuff Django==1.10.7 dj-database-url==0.4.2 django-choices==1.5.0 django-extensions==1.7.9 django-storages==1.5.2 djangorestframework==3.6.3 whitenoise==3.3.0 # Allauth defusedxml==0.5.0 django-allauth==0.32.0 oauthlib==2.0.2 python3-openid==3.1.0 requests-oauthli...
76e3ddcbdf583d01614c5a4d3b91283f759dce40
py-requirements/base.txt
py-requirements/base.txt
Text
<|file_sep|>original/database/migrations/2016_12_06_135621_create_quotations_table.php /** * Run the migrations. * * @return void */ public function up() { Schema::create('quotations', function (Blueprint $table) { $table->increments('id'); $table->string(...
/** * Run the migrations. * * @return void */ public function up() { Schema::create('quotations', function (Blueprint $table) { $table->increments('id'); $table->string('context'); $table->integer('order')->default(0); $table->times...
<|file_sep|>original/database/migrations/2016_12_06_135621_create_quotations_table.php /** * Run the migrations. * * @return void */ public function up() { Schema::create('quotations', function (Blueprint $table) { $table->increments('id'); $table->string(...
b055b9a1eb0b5a7c8a92bc98c863d66fe9bd9ae1
database/migrations/2016_12_06_135621_create_quotations_table.php
database/migrations/2016_12_06_135621_create_quotations_table.php
PHP
<|file_sep|>cloc_device.sh.diff original: device_js.* \ device_js_wrappers.* \ updated: device_js/* \ zcl/* \ <|file_sep|>original/cloc_device.sh #!/bin/bash cloc \ device.* \ device_access_fn.* \ device_compat.* \ device_ddf_init.* \ device_descriptions.* \ device_js.* \ device_js_wrappers.* \ device_tick...
#!/bin/bash cloc \ device.* \ device_access_fn.* \ device_compat.* \ device_ddf_init.* \ device_descriptions.* \ device_js/* \ zcl/* \ device_tick.* \ state_change.* \ ui/*
<|file_sep|>cloc_device.sh.diff original: device_js.* \ device_js_wrappers.* \ updated: device_js/* \ zcl/* \ <|file_sep|>original/cloc_device.sh #!/bin/bash cloc \ device.* \ device_access_fn.* \ device_compat.* \ device_ddf_init.* \ device_descriptions.* \ device_js.* \ device_js_wrappers.* \ device_tick...
32e720c3b9f189b11ee5cb46d1043e74779d350e
cloc_device.sh
cloc_device.sh
Shell
<|file_sep|>original/src/api-umbrella/utils/run_command.lua -- the output and parse it out. -- -- Based on this approach: http://lua-users.org/lists/lua-l/2009-06/msg00133.html -- -- Revisit if LuaJIT get Lua 5.2 support since then pclose can provide the -- exit code. local handle = io.popen(command .. ' ...
-- the output and parse it out. -- -- Based on this approach: http://lua-users.org/lists/lua-l/2009-06/msg00133.html -- -- Revisit if LuaJIT get Lua 5.2 support since then pclose can provide the -- exit code. local handle = io.popen(command .. ' 2>&1; echo "===STATUS_CODE:$?"', "r") local all_output = h...
<|file_sep|>original/src/api-umbrella/utils/run_command.lua -- the output and parse it out. -- -- Based on this approach: http://lua-users.org/lists/lua-l/2009-06/msg00133.html -- -- Revisit if LuaJIT get Lua 5.2 support since then pclose can provide the -- exit code. local handle = io.popen(command .. ' ...
1e3e085bef0a8e38e57879d3109de0e2d4c51486
src/api-umbrella/utils/run_command.lua
src/api-umbrella/utils/run_command.lua
Lua
<|file_sep|>original/t/01-basics.t <|file_sep|>current/t/01-basics.t <|file_sep|>updated/t/01-basics.t
use v6; use Test; plan 2; use Git::PurePerl; ok 1, 'Module loads successfully'; isa_ok my $g = Git::PurePerl.new(:directory<.>), Git::PurePerl, '.new works'; done; # vim: ft=perl6
<|file_sep|>original/t/01-basics.t <|file_sep|>current/t/01-basics.t <|file_sep|>updated/t/01-basics.t use v6; use Test; plan 2; use Git::PurePerl; ok 1, 'Module loads successfully'; isa_ok my $g = Git::PurePerl.new(:directory<.>), Git::PurePerl, '.new works'; done; # vim: ft=perl6
8fb18bca7544960332ace63398abccdf42271e76
t/01-basics.t
t/01-basics.t
Perl
<|file_sep|>runtests.sh.diff original: updated: RED="\x1B[0;31m" GREEN="\x1B[0;32m" BLUE="\x1B[1;34m" NOCOLOR="\x1B[0m" <|file_sep|>runtests.sh.diff original: for file in $(find tests/bin -type f -maxdepth 1); do echo "Testing " $file if valgrind --error-exitcode=1 $file $TEST_ARGS; then echo "Error:" $file "leaki...
for file in $(find tests/bin -maxdepth 1 -type f); do echo -e $BLUE "Testing " $file $NOCOLOR if ! valgrind --error-exitcode=1 $file $TEST_ARGS; then echo -e $RED "Error:" $file "leaking memory" $NOCOLOR 1>&2 exit_code=1 else echo -e $BLUE $file "passed" $NOCOLOR fi done for file in $(find build/bin -maxdep...
<|file_sep|>runtests.sh.diff original: updated: RED="\x1B[0;31m" GREEN="\x1B[0;32m" BLUE="\x1B[1;34m" NOCOLOR="\x1B[0m" <|file_sep|>runtests.sh.diff original: for file in $(find tests/bin -type f -maxdepth 1); do echo "Testing " $file if valgrind --error-exitcode=1 $file $TEST_ARGS; then echo "Error:" $file "leaki...
2f593d5da5cca8d14438e2cdd9275499372954fd
runtests.sh
runtests.sh
Shell
<|file_sep|>original/package.json "contributors": [ { "name": "Damon Maria", "email": "damon@mindhive.co.nz" } ], "private": false, "main": "./dist/index.js", "scripts": { "build": "babel src --ignore *.spec.js --out-dir dist", "test": "mocha --compilers js:babel-core/register --re...
"contributors": [ { "name": "Damon Maria", "email": "damon@mindhive.co.nz" } ], "private": false, "main": "./dist/index.js", "scripts": { "build": "babel src --ignore *.spec.js --out-dir dist", "test": "mocha --compilers js:babel-core/register --reporter spec \"src/**/*.spec.js\"",...
<|file_sep|>original/package.json "contributors": [ { "name": "Damon Maria", "email": "damon@mindhive.co.nz" } ], "private": false, "main": "./dist/index.js", "scripts": { "build": "babel src --ignore *.spec.js --out-dir dist", "test": "mocha --compilers js:babel-core/register --re...
4d5745a9aec2f463bcb2c0ff879cdeec9cc752f0
package.json
package.json
JSON
<|file_sep|>unit-tests/sharness/t0007-stubs-use-block.sh.diff original: test_description="Test generate IDE stubs with `use` block" updated: test_description="Test generate IDE stubs with proper namespace imports" <|file_sep|>original/unit-tests/sharness/t0007-stubs-use-block.sh #!/usr/bin/env bash # shellcheck disabl...
#!/usr/bin/env bash # shellcheck disable=SC2034 test_description="Test generate IDE stubs with proper namespace imports" source ./setup.sh # See: https://github.com/phalcon/zephir/issues/1778 test_expect_success "Should properly namespace imports (use block)" " cd $FIXTURESDIR/stubs/issue1778 && zephirc generate...
<|file_sep|>unit-tests/sharness/t0007-stubs-use-block.sh.diff original: test_description="Test generate IDE stubs with `use` block" updated: test_description="Test generate IDE stubs with proper namespace imports" <|file_sep|>original/unit-tests/sharness/t0007-stubs-use-block.sh #!/usr/bin/env bash # shellcheck disabl...
4628baeb06674cf4402e04eb5447249dc1ae961c
unit-tests/sharness/t0007-stubs-use-block.sh
unit-tests/sharness/t0007-stubs-use-block.sh
Shell
<|file_sep|>original/test/hydrant/core_test.clj (ns hydrant.core-test (:require [clojure.test :refer :all] [hydrant.core :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1)))) <|file_sep|>current/test/hydrant/core_test.clj (ns hydrant.core-test (:require [clojure.test :refer :all...
(ns hydrant.core-test (:require [clojure.test :refer :all] [hydrant.core :refer :all])) (deftest a-test (testing "TODO - Write tests" (is (= 1 1))))
<|file_sep|>original/test/hydrant/core_test.clj (ns hydrant.core-test (:require [clojure.test :refer :all] [hydrant.core :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1)))) <|file_sep|>current/test/hydrant/core_test.clj (ns hydrant.core-test (:require [clojure.test :refer :all...
1d64c6a55b1fe204fdd7e157f4eae7773ff78ae5
test/hydrant/core_test.clj
test/hydrant/core_test.clj
Clojure
<|file_sep|>original/http_date.py <|file_sep|>current/http_date.py <|file_sep|>updated/http_date.py
#!/usr/bin/env python3 import re months = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split() http_month_pattern = '(%s)' % '|'.join(months) http_time_pattern = '\d\d:\d\d:\d\d' http_date_pattern = re.compile(r'''^ \S+ ( ,\s (?P<day1>\d+) ( \s (?P<month1>{0}) \s (?P<y...
<|file_sep|>original/http_date.py <|file_sep|>current/http_date.py <|file_sep|>updated/http_date.py #!/usr/bin/env python3 import re months = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split() http_month_pattern = '(%s)' % '|'.join(months) http_time_pattern = '\d\d:\d\d:\d\d' http_date_pattern = re.compile(r...
05471b5d1b5328af337877433327fd90987a7492
http_date.py
http_date.py
Python
<|file_sep|>original/.codeclimate.yml engines: rubocop: enabled: true csslint: enabled: true duplication: enabled: true config: languages: - ruby fixme: enabled: true ratings: - "**.css" - "**.rb" exclude_paths: - spec/ <|file_sep|>current/.codeclimate.yml engines: rubo...
engines: rubocop: enabled: true csslint: enabled: true duplication: enabled: true config: languages: - ruby fixme: enabled: true ratings: paths: - "**.css" - "**.rb" exclude_paths: - spec/
<|file_sep|>original/.codeclimate.yml engines: rubocop: enabled: true csslint: enabled: true duplication: enabled: true config: languages: - ruby fixme: enabled: true ratings: - "**.css" - "**.rb" exclude_paths: - spec/ <|file_sep|>current/.codeclimate.yml engines: rubo...
278805feeea1159978c22abb45b039d89eca5356
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>tests/AppBundle/API/Mapping/FullByOrganismNameTest.php.diff original: updated: use AppBundle\API\Mapping; <|file_sep|>tests/AppBundle/API/Mapping/FullByOrganismNameTest.php.diff original: updated: private $em; private $fullByOrganismName; public function setUp() { $kernel = self::b...
} public function tearDown() { parent::tearDown(); $this->em->close(); $this->em = null; // avoid memory leaks } public function testExecute() { $result = $this->fullByOrganismName->execute(); $this->assertEquals(195203, count($result)); $this->...
<|file_sep|>tests/AppBundle/API/Mapping/FullByOrganismNameTest.php.diff original: updated: use AppBundle\API\Mapping; <|file_sep|>tests/AppBundle/API/Mapping/FullByOrganismNameTest.php.diff original: updated: private $em; private $fullByOrganismName; public function setUp() { $kernel = self::b...
622edb500b06a55cfd0b43e3f847dcf7cb4b1bf5
tests/AppBundle/API/Mapping/FullByOrganismNameTest.php
tests/AppBundle/API/Mapping/FullByOrganismNameTest.php
PHP
<|file_sep|>original/package.json { "name": "autoprefixer-core", "version": "2.2.0", "description": "CLI-less core of Autoprefixer to use in plugins", "keywords": ["autoprefixer", "css", "prefix", "postprocessor", "postcss"], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": { ...
{ "name": "autoprefixer-core", "version": "2.2.0", "description": "CLI-less core of Autoprefixer to use in plugins", "keywords": ["autoprefixer", "css", "prefix", "postprocessor", "postcss"], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": { "type": "git", "url": "htt...
<|file_sep|>original/package.json { "name": "autoprefixer-core", "version": "2.2.0", "description": "CLI-less core of Autoprefixer to use in plugins", "keywords": ["autoprefixer", "css", "prefix", "postprocessor", "postcss"], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": { ...
347d8337dfc03d80d44dec3cb4ffd286cc4a0e4b
package.json
package.json
JSON
<|file_sep|>docker-compose.yml.diff original: # build: . image: nyulibraries/rooms:dev updated: build: . <|file_sep|>original/docker-compose.yml image: nyulibraries/rooms:dev environment: RAILS_ENV: test ROOMS_DB_DATABASE: rooms_test env_file: - test.env command: "tail -f /...
environment: RAILS_ENV: test ROOMS_DB_DATABASE: rooms_test env_file: - test.env command: "tail -f /dev/null" depends_on: - setup_test setup_test: build: . environment: RAILS_ENV: test ROOMS_DB_DATABASE: rooms_test env_file: - test.env command:...
<|file_sep|>docker-compose.yml.diff original: # build: . image: nyulibraries/rooms:dev updated: build: . <|file_sep|>original/docker-compose.yml image: nyulibraries/rooms:dev environment: RAILS_ENV: test ROOMS_DB_DATABASE: rooms_test env_file: - test.env command: "tail -f /...
0b890d039d3b126045bb4a079d643ee357159b6d
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/.github/workflows/whitespace.yml jobs: fix: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Remove Trailing Whitespaces run: | find . -not -path '*/\.git/*' -type f -not -name '*.go' -exec sed -i '' 's/...
jobs: fix: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Remove Trailing Whitespaces run: | find . -not -path '*/\.git/*' -type f -not -name '*.go' -exec sed -i 's/[[:space:]]\{1,\}$//' {} \+ - name: Set up ...
<|file_sep|>original/.github/workflows/whitespace.yml jobs: fix: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Remove Trailing Whitespaces run: | find . -not -path '*/\.git/*' -type f -not -name '*.go' -exec sed -i '' 's/...
37e3a81f25f2980af60bee595d905a3abdf40811
.github/workflows/whitespace.yml
.github/workflows/whitespace.yml
YAML
<|file_sep|>original/bin/config.sh externals=$(node -p "Object.keys(require('./package').dependencies).join('\n');") function flag_externals { out="" for module in $externals; do # Symlinked modules are assumed to be in development and aren't externalized. [[ -L "node_modules/$module" ]] || out="$out --$1 ...
externals=$(node -p "Object.keys(require('./package').dependencies).join('\n');") function flag_externals { out="" for module in $externals; do # Symlinked modules are assumed to be in development and aren't externalized. [[ -L "node_modules/$module" ]] || out="$out --$1 $module" done echo $out } func...
<|file_sep|>original/bin/config.sh externals=$(node -p "Object.keys(require('./package').dependencies).join('\n');") function flag_externals { out="" for module in $externals; do # Symlinked modules are assumed to be in development and aren't externalized. [[ -L "node_modules/$module" ]] || out="$out --$1 ...
a0ddae7f187d8eaeaaff0016831e845c27586cf3
bin/config.sh
bin/config.sh
Shell
<|file_sep|>circle.yml.diff original: updated: environment: YARN_VERSION: 0.18.1 PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" dependencies: pre: - | if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then echo "Download and...
pre: - | if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then echo "Download and install Yarn." curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION else echo "The correct version of Yarn is already installed." fi ove...
<|file_sep|>circle.yml.diff original: updated: environment: YARN_VERSION: 0.18.1 PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" dependencies: pre: - | if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then echo "Download and...
3022ace387585aca7b2e58404ff54c34bb84f15c
circle.yml
circle.yml
YAML
<|file_sep|>original/CuratedContent/WorkingEffectivelyWithLegacyCode.md # Working Effectively with Legacy Code ## Feathers, Michael, 2005 This is really the book that gives one hope that we can take very bad software and through targeted incremental unit testing and refactoring, can turn it into good software while i...
# Working Effectively with Legacy Code ## Feathers, Michael, 2005 This is really the book that gives one hope that we can take legacy software that is very hard to modify and extend and through targeted incremental unit testing and refactoring, can turn it into better software while implementing and delivering new fu...
<|file_sep|>original/CuratedContent/WorkingEffectivelyWithLegacyCode.md # Working Effectively with Legacy Code ## Feathers, Michael, 2005 This is really the book that gives one hope that we can take very bad software and through targeted incremental unit testing and refactoring, can turn it into good software while i...
4b0fca2322f3c9341c6672c4a72cb1640ee7fc10
CuratedContent/WorkingEffectivelyWithLegacyCode.md
CuratedContent/WorkingEffectivelyWithLegacyCode.md
Markdown
<|file_sep|>app/views/graphs/stacked.html.erb.diff original: updated: <|file_sep|>app/views/graphs/stacked.html.erb.diff original: updated: <script src="/assets/graphs/util.js"></script> <|file_sep|>original/app/views/graphs/stacked.html.erb </div> <div class="chart" id="chart"></div> <% (1..@metrics.length-1...
<% (1..@metrics.length-1).each do |n| %> <div class="axis1" id="axis<%=n%>" style="left: <%= 700 + 40 * n %>px" > <div class="stub stub_right" id="axis<%=n%>_stub"></div> </div> <% end %> <div class="x_axis" id="x_axis"></div> <div class="slider" id="slider"></div> <div class="legend legend-indent" ...
<|file_sep|>app/views/graphs/stacked.html.erb.diff original: updated: <|file_sep|>app/views/graphs/stacked.html.erb.diff original: updated: <script src="/assets/graphs/util.js"></script> <|file_sep|>original/app/views/graphs/stacked.html.erb </div> <div class="chart" id="chart"></div> <% (1..@metrics.length-1...
7c8015a20d936996a9914ea3b4d0569c9bedfa43
app/views/graphs/stacked.html.erb
app/views/graphs/stacked.html.erb
HTML+ERB
<|file_sep|>original/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 tox==3.16.1 coverage==5.1 Sphinx==3.1.1 cryptography==2.9.2 PyYAML==5.3.1 <|file_sep|>current/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 tox==3.16....
pip==20.1.1 bumpversion==0.6.0 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 tox==3.16.1 coverage==5.1 Sphinx==3.1.2 cryptography==2.9.2 PyYAML==5.3.1
<|file_sep|>original/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 tox==3.16.1 coverage==5.1 Sphinx==3.1.1 cryptography==2.9.2 PyYAML==5.3.1 <|file_sep|>current/requirements_dev.txt pip==20.1.1 bumpversion==0.6.0 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 tox==3.16....
52186dffe182882ed3f8f02b2070843ef87c7965
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/lib/webdriver-user-agent/driver.rb def for(opts) user_agent_string = opts[:user_agent_string] user_agent_string ||= agent_string_for opts[:agent] options = BrowserOptions.new(opts, user_agent_string) build_driver_using options ensure if safari?(...
def for(opts) user_agent_string = opts[:user_agent_string] user_agent_string ||= agent_string_for opts[:agent] options = BrowserOptions.new(opts, user_agent_string) build_driver_using options end private def resize_inner_window(driver, width, height) t...
<|file_sep|>original/lib/webdriver-user-agent/driver.rb def for(opts) user_agent_string = opts[:user_agent_string] user_agent_string ||= agent_string_for opts[:agent] options = BrowserOptions.new(opts, user_agent_string) build_driver_using options ensure if safari?(...
eb5a41d26b5bf2fb0bbcb12fe899dffa2fb0a14f
lib/webdriver-user-agent/driver.rb
lib/webdriver-user-agent/driver.rb
Ruby
<|file_sep|>original/locales/pt-PT/experiments.ftl <|file_sep|>current/locales/pt-PT/experiments.ftl <|file_sep|>updated/locales/pt-PT/experiments.ftl
activitystreamMeasurements1 = Nós também recolhemos informação básica acerca do seu perfil do navegador que afeta o Canal de atividades, tais como o número de marcadores e o histórico. activitystreamDetails0Copy = Clique num novo separador e os seus sites favoritos estão apenas a mais um clique de distância.
<|file_sep|>original/locales/pt-PT/experiments.ftl <|file_sep|>current/locales/pt-PT/experiments.ftl <|file_sep|>updated/locales/pt-PT/experiments.ftl activitystreamMeasurements1 = Nós também recolhemos informação básica acerca do seu perfil do navegador que afeta o Canal de atividades, tais como o número de marcador...
818a89b02ed0e59f9b09e60e054e6110949fabe2
locales/pt-PT/experiments.ftl
locales/pt-PT/experiments.ftl
FreeMarker
<|file_sep|>original/.travis.yml language: python python: 2.7 os: - linux install: - pip install -r requirements-dev.txt script: - make all notifications: email: - eng@stackstorm.com <|file_sep|>current/.travis.yml language: python python: 2.7 os: - linux install: - pip install -r requirements-dev.t...
language: python python: 2.7 sudo: false os: - linux install: - pip install -r requirements-dev.txt script: - make all notifications: email: - eng@stackstorm.com
<|file_sep|>original/.travis.yml language: python python: 2.7 os: - linux install: - pip install -r requirements-dev.txt script: - make all notifications: email: - eng@stackstorm.com <|file_sep|>current/.travis.yml language: python python: 2.7 os: - linux install: - pip install -r requirements-dev.t...
653957c7eef536c4e36929d478fcbcbb7a8ce026
.travis.yml
.travis.yml
YAML
<|file_sep|>.forestry/settings.yml.diff original: admin_path: updated: admin_path: '' <|file_sep|>original/.forestry/settings.yml new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: content/writings label: Writings create: all match: "**/*" new_doc_ext: ".md...
new_page_extension: md auto_deploy: false admin_path: '' webhook_url: sections: - type: directory path: content/writings label: Writings create: all match: "**/*" new_doc_ext: mdx upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build:...
<|file_sep|>.forestry/settings.yml.diff original: admin_path: updated: admin_path: '' <|file_sep|>original/.forestry/settings.yml new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: content/writings label: Writings create: all match: "**/*" new_doc_ext: ".md...
ab1ea08bb8e4f9ea7e3d97c236d6ba2062e3b958
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/lib/lysergide.rb require 'logger' LOG ||= Logger.new($stdout) # CI service with hooks for GitHub, BitBucket and git repositories module Lysergide def self.start(port) GC.enable require 'lysergide/jobs' Lysergide::Jobs.start require 'lysergide/application' lsd = Lysergide::Ap...
require 'logger' LOG ||= Logger.new($stdout) # CI service with hooks for GitHub, BitBucket and git repositories module Lysergide def self.start(port) GC.enable require 'lysergide/jobs' Lysergide::Jobs.start require 'lysergide/application' lys = Lysergide::Application lys.set :port, port ...
<|file_sep|>original/lib/lysergide.rb require 'logger' LOG ||= Logger.new($stdout) # CI service with hooks for GitHub, BitBucket and git repositories module Lysergide def self.start(port) GC.enable require 'lysergide/jobs' Lysergide::Jobs.start require 'lysergide/application' lsd = Lysergide::Ap...
943670d50785ecda007e4a0ebc29654e4e415704
lib/lysergide.rb
lib/lysergide.rb
Ruby
<|file_sep|>original/README.md # HTTP Public Key Pinning (HPKP) middleware Adds Public Key Pinning headers to Express/Connect applications. To learn more about HPKP, check out [the spec](https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pinning), [the article on MDN](https://developer.mozilla.org/en-US/...
# HTTP Public Key Pinning (HPKP) middleware Adds Public Key Pinning headers to Express/Connect applications. To learn more about HPKP, check out [the spec](https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pinning), [the article on MDN](https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pi...
<|file_sep|>original/README.md # HTTP Public Key Pinning (HPKP) middleware Adds Public Key Pinning headers to Express/Connect applications. To learn more about HPKP, check out [the spec](https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pinning), [the article on MDN](https://developer.mozilla.org/en-US/...
08429fe2dd78130dfefc319c08b170e536f5aba5
README.md
README.md
Markdown
<|file_sep|>original/gobbler/tests/SubmissionsTest.php <|file_sep|>current/gobbler/tests/SubmissionsTest.php <|file_sep|>updated/gobbler/tests/SubmissionsTest.php
<?php require_once('PHPUnit/Framework.php'); class SubmissionsTest extends PHPUnit_Framework_TestCase { // Check we can login with standard authentication public function testStandardAuth() { $result = $this->standardLogin("testuser", "password"); $this->assertEquals("OK", trim($result[0])); } // Make sure w...
<|file_sep|>original/gobbler/tests/SubmissionsTest.php <|file_sep|>current/gobbler/tests/SubmissionsTest.php <|file_sep|>updated/gobbler/tests/SubmissionsTest.php <?php require_once('PHPUnit/Framework.php'); class SubmissionsTest extends PHPUnit_Framework_TestCase { // Check we can login with standard authenticatio...
81496ea3a5e904ecddb7111a22668f0d2836a1e9
gobbler/tests/SubmissionsTest.php
gobbler/tests/SubmissionsTest.php
PHP