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/web-examples/codetrans-config.json { "package": "io.vertx.example.web.form" }, // vert.x bus { "package": "io.vertx.example.web.vertxbus" }, { "package": "io.vertx.example.web.realtime" }, // Rest, JS only { "package": "io.vertx.example...
// vert.x bus { "package": "io.vertx.example.web.vertxbus" }, { "package": "io.vertx.example.web.realtime" }, { "package": "io.vertx.example.web.vertxbus.java" }, // Rest, JS only { "package": "io.vertx.example.web.rest", "langs": ["js"] } ]
<|file_sep|>original/web-examples/codetrans-config.json { "package": "io.vertx.example.web.form" }, // vert.x bus { "package": "io.vertx.example.web.vertxbus" }, { "package": "io.vertx.example.web.realtime" }, // Rest, JS only { "package": "io.vertx.example...
3ed0316f6117af6b51ad674744f9b064d8def98f
web-examples/codetrans-config.json
web-examples/codetrans-config.json
JSON
<|file_sep|>original/hieradata/common.yaml --- classes: - vim - nano::must::die - git <|file_sep|>current/hieradata/common.yaml --- classes: - vim - nano::must::die - git <|file_sep|>updated/hieradata/common.yaml
--- classes: - vim - nano::must::die - git accounts: bob: comment: 'bob walker' groups: - sudo - users - adm ssh_key: AAAAB3NzaC1yc2EAAAABIwAAAQEAwpdgjfdeiN5V+7JyrMViDxPrQXu8U3Q8Fp25d3nC3WfKiLu9PumnMifblw+41T87av+dS+DueGXHyVmt68BfXr7ujC6yveFI+AKk21mcCUBDxVTi4HMXX0rtuFscJWdXj9z6FeBZ...
<|file_sep|>original/hieradata/common.yaml --- classes: - vim - nano::must::die - git <|file_sep|>current/hieradata/common.yaml --- classes: - vim - nano::must::die - git <|file_sep|>updated/hieradata/common.yaml --- classes: - vim - nano::must::die - git accounts: bob: comment: 'bob walker' ...
4c0d55a782c8399381da71ecce3ca3bf5d3057ed
hieradata/common.yaml
hieradata/common.yaml
YAML
<|file_sep|>original/db/migrate/20170311051142_generate_instance_keys.rb class GenerateInstanceKeys < ActiveRecord::Migration[5.1] def change BotInstance.where(key: "") .or(BotInstance.where(key: nil)) .each do |instance| instance.update(key: SecureRandom.base64(32)) end reversible do |dir|...
class GenerateInstanceKeys < ActiveRecord::Migration[5.1] def change BotInstance.where(key: "") .or(BotInstance.where(key: nil)) .each do |instance| instance.update(key: SecureRandom.base64(32)) end reversible do |dir| change_table :bot_instances do |t| dir.up { t.change :ke...
<|file_sep|>original/db/migrate/20170311051142_generate_instance_keys.rb class GenerateInstanceKeys < ActiveRecord::Migration[5.1] def change BotInstance.where(key: "") .or(BotInstance.where(key: nil)) .each do |instance| instance.update(key: SecureRandom.base64(32)) end reversible do |dir|...
48f6e4bd688cf949d2338230d048a7f1e17d6ae7
db/migrate/20170311051142_generate_instance_keys.rb
db/migrate/20170311051142_generate_instance_keys.rb
Ruby
<|file_sep|>original/constant-helper.c #include <fcntl.h> #include <stdio.h> int main(void) { printf("F_GETFL=%d\n", F_GETFL); printf("F_SETFL=%d\n", F_SETFL); printf("O_NONBLOCK=%d\n", O_NONBLOCK); return 0; } <|file_sep|>current/constant-helper.c #include <fcntl.h> #include <stdio.h> int main(void)...
#if _WIN32 || _WIN64 # define F_GETFL 0 # define F_SETFL 0 # define O_NONBLOCK 0 #else # include <fcntl.h> #endif #include <stdio.h> int main(void) { printf("F_GETFL=%d\n", F_GETFL); printf("F_SETFL=%d\n", F_SETFL); printf("O_NONBLOCK=%d\n", O_NONBLOCK); return 0; }
<|file_sep|>original/constant-helper.c #include <fcntl.h> #include <stdio.h> int main(void) { printf("F_GETFL=%d\n", F_GETFL); printf("F_SETFL=%d\n", F_SETFL); printf("O_NONBLOCK=%d\n", O_NONBLOCK); return 0; } <|file_sep|>current/constant-helper.c #include <fcntl.h> #include <stdio.h> int main(void)...
d22e16e698bbc6c64666bf0f1e46015adecb0ce5
constant-helper.c
constant-helper.c
C
<|file_sep|>original/app/Http/Routes/api/v1/workday.php <?php use \App\Http\Controllers\jsonApi\WorkdayController; $app->get( 'workdays', ['uses' => WorkdayController::class.'@index'] ); $app->get( 'workdays/{id}', ['uses' => WorkdayController::class.'@show'] ); $app->post( '/workdays', ['uses...
<?php use \App\Http\Controllers\JsonApi\WorkdayController; $app->get( 'workdays', ['uses' => WorkdayController::class.'@index'] ); $app->get( 'workdays/{id}', ['uses' => WorkdayController::class.'@show'] ); $app->post( '/workdays', ['uses' => WorkdayController::class.'@store'] ); $app->delete(...
<|file_sep|>original/app/Http/Routes/api/v1/workday.php <?php use \App\Http\Controllers\jsonApi\WorkdayController; $app->get( 'workdays', ['uses' => WorkdayController::class.'@index'] ); $app->get( 'workdays/{id}', ['uses' => WorkdayController::class.'@show'] ); $app->post( '/workdays', ['uses...
06de9d2bb750be1836b205a8bd98cc896a7abce0
app/Http/Routes/api/v1/workday.php
app/Http/Routes/api/v1/workday.php
PHP
<|file_sep|>original/FileKit/FileKit.swift public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(path: Path) { self.path = path } // MARK: - StringLiteralConvertible public typealias ExtendedGraphemeClusterLiteralType = S...
public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(path: Path) { self.path = path } func moveToPath(path: Path) throws { try NSFileManager.defaultManager().moveItemAtPath(path._path, toPath: path._path) self.pat...
<|file_sep|>original/FileKit/FileKit.swift public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(path: Path) { self.path = path } // MARK: - StringLiteralConvertible public typealias ExtendedGraphemeClusterLiteralType = S...
845e0db2d83e8c4771053ee1e46459ac47fa5aad
FileKit/FileKit.swift
FileKit/FileKit.swift
Swift
<|file_sep|>original/txircd/modules/rfc/cmode_t.py core = True affectedActions = { "commandpermission-TOPIC": 10 } def channelModes(self): return [ ("t", ModeType.NoParam, self) ] def actions(self): return [ ("modeactioncheck-channel-t-commandpermission-TOPIC", 10, self.channelHasMode) ] def channelHasMo...
def channelModes(self): return [ ("t", ModeType.NoParam, self) ] def actions(self): return [ ("modeactioncheck-channel-t-commandpermission-TOPIC", 10, self.channelHasMode) ] def channelHasMode(self, channel, user, data): if "t" in channel.modes: return "" return None def apply(self, actionType, c...
<|file_sep|>original/txircd/modules/rfc/cmode_t.py core = True affectedActions = { "commandpermission-TOPIC": 10 } def channelModes(self): return [ ("t", ModeType.NoParam, self) ] def actions(self): return [ ("modeactioncheck-channel-t-commandpermission-TOPIC", 10, self.channelHasMode) ] def channelHasMo...
228b53836e9569fa901de341d7486f85152e67f9
txircd/modules/rfc/cmode_t.py
txircd/modules/rfc/cmode_t.py
Python
<|file_sep|>original/been/source/markdowndirectory.py value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore') value = unicode(re.sub('[^\w\s-]', '', value).strip().lower()) return re.sub('[-\s]+', '-', value) class MarkdownDirectory(DirectorySource): kind = 'markdown' def pr...
value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore') value = unicode(re.sub('[^\w\s-]', '', value).strip().lower()) return re.sub('[-\s]+', '-', value) class MarkdownDirectory(DirectorySource): kind = 'markdown' def process_event(self, event): md = markdown.Markdo...
<|file_sep|>original/been/source/markdowndirectory.py value = unicodedata.normalize('NFKD', unicode(value)).encode('ascii', 'ignore') value = unicode(re.sub('[^\w\s-]', '', value).strip().lower()) return re.sub('[-\s]+', '-', value) class MarkdownDirectory(DirectorySource): kind = 'markdown' def pr...
ad069a50ec7a4b4e6b1dac679e071279e128c824
been/source/markdowndirectory.py
been/source/markdowndirectory.py
Python
<|file_sep|>xzarr.py.diff original: self.storage_options = storage_options updated: self.storage_options = storage_options or {} <|file_sep|>xzarr.py.diff original: from dask.bytes.core import get_fs, infer_options, \ update_storage_options urlpath, protocol, options = infer_...
""" name = 'zarr' def __init__(self, urlpath, storage_options=None, metadata=None, **kwargs): super(ZarrSource, self).__init__(metadata=metadata) self.urlpath = urlpath self.storage_options = storage_options or {} self.kwargs = kwargs self._ds = None def _open_d...
<|file_sep|>xzarr.py.diff original: self.storage_options = storage_options updated: self.storage_options = storage_options or {} <|file_sep|>xzarr.py.diff original: from dask.bytes.core import get_fs, infer_options, \ update_storage_options urlpath, protocol, options = infer_...
8a821cb62a35547417fcd56d02486e5cc2d8494f
xzarr.py
xzarr.py
Python
<|file_sep|>original/kai/controllers/tracs.py import logging from pylons import config, tmpl_context as c from pylons.controllers.util import abort # Conditionally import the trac components in case things trac isn't installed try: import os os.environ['TRAC_ENV_PARENT_DIR'] = '/usr/local/www' os.environ[...
import logging from pylons import config, tmpl_context as c from pylons.controllers.util import abort # Monkey patch the lazywriter, since mercurial needs that on the stdout import paste.script.serve as serve serve.LazyWriter.closed = False # Conditionally import the trac components in case things trac isn't install...
<|file_sep|>original/kai/controllers/tracs.py import logging from pylons import config, tmpl_context as c from pylons.controllers.util import abort # Conditionally import the trac components in case things trac isn't installed try: import os os.environ['TRAC_ENV_PARENT_DIR'] = '/usr/local/www' os.environ[...
71b72c3f09af86da83a027502d28c9649db1cf86
kai/controllers/tracs.py
kai/controllers/tracs.py
Python
<|file_sep|>libutils/include/utils/assume.h.diff original: updated: #include <utils/attribute.h> <|file_sep|>libutils/include/utils/assume.h.diff original: updated: #include <utils/stringify.h> <|file_sep|>original/libutils/include/utils/assume.h * * @TAG(NICTA_BSD) */ #ifndef _UTILS_ASSUME_H #define _UTILS_ASSUM...
* occasionally successful, so don't think of it as a silver optimisation * bullet. */ #define ASSUME(x) \ do { \ if (!(x)) { \ __builtin_unreachable(); \ } \ } while (0) /* Indicate to the compiler that wherever this macro appears is a cold * execution path. That is, it is not p...
<|file_sep|>libutils/include/utils/assume.h.diff original: updated: #include <utils/attribute.h> <|file_sep|>libutils/include/utils/assume.h.diff original: updated: #include <utils/stringify.h> <|file_sep|>original/libutils/include/utils/assume.h * * @TAG(NICTA_BSD) */ #ifndef _UTILS_ASSUME_H #define _UTILS_ASSUM...
a3c982089a1443e909ebf8d6cf9be88f23c1f452
libutils/include/utils/assume.h
libutils/include/utils/assume.h
C
<|file_sep|>original/src/com/gildorymrp/core/EntityDamageListener.java <|file_sep|>current/src/com/gildorymrp/core/EntityDamageListener.java <|file_sep|>updated/src/com/gildorymrp/core/EntityDamageListener.java
package com.gildorymrp.core; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.EntityDamageEvent; public class EntityDamageListener implements Listener { private final int MAX_DISTANCE = 16; @Event...
<|file_sep|>original/src/com/gildorymrp/core/EntityDamageListener.java <|file_sep|>current/src/com/gildorymrp/core/EntityDamageListener.java <|file_sep|>updated/src/com/gildorymrp/core/EntityDamageListener.java package com.gildorymrp.core; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukk...
45da1659a4d10fa58b076e7216d0109494f2d099
src/com/gildorymrp/core/EntityDamageListener.java
src/com/gildorymrp/core/EntityDamageListener.java
Java
<|file_sep|>app/views/documentation/webhooks.html.haml.diff original: every time one of your scrapers finishes a run. updated: every time one of your scrapers finishes running. <|file_sep|>original/app/views/documentation/webhooks.html.haml You can use webhooks to trigger actions in external services every tim...
You can use webhooks to trigger actions in external services every time one of your scrapers finishes running. You can trigger all kind of fun actions: send emails when a scraper is finished; immediately pull fresh data from a scraper’s API; or run realtime analysis—anything you like. Add *webhook URLs*...
<|file_sep|>app/views/documentation/webhooks.html.haml.diff original: every time one of your scrapers finishes a run. updated: every time one of your scrapers finishes running. <|file_sep|>original/app/views/documentation/webhooks.html.haml You can use webhooks to trigger actions in external services every tim...
5dfbadc3a0d83e21b220afb9b96db2b8388cdc84
app/views/documentation/webhooks.html.haml
app/views/documentation/webhooks.html.haml
Haml
<|file_sep|>original/i18n/pt-br.json "INTRODUCTION": "INTRODUÇÃO" , "VARIABLES": "VARIÁVEIS" , "STRINGS": "STRINGS" , "STRING LENGTH": "TAMANHO DAS STRINGS" , "REVISING STRINGS": "MODIFICANDO STRINGS" , "NUMBERS": ...
, "VARIABLES": "VARIÁVEIS" , "STRINGS": "STRINGS" , "STRING LENGTH": "TAMANHO DAS STRINGS" , "REVISING STRINGS": "MODIFICANDO STRINGS" , "NUMBERS": "NÚMEROS" , "ROUNDING NUMBERS": "ARREDONDANDO NÚMEROS" ...
<|file_sep|>original/i18n/pt-br.json "INTRODUCTION": "INTRODUÇÃO" , "VARIABLES": "VARIÁVEIS" , "STRINGS": "STRINGS" , "STRING LENGTH": "TAMANHO DAS STRINGS" , "REVISING STRINGS": "MODIFICANDO STRINGS" , "NUMBERS": ...
be4b23213c4063b9014a537fdf579f44c7fd1e6d
i18n/pt-br.json
i18n/pt-br.json
JSON
<|file_sep|>original/spec/ruby-function_spec.rb require 'minitest/autorun' require 'ruby-function' describe "recursive" do it "creates a recursive function" do func = recursive { |this, i| if i < 1 i else this.call(i - 1) end } func.call(10).must_equal(0) end end <|fi...
require 'minitest/autorun' require 'ruby-function' describe "recursive" do it "creates a recursive function" do func = recursive { |this, i| if i < 1 i else this.call(i - 1) end } func.call(10).must_equal(0) end it "returns an instance of Proc" do func = recurs...
<|file_sep|>original/spec/ruby-function_spec.rb require 'minitest/autorun' require 'ruby-function' describe "recursive" do it "creates a recursive function" do func = recursive { |this, i| if i < 1 i else this.call(i - 1) end } func.call(10).must_equal(0) end end <|fi...
d118d864564c6d0a838ba51a409115fc3a4ba9a4
spec/ruby-function_spec.rb
spec/ruby-function_spec.rb
Ruby
<|file_sep|>original/website/steeringCommittee_photos/README.md ## Headshots Please upload a photo of yourself for the website to this folder. Using your face is probably a good idea. I'll likely convert to black and white and crop to a circle around your face (like on github). ## Name + affiliation Artem Babaian -...
## Headshots Please upload a photo of yourself for the website to this folder. Using your face is probably a good idea. I'll likely convert to black and white and crop to a circle around your face (like on github). ## Name + affiliation Artem Babaian - Grad Student in Medical Genetics, UBC Tiffany Timbers - Postdo...
<|file_sep|>original/website/steeringCommittee_photos/README.md ## Headshots Please upload a photo of yourself for the website to this folder. Using your face is probably a good idea. I'll likely convert to black and white and crop to a circle around your face (like on github). ## Name + affiliation Artem Babaian -...
06f083b19b2bb11399cc1c530f5327d66efc9dab
website/steeringCommittee_photos/README.md
website/steeringCommittee_photos/README.md
Markdown
<|file_sep|>original/setup.py "flask>=2.0.0", "Werkzeug>=2.0.0", "requests>=2.9.1", "msgpack>=0.6.2", "pyzmq>=16.0.2", "geventhttpclient>=1.4.4", "ConfigArgParse>=1.0", "psutil>=5.6.7", "Flask-BasicAuth>=0.2.0", "Flask-Cors>=3.0.10", ],...
"flask>=2.0.0", "Werkzeug>=2.0.0", "requests>=2.9.1", "msgpack>=0.6.2", "pyzmq>=16.0.2", "geventhttpclient>=1.4.4", "ConfigArgParse>=1.0", "psutil>=5.6.7", "Flask-BasicAuth>=0.2.0", "Flask-Cors>=3.0.10", "roundrobin>=0.0.2", ], ...
<|file_sep|>original/setup.py "flask>=2.0.0", "Werkzeug>=2.0.0", "requests>=2.9.1", "msgpack>=0.6.2", "pyzmq>=16.0.2", "geventhttpclient>=1.4.4", "ConfigArgParse>=1.0", "psutil>=5.6.7", "Flask-BasicAuth>=0.2.0", "Flask-Cors>=3.0.10", ],...
4868c9a6e976612ceed26c166c3dea7fd58d0d35
setup.py
setup.py
Python
<|file_sep|>index.md.diff original: ## Tor Hack Day! Sunday October 2nd, 1pm, [All Hands Active][aha], 255 E Liberty, Suite 225 (Lower Level) In solidarity with the official Tor Project, we'll be having a Tor hack day! The goal is to collectively learn about, work on, and experiment with tor and everything tor-relate...
--- layout: home excerpt: "technical education for social liberation" tags: [cryptoparty, ann arbor, privacy, cryptography, activism] image: feature: ann-arbor-snow-landscape-shrunk.png credit: zandi share: false --- ## Next Events * **General Meeting** -- November 12th at 4pm in [All Hands Active][aha], 255 E Lib...
<|file_sep|>index.md.diff original: ## Tor Hack Day! Sunday October 2nd, 1pm, [All Hands Active][aha], 255 E Liberty, Suite 225 (Lower Level) In solidarity with the official Tor Project, we'll be having a Tor hack day! The goal is to collectively learn about, work on, and experiment with tor and everything tor-relate...
727e48432f1a498b5230803c2011e57e10143349
index.md
index.md
Markdown
<|file_sep|>original/om/test/CMakeLists.txt add_ab_test(TestAllocator om) add_ab_test(TestContext om) add_ab_test(TestGcLock om) add_ab_test(TestRef om) add_ab_test(TestSystem om) add_ab_test(TestValue om) <|file_sep|>current/om/test/CMakeLists.txt add_ab_test(TestAllocator om) add_ab_test(TestContext om) add_ab_test(T...
add_ab_test(TestAllocator om) add_ab_test(TestContext om) add_ab_test(TestRef om) add_ab_test(TestSystem om) add_ab_test(TestValue om)
<|file_sep|>original/om/test/CMakeLists.txt add_ab_test(TestAllocator om) add_ab_test(TestContext om) add_ab_test(TestGcLock om) add_ab_test(TestRef om) add_ab_test(TestSystem om) add_ab_test(TestValue om) <|file_sep|>current/om/test/CMakeLists.txt add_ab_test(TestAllocator om) add_ab_test(TestContext om) add_ab_test(T...
2cf7778d3d19249894b42d2751e7f9f87c9184e4
om/test/CMakeLists.txt
om/test/CMakeLists.txt
Text
<|file_sep|>package.json.diff original: "name": "init-gulp", updated: "name": "gulp-boilerplate", <|file_sep|>original/package.json ], "dependencies": { "browserify":"*", "coffeeify":"*", "uglifyify":"*", "vinyl-source-stream":"*", "exorcist":"*", "gulp":"*", "gulp-imag...
{ "name": "gulp-boilerplate", "version": "0.1.0", "description": "Bootstrap for gulp tasks", "main": "gulpfile.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "gulp", "tasks" ], "dependencies": { "gulp": "^3.8.11", "gulp-util": "^3.0.4" },...
<|file_sep|>package.json.diff original: "name": "init-gulp", updated: "name": "gulp-boilerplate", <|file_sep|>original/package.json ], "dependencies": { "browserify":"*", "coffeeify":"*", "uglifyify":"*", "vinyl-source-stream":"*", "exorcist":"*", "gulp":"*", "gulp-imag...
6f14d4d35e44a65165ad0f4a2672ba54f0063dcc
package.json
package.json
JSON
<|file_sep|>packages/th/th-printf.yaml.diff original: hash: 1c8397366f69a608a9873f6b66f8e96e16f78e059378590bef1b2a9585529d4e updated: hash: b0fcc0df6952098b12d47ab9b58b91e75c9dd086cc83a909e318b5815566c2db <|file_sep|>packages/th/th-printf.yaml.diff original: base: <4.8 updated: base: <4.10 <|file_sep|>packages/th/t...
maintainer: me@joelt.io synopsis: Compile-time printf changelog: '' basic-deps: bytestring: -any base: <4.10 text: -any attoparsec: -any transformers: -any template-haskell: -any all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.0.1' - '0.3.0.0' - '0.3.1' author: Joel Taylor latest: '0.3.1' description-type: had...
<|file_sep|>packages/th/th-printf.yaml.diff original: hash: 1c8397366f69a608a9873f6b66f8e96e16f78e059378590bef1b2a9585529d4e updated: hash: b0fcc0df6952098b12d47ab9b58b91e75c9dd086cc83a909e318b5815566c2db <|file_sep|>packages/th/th-printf.yaml.diff original: base: <4.8 updated: base: <4.10 <|file_sep|>packages/th/t...
a8bef06a008a4406c209d75a30963f0d15a12f60
packages/th/th-printf.yaml
packages/th/th-printf.yaml
YAML
<|file_sep|>benchmarks/benchmarks/bench_lib.py.diff original: [(1000,), (10, 100), (10, 10, 10)], [1, 3, (0, 5)], ["constant", "edge", "linear_ramp", "mean", "reflect", "wrap"], updated: [(1000,), (10, 100), (10, 10, 10), # 50 * 512 * 512 = 13 million points = ...
# out of cache describing a typical usecase (50, 512, 512)], [1, 3, (0, 5)], ["constant", "edge", "linear_ramp", # mean/median/minimum/maximum all use the same code path "mean", # reflect/symmetric share alot of the code path ...
<|file_sep|>benchmarks/benchmarks/bench_lib.py.diff original: [(1000,), (10, 100), (10, 10, 10)], [1, 3, (0, 5)], ["constant", "edge", "linear_ramp", "mean", "reflect", "wrap"], updated: [(1000,), (10, 100), (10, 10, 10), # 50 * 512 * 512 = 13 million points = ...
ba008f405a89d07e170d1b4c893246fb25ccba04
benchmarks/benchmarks/bench_lib.py
benchmarks/benchmarks/bench_lib.py
Python
<|file_sep|>original/requirements.txt # For image handling #PIL >= 1.1, < 1.2 # Doesn't work on multiarch system Pillow >= 1.7, < 1.8 # For crawling comics feedparser >= 4.0, < 6 lxml >= 2.0, < 3 # For static resource compression django_compressor >= 1.1, < 1.2 cssmin >= 0.1, < 0.2 jsmin >= 2.0, < 2.1 # For user re...
# For image handling #PIL >= 1.1, < 1.2 # Doesn't work on multiarch system Pillow >= 1.7, < 1.8 # For crawling comics feedparser >= 4.0, < 6 lxml >= 2.0, < 3 # For static resource compression django_compressor >= 1.1, < 1.3 cssmin >= 0.1, < 0.2 jsmin >= 2.0, < 2.1 # For user registration with email verification dja...
<|file_sep|>original/requirements.txt # For image handling #PIL >= 1.1, < 1.2 # Doesn't work on multiarch system Pillow >= 1.7, < 1.8 # For crawling comics feedparser >= 4.0, < 6 lxml >= 2.0, < 3 # For static resource compression django_compressor >= 1.1, < 1.2 cssmin >= 0.1, < 0.2 jsmin >= 2.0, < 2.1 # For user re...
c2ab43793d34d7dd37a54bf69a951a82c167f91b
requirements.txt
requirements.txt
Text
<|file_sep|>original/MyGitSandboxProject/src/main/java/ch/heigvd/res/mygitsandboxproject/MyApplication.java * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ch.heigvd.res.mygitsan...
* To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ch.heigvd.res.mygitsandboxproject; /** * * @author Bob * @author Alice */ public class MyApplication { /** * @param ar...
<|file_sep|>original/MyGitSandboxProject/src/main/java/ch/heigvd/res/mygitsandboxproject/MyApplication.java * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ch.heigvd.res.mygitsan...
523fac8dcd5e878087eaf392c6c4ec4829fdc551
MyGitSandboxProject/src/main/java/ch/heigvd/res/mygitsandboxproject/MyApplication.java
MyGitSandboxProject/src/main/java/ch/heigvd/res/mygitsandboxproject/MyApplication.java
Java
<|file_sep|>src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java.diff original: updated: import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; <|file_sep|>original/src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java import info.u_team.u_team_core.UCoreMod; import info.u_tea...
import info.u_team.u_team_core.UCoreMod; import info.u_team.u_team_core.intern.network.*; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.network.NetworkRegistry; import net.minecraftforge.fml.network.simple.SimpleChannel; pub...
<|file_sep|>src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java.diff original: updated: import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; <|file_sep|>original/src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java import info.u_team.u_team_core.UCoreMod; import info.u_tea...
0e86aad1930c44570935d0885e07ec92cd7f23aa
src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java
src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java
Java
<|file_sep|>original/_config.yml name: Your New Jekyll Site description: Blogging about stuffs meta_description: "Your New Jekyll Site, Blogging about stuffs" markdown: redcarpet pygments: true logo: false paginate: 15 # Details for the RSS feed generator url: 'blog url' author: 'Your Name' <|file_...
name: Your New Jekyll Site description: Blogging about stuffs meta_description: "Your New Jekyll Site, Blogging about stuffs" markdown: redcarpet highlighter: pygments logo: false paginate: 15 # Details for the RSS feed generator url: 'blog url' author: 'Your Name'
<|file_sep|>original/_config.yml name: Your New Jekyll Site description: Blogging about stuffs meta_description: "Your New Jekyll Site, Blogging about stuffs" markdown: redcarpet pygments: true logo: false paginate: 15 # Details for the RSS feed generator url: 'blog url' author: 'Your Name' <|file_...
0ed25393e6e9f3c00b6052bca034da40b62eb188
_config.yml
_config.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.6" - "0.8" before_install: - "sudo apt-get install libicu-dev" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.6" - "0.8" before_install: - "sudo apt-get install libicu-dev" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.6" - "0.8" - "0.9" - "0.10" before_install: - "sudo apt-get install libicu-dev"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.6" - "0.8" before_install: - "sudo apt-get install libicu-dev" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.6" - "0.8" before_install: - "sudo apt-get install libicu-dev" <|file_sep|>updated/.travis.yml language: node_js nod...
69422ef6e1fb9a5c4dc21d12bbb9b406078c06ef
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/os/install/macos/cli_tools.sh #!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_in_purple "\n CLI Tools\n\n" <|file_sep|>current/src/os/install/macos/cli_tools.sh...
#!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_in_purple "\n CLI Tools\n\n" brew_install "coreutils" "coreutils" brew_install "automake" "automake" brew_install "autoconf" "autoconf" ...
<|file_sep|>original/src/os/install/macos/cli_tools.sh #!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_in_purple "\n CLI Tools\n\n" <|file_sep|>current/src/os/install/macos/cli_tools.sh...
b32d6e86ad42a1e6616eab422eeb90bdce578247
src/os/install/macos/cli_tools.sh
src/os/install/macos/cli_tools.sh
Shell
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Fri May 09 12:14:52 EDT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.7-all.zip <|file_sep|>current/gradle/wr...
#Fri May 09 12:14:52 EDT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Fri May 09 12:14:52 EDT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.7-all.zip <|file_sep|>current/gradle/wr...
c4ae58454f82dba05311bb50f251d4d90b217824
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>src/Bson/BsonDocumentRegistry.fs.diff original: let Add = dict.Add updated: let Add key samples = dict.Add(key, samples) <|file_sep|>src/Bson/BsonDocumentRegistry.fs.diff original: let Remove = dict.Remove updated: let Remove key = dict.Remove key <|file_sep|>original/src/Bson/BsonDocumentRe...
open System.Collections.Generic open MongoDB.Bson [<RequireQualifiedAccess>] module DocumentRegistry = let private dict = Dictionary<string, seq<BsonDocument>>() let Add key samples = dict.Add(key, samples) let Remove key = dict.Remove key let Clear() = dict.Clear() let GetValue key = dict.[k...
<|file_sep|>src/Bson/BsonDocumentRegistry.fs.diff original: let Add = dict.Add updated: let Add key samples = dict.Add(key, samples) <|file_sep|>src/Bson/BsonDocumentRegistry.fs.diff original: let Remove = dict.Remove updated: let Remove key = dict.Remove key <|file_sep|>original/src/Bson/BsonDocumentRe...
6ac00b2ff825a1c9511a68e3e47737dd0477be8b
src/Bson/BsonDocumentRegistry.fs
src/Bson/BsonDocumentRegistry.fs
F#
<|file_sep|>original/ci-scripts/tripleo-upstream/dlrnapi_venv.sh function activate_dlrnapi_venv { if [ ! -d $WORKSPACE/dlrnapi_venv ]; then virtualenv --system-site-packages $WORKSPACE/dlrnapi_venv fi source $WORKSPACE/dlrnapi_venv/bin/activate pip install -U dlrnapi_client shyaml } function de...
function activate_dlrnapi_venv { if [ ! -d $WORKSPACE/dlrnapi_venv ]; then if [ $(command -v virtualenv) ]; then virtualenv --system-site-packages $WORKSPACE/dlrnapi_venv else python3 -m venv --system-site-packages $WORKSPACE/dlrnapi_venv fi fi source $WORKSP...
<|file_sep|>original/ci-scripts/tripleo-upstream/dlrnapi_venv.sh function activate_dlrnapi_venv { if [ ! -d $WORKSPACE/dlrnapi_venv ]; then virtualenv --system-site-packages $WORKSPACE/dlrnapi_venv fi source $WORKSPACE/dlrnapi_venv/bin/activate pip install -U dlrnapi_client shyaml } function de...
0e6fed14e0be4c49a199bdc2d585335f302d5a10
ci-scripts/tripleo-upstream/dlrnapi_venv.sh
ci-scripts/tripleo-upstream/dlrnapi_venv.sh
Shell
<|file_sep|>original/web/locales/ha/messages.ftl <|file_sep|>current/web/locales/ha/messages.ftl <|file_sep|>updated/web/locales/ha/messages.ftl
## General return-to-cv = Koma zuwa ga Gama-garin Muryuka submit-form-action = Tura # Don't rename the following section, its contents are auto-inserted based on the name (see scripts/pontoon-languages-to-ftl.js) # [Languages] ## Languages # [/] ## Layout ## Home Page
<|file_sep|>original/web/locales/ha/messages.ftl <|file_sep|>current/web/locales/ha/messages.ftl <|file_sep|>updated/web/locales/ha/messages.ftl ## General return-to-cv = Koma zuwa ga Gama-garin Muryuka submit-form-action = Tura # Don't rename the following section, its contents are auto-inserted based on the name ...
03c92945daa917d2c88a03c8b4ecad10f59f4ffb
web/locales/ha/messages.ftl
web/locales/ha/messages.ftl
FreeMarker
<|file_sep|>original/WordPress-Theme/ruleset.xml <?xml version="1.0"?> <ruleset name="WordPress Theme"> <!-- For more information: https://make.wordpress.org/themes/handbook/review/ --> <description>Standards any Theme to be published on wordpress.org should comply with.</description> <!-- No PHP short open tags a...
<?xml version="1.0"?> <ruleset name="WordPress Theme"> <!-- For more information: https://make.wordpress.org/themes/handbook/review/ --> <description>Standards any Theme to be published on wordpress.org should comply with.</description> <!-- No PHP short open tags allowed. --> <!-- Covers: https://github.com/Otto...
<|file_sep|>original/WordPress-Theme/ruleset.xml <?xml version="1.0"?> <ruleset name="WordPress Theme"> <!-- For more information: https://make.wordpress.org/themes/handbook/review/ --> <description>Standards any Theme to be published on wordpress.org should comply with.</description> <!-- No PHP short open tags a...
544facb25e0b082e288169da30219d121cb688b2
WordPress-Theme/ruleset.xml
WordPress-Theme/ruleset.xml
XML
<|file_sep|>original/emoji/templates/emoji/script.html {% load url from future %} {% load static %} <script src="{% static 'emoji/js/emoji.js' %}"></script> <script> if($) { Emoji.setDataUrl('{% url 'emoji:list.json' %}').load(); } </script> <|file_sep|>current/emoji/templates/emoji/script.html {% load url from fu...
{% load static %} <script src="{% static 'emoji/js/emoji.js' %}"></script> <script> if($) { Emoji.setDataUrl('{% url 'emoji:list.json' %}').load(); } </script>
<|file_sep|>original/emoji/templates/emoji/script.html {% load url from future %} {% load static %} <script src="{% static 'emoji/js/emoji.js' %}"></script> <script> if($) { Emoji.setDataUrl('{% url 'emoji:list.json' %}').load(); } </script> <|file_sep|>current/emoji/templates/emoji/script.html {% load url from fu...
060275ae13f9ef9454468ff6bf5a64b75329d38b
emoji/templates/emoji/script.html
emoji/templates/emoji/script.html
HTML
<|file_sep|>original/infra/kokoro_ci/run_ui_tests.sh <|file_sep|>current/infra/kokoro_ci/run_ui_tests.sh <|file_sep|>updated/infra/kokoro_ci/run_ui_tests.sh
#!/bin/bash # Copyright (C) 2018 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
<|file_sep|>original/infra/kokoro_ci/run_ui_tests.sh <|file_sep|>current/infra/kokoro_ci/run_ui_tests.sh <|file_sep|>updated/infra/kokoro_ci/run_ui_tests.sh #!/bin/bash # Copyright (C) 2018 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file ...
c814c9a15e0337122bed3fdf24a35b6f8512ae05
infra/kokoro_ci/run_ui_tests.sh
infra/kokoro_ci/run_ui_tests.sh
Shell
<|file_sep|>original/js/main.js $('#submit').click(function(event){ getData(); }); $('#formThing').submit(function(event){ event.preventDefault(); getData(); }); }); function getData(){ $.get('https://player.me/api/v1/users/' + $('#inputText').val(), "?username=true", function(o...
$('#submit').click(function(event){ getData(); }); $('#formThing').submit(function(event){ event.preventDefault(); getData(); }); }); function getData(){ $.get('https://player.me/api/v1/users/' + $('#inputText').val(), "username=true", function(outer){ var data = outer....
<|file_sep|>original/js/main.js $('#submit').click(function(event){ getData(); }); $('#formThing').submit(function(event){ event.preventDefault(); getData(); }); }); function getData(){ $.get('https://player.me/api/v1/users/' + $('#inputText').val(), "?username=true", function(o...
edfb5c76fcb99d2791585ba5fa423963eae7c148
js/main.js
js/main.js
JavaScript
<|file_sep|>original/spec/bin/t012_git_contest_list_spec.rb <|file_sep|>current/spec/bin/t012_git_contest_list_spec.rb <|file_sep|>updated/spec/bin/t012_git_contest_list_spec.rb
require 'spec_helper' describe "T012: git-contest-list" do before do ENV['GIT_CONTEST_CONFIG'] = "#{@temp_dir}/config.yml" end context "git-contest-list sites" do before do # create config File.open "#{@temp_dir}/config.yml", 'w' do |file| file.write <<EOF sites: test_site1: dr...
<|file_sep|>original/spec/bin/t012_git_contest_list_spec.rb <|file_sep|>current/spec/bin/t012_git_contest_list_spec.rb <|file_sep|>updated/spec/bin/t012_git_contest_list_spec.rb require 'spec_helper' describe "T012: git-contest-list" do before do ENV['GIT_CONTEST_CONFIG'] = "#{@temp_dir}/config.yml" end c...
376c74897b96d7e0228c4e845d9520c266e2d040
spec/bin/t012_git_contest_list_spec.rb
spec/bin/t012_git_contest_list_spec.rb
Ruby
<|file_sep|>original/panoptes/panoptes.py <|file_sep|>current/panoptes/panoptes.py <|file_sep|>updated/panoptes/panoptes.py
#!/usr/bin/env python import ephem import panoptes.utils.logger as logger import panoptes.observatory as observatory class Panoptes: """ Sets up logger, reads config file and starts up application. """ def __init__(self): # Setup utils self.logger = logger.Logger() self.logge...
<|file_sep|>original/panoptes/panoptes.py <|file_sep|>current/panoptes/panoptes.py <|file_sep|>updated/panoptes/panoptes.py #!/usr/bin/env python import ephem import panoptes.utils.logger as logger import panoptes.observatory as observatory class Panoptes: """ Sets up logger, reads config file and starts u...
9daceaf8cad088a1507af7ce1503f15bc619695d
panoptes/panoptes.py
panoptes/panoptes.py
Python
<|file_sep|>modules/title/sites/githubgist.lua.diff original: if name == json.util.null then name = 'Anonymous' else name = info.user.login end updated: if name == json.util.null then name = 'Anonymous' else name...
name = 'Anonymous' else name = info.user.login end local files = '' for file,_ in pairs(info.files) do files = files..file..' ' end local time = info.updated_at local out = {} table.insert(out, string.format('\002@%s\002 %s %s', name, time, files)) queue:done(table....
<|file_sep|>modules/title/sites/githubgist.lua.diff original: if name == json.util.null then name = 'Anonymous' else name = info.user.login end updated: if name == json.util.null then name = 'Anonymous' else name...
74fb91795cea8ff45a752f8945fca57cb920de53
modules/title/sites/githubgist.lua
modules/title/sites/githubgist.lua
Lua
<|file_sep|>original/api/__init__.py <|file_sep|>current/api/__init__.py <|file_sep|>updated/api/__init__.py
from api.models import BaseTag TAGS = { 'fairness': { 'color': '#bcf0ff', 'description': 'Fairness is ideas of justice, rights, and autonomy.', }, 'cheating': { 'color': '#feffbc', 'description': 'Cheating is acting dishonestly or unfairly in order to gain an advantage.', }, 'loyalty': { ...
<|file_sep|>original/api/__init__.py <|file_sep|>current/api/__init__.py <|file_sep|>updated/api/__init__.py from api.models import BaseTag TAGS = { 'fairness': { 'color': '#bcf0ff', 'description': 'Fairness is ideas of justice, rights, and autonomy.', }, 'cheating': { 'color': '#feffbc', 'desc...
18a8a9e90ab0dd31ca1ee147f85d16d0cc7e6bc1
api/__init__.py
api/__init__.py
Python
<|file_sep|>t/05-messages/01-errors.t.diff original: # RT #129763 https://rt.perl.org/Ticket/Display.html?id=129763 updated: # RT #129763 <|file_sep|>t/05-messages/01-errors.t.diff original: # RT #130712 https://rt.perl.org/Public/Bug/Display.html?id=130712 updated: # RT #130712 <|file_sep|>original/t/05-messages/01-er...
for @quotes -> $q { throws-like $q, Exception, :message{ not .contains('smart') and .contains('curly') }, "$q (U+$q.ord.base(16)) quote is called curly, not smart"; } } # RT #130712 throws-like 'sub infix:<$>() return Nil {}', X::AdHoc, :message{ .contains("'returns'") }, ...
<|file_sep|>t/05-messages/01-errors.t.diff original: # RT #129763 https://rt.perl.org/Ticket/Display.html?id=129763 updated: # RT #129763 <|file_sep|>t/05-messages/01-errors.t.diff original: # RT #130712 https://rt.perl.org/Public/Bug/Display.html?id=130712 updated: # RT #130712 <|file_sep|>original/t/05-messages/01-er...
c5ab28fe2f5287640c0021e5794ec84da4d79feb
t/05-messages/01-errors.t
t/05-messages/01-errors.t
Perl
<|file_sep|>manifest.json.diff original: "version": "0.0.1", updated: "version": "0.0.3", <|file_sep|>manifest.json.diff original: "http://en.wikipedia.org/*" updated: "https://wikipedia.org/*", "http://en.wikipedia.org/*", "https://en.wikipedia.org/*" <|file_sep|>original/manifest.json "48": "i...
"permissions": [ "http://wikipedia.org/*", "https://wikipedia.org/*", "http://en.wikipedia.org/*", "https://en.wikipedia.org/*" ], "content_scripts": [ { "matches": [ "http://wikipedia.org/*", "https://wikipedia.org/*", "http://*.wikipedia.org/*", "https:/...
<|file_sep|>manifest.json.diff original: "version": "0.0.1", updated: "version": "0.0.3", <|file_sep|>manifest.json.diff original: "http://en.wikipedia.org/*" updated: "https://wikipedia.org/*", "http://en.wikipedia.org/*", "https://en.wikipedia.org/*" <|file_sep|>original/manifest.json "48": "i...
11206bbd2a7a48f47b9bcf05ca75030f84749c65
manifest.json
manifest.json
JSON
<|file_sep|>original/requirements.txt discord.py==1.0.0a1437+g2f562bd prettytable==0.7.2 requests==2.12.4 beautifulsoup4==4.5.3 strawpy==1.1 lxml==3.8.0 psutil==5.2.1 PythonGists==1.1.3 GitPython==2.1.3 Pillow==4.2.1 pyfiglet==0.7.5 tokage==1.0.0 pytz==2017.2 PyGithub==1.34 <|file_sep|>current/requirements.txt discord....
git+https://github.com/Rapptz/discord.py@2f562bd695367aff549676850f84460a2ba0aea2 prettytable==0.7.2 requests==2.12.4 beautifulsoup4==4.5.3 strawpy==1.1 lxml==3.8.0 psutil==5.2.1 PythonGists==1.1.3 GitPython==2.1.3 Pillow==4.2.1 pyfiglet==0.7.5 tokage==1.0.0 pytz==2017.2 PyGithub==1.34
<|file_sep|>original/requirements.txt discord.py==1.0.0a1437+g2f562bd prettytable==0.7.2 requests==2.12.4 beautifulsoup4==4.5.3 strawpy==1.1 lxml==3.8.0 psutil==5.2.1 PythonGists==1.1.3 GitPython==2.1.3 Pillow==4.2.1 pyfiglet==0.7.5 tokage==1.0.0 pytz==2017.2 PyGithub==1.34 <|file_sep|>current/requirements.txt discord....
4f77323d471be02cd6b607b4ccb18865ee5c9656
requirements.txt
requirements.txt
Text
<|file_sep|>original/microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java <|file_sep|>current/microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java <|file_sep|>updated/microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java
/* * Copyright 2015 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<|file_sep|>original/microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java <|file_sep|>current/microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java <|file_sep|>updated/microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java /* * Copyright 2015 Th...
2e36ac45944299676f0df994443b2c973b008b47
microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java
microbench/src/test/java/io/netty/microbench/buffer/HeapByteBufBenchmark.java
Java
<|file_sep|>original/presto-docs/src/main/sphinx/admin/web-interface.rst ============= Web Interface ============= Presto provides a web interface for monitoring and managing queries. The web interface is accessible on the Presto coordinator via HTTP, using the HTTP port number specified in the coordinator :ref:`confi...
Presto provides a web interface for monitoring and managing queries. The web interface is accessible on the Presto coordinator via HTTP, using the HTTP port number specified in the coordinator :ref:`config_properties`. The main page has a list of queries along with information like unique query ID, query text, query ...
<|file_sep|>original/presto-docs/src/main/sphinx/admin/web-interface.rst ============= Web Interface ============= Presto provides a web interface for monitoring and managing queries. The web interface is accessible on the Presto coordinator via HTTP, using the HTTP port number specified in the coordinator :ref:`confi...
07efd17c2712d5f03cde36ba2cf2cf377754242c
presto-docs/src/main/sphinx/admin/web-interface.rst
presto-docs/src/main/sphinx/admin/web-interface.rst
reStructuredText
<|file_sep|>Homestead/zend-server.sh.diff original: updated: # Answer 'Y' when asked to overwrite an nginx conf file. <|file_sep|>original/Homestead/zend-server.sh sudo su # Let's backup our existing site configurations mkdir sites-available cp /etc/nginx/sites-available ./sites-available # Remove the Ubuntu-specif...
apt-get update -y # Let's run the Zend Server installation! wget http://downloads.zend.com/zendserver/8.5.0/ZendServer-8.5.0-RepositoryInstaller-linux.tar.gz -O - | tar -xzf - -C /tmp && /tmp/ZendServer-RepositoryInstaller-linux/install_zs.sh 5.6 nginx --automatic # Answer 'Y' when asked to overwrite an nginx conf fi...
<|file_sep|>Homestead/zend-server.sh.diff original: updated: # Answer 'Y' when asked to overwrite an nginx conf file. <|file_sep|>original/Homestead/zend-server.sh sudo su # Let's backup our existing site configurations mkdir sites-available cp /etc/nginx/sites-available ./sites-available # Remove the Ubuntu-specif...
ebd7ae134c3be6587c0e969a450948ee54bd28c9
Homestead/zend-server.sh
Homestead/zend-server.sh
Shell
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' before_script: - npm install -g bower - bower install after_script: - npm install -g codeclimate-test-reporter - codeclimate < ./coverage/lcov.info deploy: provider: npm email: bvdrucker@gmail.com api_key: secure: v/bu4eDJrTzplMHwOBLas5VxQsx...
language: node_js node_js: - '0.10' before_script: - npm install -g bower - bower install after_script: - npm install -g codeclimate-test-reporter - codeclimate < ./coverage/lcov.info deploy: provider: npm email: bvdrucker@gmail.com api_key: secure: v/bu4eDJrTzplMHwOBLas5VxQsxLblu6xQVwSjmNrShXhzpGJYLswbj4yQKy...
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' before_script: - npm install -g bower - bower install after_script: - npm install -g codeclimate-test-reporter - codeclimate < ./coverage/lcov.info deploy: provider: npm email: bvdrucker@gmail.com api_key: secure: v/bu4eDJrTzplMHwOBLas5VxQsx...
559428044546bec0a54b88b3607a277461331d45
.travis.yml
.travis.yml
YAML
<|file_sep|>concerns/observes-viewport.coffee.diff original: mounted: -> return unless @shouldObserve and IntersectionObserver? @observer = new IntersectionObserver @onInViewport, @makeIntersectionOptions() @observer.observe @$el updated: # Start observing on init mounted: -> @startObserving() <|file_s...
# Start observing if appropriate startObserving: -> return unless @shouldObserve and IntersectionObserver? return if @observer # Don't make multiple observers @observer = new IntersectionObserver @onInViewport, @makeIntersectionOptions() @observer.observe @$el # Parse interesection options ma...
<|file_sep|>concerns/observes-viewport.coffee.diff original: mounted: -> return unless @shouldObserve and IntersectionObserver? @observer = new IntersectionObserver @onInViewport, @makeIntersectionOptions() @observer.observe @$el updated: # Start observing on init mounted: -> @startObserving() <|file_s...
4d2d1f46760181a403e2e5392848a8faabe71a02
concerns/observes-viewport.coffee
concerns/observes-viewport.coffee
CoffeeScript
<|file_sep|>original/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.4.2 numpy==1.16.0 future==0.17.1 networkx==2.2 dynetx==0.2.1 bokeh==1.0.4 matplotlib==3.0.2 pytest==4.2.0 <|file_sep|>current/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.4.2 numpy==1.16.0 future==0.17.1 networkx==2.2 dynetx==0.2.1 bokeh==1.0.4 m...
mock==2.0.0 sphinx_rtd_theme==0.4.2 numpy==1.16.1 future==0.17.1 networkx==2.2 dynetx==0.2.1 bokeh==1.0.4 matplotlib==3.0.2 pytest==4.2.0
<|file_sep|>original/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.4.2 numpy==1.16.0 future==0.17.1 networkx==2.2 dynetx==0.2.1 bokeh==1.0.4 matplotlib==3.0.2 pytest==4.2.0 <|file_sep|>current/requirements.txt mock==2.0.0 sphinx_rtd_theme==0.4.2 numpy==1.16.0 future==0.17.1 networkx==2.2 dynetx==0.2.1 bokeh==1.0.4 m...
dcf230b68b91af954ad27f8fb90bf5bf6fce4a59
requirements.txt
requirements.txt
Text
<|file_sep|>original/whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy <|file_sep|>current/whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy
Map langs = Collections.synchronizedMap([:]) selectBySqlWhere("collection = 'definitions' AND data#>>'{@graph,1,@type}' = 'Language'") { data -> Map instance = data.graph[1] String mainEntityId = instance."@id" List prefLabels = instance.prefLabelByLang*.value langs[mainEntityId] = prefLabels } Stri...
<|file_sep|>original/whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy <|file_sep|>current/whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy Map langs = Collections.synchronizedMap([:]) selectB...
fee6d67dd9768f23603c0410e55c7be014518907
whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy
whelktool/scripts/cleanups/2021/05/lxl-3594-move-hasNotation.groovy
Groovy
<|file_sep|>spec/views/assets/_transit_facility_fta.html.haml_spec.rb.diff original: test_asset = create(:bus_shelter, :fta_funding_type_id => 1, :pcnt_capital_responsibility =>22, :fta_facility_type_id => 1) test_asset.fta_mode_types << FtaModeType.first updated: test_asset = create(:bus_shelter, :fta_fund...
require 'rails_helper' describe "assets/_transit_facility_fta.html.haml", :type => :view do it 'fta info' do test_asset = create(:bus_shelter, :fta_funding_type_id => 1, :pcnt_capital_responsibility =>22, :fta_facility_type_id => 1, :primary_fta_mode_type => FtaModeType.first, :fta_private_mode_type => FtaPriva...
<|file_sep|>spec/views/assets/_transit_facility_fta.html.haml_spec.rb.diff original: test_asset = create(:bus_shelter, :fta_funding_type_id => 1, :pcnt_capital_responsibility =>22, :fta_facility_type_id => 1) test_asset.fta_mode_types << FtaModeType.first updated: test_asset = create(:bus_shelter, :fta_fund...
a992ab09148f4ba58b3054d9cbdeb26d4bae639d
spec/views/assets/_transit_facility_fta.html.haml_spec.rb
spec/views/assets/_transit_facility_fta.html.haml_spec.rb
Ruby
<|file_sep|>original/README.md fns-projects ============ Various projects demonstrating the use of Java frameworks and technologies <|file_sep|>current/README.md fns-projects ============ Various projects demonstrating the use of Java frameworks and technologies <|file_sep|>updated/README.md
fns-projects ============ [![Build Status](https://drone.io/github.com/fastnsilver/fns-projects/status.png)](https://drone.io/github.com/fastnsilver/fns-projects/latest) Various projects demonstrating the use of Java frameworks and technologies
<|file_sep|>original/README.md fns-projects ============ Various projects demonstrating the use of Java frameworks and technologies <|file_sep|>current/README.md fns-projects ============ Various projects demonstrating the use of Java frameworks and technologies <|file_sep|>updated/README.md fns-projects ============...
312234f88f212901e372010cf27d463cd8ccba1c
README.md
README.md
Markdown
<|file_sep|>original/features/guidance/mini-roundabout.feature <|file_sep|>current/features/guidance/mini-roundabout.feature <|file_sep|>updated/features/guidance/mini-roundabout.feature
@routing @guidance Feature: Mini Roundabout Background: Given the profile "car" Given a grid size of 10 meters Scenario: Enter and Exit mini roundabout Given the node map | a | b | c | d | And the ways | nodes | highway | name | | ab...
<|file_sep|>original/features/guidance/mini-roundabout.feature <|file_sep|>current/features/guidance/mini-roundabout.feature <|file_sep|>updated/features/guidance/mini-roundabout.feature @routing @guidance Feature: Mini Roundabout Background: Given the profile "car" Given a grid size of 10 meter...
9cdc9008aa174ecbde8b110101fa29ab5010ccc8
features/guidance/mini-roundabout.feature
features/guidance/mini-roundabout.feature
Cucumber
<|file_sep|>original/requirements-win-test.txt flake8==3.4.1 pytest==3.2.3 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 lz4==0.10.1 xxhash==1.0.1 python-snappy==0.5.1 # pypiwin32==219 cython==0.27.2 <|file_sep|>current/requirements-win-test.txt flake8==3.4.1 pytest==3.2.3 pytest-cov==2.5.1 pytest-catchlog...
flake8==3.4.1 pytest==3.2.3 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 lz4==0.10.1 xxhash==1.0.1 python-snappy==0.5.1 # pypiwin32==219 cython==0.27.3
<|file_sep|>original/requirements-win-test.txt flake8==3.4.1 pytest==3.2.3 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 lz4==0.10.1 xxhash==1.0.1 python-snappy==0.5.1 # pypiwin32==219 cython==0.27.2 <|file_sep|>current/requirements-win-test.txt flake8==3.4.1 pytest==3.2.3 pytest-cov==2.5.1 pytest-catchlog...
0ffaa4eff1b6274becd0a563ca57b486e1071bc5
requirements-win-test.txt
requirements-win-test.txt
Text
<|file_sep|>original/travis-saucelabs-api.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'travis-saucelabs-api/version' Gem::Specification.new do |gem| gem.name = "travis-saucelabs-api" gem.version = Travis::SaucelabsAPI::VERSION gem.authors = ["Henrik Hodne"] gem....
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'travis-saucelabs-api/version' Gem::Specification.new do |gem| gem.name = "travis-saucelabs-api" gem.version = Travis::SaucelabsAPI::VERSION gem.authors = ["Henrik Hodne"] gem.email = ["me@henrikhodne.com"] gem.descr...
<|file_sep|>original/travis-saucelabs-api.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'travis-saucelabs-api/version' Gem::Specification.new do |gem| gem.name = "travis-saucelabs-api" gem.version = Travis::SaucelabsAPI::VERSION gem.authors = ["Henrik Hodne"] gem....
aafa42dff044b1a966d24306cb42928aa23e8b39
travis-saucelabs-api.gemspec
travis-saucelabs-api.gemspec
Ruby
<|file_sep|>original/src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala <|file_sep|>current/src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala <|file_sep|>updated/src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala
/* * Copyright (c) 2015 Andreas Wolf * * See te LICENSE file in the project root for further copyright information. */ package info.andreaswolf.roadhopper.simulation import akka.actor.{ActorSystem, Props} import akka.pattern.ask import akka.util.Timeout import info.andreaswolf.roadhopper.simulation.signals.Signal...
<|file_sep|>original/src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala <|file_sep|>current/src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala <|file_sep|>updated/src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala /* * Copyr...
a6474bab77d2289d89adcd5c758c88968bc57e06
src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala
src/main/scala/info/andreaswolf/roadhopper/simulation/SignalBasedSimulation.scala
Scala
<|file_sep|>original/.travis.yml language: c sudo: required install: - wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - PACKAGE=amqp-client - DEPOPTS="*" - TESTS=true matrix: - OCAML_VERSION=4.03 - OCAML_VERSIO...
language: c sudo: required install: - wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - PACKAGE=amqp-client - DEPOPTS="*" - TESTS=true matrix: - OCAML_VERSION=4.03 - OCAML_VERSION=4.04 - OCAML_VERSION=4.05.0...
<|file_sep|>original/.travis.yml language: c sudo: required install: - wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - PACKAGE=amqp-client - DEPOPTS="*" - TESTS=true matrix: - OCAML_VERSION=4.03 - OCAML_VERSIO...
093112173b88e19502a44c2bc5cc68cbbfeecea3
.travis.yml
.travis.yml
YAML
<|file_sep|>sorting_algorithms/selection_sort.py.diff original: updated: (list) -> NoneType Sort list from smallest to largest using selection sort algorithm <|file_sep|>original/sorting_algorithms/selection_sort.py def selection_sort(L): """ :param L: unsorted list :return: this is a method, the...
def selection_sort(L): """ (list) -> NoneType Sort list from smallest to largest using selection sort algorithm :param L: unsorted list >>> L = [2, 7, 5, 3] >>> selection_sort(L) >>> L [2, 3, 5, 7] """ end = len(L) # Find the index of the smallest element in L[i:] and sw...
<|file_sep|>sorting_algorithms/selection_sort.py.diff original: updated: (list) -> NoneType Sort list from smallest to largest using selection sort algorithm <|file_sep|>original/sorting_algorithms/selection_sort.py def selection_sort(L): """ :param L: unsorted list :return: this is a method, the...
322ccf3bb4197a466ac5022ae2098a82bbeab6f1
sorting_algorithms/selection_sort.py
sorting_algorithms/selection_sort.py
Python
<|file_sep|>original/requirements.txt django-compressor==2.2 django-debug-toolbar==1.9.1 django-imagekit==4.0.2 django-querycount==0.7.0 freezegun==0.3.10 funcy==1.10 olefile==0.45.1 packaging==17.1 pilkit==2.0 Pillow==5.0.0 psycopg2==2.7.3.2 pyparsing==2.2.0 python-dateutil==2.7.1 pytz==2018.3 raven==6.6.0 rcssmin==1....
django-compressor==2.2 django-debug-toolbar==1.9.1 django-imagekit==4.0.2 django-querycount==0.7.0 freezegun==0.3.10 funcy==1.10 olefile==0.45.1 packaging==17.1 pilkit==2.0 Pillow==5.0.0 psycopg2==2.7.3.2 pyparsing==2.2.0 python-dateutil==2.7.2 pytz==2018.3 raven==6.6.0 rcssmin==1.0.6 redis==2.10.6 rjsmin==1.0.12 six==...
<|file_sep|>original/requirements.txt django-compressor==2.2 django-debug-toolbar==1.9.1 django-imagekit==4.0.2 django-querycount==0.7.0 freezegun==0.3.10 funcy==1.10 olefile==0.45.1 packaging==17.1 pilkit==2.0 Pillow==5.0.0 psycopg2==2.7.3.2 pyparsing==2.2.0 python-dateutil==2.7.1 pytz==2018.3 raven==6.6.0 rcssmin==1....
cf7a953e3386561edf9ae9a5085568b5c3e7d4fc
requirements.txt
requirements.txt
Text
<|file_sep|>original/html/molecule/accordion-tab/7-tabordion.php <|file_sep|>current/html/molecule/accordion-tab/7-tabordion.php <|file_sep|>updated/html/molecule/accordion-tab/7-tabordion.php
<?php /* Title: Tabordion Class: .tabordion */ ?> <div id="moose" class="tabs"> <div class="is-active tabs__header"> <h3>Tab 1</h3> </div> <div class="is-active tabs__body"> <p>tab 1 content</p> </div> <div class="tabs__header"> <h3>Tab 2</h3> </div> <div class="tabs...
<|file_sep|>original/html/molecule/accordion-tab/7-tabordion.php <|file_sep|>current/html/molecule/accordion-tab/7-tabordion.php <|file_sep|>updated/html/molecule/accordion-tab/7-tabordion.php <?php /* Title: Tabordion Class: .tabordion */ ?> <div id="moose" class="tabs"> <div class="is-active tabs__header"> ...
fa4cc8c37c835cb6cee4a60304fa5c65b81aa370
html/molecule/accordion-tab/7-tabordion.php
html/molecule/accordion-tab/7-tabordion.php
PHP
<|file_sep|>original/release-please-config.json { "bootstrap-sha": "ca6aeca39645f8a557c160fbf217f05e0c452112", "release-as": "6.1.0", "release-type": "node", "draft": true, "changelog-sections": [ { "type": "feat", "section": "Features", "hidden": false }, { "type": "fix", ...
{ "release-type": "node", "draft": true, "changelog-sections": [ { "type": "feat", "section": "Features", "hidden": false }, { "type": "fix", "section": "Bug Fixes", "hidden": false }, { "type": "chore", "section": "Miscellaneous", "hidden"...
<|file_sep|>original/release-please-config.json { "bootstrap-sha": "ca6aeca39645f8a557c160fbf217f05e0c452112", "release-as": "6.1.0", "release-type": "node", "draft": true, "changelog-sections": [ { "type": "feat", "section": "Features", "hidden": false }, { "type": "fix", ...
a9934ece48e112aba717de21792cf83e8e32d696
release-please-config.json
release-please-config.json
JSON
<|file_sep|>original/source/blog/2015-10-12-book-delivering-happiness.md <|file_sep|>current/source/blog/2015-10-12-book-delivering-happiness.md <|file_sep|>updated/source/blog/2015-10-12-book-delivering-happiness.md
--- title: "Delivering happiness" categories: books tags: books read: 2016-10-12 layout: layout_book ads: - <a href="https://www.amazon.com/Delivering-Happiness-Profits-Passion-Purpose/dp/0446576220/ref=as_li_ss_il?ie=UTF8&qid=1466062953&sr=8-1&keywords=Delivering+Happiness&linkCode=li2&tag=wojcadamkoszh-20&linkId=3b3...
<|file_sep|>original/source/blog/2015-10-12-book-delivering-happiness.md <|file_sep|>current/source/blog/2015-10-12-book-delivering-happiness.md <|file_sep|>updated/source/blog/2015-10-12-book-delivering-happiness.md --- title: "Delivering happiness" categories: books tags: books read: 2016-10-12 layout: layout_book...
eeab2034eff4214b44ef465be12de74166d60616
source/blog/2015-10-12-book-delivering-happiness.md
source/blog/2015-10-12-book-delivering-happiness.md
Markdown
<|file_sep|>original/colorbrewer/colorbrewer-tests.ts /// <reference path="./colorbrewer.d.ts" /> const accent3: string[] = colorbrewer.Accent[3]; const accent4: string[] = colorbrewer.Accent[4]; const accent5: string[] = colorbrewer.Accent[5]; const accent6: string[] = colorbrewer.Accent[6]; const accent7: string[] =...
/// <reference path="./colorbrewer.d.ts" /> var accent3: string[] = colorbrewer.Accent[3]; var accent4: string[] = colorbrewer.Accent[4]; var accent5: string[] = colorbrewer.Accent[5]; var accent6: string[] = colorbrewer.Accent[6]; var accent7: string[] = colorbrewer.Accent[7]; var accent8: string[] = colorbrewer.Acce...
<|file_sep|>original/colorbrewer/colorbrewer-tests.ts /// <reference path="./colorbrewer.d.ts" /> const accent3: string[] = colorbrewer.Accent[3]; const accent4: string[] = colorbrewer.Accent[4]; const accent5: string[] = colorbrewer.Accent[5]; const accent6: string[] = colorbrewer.Accent[6]; const accent7: string[] =...
ffc616163340248c91dbddc0f5ece3acdc136421
colorbrewer/colorbrewer-tests.ts
colorbrewer/colorbrewer-tests.ts
TypeScript
<|file_sep|>original/packages/ar/arpack.yaml <|file_sep|>current/packages/ar/arpack.yaml <|file_sep|>updated/packages/ar/arpack.yaml
homepage: '' changelog-type: '' hash: c4e5a1eff12cd5d0b2ae0d5548719f7b06563bff261fb9cb94b1e27338d49a4d test-bench-deps: arpack: -any base: -any hspec: ! '>=2.2' vector-algorithms: ! '>=0.7' QuickCheck: ! '>=2.8' hmatrix: -any vector: -any maintainer: ttuegel@gmail.com synopsis: Solve large scale eigenvalu...
<|file_sep|>original/packages/ar/arpack.yaml <|file_sep|>current/packages/ar/arpack.yaml <|file_sep|>updated/packages/ar/arpack.yaml homepage: '' changelog-type: '' hash: c4e5a1eff12cd5d0b2ae0d5548719f7b06563bff261fb9cb94b1e27338d49a4d test-bench-deps: arpack: -any base: -any hspec: ! '>=2.2' vector-algorithm...
9d3593a8b3e05648aa2f3e04327ba3be48d224bf
packages/ar/arpack.yaml
packages/ar/arpack.yaml
YAML
<|file_sep|>original/requirements-dev.txt -r requirements.txt coverage==4.4.2 flake8==3.5.0 mccabe==0.6.1 py==1.5.2 pycodestyle==2.3.1 pyflakes==1.6.0 pytest==3.2.3 pytest-cov==2.5.1 pytest-django==3.1.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt coverage==4.4.2 flake8==3.5.0 mccabe==0.6.1 py==1.5.2 p...
-r requirements.txt coverage==4.4.2 flake8==3.5.0 mccabe==0.6.1 py==1.5.2 pycodestyle==2.3.1 pyflakes==1.6.0 pytest==3.2.5 pytest-cov==2.5.1 pytest-django==3.1.2
<|file_sep|>original/requirements-dev.txt -r requirements.txt coverage==4.4.2 flake8==3.5.0 mccabe==0.6.1 py==1.5.2 pycodestyle==2.3.1 pyflakes==1.6.0 pytest==3.2.3 pytest-cov==2.5.1 pytest-django==3.1.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt coverage==4.4.2 flake8==3.5.0 mccabe==0.6.1 py==1.5.2 p...
94e879c00d2f6389c7b205ce88159337c68fedba
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/app/views/pageflow/page_types/_page_type.json.jbuilder json.(page_type, :name, :translation_key, :help_entry_translation_key) json.thumbnail_candidates(page_type.thumbnail_candidates) do |candidate| json.(candidate, :attribute, :file_collection) end if page_type.json_seed_template json.partia...
json.(page_type, :name, :translation_key, :help_entry_translation_key, :description_translation_key, :category_translation_key) json.thumbnail_candidates(page_type.thumbnail_candidates) do |candidate| json.(candidate, :attribute, :file_collection) end if page_type.json_seed_template json.partial!(:template => pag...
<|file_sep|>original/app/views/pageflow/page_types/_page_type.json.jbuilder json.(page_type, :name, :translation_key, :help_entry_translation_key) json.thumbnail_candidates(page_type.thumbnail_candidates) do |candidate| json.(candidate, :attribute, :file_collection) end if page_type.json_seed_template json.partia...
c6840ff4ae6a56df021e6b4680e2cec7c7da8746
app/views/pageflow/page_types/_page_type.json.jbuilder
app/views/pageflow/page_types/_page_type.json.jbuilder
Ruby
<|file_sep|>original/app/src/main/res/layout/item_list_reply.xml ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless ...
~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ dist...
<|file_sep|>original/app/src/main/res/layout/item_list_reply.xml ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless ...
4ccf154eb5a9a86c746aacb9baa9ed2fcc4dd82d
app/src/main/res/layout/item_list_reply.xml
app/src/main/res/layout/item_list_reply.xml
XML
<|file_sep|>lib/oboe/util.rb.diff original: updated: # Strip '!' or '?' from method if present safe_method_name = method.to_s.chop if method =~ /\?$|\!$/ safe_method_name ||= method <|file_sep|>original/lib/oboe/util.rb rescue end if cls.method_defined...
rescue end if cls.method_defined? method.to_sym or cls.private_method_defined? method.to_sym # Strip '!' or '?' from method if present safe_method_name = method.to_s.chop if method =~ /\?$|\!$/ safe_method_name ||= method cls.class_eval do ...
<|file_sep|>lib/oboe/util.rb.diff original: updated: # Strip '!' or '?' from method if present safe_method_name = method.to_s.chop if method =~ /\?$|\!$/ safe_method_name ||= method <|file_sep|>original/lib/oboe/util.rb rescue end if cls.method_defined...
5a623c9f4347180bb6097c68cfd1ad1fba4162ff
lib/oboe/util.rb
lib/oboe/util.rb
Ruby
<|file_sep|>original/spec/factories/tasks.rb FactoryGirl.define do factory :task do title "MyString" description 'Awesome project' milestone_id 1 assigned_user_id 1 state "new" project_id 1 end end <|file_sep|>current/spec/factories/tasks.rb FactoryGirl.define do factory :task do title...
FactoryGirl.define do factory :task do title "MyString" description 'Awesome project' milestone_id 1 assigned_user_id 1 state "new" project_id 1 user_id 1 end end
<|file_sep|>original/spec/factories/tasks.rb FactoryGirl.define do factory :task do title "MyString" description 'Awesome project' milestone_id 1 assigned_user_id 1 state "new" project_id 1 end end <|file_sep|>current/spec/factories/tasks.rb FactoryGirl.define do factory :task do title...
60b940fc3bd544a43828694a6a835ef080c20d17
spec/factories/tasks.rb
spec/factories/tasks.rb
Ruby
<|file_sep|>original/test_requirements.txt cython==0.29.21 wheel<=0.35.1 setuptools<49.2.0 hypothesis==5.41.5 pytest==6.0.2 pytz==2020.4 pytest-cov==2.10.1 pickle5; python_version == '3.7' and platform_python_implementation != 'PyPy' # for numpy.random.test.test_extending cffi # For testing types. Notes on the restrict...
cython==0.29.21 wheel<=0.35.1 setuptools<49.2.0 hypothesis==5.41.5 pytest==6.2.0 pytz==2020.4 pytest-cov==2.10.1 pickle5; python_version == '3.7' and platform_python_implementation != 'PyPy' # for numpy.random.test.test_extending cffi # For testing types. Notes on the restrictions: # - Mypy relies on C API features not...
<|file_sep|>original/test_requirements.txt cython==0.29.21 wheel<=0.35.1 setuptools<49.2.0 hypothesis==5.41.5 pytest==6.0.2 pytz==2020.4 pytest-cov==2.10.1 pickle5; python_version == '3.7' and platform_python_implementation != 'PyPy' # for numpy.random.test.test_extending cffi # For testing types. Notes on the restrict...
37db023706843afdd887f7dd22a38a30196ffea6
test_requirements.txt
test_requirements.txt
Text
<|file_sep|>tsconfig.json.diff original: "./src/**/*", "./src/handlers/*" updated: "./src/**/*" <|file_sep|>original/tsconfig.json { "include": [ "./src/**/*", "./src/handlers/*" ], "compilerOptions": { "target": "es6", "module": "commonjs", "sourceMap": true, "lib": ["es6"], ...
{ "include": [ "./src/**/*" ], "compilerOptions": { "target": "es6", "module": "commonjs", "sourceMap": true, "lib": ["es6", "dom"], "types": [ "node", "mocha", "chai" ], "outDir": "./build" }, "exclude": [ "node_modules" ] }
<|file_sep|>tsconfig.json.diff original: "./src/**/*", "./src/handlers/*" updated: "./src/**/*" <|file_sep|>original/tsconfig.json { "include": [ "./src/**/*", "./src/handlers/*" ], "compilerOptions": { "target": "es6", "module": "commonjs", "sourceMap": true, "lib": ["es6"], ...
05a76aa6b883be92a9e2a93b70c2d2228912665a
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/.travis.yml language: python python: - "2.7" install: ./install.sh --dev script: make tests notifications: email: false irc: "irc.freenode.org#geotrek" <|file_sep|>current/.travis.yml language: python python: - "2.7" install: ./install.sh --dev script: make tests notifications: email:...
language: python python: - "2.7" before_install: # Download bundle of python eggs, and use it as download cache - "wget http://ubuntuone.com/4XDFKwxMxCLFYNxEH5B1I2 -O /tmp/geotrek-bundle.tar.gz" - "tar -zx /tmp/geotrek-bundle.tar.gz --directory=$HOME" - echo -e "[buildout]\ndownload-cache=$HOME/.buildout/downlo...
<|file_sep|>original/.travis.yml language: python python: - "2.7" install: ./install.sh --dev script: make tests notifications: email: false irc: "irc.freenode.org#geotrek" <|file_sep|>current/.travis.yml language: python python: - "2.7" install: ./install.sh --dev script: make tests notifications: email:...
ce5c284758fae5df4fb229f8cce2aab829107f8c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Middleware/Robots.php * * @param RequestInterface $request * @param ResponseInterface $response * @param callable $next * * @return ResponseInterface */ public function __invoke(RequestInterface $request, ResponseInterface $response, callable $ne...
* * @param RequestInterface $request * @param ResponseInterface $response * @param callable $next * * @return ResponseInterface */ public function __invoke(RequestInterface $request, ResponseInterface $response, callable $next) { if ($request->getUri()->getPa...
<|file_sep|>original/src/Middleware/Robots.php * * @param RequestInterface $request * @param ResponseInterface $response * @param callable $next * * @return ResponseInterface */ public function __invoke(RequestInterface $request, ResponseInterface $response, callable $ne...
34176de6a2291b751cd239444185d9e576adbde4
src/Middleware/Robots.php
src/Middleware/Robots.php
PHP
<|file_sep|>.travis.yml.diff original: - "4" updated: <|file_sep|>.travis.yml.diff original: updated: - npm run lint - npm run compile <|file_sep|>original/.travis.yml - "4" - "6" - "7" - "8" - "9" install: - npm install script: - npm run test jobs: include: - stage: before_install script: npm run ...
language: node_js node_js: - "6" - "7" - "8" - "9" install: - npm install script: - npm run lint - npm run compile - npm run test jobs: include: - stage: after_success script: npm run coveralls node_js: 8
<|file_sep|>.travis.yml.diff original: - "4" updated: <|file_sep|>.travis.yml.diff original: updated: - npm run lint - npm run compile <|file_sep|>original/.travis.yml - "4" - "6" - "7" - "8" - "9" install: - npm install script: - npm run test jobs: include: - stage: before_install script: npm run ...
a76acdb464ab9fff7d42a76c5223b4586cc9c563
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md This is an iOS example application displaying Markdown content stored on [Contentful][1]. It demonstrates both converting Markdown to HTML using [MMMarkdown][3] which will be displayed in a `WKWebView` as well as converting Markdown to `NSAttributedString` using [CocoaMarkdown][4] to dis...
This is an iOS example application displaying Markdown content stored on [Contentful][1]. It demonstrates both converting Markdown to HTML using [MMMarkdown][3] which will be displayed in a `WKWebView` as well as converting Markdown to `NSAttributedString` using [CocoaMarkdown][4] to display them in a `UITextView`. [...
<|file_sep|>original/README.md This is an iOS example application displaying Markdown content stored on [Contentful][1]. It demonstrates both converting Markdown to HTML using [MMMarkdown][3] which will be displayed in a `WKWebView` as well as converting Markdown to `NSAttributedString` using [CocoaMarkdown][4] to dis...
954435602a86b75b49eae2b7fdce794489390d6a
README.md
README.md
Markdown
<|file_sep|>original/app/services/passwordCheckService.js var app = angular.module("AdmissionsApp"); app.service("PasswordCheckService", ["$http", function ($http) { var submitBaseUrl = "http://localhost:8001/part"; this.checkPassword = function (password, partNumber) { var submitData = {answer: passw...
var app = angular.module("AdmissionsApp"); app.service("PasswordCheckService", ["$http", function ($http) { var submitBaseUrl = "http://admissions-project.codingcamp.us/part"; this.checkPassword = function (password, partNumber) { var submitData = {answer: password}; return $http.post(submitBa...
<|file_sep|>original/app/services/passwordCheckService.js var app = angular.module("AdmissionsApp"); app.service("PasswordCheckService", ["$http", function ($http) { var submitBaseUrl = "http://localhost:8001/part"; this.checkPassword = function (password, partNumber) { var submitData = {answer: passw...
b16cf568ec3ac2aebcdc2803de343ece4b79ab0c
app/services/passwordCheckService.js
app/services/passwordCheckService.js
JavaScript
<|file_sep|>buildsystem/linker.ld.diff original: .text : ALIGN(0x1000) updated: .text : ALIGN(0x200) <|file_sep|>buildsystem/linker.ld.diff original: .rodata : ALIGN(0x1000) updated: .rodata : ALIGN(0x200) <|file_sep|>buildsystem/linker.ld.diff original: .data : ALIGN(0x1000) updated: .data : ALIGN(0x200) <...
*(.entry) } .text : ALIGN(0x200) { *(.text .text.*) } .rodata : ALIGN(0x200) { *(.rodata .rodata.*) } .data : ALIGN(0x200) { *(.data .data.*) } .data.rel.ro : ALIGN(0x200) { *(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*) } }
<|file_sep|>buildsystem/linker.ld.diff original: .text : ALIGN(0x1000) updated: .text : ALIGN(0x200) <|file_sep|>buildsystem/linker.ld.diff original: .rodata : ALIGN(0x1000) updated: .rodata : ALIGN(0x200) <|file_sep|>buildsystem/linker.ld.diff original: .data : ALIGN(0x1000) updated: .data : ALIGN(0x200) <...
97d46143e282dd639ab0c6b05f05d52b5526f21b
buildsystem/linker.ld
buildsystem/linker.ld
Linker Script
<|file_sep|>original/lib/rom/env.rb module ROM # Exposes defined repositories, relations and mappers # # @api public class Env include Equalizer.new(:repositories, :relations, :readers, :commands) attr_reader :repositories, :relations, :readers, :commands # @api private def initialize(reposito...
module ROM # Exposes defined repositories, relations and mappers # # @api public class Env include Equalizer.new(:repositories, :relations, :readers, :commands) # @return [Hash] configured repositories # # @api public attr_reader :repositories # @return [RelationRegistry] relation regi...
<|file_sep|>original/lib/rom/env.rb module ROM # Exposes defined repositories, relations and mappers # # @api public class Env include Equalizer.new(:repositories, :relations, :readers, :commands) attr_reader :repositories, :relations, :readers, :commands # @api private def initialize(reposito...
169e8c835a3faa0d13630c4534bcf4faca4bbc5b
lib/rom/env.rb
lib/rom/env.rb
Ruby
<|file_sep|>app/src/main/java/com/kickstarter/libs/gcm/TokenListenerService.java.diff original: /** * Handle the creation, rotation, and updating of registration tokens. */ updated: <|file_sep|>original/app/src/main/java/com/kickstarter/libs/gcm/TokenListenerService.java import android.content.Intent; import com.g...
import android.content.Intent; import com.google.android.gms.iid.InstanceIDListenerService; import timber.log.Timber; public class TokenListenerService extends InstanceIDListenerService { /** * Called if the InstanceID token is updated. This can occur in a variety of scenarios - the * InstanceID service mig...
<|file_sep|>app/src/main/java/com/kickstarter/libs/gcm/TokenListenerService.java.diff original: /** * Handle the creation, rotation, and updating of registration tokens. */ updated: <|file_sep|>original/app/src/main/java/com/kickstarter/libs/gcm/TokenListenerService.java import android.content.Intent; import com.g...
b91d20e4a75c21c80a3503ae082471731c3eb541
app/src/main/java/com/kickstarter/libs/gcm/TokenListenerService.java
app/src/main/java/com/kickstarter/libs/gcm/TokenListenerService.java
Java
<|file_sep|>metadata/pt.ipleiria.mymusicqoe.txt.diff original: updated: Build:1.1.3,9 commit=v1.1.3 subdir=ultrasonic gradle=yes <|file_sep|>original/metadata/pt.ipleiria.mymusicqoe.txt gradle=yes Build:1.0.4,5 commit=v1.0.4 subdir=ultrasonic gradle=yes Build:1.1.1,7 commit=v.1.1.1 ...
gradle=yes Build:1.1.1,7 commit=v.1.1.1 subdir=ultrasonic gradle=yes Build:1.1.2,8 commit=v1.1.2 subdir=ultrasonic gradle=yes Build:1.1.3,9 commit=v1.1.3 subdir=ultrasonic gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:1.1.3 Current Version Cod...
<|file_sep|>metadata/pt.ipleiria.mymusicqoe.txt.diff original: updated: Build:1.1.3,9 commit=v1.1.3 subdir=ultrasonic gradle=yes <|file_sep|>original/metadata/pt.ipleiria.mymusicqoe.txt gradle=yes Build:1.0.4,5 commit=v1.0.4 subdir=ultrasonic gradle=yes Build:1.1.1,7 commit=v.1.1.1 ...
b4489dfb3bec109747abc2a4d39dae5a5df1829d
metadata/pt.ipleiria.mymusicqoe.txt
metadata/pt.ipleiria.mymusicqoe.txt
Text
<|file_sep|>original/model_base.gemspec spec.summary = %q{Provide generators for models with assocations.} spec.description = %q{Provide generators for models with assocations.} spec.homepage = "https://github.com/akm/model_base" spec.license = "MIT" spec.files = `git ls-files -z`...
spec.summary = %q{Provide generators for models with assocations.} spec.description = %q{Provide generators for models with assocations.} spec.homepage = "https://github.com/akm/model_base" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%...
<|file_sep|>original/model_base.gemspec spec.summary = %q{Provide generators for models with assocations.} spec.description = %q{Provide generators for models with assocations.} spec.homepage = "https://github.com/akm/model_base" spec.license = "MIT" spec.files = `git ls-files -z`...
f2665d07a9f9bcd67abfb61f7c3e0010844aeeff
model_base.gemspec
model_base.gemspec
Ruby
<|file_sep|>metadata/com.javiersantos.mlmanager.txt.diff original: updated: Changelog:https://github.com/javiersantos/MLManager/blob/HEAD/CHANGELOG.md <|file_sep|>original/metadata/com.javiersantos.mlmanager.txt Modern, easy and customizable app manager with Material Design. . Repo Type:git Repo:https://github.com/ja...
Build:0.1,2 commit=c6fac08f21395bfe91f3365553fd76e57e191dee subdir=app gradle=yes Build:0.3.1,9 commit=v0.3.1 subdir=app gradle=yes Build:0.4,10 commit=v0.4 subdir=app gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:0.4.0 Current Version Code:10
<|file_sep|>metadata/com.javiersantos.mlmanager.txt.diff original: updated: Changelog:https://github.com/javiersantos/MLManager/blob/HEAD/CHANGELOG.md <|file_sep|>original/metadata/com.javiersantos.mlmanager.txt Modern, easy and customizable app manager with Material Design. . Repo Type:git Repo:https://github.com/ja...
1fed5e9ad5af2c30c8ca8f912966e8c54f06fce9
metadata/com.javiersantos.mlmanager.txt
metadata/com.javiersantos.mlmanager.txt
Text
<|file_sep|>original/recipes-platform/packagegroups/packagegroup-agl-sota.bb SUMMARY = "AGL SOTA Package Group" DESCRIPTION = "A set of packages belong to GENIVI SOTA Project and OSTree" LICENSE = "MIT" inherit packagegroup PACKAGES = " packagegroup-agl-sota " ALLOW_EMPTY_${PN} = "1" RDEPENDS_${PN} += "\ ota-p...
SUMMARY = "AGL SOTA Package Group" DESCRIPTION = "A set of packages belong to GENIVI SOTA Project and OSTree" LICENSE = "MIT" inherit packagegroup PACKAGES = " packagegroup-agl-sota " ALLOW_EMPTY_${PN} = "1" RDEPENDS_${PN} += "\ ota-plus-client \ ota-plus-demo-provision \ ostree \ ostree-basic-pkg ...
<|file_sep|>original/recipes-platform/packagegroups/packagegroup-agl-sota.bb SUMMARY = "AGL SOTA Package Group" DESCRIPTION = "A set of packages belong to GENIVI SOTA Project and OSTree" LICENSE = "MIT" inherit packagegroup PACKAGES = " packagegroup-agl-sota " ALLOW_EMPTY_${PN} = "1" RDEPENDS_${PN} += "\ ota-p...
b7c761f27be660b04471d31a352042092b8a7024
recipes-platform/packagegroups/packagegroup-agl-sota.bb
recipes-platform/packagegroups/packagegroup-agl-sota.bb
BitBake
<|file_sep|>.travis.yml.diff original: - "12" updated: - "13" <|file_sep|>.travis.yml.diff original: - node_js: "8" updated: - node_js: "10" <|file_sep|>original/.travis.yml node_js: - "12" os: - linux - osx matrix: include: - node_js: "8" os: linux - node_js: "10" os: linux cache: yarn:...
node_js: - "13" os: - linux - osx matrix: include: - node_js: "10" os: linux - node_js: "12" os: linux cache: yarn: true before_script: - if git status | grep -q "modified. \.travis\.yml"; then echo "Dirty yarn.lock"; exit 1; fi script: - gulp
<|file_sep|>.travis.yml.diff original: - "12" updated: - "13" <|file_sep|>.travis.yml.diff original: - node_js: "8" updated: - node_js: "10" <|file_sep|>original/.travis.yml node_js: - "12" os: - linux - osx matrix: include: - node_js: "8" os: linux - node_js: "10" os: linux cache: yarn:...
8bb43c2e8cf4ae81a17e37d2c8ea0ec8c05f2cb6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/node-browser/tracer-init.js * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; import opentracing from 'opentracing'; import hawkularAPM fro...
* See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; import opentracing from 'opentracing'; import hawkularAPM from '../../index'; function init() { opentracing.initGlobalTracer(new hawkularAPM.APMTracer({ recorder: new hawkularAPM.Htt...
<|file_sep|>original/examples/node-browser/tracer-init.js * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; import opentracing from 'opentracing'; import hawkularAPM fro...
84e900f20bc6738ca5f71d9346254a5f8322f5eb
examples/node-browser/tracer-init.js
examples/node-browser/tracer-init.js
JavaScript
<|file_sep|>original/functions/index.js 'use strict'; const mirror = require('./mirror'), functions = require('firebase-functions'); module.exports = { mirror: functions.https.onRequest(mirror.app) }; <|file_sep|>current/functions/index.js 'use strict'; const mirror = require('./mirror'), functions = require...
'use strict'; const mirror = require('./mirror'), functions = require('firebase-functions'); module.exports = { mirror: functions .runWith({ maxInstances: 10, timeoutSeconds: 540, // 9 min, max memory: "128MB", // min }) .https .onRequest(mir...
<|file_sep|>original/functions/index.js 'use strict'; const mirror = require('./mirror'), functions = require('firebase-functions'); module.exports = { mirror: functions.https.onRequest(mirror.app) }; <|file_sep|>current/functions/index.js 'use strict'; const mirror = require('./mirror'), functions = require...
9e880b5c97fa8ae2525dd996125be650ed033ec8
functions/index.js
functions/index.js
JavaScript
<|file_sep|>original/resources/config.rb # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Resource for building influxdb config file property :path, String, name_property: true property ...
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Resource for building influxdb config file property :path, String, name_property: true property :config, Hash, required: true action :cr...
<|file_sep|>original/resources/config.rb # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Resource for building influxdb config file property :path, String, name_property: true property ...
1eb46446ef5942c4404ae89fd0b7751e5f9f116a
resources/config.rb
resources/config.rb
Ruby
<|file_sep|>original/app/src/main/res/values-v21/dimens.xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="card_margin_horizontal">8dp</dimen> </resources> <|file_sep|>current/app/src/main/res/values-v21/dimens.xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="card_margin_hori...
<?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="card_margin_horizontal">0dp</dimen> </resources>
<|file_sep|>original/app/src/main/res/values-v21/dimens.xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="card_margin_horizontal">8dp</dimen> </resources> <|file_sep|>current/app/src/main/res/values-v21/dimens.xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="card_margin_hori...
f82950a369ddf81c7bee9fedfb0b32956c3caebd
app/src/main/res/values-v21/dimens.xml
app/src/main/res/values-v21/dimens.xml
XML
<|file_sep|>original/.github/workflows/standalone_publish_custom.yml <|file_sep|>current/.github/workflows/standalone_publish_custom.yml <|file_sep|>updated/.github/workflows/standalone_publish_custom.yml
#/ # @license Apache-2.0 # # Copyright (c) 2022 The Stdlib Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
<|file_sep|>original/.github/workflows/standalone_publish_custom.yml <|file_sep|>current/.github/workflows/standalone_publish_custom.yml <|file_sep|>updated/.github/workflows/standalone_publish_custom.yml #/ # @license Apache-2.0 # # Copyright (c) 2022 The Stdlib Authors. # # Licensed under the Apache License, Versio...
f33dd3e4252a245e676f3a9f2bea51a3b6af75c7
.github/workflows/standalone_publish_custom.yml
.github/workflows/standalone_publish_custom.yml
YAML
<|file_sep|>original/templates/demo.html <|file_sep|>current/templates/demo.html <|file_sep|>updated/templates/demo.html
<!doctype html> <html> <body> {% if token %} <h1> Congratulations! you have successfully authenticated and your token is: {{token}} </h1> {% else %} <h1> Something went wrong :( </h1> {% endif %} </body> </html>
<|file_sep|>original/templates/demo.html <|file_sep|>current/templates/demo.html <|file_sep|>updated/templates/demo.html <!doctype html> <html> <body> {% if token %} <h1> Congratulations! you have successfully authenticated and your token is: {{token}} </h1> {% else %} <h1> Somethi...
8e6f6d1ec607e3c90b13c063be2042c2ffacb7c7
templates/demo.html
templates/demo.html
HTML
<|file_sep|>original/build-new.sh <|file_sep|>current/build-new.sh <|file_sep|>updated/build-new.sh
#zip all files to nw archive zip -r gitw.nw ./* -x"build/*" #copy nw.pak from current build node-webkit cp /opt/node-webkit/nw.pak ./nw.pak #create directory mkdir ./build/linux-x64-new -p #compilation to executable form cat /opt/node-webkit/nw ./gitw.nw > ./build/linux-x64-new/gitw && chmod +x ./build/linux-x64-new...
<|file_sep|>original/build-new.sh <|file_sep|>current/build-new.sh <|file_sep|>updated/build-new.sh #zip all files to nw archive zip -r gitw.nw ./* -x"build/*" #copy nw.pak from current build node-webkit cp /opt/node-webkit/nw.pak ./nw.pak #create directory mkdir ./build/linux-x64-new -p #compilation to executable...
4e8f6d58fd12e419ad64a511bf5129fea19e8c39
build-new.sh
build-new.sh
Shell
<|file_sep|>x86_64/unix/2.2.4progamain.c.diff original: updated: #include <stdint.h> <|file_sep|>original/x86_64/unix/2.2.4progamain.c int32_t coef; int32_t abc; Poly *link; }; int add(Poly *q, Poly *p); Poly *avail; int main(int argc, char **argv) { Poly *pool, *p; pool = calloc(500, sizeof(*pool)); for(p =...
struct Poly { int32_t coef; int32_t abc; Poly *link; }; int add(Poly *q, Poly *p); Poly *avail; Poly* makepoly(void) { Poly *p; if(avail == NULL) return NULL; p = avail; avail = avail->link; p->abc = -1; p->coef = 0;
<|file_sep|>x86_64/unix/2.2.4progamain.c.diff original: updated: #include <stdint.h> <|file_sep|>original/x86_64/unix/2.2.4progamain.c int32_t coef; int32_t abc; Poly *link; }; int add(Poly *q, Poly *p); Poly *avail; int main(int argc, char **argv) { Poly *pool, *p; pool = calloc(500, sizeof(*pool)); for(p =...
6f81fa70bca7bbf082253c5f2e6cef5b02cb4b7d
x86_64/unix/2.2.4progamain.c
x86_64/unix/2.2.4progamain.c
C
<|file_sep|>original/python/ImagePlot.py <|file_sep|>current/python/ImagePlot.py <|file_sep|>updated/python/ImagePlot.py
from PIL import Image, ImageDraw import sys print(sys.argv); if len(sys.argv) < 3 : print("File path need to be passed as 1st argument") exit() im = Image.open(sys.argv[1]) draw = ImageDraw.Draw(im) try: #fp = open(sys.argv[1]) with open(sys.argv[2]) as fp: lines = fp.readlines() for line in line...
<|file_sep|>original/python/ImagePlot.py <|file_sep|>current/python/ImagePlot.py <|file_sep|>updated/python/ImagePlot.py from PIL import Image, ImageDraw import sys print(sys.argv); if len(sys.argv) < 3 : print("File path need to be passed as 1st argument") exit() im = Image.open(sys.argv[1]) draw = ImageDraw....
75740fe37174230faa7d9a434c844d4aa88e4091
python/ImagePlot.py
python/ImagePlot.py
Python
<|file_sep|>app/assets/javascripts/application.js.diff original: $(".reveal-content").html(result); updated: $('.reveal-content').html(result); <|file_sep|>original/app/assets/javascripts/application.js //= require turbolinks //= require jquery3 //= require jquery_ujs //= require foundation //= require_...
//= require turbolinks //= require jquery3 //= require jquery_ujs //= require foundation //= require_tree . $(document).on('turbolinks:load', function() { $(document).foundation(); $('body').on('click', '[data-open="ajax-reveal"]', function(e) { e.preventDefault(); $.ajax({ url: $(this).data('url'), ...
<|file_sep|>app/assets/javascripts/application.js.diff original: $(".reveal-content").html(result); updated: $('.reveal-content').html(result); <|file_sep|>original/app/assets/javascripts/application.js //= require turbolinks //= require jquery3 //= require jquery_ujs //= require foundation //= require_...
9ff6ce85776d7e250a8509b7bed786710f92f587
app/assets/javascripts/application.js
app/assets/javascripts/application.js
JavaScript
<|file_sep|>original/appveyor.yml environment: matrix: # node.js - nodejs_version: "0.10" - nodejs_version: "0.12" - nodejs_version: "4" - nodejs_version: "5" install: - npm -g install npm@">=2.0.0" - set PATH=%APPDATA%\npm;%PATH% - ps: Install-Product node $env:nodejs_version - npm inst...
environment: matrix: # node.js - nodejs_version: "0.10" - nodejs_version: "0.12" - nodejs_version: "4" - nodejs_version: "5" install: - IF %nodejs_version% EQU 0.10 npm -g install npm@2 - IF %nodejs_version% EQU 0.10 set PATH=%APPDATA%\npm;%PATH% - ps: Install-Product node $env:nodejs_vers...
<|file_sep|>original/appveyor.yml environment: matrix: # node.js - nodejs_version: "0.10" - nodejs_version: "0.12" - nodejs_version: "4" - nodejs_version: "5" install: - npm -g install npm@">=2.0.0" - set PATH=%APPDATA%\npm;%PATH% - ps: Install-Product node $env:nodejs_version - npm inst...
07b061cf6f689fd9871bdd3ff7f6bc6164a10d03
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/tests/projects/test_models.py <|file_sep|>current/tests/projects/test_models.py <|file_sep|>updated/tests/projects/test_models.py
import pytest from frigg.projects.models import EnvironmentVariable, Project @pytest.fixture def project(): return Project(owner='frigg', name='frigg-hq') def test_environment_variable__str__(project): variable = EnvironmentVariable(project=project, key='PYPI_PASSWORD') assert str(variable) == 'frigg /...
<|file_sep|>original/tests/projects/test_models.py <|file_sep|>current/tests/projects/test_models.py <|file_sep|>updated/tests/projects/test_models.py import pytest from frigg.projects.models import EnvironmentVariable, Project @pytest.fixture def project(): return Project(owner='frigg', name='frigg-hq') def...
a64f9c780000785f4dc9a08109b91ec9b2dfefc4
tests/projects/test_models.py
tests/projects/test_models.py
Python
<|file_sep|>original/setup.py from valohai_cli import __version__ setup( name='valohai-cli', version=__version__, entry_points={'console_scripts': ['vh=valohai_cli.cli:cli']}, author='Valohai', author_email='hait@valohai.com', license='MIT', install_requires=[ 'click>=7.0', ...
from valohai_cli import __version__ setup( name='valohai-cli', version=__version__, entry_points={'console_scripts': ['vh=valohai_cli.cli:cli']}, author='Valohai', author_email='hait@valohai.com', license='MIT', install_requires=[ 'click>=7.0', 'valohai-yaml>=0.9', ...
<|file_sep|>original/setup.py from valohai_cli import __version__ setup( name='valohai-cli', version=__version__, entry_points={'console_scripts': ['vh=valohai_cli.cli:cli']}, author='Valohai', author_email='hait@valohai.com', license='MIT', install_requires=[ 'click>=7.0', ...
45e38ed249a390c6ca4bc36fdef55b9b05f0bc64
setup.py
setup.py
Python
<|file_sep|>original/test/clj_libssh2/test_libssh2.clj <|file_sep|>current/test/clj_libssh2/test_libssh2.clj <|file_sep|>updated/test/clj_libssh2/test_libssh2.clj
(ns clj-libssh2.test-libssh2 (:require [clojure.test :refer :all] [clj-libssh2.libssh2 :as libssh2])) (deftest check-libssh2-version-is-ok "This shoudln't change by surprise!" (is (= "1.6.0" (libssh2/version))))
<|file_sep|>original/test/clj_libssh2/test_libssh2.clj <|file_sep|>current/test/clj_libssh2/test_libssh2.clj <|file_sep|>updated/test/clj_libssh2/test_libssh2.clj (ns clj-libssh2.test-libssh2 (:require [clojure.test :refer :all] [clj-libssh2.libssh2 :as libssh2])) (deftest check-libssh2-version-is-ok ...
f92bcb11544605ccd9733862042252f5f93ec4a5
test/clj_libssh2/test_libssh2.clj
test/clj_libssh2/test_libssh2.clj
Clojure
<|file_sep|>original/run.js 'use strict'; // Load environment variables. require('dotenv').load(); var shell = require('shelljs'); var settings = require('./settings'); // Generate settings.json file. shell.echo(JSON.stringify(settings)).to('settings.json'); // Copy settings.json file to root directory of etherpad....
'use strict'; // Load local environment variables (Uncomment this when doing development locally). //require('dotenv').load(); var shell = require('shelljs'); var settings = require('./settings'); // Generate settings.json file. shell.echo(JSON.stringify(settings)).to('settings.json'); // Copy settings.json file to...
<|file_sep|>original/run.js 'use strict'; // Load environment variables. require('dotenv').load(); var shell = require('shelljs'); var settings = require('./settings'); // Generate settings.json file. shell.echo(JSON.stringify(settings)).to('settings.json'); // Copy settings.json file to root directory of etherpad....
90e63de4a13bcc77ce5592b3175eaed40221e334
run.js
run.js
JavaScript
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
671cc79c96d49f0e26e89895473bde02c9f4db4a
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI