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/GrinerTest/PolygonClip/insert.cs node *aux=first; while(aux != last && aux->alpha < ins->alpha) aux = aux->next; ins->next = aux; ins->prev = aux->prev; ins->prev->next = ins; ins->next->prev = ins; } #endif void insert(Node ins,Node first,Node last) { Node ...
ins->prev->next = ins; ins->next->prev = ins; } #endif void insert(Node ins,Node first,Node last) { Node aux = first; while (aux != last && aux.alpha < ins.alpha) aux = aux.next; ins.next = aux; ins.prev = aux.prev; /* * Feb 2...
<|file_sep|>original/GrinerTest/PolygonClip/insert.cs node *aux=first; while(aux != last && aux->alpha < ins->alpha) aux = aux->next; ins->next = aux; ins->prev = aux->prev; ins->prev->next = ins; ins->next->prev = ins; } #endif void insert(Node ins,Node first,Node last) { Node ...
11bd8791bf8e60b2c8a2b942eb2b31972828643b
GrinerTest/PolygonClip/insert.cs
GrinerTest/PolygonClip/insert.cs
C#
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.2.17" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= ...
import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.2.18" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= Seq( ws, filters, ...
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.2.17" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= ...
d50a9d11b8636a849f7ac16857a8a3723b313852
build.sbt
build.sbt
Scala
<|file_sep|>src/ApiBundle/Controller/GameController.php.diff original: updated: use Nelmio\ApiDocBundle\Annotation\ApiDoc; <|file_sep|>original/src/ApiBundle/Controller/GameController.php { return $this->process($request, new GameGetListRequest()); } public function getAction(Request $request, $id...
public function getListAction(Request $request) { return $this->process($request, new GameGetListRequest()); } public function getAction(Request $request, $id) { return $this->process($request, new GameGetRequest()); } /** * @ApiDoc( * resource=true, * desc...
<|file_sep|>src/ApiBundle/Controller/GameController.php.diff original: updated: use Nelmio\ApiDocBundle\Annotation\ApiDoc; <|file_sep|>original/src/ApiBundle/Controller/GameController.php { return $this->process($request, new GameGetListRequest()); } public function getAction(Request $request, $id...
fc365aa1463f917dc4bd45c0a3fb6c8d8b7a669d
src/ApiBundle/Controller/GameController.php
src/ApiBundle/Controller/GameController.php
PHP
<|file_sep|>original/appveyor.yml clone_depth: 5 platform: - Win32 configuration: - Release install: - cinst doxygen.install - set QTDIR=C:\Qt\5.6\mingw492_32 - set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin build: verbosity: detailed build_script: - qmake Taranis.pro - mingw32-make test_script: <|file_...
clone_depth: 5 platform: - Win32 configuration: - Release install: - cinst doxygen.install - set QTDIR=C:\Qt\5.6\mingw49_32 - set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin build: verbosity: detailed build_script: - qmake Taranis.pro - mingw32-make test_script:
<|file_sep|>original/appveyor.yml clone_depth: 5 platform: - Win32 configuration: - Release install: - cinst doxygen.install - set QTDIR=C:\Qt\5.6\mingw492_32 - set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin build: verbosity: detailed build_script: - qmake Taranis.pro - mingw32-make test_script: <|file_...
21b6735e1e13b1b6773f085ba50b1e71f6baec04
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/metadata.rb name 'sssd_ldap' maintainer 'Tim Smith' maintainer_email 'tsmith84@gmail.com' license 'Apache 2.0' description 'Installs/Configures LDAP on RHEL/Ubuntu using SSSD' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '...
name 'sssd_ldap' maintainer 'Tim Smith' maintainer_email 'tsmith84@gmail.com' license 'Apache 2.0' description 'Installs/Configures LDAP on RHEL/Ubuntu using SSSD' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '2.0.0' %w( redhat centos amazon ...
<|file_sep|>original/metadata.rb name 'sssd_ldap' maintainer 'Tim Smith' maintainer_email 'tsmith84@gmail.com' license 'Apache 2.0' description 'Installs/Configures LDAP on RHEL/Ubuntu using SSSD' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '...
9a7406059d66526f3b28bbfb08e3450468e53a7e
metadata.rb
metadata.rb
Ruby
<|file_sep|>original/app/Http/Middleware/RedirectIfNotInstalled.php use Illuminate\Support\Facades\Auth; use App\Http\Middleware\RedirectIfInstalled; class RedirectIfNotInstalled extends RedirectIfInstalled { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @pa...
use Illuminate\Support\Facades\Auth; use App\Http\Middleware\RedirectIfInstalled; class RedirectIfNotInstalled extends RedirectIfInstalled { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public functio...
<|file_sep|>original/app/Http/Middleware/RedirectIfNotInstalled.php use Illuminate\Support\Facades\Auth; use App\Http\Middleware\RedirectIfInstalled; class RedirectIfNotInstalled extends RedirectIfInstalled { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @pa...
71f13f932eb56227017c703a231d01d919767d43
app/Http/Middleware/RedirectIfNotInstalled.php
app/Http/Middleware/RedirectIfNotInstalled.php
PHP
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt" script: - nosetests - pyflakes rgkit test - ./build-docs.sh branches: except: - webver notifications: email: false irc: channels: - "chat.freenode.net#robotgame" use...
language: python python: - "2.7" install: - "pip install -r requirements.txt" script: - nosetests - pyflakes rgkit test - ./build-docs.sh branches: except: - webver notifications: email: false irc: channels: - "chat.freenode.net#robotgame" use_notice: true on_success: change on...
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt" script: - nosetests - pyflakes rgkit test - ./build-docs.sh branches: except: - webver notifications: email: false irc: channels: - "chat.freenode.net#robotgame" use...
5ede472eb7e8d336f333a459c876a0e73e29d9b7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0.5;URL=https://black-trooper.github.io/semantic-ui-riot-docs/index.html"> </head> <body> <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0.5;URL=https://semantic-ui-riot.firebaseapp.com"> </head> <body> <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).pus...
<|file_sep|>original/docs/index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0.5;URL=https://black-trooper.github.io/semantic-ui-riot-docs/index.html"> </head> <body> <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r...
f0fd74e5d8a0fe1ca275fe1c34d15388d74ffea8
docs/index.html
docs/index.html
HTML
<|file_sep|>original/README.md OpenGoggles VR Plugin Kit ========================= This is the code and libraries to use when developing OGVR plugins. Copyright 2014 Sensics, Inc. All rights reserved. (Intended to be licensed under the Apache License, Version 2.0) See [the HACKING.md file](HACKING.md) for some deve...
OpenGoggles VR Plugin Kit ========================= This is the code and libraries to use when developing OGVR plugins. Copyright 2014 Sensics, Inc. All rights reserved. (Intended to be licensed under the Apache License, Version 2.0) See [the HACKING.md file](HACKING.md) for some development guidelines. Vendored ...
<|file_sep|>original/README.md OpenGoggles VR Plugin Kit ========================= This is the code and libraries to use when developing OGVR plugins. Copyright 2014 Sensics, Inc. All rights reserved. (Intended to be licensed under the Apache License, Version 2.0) See [the HACKING.md file](HACKING.md) for some deve...
2a1b0fe11e6b1013e7bd2d9fe091a980c8d9e6dc
README.md
README.md
Markdown
<|file_sep|>original/README.md ## Metrics package A package that reports usage information to [Google Analytics][GA]. If you do not want this information reported, disable this package from the _Metrics_ section of the Settings view (`cmd-,`). ### Collected Data * A unique identifier that is generated by computing ...
## Metrics package A package that reports usage information to [Google Analytics][GA]. If you do not want this information reported, disable this package from the _Metrics_ section of the Settings view (`cmd-,`). ### Collected Data * A unique identifier that is generated by computing the [SHA-1][SHA1] of the mach...
<|file_sep|>original/README.md ## Metrics package A package that reports usage information to [Google Analytics][GA]. If you do not want this information reported, disable this package from the _Metrics_ section of the Settings view (`cmd-,`). ### Collected Data * A unique identifier that is generated by computing ...
90dc4800ee9362426c11b912b1d1cd2c2f900136
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: erlang notifications: webhooks: http://basho-engbot.herokuapp.com/travis?key=be744efd0a393f30d77d2e0076c8456be272e209 email: eng@basho.com otp_release: - R16B02 - R15B01 - R15B <|file_sep|>current/.travis.yml language: erlang notifications: webhooks: http://basho-e...
language: erlang notifications: webhooks: http://basho-engbot.herokuapp.com/travis?key=be744efd0a393f30d77d2e0076c8456be272e209 email: eng@basho.com otp_release: - 18.3 - 17.5 - R16B02 - R15B01 - R15B
<|file_sep|>original/.travis.yml language: erlang notifications: webhooks: http://basho-engbot.herokuapp.com/travis?key=be744efd0a393f30d77d2e0076c8456be272e209 email: eng@basho.com otp_release: - R16B02 - R15B01 - R15B <|file_sep|>current/.travis.yml language: erlang notifications: webhooks: http://basho-e...
fa3ef04516946c2d3d52d0726b166ffa133ecd4c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/drivers/scsi/qla4xxx/ql4_version.h /* * QLogic iSCSI HBA Driver * Copyright (c) 2003-2013 QLogic Corporation * * See LICENSE.qla4xxx for copyright and licensing details. */ #define QLA4XXX_DRIVER_VERSION "5.04.00-k5" <|file_sep|>current/drivers/scsi/qla4xxx/ql4_version.h /* * QLogic iSCSI H...
/* * QLogic iSCSI HBA Driver * Copyright (c) 2003-2013 QLogic Corporation * * See LICENSE.qla4xxx for copyright and licensing details. */ #define QLA4XXX_DRIVER_VERSION "5.04.00-k6"
<|file_sep|>original/drivers/scsi/qla4xxx/ql4_version.h /* * QLogic iSCSI HBA Driver * Copyright (c) 2003-2013 QLogic Corporation * * See LICENSE.qla4xxx for copyright and licensing details. */ #define QLA4XXX_DRIVER_VERSION "5.04.00-k5" <|file_sep|>current/drivers/scsi/qla4xxx/ql4_version.h /* * QLogic iSCSI H...
248c9fb0418e071786b2b91992b5fe711d79f021
drivers/scsi/qla4xxx/ql4_version.h
drivers/scsi/qla4xxx/ql4_version.h
C
<|file_sep|>original/lib/index.js if (!Some(payload, (v) => Hoek.contain(v, keys))) { return next(); } const items = Object.keys(payload); const res = {}; const iterator = internals.validate(payload, res); Items.serial(items, iterator, () => { Thurston.validate(res, options, ...
if (!Some(payload, (v) => Hoek.contain(v, keys))) { return next(); } const items = Object.keys(payload); const res = {}; const iterator = internals.validate(payload, res); Items.serial(items, iterator, () => { Thurston.validate(res, options, (err) => { if (err) {...
<|file_sep|>original/lib/index.js if (!Some(payload, (v) => Hoek.contain(v, keys))) { return next(); } const items = Object.keys(payload); const res = {}; const iterator = internals.validate(payload, res); Items.serial(items, iterator, () => { Thurston.validate(res, options, ...
052c44a00c56987cb8e834ce933741fa7d5a6bfb
lib/index.js
lib/index.js
JavaScript
<|file_sep|>original/lib/owners/path.rb attr_reader :file def initialize(file) @file = file end def configs configs = [] file = @file until file.dirname == file file = file.dirname config = file.join(CONFIG) if config.exist? && !config.directory? ...
attr_reader :file def initialize(file) @file = file end def configs configs = [] file = @file until file == file.dirname file = file.dirname config = file.join(CONFIG) if config.exist? && !config.directory? configs << config end ...
<|file_sep|>original/lib/owners/path.rb attr_reader :file def initialize(file) @file = file end def configs configs = [] file = @file until file.dirname == file file = file.dirname config = file.join(CONFIG) if config.exist? && !config.directory? ...
cd0f4cde8c46ea5673e4b55afc3517f52e482343
lib/owners/path.rb
lib/owners/path.rb
Ruby
<|file_sep|>original/groovy/geckofx29-jobs.groovy /* * DSL script for geckofx29 Jenkins jobs */ import utilities.common // Variables def packagename = 'geckofx29'; def subdir_name = packagename; def distros_tobuild = 'precise trusty'; def revision = "\$(echo \${MERCURIAL_REVISION_SHORT} | cut -b 1-6)"; /* * Defini...
/* * DSL script for geckofx29 Jenkins jobs */ import utilities.common // Variables def packagename = 'geckofx29'; def subdir_name = packagename; def distros_tobuild = 'precise trusty utopic'; def revision = "\$(echo \${MERCURIAL_REVISION_SHORT} | cut -b 1-6)"; /* * Definition of jobs */ job { common.defaultP...
<|file_sep|>original/groovy/geckofx29-jobs.groovy /* * DSL script for geckofx29 Jenkins jobs */ import utilities.common // Variables def packagename = 'geckofx29'; def subdir_name = packagename; def distros_tobuild = 'precise trusty'; def revision = "\$(echo \${MERCURIAL_REVISION_SHORT} | cut -b 1-6)"; /* * Defini...
ca87a631306b171e80b9df5b9c5dbf85c6984320
groovy/geckofx29-jobs.groovy
groovy/geckofx29-jobs.groovy
Groovy
<|file_sep|>original/README.rst :alt: Build Status Overview -------- Classes for triangle mesh subdivision. For more information, see the `Insight Journal article <http://hdl.handle.net/10380/3307>`_:: Zhu W. Triangle Mesh Subdivision The Insight Journal. July-December. 2011. http://hdl.handle.net/10...
Classes for triangle mesh subdivision. For more information, see the `Insight Journal article <http://hdl.handle.net/10380/3307>`_:: Zhu W. Triangle Mesh Subdivision The Insight Journal. July-December. 2011. http://hdl.handle.net/10380/3307 http://www.insight-journal.org/browse/publication/831 Installation...
<|file_sep|>original/README.rst :alt: Build Status Overview -------- Classes for triangle mesh subdivision. For more information, see the `Insight Journal article <http://hdl.handle.net/10380/3307>`_:: Zhu W. Triangle Mesh Subdivision The Insight Journal. July-December. 2011. http://hdl.handle.net/10...
a2674c7ae9b44c5236799b36bca7b5d797950179
README.rst
README.rst
reStructuredText
<|file_sep|>original/git/aliases.zsh # http://defunkt.github.com/hub/ hub_path=$(which hub) if (( $+commands[hub] )) then alias git=$hub_path fi # The rest of my fun git aliases alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --...
# http://defunkt.github.com/hub/ hub_path=$(which hub) if (( $+commands[hub] )) then alias git=$hub_path fi # The rest of my fun git aliases alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" # these functions live...
<|file_sep|>original/git/aliases.zsh # http://defunkt.github.com/hub/ hub_path=$(which hub) if (( $+commands[hub] )) then alias git=$hub_path fi # The rest of my fun git aliases alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --...
3f6d6dd8a351a9514801d16a43ae8abece333234
git/aliases.zsh
git/aliases.zsh
Shell
<|file_sep|>original/pub/docs/dev/hoon/runes/sg/sgcn.md Examples -------- ++ aesc :: AES-256 ~% %aesc + ~ |% ++ en :: ECB enc ~/ %en |= [a=@I b=@H] ^- @uxH =+ ahem ...
Examples -------- ++ aesc :: AES-256 ~% %aesc + ~ |% ++ en :: ECB enc ~/ %en |= [a=@I b=@H] ^- @uxH =+ ahem (be & (ex a) b) ++ de ...
<|file_sep|>original/pub/docs/dev/hoon/runes/sg/sgcn.md Examples -------- ++ aesc :: AES-256 ~% %aesc + ~ |% ++ en :: ECB enc ~/ %en |= [a=@I b=@H] ^- @uxH =+ ahem ...
d28ec66176e53892f3567711d912ae5ce6e63bd6
pub/docs/dev/hoon/runes/sg/sgcn.md
pub/docs/dev/hoon/runes/sg/sgcn.md
Markdown
<|file_sep|>original/html_stripper.py <|file_sep|>current/html_stripper.py <|file_sep|>updated/html_stripper.py
from html.parser import HTMLParser class HTMLStripper(HTMLParser): def __init__(self): super().__init__() self.reset() self.strict = False self.convert_charrefs= True self.fed = [] def handle_data(self, d): self.fed.append(d) def get_data(self): retur...
<|file_sep|>original/html_stripper.py <|file_sep|>current/html_stripper.py <|file_sep|>updated/html_stripper.py from html.parser import HTMLParser class HTMLStripper(HTMLParser): def __init__(self): super().__init__() self.reset() self.strict = False self.convert_charrefs= True ...
e54c82c336827c1fc835837006885c245a05e5cb
html_stripper.py
html_stripper.py
Python
<|file_sep|>app/controllers/choices_controller.rb.diff original: updated: @question = Question.find_by(id: params[:question_id]) <|file_sep|>original/app/controllers/choices_controller.rb get '/choices/new' do @choice_numbers = (1..params[:question_choices].to_i).to_a @question = Question.create(params[:question...
get '/choices/new' do @choice_numbers = (1..params[:question_choices].to_i).to_a @question = Question.create(params[:question]) @survey = @question.survey erb :'/choices/new' end post '/choices' do @survey = Survey.find_by(id: params[:survey_id]) @question = Question.find_by(id: params[:question_id]) @ch...
<|file_sep|>app/controllers/choices_controller.rb.diff original: updated: @question = Question.find_by(id: params[:question_id]) <|file_sep|>original/app/controllers/choices_controller.rb get '/choices/new' do @choice_numbers = (1..params[:question_choices].to_i).to_a @question = Question.create(params[:question...
a9c5456f8431e9b2a446cc9e26a2a5c5364041c6
app/controllers/choices_controller.rb
app/controllers/choices_controller.rb
Ruby
<|file_sep|>signac/gui/__init__.py.diff original: except ImportError: warnings.warn("Failed to import PySide. " "gui will not be available.", ImportWarning) updated: import pymongo # noqa except ImportError as error: msg = "{}. The signac gui is not available.".format(error) warnings....
"""Graphical User Interface (GUI) for configuration and database inspection. The GUI is a leight-weight interface which makes the configuration of the signac framework and data inspection more straight-forward.""" import warnings try: import PySide # noqa import pymongo # noqa except ImportError as error: ...
<|file_sep|>signac/gui/__init__.py.diff original: except ImportError: warnings.warn("Failed to import PySide. " "gui will not be available.", ImportWarning) updated: import pymongo # noqa except ImportError as error: msg = "{}. The signac gui is not available.".format(error) warnings....
e275fb1406f0a8e70bb3a9d4a50a82400f7e2c29
signac/gui/__init__.py
signac/gui/__init__.py
Python
<|file_sep|>original/configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java public class SessionsMaintainer extends ConfigServerMaintainer { private final boolean hostedVespa; SessionsMaintainer(ApplicationRepository applicationRepository, Curator curator, Duration interva...
public class SessionsMaintainer extends ConfigServerMaintainer { private final boolean hostedVespa; SessionsMaintainer(ApplicationRepository applicationRepository, Curator curator, Duration interval, FlagSource flagSource) { super(applicationRepository, curator, flagSource, applicationRepository.clock(...
<|file_sep|>original/configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java public class SessionsMaintainer extends ConfigServerMaintainer { private final boolean hostedVespa; SessionsMaintainer(ApplicationRepository applicationRepository, Curator curator, Duration interva...
a9e2f1e1d54b7a7675b2e405d0ace527ae145376
configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java
configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java
Java
<|file_sep|>original/us_ignite/templates/includes/tag_list.html Tagged: {% if tag_list %} {% for tag in tag_list %} <a href="{% url 'search' %}?q={{ tag|urlencode }}" class="listings__listing__tags__tag">{{ tag }}</a>{% if forloop.last %}{% else %},{% endif %} {% endfor%} {% else %} No tags available. {% endif %...
Tagged: {% if tag_list %} {% for tag in tag_list %} <a href="{%if not tag_type %}{% url 'search' %}{% else %}{% url tag_type %}{% endif %}?q={{ tag|urlencode }}" class="listings__listing__tags__tag">{{ tag }}</a>{% if forloop.last %}{% else %},{% endif %} {% endfor%} {% else %} No tags available. {% endif %}
<|file_sep|>original/us_ignite/templates/includes/tag_list.html Tagged: {% if tag_list %} {% for tag in tag_list %} <a href="{% url 'search' %}?q={{ tag|urlencode }}" class="listings__listing__tags__tag">{{ tag }}</a>{% if forloop.last %}{% else %},{% endif %} {% endfor%} {% else %} No tags available. {% endif %...
b37fcaf936855e9d510e0d0fa25e906b64558e65
us_ignite/templates/includes/tag_list.html
us_ignite/templates/includes/tag_list.html
HTML
<|file_sep|>original/locations/spiders/superonefoods.py <|file_sep|>current/locations/spiders/superonefoods.py <|file_sep|>updated/locations/spiders/superonefoods.py
# -*- coding: utf-8 -*- import json import scrapy import re from locations.items import GeojsonPointItem class SuperonefoodsSpider(scrapy.Spider): name = "superonefoods" allowed_domains = ["www.superonefoods.com"] start_urls = ( 'https://www.superonefoods.com/store-finder', ) def parse(self, response): # re...
<|file_sep|>original/locations/spiders/superonefoods.py <|file_sep|>current/locations/spiders/superonefoods.py <|file_sep|>updated/locations/spiders/superonefoods.py # -*- coding: utf-8 -*- import json import scrapy import re from locations.items import GeojsonPointItem class SuperonefoodsSpider(scrapy.Spider): na...
cad64c150479adcd9db07a8d3fb65d81f49b6d1e
locations/spiders/superonefoods.py
locations/spiders/superonefoods.py
Python
<|file_sep|>original/lib/gds_api/publisher.rb def council_for_slug(slug, snac_codes) if json = post_json("#{@endpoint}/local_transactions/#{slug}/verify_snac.json", {'snac_codes' => snac_codes}) json['snac'] else nil end end def licences_for_ids(ids) response = get_json("#{@endpoint}...
def council_for_slug(slug, snac_codes) if json = post_json("#{@endpoint}/local_transactions/#{slug}/verify_snac.json", {'snac_codes' => snac_codes}) json['snac'] else nil end end def licences_for_ids(ids) response = get_json("#{@endpoint}/licences.json?ids=#{ids.map(&:to_s).sort.join...
<|file_sep|>original/lib/gds_api/publisher.rb def council_for_slug(slug, snac_codes) if json = post_json("#{@endpoint}/local_transactions/#{slug}/verify_snac.json", {'snac_codes' => snac_codes}) json['snac'] else nil end end def licences_for_ids(ids) response = get_json("#{@endpoint}...
40dafcc20324b39f4136ad3b30e9a62dda053e3e
lib/gds_api/publisher.rb
lib/gds_api/publisher.rb
Ruby
<|file_sep|>original/roles/bootstrap-os/tasks/bootstrap-centos.yml --- - name: Check presence of fastestmirror.conf stat: path: /etc/yum/pluginconf.d/fastestmirror.conf register: fastestmirror # fastestmirror plugin actually slows down Ansible deployments - name: Disable fastestmirror plugin lineinfile: ...
register: fastestmirror # fastestmirror plugin actually slows down Ansible deployments - name: Disable fastestmirror plugin lineinfile: dest: /etc/yum/pluginconf.d/fastestmirror.conf regexp: "^enabled=.*" line: "enabled=0" state: present when: fastestmirror.stat.exists - name: Install packages r...
<|file_sep|>original/roles/bootstrap-os/tasks/bootstrap-centos.yml --- - name: Check presence of fastestmirror.conf stat: path: /etc/yum/pluginconf.d/fastestmirror.conf register: fastestmirror # fastestmirror plugin actually slows down Ansible deployments - name: Disable fastestmirror plugin lineinfile: ...
041d4d666eb1eace7ffbbfc4419ad21f2f6f6dbf
roles/bootstrap-os/tasks/bootstrap-centos.yml
roles/bootstrap-os/tasks/bootstrap-centos.yml
YAML
<|file_sep|>original/VersionInfo.cs * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * ************************************************...
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * **************************************************************************** */ us...
<|file_sep|>original/VersionInfo.cs * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. * ************************************************...
2ae88ec48b7e28ec3939ed6ba9130df5c84f9bff
VersionInfo.cs
VersionInfo.cs
C#
<|file_sep|>original/capstone/src/main/webapp/dashboard-loader.js function createClassroom() { var auth2 = gapi.auth2.getAuthInstance(); var name = ""; var email = ""; if (auth2.isSignedIn.get()) { var name = auth2.currentUser.get().getBasicProfile().getName(); var email = auth2.currentU...
document.body.prepend(dynamicButton); function createClassroom() { var auth2 = gapi.auth2.getAuthInstance(); var name = ""; var email = ""; if (auth2.isSignedIn.get()) { var name = auth2.currentUser.get().getBasicProfile().getName(); var email = auth2.currentUser.get().getBasicProfile()...
<|file_sep|>original/capstone/src/main/webapp/dashboard-loader.js function createClassroom() { var auth2 = gapi.auth2.getAuthInstance(); var name = ""; var email = ""; if (auth2.isSignedIn.get()) { var name = auth2.currentUser.get().getBasicProfile().getName(); var email = auth2.currentU...
f49f66eed0109b34493b6b8dc189488198a65b16
capstone/src/main/webapp/dashboard-loader.js
capstone/src/main/webapp/dashboard-loader.js
JavaScript
<|file_sep|>original/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorFilename.qml id: fileDialog title: 'Open texture' selectExisting: true selectFolder: false selectMultiple: false onAccepted: { var path = QmlUtils.urlToLocalFile(file...
selectFolder: false selectMultiple: false onAccepted: { var path = QmlUtils.urlToLocalFile(fileUrl); input.text = path; item.properties.setValue(item.path, item.slot, path); } } onStatusChanged: { input.text = status.va...
<|file_sep|>original/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorFilename.qml id: fileDialog title: 'Open texture' selectExisting: true selectFolder: false selectMultiple: false onAccepted: { var path = QmlUtils.urlToLocalFile(file...
3ad23c1e6cfd946679ee981628cccd45e30633f4
data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorFilename.qml
data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorFilename.qml
QML
<|file_sep|>original/docs/router.js path: '/:type/:componentName', component: Component, props: true, }, ], }, ], linkExactActiveClass: 'active', }); router.afterEach((to) => { ga('set', 'page', to.path); ga('send', 'pageview'); if (to.hash) { const el = d...
component: Component, props: true, }, ], }, ], linkExactActiveClass: 'active', }); router.afterEach((to) => { if (typeof ga === 'function') { ga('set', 'page', to.path); ga('send', 'pageview'); } if (to.hash) { const el = document.getElementById(to.hash.subs...
<|file_sep|>original/docs/router.js path: '/:type/:componentName', component: Component, props: true, }, ], }, ], linkExactActiveClass: 'active', }); router.afterEach((to) => { ga('set', 'page', to.path); ga('send', 'pageview'); if (to.hash) { const el = d...
e85e82ec6730a5a7b3729d3aa828e9e53f8a976c
docs/router.js
docs/router.js
JavaScript
<|file_sep|>original/index.js var fs = require("fs"), path = require("path"); module.exports = new Function("d3", fs.readFileSync(path.join(__dirname, "d3.geo.projection.js"), "utf-8")); <|file_sep|>current/index.js var fs = require("fs"), path = require("path"); module.exports = new Function("d3", fs.readFil...
var fs = require("fs"); var path = require("path"); module.exports = new Function("d3", fs.readFileSync(path.join(__dirname, "d3.geo.projection.js"), "utf-8"));
<|file_sep|>original/index.js var fs = require("fs"), path = require("path"); module.exports = new Function("d3", fs.readFileSync(path.join(__dirname, "d3.geo.projection.js"), "utf-8")); <|file_sep|>current/index.js var fs = require("fs"), path = require("path"); module.exports = new Function("d3", fs.readFil...
f64450a6695876089791a4965f6541f64504fdd3
index.js
index.js
JavaScript
<|file_sep|>original/src/NodaTime.Testing/project.json }, "dependencies": { "NodaTime": { "target": "project" } }, "frameworks": { "net45": { "frameworkAssemblies": { } }, "netstandard1.1": { "buildOptions": { "define": [ "PCL" ] }, "dependencies": { ...
"optimize": true } } }, "dependencies": { "NodaTime": { "target": "project" } }, "frameworks": { "net45": { "frameworkAssemblies": { } }, "netstandard1.1": { "buildOptions": { "define": [ "PCL" ] } } } }
<|file_sep|>original/src/NodaTime.Testing/project.json }, "dependencies": { "NodaTime": { "target": "project" } }, "frameworks": { "net45": { "frameworkAssemblies": { } }, "netstandard1.1": { "buildOptions": { "define": [ "PCL" ] }, "dependencies": { ...
04d76b7351c9736644f7101779d082472de002d2
src/NodaTime.Testing/project.json
src/NodaTime.Testing/project.json
JSON
<|file_sep|>original/private-keynote-r800.xml <|file_sep|>current/private-keynote-r800.xml <|file_sep|>updated/private-keynote-r800.xml
<?xml version="1.0"?> <!-- Use with KeyRemap4MacBook: http://pqrs.org/macosx/keyremap4macbook/index.html.en --> <root> <devicevendordef> <vendorname>LOGITECH</vendorname> <vendorid>0x046d</vendorid> </devicevendordef> <deviceproductdef> <productname>LOGITECH_R800</productname> ...
<|file_sep|>original/private-keynote-r800.xml <|file_sep|>current/private-keynote-r800.xml <|file_sep|>updated/private-keynote-r800.xml <?xml version="1.0"?> <!-- Use with KeyRemap4MacBook: http://pqrs.org/macosx/keyremap4macbook/index.html.en --> <root> <devicevendordef> <vendorname>LOGITECH</vendor...
ea6499bd95e677e607b525fcb485a28ddb88763a
private-keynote-r800.xml
private-keynote-r800.xml
XML
<|file_sep|>ClrSpy.UnitTests/Native/PointerUtilsTests.cs.diff original: updated: using System.Collections.Generic; <|file_sep|>ClrSpy.UnitTests/Native/PointerUtilsTests.cs.diff original: [TestCase(0x07fffffffL, Int32.MaxValue)] [TestCase(0x080000000L, Int32.MinValue)] [TestCase(0x000000001L, 1)...
using ClrSpy.Native; using NUnit.Framework; namespace ClrSpy.UnitTests.Native { [TestFixture] public class PointerUtilsTests { public static IEnumerable<LongToIntPtrCase> LongToIntPtrCases { get { yield return new LongToIntPtrCase { LongValue = 0x07ff...
<|file_sep|>ClrSpy.UnitTests/Native/PointerUtilsTests.cs.diff original: updated: using System.Collections.Generic; <|file_sep|>ClrSpy.UnitTests/Native/PointerUtilsTests.cs.diff original: [TestCase(0x07fffffffL, Int32.MaxValue)] [TestCase(0x080000000L, Int32.MinValue)] [TestCase(0x000000001L, 1)...
2ecd474c8048687c061dc5b6065d099106187595
ClrSpy.UnitTests/Native/PointerUtilsTests.cs
ClrSpy.UnitTests/Native/PointerUtilsTests.cs
C#
<|file_sep|>original/README.md # Pizza Where is the best pizza in a given city? This is a community project. Pull requests accepted and I will totally make you a collaborator if you ask. ## Hoboken, NJ * [Mario's Classic Pizza](http://mariosclassicpizza.com/) ## Brooklyn, NY * [Not Ray's Pizza](http://www.notraysp...
# Pizza Where is the best pizza in a given city? This is a community project. Pull requests accepted and I will totally make you a collaborator if you ask. ## Hoboken, NJ * [Mario's Classic Pizza](http://mariosclassicpizza.com/) ## Brooklyn, NY * [Not Ray's Pizza](http://www.notrayspizza.com/) ## Woodbridge, NJ ...
<|file_sep|>original/README.md # Pizza Where is the best pizza in a given city? This is a community project. Pull requests accepted and I will totally make you a collaborator if you ask. ## Hoboken, NJ * [Mario's Classic Pizza](http://mariosclassicpizza.com/) ## Brooklyn, NY * [Not Ray's Pizza](http://www.notraysp...
ba9263edd7cf233acf101ddbaa6addfc67d49854
README.md
README.md
Markdown
<|file_sep|>src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs.diff original: updated: using Xunit; <|file_sep|>original/src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs using System; using Quartz.Simpl; using Quartz.Spi; namespace Quartz.DynamoDB.Tests { public cl...
IJobStore _sut; public TriggerGroupGetTests() { _sut = new JobStore(); var signaler = new Quartz.DynamoDB.Tests.Integration.RamJobStoreTests.SampleSignaler(); var loadHelper = new SimpleTypeLoadHelper(); _sut.Initialize(loadHelper, signaler); ...
<|file_sep|>src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs.diff original: updated: using Xunit; <|file_sep|>original/src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs using System; using Quartz.Simpl; using Quartz.Spi; namespace Quartz.DynamoDB.Tests { public cl...
ff1b1549eb83df817e3b068018cb94f0ceecf3ba
src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs
src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs
C#
<|file_sep|>original/doc/source/changes/3.11.rst v3.11 ===== qibuild ------- * Fix using ``qibuild make-host-tools`` when no project is specified * Implement ``qibuild make-host-tools --all`` * ``qibuild configure``: fix setting flags containing ``=``, such as ``qibuild configure -DCMAKE_CXX_FLAGS="-std=gnu++11"`` ...
===== qibuild ------- * Fix using ``qibuild make-host-tools`` when no project is specified * Implement ``qibuild make-host-tools --all`` * ``qibuild configure``: fix setting flags containing ``=``, such as ``qibuild configure -DCMAKE_CXX_FLAGS="-std=gnu++11"`` qitest ------ * Fix test names generated by ``qitest ...
<|file_sep|>original/doc/source/changes/3.11.rst v3.11 ===== qibuild ------- * Fix using ``qibuild make-host-tools`` when no project is specified * Implement ``qibuild make-host-tools --all`` * ``qibuild configure``: fix setting flags containing ``=``, such as ``qibuild configure -DCMAKE_CXX_FLAGS="-std=gnu++11"`` ...
266040400c7954a96127fe9f34bb3677ecf3ed1c
doc/source/changes/3.11.rst
doc/source/changes/3.11.rst
reStructuredText
<|file_sep|>original/CHANGELOG.md # Datatrans Changelog All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ## 4.0.0 - 2022-02-25 ### Changed * [BREAKING CHANGE] Bump minimum required Ruby version to 2.6 and Rails to ...
# Datatrans Changelog All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ## 4.0.0 - 2022-02-25 ### Changed * [BREAKING CHANGE] Bump minimum required Ruby version to 2.6 and Rails to 5.2 (@andyundso [#34](https://gith...
<|file_sep|>original/CHANGELOG.md # Datatrans Changelog All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ## 4.0.0 - 2022-02-25 ### Changed * [BREAKING CHANGE] Bump minimum required Ruby version to 2.6 and Rails to ...
e8f6d47fb42787b7aceb51fa3a955bb8ad8e877e
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>src/test/scala/com/programmaticallyspeaking/ncd/e2e/java9/RealRuntimeTest.scala.diff original: "doesn't translate a non-template literal related quite error" in { updated: "doesn't translate a non-template literal related quote error" in { <|file_sep|>original/src/test/scala/com/programmatically...
} "Runtime (Java 9)" - { "compileScript" - { "reports a _translated_ error if the script is an incomplete template literal (with persist=false)" in { compileWithError("`foo") { r => val Some(desc) = r.exceptionDetails.flatMap(_.exception).flatMap(_.description) desc should st...
<|file_sep|>src/test/scala/com/programmaticallyspeaking/ncd/e2e/java9/RealRuntimeTest.scala.diff original: "doesn't translate a non-template literal related quite error" in { updated: "doesn't translate a non-template literal related quote error" in { <|file_sep|>original/src/test/scala/com/programmatically...
047387465883ad6d8c3f89f3724298884145b28c
src/test/scala/com/programmaticallyspeaking/ncd/e2e/java9/RealRuntimeTest.scala
src/test/scala/com/programmaticallyspeaking/ncd/e2e/java9/RealRuntimeTest.scala
Scala
<|file_sep|>original/app.css & { position: relative; } h4 { font-size: 12px; } header { .action_button { float: right; margin-right: 60px; line-height: 30px; span { display: none; } &:hover span { display: inline; } <|file_sep|>current/app.css & { position: relative; ...
& { position: relative; } h4 { font-size: 12px; margin-right: 60px; } header { .action_button { float: right; margin-right: 60px; line-height: 30px; span { display: none; } &:hover span { display: inline;
<|file_sep|>original/app.css & { position: relative; } h4 { font-size: 12px; } header { .action_button { float: right; margin-right: 60px; line-height: 30px; span { display: none; } &:hover span { display: inline; } <|file_sep|>current/app.css & { position: relative; ...
2ef070ce6d2db02b8077760b8667593b1d0645d3
app.css
app.css
CSS
<|file_sep|>components/captcha.ts.diff original: /*Captcha functionality component*/ updated: <|file_sep|>components/captcha.ts.diff original: site_key:string = null; updated: site_key: string = null; /* Available languages: https://developers.google.com/recaptcha/docs/language */ @Input() language...
captchaResponse: EventEmitter<string>; constructor(private _zone: NgZone) { window['verifyCallback'] = (response: any) => this._zone.run(this.recaptchaCallback.bind(this, response)); this.captchaResponse = new EventEmitter<string>(); } recaptchaCallback(response) { this.captcha...
<|file_sep|>components/captcha.ts.diff original: /*Captcha functionality component*/ updated: <|file_sep|>components/captcha.ts.diff original: site_key:string = null; updated: site_key: string = null; /* Available languages: https://developers.google.com/recaptcha/docs/language */ @Input() language...
12e888b4668a250e00f9a30ed8d5856d0f76c66b
components/captcha.ts
components/captcha.ts
TypeScript
<|file_sep|>_posts/2016-01-26-free-ssl-certificates.markdown.diff original: I got an e-mail today from [Amazon](amazon) informing me that they have released the [AWS Certificate Manager](aws-cert-manager) updated: I got an e-mail today from [Amazon][amazon] informing me that they have released the [AWS Certificate Mana...
title: "Free SSL Certificates" date: 2016-01-26 08:08:42 -0300 categories: certificates ssl privacy --- I got an e-mail today from [Amazon][amazon] informing me that they have released the [AWS Certificate Manager][aws-cert-manager] and that they would make it easy to get certificates added to your AWS resources. An...
<|file_sep|>_posts/2016-01-26-free-ssl-certificates.markdown.diff original: I got an e-mail today from [Amazon](amazon) informing me that they have released the [AWS Certificate Manager](aws-cert-manager) updated: I got an e-mail today from [Amazon][amazon] informing me that they have released the [AWS Certificate Mana...
12aa6f6d5fd6ac4d3bf5372caae78360795b848c
_posts/2016-01-26-free-ssl-certificates.markdown
_posts/2016-01-26-free-ssl-certificates.markdown
Markdown
<|file_sep|>tests/FootlessParserTests/Parser_Tests.swift.diff original: updated: func testSingleTokenParser () { let input = ParserInput([1]) let parser = token(1) let result = parser.parse(input) let (output, nextinput) = result.value! XCTAssertEqual(output, 1) XCTAssert( nextinput.next() == nil, "Inpu...
if let (output, nextinput) = result.value { input = nextinput XCTAssertEqual(output, character) } else { XCTFail("Parser failed with error message: " + result.error!) return } } XCTAssert( input.next() == nil, "Input should be empty" ) } func testFailingParserReturnsError () { let inpu...
<|file_sep|>tests/FootlessParserTests/Parser_Tests.swift.diff original: updated: func testSingleTokenParser () { let input = ParserInput([1]) let parser = token(1) let result = parser.parse(input) let (output, nextinput) = result.value! XCTAssertEqual(output, 1) XCTAssert( nextinput.next() == nil, "Inpu...
e1a1f7c0deb35efd952af7878703fd6615dd7ea3
tests/FootlessParserTests/Parser_Tests.swift
tests/FootlessParserTests/Parser_Tests.swift
Swift
<|file_sep|>original/.travis.yml language: java jdk: - openjdk6 - openjdk7 - oraclejdk6 - oraclejdk7 before_install: - git submodule update --init --recursive install: mvn install -DskipTests=true -Dgpg.skip=true after_script: mvn cobertura:cobertura coveralls:cobertura notifications: email: recipi...
language: java jdk: - openjdk6 - openjdk7 - oraclejdk6 - oraclejdk7 install: mvn install -DskipTests=true -Dgpg.skip=true after_script: mvn cobertura:cobertura coveralls:cobertura notifications: email: recipients: - dev@maxmind.com on_success: change on_failure: always
<|file_sep|>original/.travis.yml language: java jdk: - openjdk6 - openjdk7 - oraclejdk6 - oraclejdk7 before_install: - git submodule update --init --recursive install: mvn install -DskipTests=true -Dgpg.skip=true after_script: mvn cobertura:cobertura coveralls:cobertura notifications: email: recipi...
1c7091eedf45d05db3d58cb5c8d6685787bb4894
.travis.yml
.travis.yml
YAML
<|file_sep|>original/api/controllers/GCMController.js /** * GCMKey provider * * @description :: Server-side logic for managing users * @help :: See http://links.sailsjs.org/docs/controllers */ module.exports = { key: function key(req, res) { sails.log("Google Project Number: " + sails.config.push.gcm.pro...
/** * GCMKey provider * * @description :: Server-side logic for managing users * @help :: See http://links.sailsjs.org/docs/controllers */ module.exports = { key: function key(req, res) { sails.log("Google Project Number: " + sails.config.gcm.projectNumber); res.json(sails.config.gcm.projectNumber); } ...
<|file_sep|>original/api/controllers/GCMController.js /** * GCMKey provider * * @description :: Server-side logic for managing users * @help :: See http://links.sailsjs.org/docs/controllers */ module.exports = { key: function key(req, res) { sails.log("Google Project Number: " + sails.config.push.gcm.pro...
e1b5de724f301ae61ef656dbeab783bc2cdf2d54
api/controllers/GCMController.js
api/controllers/GCMController.js
JavaScript
<|file_sep|>original/Fibonacci/Swift/Fibonacci.swift <|file_sep|>current/Fibonacci/Swift/Fibonacci.swift <|file_sep|>updated/Fibonacci/Swift/Fibonacci.swift
//Recursive algorithm func fibonacci(_ n: Int) -> Int { guard n != 0, n != 1 else { return n } return fibonacci(n - 1) + fibonacci(n - 2) }
<|file_sep|>original/Fibonacci/Swift/Fibonacci.swift <|file_sep|>current/Fibonacci/Swift/Fibonacci.swift <|file_sep|>updated/Fibonacci/Swift/Fibonacci.swift //Recursive algorithm func fibonacci(_ n: Int) -> Int { guard n != 0, n != 1 else { return n } return fibonacci(n - 1) + fibonacci(n - 2) }
8963d2612ed84786c4160a9eb458afb6d305869b
Fibonacci/Swift/Fibonacci.swift
Fibonacci/Swift/Fibonacci.swift
Swift
<|file_sep|>original/src/discordcr/client.cr else puts "Unsupported message: #{message}" end nil end private def handle_hello(heartbeat_interval) spawn do loop do puts "Sending heartbeat" @websocket.not_nil!.send({op: 1, d: 0}.to_json) slee...
private def handle_hello(heartbeat_interval) spawn do loop do puts "Sending heartbeat" @websocket.not_nil!.send({op: 1, d: 0}.to_json) sleep heartbeat_interval.as_i.milliseconds end end end private def handle_dispatch(type, data) case type ...
<|file_sep|>original/src/discordcr/client.cr else puts "Unsupported message: #{message}" end nil end private def handle_hello(heartbeat_interval) spawn do loop do puts "Sending heartbeat" @websocket.not_nil!.send({op: 1, d: 0}.to_json) slee...
3ab631c359dfd06bd7be80e189eeb624fcef66c6
src/discordcr/client.cr
src/discordcr/client.cr
Crystal
<|file_sep|>libjc/arch/i386/i386_definitions.h.diff original: updated: /* Fixes for Cygwin */ <|file_sep|>original/libjc/arch/i386/i386_definitions.h #ifndef _ARCH_I386_DEFINITIONS_H_ #define _ARCH_I386_DEFINITIONS_H_ #if !defined(__i386__) #error "This include file is for the i386 architecture only" #endif #define...
#if !defined(__i386__) #error "This include file is for the i386 architecture only" #endif #define _JC_PAGE_SHIFT 12 /* 4096 byte pages */ #define _JC_STACK_ALIGN 2 #define _JC_BIG_ENDIAN 0 /* Fixes for Cygwin */ #ifdef __CYGWIN__ #undef _JC_LIBRARY_FMT #define _JC_LIBRARY_FMT "cyg%s.dll" #define sched_get_pr...
<|file_sep|>libjc/arch/i386/i386_definitions.h.diff original: updated: /* Fixes for Cygwin */ <|file_sep|>original/libjc/arch/i386/i386_definitions.h #ifndef _ARCH_I386_DEFINITIONS_H_ #define _ARCH_I386_DEFINITIONS_H_ #if !defined(__i386__) #error "This include file is for the i386 architecture only" #endif #define...
b2192eb67960c6943b266a0456b672ee93483952
libjc/arch/i386/i386_definitions.h
libjc/arch/i386/i386_definitions.h
C
<|file_sep|>original/TimeFilter.js * an hours:minutes:seconds format. * * e.g. * {{60000 | millisecondsToTime}} // 01:00 * {{3600000 | millisecondsToTime}} // 01:00:00 */ app.filter("millisecondsToTime", MillisecondsToTime); function MillisecondsToTime(){ return function(time){ if(time ...
* an hours:minutes:seconds format. * * e.g. * {{60000 | millisecondsToTime}} // 01:00 * {{3600000 | millisecondsToTime}} // 01:00:00 */ app.filter("millisecondsToTime", MillisecondsToTime); function MillisecondsToTime(){ return function(time){ if(time < 0 || isNaN(time)) return ...
<|file_sep|>original/TimeFilter.js * an hours:minutes:seconds format. * * e.g. * {{60000 | millisecondsToTime}} // 01:00 * {{3600000 | millisecondsToTime}} // 01:00:00 */ app.filter("millisecondsToTime", MillisecondsToTime); function MillisecondsToTime(){ return function(time){ if(time ...
a6784f63414943e8ed387a642e9a0121185a05ee
TimeFilter.js
TimeFilter.js
JavaScript
<|file_sep|>original/cvrminer/app/templates/branch_base.html {% extends "base.html" %} {% block navbar %} <div class="navbar navbar-static-top"> <ul class="nav nav-pills"> <li role="presentation"><a href="..">cvrminer</a></li> <li role="presentation" class="active"><a href="./">Branch</a></li> <li role=...
{% extends "base.html" %} {% block navbar %} <div class="navbar navbar-static-top"> <ul class="nav nav-pills"> <li role="presentation"><a href="..">cvrminer</a></li> <li role="presentation"><a href="../company/">Company</a></li> <li role="presentation" class="active"><a href="./">Branch</a></li> <li...
<|file_sep|>original/cvrminer/app/templates/branch_base.html {% extends "base.html" %} {% block navbar %} <div class="navbar navbar-static-top"> <ul class="nav nav-pills"> <li role="presentation"><a href="..">cvrminer</a></li> <li role="presentation" class="active"><a href="./">Branch</a></li> <li role=...
56c9615530443deb569cb3ca9af79e481f95d578
cvrminer/app/templates/branch_base.html
cvrminer/app/templates/branch_base.html
HTML
<|file_sep|>original/src/Query/Capability/HasOrderBy.php use Latitude\QueryBuilder\StatementInterface; use function Latitude\QueryBuilder\listing; use function Latitude\QueryBuilder\order; trait HasOrderBy { /** @var StatementInterface[] */ protected $orderBy; public function orderBy($column, string $dir...
use function Latitude\QueryBuilder\listing; use function Latitude\QueryBuilder\order; trait HasOrderBy { /** @var StatementInterface[] */ protected $orderBy; public function orderBy($column, string $direction = ''): self { if (empty($column)) { $this->orderBy = []; retu...
<|file_sep|>original/src/Query/Capability/HasOrderBy.php use Latitude\QueryBuilder\StatementInterface; use function Latitude\QueryBuilder\listing; use function Latitude\QueryBuilder\order; trait HasOrderBy { /** @var StatementInterface[] */ protected $orderBy; public function orderBy($column, string $dir...
3cb84621e985128099e973874d5795c9c62c5524
src/Query/Capability/HasOrderBy.php
src/Query/Capability/HasOrderBy.php
PHP
<|file_sep|>composer.json.diff original: updated: "cboden/ratchet": "0.3.*", <|file_sep|>original/composer.json ], "repositories": [ { "type": "git", "url": "https://github.com/kaecyra/alice-common" } ], "require": { "php": ">=5.5", "kaecy...
"homepage": "https://vanillaforums.com" } ], "repositories": [ { "type": "git", "url": "https://github.com/kaecyra/alice-common" } ], "require": { "php": ">=5.5", "kaecyra/alice-common": "dev-master", "cboden/ratchet": "...
<|file_sep|>composer.json.diff original: updated: "cboden/ratchet": "0.3.*", <|file_sep|>original/composer.json ], "repositories": [ { "type": "git", "url": "https://github.com/kaecyra/alice-common" } ], "require": { "php": ">=5.5", "kaecy...
a1f32dbf5ae2e5fad93cf08017de882ad2b84f7f
composer.json
composer.json
JSON
<|file_sep|>app/views/posts/show.html.slim.diff original: = link_to "#{@post.successor.sha}", @post.successor updated: = link_to @post.successor.short_sha, @post.successor <|file_sep|>original/app/views/posts/show.html.slim = render @post .post-info - if @post.successor.present? p.light ' succe...
= render @post .post-info - if @post.successor.present? p.light ' succeeded by: = link_to @post.successor.short_sha, @post.successor - if @post.predecessor.present? p.light ' preceeded by: = link_to @post.predecessor.short_sha, @post.predecessor - if can?(:edit, @post) p.lig...
<|file_sep|>app/views/posts/show.html.slim.diff original: = link_to "#{@post.successor.sha}", @post.successor updated: = link_to @post.successor.short_sha, @post.successor <|file_sep|>original/app/views/posts/show.html.slim = render @post .post-info - if @post.successor.present? p.light ' succe...
e1354e64fecd290aef78a33446e23ec495604b43
app/views/posts/show.html.slim
app/views/posts/show.html.slim
Slim
<|file_sep|>NuGet/tools/VS+MSBuild.psm1.diff original: function Get-ProjectFromName updated: function Get-Projects <|file_sep|>NuGet/tools/VS+MSBuild.psm1.diff original: $projects = Get-Project updated: $projects = Get-Project -All <|file_sep|>original/NuGet/tools/VS+MSBuild.psm1 { param ( [Parameter(ValueFromP...
{ param ( [Parameter(ValueFromPipelineByPropertyName=$true)] [String[]] $ProjectName, [switch] $SpecifyUserProject ) process { (Get-Projects $ProjectName) | % { if ($SpecifyUserProject) { $path = $_.FullName + ".user" } else { $path = $_.FullName } @([Microsoft.Build.Evaluati...
<|file_sep|>NuGet/tools/VS+MSBuild.psm1.diff original: function Get-ProjectFromName updated: function Get-Projects <|file_sep|>NuGet/tools/VS+MSBuild.psm1.diff original: $projects = Get-Project updated: $projects = Get-Project -All <|file_sep|>original/NuGet/tools/VS+MSBuild.psm1 { param ( [Parameter(ValueFromP...
2b6a0c4ef6deebe19aa6ef145dd9943e3b9221fc
NuGet/tools/VS+MSBuild.psm1
NuGet/tools/VS+MSBuild.psm1
PowerShell
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.10.3 # Read environment variables from .env Flask==1.1.1 # Web microframework uWSGI==2.0.18 # Application server syspath==1.1.0 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/loggi...
# Core packages python-dotenv==0.10.3 # Read environment variables from .env Flask==1.1.1 # Web microframework uWSGI==2.0.18 # Application server syspath==1.1.0 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/logging blinker==1.4 # Dependency...
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.10.3 # Read environment variables from .env Flask==1.1.1 # Web microframework uWSGI==2.0.18 # Application server syspath==1.1.0 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/loggi...
1b3665c4e7df11af32fa00edb91603a5da2787a4
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java <|file_sep|>current/src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java <|file_sep|>updated/src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
<|file_sep|>original/src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java <|file_sep|>current/src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java <|file_sep|>updated/src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java /* * Copyright (C) 2014 Pedro Vicente...
f32775723e112f69ab0431cb1a674e66fc503623
src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java
src/main/java/com/github/pedrovgs/problem41/GoThroughMatrixInSpiral.java
Java
<|file_sep|>original/lib/tasks/db/etc.rake namespace :db do namespace :etc do task :load => :environment do puts "Loading views, functions, and triggers..." execute File.read(Rails.root.join 'db', 'etc.sql') end task :drop => :environment do puts "Dropping views, functions, and triggers...
namespace :db do namespace :etc do task :load => :environment do puts "Loading views, functions, and triggers..." execute File.read(Rails.root.join 'db', 'etc.sql') end task :drop => :environment do puts "Dropping views, functions, and triggers..." views = File.read(Rails.root.joi...
<|file_sep|>original/lib/tasks/db/etc.rake namespace :db do namespace :etc do task :load => :environment do puts "Loading views, functions, and triggers..." execute File.read(Rails.root.join 'db', 'etc.sql') end task :drop => :environment do puts "Dropping views, functions, and triggers...
13622844840f9255696ba681a166e4f3a956749f
lib/tasks/db/etc.rake
lib/tasks/db/etc.rake
Ruby
<|file_sep|>original/packages/sn/snaplet-sqlite-simple-jwt-auth.yaml <|file_sep|>current/packages/sn/snaplet-sqlite-simple-jwt-auth.yaml <|file_sep|>updated/packages/sn/snaplet-sqlite-simple-jwt-auth.yaml
homepage: https://github.com/nurpax/snaplet-sqlite-simple-jwt-auth#readme changelog-type: '' hash: 1b6b703a1bd820883857c3e9095cc56e885732db45a5dbe08ecf7e825843eb66 test-bench-deps: {} maintainer: jjhellst@gmail.com synopsis: Snaplet for JWT authentication with snaplet-sqlite-simple changelog: '' basic-deps: snap: ! '...
<|file_sep|>original/packages/sn/snaplet-sqlite-simple-jwt-auth.yaml <|file_sep|>current/packages/sn/snaplet-sqlite-simple-jwt-auth.yaml <|file_sep|>updated/packages/sn/snaplet-sqlite-simple-jwt-auth.yaml homepage: https://github.com/nurpax/snaplet-sqlite-simple-jwt-auth#readme changelog-type: '' hash: 1b6b703a1bd820...
3626591b944d3cb1b190996ea07f9a56be4ed867
packages/sn/snaplet-sqlite-simple-jwt-auth.yaml
packages/sn/snaplet-sqlite-simple-jwt-auth.yaml
YAML
<|file_sep|>original/src/Illuminate/Contracts/Auth/Guard.php /** * Get the currently authenticated user. * * @return \Illuminate\Contracts\Auth\Authenticatable|null */ public function user(); /** * Get the ID for the currently authenticated user. * * @return int|null ...
/** * Get the currently authenticated user. * * @return \Illuminate\Contracts\Auth\Authenticatable|null */ public function user(); /** * Get the ID for the currently authenticated user. * * @return int|string|null */ public function id(); /** * Validate...
<|file_sep|>original/src/Illuminate/Contracts/Auth/Guard.php /** * Get the currently authenticated user. * * @return \Illuminate\Contracts\Auth\Authenticatable|null */ public function user(); /** * Get the ID for the currently authenticated user. * * @return int|null ...
3627f33df082c988f84dd421ff97daf1c800eadf
src/Illuminate/Contracts/Auth/Guard.php
src/Illuminate/Contracts/Auth/Guard.php
PHP
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>Service Worker on Rails</title> <%= site_metatags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-tr...
<!DOCTYPE html> <html> <head> <title>Service Worker on Rails</title> <%= site_metatags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <link rel="man...
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>Service Worker on Rails</title> <%= site_metatags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-tr...
6c08771c1c980b07ce35f188155b90d592862e73
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>controller/users-admin/server.js.diff original: , router = require('mano/server/post-router') updated: , submit = require('mano/utils/save') <|file_sep|>original/controller/users-admin/server.js 'use strict'; var assign = require('es5-ext/object/assign') , promisify = req...
'use strict'; var assign = require('es5-ext/object/assign') , promisify = require('deferred').promisify , bcrypt = require('bcrypt') , dbjsCreate = require('mano/lib/utils/dbjs-form-create') , submit = require('mano/utils/save') , changePassword = require('mano-auth/controlle...
<|file_sep|>controller/users-admin/server.js.diff original: , router = require('mano/server/post-router') updated: , submit = require('mano/utils/save') <|file_sep|>original/controller/users-admin/server.js 'use strict'; var assign = require('es5-ext/object/assign') , promisify = req...
a451e50a75d7ee01d72d34c680c9d948c4fde14f
controller/users-admin/server.js
controller/users-admin/server.js
JavaScript
<|file_sep|>original/example-theme.py # Supported 16 color values: # 'h0' (color number 0) through 'h15' (color number 15) # or # 'default' (use the terminal's default foreground), # 'black', 'dark red', 'dark green', 'brown', 'dark blue', # 'dark magenta', 'dark cyan', 'light gray', 'dark gray', # 'light ...
# or # 'default' (use the terminal's default foreground), # 'black', 'dark red', 'dark green', 'brown', 'dark blue', # 'dark magenta', 'dark cyan', 'light gray', 'dark gray', # 'light red', 'light green', 'yellow', 'light blue', # 'light magenta', 'light cyan', 'white' # # Supported 256 color values: # '...
<|file_sep|>original/example-theme.py # Supported 16 color values: # 'h0' (color number 0) through 'h15' (color number 15) # or # 'default' (use the terminal's default foreground), # 'black', 'dark red', 'dark green', 'brown', 'dark blue', # 'dark magenta', 'dark cyan', 'light gray', 'dark gray', # 'light ...
573718a17e5e2d3fe23b1c8cd128a9b46d6076e6
example-theme.py
example-theme.py
Python
<|file_sep|>original/lib/tasks/panopticon.rake namespace :panopticon do desc "Register application metadata with panopticon" task :register => [:environment] do Tag.published.find_each do |tag| PanopticonNotifier.update_tag(TagPresenter.presenter_for(tag)) end end end <|file_sep|>current/lib/tasks/p...
namespace :panopticon do desc "Republish all tags to panopticon" task :republish_tags => [:environment] do Tag.published.find_each do |tag| PanopticonNotifier.update_tag(TagPresenter.presenter_for(tag)) end end end
<|file_sep|>original/lib/tasks/panopticon.rake namespace :panopticon do desc "Register application metadata with panopticon" task :register => [:environment] do Tag.published.find_each do |tag| PanopticonNotifier.update_tag(TagPresenter.presenter_for(tag)) end end end <|file_sep|>current/lib/tasks/p...
4114b19e297d2eca413daebe8d8dcee883ae15ac
lib/tasks/panopticon.rake
lib/tasks/panopticon.rake
Ruby
<|file_sep|>README.md.diff original: class account::ldap { puppet_mutex { 'user-account': } } updated: class account::ldap { puppet_mutex { 'user-account': } } <|file_sep|>original/README.md -------- To ensure that `account::ldap` and `account::local` cannot be both declared at the same time, dec...
-------- To ensure that `account::ldap` and `account::local` cannot be both declared at the same time, declare the same puppet_mutex in both classes. class account::ldap { puppet_mutex { 'user-account': } } class account::local { puppet_mutex { 'user-account': } } Author ------ Wil Cool...
<|file_sep|>README.md.diff original: class account::ldap { puppet_mutex { 'user-account': } } updated: class account::ldap { puppet_mutex { 'user-account': } } <|file_sep|>original/README.md -------- To ensure that `account::ldap` and `account::local` cannot be both declared at the same time, dec...
ca25ad0011eacfc3e62472fb88bed55456d8e0b9
README.md
README.md
Markdown
<|file_sep|>original/tasks/stripcomments.js 'use strict'; module.exports = function(grunt) { // Please see the Grunt documentation for more information regarding task // creation: http://gruntjs.com/creating-tasks grunt.registerMultiTask('comments', 'Remove comments from production code', function() { va...
'use strict'; module.exports = function(grunt) { // Please see the Grunt documentation for more information regarding task // creation: http://gruntjs.com/creating-tasks grunt.registerMultiTask('comments', 'Remove comments from production code', function() { var mulitlineComment = /\/\*[\s\S]*?\*\//g; ...
<|file_sep|>original/tasks/stripcomments.js 'use strict'; module.exports = function(grunt) { // Please see the Grunt documentation for more information regarding task // creation: http://gruntjs.com/creating-tasks grunt.registerMultiTask('comments', 'Remove comments from production code', function() { va...
d41d3f0a47655cc114141159370ebd041cba0666
tasks/stripcomments.js
tasks/stripcomments.js
JavaScript
<|file_sep|>app/services/gemmies/create.rb.diff original: class AlreadyExists < Error updated: class BaseError < StandardError <|file_sep|>app/services/gemmies/create.rb.diff original: class NotFound < Error attr_reader :gemmy_name updated: class AlreadyExists < BaseError; end <|file_sep|>app/serv...
raise Error, 'Please enter a name.' end if existing_gemmy = Gemmy.find_by(name: name) raise AlreadyExists.new(existing_gemmy) end begin Gems.info name rescue Gems::NotFound raise NotFound.new(Gemmy.new(name: name)) end gemmy = Gemmy.create!(na...
<|file_sep|>app/services/gemmies/create.rb.diff original: class AlreadyExists < Error updated: class BaseError < StandardError <|file_sep|>app/services/gemmies/create.rb.diff original: class NotFound < Error attr_reader :gemmy_name updated: class AlreadyExists < BaseError; end <|file_sep|>app/serv...
3d12f77d2c49425e7849a93dacf54d161738d03d
app/services/gemmies/create.rb
app/services/gemmies/create.rb
Ruby
<|file_sep|>src/x11-simple.c.diff original: Display *dpy = XOpenDisplay(NULL); Window win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0); XMapWindow(dpy, win); updated: Display* dpy = XOpenDisplay(NULL); Window* win = mrb_malloc(mrb, sizeof(Window)); *win = XCreateSimpleWindow(d...
#include <X11/Xlib.h> mrb_value x11_simple_test(mrb_state* mrb, mrb_value self) { Display* dpy = XOpenDisplay(NULL); Window* win = mrb_malloc(mrb, sizeof(Window)); *win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0); XMapWindow(dpy, *win); XFlush(dpy); return mrb_fixnum_value(...
<|file_sep|>src/x11-simple.c.diff original: Display *dpy = XOpenDisplay(NULL); Window win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0); XMapWindow(dpy, win); updated: Display* dpy = XOpenDisplay(NULL); Window* win = mrb_malloc(mrb, sizeof(Window)); *win = XCreateSimpleWindow(d...
21198b75ca5bb408bd77a54232418b8aef8ce8dc
src/x11-simple.c
src/x11-simple.c
C
<|file_sep|>original/lita-talk.gemspec spec.email = ["fukayatsu@gmail.com"] spec.description = "Talk with you if given message didn't match any other handlers." spec.summary = "Talk with you if given message didn't match any other handlers." spec.homepage = "https://github.com/fukayatsu/lit...
spec.email = ["fukayatsu@gmail.com"] spec.description = "Talk with you if given message didn't match any other handlers." spec.summary = "Talk with you if given message didn't match any other handlers." spec.homepage = "https://github.com/fukayatsu/lita-talk" spec.license = "MIT Lic...
<|file_sep|>original/lita-talk.gemspec spec.email = ["fukayatsu@gmail.com"] spec.description = "Talk with you if given message didn't match any other handlers." spec.summary = "Talk with you if given message didn't match any other handlers." spec.homepage = "https://github.com/fukayatsu/lit...
3593242e95189f276a1e67ef42a9b0bb3f0172c4
lita-talk.gemspec
lita-talk.gemspec
Ruby
<|file_sep|>original/package.json }, "cacheDirectories": [ "node_modules" ], "author": "", "license": "ISC", "dependencies": { "bootstrap": "^3.3.7", "cors": "^2.8.1", "express": "^4.14.1", "foglet-core": "0.2.6 || >=02.6 <0.3.0", "foglet-ndp": "^0.2.5", "jquery": "^3.1.1", "...
}, "cacheDirectories": [ "node_modules" ], "author": "", "license": "ISC", "dependencies": { "bootstrap": "^3.3.7", "cors": "^2.8.1", "express": "^4.14.1", "foglet-core": "0.3.0 || >=0.3.0 <0.4.0", "foglet-ndp": "0.3.1 || >=0.3.0 <0.4.0", "jquery": "^3.1.1", "lodash": "^4.17....
<|file_sep|>original/package.json }, "cacheDirectories": [ "node_modules" ], "author": "", "license": "ISC", "dependencies": { "bootstrap": "^3.3.7", "cors": "^2.8.1", "express": "^4.14.1", "foglet-core": "0.2.6 || >=02.6 <0.3.0", "foglet-ndp": "^0.2.5", "jquery": "^3.1.1", "...
b35ab9da4e7ee4666eae0a014536da28ca3c6461
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: os: osx osx_image: xcode9 language: objective-c updated: env: global: - LC_CTYPE=en_US.UTF-8 <|file_sep|>original/.travis.yml os: osx osx_image: xcode9 language: objective-c script: - swift --version - swift build - swift test notifications: email: false <|file_sep...
env: global: - LC_CTYPE=en_US.UTF-8 matrix: include: - os: osx language: objective-c osx_image: xcode9.2 script: - set -o pipefail - xcodebuild test -workspace DIKit.xcworkspace -scheme DIGenKit -configuration Release ENABLE_TESTABILITY=YES | xcpretty -c - xcodebui...
<|file_sep|>.travis.yml.diff original: os: osx osx_image: xcode9 language: objective-c updated: env: global: - LC_CTYPE=en_US.UTF-8 <|file_sep|>original/.travis.yml os: osx osx_image: xcode9 language: objective-c script: - swift --version - swift build - swift test notifications: email: false <|file_sep...
043569992a9a9e8b2c5354e7e79bb8cc368fa586
.travis.yml
.travis.yml
YAML
<|file_sep|>src/dragon/blog/content/core.clj.diff original: (:require [dragon.blog.content.rfc5322 :as rfc5322] updated: (:require [clojure.string :as string] [dragon.blog.content.rfc5322 :as rfc5322] <|file_sep|>src/dragon/blog/content/core.clj.diff original: updated: [taoensso.timbre :as ...
(if (= 1 parts) (keyword content-type) (map (comp keyword string/trim) types)))) (defn file-extension-dispatch [system content extension] (case extension :rfc5322 (rfc5322/parse system content) :default {:raw-data content :error :parser-not-found})) (defn parse ...
<|file_sep|>src/dragon/blog/content/core.clj.diff original: (:require [dragon.blog.content.rfc5322 :as rfc5322] updated: (:require [clojure.string :as string] [dragon.blog.content.rfc5322 :as rfc5322] <|file_sep|>src/dragon/blog/content/core.clj.diff original: updated: [taoensso.timbre :as ...
e667315609b24a95a08409fb95f84b757a73fa2a
src/dragon/blog/content/core.clj
src/dragon/blog/content/core.clj
Clojure
<|file_sep|>test/ui.js.diff original: describe("ui", function () { updated: describe("ui", function() { <|file_sep|>test/ui.js.diff original: beforeEach(function () { updated: beforeEach(function() { <|file_sep|>test/ui.js.diff original: afterEach(function () { updated: afterEach(function() { <|file_sep|>test/u...
}) it("tab navigation should work", function(done) { let client = this.app.client; client.element(".header_nav a:nth-child(2)").click() client.getAttribute(".content-container .content:nth-of-type(1)", "class").then(classesFirstStr => { var classesFirst = classesFirstStr.split(" ") client....
<|file_sep|>test/ui.js.diff original: describe("ui", function () { updated: describe("ui", function() { <|file_sep|>test/ui.js.diff original: beforeEach(function () { updated: beforeEach(function() { <|file_sep|>test/ui.js.diff original: afterEach(function () { updated: afterEach(function() { <|file_sep|>test/u...
de50ca7233167afbbdf0c6d01fab90b2d771e4f4
test/ui.js
test/ui.js
JavaScript
<|file_sep|>original/keystoneclient/v2_0/extensions.py # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from keystoneclient import base class Extension(base.Resource): """Represents a...
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from keystoneclient import base class Extension(base.Resource): """Represents an Identity API extension.""" def __repr__(self): ...
<|file_sep|>original/keystoneclient/v2_0/extensions.py # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from keystoneclient import base class Extension(base.Resource): """Represents a...
f5c4581ad27dab25caac0669b9b01af922ebc57c
keystoneclient/v2_0/extensions.py
keystoneclient/v2_0/extensions.py
Python
<|file_sep|>package.json.diff original: updated: "body-parser": "^1.15.2", <|file_sep|>original/package.json "description": "A lightweight sports stats tracker.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "g...
"scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/theomarkkuspaul/Tally.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/theomarkkuspaul/Tally/issues" }, "hom...
<|file_sep|>package.json.diff original: updated: "body-parser": "^1.15.2", <|file_sep|>original/package.json "description": "A lightweight sports stats tracker.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "g...
35632db505b3cd93078dcc9bfc7a8d07ba97c6c3
package.json
package.json
JSON
<|file_sep|>README.md.diff original: # jenkins-rspec Docker container for Jenkins with RSpec. updated: # jenkins-rbenv Docker container for Jenkins with rbenv. <|file_sep|>README.md.diff original: You can use this container as a Jenkins with RSpec. ### For docker Run your container with your proxy pac location. updat...
Docker container for Jenkins with rbenv. ## Usage You can use this container as a Jenkins server with rbenv and [some plugins](plugins.txt). Run your container like this. ``` docker run -d -p 8080:8080 -it otahi/jenkins-rbenv ``` Then, you can access to the container with your browser. ## Contributing 1. Fork it ...
<|file_sep|>README.md.diff original: # jenkins-rspec Docker container for Jenkins with RSpec. updated: # jenkins-rbenv Docker container for Jenkins with rbenv. <|file_sep|>README.md.diff original: You can use this container as a Jenkins with RSpec. ### For docker Run your container with your proxy pac location. updat...
dde68716aae7fe0b16e598981ab2d2fb938af219
README.md
README.md
Markdown
<|file_sep|>original/composer.json { "name": "requtize/semver-converter", "type": "library", "keywords": [ "semver", "semantic version", "converter", "php", "semver converter", "semver to int", "semver to integer" ], "description": "Converts SemVer version (like Composer packages) into integer version w...
{ "name": "requtize/semver-converter", "type": "library", "keywords": [ "semver", "semantic version", "converter", "php", "semver converter", "semver to int", "semver to integer" ], "description": "Converts SemVer version (like Composer packages) into integer version with operators. Helps managing versi...
<|file_sep|>original/composer.json { "name": "requtize/semver-converter", "type": "library", "keywords": [ "semver", "semantic version", "converter", "php", "semver converter", "semver to int", "semver to integer" ], "description": "Converts SemVer version (like Composer packages) into integer version w...
89dcc3bf742f0dddbed73cd268f8c54dcd84e215
composer.json
composer.json
JSON
<|file_sep|>README.md.diff original: updated: [![Build status](https://ci.appveyor.com/api/projects/status/g9lj2yk6efj5fibe?svg=true)](https://ci.appveyor.com/project/martijnspaan/githubsearch) <|file_sep|>README.md.diff original: Alternatively you can download the latest stable release: [GitHubSearch 1.2.0](https://...
# GitHubSearch - A commandline search utilizing the GitHub Api Born from the limitation that the online [GitHub search](https://help.github.com/articles/searching-code/) has, where files larger than 384 KB are not indexed. This commandline search will download (and cache) the files before searching. [![Build status](...
<|file_sep|>README.md.diff original: updated: [![Build status](https://ci.appveyor.com/api/projects/status/g9lj2yk6efj5fibe?svg=true)](https://ci.appveyor.com/project/martijnspaan/githubsearch) <|file_sep|>README.md.diff original: Alternatively you can download the latest stable release: [GitHubSearch 1.2.0](https://...
c0ecc1f058ef72dacdfd39873dee65f75fd1be1e
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "4.2.4" - "0.12" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "4.2.4" - "0.12" <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - "5" - "4" - "0.12"
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "4.2.4" - "0.12" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "4.2.4" - "0.12" <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - "5" - "4" - "0.12"
b8dbf0aaeea4da5d9107795c211355d4b138afee
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/AppBundle/Tests/Services/ObjectUpdaterTest.php <?php namespace AppBundle\Tests\Services; use AppBundle\Tests\Controller\AbstractApiTest; use AppBundle\Document\Dream; class ObjectUpdaterTest extends AbstractApiTest { public function testUpdateObject() { $client = static::cr...
<?php namespace AppBundle\Tests\Services; use AppBundle\Tests\Controller\AbstractApiTest; use AppBundle\Document\Dream; use AppBundle\Document\FinancialResource; class ObjectUpdaterTest extends AbstractApiTest { public function testUpdateObject() { $client = static::createClient(); $dreamO...
<|file_sep|>original/src/AppBundle/Tests/Services/ObjectUpdaterTest.php <?php namespace AppBundle\Tests\Services; use AppBundle\Tests\Controller\AbstractApiTest; use AppBundle\Document\Dream; class ObjectUpdaterTest extends AbstractApiTest { public function testUpdateObject() { $client = static::cr...
472dc63582dcce93f0bc1c855904b53255ad0bf5
src/AppBundle/Tests/Services/ObjectUpdaterTest.php
src/AppBundle/Tests/Services/ObjectUpdaterTest.php
PHP
<|file_sep|>original/game/sdl/linux/install.sh SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" HT_ROOT=$SCRIPT_DIR/../../.. set -v mkdir -p ~/Games mkdir -p ~/Games/HostileTakeover # If release build, htdata832.pdb needs to be marked cp $HT_ROOT/game/htdata832.pdb ~/Games/HostileTakeover cp $HT_ROOT/g...
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" HT_ROOT=$SCRIPT_DIR/../../.. set -v mkdir -p ~/Games mkdir -p ~/Games/HostileTakeover # If release build, htdata832.pdb needs to be marked cp $HT_ROOT/game/htdata832.pdb ~/Games/HostileTakeover cp $HT_ROOT/game/htsfx.pdb ~/Games/HostileTakeover set +v i...
<|file_sep|>original/game/sdl/linux/install.sh SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" HT_ROOT=$SCRIPT_DIR/../../.. set -v mkdir -p ~/Games mkdir -p ~/Games/HostileTakeover # If release build, htdata832.pdb needs to be marked cp $HT_ROOT/game/htdata832.pdb ~/Games/HostileTakeover cp $HT_ROOT/g...
a4896472b641500244f934493fc8e84e90f7b352
game/sdl/linux/install.sh
game/sdl/linux/install.sh
Shell
<|file_sep|>original/packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py <|file_sep|>current/packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py <|file_sep|>updated/packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py
# stdlib from typing import Any from typing import Optional # third party from nacl.signing import VerifyKey # relative from ... import UID from ....abstract.node import AbstractNode from .simple_messages import NodeRunnableMessageWithReply class DoesObjectExistMessage(NodeRunnableMessageWithReply): __attr_all...
<|file_sep|>original/packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py <|file_sep|>current/packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py <|file_sep|>updated/packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py # stdlib from typing import Any fro...
3047958a14f8e428404a4a29c43600b85fce6621
packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py
packages/syft/src/syft/core/node/common/node_service/simple/obj_exists.py
Python
<|file_sep|>original/src/scripts/directives/grammarCMS/category.edit.html <ul> <li>Add Rule Question</li> <li>Delete</li> <li>Edit</li> </ul> <|file_sep|>current/src/scripts/directives/grammarCMS/category.edit.html <ul> <li>Add Rule Question</li> <li>Delete</li> <li>Edit</li> </ul> <|file_sep|>updated/src/s...
<ul> <li>Add Rule</li> <li>Delete</li> <li>Edit</li> </ul>
<|file_sep|>original/src/scripts/directives/grammarCMS/category.edit.html <ul> <li>Add Rule Question</li> <li>Delete</li> <li>Edit</li> </ul> <|file_sep|>current/src/scripts/directives/grammarCMS/category.edit.html <ul> <li>Add Rule Question</li> <li>Delete</li> <li>Edit</li> </ul> <|file_sep|>updated/src/s...
88ee40bc42c418eb0298e525f5cd6137657ff377
src/scripts/directives/grammarCMS/category.edit.html
src/scripts/directives/grammarCMS/category.edit.html
HTML
<|file_sep|>lib/exp/featx/__init__.py.diff original: updated: def load_feats(self, key): fd = self.load(key) if fd is None: return [] return fd <|file_sep|>original/lib/exp/featx/__init__.py def get_slide_feats(self): ss = Slider(self.root, self.name) imgl ...
def get_frame_feats(self): rr = Reducer(self.root, self.name) vv = Video(self.root, self.name) imgl = vv.get_frames(rr.frame_ids(), gray=True) self.feats(imgl, prefix="f") def load_feats(self, key): fd = self.load(key) if fd is None: return [] ...
<|file_sep|>lib/exp/featx/__init__.py.diff original: updated: def load_feats(self, key): fd = self.load(key) if fd is None: return [] return fd <|file_sep|>original/lib/exp/featx/__init__.py def get_slide_feats(self): ss = Slider(self.root, self.name) imgl ...
88cd50a331c20fb65c495e92cc93867f03cd3826
lib/exp/featx/__init__.py
lib/exp/featx/__init__.py
Python
<|file_sep|>original/app/views/devise/registrations/new.html.erb <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-group"> <%= f.label :email %> ...
<h2>Sign up</h2> <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-group"> <%= f.label :email %> <%= f.email_field :email, ...
<|file_sep|>original/app/views/devise/registrations/new.html.erb <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-group"> <%= f.label :email %> ...
652695c1faf16c73648ba74f8e57b9ede6b55e4c
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
HTML+ERB
<|file_sep|>original/src/main/java/io/kamax/mxisd/config/sql/synapse/SynapseSqlProviderConfig.java import io.kamax.mxisd.config.sql.SqlConfig; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; ...
import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; @Configuration @ConfigurationProperties("synapseSql") public class SynapseSqlProviderConfig extends SqlConfig { @Override protected String getProviderName() { return "Synapse SQL"; } @PostCons...
<|file_sep|>original/src/main/java/io/kamax/mxisd/config/sql/synapse/SynapseSqlProviderConfig.java import io.kamax.mxisd.config.sql.SqlConfig; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; ...
1461d8ef6cbc7a5dd2137cf67fe83933b9850302
src/main/java/io/kamax/mxisd/config/sql/synapse/SynapseSqlProviderConfig.java
src/main/java/io/kamax/mxisd/config/sql/synapse/SynapseSqlProviderConfig.java
Java
<|file_sep|>mopidy/__init__.py.diff original: updated: from multiprocessing.reduction import reduce_connection import pickle <|file_sep|>original/mopidy/__init__.py def get_class(name): module_name = name[:name.rindex('.')] class_name = name[name.rindex('.') + 1:] logger.info('Loading: %s from %s', class_n...
return u'0.16.0' def get_class(name): module_name = name[:name.rindex('.')] class_name = name[name.rindex('.') + 1:] logger.info('Loading: %s from %s', class_name, module_name) module = __import__(module_name, globals(), locals(), [class_name], -1) class_object = getattr(module, class_name) ...
<|file_sep|>mopidy/__init__.py.diff original: updated: from multiprocessing.reduction import reduce_connection import pickle <|file_sep|>original/mopidy/__init__.py def get_class(name): module_name = name[:name.rindex('.')] class_name = name[name.rindex('.') + 1:] logger.info('Loading: %s from %s', class_n...
65fcfbfae9ef1a68d324aea932f983f7edd00cdf
mopidy/__init__.py
mopidy/__init__.py
Python
<|file_sep|>original/src/main/resources/application.properties spring.http.multipart.max-file-size=10MB spring.http.multipart.max-request-size=10MB <|file_sep|>current/src/main/resources/application.properties spring.http.multipart.max-file-size=10MB spring.http.multipart.max-request-size=10MB <|file_sep|>updated/src/m...
spring.http.multipart.max-file-size=20MB spring.http.multipart.max-request-size=20MB
<|file_sep|>original/src/main/resources/application.properties spring.http.multipart.max-file-size=10MB spring.http.multipart.max-request-size=10MB <|file_sep|>current/src/main/resources/application.properties spring.http.multipart.max-file-size=10MB spring.http.multipart.max-request-size=10MB <|file_sep|>updated/src/m...
bccce0dc869f8cc2d82d33f0318fefc3bbd8b470
src/main/resources/application.properties
src/main/resources/application.properties
INI
<|file_sep|>original/lib/indie-registry.js indieLinter.onDidDestroy(() => { this.indieLinters.delete(indieLinter) }) indieLinter.onDidUpdateMessages(messages => { this.emitter.emit('did-update-messages', {linter: indieLinter, messages}) }) this.emit('observe', indieLinter) return in...
indieLinter.onDidDestroy(() => { this.indieLinters.delete(indieLinter) }) indieLinter.onDidUpdateMessages(messages => { this.emitter.emit('did-update-messages', {linter: indieLinter, messages}) }) this.emit('observe', indieLinter) return indieLinter } has(indieLinter) { retu...
<|file_sep|>original/lib/indie-registry.js indieLinter.onDidDestroy(() => { this.indieLinters.delete(indieLinter) }) indieLinter.onDidUpdateMessages(messages => { this.emitter.emit('did-update-messages', {linter: indieLinter, messages}) }) this.emit('observe', indieLinter) return in...
43f0a5cefb43be20ae8f48deb2fa886540528b2d
lib/indie-registry.js
lib/indie-registry.js
JavaScript
<|file_sep|>original/.github/workflows/test.yml test: name: Ruby ${{ matrix.ruby }} (${{ matrix.os }}) if: "!contains(github.event.head_commit.message, '[skip ci]')" strategy: matrix: ruby: - 3.1 - 3.0 - 2.7 - 2.6 - jruby-9.2.13.0 # - truffleru...
test: name: Ruby ${{ matrix.ruby }} (${{ matrix.os }}) if: "!contains(github.event.head_commit.message, '[skip ci]')" strategy: matrix: ruby: - 3.1 - 3.0 - 2.7 - 2.6 - jruby-9.3.2 - truffleruby-21.3.0 os: - ubuntu-latest ...
<|file_sep|>original/.github/workflows/test.yml test: name: Ruby ${{ matrix.ruby }} (${{ matrix.os }}) if: "!contains(github.event.head_commit.message, '[skip ci]')" strategy: matrix: ruby: - 3.1 - 3.0 - 2.7 - 2.6 - jruby-9.2.13.0 # - truffleru...
8e4a83b0da534df998ac79c0fe2a2a909b9e868b
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/ao-puppet-agent-boostrap.sh set -ex apt-get install ruby rubygems || yum install ruby rubygems || pkgin install ruby rubygems || false gem update --system gem install facter gem install puppet mkdir -p /etc/puppet /var/lib /var/log /var/run cat >/etc/puppet/puppet.conf <<EOF [main] logdir = /v...
set -ex apt-get install ruby rubygems || yum install -y ruby rubygems || pkgin install ruby rubygems || false gem update --system gem install facter gem install puppet mkdir -p /etc/puppet /var/lib /var/log /var/run cat >/etc/puppet/puppet.conf <<EOF [main] logdir = /var/log/puppet rundir = /var/run/puppet ssl...
<|file_sep|>original/ao-puppet-agent-boostrap.sh set -ex apt-get install ruby rubygems || yum install ruby rubygems || pkgin install ruby rubygems || false gem update --system gem install facter gem install puppet mkdir -p /etc/puppet /var/lib /var/log /var/run cat >/etc/puppet/puppet.conf <<EOF [main] logdir = /v...
49c2f3accab1d22b7c23acb2fdc1471c5a2d74ec
ao-puppet-agent-boostrap.sh
ao-puppet-agent-boostrap.sh
Shell
<|file_sep|>original/lemon/publications/managers.py def expired(self): return self.get_query_set().expired() def future(self): return self.get_query_set().future() def enabled(self): return self.get_query_set().enabled() def disabled(self): return self.get_query_s...
def expired(self): return self.get_query_set().expired() def future(self): return self.get_query_set().future() def enabled(self): return self.get_query_set().enabled() def disabled(self): return self.get_query_set().disabled() def unpublished(self): ...
<|file_sep|>original/lemon/publications/managers.py def expired(self): return self.get_query_set().expired() def future(self): return self.get_query_set().future() def enabled(self): return self.get_query_set().enabled() def disabled(self): return self.get_query_s...
48e4203bc87fda407d0e5f804c854b53f7bf54fc
lemon/publications/managers.py
lemon/publications/managers.py
Python
<|file_sep|>original/README.md overview-word-cloud =================== Shows the most common words in a document set. Larger words are more common than smaller words. This is a plugin for Overview. You can see it live on https://www.overviewdocs.com. To run with your local Overview install: git clone https://gi...
overview-word-cloud =================== Shows the most common words in a document set. Larger words are more common than smaller words. This is a plugin for Overview. You can see it live on https://www.overviewdocs.com, or in the video below: <a href="https://www.youtube.com/watch?v=Et6F9Zerr44"><img src="http://eth...
<|file_sep|>original/README.md overview-word-cloud =================== Shows the most common words in a document set. Larger words are more common than smaller words. This is a plugin for Overview. You can see it live on https://www.overviewdocs.com. To run with your local Overview install: git clone https://gi...
aeddd2490f3d7c4bb2a982879498c37d4f8712a9
README.md
README.md
Markdown
<|file_sep|>original/bootstrap.sh #!/usr/bin/env bash # Clone vundle to home folder to create the .vim folder. git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim # Copy dotfiles to home directory. rsync --exclude ".git/" --exclude ".gitignore" --exclude ".DS_Store" --exclude "bootstrap.sh" \ ...
#!/usr/bin/env bash # Clone vundle if it does not already exist. if [ -d "$HOME/.vim/bundle/Vundle" ]; then cd ~/.vim/bundle/vundle/; git pull; cd -; else git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim fi; # Copy dotfiles to home directory. rsync --exclude ".git/" --exclude ".gitignor...
<|file_sep|>original/bootstrap.sh #!/usr/bin/env bash # Clone vundle to home folder to create the .vim folder. git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim # Copy dotfiles to home directory. rsync --exclude ".git/" --exclude ".gitignore" --exclude ".DS_Store" --exclude "bootstrap.sh" \ ...
35deab5a02ded076e402cb0eb0aa16f87734c460
bootstrap.sh
bootstrap.sh
Shell
<|file_sep|>original/.travis.yml language: python python: - "2.7" env: - DJANGO=https://github.com/django/django/archive/master.tar.gz - DJANGO_PACKAGE="Django>=1.5,<1.6" install: - pip install $DJANGO_PACKAGE --use-mirrors - make travis script: make test notifications: irc: "irc.freenode.org#opps" on_suc...
language: python python: - "2.7" env: - DJANGO=https://github.com/django/django/archive/master.tar.gz - DJANGO_PACKAGE="Django>=1.5,<1.7" install: - pip install $DJANGO_PACKAGE --use-mirrors - make travis script: make test notifications: irc: "irc.freenode.org#opps" on_success: "never"
<|file_sep|>original/.travis.yml language: python python: - "2.7" env: - DJANGO=https://github.com/django/django/archive/master.tar.gz - DJANGO_PACKAGE="Django>=1.5,<1.6" install: - pip install $DJANGO_PACKAGE --use-mirrors - make travis script: make test notifications: irc: "irc.freenode.org#opps" on_suc...
1236a530e4aad218e42f101c5cc561c8814c93ea
.travis.yml
.travis.yml
YAML
<|file_sep|>src/strings/contains/contains.js.diff original: updated: if (!searchString) { return false; } <|file_sep|>original/src/strings/contains/contains.js 'use strict'; var subjectLength, searchLength; if (String.prototype.includes) { return subjectString.includes(se...
'use strict'; var subjectLength, searchLength; if (!searchString) { return false; } if (String.prototype.includes) { return subjectString.includes(searchString, position); } position = parseInt(position, 10) || 0; subjectLength = subjectString.length; sear...
<|file_sep|>src/strings/contains/contains.js.diff original: updated: if (!searchString) { return false; } <|file_sep|>original/src/strings/contains/contains.js 'use strict'; var subjectLength, searchLength; if (String.prototype.includes) { return subjectString.includes(se...
c39d2f7ab93cd0f13c17e4b491366709e60745d2
src/strings/contains/contains.js
src/strings/contains/contains.js
JavaScript
<|file_sep|>original/dev-requirements.txt pre-commit==1.8.0 watchdog==0.8.3 sphinx-rtd-theme==0.2.4 <|file_sep|>current/dev-requirements.txt pre-commit==1.8.0 watchdog==0.8.3 sphinx-rtd-theme==0.2.4 <|file_sep|>updated/dev-requirements.txt
pre-commit==1.8.1 watchdog==0.8.3 sphinx-rtd-theme==0.2.4
<|file_sep|>original/dev-requirements.txt pre-commit==1.8.0 watchdog==0.8.3 sphinx-rtd-theme==0.2.4 <|file_sep|>current/dev-requirements.txt pre-commit==1.8.0 watchdog==0.8.3 sphinx-rtd-theme==0.2.4 <|file_sep|>updated/dev-requirements.txt pre-commit==1.8.1 watchdog==0.8.3 sphinx-rtd-theme==0.2.4
9ef874dddc90838dd962b6e7f2fd91e36322cc19
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/bower.json { "name": "tempo-scenario-mocks", "devDependencies": { "angular-mocks": "~1.2.0", "angular-scenario": "~1.2.0" }, "dependencies": { "angular": "~1.2.0", "angular-resource": "~1.2.0", "angular-ui-router": "0.2.*", "angular-ui-utils": "~0.0.4", "lodash":...
{ "name": "tempo-scenario-mocks", "devDependencies": { "angular-mocks": "~1.2.0", "angular-scenario": "~1.2.0" }, "dependencies": { "angular": "~1.2.0", "angular-resource": "~1.2.0", "angular-ui-router": ">=0.2.8", "angular-ui-utils": "~0.0.4", "lodash": "*" } }
<|file_sep|>original/bower.json { "name": "tempo-scenario-mocks", "devDependencies": { "angular-mocks": "~1.2.0", "angular-scenario": "~1.2.0" }, "dependencies": { "angular": "~1.2.0", "angular-resource": "~1.2.0", "angular-ui-router": "0.2.*", "angular-ui-utils": "~0.0.4", "lodash":...
939b2d4a8ce8a27c8d61c4a9a1fd471bcb4bff02
bower.json
bower.json
JSON
<|file_sep|>original/base/smartos-base/scripts/install.sh # # Update the system # yes | pkgin install scmgit gcc-compiler gmake openssl python27 hash -r <|file_sep|>current/base/smartos-base/scripts/install.sh # # Update the system # yes | pkgin install scmgit gcc-compiler gmake openssl python27 hash -r <|file_sep|>u...
# # Update the system # pkgin -y install scmgit gcc-compiler gmake openssl python27 hash -r
<|file_sep|>original/base/smartos-base/scripts/install.sh # # Update the system # yes | pkgin install scmgit gcc-compiler gmake openssl python27 hash -r <|file_sep|>current/base/smartos-base/scripts/install.sh # # Update the system # yes | pkgin install scmgit gcc-compiler gmake openssl python27 hash -r <|file_sep|>u...
9480ced82ef357d165269e953ad7f29306c67049
base/smartos-base/scripts/install.sh
base/smartos-base/scripts/install.sh
Shell
<|file_sep|>wwwroot/app/src/components/PantryPage/PantryItem.js.diff original: this.setState({ expiration: newDate }); this.props.onItemChange(this.getItem()); updated: this.setState({ expiration: newDate }, () => { this.props.onItemChange(this.getItem()); }); <|file_sep|>ww...
<input type="text" className="pantry-item__form-input" defaultValue={this.state.name} onChange={evt => this.onNameChange(evt.target.value)} /> </label> </div> <div className="pantry-item__form-group"> <label className="p...
<|file_sep|>wwwroot/app/src/components/PantryPage/PantryItem.js.diff original: this.setState({ expiration: newDate }); this.props.onItemChange(this.getItem()); updated: this.setState({ expiration: newDate }, () => { this.props.onItemChange(this.getItem()); }); <|file_sep|>ww...
a02eb5ba19c439f68acab9ceaba32f788d25a3c3
wwwroot/app/src/components/PantryPage/PantryItem.js
wwwroot/app/src/components/PantryPage/PantryItem.js
JavaScript
<|file_sep|>original/package.sh build "$1" "$2" file hexkit_path_fix tar cvf "release/hexkit_path_fix_$3.tar.bz2" hexkit_path_fix LICENSE README.md } make_zip(){ echo " * $3" build "$1" "$2" file hexkit_path_fix.exe zip "release/hexkit_path_fix_$3.zip" hexkit_path_fix.exe LICENSE README.md } mkdir -p re...
tar cvf "release/hexkit_path_fix_$3.tar.bz2" hexkit_path_fix LICENSE README.md } make_zip(){ echo " * $3" build "$1" "$2" file hexkit_path_fix.exe zip "release/hexkit_path_fix_$3.zip" hexkit_path_fix.exe LICENSE README.md } rm -f release/* rmdir release mkdir -p release make_zip windows 386 win32 make_zip...
<|file_sep|>original/package.sh build "$1" "$2" file hexkit_path_fix tar cvf "release/hexkit_path_fix_$3.tar.bz2" hexkit_path_fix LICENSE README.md } make_zip(){ echo " * $3" build "$1" "$2" file hexkit_path_fix.exe zip "release/hexkit_path_fix_$3.zip" hexkit_path_fix.exe LICENSE README.md } mkdir -p re...
2612df78835fbb07e892a696e7f01bb03279567f
package.sh
package.sh
Shell