prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/spec/spec_helper.rb require 'puppetlabs_spec_helper/module_spec_helper' RSpec.configure do |c| c.default_facts = { :osfamily => 'RedHat', :operatingsystem => 'CentOS', :ipaddress => '172.16.32.42', :operatingsystemmajrelease => '7', ...
require 'puppetlabs_spec_helper/module_spec_helper' RSpec.configure do |c| c.default_facts = { :osfamily => 'RedHat', :operatingsystem => 'CentOS', :ipaddress => '172.16.32.42', :operatingsystemmajrelease => '7', :operatingsystemrelease => '7.0', ...
<|file_sep|>original/spec/spec_helper.rb require 'puppetlabs_spec_helper/module_spec_helper' RSpec.configure do |c| c.default_facts = { :osfamily => 'RedHat', :operatingsystem => 'CentOS', :ipaddress => '172.16.32.42', :operatingsystemmajrelease => '7', ...
00a6533491e60285bb0f42ff4bcb2dd292ead164
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/mixlib-shellout.gemspec $:.unshift(File.dirname(__FILE__) + '/lib') require 'mixlib/shellout/version' Gem::Specification.new do |s| s.name = 'mixlib-shellout' s.version = Mixlib::ShellOut::VERSION s.platform = Gem::Platform::RUBY s.has_rdoc = true s.extra_rdoc_files = ["README.md", "LICE...
$:.unshift(File.dirname(__FILE__) + '/lib') require 'mixlib/shellout/version' Gem::Specification.new do |s| s.name = 'mixlib-shellout' s.version = Mixlib::ShellOut::VERSION s.platform = Gem::Platform::RUBY s.extra_rdoc_files = ["README.md", "LICENSE" ] s.summary = "Run external commands on Unix or Windows" ...
<|file_sep|>original/mixlib-shellout.gemspec $:.unshift(File.dirname(__FILE__) + '/lib') require 'mixlib/shellout/version' Gem::Specification.new do |s| s.name = 'mixlib-shellout' s.version = Mixlib::ShellOut::VERSION s.platform = Gem::Platform::RUBY s.has_rdoc = true s.extra_rdoc_files = ["README.md", "LICE...
00e112f3f13ff690937095fcc92b0a2c7b1f8748
mixlib-shellout.gemspec
mixlib-shellout.gemspec
Ruby
<|file_sep|>original/requirements-dev.txt coverage==4.2 docker-py==1.10.3 flake8==3.0.4 ipdb==0.10.1 ipython==5.1.0 pyodbc==3.0.10 pytest==3.0.2 pytest-cov==2.3.1 pytest-sugar==0.7.1 sphinx==1.4.6 sphinxcontrib-asyncio==0.2.0 uvloop==0.5.3 <|file_sep|>current/requirements-dev.txt coverage==4.2 docker-py==1.10.3 flake8=...
coverage==4.2 docker-py==1.10.3 flake8==3.0.4 ipdb==0.10.1 ipython==5.1.0 pyodbc==3.0.10 pytest==3.0.3 pytest-cov==2.3.1 pytest-sugar==0.7.1 sphinx==1.4.6 sphinxcontrib-asyncio==0.2.0 uvloop==0.5.3
<|file_sep|>original/requirements-dev.txt coverage==4.2 docker-py==1.10.3 flake8==3.0.4 ipdb==0.10.1 ipython==5.1.0 pyodbc==3.0.10 pytest==3.0.2 pytest-cov==2.3.1 pytest-sugar==0.7.1 sphinx==1.4.6 sphinxcontrib-asyncio==0.2.0 uvloop==0.5.3 <|file_sep|>current/requirements-dev.txt coverage==4.2 docker-py==1.10.3 flake8=...
f135d7d3d9d5a5ba514c8726227b76cd4b8760ff
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/requirements.txt argparse==1.4.0 cssutils==1.0.2 defusedxml==0.5.0 fastchardet==0.2.0 mock==2.0.0 natsort==5.3.0 pytest==3.5.1 rdflib==3.4.0 # pyup: <4.0 requests==2.18.4 simplejson==3.14.0 spidermonkey==58.0a1.post2 <|file_sep|>current/requirements.txt argparse==1.4.0 cssutils==1.0.2 defusedxml==0...
argparse==1.4.0 cssutils==1.0.2 defusedxml==0.5.0 fastchardet==0.2.0 mock==2.0.0 natsort==5.3.0 pytest==3.5.1 rdflib==3.4.0 # pyup: <4.0 requests==2.18.4 simplejson==3.15.0 spidermonkey==58.0a1.post2
<|file_sep|>original/requirements.txt argparse==1.4.0 cssutils==1.0.2 defusedxml==0.5.0 fastchardet==0.2.0 mock==2.0.0 natsort==5.3.0 pytest==3.5.1 rdflib==3.4.0 # pyup: <4.0 requests==2.18.4 simplejson==3.14.0 spidermonkey==58.0a1.post2 <|file_sep|>current/requirements.txt argparse==1.4.0 cssutils==1.0.2 defusedxml==0...
c07d8b930cdccca634900df3cc9759d9aabc289c
requirements.txt
requirements.txt
Text
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: circleci/python:3.6-stretch-node-browsers steps: - checkout - run: name: Install dependencies command: | sudo npm i -g npm@7 npm ci virtualenv venv ...
version: 2 jobs: build: docker: - image: circleci/python:3.6-stretch-node-browsers steps: - checkout - run: name: Install dependencies command: | sudo npm i -g npm@8 npm ci virtualenv venv . venv/bin/activate pip...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: circleci/python:3.6-stretch-node-browsers steps: - checkout - run: name: Install dependencies command: | sudo npm i -g npm@7 npm ci virtualenv venv ...
4eadf4e92215aba44bfe5fdd83bd70ab5eeba53f
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>app/services/ci/retry_pipeline_service.rb.diff original: each_build(pipeline.builds.failed_or_canceled) do |build| updated: pipeline.builds.failed_or_canceled.find_each do |build| <|file_sep|>original/app/services/ci/retry_pipeline_service.rb Ci::RetryBuildService.new(project, current_u...
class RetryPipelineService < ::BaseService def execute(pipeline) unless can?(current_user, :update_pipeline, pipeline) raise Gitlab::Access::AccessDeniedError end pipeline.builds.failed_or_canceled.find_each do |build| next unless build.retryable? Ci::RetryBuildService....
<|file_sep|>app/services/ci/retry_pipeline_service.rb.diff original: each_build(pipeline.builds.failed_or_canceled) do |build| updated: pipeline.builds.failed_or_canceled.find_each do |build| <|file_sep|>original/app/services/ci/retry_pipeline_service.rb Ci::RetryBuildService.new(project, current_u...
b9cc02a68e465f17eb507fd6d1eab7800b382963
app/services/ci/retry_pipeline_service.rb
app/services/ci/retry_pipeline_service.rb
Ruby
<|file_sep|>original/setup.py name="django-minio-storage-py-pa", license="MIT", use_scm_version=True, description="Django file storage using the minio python client", author="Tom Houlé", author_email="tom@kafunsho.be", url="https://github.com/py-pa/django-minio-storage", packages=['minio...
name="django-minio-storage-py-pa", license="MIT", use_scm_version=True, description="Django file storage using the minio python client", author="Tom Houlé", author_email="tom@kafunsho.be", url="https://github.com/py-pa/django-minio-storage", packages=['minio_storage'], setup_requires...
<|file_sep|>original/setup.py name="django-minio-storage-py-pa", license="MIT", use_scm_version=True, description="Django file storage using the minio python client", author="Tom Houlé", author_email="tom@kafunsho.be", url="https://github.com/py-pa/django-minio-storage", packages=['minio...
fd79655ff898b715273512cd8a655b262321444a
setup.py
setup.py
Python
<|file_sep|>original/BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch <|file_sep|>current/BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch <|file_sep|>updated/BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch
From 45cd32b2caf6c3a092a5425b7c7d563f44127fa9 Mon Sep 17 00:00:00 2001 From: Minecrell <dev@minecrell.net> Date: Sun, 24 Sep 2017 12:06:49 +0200 Subject: [PATCH] Add Log4j configuration that replicates the old BungeeCord setup Can be enabled using -Dlog4j.configurationFile=log4j2-bungee.xml. diff --git a/log4j/src/m...
<|file_sep|>original/BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch <|file_sep|>current/BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch <|file_sep|>updated/BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch From 45c...
ab59b59fd9c4e2eac87dce7818075bf7b53e4ea1
BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch
BungeeCord-Patches/0047-Add-Log4j-configuration-that-replicates-the-old-Bung.patch
Diff
<|file_sep|>django_lightweight_queue/utils.py.diff original: updated: from django.db.models import get_apps from django.core.exceptions import MiddlewareNotUsed <|file_sep|>django_lightweight_queue/utils.py.diff original: from django.core.exceptions import MiddlewareNotUsed updated: <|file_sep|>django_lightweight_que...
middleware = [] for path in app_settings.MIDDLEWARE: try: middleware.append(get_path(path)()) except MiddlewareNotUsed: pass return middleware def import_all_submodules(name): for app_module in get_apps(): parts = app_module.__name__.split('.') ...
<|file_sep|>django_lightweight_queue/utils.py.diff original: updated: from django.db.models import get_apps from django.core.exceptions import MiddlewareNotUsed <|file_sep|>django_lightweight_queue/utils.py.diff original: from django.core.exceptions import MiddlewareNotUsed updated: <|file_sep|>django_lightweight_que...
5345cfddc24303a7d27b61865306775f93bb908c
django_lightweight_queue/utils.py
django_lightweight_queue/utils.py
Python
<|file_sep|>README.md.diff original: JSON API and web frontend for the AsieLauncher servers updated: JSON API and web frontend for the AsieLauncher servers. Very much in alpha, things are ineffecient and broken and quite incomplete. <|file_sep|>original/README.md asieserverlist ============== JSON API and web frontend...
asieserverlist ============== JSON API and web frontend for the AsieLauncher servers. Very much in alpha, things are ineffecient and broken and quite incomplete. The MCServerStatus code was cloned from https://github.com/jakimfett/MCServerStatus/, and will be removed later (once the player count code is moved servers...
<|file_sep|>README.md.diff original: JSON API and web frontend for the AsieLauncher servers updated: JSON API and web frontend for the AsieLauncher servers. Very much in alpha, things are ineffecient and broken and quite incomplete. <|file_sep|>original/README.md asieserverlist ============== JSON API and web frontend...
22f6f224f50a37b30e3c9344291579b5f9dbac84
README.md
README.md
Markdown
<|file_sep|>packages/pango.py.diff original: version_major = '1.28', updated: version_major = '1.29', <|file_sep|>packages/pango.py.diff original: 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023' updated: 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023', # CoreText: stricter...
self.sources.extend ([ # patch from bgo#321419 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023', # CoreText: stricter handling of FontSymbolic traits 'http://git.gnome.org/browse/pango/patch/?id=cce4c9f84350bb53371323ab96ccf9245e014f75', # Get _pango_get_lc_ctype from system prefs on Ma...
<|file_sep|>packages/pango.py.diff original: version_major = '1.28', updated: version_major = '1.29', <|file_sep|>packages/pango.py.diff original: 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023' updated: 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023', # CoreText: stricter...
33e17ebd7046e0968db2ee01f9e2759a382b62d9
packages/pango.py
packages/pango.py
Python
<|file_sep|>index.html.diff original: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"></script> updated: <|file_sep...
<hr/> <p> Hey floks, <i> This is <b>Vishal Vijay</b> You can connect with me on <a href="tel:+919995533909">+919995533909</a> and mail me @ <a href="mailto:0vishalvijay0@gmail.com">0vishalvijay0@gmail.com</a> ...
<|file_sep|>index.html.diff original: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"></script> updated: <|file_sep...
f6dfc808fabdfee0eec4032783fcb2eea41bd970
index.html
index.html
HTML
<|file_sep|>original/data/galaxy_tools_playbook/posttreatments_tool_list.yaml tool_shed_url: 'https://testtoolshed.g2.bx.psu.edu/' install_tool_dependencies: True install_repository_dependencies: True #revisions: #- '6a7f5da7c76d' - name: 'graphlan' owner: 'bebatut' tool_panel_section_id: 'data_visualizat...
tool_shed_url: 'https://testtoolshed.g2.bx.psu.edu/' install_tool_dependencies: True install_repository_dependencies: True #revisions: #- '6a7f5da7c76d' - name: 'taxonomy_krona_chart' owner: 'iuc' tool_panel_section_id: 'data_visualization' tool_shed_url: 'https://testtoolshed.g2.bx.psu.edu/' install_...
<|file_sep|>original/data/galaxy_tools_playbook/posttreatments_tool_list.yaml tool_shed_url: 'https://testtoolshed.g2.bx.psu.edu/' install_tool_dependencies: True install_repository_dependencies: True #revisions: #- '6a7f5da7c76d' - name: 'graphlan' owner: 'bebatut' tool_panel_section_id: 'data_visualizat...
6a47d176a9db8b7be657a99522a2b113d5324a6b
data/galaxy_tools_playbook/posttreatments_tool_list.yaml
data/galaxy_tools_playbook/posttreatments_tool_list.yaml
YAML
<|file_sep|>original/docs/_committers/ke-wu.md <|file_sep|>current/docs/_committers/ke-wu.md <|file_sep|>updated/docs/_committers/ke-wu.md
--- name: Ke Wu website: linkedin: https://www.linkedin.com/in/kwu twitter: image: github: kw2542 pmc_member: false job_title: samza_title: order: 120 --- <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for ...
<|file_sep|>original/docs/_committers/ke-wu.md <|file_sep|>current/docs/_committers/ke-wu.md <|file_sep|>updated/docs/_committers/ke-wu.md --- name: Ke Wu website: linkedin: https://www.linkedin.com/in/kwu twitter: image: github: kw2542 pmc_member: false job_title: samza_title: order: 120 --- <!-- Licensed to the ...
0f275cfd6f72691464ef82630b489fc8858bddde
docs/_committers/ke-wu.md
docs/_committers/ke-wu.md
Markdown
<|file_sep|>original/setup.py for line in fid: line = line.decode('utf-8') if line.startswith('__version__'): version = line.strip().split()[-1][1:-1] break setup(name='jupyter_kernel', version=version, description='Jupyter Kernel Tools', long_description=...
for line in fid: line = line.decode('utf-8') if line.startswith('__version__'): version = line.strip().split()[-1][1:-1] break setup(name='jupyter_kernel', version=version, description='Jupyter Kernel Tools', long_description=open('README.rst', 'rb').read(...
<|file_sep|>original/setup.py for line in fid: line = line.decode('utf-8') if line.startswith('__version__'): version = line.strip().split()[-1][1:-1] break setup(name='jupyter_kernel', version=version, description='Jupyter Kernel Tools', long_description=...
4adb9f2f526970ee40ee26c5969fc58db1a6b04e
setup.py
setup.py
Python
<|file_sep|>original/composer.json { "name": "silverstripe/testsession", "type": "silverstripe-module", "description": "Support module for browser-based test sessions, e.g. for Behat behaviour testing", "homepage": "http://silverstripe.org", "license": "BSD-3-Clause", "keywords": ["silverstripe", "testing"], "au...
{ "name": "silverstripe/testsession", "type": "silverstripe-module", "description": "Support module for browser-based test sessions, e.g. for Behat behaviour testing", "homepage": "http://silverstripe.org", "license": "BSD-3-Clause", "keywords": ["silverstripe", "testing"], "authors": [ { "name": "SilverStr...
<|file_sep|>original/composer.json { "name": "silverstripe/testsession", "type": "silverstripe-module", "description": "Support module for browser-based test sessions, e.g. for Behat behaviour testing", "homepage": "http://silverstripe.org", "license": "BSD-3-Clause", "keywords": ["silverstripe", "testing"], "au...
e6606dbbd394f2b5f1514a07170df55e4ec7f8e7
composer.json
composer.json
JSON
<|file_sep|>original/scripts/call_pods.py <|file_sep|>current/scripts/call_pods.py <|file_sep|>updated/scripts/call_pods.py
#!/bin/env python ## Utils script to call a list of pods import subprocess pods = open('/tmp/pods.txt', 'r') for pod in pods: print pod.strip('\n\r') subprocess.call('wget http://pods.jasonrobinson.me/register/'+pod.strip('\n\r')+' -O /dev/null', shell=True)
<|file_sep|>original/scripts/call_pods.py <|file_sep|>current/scripts/call_pods.py <|file_sep|>updated/scripts/call_pods.py #!/bin/env python ## Utils script to call a list of pods import subprocess pods = open('/tmp/pods.txt', 'r') for pod in pods: print pod.strip('\n\r') subprocess.call('wget http://pods....
26e39ca1cdf894bfcecff16344987b6ae7cf638a
scripts/call_pods.py
scripts/call_pods.py
Python
<|file_sep|>original/test/Misc/tbi.swift // RUN: %target-build-swift -target arm64-apple-ios8.0 -target-cpu cyclone \ // RUN: -O -S %s -parse-as-library | \ // RUN: FileCheck --check-prefix=BOTH --check-prefix=TBI %s // RUN: %target-build-swift -target arm64-apple-ios8.0 -target-cpu cyclone ...
// RUN: %target-build-swift -target arm64-apple-ios8.0 -target-cpu cyclone \ // RUN: -O -S %s -parse-as-library | \ // RUN: FileCheck --check-prefix=BOTH --check-prefix=TBI %s // RUN: %target-build-swift -target arm64-apple-ios8.0 -target-cpu cyclone \ // RUN: -target-feature -tbi -O -S ...
<|file_sep|>original/test/Misc/tbi.swift // RUN: %target-build-swift -target arm64-apple-ios8.0 -target-cpu cyclone \ // RUN: -O -S %s -parse-as-library | \ // RUN: FileCheck --check-prefix=BOTH --check-prefix=TBI %s // RUN: %target-build-swift -target arm64-apple-ios8.0 -target-cpu cyclone ...
3ed6ed872e89d86e605e0eb3036a6350294456c1
test/Misc/tbi.swift
test/Misc/tbi.swift
Swift
<|file_sep|>dotGo/2014/z.go.diff original: go func() { for t := range out { t.print() } }() updated: <|file_sep|>original/dotGo/2014/z.go out := make(chan task) go func() { for t := range out { t.print() } }() for i := 0; i < 1000; i++ { wg.Add(1) go func() { for t := range in { t.pr...
wg.Add(1) go func() { for t := range in { t.process() out <- t } wg.Done() }() } go func() { wg.Wait() close(out) }() for t := range out { t.print() } } func main() {
<|file_sep|>dotGo/2014/z.go.diff original: go func() { for t := range out { t.print() } }() updated: <|file_sep|>original/dotGo/2014/z.go out := make(chan task) go func() { for t := range out { t.print() } }() for i := 0; i < 1000; i++ { wg.Add(1) go func() { for t := range in { t.pr...
e515b222c25a00a674141e0d5fab138cdc9dabfa
dotGo/2014/z.go
dotGo/2014/z.go
Go
<|file_sep|>whitepy/lexer.py.diff original: updated: class IntError(ValueError): '''Exception when invalid integer is found''' <|file_sep|>original/whitepy/lexer.py def _get_int(self): token = Tokeniser() if self.line[-1] == '\n': const = 'INT' token.scan(self.line, se...
self.line = line self.pos = 0 self.tokens = [] def _get_int(self): token = Tokeniser() if self.line[-1] == '\n': const = 'INT' token.scan(self.line, self.pos, const) else: raise IntError return token def _get_token(sel...
<|file_sep|>whitepy/lexer.py.diff original: updated: class IntError(ValueError): '''Exception when invalid integer is found''' <|file_sep|>original/whitepy/lexer.py def _get_int(self): token = Tokeniser() if self.line[-1] == '\n': const = 'INT' token.scan(self.line, se...
3234d929d22d7504d89753ce6351d0efe1bfa8ac
whitepy/lexer.py
whitepy/lexer.py
Python
<|file_sep|>original/gamecraft/settings_heroku.py 'CONNECTION_POOL_KWARGS': {'max_connections': 10} } } } SESSION_ENGINE = 'django.contrib.sessions.backends.cache' SESSION_CACHE_ALIAS = 'default' MIDDLEWARE_CLASSES = ( 'django.middleware.cache.UpdateCacheMiddleware', 'django.contrib.s...
} } } SESSION_ENGINE = 'django.contrib.sessions.backends.cache' SESSION_CACHE_ALIAS = 'default' MIDDLEWARE_CLASSES = ( 'django.middleware.cache.UpdateCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.c...
<|file_sep|>original/gamecraft/settings_heroku.py 'CONNECTION_POOL_KWARGS': {'max_connections': 10} } } } SESSION_ENGINE = 'django.contrib.sessions.backends.cache' SESSION_CACHE_ALIAS = 'default' MIDDLEWARE_CLASSES = ( 'django.middleware.cache.UpdateCacheMiddleware', 'django.contrib.s...
0431011632b9852f644f33803cffbd4f7ace0887
gamecraft/settings_heroku.py
gamecraft/settings_heroku.py
Python
<|file_sep|>src/Naderman/Composer/AWS/S3RemoteFilesystem.php.diff original: updated: use Composer\Config; <|file_sep|>src/Naderman/Composer/AWS/S3RemoteFilesystem.php.diff original: public function __construct(IOInterface $io, $options, AwsClient $awsClient) updated: public function __construct(IOInterface $io...
*/ class S3RemoteFilesystem extends RemoteFilesystem { protected $awsClient; /** * {@inheritDoc} */ public function __construct(IOInterface $io, Config $config = null, array $options = array(), AwsClient $awsClient) { parent::__construct($io, $config, $options); $this->awsCli...
<|file_sep|>src/Naderman/Composer/AWS/S3RemoteFilesystem.php.diff original: updated: use Composer\Config; <|file_sep|>src/Naderman/Composer/AWS/S3RemoteFilesystem.php.diff original: public function __construct(IOInterface $io, $options, AwsClient $awsClient) updated: public function __construct(IOInterface $io...
c1e2ca5cbadd696fc3a8ea8e72662f4c293e856c
src/Naderman/Composer/AWS/S3RemoteFilesystem.php
src/Naderman/Composer/AWS/S3RemoteFilesystem.php
PHP
<|file_sep|>corehq/apps/hqwebapp/middleware.py.diff original: updated: import logging <|file_sep|>corehq/apps/hqwebapp/middleware.py.diff original: updated: from django.conf import settings <|file_sep|>corehq/apps/hqwebapp/middleware.py.diff original: from corehq.util.soft_assert import soft_assert from django.conf ...
from django.middleware.csrf import CsrfViewMiddleware, REASON_NO_CSRF_COOKIE, REASON_BAD_TOKEN from django.conf import settings logger = logging.getLogger('') class HQCsrfViewMiddleWare(CsrfViewMiddleware): def _reject(self, request, reason): if settings.CSRF_ALWAYS_OFF and reason in [REASON_NO_CSRF_CO...
<|file_sep|>corehq/apps/hqwebapp/middleware.py.diff original: updated: import logging <|file_sep|>corehq/apps/hqwebapp/middleware.py.diff original: updated: from django.conf import settings <|file_sep|>corehq/apps/hqwebapp/middleware.py.diff original: from corehq.util.soft_assert import soft_assert from django.conf ...
db02cadeb115bf3f7a8dd9be40d8a62d75d3559f
corehq/apps/hqwebapp/middleware.py
corehq/apps/hqwebapp/middleware.py
Python
<|file_sep|>original/test_requirements.txt pytest<6 hypothesis<5.1.3 coverage==5.0.3 attrs==19.3.0 <|file_sep|>current/test_requirements.txt pytest<6 hypothesis<5.1.3 coverage==5.0.3 attrs==19.3.0 <|file_sep|>updated/test_requirements.txt
pytest<6 hypothesis<5.1.6 coverage==5.0.3 attrs==19.3.0
<|file_sep|>original/test_requirements.txt pytest<6 hypothesis<5.1.3 coverage==5.0.3 attrs==19.3.0 <|file_sep|>current/test_requirements.txt pytest<6 hypothesis<5.1.3 coverage==5.0.3 attrs==19.3.0 <|file_sep|>updated/test_requirements.txt pytest<6 hypothesis<5.1.6 coverage==5.0.3 attrs==19.3.0
2d681be8b20804a1c7000752db883ffb001846a0
test_requirements.txt
test_requirements.txt
Text
<|file_sep|>original/docker-dokuwiki/start.sh set -e if ! [ -e /var/dokuwiki-storage/data ]; then mkdir -p /var/www /var/dokuwiki-storage/data fi for dir in data/pages data/meta data/media data/media_attic data/media_meta data/attic conf; do if ! [ -e /var/dokuwiki-storage/$dir ]; then cp -r /var/www/...
if ! [ -e /var/dokuwiki-storage/data ]; then mkdir -p /var/www /var/dokuwiki-storage/data fi for dir in data/pages data/meta data/media data/media_attic data/media_meta data/attic conf; do if ! [ -e /var/dokuwiki-storage/$dir ]; then cp -r /var/www/$dir /var/dokuwiki-storage/$dir fi rm -rf /va...
<|file_sep|>original/docker-dokuwiki/start.sh set -e if ! [ -e /var/dokuwiki-storage/data ]; then mkdir -p /var/www /var/dokuwiki-storage/data fi for dir in data/pages data/meta data/media data/media_attic data/media_meta data/attic conf; do if ! [ -e /var/dokuwiki-storage/$dir ]; then cp -r /var/www/...
ecb87698fa9e4d1bbf2a2701c2fc43b7b9f7dc74
docker-dokuwiki/start.sh
docker-dokuwiki/start.sh
Shell
<|file_sep|>original/frontend/app/templates/components/sighting-table.hbs <dt>Calves</dt> <dd>{{item.no_of_calves}}</dd> </dl> </td> <td> {{item.unusual_observations}} </td> <td> {{item.vsigns}} </td> <td> "Status" </td> ...
<dt>Calves</dt> <dd>{{item.no_of_calves}}</dd> </dl> </td> <td> {{item.unusual_observations}} </td> <td> {{item.vsigns}} </td> <td> {{item.status.state}} </td> <td> <button class="btn btn-default" {{action 'highl...
<|file_sep|>original/frontend/app/templates/components/sighting-table.hbs <dt>Calves</dt> <dd>{{item.no_of_calves}}</dd> </dl> </td> <td> {{item.unusual_observations}} </td> <td> {{item.vsigns}} </td> <td> "Status" </td> ...
a880d5c877e925553a8c3db293b3549ca4f7ff27
frontend/app/templates/components/sighting-table.hbs
frontend/app/templates/components/sighting-table.hbs
Handlebars
<|file_sep|>original/bindings/python/llvm/tests/base.py POSSIBLE_TEST_BINARY_PATHS = [ '/lib', '/usr/lib', '/usr/local/lib', ] class TestBase(unittest.TestCase): def get_test_binary(self): """Helper to obtain a test binary for object file testing. FIXME Support additional, highly-likel...
'/lib', '/usr/lib', '/usr/local/lib', ] class TestBase(unittest.TestCase): def get_test_binary(self): """Helper to obtain a test binary for object file testing. FIXME Support additional, highly-likely targets or create one ourselves. """ for d in POSSIBLE_TEST_B...
<|file_sep|>original/bindings/python/llvm/tests/base.py POSSIBLE_TEST_BINARY_PATHS = [ '/lib', '/usr/lib', '/usr/local/lib', ] class TestBase(unittest.TestCase): def get_test_binary(self): """Helper to obtain a test binary for object file testing. FIXME Support additional, highly-likel...
359595413071ff706b484a875a23a4a7d1508f50
bindings/python/llvm/tests/base.py
bindings/python/llvm/tests/base.py
Python
<|file_sep|>original/circle.yml test: post: - bundle exec rake spec <|file_sep|>current/circle.yml test: post: - bundle exec rake spec <|file_sep|>updated/circle.yml
test: post: - bundle exec rake spec - bundle exec puppet module build - mkdir dist && cp pkg/*.tar.gz dist/ general: artifacts: - "dist"
<|file_sep|>original/circle.yml test: post: - bundle exec rake spec <|file_sep|>current/circle.yml test: post: - bundle exec rake spec <|file_sep|>updated/circle.yml test: post: - bundle exec rake spec - bundle exec puppet module build - mkdir dist && cp pkg/*.tar.gz dist/ general: artifact...
f645482e6d007c1453456a8958ae8c3df6da8e54
circle.yml
circle.yml
YAML
<|file_sep|>original/include/gpu/GrTBackendEffectFactory.h <|file_sep|>current/include/gpu/GrTBackendEffectFactory.h <|file_sep|>updated/include/gpu/GrTBackendEffectFactory.h
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrTBackendEffectFactory_DEFINED #define GrTBackendEffectFactory_DEFINED #include "GrBackendEffectFactory.h" #include "GrEffectStage.h" /** * Implements GrBackendEff...
<|file_sep|>original/include/gpu/GrTBackendEffectFactory.h <|file_sep|>current/include/gpu/GrTBackendEffectFactory.h <|file_sep|>updated/include/gpu/GrTBackendEffectFactory.h /* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */...
56315b979b4a10e3f722f63d6e042e217712c6c0
include/gpu/GrTBackendEffectFactory.h
include/gpu/GrTBackendEffectFactory.h
C
<|file_sep|>original/.github/workflows/cli.yml <|file_sep|>current/.github/workflows/cli.yml <|file_sep|>updated/.github/workflows/cli.yml
name: Build docs and shell completions on: push: paths: - 'cmd/*.go' pull_request: paths: - 'cmd/*.go' jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v1 - name: Install run: | git config --global user.email ...
<|file_sep|>original/.github/workflows/cli.yml <|file_sep|>current/.github/workflows/cli.yml <|file_sep|>updated/.github/workflows/cli.yml name: Build docs and shell completions on: push: paths: - 'cmd/*.go' pull_request: paths: - 'cmd/*.go' jobs: build: runs-on: ubuntu-latest steps:...
44e389c81e84456fad80dd1599649ae8f622fb88
.github/workflows/cli.yml
.github/workflows/cli.yml
YAML
<|file_sep|>src/main/java/hackerrank/JimAndTheOrders.java.diff original: updated: import java.util.Arrays; <|file_sep|>src/main/java/hackerrank/JimAndTheOrders.java.diff original: updated: private static class IdxTime implements Comparable<IdxTime> { private final int idx; private final int time; ...
private static void jimAndTheOrders(IdxTime[] idxTimes) { Arrays.sort(idxTimes); for (int i = 0; i < idxTimes.length; i++) { System.out.print(idxTimes[i].idx + " "); } System.out.println(); } public static void main(String[] args) { Scanner in = new Scan...
<|file_sep|>src/main/java/hackerrank/JimAndTheOrders.java.diff original: updated: import java.util.Arrays; <|file_sep|>src/main/java/hackerrank/JimAndTheOrders.java.diff original: updated: private static class IdxTime implements Comparable<IdxTime> { private final int idx; private final int time; ...
0d57204844a03985b53a63170b62cbcd7e7c8cc0
src/main/java/hackerrank/JimAndTheOrders.java
src/main/java/hackerrank/JimAndTheOrders.java
Java
<|file_sep|>original/nvim/.config/nvim/plugin/environment.vim set number " disable startup message set shortmess+=I " statusline set laststatus=2 " auto reload changed files set autoread " mouse compatibility set mouse=a " x clipboard access set clipboard+=unnamedplus " case-insensitive searching - case-sensitive...
set number " disable startup message set shortmess+=I " statusline set laststatus=2 " auto reload changed files set autoread set checktime " mouse compatibility set mouse=a " x clipboard access set clipboard+=unnamedplus " case-insensitive searching - case-sensitive if uppercase letters are used set ignorecase se...
<|file_sep|>original/nvim/.config/nvim/plugin/environment.vim set number " disable startup message set shortmess+=I " statusline set laststatus=2 " auto reload changed files set autoread " mouse compatibility set mouse=a " x clipboard access set clipboard+=unnamedplus " case-insensitive searching - case-sensitive...
2d08ae87b6a86361379ebc2181e38e4c9aacc8c4
nvim/.config/nvim/plugin/environment.vim
nvim/.config/nvim/plugin/environment.vim
VimL
<|file_sep|>src/sampgdk.c.diff original: updated: #define WIN32_LEAN_AND_MEAN <|file_sep|>original/src/sampgdk.c #include "sampgdk.h" #if SAMPGDK_WINDOWS #undef CreateMenu #undef DestroyMenu #undef GetTickCount #undef KillTimer #undef SelectObject #undef SetTimer #include <windows.h> #endif <|file_sep...
#include "sampgdk.h" #if SAMPGDK_WINDOWS #undef CreateMenu #undef DestroyMenu #undef GetTickCount #undef KillTimer #undef SelectObject #undef SetTimer #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #define _GNU_SOURCE #endif
<|file_sep|>src/sampgdk.c.diff original: updated: #define WIN32_LEAN_AND_MEAN <|file_sep|>original/src/sampgdk.c #include "sampgdk.h" #if SAMPGDK_WINDOWS #undef CreateMenu #undef DestroyMenu #undef GetTickCount #undef KillTimer #undef SelectObject #undef SetTimer #include <windows.h> #endif <|file_sep...
579bb01db2d8b21d3de6223c6305eb94f3fc92f2
src/sampgdk.c
src/sampgdk.c
C
<|file_sep|>original/setup.py setup( name='auth0-python', version=find_version(), description='Auth0 Python SDK', author='Auth0', author_email='support@auth0.com', license='MIT', packages=find_packages(), install_requires=['requests'], extras_require={'test': ['mock']}, classifie...
setup( name='auth0-python', version=find_version(), description='Auth0 Python SDK', author='Auth0', author_email='support@auth0.com', license='MIT', packages=find_packages(), install_requires=['requests'], extras_require={'test': ['mock']}, python_requires='>=2.7, !=3.0.*, !=3.1....
<|file_sep|>original/setup.py setup( name='auth0-python', version=find_version(), description='Auth0 Python SDK', author='Auth0', author_email='support@auth0.com', license='MIT', packages=find_packages(), install_requires=['requests'], extras_require={'test': ['mock']}, classifie...
cc9d23142be989662c8fedd0124fe6f99de360bb
setup.py
setup.py
Python
<|file_sep|>original/interfaces/sw-query.xml <?xml version="1.0" encoding="utf-8"?> <node name="/Query_Iface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">> <interface name="org.moblin.libsocialweb.Query"> <method name="OpenView" tp:name-for-bindings="Open_View"> <arg name="params...
<?xml version="1.0" encoding="utf-8"?> <node name="/Query_Iface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">> <interface name="org.moblin.libsocialweb.Query"> <method name="OpenView" tp:name-for-bindings="Open_View"> <arg name="query" type="s" direction="in"/> <arg name="p...
<|file_sep|>original/interfaces/sw-query.xml <?xml version="1.0" encoding="utf-8"?> <node name="/Query_Iface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">> <interface name="org.moblin.libsocialweb.Query"> <method name="OpenView" tp:name-for-bindings="Open_View"> <arg name="params...
0f8535de57d7212c4db269eeac94cdf387ce24c5
interfaces/sw-query.xml
interfaces/sw-query.xml
XML
<|file_sep|>original/src/components/Sidebar/LatestPost/index.scss @import '../../../styles/colors'; .latest-post { a { color: $light-blue; text-decoration: none; } } <|file_sep|>current/src/components/Sidebar/LatestPost/index.scss @import '../../../styles/colors'; .latest-post { a { color: $light-bl...
@import '../../../styles/colors'; .latest-post { a { color: $light-blue; text-align: left; &:hover { text-decoration: none; } margin: 5px 0; } }
<|file_sep|>original/src/components/Sidebar/LatestPost/index.scss @import '../../../styles/colors'; .latest-post { a { color: $light-blue; text-decoration: none; } } <|file_sep|>current/src/components/Sidebar/LatestPost/index.scss @import '../../../styles/colors'; .latest-post { a { color: $light-bl...
73d93b7f21d31affc1b69407be7cccf45f4c3d67
src/components/Sidebar/LatestPost/index.scss
src/components/Sidebar/LatestPost/index.scss
SCSS
<|file_sep|>original/docs/fr/index.rst * :ref:`user-docs` * :ref:`dev-docs` .. _user-docs: .. toctree:: :maxdepth: 2 :caption: Documentation utilisateur user/installation user/create_account user/login user/configuration user/first_article user/errors_during_fetching user/annotations us...
* :ref:`user-docs` * :ref:`dev-docs` .. _user-docs: .. toctree:: :maxdepth: 2 :caption: Documentation utilisateur user/installation user/migration user/create_account user/login user/configuration user/first_article user/errors_during_fetching user/annotations user/import user/dow...
<|file_sep|>original/docs/fr/index.rst * :ref:`user-docs` * :ref:`dev-docs` .. _user-docs: .. toctree:: :maxdepth: 2 :caption: Documentation utilisateur user/installation user/create_account user/login user/configuration user/first_article user/errors_during_fetching user/annotations us...
52d806ea6b28c389c38d1ceaad0e4dfb20e8e672
docs/fr/index.rst
docs/fr/index.rst
reStructuredText
<|file_sep|>original/src/main/kotlin/cli/Cli.kt import com.serebit.autotitan.VERSION import com.serebit.autotitan.config import com.serebit.autotitan.listeners.EventDelegate import com.serebit.logkat.LogLevel import com.serebit.logkat.Logger import kotlinx.coroutines.runBlocking import net.dv8tion.jda.core.AccountType ...
import com.serebit.autotitan.VERSION import com.serebit.autotitan.config import com.serebit.autotitan.listeners.EventDelegate import com.serebit.logkat.LogLevel import com.serebit.logkat.Logger import kotlinx.coroutines.runBlocking import net.dv8tion.jda.core.AccountType import net.dv8tion.jda.core.JDABuilder import ne...
<|file_sep|>original/src/main/kotlin/cli/Cli.kt import com.serebit.autotitan.VERSION import com.serebit.autotitan.config import com.serebit.autotitan.listeners.EventDelegate import com.serebit.logkat.LogLevel import com.serebit.logkat.Logger import kotlinx.coroutines.runBlocking import net.dv8tion.jda.core.AccountType ...
cbf68e3f973fc5e12e019f00c02a6326c83df448
src/main/kotlin/cli/Cli.kt
src/main/kotlin/cli/Cli.kt
Kotlin
<|file_sep|>original/static/codebook_rnet.csv bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected betwe...
Variable name,Variable Description bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected between-zone flo...
<|file_sep|>original/static/codebook_rnet.csv bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected betwe...
009f16c8ff737c66c000af733071bf0ef0e7afa5
static/codebook_rnet.csv
static/codebook_rnet.csv
CSV
<|file_sep|>original/app/config/config_test.yml framework: test: ~ session: storage_id: session.storage.mock_file router: resource: "%kernel.root_dir%/config/routing_test.yml" strict_requirements: true profiler: collect: false web_profiler: toolbar: false interce...
framework: test: ~ session: storage_id: session.storage.mock_file router: resource: "%kernel.root_dir%/config/routing_test.yml" strict_requirements: true profiler: collect: false liip_functional_test: ~ web_profiler: toolbar: false intercept_redirects: false # ...
<|file_sep|>original/app/config/config_test.yml framework: test: ~ session: storage_id: session.storage.mock_file router: resource: "%kernel.root_dir%/config/routing_test.yml" strict_requirements: true profiler: collect: false web_profiler: toolbar: false interce...
49cb631e28436657ffb0475f0003b834e24c7d53
app/config/config_test.yml
app/config/config_test.yml
YAML
<|file_sep|>app/service/ServiceReferential.js.diff original: var reference = new Reference(); // var References = require('../models/references'); // var references = new References(); updated: var References = require('../models/references'); <|file_sep|>app/service/ServiceReferential.js.diff original: var promiseColl...
new Promise(function(resolve, reject) { reference.save(model.toJSON(), { success: resolve, error: reject }); }).then(function success(argument) { console.log("Success", argument); }, function(error) { console.log("error", error); }); } //Load all the references of the application function loadReferen...
<|file_sep|>app/service/ServiceReferential.js.diff original: var reference = new Reference(); // var References = require('../models/references'); // var references = new References(); updated: var References = require('../models/references'); <|file_sep|>app/service/ServiceReferential.js.diff original: var promiseColl...
dec3f18d5411344e652329ba439589b4c62fbbbd
app/service/ServiceReferential.js
app/service/ServiceReferential.js
JavaScript
<|file_sep|>original/src/main/pig/fhr_missing_appinfo.pig register 'akela-0.5-SNAPSHOT.jar' register 'fhr-toolbox-0.1-SNAPSHOT.jar' register 'jackson-core-2.1.1.jar' register 'jackson-databind-2.1.1.jar' register 'jackson-annotations-2.1.1.jar' SET pig.logfile fhr_missing_appinfo.log; /* SET default_parallel 8; */ SET...
register 'akela-0.5-SNAPSHOT.jar' register 'fhr-toolbox-0.1-SNAPSHOT.jar' register 'jackson-core-2.1.1.jar' register 'jackson-databind-2.1.1.jar' register 'jackson-annotations-2.1.1.jar' SET pig.logfile fhr_missing_appinfo.log; /* SET default_parallel 8; */ SET pig.tmpfilecompression true; SET pig.tmpfilecompression.c...
<|file_sep|>original/src/main/pig/fhr_missing_appinfo.pig register 'akela-0.5-SNAPSHOT.jar' register 'fhr-toolbox-0.1-SNAPSHOT.jar' register 'jackson-core-2.1.1.jar' register 'jackson-databind-2.1.1.jar' register 'jackson-annotations-2.1.1.jar' SET pig.logfile fhr_missing_appinfo.log; /* SET default_parallel 8; */ SET...
f039bfd67c2a727785e7526ee561e1928cb5feef
src/main/pig/fhr_missing_appinfo.pig
src/main/pig/fhr_missing_appinfo.pig
PigLatin
<|file_sep|>original/botocore/data/apigateway/2015-07-09/paginators-1.json <|file_sep|>current/botocore/data/apigateway/2015-07-09/paginators-1.json <|file_sep|>updated/botocore/data/apigateway/2015-07-09/paginators-1.json
{ "pagination": { "GetApiKeys": { "input_token": "position", "output_token": "position", "limit_key": "limit", "result_key": "items" }, "GetBasePathMappings": { "input_token": "position", "output_token": "position", "limit_key": "limit", "result_key": "items...
<|file_sep|>original/botocore/data/apigateway/2015-07-09/paginators-1.json <|file_sep|>current/botocore/data/apigateway/2015-07-09/paginators-1.json <|file_sep|>updated/botocore/data/apigateway/2015-07-09/paginators-1.json { "pagination": { "GetApiKeys": { "input_token": "position", "output_token": ...
bf6ec823917797eecc326bd75f9a37b31f94deda
botocore/data/apigateway/2015-07-09/paginators-1.json
botocore/data/apigateway/2015-07-09/paginators-1.json
JSON
<|file_sep|>original/package.json "homebridge": ">=0.2.0" }, "author": { "name": "lprhodes" }, "repository": { "type": "git", "url": "git@github.com:lprhodes/homebridge-broadlink-rm.git" }, "dependencies": { "broadlinkjs-rm": "^0.2.9", "chai": "^4.1.2", "github-version-checker": ...
"homebridge": ">=0.2.0" }, "author": { "name": "lprhodes" }, "repository": { "type": "git", "url": "git@github.com:lprhodes/homebridge-broadlink-rm.git" }, "dependencies": { "broadlinkjs-rm": "^0.3.0", "chai": "^4.1.2", "github-version-checker": "^1.2.0", "homebridge-platform...
<|file_sep|>original/package.json "homebridge": ">=0.2.0" }, "author": { "name": "lprhodes" }, "repository": { "type": "git", "url": "git@github.com:lprhodes/homebridge-broadlink-rm.git" }, "dependencies": { "broadlinkjs-rm": "^0.2.9", "chai": "^4.1.2", "github-version-checker": ...
07e8fe3cc6314d3e0d6568d68ca0a5bc3b08d323
package.json
package.json
JSON
<|file_sep|>pkgs/applications/graphics/feh/default.nix.diff original: { stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng, giblib updated: { stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng <|file_sep|>pkgs/applications/graphics/feh/default.nix.diff original: name = "feh-2.11"; updated: name = ...
, libXinerama, curl }: stdenv.mkDerivation rec { name = "feh-2.12"; src = fetchurl { url = "http://feh.finalrewind.org/${name}.tar.bz2"; sha256 = "0ckhidmsms2l5jycp0qf71jzmb3bpbhjq3bcgfpvfvszah7pmq30"; }; buildInputs = [makeWrapper x11 imlib2 libjpeg libpng libXinerama curl]; preBuild = '' mak...
<|file_sep|>pkgs/applications/graphics/feh/default.nix.diff original: { stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng, giblib updated: { stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng <|file_sep|>pkgs/applications/graphics/feh/default.nix.diff original: name = "feh-2.11"; updated: name = ...
b40ce8a1f1a2170a53772a26e77044f377fdc06a
pkgs/applications/graphics/feh/default.nix
pkgs/applications/graphics/feh/default.nix
Nix
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake # Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "cab716a0c2de42fb3df1dc7298e65995af1367e4") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_...
# Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "e21bfb96a88d244757aa113ebaf039fa28f3eec5") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake # Maturity level "snapshot" / "release" set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" set(DEPTHAI_DEVICE_SIDE_COMMIT "cab716a0c2de42fb3df1dc7298e65995af1367e4") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_...
77a05648cf0e88736b21368669e022cd5f59e367
cmake/Depthai/DepthaiDeviceSideConfig.cmake
cmake/Depthai/DepthaiDeviceSideConfig.cmake
CMake
<|file_sep|>DependencyInjection/Compiler/AddSecurityConfigurationsPass.php.diff original: $container->getDefinition($id)->addTag(AddConfigurationsPass::TAG_CONFIGURATION); updated: <|file_sep|>original/DependencyInjection/Compiler/AddSecurityConfigurationsPass.php public function process(ContainerBuil...
if (!$container->hasDefinition(self::POOL_ID)) { return; } $configurationIds = $container->findTaggedServiceIds(self::TAG_SECURITY_CONFIGURATION); if (empty($configurationIds)) { return; } $poolDefinition = $container->getDefinition(self::POOL_I...
<|file_sep|>DependencyInjection/Compiler/AddSecurityConfigurationsPass.php.diff original: $container->getDefinition($id)->addTag(AddConfigurationsPass::TAG_CONFIGURATION); updated: <|file_sep|>original/DependencyInjection/Compiler/AddSecurityConfigurationsPass.php public function process(ContainerBuil...
c7e50945710da93384ea59dda649ffc42c2b32e0
DependencyInjection/Compiler/AddSecurityConfigurationsPass.php
DependencyInjection/Compiler/AddSecurityConfigurationsPass.php
PHP
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
`carboxyl` is a library for functional reactive programming in Rust. ## About `carboxyl` provides primitives for functional reactive programming. It is heavily influenced by the [Sodium](https://github.com/SodiumFRP/sodium/) libraries. Functional reactive programming (FRP) is a paradigm that effectively fixes the ...
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md `carboxyl` is a library for functional reactive programming in Rust. ## About `carboxyl` provides primitives for functional reactive programming. It is heavily influenced by the [Sodium](https://github.com/SodiumFRP/sodium/...
2a0f06343942be448b050b8fca1b3d6e23be96ea
README.md
README.md
Markdown
<|file_sep|>requirements.txt.diff original: python-twitter==1.3.1 updated: <|file_sep|>original/requirements.txt Pillow==2.3.0 South==0.8.4 argparse==1.2.1 bootstrap-admin==0.3.0 django-countries==1.5 django-filter==0.7 django-grappelli==2.5.1 -e git://github.com/tomviner/django-redmineauth.git@75b0617fdc3705827ba6b91...
South==0.8.4 argparse==1.2.1 bootstrap-admin==0.3.0 django-countries==1.5 django-filter==0.7 django-grappelli==2.5.1 -e git://github.com/tomviner/django-redmineauth.git@75b0617fdc3705827ba6b918f08d5b890f8d51f4#egg=django_redmineauth-master djangorestframework==2.3.10 httplib2==0.8 ipython==1.1.0 oauth2==1.5.211 oauthli...
<|file_sep|>requirements.txt.diff original: python-twitter==1.3.1 updated: <|file_sep|>original/requirements.txt Pillow==2.3.0 South==0.8.4 argparse==1.2.1 bootstrap-admin==0.3.0 django-countries==1.5 django-filter==0.7 django-grappelli==2.5.1 -e git://github.com/tomviner/django-redmineauth.git@75b0617fdc3705827ba6b91...
d2f8212f0b7366c4113322c7ab167f8034dd8fc7
requirements.txt
requirements.txt
Text
<|file_sep|>mert/TimerTest.cpp.diff original: updated: #include <unistd.h> <|file_sep|>mert/TimerTest.cpp.diff original: updated: const int sleep_time_microsec = 40; // ad-hoc microseconds to pass unit tests. <|file_sep|>mert/TimerTest.cpp.diff original: BOOST_REQUIRE(timer.get_elapsed_cpu_time() > 0.0); BOOST...
const int sleep_time_microsec = 40; // ad-hoc microseconds to pass unit tests. timer.start(); BOOST_REQUIRE(timer.is_running()); BOOST_REQUIRE(usleep(sleep_time_microsec) == 0); BOOST_CHECK(timer.get_elapsed_cpu_time() > 0.0); BOOST_CHECK(timer.get_elapsed_cpu_time_microseconds() > 0); BOOST_CHECK(timer....
<|file_sep|>mert/TimerTest.cpp.diff original: updated: #include <unistd.h> <|file_sep|>mert/TimerTest.cpp.diff original: updated: const int sleep_time_microsec = 40; // ad-hoc microseconds to pass unit tests. <|file_sep|>mert/TimerTest.cpp.diff original: BOOST_REQUIRE(timer.get_elapsed_cpu_time() > 0.0); BOOST...
37a9888a468c8c5f61ef5688ff1534ab35ca79e2
mert/TimerTest.cpp
mert/TimerTest.cpp
C++
<|file_sep|>original/.Package.test.swift import PackageDescription let package = Package( name: "Swinject", dependencies: [ .Package(url: "https://github.com/Quick/Quick", majorVersion: 1), .Package(url: "https://github.com/Quick/Nimble", majorVersion: 5, minor: 1), ] ) <|file_sep|>current/...
import PackageDescription let package = Package( name: "Swinject", dependencies: [ .Package(url: "https://github.com/Quick/Quick", majorVersion: 1), .Package(url: "https://github.com/Quick/Nimble", majorVersion: 7, minor: 1), ] )
<|file_sep|>original/.Package.test.swift import PackageDescription let package = Package( name: "Swinject", dependencies: [ .Package(url: "https://github.com/Quick/Quick", majorVersion: 1), .Package(url: "https://github.com/Quick/Nimble", majorVersion: 5, minor: 1), ] ) <|file_sep|>current/...
7285e69f477c977bed95e24dd9d780406b0b4d48
.Package.test.swift
.Package.test.swift
Swift
<|file_sep|>abusehelper/core/tests/test_utils.py.diff original: updated: import socket <|file_sep|>abusehelper/core/tests/test_utils.py.diff original: updated: import urllib2 <|file_sep|>abusehelper/core/tests/test_utils.py.diff original: updated: import idiokit <|file_sep|>original/abusehelper/core/tests/test_util...
import socket import pickle import urllib2 import unittest import idiokit from .. import utils class TestFetchUrl(unittest.TestCase): def test_should_raise_TypeError_when_passing_in_an_opener(self): sock = socket.socket() try: sock.bind(("localhost", 0)) sock.listen(1) ...
<|file_sep|>abusehelper/core/tests/test_utils.py.diff original: updated: import socket <|file_sep|>abusehelper/core/tests/test_utils.py.diff original: updated: import urllib2 <|file_sep|>abusehelper/core/tests/test_utils.py.diff original: updated: import idiokit <|file_sep|>original/abusehelper/core/tests/test_util...
23456a32038f13c6219b6af5ff9fff7e1daae242
abusehelper/core/tests/test_utils.py
abusehelper/core/tests/test_utils.py
Python
<|file_sep|>original/test/neither.coffee neither = require('./../lib/neither') should = require('should') describe 'neither', -> it 'should accept a boolean and return an object with nor', -> neither(true).should.be.an.instanceOf(neither.Neither) neither(true).nor.should.be.a.Function neither(true).test....
neither = require('./../lib/neither') describe 'neither', -> it 'should accept a boolean and return an object with nor', -> neither(true).should.be.an.instanceOf(neither.Neither) neither(true).nor.should.be.a.Function neither(true).test.should.be.a.Function describe 'nor', -> context 'both are fal...
<|file_sep|>original/test/neither.coffee neither = require('./../lib/neither') should = require('should') describe 'neither', -> it 'should accept a boolean and return an object with nor', -> neither(true).should.be.an.instanceOf(neither.Neither) neither(true).nor.should.be.a.Function neither(true).test....
2c531f130256d777c844af90ac9352acc5ce489f
test/neither.coffee
test/neither.coffee
CoffeeScript
<|file_sep|>original/src/Locale/YamlFileLoader.php { $messages = parent::load($resource, $locale, $domain); foreach ($messages->all($domain) as $id => $translation) { $messages->set($id, $this->getTranslation($messages, $id, $domain)); } return $messages; } pri...
{ $messages = parent::load($resource, $locale, $domain); foreach ($messages->all($domain) as $id => $translation) { $messages->set($id, $this->getTranslation($messages, $id, $domain)); } return $messages; } private function getTranslation(MessageCatalogueInterf...
<|file_sep|>original/src/Locale/YamlFileLoader.php { $messages = parent::load($resource, $locale, $domain); foreach ($messages->all($domain) as $id => $translation) { $messages->set($id, $this->getTranslation($messages, $id, $domain)); } return $messages; } pri...
9836fa64ed30d228e0d33796dc0d4ed956e6fee4
src/Locale/YamlFileLoader.php
src/Locale/YamlFileLoader.php
PHP
<|file_sep|>original/app/views/layouts/_head.html.erb <!--[if lt IE 9]> <%= javascript_include_tag "conditional/html5" %> <![endif]--> <%= render partial: 'layouts/opengraph' %> <%= render partial: 'layouts/twitter_card' %> <title><%= page_title %></title> <%= csrf_meta_tags %> <%= stylesheet_link_...
<!--[if lt IE 9]> <%= javascript_include_tag "conditional/html5" %> <![endif]--> <%= render partial: 'layouts/opengraph' %> <%= render partial: 'layouts/twitter_card' %> <title><%= page_title %></title> <%= csrf_meta_tags %> <%= stylesheet_link_tag "application", :media => "all" %> <link href="/...
<|file_sep|>original/app/views/layouts/_head.html.erb <!--[if lt IE 9]> <%= javascript_include_tag "conditional/html5" %> <![endif]--> <%= render partial: 'layouts/opengraph' %> <%= render partial: 'layouts/twitter_card' %> <title><%= page_title %></title> <%= csrf_meta_tags %> <%= stylesheet_link_...
8dfc2845d7f050cdaea1d67bc6468ad2a71484be
app/views/layouts/_head.html.erb
app/views/layouts/_head.html.erb
HTML+ERB
<|file_sep|>.travis.yml.diff original: - sudo add-apt-repository -y ppa:beineri/opt-qt58-trusty updated: - sudo add-apt-repository -y ppa:beineri/opt-qt592-trusty <|file_sep|>.travis.yml.diff original: - sudo apt-get install -qq cmake qt58base updated: - sudo apt-get install -qq cmake qt592base <|file_sep|>orig...
sudo: required dist: trusty language: c++ compiler: - clang - gcc install: - sudo add-apt-repository -y ppa:beineri/opt-qt592-trusty - sudo apt-get update -qq - sudo apt-get install -qq cmake qt592base before_script: - export PATH=$PATH:/opt/qt592/bin script: - cmake -DBUILD_TESTS=on . - make - c...
<|file_sep|>.travis.yml.diff original: - sudo add-apt-repository -y ppa:beineri/opt-qt58-trusty updated: - sudo add-apt-repository -y ppa:beineri/opt-qt592-trusty <|file_sep|>.travis.yml.diff original: - sudo apt-get install -qq cmake qt58base updated: - sudo apt-get install -qq cmake qt592base <|file_sep|>orig...
c06432caef79a7329bd2f91b3679c622d3f0002a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/ember-cli/ember-cli-test-loader.git" }, "keywords": [ "ember-addon" ], "author": "Robert Jackson <robert.w.jackson@me.c...
}, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/ember-cli/ember-cli-test-loader.git" }, "keywords": [ "ember-addon" ], "author": "Robert Jackson <robert.w.jackson@me.com>", "license": "MIT", "bugs"...
<|file_sep|>original/package.json }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/ember-cli/ember-cli-test-loader.git" }, "keywords": [ "ember-addon" ], "author": "Robert Jackson <robert.w.jackson@me.c...
0b5e1a83cd864fb54d383f6d3fe1936284739ad7
package.json
package.json
JSON
<|file_sep|>original/owned_models/models.py from django.db import models class UserOwnedModelManager(models.Manager): def filter_for_user(self, user, *args, **kwargs): return super(UserOwnedModelManager, self).get_queryset().filter(user = user, *args, **kwargs) def get_for_user(self, user, *args, **...
class UserOwnedModelManager(models.Manager): def filter_for_user(self, user, *args, **kwargs): return super(UserOwnedModelManager, self).get_queryset().filter(user = user, *args, **kwargs) def get_for_user(self, user, *args, **kwargs): if 'user' in kwargs: kwargs.pop('user') ...
<|file_sep|>original/owned_models/models.py from django.db import models class UserOwnedModelManager(models.Manager): def filter_for_user(self, user, *args, **kwargs): return super(UserOwnedModelManager, self).get_queryset().filter(user = user, *args, **kwargs) def get_for_user(self, user, *args, **...
817b597f3a45a8b16de84d480458a66499604f5a
owned_models/models.py
owned_models/models.py
Python
<|file_sep|>original/src/packages/fuzzy-finder/lib/fuzzy-finder.coffee @createView().toggleBufferFinder() rootView.command 'fuzzy-finder:find-under-cursor', => @createView().findUnderCursor() if rootView.project.getPath()? LoadPathsTask = require 'fuzzy-finder/lib/load-paths-task' @load...
@createView().toggleBufferFinder() rootView.command 'fuzzy-finder:find-under-cursor', => @createView().findUnderCursor() if rootView.project.getPath()? LoadPathsTask = require 'fuzzy-finder/lib/load-paths-task' @loadPathsTask = new LoadPathsTask((paths) => @projectPaths = paths) @...
<|file_sep|>original/src/packages/fuzzy-finder/lib/fuzzy-finder.coffee @createView().toggleBufferFinder() rootView.command 'fuzzy-finder:find-under-cursor', => @createView().findUnderCursor() if rootView.project.getPath()? LoadPathsTask = require 'fuzzy-finder/lib/load-paths-task' @load...
06f0988028cbe48eda517619e391a11c5cf72c67
src/packages/fuzzy-finder/lib/fuzzy-finder.coffee
src/packages/fuzzy-finder/lib/fuzzy-finder.coffee
CoffeeScript
<|file_sep|>original/build/resto/container_root/cont-init.d/16-resto-docs.sh <|file_sep|>current/build/resto/container_root/cont-init.d/16-resto-docs.sh <|file_sep|>updated/build/resto/container_root/cont-init.d/16-resto-docs.sh
#!/usr/bin/with-contenv bash # Update OpenAPI documentation to match PUBLIC_ENDPOINT server url sed -i 's|'"http://127.0.0.1:5252"'|'"${PUBLIC_ENDPOINT}"'|g' /docs/resto-api.json sed -i 's|'"http://127.0.0.1:5252"'|'"${PUBLIC_ENDPOINT}"'|g' /docs/resto-api.html
<|file_sep|>original/build/resto/container_root/cont-init.d/16-resto-docs.sh <|file_sep|>current/build/resto/container_root/cont-init.d/16-resto-docs.sh <|file_sep|>updated/build/resto/container_root/cont-init.d/16-resto-docs.sh #!/usr/bin/with-contenv bash # Update OpenAPI documentation to match PUBLIC_ENDPOINT ser...
df16274eaf29afa1764641e1aa7ad912b56a1f47
build/resto/container_root/cont-init.d/16-resto-docs.sh
build/resto/container_root/cont-init.d/16-resto-docs.sh
Shell
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 sudo: false before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - if [ -e ./gradlew ]; then ./gradlew jacocoTestReport;else gradle jacocoTe...
language: java jdk: - openjdk8 sudo: false before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - if [ -e ./gradlew ]; then ./gradlew jacocoTestReport;else gradle jacocoTestReport;fi - bash <(curl -s https...
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 sudo: false before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - if [ -e ./gradlew ]; then ./gradlew jacocoTestReport;else gradle jacocoTe...
77baac23a152a929433af2e6db7a8e097255abf0
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/org.proninyaroslav.libretorrent.txt.diff original: updated: Build:1.2,3 commit=1.2 subdir=app gradle=yes <|file_sep|>original/metadata/org.proninyaroslav.libretorrent.txt Repo:https://github.com/proninyaroslav/libretorrent Build:1.0,1 commit=759eb4e8dd44bbb78e9b43f3450d459ced5ec5...
gradle=yes Build:1.1,2 commit=1.1 subdir=app gradle=yes Build:1.2,3 commit=1.2 subdir=app gradle=yes Maintainer Notes: Push 1.0 to archive due to https://github.com/proninyaroslav/libretorrent/issues/4. . Archive Policy:1 versions Auto Update Mode:Version %v Update Check Mode:Tags Curren...
<|file_sep|>metadata/org.proninyaroslav.libretorrent.txt.diff original: updated: Build:1.2,3 commit=1.2 subdir=app gradle=yes <|file_sep|>original/metadata/org.proninyaroslav.libretorrent.txt Repo:https://github.com/proninyaroslav/libretorrent Build:1.0,1 commit=759eb4e8dd44bbb78e9b43f3450d459ced5ec5...
fe096b2e833199071fde131a578596cea6bd34a7
metadata/org.proninyaroslav.libretorrent.txt
metadata/org.proninyaroslav.libretorrent.txt
Text
<|file_sep|>package.json.diff original: "coffee-script": "*", "commander": "*", "jade": "*", updated: "coffee-script": "^1.9.2", "commander": "^2.8.1", "jade": "^1.9.2", <|file_sep|>original/package.json { "author": "Matt McKellar-Spence", "bin": { "jader": "./bin/jader" }, "dependen...
{ "author": "Matt McKellar-Spence", "bin": { "jader": "./bin/jader" }, "dependencies": { "coffee-script": "^1.9.2", "commander": "^2.8.1", "jade": "^1.9.2", "marked": "^0.3.3", "node-static": "^0.7.6", "stylus": "^0.51.1" }, "description": "Simple tool to compile and serve Jade, ...
<|file_sep|>package.json.diff original: "coffee-script": "*", "commander": "*", "jade": "*", updated: "coffee-script": "^1.9.2", "commander": "^2.8.1", "jade": "^1.9.2", <|file_sep|>original/package.json { "author": "Matt McKellar-Spence", "bin": { "jader": "./bin/jader" }, "dependen...
fe35c9ab149aa49a6f0f9471a447127ece4f6742
package.json
package.json
JSON
<|file_sep|>original/src/org/beanmaker/util/LocalFileManager.java <|file_sep|>current/src/org/beanmaker/util/LocalFileManager.java <|file_sep|>updated/src/org/beanmaker/util/LocalFileManager.java
package org.beanmaker.util; import org.dbbeans.sql.DBTransaction; public interface LocalFileManager { DbBeanFile get(final long id); DbBeanFile getOrCreate(final long id); boolean isIdOK(final long id); boolean isIdOK(final long id, final DBTransaction transaction); String getFilename(final l...
<|file_sep|>original/src/org/beanmaker/util/LocalFileManager.java <|file_sep|>current/src/org/beanmaker/util/LocalFileManager.java <|file_sep|>updated/src/org/beanmaker/util/LocalFileManager.java package org.beanmaker.util; import org.dbbeans.sql.DBTransaction; public interface LocalFileManager { DbBeanFile ge...
d80d6f6da07718d5c86b4ccc37271c21724a6b64
src/org/beanmaker/util/LocalFileManager.java
src/org/beanmaker/util/LocalFileManager.java
Java
<|file_sep|>original/project/plugins.sbt // Comment to get more information during initialization logLevel := Level.Warn // The Typesafe repository resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" // Use the Play sbt plugin for Play projects addSbtPlugin("play" % "sbt-plugin" % "2.1...
// Comment to get more information during initialization logLevel := Level.Warn // The Typesafe repository resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" // Use the Play sbt plugin for Play projects addSbtPlugin("play" % "sbt-plugin" % "2.1.0")
<|file_sep|>original/project/plugins.sbt // Comment to get more information during initialization logLevel := Level.Warn // The Typesafe repository resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" // Use the Play sbt plugin for Play projects addSbtPlugin("play" % "sbt-plugin" % "2.1...
762d399ac1a3c21150f44a94b124fbec5a9ce6f2
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/example-docker-tutum-stack.yml <|file_sep|>current/example-docker-tutum-stack.yml <|file_sep|>updated/example-docker-tutum-stack.yml
# This is the docker-compose.yml for the deployment environment. # Instead of building the image, it's pulled from Docker Hub. # The current directory is not mounted. # Only the assets directory is mounted, and this is only to get round a problem that the asset paths # as served up by the app are not preceded with ENV[...
<|file_sep|>original/example-docker-tutum-stack.yml <|file_sep|>current/example-docker-tutum-stack.yml <|file_sep|>updated/example-docker-tutum-stack.yml # This is the docker-compose.yml for the deployment environment. # Instead of building the image, it's pulled from Docker Hub. # The current directory is not mounte...
0bb38aebc0d6fb7d989e17f901a5d98077972531
example-docker-tutum-stack.yml
example-docker-tutum-stack.yml
YAML
<|file_sep|>original/.travis.yml sudo: required language: bash services: - docker before_install: - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - wget -nc -P "$HOME/cac...
sudo: required language: bash services: - docker before_install: - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - wget -nc -P "$HOME/cache" "http://download.geofabrik.de...
<|file_sep|>original/.travis.yml sudo: required language: bash services: - docker before_install: - curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - wget -nc -P "$HOME/cac...
d0ed786605b54be4b4191a941631fa374194a294
.travis.yml
.travis.yml
YAML
<|file_sep|>original/node_modules/time-uuid/node_modules/microtime-x/lib/microtime.js } else if (isCallable(performance.oNow)) { name = 'oNow'; } else if (isCallable(performance.webkitNow)) { name = 'webkitNow'; } if (name) { round = Math.round; dateNow = Date.now; now = function () { return round((no...
} else if (isCallable(performance.oNow)) { name = 'oNow'; } else if (isCallable(performance.webkitNow)) { name = 'webkitNow'; } if (name) { round = Math.round; dateNow = Date.now; now = function () { return round((dateNow() + performance[name]() % 1) * 1000); }; } } if (!now && (typeof process !==...
<|file_sep|>original/node_modules/time-uuid/node_modules/microtime-x/lib/microtime.js } else if (isCallable(performance.oNow)) { name = 'oNow'; } else if (isCallable(performance.webkitNow)) { name = 'webkitNow'; } if (name) { round = Math.round; dateNow = Date.now; now = function () { return round((no...
cf13d0003b4da44f51686619df68ab126af05e91
node_modules/time-uuid/node_modules/microtime-x/lib/microtime.js
node_modules/time-uuid/node_modules/microtime-x/lib/microtime.js
JavaScript
<|file_sep|>src/renderer/app/components/Menu/styles.ts.diff original: updated: import { EASE_FUNCTION } from '~/constants'; <|file_sep|>src/renderer/app/components/Menu/styles.ts.diff original: updated: will-change: opacity; <|file_sep|>original/src/renderer/app/components/Menu/styles.ts export const Container = s...
position: absolute; top: 56px; right: 0; background-color: #fff; z-index: 9999; border-radius: 4px; transform-origin: top right; -webkit-app-region: no-drag; will-change: opacity; box-sizing: border-box; box-shadow: ${shadows(6)}; ${({ visible }: { visible: boolean }) => css` opacity: ${vis...
<|file_sep|>src/renderer/app/components/Menu/styles.ts.diff original: updated: import { EASE_FUNCTION } from '~/constants'; <|file_sep|>src/renderer/app/components/Menu/styles.ts.diff original: updated: will-change: opacity; <|file_sep|>original/src/renderer/app/components/Menu/styles.ts export const Container = s...
3ea0cdea91f174c9e89cd64d471cd021941197a9
src/renderer/app/components/Menu/styles.ts
src/renderer/app/components/Menu/styles.ts
TypeScript
<|file_sep|>original/src/user/status-mixin.coffee <|file_sep|>current/src/user/status-mixin.coffee <|file_sep|>updated/src/user/status-mixin.coffee
User = require './model' UserStatusMixin = { componentDidMount: -> User.channel.on("change", @onUserChange) componentWillUnmount: -> User.channel.off("change", @onUserChange) onUserChange: -> @forceUpdate() getUser: -> User } module.exports = UserStatusMixin
<|file_sep|>original/src/user/status-mixin.coffee <|file_sep|>current/src/user/status-mixin.coffee <|file_sep|>updated/src/user/status-mixin.coffee User = require './model' UserStatusMixin = { componentDidMount: -> User.channel.on("change", @onUserChange) componentWillUnmount: -> User.channel.off("chang...
26c0eebcc459ff1db571f8b1328233275a99ad97
src/user/status-mixin.coffee
src/user/status-mixin.coffee
CoffeeScript
<|file_sep|>README.md.diff original: updated: ```php <|file_sep|>original/README.md // send a simple message $response = $messenger->send('list'); echo $response; // a,b,c // send a message and parse the command via. a callable $response = $messenger->send('list', function($arg) { return ...
// send a simple message $response = $messenger->send('list'); echo $response; // a,b,c // send a message and parse the command via. a callable $response = $messenger->send('list', function($arg) { return explode(',', $arg); }); echo $response; // ['a', 'b', 'c'] ´´´ Running the te...
<|file_sep|>README.md.diff original: updated: ```php <|file_sep|>original/README.md // send a simple message $response = $messenger->send('list'); echo $response; // a,b,c // send a message and parse the command via. a callable $response = $messenger->send('list', function($arg) { return ...
92db1a8eb5bd89e8df58ebce9ee6afdb9fe9cbc0
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml dist: trusty language: ruby rvm: - 2.4.8 - 2.5.7 - 2.6.5 script: - bundle exec rspec <|file_sep|>current/.travis.yml dist: trusty language: ruby rvm: - 2.4.8 - 2.5.7 - 2.6.5 script: - bundle exec rspec <|file_sep|>updated/.travis.yml
dist: trusty language: ruby rvm: - 2.4.8 - 2.5.7 - 2.6.5 before_install: - gem install -v 1.17.3 bundler script: - bundle exec rspec
<|file_sep|>original/.travis.yml dist: trusty language: ruby rvm: - 2.4.8 - 2.5.7 - 2.6.5 script: - bundle exec rspec <|file_sep|>current/.travis.yml dist: trusty language: ruby rvm: - 2.4.8 - 2.5.7 - 2.6.5 script: - bundle exec rspec <|file_sep|>updated/.travis.yml dist: trusty language: ruby rvm: - ...
7dcf40c8f24ec61354f1ab3ffbf8d85fb702c309
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/deploy.rb set :user, "app" set :use_sudo, false set :scm_auth_cache, true set :mongrel_conf, "/usr/local/etc/mongrel_cluster/#{application}.yml" desc "Show source control status of files on server, in case anyone has edited them directly" task :edits do run "cd #{current_path}; svn stat" ...
load "local/config/deploy.rb" if File.exists?("local/config/deploy.rb") set :repository, "git://github.com/scottwillson/racing_on_rails.git" set :site_local_repository, "git@butlerpress.com:#{application}.git" set :branch, "master" set :scm, "git" set :deploy_to, "/usr/local/www/rails/#{application}" set :user, "app...
<|file_sep|>original/config/deploy.rb set :user, "app" set :use_sudo, false set :scm_auth_cache, true set :mongrel_conf, "/usr/local/etc/mongrel_cluster/#{application}.yml" desc "Show source control status of files on server, in case anyone has edited them directly" task :edits do run "cd #{current_path}; svn stat" ...
05630fac20e0fa2eb7fdc1d12543684b9269d442
config/deploy.rb
config/deploy.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development web_driver script: 'bundle exec rspec --tag ~web_driver:true' env: - TRAVIS_CI=true rvm: - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby bundler_args: --without development web_driver script: 'bundle exec rspec --ta...
language: ruby bundler_args: --without development script: 'bundle exec rspec --tag ~web_driver:true' env: - TRAVIS_CI=true rvm: - 1.9.3 - 2.0.0
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development web_driver script: 'bundle exec rspec --tag ~web_driver:true' env: - TRAVIS_CI=true rvm: - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby bundler_args: --without development web_driver script: 'bundle exec rspec --ta...
76f613d188f29180ba72f5a64f4aaa6a9f3ead2e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/front_end/panels/application/components/stackTraceRow.css display: flex; } .stack-trace-function-name { width: 100px; } .stack-trace-source-location { display: flex; overflow: hidden; } .text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ignore-list...
display: flex; overflow: hidden; } .text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ignore-list-link { opacity: 60%; } .link, .devtools-link { color: var(--color-link); text-decoration: underline; cursor: pointer; padding: 2px 0; /* adjust focus ring size */ }
<|file_sep|>original/front_end/panels/application/components/stackTraceRow.css display: flex; } .stack-trace-function-name { width: 100px; } .stack-trace-source-location { display: flex; overflow: hidden; } .text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ignore-list...
80e47cf285206fb6c6fa101005949b2c6bfd1c14
front_end/panels/application/components/stackTraceRow.css
front_end/panels/application/components/stackTraceRow.css
CSS
<|file_sep|>original/.forestry/front_matter/templates/partial-collection.yml --- hide_body: false is_partial: true fields: - type: text label: Title name: title description: Optional title displayed above the collection items - type: select name: collection config: source: type: simple required:...
--- hide_body: false is_partial: true fields: - type: text label: Section ID name: section_id description: 'The unique section used to reference in #links' config: required: true - type: text label: Title name: title description: Optional title displayed above the collection items - type: select nam...
<|file_sep|>original/.forestry/front_matter/templates/partial-collection.yml --- hide_body: false is_partial: true fields: - type: text label: Title name: title description: Optional title displayed above the collection items - type: select name: collection config: source: type: simple required:...
ea664f308cc4898becdad0759ec59ea88544233a
.forestry/front_matter/templates/partial-collection.yml
.forestry/front_matter/templates/partial-collection.yml
YAML
<|file_sep|>original/app/workers/course_data_update_worker.rb # frozen_string_literal: true require_dependency "#{Rails.root}/app/services/update_course_stats" class CourseDataUpdateWorker THIRTY_DAYS = 60 * 60 * 24 * 30 include Sidekiq::Worker sidekiq_options lock: :until_executed, lock_ttl: T...
require_dependency "#{Rails.root}/app/services/update_course_stats" class CourseDataUpdateWorker THIRTY_DAYS = 60 * 60 * 24 * 30 include Sidekiq::Worker sidekiq_options lock: :until_executed, lock_ttl: THIRTY_DAYS, retry: 0 # Move job to the 'dead' queue if it fails def sel...
<|file_sep|>original/app/workers/course_data_update_worker.rb # frozen_string_literal: true require_dependency "#{Rails.root}/app/services/update_course_stats" class CourseDataUpdateWorker THIRTY_DAYS = 60 * 60 * 24 * 30 include Sidekiq::Worker sidekiq_options lock: :until_executed, lock_ttl: T...
e8bfdf29e14c6ca1dd4769806721e2b6df404de2
app/workers/course_data_update_worker.rb
app/workers/course_data_update_worker.rb
Ruby
<|file_sep|>.travis.yml.diff original: - test updated: <|file_sep|>original/.travis.yml # on_success: change # on_failure: always # whitelist branches: only: - master - development - test # blacklist # except: # - /^.*test.*$/ python: - "2.7" # Django versions to test against env:...
# on_success: change # on_failure: always # whitelist branches: only: - master - development # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: - DJANGO_VERSION=1.8.3 SECRET_KEY='sooper-s3cr3+-k3y' DEBUG='True' before_install:
<|file_sep|>.travis.yml.diff original: - test updated: <|file_sep|>original/.travis.yml # on_success: change # on_failure: always # whitelist branches: only: - master - development - test # blacklist # except: # - /^.*test.*$/ python: - "2.7" # Django versions to test against env:...
1788d010fb28101895f2d4f2befd6250a71a6e21
.travis.yml
.travis.yml
YAML
<|file_sep|>original/php56/constant-scalar-expressions.php <|file_sep|>current/php56/constant-scalar-expressions.php <|file_sep|>updated/php56/constant-scalar-expressions.php
<?php /** * Constant scalar expressions allow you to define constants as the result of * a scalar expression. The expression may involve other constants. * * All arithmetic operators are supported. Many `__MAGIC__` constants are also * supported in expressions. */ const PI = 3.141592653589793238; const PI_2 = P...
<|file_sep|>original/php56/constant-scalar-expressions.php <|file_sep|>current/php56/constant-scalar-expressions.php <|file_sep|>updated/php56/constant-scalar-expressions.php <?php /** * Constant scalar expressions allow you to define constants as the result of * a scalar expression. The expression may involve oth...
6eebeaea1a068c3bedef0d86a0e1105a6895fee6
php56/constant-scalar-expressions.php
php56/constant-scalar-expressions.php
PHP
<|file_sep|>src/Mcfedr/QueueManagerBundle/DependencyInjection/Configuration.php.diff original: updated: ->requiresAtLeastOneElement() ->useAttributeAsKey('name') <|file_sep|>original/src/Mcfedr/QueueManagerBundle/DependencyInjection/Configuration.php ...
->prototype('array') ->children() ->scalarNode('class')->isRequired()->cannotBeEmpty()->end() ->scalarNode('command_class')->end() ->variableNode('options')->end() ->en...
<|file_sep|>src/Mcfedr/QueueManagerBundle/DependencyInjection/Configuration.php.diff original: updated: ->requiresAtLeastOneElement() ->useAttributeAsKey('name') <|file_sep|>original/src/Mcfedr/QueueManagerBundle/DependencyInjection/Configuration.php ...
dbe1d07d605f6562b24c07e4685a059c057f8a8e
src/Mcfedr/QueueManagerBundle/DependencyInjection/Configuration.php
src/Mcfedr/QueueManagerBundle/DependencyInjection/Configuration.php
PHP
<|file_sep|>original/cookbooks/wt_cam/attributes/default.rb # # Author:: Kendrick Martin(<kendrick.martin@webtrends.com>) # Cookbook Name:: wt_cam # Attribute:: default # # Copyright 2012, Webtrends Inc. # default['wt_cam']['app_pool'] = "CAM" default['wt_cam'][['cam']'download_url'] = "" default['wt_cam']['cam_plugin...
# # Author:: Kendrick Martin(<kendrick.martin@webtrends.com>) # Cookbook Name:: wt_cam # Attribute:: default # # Copyright 2012, Webtrends Inc. # default['wt_cam']['app_pool'] = "CAM" default['wt_cam']['download_url'] = "" default['wt_cam']['cam_plugins']['download_url'] = "" default['wt_cam']['db_server'] = "(local)"...
<|file_sep|>original/cookbooks/wt_cam/attributes/default.rb # # Author:: Kendrick Martin(<kendrick.martin@webtrends.com>) # Cookbook Name:: wt_cam # Attribute:: default # # Copyright 2012, Webtrends Inc. # default['wt_cam']['app_pool'] = "CAM" default['wt_cam'][['cam']'download_url'] = "" default['wt_cam']['cam_plugin...
3559cfb4c8822a38a631328dee54f08c0638f12c
cookbooks/wt_cam/attributes/default.rb
cookbooks/wt_cam/attributes/default.rb
Ruby
<|file_sep|>tox.ini.diff original: # NOTE: Order is important here, pycrul must be the last dep listed... updated: # NOTE: Order is important here, pycurl must be the last dep listed... <|file_sep|>original/tox.ini usedevelop=True # NOTE: Order is important here, pycrul must be the last dep listed... deps= py26,py2...
usedevelop=True # NOTE: Order is important here, pycurl must be the last dep listed... deps= py26,py27: -rrequirements2.txt -rrequirements.txt passenv = AGRAPH_* PYCURL_SSL_LIBRARY changedir = events: stress/events commands= test: nosetests franz.miniclient.test franz.openrdf.tests events: python ./...
<|file_sep|>tox.ini.diff original: # NOTE: Order is important here, pycrul must be the last dep listed... updated: # NOTE: Order is important here, pycurl must be the last dep listed... <|file_sep|>original/tox.ini usedevelop=True # NOTE: Order is important here, pycrul must be the last dep listed... deps= py26,py2...
6613bff26bec66ad3b67448c117fa17c7aae8e22
tox.ini
tox.ini
INI
<|file_sep|>original/cookbooks/smith-ups/recipes/default.rb # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apt_repository 'nut-ppa' do uri 'http://ppa.launchpad.net/tjormola/nut-unstab...
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apt_repository 'nut-ppa' do uri 'http://ppa.launchpad.net/tjormola/nut-unstable/ubuntu' components ['main'] keyserver 'keyserver.ubun...
<|file_sep|>original/cookbooks/smith-ups/recipes/default.rb # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apt_repository 'nut-ppa' do uri 'http://ppa.launchpad.net/tjormola/nut-unstab...
b92bb6d02a00646005c5f0be065ca38dbc927f9d
cookbooks/smith-ups/recipes/default.rb
cookbooks/smith-ups/recipes/default.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm script: phpunit <|file_sep|>current/.travis.yml language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm script: phpunit <|file_sep|>updated/.travis.yml
language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm before_script: - composer self-update script: - phpunit
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm script: phpunit <|file_sep|>current/.travis.yml language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm script: phpunit <|file_sep|>updated/.travis.yml language: php php: ...
3361303da6b383f149c077a95bb9b09ca849f6be
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/_sources/mastodon.md <|file_sep|>current/docs/_sources/mastodon.md <|file_sep|>updated/docs/_sources/mastodon.md
--- title: Mastodon --- # Mastodon ## Search syntax * Empty search: public timeline * `search`: search for statuses matching the search (requires login) * `user_id:ID`: get all media for a given user ID _Note: getting an user ID on Mastodon is not trivial. You can do it by opening a status from a given user, then ...
<|file_sep|>original/docs/_sources/mastodon.md <|file_sep|>current/docs/_sources/mastodon.md <|file_sep|>updated/docs/_sources/mastodon.md --- title: Mastodon --- # Mastodon ## Search syntax * Empty search: public timeline * `search`: search for statuses matching the search (requires login) * `user_id:ID`: get al...
8827ed10a714dde51f063f5e1b12efcf73f7a007
docs/_sources/mastodon.md
docs/_sources/mastodon.md
Markdown
<|file_sep|>original/src-frontend/app/models/page.js import DS from 'ember-data'; export default DS.Model.extend({ prev: DS.attr(), next: DS.attr(), elements: DS.hasMany('element') }); <|file_sep|>current/src-frontend/app/models/page.js import DS from 'ember-data'; export default DS.Model.extend({ prev: DS.at...
import DS from 'ember-data'; export default DS.Model.extend({ index: DS.attr(), elements: DS.hasMany('element') });
<|file_sep|>original/src-frontend/app/models/page.js import DS from 'ember-data'; export default DS.Model.extend({ prev: DS.attr(), next: DS.attr(), elements: DS.hasMany('element') }); <|file_sep|>current/src-frontend/app/models/page.js import DS from 'ember-data'; export default DS.Model.extend({ prev: DS.at...
f010ac324951d8d3022a5e067004ca00c1a33142
src-frontend/app/models/page.js
src-frontend/app/models/page.js
JavaScript
<|file_sep|>original/requirements-dev.txt -r requirements.txt pytest==3.2.0 pytest-mock==1.6.2 sphinx==1.6.3 <|file_sep|>current/requirements-dev.txt -r requirements.txt pytest==3.2.0 pytest-mock==1.6.2 sphinx==1.6.3 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt pytest==3.2.1 pytest-mock==1.6.2 sphinx==1.6.3
<|file_sep|>original/requirements-dev.txt -r requirements.txt pytest==3.2.0 pytest-mock==1.6.2 sphinx==1.6.3 <|file_sep|>current/requirements-dev.txt -r requirements.txt pytest==3.2.0 pytest-mock==1.6.2 sphinx==1.6.3 <|file_sep|>updated/requirements-dev.txt -r requirements.txt pytest==3.2.1 pytest-mock==1.6.2 sphinx==1...
114763715d7568fea39beda72d8603964679ba9c
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14...
#!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14.1%2B1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.1...
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14...
6cded5b92871abd2a02ef1c2811efb55c2e13709
ci/images/get-jdk-url.sh
ci/images/get-jdk-url.sh
Shell
<|file_sep|>original/.travis.yml language: go go: - 1.8 env: - "PATH=/home/travis/gopath/bin:$PATH" before_install: - go get github.com/mitchellh/gox - go get github.com/tcnksm/ghr - go get github.com/axw/gocov/gocov - go get code.google.com/p/go.tools/cmd/cover script: - go test -v ./... after_success: ...
language: go go: - 1.8 env: - "PATH=/home/travis/gopath/bin:$PATH" before_install: - go get github.com/mitchellh/gox - go get github.com/tcnksm/ghr script: - go test -v ./... after_success: - gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" - ghr --username dfeyer --token $GITHUB_TOKEN --replace --prerelease...
<|file_sep|>original/.travis.yml language: go go: - 1.8 env: - "PATH=/home/travis/gopath/bin:$PATH" before_install: - go get github.com/mitchellh/gox - go get github.com/tcnksm/ghr - go get github.com/axw/gocov/gocov - go get code.google.com/p/go.tools/cmd/cover script: - go test -v ./... after_success: ...
5915b621149ae850a51475c2acaeb60d3496624c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/templates/includes/featured_slider.jade {% load thumbnail %} .carousel.slide(id='featured-slider') .carousel-inner.featured-slider for featured in featured_contents a(href='{{ featured.content_object.get_absolute_url }}',class='item {% if forloop.first %}active{% endif %}')...
{% load thumbnail %} .carousel.slide(id='featured-slider') .carousel-inner.featured-slider for featured in featured_contents a(href='{{ featured.content_object.get_absolute_url }}',class='item {% if forloop.first %}active{% endif %}') {% thumbnail featured.image "877x280" crop="...
<|file_sep|>original/templates/includes/featured_slider.jade {% load thumbnail %} .carousel.slide(id='featured-slider') .carousel-inner.featured-slider for featured in featured_contents a(href='{{ featured.content_object.get_absolute_url }}',class='item {% if forloop.first %}active{% endif %}')...
3edfd9aa741467439f9ce8a393f9100d955b02c6
templates/includes/featured_slider.jade
templates/includes/featured_slider.jade
Jade
<|file_sep|>original/homebrew/bottles/versioned.txt python python3 ruby rbenv jenv gradle scala sbt scalastyle node go git diff-so-fancy tree vim imagemagick mitmproxy ansible <|file_sep|>current/homebrew/bottles/versioned.txt python python3 ruby rbenv jenv gradle scala sbt scalastyle node go git diff-so-fancy tree vim...
python python3 ruby rbenv jenv gradle scala sbt scalastyle node go git diff-so-fancy tree vim imagemagick mitmproxy ansible ag
<|file_sep|>original/homebrew/bottles/versioned.txt python python3 ruby rbenv jenv gradle scala sbt scalastyle node go git diff-so-fancy tree vim imagemagick mitmproxy ansible <|file_sep|>current/homebrew/bottles/versioned.txt python python3 ruby rbenv jenv gradle scala sbt scalastyle node go git diff-so-fancy tree vim...
26ffc85984b933eb6b052b2bd2319b12c940b997
homebrew/bottles/versioned.txt
homebrew/bottles/versioned.txt
Text
<|file_sep|>original/composer.json }, { "name": "Community contributions", "homepage": "https://github.com/Rollerworks/rollerworks-search-metadata/contributors" } ], "require": { "php": ">=5.4", "rollerworks/search": "^1.0.0-beta7", "roller...
}, { "name": "Community contributions", "homepage": "https://github.com/Rollerworks/rollerworks-search-metadata/contributors" } ], "require": { "php": ">=5.4", "rollerworks/search": "^1.0.0-beta7", "rollerworks/metadata": "^0.4", "d...
<|file_sep|>original/composer.json }, { "name": "Community contributions", "homepage": "https://github.com/Rollerworks/rollerworks-search-metadata/contributors" } ], "require": { "php": ">=5.4", "rollerworks/search": "^1.0.0-beta7", "roller...
44a048e0824e1e1b9464064c1912fde6e02c6aaa
composer.json
composer.json
JSON
<|file_sep|>original/akephalos.gemspec $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) require "akephalos/version" Gem::Specification.new do |s| s.name = "akephalos2" s.version = Akephalos::VERSION s.platform = ENV["PLATFORM"] || "ruby" s.authors = ["Bernerd Sc...
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) require "akephalos/version" Gem::Specification.new do |s| s.name = "akephalos2" s.version = Akephalos::VERSION s.platform = ENV["PLATFORM"] || "ruby" s.authors = ["Bernerd Schaefer"] s.email = "bj.sc...
<|file_sep|>original/akephalos.gemspec $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) require "akephalos/version" Gem::Specification.new do |s| s.name = "akephalos2" s.version = Akephalos::VERSION s.platform = ENV["PLATFORM"] || "ruby" s.authors = ["Bernerd Sc...
d48127fb8f889fa326f0be759ee123aecc22c58d
akephalos.gemspec
akephalos.gemspec
Ruby
<|file_sep|>original/src/Resources/skeleton/module/src/Controller/controller.php.twig <?php namespace Drupal\{{module}}\Controller; use Drupal\Core\Controller\ControllerBase; {% if services is defined and services is not empty %} use Drupal\Core\DependencyInjection\ContainerInjectionInterface; {% include 'skeleton/mo...
{% extends "base/class.php.twig" %} namespace Drupal\{{module}}\Controller; use Drupal\Core\Controller\ControllerBase; {% if services is defined and services is not empty %} use Drupal\Core\DependencyInjection\ContainerInjectionInterface; {% include 'skeleton/module/shared/services-use-operator.php.twig' %} {% endif ...
<|file_sep|>original/src/Resources/skeleton/module/src/Controller/controller.php.twig <?php namespace Drupal\{{module}}\Controller; use Drupal\Core\Controller\ControllerBase; {% if services is defined and services is not empty %} use Drupal\Core\DependencyInjection\ContainerInjectionInterface; {% include 'skeleton/mo...
059eb72f19c4075758979a8985405488703c2838
src/Resources/skeleton/module/src/Controller/controller.php.twig
src/Resources/skeleton/module/src/Controller/controller.php.twig
Twig
<|file_sep|>original/bindings/ios/Private/MEGAHandleList+init.h * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the ...
* and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * @copyright Simplified (2-clause) BSD License. * * Yo...
<|file_sep|>original/bindings/ios/Private/MEGAHandleList+init.h * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the ...
2a1b1a4cc8a1da74d35401adc5713f63ff93f5b6
bindings/ios/Private/MEGAHandleList+init.h
bindings/ios/Private/MEGAHandleList+init.h
C
<|file_sep|>original/liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/addAutoIncrement/asany.sql -- Database: asany -- Change Parameter: columnDataType=int -- Change Parameter: columnName=id -- Change Parameter: tableName=person ALTER TABLE person MODIFY i...
-- Database: asany -- Change Parameter: columnDataType=int -- Change Parameter: columnName=id -- Change Parameter: tableName=person ALTER TABLE person ALTER id SET DEFAULT AUTOINCREMENT;
<|file_sep|>original/liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/addAutoIncrement/asany.sql -- Database: asany -- Change Parameter: columnDataType=int -- Change Parameter: columnName=id -- Change Parameter: tableName=person ALTER TABLE person MODIFY i...
0a3e1f08b1035576aaf361aecc8b4534bc7ea5c3
liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/addAutoIncrement/asany.sql
liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/addAutoIncrement/asany.sql
SQL
<|file_sep|>app/assets/stylesheets/links.css.scss.diff original: updated: h1 { @include single-text-shadow(rgba(black, 0.5), 0.1em, 0.1em, 0.1em); } <|file_sep|>app/assets/stylesheets/links.css.scss.diff original: updated: background-color: orange; <|file_sep|>app/assets/stylesheets/links.css.scss.diff origi...
li:nth-of-type(2) { a { padding: 1px; border: solid 1px darkorange; @include border-radius(2px); background-color: orange; @include background(linear-gradient(top, #f90, #fc6 1em)); font-size: smaller; font-weight: bold; font-family: sans-serif; color: white; ...
<|file_sep|>app/assets/stylesheets/links.css.scss.diff original: updated: h1 { @include single-text-shadow(rgba(black, 0.5), 0.1em, 0.1em, 0.1em); } <|file_sep|>app/assets/stylesheets/links.css.scss.diff original: updated: background-color: orange; <|file_sep|>app/assets/stylesheets/links.css.scss.diff origi...
0a67f264527a7eccf470e1bc2506fb1317464d55
app/assets/stylesheets/links.css.scss
app/assets/stylesheets/links.css.scss
SCSS
<|file_sep|>original/renovate.json { "extends": ["config:base"], "ignorePaths": ["test/"], "labels": ["Type: Dependencies"], "rebaseStalePrs": true, "statusCheckVerify": true } <|file_sep|>current/renovate.json { "extends": ["config:base"], "ignorePaths": ["test/"], "labels": ["Type: Dependencies"], "...
{ "extends": ["config:base"], "ignorePaths": ["test/"], "labels": ["Type: Dependencies"], "rebaseStalePrs": true, "statusCheckVerify": true, "stabilityDays": 1, "vulnerabilityAlerts": { "labels": ["Type: Security"] }, "packageRules": [ { "depTypeList": ["devDependencies"], "extends...
<|file_sep|>original/renovate.json { "extends": ["config:base"], "ignorePaths": ["test/"], "labels": ["Type: Dependencies"], "rebaseStalePrs": true, "statusCheckVerify": true } <|file_sep|>current/renovate.json { "extends": ["config:base"], "ignorePaths": ["test/"], "labels": ["Type: Dependencies"], "...
44d207f5f5ec2b90a273381beae2dc3539870c3d
renovate.json
renovate.json
JSON
<|file_sep|>original/src/server/api/auth.js var body = yield parse.json(this); if (!body.username && !body.password) this.throw(400, 'username and password are required!'); let author = yield getAuthorByUsername(body.username); if(!author) { this.throw(401, 'Unauthorised'); } if(!bcr...
if(!author) { this.throw(401, 'Unauthorised'); } if(!bcrypt.compareSync(body.password, author.password)) { this.throw(401, 'Unauthorised'); } let token = jwt.sign({author: author._id}, process.env.SECRET_KEY, { algorithm: 'HS256'}); if(process.env.NODE_ENV === "production") {...
<|file_sep|>original/src/server/api/auth.js var body = yield parse.json(this); if (!body.username && !body.password) this.throw(400, 'username and password are required!'); let author = yield getAuthorByUsername(body.username); if(!author) { this.throw(401, 'Unauthorised'); } if(!bcr...
57abccb387066c2e4d1ae45719f38eea0ecbd565
src/server/api/auth.js
src/server/api/auth.js
JavaScript
<|file_sep|>package.json.diff original: "bundler": "browserify src/engines/browser.js --s createWebshell -o webshell.js" updated: "bundler": "browserify src/engines/browser.js --s createWebshell -o webshell.js", "bundler-watch": "watchify src/engines/browser.js --s createWebshell -o webshell.js" <|file_sep|...
"linter": "eslint .", "coverage": "istanbul cover _mocha", "pretest": "npm run --silent linter", "bundler": "browserify src/engines/browser.js --s createWebshell -o webshell.js", "bundler-watch": "watchify src/engines/browser.js --s createWebshell -o webshell.js" }, "devDependencies": { "bro...
<|file_sep|>package.json.diff original: "bundler": "browserify src/engines/browser.js --s createWebshell -o webshell.js" updated: "bundler": "browserify src/engines/browser.js --s createWebshell -o webshell.js", "bundler-watch": "watchify src/engines/browser.js --s createWebshell -o webshell.js" <|file_sep|...
a59e3911a9173869697233bd4219dc6f6b9e8293
package.json
package.json
JSON