prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/requirements.txt ansible-lint==4.3.4 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.2.2 tox==3.20.0 <|file_sep|>current/requirements.txt ansible-lint==4.3.4 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.2.2 tox==3.20.0 <|file_sep|>updated/requirement...
ansible-lint==4.3.4 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.3.0 tox==3.20.0
<|file_sep|>original/requirements.txt ansible-lint==4.3.4 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.2.2 tox==3.20.0 <|file_sep|>current/requirements.txt ansible-lint==4.3.4 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.2.2 tox==3.20.0 <|file_sep|>updated/requirement...
254a695aa17bde5fbc0901bd0b1f39b1d9847865
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md # slackbot-integration [![Build Status](https://travis-ci.org/fergusstrange/cloudbot.svg?branch=master)](https://travis-ci.org/fergusstrange/cloudbot) Build with the ```build-docker.sh``` script to compile with Gradle, run tests and generate a Docker image named fergusstrange/cloudbot-sl...
# slackbot-integration [![Build Status](https://travis-ci.org/fergusstrange/cloudbot.svg?branch=master)](https://travis-ci.org/fergusstrange/cloudbot) Build with the ```build-docker.sh``` script to compile with Gradle, run tests and generate a Docker image named fergusstrange/cloudbot-slack-integration. Run the docke...
<|file_sep|>original/README.md # slackbot-integration [![Build Status](https://travis-ci.org/fergusstrange/cloudbot.svg?branch=master)](https://travis-ci.org/fergusstrange/cloudbot) Build with the ```build-docker.sh``` script to compile with Gradle, run tests and generate a Docker image named fergusstrange/cloudbot-sl...
5ac6895b8a7586d0a286aebb4c08b41f3048fee9
README.md
README.md
Markdown
<|file_sep|>setup.py.diff original: from distutils.extension import Extension updated: from distutils.core import Extension <|file_sep|>original/setup.py maintainer='Evert Rol', maintainer_email='e.rol@sron.nl', packages=['mpyfit'], url='https://github.com/evertrol/mpyfit', classifiers=[ 'In...
maintainer_email='e.rol@sron.nl', packages=['mpyfit'], url='https://github.com/evertrol/mpyfit', classifiers=[ 'Intentended Audience :: Science/Research', 'Topic :: Scientific/Engineering', 'Programing Language :: Python', 'Licence :: OSI Approved :: BSD License', ], ...
<|file_sep|>setup.py.diff original: from distutils.extension import Extension updated: from distutils.core import Extension <|file_sep|>original/setup.py maintainer='Evert Rol', maintainer_email='e.rol@sron.nl', packages=['mpyfit'], url='https://github.com/evertrol/mpyfit', classifiers=[ 'In...
309fcf2b4a429396016716545a9982cf62a2a089
setup.py
setup.py
Python
<|file_sep|>original/app/views/team_name/sign.html.erb <% content_for :body_class, "#{ @colour }" %> <h1> <%= (@team_name.upcase == @team_name || @team_name.downcase == @team_name) ? @team_name.upcase : @team_name %> </h1> <|file_sep|>current/app/views/team_name/sign.html.erb <% content_for :body_class, "#{ @colour ...
<% content_for :body_class, "#{ @colour }" %> <h1> <% @team_name = @team_name.gsub(/^(GOV.UK)/i, "\\1<br>") %> <%= (@team_name.upcase == @team_name || @team_name.downcase == @team_name) ? sanitize(@team_name.upcase) : sanitize(@team_name) %> </h1>
<|file_sep|>original/app/views/team_name/sign.html.erb <% content_for :body_class, "#{ @colour }" %> <h1> <%= (@team_name.upcase == @team_name || @team_name.downcase == @team_name) ? @team_name.upcase : @team_name %> </h1> <|file_sep|>current/app/views/team_name/sign.html.erb <% content_for :body_class, "#{ @colour ...
3bca2987aa8e822da860f4993b383172ba31b424
app/views/team_name/sign.html.erb
app/views/team_name/sign.html.erb
HTML+ERB
<|file_sep|>original/app/controllers/games_controller.rb class GamesController < ApplicationController def x01 @title = '301' @scores = [] 10.times do @scores.push(0) end @total_score = 301 end end <|file_sep|>current/app/controllers/games_controller.rb class GamesController < Applicatio...
class GamesController < ApplicationController def x01 @title = '301' @scores = [] 12.times do @scores.push(0) end @total_score = 301 end end
<|file_sep|>original/app/controllers/games_controller.rb class GamesController < ApplicationController def x01 @title = '301' @scores = [] 10.times do @scores.push(0) end @total_score = 301 end end <|file_sep|>current/app/controllers/games_controller.rb class GamesController < Applicatio...
ab32d8c27bce65a7a94af616c7f518f77a5679b2
app/controllers/games_controller.rb
app/controllers/games_controller.rb
Ruby
<|file_sep|>app/views/materials/index.html.erb.diff original: <hr /> updated: <% if can? :manage, Material %> <%= render :partial => 'folder_controls' %> <% end %> <hr> <|file_sep|>app/views/materials/index.html.erb.diff original: updated: <|file_sep|>original/app/views/materials/index.html.erb <h2 class=...
<h1>Materials: <%= @folder.name %></h1> </div> <% if @folder.description %> <div> <h2 class="materials-description-title">Folder Description</h2> <p><%= @folder.description %></p> <% if can? :manage, Material %> <%= render :partial => 'folder_controls' %> <% end %> <hr> </div> <% end %> <div class="conta...
<|file_sep|>app/views/materials/index.html.erb.diff original: <hr /> updated: <% if can? :manage, Material %> <%= render :partial => 'folder_controls' %> <% end %> <hr> <|file_sep|>app/views/materials/index.html.erb.diff original: updated: <|file_sep|>original/app/views/materials/index.html.erb <h2 class=...
7c3d4807f61131f4675c863bc983e270af0d3fe5
app/views/materials/index.html.erb
app/views/materials/index.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.11" - "0.10" - "0.8"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8"
dc3759986d55377b2b3875678c2f459826c65081
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # Cartographie Cartographie is a wrapper for Google's Static Maps API ## Installation Add this line to your application's Gemfile: gem 'cartographie' Or install it yourself as: $ gem install cartographie ## Usage ```ruby require 'cartographie' Cartographie.map('San Francis...
# Cartographie [![Build Status](https://secure.travis-ci.org/mattonrails/cartographie.png?branch=master)](http://travis-ci.org/mattonrails/cartographie) Cartographie is a wrapper for Google's Static Maps API ## Installation Add this line to your application's Gemfile: gem 'cartographie' Or install it yourself ...
<|file_sep|>original/README.md # Cartographie Cartographie is a wrapper for Google's Static Maps API ## Installation Add this line to your application's Gemfile: gem 'cartographie' Or install it yourself as: $ gem install cartographie ## Usage ```ruby require 'cartographie' Cartographie.map('San Francis...
f7e5b9743b5857d2330227f3d507c22f7edc229d
README.md
README.md
Markdown
<|file_sep|>original/src/problems/FractionToRecurringDecimal.java <|file_sep|>current/src/problems/FractionToRecurringDecimal.java <|file_sep|>updated/src/problems/FractionToRecurringDecimal.java
package problems; public class FractionToRecurringDecimal { public String fractionToDecimal(int numerator, int denominator) { if (denominator == 0) return "NULL"; boolean sign = false; if (numerator < 0) { numerator = -numerator; sign = !sign; ...
<|file_sep|>original/src/problems/FractionToRecurringDecimal.java <|file_sep|>current/src/problems/FractionToRecurringDecimal.java <|file_sep|>updated/src/problems/FractionToRecurringDecimal.java package problems; public class FractionToRecurringDecimal { public String fractionToDecimal(int numerator, int denomi...
d967ed6b2ed16ac44f92b3b41667ad4e557a1668
src/problems/FractionToRecurringDecimal.java
src/problems/FractionToRecurringDecimal.java
Java
<|file_sep|>original/pkgs/applications/networking/browsers/chromium/sources.nix # This file is autogenerated from update.sh in the same directory. { dev = { version = "25.0.1364.36"; url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-25.0.1364.36.tar.bz2"; sha256 = "1pn7qv1s...
# This file is autogenerated from update.sh in the same directory. { dev = { version = "25.0.1364.36"; url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-25.0.1364.36.tar.bz2"; sha256 = "1pn7qv1s6lcx8k26h89x9zdy43rzdq12f92s2l6cfdhr9ls9wv0s"; }; beta = { version = "25...
<|file_sep|>original/pkgs/applications/networking/browsers/chromium/sources.nix # This file is autogenerated from update.sh in the same directory. { dev = { version = "25.0.1364.36"; url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-25.0.1364.36.tar.bz2"; sha256 = "1pn7qv1s...
9b726e94a82b735fd9e64c23410e245af0dbbca7
pkgs/applications/networking/browsers/chromium/sources.nix
pkgs/applications/networking/browsers/chromium/sources.nix
Nix
<|file_sep|>pywkeeper.py.diff original: updated: #!/usr/bin/env python <|file_sep|>pywkeeper.py.diff original: updated: import optparse <|file_sep|>pywkeeper.py.diff original: updated: def main(options, arguments): pass <|file_sep|>original/pywkeeper.py key = open(KEY_FILE, 'rb').read() except IOErr...
def encrypt(): bytes = multiple_of(open(DECRYPTED_FILE, 'rt').read().encode(), BLOCK_LENGTH) iv = os.urandom(16) c = get_cipher(iv) return (iv, c.encrypt(bytes)) def decrypt(): bytes = open(ENCRYPTED_FILE, 'rb').read() c = get_cipher(bytes[:16]) return c.decrypt(bytes).decode('utf-8') def ...
<|file_sep|>pywkeeper.py.diff original: updated: #!/usr/bin/env python <|file_sep|>pywkeeper.py.diff original: updated: import optparse <|file_sep|>pywkeeper.py.diff original: updated: def main(options, arguments): pass <|file_sep|>original/pywkeeper.py key = open(KEY_FILE, 'rb').read() except IOErr...
487382ab2aafe1c92aa64192432379b4f3809732
pywkeeper.py
pywkeeper.py
Python
<|file_sep|>original/bower.json { "name": "touche", "homepage": "https://github.com/benhowdle89/touche", "_release": "7c5631a1a6", "main": "src/touche.js", "license": "MIT", "dependencies": { "jquery": "~1.10.0" }, "_resolution": { "type": "branch", "branch": "master", "commit": "7c5631a...
{ "name": "touche", "homepage": "https://github.com/benhowdle89/touche", "_release": "7c5631a1a6", "main": "src/touche.js", "license": "MIT", "dependencies": { "jquery": ">=1.10.0" }, "_resolution": { "type": "branch", "branch": "master", "commit": "7c5631a1a660d1dd1f2a417459b749c9525d3a...
<|file_sep|>original/bower.json { "name": "touche", "homepage": "https://github.com/benhowdle89/touche", "_release": "7c5631a1a6", "main": "src/touche.js", "license": "MIT", "dependencies": { "jquery": "~1.10.0" }, "_resolution": { "type": "branch", "branch": "master", "commit": "7c5631a...
64678c40857d18b7f875bafd6a35b821a68c860d
bower.json
bower.json
JSON
<|file_sep|>packages/wa/wai-middleware-travisci.yaml.diff original: hash: 8333ae4a34ae30199d32553ef8a1e22b8cc7f56968359dc715a62c4f934ca939 updated: hash: 1db2466267ecdac22169325ba6e915561f68d5e7d916f7c5f176f1578e173348 <|file_sep|>packages/wa/wai-middleware-travisci.yaml.diff original: cryptonite: ! '>=0.3 && <0.26' ...
changelog: '' basic-deps: bytestring: ^>=0.10.8.0 wai: ! '>=3.0.1 && <3.3' base: ==4.9.* || ==4.10.* || ^>=4.11 || ^>=4.12 base64-bytestring: -any text: -any vault: ! '>=0.3.0.0 && <0.4' cryptonite: ! '>=0.3 && <0.27' transformers: ! '>=0.2 && <0.6' http-types: ! '>=0.7.0 && <0.13' aeson: ! '>=0.8 &...
<|file_sep|>packages/wa/wai-middleware-travisci.yaml.diff original: hash: 8333ae4a34ae30199d32553ef8a1e22b8cc7f56968359dc715a62c4f934ca939 updated: hash: 1db2466267ecdac22169325ba6e915561f68d5e7d916f7c5f176f1578e173348 <|file_sep|>packages/wa/wai-middleware-travisci.yaml.diff original: cryptonite: ! '>=0.3 && <0.26' ...
f6407411b67ad0ad939ec9ee1b27c7c1bf2ab4db
packages/wa/wai-middleware-travisci.yaml
packages/wa/wai-middleware-travisci.yaml
YAML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.12" - "1" - "2" - "3" - "4" script: "npm run test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "0.12" - "1" - "...
sudo: false language: node_js node_js: - "0.12" - "1" - "2" - "3" - "4" - "5" script: "npm run test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.12" - "1" - "2" - "3" - "4" script: "npm run test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "0.12" - "1" - "...
c7c355b4c65a4f7c29f9056097352beea33f9a3c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md mars-reports-project ==================== This repository contains Python scripts for reformatting and enhancing BSLW MARS reports. The scripts were created in 2014 as part of a Harvard Library pilot project. <|file_sep|>current/README.md mars-reports-project ==================== This rep...
MARS Reports Project ====================== This repository contains Python scripts for reformatting and enhancing BSLW MARS reports. The scripts were created in 2014 as part of a Harvard Library Information and Technical Services (HL-ITS) pilot project.
<|file_sep|>original/README.md mars-reports-project ==================== This repository contains Python scripts for reformatting and enhancing BSLW MARS reports. The scripts were created in 2014 as part of a Harvard Library pilot project. <|file_sep|>current/README.md mars-reports-project ==================== This rep...
39af2f88ceeb4b78ce3129e62620ca93b8e94ee3
README.md
README.md
Markdown
<|file_sep|>original/packages/vp/vp-tree.yaml <|file_sep|>current/packages/vp/vp-tree.yaml <|file_sep|>updated/packages/vp/vp-tree.yaml
homepage: https://github.com/ocramz/vp-tree changelog-type: '' hash: 5a9579db3a53acf16c64ef0a6d5c8656e619c84673a194e843a7511f183782ab test-bench-deps: bytestring: -any base: -any hspec: -any conduit: -any containers: -any weigh: -any vp-tree: -any deepseq: -any QuickCheck: -any mwc-probability: -any...
<|file_sep|>original/packages/vp/vp-tree.yaml <|file_sep|>current/packages/vp/vp-tree.yaml <|file_sep|>updated/packages/vp/vp-tree.yaml homepage: https://github.com/ocramz/vp-tree changelog-type: '' hash: 5a9579db3a53acf16c64ef0a6d5c8656e619c84673a194e843a7511f183782ab test-bench-deps: bytestring: -any base: -any...
24088c388e7bb1cf5979448b1d2b976b07de8d6a
packages/vp/vp-tree.yaml
packages/vp/vp-tree.yaml
YAML
<|file_sep|>.travis.yml.diff original: - 1.8.7 - 1.9.2 updated: <|file_sep|>.travis.yml.diff original: - jruby-18mode updated: <|file_sep|>.travis.yml.diff original: - rbx-18mode updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-18mode - jruby-1...
language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode gemfile: - gemfiles/Gemfile.paperclip-2.x - gemfiles/Gemfile.paperclip-3.x
<|file_sep|>.travis.yml.diff original: - 1.8.7 - 1.9.2 updated: <|file_sep|>.travis.yml.diff original: - jruby-18mode updated: <|file_sep|>.travis.yml.diff original: - rbx-18mode updated: <|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-18mode - jruby-1...
17c2a4bc29ddd5d1792058f988ca7d51e2d10534
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ltr/concourse/requirements.txt botocore==1.13.49 certifi==2019.11.28 chardet==3.0.4 colorama==0.4.1 docutils==0.15.2 idna==2.8 jmespath==0.9.4 numpy==1.18.1 protobuf==3.11.2 protobuf3-to-dict==0.1.5 pyasn1==0.4.8 python-dateutil==2.8.1 PyYAML==5.4 requests==2.22.0 rsa==3.4.2 s3transfer==0.2.1 sagem...
botocore==1.13.49 certifi==2019.11.28 chardet==3.0.4 colorama==0.4.1 docutils==0.15.2 idna==2.8 jmespath==0.9.4 numpy==1.18.1 protobuf==3.11.2 protobuf3-to-dict==0.1.5 pyasn1==0.4.8 python-dateutil==2.8.1 PyYAML==5.2 requests==2.22.0 rsa==3.4.2 s3transfer==0.2.1 sagemaker==1.50.1 scipy==1.4.1 six==1.13.0 smdebug-rulesc...
<|file_sep|>original/ltr/concourse/requirements.txt botocore==1.13.49 certifi==2019.11.28 chardet==3.0.4 colorama==0.4.1 docutils==0.15.2 idna==2.8 jmespath==0.9.4 numpy==1.18.1 protobuf==3.11.2 protobuf3-to-dict==0.1.5 pyasn1==0.4.8 python-dateutil==2.8.1 PyYAML==5.4 requests==2.22.0 rsa==3.4.2 s3transfer==0.2.1 sagem...
ac380341dbad4b0bf7187b0130f4faadaf6e7d25
ltr/concourse/requirements.txt
ltr/concourse/requirements.txt
Text
<|file_sep|>original/_posts/2017-08-14-Surge-conf-for-Netflix.md <|file_sep|>current/_posts/2017-08-14-Surge-conf-for-Netflix.md <|file_sep|>updated/_posts/2017-08-14-Surge-conf-for-Netflix.md
--- title: 修改Surge配置支持 author: Paul layout: post categories: - 技术 tags: - Surge,Netflix,TVB --- Surge是一款厉器,15年10月入手到现在也快2年了,体验一直很捧。最近开始有了不错的可看TVB和Netflix的HK梯子,也懒得下美剧,基本就在Netflix直接看。不过用Surge的时候,都需要指配nProxy,有时几个梯子切换比较麻烦,于是修改了一下: ![Surge's Netflix配置](http://img7.chztv.com/2017-0709/surge-conf.png)
<|file_sep|>original/_posts/2017-08-14-Surge-conf-for-Netflix.md <|file_sep|>current/_posts/2017-08-14-Surge-conf-for-Netflix.md <|file_sep|>updated/_posts/2017-08-14-Surge-conf-for-Netflix.md --- title: 修改Surge配置支持 author: Paul layout: post categories: - 技术 tags: - Surge,Netflix,TVB --- Surge是一款厉器,15年10月入手到现在也快...
87f224372204b7e56fa3f708139832cbe383d4bc
_posts/2017-08-14-Surge-conf-for-Netflix.md
_posts/2017-08-14-Surge-conf-for-Netflix.md
Markdown
<|file_sep|>original/src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java <|file_sep|>current/src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java <|file_sep|>updated/src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java
package bzh.ys.javabyexample.pattern.filter; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import java.util.function.Function; import java.util.stream.Collectors; /** * Description: TODO * <p/> * Date: 2014-07-23 9:39 PM * * @author yannig */ public class FilterExample ...
<|file_sep|>original/src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java <|file_sep|>current/src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java <|file_sep|>updated/src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java package bzh.ys.javabyexample.pattern.filter; impo...
ac0f776543e3f095fc30ff044f15a540809db8ee
src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java
src/main/java/bzh/ys/javabyexample/pattern/filter/FilterExample.java
Java
<|file_sep|>original/bootstrap-atom.sh <|file_sep|>current/bootstrap-atom.sh <|file_sep|>updated/bootstrap-atom.sh
#!/usr/bin/env bash FILENAME="atom-shell-v0.21.2-$(uname -s | tr '[:upper:]' '[:lower:]')-x64.zip" if [ 'Darwin' == $(uname -s) ] then DL_URL='https://github.com/atom/atom-shell/releases/download/v0.21.2/atom-shell-v0.21.2-darwin-x64.zip' else DL_URL='https://github.com/atom/atom-shell/releases/download/v...
<|file_sep|>original/bootstrap-atom.sh <|file_sep|>current/bootstrap-atom.sh <|file_sep|>updated/bootstrap-atom.sh #!/usr/bin/env bash FILENAME="atom-shell-v0.21.2-$(uname -s | tr '[:upper:]' '[:lower:]')-x64.zip" if [ 'Darwin' == $(uname -s) ] then DL_URL='https://github.com/atom/atom-shell/releases/download...
da8b84f9e5b6b2716c1aba941401896ffa58d442
bootstrap-atom.sh
bootstrap-atom.sh
Shell
<|file_sep|>original/build.sbt crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.6") lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.5" % Test ) ) publishTo := { val host = "https://flow.artifactoryonline.com/flow" if (is...
crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.6") lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.5" % Test ) ) publishTo := { val host = "https://flow.artifactoryonline.com/flow" if (isSnapshot.value) { Some("Art...
<|file_sep|>original/build.sbt crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.6") lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.5" % Test ) ) publishTo := { val host = "https://flow.artifactoryonline.com/flow" if (is...
a78c916768b1862cf0dc2ad8f3611afecaf30e09
build.sbt
build.sbt
Scala
<|file_sep|>original/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "strictNullChecks": true } } <|file_sep|>current/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "strictNullChecks": true } } <|file_sep|>updated/tsconfig.json
{ "compilerOptions": { "noImplicitAny": true, "strictNullChecks": true, "allowJs": true } }
<|file_sep|>original/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "strictNullChecks": true } } <|file_sep|>current/tsconfig.json { "compilerOptions": { "noImplicitAny": true, "strictNullChecks": true } } <|file_sep|>updated/tsconfig.json { "compilerOptions": { "noImplicitAny...
4782b9c9a69bdbeb03c29f0af79131ce1cc78f55
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/docs/running-tests.md After running the tests, it will exit along with a coverage report. This is useful for CI and automated build tasks. ## Additional Options for Running Tests You can run tests in the browser by passing the `-b` param to the Gulp task. ```bash gulp test -b chrome ``` We curr...
```bash gulp test -b chrome ``` We currently support Chrome, Safari and Firefox. Alternatively you can run the tests across all browsers at once. ```bash gulp test -b all ``` You may also want to run coverage tests while in development mode. This is possible, but it compiles the code differently meaning it is more d...
<|file_sep|>original/docs/running-tests.md After running the tests, it will exit along with a coverage report. This is useful for CI and automated build tasks. ## Additional Options for Running Tests You can run tests in the browser by passing the `-b` param to the Gulp task. ```bash gulp test -b chrome ``` We curr...
652e492662162975dc0c04cce306a4deb5676556
docs/running-tests.md
docs/running-tests.md
Markdown
<|file_sep|>original/2-3-tree/deletion.lisp (cl:in-package #:clump-2-3-tree) (defgeneric delete (leaf)) (defgeneric delete-child (parent child)) <|file_sep|>current/2-3-tree/deletion.lisp (cl:in-package #:clump-2-3-tree) (defgeneric delete (leaf)) (defgeneric delete-child (parent child)) <|file_sep|>updated/2-3-tre...
(cl:in-package #:clump-2-3-tree) (defgeneric delete (leaf)) (defgeneric delete-child (parent child)) (defmethod delete ((leaf leaf)) (delete-child (parent leaf) leaf))
<|file_sep|>original/2-3-tree/deletion.lisp (cl:in-package #:clump-2-3-tree) (defgeneric delete (leaf)) (defgeneric delete-child (parent child)) <|file_sep|>current/2-3-tree/deletion.lisp (cl:in-package #:clump-2-3-tree) (defgeneric delete (leaf)) (defgeneric delete-child (parent child)) <|file_sep|>updated/2-3-tre...
14641d994cd0891b43b0409291806527db843443
2-3-tree/deletion.lisp
2-3-tree/deletion.lisp
Common Lisp
<|file_sep|>original/webpack.config.babel.js }, module: { rules: [ { test: /\.(js|jsx)$/, use: 'babel-loader', exclude: /node_modules/ }, ], }, devtool: isProd ? false : 'source-map', resolve: { extensions: ['.js', '.jsx'], }, devServer: { port: WDS_PORT, hot: true, }, plugin...
{ test: /\.(js|jsx)$/, use: 'babel-loader', exclude: /node_modules/ }, ], }, devtool: isProd ? false : 'source-map', resolve: { extensions: ['.js', '.jsx'], }, devServer: { port: WDS_PORT, hot: true, headers: { 'Access-Control-Allow-Origin': '*', }, }, plugins: [ ne...
<|file_sep|>original/webpack.config.babel.js }, module: { rules: [ { test: /\.(js|jsx)$/, use: 'babel-loader', exclude: /node_modules/ }, ], }, devtool: isProd ? false : 'source-map', resolve: { extensions: ['.js', '.jsx'], }, devServer: { port: WDS_PORT, hot: true, }, plugin...
caf77a3b517ef08bed2c8aa830fb6752f7aa1267
webpack.config.babel.js
webpack.config.babel.js
JavaScript
<|file_sep|>lib/bundle.js.diff original: 'use strict'; updated: 'use strict' <|file_sep|>lib/bundle.js.diff original: var browserify = require('browserify'); var coffeeify = require('coffeeify'); var path = require('path'); var fs = require('fs'); updated: var browserify = require('browserify') var coffeeify = require(...
b.add(modelFile) require(modelFile) }) b.bundle(function (err, compiled) { if (err) { throw err } src = compiled console.log('Invisible: Created bundle') }) return function (req, res, next) { if (req.path !== '/invisible.js') { return next() } res.contentType('...
<|file_sep|>lib/bundle.js.diff original: 'use strict'; updated: 'use strict' <|file_sep|>lib/bundle.js.diff original: var browserify = require('browserify'); var coffeeify = require('coffeeify'); var path = require('path'); var fs = require('fs'); updated: var browserify = require('browserify') var coffeeify = require(...
f141a58a83aca743a2f69ea1f0df3299690508be
lib/bundle.js
lib/bundle.js
JavaScript
<|file_sep|>original/db/schema.rb # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the ...
# database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # ...
<|file_sep|>original/db/schema.rb # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the ...
c7c7d8831219653a5b3c8c2fa7a508a42eb016ed
db/schema.rb
db/schema.rb
Ruby
<|file_sep|>web/src/components/pages/User/UserView.jsx.diff original: constructor(props, context) { super(props, context); updated: constructor(props, context) { super(props, context); <|file_sep|>web/src/components/pages/User/UserView.jsx.diff original: this.state = { user: { user...
return ( <div> <h2>Add User</h2> <input type="text" onChange={this.onUserNameChange} value={this.state.user.username} /> <input type="number" onChange={this.onUserAgeChange} value={this.state.user.age} /> <input ...
<|file_sep|>web/src/components/pages/User/UserView.jsx.diff original: constructor(props, context) { super(props, context); updated: constructor(props, context) { super(props, context); <|file_sep|>web/src/components/pages/User/UserView.jsx.diff original: this.state = { user: { user...
5bb96541271db58f7def52692f53a0df81ccac12
web/src/components/pages/User/UserView.jsx
web/src/components/pages/User/UserView.jsx
JSX
<|file_sep|>original/src/Storage/Atom.cs { internal abstract class Atom : Object { public static Atom Parse(string input) { double number; bool isNumber = Double.TryParse(input, out number); if (isNumber) return new Number(number); ...
{ internal abstract class Atom : Object { public static Atom Parse(string input) { double number; bool isNumber = Double.TryParse(input, out number); if (isNumber) return new Number(number); bool isString = input.Length > 2 && inpu...
<|file_sep|>original/src/Storage/Atom.cs { internal abstract class Atom : Object { public static Atom Parse(string input) { double number; bool isNumber = Double.TryParse(input, out number); if (isNumber) return new Number(number); ...
54ea5b5eefa896a91df29f32f693b7873c3fbf35
src/Storage/Atom.cs
src/Storage/Atom.cs
C#
<|file_sep|>original/h5py/_stub.py # Cython has limits on what you can declare inside control structures. This # native-Python module is a shim to allow things like dynamic class # definitions and functional closures. def generate_class(cls1, cls2): """ Create a new class from two bases. The new name is the con...
# Cython has limits on what you can declare inside control structures. This # native-Python module is a shim to allow things like dynamic class # definitions and functional closures. def generate_class(cls1, cls2): """ Create a new class from two bases. The new name is the concatenation of cls2.__name__ wit...
<|file_sep|>original/h5py/_stub.py # Cython has limits on what you can declare inside control structures. This # native-Python module is a shim to allow things like dynamic class # definitions and functional closures. def generate_class(cls1, cls2): """ Create a new class from two bases. The new name is the con...
ce3371edbd852ba226eb57817b3a04d164d64f7c
h5py/_stub.py
h5py/_stub.py
Python
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" install: - pip install unittest2 - "pip install requests" script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" ins...
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" install: - pip install unittest2 - "pip install requests" script: nosetests
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" install: - pip install unittest2 - "pip install requests" script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" ins...
689a542a03af090ac4e059b194ff122b6fa9468a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/UPGRADE-2.0.md <|file_sep|>current/UPGRADE-2.0.md <|file_sep|>updated/UPGRADE-2.0.md
UPGRADE FROM 1.10 to 2.0 ======================== #SOAP API was removed - removed all dependencies to the `besimple/soap-bundle` bundle. - removed SOAP annotations from the entities. Updated entities: - Oro\Bundle\CalendarBundle\Entity\Calendar - Oro\Bundle\CalendarBundle\Entity\CalendarProperty - removed cla...
<|file_sep|>original/UPGRADE-2.0.md <|file_sep|>current/UPGRADE-2.0.md <|file_sep|>updated/UPGRADE-2.0.md UPGRADE FROM 1.10 to 2.0 ======================== #SOAP API was removed - removed all dependencies to the `besimple/soap-bundle` bundle. - removed SOAP annotations from the entities. Updated entities: - Oro...
e63a9bde09429a7e1eaf41db31b840dcf9427044
UPGRADE-2.0.md
UPGRADE-2.0.md
Markdown
<|file_sep|>original/appveyor.yml shallow_clone: true branches: only: - development - ji-experimental-changes # TODO: Remove before merging PR platform: - x64 build_script: - mvn -f ./sadl3/com.ge.research.sadl.parent/pom.xml clean verify cache: - C:\Users\appveyor\.m2 <|file_sep|>current/appveyor.yml sh...
shallow_clone: true branches: only: - development - ji-experimental-changes # TODO: Remove before merging PR platform: - x64 build_script: - mvn -f ./sadl3/com.ge.research.sadl.parent/pom.xml clean - mvn -f ./sadl3/com.ge.research.sadl.parent/pom.xml verify cache: - C:\Users\appveyor\.m2
<|file_sep|>original/appveyor.yml shallow_clone: true branches: only: - development - ji-experimental-changes # TODO: Remove before merging PR platform: - x64 build_script: - mvn -f ./sadl3/com.ge.research.sadl.parent/pom.xml clean verify cache: - C:\Users\appveyor\.m2 <|file_sep|>current/appveyor.yml sh...
cae352e6e5bbc38547939e6dd94bd469b223923e
appveyor.yml
appveyor.yml
YAML
<|file_sep|>app/views/support/student-finance.html.erb.diff original: updated: <li><a href="#can-you-help-with-student-finance">Can you help me sort out my Student Finance?</a></li> <|file_sep|>original/app/views/support/student-finance.html.erb <article role="article" class="group"> <div class="...
<article role="article" class="group"> <div class="inner"> <div class="top-issues"> <h2>On this page:</h2> <ul> <li><a href="#can-you-help-with-student-finance">Can you help me sort out my Student Finance?</a></li> </ul> </div> <h2 id="can-yo...
<|file_sep|>app/views/support/student-finance.html.erb.diff original: updated: <li><a href="#can-you-help-with-student-finance">Can you help me sort out my Student Finance?</a></li> <|file_sep|>original/app/views/support/student-finance.html.erb <article role="article" class="group"> <div class="...
ba4edd0e16b189d59ed894fa9b15145b23055d53
app/views/support/student-finance.html.erb
app/views/support/student-finance.html.erb
HTML+ERB
<|file_sep|>board.py.diff original: updated: import numpy <|file_sep|>original/board.py """ Board represents a four in a row game board. Author: Isaac Arvestad """ class Board: """ Initializes the game with a certain number of rows and columns. """ def __init(self, rows, columns): self.ro...
Author: Isaac Arvestad """ class Board: """ Initializes the game with a certain number of rows and columns. """ def __init(self, rows, columns): self.rows = rows self.columns = columns self.boardMatrix = numpy.zeros((rows, columns)) """ Attempts to add a piece to a c...
<|file_sep|>board.py.diff original: updated: import numpy <|file_sep|>original/board.py """ Board represents a four in a row game board. Author: Isaac Arvestad """ class Board: """ Initializes the game with a certain number of rows and columns. """ def __init(self, rows, columns): self.ro...
89b164781ba433c9209f306889463e189006778c
board.py
board.py
Python
<|file_sep|>original/src/js/components/MemoryFieldComponent.jsx var MemoryFieldComponent = React.createClass({ displayName: "MemoryFieldComponent", propTypes: { megabytes: React.PropTypes.number.isRequired }, render() { // For a documentation of the different unit prefixes please refer to: // https:...
var MemoryFieldComponent = React.createClass({ displayName: "MemoryFieldComponent", propTypes: { megabytes: React.PropTypes.number.isRequired }, render() { // For a documentation of the different unit prefixes please refer to: // https://en.wikipedia.org/wiki/Template:Quantities_of_bytes var uni...
<|file_sep|>original/src/js/components/MemoryFieldComponent.jsx var MemoryFieldComponent = React.createClass({ displayName: "MemoryFieldComponent", propTypes: { megabytes: React.PropTypes.number.isRequired }, render() { // For a documentation of the different unit prefixes please refer to: // https:...
61834dfed6b37502262fb7c281b7e9afb8d3e445
src/js/components/MemoryFieldComponent.jsx
src/js/components/MemoryFieldComponent.jsx
JSX
<|file_sep|>original/webpack-boilerplate/README.md - Check out the [annotated React 0.13 boilerplate](react-0.13) - React 0.14 boilerplate coming soon! <|file_sep|>current/webpack-boilerplate/README.md - Check out the [annotated React 0.13 boilerplate](react-0.13) - React 0.14 boilerplate coming soon! <|file_sep|>updat...
- Check out the [annotated React 0.13 boilerplate](react-0.13) - React 0.14 boilerplate coming soon! - For a more complete example, see [Flatris](https://github.com/skidding/flatris)
<|file_sep|>original/webpack-boilerplate/README.md - Check out the [annotated React 0.13 boilerplate](react-0.13) - React 0.14 boilerplate coming soon! <|file_sep|>current/webpack-boilerplate/README.md - Check out the [annotated React 0.13 boilerplate](react-0.13) - React 0.14 boilerplate coming soon! <|file_sep|>updat...
8e587c85f6ada55455702dc6187c4345c11e8bab
webpack-boilerplate/README.md
webpack-boilerplate/README.md
Markdown
<|file_sep|>original/modules/nginx/metadata.json { "name": "cargomedia-nginx", "version": "0.0.1", "author": "Cargo Media", "license": "MIT", "summary": "nginx", "source": "https://github.com/cargomedia/puppet-packages", "operatingsystem_support": [ { "operatingsystem": "Debian", "operatin...
{ "name": "cargomedia-nginx", "version": "0.0.1", "author": "Cargo Media", "license": "MIT", "summary": "nginx", "source": "https://github.com/cargomedia/puppet-packages", "operatingsystem_support": [ { "operatingsystem": "Debian", "operatingsystemrelease": ["8"] } ], "dependencies...
<|file_sep|>original/modules/nginx/metadata.json { "name": "cargomedia-nginx", "version": "0.0.1", "author": "Cargo Media", "license": "MIT", "summary": "nginx", "source": "https://github.com/cargomedia/puppet-packages", "operatingsystem_support": [ { "operatingsystem": "Debian", "operatin...
5a2fabe08acdf998e96b05cfecc29d1bd6ce740d
modules/nginx/metadata.json
modules/nginx/metadata.json
JSON
<|file_sep|>app/controllers/users_controller.rb.diff original: updated: @user = User.find(params[:id]) <|file_sep|>app/controllers/users_controller.rb.diff original: updated: @user = User.find(params[:id]) if @user.update_attributes(user_params) flash[:success] = "Profile Updated" redirect_to @user else...
if @user.update_attributes(user_params) flash[:success] = "Profile Updated" redirect_to @user else flash[:failure] = "Something went wrong" redirect_to @user end end def destroy user = User.find(params[:id]) flash[:notice] = "Are you sure you want to delete your account?" user.destroy flash...
<|file_sep|>app/controllers/users_controller.rb.diff original: updated: @user = User.find(params[:id]) <|file_sep|>app/controllers/users_controller.rb.diff original: updated: @user = User.find(params[:id]) if @user.update_attributes(user_params) flash[:success] = "Profile Updated" redirect_to @user else...
e5ab53eec0d7a9cae8e7066463db123e04ece61b
app/controllers/users_controller.rb
app/controllers/users_controller.rb
Ruby
<|file_sep|>original/implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml <|file_sep|>current/implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml <|file_sep|>updated/implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>edu.kit.iti.formal.pse.worthwhile</groupId> <artifactId>mod...
<|file_sep|>original/implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml <|file_sep|>current/implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml <|file_sep|>updated/implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xm...
8399578e6b5b81c206a7c36f6e4221145bb3d3e8
implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml
implementierung/src/edu.kit.iti.formal.pse.worthwhile.model/pom.xml
XML
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 pytest==3.4.1 pytest-env==0.6.2 pytest-mock==1.7.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.2.0 freezegun==0.3.9 requests-mock==1.4.0 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.7 <|file_sep|>current/...
-r requirements.txt flake8==3.5.0 pytest==3.4.1 pytest-env==0.6.2 pytest-mock==1.7.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.3.0 freezegun==0.3.9 requests-mock==1.4.0 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.7
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 pytest==3.4.1 pytest-env==0.6.2 pytest-mock==1.7.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.2.0 freezegun==0.3.9 requests-mock==1.4.0 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.7 <|file_sep|>current/...
5e44449e661c588182eef09805516a6d224b8fce
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/requirements/prod.txt beautifulsoup4==4.8.1 eventlet==0.25.1 gunicorn==20.0.2 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.2.1 python_socketio==4.3.1 python_engineio==3.10.0 # Celery celery==4.3.0 redis==3.3.11 # Octave interaction scipy==1.3.3 numpy==1.17...
beautifulsoup4==4.8.1 eventlet==0.25.1 gunicorn==20.0.2 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.2.1 python_socketio==4.4.0 python_engineio==3.10.0 # Celery celery==4.3.0 redis==3.3.11 # Octave interaction scipy==1.3.3 numpy==1.17.4 octave-kernel==0.31.0
<|file_sep|>original/requirements/prod.txt beautifulsoup4==4.8.1 eventlet==0.25.1 gunicorn==20.0.2 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.2.1 python_socketio==4.3.1 python_engineio==3.10.0 # Celery celery==4.3.0 redis==3.3.11 # Octave interaction scipy==1.3.3 numpy==1.17...
0f34f34142977556fe52294dbc2dcfed2e079420
requirements/prod.txt
requirements/prod.txt
Text
<|file_sep|>original/.travis.yml language: java jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 script: - mvn clean install - run-samples.sh <|file_sep|>current/.travis.yml language: java jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 script: - mvn clean install - run-samples.sh <|file_se...
language: java jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 script: - mvn clean install - sh ./run-samples.sh
<|file_sep|>original/.travis.yml language: java jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 script: - mvn clean install - run-samples.sh <|file_sep|>current/.travis.yml language: java jdk: - openjdk8 - openjdk9 - openjdk10 - openjdk11 script: - mvn clean install - run-samples.sh <|file_se...
a09f77ee85fbfb85209eb34964a4118be21c92a2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/snaplets/heist/templates/vaultfoot.tpl <!--<script type="text/javascript" src="/js/highlight.pack.js"></script>--> <!--<script type="text/javascript" src="/js/goog/base.js"></script>--> <!--<script type="text/javascript" src="/js/dikmax/main.js"></script>--> <script type="text/javascript" src="/js/...
<script type="text/javascript" src="/js/script.vault.min.js?v=${revision}"></script> <script type="text/javascript"> main(); </script>
<|file_sep|>original/snaplets/heist/templates/vaultfoot.tpl <!--<script type="text/javascript" src="/js/highlight.pack.js"></script>--> <!--<script type="text/javascript" src="/js/goog/base.js"></script>--> <!--<script type="text/javascript" src="/js/dikmax/main.js"></script>--> <script type="text/javascript" src="/js/...
c42ddcc791ea4a4fa927464538cac99c2fe942ee
snaplets/heist/templates/vaultfoot.tpl
snaplets/heist/templates/vaultfoot.tpl
Smarty
<|file_sep|>original/invocations/testing.py from invoke import ctask as task @task(help={ 'module': "Just runs tests/STRING.py.", 'runner': "Use STRING to run tests instead of 'spec'.", 'opts': "Extra flags for the test runner", 'pty': "Whether to run tests under a pseudo-tty", }) def test(c, module=N...
@task(help={ 'module': "Just runs tests/STRING.py.", 'runner': "Use STRING to run tests instead of 'spec'.", 'opts': "Extra flags for the test runner", 'pty': "Whether to run tests under a pseudo-tty", }) def test(c, module=None, runner=None, opts=None, pty=True): """ Run a Spec or Nose-powered...
<|file_sep|>original/invocations/testing.py from invoke import ctask as task @task(help={ 'module': "Just runs tests/STRING.py.", 'runner': "Use STRING to run tests instead of 'spec'.", 'opts': "Extra flags for the test runner", 'pty': "Whether to run tests under a pseudo-tty", }) def test(c, module=N...
b3e892f476c743a6ed2e2518fd1c9c2bec4d56ae
invocations/testing.py
invocations/testing.py
Python
<|file_sep|>package.json.diff original: "npmpub": "^3.0.1" updated: "husky": "^0.14.3", "lint-staged": "^6.0.0", "npmpub": "^3.0.1", "prettier": "^1.9.1" <|file_sep|>package.json.diff original: updated: "precommit": "lint-staged", "format": "prettier --write \"**/*.{js,json,css,md}\"", <|fi...
"dependencies": { "grizzly": "^2.0.0", "minimist": "^1.2.0" }, "devDependencies": { "husky": "^0.14.3", "lint-staged": "^6.0.0", "npmpub": "^3.0.1", "prettier": "^1.9.1" }, "scripts": { "precommit": "lint-staged", "format": "prettier --write \"**/*.{js,json,css,md}\"", "tes...
<|file_sep|>package.json.diff original: "npmpub": "^3.0.1" updated: "husky": "^0.14.3", "lint-staged": "^6.0.0", "npmpub": "^3.0.1", "prettier": "^1.9.1" <|file_sep|>package.json.diff original: updated: "precommit": "lint-staged", "format": "prettier --write \"**/*.{js,json,css,md}\"", <|fi...
d596de5a2324130a04e2444e2718185c966570d3
package.json
package.json
JSON
<|file_sep|>original/app/assets/stylesheets/basic.css.scss //= require normalize-css/normalize //= require_self $responsive: false; @import 'lib/variables'; @import 'lib/functions'; @import 'lib/mixins'; @import 'lib/placeholders'; @import 'base/default'; @import 'base/typography'; @import 'base/links'; @import 'bas...
//= require normalize-css/normalize //= require_self $responsive: false; @import 'lib/grid'; @import 'lib/variables'; @import 'lib/functions'; @import 'lib/mixins'; @import 'lib/placeholders'; @import 'base/default'; @import 'base/typography'; @import 'base/links'; @import 'base/forms'; @import 'base/media';
<|file_sep|>original/app/assets/stylesheets/basic.css.scss //= require normalize-css/normalize //= require_self $responsive: false; @import 'lib/variables'; @import 'lib/functions'; @import 'lib/mixins'; @import 'lib/placeholders'; @import 'base/default'; @import 'base/typography'; @import 'base/links'; @import 'bas...
534fad6871971f165de62da754ebaea6f4e4bd9a
app/assets/stylesheets/basic.css.scss
app/assets/stylesheets/basic.css.scss
SCSS
<|file_sep|>original/refinerycms-forms.gemspec Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = "refinerycms-forms" s.version = "2.0.1" s.summary = "Form generator for Refinery CMS v4.0" s.description = "Form generator for Refinery CMS v4.0 (rails genera...
Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = "refinerycms-forms" s.version = "2.0.0" s.summary = "Form generator for Refinery CMS v4.0" s.description = "Form generator for Refinery CMS v4.0 (rails generate refinery:form)" s.homepage = "http:/...
<|file_sep|>original/refinerycms-forms.gemspec Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = "refinerycms-forms" s.version = "2.0.1" s.summary = "Form generator for Refinery CMS v4.0" s.description = "Form generator for Refinery CMS v4.0 (rails genera...
5c869b34875e8cb399eac9fa312bbbb402d533c0
refinerycms-forms.gemspec
refinerycms-forms.gemspec
Ruby
<|file_sep|>original/dist.min.config.babel.js /** * ReactFashionWatch - a carefully crafted Fashion Watch component for React. * https://github.com/virtyaluk/react-fashion-watch * * Copyright (c) 2016 Bohdan Shtepan * http://modern-dev.com/ * * Licensed under the MIT license. */ import cfg from './dist.config....
/** * ReactFashionWatch - a carefully crafted Fashion Watch component for React. * https://github.com/virtyaluk/react-fashion-watch * * Copyright (c) 2016 Bohdan Shtepan * http://modern-dev.com/ * * Licensed under the MIT license. */ import cfg from './dist.config.babel'; import ExtractTextPlugin from 'extract...
<|file_sep|>original/dist.min.config.babel.js /** * ReactFashionWatch - a carefully crafted Fashion Watch component for React. * https://github.com/virtyaluk/react-fashion-watch * * Copyright (c) 2016 Bohdan Shtepan * http://modern-dev.com/ * * Licensed under the MIT license. */ import cfg from './dist.config....
6011286b6f88d42781b8e38184cffeef38e85aa6
dist.min.config.babel.js
dist.min.config.babel.js
JavaScript
<|file_sep|>original/setup.py 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='https://github.com/amaas-fintec...
'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.4.0', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='https://github.com/amaas-fintech/amaas-core-sdk-python', ...
<|file_sep|>original/setup.py 'amaasutils', 'configparser', 'python-dateutil', 'pytz', 'requests', 'warrant' ] setup( name='amaascore', version='0.3.6', description='Asset Management as a Service - Core SDK', license='Apache License 2.0', url='https://github.com/amaas-fintec...
cdf78b63d018d767853c1488ead451c61a2ecf4d
setup.py
setup.py
Python
<|file_sep|>original/bower.json "name": "text-encoding", "version": "0.5.3", "homepage": "https://github.com/inexorabletash/text-encoding", "authors": [ "Joshua Bell <inexorabletash@gmail.com>" ], "description": "Polyfill for the Encoding Living Standard's API", "main": [ "lib/encoding.js", "lib/encod...
"name": "text-encoding", "version": "0.5.3", "homepage": "https://github.com/inexorabletash/text-encoding", "authors": [ "Joshua Bell <inexorabletash@gmail.com>" ], "description": "Polyfill for the Encoding Living Standard's API", "main": [ "lib/encoding.js", "lib/encoding-indexes.js" ], "keywords":...
<|file_sep|>original/bower.json "name": "text-encoding", "version": "0.5.3", "homepage": "https://github.com/inexorabletash/text-encoding", "authors": [ "Joshua Bell <inexorabletash@gmail.com>" ], "description": "Polyfill for the Encoding Living Standard's API", "main": [ "lib/encoding.js", "lib/encod...
a3ac5ee71c31d1d7e848acbee78f8d461f9db952
bower.json
bower.json
JSON
<|file_sep|>original/homeassistant/packages/automations/auto_sonos.yaml input_boolean: sonos_run_today: name: Sonos automation has run today initial: off automation: - alias: Reset sonos_run_today trigger: platform: time after: '02:00:00' action: service: input_boolean.turn_off ...
input_boolean: sonos_run_today: name: Sonos automation has run today automation: - alias: Reset sonos_run_today trigger: platform: time after: '02:00:00' action: service: input_boolean.turn_off entity_id: input_boolean.sonos_run_today - alias: Turn on Sonos when someone comes...
<|file_sep|>original/homeassistant/packages/automations/auto_sonos.yaml input_boolean: sonos_run_today: name: Sonos automation has run today initial: off automation: - alias: Reset sonos_run_today trigger: platform: time after: '02:00:00' action: service: input_boolean.turn_off ...
bc83b0663003594ac7c22b3ad6fb5fdbaa048343
homeassistant/packages/automations/auto_sonos.yaml
homeassistant/packages/automations/auto_sonos.yaml
YAML
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.1 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.1 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.1 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.1 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2
85fdfda80c44a6f8eb5d54ce0ba1d514a374b424
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/docs/_config.yml # ================== # Environment # ================== environment: development # Site settings title: Pusher Chameleon gitrepo: https://github.com/pusher/chameleon version: 0.1.9 # Build settings markdown: kramdown gems: [jekyll-assets, rouge, autoprefixer-rails, kramdown, oct...
# ================== # Environment # ================== environment: development # Site settings title: Pusher Chameleon gitrepo: https://github.com/pusher/chameleon # Build settings markdown: kramdown gems: [jekyll-assets, rouge, autoprefixer-rails, kramdown, octopress-autoprefixer] exclude: [ "Gemfile", "Gemf...
<|file_sep|>original/docs/_config.yml # ================== # Environment # ================== environment: development # Site settings title: Pusher Chameleon gitrepo: https://github.com/pusher/chameleon version: 0.1.9 # Build settings markdown: kramdown gems: [jekyll-assets, rouge, autoprefixer-rails, kramdown, oct...
231a17f25fd811c24c48d0926c331b474b4c5ef6
docs/_config.yml
docs/_config.yml
YAML
<|file_sep|>original/requirements.txt multidict==4.4.2 mypy==0.630 packaging==17.1 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.6.0 pyparsing==2.2.1 pytest==3.8.1 pytest-cov==2.6.0 pytest-forked==0.2 pytest-xdist==1.23.0 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==22.0 requests==2.19.1 six==1.11.0 t...
multidict==4.4.2 mypy==0.630 packaging==17.1 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.6.0 pyparsing==2.2.1 pytest==3.8.1 pytest-cov==2.6.0 pytest-forked==0.2 pytest-xdist==1.23.1 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==22.0 requests==2.19.1 six==1.11.0 tzlocal==1.5.1 ujson==1.35 uvloop==0.11...
<|file_sep|>original/requirements.txt multidict==4.4.2 mypy==0.630 packaging==17.1 protobuf==3.6.1 pycares==2.3.0 pycodestyle==2.4.0 py==1.6.0 pyparsing==2.2.1 pytest==3.8.1 pytest-cov==2.6.0 pytest-forked==0.2 pytest-xdist==1.23.0 python-dateutil==2.7.3 pytz==2018.5 readme-renderer==22.0 requests==2.19.1 six==1.11.0 t...
cb8b288b66ebc23cf4ff6d5ac1e9480da28064ea
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/generators/templates/spree_site.rb module SpreeSite class Engine < Rails::Engine def self.activate # Add your custom site logic here end config.to_prepare &method(:activate).to_proc end end <|file_sep|>current/lib/generators/templates/spree_site.rb module SpreeSite class...
module SpreeSite class Engine < Rails::Engine def self.activate # Add your custom site logic here end def load_tasks end config.to_prepare &method(:activate).to_proc end end
<|file_sep|>original/lib/generators/templates/spree_site.rb module SpreeSite class Engine < Rails::Engine def self.activate # Add your custom site logic here end config.to_prepare &method(:activate).to_proc end end <|file_sep|>current/lib/generators/templates/spree_site.rb module SpreeSite class...
fb5490157dfe3cd4d7da6e20a0fe61065b097639
lib/generators/templates/spree_site.rb
lib/generators/templates/spree_site.rb
Ruby
<|file_sep|>original/cmd/gorsepoll/schema/upgrade7.sql <|file_sep|>current/cmd/gorsepoll/schema/upgrade7.sql <|file_sep|>updated/cmd/gorsepoll/schema/upgrade7.sql
-- In this upgrade I remove the archive table. -- -- It became a mess because to check if I had an item I needed to look for it in -- both tables. Likewise for the newest publication date. Probably other things -- too. It's not really an archive if it requires constant interaction. DROP TABLE rss_item_archive;
<|file_sep|>original/cmd/gorsepoll/schema/upgrade7.sql <|file_sep|>current/cmd/gorsepoll/schema/upgrade7.sql <|file_sep|>updated/cmd/gorsepoll/schema/upgrade7.sql -- In this upgrade I remove the archive table. -- -- It became a mess because to check if I had an item I needed to look for it in -- both tables. Likewise...
9276b183c19ede3ce6c08b0339fe5c651c91bf60
cmd/gorsepoll/schema/upgrade7.sql
cmd/gorsepoll/schema/upgrade7.sql
SQL
<|file_sep|>README.md.diff original: * Download from github: [angular-moment.min.js](https://raw.github.com/urish/angular-moment/master/angular-moment.min.js) updated: * Download from github: [ngPrint.min.js](https://github.com/gilf/ngPrint/blob/master/ngPrint.min.js) <|file_sep|>original/README.md ``` Add the module ...
```js var myapp = angular.module('myapp', ['ngPrint']); ``` ### ng-print directive Use the `ng-print` directive on a button to indicate that it is a print button. Use the `print-element-id` attribute to indicate the id of the element you want to print. For example: ```html <button class="btn btn-primary" ng-print pri...
<|file_sep|>README.md.diff original: * Download from github: [angular-moment.min.js](https://raw.github.com/urish/angular-moment/master/angular-moment.min.js) updated: * Download from github: [ngPrint.min.js](https://github.com/gilf/ngPrint/blob/master/ngPrint.min.js) <|file_sep|>original/README.md ``` Add the module ...
46c0593897e5b34137560817b885c781e076df66
README.md
README.md
Markdown
<|file_sep|>original/Surveillance/doc/ReleaseNotes.md # Release Notes for Surveillance ## v0.9.2 - 2014/02/06 _Doug Kerr_ ### Changes * Add installation documentation. * Add restart script for cron job. * Add PyUnit test framework along with a number of basic tests, and modify code for testability. * Add logging and...
# Release Notes for Surveillance ## v0.9.3 - 2014/02/18 _Doug Kerr_ ### Changes * Fix bug causing thumbnails and medium-resolution images not to be generated for some images. * Fix bug introduced in v0.9.2 causing `Previous day` and `Next day` links in day pages to be grayed out or point to wrong day page. ### Know...
<|file_sep|>original/Surveillance/doc/ReleaseNotes.md # Release Notes for Surveillance ## v0.9.2 - 2014/02/06 _Doug Kerr_ ### Changes * Add installation documentation. * Add restart script for cron job. * Add PyUnit test framework along with a number of basic tests, and modify code for testability. * Add logging and...
2f326963107c5e275000615f0d902659c92163b8
Surveillance/doc/ReleaseNotes.md
Surveillance/doc/ReleaseNotes.md
Markdown
<|file_sep|>packages/sp/Spock-lucid.yaml.diff original: hash: a1869886cc3f2e1c3ebeca6c12e4a3088b79fbfc85a4c268b8bcbd0bfc94a1e3 updated: hash: 16831ab4f6e6a32d12e5d929643085110a7d13d144e45e5c7191e58ec8349a21 <|file_sep|>packages/sp/Spock-lucid.yaml.diff original: changelog: ! '# 0.2.0.0 updated: changelog: ! '# 0.3.0.0 ...
# 0.1.0.0 (deprecated) First release. ' basic-deps: Spock: ! '>=0.9' lucid: ==2.* base: ! '>=4.7 && <4.10' blaze-builder: -any transformers: -any all-versions: - '0.2.0.0' - '0.3.0.0' author: Artyom latest: '0.3.0.0' description-type: haddock description: Lucid support for Spock license-name: BSD3
<|file_sep|>packages/sp/Spock-lucid.yaml.diff original: hash: a1869886cc3f2e1c3ebeca6c12e4a3088b79fbfc85a4c268b8bcbd0bfc94a1e3 updated: hash: 16831ab4f6e6a32d12e5d929643085110a7d13d144e45e5c7191e58ec8349a21 <|file_sep|>packages/sp/Spock-lucid.yaml.diff original: changelog: ! '# 0.2.0.0 updated: changelog: ! '# 0.3.0.0 ...
5fd02a4c0c707af73ff7644ea35d04485996599e
packages/sp/Spock-lucid.yaml
packages/sp/Spock-lucid.yaml
YAML
<|file_sep|>original/src/adapters.coffee # The default `.` adapter thats comes with Rivets.js. Allows subscribing to # properties on POJSOs, implemented in ES5 natives using # `Object.defineProperty`. Rivets.adapters['.'] = id: '_rv' counter: 0 weakmap: {} subscribe: (obj, keypath, callback) -> unless obj[...
# The default `.` adapter thats comes with Rivets.js. Allows subscribing to # properties on POJSOs, implemented in ES5 natives using # `Object.defineProperty`. Rivets.adapters['.'] = id: '_rv' counter: 0 weakmap: {} subscribe: (obj, keypath, callback) -> unless obj[@id]? id = @counter++ Object...
<|file_sep|>original/src/adapters.coffee # The default `.` adapter thats comes with Rivets.js. Allows subscribing to # properties on POJSOs, implemented in ES5 natives using # `Object.defineProperty`. Rivets.adapters['.'] = id: '_rv' counter: 0 weakmap: {} subscribe: (obj, keypath, callback) -> unless obj[...
7ad15ba1578fd6fd4d4aa3cc86a2c02e0dc2efb5
src/adapters.coffee
src/adapters.coffee
CoffeeScript
<|file_sep|>original/requirements.txt Flask==0.9 Flask-SQLAlchemy==0.16 Flask-Script==0.3.3 Jinja2==2.6 SQLAlchemy==0.7.8 Werkzeug==0.8.3 gunicorn==0.14.5 ipython==0.13 wsgiref==0.1.2 sqlalchemy-migrate==0.7.2 bleach==1.1.4 -e git://github.com/mozilla/PyBrowserID.git@3b6304c54dbc37c7d888885abab0798228db4c11#egg=PyBrows...
Flask==0.9 Flask-SQLAlchemy==0.16 Flask-Script==0.3.3 Jinja2==2.6 SQLAlchemy==0.7.8 Werkzeug==0.8.3 gunicorn==0.14.5 ipython==0.13 wsgiref==0.1.2 sqlalchemy-migrate==0.7.2 bleach==1.1.5 -e git://github.com/mozilla/PyBrowserID.git@3b6304c54dbc37c7d888885abab0798228db4c11#egg=PyBrowserID psycopg2 nose
<|file_sep|>original/requirements.txt Flask==0.9 Flask-SQLAlchemy==0.16 Flask-Script==0.3.3 Jinja2==2.6 SQLAlchemy==0.7.8 Werkzeug==0.8.3 gunicorn==0.14.5 ipython==0.13 wsgiref==0.1.2 sqlalchemy-migrate==0.7.2 bleach==1.1.4 -e git://github.com/mozilla/PyBrowserID.git@3b6304c54dbc37c7d888885abab0798228db4c11#egg=PyBrows...
73204a030cb1f79ff40596825766b71c8cc4f720
requirements.txt
requirements.txt
Text
<|file_sep|>src/pkjs/index.js.diff original: } else { updated: } else if (navigator.userAgent) { <|file_sep|>original/src/pkjs/index.js 'PHONE_BATT_LEVEL': Math.floor(battery.level * 100), 'PHONE_BATT_CHARGING': battery.charging ? 1 : 0 }, pebbleSuccess, pebbleFailure); }; ba...
}, pebbleSuccess, pebbleFailure); }; battery.addEventListener('levelchange', function() { console.log('Level change: '+ (battery.level * 100) +'%'); reportPhoneBatt(); }); battery.addEventListener('chargingchange', reportPhoneBatt); reportPhoneBatt(); }); } el...
<|file_sep|>src/pkjs/index.js.diff original: } else { updated: } else if (navigator.userAgent) { <|file_sep|>original/src/pkjs/index.js 'PHONE_BATT_LEVEL': Math.floor(battery.level * 100), 'PHONE_BATT_CHARGING': battery.charging ? 1 : 0 }, pebbleSuccess, pebbleFailure); }; ba...
46f2f3e86783a0b1eeed9be1ac35cd50a3ce1939
src/pkjs/index.js
src/pkjs/index.js
JavaScript
<|file_sep|>original/plugins/livedesk/gui-resources/scripts/js/manage-feeds/services/chained-blogs-data.js 'lib/livedesk/scripts/js/manage-feeds/manage-feeds', 'lib/livedesk/scripts/js/manage-feeds/services/providers-blogs-data', 'lib/livedesk/scripts/js/manage-feeds/services/all-blog-sources' ],function(n...
'lib/livedesk/scripts/js/manage-feeds/manage-feeds', 'lib/livedesk/scripts/js/manage-feeds/services/providers-blogs-data', 'lib/livedesk/scripts/js/manage-feeds/services/all-blog-sources' ],function(ngular, feeds){ feeds.factory('chainedBlogsData', ['$http', '$q','providersBlogsData','allBlogSources', f...
<|file_sep|>original/plugins/livedesk/gui-resources/scripts/js/manage-feeds/services/chained-blogs-data.js 'lib/livedesk/scripts/js/manage-feeds/manage-feeds', 'lib/livedesk/scripts/js/manage-feeds/services/providers-blogs-data', 'lib/livedesk/scripts/js/manage-feeds/services/all-blog-sources' ],function(n...
9a2c863921eeb9c87b6bfaf1285626ae9ecedd35
plugins/livedesk/gui-resources/scripts/js/manage-feeds/services/chained-blogs-data.js
plugins/livedesk/gui-resources/scripts/js/manage-feeds/services/chained-blogs-data.js
JavaScript
<|file_sep|>original/app/views/renalware/medications/_table.html.slim th= sort_link_if(treatable.sortable?, search, :prescribed_on, "Prescribed on") th Prescribed By - if include_terminated_column th Terminated On tbody - medications.each do |medication| tr ...
th= sort_link_if(treatable.sortable?, search, :prescribed_on, "Prescribed on") th Prescribed By - if include_terminated_column th Terminated On tbody - medications.each do |medication| tr td - if medication.current? = link_to "Edi...
<|file_sep|>original/app/views/renalware/medications/_table.html.slim th= sort_link_if(treatable.sortable?, search, :prescribed_on, "Prescribed on") th Prescribed By - if include_terminated_column th Terminated On tbody - medications.each do |medication| tr ...
9ab954c897788209b6088db3d6f71251be35679a
app/views/renalware/medications/_table.html.slim
app/views/renalware/medications/_table.html.slim
Slim
<|file_sep|>original/generators/app/index.js var generators = require('yeoman-generator'); module.exports = generators.Base.extend({ warn: function() { console.warn('The default generator for react-generator is currently empty. Check out the subgenerators.'); this.config.save(); } }); <|file_sep|>current/g...
var generators = require('yeoman-generator'); module.exports = generators.Base.extend({ warn: function() { this.log('The default generator for react-generator is currently empty. Check out the subgenerators.'); this.config.save(); } });
<|file_sep|>original/generators/app/index.js var generators = require('yeoman-generator'); module.exports = generators.Base.extend({ warn: function() { console.warn('The default generator for react-generator is currently empty. Check out the subgenerators.'); this.config.save(); } }); <|file_sep|>current/g...
d46bf4963d883a2e00ab0971788c0573187acaee
generators/app/index.js
generators/app/index.js
JavaScript
<|file_sep|>conda-recipe/meta.yaml.diff original: updated: - libgcc <|file_sep|>original/conda-recipe/meta.yaml - chempy - block_diag_ilu - lapack build: number: 0 test: requires: - pytest - periodictable - argh imports: - chemreac commands: - MPLBACKEND=Agg py.test --pyar...
- block_diag_ilu - lapack - libgcc build: number: 0 test: requires: - pytest - periodictable - argh imports: - chemreac # commands: # - MPLBACKEND=Agg py.test --pyargs chemreac about: home: https://github.com/chemreac/chemreac license: BSD License summary: Python package...
<|file_sep|>conda-recipe/meta.yaml.diff original: updated: - libgcc <|file_sep|>original/conda-recipe/meta.yaml - chempy - block_diag_ilu - lapack build: number: 0 test: requires: - pytest - periodictable - argh imports: - chemreac commands: - MPLBACKEND=Agg py.test --pyar...
5b7bbbbea163a8042d6d3bd2b8f13ab986727f5d
conda-recipe/meta.yaml
conda-recipe/meta.yaml
YAML
<|file_sep|>original/test/TestUtil/TestUtil.java <|file_sep|>current/test/TestUtil/TestUtil.java <|file_sep|>updated/test/TestUtil/TestUtil.java
package TestUtil; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.junit.Assert; public class TestUtil { public static void assertThrows(CheckedFunction fn, Class<? extends Exception> exceptionType, Matcher<Exception> exceptionMatcher) throws Ex...
<|file_sep|>original/test/TestUtil/TestUtil.java <|file_sep|>current/test/TestUtil/TestUtil.java <|file_sep|>updated/test/TestUtil/TestUtil.java package TestUtil; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.junit.Assert; public class TestUtil { publi...
6b70186752d367de17b2f456fc4a8b315225f9d8
test/TestUtil/TestUtil.java
test/TestUtil/TestUtil.java
Java
<|file_sep|>original/algorithms/strings/AntiPalindromicStrings.scala <|file_sep|>current/algorithms/strings/AntiPalindromicStrings.scala <|file_sep|>updated/algorithms/strings/AntiPalindromicStrings.scala
object Solution { def nums(n: Int, m: Int): Long = n match { case 1 => m case 2 => m * (m - 1) case x => val pre = m * (m - 1) if (pre == 0) 0 else (pre * BigInt(m - 2).modPow(n - 2, 1e9.toInt + 7)).mod(1e9.toInt + 7).toInt } def main(args: Array[String]) { for (_ <- 1 ...
<|file_sep|>original/algorithms/strings/AntiPalindromicStrings.scala <|file_sep|>current/algorithms/strings/AntiPalindromicStrings.scala <|file_sep|>updated/algorithms/strings/AntiPalindromicStrings.scala object Solution { def nums(n: Int, m: Int): Long = n match { case 1 => m case 2 => m * (m - 1) cas...
e0cf3ba020572d21ccbb788320b3674e7de9ff70
algorithms/strings/AntiPalindromicStrings.scala
algorithms/strings/AntiPalindromicStrings.scala
Scala
<|file_sep|>original/t/t3302-notes-index-expensive.sh <|file_sep|>current/t/t3302-notes-index-expensive.sh <|file_sep|>updated/t/t3302-notes-index-expensive.sh
#!/bin/sh # # Copyright (c) 2007 Johannes E. Schindelin # test_description='Test commit notes index (expensive!)' . ./test-lib.sh test -z "$GIT_NOTES_TIMING_TESTS" && { say Skipping timing tests test_done exit } create_repo () { number_of_commits=$1 nr=0 parent= test -d .git || { git init &&
<|file_sep|>original/t/t3302-notes-index-expensive.sh <|file_sep|>current/t/t3302-notes-index-expensive.sh <|file_sep|>updated/t/t3302-notes-index-expensive.sh #!/bin/sh # # Copyright (c) 2007 Johannes E. Schindelin # test_description='Test commit notes index (expensive!)' . ./test-lib.sh test -z "$GIT_NOTES_TIMIN...
009318b1f1db24588d93bc658ea6c6a5324c9c3c
t/t3302-notes-index-expensive.sh
t/t3302-notes-index-expensive.sh
Shell
<|file_sep|>original/appveyor.yml version: 1.0.{build} image: Visual Studio 2017 build_script: - cmd: PowerShell -Version 2.0 .\build.ps1 test: off environment: MYGET_KEY: secure: ePaWJdJRreMdUF7tkjCxouno7mrN3nO4x9Peu5fo1nfRwcVNG8p36WEkKkgsGt6v <|file_sep|>current/appveyor.yml version: 1.0.{build} image: Visual S...
version: 1.0.{build} image: Visual Studio 2017 build_script: - cmd: PowerShell -Version 5.0 .\build.ps1 test: off environment: MYGET_KEY: secure: ePaWJdJRreMdUF7tkjCxouno7mrN3nO4x9Peu5fo1nfRwcVNG8p36WEkKkgsGt6v
<|file_sep|>original/appveyor.yml version: 1.0.{build} image: Visual Studio 2017 build_script: - cmd: PowerShell -Version 2.0 .\build.ps1 test: off environment: MYGET_KEY: secure: ePaWJdJRreMdUF7tkjCxouno7mrN3nO4x9Peu5fo1nfRwcVNG8p36WEkKkgsGt6v <|file_sep|>current/appveyor.yml version: 1.0.{build} image: Visual S...
81cf18968801b100b1739f36e81672ec5193c48c
appveyor.yml
appveyor.yml
YAML
<|file_sep|>app/models/concerns/users/organization_manipulator.rb.diff original: Organization.create! org_params.permit(:name, :address, :county, :phone_number, :email) updated: org_params[:addresses_attributes].select! { |_, h| h[:address].present? } Organization.create! org_params.permit(:name, :pho...
def create_organization(params) raise PermissionError unless can_create_organization? org_params = params.require(:organization) org_params[:addresses_attributes].select! { |_, h| h[:address].present? } Organization.create! org_params.permit(:name, :phone_number, :email, addresses_attributes...
<|file_sep|>app/models/concerns/users/organization_manipulator.rb.diff original: Organization.create! org_params.permit(:name, :address, :county, :phone_number, :email) updated: org_params[:addresses_attributes].select! { |_, h| h[:address].present? } Organization.create! org_params.permit(:name, :pho...
92be9e6960201fa78cdafac54511ac238b5d39d0
app/models/concerns/users/organization_manipulator.rb
app/models/concerns/users/organization_manipulator.rb
Ruby
<|file_sep|>server/index.js.diff original: updated: const env = process.env.NODE_ENV || 'development'; <|file_sep|>original/server/index.js import dotenv from 'dotenv'; import './CreateRSAKeyFile'; import models from './models'; import app from './server'; dotenv.config(); dotenv.config({ path: `${__dirname}/key/rsap...
import dotenv from 'dotenv'; import './CreateRSAKeyFile'; import models from './models'; import app from './server'; dotenv.config(); dotenv.config({ path: `${__dirname}/key/rsapair.pem` }); const env = process.env.NODE_ENV || 'development'; const port = process.env.PORT || 8080; if (env === 'development') { models....
<|file_sep|>server/index.js.diff original: updated: const env = process.env.NODE_ENV || 'development'; <|file_sep|>original/server/index.js import dotenv from 'dotenv'; import './CreateRSAKeyFile'; import models from './models'; import app from './server'; dotenv.config(); dotenv.config({ path: `${__dirname}/key/rsap...
05f39fb0a32fbf7ecccf5aee2fe89d1bbb424424
server/index.js
server/index.js
JavaScript
<|file_sep|>original/packages/MonorepoBuilder/config/config.yml imports: - { resource: 'services.yml' } - { resource: '../packages/**/config/config.yml' } parameters: merge_sections: ['require', 'require-dev', 'autoload', 'autoload-dev', 'repositories'] package_directories: - 'packages' dat...
imports: - { resource: 'services.yml' } - { resource: '../packages/**/config/config.yml' } parameters: merge_sections: ['require', 'require-dev', 'autoload', 'autoload-dev', 'repositories', 'suggest'] package_directories: - 'packages' data_to_append: [] data_to_remove: [] package_al...
<|file_sep|>original/packages/MonorepoBuilder/config/config.yml imports: - { resource: 'services.yml' } - { resource: '../packages/**/config/config.yml' } parameters: merge_sections: ['require', 'require-dev', 'autoload', 'autoload-dev', 'repositories'] package_directories: - 'packages' dat...
93b2429027ab004b93b59dc01aa0c4bbdc4d5480
packages/MonorepoBuilder/config/config.yml
packages/MonorepoBuilder/config/config.yml
YAML
<|file_sep|>icekit/templates/icekit/partials/preview_link.html.diff original: <a class="preview-ribbon__link" {% if obj.is_draft %} href="{{ obj|admin_url }}" {% else %} href="{{ obj.get_draft|admin_url }}" {% endif %} > updated: <a class="preview-ribbon__link" href="{{ obj.get_draft|...
{% load icekit_tags %} {% if request.IS_DRAFT or request.user.is_staff %} <div class="preview-ribbon" {{ attrs }}> {% if request.user.is_staff %} <a class="preview-ribbon__link" href="{{ obj.get_draft|admin_url }}"> {% endif %} <div class="preview-ribbon__content"> {% if obj.is_draft and not obj.has_be...
<|file_sep|>icekit/templates/icekit/partials/preview_link.html.diff original: <a class="preview-ribbon__link" {% if obj.is_draft %} href="{{ obj|admin_url }}" {% else %} href="{{ obj.get_draft|admin_url }}" {% endif %} > updated: <a class="preview-ribbon__link" href="{{ obj.get_draft|...
91c0ec959c11c60aa5aa955a44cfa49e91f8d2d5
icekit/templates/icekit/partials/preview_link.html
icekit/templates/icekit/partials/preview_link.html
HTML
<|file_sep|>original/requirements/test.txt # Test dependencies go here. -r base.txt django-coverage-plugin==1.4.1 coverage==4.3.4 django-test-plus==1.0.17 factory-boy==2.8.1 flake8==3.2.1 # pytest pytest-django==3.1.2 pytest-sugar==0.8.0 <|file_sep|>current/requirements/test.txt # Test dependencies go here. -r base...
# Test dependencies go here. -r base.txt django-coverage-plugin==1.4.1 coverage==4.3.4 django-test-plus==1.0.17 factory-boy==2.8.1 flake8==3.3.0 # pytest pytest-django==3.1.2 pytest-sugar==0.8.0
<|file_sep|>original/requirements/test.txt # Test dependencies go here. -r base.txt django-coverage-plugin==1.4.1 coverage==4.3.4 django-test-plus==1.0.17 factory-boy==2.8.1 flake8==3.2.1 # pytest pytest-django==3.1.2 pytest-sugar==0.8.0 <|file_sep|>current/requirements/test.txt # Test dependencies go here. -r base...
db29cfbbba27ebdebe8f2dddd42fe49c36d13956
requirements/test.txt
requirements/test.txt
Text
<|file_sep|>original/package.json { "name": "node-smarthome", "version": "0.0.1", "description": "Code your smart home using node.js", "devDependencies": {}, "dependencies": { "hierarchical-pubsub": "latest", "pi-gpio-promise": "latest", "timer-promise": "iwongu/timer-promise" } } <|file_sep|>cu...
{ "name": "node-smarthome", "version": "0.0.1", "description": "Code your smart home using node.js", "devDependencies": {}, "dependencies": { "hierarchical-pubsub": "latest", "pi-gpio-promise": "latest", "timer-promise": "latest" } }
<|file_sep|>original/package.json { "name": "node-smarthome", "version": "0.0.1", "description": "Code your smart home using node.js", "devDependencies": {}, "dependencies": { "hierarchical-pubsub": "latest", "pi-gpio-promise": "latest", "timer-promise": "iwongu/timer-promise" } } <|file_sep|>cu...
14a12ef69a89fa8d7f9f233c797231c8064752e7
package.json
package.json
JSON
<|file_sep|>original/package.json , "repository": { "type": "git" , "url": "http://github.com/sstephenson/pow.git" } , "bin": { "pow": "./bin/pow" } , "main": "./lib/index.js" , "dependencies": { "async": "0.1.22" , "connect": "~> 1.8.0" , "log": ">= 1.1.1" , "nack": "~> 0.15" , "request": "~> 2.16" ...
, "repository": { "type": "git" , "url": "http://github.com/sstephenson/pow.git" } , "bin": { "pow": "./bin/pow" } , "main": "./lib/index.js" , "dependencies": { "async": "0.1.22" , "connect": "~> 1.8.0" , "log": ">= 1.1.1" , "nack": "~> 0.16" , "request": "~> 2.16" , "dnsserver": "https://github.co...
<|file_sep|>original/package.json , "repository": { "type": "git" , "url": "http://github.com/sstephenson/pow.git" } , "bin": { "pow": "./bin/pow" } , "main": "./lib/index.js" , "dependencies": { "async": "0.1.22" , "connect": "~> 1.8.0" , "log": ">= 1.1.1" , "nack": "~> 0.15" , "request": "~> 2.16" ...
8fef07131e0151b922404bc7d7877e1cf490b0e0
package.json
package.json
JSON
<|file_sep|>integration_test.sh.diff original: if wget http://localhost:8111 2>&1 | grep Location | grep -q /login ; then updated: status_code=$(wget --spider -S "http://localhost:8111/health" 2>&1 | grep "HTTP/" | awk '{print $2}') if [ "${status_code}" == "200" ] ; then <|file_sep|>integration_test.sh.dif...
tries=0 while [ $tries -lt 60 ] do status_code=$(wget --spider -S "http://localhost:8111/health" 2>&1 | grep "HTTP/" | awk '{print $2}') if [ "${status_code}" == "200" ] ; then echo "Server is registered. Everything ok!" exit 0 fi echo "Health endpoint is returning error" wget -qO-...
<|file_sep|>integration_test.sh.diff original: if wget http://localhost:8111 2>&1 | grep Location | grep -q /login ; then updated: status_code=$(wget --spider -S "http://localhost:8111/health" 2>&1 | grep "HTTP/" | awk '{print $2}') if [ "${status_code}" == "200" ] ; then <|file_sep|>integration_test.sh.dif...
0c4cd16b49c7aaf3d74c4b1e6cb1b0d451e9b887
integration_test.sh
integration_test.sh
Shell
<|file_sep|>original/src/Console/WidgetPublishCommand.php */ public function __construct(Repository $extensions) { parent::__construct(); $this->extensions = $extensions; } /** * Execute the console command. * * @return mixed */ public function handle() ...
{ parent::__construct(); $this->extensions = $extensions; } /** * Execute the console command. * * @return mixed */ public function handle() { $path = app_path('Widgets') . DIRECTORY_SEPARATOR . $this->argument('name') . '.json'; $this->extension...
<|file_sep|>original/src/Console/WidgetPublishCommand.php */ public function __construct(Repository $extensions) { parent::__construct(); $this->extensions = $extensions; } /** * Execute the console command. * * @return mixed */ public function handle() ...
50d43a13ec80eff3f2d99f8cea326f9c80afc9aa
src/Console/WidgetPublishCommand.php
src/Console/WidgetPublishCommand.php
PHP
<|file_sep|>setup.py.diff original: name='aJohnShots', updated: name='a_john_shots', <|file_sep|>setup.py.diff original: updated: long_description=open('README').read(), <|file_sep|>original/setup.py name='aJohnShots', version="1.0.0", description='Python module/library for saving Security Hash...
name='a_john_shots', version="1.0.0", description='Python module/library for saving Security Hash Algorithms into JSON format.', long_description=open('README').read(), author='funilrys', author_email='contact@funilrys.com', license='GPL-3.0 https://opensource.org/licenses/GPL-3.0', url=...
<|file_sep|>setup.py.diff original: name='aJohnShots', updated: name='a_john_shots', <|file_sep|>setup.py.diff original: updated: long_description=open('README').read(), <|file_sep|>original/setup.py name='aJohnShots', version="1.0.0", description='Python module/library for saving Security Hash...
ceee44182b24ecdc0563a9e9a6841993d1978d0c
setup.py
setup.py
Python
<|file_sep|>original/README.md # libdict libdict is a C library that provides the following data structures with efficient insert, lookup, and delete routines: * [height-balanced (AVL) tree](http://en.wikipedia.org/wiki/AVL_tree) * [red-black tree](http://en.wikipedia.org/wiki/Red-black_tree) * [splay tree](http://en....
# libdict libdict is a C library that provides the following data structures with efficient insert, lookup, and delete routines: * [height-balanced (AVL) tree](http://en.wikipedia.org/wiki/AVL_tree) * [red-black tree](http://en.wikipedia.org/wiki/Red-black_tree) * [splay tree](http://en.wikipedia.org/wiki/Splay_tree) ...
<|file_sep|>original/README.md # libdict libdict is a C library that provides the following data structures with efficient insert, lookup, and delete routines: * [height-balanced (AVL) tree](http://en.wikipedia.org/wiki/AVL_tree) * [red-black tree](http://en.wikipedia.org/wiki/Red-black_tree) * [splay tree](http://en....
5e69324a714e28237ff5fe5ce084b7faea2286b4
README.md
README.md
Markdown
<|file_sep|>handlers/websockets.py.diff original: updated: import logging <|file_sep|>handlers/websockets.py.diff original: from pocs.utils.logger import get_logger updated: <|file_sep|>handlers/websockets.py.diff original: logger = get_logger(self) updated: <|file_sep|>handlers/websockets.py.diff original: ...
def on_data(self, data): """ From the PANOPTES unit """ msg = data[0].decode('UTF-8') logging.debug("WS Received: {}".format(msg)) for client in clients: client.write_message(msg) def on_message(self, message): """ From the client """ logging.info("W...
<|file_sep|>handlers/websockets.py.diff original: updated: import logging <|file_sep|>handlers/websockets.py.diff original: from pocs.utils.logger import get_logger updated: <|file_sep|>handlers/websockets.py.diff original: logger = get_logger(self) updated: <|file_sep|>handlers/websockets.py.diff original: ...
4842b266bb1649477f41e0b914fc16be94696c01
handlers/websockets.py
handlers/websockets.py
Python
<|file_sep|>original/commpy/examples/wifi80211_conv_encode_decode.py <|file_sep|>current/commpy/examples/wifi80211_conv_encode_decode.py <|file_sep|>updated/commpy/examples/wifi80211_conv_encode_decode.py
# Authors: CommPy contributors # License: BSD 3-Clause import math import matplotlib.pyplot as plt import numpy as np import commpy.channels as chan # ================================================================================================== # Complete example using Commpy Wifi 802.11 physical parameters # =...
<|file_sep|>original/commpy/examples/wifi80211_conv_encode_decode.py <|file_sep|>current/commpy/examples/wifi80211_conv_encode_decode.py <|file_sep|>updated/commpy/examples/wifi80211_conv_encode_decode.py # Authors: CommPy contributors # License: BSD 3-Clause import math import matplotlib.pyplot as plt import numpy...
5c8c8585b19a9031cacad6a21fa4990560933e02
commpy/examples/wifi80211_conv_encode_decode.py
commpy/examples/wifi80211_conv_encode_decode.py
Python
<|file_sep|>original/src/deploy/kubernetes-dashboard-canary.yaml app: kubernetes-dashboard-canary version: canary spec: containers: - name: kubernetes-dashboard-canary image: gcr.io/google_containers/kubernetes-dashboard-amd64:canary imagePullPolicy: Always ...
app: kubernetes-dashboard-canary version: canary spec: containers: - name: kubernetes-dashboard-canary image: gcr.io/google_containers/kubernetes-dashboard-amd64:canary imagePullPolicy: Always ports: - containerPort: 9090 prot...
<|file_sep|>original/src/deploy/kubernetes-dashboard-canary.yaml app: kubernetes-dashboard-canary version: canary spec: containers: - name: kubernetes-dashboard-canary image: gcr.io/google_containers/kubernetes-dashboard-amd64:canary imagePullPolicy: Always ...
96305abe4bb1f14b260c6a937d566de2a9728e27
src/deploy/kubernetes-dashboard-canary.yaml
src/deploy/kubernetes-dashboard-canary.yaml
YAML
<|file_sep|>original/requirements.txt fonttools==3.9.1 cu2qu==1.1.1 glyphsLib==1.5.2 ufo2ft==0.4.0 MutatorMath==2.0.3 defcon==0.2.4 booleanOperations==0.6.4 <|file_sep|>current/requirements.txt fonttools==3.9.1 cu2qu==1.1.1 glyphsLib==1.5.2 ufo2ft==0.4.0 MutatorMath==2.0.3 defcon==0.2.4 booleanOperations==0.6.4 <|file_...
fonttools==3.9.1 cu2qu==1.1.1 glyphsLib==1.5.2 ufo2ft==0.4.0 MutatorMath==2.0.3 defcon==0.2.5 booleanOperations==0.6.4
<|file_sep|>original/requirements.txt fonttools==3.9.1 cu2qu==1.1.1 glyphsLib==1.5.2 ufo2ft==0.4.0 MutatorMath==2.0.3 defcon==0.2.4 booleanOperations==0.6.4 <|file_sep|>current/requirements.txt fonttools==3.9.1 cu2qu==1.1.1 glyphsLib==1.5.2 ufo2ft==0.4.0 MutatorMath==2.0.3 defcon==0.2.4 booleanOperations==0.6.4 <|file_...
cf93dbb7c572fcb122ca9535e43f856f06eb9267
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md # Blog Built with ```gulp``` over ```jekyll```. Visit the [Blog Page](https://blog.dwarak.in) to learn more. ## Build ```bash $ git clone git@gitlab.com:dtsdwarak/blog.git $ cd blog $ bundle install $ npm install $ gulp release ``` ## Help If the domain is unreachable or if you need ...
# Blog Built with `gulp` over `jekyll`. Visit the [Blog Page](https://blog.dwarak.in) to learn more. ## Build ```bash $ git clone git@gitlab.com:dtsdwarak/blog.git $ cd blog $ bundle install $ npm install $ gulp release ``` ## Help If the domain is unreachable or if you need help setting up domain for a new page/s...
<|file_sep|>original/README.md # Blog Built with ```gulp``` over ```jekyll```. Visit the [Blog Page](https://blog.dwarak.in) to learn more. ## Build ```bash $ git clone git@gitlab.com:dtsdwarak/blog.git $ cd blog $ bundle install $ npm install $ gulp release ``` ## Help If the domain is unreachable or if you need ...
ed1470ca302972d4ac1035e5fcb0ffbd886d9d8a
README.md
README.md
Markdown
<|file_sep|>original/classes/console/CreateWidget.php <|file_sep|>current/classes/console/CreateWidget.php <|file_sep|>updated/classes/console/CreateWidget.php
<?php namespace BnB\ScaffoldTranslation\Classes\Console; use BnB\ScaffoldTranslation\Classes\Templates\Widget; use BnB\ScaffoldTranslation\Classes\TranslationScanner; use Illuminate\Console\Command; use Lang; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; class Cre...
<|file_sep|>original/classes/console/CreateWidget.php <|file_sep|>current/classes/console/CreateWidget.php <|file_sep|>updated/classes/console/CreateWidget.php <?php namespace BnB\ScaffoldTranslation\Classes\Console; use BnB\ScaffoldTranslation\Classes\Templates\Widget; use BnB\ScaffoldTranslation\Classes\Translatio...
1b02a19c1ba3f604406c746d7d09f048ff574a9c
classes/console/CreateWidget.php
classes/console/CreateWidget.php
PHP
<|file_sep|>original/.github/workflows/validations.yml env: LC_CTYPE: en_US.UTF-8 LANG: en_US.UTF-8 jobs: validate-cocoapods: runs-on: macos-latest steps: - uses: actions/checkout@v2 - run: ./Scripts/ci-select-xcode.sh - run: pod lib lint run-danger: runs-on: macos-latest if...
LC_CTYPE: en_US.UTF-8 LANG: en_US.UTF-8 jobs: validate-cocoapods: runs-on: macos-latest steps: - uses: actions/checkout@v2 - run: ./Scripts/ci-select-xcode.sh - run: pod lib lint run-danger: runs-on: macos-latest if: github.event_name == 'pull_request' steps: - uses...
<|file_sep|>original/.github/workflows/validations.yml env: LC_CTYPE: en_US.UTF-8 LANG: en_US.UTF-8 jobs: validate-cocoapods: runs-on: macos-latest steps: - uses: actions/checkout@v2 - run: ./Scripts/ci-select-xcode.sh - run: pod lib lint run-danger: runs-on: macos-latest if...
5230b42d1bb6a5aa998fce5dafe878b2f5913045
.github/workflows/validations.yml
.github/workflows/validations.yml
YAML
<|file_sep|>original/spec/db/migrate/10_create_users.rb class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.timestamps null: false end end end <|file_sep|>current/spec/db/migrate/10_create_users.rb class CreateUsers < ActiveRecord::Migration def ...
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.integer :age, default: 0 t.timestamps null: false end end end
<|file_sep|>original/spec/db/migrate/10_create_users.rb class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.timestamps null: false end end end <|file_sep|>current/spec/db/migrate/10_create_users.rb class CreateUsers < ActiveRecord::Migration def ...
58fbab889b4ce7c959b987d6b6b72c2400584da0
spec/db/migrate/10_create_users.rb
spec/db/migrate/10_create_users.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: java jdk: - oraclejdk7 env: global: - DITA_OT_VERSION=2.2.5 install: - ".travis/install.sh" script: - ".travis/publish.sh" after_success: - ".travis/deploy.sh" <|file_sep|>current/.travis.yml sudo: false language: java jdk: - oraclejdk7 env: global: - DITA_...
sudo: false language: java jdk: - oraclejdk7 env: global: - DITA_OT_VERSION=2.3 install: - ".travis/install.sh" script: - ".travis/publish.sh" after_success: - ".travis/deploy.sh"
<|file_sep|>original/.travis.yml sudo: false language: java jdk: - oraclejdk7 env: global: - DITA_OT_VERSION=2.2.5 install: - ".travis/install.sh" script: - ".travis/publish.sh" after_success: - ".travis/deploy.sh" <|file_sep|>current/.travis.yml sudo: false language: java jdk: - oraclejdk7 env: global: - DITA_...
3c744de02c90d834d1804caa1aad6f3ad8035530
.travis.yml
.travis.yml
YAML
<|file_sep|>original/main.go // // - Versatile, can be hosted on a Raspberry Pi for geeks to massive scale on // multiple servers by specialized hosting. Users can install apps. // // - Yours, you own your data and you control it. If you want to take back your // data to go elsewhere, you can. package main import ( "...
// // - Versatile, can be hosted on a Raspberry Pi for geeks to massive scale on // multiple servers by specialized hosting. Users can install apps. // // - Yours, you own your data and you control it. If you want to take back your // data to go elsewhere, you can. package main import ( "os" log "github.com/Sirupse...
<|file_sep|>original/main.go // // - Versatile, can be hosted on a Raspberry Pi for geeks to massive scale on // multiple servers by specialized hosting. Users can install apps. // // - Yours, you own your data and you control it. If you want to take back your // data to go elsewhere, you can. package main import ( "...
41abeb15720a7c64de3cf7d9f814f14da60d6bcc
main.go
main.go
Go
<|file_sep|>original/README.md # Build-notification-app This is a simple progressive web app implementation to trigger Build notification from build system such as Travis or Github for significant build events such as Build success, failures etc. # Build status [![build status](https://travis-ci.org/addi90/build-notif...
# Build-notification-app This is a simple progressive web app implementation to trigger Build notification from build system such as Travis or Github for significant build events such as Build success, failures etc. # Build status [![build status](https://travis-ci.org/addi90/build-notification-app.svg?branch=master)]...
<|file_sep|>original/README.md # Build-notification-app This is a simple progressive web app implementation to trigger Build notification from build system such as Travis or Github for significant build events such as Build success, failures etc. # Build status [![build status](https://travis-ci.org/addi90/build-notif...
04024671bbcc6bb3523bb495e7590bb96679cc22
README.md
README.md
Markdown
<|file_sep|>original/bower.json { "name": "yl-bp", "version": "0.7.5", "main": "", "ignore": [], "dependencies": { "accessifyhtml5-amd": "~2.0.2", "modernizr": "~2.8.2", "jquery": "~1.11.1", "magnific-p...
{ "name": "yl-bp", "version": "0.7.5", "main": "", "ignore": [], "dependencies": { "accessifyhtml5-amd": "~2.0.2", "modernizr": "~2.8.2", "jquery": "~1.11.1", "magnific-popup": "~0.9.9", ...
<|file_sep|>original/bower.json { "name": "yl-bp", "version": "0.7.5", "main": "", "ignore": [], "dependencies": { "accessifyhtml5-amd": "~2.0.2", "modernizr": "~2.8.2", "jquery": "~1.11.1", "magnific-p...
ba017f352be3304a72dc21fbc1b247e0e1617fbf
bower.json
bower.json
JSON
<|file_sep|>original/src/scripts/modules/header/header-template.html <div class="page-header"> <div class="logo"></div> <div class="links"> <div class="login"> <ul> <li><a href="http://cnx.org/join_form">Sign Up</a></li> <li><a href="http://cnx.org/login_form">Login</a></li> <li><a...
<div class="page-header"> <div class="logo"></div> <div class="links"> <div class="login"> <ul> <li><a href="http://cnx.org/join_form">Sign Up</a></li> <li><a href="http://cnx.org/login_form">Login</a></li> <li><a href="http://cnx.org/help/">Help</a></li> <li><a href="http:...
<|file_sep|>original/src/scripts/modules/header/header-template.html <div class="page-header"> <div class="logo"></div> <div class="links"> <div class="login"> <ul> <li><a href="http://cnx.org/join_form">Sign Up</a></li> <li><a href="http://cnx.org/login_form">Login</a></li> <li><a...
9c9280901e47982897cd38501ef9aa10fd480132
src/scripts/modules/header/header-template.html
src/scripts/modules/header/header-template.html
HTML
<|file_sep|>index_addresses.py.diff original: updated: import sys <|file_sep|>index_addresses.py.diff original: with open('data/ParcelCentroids.csv', 'r') as csvfile: print "open file" csv_reader = csv.DictReader(csvfile, fieldnames=[], restkey='undefined-fieldnames', delimiter=',') updated: files_given = sys.argv...
for file_name in files_given: if file_name = 'index_addresses.py': continue else: file_path = file_name print 'adding ' + file_path with open(file_path, 'r') as csvfile: print "open file" csv_reader = csv.DictReader(csvfile, fieldnames=[], restkey='undefined-fieldnames', delimiter=',') ...
<|file_sep|>index_addresses.py.diff original: updated: import sys <|file_sep|>index_addresses.py.diff original: with open('data/ParcelCentroids.csv', 'r') as csvfile: print "open file" csv_reader = csv.DictReader(csvfile, fieldnames=[], restkey='undefined-fieldnames', delimiter=',') updated: files_given = sys.argv...
11278ec546cf1c84a6aefff7ed4e5a677203d008
index_addresses.py
index_addresses.py
Python
<|file_sep|>original/manifests/prometheus/alerts.d/bosh-stemcells-not-in-sync.yml # Source: bosh-exporter --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: BoshStemcellsNotInSync rules: - alert: BoshStemcellsNotInSync ...
# Source: bosh-exporter --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: BoshStemcellsNotInSync rules: - alert: BoshStemcellsNotInSync expr: "sum by (bosh_stemcell_version) (bosh_deployment_stemcell_info) != 3...
<|file_sep|>original/manifests/prometheus/alerts.d/bosh-stemcells-not-in-sync.yml # Source: bosh-exporter --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: BoshStemcellsNotInSync rules: - alert: BoshStemcellsNotInSync ...
f96b394a165c54af67cc9608b6060a2009465f6f
manifests/prometheus/alerts.d/bosh-stemcells-not-in-sync.yml
manifests/prometheus/alerts.d/bosh-stemcells-not-in-sync.yml
YAML
<|file_sep|>flight_controls_group.rb.diff original: FXTextField.new(flight_control_matrix, 7, @control_actual, FXDataTarget::ID_VALUE, TEXTFIELD_READONLY updated: FXTextField.new(flight_control_matrix, 7, @control_actual, FXDataTarget::ID_VALUE, TEXTFIELD_READONLY <|file_...
@control_actual = FXDataTarget.new(0.0) @control_desired = FXDataTarget.new(0.0) flight_control_matrix = FXMatrix.new(self, 2, MATRIX_BY_COLUMNS) FXLabel.new(flight_control_matrix, "Actual") FXLabel.new(flight_control_matrix, "Desired") FXTextField.new(flight_control_matrix, 7, @control_actual,...
<|file_sep|>flight_controls_group.rb.diff original: FXTextField.new(flight_control_matrix, 7, @control_actual, FXDataTarget::ID_VALUE, TEXTFIELD_READONLY updated: FXTextField.new(flight_control_matrix, 7, @control_actual, FXDataTarget::ID_VALUE, TEXTFIELD_READONLY <|file_...
5679b595e480254c44161418d171e4726b807e77
flight_controls_group.rb
flight_controls_group.rb
Ruby
<|file_sep|>original/.github/workflows/close-inactive.yaml jobs: close-stale: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - uses: actions/stale@v3 with: days-before-stale: 30 days-before-close: 14 stale-issue-label: ...
permissions: issues: write pull-requests: write steps: - uses: actions/stale@v3 with: days-before-stale: 30 days-before-close: 14 stale-issue-label: "stale" stale-pr-label: "stale" exempt-issue-labels: backlog,triage,nostale ...
<|file_sep|>original/.github/workflows/close-inactive.yaml jobs: close-stale: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - uses: actions/stale@v3 with: days-before-stale: 30 days-before-close: 14 stale-issue-label: ...
a79601e58b523020329d071f9bc892f62ec16395
.github/workflows/close-inactive.yaml
.github/workflows/close-inactive.yaml
YAML