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|>iOS/PlayPlan/Main/MainViewController.h.diff original: updated: @class MainViewController; @protocol MainDelegate <NSObject> - (void)dismissViewController:(MainViewController *)mainViewController; @end <|file_sep|>original/iOS/PlayPlan/Main/MainViewController.h // // ViewController.h // PlayPlan // //...
// Copyright © 2015年 Zeacone. All rights reserved. // #import <UIKit/UIKit.h> #import <Accelerate/Accelerate.h> #import "PlayPlan.h" #import "SideMenu.h" @class MainViewController; @protocol MainDelegate <NSObject> - (void)dismissViewController:(MainViewController *)mainViewController; @end @interface MainViewCo...
<|file_sep|>iOS/PlayPlan/Main/MainViewController.h.diff original: updated: @class MainViewController; @protocol MainDelegate <NSObject> - (void)dismissViewController:(MainViewController *)mainViewController; @end <|file_sep|>original/iOS/PlayPlan/Main/MainViewController.h // // ViewController.h // PlayPlan // //...
7d024fbf8348d0e5979c51641a5eec857a0c01e0
iOS/PlayPlan/Main/MainViewController.h
iOS/PlayPlan/Main/MainViewController.h
C
<|file_sep|>original/appveyor.yml version: '{build}' os: Visual Studio 2017 build_script: - ps: .\build.ps1 -Target "AppVeyor" -Verbosity "Normal" -Configuration "Release" test: off <|file_sep|>current/appveyor.yml version: '{build}' os: Visual Studio 2017 build_script: - ps: .\build.ps1 -Target "AppVeyor" -Verbosit...
version: '{build}' os: Visual Studio 2017 build_script: - ps: .\build.ps1 -Target "AppVeyor" -Verbosity "Normal" -Configuration "Release" test: off deploy: - provider: NuGet api_key: secure: 954yUAKqX4ZBQRSlsngNA9FhX0wldFPlYsXfvB56079LGdzOdJYl1LaVAK8Up4Dj artifact: /.*\.nupkg/ on: branch: master ...
<|file_sep|>original/appveyor.yml version: '{build}' os: Visual Studio 2017 build_script: - ps: .\build.ps1 -Target "AppVeyor" -Verbosity "Normal" -Configuration "Release" test: off <|file_sep|>current/appveyor.yml version: '{build}' os: Visual Studio 2017 build_script: - ps: .\build.ps1 -Target "AppVeyor" -Verbosit...
bbafa094f4e6606ee4b969694db5d0fa4795fc0d
appveyor.yml
appveyor.yml
YAML
<|file_sep|>tox.ini.diff original: updated: py{35,36,37}-django{22}, <|file_sep|>original/tox.ini py37: python3.7 pypy: pypy pypy3: pypy3 jython: jython deps = django18: Django>=1.8,<1.9 django111: Django>=1.11,<2 django2: Django>=2,<2.1 django21: Django>=2.1,<2.2 -r{toxinidir}/...
py36: python3.6 py37: python3.7 pypy: pypy pypy3: pypy3 jython: jython deps = django18: Django>=1.8,<1.9 django111: Django>=1.11,<2 django2: Django>=2,<2.1 django21: Django>=2.1,<2.2 django22: Django>=2.2,<3 -r{toxinidir}/requirements-test.txt [testenv:flake8] basepython=pyt...
<|file_sep|>tox.ini.diff original: updated: py{35,36,37}-django{22}, <|file_sep|>original/tox.ini py37: python3.7 pypy: pypy pypy3: pypy3 jython: jython deps = django18: Django>=1.8,<1.9 django111: Django>=1.11,<2 django2: Django>=2,<2.1 django21: Django>=2.1,<2.2 -r{toxinidir}/...
109a930a285fe055bc2e36c36079075a5fd76d45
tox.ini
tox.ini
INI
<|file_sep|>original/app/views/posts/_post_subject.html.erb <% post = post_subject %> <% cache_unless(post.recent?, post, namespace: 'post_subject', expires_in: 72.hours, race_condition_ttl: 30.seconds) do %> <span class="short-post-subject"><%= link_to raw(htmlic_title(post.subject)), post %></span> by <span class="sh...
<% post = post_subject %> <% cache_unless(post.recent?, post, namespace: 'post_subject', expires_in: 72.hours, race_condition_ttl: 30.seconds) do %> <span class="short-post-subject"><%= link_to raw(htmlic_title(post.subject)), post %></span> by <span class="short-post-author author-tag-for-<%= post.user_id %>"><%= post...
<|file_sep|>original/app/views/posts/_post_subject.html.erb <% post = post_subject %> <% cache_unless(post.recent?, post, namespace: 'post_subject', expires_in: 72.hours, race_condition_ttl: 30.seconds) do %> <span class="short-post-subject"><%= link_to raw(htmlic_title(post.subject)), post %></span> by <span class="sh...
5cf1490ec3d018e0a0dba41ff876882902b924e3
app/views/posts/_post_subject.html.erb
app/views/posts/_post_subject.html.erb
HTML+ERB
<|file_sep|>src/request/repository/message-store-manage.js.diff original: glimpse.on('data.message.summary.found.remote', republishFoundSummary); //TODO: not yet implemented updated: glimpse.on('data.message.summary.found.remote', republishFoundSummary); <|file_sep|>original/src/request/repository/message-stor...
function republishFoundSummary(messages) { var payload = processMessages(messages); glimpse.emit('data.message.summary.found', payload); } glimpse.on('data.message.summary.found.stream', republishFoundSummary); glimpse.on('data.message.summary.found.remote', republishFoundSummary); })(...
<|file_sep|>src/request/repository/message-store-manage.js.diff original: glimpse.on('data.message.summary.found.remote', republishFoundSummary); //TODO: not yet implemented updated: glimpse.on('data.message.summary.found.remote', republishFoundSummary); <|file_sep|>original/src/request/repository/message-stor...
e157f5af465e5c9ae3529617658c1b60a28bf1fe
src/request/repository/message-store-manage.js
src/request/repository/message-store-manage.js
JavaScript
<|file_sep|>original/spec/dummy/config/database.yml # gem 'sqlite3' # default: &default adapter: sqlite3 pool: 5 timeout: 5000 development: <<: *default database: db/development.sqlite3 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run ...
# gem 'sqlite3' # default: &default adapter: sqlite3 pool: 5 timeout: 5000 development: <<: *default database: db/development.sqlite3 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as developm...
<|file_sep|>original/spec/dummy/config/database.yml # gem 'sqlite3' # default: &default adapter: sqlite3 pool: 5 timeout: 5000 development: <<: *default database: db/development.sqlite3 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run ...
3b51b7b6cfaabdb266fb2e8e55a5ced750ad6d41
spec/dummy/config/database.yml
spec/dummy/config/database.yml
YAML
<|file_sep|>original/package.json }, "keywords": [ "crypto", "password", "simple", "cryptography", "symmetric" ], "author": "Max Metral", "license": "MIT", "bugs": { "url": "https://github.com/djMax/pbkdf2-simple-crypt/issues" }, "homepage": "https://github.com/djMax/pbkdf2-simpl...
"keywords": [ "crypto", "password", "simple", "cryptography", "symmetric" ], "author": "Max Metral", "license": "MIT", "bugs": { "url": "https://github.com/djMax/pbkdf2-simple-crypt/issues" }, "homepage": "https://github.com/djMax/pbkdf2-simple-crypt", "dependencies": { "debu...
<|file_sep|>original/package.json }, "keywords": [ "crypto", "password", "simple", "cryptography", "symmetric" ], "author": "Max Metral", "license": "MIT", "bugs": { "url": "https://github.com/djMax/pbkdf2-simple-crypt/issues" }, "homepage": "https://github.com/djMax/pbkdf2-simpl...
2e772b07d98ad1c08dc634d25e64eb931dbca14c
package.json
package.json
JSON
<|file_sep|>original/scripts/people/ChrisKnepper.yaml # Hi! I am ChrisKnepper - blog: http://beta.chrisknepper.com/blog feed: http://beta.chrisknepper.com/feed forges: - http://github.com/chrisknepper irc: ChrisKnepper name: Chris Knepper rit_dce: cxk1108 litreview1: http://beta.chrisknepper.com/2013/0...
# Hi! I am ChrisKnepper - blog: http://beta.chrisknepper.com/blog feed: http://beta.chrisknepper.com/feed forges: - http://github.com/chrisknepper irc: ChrisKnepper name: Chris Knepper rit_dce: cxk1108 litreview1: http://beta.chrisknepper.com/2013/09/the-success-of-open-source-succeeds/ quiz1: http:/...
<|file_sep|>original/scripts/people/ChrisKnepper.yaml # Hi! I am ChrisKnepper - blog: http://beta.chrisknepper.com/blog feed: http://beta.chrisknepper.com/feed forges: - http://github.com/chrisknepper irc: ChrisKnepper name: Chris Knepper rit_dce: cxk1108 litreview1: http://beta.chrisknepper.com/2013/0...
10059ea3c09330a82fa6e2aef3c33a7998137e0b
scripts/people/ChrisKnepper.yaml
scripts/people/ChrisKnepper.yaml
YAML
<|file_sep|>original/README.rst Bookie will one day be a self-hosted bookmark web-service similar to Delicious. Check out the main site for documentation on features, how to get started installing, and where we're heading from here. You can check out the Trello board to see what stuff is in the works atm and what th...
installing, and where we're heading from here. You can check out the Trello board to see what stuff is in the works atm and what the status of your favorite pet feature is: https://trello.com/board/bookie/4f18c1ac96c79ec27105f228 Quick Start ----------- If you're on Ubuntu, you should be able to get started with: :...
<|file_sep|>original/README.rst Bookie will one day be a self-hosted bookmark web-service similar to Delicious. Check out the main site for documentation on features, how to get started installing, and where we're heading from here. You can check out the Trello board to see what stuff is in the works atm and what th...
efc9629844994e0a83a5b0a8c29ed27c8ae21e25
README.rst
README.rst
reStructuredText
<|file_sep|>original/tests/GetUrlsFromChildrenTest.php <|file_sep|>current/tests/GetUrlsFromChildrenTest.php <|file_sep|>updated/tests/GetUrlsFromChildrenTest.php
<?php class GetUrlsFromChildrenTest extends BaseTest { public function setUp() { $this->setTestFixturePath(__CLASS__, $this->getName()); } public function testGettingUrlsFromChildren() { $sitemap = $this->createSitemap(); $sitemap->setUrl('http://webignitio...
<|file_sep|>original/tests/GetUrlsFromChildrenTest.php <|file_sep|>current/tests/GetUrlsFromChildrenTest.php <|file_sep|>updated/tests/GetUrlsFromChildrenTest.php <?php class GetUrlsFromChildrenTest extends BaseTest { public function setUp() { $this->setTestFixturePath(__CLASS__, $this->getName()); ...
2c77eddf56844cf464984c05eecb52df51a93a64
tests/GetUrlsFromChildrenTest.php
tests/GetUrlsFromChildrenTest.php
PHP
<|file_sep|>original/themes/HighContrast/create-makefiles.sh #!/bin/bash FILE=Makefile-icons.am echo "NULL=" > $FILE echo "EXTRA_DIST = \\" >> $FILE find . \( -name "*.png" -or -name "*.svg" \) -print | awk '{ print $$0, " \\" }' >> $FILE echo "\$(NULL)" >> $FILE <|file_sep|>current/themes/HighContrast/create-makefil...
#!/bin/bash FILE=Makefile-icons.am echo "NULL=" > $FILE echo "EXTRA_DIST = \\" >> $FILE find . \( -name "*.png" -or -name "*.svg" \) -print | awk '{ print $$0, " \\" }' | sort >> $FILE echo "\$(NULL)" >> $FILE
<|file_sep|>original/themes/HighContrast/create-makefiles.sh #!/bin/bash FILE=Makefile-icons.am echo "NULL=" > $FILE echo "EXTRA_DIST = \\" >> $FILE find . \( -name "*.png" -or -name "*.svg" \) -print | awk '{ print $$0, " \\" }' >> $FILE echo "\$(NULL)" >> $FILE <|file_sep|>current/themes/HighContrast/create-makefil...
8004e3f7bcf6bf18904ac46e42c2d024a276ec8f
themes/HighContrast/create-makefiles.sh
themes/HighContrast/create-makefiles.sh
Shell
<|file_sep|>client/components/TextAnalytics.jsx.diff original: // hold reference of 'this' updated: <|file_sep|>client/components/TextAnalytics.jsx.diff original: let topThree = this.renderAnalytics(this.props.text).map((word) => { updated: if (this.props.text) { let topThree = this.renderAnalytics(...
) }) } <hr></hr> </div> ) }); return ( <div> <p>Here are your results:</p> <p>Top Three Most Used Words: </p> {topThree} </div> ); } else { return ( <div>Enter some tex...
<|file_sep|>client/components/TextAnalytics.jsx.diff original: // hold reference of 'this' updated: <|file_sep|>client/components/TextAnalytics.jsx.diff original: let topThree = this.renderAnalytics(this.props.text).map((word) => { updated: if (this.props.text) { let topThree = this.renderAnalytics(...
8cd552c86e5334e6a8f6253c137af8a54ac13c23
client/components/TextAnalytics.jsx
client/components/TextAnalytics.jsx
JSX
<|file_sep|>original/src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c <|file_sep|>current/src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c <|file_sep|>updated/src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c
/** Produto escalar de dois vetores de N posições. A.B = axbx + ayby + ... + anbn. */ #include <stdio.h> int produtoEscalar(int sizes, int *v1, int *v2){ int i; int escalar = 0; for (i = 0; i < sizes; i++){ escalar += v1[i] * v2[i]; } return escalar; } int main(){ int n;
<|file_sep|>original/src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c <|file_sep|>current/src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c <|file_sep|>updated/src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c /** Produto escalar de dois vetores de N posições. A.B = axbx + ayby + ... + anbn. */ #include <stdio.h> int...
c69aadcb46169b63c37320d8ddf433be117cb827
src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c
src/ufrn_bti_imd0012_2017_1_t3/produto_escalar.c
C
<|file_sep|>original/spec/keep_up/application_spec.rb <|file_sep|>current/spec/keep_up/application_spec.rb <|file_sep|>updated/spec/keep_up/application_spec.rb
# frozen_string_literal: true require 'spec_helper' RSpec.describe KeepUp::Application do let(:runner) { class_double KeepUp::Runner } let(:application) do described_class.new(local: local, test_command: nil, skip: [], runner: runner) e...
<|file_sep|>original/spec/keep_up/application_spec.rb <|file_sep|>current/spec/keep_up/application_spec.rb <|file_sep|>updated/spec/keep_up/application_spec.rb # frozen_string_literal: true require 'spec_helper' RSpec.describe KeepUp::Application do let(:runner) { class_double KeepUp::Runner } let(:application)...
d3dbab734ef84e30379b97ac983230370b8bf5ac
spec/keep_up/application_spec.rb
spec/keep_up/application_spec.rb
Ruby
<|file_sep|>original/src/guide/index.jade http-equiv="content-type" content="text/html; charset=UTF8" ) link( rel='stylesheet' href='./css/dist.css?v=#{DATE_TIME}' ) //- Fonts link( href = "//fonts.googleapis.com/css?family=Ubuntu+Mono|400" rel = "stylesheet" ...
href='./css/dist.css?v=#{DATE_TIME}' ) //- Fonts link( href = "//fonts.googleapis.com/css?family=Ubuntu+Mono|400" rel = "stylesheet" type = "text/css" ) //- Icons link( href = "//smaatoui.github.io/icon-library/css/icons.css" rel = "stylesheet" type = ...
<|file_sep|>original/src/guide/index.jade http-equiv="content-type" content="text/html; charset=UTF8" ) link( rel='stylesheet' href='./css/dist.css?v=#{DATE_TIME}' ) //- Fonts link( href = "//fonts.googleapis.com/css?family=Ubuntu+Mono|400" rel = "stylesheet" ...
99001c140c1eddf41b3872f5dda65fd7a61e7e63
src/guide/index.jade
src/guide/index.jade
Jade
<|file_sep|>original/MZFormSheetController.podspec <|file_sep|>current/MZFormSheetController.podspec <|file_sep|>updated/MZFormSheetController.podspec
Pod::Spec.new do |s| s.name = 'MZFormSheetController' s.version = '0.0.2' s.license = 'MIT' s.summary = 'Provides an alternative to the native iOS UIModalPresentationFormSheet.' s.homepage = 'https://github.com/m1entus/MZFormSheetController' s.authors = 'Michael Zaborowski' s.source = { :git => ...
<|file_sep|>original/MZFormSheetController.podspec <|file_sep|>current/MZFormSheetController.podspec <|file_sep|>updated/MZFormSheetController.podspec Pod::Spec.new do |s| s.name = 'MZFormSheetController' s.version = '0.0.2' s.license = 'MIT' s.summary = 'Provides an alternative to the native iOS UIMod...
0432e8c1c5dc5938d628800e6d0b04a7cc866cee
MZFormSheetController.podspec
MZFormSheetController.podspec
Ruby
<|file_sep|>original/.travis.yml language: java install: echo "do not execute installed gradle but gradle wrapper" script: "chmod 755 gradlew && ./gradlew test" jdk: - oraclejdk7 - openjdk6 - openjdk7 <|file_sep|>current/.travis.yml language: java install: echo "do not execute installed gradle but gradle wrappe...
language: java install: echo "do not execute installed gradle but gradle wrapper" script: - chmod 755 gradlew - TERM=dumb ./gradlew test jdk: - oraclejdk7 - openjdk6 - openjdk7
<|file_sep|>original/.travis.yml language: java install: echo "do not execute installed gradle but gradle wrapper" script: "chmod 755 gradlew && ./gradlew test" jdk: - oraclejdk7 - openjdk6 - openjdk7 <|file_sep|>current/.travis.yml language: java install: echo "do not execute installed gradle but gradle wrappe...
8ac2158a9836d1da9d1dbba9c417870aad92dcbe
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: # [Start Bootstrap](http://startbootstrap.com/) - [Agency](http://startbootstrap.com/template-overviews/agency/) updated: # Live Version Visit the site [here](http://www.tysonandletha.us) <|file_sep|>README.md.diff original: [Agency](http://startbootstrap.com/template-overviews/agen...
# Live Version Visit the site [here](http://www.tysonandletha.us) ## About This Site This site uses [Start Bootstrap](http://startbootstrap.com/) - [Agency](http://startbootstrap.com/template-overviews/agency/) as a base theme, with many modifications made. ## Creator Start Bootstrap was created by and is maintained...
<|file_sep|>README.md.diff original: # [Start Bootstrap](http://startbootstrap.com/) - [Agency](http://startbootstrap.com/template-overviews/agency/) updated: # Live Version Visit the site [here](http://www.tysonandletha.us) <|file_sep|>README.md.diff original: [Agency](http://startbootstrap.com/template-overviews/agen...
14af48f8a82c397ecd9023b8c6c425a7c095e676
README.md
README.md
Markdown
<|file_sep|>original/python/src/com/jetbrains/python/console/ConsoleVisitorFilter.java * filter out some python inspections and annotations if we're in console */ public class ConsoleVisitorFilter implements PythonVisitorFilter { @Override public boolean isSupported(@NotNull final Class visitorClass, @NotNull fin...
* filter out some python inspections and annotations if we're in console */ public class ConsoleVisitorFilter implements PythonVisitorFilter { @Override public boolean isSupported(@NotNull final Class visitorClass, @NotNull final PsiFile file) { //if we're in console if (PydevConsoleRunner.isInPydevConsol...
<|file_sep|>original/python/src/com/jetbrains/python/console/ConsoleVisitorFilter.java * filter out some python inspections and annotations if we're in console */ public class ConsoleVisitorFilter implements PythonVisitorFilter { @Override public boolean isSupported(@NotNull final Class visitorClass, @NotNull fin...
13994934b753a703745da6dc13f0eb8e47c32ea2
python/src/com/jetbrains/python/console/ConsoleVisitorFilter.java
python/src/com/jetbrains/python/console/ConsoleVisitorFilter.java
Java
<|file_sep|>original/app/controllers/feedbacks_controller.rb post = Post.find_by_link(post_link) if post == nil render :text => "Error: No post found for link" and return end post.reasons.each do |reason| expire_fragment(reason) end expire_fragment(post.link) @feedback.po...
post = Post.find_by_link(post_link) if post == nil render :text => "Error: No post found for link" and return end post.reasons.each do |reason| expire_fragment(reason) end expire_fragment("post" + post.id.to_s) @feedback.post = post respond_to do |format| if @f...
<|file_sep|>original/app/controllers/feedbacks_controller.rb post = Post.find_by_link(post_link) if post == nil render :text => "Error: No post found for link" and return end post.reasons.each do |reason| expire_fragment(reason) end expire_fragment(post.link) @feedback.po...
8a32000801deeca2c6e4092fd2c2afd8220d3b52
app/controllers/feedbacks_controller.rb
app/controllers/feedbacks_controller.rb
Ruby
<|file_sep|>original/src/protocolsupport/protocol/transformer/middlepacket/clientbound/play/MiddleInventorySetItems.java protected ArrayList<ItemStack> itemstacks = new ArrayList<ItemStack>(); @Override public boolean needsPlayer() { return true; } @Override public void readFromServerData(PacketDataSerializer...
@Override public boolean needsPlayer() { return true; } @Override public void readFromServerData(PacketDataSerializer serializer) throws IOException { windowId = serializer.readUnsignedByte(); int count = serializer.readShort(); itemstacks.clear(); for (int i = 0; i < count; i++) { itemstacks.add(se...
<|file_sep|>original/src/protocolsupport/protocol/transformer/middlepacket/clientbound/play/MiddleInventorySetItems.java protected ArrayList<ItemStack> itemstacks = new ArrayList<ItemStack>(); @Override public boolean needsPlayer() { return true; } @Override public void readFromServerData(PacketDataSerializer...
192ee64484a61317802214c8f407e844c3b93ece
src/protocolsupport/protocol/transformer/middlepacket/clientbound/play/MiddleInventorySetItems.java
src/protocolsupport/protocol/transformer/middlepacket/clientbound/play/MiddleInventorySetItems.java
Java
<|file_sep|>original/reddit/admin.py from django.contrib import admin from reddit.models import RedditAccount from reddit.forms import RedditAccountForm from datetime import date class RedditAccountAdmin(admin.ModelAdmin): list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_up...
from django.contrib import admin from reddit.models import RedditAccount from reddit.forms import RedditAccountForm from datetime import date class RedditAccountAdmin(admin.ModelAdmin): list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update', 'validated', 'is_valid') s...
<|file_sep|>original/reddit/admin.py from django.contrib import admin from reddit.models import RedditAccount from reddit.forms import RedditAccountForm from datetime import date class RedditAccountAdmin(admin.ModelAdmin): list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_up...
75c1dedb6eddfcb540ee29de5ae31b99d9927d07
reddit/admin.py
reddit/admin.py
Python
<|file_sep|>original/.travis.yml language: ruby script: ./script/cibuild before_install: - ./script/bootstrap <|file_sep|>current/.travis.yml language: ruby script: ./script/cibuild before_install: - ./script/bootstrap <|file_sep|>updated/.travis.yml
language: ruby script: ./script/cibuild before_install: - ./script/bootstrap rvm: - 1.9.3 - 2.0.0 - 2.1.1
<|file_sep|>original/.travis.yml language: ruby script: ./script/cibuild before_install: - ./script/bootstrap <|file_sep|>current/.travis.yml language: ruby script: ./script/cibuild before_install: - ./script/bootstrap <|file_sep|>updated/.travis.yml language: ruby script: ./script/cibuild before_install: - ./scr...
303bbad9795433f90b4ea1f151f7fa59dc8dc5de
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test.html <|file_sep|>current/test.html <|file_sep|>updated/test.html
<!DOCTYPE html> <html> <head> <title>Super Fast Lazyload test</title> <script src="LazyLoad.min.js"></script> <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> <script> function onLoad() { var images = []; for (var i=0; i <...
<|file_sep|>original/test.html <|file_sep|>current/test.html <|file_sep|>updated/test.html <!DOCTYPE html> <html> <head> <title>Super Fast Lazyload test</title> <script src="LazyLoad.min.js"></script> <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> <script> ...
dcfec6aac706084c833d3949d4038fc4d75c5a52
test.html
test.html
HTML
<|file_sep|>original/build_host_setup_fedora.sh #!/usr/bin/env bash sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-23.noarch.rpm sudo dnf install -y \ git \ python \ python-devel \ python-pip \ python-setuptools \ python-virtualenv \ pygobject2-devel \ ...
#!/usr/bin/env bash sudo dnf install -y \ git \ python \ python-devel \ python-pip \ python-setuptools \ python-virtualenv \ pygobject2-devel \ python-virtualenvwrapper \ libtool \ libffi-devel \ openssl-devel \ autoconf \ bison \ swig \ glib2-devel \ s3c...
<|file_sep|>original/build_host_setup_fedora.sh #!/usr/bin/env bash sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-23.noarch.rpm sudo dnf install -y \ git \ python \ python-devel \ python-pip \ python-setuptools \ python-virtualenv \ pygobject2-devel \ ...
3a2ddac66a6dae08c8a8c1aacc5a214d489c845c
build_host_setup_fedora.sh
build_host_setup_fedora.sh
Shell
<|file_sep|>original/services/document-updater/app/js/DiffCodec.js const DMP = require('diff-match-patch') const dmp = new DMP() module.exports = { ADDED: 1, REMOVED: -1, UNCHANGED: 0, diffAsShareJsOp(before, after, callback) { const diffs = dmp.diff_main(before.join('\n'), after.join('\n')) dmp.diff_...
const DMP = require('diff-match-patch') const dmp = new DMP() // Do not attempt to produce a diff for more than 100ms dmp.Diff_Timeout = 0.1 module.exports = { ADDED: 1, REMOVED: -1, UNCHANGED: 0, diffAsShareJsOp(before, after, callback) { const diffs = dmp.diff_main(before.join('\n'), after.join('\n')) ...
<|file_sep|>original/services/document-updater/app/js/DiffCodec.js const DMP = require('diff-match-patch') const dmp = new DMP() module.exports = { ADDED: 1, REMOVED: -1, UNCHANGED: 0, diffAsShareJsOp(before, after, callback) { const diffs = dmp.diff_main(before.join('\n'), after.join('\n')) dmp.diff_...
98f8d7f51c32718e741d4daa60f4fa9aeeee3bfb
services/document-updater/app/js/DiffCodec.js
services/document-updater/app/js/DiffCodec.js
JavaScript
<|file_sep|>.vscode/launch.json.diff original: "env": {}, updated: "linux": { "env": { "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Debug/netcoreapp2.1:${env:LD_LIBRARY_PATH}" } }, <|file_sep|>original/.vscode/launch...
"console": "internalConsole" }, { "name": "VisualTests (Release)", "type": "coreclr", "request": "launch", "program": "dotnet", "args": [ "${workspaceRoot}/osu.Framework.Tests/bin/Release/netcoreapp2.1/osu.Framework....
<|file_sep|>.vscode/launch.json.diff original: "env": {}, updated: "linux": { "env": { "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Debug/netcoreapp2.1:${env:LD_LIBRARY_PATH}" } }, <|file_sep|>original/.vscode/launch...
07176dfaa625a6488faedf26275c9f642f5ae7b0
.vscode/launch.json
.vscode/launch.json
JSON
<|file_sep|>original/docs/requirements.txt -r ../requirements.txt sphinx==5.0.2 sphinx_rtd_theme==1.0.0 sphinxcontrib-svg2pdfconverter==1.2.0 <|file_sep|>current/docs/requirements.txt -r ../requirements.txt sphinx==5.0.2 sphinx_rtd_theme==1.0.0 sphinxcontrib-svg2pdfconverter==1.2.0 <|file_sep|>updated/docs/requirements...
-r ../requirements.txt sphinx==5.1.1 sphinx_rtd_theme==1.0.0 sphinxcontrib-svg2pdfconverter==1.2.0
<|file_sep|>original/docs/requirements.txt -r ../requirements.txt sphinx==5.0.2 sphinx_rtd_theme==1.0.0 sphinxcontrib-svg2pdfconverter==1.2.0 <|file_sep|>current/docs/requirements.txt -r ../requirements.txt sphinx==5.0.2 sphinx_rtd_theme==1.0.0 sphinxcontrib-svg2pdfconverter==1.2.0 <|file_sep|>updated/docs/requirements...
452dd8cb5ebbdb8c49b90b213e6d8143d57a13b4
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/js/main.js document.addEventListener('DOMContentLoaded', function() { var searchButton = document.getElementById('search'); searchButton.addEventListener('click', (function() { var query = document.getElementById('form').query.value; var engine = document.querySelector('input[name="eng...
document.addEventListener('DOMContentLoaded', function() { var searchButton = document.getElementById('search'); document.querySelector('input[name="engine"]:checked').focus(); searchButton.addEventListener('click', (function() { var query = document.getElementById('form').query.value; var engine = docum...
<|file_sep|>original/js/main.js document.addEventListener('DOMContentLoaded', function() { var searchButton = document.getElementById('search'); searchButton.addEventListener('click', (function() { var query = document.getElementById('form').query.value; var engine = document.querySelector('input[name="eng...
7388412cc4908793883e0de2348f8b44b72e2256
js/main.js
js/main.js
JavaScript
<|file_sep|>original/scripts/master/factory/dart/channels.py self.branch = branch self.builder_postfix = '-' + name self.category_postfix = category_postfix self.name = name self.position = position self.priority = priority self.all_deps_path = '/' + branch + '/deps/all.deps' self.standa...
self.branch = branch self.builder_postfix = '-' + name self.category_postfix = category_postfix self.name = name self.position = position self.priority = priority self.all_deps_path = '/' + branch + '/deps/all.deps' self.standalone_deps_path = '/' + branch + '/deps/standalone.deps' s...
<|file_sep|>original/scripts/master/factory/dart/channels.py self.branch = branch self.builder_postfix = '-' + name self.category_postfix = category_postfix self.name = name self.position = position self.priority = priority self.all_deps_path = '/' + branch + '/deps/all.deps' self.standa...
e02f31032a2e3b3ff76432ae814e6e3fbeb7ae29
scripts/master/factory/dart/channels.py
scripts/master/factory/dart/channels.py
Python
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> <...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> </encoder> </appender> <logger name="io.github.bo...
<|file_sep|>original/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern> <...
ed882cb239d9cb5091f73311f9db2314e114b752
src/test/resources/logback-test.xml
src/test/resources/logback-test.xml
XML
<|file_sep|>src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java.diff original: updated: import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; <|file_sep|>original/src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java package org.ratchetrobotics.algorithms.ai.pla...
package org.ratchetrobotics.algorithms.ai.planning; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; /** * Documentation here. * * @author Liam Marshall * @version 1.0 */ public class ActionThing { public ActionThing(Vector3D position) { } }
<|file_sep|>src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java.diff original: updated: import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; <|file_sep|>original/src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java package org.ratchetrobotics.algorithms.ai.pla...
abbb318062cb3473f76f054bb5ca73484c8e7128
src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java
src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java
Java
<|file_sep|>src/Handler/Module.hs.diff original: import Database.Persist.Sql updated: import Database.Esqueleto <|file_sep|>original/src/Handler/Module.hs {-# LANGUAGE ScopedTypeVariables #-} module Handler.Module where import Data.SemVer (toText) import Database.Persist.Sql import Import.App getModulesR :: Handler ...
{-# LANGUAGE ScopedTypeVariables #-} module Handler.Module where import Data.SemVer (toText) import Database.Esqueleto import Import.App getModulesR :: Handler Html getModulesR = do modules <- runDB $ select $ from $ \m -> do orderBy [asc $ m ^. ModuleName] pure m ...
<|file_sep|>src/Handler/Module.hs.diff original: import Database.Persist.Sql updated: import Database.Esqueleto <|file_sep|>original/src/Handler/Module.hs {-# LANGUAGE ScopedTypeVariables #-} module Handler.Module where import Data.SemVer (toText) import Database.Persist.Sql import Import.App getModulesR :: Handler ...
4d3626f44401facce6ad565de68fee1635351f31
src/Handler/Module.hs
src/Handler/Module.hs
Haskell
<|file_sep|>original/.travis.yml os: - linux language: generic sudo: required dist: trusty osx_image: xcode7.3 install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./install_swiftlint.sh; fi - curl -sL https://gist.github.com/kylef/5c0475ff02b7c7671d2a/raw/621ef9b29bbb852fdfd2e10ed147b321d792c1e4/swiftenv-install.sh | ...
os: - linux - osx language: generic sudo: required dist: trusty osx_image: xcode7.3 install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./install_swiftlint.sh; fi - curl -sL https://gist.github.com/kylef/5c0475ff02b7c7671d2a/raw/621ef9b29bbb852fdfd2e10ed147b321d792c1e4/swiftenv-install.sh | bash script: - . ~/.swiften...
<|file_sep|>original/.travis.yml os: - linux language: generic sudo: required dist: trusty osx_image: xcode7.3 install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./install_swiftlint.sh; fi - curl -sL https://gist.github.com/kylef/5c0475ff02b7c7671d2a/raw/621ef9b29bbb852fdfd2e10ed147b321d792c1e4/swiftenv-install.sh | ...
011a156879ca9b6d18371d2715385c9577abbc6f
.travis.yml
.travis.yml
YAML
<|file_sep|>ci/scripts/windows-installer.iss.diff original: AppVerName=VERSION updated: AppVerName=Cloud Foundry CLI version VERSION <|file_sep|>original/ci/scripts/windows-installer.iss [Setup] ChangesEnvironment=yes AppName=Cloud Foundry CLI AppVersion=VERSION AppVerName=VERSION DefaultDirName={pf}\CloudFoundry [Reg...
[Setup] ChangesEnvironment=yes AppName=Cloud Foundry CLI AppVersion=VERSION AppVerName=Cloud Foundry CLI version VERSION DefaultDirName={pf}\CloudFoundry AppPublisher=Cloud Foundry Foundation [Registry] Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: expandsz; ValueName: ...
<|file_sep|>ci/scripts/windows-installer.iss.diff original: AppVerName=VERSION updated: AppVerName=Cloud Foundry CLI version VERSION <|file_sep|>original/ci/scripts/windows-installer.iss [Setup] ChangesEnvironment=yes AppName=Cloud Foundry CLI AppVersion=VERSION AppVerName=VERSION DefaultDirName={pf}\CloudFoundry [Reg...
964d21465a481685d2de058a8ab70df20826ff8e
ci/scripts/windows-installer.iss
ci/scripts/windows-installer.iss
Inno Setup
<|file_sep|>original/proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java <|file_sep|>current/proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java <|file_sep|>updated/proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java
package com.tacitknowledge.performance.degrade; import com.tacitknowledge.performance.Component; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.channel.socket.SocketChannel; /** @author Ivan Frolov (ifrolov@tacitknowledge.com) */ public class Peer...
<|file_sep|>original/proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java <|file_sep|>current/proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java <|file_sep|>updated/proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java package com.tacitknowledge.performa...
eea9f3d2404bbb7f243e43e4fa5392e2b35f9a5a
proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java
proxy/src/main/java/com/tacitknowledge/performance/degrade/PeerClose.java
Java
<|file_sep|>original/examples/raw_parameter_script.py <|file_sep|>current/examples/raw_parameter_script.py <|file_sep|>updated/examples/raw_parameter_script.py
""" The main purpose of this file is to demonstrate running SeleniumBase scripts without the use of Pytest by calling the script directly with Python or from a Python interactive interpreter. Based on whether relative imports work or don't work, it will autodetect how this file was run. With pure Python...
<|file_sep|>original/examples/raw_parameter_script.py <|file_sep|>current/examples/raw_parameter_script.py <|file_sep|>updated/examples/raw_parameter_script.py """ The main purpose of this file is to demonstrate running SeleniumBase scripts without the use of Pytest by calling the script directly with Python ...
f419dce0164d00a56a90fb34f19e2a8adecda584
examples/raw_parameter_script.py
examples/raw_parameter_script.py
Python
<|file_sep|>original/tests/smoke/aws/vars/aws-vpc-internal.tfvars.json { "tectonic_aws_az_count": "2", "tectonic_aws_etcd_ec2_type": "m4.large", "tectonic_aws_public_endpoints": false, "tectonic_aws_master_ec2_type": "m4.large", "tectonic_aws_vpc_cidr_block": "10.0.0.0/16", "tectonic_aws_worker_...
{ "tectonic_aws_etcd_ec2_type": "m4.large", "tectonic_aws_public_endpoints": false, "tectonic_aws_master_ec2_type": "m4.large", "tectonic_aws_vpc_cidr_block": "10.0.0.0/16", "tectonic_aws_worker_ec2_type": "m4.large", "tectonic_ca_cert": "", "tectonic_ca_key": "", "tectonic_container_lin...
<|file_sep|>original/tests/smoke/aws/vars/aws-vpc-internal.tfvars.json { "tectonic_aws_az_count": "2", "tectonic_aws_etcd_ec2_type": "m4.large", "tectonic_aws_public_endpoints": false, "tectonic_aws_master_ec2_type": "m4.large", "tectonic_aws_vpc_cidr_block": "10.0.0.0/16", "tectonic_aws_worker_...
44c0b8e9b2522438f40e64248787b94816e394ec
tests/smoke/aws/vars/aws-vpc-internal.tfvars.json
tests/smoke/aws/vars/aws-vpc-internal.tfvars.json
JSON
<|file_sep|>.pre-commit-config.yaml.diff original: rev: 21.9b0 updated: rev: 22.6.0 <|file_sep|>.pre-commit-config.yaml.diff original: rev: 3.9.2 updated: rev: 4.0.1 <|file_sep|>.pre-commit-config.yaml.diff original: rev: 5.9.3 updated: rev: 5.10.1 <|file_sep|>original/.pre-commit-config.yaml ...
- repo: https://gitlab.com/pycqa/flake8 rev: 4.0.1 hooks: - id: flake8 - repo: https://github.com/timothycrosley/isort rev: 5.10.1 hooks: - id: isort exclude: ^.*/?setup\.py$ - repo: https://github.com/asottile/pyupgrade rev: v2.29.0 hooks: - id: pyupgrade -...
<|file_sep|>.pre-commit-config.yaml.diff original: rev: 21.9b0 updated: rev: 22.6.0 <|file_sep|>.pre-commit-config.yaml.diff original: rev: 3.9.2 updated: rev: 4.0.1 <|file_sep|>.pre-commit-config.yaml.diff original: rev: 5.9.3 updated: rev: 5.10.1 <|file_sep|>original/.pre-commit-config.yaml ...
353377b226fb701f7943d592bf1cbf20c1668f7d
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>original/requirements_dev.txt pandas==0.20.3 matplotlib==2.0.2 opencv-contrib-python==3.3.0.9 opencv-python==3.3.0.9 pillow==4.2.1 pymodbus==1.3.2 pyserial==3.4 PyYAML==3.12 pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 pytest==3.2.1 pytest-runner==2.11.1 tox==2.7.0 flake8==3.4.1 coverage==4....
pandas==0.20.3 matplotlib==2.0.2 opencv-contrib-python==3.3.0.9 opencv-python==3.3.0.9 pillow==4.2.1 pymodbus==1.3.2 pyserial==3.4 PyYAML==3.12 pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 pytest==3.2.1 pytest-runner==2.11.1 tox==2.7.0 flake8==3.4.1 coverage==4.4.1 Sphinx==1.6.3 sphinxcontrib-napoleon==...
<|file_sep|>original/requirements_dev.txt pandas==0.20.3 matplotlib==2.0.2 opencv-contrib-python==3.3.0.9 opencv-python==3.3.0.9 pillow==4.2.1 pymodbus==1.3.2 pyserial==3.4 PyYAML==3.12 pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 pytest==3.2.1 pytest-runner==2.11.1 tox==2.7.0 flake8==3.4.1 coverage==4....
6d46c998fe4cd41752ce512cacbc0b3c48e0f56c
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/src/Features/CSharp/Portable/Completion/KeywordRecommenders/ParamsKeywordRecommender.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using ...
using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; namespace Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders { internal class ParamsKeywordRecommender : AbstractSyntacticSingleKeywordRecommender { public ParamsKeywordRecommender() : base(Synta...
<|file_sep|>original/src/Features/CSharp/Portable/Completion/KeywordRecommenders/ParamsKeywordRecommender.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using ...
7d94498c5dc22b7008a1461630bbc689eed29d51
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ParamsKeywordRecommender.cs
src/Features/CSharp/Portable/Completion/KeywordRecommenders/ParamsKeywordRecommender.cs
C#
<|file_sep|>original/docker-compose.yml version: "3" services: website: image: openstates/new-openstates.org volumes: - .:/opt/openstates/openstates.org/ entrypoint: ['/bin/bash'] <|file_sep|>current/docker-compose.yml version: "3" services: website: image: openstates/new-openstates.org vo...
version: "3" services: website: image: openstates/new-openstates.org volumes: - .:/opt/openstates/openstates.org/ entrypoint: ['/bin/bash'] database: # With this service up, your host can use a database URL of # `postgres://openstates@localhost:5433/openstates` image: mdillon/postgis:...
<|file_sep|>original/docker-compose.yml version: "3" services: website: image: openstates/new-openstates.org volumes: - .:/opt/openstates/openstates.org/ entrypoint: ['/bin/bash'] <|file_sep|>current/docker-compose.yml version: "3" services: website: image: openstates/new-openstates.org vo...
abab68727e519615aa0cf1be0aae5cf56b91b7af
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/README.markdown ![KuduDebugConsole](https://cloud.githubusercontent.com/assets/6472374/18506877/99d39f24-7a76-11e6-86a7-f3ac62b0199c.png) ### Documentation See the [documentation](https://github.com/projectkudu/kudu/wiki) ### License [Apache License 2.0](https://github.com/projectkudu/kudu/bl...
![KuduDebugConsole](https://cloud.githubusercontent.com/assets/6472374/18506877/99d39f24-7a76-11e6-86a7-f3ac62b0199c.png) ### Documentation See the [documentation](https://github.com/projectkudu/kudu/wiki) ### License [Apache License 2.0](https://github.com/projectkudu/kudu/blob/master/LICENSE.txt) ### Project g...
<|file_sep|>original/README.markdown ![KuduDebugConsole](https://cloud.githubusercontent.com/assets/6472374/18506877/99d39f24-7a76-11e6-86a7-f3ac62b0199c.png) ### Documentation See the [documentation](https://github.com/projectkudu/kudu/wiki) ### License [Apache License 2.0](https://github.com/projectkudu/kudu/bl...
6e915ea97bc631f9d9dc651881c14b6c5057dd59
README.markdown
README.markdown
Markdown
<|file_sep|>.travis.yml.diff original: updated: - jruby-head <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - jruby-19mode - rbx-2 install: - bundle install --retry=3 before_install: - sudo apt-get update - sudo apt-get install libgirepository1.0-dev gobject-intros...
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - jruby-19mode - jruby-head - rbx-2 matrix: allow_failures: - rvm: jruby-head install: - bundle install --retry=3 before_install: - sudo apt-get update - sudo apt-get install libgirepository1.0-dev gobject-introspection
<|file_sep|>.travis.yml.diff original: updated: - jruby-head <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - jruby-19mode - rbx-2 install: - bundle install --retry=3 before_install: - sudo apt-get update - sudo apt-get install libgirepository1.0-dev gobject-intros...
21e00a1937a5b514264d266c71d8a9b14802b5cc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/metadata.json { "operatingsystem": "Debian", "operatingsystemrelease": [ "6", "7" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "10.04", "12.04" ] } ], "requirem...
}, { "operatingsystem": "Debian", "operatingsystemrelease": [ "6", "7" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "10.04", "12.04" ] } ], "requirements": [ { "name": "...
<|file_sep|>original/metadata.json { "operatingsystem": "Debian", "operatingsystemrelease": [ "6", "7" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "10.04", "12.04" ] } ], "requirem...
e00f2783288eeaaff90f37122cbd5a8675173c94
metadata.json
metadata.json
JSON
<|file_sep|>original/spec/support/devise.rb RSpec.configure do |config| config.include Devise::TestHelpers, type: :controller end <|file_sep|>current/spec/support/devise.rb RSpec.configure do |config| config.include Devise::TestHelpers, type: :controller end <|file_sep|>updated/spec/support/devise.rb
RSpec.configure do |config| config.include Devise::Test::ControllerHelpers, type: :controller end
<|file_sep|>original/spec/support/devise.rb RSpec.configure do |config| config.include Devise::TestHelpers, type: :controller end <|file_sep|>current/spec/support/devise.rb RSpec.configure do |config| config.include Devise::TestHelpers, type: :controller end <|file_sep|>updated/spec/support/devise.rb RSpec.configur...
e31ebd25cefcf7942e88d3e32c81f31d708bdbf3
spec/support/devise.rb
spec/support/devise.rb
Ruby
<|file_sep|>original/project/plugins.sbt // Comment to get more information during initialization logLevel := Level.Warn // Resolvers resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("heroku-sbt-plugin-releases", url("https://dl.bintray.com/heroku/sbt-pl...
// Comment to get more information during initialization logLevel := Level.Warn // Resolvers resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("heroku-sbt-plugin-releases", url("https://dl.bintray.com/heroku/sbt-plugins/"))(Resolver.ivyStylePatterns) // ...
<|file_sep|>original/project/plugins.sbt // Comment to get more information during initialization logLevel := Level.Warn // Resolvers resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" resolvers += Resolver.url("heroku-sbt-plugin-releases", url("https://dl.bintray.com/heroku/sbt-pl...
ea42d7dc37cf6a57a13b63168268cee0a479cb27
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="in.co.nebulax.magpie" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVe...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="in.co.nebulax.magpie" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" /> <uses-permission a...
<|file_sep|>original/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="in.co.nebulax.magpie" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVe...
a8b1def1fc6001765b62ae964dcd48c7b323da01
AndroidManifest.xml
AndroidManifest.xml
XML
<|file_sep|>original/www/app/controllers/HistoryController.scala orgKey = orgKey, applicationKey = appKey, from = from, to = to, `type` = `type`, limit = Pagination.DefaultLimit+1, offset = page * Pagination.DefaultLimit ) } yield { Ok(views.html.h...
applicationKey = appKey, from = from, to = to, `type` = `type`, limit = Pagination.DefaultLimit+1, offset = page * Pagination.DefaultLimit ) } yield { Ok(views.html.history.index( request.mainTemplate().copy(title = Some("History")), change...
<|file_sep|>original/www/app/controllers/HistoryController.scala orgKey = orgKey, applicationKey = appKey, from = from, to = to, `type` = `type`, limit = Pagination.DefaultLimit+1, offset = page * Pagination.DefaultLimit ) } yield { Ok(views.html.h...
06fe1a33ea6d66ab77b04ff75df79aef51119128
www/app/controllers/HistoryController.scala
www/app/controllers/HistoryController.scala
Scala
<|file_sep|>original/bin/requirements.txt cachetools==4.1.0 certifi==2019.11.28 chardet==3.0.4 coverage==5.1 google-api-python-client==1.8.1 google-auth==1.14.0 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.4.1 httplib2==0.17.2 idna==2.9 oauth2client==4.1.3 oauthlib==3.1.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pyth...
cachetools==4.1.0 certifi==2019.11.28 chardet==3.0.4 coverage==5.1 google-api-python-client==1.8.2 google-auth==1.14.0 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.4.1 httplib2==0.17.2 idna==2.9 oauth2client==4.1.3 oauthlib==3.1.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 python-slugify==4.0.0 pytube3==9.6.4 requests=...
<|file_sep|>original/bin/requirements.txt cachetools==4.1.0 certifi==2019.11.28 chardet==3.0.4 coverage==5.1 google-api-python-client==1.8.1 google-auth==1.14.0 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.4.1 httplib2==0.17.2 idna==2.9 oauth2client==4.1.3 oauthlib==3.1.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pyth...
a224c0797840afde831742f3fd46a0ae00ac98cb
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>frontend/src/components/print/config/ActivityConfig.vue.diff original: <e-select v-model="optionsScheduleEntry" :items="scheduleEntries" /> updated: <e-select v-if="!loading" v-model="optionsScheduleEntry" :items="scheduleEntries" /> <v-skeleton-loader v-else type="image" height="56" /> <|file_s...
this.camp.periods().items.forEach((p) => { const periodScheduleEntries = p.scheduleEntries().items.map((se) => ({ value: { activity: se.activity()._meta.self, scheduleEntry: se._meta.self }, text: '(' + se.number + ') ' + se.activity().title, })) scheduleEntries = [...s...
<|file_sep|>frontend/src/components/print/config/ActivityConfig.vue.diff original: <e-select v-model="optionsScheduleEntry" :items="scheduleEntries" /> updated: <e-select v-if="!loading" v-model="optionsScheduleEntry" :items="scheduleEntries" /> <v-skeleton-loader v-else type="image" height="56" /> <|file_s...
a23b6fbd986b0e88e74a518b252741c50d3fb890
frontend/src/components/print/config/ActivityConfig.vue
frontend/src/components/print/config/ActivityConfig.vue
Vue
<|file_sep|>original/archetypes/default.md +++ title = "{{ replace .TranslationBaseName "-" " " | title }}" date = {{ .Date }} draft = true tags = [] topics = [] description = "" +++ <|file_sep|>current/archetypes/default.md +++ title = "{{ replace .TranslationBaseName "-" " " | title }}" date = {{ .Date }} draft = tru...
+++ title = "{{ replace .TranslationBaseName "-" " " | title }}" date = "{{ .Date }}" draft = true tags = [] topics = [] description = "" +++
<|file_sep|>original/archetypes/default.md +++ title = "{{ replace .TranslationBaseName "-" " " | title }}" date = {{ .Date }} draft = true tags = [] topics = [] description = "" +++ <|file_sep|>current/archetypes/default.md +++ title = "{{ replace .TranslationBaseName "-" " " | title }}" date = {{ .Date }} draft = tru...
6f2361c486560ef7f47e83ed66ef5af525c48a5e
archetypes/default.md
archetypes/default.md
Markdown
<|file_sep|>rbenv-installer.sh.diff original: # Add rbenv to the path: cat << EOF > $PROFILE # rbenv setup export RBENV_ROOT="$RBENV_ROOT" export PATH="$RBENV_ROOT/bin:\$PATH" eval "\$(rbenv init -)" EOF updated: <|file_sep|>original/rbenv-installer.sh PROFILE="${HOME}/.bash_profile" fi # Install rbenv: if [ ! -d ...
# Install rbenv plugins: if [ ! -d $RBENV_ROOT/plugins/rbenv-vars ] ; then git clone git://github.com/sstephenson/rbenv-vars.git $RBENV_ROOT/plugins/rbenv-vars fi # Install ruby-build: if [ ! -f $RBENV_ROOT/bin/ruby-build ] ; then pushd $(mktemp -d /tmp/ruby-build.XXXXXXXXXX) git clone git://github.com/sstephe...
<|file_sep|>rbenv-installer.sh.diff original: # Add rbenv to the path: cat << EOF > $PROFILE # rbenv setup export RBENV_ROOT="$RBENV_ROOT" export PATH="$RBENV_ROOT/bin:\$PATH" eval "\$(rbenv init -)" EOF updated: <|file_sep|>original/rbenv-installer.sh PROFILE="${HOME}/.bash_profile" fi # Install rbenv: if [ ! -d ...
7a7ab3b7fdfc512fb42dfdde1555d147e3e32289
rbenv-installer.sh
rbenv-installer.sh
Shell
<|file_sep|>src/Bgy/OAuth2/AccessToken.php.diff original: updated: use Bgy\OAuth2\Utils\Ensure; <|file_sep|>src/Bgy/OAuth2/AccessToken.php.diff original: private $expiresIn; updated: private $expiresAt; <|file_sep|>src/Bgy/OAuth2/AccessToken.php.diff original: public function __construct($token, $expiresI...
$this->scopes = $scopes; } public function getToken() { return $this->accessToken; } public function getExpiresAt() { return $this->expiresAt; } public function getScopes() { return $this->scopes; } public function getClientId() ...
<|file_sep|>src/Bgy/OAuth2/AccessToken.php.diff original: updated: use Bgy\OAuth2\Utils\Ensure; <|file_sep|>src/Bgy/OAuth2/AccessToken.php.diff original: private $expiresIn; updated: private $expiresAt; <|file_sep|>src/Bgy/OAuth2/AccessToken.php.diff original: public function __construct($token, $expiresI...
4b067c566b593f000316e6837baf35cafb58dacf
src/Bgy/OAuth2/AccessToken.php
src/Bgy/OAuth2/AccessToken.php
PHP
<|file_sep|>original/CHANGELOG.md # Changelog ## 1.3.0 * The variants of `Infinitable` are now re-exported, so you can type `Finite(x)` instead of `Infinitable::Finite(x)`. * The `Infinitable` type now implements the `Hash` trait. ## 1.2.0 * Negation operator is now supported. * The `Infinitable` type now implement...
# Changelog ## 1.3.0 * The variants of `Infinitable` are now re-exported, so you can type `Finite(x)` instead of `Infinitable::Finite(x)`. * The `finite_or_infinity()` and `finite_or_negative_infinity()` methods are added to convert from an optional finite value to an infinitable. * The `Infinitable` type now impleme...
<|file_sep|>original/CHANGELOG.md # Changelog ## 1.3.0 * The variants of `Infinitable` are now re-exported, so you can type `Finite(x)` instead of `Infinitable::Finite(x)`. * The `Infinitable` type now implements the `Hash` trait. ## 1.2.0 * Negation operator is now supported. * The `Infinitable` type now implement...
f2efbf0d46a83da33c13f3756053b038a5cfacce
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/kitchen-tests/cookbooks/end_to_end/recipes/_snap.rb end snap_package "hello" do action :remove end snap_package "hello" snap_package "hello" do action :purge end snap_package "hello" do options ["devmode"] end snap_package "hello" do action :remove end snap_package %w(hello black) <|f...
end snap_package "hello" do action :remove end snap_package "hello" snap_package "hello" do action :purge end snap_package "hello" do options ["devmode"] end snap_package "hello" do action :remove end snap_package %w{hello black}
<|file_sep|>original/kitchen-tests/cookbooks/end_to_end/recipes/_snap.rb end snap_package "hello" do action :remove end snap_package "hello" snap_package "hello" do action :purge end snap_package "hello" do options ["devmode"] end snap_package "hello" do action :remove end snap_package %w(hello black) <|f...
ef5229ecadba3dc0b37825232267568c274119bd
kitchen-tests/cookbooks/end_to_end/recipes/_snap.rb
kitchen-tests/cookbooks/end_to_end/recipes/_snap.rb
Ruby
<|file_sep|>app/core/templates/directory_components/base.html.diff original: {% include 'directory_components/header_static.html' %} updated: {% include 'directory_components/header_footer/header_static.html' %} <|file_sep|>original/app/core/templates/directory_components/base.html <!--[if IE 8]><link href=...
<!--[if IE 8]><link href="{% static "stylesheets/ie8.css" %}" media="screen" rel="stylesheet" type="text/css" /><![endif]--> {% endblock %} {% block head_other %} <meta name="google-site-verification" content="UsYPpFjZgK_HPJX0BmyaiSEFr6VDk-8kD4NARXzhhCE" /> {% endblock %} {% block body_header %} {% includ...
<|file_sep|>app/core/templates/directory_components/base.html.diff original: {% include 'directory_components/header_static.html' %} updated: {% include 'directory_components/header_footer/header_static.html' %} <|file_sep|>original/app/core/templates/directory_components/base.html <!--[if IE 8]><link href=...
895159b7d7a6a6025de874ebea9ba71f71b0495f
app/core/templates/directory_components/base.html
app/core/templates/directory_components/base.html
HTML
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.3 podfile: Example/Podfile before_install: - brew update - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - cd Example && pod repo update && pod install script: - x...
language: objective-c osx_image: xcode8.3 podfile: Example/Podfile before_install: - brew update - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - cd Example && pod repo update && pod install script: - xcodebuild clean build -workspace ...
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.3 podfile: Example/Podfile before_install: - brew update - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - cd Example && pod repo update && pod install script: - x...
c5146652ff6f9b311966ff8edce0a3529060af88
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/interventions/create.js.erb <%- if @intervention.present? %> var data = { name: "<%= @intervention.name %>", comment: "<%= @intervention.comment %>", goal: "<%= @intervention.goal %>", start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>", end_date: "<%...
start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>", end_date: "<%= @intervention.end_date.strftime('%B %e, %Y') if @intervention.end_date.present? %>", educator_email: "<%= @intervention.educator.email if @intervention.educator.present? %>", id: "<%= @intervention.id %>" } var cell_...
<|file_sep|>original/app/views/interventions/create.js.erb <%- if @intervention.present? %> var data = { name: "<%= @intervention.name %>", comment: "<%= @intervention.comment %>", goal: "<%= @intervention.goal %>", start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>", end_date: "<%...
15861558bcd7ce5714bb7f729be960e2be0ee871
app/views/interventions/create.js.erb
app/views/interventions/create.js.erb
HTML+ERB
<|file_sep|>original/Containerizer/make.bat :: msbuild must be in path SET PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319 where msbuild if errorLevel 1 ( echo "msbuild was not found on PATH" && exit /b 1 ) git submodule update --init --recursive cd IronFrame call build.bat || exit /b 1 cd .. rmdir /S /Q pa...
:: msbuild must be in path SET PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319 where msbuild if errorLevel 1 ( echo "msbuild was not found on PATH" && exit /b 1 ) git submodule update --init --recursive cd IronFrame call build.bat build || exit /b 1 cd .. rmdir /S /Q packages bin\nuget restore || exit /b 1 ...
<|file_sep|>original/Containerizer/make.bat :: msbuild must be in path SET PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319 where msbuild if errorLevel 1 ( echo "msbuild was not found on PATH" && exit /b 1 ) git submodule update --init --recursive cd IronFrame call build.bat || exit /b 1 cd .. rmdir /S /Q pa...
c84b42177b331c4e2c5c04e07c0167b0db7eb6bb
Containerizer/make.bat
Containerizer/make.bat
Batchfile
<|file_sep|>original/lib/specinfra/configuration.rb end @os end def method_missing(meth, val=nil) key = meth.to_s key.gsub!(/=$/, '') if ! val.nil? instance_variable_set("@#{key}", val) RSpec.configuration.send(:"#{key}=", val) if defined?(RSpec) ...
end @os end def method_missing(meth, val=nil) key = meth.to_s key.gsub!(/=$/, '') ret = nil begin if ! val.nil? instance_variable_set("@#{key}", val) RSpec.configuration.send(:"#{key}=", val) if defined?(RSpec) end ...
<|file_sep|>original/lib/specinfra/configuration.rb end @os end def method_missing(meth, val=nil) key = meth.to_s key.gsub!(/=$/, '') if ! val.nil? instance_variable_set("@#{key}", val) RSpec.configuration.send(:"#{key}=", val) if defined?(RSpec) ...
f5863e7a72a93af42f9b6ef0c85abbabf75b2ccb
lib/specinfra/configuration.rb
lib/specinfra/configuration.rb
Ruby
<|file_sep|>original/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb <|file_sep|>current/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb <|file_sep|>updated/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb
module OkComputer class ResqueFailureThresholdCheck < SizeThresholdCheck attr_accessor :threshold # Public: Initialize a check for a backed-up Resque queue # # threshold - An Integer to compare the queue's count against to consider # it backed up def initialize(threshold) self.thresho...
<|file_sep|>original/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb <|file_sep|>current/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb <|file_sep|>updated/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb module OkComputer class ResqueFailureThresholdCheck < Siz...
79fc0e3f119a6de384acb72968d77792400009ff
lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb
lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb
Ruby
<|file_sep|>original/README.md # noms A quick hack for querying the protein, fat, and carbs of various foods. This script utilizes the Wolfram Alpha API and, thus, requires an API key. You can obtain a key [here](http://products.wolframalpha.com/api/). ## usage <|file_sep|>current/README.md # noms A quick hack for...
# noms A quick hack for querying the protein, fat, and carbs of various foods. This script utilizes the Wolfram Alpha API and, thus, requires an API key. You can obtain a key [here](http://products.wolframalpha.com/api/). ## Usage ```bash $ ./noms.py milk ---- Protein: 10g Fat: 5g Carbs: 18g ``` ## Known Issues *...
<|file_sep|>original/README.md # noms A quick hack for querying the protein, fat, and carbs of various foods. This script utilizes the Wolfram Alpha API and, thus, requires an API key. You can obtain a key [here](http://products.wolframalpha.com/api/). ## usage <|file_sep|>current/README.md # noms A quick hack for...
02079a430e4d074418134b0eec5487b535fbf021
README.md
README.md
Markdown
<|file_sep|>original/main.py @app.route('/js/<path:path>') def send_js(path): return send_from_directory('www/js', path) @app.route('/css/<path:path>') def send_css(path): return send_from_directory('www/css', path) def _error_as_json(ex, status=500, trace=True): logger.error(" -- Got exception in the ...
@app.route('/js/<path:path>') def send_js(path): return send_from_directory('www/js', path) @app.route('/css/<path:path>') def send_css(path): return send_from_directory('www/css', path) def _error_as_json(ex, status=500, trace=True): logger.error(" -- Got exception in the tagger backend!") logger....
<|file_sep|>original/main.py @app.route('/js/<path:path>') def send_js(path): return send_from_directory('www/js', path) @app.route('/css/<path:path>') def send_css(path): return send_from_directory('www/css', path) def _error_as_json(ex, status=500, trace=True): logger.error(" -- Got exception in the ...
3fbbba8dae5c97cedf414eea8a39482c01a269e6
main.py
main.py
Python
<|file_sep|>original/lib/loader.js /** * Loader. * * @param {String} current node environment * @constructor */ function Loader(options) { options = options || {}; this._nodeenv = options.nodeenv || process.env.NODE_ENV; this._path = options.path || ''; this._name = options.name || Loader.DOT_BASE; } /*...
/** * Loader. * * @param {String} current node environment * @constructor */ function Loader(options) { options = options || {}; this._nodeenv = options.nodeenv || process.env.NODE_ENV || 'development'; this._path = options.path || ''; this._name = options.name || Loader.DOT_BASE; } /** * Base name. *...
<|file_sep|>original/lib/loader.js /** * Loader. * * @param {String} current node environment * @constructor */ function Loader(options) { options = options || {}; this._nodeenv = options.nodeenv || process.env.NODE_ENV; this._path = options.path || ''; this._name = options.name || Loader.DOT_BASE; } /*...
704eae1356653a029f164077d4607eb270356d10
lib/loader.js
lib/loader.js
JavaScript
<|file_sep|>metadata/net.bierbaumer.otp_authenticator.txt.diff original: Auto Update Mode:None updated: Build:0.1.1,2 commit=v0.1.1 subdir=app gradle=yes Auto Update Mode:Version v%v <|file_sep|>original/metadata/net.bierbaumer.otp_authenticator.txt - Only camera access for QR code scanning * Encrypted s...
* Great Usability * Compatible with Google Authenticator . Repo Type:git Repo:https://github.com/0xbb/otp-authenticator Build:0.1,1 commit=v0.1.0 subdir=app gradle=yes Build:0.1.1,2 commit=v0.1.1 subdir=app gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:0.1.1 ...
<|file_sep|>metadata/net.bierbaumer.otp_authenticator.txt.diff original: Auto Update Mode:None updated: Build:0.1.1,2 commit=v0.1.1 subdir=app gradle=yes Auto Update Mode:Version v%v <|file_sep|>original/metadata/net.bierbaumer.otp_authenticator.txt - Only camera access for QR code scanning * Encrypted s...
b018f2e1792c11114c4e91964ecea45f94c1bf6b
metadata/net.bierbaumer.otp_authenticator.txt
metadata/net.bierbaumer.otp_authenticator.txt
Text
<|file_sep|>src/mb/res/search-bar.less.diff original: width: 120px; updated: width: 150px; <|file_sep|>original/src/mb/res/search-bar.less .icon-search { position: absolute; left: 5px; top: 3px; color: @inactive-color; } input { padding-left: 20px; width: 120px; border-color: ...
.icon-search { position: absolute; left: 5px; top: 3px; color: @inactive-color; } input { padding-left: 20px; width: 150px; border-color: @inactive-color; &:focus { width: 250px; } &:focus + .icon-search { color: @text-color; } } }
<|file_sep|>src/mb/res/search-bar.less.diff original: width: 120px; updated: width: 150px; <|file_sep|>original/src/mb/res/search-bar.less .icon-search { position: absolute; left: 5px; top: 3px; color: @inactive-color; } input { padding-left: 20px; width: 120px; border-color: ...
90582a1a348ccb21682b40fea87b7eed29db85a1
src/mb/res/search-bar.less
src/mb/res/search-bar.less
Less
<|file_sep|>test/__init__.py.diff original: updated: version = sys.version.split(" ")[0] majorminor = version[0:3] <|file_sep|>original/test/__init__.py import glob, os.path, sys # Add path to hiredis.so load path path = glob.glob("build/lib*/hiredis/*.so")[0] sys.path.insert(0, os.path.dirname(path)) from unittest...
import glob, os.path, sys version = sys.version.split(" ")[0] majorminor = version[0:3] # Add path to hiredis.so load path path = glob.glob("build/lib*-%s/hiredis/*.so" % majorminor)[0] sys.path.insert(0, os.path.dirname(path)) from unittest import * from . import reader def tests(): suite = TestSuite() suite.a...
<|file_sep|>test/__init__.py.diff original: updated: version = sys.version.split(" ")[0] majorminor = version[0:3] <|file_sep|>original/test/__init__.py import glob, os.path, sys # Add path to hiredis.so load path path = glob.glob("build/lib*/hiredis/*.so")[0] sys.path.insert(0, os.path.dirname(path)) from unittest...
c1f5b9e3bfa96762fdbe9f4ca54b3851b38294da
test/__init__.py
test/__init__.py
Python
<|file_sep|>original/templates/cf-infrastructure-aws.yml - name: v1-dummy-broker instances: 1 networks: - name: v1-dummy-broker-network static_ips: (( static_ips(10) )) - name: acceptance-tests instances: 1 networks: - name: v1-dummy-broker-network networks: (( merge )) resource_pools...
networks: - name: v1-dummy-broker-network static_ips: (( static_ips(10) )) - name: acceptance-tests instances: 1 networks: - name: v1-dummy-broker-network networks: (( merge )) resource_pools: - name: services-small stemcell: name: (( meta.stemcell.name )) version: (( merg...
<|file_sep|>original/templates/cf-infrastructure-aws.yml - name: v1-dummy-broker instances: 1 networks: - name: v1-dummy-broker-network static_ips: (( static_ips(10) )) - name: acceptance-tests instances: 1 networks: - name: v1-dummy-broker-network networks: (( merge )) resource_pools...
7751d1d6ae5ce81672542fee08d8c0d56519dddc
templates/cf-infrastructure-aws.yml
templates/cf-infrastructure-aws.yml
YAML
<|file_sep|>original/app/views/local_petitions/index.html.erb <% content_for(:page_title) { "Petitions in #{@constituency.name}" } %> <h1 class="page-title">Petitions in <%= @constituency.name %></h1> <div class="section-panel local-petitions"> <ol> <% @petitions.each do |petition| %> <li class="petition-i...
<% content_for(:page_title) { "Petitions in #{@constituency.name}" } %> <h1 class="page-title">Petitions in <%= @constituency.name %></h1> <div class="section-panel local-petitions"> <% if @petitions.any? %> <ol> <% @petitions.each do |petition| %> <li class="petition-item petition-<%= petition.sta...
<|file_sep|>original/app/views/local_petitions/index.html.erb <% content_for(:page_title) { "Petitions in #{@constituency.name}" } %> <h1 class="page-title">Petitions in <%= @constituency.name %></h1> <div class="section-panel local-petitions"> <ol> <% @petitions.each do |petition| %> <li class="petition-i...
5266fc1e99d88571f880a1feac80fa69d24a6a8d
app/views/local_petitions/index.html.erb
app/views/local_petitions/index.html.erb
HTML+ERB
<|file_sep|>src/app/search/searchService.spec.js.diff original: it ('should get workers', function() { updated: it('should return true if array already has the item', function() { var array = [{name: 'Yukihiro Matsumoto'}]; var item = {name: 'Yukihiro Matsumoto'}; <|file_sep|>ori...
SearchService.setWorkers([{name: 'Ross Gellar'}]); expect(SearchService.workers).toEqual([]); }); it('should return true if array already has the item', function() { var array = [{name: 'Yukihiro Matsumoto'}]; var item = {name: 'Yukihiro Matsumoto'}; ...
<|file_sep|>src/app/search/searchService.spec.js.diff original: it ('should get workers', function() { updated: it('should return true if array already has the item', function() { var array = [{name: 'Yukihiro Matsumoto'}]; var item = {name: 'Yukihiro Matsumoto'}; <|file_sep|>ori...
74db1d2c4900e7f3350fa54b5d246ca4a0de2da2
src/app/search/searchService.spec.js
src/app/search/searchService.spec.js
JavaScript
<|file_sep|>Testing/create_premade_test_db.sh.diff original: updated: createdb event_detection_test sed -i .bak -e 's/username-to-replace/'$(whoami)'/g' test_database.sql && rm test_database.sql.bak <|file_sep|>original/Testing/create_premade_test_db.sh psql event_detection_test < test_database.sql sed -i .bak -e 's/u...
createdb event_detection_test sed -i .bak -e 's/username-to-replace/'$(whoami)'/g' test_database.sql && rm test_database.sql.bak psql event_detection_test < test_database.sql
<|file_sep|>Testing/create_premade_test_db.sh.diff original: updated: createdb event_detection_test sed -i .bak -e 's/username-to-replace/'$(whoami)'/g' test_database.sql && rm test_database.sql.bak <|file_sep|>original/Testing/create_premade_test_db.sh psql event_detection_test < test_database.sql sed -i .bak -e 's/u...
f02c767e924e8ada364d0bed05c6c7ef6ca446f1
Testing/create_premade_test_db.sh
Testing/create_premade_test_db.sh
Shell
<|file_sep|>original/requirements.txt # Development django-debug-toolbar>=3.2,<3.6 django-extensions>=3.1,<3.2 flake8>=3.9,<4.1 isort>=5.9,<5.11 # Testing coverage>=5.1,<6.4 django-webtest>=1.9,<1.10 factory-boy>=3.2,<3.3 pinocchio==0.4.3 psycopg2-binary>=2.8,<2.10 pytest-cov>=2.12,<3.1 pytest-django>=4.4,<4.6 tox>=3....
# Development django-debug-toolbar>=3.2,<3.6 django-extensions>=3.1,<3.2 flake8>=3.9,<4.1 isort>=5.9,<5.11 # Testing coverage>=5.1,<6.5 django-webtest>=1.9,<1.10 factory-boy>=3.2,<3.3 pinocchio==0.4.3 psycopg2-binary>=2.8,<2.10 pytest-cov>=2.12,<3.1 pytest-django>=4.4,<4.6 tox>=3.23,<3.26
<|file_sep|>original/requirements.txt # Development django-debug-toolbar>=3.2,<3.6 django-extensions>=3.1,<3.2 flake8>=3.9,<4.1 isort>=5.9,<5.11 # Testing coverage>=5.1,<6.4 django-webtest>=1.9,<1.10 factory-boy>=3.2,<3.3 pinocchio==0.4.3 psycopg2-binary>=2.8,<2.10 pytest-cov>=2.12,<3.1 pytest-django>=4.4,<4.6 tox>=3....
4f7c83c36bba802e6ed83e42187c09305d9a8ff3
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/ReferenceImplementation.php <|file_sep|>current/tests/ReferenceImplementation.php <|file_sep|>updated/tests/ReferenceImplementation.php
<?php /** * @package File */ namespace My\Space; define("GLOBAL_CONSTANT_DEFINE", 'test'); /** * @package Constant */ define("Namespaced\\GLOBAL_CONSTANT_DEFINE", 'test'); /** * @package Constant\Specific */ const GLOBAL_CONSTANT_CONST = 'test'; function globalFunction($param1, \stdClass $param2, $param3 = '...
<|file_sep|>original/tests/ReferenceImplementation.php <|file_sep|>current/tests/ReferenceImplementation.php <|file_sep|>updated/tests/ReferenceImplementation.php <?php /** * @package File */ namespace My\Space; define("GLOBAL_CONSTANT_DEFINE", 'test'); /** * @package Constant */ define("Namespaced\\GLOBAL_CON...
efa854f55c3104431507c3b7467c3c88d1599f04
tests/ReferenceImplementation.php
tests/ReferenceImplementation.php
PHP
<|file_sep|>original/.travis.yml --- language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - ree env: - RAILS_VERSION="" - RAILS_VERSION="~>3.2.0" - RAILS_VERSION="~>3.1.0" - RAILS_VERSION="~>3.0.0" notifications: email: - sutto@sutto.net <|file_sep|>current/.travis.yml ---...
--- language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 # - jruby-18mode # - jruby-19mode - ree env: - RAILS_VERSION="" - RAILS_VERSION="~>3.2.0" - RAILS_VERSION="~>3.1.0" - RAILS_VERSION="~>3.0.0" notifications: email: - sutto@sutto.net
<|file_sep|>original/.travis.yml --- language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - ree env: - RAILS_VERSION="" - RAILS_VERSION="~>3.2.0" - RAILS_VERSION="~>3.1.0" - RAILS_VERSION="~>3.0.0" notifications: email: - sutto@sutto.net <|file_sep|>current/.travis.yml ---...
815ed9edef5e9e36ba858ed5577e69fe74b5a1c9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main.ts * @param source * Input text containing Rimu Markup. * * @param opts * Markup translation options. * * @returns Returns HTML output text. * * Example: * * Rimu.render('Hello *Rimu*!', {safeMode: 1}) * */ export function render(source: string, opts: options.RenderOptions...
* Markup translation options. * * @returns Returns HTML output text. * * Example: * * Rimu.render('Hello *Rimu*!', {safeMode: 1}) * */ export function render(source: string, opts: options.RenderOptions = {}): string { if (typeof source !== 'string') { throw new TypeError('render(): source argument is...
<|file_sep|>original/src/main.ts * @param source * Input text containing Rimu Markup. * * @param opts * Markup translation options. * * @returns Returns HTML output text. * * Example: * * Rimu.render('Hello *Rimu*!', {safeMode: 1}) * */ export function render(source: string, opts: options.RenderOptions...
af2043c5592546b626ff1e75154cc77fc9650cea
src/main.ts
src/main.ts
TypeScript
<|file_sep|>index.js.diff original: updated: var implicit = (opts && opts.implicit == false) ? false : true; <|file_sep|>original/index.js var path = require('path'); var pkg = require('./package.json'); var jeetPath = path.join(__dirname, 'styl') exports = module.exports = function (opts) { return function (st...
var path = require('path'); var pkg = require('./package.json'); var jeetPath = path.join(__dirname, 'styl') exports = module.exports = function (opts) { var implicit = (opts && opts.implicit == false) ? false : true; return function (style) { style.include(__dirname); if (implicit) { style.import...
<|file_sep|>index.js.diff original: updated: var implicit = (opts && opts.implicit == false) ? false : true; <|file_sep|>original/index.js var path = require('path'); var pkg = require('./package.json'); var jeetPath = path.join(__dirname, 'styl') exports = module.exports = function (opts) { return function (st...
e95edabe1b5f36f65e0e15e040fb5871d6d7e13d
index.js
index.js
JavaScript
<|file_sep|>original/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - tip install: - go get launchpad.net/gocheck - go get gopkg.in/bufio.v1 <|file_sep|>current/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - tip install: - go get launchpad.net/gocheck - go get gopkg.in/bufio.v1 <|file_sep|...
language: go go: - 1.1 - 1.2 - tip install: - go get launchpad.net/gocheck - go get gopkg.in/bufio.v1
<|file_sep|>original/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - tip install: - go get launchpad.net/gocheck - go get gopkg.in/bufio.v1 <|file_sep|>current/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - tip install: - go get launchpad.net/gocheck - go get gopkg.in/bufio.v1 <|file_sep|...
fe7b595919dec00e50dd74eda9aa8c697856fe91
.travis.yml
.travis.yml
YAML
<|file_sep|>user/pages/01.home/modular.md.diff original: - _sponsors updated: <|file_sep|>original/user/pages/01.home/modular.md onpage_menu: true body_classes: "modular header-image fullwidth" content: items: @self.modular order: by: default dir: asc custom: - ...
body_classes: "modular header-image fullwidth" content: items: @self.modular order: by: default dir: asc custom: - _event - _location - _programme - _speakers - _sponsors - _connect --- <style> #footer { display...
<|file_sep|>user/pages/01.home/modular.md.diff original: - _sponsors updated: <|file_sep|>original/user/pages/01.home/modular.md onpage_menu: true body_classes: "modular header-image fullwidth" content: items: @self.modular order: by: default dir: asc custom: - ...
3d4b7b5a170b3e27f3146a0d7af713d961194367
user/pages/01.home/modular.md
user/pages/01.home/modular.md
Markdown
<|file_sep|>original/google-cloud-core/src/main/java/com/google/cloud/package-info.java /* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License ...
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
<|file_sep|>original/google-cloud-core/src/main/java/com/google/cloud/package-info.java /* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License ...
3f0898f473abf7112792c189909d1c25af6c9d0d
google-cloud-core/src/main/java/com/google/cloud/package-info.java
google-cloud-core/src/main/java/com/google/cloud/package-info.java
Java
<|file_sep|>misc/janus.vim.diff original: syn match janusComment "//.*$" updated: syn keyword janusCommentTodo TODO FIXME XXX TBD contained syn match janusLineComment "\/\/.*" contains=janusCommentTodo syn region janusComment start="/\*" end="\*/" contains=janusCommentTodo <|file_sep|>original/misc/janus...
syn match janusNumber "\<\%([1-9]\d*\|0\)\>" syn keyword janusCommentTodo TODO FIXME XXX TBD contained syn match janusLineComment "\/\/.*" contains=janusCommentTodo syn region janusComment start="/\*" end="\*/" contains=janusCommentTodo hi def link janusNumber Number hi def link janusProcedure...
<|file_sep|>misc/janus.vim.diff original: syn match janusComment "//.*$" updated: syn keyword janusCommentTodo TODO FIXME XXX TBD contained syn match janusLineComment "\/\/.*" contains=janusCommentTodo syn region janusComment start="/\*" end="\*/" contains=janusCommentTodo <|file_sep|>original/misc/janus...
a57fc4e9d670881e0a27ca3c38d405bd45fcc108
misc/janus.vim
misc/janus.vim
VimL
<|file_sep|>original/.travis.yml language: ruby env: - CI=true rvm: - 1.8.7 - rbx-19mode - jruby - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby env: - CI=true rvm: - 1.8.7 - rbx-19mode - jruby - 1.9.3 - 2.0.0 <|file_sep|>updated/.travis.yml
language: ruby env: - CI=true rvm: # - 1.8.7 # Needs mini-test # - rbx-19mode # Time comparison fails # - jruby # 2 failures - 1.9.3 - 2.0.0
<|file_sep|>original/.travis.yml language: ruby env: - CI=true rvm: - 1.8.7 - rbx-19mode - jruby - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby env: - CI=true rvm: - 1.8.7 - rbx-19mode - jruby - 1.9.3 - 2.0.0 <|file_sep|>updated/.travis.yml language: ruby env: - CI=true rvm: # ...
7719675d032e4e5620e6cbf6c62bc15ef9bfee30
.travis.yml
.travis.yml
YAML
<|file_sep|>00_setup.sh.diff original: oc create -f pipeline.yml updated: oc new-project ci oc create -f pipeline.yml -n ci <|file_sep|>original/00_setup.sh # distribution for a full listing of individual contributors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file excep...
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the Licens...
<|file_sep|>00_setup.sh.diff original: oc create -f pipeline.yml updated: oc new-project ci oc create -f pipeline.yml -n ci <|file_sep|>original/00_setup.sh # distribution for a full listing of individual contributors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file excep...
ed19b4bbbcb506a547e825d82d33569c67847ae7
00_setup.sh
00_setup.sh
Shell
<|file_sep|>original/setup.py version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.co...
version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url...
<|file_sep|>original/setup.py version='0.1', description='Django app providing view interface to django-secretballot.', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.co...
b0e7db83e1b81c5babe0ac9193d5a71f655bd75c
setup.py
setup.py
Python
<|file_sep|>original/.appveyor.yml build: build_script: # Build the library - cd c:\dev\lib-template-cmake - md build - cd build - cmake -DBUILD_TESTING:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="/W4" .. # Build the library for Release and Debug - cmake --build . --config Debug - cmake --build ...
install: build: build_script: # Build the library - cd c:\dev\lib-template-cmake - md build - cd build - cmake -DBUILD_TESTING:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="/W4" .. # Build the library for Release and Debug - cmake --build . --config Debug - cmake --build . --config Release after_...
<|file_sep|>original/.appveyor.yml build: build_script: # Build the library - cd c:\dev\lib-template-cmake - md build - cd build - cmake -DBUILD_TESTING:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="/W4" .. # Build the library for Release and Debug - cmake --build . --config Debug - cmake --build ...
6a2aa48cd4cb533a1d8aea554710d9afca8355aa
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.connectsdk.android_google_cast" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" /> <appl...
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.connectsdk.android_google_cast" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="22" /> <application > </application> </ma...
<|file_sep|>original/AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.connectsdk.android_google_cast" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" /> <appl...
64795d7363767dbf0220327f0469460388ea9ed7
AndroidManifest.xml
AndroidManifest.xml
XML
<|file_sep|>original/packages/dcos-installer-ui/buildinfo.json { "docker": "node:4.2.6", "single_source": { "kind": "git", "git": "https://github.com/dcos/dcos-installer-ui.git", "ref": "7eff605712e4eec4122b2b375460dc98545ac39a", "ref_origin": "release/1.7" } } <|file_sep|>current/packages/dcos-in...
{ "docker": "node:4.2.6", "single_source": { "kind": "git", "git": "https://github.com/dcos/dcos-installer-ui.git", "ref": "dfaed125a01b8590d74c58b78c0b080a0ae6428f", "ref_origin": "release/1.7" } }
<|file_sep|>original/packages/dcos-installer-ui/buildinfo.json { "docker": "node:4.2.6", "single_source": { "kind": "git", "git": "https://github.com/dcos/dcos-installer-ui.git", "ref": "7eff605712e4eec4122b2b375460dc98545ac39a", "ref_origin": "release/1.7" } } <|file_sep|>current/packages/dcos-in...
85f581128f83f5ac2236b7d3b5aea69c40757f7b
packages/dcos-installer-ui/buildinfo.json
packages/dcos-installer-ui/buildinfo.json
JSON
<|file_sep|>original/dailydevo/cac_actions.py from common.telegram import telegram_utils from dailydevo import cac_utils class CACDevoAction(action_classes.Action): def identifier(self): return "/cacdevo" def name(self): return "Center for Action and Contemplation Devotional" def resolve...
from dailydevo import cac_utils class CACDevoAction(action_classes.Action): def identifier(self): return "/cacdevo" def name(self): return "Center for Action and Contemplation Devotional" def resolve(self, userObj): passage = cac_utils.get_cacdevo(userObj.get_version()) i...
<|file_sep|>original/dailydevo/cac_actions.py from common.telegram import telegram_utils from dailydevo import cac_utils class CACDevoAction(action_classes.Action): def identifier(self): return "/cacdevo" def name(self): return "Center for Action and Contemplation Devotional" def resolve...
511030652f4f411b4a97e3412899c6c7980348d4
dailydevo/cac_actions.py
dailydevo/cac_actions.py
Python
<|file_sep|>original/helper/swf.coffee <|file_sep|>current/helper/swf.coffee <|file_sep|>updated/helper/swf.coffee
_ = require "underscore" AWS = require "aws-sdk" Match = require "mtr-match" Promise = require "bluebird" module.exports = (options) -> Match.check options, Match.ObjectIncluding accessKeyId: String secretAccessKey: String region: String Promise.promisifyAll new AWS.SWF _.extend apiVersion: "2012-0...
<|file_sep|>original/helper/swf.coffee <|file_sep|>current/helper/swf.coffee <|file_sep|>updated/helper/swf.coffee _ = require "underscore" AWS = require "aws-sdk" Match = require "mtr-match" Promise = require "bluebird" module.exports = (options) -> Match.check options, Match.ObjectIncluding accessKeyId: Stri...
2efad6bc1967a7414a7e58b8e84db735624e5d1d
helper/swf.coffee
helper/swf.coffee
CoffeeScript
<|file_sep|>original/spec/realworld/double_check_spec.rb # frozen_string_literal: true RSpec.describe "double checking sources", :realworld => true do it "finds already-installed gems" do create_file("rails.gemspec", <<-RUBY) Gem::Specification.new do |s| s.name = "rails" s.version ...
# frozen_string_literal: true RSpec.describe "double checking sources", :realworld => true, :sometimes => true do it "finds already-installed gems" do create_file("rails.gemspec", <<-RUBY) Gem::Specification.new do |s| s.name = "rails" s.version = "5.1.4" s.summary = ...
<|file_sep|>original/spec/realworld/double_check_spec.rb # frozen_string_literal: true RSpec.describe "double checking sources", :realworld => true do it "finds already-installed gems" do create_file("rails.gemspec", <<-RUBY) Gem::Specification.new do |s| s.name = "rails" s.version ...
da360659f79ebaff0c26a9db143019bf3cb0af97
spec/realworld/double_check_spec.rb
spec/realworld/double_check_spec.rb
Ruby
<|file_sep|>original/futures-select-macro/Cargo.toml [package] name = "futures-select-macro-preview" edition = "2018" version = "0.3.0-alpha.13" authors = ["Taylor Cramer <cramertj@google.com>"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nu...
[package] name = "futures-select-macro-preview" edition = "2018" version = "0.3.0-alpha.13" authors = ["Taylor Cramer <cramertj@google.com>"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" documentation = "https://...
<|file_sep|>original/futures-select-macro/Cargo.toml [package] name = "futures-select-macro-preview" edition = "2018" version = "0.3.0-alpha.13" authors = ["Taylor Cramer <cramertj@google.com>"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nu...
30cb841c46e74907e8a21cafef3c9dc457d3f6dc
futures-select-macro/Cargo.toml
futures-select-macro/Cargo.toml
TOML
<|file_sep|>original/vent/core/rq_worker/requirements.txt docker==3.6.0 python-magic==0.4.15 redis==2.10.6 rq==0.12.0 vent==0.6.9 <|file_sep|>current/vent/core/rq_worker/requirements.txt docker==3.6.0 python-magic==0.4.15 redis==2.10.6 rq==0.12.0 vent==0.6.9 <|file_sep|>updated/vent/core/rq_worker/requirements.txt
docker==3.6.0 python-magic==0.4.15 redis==2.10.6 rq==0.13.0 vent==0.6.9
<|file_sep|>original/vent/core/rq_worker/requirements.txt docker==3.6.0 python-magic==0.4.15 redis==2.10.6 rq==0.12.0 vent==0.6.9 <|file_sep|>current/vent/core/rq_worker/requirements.txt docker==3.6.0 python-magic==0.4.15 redis==2.10.6 rq==0.12.0 vent==0.6.9 <|file_sep|>updated/vent/core/rq_worker/requirements.txt dock...
d6573b593f2335eba89c8b05d78dfd9d3c53945c
vent/core/rq_worker/requirements.txt
vent/core/rq_worker/requirements.txt
Text
<|file_sep|>reagan.rb.diff original: updated: results = [] <|file_sep|>reagan.rb.diff original: ReaganTestVersion.new(cookbook).test ReaganTestKnife.new(cookbook).test updated: results << ReaganTestVersion.new(cookbook).test results << ReaganTestKnife.new(cookbook).test <|file_sep|>original/reagan.rb # make ...
def pretty_print(string) puts "\n#{string}" string.length.times { printf '-' } puts "\n" end puts "Grabbing contents of pull request #{ENV['ghprbPullId']}\n" cookbooks = ReaganChange.new.files pretty_print('The following cookbooks were changed') cookbooks.each { |cb| puts cb } results = [] cookbooks.each do |c...
<|file_sep|>reagan.rb.diff original: updated: results = [] <|file_sep|>reagan.rb.diff original: ReaganTestVersion.new(cookbook).test ReaganTestKnife.new(cookbook).test updated: results << ReaganTestVersion.new(cookbook).test results << ReaganTestKnife.new(cookbook).test <|file_sep|>original/reagan.rb # make ...
d4b5b59f877b07fc26621c60122f09eaa63e4e60
reagan.rb
reagan.rb
Ruby
<|file_sep|>original/packages/git-url-parse/src/index.js branch: 'master' } } export async function gitUrlParse ({ url }) { let result if (url) { result = _gitUrlParse(url) } else { const path = await findUp('.git') if (!path) { return null } const info = await gitconfig(path) ...
branch: 'master' } } export async function gitUrlParse ({ url }) { let result if (url) { result = _gitUrlParse(url) } else { const path = findUp.sync('.git', { type: 'directory', cwd: process.cwd() }) if (!path) { return null } const info = await gitconfig(path) result = ...
<|file_sep|>original/packages/git-url-parse/src/index.js branch: 'master' } } export async function gitUrlParse ({ url }) { let result if (url) { result = _gitUrlParse(url) } else { const path = await findUp('.git') if (!path) { return null } const info = await gitconfig(path) ...
fa70c8aef02b3659e0e148c04d8f990ac1b4163b
packages/git-url-parse/src/index.js
packages/git-url-parse/src/index.js
JavaScript
<|file_sep|>original/test_case.h #ifndef TEST_CASE_H #define TEST_CASE_H namespace fs_testing { class test_case { public: virtual ~test_case() {}; virtual int setup() = 0; virtual int run() = 0; virtual int check_test() = 0; }; typedef test_case* create_t(); typedef void destroy_t(test_case*); } // namesp...
#ifndef TEST_CASE_H #define TEST_CASE_H namespace fs_testing { class test_case { public: virtual ~test_case() {}; virtual int setup() = 0; virtual int run() = 0; virtual int check_test() = 0; }; typedef test_case* test_create_t(); typedef void test_destroy_t(test_case*); } // namespace fs_testing #endif
<|file_sep|>original/test_case.h #ifndef TEST_CASE_H #define TEST_CASE_H namespace fs_testing { class test_case { public: virtual ~test_case() {}; virtual int setup() = 0; virtual int run() = 0; virtual int check_test() = 0; }; typedef test_case* create_t(); typedef void destroy_t(test_case*); } // namesp...
47d66020e838b170d10e4e081c8592d2ec3816c4
test_case.h
test_case.h
C
<|file_sep|>original/copasi/output/CUDFunction.h <|file_sep|>current/copasi/output/CUDFunction.h <|file_sep|>updated/copasi/output/CUDFunction.h
/***************************************************************************** * PROGRAM NAME: CUDFunction.h * PROGRAMMER: Wei Sun wsun@vt.edu * PURPOSE: Define the user defined function object *****************************************************************************/ #ifndef COPASI_CUDFunction #define COPASI_CUDFu...
<|file_sep|>original/copasi/output/CUDFunction.h <|file_sep|>current/copasi/output/CUDFunction.h <|file_sep|>updated/copasi/output/CUDFunction.h /***************************************************************************** * PROGRAM NAME: CUDFunction.h * PROGRAMMER: Wei Sun wsun@vt.edu * PURPOSE: Define the user def...
a95b411928a332a324b9b48d2e1823b68fd8a4cb
copasi/output/CUDFunction.h
copasi/output/CUDFunction.h
C
<|file_sep|>query/spec/server_spec.rb.diff original: updated: let(:appointments) { [] } <|file_sep|>query/spec/server_spec.rb.diff original: allow(CQalendaRS::Query::AppointmentsView).to receive(:all) updated: allow(CQalendaRS::Query::AppointmentsView).to receive(:all).and_return(appointments) <|fil...
get "/appointments" expect(CQalendaRS::Query::AppointmentsView).to have_received(:all) end context "I have no appointments" do it "returns all appointments for all time" do get "/appointments" expect(last_response.body).to eql("[]") end end context "I have one a...
<|file_sep|>query/spec/server_spec.rb.diff original: updated: let(:appointments) { [] } <|file_sep|>query/spec/server_spec.rb.diff original: allow(CQalendaRS::Query::AppointmentsView).to receive(:all) updated: allow(CQalendaRS::Query::AppointmentsView).to receive(:all).and_return(appointments) <|fil...
e02a10f8e6aaa3c2b9060f26d3cf45254c245064
query/spec/server_spec.rb
query/spec/server_spec.rb
Ruby
<|file_sep|>original/jest-preset.json { "haste": { "defaultPlatform": "ios", "platforms": ["android", "ios", "native"], "providesModuleNodeModules": [ "react-native" ] }, "moduleNameMapper": { "^React$": "<rootDir>/node_modules/react" }, "modulePathIgnorePatterns": [ "<rootDir>/n...
{ "haste": { "defaultPlatform": "ios", "platforms": ["android", "ios", "native"], "hasteImplModulePath": "<rootDir>/node_modules/react-native/jest/hasteImpl.js", "providesModuleNodeModules": [ "react-native" ] }, "moduleNameMapper": { "^React$": "<rootDir>/node_modules/react" }, ...
<|file_sep|>original/jest-preset.json { "haste": { "defaultPlatform": "ios", "platforms": ["android", "ios", "native"], "providesModuleNodeModules": [ "react-native" ] }, "moduleNameMapper": { "^React$": "<rootDir>/node_modules/react" }, "modulePathIgnorePatterns": [ "<rootDir>/n...
9927d209271a4d29326f79546b6501f556eeea92
jest-preset.json
jest-preset.json
JSON
<|file_sep|>app/core/directives/unique-name.js.diff original: const names = getNames(); updated: <|file_sep|>original/app/core/directives/unique-name.js const names = getNames(); function getNames() { const nameList = Wallet.accountList.map(account => account.alias); const contacts = Contacts.getNames(); re...
function getNames() { const nameList = Wallet.accountList.map(account => account.alias); const contacts = Contacts.getNames(); return new Set([...nameList, ...contacts]); } return { require: 'ngModel', link: function (scope, element, attributes, ngModel) { ngModel.$validators.uniqueName = function (mod...
<|file_sep|>app/core/directives/unique-name.js.diff original: const names = getNames(); updated: <|file_sep|>original/app/core/directives/unique-name.js const names = getNames(); function getNames() { const nameList = Wallet.accountList.map(account => account.alias); const contacts = Contacts.getNames(); re...
2cac5c87cd3dc6f2251af63cfc3af935813231a1
app/core/directives/unique-name.js
app/core/directives/unique-name.js
JavaScript
<|file_sep|>README.md.diff original: This is my project for CS 585: Introduction to Game Development. This is my implementation of the assignments given to us. updated: This is my project for CS 585: Introduction to Game Development. <|file_sep|>README.md.diff original: Once the project is built a ./bin directory will ...
To also build the unit tests call **cmake .. -DBUILD_TESTS=ON** instead of **cmake ..**. ## Usage ## To run it from the project root directory simply call **./build/gdev**. To run the tests call **./build/tests**. ## See ## [Standards Document][Standards] ## References ## I used [this repo](https://github.com/bas...
<|file_sep|>README.md.diff original: This is my project for CS 585: Introduction to Game Development. This is my implementation of the assignments given to us. updated: This is my project for CS 585: Introduction to Game Development. <|file_sep|>README.md.diff original: Once the project is built a ./bin directory will ...
d79e185b31a2322febdb1ab4a4ac483f1ba29a27
README.md
README.md
Markdown