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/README.md # zend-mvc [![Build Status](https://secure.travis-ci.org/zendframework/zend-mvc.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mvc) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-mvc/badge.svg?branch=master)](https://coveralls.io/r/zendframework/ze...
# zend-mvc [![Build Status](https://secure.travis-ci.org/zendframework/zend-mvc.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mvc) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-mvc/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-mvc?branch=master) `Zend\Mv...
<|file_sep|>original/README.md # zend-mvc [![Build Status](https://secure.travis-ci.org/zendframework/zend-mvc.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mvc) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-mvc/badge.svg?branch=master)](https://coveralls.io/r/zendframework/ze...
f63191206c40704e547fd708a75727053eb5e28d
README.md
README.md
Markdown
<|file_sep|>original/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.2.2 pytest==3.0.6 pytest-cov==2.4.0 pytest-sugar==0.8.0 sphinx==1.5.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.5 <|file_sep|>current/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.2.2 pytest==...
coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.2.2 pytest==3.0.6 pytest-cov==2.4.0 pytest-sugar==0.8.0 sphinx==1.5.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.6
<|file_sep|>original/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.2.2 pytest==3.0.6 pytest-cov==2.4.0 pytest-sugar==0.8.0 sphinx==1.5.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.5 <|file_sep|>current/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.2.2 pytest==...
2f086c3370779478a22f2f9dee0410bec10aeda4
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/std/shared/src/main/scala/algebra/std/unit.scala def compare(x: Unit, y: Unit): Int = 0 override def eqv(x: Unit, y: Unit): Boolean = true override def neqv(x: Unit, y: Unit): Boolean = false override def gt(x: Unit, y: Unit): Boolean = false override def lt(x: Unit, y: Unit): Boolean = ...
def compare(x: Unit, y: Unit): Int = 0 override def eqv(x: Unit, y: Unit): Boolean = true override def neqv(x: Unit, y: Unit): Boolean = false override def gt(x: Unit, y: Unit): Boolean = false override def lt(x: Unit, y: Unit): Boolean = false override def gteqv(x: Unit, y: Unit): Boolean = true overrid...
<|file_sep|>original/std/shared/src/main/scala/algebra/std/unit.scala def compare(x: Unit, y: Unit): Int = 0 override def eqv(x: Unit, y: Unit): Boolean = true override def neqv(x: Unit, y: Unit): Boolean = false override def gt(x: Unit, y: Unit): Boolean = false override def lt(x: Unit, y: Unit): Boolean = ...
6ef3515a5bb3509e19bd75964f16774727cd42b7
std/shared/src/main/scala/algebra/std/unit.scala
std/shared/src/main/scala/algebra/std/unit.scala
Scala
<|file_sep|>original/test_requirements.txt pytest<6 hypothesis<5.15.2 coverage==5.1 attrs==19.3.0 <|file_sep|>current/test_requirements.txt pytest<6 hypothesis<5.15.2 coverage==5.1 attrs==19.3.0 <|file_sep|>updated/test_requirements.txt
pytest<6 hypothesis<5.16.1 coverage==5.1 attrs==19.3.0
<|file_sep|>original/test_requirements.txt pytest<6 hypothesis<5.15.2 coverage==5.1 attrs==19.3.0 <|file_sep|>current/test_requirements.txt pytest<6 hypothesis<5.15.2 coverage==5.1 attrs==19.3.0 <|file_sep|>updated/test_requirements.txt pytest<6 hypothesis<5.16.1 coverage==5.1 attrs==19.3.0
1eb83f293f76f31d159d0fe37dc0b70bad8a1a7a
test_requirements.txt
test_requirements.txt
Text
<|file_sep|>original/db/TableConfig.py { PDBConst.Name: "config", PDBConst.Columns: [ { PDBConst.Name: "Name", PDBConst.Attributes: ["varchar(128)", "not null", "primary key"] }, { PDBConst.Name: "Value", PDBConst.Attributes: ["varchar(128)"] }], PDBConst.Init...
{ PDBConst.Name: "config", PDBConst.Columns: [ { PDBConst.Name: "Name", PDBConst.Attributes: ["varchar(128)", "not null", "primary key"] }, { PDBConst.Name: "Value", PDBConst.Attributes: ["varchar(128)"] }], PDBConst.Initials: [ {"Name": "'version'", "...
<|file_sep|>original/db/TableConfig.py { PDBConst.Name: "config", PDBConst.Columns: [ { PDBConst.Name: "Name", PDBConst.Attributes: ["varchar(128)", "not null", "primary key"] }, { PDBConst.Name: "Value", PDBConst.Attributes: ["varchar(128)"] }], PDBConst.Init...
1d77647efdb26b8282fc0624852d211fa9339539
db/TableConfig.py
db/TableConfig.py
Python
<|file_sep|>src/core-uri-handlers.js.diff original: updated: const fs = require('fs-plus') <|file_sep|>src/core-uri-handlers.js.diff original: return (win) => win.containsPath(filename) updated: const stat = fs.statSyncNoException(filename) return win => win.containsLocation({ pathToOpen: filename, exi...
} module.exports = { create (atomEnv) { return function coreURIHandler (parsed) { const config = ROUTER[parsed.pathname] if (config) { config.handler(atomEnv, parsed) } } }, windowPredicate (parsed) { const config = ROUTER[parsed.pathname] if (config && config.getWindow...
<|file_sep|>src/core-uri-handlers.js.diff original: updated: const fs = require('fs-plus') <|file_sep|>src/core-uri-handlers.js.diff original: return (win) => win.containsPath(filename) updated: const stat = fs.statSyncNoException(filename) return win => win.containsLocation({ pathToOpen: filename, exi...
2a2ef17d85f9336799c3e39249f960f75cac7cf6
src/core-uri-handlers.js
src/core-uri-handlers.js
JavaScript
<|file_sep|>original/ckanext/requestdata/templates/requestdata/my_requested_data.html {% extends "page.html" %} {% block subtitle %}{{ _('My Requests') }} - {{ super() }}{% endblock %} {% block primary %} {% snippet 'requestdata/snippets/section_base.html', state='new', title='New', requests=requests_new, template...
{% extends "page.html" %} {% block breadcrumb_content %} <li>{% link_for _('Users'), controller='user', action='index' %}</li> <li class="active"> <a href="{{ h.url_for('requestdata_my_requests', id=c.userobj.name) }}">My Requests</a> </li> {% endblock %} {% block subtitle %}{{ _('My Requests') }} - {{ supe...
<|file_sep|>original/ckanext/requestdata/templates/requestdata/my_requested_data.html {% extends "page.html" %} {% block subtitle %}{{ _('My Requests') }} - {{ super() }}{% endblock %} {% block primary %} {% snippet 'requestdata/snippets/section_base.html', state='new', title='New', requests=requests_new, template...
7b40216534e152ea5c66530fc52a799a243b253b
ckanext/requestdata/templates/requestdata/my_requested_data.html
ckanext/requestdata/templates/requestdata/my_requested_data.html
HTML
<|file_sep|>original/_posts/2016-01-01-tom-brennan-results.md <|file_sep|>current/_posts/2016-01-01-tom-brennan-results.md <|file_sep|>updated/_posts/2016-01-01-tom-brennan-results.md
--- title: 2016 Tom Brennan Memorial 5k Results location: Phoenix Park --- The day is here, dust off your racing flats and join Liffey Valley Athletic Club in the Phoenix Park for the 2016 Tom Brennan Memorial 5k. Starting at 12pm, you can enter on the day from the race tent on the Furze Road. The results of the 2016...
<|file_sep|>original/_posts/2016-01-01-tom-brennan-results.md <|file_sep|>current/_posts/2016-01-01-tom-brennan-results.md <|file_sep|>updated/_posts/2016-01-01-tom-brennan-results.md --- title: 2016 Tom Brennan Memorial 5k Results location: Phoenix Park --- The day is here, dust off your racing flats and join Liffe...
c0308e2f8f1f12e57229812b4f833d377d25e9d6
_posts/2016-01-01-tom-brennan-results.md
_posts/2016-01-01-tom-brennan-results.md
Markdown
<|file_sep|>original/_posts/2019-03-09-new-domain-and-updates.md <|file_sep|>current/_posts/2019-03-09-new-domain-and-updates.md <|file_sep|>updated/_posts/2019-03-09-new-domain-and-updates.md
--- layout: post title: A new domain and some updates comments: true --- 2018 was a busy year for me. I did an _amazing_ internship, graduated, started my first full-time gig, became involved in open source more than I had ever been, travelled and made some new friends! Graduating also meant that my university-related...
<|file_sep|>original/_posts/2019-03-09-new-domain-and-updates.md <|file_sep|>current/_posts/2019-03-09-new-domain-and-updates.md <|file_sep|>updated/_posts/2019-03-09-new-domain-and-updates.md --- layout: post title: A new domain and some updates comments: true --- 2018 was a busy year for me. I did an _amazing_ int...
03f886cd31fbfa04f8702523c235a51f34597d69
_posts/2019-03-09-new-domain-and-updates.md
_posts/2019-03-09-new-domain-and-updates.md
Markdown
<|file_sep|>original/src/utils/hitItem.ts <|file_sep|>current/src/utils/hitItem.ts <|file_sep|>updated/src/utils/hitItem.ts
import { Hit, Requester } from '../types'; import { calculateAllBadges } from './badges'; import { truncate } from './formatting'; type ExceptionStatus = 'neutral' | 'warning' | 'critical'; export interface ExceptionDescriptor { status?: ExceptionStatus; title?: string; description?: string; } const generateExc...
<|file_sep|>original/src/utils/hitItem.ts <|file_sep|>current/src/utils/hitItem.ts <|file_sep|>updated/src/utils/hitItem.ts import { Hit, Requester } from '../types'; import { calculateAllBadges } from './badges'; import { truncate } from './formatting'; type ExceptionStatus = 'neutral' | 'warning' | 'critical'; exp...
3d0b74a97b43d942d40742e80c01562291994460
src/utils/hitItem.ts
src/utils/hitItem.ts
TypeScript
<|file_sep|>original/.travis.yml language: csharp solution: src/SparkPost.sln -install: - nuget restore src/SparkPost.sln - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner <|file_sep|>current/.travis.yml language: csharp solution: src/SparkPost.sln -install: - nuget restore src/SparkPost.sl...
language: csharp solution: src/SparkPost.sln -install: - nuget restore src/SparkPost.sln - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner -script: - xbuild /p:Configuration=Release src/SparkPost.sln
<|file_sep|>original/.travis.yml language: csharp solution: src/SparkPost.sln -install: - nuget restore src/SparkPost.sln - nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner <|file_sep|>current/.travis.yml language: csharp solution: src/SparkPost.sln -install: - nuget restore src/SparkPost.sl...
0eb81edddc2fb9b707cfa8be0c8e447fc6d9789f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/test_command_version.py import sys from twisted.trial import unittest from twisted.internet import defer import scrapy from scrapy.utils.testproc import ProcessTest class VersionTest(ProcessTest, unittest.TestCase): command = 'version' @defer.inlineCallbacks def test_output(s...
class VersionTest(ProcessTest, unittest.TestCase): command = 'version' @defer.inlineCallbacks def test_output(self): encoding = getattr(sys.stdout, 'encoding') or 'utf-8' _, out, _ = yield self.execute([]) self.assertEqual( out.strip().decode(encoding), "S...
<|file_sep|>original/tests/test_command_version.py import sys from twisted.trial import unittest from twisted.internet import defer import scrapy from scrapy.utils.testproc import ProcessTest class VersionTest(ProcessTest, unittest.TestCase): command = 'version' @defer.inlineCallbacks def test_output(s...
43fc2f23b80083f89ae1e982bfdee5d4e0322556
tests/test_command_version.py
tests/test_command_version.py
Python
<|file_sep|>client/src/components/SendMessage.js.diff original: updated: onKeyDown(event) { // console.log("KEYDOWN", event.type, event.which); if(event.which === 9) { // Tab event.preventDefault(); // TODO: autocomplete user names } else if(event.which === 186) { // ':' // ...
// ':' // TODO: bring up emoji preview } return; } render() { return ( <div className="SendMessage"> <form onSubmit={this.sendMessage.bind(this)}> <input type="text" ref="message" placeholder="Type a message..." autoCom...
<|file_sep|>client/src/components/SendMessage.js.diff original: updated: onKeyDown(event) { // console.log("KEYDOWN", event.type, event.which); if(event.which === 9) { // Tab event.preventDefault(); // TODO: autocomplete user names } else if(event.which === 186) { // ':' // ...
2d46791881bcc90575933810f08f85f38813a050
client/src/components/SendMessage.js
client/src/components/SendMessage.js
JavaScript
<|file_sep|>original/stm/usart.h typedef enum { PYB_USART_NONE = 0, PYB_USART_1 = 1, PYB_USART_2 = 2, PYB_USART_3 = 3, PYB_USART_6 = 4, PYB_USART_MAX = 4, } pyb_usart_t; extern pyb_usart_t pyb_usart_global_debug; void usart_init(pyb_usart_t usart_id, uint32_t baudrate); bool usart_rx_any(pyb_u...
typedef enum { PYB_USART_NONE = 0, PYB_USART_1 = 1, PYB_USART_2 = 2, PYB_USART_3 = 3, PYB_USART_6 = 4, PYB_USART_MAX = 4, //PYB_USART_XA = // USART4 on X1, X2 = PA0, PA1 PYB_USART_XB = 1, // USART1 on X9, X10 = PB6, PB7 PYB_USART_YA = 4, // USART6 on Y1, Y2 = PC6, PC7 PYB_USART...
<|file_sep|>original/stm/usart.h typedef enum { PYB_USART_NONE = 0, PYB_USART_1 = 1, PYB_USART_2 = 2, PYB_USART_3 = 3, PYB_USART_6 = 4, PYB_USART_MAX = 4, } pyb_usart_t; extern pyb_usart_t pyb_usart_global_debug; void usart_init(pyb_usart_t usart_id, uint32_t baudrate); bool usart_rx_any(pyb_u...
ee462489f1da5ea332851843d10541594f6fc7b0
stm/usart.h
stm/usart.h
C
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.0 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.4 pytest==3.5.1 pytest-runner==4.2 faker==0.8.13 pandas==0.22.0 sphinxcontrib-napoleon==0.6.1 tqdm==4.23.3 pytest-benchmark==3.1.1 networkx==2.1 <|file_sep|>current...
pip==10.0.1 bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.4 pytest==3.5.1 pytest-runner==4.2 faker==0.8.13 pandas==0.22.0 sphinxcontrib-napoleon==0.6.1 tqdm==4.23.3 pytest-benchmark==3.1.1 networkx==2.1
<|file_sep|>original/requirements_dev.txt pip==10.0.1 bumpversion==0.5.3 wheel==0.31.0 watchdog==0.8.3 flake8==3.5.0 tox==3.0.0 coverage==4.5.1 Sphinx==1.7.4 pytest==3.5.1 pytest-runner==4.2 faker==0.8.13 pandas==0.22.0 sphinxcontrib-napoleon==0.6.1 tqdm==4.23.3 pytest-benchmark==3.1.1 networkx==2.1 <|file_sep|>current...
16c3439a0b4841c503f92a4c47fc1456023ae134
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/Wikipedia/Code/WMFProxyServer.h #import <Foundation/Foundation.h> @interface WMFProxyServer : NSObject @property (nonatomic, readonly, getter=isRunning) BOOL running; - (void)start; + (WMFProxyServer *)sharedProxyServer; - (NSString *)localFilePathForRelativeFilePath:(NSString *)relativeFilePa...
@interface WMFProxyServer : NSObject @property (nonatomic, readonly, getter=isRunning) BOOL running; - (void)start; + (WMFProxyServer *)sharedProxyServer; - (NSString *)localFilePathForRelativeFilePath:(NSString *)relativeFilePath; //path for writing files to the file proxy's server - (NSURL *)proxyURLForRelative...
<|file_sep|>original/Wikipedia/Code/WMFProxyServer.h #import <Foundation/Foundation.h> @interface WMFProxyServer : NSObject @property (nonatomic, readonly, getter=isRunning) BOOL running; - (void)start; + (WMFProxyServer *)sharedProxyServer; - (NSString *)localFilePathForRelativeFilePath:(NSString *)relativeFilePa...
b5cb1f3cbf4cf94304c931419bd707ca6e60edcf
Wikipedia/Code/WMFProxyServer.h
Wikipedia/Code/WMFProxyServer.h
C
<|file_sep|>original/LICENSE.txt Copyright (c) 2009, FERMI NATIONAL ACCELERATOR LABORATORY All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copy...
Copyright (c) 2010, FERMI NATIONAL ACCELERATOR LABORATORY All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of ...
<|file_sep|>original/LICENSE.txt Copyright (c) 2009, FERMI NATIONAL ACCELERATOR LABORATORY All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copy...
00f7989efa7f9e464ee236803e7564c15e7b45a1
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/app/controllers/listen_controller.rb class ListenController < ApplicationController layout false def redirect @icy_metadata = request.env['HTTP_ICY_METADATA'] if $ICECAST_SERVER stream_server = $ICECAST_SERVER elsif request.host != default_url_options.to_h[:host] strea...
class ListenController < ApplicationController layout false def redirect @icy_metadata = request.env['HTTP_ICY_METADATA'] if $ICECAST_SERVER stream_server = $ICECAST_SERVER elsif request.host != default_url_options.to_h[:host] stream_server = 'cdnstream.phate.io' # elsif @icy_metadata....
<|file_sep|>original/app/controllers/listen_controller.rb class ListenController < ApplicationController layout false def redirect @icy_metadata = request.env['HTTP_ICY_METADATA'] if $ICECAST_SERVER stream_server = $ICECAST_SERVER elsif request.host != default_url_options.to_h[:host] strea...
6757dc3779e0c6da23f506950cf9325e9c9162fa
app/controllers/listen_controller.rb
app/controllers/listen_controller.rb
Ruby
<|file_sep|>original/examples/create_vm/create_vm_example.yaml <|file_sep|>current/examples/create_vm/create_vm_example.yaml <|file_sep|>updated/examples/create_vm/create_vm_example.yaml
# For get this work, please provide next properties to execution context: # - novaUrl ## url to Nova service, e.g. http://0.0.0.0:8774/v3 # - server_name ## Name you want to give to new instance # - image_id ## image id from Glance service # - flavor_id ## flavor id - type of instance hardware # - network_id ## netwo...
<|file_sep|>original/examples/create_vm/create_vm_example.yaml <|file_sep|>current/examples/create_vm/create_vm_example.yaml <|file_sep|>updated/examples/create_vm/create_vm_example.yaml # For get this work, please provide next properties to execution context: # - novaUrl ## url to Nova service, e.g. http://0.0.0.0:...
6e1458c5614df400ea4c14dfcb4fb010ec49b587
examples/create_vm/create_vm_example.yaml
examples/create_vm/create_vm_example.yaml
YAML
<|file_sep|>lib/yira.rb.diff original: def get_url url updated: def run_curl type, *params <|file_sep|>lib/yira.rb.diff original: args << "GET" updated: args << type <|file_sep|>lib/yira.rb.diff original: args << qq(url) puts "args: #{args}" updated: args.concat params <|file_sep|>lib/yira.rb.di...
# puts contents JSON.parse contents end def get_url url run_curl "GET", url end def post_url data, url run_curl "POST", "--data", q(data), url end def q str "'" + str + "'" end def qq str '"' + str + '"' end end
<|file_sep|>lib/yira.rb.diff original: def get_url url updated: def run_curl type, *params <|file_sep|>lib/yira.rb.diff original: args << "GET" updated: args << type <|file_sep|>lib/yira.rb.diff original: args << qq(url) puts "args: #{args}" updated: args.concat params <|file_sep|>lib/yira.rb.di...
3fa6b8cd99fe6e4e0603aba394b94319f6f52a65
lib/yira.rb
lib/yira.rb
Ruby
<|file_sep|>original/.travis.yml pep8 python-docutils python-flask python-gobject python-jinja2 python-nose python-numpy python-opencv python-yaml tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng xdotool xse...
python-opencv python-yaml tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng xdotool xserver-xorg-video-dummy xterm - sudo pip install isort pylint==1.1.0 - git clone http://git.chromium.org/webm/webminspector.git ~/webminspector - wget http://ftpmirror....
<|file_sep|>original/.travis.yml pep8 python-docutils python-flask python-gobject python-jinja2 python-nose python-numpy python-opencv python-yaml tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng xdotool xse...
b46b3939a666e887399bb83e45eb433f92f32a90
.travis.yml
.travis.yml
YAML
<|file_sep|>UnityProject/Assets/Scripts/Messages/Server/LocalGuiMessages/AntagBannerMessage.cs.diff original: updated: using Audio.Managers; using Mirror; <|file_sep|>UnityProject/Assets/Scripts/Messages/Server/LocalGuiMessages/AntagBannerMessage.cs.diff original: private bool playSound; updated: private bool Play...
AntagName = reader.ReadString(); AntagSound = reader.ReadString(); TextColor = reader.ReadColor(); BackgroundColor = reader.ReadColor(); PlaySound = reader.ReadBoolean(); } public override void Process() { UIManager.Instance.antagBanner.Show(AntagName, TextColor, BackgroundColor); if (PlayS...
<|file_sep|>UnityProject/Assets/Scripts/Messages/Server/LocalGuiMessages/AntagBannerMessage.cs.diff original: updated: using Audio.Managers; using Mirror; <|file_sep|>UnityProject/Assets/Scripts/Messages/Server/LocalGuiMessages/AntagBannerMessage.cs.diff original: private bool playSound; updated: private bool Play...
6e619e83f3f7cd886c56441489a82d8dcf45e1b4
UnityProject/Assets/Scripts/Messages/Server/LocalGuiMessages/AntagBannerMessage.cs
UnityProject/Assets/Scripts/Messages/Server/LocalGuiMessages/AntagBannerMessage.cs
C#
<|file_sep|>index.html.diff original: updated: <!-- Container to hold all the elements of the page --> <div class="container" role="presentation"> <|file_sep|>original/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="x-ua-compatible" content="IE=Edge"> <me...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="x-ua-compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale-1.0"> <!-- Bootstrap css files --> <link rel="stylesheet" href="css/bootstrap.min.css"> <title>Vishal Lama | Portf...
<|file_sep|>index.html.diff original: updated: <!-- Container to hold all the elements of the page --> <div class="container" role="presentation"> <|file_sep|>original/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="x-ua-compatible" content="IE=Edge"> <me...
dde58bd1d65132728ef0612229d679f58340d2f1
index.html
index.html
HTML
<|file_sep|>original/.travis.yml sudo: false language: ruby cache: bundler: true directories: - tmp/cache/assets/test rvm: - 2.3.0 before_script: - "./bin/rake db:setup RAILS_ENV=test" <|file_sep|>current/.travis.yml sudo: false language: ruby cache: bundler: true directories: - tmp/cache/assets/test rvm: -...
sudo: false language: ruby cache: bundler: true directories: - tmp/cache/assets/test rvm: - 2.3.0 before_script: - "./bin/rake db:setup RAILS_ENV=test" deploy: provider: heroku api_key: secure: EmgSexQs5anGHJccSSNsPWG0WSQWUrgFfLuPiE+h1UtExWyuvIxl8b0mjpXnR43DsfsIkQ9ObqSmCi7dfuUniodTxWP8d0d1u+yoKhIAVwgUOiEj...
<|file_sep|>original/.travis.yml sudo: false language: ruby cache: bundler: true directories: - tmp/cache/assets/test rvm: - 2.3.0 before_script: - "./bin/rake db:setup RAILS_ENV=test" <|file_sep|>current/.travis.yml sudo: false language: ruby cache: bundler: true directories: - tmp/cache/assets/test rvm: -...
a3536f96ddcfd72a9e390d588d4ff3848efbdd56
.travis.yml
.travis.yml
YAML
<|file_sep|>original/layout/default/css/function.link.less .link { &:hover { text-decoration: none; > .label { text-decoration: underline; } } &.hasIcon.hasLabel > .label { margin-left: 4px; } } <|file_sep|>current/layout/default/css/function.link.less .link { &:hover { text-decora...
.link { &:hover { text-decoration: none; > .label { text-decoration: underline; } } &.hasIcon.hasLabel > .icon { margin-right: 5px; } }
<|file_sep|>original/layout/default/css/function.link.less .link { &:hover { text-decoration: none; > .label { text-decoration: underline; } } &.hasIcon.hasLabel > .label { margin-left: 4px; } } <|file_sep|>current/layout/default/css/function.link.less .link { &:hover { text-decora...
93908953bc426eb13562615a39731f7fd2fcdf57
layout/default/css/function.link.less
layout/default/css/function.link.less
Less
<|file_sep|>original/.github/workflows/manual-release.yml <|file_sep|>current/.github/workflows/manual-release.yml <|file_sep|>updated/.github/workflows/manual-release.yml
# Match release tags on master branch name: Manual-Release on: workflow_dispatch: inputs: publish: description: 'Publish manual release to PyPI' default: false jobs: release: runs-on: ubuntu-latest name: Build release package steps: - uses: actions/checkout@v2 -...
<|file_sep|>original/.github/workflows/manual-release.yml <|file_sep|>current/.github/workflows/manual-release.yml <|file_sep|>updated/.github/workflows/manual-release.yml # Match release tags on master branch name: Manual-Release on: workflow_dispatch: inputs: publish: description: 'Publish manu...
e68e0ce40316a446593e9b271232779870e01715
.github/workflows/manual-release.yml
.github/workflows/manual-release.yml
YAML
<|file_sep|>original/lib/comptroller/claim_error.rb module Comptroller class ClaimError include Her::Model use_api BILLING_API collection_path '/duxware_errors' def eql?(other) id.eql? other.id end end end <|file_sep|>current/lib/comptroller/claim_error.rb module Comptroller class Clai...
module Comptroller class ClaimError include Her::Model use_api BILLING_API collection_path '/duxware_errors' include_root_in_json true def eql?(other) id.eql? other.id end end end
<|file_sep|>original/lib/comptroller/claim_error.rb module Comptroller class ClaimError include Her::Model use_api BILLING_API collection_path '/duxware_errors' def eql?(other) id.eql? other.id end end end <|file_sep|>current/lib/comptroller/claim_error.rb module Comptroller class Clai...
497138dd31b75e2ea94b4554ec7fa7f472ebc8fb
lib/comptroller/claim_error.rb
lib/comptroller/claim_error.rb
Ruby
<|file_sep|>themes/gianu/README.md.diff original: Original theme made by gianu for oh-my-zsh, converted to oh-my-fish by JBarberU updated: Original theme made by [gianu](https://github.com/gianu) for oh-my-zsh, converted to oh-my-fish by [JBarberU](https://github.com/JBarberU) <|file_sep|>original/themes/gianu/README.m...
## Gianu Original theme made by [gianu](https://github.com/gianu) for oh-my-zsh, converted to oh-my-fish by [JBarberU](https://github.com/JBarberU) ![gianu theme](http://static.laserkitten.se/oh-my-fish_gianu.png) #### Characteristics Displays: * Username and hostname * Working directory * Git information when av...
<|file_sep|>themes/gianu/README.md.diff original: Original theme made by gianu for oh-my-zsh, converted to oh-my-fish by JBarberU updated: Original theme made by [gianu](https://github.com/gianu) for oh-my-zsh, converted to oh-my-fish by [JBarberU](https://github.com/JBarberU) <|file_sep|>original/themes/gianu/README.m...
8ef6294f81bfeebf10c19fc4dc50039dd3a6501a
themes/gianu/README.md
themes/gianu/README.md
Markdown
<|file_sep|>original/lib/labwiki/authentication/none.rb def initialize(opts) super @identity_url = "https://localhost?id=xxx" if (@debug_user = LabWiki::Configurator['debug/user']) # keys have been symbolised, put them back into strings du = @debug_user @debu...
def initialize(opts) super @identity_url = "https://localhost?id=xxx" if (@debug_user = LabWiki::Configurator['debug/user']) # keys have been symbolised, put them back into strings du = @debug_user @debug_user = {} du.each {|k, v| @debug_user[k.to_s...
<|file_sep|>original/lib/labwiki/authentication/none.rb def initialize(opts) super @identity_url = "https://localhost?id=xxx" if (@debug_user = LabWiki::Configurator['debug/user']) # keys have been symbolised, put them back into strings du = @debug_user @debu...
e05cf07ce26ab9c9c878980053097b124a4d7f0c
lib/labwiki/authentication/none.rb
lib/labwiki/authentication/none.rb
Ruby
<|file_sep|>original/OOP/Homeworks/ExtensionMethodsDelegatesLambdaLINQ/StudentsTask/Student.cs namespace StudentsTask { using System; using System.Collections.Generic; using System.Linq; public class Student { public const int MinAgeOfStudent = 6; private string firstName; ...
// Problem 3. First before last // Write a method that from a given array of students finds all students whose first name is before its last name alphabetically. // Use LINQ query operators. // Problem 4. Age range // Write a LINQ query that finds the first name and last name of all students with age between 1...
<|file_sep|>original/OOP/Homeworks/ExtensionMethodsDelegatesLambdaLINQ/StudentsTask/Student.cs namespace StudentsTask { using System; using System.Collections.Generic; using System.Linq; public class Student { public const int MinAgeOfStudent = 6; private string firstName; ...
8d9f1b9cf0a416c77a68695247963e1d7ff3adcf
OOP/Homeworks/ExtensionMethodsDelegatesLambdaLINQ/StudentsTask/Student.cs
OOP/Homeworks/ExtensionMethodsDelegatesLambdaLINQ/StudentsTask/Student.cs
C#
<|file_sep|>original/modules/lang/scala/packages.el ;; -*- no-byte-compile: t; -*- ;;; lang/scala/packages.el (package! sbt-mode :pin "633a315ad4") (package! scala-mode :pin "46bb948345") <|file_sep|>current/modules/lang/scala/packages.el ;; -*- no-byte-compile: t; -*- ;;; lang/scala/packages.el (package! sbt-mode :p...
;; -*- no-byte-compile: t; -*- ;;; lang/scala/packages.el (package! sbt-mode :pin "633a315ad4") (package! scala-mode :pin "46bb948345") (when (featurep! +lsp) (package! lsp-metals :pin "5468b638cd81b7d9ce9edc652c281b28bd775c23"))
<|file_sep|>original/modules/lang/scala/packages.el ;; -*- no-byte-compile: t; -*- ;;; lang/scala/packages.el (package! sbt-mode :pin "633a315ad4") (package! scala-mode :pin "46bb948345") <|file_sep|>current/modules/lang/scala/packages.el ;; -*- no-byte-compile: t; -*- ;;; lang/scala/packages.el (package! sbt-mode :p...
b80f5daf5965ca4b8db6a4fb4d3b6eb324627d6f
modules/lang/scala/packages.el
modules/lang/scala/packages.el
Emacs Lisp
<|file_sep|>original/.travis.yml language: python python: - '3.5' - '3.6' env: - HASS=0.85.1 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config <|file_sep|>current/.travis.yml language: python python: - '3.5' - '3.6...
language: python python: - '3.5' - '3.6' env: - HASS=0.88.1 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config
<|file_sep|>original/.travis.yml language: python python: - '3.5' - '3.6' env: - HASS=0.85.1 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config <|file_sep|>current/.travis.yml language: python python: - '3.5' - '3.6...
fabcfc2368c58f4be98e0854b58feb85eb00bfc9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml documentation = "http://alexcrichton.com/futures-rs/futures/" description = """ An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces. """ [workspace] members = [ "futures-tls", "futures-io", "futures-mio", "futures-iobu...
homepage = "https://github.com/alexcrichton/futures-rs" documentation = "http://alexcrichton.com/futures-rs/futures/" description = """ An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces. """ [workspace] members = [ "futures-tls", "futures-io", "futur...
<|file_sep|>original/Cargo.toml documentation = "http://alexcrichton.com/futures-rs/futures/" description = """ An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces. """ [workspace] members = [ "futures-tls", "futures-io", "futures-mio", "futures-iobu...
eea640dd88f34bb658f5c10b6266225c820ba24a
Cargo.toml
Cargo.toml
TOML
<|file_sep|>src/main.rs.diff original: updated: extern crate serde_json; <|file_sep|>src/main.rs.diff original: updated: use serde_json::*; <|file_sep|>src/main.rs.diff original: updated: use silkthread_toolkit::io::tool::*; <|file_sep|>src/main.rs.diff original: // Display header updated: // Display a head...
use silkthread_toolkit::io::tool::*; fn main() { // Start up let main_env = DynamicEnvironment::new(); main_env.import(IoTools::new_stdio()); // Display a header let print_string = main_env.get_typed_tool::<String, ()>("print").unwrap(); print_string.invoke(format!("{} {} by {}\n", env!("CARGO...
<|file_sep|>src/main.rs.diff original: updated: extern crate serde_json; <|file_sep|>src/main.rs.diff original: updated: use serde_json::*; <|file_sep|>src/main.rs.diff original: updated: use silkthread_toolkit::io::tool::*; <|file_sep|>src/main.rs.diff original: // Display header updated: // Display a head...
37508e1e12755366edaa33708b2f0f43397a845b
src/main.rs
src/main.rs
Rust
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.1 - 2.2 - 2.1 - 2.0 matrix: # Rubinius periodically fails in general, and it always segfaults for RuboCop # in particular. Until we figure out how to make it work consistently, allow # it to fail without breaking the build. allow_failu...
language: ruby rvm: - 2.5.1 - 2.4.4 - 2.3.7 - 2.2 - 2.1 - 2.0 matrix: # Rubinius periodically fails in general, and it always segfaults for RuboCop # in particular. Until we figure out how to make it work consistently, allow # it to fail without breaking the build. allow_failures: - rvm: rbx-2 ...
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.1 - 2.2 - 2.1 - 2.0 matrix: # Rubinius periodically fails in general, and it always segfaults for RuboCop # in particular. Until we figure out how to make it work consistently, allow # it to fail without breaking the build. allow_failu...
ef9ba83b65462f2aeda421a1ccb22aede7c72fe7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/blog/guides/getting-started-with-cleverstack.html <|file_sep|>current/docs/blog/guides/getting-started-with-cleverstack.html <|file_sep|>updated/docs/blog/guides/getting-started-with-cleverstack.html
--- layout: default title: Getting started with CleverStack slug: /blog/guides/getting-started-with-cleverstack lead: "CleverStack Blog" --- <script type="text/javascript">!function(t,e,n){function a(t){var a=e.createElement("script");a.type="text/javascript" ,a.async=!0,a.src=("https:"===e.location.protocol?"https":...
<|file_sep|>original/docs/blog/guides/getting-started-with-cleverstack.html <|file_sep|>current/docs/blog/guides/getting-started-with-cleverstack.html <|file_sep|>updated/docs/blog/guides/getting-started-with-cleverstack.html --- layout: default title: Getting started with CleverStack slug: /blog/guides/getting-start...
c11ecd76b7aae1f6e788745c98a06fefab76aed2
docs/blog/guides/getting-started-with-cleverstack.html
docs/blog/guides/getting-started-with-cleverstack.html
HTML
<|file_sep|>original/requirements_test.txt coverage==4.4 mock>=1.0.1 flake8==3.3.0 tox==2.7.0 codecov>=2.0.0 <|file_sep|>current/requirements_test.txt coverage==4.4 mock>=1.0.1 flake8==3.3.0 tox==2.7.0 codecov>=2.0.0 <|file_sep|>updated/requirements_test.txt
coverage==4.4.1 mock>=1.0.1 flake8==3.3.0 tox==2.7.0 codecov>=2.0.0
<|file_sep|>original/requirements_test.txt coverage==4.4 mock>=1.0.1 flake8==3.3.0 tox==2.7.0 codecov>=2.0.0 <|file_sep|>current/requirements_test.txt coverage==4.4 mock>=1.0.1 flake8==3.3.0 tox==2.7.0 codecov>=2.0.0 <|file_sep|>updated/requirements_test.txt coverage==4.4.1 mock>=1.0.1 flake8==3.3.0 tox==2.7.0 codecov>...
dd9971a80d572bf4550ffd18295aedbf16576c34
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/requirements.txt Twisted==13.2.0 cyclone==1.1 Storm==0.20 transaction==1.4.3 txsocksx==1.13.0.3 cryptography==0.4 scrypt==0.6.1 python_gnupg==0.3.6 zope.component==4.2.1 <|file_sep|>current/requirements.txt Twisted==13.2.0 cyclone==1.1 Storm==0.20 transaction==1.4.3 txsocksx==1.13.0.3 cryptography=...
Twisted==13.2.0 cyclone==1.1 Storm==0.20 transaction==1.4.3 txsocksx==1.13.0.3 cryptography==0.5 scrypt==0.6.1 python_gnupg==0.3.6 zope.component==4.2.1
<|file_sep|>original/requirements.txt Twisted==13.2.0 cyclone==1.1 Storm==0.20 transaction==1.4.3 txsocksx==1.13.0.3 cryptography==0.4 scrypt==0.6.1 python_gnupg==0.3.6 zope.component==4.2.1 <|file_sep|>current/requirements.txt Twisted==13.2.0 cyclone==1.1 Storm==0.20 transaction==1.4.3 txsocksx==1.13.0.3 cryptography=...
1caee5868020248fa1cde3f7fb2313ed758aec6a
requirements.txt
requirements.txt
Text
<|file_sep|>config/maintainers.json.diff original: "show_on_website": false, updated: "show_on_website": true, <|file_sep|>config/maintainers.json.diff original: "name": null, updated: "name": "Ric Emery", <|file_sep|>original/config/maintainers.json "link_text": null, "link_url": nu...
{ "github_username": "sgrif", "alumnus": true }, { "github_username": "ricemery", "show_on_website": true, "alumnus": false, "name": "Ric Emery", "bio": null, "link_text": null, "link_url": null, "avatar_url": null }, { "github_userna...
<|file_sep|>config/maintainers.json.diff original: "show_on_website": false, updated: "show_on_website": true, <|file_sep|>config/maintainers.json.diff original: "name": null, updated: "name": "Ric Emery", <|file_sep|>original/config/maintainers.json "link_text": null, "link_url": nu...
e07b560023e1f1f2d29b9d8df63a459fe8c6faf1
config/maintainers.json
config/maintainers.json
JSON
<|file_sep|>original/src/app/Console/Commands/testCommand.php <|file_sep|>current/src/app/Console/Commands/testCommand.php <|file_sep|>updated/src/app/Console/Commands/testCommand.php
<?php namespace App\Console\Commands; use Illuminate\Console\Command; class testCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'mp3:greet'; /** * The console command description. * * @var string */ protected $...
<|file_sep|>original/src/app/Console/Commands/testCommand.php <|file_sep|>current/src/app/Console/Commands/testCommand.php <|file_sep|>updated/src/app/Console/Commands/testCommand.php <?php namespace App\Console\Commands; use Illuminate\Console\Command; class testCommand extends Command { /** * The name and ...
dde18248f8a17ee8cc2c0977a00204cc50a31b66
src/app/Console/Commands/testCommand.php
src/app/Console/Commands/testCommand.php
PHP
<|file_sep|>package.json.diff original: updated: "babelify": "^7.2.0", <|file_sep|>original/package.json "repository": { "type": "git", "url": "git+https://github.com/lucified/lucify-component-builder.git" }, "license": "MIT", "dependencies": { "browser-sync": "^2.9.7", "deepcopy": "^0.5.0"...
"repository": { "type": "git", "url": "git+https://github.com/lucified/lucify-component-builder.git" }, "license": "MIT", "dependencies": { "babelify": "^7.2.0", "browser-sync": "^2.9.7", "deepcopy": "^0.5.0", "del": "^2.0.2", "gulp": "gulpjs/gulp#4.0", "gulp-load-plugins": "^0.1...
<|file_sep|>package.json.diff original: updated: "babelify": "^7.2.0", <|file_sep|>original/package.json "repository": { "type": "git", "url": "git+https://github.com/lucified/lucify-component-builder.git" }, "license": "MIT", "dependencies": { "browser-sync": "^2.9.7", "deepcopy": "^0.5.0"...
079b140d003fc2e769d62fc1b2b1c7627368759d
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.5" - "3.6" install: - pip install pipenv - pipenv install --dev script: nosetests --with-coverage --cover-package=pybib --cover-branches --rednose <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3....
language: python python: - "2.7" - "3.6" install: - pip install pipenv - pipenv install --dev script: nosetests --with-coverage --cover-package=pybib --cover-branches --rednose
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.5" - "3.6" install: - pip install pipenv - pipenv install --dev script: nosetests --with-coverage --cover-package=pybib --cover-branches --rednose <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3....
def0a4675f14898b63164aa22ede560e2c5016c6
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php.diff original: * @return \Illuminate\Http\Response updated: * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse <|file_sep|>original/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php class EnsureEmailIsVerified { ...
* Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse */ public function handle($request, Closure $next) { if (! $request->user() || ($request-...
<|file_sep|>src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php.diff original: * @return \Illuminate\Http\Response updated: * @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse <|file_sep|>original/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php class EnsureEmailIsVerified { ...
0e23b6afa4d1d8b440ce7696a23fa770b4f7e5e3
src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php
src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php
PHP
<|file_sep|>original/fm-workbench/releng/fm-workbench.build/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <mode...
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>osate2</artifa...
<|file_sep|>original/fm-workbench/releng/fm-workbench.build/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <mode...
f74d37ad9149ccf3272912ba6504e9cba57a5157
fm-workbench/releng/fm-workbench.build/pom.xml
fm-workbench/releng/fm-workbench.build/pom.xml
XML
<|file_sep|>original/view/atp-core/admin/parameter-list.phtml </h2> <div id="admin-tabs"> <ul> <?php foreach(array_keys($params) as $group) { ?> <li><a href="#<?=$group?>-tab"><?=$group?></a></li> <?php } ?> </ul> <?php foreach($params as $group => $paramList) { ?> <div id="<?=$group?>-tab"> ...
<ul> <?php foreach(array_keys($params) as $group) { ?> <li><a href="#<?=$group?>-tab"><?=$group?></a></li> <?php } ?> </ul> <?php foreach($params as $group => $paramList) { ?> <div id="<?=$group?>-tab"> <div class="admin-edit model-edit-form"> <?php foreach($paramList as $id => $param) {...
<|file_sep|>original/view/atp-core/admin/parameter-list.phtml </h2> <div id="admin-tabs"> <ul> <?php foreach(array_keys($params) as $group) { ?> <li><a href="#<?=$group?>-tab"><?=$group?></a></li> <?php } ?> </ul> <?php foreach($params as $group => $paramList) { ?> <div id="<?=$group?>-tab"> ...
071440b7c3991ed78ca4005f2fc2437e7c5cc9f4
view/atp-core/admin/parameter-list.phtml
view/atp-core/admin/parameter-list.phtml
HTML+PHP
<|file_sep|>original/requirements/base.txt git+git://github.com/liqd/adhocracy4.git@master Django>=1.8,<1.9 # pyup: >=1.8,<1.9 wagtail==1.9.0 django-allauth==0.31.0 django-ckeditor==5.1.1 django-filter==1.0.1 django-widget-tweaks==1.4.1 easy-thumbnails==2.3 django-autoslug==1.9.3 rules==1.1.1 python-magic==0.4.12 html5...
git+git://github.com/liqd/adhocracy4.git@master Django>=1.8,<1.9 # pyup: >=1.8,<1.9 wagtail==1.9.0 django-allauth==0.31.0 django-ckeditor==5.2.2 django-filter==1.0.1 django-widget-tweaks==1.4.1 easy-thumbnails==2.3 django-autoslug==1.9.3 rules==1.1.1 python-magic==0.4.12 html5lib==0.9999999 bleach==1.4.3 # django multi...
<|file_sep|>original/requirements/base.txt git+git://github.com/liqd/adhocracy4.git@master Django>=1.8,<1.9 # pyup: >=1.8,<1.9 wagtail==1.9.0 django-allauth==0.31.0 django-ckeditor==5.1.1 django-filter==1.0.1 django-widget-tweaks==1.4.1 easy-thumbnails==2.3 django-autoslug==1.9.3 rules==1.1.1 python-magic==0.4.12 html5...
be0836d0ad71cc5f8282cee994a564c5ab656bb7
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/.circleci/config.yml # this can be removed name: Locate site Packages command: python -c "import site; print(site.getsitepackages())" - save_cache: key: projectname-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} paths: - "~/.c...
command: python -c "import site; print(site.getsitepackages())" - save_cache: key: projectname-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} paths: - "~/.cache/pip" - "/usr/local/lib/python3.6/site-packages" - run: name: Run Tests ...
<|file_sep|>original/.circleci/config.yml # this can be removed name: Locate site Packages command: python -c "import site; print(site.getsitepackages())" - save_cache: key: projectname-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} paths: - "~/.c...
bcc41dc4f1f2e7114344a0e63df9d16e8d168441
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/hieradata/common/modules/openstack_extras.yaml --- openstack_extras::repo::redhat::redhat::purge_unmanaged: true openstack_extras::repo::redhat::redhat::package_require: true openstack_extras::repo::redhat::redhat::manage_epel: false openstack_extras::repo::redhat::redhat::manage_rdo: ...
--- openstack_extras::repo::redhat::redhat::purge_unmanaged: true openstack_extras::repo::redhat::redhat::package_require: true openstack_extras::repo::redhat::redhat::manage_epel: false openstack_extras::repo::redhat::redhat::manage_rdo: false openstack_extras::repo::redhat::redhat::manage_virt: ...
<|file_sep|>original/hieradata/common/modules/openstack_extras.yaml --- openstack_extras::repo::redhat::redhat::purge_unmanaged: true openstack_extras::repo::redhat::redhat::package_require: true openstack_extras::repo::redhat::redhat::manage_epel: false openstack_extras::repo::redhat::redhat::manage_rdo: ...
45485954223502c443b33567ec38e5efde31f0c3
hieradata/common/modules/openstack_extras.yaml
hieradata/common/modules/openstack_extras.yaml
YAML
<|file_sep|>skimage/viewer/__init__.py.diff original: updated: import warnings <|file_sep|>skimage/viewer/__init__.py.diff original: from .qt import QtGui as _QtGui updated: from .viewers import ImageViewer, CollectionViewer <|file_sep|>original/skimage/viewer/__init__.py try: from .qt import QtGui as _QtG...
import warnings try: from .viewers import ImageViewer, CollectionViewer except ImportError as e: warnings.warn('Viewer requires Qt')
<|file_sep|>skimage/viewer/__init__.py.diff original: updated: import warnings <|file_sep|>skimage/viewer/__init__.py.diff original: from .qt import QtGui as _QtGui updated: from .viewers import ImageViewer, CollectionViewer <|file_sep|>original/skimage/viewer/__init__.py try: from .qt import QtGui as _QtG...
8d40cbd1d2cf431454dcfd9a9088be73687e7c1a
skimage/viewer/__init__.py
skimage/viewer/__init__.py
Python
<|file_sep|>original/spec/acceptance/node_exporter_spec.rb <|file_sep|>current/spec/acceptance/node_exporter_spec.rb <|file_sep|>updated/spec/acceptance/node_exporter_spec.rb
require 'spec_helper_acceptance' describe 'prometheus node_exporter' do it 'node_exporter works idempotently with no errors' do if default[:platform] =~ %r{ubuntu-18.04-amd64} pp = "package{'iproute2': ensure => present}" apply_manifest(pp, catch_failures: true) end pp = 'include prometheus::...
<|file_sep|>original/spec/acceptance/node_exporter_spec.rb <|file_sep|>current/spec/acceptance/node_exporter_spec.rb <|file_sep|>updated/spec/acceptance/node_exporter_spec.rb require 'spec_helper_acceptance' describe 'prometheus node_exporter' do it 'node_exporter works idempotently with no errors' do if defau...
f5f1a6e1226207e8d6219254b43b3595d175d50c
spec/acceptance/node_exporter_spec.rb
spec/acceptance/node_exporter_spec.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" install: - pip install tox-travis script: tox <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" install: - pip install tox-travis script: tox <|file_sep|>updated/.travis.yml
sudo: false language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" install: - pip install tox-travis script: tox
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" install: - pip install tox-travis script: tox <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" install: - pip install tox-travis script: tox <|file_sep|>updated/.travis.yml sudo: false language: python pyth...
121ded933b7dd328f5612e03b83ef18825373857
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ideas_for_future_posts/index.md <|file_sep|>current/ideas_for_future_posts/index.md <|file_sep|>updated/ideas_for_future_posts/index.md
--- layout: default title: Ideas For Future Posts --- # Ideas For Future Posts ## Emacs and RVM Iron out issues getting my terminal in Emacs to work as expected with RVM. Right now it is not picking up the propper gemset and things are failing. But as always, the more I can do inside Emacs, the quicker I can get thi...
<|file_sep|>original/ideas_for_future_posts/index.md <|file_sep|>current/ideas_for_future_posts/index.md <|file_sep|>updated/ideas_for_future_posts/index.md --- layout: default title: Ideas For Future Posts --- # Ideas For Future Posts ## Emacs and RVM Iron out issues getting my terminal in Emacs to work as expect...
9bedd961a70e03c27ad3f16faccff61bb76e25b7
ideas_for_future_posts/index.md
ideas_for_future_posts/index.md
Markdown
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: cpp before_install: - sudo apt-get update -qq # Bazel dependencies: - sudo apt-get install -qq pkg-config zip g++ zlib1g-dev unzip # Project dependencies: - sudo apt-get install -qq python-pyicu # Install Bazel: - wget 'https://githu...
sudo: required dist: trusty language: cpp before_install: - sudo apt-get update -qq # Bazel dependencies: - sudo apt-get install -qq pkg-config zip g++ zlib1g-dev unzip # Project dependencies: - sudo apt-get install -qq python-pyicu # Install Bazel: - wget 'https://github.com/bazelbuild/bazel/releases/d...
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: cpp before_install: - sudo apt-get update -qq # Bazel dependencies: - sudo apt-get install -qq pkg-config zip g++ zlib1g-dev unzip # Project dependencies: - sudo apt-get install -qq python-pyicu # Install Bazel: - wget 'https://githu...
60dab54ad1417eaaa24ce7d4838b224f69b8174f
.travis.yml
.travis.yml
YAML
<|file_sep|>index.js.diff original: // client.channels.get('spam').send("Soup is ready!") updated: <|file_sep|>index.js.diff original: if (!message.content.startsWith(config.prefix) || message.author.bot) return; updated: if (!message.content.startsWith(config.prefix) || message.author.bot) return; // Ignore mes...
if (!message.content.startsWith(config.prefix) || message.author.bot) return; // Ignore messages not // starting with your prefix let msg = message.content.slice(config.prefix.length); if (msg.startsWith('ping')) { message.reply...
<|file_sep|>index.js.diff original: // client.channels.get('spam').send("Soup is ready!") updated: <|file_sep|>index.js.diff original: if (!message.content.startsWith(config.prefix) || message.author.bot) return; updated: if (!message.content.startsWith(config.prefix) || message.author.bot) return; // Ignore mes...
edbc6e8931c9c2777520c0ccf0a3d74b8f75ebf6
index.js
index.js
JavaScript
<|file_sep|>original/attribute_ext.gemspec # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = "attribute_ext" s.version = "1.0" s.authors = ["Jan Graichen"] s.email = ["jan.graichen@altimos.de"] s.homepage = "https://github.co...
# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = "attribute_ext" s.version = "1.0.1" s.authors = ["Jan Graichen"] s.email = ["jan.graichen@altimos.de"] s.homepage = "https://github.com/jgraichen/attribute_ext" s.summary ...
<|file_sep|>original/attribute_ext.gemspec # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = "attribute_ext" s.version = "1.0" s.authors = ["Jan Graichen"] s.email = ["jan.graichen@altimos.de"] s.homepage = "https://github.co...
bb1c42ccf8911d28272d0f45263dcf3a230e0114
attribute_ext.gemspec
attribute_ext.gemspec
Ruby
<|file_sep|>.travis.yml.diff original: updated: - SETUP_XVFB=True <|file_sep|>original/.travis.yml email: false env: global: - CONDA_DEPENDENCIES="glueviz pytest mock vispy" matrix: - PYTHON_VERSION=2.7 - PYTHON_VERSION=3.4 - PYTHON_VERSION=2.7 PIP_DEPENDENCIES="https://github.com/vispy/visp...
notifications: email: false env: global: - SETUP_XVFB=True - CONDA_DEPENDENCIES="glueviz pytest mock vispy" matrix: - PYTHON_VERSION=2.7 - PYTHON_VERSION=3.4 - PYTHON_VERSION=2.7 PIP_DEPENDENCIES="https://github.com/vispy/vispy/archive/master.zip" PIP_DEPENDENCIES_FLAGS="--upgrade --no-deps" ...
<|file_sep|>.travis.yml.diff original: updated: - SETUP_XVFB=True <|file_sep|>original/.travis.yml email: false env: global: - CONDA_DEPENDENCIES="glueviz pytest mock vispy" matrix: - PYTHON_VERSION=2.7 - PYTHON_VERSION=3.4 - PYTHON_VERSION=2.7 PIP_DEPENDENCIES="https://github.com/vispy/visp...
a703da5b6f9086a945476a8b418d2a56f1af5f2f
.travis.yml
.travis.yml
YAML
<|file_sep|>spec/features/clicking_on_tile_spec.rb.diff original: updated: # Do I really care about this case? # Or will I find out when the next step fails anyway? # Also seems non-threadsafe <|file_sep|>original/spec/features/clicking_on_tile_spec.rb RSpec.feature 'clicking on a tile', js: true do scen...
click_on 'Create' game = Game.last # Do I really care about this case? # Or will I find out when the next step fails anyway? # Also seems non-threadsafe expect(current_path).to eq game_path(game) expect(page).to have_content "Game ##{game.id}" expect(page).to have_css '.clue_tile' ...
<|file_sep|>spec/features/clicking_on_tile_spec.rb.diff original: updated: # Do I really care about this case? # Or will I find out when the next step fails anyway? # Also seems non-threadsafe <|file_sep|>original/spec/features/clicking_on_tile_spec.rb RSpec.feature 'clicking on a tile', js: true do scen...
250f30d64671f63bc58b2f5429598f50de433286
spec/features/clicking_on_tile_spec.rb
spec/features/clicking_on_tile_spec.rb
Ruby
<|file_sep|>original/.github/stale.yml <|file_sep|>current/.github/stale.yml <|file_sep|>updated/.github/stale.yml
# Configuration for probot-stale - https://github.com/probot/stale # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 60 # Number of days of inactivity before an Issue or Pull Request with the stale label is closed. # Set to false to disable. If disabled, issues still need to...
<|file_sep|>original/.github/stale.yml <|file_sep|>current/.github/stale.yml <|file_sep|>updated/.github/stale.yml # Configuration for probot-stale - https://github.com/probot/stale # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 60 # Number of days of inactivity before ...
30dfa5217919b41de921b080269e1587b84d7d1a
.github/stale.yml
.github/stale.yml
YAML
<|file_sep|>original/Resources/Private/Sass/Generic/_Head.scss // } @if $global-border-box { /* ============================================================================= $ Border-Box ================================================================================ */ *, *:before, *:after { @include box-sizin...
@if $global-border-box { /* ============================================================================= $ Border-Box ================================================================================ */ // We are using a split border-box setting to improve performance - https://github.com/mdo/css-perf#box-sizing-...
<|file_sep|>original/Resources/Private/Sass/Generic/_Head.scss // } @if $global-border-box { /* ============================================================================= $ Border-Box ================================================================================ */ *, *:before, *:after { @include box-sizin...
982a2b225fe8a4f8cd73ca2317e171e7d3619e2f
Resources/Private/Sass/Generic/_Head.scss
Resources/Private/Sass/Generic/_Head.scss
SCSS
<|file_sep|>original/services/QuillLMS/config/initializers/session_store.rb # Be sure to restart your server when you modify this file. if Rails.env.production? EmpiricalGrammar::Application.config.session_store :cookie_store, key: '_quill_session', domain: '.quill.org' elsif Rails.env.staging? EmpiricalGrammar::...
# Be sure to restart your server when you modify this file. if Rails.env.production? EmpiricalGrammar::Application.config.session_store :cookie_store, key: '_quill_session', domain: '.quill.org' elsif Rails.env.staging? EmpiricalGrammar::Application.config.session_store :cookie_store, key: '_quill_staging_session...
<|file_sep|>original/services/QuillLMS/config/initializers/session_store.rb # Be sure to restart your server when you modify this file. if Rails.env.production? EmpiricalGrammar::Application.config.session_store :cookie_store, key: '_quill_session', domain: '.quill.org' elsif Rails.env.staging? EmpiricalGrammar::...
c249279da5263dddbabfd0c069604b9e9bb3f526
services/QuillLMS/config/initializers/session_store.rb
services/QuillLMS/config/initializers/session_store.rb
Ruby
<|file_sep|>sponsors/pluralsight.md.diff original: name: PluralSight updated: name: Pluralsight <|file_sep|>original/sponsors/pluralsight.md name: PluralSight tier: bronze website: https://www.pluralsight.com/ twitter_handle: logo_filename: pluralsight.png --- Founded in 2004, Pluralsight is the global leader in onlin...
name: Pluralsight tier: bronze website: https://www.pluralsight.com/ twitter_handle: pluralsight logo_filename: pluralsight.png --- Founded in 2004, Pluralsight is the global leader in online learning for professional software developers, IT specialists and creative technologists. As the world’s largest curated profess...
<|file_sep|>sponsors/pluralsight.md.diff original: name: PluralSight updated: name: Pluralsight <|file_sep|>original/sponsors/pluralsight.md name: PluralSight tier: bronze website: https://www.pluralsight.com/ twitter_handle: logo_filename: pluralsight.png --- Founded in 2004, Pluralsight is the global leader in onlin...
c1eee284d429ef8d20164b3e34f3a391d003f434
sponsors/pluralsight.md
sponsors/pluralsight.md
Markdown
<|file_sep|>original/plugins/kernel_v2/config/vm_provider.rb # @param [Symbol] name The name of the provider that is registered. def initialize(name, block) @name = name @config = nil @logger = Log4r::Logger.new("vagrant::config::vm::provider") # Attempt to find the config...
def initialize(name, block) @name = name @config = nil @logger = Log4r::Logger.new("vagrant::config::vm::provider") # Attempt to find the configuration class for this provider and # load the configuration. config_class = Vagrant.plugin("2").manager.provider_confi...
<|file_sep|>original/plugins/kernel_v2/config/vm_provider.rb # @param [Symbol] name The name of the provider that is registered. def initialize(name, block) @name = name @config = nil @logger = Log4r::Logger.new("vagrant::config::vm::provider") # Attempt to find the config...
d54d58c09c61105a2852ce4b1cbdba0972438879
plugins/kernel_v2/config/vm_provider.rb
plugins/kernel_v2/config/vm_provider.rb
Ruby
<|file_sep|>original/app/controllers/skills_controller.rb class SkillsController < ApplicationController def index @new_skill = Skill.new @skills = current_user.skills.order(:id) end def new end def create skill = current_user.skills.build(skills_params) if skill.save respond_to do |fo...
class SkillsController < ApplicationController def index @new_skill = Skill.new @skills = current_user.skills.order(:id) @first_link = true end def new end def create skill = current_user.skills.build(skills_params) if skill.save respond_to do |format| format.html {redirect...
<|file_sep|>original/app/controllers/skills_controller.rb class SkillsController < ApplicationController def index @new_skill = Skill.new @skills = current_user.skills.order(:id) end def new end def create skill = current_user.skills.build(skills_params) if skill.save respond_to do |fo...
627eb857b2880071fdec3c11660c308f2dc7f51a
app/controllers/skills_controller.rb
app/controllers/skills_controller.rb
Ruby
<|file_sep|>original/indico/modules/events/tracks/forms.py # Indico is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have recei...
# Indico is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with I...
<|file_sep|>original/indico/modules/events/tracks/forms.py # Indico is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have recei...
be779b6b7f47750b70afa6f0aeb67b99873e1c98
indico/modules/events/tracks/forms.py
indico/modules/events/tracks/forms.py
Python
<|file_sep|>original/froide/helper/api_renderers.py ''' This needs it's own module due to import cycles as it the class here is referenced in settings. ''' from rest_framework_csv.renderers import PaginatedCSVRenderer class CustomPaginatedCSVRenderer(PaginatedCSVRenderer): """ Our pagination has an objects l...
''' This needs it's own module due to import cycles as it the class here is referenced in settings. ''' from rest_framework_csv.renderers import PaginatedCSVRenderer class CustomPaginatedCSVRenderer(PaginatedCSVRenderer): """ Our pagination has an objects level with additional facets This renderer only r...
<|file_sep|>original/froide/helper/api_renderers.py ''' This needs it's own module due to import cycles as it the class here is referenced in settings. ''' from rest_framework_csv.renderers import PaginatedCSVRenderer class CustomPaginatedCSVRenderer(PaginatedCSVRenderer): """ Our pagination has an objects l...
9be0a60ee69deda4a1efa82498169e3bdcc9e55a
froide/helper/api_renderers.py
froide/helper/api_renderers.py
Python
<|file_sep|>original/app/views/votes/_vote.erb <div class="vote-form" id='vote-form'> <form method="post" action='/<%= voteable.class.name.downcase %>s/<%= voteable.id %>/upvote' class="inline"> <button type="submit" name="upvote" value="upvote" class="vote-button" id="upvote-button"></button> </form> <p> ...
<div class="vote-form" id='vote-form'> <form method="post" action='/<%= voteable.class.name.downcase %>s/<%= voteable.id %>/upvote' class="inline"> <button type="submit" name="upvote" value="upvote" class="vote-button" id="upvote-button"></button> </form> <p> <span class='votes'><%= get_score(voteable) ...
<|file_sep|>original/app/views/votes/_vote.erb <div class="vote-form" id='vote-form'> <form method="post" action='/<%= voteable.class.name.downcase %>s/<%= voteable.id %>/upvote' class="inline"> <button type="submit" name="upvote" value="upvote" class="vote-button" id="upvote-button"></button> </form> <p> ...
a3f1d748ee170727d812fb2d2de288caf2b1056c
app/views/votes/_vote.erb
app/views/votes/_vote.erb
HTML+ERB
<|file_sep|>original/.github/workflows/maven.yml jobs: build: runs-on: ${{ matrix.os }} # Steps represent a sequence of tasks that will be executed as part of the job strategy: fail-fast: false matrix: # test against latest update of each major Java version, as well as specific u...
jobs: build: runs-on: ${{ matrix.os }} # Steps represent a sequence of tasks that will be executed as part of the job strategy: fail-fast: false matrix: # test against latest update of each major Java version, as well as specific updates of LTS versions: os: [ubuntu-16.04...
<|file_sep|>original/.github/workflows/maven.yml jobs: build: runs-on: ${{ matrix.os }} # Steps represent a sequence of tasks that will be executed as part of the job strategy: fail-fast: false matrix: # test against latest update of each major Java version, as well as specific u...
49006d8982b259ac1734535a179166e09fdc27e4
.github/workflows/maven.yml
.github/workflows/maven.yml
YAML
<|file_sep|>original/pkgs/applications/networking/dropbox-cli/default.nix mkdir -pv $out/bin/ cp $src $out/bin/dropbox-cli ''; fixupPhase = '' substituteInPlace $out/bin/dropbox-cli \ --replace "/usr/bin/python" ${python}/bin/python \ --replace "use dropbox help" "use dropbox-cli help" \ ...
cp $src $out/bin/dropbox-cli ''; fixupPhase = '' substituteInPlace $out/bin/dropbox-cli \ --replace "/usr/bin/python" ${python}/bin/python \ --replace "use dropbox help" "use dropbox-cli help" \ --replace "~/.dropbox-dist/dropboxd" ${dropbox}/bin/dropbox chmod +x $out/bin/dropbox-cli...
<|file_sep|>original/pkgs/applications/networking/dropbox-cli/default.nix mkdir -pv $out/bin/ cp $src $out/bin/dropbox-cli ''; fixupPhase = '' substituteInPlace $out/bin/dropbox-cli \ --replace "/usr/bin/python" ${python}/bin/python \ --replace "use dropbox help" "use dropbox-cli help" \ ...
edaca7bdf00f905f1cb703d8e3335a315d4d1a0f
pkgs/applications/networking/dropbox-cli/default.nix
pkgs/applications/networking/dropbox-cli/default.nix
Nix
<|file_sep|>packages/ve/vector-extras.yaml.diff original: hash: 57a1fb99b38a04abfeed47e130a36eb5d1f97edc930aae462faad1209bf2004a updated: hash: ccb4283f6ef89a81926b856dfd688db9395f88a6b5c842b3e7c3781809f0b343 <|file_sep|>packages/ve/vector-extras.yaml.diff original: updated: - 0.2.3 <|file_sep|>original/packages/ve/ve...
unordered-containers: '>=0.2 && <0.3' containers: '>=0.5 && <0.7' deferred-folds: '>=0.9.7.1 && <0.10' foldl: '>=1.4 && <2' hashable: '>=1 && <2' vector: '>=0.12 && <0.13' all-versions: - '0.2' - 0.2.1 - 0.2.1.1 - 0.2.2 - 0.2.2.1 - 0.2.2.2 - 0.2.3 author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: 0.2....
<|file_sep|>packages/ve/vector-extras.yaml.diff original: hash: 57a1fb99b38a04abfeed47e130a36eb5d1f97edc930aae462faad1209bf2004a updated: hash: ccb4283f6ef89a81926b856dfd688db9395f88a6b5c842b3e7c3781809f0b343 <|file_sep|>packages/ve/vector-extras.yaml.diff original: updated: - 0.2.3 <|file_sep|>original/packages/ve/ve...
670950a74dc12d517c062fd3a7fe6dcd7e812ad1
packages/ve/vector-extras.yaml
packages/ve/vector-extras.yaml
YAML
<|file_sep|>original/mosh/install.sh PREFIX=$HOME PROTOBUF_VERSION=3.6.1 MOSH_VERSION=1.3.2 # Install Protocol Buffers wget https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-all-$PROTOBUF_VERSION.tar.gz tar -xf protobuf-$PROTOBUF_VERSION.tar.gz cd protobuf-$PROTOBUF_VERSION ./...
PREFIX=$HOME PROTOBUF_VERSION=3.6.1 MOSH_VERSION=1.3.2 # Install Protocol Buffers wget https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-all-$PROTOBUF_VERSION.tar.gz tar -xf protobuf-all-$PROTOBUF_VERSION.tar.gz cd protobuf-all-$PROTOBUF_VERSION ./configure --prefix=$PREFIX ma...
<|file_sep|>original/mosh/install.sh PREFIX=$HOME PROTOBUF_VERSION=3.6.1 MOSH_VERSION=1.3.2 # Install Protocol Buffers wget https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-all-$PROTOBUF_VERSION.tar.gz tar -xf protobuf-$PROTOBUF_VERSION.tar.gz cd protobuf-$PROTOBUF_VERSION ./...
6757209c25ad917922756d59a47ff36e5d057562
mosh/install.sh
mosh/install.sh
Shell
<|file_sep|>original/cookbooks/tile/templates/default/expire-tiles.erb #!/usr/bin/ruby # DO NOT EDIT - This file is being maintained by Chef require 'expire' tile_dirs = [ <% node[:tile][:styles].each do |name,details| -%> "/srv/tile.openstreetmap.org/tiles/<%= name %>", <% end -%> ] max_zoom = <%= node[:tile][:s...
#!/usr/bin/ruby # DO NOT EDIT - This file is being maintained by Chef require 'expire' tile_dirs = [ <% node[:tile][:styles].each do |name,details| -%> "/srv/tile.openstreetmap.org/tiles/<%= name %>", <% end -%> ] max_zoom = <%= node[:tile][:styles].collect { |n,d| d[:max_zoom] }.max %> Dir.glob("/var/lib/replic...
<|file_sep|>original/cookbooks/tile/templates/default/expire-tiles.erb #!/usr/bin/ruby # DO NOT EDIT - This file is being maintained by Chef require 'expire' tile_dirs = [ <% node[:tile][:styles].each do |name,details| -%> "/srv/tile.openstreetmap.org/tiles/<%= name %>", <% end -%> ] max_zoom = <%= node[:tile][:s...
bf14fbaf495ff6aa406ad95aa39ac81fd00549e5
cookbooks/tile/templates/default/expire-tiles.erb
cookbooks/tile/templates/default/expire-tiles.erb
HTML+ERB
<|file_sep|>original/lib/fastlane/command_line_handler.rb module Fastlane class CommandLineHandler # This method handles command line inputs and properly transforms them to a usable format # @param [Array] args An array of all arguments (not options) # @param [Array] args A hash of all options (e.g. --env...
module Fastlane class CommandLineHandler # This method handles command line inputs and properly transforms them to a usable format # @param [Array] args An array of all arguments (not options) # @param [Array] args A hash of all options (e.g. --env NAME) def self.handle(args, options) lane_param...
<|file_sep|>original/lib/fastlane/command_line_handler.rb module Fastlane class CommandLineHandler # This method handles command line inputs and properly transforms them to a usable format # @param [Array] args An array of all arguments (not options) # @param [Array] args A hash of all options (e.g. --env...
fc333cb4cfdcf438d710b932913d852887a49f6a
lib/fastlane/command_line_handler.rb
lib/fastlane/command_line_handler.rb
Ruby
<|file_sep|>original/src/selectors/payment.js /** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ import currency from 'currency.js'; export const selectPrescriptionSubTotal = ({ payment }) => { const { transaction } = payment; const { items = [] } = transaction || {}; const total = items.reduce((...
/** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ import currency from 'currency.js'; export const selectPrescriptionSubTotal = ({ payment }) => { const { transaction } = payment; const { items = [] } = transaction || {}; const total = items.reduce((acc, { totalPrice }) => currency(totalPrice ||...
<|file_sep|>original/src/selectors/payment.js /** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ import currency from 'currency.js'; export const selectPrescriptionSubTotal = ({ payment }) => { const { transaction } = payment; const { items = [] } = transaction || {}; const total = items.reduce((...
8207aeff515fac90553e10c79992c3a6810990ad
src/selectors/payment.js
src/selectors/payment.js
JavaScript
<|file_sep|>original/.travis.yml --- language: python python: - "2.6" - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov <|file_sep|>current/.travis.yml --- language: p...
--- language: python python: - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov
<|file_sep|>original/.travis.yml --- language: python python: - "2.6" - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov <|file_sep|>current/.travis.yml --- language: p...
3f330a4faf2736e9952521e82dc9796312a676f3
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/paypoint/blue/utils.rb.diff original: hash.each_with_object({},) do |(key, value), snakified| updated: hash.each_with_object({}) do |(key, value), snakified| <|file_sep|>lib/paypoint/blue/utils.rb.diff original: hash.each_with_object({},) do |(key, value), camelized| update...
hash.each_with_object({}) do |(key, value), camelized| camelized[camelcase(key)] = camelcase_and_symbolize_keys(value) end when Enumerable hash.map { |v| camelcase_and_symbolize_keys(v) } else hash end end def snakecase(original) ...
<|file_sep|>lib/paypoint/blue/utils.rb.diff original: hash.each_with_object({},) do |(key, value), snakified| updated: hash.each_with_object({}) do |(key, value), snakified| <|file_sep|>lib/paypoint/blue/utils.rb.diff original: hash.each_with_object({},) do |(key, value), camelized| update...
b232967e25cb0cad2ed8bda842cba2b5644db2d7
lib/paypoint/blue/utils.rb
lib/paypoint/blue/utils.rb
Ruby
<|file_sep|>original/app/views/admin/races/create_result.js.erb jQuery('#results_table').html('<%= escape_javascript(edit_results_table(@race)) %>'); jQuery('#result_<%= @result.id %>_row').highlight(); <|file_sep|>current/app/views/admin/races/create_result.js.erb jQuery('#results_table').html('<%= escape_javascript(e...
jQuery('#results_table').html('<%= escape_javascript(edit_results_table(@race)) %>');
<|file_sep|>original/app/views/admin/races/create_result.js.erb jQuery('#results_table').html('<%= escape_javascript(edit_results_table(@race)) %>'); jQuery('#result_<%= @result.id %>_row').highlight(); <|file_sep|>current/app/views/admin/races/create_result.js.erb jQuery('#results_table').html('<%= escape_javascript(e...
3e1af8b9866abacf6a593b2e2d07368449abb184
app/views/admin/races/create_result.js.erb
app/views/admin/races/create_result.js.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' <|file_sep|>current/.travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' <|file_sep|>upd...
language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' # whitelist branches: only: - master - develop
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' <|file_sep|>current/.travis.yml language: node_js node_js: - '0.8' - '0.10' before_script: - 'npm install -g bower grunt-cli' - 'bower install' <|file_sep|>upd...
1dabcd878b62991b3c551907004c812171b27f53
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md mongoose-plugins ================= Plugins for the Mongoose ODM on NodeJS <|file_sep|>current/README.md mongoose-plugins ================= Plugins for the Mongoose ODM on NodeJS <|file_sep|>updated/README.md
mongoose-plugins ================= Plugins for the Mongoose ODM on NodeJS Usage ===== See comments at the top of each plugin file in the lib folder.
<|file_sep|>original/README.md mongoose-plugins ================= Plugins for the Mongoose ODM on NodeJS <|file_sep|>current/README.md mongoose-plugins ================= Plugins for the Mongoose ODM on NodeJS <|file_sep|>updated/README.md mongoose-plugins ================= Plugins for the Mongoose ODM on NodeJS Us...
70f88ef7cfd1ba7c2ddcd4663312bbcb74d3a582
README.md
README.md
Markdown
<|file_sep|>original/src/package.json { "name": "livestreamer-twitch-gui", "version": "0.14.2", "main": "index.html", "window": { "title": "Livestreamer Twitch GUI", "frame": false, "resizable": true, "show": false, "position": "center", "width": 960, "height": 540, "min_width": 960, "min_height...
"name": "livestreamer-twitch-gui", "version": "0.14.2", "main": "index.html", "window": { "title": "Livestreamer Twitch GUI", "frame": false, "resizable": true, "show": false, "position": "center", "width": 960, "height": 540, "min_width": 960, "min_height": 540, "icon": "img/icon-256.png", ...
<|file_sep|>original/src/package.json { "name": "livestreamer-twitch-gui", "version": "0.14.2", "main": "index.html", "window": { "title": "Livestreamer Twitch GUI", "frame": false, "resizable": true, "show": false, "position": "center", "width": 960, "height": 540, "min_width": 960, "min_height...
0afd85496dd4f74ac5bcc06bc63fa3ddf4dba728
src/package.json
src/package.json
JSON
<|file_sep|>original/_posts/apereo/2017-05-05-jotform-clas.md <|file_sep|>current/_posts/apereo/2017-05-05-jotform-clas.md <|file_sep|>updated/_posts/apereo/2017-05-05-jotform-clas.md
--- layout: post title: Easier CLA submission summary: A new online form supplements prior ways of submitting contributor license agreements. tags: [Apereo, licensing] --- Now it is easier to submit a contributor licensing agreement (CLA) to Apereo, with online forms, one for each type of agreement, ...
<|file_sep|>original/_posts/apereo/2017-05-05-jotform-clas.md <|file_sep|>current/_posts/apereo/2017-05-05-jotform-clas.md <|file_sep|>updated/_posts/apereo/2017-05-05-jotform-clas.md --- layout: post title: Easier CLA submission summary: A new online form supplements prior ways of submitting contributor ...
81cec4688c0a810b3522fa389e738207373df001
_posts/apereo/2017-05-05-jotform-clas.md
_posts/apereo/2017-05-05-jotform-clas.md
Markdown
<|file_sep|>original/node_modules/oae-core/etherpad/manifest.json { "i18n": { "default": { "bundle": "bundles/default.properties", "description": "Embeds an etherpad pad into the page", "name": "Etherpad" } }, "src": "etherpad.html" } <|file_sep|>current/n...
{ "i18n": { "default": { "bundle": "bundles/default.properties", "description": "Embeds an etherpad pad into the page", "name": "Etherpad" }, "fr_FR": { "bundle": "bundles/fr_FR.properties" } }, "src": "etherpad.html" }
<|file_sep|>original/node_modules/oae-core/etherpad/manifest.json { "i18n": { "default": { "bundle": "bundles/default.properties", "description": "Embeds an etherpad pad into the page", "name": "Etherpad" } }, "src": "etherpad.html" } <|file_sep|>current/n...
79053aaa59a3432075f39fe6018478a65c0b50e6
node_modules/oae-core/etherpad/manifest.json
node_modules/oae-core/etherpad/manifest.json
JSON
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. Avoid dependencies in # production that aren't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.1.2 gunicorn==19.6.0 # Static and Media Storage # -------------------------...
# Pro-tip: Try not to put anything here. Avoid dependencies in # production that aren't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.2.0 gunicorn==19.6.0 # Static and Media Storage # ------------------------------------------------ boto==2.45.0 django-stora...
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. Avoid dependencies in # production that aren't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.1.2 gunicorn==19.6.0 # Static and Media Storage # -------------------------...
05365d202011799513dbb83cce087d8ad4503932
requirements/production.txt
requirements/production.txt
Text
<|file_sep|>original/packages/pi/pipes-brotli.yaml <|file_sep|>current/packages/pi/pipes-brotli.yaml <|file_sep|>updated/packages/pi/pipes-brotli.yaml
homepage: http://github.com/hvr/pipes-brotli changelog-type: '' hash: 92cf7584f997baa960062c90c845c06fa1069859e59d4d04cd9a79e47a20b53c test-bench-deps: pipes-brotli: -any bytestring: -any base: -any pipes-bytestring: ==2.1.* pipes: -any QuickCheck: ==2.13.* maintainer: hvr@gnu.org synopsis: Brotli (RFC7932)...
<|file_sep|>original/packages/pi/pipes-brotli.yaml <|file_sep|>current/packages/pi/pipes-brotli.yaml <|file_sep|>updated/packages/pi/pipes-brotli.yaml homepage: http://github.com/hvr/pipes-brotli changelog-type: '' hash: 92cf7584f997baa960062c90c845c06fa1069859e59d4d04cd9a79e47a20b53c test-bench-deps: pipes-brotli:...
3a62490501cf5d93fd93400efaad8c862dfd4ad5
packages/pi/pipes-brotli.yaml
packages/pi/pipes-brotli.yaml
YAML
<|file_sep|>original/src/main.rs use std::env; use log::debug; use structopt::StructOpt; use yansi::Paint; use cargo_modules::options::Options; fn main() -> anyhow::Result<()> { env_logger::init(); let args: Vec<_> = env::args().collect(); debug!("Arguments: {:?}", args); if env::var("NO_COLOR").is...
use std::env; use log::debug; use structopt::StructOpt; use yansi::Paint; use cargo_modules::options::Options; fn main() -> anyhow::Result<()> { env_logger::init_from_env({ let env = env_logger::Env::default(); let key = env_logger::DEFAULT_FILTER_ENV; let value = "cargo_modules=warn"; ...
<|file_sep|>original/src/main.rs use std::env; use log::debug; use structopt::StructOpt; use yansi::Paint; use cargo_modules::options::Options; fn main() -> anyhow::Result<()> { env_logger::init(); let args: Vec<_> = env::args().collect(); debug!("Arguments: {:?}", args); if env::var("NO_COLOR").is...
9932560045660568c3953ea4f79548dff5b5358d
src/main.rs
src/main.rs
Rust
<|file_sep|>original/client/app/views/partials/tip_fields.html <div data-ng-init="fields = (field == undefined) ? fieldsRoot : field.children"> <div data-ng-repeat="row in ::fields | groupBy:'y' | toArray:true | orderBy:minY"> <div data-ng-repeat="field in row | orderBy:'x'"> <div id="field-{{field.id}}" da...
<div data-ng-init="fields = (field == undefined) ? fieldsRoot : field.children"> <div data-ng-repeat="field in ::fields | orderBy:['y', 'x']"> <div id="field-{{field.id}}" data-ng-class="{'nested': !preview}" class="fieldAnswer"> <div class="fieldTitle"> <span data-ng-if="!$parent.field && !preview"...
<|file_sep|>original/client/app/views/partials/tip_fields.html <div data-ng-init="fields = (field == undefined) ? fieldsRoot : field.children"> <div data-ng-repeat="row in ::fields | groupBy:'y' | toArray:true | orderBy:minY"> <div data-ng-repeat="field in row | orderBy:'x'"> <div id="field-{{field.id}}" da...
c6ca7488b82f96e3de739e2843d7cfa85487cb7e
client/app/views/partials/tip_fields.html
client/app/views/partials/tip_fields.html
HTML
<|file_sep|>original/installer/loader.h #ifndef LOADER_H #define LOADER_H #include "../../../libwiiu/src/coreinit.h" #include "../../../libwiiu/src/socket.h" #include "../../../libwiiu/src/types.h" void _start(); void _entryPoint(); /* Arbitrary kernel write syscall */ void kern_write(void *addr, uint32_t value); ...
#ifndef LOADER_H #define LOADER_H #include "../../../libwiiu/src/coreinit.h" #include "../../../libwiiu/src/socket.h" #include "../../../libwiiu/src/types.h" /* Kernel address table */ #if VER == 200 #define KERN_ADDRESS_TBL 0x0 #elif VER == 210 #define KERN_ADDRESS_TBL 0x0 #elif VER == 300 #define KERN_ADDRESS_...
<|file_sep|>original/installer/loader.h #ifndef LOADER_H #define LOADER_H #include "../../../libwiiu/src/coreinit.h" #include "../../../libwiiu/src/socket.h" #include "../../../libwiiu/src/types.h" void _start(); void _entryPoint(); /* Arbitrary kernel write syscall */ void kern_write(void *addr, uint32_t value); ...
dc811801dc3917f525058e06e89484704cc4b98c
installer/loader.h
installer/loader.h
C
<|file_sep|>original/assets/ico-select.svg.liquid <?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns...
<?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://...
<|file_sep|>original/assets/ico-select.svg.liquid <?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns...
b84e47161df30f3b82a814beeb9643ff02c327e9
assets/ico-select.svg.liquid
assets/ico-select.svg.liquid
Liquid
<|file_sep|>original/styles.css /* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; } <|file_sep|>current/styles.css /* Custom style sheet */ .main { width: 320px; border: sol...
/* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; border-radius: 10px; }
<|file_sep|>original/styles.css /* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; } <|file_sep|>current/styles.css /* Custom style sheet */ .main { width: 320px; border: sol...
31a3d80955b0b3755ee509c890cb98844e909f8c
styles.css
styles.css
CSS
<|file_sep|>client/BucketList.jsx.diff original: updated: } }, getInitialState(){ return { addingItem: false <|file_sep|>client/BucketList.jsx.diff original: updated: this.setState({addingItem: false}) }, addingNewItem(){ this.setState({ addingItem: true }) <|file_sep|>client...
<p>List Title: <input type="text" ref="textInput" placeholder="Type to add new item to your bucket list" /> </p> <input type="submit" value="submit"/> </form> : null } ...
<|file_sep|>client/BucketList.jsx.diff original: updated: } }, getInitialState(){ return { addingItem: false <|file_sep|>client/BucketList.jsx.diff original: updated: this.setState({addingItem: false}) }, addingNewItem(){ this.setState({ addingItem: true }) <|file_sep|>client...
dcab5a7b9b7db7a6cdcda727e2f98b25ecccf13c
client/BucketList.jsx
client/BucketList.jsx
JSX
<|file_sep|>azure_nosetests.py.diff original: import os.path, nose, glob, sys updated: import os.path, nose, glob, sys, pkg_resources <|file_sep|>original/azure_nosetests.py #!/usr/bin/env python import os.path, nose, glob, sys packages = [os.path.dirname(p) for p in glob.glob('azure*/setup.py')] sys.path += packages ...
#!/usr/bin/env python import os.path, nose, glob, sys, pkg_resources packages = [os.path.dirname(p) for p in glob.glob('azure*/setup.py')] sys.path += packages # Declare it manually, because "azure-storage" is probably installed with pip pkg_resources.declare_namespace('azure') nose.main()
<|file_sep|>azure_nosetests.py.diff original: import os.path, nose, glob, sys updated: import os.path, nose, glob, sys, pkg_resources <|file_sep|>original/azure_nosetests.py #!/usr/bin/env python import os.path, nose, glob, sys packages = [os.path.dirname(p) for p in glob.glob('azure*/setup.py')] sys.path += packages ...
53e8c14d774131503dbdefe6528cd1e26adbf30b
azure_nosetests.py
azure_nosetests.py
Python
<|file_sep|>original/llvmpy/include/python3adapt.h #define PyString_Size PyUnicode_GET_SIZE #define PyString_FromStringAndSize PyUnicode_FromStringAndSize #define PyString_FromString PyUnicode_FromString #define PyInt_Check PyLong_Check #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong #define ...
#define PyString_Size PyUnicode_GET_SIZE #define PyString_FromStringAndSize PyUnicode_FromStringAndSize #define PyString_FromString PyUnicode_FromString #define PyInt_Check PyLong_Check #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask ...
<|file_sep|>original/llvmpy/include/python3adapt.h #define PyString_Size PyUnicode_GET_SIZE #define PyString_FromStringAndSize PyUnicode_FromStringAndSize #define PyString_FromString PyUnicode_FromString #define PyInt_Check PyLong_Check #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong #define ...
931352d4bfab72897dc8012c78d9f64739656226
llvmpy/include/python3adapt.h
llvmpy/include/python3adapt.h
C
<|file_sep|>original/app/models/review_period.rb class ReviewPeriod def initialize end def send_closure_notifications if ENV['REVIEW_PERIOD'] == 'CLOSED' participants.each do |participant| UserMailer. closure_notification(participant, participant.tokens.create). deliver ...
class ReviewPeriod def send_closure_notifications if ENV['REVIEW_PERIOD'] == 'CLOSED' participants.each do |participant| UserMailer. closure_notification(participant, participant.tokens.create). deliver end end end def participants Review.all.map { |r| [r.subje...
<|file_sep|>original/app/models/review_period.rb class ReviewPeriod def initialize end def send_closure_notifications if ENV['REVIEW_PERIOD'] == 'CLOSED' participants.each do |participant| UserMailer. closure_notification(participant, participant.tokens.create). deliver ...
70f308f44e628deee65807dc66eafaa54f541ad0
app/models/review_period.rb
app/models/review_period.rb
Ruby
<|file_sep|>original/app/controllers/api/v1/sessions_controller.rb class API::V1::SessionsController < API::APIController def create @user = User.find_by username: user_params[:username] if @user.present? && @user.authenticate(user_params[:password]) render json: { notice: t('session.flash.create.succe...
class API::V1::SessionsController < API::APIController def create @user = User.find_by username: user_params[:username] if @user.present? && @user.authenticate(user_params[:password]) render else render json: { error: t('session.flash.create.failure'), status: :unprocessable_entity } end ...
<|file_sep|>original/app/controllers/api/v1/sessions_controller.rb class API::V1::SessionsController < API::APIController def create @user = User.find_by username: user_params[:username] if @user.present? && @user.authenticate(user_params[:password]) render json: { notice: t('session.flash.create.succe...
4989ecb1de6d99afb21ae664c9cfcf3354b43cfb
app/controllers/api/v1/sessions_controller.rb
app/controllers/api/v1/sessions_controller.rb
Ruby
<|file_sep|>original/Fetchable.podspec spec.description = <<-DESC FRC-backed UITableView and UICollectionViewControllers in as little as 47 lines of code. DESC spec.homepage = 'https://github.com/phatblat/Fetchable' spec.license = { :type => 'MIT', :file => 'LICEN...
spec.description = <<-DESC FRC-backed UITableView and UICollectionViewControllers in as little as 47 lines of code. DESC spec.homepage = 'https://github.com/phatblat/Fetchable' spec.license = { :type => 'MIT', :file => 'LICENSE' } spec.author = { 'Ben Chat...
<|file_sep|>original/Fetchable.podspec spec.description = <<-DESC FRC-backed UITableView and UICollectionViewControllers in as little as 47 lines of code. DESC spec.homepage = 'https://github.com/phatblat/Fetchable' spec.license = { :type => 'MIT', :file => 'LICEN...
fe4184ef3a60593c798d588000c26d9ce57e98ae
Fetchable.podspec
Fetchable.podspec
Ruby
<|file_sep|>README.md.diff original: Lodash and Underscore are great and they work well in all of the weird cases you can throw at it. updated: Lodash and Underscore are great and they work well in all of the weird cases you can throw at them. But they can be pretty big. Browserified and Uglified, this file is 2841 by...
``` And this is 481 bytes gzipped: ```js var assign = require('lildash/object/assign'); console.log(assign({ foo: 123 }, { bar: 456 })); ``` Most of the time, I'd recommend Lodash because it's much more well-tested, better accepts arcane inputs, and is fast in a variety of environments. But if filesize is hugely im...
<|file_sep|>README.md.diff original: Lodash and Underscore are great and they work well in all of the weird cases you can throw at it. updated: Lodash and Underscore are great and they work well in all of the weird cases you can throw at them. But they can be pretty big. Browserified and Uglified, this file is 2841 by...
cf85b78a23b6a99e4a7d2f7e5f9270f80740cfb1
README.md
README.md
Markdown
<|file_sep|>original/roles/docker/tasks/main.yml # required to install pip - name: install epel-release sudo: yes yum: name: epel-release state: present # required to install docker-py with pip - name: install python-pip sudo: yes yum: name: python-pip state: present # required for ansible doc...
--- - name: install docker sudo: yes yum: name: docker state: present - name: configure docker consul dns sudo: yes lineinfile: dest: /etc/sysconfig/docker regexp: ^OPTIONS line: OPTIONS=--selinux-enabled -H fd:// --dns {{ ansible_default_ipv4.address }} --dns-search service.consul st...
<|file_sep|>original/roles/docker/tasks/main.yml # required to install pip - name: install epel-release sudo: yes yum: name: epel-release state: present # required to install docker-py with pip - name: install python-pip sudo: yes yum: name: python-pip state: present # required for ansible doc...
33f152197c33a1f4841e8164d19931c239d1112a
roles/docker/tasks/main.yml
roles/docker/tasks/main.yml
YAML
<|file_sep|>app/elements/semesterDetail.js.diff original: updated: import * as Immutable from 'immutable' <|file_sep|>app/elements/semesterDetail.js.diff original: updated: import {isCurrentSemester} from 'app/helpers/isCurrent' <|file_sep|>app/elements/semesterDetail.js.diff original: updated: propTypes: { stud...
let {year, semester} = params let schedules = nextProps.student.schedules.filter(isCurrentSemester(year, semester)) console.log('semester.componentWillReceiveProps', year, semester, nextProps.student.schedules.toJS()) this.setState({year, semester, schedules}) }, componentDidMount() { this.componentWillR...
<|file_sep|>app/elements/semesterDetail.js.diff original: updated: import * as Immutable from 'immutable' <|file_sep|>app/elements/semesterDetail.js.diff original: updated: import {isCurrentSemester} from 'app/helpers/isCurrent' <|file_sep|>app/elements/semesterDetail.js.diff original: updated: propTypes: { stud...
8648336c74af90f9fabd9530f28243506fec8258
app/elements/semesterDetail.js
app/elements/semesterDetail.js
JavaScript
<|file_sep|>original/Data.Operations/.Tasks.ps1 param( $prereleaseVersion = (property prereleaseVersion "beta-1"), $ignoreNugetPushErrors = (property ignoreNugetPushErrors "exists in compilation with different binary hash") #SymbolSource duplicate package error ) Include-PluginScripts task . Clean, Version, Compile...
param( $prereleaseVersion = (property prereleaseVersion "beta-1"), $ignoreNugetPushErrors = (property ignoreNugetPushErrors "The underlying connection was closed: An unexpected error occurred on a receive.;exists in compilation with different binary hash") #SymbolSource duplicate package error ) Include-PluginScript...
<|file_sep|>original/Data.Operations/.Tasks.ps1 param( $prereleaseVersion = (property prereleaseVersion "beta-1"), $ignoreNugetPushErrors = (property ignoreNugetPushErrors "exists in compilation with different binary hash") #SymbolSource duplicate package error ) Include-PluginScripts task . Clean, Version, Compile...
1f9ffe364dd9abda051b5906a084be84d4e7f8cc
Data.Operations/.Tasks.ps1
Data.Operations/.Tasks.ps1
PowerShell
<|file_sep|>original/README.md # .NET Core Build Tools [![Build status](http://dotnet-ci.cloudapp.net/job/dotnet_buildtools/job/master/job/innerloop/badge/icon)](http://dotnet-ci.cloudapp.net/job/dotnet_buildtools/job/innerloop/) This repository contains supporting build tools that are necessary for building the [.NE...
# .NET Core Build Tools [![Build status](http://dotnet-ci.cloudapp.net/job/dotnet_buildtools/job/master/job/innerloop/badge/icon)](http://dotnet-ci.cloudapp.net/job/dotnet_buildtools/job/innerloop/) [![Package](https://img.shields.io/dotnet.myget/dotnet-buildtools/v/Microsoft.DotNet.BuildTools.svg?label=Package)](htt...
<|file_sep|>original/README.md # .NET Core Build Tools [![Build status](http://dotnet-ci.cloudapp.net/job/dotnet_buildtools/job/master/job/innerloop/badge/icon)](http://dotnet-ci.cloudapp.net/job/dotnet_buildtools/job/innerloop/) This repository contains supporting build tools that are necessary for building the [.NE...
a2a5ebab4936e7b12d88ebb9b7c3ba8d3167e555
README.md
README.md
Markdown
<|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base has_many :questions, foreign_key: :asker_id has_many :answers, foreign_key: :responder_id has_many :votes, foreign_key: :voter_id has_many :responses, foreign_key: :commenter_id end <|file_sep|>current/app/models/user.rb class User < Active...
class User < ActiveRecord::Base has_many :questions, foreign_key: :asker_id has_many :answers, foreign_key: :responder_id has_many :votes, foreign_key: :voter_id has_many :responses, foreign_key: :responder_id end
<|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base has_many :questions, foreign_key: :asker_id has_many :answers, foreign_key: :responder_id has_many :votes, foreign_key: :voter_id has_many :responses, foreign_key: :commenter_id end <|file_sep|>current/app/models/user.rb class User < Active...
e07a556f8a55ab0c64d7a9bd066e37bd6c8d2f0e
app/models/user.rb
app/models/user.rb
Ruby