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/setup.py import os from setuptools import setup, find_packages from ghtools import __version__ requirements = [ 'requests==1.1.0', 'argh==0.23.0' ] python_scripts = [ 'browse', 'list-members', 'login', 'migrate-project', 'migrate-wiki', 'migrate-teams', 'org',...
import os from setuptools import setup, find_packages from ghtools import __version__ requirements = [ 'requests==2.2.1', 'argh==0.23.0' ] python_scripts = [ 'browse', 'list-members', 'login', 'migrate-project', 'migrate-wiki', 'migrate-teams', 'org', 'repo', 'status', ]
<|file_sep|>original/setup.py import os from setuptools import setup, find_packages from ghtools import __version__ requirements = [ 'requests==1.1.0', 'argh==0.23.0' ] python_scripts = [ 'browse', 'list-members', 'login', 'migrate-project', 'migrate-wiki', 'migrate-teams', 'org',...
ed6d7fdbf24780baa1afa60961fc4bd22354ae8f
setup.py
setup.py
Python
<|file_sep|>pkg/setting/setting_smtp.go.diff original: updated: FromName string <|file_sep|>original/pkg/setting/setting_smtp.go SkipVerify bool SendWelcomeEmailOnSignUp bool TemplatesPattern string } func readSmtpSettings() { sec := Cfg.Section("smtp") Smtp.Enabled = sec.Key("enabled").MustBool(fa...
SendWelcomeEmailOnSignUp bool TemplatesPattern string } func readSmtpSettings() { sec := Cfg.Section("smtp") Smtp.Enabled = sec.Key("enabled").MustBool(false) Smtp.Host = sec.Key("host").String() Smtp.User = sec.Key("user").String() Smtp.Password = sec.Key("password").String() Smtp.CertFile = sec.Key(...
<|file_sep|>pkg/setting/setting_smtp.go.diff original: updated: FromName string <|file_sep|>original/pkg/setting/setting_smtp.go SkipVerify bool SendWelcomeEmailOnSignUp bool TemplatesPattern string } func readSmtpSettings() { sec := Cfg.Section("smtp") Smtp.Enabled = sec.Key("enabled").MustBool(fa...
90cbfacacf4d0e6a5d4ce65ccf3e861883b9aeb2
pkg/setting/setting_smtp.go
pkg/setting/setting_smtp.go
Go
<|file_sep|>src/main/java/com/btk5h/skriptmirror/skript/LitNullObject.java.diff original: updated: import ch.njol.skript.lang.Expression; <|file_sep|>src/main/java/com/btk5h/skriptmirror/skript/LitNullObject.java.diff original: updated: import ch.njol.skript.lang.SkriptParser; <|file_sep|>src/main/java/com/btk5h/skri...
import org.bukkit.event.Event; public class LitNullObject extends SimpleLiteral<Null> { static { Skript.registerExpression(LitNullObject.class, Null.class, ExpressionType.SIMPLE, "null"); } public LitNullObject() { super(Null.getInstance(), false); } @Override public boolean init(Expression<?>[] ...
<|file_sep|>src/main/java/com/btk5h/skriptmirror/skript/LitNullObject.java.diff original: updated: import ch.njol.skript.lang.Expression; <|file_sep|>src/main/java/com/btk5h/skriptmirror/skript/LitNullObject.java.diff original: updated: import ch.njol.skript.lang.SkriptParser; <|file_sep|>src/main/java/com/btk5h/skri...
4b44232acf20ef9ed4290b2ee502079c5c7a9447
src/main/java/com/btk5h/skriptmirror/skript/LitNullObject.java
src/main/java/com/btk5h/skriptmirror/skript/LitNullObject.java
Java
<|file_sep|>capistrano-offroad.gemspec.diff original: s.description = "Capistrano add-ons and recipes for non-rails projects" # FIXME updated: s.description = <<EOF Capistrano-offroad is a support package for using Capistrano with non-rails projects. It contains basic reset of Rails-specific tasks, a handful of ut...
Gem::Specification.new do |s| s.name = "capistrano-offroad" s.version = CapistranoOffroad::VERSION::STRING s.summary = "Capistrano add-ons and recipes for non-rails projects" s.description = <<EOF Capistrano-offroad is a support package for using Capistrano with non-rails projects. It contains basic reset of R...
<|file_sep|>capistrano-offroad.gemspec.diff original: s.description = "Capistrano add-ons and recipes for non-rails projects" # FIXME updated: s.description = <<EOF Capistrano-offroad is a support package for using Capistrano with non-rails projects. It contains basic reset of Rails-specific tasks, a handful of ut...
9c3f6190f8cb98aec80aace3f5d947a984387b4b
capistrano-offroad.gemspec
capistrano-offroad.gemspec
Ruby
<|file_sep|>original/.travis.yml sudo: false language: php php: - 5.4 - 5.5 - 5.6 - hhvm cache: directories: - $HOME/.composer/cache before_install: composer self-update install: composer install --optimize-autoloader --no-interaction before_script: mysql -e 'create database `estaty_test`;' script:...
sudo: false language: php php: - 5.4 - 5.5 - 5.6 - hhvm branches: only: - master cache: directories: - $HOME/.composer/cache before_install: composer self-update install: composer install --optimize-autoloader --no-interaction
<|file_sep|>original/.travis.yml sudo: false language: php php: - 5.4 - 5.5 - 5.6 - hhvm cache: directories: - $HOME/.composer/cache before_install: composer self-update install: composer install --optimize-autoloader --no-interaction before_script: mysql -e 'create database `estaty_test`;' script:...
4d7e4f2d71705f46c8e48b8cfc6ea844755343e6
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: Useful Links ============ * [Open Permissions Platform](http://openpermissions.org) * [Low level Design](https://github.com/openpermissions/resolution-srv/blob/master/documents/markdown/low-level-design.md) Service Overview ================ <|file_sep|>README.md.diff orig...
python resolution/ -h [--help] ``` To start the service using test.service.conf: ``` python resolution/ -t [--test] ``` Running tests and generating code coverage ------------------------------------------ To have a "clean" target from build artifacts: ``` make clean ``` To install requirements. By default prod re...
<|file_sep|>README.md.diff original: updated: Useful Links ============ * [Open Permissions Platform](http://openpermissions.org) * [Low level Design](https://github.com/openpermissions/resolution-srv/blob/master/documents/markdown/low-level-design.md) Service Overview ================ <|file_sep|>README.md.diff orig...
d6736b6901d8bf206dbdcc854f5de00bf2e37c87
README.md
README.md
Markdown
<|file_sep|>composer.json.diff original: "keywords": [ "yii2", "extesion", "command", "migration", "generator" ], updated: "keywords": ["yii2", "extesion", "command", "migration", "generator"], <|file_sep|>original/composer.json { "name": "jamband/yii2-schemadump"...
"keywords": ["yii2", "extesion", "command", "migration", "generator"], "homepage": "https://github.com/jamband/yii2-schemadump", "type": "yii2-extension", "license": "MIT", "authors": [ { "name": "Tomoki Morita", "email": "tmsongbooks215@gmail.com", "homep...
<|file_sep|>composer.json.diff original: "keywords": [ "yii2", "extesion", "command", "migration", "generator" ], updated: "keywords": ["yii2", "extesion", "command", "migration", "generator"], <|file_sep|>original/composer.json { "name": "jamband/yii2-schemadump"...
15799be7dc0f1707fb683567e060ac860d09a876
composer.json
composer.json
JSON
<|file_sep|>whiteboard/forrestdoc/build.bat.diff original: updated: @echo off <|file_sep|>original/whiteboard/forrestdoc/build.bat rem rem http://www.apache.org/licenses/LICENSE-2.0 rem rem Unless required by applicable law or agreed to in writing, software rem distributed under the License is distributed on an "A...
rem the License. You may obtain a copy of the License at rem rem http://www.apache.org/licenses/LICENSE-2.0 rem rem Unless required by applicable law or agreed to in writing, software rem distributed under the License is distributed on an "AS IS" BASIS, rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr...
<|file_sep|>whiteboard/forrestdoc/build.bat.diff original: updated: @echo off <|file_sep|>original/whiteboard/forrestdoc/build.bat rem rem http://www.apache.org/licenses/LICENSE-2.0 rem rem Unless required by applicable law or agreed to in writing, software rem distributed under the License is distributed on an "A...
0c99019a34fdbfa0e014ba15e4e4f54823e9c6d8
whiteboard/forrestdoc/build.bat
whiteboard/forrestdoc/build.bat
Batchfile
<|file_sep|>appveyor.yml.diff original: PATH: c:\tools\go\bin;$(PATH) updated: <|file_sep|>original/appveyor.yml skip_branch_with_pr: true environment: PATH: c:\tools\go\bin;$(PATH) GOPATH: $(HOMEDRIVE)$(HOMEPATH)\go MSYSTEM: MINGW64 clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs install: - cinst ...
skip_branch_with_pr: true environment: GOPATH: $(HOMEDRIVE)$(HOMEPATH)\go MSYSTEM: MINGW64 clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs install: - rd C:\Go /s /q - cinst golang --version 1.8.0 -y - cinst InnoSetup -y - refreshenv build_script: - bash --login -c 'GOARCH=386 script/bootstrap' ...
<|file_sep|>appveyor.yml.diff original: PATH: c:\tools\go\bin;$(PATH) updated: <|file_sep|>original/appveyor.yml skip_branch_with_pr: true environment: PATH: c:\tools\go\bin;$(PATH) GOPATH: $(HOMEDRIVE)$(HOMEPATH)\go MSYSTEM: MINGW64 clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs install: - cinst ...
bac03124780a4822789db526c34d77b4a0454f04
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/test/test_reply.py <|file_sep|>current/test/test_reply.py <|file_sep|>updated/test/test_reply.py
import unittest import mock import settings from soa.tiquets import GestioTiquets from soa.identitat import GestioIdentitat from filtres.reply import FiltreReply from mailticket import MailTicket class TestReply(unittest.TestCase): def setUp(self): self.tickets = mock.create_autospec(GestioTiquets) ...
<|file_sep|>original/test/test_reply.py <|file_sep|>current/test/test_reply.py <|file_sep|>updated/test/test_reply.py import unittest import mock import settings from soa.tiquets import GestioTiquets from soa.identitat import GestioIdentitat from filtres.reply import FiltreReply from mailticket import MailTicket cl...
f3da7964fbdef7241d25dde2fd1489a64f710c36
test/test_reply.py
test/test_reply.py
Python
<|file_sep|>code/extensions/CataloguePageProductExtension.php.diff original: $page = CataloguePage::get()->first(); updated: $page = null; // Try to find the current product's page if ($this->owner->CataloguePages()->exists()) { $page = $this->owner->CataloguePages()->first(...
// Try to find the current product's page if ($this->owner->CataloguePages()->exists()) { $page = $this->owner->CataloguePages()->first(); } elseif ($category = $this->owner->Categories()->first()) { if($category->CataloguePages()->exists()) { $page = $ca...
<|file_sep|>code/extensions/CataloguePageProductExtension.php.diff original: $page = CataloguePage::get()->first(); updated: $page = null; // Try to find the current product's page if ($this->owner->CataloguePages()->exists()) { $page = $this->owner->CataloguePages()->first(...
8eaada20b6aaf42850130d1c59e32b6c7e23b398
code/extensions/CataloguePageProductExtension.php
code/extensions/CataloguePageProductExtension.php
PHP
<|file_sep|>nannou_audio/Cargo.toml.diff original: <<<<<<< HEAD [workspace] members = [ "nannou", "nannou-new", "nannou-package", ] ======= updated: <|file_sep|>original/nannou_audio/Cargo.toml <<<<<<< HEAD [workspace] members = [ "nannou", "nannou-new", "nannou-package", ] ======= [package] na...
[package] name = "nannou_audio" version = "0.2.0" authors = ["mitchmindtree <mitchell.nordine@gmail.com>"] description = "The audio API for Nannou, the creative coding framework." readme = "README.md" keywords = ["audio", "stream", "cross-platform", "dsp", "pcm"] license = "MIT" repository = "https://github.com/nannou-...
<|file_sep|>nannou_audio/Cargo.toml.diff original: <<<<<<< HEAD [workspace] members = [ "nannou", "nannou-new", "nannou-package", ] ======= updated: <|file_sep|>original/nannou_audio/Cargo.toml <<<<<<< HEAD [workspace] members = [ "nannou", "nannou-new", "nannou-package", ] ======= [package] na...
06cd608e780d34bbf0b25c1360a1a822905b9cac
nannou_audio/Cargo.toml
nannou_audio/Cargo.toml
TOML
<|file_sep|>original/.rubocop.yml Metrics/LineLength: Max: 100 Rails/HasAndBelongsToMany: Enabled: false Style/DotPosition: EnforcedStyle: trailing Style/Documentation: Enabled: false Style/IndentHash: EnforcedStyle: consistent Style/StringLiterals: EnforcedStyle: single_quotes Style/WordArray: Ena...
Rails/HasAndBelongsToMany: Enabled: false Style/DotPosition: EnforcedStyle: trailing Style/Documentation: Enabled: false Style/IndentHash: EnforcedStyle: consistent Style/StringLiterals: EnforcedStyle: single_quotes Style/WordArray: Enabled: false Style/RegexpLiteral: AllowInnerSlashes: true
<|file_sep|>original/.rubocop.yml Metrics/LineLength: Max: 100 Rails/HasAndBelongsToMany: Enabled: false Style/DotPosition: EnforcedStyle: trailing Style/Documentation: Enabled: false Style/IndentHash: EnforcedStyle: consistent Style/StringLiterals: EnforcedStyle: single_quotes Style/WordArray: Ena...
46d524ef3677d94af1c011b6ab615ff3e88ca119
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/atlas2/manifest.yml applications: - path: . memory: 512M instances: 1 domain: eu-gb.mybluemix.net name: main host: main disk_quota: 512M timeout: 60 services: - mongodb-atlas2main - performance-monitoring-auto - atlas2-stormpath-credentials <|file_sep|>current/atlas2/manifest....
applications: - path: . memory: 256M instances: 1 domain: eu-gb.mybluemix.net name: main host: main disk_quota: 512M timeout: 60 services: - mongodb-atlas2main - performance-monitoring-auto - atlas2-stormpath-credentials
<|file_sep|>original/atlas2/manifest.yml applications: - path: . memory: 512M instances: 1 domain: eu-gb.mybluemix.net name: main host: main disk_quota: 512M timeout: 60 services: - mongodb-atlas2main - performance-monitoring-auto - atlas2-stormpath-credentials <|file_sep|>current/atlas2/manifest....
30e74d32b53bf7dab2d30a2a3e366216c4243dba
atlas2/manifest.yml
atlas2/manifest.yml
YAML
<|file_sep|>README.md.diff original: npm install fair-vote-profile //install it. updated: Install it: npm install fair-vote-profile Use it: <|file_sep|>original/README.md Voting profile for fair vote aggregation. npm install fair-vote-profile //install it. var Profile = require('fair-vote-profile'...
P.setCandidates(['a','b','d','e']); //these are the candidates; P.vote(['b,'a','d','e']); //vote P.vote(['b,'a','e','d']); P.vote(['e,'d','a','b']); P.vote(['d,'b','a','e']); //your vote is stored in a profile, P.score("borda"); // Outputs scores of each candidate, in a bor...
<|file_sep|>README.md.diff original: npm install fair-vote-profile //install it. updated: Install it: npm install fair-vote-profile Use it: <|file_sep|>original/README.md Voting profile for fair vote aggregation. npm install fair-vote-profile //install it. var Profile = require('fair-vote-profile'...
ef9bd15915fa3567e7d319c1b110d5339376d867
README.md
README.md
Markdown
<|file_sep|>original/spec/integration/commands/config_spec.rb <|file_sep|>current/spec/integration/commands/config_spec.rb <|file_sep|>updated/spec/integration/commands/config_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe "Config command" do context "config" do it "should report success" do response, exit_status = capture_with_status(:stdout){ HP::Cloud::CLI.start(['config']) } exit_status.should be_exit(:success) end end end
<|file_sep|>original/spec/integration/commands/config_spec.rb <|file_sep|>current/spec/integration/commands/config_spec.rb <|file_sep|>updated/spec/integration/commands/config_spec.rb require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe "Config command" do context "config" do it "sh...
cbffd8ddf8d414faac339323005a76362ccb7ff2
spec/integration/commands/config_spec.rb
spec/integration/commands/config_spec.rb
Ruby
<|file_sep|>src/BugsnagUnity/DictionaryExtensions.cs.diff original: private static IntPtr Arrays { get; } = AndroidJNI.FindClass("java/util/Arrays"); private static IntPtr ToStringMethod { get; } = AndroidJNIHelper.GetMethodID(Arrays, "toString", "([Ljava/lang/Object;)Ljava/lang/String;", true); updated: <|f...
var key = mapEntry.Call<string>("getKey"); using (var value = mapEntry.Call<AndroidJavaObject>("getValue")) { if (value != null) { using (var @class = value.Call<AndroidJavaObject>("getClass")) { if (@class...
<|file_sep|>src/BugsnagUnity/DictionaryExtensions.cs.diff original: private static IntPtr Arrays { get; } = AndroidJNI.FindClass("java/util/Arrays"); private static IntPtr ToStringMethod { get; } = AndroidJNIHelper.GetMethodID(Arrays, "toString", "([Ljava/lang/Object;)Ljava/lang/String;", true); updated: <|f...
94102ca525e37ba03d0cfba45261069b66c93c52
src/BugsnagUnity/DictionaryExtensions.cs
src/BugsnagUnity/DictionaryExtensions.cs
C#
<|file_sep|>original/docs/guides/index.rst :html_theme.sidebar_secondary.remove: ########### User guides ########### *User guides* help users and team members understand and use your projects with conceptual documentation, how-to procedures, tutorials, and reference documentation. At Rubin Observatory, every software...
########### User guides ########### *User guides* help users and team members understand and use your projects with conceptual documentation, how-to procedures, tutorials, and reference documentation. At Rubin Observatory, every software package, web service, and even data release has a corresponding user guide. Docum...
<|file_sep|>original/docs/guides/index.rst :html_theme.sidebar_secondary.remove: ########### User guides ########### *User guides* help users and team members understand and use your projects with conceptual documentation, how-to procedures, tutorials, and reference documentation. At Rubin Observatory, every software...
3e277ded663471437cd92294badb12d2e80d0706
docs/guides/index.rst
docs/guides/index.rst
reStructuredText
<|file_sep|>spec/helpers/application_helper_spec.rb.diff original: it 'HTML entities are escaped' do updated: it 'HTML entities are filtered' do <|file_sep|>original/spec/helpers/application_helper_spec.rb require 'spec_helper' describe ApplicationHelper do describe '#markdown' do context 'string wit...
helper.markdown(markdown_string).strip.should eq '<p><strong>hello</strong></p>' end end context 'string contains HTML code' do let(:markdown_string) { '<b class="class">abc</b>' } it 'HTML entities are filtered' do helper.markdown(markdown_string).strip.should eq '<p>abc</p>...
<|file_sep|>spec/helpers/application_helper_spec.rb.diff original: it 'HTML entities are escaped' do updated: it 'HTML entities are filtered' do <|file_sep|>original/spec/helpers/application_helper_spec.rb require 'spec_helper' describe ApplicationHelper do describe '#markdown' do context 'string wit...
ced87b1aa45ff397417e479e378c9719a0467ad6
spec/helpers/application_helper_spec.rb
spec/helpers/application_helper_spec.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: - "2.7" install: "pip install -r requirements.txt" script: make itest <|file_sep|>current/.travis.yml language: python python: - "2.7" install: "pip install -r requirements.txt" script: make itest <|file_sep|>updated/.travis.yml
language: python python: - "2.7" install: "pip install -r requirements.txt" script: make test
<|file_sep|>original/.travis.yml language: python python: - "2.7" install: "pip install -r requirements.txt" script: make itest <|file_sep|>current/.travis.yml language: python python: - "2.7" install: "pip install -r requirements.txt" script: make itest <|file_sep|>updated/.travis.yml language: python python: - ...
848ba5ea0fd6e9b078ded764a2aa67ea4ac19ea7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Sensorama/Sensorama/SRDebug.h // Copyright © 2016 Wojciech Adam Koszek. All rights reserved. // #ifndef SRDebug_h #define SRDebug_h #define SRPROBE0() do { \ NSLog(@"%s", __func__); \ } while (0) #define SRPROBE1(x1) do { \ NSLog(@"...
#define SRDebug_h #define SRPROBE0() do { \ NSLog(@"%s", __func__); \ } while (0) #define SRPROBE1(x1) do { \ NSLog(@"%s %s=%@", __func__, #x1, (x1)); \ } while (0) #define SRPROBE2(x1, x2) do { \ NSLog(@"%s %s=%@ ...
<|file_sep|>original/Sensorama/Sensorama/SRDebug.h // Copyright © 2016 Wojciech Adam Koszek. All rights reserved. // #ifndef SRDebug_h #define SRDebug_h #define SRPROBE0() do { \ NSLog(@"%s", __func__); \ } while (0) #define SRPROBE1(x1) do { \ NSLog(@"...
3f274880fb1720b82e449a9b4d86ec0dab336d7c
Sensorama/Sensorama/SRDebug.h
Sensorama/Sensorama/SRDebug.h
C
<|file_sep|>.travis.yml.diff original: - 1.5 updated: <|file_sep|>original/.travis.yml language: go go: - 1.5 - 1.6 install: - go get -t -v ./... script: - go test -v ./... <|file_sep|>current/.travis.yml language: go go: - 1.6 install: - go get -t -v ./... script: - go test -v ./... <|file_sep|>up...
language: go go: - 1.6 - 1.7 install: - go get -t -v ./... script: - go test -v ./...
<|file_sep|>.travis.yml.diff original: - 1.5 updated: <|file_sep|>original/.travis.yml language: go go: - 1.5 - 1.6 install: - go get -t -v ./... script: - go test -v ./... <|file_sep|>current/.travis.yml language: go go: - 1.6 install: - go get -t -v ./... script: - go test -v ./... <|file_sep|>up...
e39d62944f60e7296290f116b5f99ac3a4d1fce3
.travis.yml
.travis.yml
YAML
<|file_sep|>Source/TwistDelegate.swift.diff original: updated: func twist(twist: Twist, failedToPlayURL itemURL: NSURL, forItemAtIndex itemIndex: Int) func twist(twist: Twist, downloadedMedia fileItemURL: NSURL, forItemAtIndex itemIndex: Int) <|file_sep|>original/Source/TwistDelegate.swift // // Created by Ja...
public protocol TwistDelegate { func twist(twist: Twist, loaded: NSTimeInterval, outOf totalDuration: NSTimeInterval) func twist(twist: Twist, playedTo currentTime: Double, outOf totalDuration: Double) func twist(twist: Twist, startedPlayingItemAtIndex itemIndex: Int) func twist(twist: Twist, failedToP...
<|file_sep|>Source/TwistDelegate.swift.diff original: updated: func twist(twist: Twist, failedToPlayURL itemURL: NSURL, forItemAtIndex itemIndex: Int) func twist(twist: Twist, downloadedMedia fileItemURL: NSURL, forItemAtIndex itemIndex: Int) <|file_sep|>original/Source/TwistDelegate.swift // // Created by Ja...
8833747508580144c4b78b3b41fcdc66743a470d
Source/TwistDelegate.swift
Source/TwistDelegate.swift
Swift
<|file_sep|>original/circle.yml machine: ruby: version: 2.2.2 test: override: - bundle exec rake <|file_sep|>current/circle.yml machine: ruby: version: 2.2.2 test: override: - bundle exec rake <|file_sep|>updated/circle.yml
machine: ruby: version: 2.2.3 test: override: - bundle exec rake
<|file_sep|>original/circle.yml machine: ruby: version: 2.2.2 test: override: - bundle exec rake <|file_sep|>current/circle.yml machine: ruby: version: 2.2.2 test: override: - bundle exec rake <|file_sep|>updated/circle.yml machine: ruby: version: 2.2.3 test: overrid...
a6171e1d7f3f1d5fccfe08d72c920650514ff5f7
circle.yml
circle.yml
YAML
<|file_sep|>original/MercadoPagoSDK/MercadoPagoSDK/ConfirmEmailTableViewCell.swift import UIKit class ConfirmEmailTableViewCell: UITableViewCell { @IBOutlet weak var label: UILabel! override func awakeFromNib() { super.awakeFromNib() // Initialization code } func fillCell(payment:...
class ConfirmEmailTableViewCell: UITableViewCell { @IBOutlet weak var label: UILabel! override func awakeFromNib() { super.awakeFromNib() // Initialization code } func fillCell(payment: Payment, instruction: Instruction?) -> Void { label.font = Utils.getFont(size: label.fon...
<|file_sep|>original/MercadoPagoSDK/MercadoPagoSDK/ConfirmEmailTableViewCell.swift import UIKit class ConfirmEmailTableViewCell: UITableViewCell { @IBOutlet weak var label: UILabel! override func awakeFromNib() { super.awakeFromNib() // Initialization code } func fillCell(payment:...
95c3b632e1e9b6774cc16ee0a164b6be48f774cf
MercadoPagoSDK/MercadoPagoSDK/ConfirmEmailTableViewCell.swift
MercadoPagoSDK/MercadoPagoSDK/ConfirmEmailTableViewCell.swift
Swift
<|file_sep|>swagger/swagger.yaml.diff original: updated: schema: type: "array" items: $ref: "#/definitions/Duck" <|file_sep|>original/swagger/swagger.yaml produces: - "application/json" paths: /ducks/: get: tags: - "default_controller" description...
operationId: "controllers.default_controller.ducks_get" parameters: [] responses: 200: description: "An object which contains metadata and an array of ducks" schema: type: "array" items: $ref: "#/definitions/Duck" security: ...
<|file_sep|>swagger/swagger.yaml.diff original: updated: schema: type: "array" items: $ref: "#/definitions/Duck" <|file_sep|>original/swagger/swagger.yaml produces: - "application/json" paths: /ducks/: get: tags: - "default_controller" description...
e762b3027806f72093a1bda5600c18ce7090122a
swagger/swagger.yaml
swagger/swagger.yaml
YAML
<|file_sep|>original/styles/.atom-text-editor.less } } .jumpy-label { &.irrelevant { // This is a marker to indicate not applicable (when 1 key is entered/known). display: none; } color: @base-background-color; background: @text-color; position: absolute; left: 10px; vertical-al...
} } .jumpy-label { &.irrelevant { // This is a marker to indicate not applicable (when 1 key is entered/known). display: none; } color: @base-background-color; background: @text-color; position: absolute; vertical-align: bottom; transform: translate(0, -100%); padding: .15em...
<|file_sep|>original/styles/.atom-text-editor.less } } .jumpy-label { &.irrelevant { // This is a marker to indicate not applicable (when 1 key is entered/known). display: none; } color: @base-background-color; background: @text-color; position: absolute; left: 10px; vertical-al...
bdce8a6b8351841c3e14d417488ec9e0bec32973
styles/.atom-text-editor.less
styles/.atom-text-editor.less
Less
<|file_sep|>packages/phenomic/src/index.js.diff original: updated: const normalizePlugin = (plugin) => { if (!plugin) { throw new Error( "phenomic: You provided an undefined plugin" ) } if (typeof plugin !== "function") { throw new Error( "phenomic: You provided an plugin with type is " ...
// @todo send config here return plugin() } function normalizeConfiguration(config: PhenomicInputConfig): PhenomicConfig { return { path: config.path || process.cwd(), outdir: config.outdir || path.join(process.cwd(), "dist"), bundler: config.bundler(), renderer: config.renderer(), plugins: f...
<|file_sep|>packages/phenomic/src/index.js.diff original: updated: const normalizePlugin = (plugin) => { if (!plugin) { throw new Error( "phenomic: You provided an undefined plugin" ) } if (typeof plugin !== "function") { throw new Error( "phenomic: You provided an plugin with type is " ...
7ffd6936bd40a5a47818f51864a6eb86ed286e56
packages/phenomic/src/index.js
packages/phenomic/src/index.js
JavaScript
<|file_sep|>cla_backend/apps/reports/db/backend/base.py.diff original: updated: import pytz def local_tzinfo_factory(offset): ''' Create a tzinfo object using the offset of the db connection. This ensures that the datetimes returned are timezone aware and will be printed in the reports with timezone ...
Create a tzinfo object using the offset of the db connection. This ensures that the datetimes returned are timezone aware and will be printed in the reports with timezone information. ''' return pytz.FixedOffset(offset) class DynamicTimezoneDatabaseWrapper(DatabaseWrapper): ''' This exists...
<|file_sep|>cla_backend/apps/reports/db/backend/base.py.diff original: updated: import pytz def local_tzinfo_factory(offset): ''' Create a tzinfo object using the offset of the db connection. This ensures that the datetimes returned are timezone aware and will be printed in the reports with timezone ...
c92d9c6da02dacdd91a21c3c5675940154c0e21a
cla_backend/apps/reports/db/backend/base.py
cla_backend/apps/reports/db/backend/base.py
Python
<|file_sep|>original/configuration/panthor3-slim.yml <|file_sep|>current/configuration/panthor3-slim.yml <|file_sep|>updated/configuration/panthor3-slim.yml
parameters: slim.settings.http_version: '1.1' slim.settings.chunk_size: 4096 slim.settings.buffering: 'append' slim.settings.determine_route_before_mw: false slim.settings.display_errors: true slim.settings: httpVersion: '%slim.settings.http_version%' responseChunkSize: '%slim....
<|file_sep|>original/configuration/panthor3-slim.yml <|file_sep|>current/configuration/panthor3-slim.yml <|file_sep|>updated/configuration/panthor3-slim.yml parameters: slim.settings.http_version: '1.1' slim.settings.chunk_size: 4096 slim.settings.buffering: 'append' slim.settings.determine_route_bef...
5c4ce999ac309724789e7a530694b14aa6a7d358
configuration/panthor3-slim.yml
configuration/panthor3-slim.yml
YAML
<|file_sep|>original/lib/package-keymap-view.coffee {$$, $$$, _, View} = require 'atom' # Displays the keybindings for a package namespace module.exports = class PackageKeymapView extends View @content: -> @section class: 'package-keymap', => @div class: 'section-heading package-keymap-heading icon icon-ke...
{$$, $$$, _, View} = require 'atom' # Displays the keybindings for a package namespace module.exports = class PackageKeymapView extends View @content: -> @section class: 'package-keymap', => @div class: 'section-heading package-keymap-heading icon icon-keyboard', 'Keybindings' @table outlet: 'keymapT...
<|file_sep|>original/lib/package-keymap-view.coffee {$$, $$$, _, View} = require 'atom' # Displays the keybindings for a package namespace module.exports = class PackageKeymapView extends View @content: -> @section class: 'package-keymap', => @div class: 'section-heading package-keymap-heading icon icon-ke...
18b9894ca7e44cc829c48cc9dec2620c0d2efee0
lib/package-keymap-view.coffee
lib/package-keymap-view.coffee
CoffeeScript
<|file_sep|>features/author_adds_question.feature.diff original: updated: @selenium <|file_sep|>original/features/author_adds_question.feature Background: Given The default project and jnlp resources exist using mocks Scenario: The author adds a multiple choice question to an investigation Given the fol...
Given The default project and jnlp resources exist using mocks @selenium Scenario: The author adds a multiple choice question to an investigation Given the following users exist: | login | password | roles | | author | author | member, author ...
<|file_sep|>features/author_adds_question.feature.diff original: updated: @selenium <|file_sep|>original/features/author_adds_question.feature Background: Given The default project and jnlp resources exist using mocks Scenario: The author adds a multiple choice question to an investigation Given the fol...
bd1bb3e10302b3e28f7935d323583ff09b86c704
features/author_adds_question.feature
features/author_adds_question.feature
Cucumber
<|file_sep|>original/amzn.py <|file_sep|>current/amzn.py <|file_sep|>updated/amzn.py
avsRequestHeader = { "messageHeader": { "deviceContext": [ { "name": "playbackState", "namespace": "AudioPlayer", "payload": { "streamId": "", "offsetInMilliseconds": "0", ...
<|file_sep|>original/amzn.py <|file_sep|>current/amzn.py <|file_sep|>updated/amzn.py avsRequestHeader = { "messageHeader": { "deviceContext": [ { "name": "playbackState", "namespace": "AudioPlayer", "payload": { ...
cdf107ddeb9ca4f11ca5e5af59e196e752e79841
amzn.py
amzn.py
Python
<|file_sep|>samples/plugins/scenario/scenario_plugin.py.diff original: from rally.task.scenarios import base updated: from rally.plugins.openstack import scenario from rally.task import atomic <|file_sep|>samples/plugins/scenario/scenario_plugin.py.diff original: class ScenarioPlugin(base.Scenario): updated: class Scen...
"""Sample plugin which lists flavors.""" @atomic.action_timer("list_flavors") def _list_flavors(self): """Sample of usage clients - list flavors You can use self.context, self.admin_clients and self.clients which are initialized on scenario instance creation. """ se...
<|file_sep|>samples/plugins/scenario/scenario_plugin.py.diff original: from rally.task.scenarios import base updated: from rally.plugins.openstack import scenario from rally.task import atomic <|file_sep|>samples/plugins/scenario/scenario_plugin.py.diff original: class ScenarioPlugin(base.Scenario): updated: class Scen...
d8d2e4b763fbd7cedc42046f6f45395bf15caa79
samples/plugins/scenario/scenario_plugin.py
samples/plugins/scenario/scenario_plugin.py
Python
<|file_sep|>original/requirements.txt Django==1.10.3 dj-database-url==0.4.1 django-cors-middleware==1.3.1 django-extensions==1.7.4 django-test-without-migrations==0.4 gunicorn==19.6.0 psycopg2==2.6.2 python-decouple==3.0 pytz==2016.7 whitenoise==3.2.2 <|file_sep|>current/requirements.txt Django==1.10.3 dj-database-url=...
Django==1.10.3 dj-database-url==0.4.1 django-cors-middleware==1.3.1 django-extensions==1.7.5 django-test-without-migrations==0.4 gunicorn==19.6.0 psycopg2==2.6.2 python-decouple==3.0 pytz==2016.7 whitenoise==3.2.2
<|file_sep|>original/requirements.txt Django==1.10.3 dj-database-url==0.4.1 django-cors-middleware==1.3.1 django-extensions==1.7.4 django-test-without-migrations==0.4 gunicorn==19.6.0 psycopg2==2.6.2 python-decouple==3.0 pytz==2016.7 whitenoise==3.2.2 <|file_sep|>current/requirements.txt Django==1.10.3 dj-database-url=...
0b03e61be5647c0a8ba99bbaee6a845952a7bb50
requirements.txt
requirements.txt
Text
<|file_sep|>original/_posts/2019-09-21-docker-performance.md <|file_sep|>current/_posts/2019-09-21-docker-performance.md <|file_sep|>updated/_posts/2019-09-21-docker-performance.md
--- layout: post title: "How to drastically increase Docker performance on Mac and Windows" tags: - docker - performance - mac - windows --- On Windows and Mac you will probably see a poor performance for your thoroughly dockerized application. This is due to very slow storage I/O operations on your mounted vol...
<|file_sep|>original/_posts/2019-09-21-docker-performance.md <|file_sep|>current/_posts/2019-09-21-docker-performance.md <|file_sep|>updated/_posts/2019-09-21-docker-performance.md --- layout: post title: "How to drastically increase Docker performance on Mac and Windows" tags: - docker - performance - mac - ...
0aaf266a64fc15719366b8bbef69e6d2808578bb
_posts/2019-09-21-docker-performance.md
_posts/2019-09-21-docker-performance.md
Markdown
<|file_sep|>original/.github/workflows/nodejs.yml pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: acti...
pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [14.x, 16.x, 17.x, 18.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version...
<|file_sep|>original/.github/workflows/nodejs.yml pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: acti...
37dbc647942ce4cfb9188451048603709b97f36d
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>original/src/main/java/uk/ac/ic/wlgitbridge/bridge/db/sqlite/query/GetOldestProjectName.java import java.sql.ResultSet; import java.sql.SQLException; /** * Created by winston on 23/08/2016. */ public class GetOldestProjectName implements SQLQuery<String> { private static final String GET_OLDEST_PROJ...
import java.sql.ResultSet; import java.sql.SQLException; /** * Created by winston on 23/08/2016. */ public class GetOldestProjectName implements SQLQuery<String> { private static final String GET_OLDEST_PROJECT_NAME = "SELECT `name`, MIN(`last_accessed`)\n" + " FROM `projects` \n" + ...
<|file_sep|>original/src/main/java/uk/ac/ic/wlgitbridge/bridge/db/sqlite/query/GetOldestProjectName.java import java.sql.ResultSet; import java.sql.SQLException; /** * Created by winston on 23/08/2016. */ public class GetOldestProjectName implements SQLQuery<String> { private static final String GET_OLDEST_PROJ...
beabce931b5c4684856dbe1d8b12735066e8616a
src/main/java/uk/ac/ic/wlgitbridge/bridge/db/sqlite/query/GetOldestProjectName.java
src/main/java/uk/ac/ic/wlgitbridge/bridge/db/sqlite/query/GetOldestProjectName.java
Java
<|file_sep|>.travis.yml.diff original: before_deploy: - export NPM_PACKAGE_VERSION=$(node -p "require('./package.json').version") updated: <|file_sep|>.travis.yml.diff original: upload_dir: public/js/embedded/${NPM_PACKAGE_VERSION} updated: upload_dir: public/js/embedded/${TRAVIS_TAG} <|file_sep|>.travis.yml...
file: umd/* skip_cleanup: true on: tags: true condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ # Stable releases only. - provider: npm email: $NPM_EMAIL_ADDRESS api_key: $NPM_API_KEY skip_cleanup: true tag: latest on: tags: true condition: $TRAVIS_TAG =~ ^v[0...
<|file_sep|>.travis.yml.diff original: before_deploy: - export NPM_PACKAGE_VERSION=$(node -p "require('./package.json').version") updated: <|file_sep|>.travis.yml.diff original: upload_dir: public/js/embedded/${NPM_PACKAGE_VERSION} updated: upload_dir: public/js/embedded/${TRAVIS_TAG} <|file_sep|>.travis.yml...
c956e83a3dbf5dbd6f690f78ed32239a2f952581
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tox.ini [testenv:py33-test-deps] deps = numpy>=1.6.1,<1.12 cython>=0.19 [testenv:py26-test-mindeps] deps = unittest2 numpy==1.6.1 cython==0.19 [testenv:py33-test-mindeps] deps = numpy==1.7 cython==0.19 [testenv:py34-test-mindeps] deps = numpy==1.9 cython==0.1...
[testenv:py26-test-mindeps] deps = unittest2 numpy==1.6.1 cython==0.19 [testenv:py33-test-mindeps] deps = numpy==1.7 cython==0.19 [testenv:py34-test-mindeps] deps = numpy==1.9 cython==0.19 [testenv:py35-test-mindeps] deps = numpy==1.10 cython==0.19
<|file_sep|>original/tox.ini [testenv:py33-test-deps] deps = numpy>=1.6.1,<1.12 cython>=0.19 [testenv:py26-test-mindeps] deps = unittest2 numpy==1.6.1 cython==0.19 [testenv:py33-test-mindeps] deps = numpy==1.7 cython==0.19 [testenv:py34-test-mindeps] deps = numpy==1.9 cython==0.1...
26f7b586379a099678a7a654f3b3fad1e3db4008
tox.ini
tox.ini
INI
<|file_sep|>README.md.diff original: #Installation updated: ## Installation <|file_sep|>README.md.diff original: updated: 1. Add project files to your machine (for example in `~Sites/www`). <|file_sep|>README.md.diff original: ```bash git clone git@github.com:NBCUOTS/pubstack.git cd pubstack cp default.config.yml conf...
1. Install [VirtualBox](https://www.virtualbox.org/). 1. Add project files to your machine (for example in `~Sites/www`). 1. Run the following: ```bash git clone git@github.com:NBCUOTS/pubstack.git cd pubstack cp default.config.yml config.yml # modify config.yml as needed (note each config has comm...
<|file_sep|>README.md.diff original: #Installation updated: ## Installation <|file_sep|>README.md.diff original: updated: 1. Add project files to your machine (for example in `~Sites/www`). <|file_sep|>README.md.diff original: ```bash git clone git@github.com:NBCUOTS/pubstack.git cd pubstack cp default.config.yml conf...
f2895a2fe270bd5f995e147f2d6b80abe8ba469b
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ride...
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
2e45e970d3756c464daac3fcb1116349ea631a7e
.github/workflows/automerge.yml
.github/workflows/automerge.yml
YAML
<|file_sep|>kokekunster/urls.py.diff original: updated: url(r'^admin/', include(admin.site.urls)), <|file_sep|>original/kokekunster/urls.py https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$...
ERROR: type should be string, got " https://docs.djangoproject.com/en/1.8/topics/http/urls/\nExamples:\nFunction views\n 1. Add an import: from my_app import views\n 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')\nClass-based views\n 1. Add an import: from other_app.views import Home\n 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')\nIncluding another URLconf\n 1. Add an import: from blog import urls as blog_urls\n 2. Add a URL to urlpatterns: url(r'^blog/', include(blog_urls))\n\"\"\"\nfrom django.conf.urls import include, url\nfrom django.contrib import admin\nfrom semesterpage.views import semester, user_request\n\nurlpatterns = [\n url(r'^$', include('semesterpage.urls')),\n url(r'^admin/', include(admin.site.urls)),\n url(r'^(?P<program_code>\\w{3,6})/', include('semesterpage.urls')),\n]"
<|file_sep|>kokekunster/urls.py.diff original: updated: url(r'^admin/', include(admin.site.urls)), <|file_sep|>original/kokekunster/urls.py https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$...
e0298e3897752644f7592cf3e9aad4684dcbbbfe
kokekunster/urls.py
kokekunster/urls.py
Python
<|file_sep|>original/appveyor.yml init: - git config --global core.autocrlf input install: # Get the latest stable version of Node.js - ps: Install-Product node $env:nodejs_version x64 - npm install build_script: - md "%USERPROFILE%\.electron" - npm config set msvs_version 2015 --global - node --versio...
init: - git config --global core.autocrlf input install: # Get the latest stable version of Node.js - ps: Install-Product node $env:nodejs_version x64 - npm install build_script: - setlocal enableextensions - md "%USERPROFILE%\.electron" - npm config set msvs_version 2015 --global - node --version ...
<|file_sep|>original/appveyor.yml init: - git config --global core.autocrlf input install: # Get the latest stable version of Node.js - ps: Install-Product node $env:nodejs_version x64 - npm install build_script: - md "%USERPROFILE%\.electron" - npm config set msvs_version 2015 --global - node --versio...
a2e59e2dd27b23866a403ad0d5d089bee66da54f
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/composer.json "email": "tcindie@gmail.com" } ], "require": { "php": ">=5.4", "illuminate/support": "~5.0", "illuminate/database": "~5.0" }, "require-dev": { "phpunit/phpunit": "~4.0" }, "autoload": { "classmap": [ ...
}, "require-dev": { "phpunit/phpunit": "~4.0" }, "autoload": { "classmap": [ "src/commands" ], "psr-4": { "willvincent\\Rateable\\": "src/Rateable" } }, "extra": { "laravel": { "providers": [ "wi...
<|file_sep|>original/composer.json "email": "tcindie@gmail.com" } ], "require": { "php": ">=5.4", "illuminate/support": "~5.0", "illuminate/database": "~5.0" }, "require-dev": { "phpunit/phpunit": "~4.0" }, "autoload": { "classmap": [ ...
b7346b921a0f73551439e5bc7853ca4925a2cb8c
composer.json
composer.json
JSON
<|file_sep|>management/commands/startbot.py.diff original: updated: from django.conf import settings <|file_sep|>original/management/commands/startbot.py from django.core.management.base import BaseCommand import importlib import asyncio class Command(BaseCommand): def handle(self, *args, **options): l...
from django.core.management.base import BaseCommand from django.conf import settings import importlib import asyncio class Command(BaseCommand): def handle(self, *args, **options): loop = asyncio.get_event_loop() if settings.DEBUG: loop.set_debug(True) bot = None whil...
<|file_sep|>management/commands/startbot.py.diff original: updated: from django.conf import settings <|file_sep|>original/management/commands/startbot.py from django.core.management.base import BaseCommand import importlib import asyncio class Command(BaseCommand): def handle(self, *args, **options): l...
c1f4b466c9acbcb4569bab183f7e932125c833e9
management/commands/startbot.py
management/commands/startbot.py
Python
<|file_sep|>original/spec/models/revision_content_spec.rb let(:variant_two) { 'The fox is dead' } let(:node) { Fabricate(:general_content, content_body: nil) } let(:revision_one) { node.revise!(content_body: variant_one) } let(:revision_two) { node.revise!(content_body: variant_two)} describe 'on an empty no...
describe 'on a published node' do before do revision_one.apply! node.reload end subject { RevisionContent.new(revision_two).content_body } it { is_expected.to eq variant_two } end describe '#all_content' do let(:clean_node) { Fabricate(:general_content) } let(:missing_name) ...
<|file_sep|>original/spec/models/revision_content_spec.rb let(:variant_two) { 'The fox is dead' } let(:node) { Fabricate(:general_content, content_body: nil) } let(:revision_one) { node.revise!(content_body: variant_one) } let(:revision_two) { node.revise!(content_body: variant_two)} describe 'on an empty no...
60666eb24616f68b8d77ac4fa89bb670a4a82901
spec/models/revision_content_spec.rb
spec/models/revision_content_spec.rb
Ruby
<|file_sep|>original/ci/deb-server-script.sh <|file_sep|>current/ci/deb-server-script.sh <|file_sep|>updated/ci/deb-server-script.sh
#!/bin/sh set -x set -e mkdir -p /tmp/syncplay/DEBIAN echo "Package: syncplay-server Version: "$( sed -n -e "s/^.*version = //p" syncplay/__init__.py | sed "s/'//g" )$( if [ $(git describe --exact-match --tags HEAD | wc -l) = '0' ]; then echo -git-$(date -u +%y%m%d%H%M) fi )" Architecture: all Maintaine...
<|file_sep|>original/ci/deb-server-script.sh <|file_sep|>current/ci/deb-server-script.sh <|file_sep|>updated/ci/deb-server-script.sh #!/bin/sh set -x set -e mkdir -p /tmp/syncplay/DEBIAN echo "Package: syncplay-server Version: "$( sed -n -e "s/^.*version = //p" syncplay/__init__.py | sed "s/'//g" )$( if [ $(gi...
f2f0afc6091adcfe57d0f49eaab2247f1ff520b9
ci/deb-server-script.sh
ci/deb-server-script.sh
Shell
<|file_sep|>.kitchen.yml.diff original: updated: box_url: 'https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box' <|file_sep|>original/.kitchen.yml --- driver: name: vagrant provisioner: name: ansible_playbook hosts: all platforms: - name: ubuntu-14.04 driver_con...
provisioner: name: ansible_playbook hosts: all platforms: - name: ubuntu-14.04 driver_config: box: ubuntu/trusty64 box_url: 'https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box' - name: centos-6.5 driver_config: box: chef/centos-6.5 box_url...
<|file_sep|>.kitchen.yml.diff original: updated: box_url: 'https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box' <|file_sep|>original/.kitchen.yml --- driver: name: vagrant provisioner: name: ansible_playbook hosts: all platforms: - name: ubuntu-14.04 driver_con...
9bff3fd5a53c0f605fc941d960308a7212689ac5
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/packages/go/godot-megaparsec.yaml <|file_sep|>current/packages/go/godot-megaparsec.yaml <|file_sep|>updated/packages/go/godot-megaparsec.yaml
homepage: '' changelog-type: markdown hash: cdf1e0eb7a0a4f764e44bb9595e6874839ad5b36c4e3ddea6706750436d8332e test-bench-deps: {} maintainer: winstonhartnett@gmail.com synopsis: Megaparsec parser for Godot `tscn` and `gdns` files. changelog: | # Revision history for tscn-attoparsec ## 0.1.0.0 -- YYYY-mm-dd * Fir...
<|file_sep|>original/packages/go/godot-megaparsec.yaml <|file_sep|>current/packages/go/godot-megaparsec.yaml <|file_sep|>updated/packages/go/godot-megaparsec.yaml homepage: '' changelog-type: markdown hash: cdf1e0eb7a0a4f764e44bb9595e6874839ad5b36c4e3ddea6706750436d8332e test-bench-deps: {} maintainer: winstonhartnet...
16ff2125411d795ebdf9859f8e62ba7c9fcaec62
packages/go/godot-megaparsec.yaml
packages/go/godot-megaparsec.yaml
YAML
<|file_sep|>.travis.yml.diff original: updated: - 2.7 <|file_sep|>original/.travis.yml before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/htacg/tidy-html5/releases/download/5.4.0/tidy-5.4.0-64bit.deb; sudo apt-get remove '^libtidy.*'; sudo dpkg -i tidy-5.4.0-64bit.deb; fi - ge...
before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/htacg/tidy-html5/releases/download/5.4.0/tidy-5.4.0-64bit.deb; sudo apt-get remove '^libtidy.*'; sudo dpkg -i tidy-5.4.0-64bit.deb; fi - gem install bundler -v '<2' rvm: - 2.3.8 - 2.4.5 - 2.5.3 - 2.6 - 2.7 - rbx-3 -...
<|file_sep|>.travis.yml.diff original: updated: - 2.7 <|file_sep|>original/.travis.yml before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/htacg/tidy-html5/releases/download/5.4.0/tidy-5.4.0-64bit.deb; sudo apt-get remove '^libtidy.*'; sudo dpkg -i tidy-5.4.0-64bit.deb; fi - ge...
d8fe05beac18cef3afd47e15962e9fe1c4b66aa3
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main/java/org/aac/average/java/impl/Average.java.diff original: Function<Integer> average; updated: Function<ConcreteInteger> averageTwoIntegers; <|file_sep|>original/src/main/java/org/aac/average/java/impl/Average.java package org.aac.average.java.impl; import org.aac.average.java.impl...
package org.aac.average.java.impl; import org.aac.average.java.impl.function.Function; import org.aac.average.java.impl.function.FunctionParameter; import org.aac.average.java.impl.datatypes.ConcreteInteger; public class Average { public static void main(String[] args) { Function<ConcreteInteger> averageT...
<|file_sep|>src/main/java/org/aac/average/java/impl/Average.java.diff original: Function<Integer> average; updated: Function<ConcreteInteger> averageTwoIntegers; <|file_sep|>original/src/main/java/org/aac/average/java/impl/Average.java package org.aac.average.java.impl; import org.aac.average.java.impl...
8e2b68990cb7e875804a922f31cd0b4cfa4220ae
src/main/java/org/aac/average/java/impl/Average.java
src/main/java/org/aac/average/java/impl/Average.java
Java
<|file_sep|>README.md.diff original: streamer ======== updated: Stream raw PCM from a Windows recording device to a Linux machine over a TCP/IP socket. <|file_sep|>original/README.md streamer ======== Stream raw PCM from a Windows recording device to a Linux machine over a TCP/IP socket. <|file_sep|>current/README.md ...
Stream raw PCM from a Windows recording device to a Linux machine over a TCP/IP socket. Windows side ============ Compile Streamer using Visual C++ and install as a service by doing ``` sc create "Network Sound Streamer" binpath= "<your install directory>\Streamer.exe /D <name of device> /H <host> /P <port>" ``` or r...
<|file_sep|>README.md.diff original: streamer ======== updated: Stream raw PCM from a Windows recording device to a Linux machine over a TCP/IP socket. <|file_sep|>original/README.md streamer ======== Stream raw PCM from a Windows recording device to a Linux machine over a TCP/IP socket. <|file_sep|>current/README.md ...
704c1cf947d6d8ea580dc0dc2df1ee47995b32ef
README.md
README.md
Markdown
<|file_sep|>original/docs/typedoc/typedoc.js // Base TypeDoc Configuration module.exports = (moduleName) => ({ out: '../../docs/dist/api/' + moduleName, readme: 'none', includes: '../', exclude: '**/{__tests__,__test_utils__,__fixtures__,testsuite}/**/*', theme: '../../docs/typedoc/theme/', g...
// Base TypeDoc Configuration module.exports = (moduleName) => ({ out: '../../docs/dist/api/' + moduleName, readme: 'none', includes: '../', exclude: [ '**/__tests__/**/*', '**/__test_utils__/**/*', '**/__fixtures__/**/*', '**/testsuite/**/*' ], theme: '../../do...
<|file_sep|>original/docs/typedoc/typedoc.js // Base TypeDoc Configuration module.exports = (moduleName) => ({ out: '../../docs/dist/api/' + moduleName, readme: 'none', includes: '../', exclude: '**/{__tests__,__test_utils__,__fixtures__,testsuite}/**/*', theme: '../../docs/typedoc/theme/', g...
125eadc7197b96193d2668f66857d2bc121e1ec7
docs/typedoc/typedoc.js
docs/typedoc/typedoc.js
JavaScript
<|file_sep|>original/_posts/2015-01-12-first-post-on-rebooted-blog.md <|file_sep|>current/_posts/2015-01-12-first-post-on-rebooted-blog.md <|file_sep|>updated/_posts/2015-01-12-first-post-on-rebooted-blog.md
--- published: false --- ## A First Post I've recreated this blog by forking from the [JekyllNow](https://github.com/barryclark/www.jekyllnow.com) repo. I also authorized [Prose.io](http://prose.io/#about) so I can use a nice interface to create posts in the repo and ultimately pusblish to the blog. Very simple ste...
<|file_sep|>original/_posts/2015-01-12-first-post-on-rebooted-blog.md <|file_sep|>current/_posts/2015-01-12-first-post-on-rebooted-blog.md <|file_sep|>updated/_posts/2015-01-12-first-post-on-rebooted-blog.md --- published: false --- ## A First Post I've recreated this blog by forking from the [JekyllNow](https://gi...
e02fa727a6081722ab65898685cdcb46bca55f35
_posts/2015-01-12-first-post-on-rebooted-blog.md
_posts/2015-01-12-first-post-on-rebooted-blog.md
Markdown
<|file_sep|>original/lib/yml_reader.rb @yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_directory if @yml_directory return default_directory if self.respond_to? :default_directory nil end # # Loads the requested ...
@yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_directory if @yml_directory return default_directory if self.respond_to? :default_directory nil end # # Loads the requested file. It will look for the file in the...
<|file_sep|>original/lib/yml_reader.rb @yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_directory if @yml_directory return default_directory if self.respond_to? :default_directory nil end # # Loads the requested ...
fce63e693215740348218a311770ded02eade181
lib/yml_reader.rb
lib/yml_reader.rb
Ruby
<|file_sep|>original/.forestry/settings.yml - type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" instant_preview: true build: preview_env: - JEKYL...
- type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" instant_preview: true build: preview_env: - JEKYLL_ENV=staging preview_output_directory: "/...
<|file_sep|>original/.forestry/settings.yml - type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" instant_preview: true build: preview_env: - JEKYL...
e295c85c836671fb99752133b77465e66768e9ce
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>handler.go.diff original: updated: <|file_sep|>original/handler.go t, err := template.New("index").Funcs(funcs).Parse(string(src)) if err != nil { return nil, err } return &handler{ logger: logger, template: t, }, nil } func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { ...
if err != nil { return nil, err } return &handler{ logger: logger, template: t, }, nil } func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { log := h.logger.Session("index") err := h.template.Execute(w, templateData{}) if err != nil { log.Fatal("failed-to-build-template", err, lag...
<|file_sep|>handler.go.diff original: updated: <|file_sep|>original/handler.go t, err := template.New("index").Funcs(funcs).Parse(string(src)) if err != nil { return nil, err } return &handler{ logger: logger, template: t, }, nil } func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { ...
0e7b07fc83f74da826bb29c5dc5442e2b4f8b8a0
handler.go
handler.go
Go
<|file_sep|>original/.travis.yml os: - linux - osx language: go go: - 1.9.x install: - make deps-protocol-muxing script: - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) cache: directories: - $GOPATH/src/gx notifications: email: f...
os: - linux - osx sudo: false language: go go: - 1.9.x install: - make deps-protocol-muxing script: - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) cache: directories: - $GOPATH/src/gx
<|file_sep|>original/.travis.yml os: - linux - osx language: go go: - 1.9.x install: - make deps-protocol-muxing script: - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) cache: directories: - $GOPATH/src/gx notifications: email: f...
c81d1385332f0329eb83c2340b147e22aae87415
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - 1.8.7 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode gemfile: - gemfiles/rails3.1.gemfile - gemfiles/rails3.2.gemfile - gemfiles/rails4.0.gemfile notifications: email: false campfire: on_success: change on_...
language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - jruby-19mode gemfile: - gemfiles/rails3.1.gemfile - gemfiles/rails3.2.gemfile - gemfiles/rails4.0.gemfile matrix: exclude: - rvm: 1.8.7 gemfile: gemfiles/rails4.0.gemfile notifications: email: false campfire: on_success: change on_failu...
<|file_sep|>.travis.yml.diff original: updated: - 1.8.7 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode gemfile: - gemfiles/rails3.1.gemfile - gemfiles/rails3.2.gemfile - gemfiles/rails4.0.gemfile notifications: email: false campfire: on_success: change on_...
eb835d3099ddefeb5aab903b83748ccca8d8eeb5
.travis.yml
.travis.yml
YAML
<|file_sep|>roles/ceph-rgw/tasks/docker/main.yml.diff original: updated: - include: dirs_permissions.yml # NOTE (jimcurtis): dirs_permissions.yml must precede fetch_configs.yml # because it creates the directories needed by the latter. <|file_sep|>original/roles/ceph-rgw/tasks/docker/main.yml --- - name: check if a cl...
--- - name: check if a cluster is already running shell: "docker ps | grep -sq 'ceph/daemon'" register: ceph_health changed_when: false failed_when: false - include: checks.yml when: ceph_health.rc != 0 - include: pre_requisite.yml - include: dirs_permissions.yml # NOTE (jimcurtis): dirs_permissions.yml mus...
<|file_sep|>roles/ceph-rgw/tasks/docker/main.yml.diff original: updated: - include: dirs_permissions.yml # NOTE (jimcurtis): dirs_permissions.yml must precede fetch_configs.yml # because it creates the directories needed by the latter. <|file_sep|>original/roles/ceph-rgw/tasks/docker/main.yml --- - name: check if a cl...
19d8e0c1ced57141a01b6e975e80d7536da53b21
roles/ceph-rgw/tasks/docker/main.yml
roles/ceph-rgw/tasks/docker/main.yml
YAML
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-memcheck.txt # Similar list in ../purify/net_unittests.exe.gtest.txt # TODO(dkegel): either merge the two files or keep them in sync, # see http://code.google.com/p/chromium/issues/detail?id=8951 DiskCacheBackendTest.AppCacheInvalidEntry DiskCacheBac...
DiskCacheBackendTest.AppCacheInvalidEntryRead DiskCacheBackendTest.AppCacheInvalidEntryWithLoad DiskCacheBackendTest.InvalidEntry DiskCacheBackendTest.InvalidEntryRead DiskCacheBackendTest.InvalidEntryWithLoad DiskCacheBackendTest.TrimInvalidEntry DiskCacheBackendTest.TrimInvalidEntry2 DiskCacheBackendTest.InvalidEntry...
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-memcheck.txt # Similar list in ../purify/net_unittests.exe.gtest.txt # TODO(dkegel): either merge the two files or keep them in sync, # see http://code.google.com/p/chromium/issues/detail?id=8951 DiskCacheBackendTest.AppCacheInvalidEntry DiskCacheBac...
2c6b1255df78281bdee896750ff96d3b86694b28
tools/valgrind/gtest_exclude/net_unittests.gtest-memcheck.txt
tools/valgrind/gtest_exclude/net_unittests.gtest-memcheck.txt
Text
<|file_sep|>original/SUPSemVer.podspec Pod::Spec.new do |s| s.name = "SUPSemVer" s.version = "1.0.2" s.summary = "Easy-to-use Semantic Version comparison framework" s.description = <<-DESC # SUPSemVer An easy to use framework for comparing semantic versi...
Pod::Spec.new do |s| s.name = "SUPSemVer" s.version = "1.0.3" s.summary = "Easy-to-use Semantic Version comparison framework" s.description = <<-DESC # SUPSemVer An easy to use framework for comparing semantic versions. DESC s.home...
<|file_sep|>original/SUPSemVer.podspec Pod::Spec.new do |s| s.name = "SUPSemVer" s.version = "1.0.2" s.summary = "Easy-to-use Semantic Version comparison framework" s.description = <<-DESC # SUPSemVer An easy to use framework for comparing semantic versi...
dbae09b52b99b4baf8a64cbf280238546516888d
SUPSemVer.podspec
SUPSemVer.podspec
Ruby
<|file_sep|>bootzooka-backend/src/test/scala/com/softwaremill/bootzooka/test/FlatSpecWithSql.scala.diff original: updated: import org.scalatest.concurrent.ScalaFutures <|file_sep|>bootzooka-backend/src/test/scala/com/softwaremill/bootzooka/test/FlatSpecWithSql.scala.diff original: trait FlatSpecWithSql extends FlatSpe...
def clearData() { dropAll() createAll() } override protected def afterAll() { super.afterAll() dropAll() sqlDatabase.close() } private def dropAll() { import sqlDatabase.driver.api._ sqlDatabase.db.run(sqlu"DROP ALL OBJECTS").futureValue } private def createAll() { sqlD...
<|file_sep|>bootzooka-backend/src/test/scala/com/softwaremill/bootzooka/test/FlatSpecWithSql.scala.diff original: updated: import org.scalatest.concurrent.ScalaFutures <|file_sep|>bootzooka-backend/src/test/scala/com/softwaremill/bootzooka/test/FlatSpecWithSql.scala.diff original: trait FlatSpecWithSql extends FlatSpe...
063ad4845852da4903388c7f4add0f2eeffd1912
bootzooka-backend/src/test/scala/com/softwaremill/bootzooka/test/FlatSpecWithSql.scala
bootzooka-backend/src/test/scala/com/softwaremill/bootzooka/test/FlatSpecWithSql.scala
Scala
<|file_sep|>original/src/cats/WikiWiki.java package cats; import java.awt.*; import javax.swing.*; public class WikiWiki extends JApplet{ /** * */ private static final long serialVersionUID = 1L; public void paint(Graphics g) { super.paint(g); g.drawString("I AM SIR STRING, THE NOBLE!",25,25); g.drawSt...
package cats; import java.awt.*; import javax.swing.*; public class WikiWiki extends JApplet{ /** * */ private static final long serialVersionUID = 1L; public void paint(Graphics g) { super.paint(g); g.drawString("I AM SIR STRING, THE NOBLE!",25,25); g.drawString("Hey, Man!",25,35); g.drawString("The...
<|file_sep|>original/src/cats/WikiWiki.java package cats; import java.awt.*; import javax.swing.*; public class WikiWiki extends JApplet{ /** * */ private static final long serialVersionUID = 1L; public void paint(Graphics g) { super.paint(g); g.drawString("I AM SIR STRING, THE NOBLE!",25,25); g.drawSt...
fb59b9568115c5c8b4553d2487961cd376322401
src/cats/WikiWiki.java
src/cats/WikiWiki.java
Java
<|file_sep|>original/update_galaxy_utils.sh <|file_sep|>current/update_galaxy_utils.sh <|file_sep|>updated/update_galaxy_utils.sh
#!/bin/bash ## ./update_galaxy_client.sh /path/to/galaxy if [ $# -lt 1 ]; then echo "Usage: $0 /path/to/galaxy" exit 1 fi LWR_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" GALAXY_DIRECTORY=$1 GALAXY_RUNNERS_DIRECTORY=$GALAXY_DIRECTORY/lib/galaxy/jobs/runners rm -rf $GALAXY_RUNNERS_DIRECTORY/ut...
<|file_sep|>original/update_galaxy_utils.sh <|file_sep|>current/update_galaxy_utils.sh <|file_sep|>updated/update_galaxy_utils.sh #!/bin/bash ## ./update_galaxy_client.sh /path/to/galaxy if [ $# -lt 1 ]; then echo "Usage: $0 /path/to/galaxy" exit 1 fi LWR_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &...
a760b13977b8e5a0907d3ab19962d80aca9b7e13
update_galaxy_utils.sh
update_galaxy_utils.sh
Shell
<|file_sep|>original/.travis.yml before_install: - "echo 'gem: --no-document' > ~/.gemrc" - gem update --system - gem install bundler # Necessary to fix 1.9.3 env: global: matrix: - CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset - CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=s...
- gem install bundler # Necessary to fix 1.9.3 env: global: matrix: - CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset - CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=should-be-unset matrix: allow_failures: - rvm: rbx-3 - rvm: jruby-9.1.9.0 - rvm: ruby-head - env: ...
<|file_sep|>original/.travis.yml before_install: - "echo 'gem: --no-document' > ~/.gemrc" - gem update --system - gem install bundler # Necessary to fix 1.9.3 env: global: matrix: - CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset - CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=s...
ba46099f276fe8173229f4c856c6436d6314af27
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main/ed/security/Security.java.diff original: final static boolean TEST_BYPASS = Boolean.getBoolean("ed.js.engine.SECURITY_BYPASS"); updated: <|file_sep|>src/main/ed/security/Security.java.diff original: if (TEST_BYPASS && _isTestFrameworkHack()) { return true; } updat...
for ( int i=0; i<SECURE.length; i++ ) if ( topjs.startsWith( SECURE[i] ) ) return true; return false; } public static String getTopJS(){ StackTraceElement[] st = Thread.currentThread().getStackTrace(); for ( int i=0; i<st.l...
<|file_sep|>src/main/ed/security/Security.java.diff original: final static boolean TEST_BYPASS = Boolean.getBoolean("ed.js.engine.SECURITY_BYPASS"); updated: <|file_sep|>src/main/ed/security/Security.java.diff original: if (TEST_BYPASS && _isTestFrameworkHack()) { return true; } updat...
fe35c1c3aed03cfd5332c78dd38423a726c71d93
src/main/ed/security/Security.java
src/main/ed/security/Security.java
Java
<|file_sep|>original/bower.json { "name": "ember-impagination", "dependencies": { "ember": "1.13.7", "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", "ember-cli-test-loader": "ember-cli/ember-cli-test-loader#0.1.3", "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5", "embe...
{ "name": "ember-impagination", "dependencies": { "ember": "1.13.7", "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", "ember-cli-test-loader": "ember-cli/ember-cli-test-loader#0.1.3", "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5", "ember-resolver": "~0.1.18", "jqu...
<|file_sep|>original/bower.json { "name": "ember-impagination", "dependencies": { "ember": "1.13.7", "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", "ember-cli-test-loader": "ember-cli/ember-cli-test-loader#0.1.3", "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5", "embe...
8e689d2e4fccad2054eed31d98654fdc26b597a4
bower.json
bower.json
JSON
<|file_sep|>original/cmd/designer/finalprj-p0.toml <|file_sep|>current/cmd/designer/finalprj-p0.toml <|file_sep|>updated/cmd/designer/finalprj-p0.toml
[general] fileprefix = "prj0" verbose = true step = "24h" flybyplanets = "Venus Mars Earth" [launch] planet = "Earth" from = "2020-01-01 00:00:00" until = "2026-01-01 00:00:00" maxC3 = 35 [arrival] planet = "Earth" until = "2035-01-01 00:00:00" maxVinf = 50 [flyby.Venus] position = 1 deltaV = 1.0 periapsis = 1.01
<|file_sep|>original/cmd/designer/finalprj-p0.toml <|file_sep|>current/cmd/designer/finalprj-p0.toml <|file_sep|>updated/cmd/designer/finalprj-p0.toml [general] fileprefix = "prj0" verbose = true step = "24h" flybyplanets = "Venus Mars Earth" [launch] planet = "Earth" from = "2020-01-01 00:00:00" until = "2026-01-01...
99e114646a1e3511f80395cb17cb87c2cb524342
cmd/designer/finalprj-p0.toml
cmd/designer/finalprj-p0.toml
TOML
<|file_sep|>original/composer.json "name": "Riari", "email": "hello@ricko.me" }, { "name": "NeeHi", "email": "nick.snape@hotmail.com" } ], "require": { "php": ">=5.4.0" }, "autoload": { "classmap": [ "src...
"license": "MIT", "authors": [ { "name": "Riari", "email": "hello@ricko.me" }, { "name": "NeeHi", "email": "nick.snape@hotmail.com" } ], "require": { "php": ">=5.4.0" }, "autoload": { "psr-0": { ...
<|file_sep|>original/composer.json "name": "Riari", "email": "hello@ricko.me" }, { "name": "NeeHi", "email": "nick.snape@hotmail.com" } ], "require": { "php": ">=5.4.0" }, "autoload": { "classmap": [ "src...
6427ac9c3831313712cb960986609ba53ef1fc03
composer.json
composer.json
JSON
<|file_sep|>lib/pacer/exceptions.rb.diff original: class ElementNotFound < StandardError end updated: class Error < StandardError; end class UserError < Error; end class ElementNotFound < UserError; end class ElementExists < UserError; end <|file_sep|>lib/pacer/exceptions.rb.diff original: class...
module Pacer class Error < StandardError; end class UserError < Error; end class ElementNotFound < UserError; end class ElementExists < UserError; end class LogicError < Error; end class ClientError < LogicError; end class ArgumentError < ClientError; end class TransactionC...
<|file_sep|>lib/pacer/exceptions.rb.diff original: class ElementNotFound < StandardError end updated: class Error < StandardError; end class UserError < Error; end class ElementNotFound < UserError; end class ElementExists < UserError; end <|file_sep|>lib/pacer/exceptions.rb.diff original: class...
61cc001d3c6a062622b34d9842980e68ba59d4c4
lib/pacer/exceptions.rb
lib/pacer/exceptions.rb
Ruby
<|file_sep|>original/tests/suite/kube_config_utils.py :return: str """ with open(kube_config) as conf: dep = yaml.load(conf) return dep['current-context'] def ensure_context_in_config(kube_config, context_name) -> None: """ Verify that kubeconfig contains specific context and fail ...
:return: str """ with open(kube_config) as conf: dep = yaml.load(conf) return dep['current-context'] def ensure_context_in_config(kube_config, context_name) -> None: """ Verify that kubeconfig contains specific context and fail if it doesn't. :param kube_config: absolute path ...
<|file_sep|>original/tests/suite/kube_config_utils.py :return: str """ with open(kube_config) as conf: dep = yaml.load(conf) return dep['current-context'] def ensure_context_in_config(kube_config, context_name) -> None: """ Verify that kubeconfig contains specific context and fail ...
4c3a21a73dbdf47d5cac04bfda20df7f85596b22
tests/suite/kube_config_utils.py
tests/suite/kube_config_utils.py
Python
<|file_sep|>original/requirements-dev.txt ipdb==0.10.1 pytest==3.0.3 pytest-cov==2.3.1 coverage==4.2 flake8==3.0.4 -e . aiohttp-jinja2==0.8.0 aiohttp-mako==0.0.1 docutils==0.12 pygments==2.1.3 <|file_sep|>current/requirements-dev.txt ipdb==0.10.1 pytest==3.0.3 pytest-cov==2.3.1 coverage==4.2 flake8==3.0.4 -e . aiohttp-...
ipdb==0.10.1 pytest==3.0.3 pytest-cov==2.4.0 coverage==4.2 flake8==3.0.4 -e . aiohttp-jinja2==0.8.0 aiohttp-mako==0.0.1 docutils==0.12 pygments==2.1.3
<|file_sep|>original/requirements-dev.txt ipdb==0.10.1 pytest==3.0.3 pytest-cov==2.3.1 coverage==4.2 flake8==3.0.4 -e . aiohttp-jinja2==0.8.0 aiohttp-mako==0.0.1 docutils==0.12 pygments==2.1.3 <|file_sep|>current/requirements-dev.txt ipdb==0.10.1 pytest==3.0.3 pytest-cov==2.3.1 coverage==4.2 flake8==3.0.4 -e . aiohttp-...
1dddfea445c40f52f4db971a2699c802691f470b
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/README.rdoc <|file_sep|>current/README.rdoc <|file_sep|>updated/README.rdoc
= getopt4j The "getopt4j" is designed to parse the command line options in the same manner as the C getopt() function in glibc (the GNU C runtime library). It attempts to do this in a simpler, more Java-centric manner than the original product. The best way to understand how the library works is to dive into the exam...
<|file_sep|>original/README.rdoc <|file_sep|>current/README.rdoc <|file_sep|>updated/README.rdoc = getopt4j The "getopt4j" is designed to parse the command line options in the same manner as the C getopt() function in glibc (the GNU C runtime library). It attempts to do this in a simpler, more Java-centric manner th...
d855364d235324c71901911351468d1f1fa6f356
README.rdoc
README.rdoc
RDoc
<|file_sep|>original/db/migration/20130108000008_create_tags.rb # frozen_string_literal: true class CreateTags < ActiveRecord::Migration[4.2] def change unless table_exists?(:tags) create_table :tags do |t| t.string :name, null: false t.timestamps end end unless table_exists...
class CreateTags < ActiveRecord::Migration[4.2] def change unless table_exists?(:tags) create_table :tags do |t| t.string :name, null: false t.timestamps end end if table_exists?(:taggings) change_table :taggings do |t| t.remove :tag_context end else ...
<|file_sep|>original/db/migration/20130108000008_create_tags.rb # frozen_string_literal: true class CreateTags < ActiveRecord::Migration[4.2] def change unless table_exists?(:tags) create_table :tags do |t| t.string :name, null: false t.timestamps end end unless table_exists...
43acffb01babb69cf62315f5bfb8cb3a8cebc9ba
db/migration/20130108000008_create_tags.rb
db/migration/20130108000008_create_tags.rb
Ruby
<|file_sep|>original/roles/general/tasks/main.yml - name: apt-get udpate upgrade apt: update_cache=yes upgrade=safe tags: [update, upgrade] - include: basic_packages.yml - include: swapfile.yml <|file_sep|>current/roles/general/tasks/main.yml - name: apt-get udpate upgrade apt: update_cache=yes upgrade=safe ...
- name: apt-get update upgrade apt: update_cache=yes upgrade=safe tags: [update, upgrade] - include: basic_packages.yml - include: swapfile.yml
<|file_sep|>original/roles/general/tasks/main.yml - name: apt-get udpate upgrade apt: update_cache=yes upgrade=safe tags: [update, upgrade] - include: basic_packages.yml - include: swapfile.yml <|file_sep|>current/roles/general/tasks/main.yml - name: apt-get udpate upgrade apt: update_cache=yes upgrade=safe ...
d03ebf48c930233edf37db8ac7cb8f7066f8de3b
roles/general/tasks/main.yml
roles/general/tasks/main.yml
YAML
<|file_sep|>original/RoboFile.php <?php define('NET_SSH2_LOGGING', \phpseclib\Net\SSH2::LOG_COMPLEX); use DigipolisGent\Robo\Laravel\RoboFileBase; class RoboFile extends RoboFileBase { } <|file_sep|>current/RoboFile.php <?php define('NET_SSH2_LOGGING', \phpseclib\Net\SSH2::LOG_COMPLEX); use DigipolisGent\Robo\Lar...
<?php define('NET_SSH2_LOGGING', \phpseclib\Net\SSH2::LOG_COMPLEX); use DigipolisGent\Robo\Laravel\RoboFileBase; class RoboFile extends RoboFileBase { /** * TODO: remove this method once the gulp task is fixed. */ protected function buildTask($archivename = null) { $archive = is_null($a...
<|file_sep|>original/RoboFile.php <?php define('NET_SSH2_LOGGING', \phpseclib\Net\SSH2::LOG_COMPLEX); use DigipolisGent\Robo\Laravel\RoboFileBase; class RoboFile extends RoboFileBase { } <|file_sep|>current/RoboFile.php <?php define('NET_SSH2_LOGGING', \phpseclib\Net\SSH2::LOG_COMPLEX); use DigipolisGent\Robo\Lar...
fb118fddb3960ff07df796c736d4cce962843566
RoboFile.php
RoboFile.php
PHP
<|file_sep|>original/nodejs/views/partials/_share_links.jade #share_links .pad | Share: <a id='twitter-share' class='ico tw' href="http://twitter.com/share?text=I'm chatting right now on Wompt. Come join me!&via=WomptChat&related=abtinf:Co-Founder of Wompt"></a> <a id='fb-share' class='ico fb' href='#'></a> <|...
#share_links .pad | Share: <a id='twitter-share' class='ico tw' href="http://twitter.com/share?text=I'm chatting right now on Wompt. Come join me!&via=WomptChat&related=abtinf:Co-Founder of Wompt"></a> <a id='fb-share' class='ico fa' href='#'></a>
<|file_sep|>original/nodejs/views/partials/_share_links.jade #share_links .pad | Share: <a id='twitter-share' class='ico tw' href="http://twitter.com/share?text=I'm chatting right now on Wompt. Come join me!&via=WomptChat&related=abtinf:Co-Founder of Wompt"></a> <a id='fb-share' class='ico fb' href='#'></a> <|...
d61c605e47b4eda091d9df302465cc002d3c8fff
nodejs/views/partials/_share_links.jade
nodejs/views/partials/_share_links.jade
Jade
<|file_sep|>examples/qm7_long.py.diff original: import numpy updated: <|file_sep|>examples/qm7_long.py.diff original: from molml.features import EncodedBond, Connectivity updated: from molml.features import EncodedBond, Connectivity, MultiFeature <|file_sep|>examples/qm7_long.py.diff original: train_feats = [] ...
if __name__ == "__main__": # This is just boiler plate code to load the data Xin_train, Xin_test, y_train, y_test = load_qm7() feats = [ EncodedBond(n_jobs=-1, max_depth=3), Connectivity(depth=1, n_jobs=-1), Connectivity(depth=3, use_coordination=True, n_jobs=-1), ] full_fe...
<|file_sep|>examples/qm7_long.py.diff original: import numpy updated: <|file_sep|>examples/qm7_long.py.diff original: from molml.features import EncodedBond, Connectivity updated: from molml.features import EncodedBond, Connectivity, MultiFeature <|file_sep|>examples/qm7_long.py.diff original: train_feats = [] ...
c58b2dd49ad5c73d49b496025d13116da30b3b9a
examples/qm7_long.py
examples/qm7_long.py
Python
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: pip install tox-travis script: tox notifications: email: false <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: pi...
sudo: false language: python python: - "3.4" - "3.5" - "3.6" install: pip install tox-travis script: tox notifications: email: false
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: pip install tox-travis script: tox notifications: email: false <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: pi...
208083eb0f6a6d7880c2b7122a711838d508a39d
.travis.yml
.travis.yml
YAML
<|file_sep|>setup.py.diff original: updated: "forklift", <|file_sep|>original/setup.py from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "PyYAML", "redis", "slumber", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, ...
from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "forklift", "PyYAML", "redis", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, description="Warehouse and PyPI Synchronization", long_description=open("README.rst")...
<|file_sep|>setup.py.diff original: updated: "forklift", <|file_sep|>original/setup.py from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "PyYAML", "redis", "slumber", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, ...
0286126ef0f7876c3ae58a081d48964e49b3a093
setup.py
setup.py
Python
<|file_sep|>original/sample-goyal-config.json <|file_sep|>current/sample-goyal-config.json <|file_sep|>updated/sample-goyal-config.json
{ "Nick": "goyal", "Username": "GoYal", "Server": "irc.freenode.net:6697", "Channels": [], "LogDir": "/tmp" }
<|file_sep|>original/sample-goyal-config.json <|file_sep|>current/sample-goyal-config.json <|file_sep|>updated/sample-goyal-config.json { "Nick": "goyal", "Username": "GoYal", "Server": "irc.freenode.net:6697", "Channels": [], "LogDir": "/tmp" }
cd0ddd63c3877d5088a5dfa72c2645072e08b909
sample-goyal-config.json
sample-goyal-config.json
JSON
<|file_sep|>original/test/integration/edition_link_check_test.rb <|file_sep|>current/test/integration/edition_link_check_test.rb <|file_sep|>updated/test/integration/edition_link_check_test.rb
require "integration_test_helper" require "gds_api/test_helpers/link_checker_api" class EditionLinkCheckTest < JavascriptIntegrationTest include GdsApi::TestHelpers::LinkCheckerApi setup do setup_users stub_linkables stub_holidays_used_by_fact_check @stubbed_api_request = link_checker_api_create...
<|file_sep|>original/test/integration/edition_link_check_test.rb <|file_sep|>current/test/integration/edition_link_check_test.rb <|file_sep|>updated/test/integration/edition_link_check_test.rb require "integration_test_helper" require "gds_api/test_helpers/link_checker_api" class EditionLinkCheckTest < JavascriptIn...
f4abcbb06addd3b7cfd6ef82eeee1d6f64ee238e
test/integration/edition_link_check_test.rb
test/integration/edition_link_check_test.rb
Ruby
<|file_sep|>original/mendel/angular/src/app/components/category-filter-bar/category-filter-bar.html <div id="am-category-filter-bar" class="show-for-medium"> <div class="row collapse"> <div id="inputWrapper" class="small-12 columns"> <!-- Category Filter Input --> <input ng-model="categoryFilterBar.in...
<div id="am-category-filter-bar" class="show-for-medium"> <div class="row collapse"> <div id="inputWrapper" class="small-12 columns"> <!-- Category Filter Input (Class "mousetrap" tells hotkeys directive to allow hotkey input on this ) --> <input class="mousetrap" ng-model="categoryFilterBar.input" ng...
<|file_sep|>original/mendel/angular/src/app/components/category-filter-bar/category-filter-bar.html <div id="am-category-filter-bar" class="show-for-medium"> <div class="row collapse"> <div id="inputWrapper" class="small-12 columns"> <!-- Category Filter Input --> <input ng-model="categoryFilterBar.in...
c8cd27b615ad9f8b3e4a03d1c1b4a6d2951a9f37
mendel/angular/src/app/components/category-filter-bar/category-filter-bar.html
mendel/angular/src/app/components/category-filter-bar/category-filter-bar.html
HTML
<|file_sep|>original/scripts/cli/start_cli_testnet.sh { echo "Build client binary and connect to testnet." echo "\`$0 -r|--release\` to use release build or" echo "\`$0\` to use debug build." } source "$HOME/.cargo/env" SCRIPT_PATH="$(dirname $0)" RUN_PARAMS="--host ac.testnet.libra.org --port 8080 " REL...
{ echo "Build client binary and connect to testnet." echo "\`$0 -r|--release\` to use release build or" echo "\`$0\` to use debug build." } source "$HOME/.cargo/env" SCRIPT_PATH="$(dirname $0)" RUN_PARAMS="--host client.testnet.libra.org --port 80 " RELEASE="" while [[ ! -z "$1" ]]; do case "$1" in -...
<|file_sep|>original/scripts/cli/start_cli_testnet.sh { echo "Build client binary and connect to testnet." echo "\`$0 -r|--release\` to use release build or" echo "\`$0\` to use debug build." } source "$HOME/.cargo/env" SCRIPT_PATH="$(dirname $0)" RUN_PARAMS="--host ac.testnet.libra.org --port 8080 " REL...
d065e326d5c9f4f1a65dfe1699448cf7191ca5b5
scripts/cli/start_cli_testnet.sh
scripts/cli/start_cli_testnet.sh
Shell
<|file_sep|>features/morning_responder.rb.diff original: return true if msg == 'Good morning!' updated: return true if msg =~ /^(goo+d)*.{0,1}mo+rning.*/i return true if msg == 'Góðan daginn!' <|file_sep|>original/features/morning_responder.rb class MorningResponder class << self def responds_to...
class MorningResponder class << self def responds_to?(msg) return true if msg =~ /^(goo+d)*.{0,1}mo+rning.*/i return true if msg == 'Góðan daginn!' false end def random_morning_greeting [ 'Hello!', 'Hi!', 'Good morning!', 'Well hi there!' ].sa...
<|file_sep|>features/morning_responder.rb.diff original: return true if msg == 'Good morning!' updated: return true if msg =~ /^(goo+d)*.{0,1}mo+rning.*/i return true if msg == 'Góðan daginn!' <|file_sep|>original/features/morning_responder.rb class MorningResponder class << self def responds_to...
7f08b5f8c2a7690f02008eb929848437db0273c3
features/morning_responder.rb
features/morning_responder.rb
Ruby
<|file_sep|>app/views/housing_forms/index.html.erb.diff original: updated: <!--<h1>Housing Locations</h1>--> <|file_sep|>original/app/views/housing_forms/index.html.erb <h1>Housing Locations</h1> <h1><small><%= @applicant %> can apply to live at these places</small></h1> <%= render 'location_table', locations: @housi...
<!--<h1>Housing Locations</h1>--> <h1>Housing Locations</h1> <%= render 'location_table', locations: @housing_forms_available %> <h2>Housing locations with no PDF yet</h2> <p>Have a PDF for one of these places? Click "Edit/Replace" to upload it!</p> <%= render 'location_table', locations: @housing_forms_unavailable ...
<|file_sep|>app/views/housing_forms/index.html.erb.diff original: updated: <!--<h1>Housing Locations</h1>--> <|file_sep|>original/app/views/housing_forms/index.html.erb <h1>Housing Locations</h1> <h1><small><%= @applicant %> can apply to live at these places</small></h1> <%= render 'location_table', locations: @housi...
6b2d03048afdb9d6f878569a42847f2793be275e
app/views/housing_forms/index.html.erb
app/views/housing_forms/index.html.erb
HTML+ERB
<|file_sep|>original/src/Test/Html/Config/Footnote.ts <|file_sep|>current/src/Test/Html/Config/Footnote.ts <|file_sep|>updated/src/Test/Html/Config/Footnote.ts
import { expect } from 'chai' import { Up } from '../../../index' import { FootnoteNode } from '../../../SyntaxNodes/FootnoteNode' import { FootnoteBlockNode } from '../../../SyntaxNodes/FootnoteBlockNode'
<|file_sep|>original/src/Test/Html/Config/Footnote.ts <|file_sep|>current/src/Test/Html/Config/Footnote.ts <|file_sep|>updated/src/Test/Html/Config/Footnote.ts import { expect } from 'chai' import { Up } from '../../../index' import { FootnoteNode } from '../../../SyntaxNodes/FootnoteNode' import { FootnoteBlockNode ...
e2b8a8bb01b2c1b95202e03107db125c89e8332f
src/Test/Html/Config/Footnote.ts
src/Test/Html/Config/Footnote.ts
TypeScript
<|file_sep|>original/composer.json "description": "File and directory management in PHP 5.5+ done right.", "license": "MIT", "require": { "php": ">=5.5.0" }, "require-dev": { "phpunit/phpunit": "~4", "bound1ess/essence": "~1", "mockery/mockery": "~0" }, "au...
"description": "File and directory management in PHP 5.5+ done right.", "license": "MIT", "require": { "php": ">=5.5.0" }, "require-dev": { "phpunit/phpunit": "~4", "bound1ess/essence": "~1", "mikey179/vfsStream": "~1" }, "autoload": { "psr-4": { ...
<|file_sep|>original/composer.json "description": "File and directory management in PHP 5.5+ done right.", "license": "MIT", "require": { "php": ">=5.5.0" }, "require-dev": { "phpunit/phpunit": "~4", "bound1ess/essence": "~1", "mockery/mockery": "~0" }, "au...
c2d78ba05942c5b03d5175e7d3c624ae57fb7bec
composer.json
composer.json
JSON
<|file_sep|>original/README.md # SpoofcheckSelfTest Web application that lets you test if your domain is vulnerable to email spoofing <|file_sep|>current/README.md # SpoofcheckSelfTest Web application that lets you test if your domain is vulnerable to email spoofing <|file_sep|>updated/README.md
# SpoofCheck Self Test Web application that lets you test if your domain is vulnerable to email spoofing. ## NOTE: This application is still in development. # Installation: This application is designed to be used as a service. However, if you want to host this yourself, do the following: git clone https:...
<|file_sep|>original/README.md # SpoofcheckSelfTest Web application that lets you test if your domain is vulnerable to email spoofing <|file_sep|>current/README.md # SpoofcheckSelfTest Web application that lets you test if your domain is vulnerable to email spoofing <|file_sep|>updated/README.md # SpoofCheck Self Test ...
94a717b1e658c70dee63354adc007b6985b6fb2b
README.md
README.md
Markdown
<|file_sep|>original/categories/rosalind/lcsq-grondilu.pl Note: the C<lcsq> shared library needs to be built first. For example, on a Linux system use the following commands: $ gcc --std=c99 -fPIC -c -o lcsq.o lcsq.c $ gcc -shared -o lcsq.so lcsq.o =end pod use NativeCall; sub lcsq(Str $, Str $ --> Str) is...
Note: the C<lcsq> shared library needs to be built first. For example, on a Linux system use the following commands: $ gcc --std=c99 -fPIC -c -o lcsq.o lcsq.c $ gcc -shared -o lcsq.so lcsq.o =end pod use NativeCall; sub lcsq(Str $, Str $ --> Str) is native($*PROGRAM_NAME.IO.dirname ~ '/lcsq') {*} my $def...
<|file_sep|>original/categories/rosalind/lcsq-grondilu.pl Note: the C<lcsq> shared library needs to be built first. For example, on a Linux system use the following commands: $ gcc --std=c99 -fPIC -c -o lcsq.o lcsq.c $ gcc -shared -o lcsq.so lcsq.o =end pod use NativeCall; sub lcsq(Str $, Str $ --> Str) is...
d7eea5192fd5d4728e2864cd5e69946249e9c90d
categories/rosalind/lcsq-grondilu.pl
categories/rosalind/lcsq-grondilu.pl
Perl
<|file_sep|>original/locales/lt/webextension.properties <|file_sep|>current/locales/lt/webextension.properties <|file_sep|>updated/locales/lt/webextension.properties
# The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifier key used in the shortcut (do not translate it): for example, Ctrl-V # on Windows systems. # Error Strings # Onboarding Strings
<|file_sep|>original/locales/lt/webextension.properties <|file_sep|>current/locales/lt/webextension.properties <|file_sep|>updated/locales/lt/webextension.properties # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the...
2e7d4dfd02833d93506400ad789d5b2ef0aeef11
locales/lt/webextension.properties
locales/lt/webextension.properties
INI
<|file_sep|>original/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py2.7-django1.6 - TOX_ENV=flake8 install: - pip install tox script: - tox -e $TOX_ENV <|file_sep|>current/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py2.7-django1.6 - TOX_ENV=flake8 install: - pip install...
language: python python: - "2.7" env: - TOX_ENV=py2.7-django1.6 - TOX_ENV=py3.3-django1.6 - TOX_ENV=flake8 install: - pip install tox script: - tox -e $TOX_ENV
<|file_sep|>original/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py2.7-django1.6 - TOX_ENV=flake8 install: - pip install tox script: - tox -e $TOX_ENV <|file_sep|>current/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py2.7-django1.6 - TOX_ENV=flake8 install: - pip install...
46749cb7cb64b373448a69093dce0205ee7d4f49
.travis.yml
.travis.yml
YAML
<|file_sep|>Example.hs.diff original: updated: {- <|file_sep|>original/Example.hs {- main x = show (x :: Int) -} {- main = show [()] -} {- -- NOTE: Cannot be firstified data Wrap a = Wrap (Wrap a) | Value a f a = Wrap a main = f (Value id) -} {- main = putChar 'x' -} main = read "1" :: Int <|file_sep|>current/Exa...
{- main = show [()] -} {- -- NOTE: Cannot be firstified data Wrap a = Wrap (Wrap a) | Value a f a = Wrap a main = f (Value id) -} {- main = putChar 'x' -} {- main = read "1" :: Int -} import Array main = array (0,0) [(0::Int,0::Int)]
<|file_sep|>Example.hs.diff original: updated: {- <|file_sep|>original/Example.hs {- main x = show (x :: Int) -} {- main = show [()] -} {- -- NOTE: Cannot be firstified data Wrap a = Wrap (Wrap a) | Value a f a = Wrap a main = f (Value id) -} {- main = putChar 'x' -} main = read "1" :: Int <|file_sep|>current/Exa...
cf047c21f8cd782c88e06ccea2bdf7cf8a0cba2b
Example.hs
Example.hs
Haskell
<|file_sep|>original/roles/minio/defaults/main.yml --- # Minio binaries path minio_server_bin: /usr/local/bin/minio minio_client_bin: /usr/local/bin/mc # Runtime user and group for the minio server service minio_user: root minio_group: root # Path to the file containing the ENV variables for the minio server minio_s...
--- # Minio binaries path minio_server_bin: /usr/local/bin/minio minio_client_bin: /usr/local/bin/mc # Runtime user and group for the minio server service minio_user: minio minio_group: users # Path to the file containing the ENV variables for the minio server minio_server_envfile: /etc/default/minio # Minio server...
<|file_sep|>original/roles/minio/defaults/main.yml --- # Minio binaries path minio_server_bin: /usr/local/bin/minio minio_client_bin: /usr/local/bin/mc # Runtime user and group for the minio server service minio_user: root minio_group: root # Path to the file containing the ENV variables for the minio server minio_s...
20cca653cda2ba16d4e0d096df7f63aaf69d867b
roles/minio/defaults/main.yml
roles/minio/defaults/main.yml
YAML
<|file_sep|>bin/set_up_keys.sh.diff original: updated: # scp checkit ling572_00@dryas:.ssh # ssh-copy-id -i checkit.pub ling572_00@dryas <|file_sep|>bin/set_up_keys.sh.diff original: cp -R ~ling572_00/.ssh ~$a ; updated: sudo -u $a mkdir /home/$a/.ssh ; sudo -u $a cp -R /home/ling572_00/authorized_keys /hom...
#!/bin/bash # scp checkit ling572_00@dryas:.ssh # ssh-copy-id -i checkit.pub ling572_00@dryas for a in ling572_01 ling572_02 ling572_03 ling572_04 ling572_05 ling572_06 ling572_07 ling572_08 ling572_09 ; do sudo -u $a mkdir /home/$a/.ssh ; sudo -u $a cp -R /home/ling572_00/authorized_keys /home/$a/.ssh ; done
<|file_sep|>bin/set_up_keys.sh.diff original: updated: # scp checkit ling572_00@dryas:.ssh # ssh-copy-id -i checkit.pub ling572_00@dryas <|file_sep|>bin/set_up_keys.sh.diff original: cp -R ~ling572_00/.ssh ~$a ; updated: sudo -u $a mkdir /home/$a/.ssh ; sudo -u $a cp -R /home/ling572_00/authorized_keys /hom...
c29e6fbdd2738e0e5bb11c97a4eea464ccd2dcdb
bin/set_up_keys.sh
bin/set_up_keys.sh
Shell
<|file_sep|>original/cdap-docs/reference/source/table-of-contents.rst .. :author: Cask Data, Inc. :copyright: Copyright © 2014 Cask Data, Inc. ================================================= CDAP Reference: APIs, Licenses, and Dependencies ================================================= .. toctree:: :maxdep...
================================================= CDAP Reference: APIs, Licenses, and Dependencies ================================================= .. toctree:: :maxdepth: 3 Introduction <index> HTTP RESTful API <http-restful-api/index> Javadocs <javadocs/index> Java Client API <java-client-api> ...
<|file_sep|>original/cdap-docs/reference/source/table-of-contents.rst .. :author: Cask Data, Inc. :copyright: Copyright © 2014 Cask Data, Inc. ================================================= CDAP Reference: APIs, Licenses, and Dependencies ================================================= .. toctree:: :maxdep...
235386055746984cefd29945a6f45da030b11cd2
cdap-docs/reference/source/table-of-contents.rst
cdap-docs/reference/source/table-of-contents.rst
reStructuredText
<|file_sep|>original/cryptography/primitives/block/ciphers.py # implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import, division, print_function class AES(object): name = "AES" block_size = 128 key_sizes = set...
# implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import, division, print_function class AES(object): name = "AES" block_size = 128 key_sizes = frozenset([128, 192, 256]) def __init__(self, key): ...
<|file_sep|>original/cryptography/primitives/block/ciphers.py # implied. # See the License for the specific language governing permissions and # limitations under the License. from __future__ import absolute_import, division, print_function class AES(object): name = "AES" block_size = 128 key_sizes = set...
1e2d1f25cb36db7383e6a2300e2e96d47113cc16
cryptography/primitives/block/ciphers.py
cryptography/primitives/block/ciphers.py
Python
<|file_sep|>README.md.diff original: updated: # oh sweet jesus don't use me i'm very much in a state of development <|file_sep|>original/README.md A new front end for MotherJones ## Getting Started Download the [production version][min] or the [development version][max]. [min]: https://raw.github.com/motherjones...
# smoke A new front end for MotherJones ## Getting Started Download the [production version][min] or the [development version][max]. [min]: https://raw.github.com/motherjones/smoke/master/prod/js/smoke.min.js [max]: https://raw.github.com/motherjones/smoke/master/dev/js/smoke.js In your web page: ```html <scrip...
<|file_sep|>README.md.diff original: updated: # oh sweet jesus don't use me i'm very much in a state of development <|file_sep|>original/README.md A new front end for MotherJones ## Getting Started Download the [production version][min] or the [development version][max]. [min]: https://raw.github.com/motherjones...
c8ecb06e8f999fb6bdd70d092f74259e22dfa6b1
README.md
README.md
Markdown