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/zhouyuanchao.com/index.html <|file_sep|>current/zhouyuanchao.com/index.html <|file_sep|>updated/zhouyuanchao.com/index.html
<!DOCTYPE html> <html> <head> <!-- <meta http-equiv="refresh" content="0;url=./wordpress" /> --> <meta charset="utf-8" /> <title>zhouyuanchao.com</title> <!-- Bootstrap --> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstr...
<|file_sep|>original/zhouyuanchao.com/index.html <|file_sep|>current/zhouyuanchao.com/index.html <|file_sep|>updated/zhouyuanchao.com/index.html <!DOCTYPE html> <html> <head> <!-- <meta http-equiv="refresh" content="0;url=./wordpress" /> --> <meta charset="utf-8" /> <title>zhouyuanchao.com</title> <!-- Boots...
e7d896f3e7d3e5506a5cb5ee12be4d030201b28c
zhouyuanchao.com/index.html
zhouyuanchao.com/index.html
HTML
<|file_sep|>original/.travis.yml language: cpp compiler: gcc before_install: sudo apt-get install -qq libx11-dev libxrandr-dev libasound2-dev libgl1-mesa-dev doxygen graphviz script: exit 0 && ./cmake_gcc.sh -DENABLE_64BIT=1 -DENABLE_LUAJIT=1 -DENABLE_LUAJIT_AMALG=1 -DENABLE_SAMPLES=1 -DENABLE_TOOLS=1 -DENABLE_EXTR...
language: cpp compiler: gcc before_install: sudo apt-get install -qq libx11-dev libxrandr-dev libasound2-dev libgl1-mesa-dev doxygen graphviz #script: ./cmake_gcc.sh -DENABLE_64BIT=1 -DENABLE_LUAJIT=1 -DENABLE_LUAJIT_AMALG=1 -DENABLE_SAMPLES=1 -DENABLE_TOOLS=1 -DENABLE_EXTRAS=1 -DENABLE_DOCS_QUIET=1 && cd Build && make...
<|file_sep|>original/.travis.yml language: cpp compiler: gcc before_install: sudo apt-get install -qq libx11-dev libxrandr-dev libasound2-dev libgl1-mesa-dev doxygen graphviz script: exit 0 && ./cmake_gcc.sh -DENABLE_64BIT=1 -DENABLE_LUAJIT=1 -DENABLE_LUAJIT_AMALG=1 -DENABLE_SAMPLES=1 -DENABLE_TOOLS=1 -DENABLE_EXTR...
2e7cdc80f1dda9046f02c97d457826cbab077aa7
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: # - oraclejdk9 updated: - oraclejdk9 <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 # - oraclejdk9 addons: apt: packages: - oracle-java8-installer # - oracle-java9-installer dist: trusty sudo: false notifications: email: ...
language: java jdk: - oraclejdk8 - oraclejdk9 addons: apt: packages: - oracle-java8-installer - oracle-java9-installer dist: trusty sudo: false notifications: email: recipients: - dev@speedment.com on_success: never # default: change on_failure: always # defaul...
<|file_sep|>.travis.yml.diff original: # - oraclejdk9 updated: - oraclejdk9 <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 # - oraclejdk9 addons: apt: packages: - oracle-java8-installer # - oracle-java9-installer dist: trusty sudo: false notifications: email: ...
c397672ff1500e7d2ddc0115dcf201eb083e8775
.travis.yml
.travis.yml
YAML
<|file_sep|>app/models/topic_category.rb.diff original: values = [key.downcase.gsub(/\W/, ""), value.downcase.gsub(/\W/, "")] updated: values = [ key.downcase.gsub(/\W/, ""), value.try(:downcase).try(:gsub, /\W/, "") ].compact <|file_sep|>original/app/models/topic_category.rb...
def best_match(options) topics = topic_sets.order(:tier).reduce([]) do |arr, ts| arr += ts.topics end topics.each do |topic| t = topic.name.downcase.gsub(/\W/, "") options.each do |key, value| values = [ key.downcase.gsub(/\W/, ""), value.try(:downcase).try(...
<|file_sep|>app/models/topic_category.rb.diff original: values = [key.downcase.gsub(/\W/, ""), value.downcase.gsub(/\W/, "")] updated: values = [ key.downcase.gsub(/\W/, ""), value.try(:downcase).try(:gsub, /\W/, "") ].compact <|file_sep|>original/app/models/topic_category.rb...
67a72ecfd4eefb9097d5514bcdb00dd6b217b70c
app/models/topic_category.rb
app/models/topic_category.rb
Ruby
<|file_sep|>original/railties/helpers/application.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base end <|file_sep|>current/railties/helpers/application.rb # Fi...
# Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base helper :all # include all helpers, all the time end
<|file_sep|>original/railties/helpers/application.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base end <|file_sep|>current/railties/helpers/application.rb # Fi...
08a533645eb2bb15aeb91528c3c01ea6fc742569
railties/helpers/application.rb
railties/helpers/application.rb
Ruby
<|file_sep|>app/views/home/_social_feed.html.erb.diff original: <h5>Double H Ranch Twitter</h5> updated: <h5><%= link_to "Double H Ranch Twitter", "https://twitter.com/DoubleHRanch", target: "_blank" %></h5> <|file_sep|>original/app/views/home/_social_feed.html.erb <div class="gallery-socialFeed-boxes gallery-twitt...
<div class="gallery-socialFeed-boxes gallery-twitter"> <h5><%= link_to "Double H Ranch Twitter", "https://twitter.com/DoubleHRanch", target: "_blank" %></h5> <%= render 'social/twitter' %> </div> <div class="gallery-socialFeed-boxes gallery-facebook"> <h5><%= link_to "Double H Ranch Facebook", "https://www.facebo...
<|file_sep|>app/views/home/_social_feed.html.erb.diff original: <h5>Double H Ranch Twitter</h5> updated: <h5><%= link_to "Double H Ranch Twitter", "https://twitter.com/DoubleHRanch", target: "_blank" %></h5> <|file_sep|>original/app/views/home/_social_feed.html.erb <div class="gallery-socialFeed-boxes gallery-twitt...
2ece33620054bec6dd310d8f4740f79f3066fc6b
app/views/home/_social_feed.html.erb
app/views/home/_social_feed.html.erb
HTML+ERB
<|file_sep|>original/Casks/webstorm-bundled-jdk.rb cask :v1 => 'webstorm-bundled-jdk' do version '10.0.4' sha256 '539e8505c47e1f96349316ebc6441ef8f87c8b461fd6db88608a2269ba95246d' url "https://download.jetbrains.com/webstorm/WebStorm-#{version}-custom-jdk-bundled.dmg" name 'WebStorm' homepage 'http://www.jet...
cask :v1 => 'webstorm-bundled-jdk' do version '10.0.4' sha256 '539e8505c47e1f96349316ebc6441ef8f87c8b461fd6db88608a2269ba95246d' url "https://download.jetbrains.com/webstorm/WebStorm-#{version}-custom-jdk-bundled.dmg" name 'WebStorm' homepage 'https://www.jetbrains.com/webstorm/' license :commercial app...
<|file_sep|>original/Casks/webstorm-bundled-jdk.rb cask :v1 => 'webstorm-bundled-jdk' do version '10.0.4' sha256 '539e8505c47e1f96349316ebc6441ef8f87c8b461fd6db88608a2269ba95246d' url "https://download.jetbrains.com/webstorm/WebStorm-#{version}-custom-jdk-bundled.dmg" name 'WebStorm' homepage 'http://www.jet...
a4bb5c35d97ccf9405a99ec3f8951eb898ca2e2e
Casks/webstorm-bundled-jdk.rb
Casks/webstorm-bundled-jdk.rb
Ruby
<|file_sep|>original/src/python/requirements.txt futures==2.1.2 ctypes-snappy==1.02 ws4py==0.3.2 python-dateutil==2.2 python-magic==0.4.6 beautifulsoup4==4.3.2 argcomplete==0.5.7 psutil==0.7.1 <|file_sep|>current/src/python/requirements.txt futures==2.1.2 ctypes-snappy==1.02 ws4py==0.3.2 python-dateutil==2.2 python-mag...
futures==2.1.2 ctypes-snappy==1.02 ws4py==0.3.2 python-dateutil==2.2 python-magic==0.4.6 beautifulsoup4==4.3.2 argcomplete==0.5.7 psutil==1.2.1
<|file_sep|>original/src/python/requirements.txt futures==2.1.2 ctypes-snappy==1.02 ws4py==0.3.2 python-dateutil==2.2 python-magic==0.4.6 beautifulsoup4==4.3.2 argcomplete==0.5.7 psutil==0.7.1 <|file_sep|>current/src/python/requirements.txt futures==2.1.2 ctypes-snappy==1.02 ws4py==0.3.2 python-dateutil==2.2 python-mag...
aad9216e0e59ebc503f9c9bdb1c86b94af4ff56e
src/python/requirements.txt
src/python/requirements.txt
Text
<|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.12 requests[security] sphinx reportlab==3.3.0 alabaster==0.7.9 releases==1.2.1 # Updated from 1.2.0 aafigure <|file_sep|>current/requirements/doc.txt -r ./base.txt docutils==0.12 requests[security] sphinx reportlab==3.3.0 alabaster==0.7.9 releases==1.2...
-r ./base.txt docutils==0.12 requests[security] sphinx reportlab==3.3.0 alabaster==0.7.9 releases==1.3.0 # Updated from 1.2.0 aafigure
<|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.12 requests[security] sphinx reportlab==3.3.0 alabaster==0.7.9 releases==1.2.1 # Updated from 1.2.0 aafigure <|file_sep|>current/requirements/doc.txt -r ./base.txt docutils==0.12 requests[security] sphinx reportlab==3.3.0 alabaster==0.7.9 releases==1.2...
091487bb189b780a39457678e9f1e22cd7fb2c07
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/addon/-private/closure-action.js import Ember from 'ember'; const ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-action'); export default ClosureActionModule.ACTION; <|file_sep|>current/addon/-private/closure-action.js import Ember from 'ember'; const Closu...
import Ember from 'ember'; let ClosureActionModule; if ('ember-htmlbars/keywords/closure-action' in Ember.__loader.registry) { ClosureActionModule = Ember.__loader.require('ember-htmlbars/keywords/closure-action'); } else { ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-acti...
<|file_sep|>original/addon/-private/closure-action.js import Ember from 'ember'; const ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-action'); export default ClosureActionModule.ACTION; <|file_sep|>current/addon/-private/closure-action.js import Ember from 'ember'; const Closu...
4031aab3317a8932334b8c036517b2330701f06b
addon/-private/closure-action.js
addon/-private/closure-action.js
JavaScript
<|file_sep|>lib/tasks/temp.rake.diff original: :token => update.token, :status_code => update.status_code, updated: :token => update.token, <|file_sep|>original/lib/tas...
task :transfer_updates_to_campaign_comments => :environment do Update.find_each do |update| puts update.inspect campaign_comment = CampaignComment.new(:problem_id => update.problem_id, :user_id => update.reporter_id, ...
<|file_sep|>lib/tasks/temp.rake.diff original: :token => update.token, :status_code => update.status_code, updated: :token => update.token, <|file_sep|>original/lib/tas...
83b09c37d09cd48d2a4d3266bc0d7d07c867f919
lib/tasks/temp.rake
lib/tasks/temp.rake
Ruby
<|file_sep|>web/models/students.ex.diff original: updated: alias Ecto.{Changeset, DateTime} <|file_sep|>web/models/students.ex.diff original: updated: |> IO.inspect |> add_timestamps() <|file_sep|>original/web/models/students.ex @students from u in User, where: u.role == "Student" and is_nil(u.del...
student |> User.changeset(params, :update) |> IO.inspect |> add_timestamps() |> Repo.update |> format_error(student) nil -> {:error, :not_found} end end defp add_timestamps(%{changes: %{status: "Graduated"}} = changeset) do Changeset.put_change(changese...
<|file_sep|>web/models/students.ex.diff original: updated: alias Ecto.{Changeset, DateTime} <|file_sep|>web/models/students.ex.diff original: updated: |> IO.inspect |> add_timestamps() <|file_sep|>original/web/models/students.ex @students from u in User, where: u.role == "Student" and is_nil(u.del...
b949af3b6882c88c43f44297d7d2e6cdf3a9e9b3
web/models/students.ex
web/models/students.ex
Elixir
<|file_sep|>original/src/Sylius/Component/Currency/Model/Currency.php public function getId() { return $this->id; } /** * {@inheritdoc} */ public function getName(): ?string { return Currencies::getName($this->getCode()); } /** * {@inheritdoc} */ ...
public function getId() { return $this->id; } /** * {@inheritdoc} */ public function getName(): ?string { if (null === $code = $this->getCode()) { return null; } return Currencies::getName($code); } /** * {@inheritdoc} */...
<|file_sep|>original/src/Sylius/Component/Currency/Model/Currency.php public function getId() { return $this->id; } /** * {@inheritdoc} */ public function getName(): ?string { return Currencies::getName($this->getCode()); } /** * {@inheritdoc} */ ...
ae357f2d0e909d0e35f68400a9955832470b87ba
src/Sylius/Component/Currency/Model/Currency.php
src/Sylius/Component/Currency/Model/Currency.php
PHP
<|file_sep|>Cargo.toml.diff original: version = "0.1" updated: <|file_sep|>original/Cargo.toml [dependencies] base64 = "0.6" futures = "0.1" image = "0.14" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" [dependencies.gltf-derive] version = "0.1" path = "./gltf-derive" [features] default = [] extras = [] name...
[dependencies] base64 = "0.6" futures = "0.1" image = "0.14" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" [dependencies.gltf-derive] path = "./gltf-derive" version = "0.1.0" optional = true [features] default = [] extras = [] names = [] [[example]] name = "gltf-display" path = "examples/display/main.rs"
<|file_sep|>Cargo.toml.diff original: version = "0.1" updated: <|file_sep|>original/Cargo.toml [dependencies] base64 = "0.6" futures = "0.1" image = "0.14" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" [dependencies.gltf-derive] version = "0.1" path = "./gltf-derive" [features] default = [] extras = [] name...
2b7879f7cffe5ca80742406a5ae79339e44a62c6
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/conoha/roles/dokku/README.adoc === Add Apps .Add pytohn-getting-started app ---- alias dokku="ssh -t dokku@conoha" cd ../../dokku-apps/python-getting-started dokku apps:create python-getting-started git remote add dokku dokku@conoha:python-getting-started git push dokku master ---- == Refs ...
=== Add Apps .Add pytohn-getting-started app ---- alias dokku="ssh -t dokku@conoha" cd ../../dokku-apps/python-getting-started dokku apps:create python-getting-started git remote add dokku dokku@conoha:python-getting-started git push dokku master ---- And this app can be available at http://python-getting-started.d...
<|file_sep|>original/conoha/roles/dokku/README.adoc === Add Apps .Add pytohn-getting-started app ---- alias dokku="ssh -t dokku@conoha" cd ../../dokku-apps/python-getting-started dokku apps:create python-getting-started git remote add dokku dokku@conoha:python-getting-started git push dokku master ---- == Refs ...
cfda490e2d7748956e4db0e928ce4d527bfe5d94
conoha/roles/dokku/README.adoc
conoha/roles/dokku/README.adoc
AsciiDoc
<|file_sep|>original/examples/comp/set_backgrounds_to_1920x1080_32bit.py <|file_sep|>current/examples/comp/set_backgrounds_to_1920x1080_32bit.py <|file_sep|>updated/examples/comp/set_backgrounds_to_1920x1080_32bit.py
"""Sets all Backgrounds in the currently active comp to 1920x1080 (32 bit). This example shows how to list tool of a specific type and set some of its inputs. Additionally this shows off how `fusionless` is able to automatically interpret an enum value (like "float32" for image depth) to the corresponding float value ...
<|file_sep|>original/examples/comp/set_backgrounds_to_1920x1080_32bit.py <|file_sep|>current/examples/comp/set_backgrounds_to_1920x1080_32bit.py <|file_sep|>updated/examples/comp/set_backgrounds_to_1920x1080_32bit.py """Sets all Backgrounds in the currently active comp to 1920x1080 (32 bit). This example shows how t...
2a98676fc3de7cc8c7f335143aaecbe1f4ed5dc3
examples/comp/set_backgrounds_to_1920x1080_32bit.py
examples/comp/set_backgrounds_to_1920x1080_32bit.py
Python
<|file_sep|>.goreleaser.yml.diff original: darwin: Darwin linux: Linux windows: Windows 386: i386 amd64: x86_64 updated: darwin: darwin linux: linux 386: 386 amd64: amd64 <|file_sep|>.goreleaser.yml.diff original: name_template: 'checksums.txt' updated: name_template: 'SHASUMS' <...
# This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com builds: - env: - CGO_ENABLED=0 archive: replacements: darwin: darwin linux: linux 386: 386 amd64: amd64 checksum: name_template: 'SHASUMS' snapshot: name_template: "...
<|file_sep|>.goreleaser.yml.diff original: darwin: Darwin linux: Linux windows: Windows 386: i386 amd64: x86_64 updated: darwin: darwin linux: linux 386: 386 amd64: amd64 <|file_sep|>.goreleaser.yml.diff original: name_template: 'checksums.txt' updated: name_template: 'SHASUMS' <...
d861932bba1529f2fcebc22f8e509fc66c5de805
.goreleaser.yml
.goreleaser.yml
YAML
<|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.3" - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g. python s...
# Config file for automatic testing at travis-ci.org language: python python: - "3.3" - "2.7" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g. python setup.py test script: python setup.py test
<|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.3" - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt # command to run tests, e.g. python s...
75bccfe281625506044fc06b404199797158c7f1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/questions/show.html.erb <div class="question_show"> <section class="main-question"> <h2 class="question-title-tag"><%= @question.title %></h2> <div class="question-body"> <p class="question-text"><%= @question.body %><p> </div> <div class = "question_edit_buttons">...
<div class="question_show"> <section class="main-question"> <h2 class="question-title-tag"><%= @question.title %></h2> <div class="question-body"> <p class="question-text"><%= @question.body %><p> </div> <% if session[:user_id] == @question.user_id %> <div class = "question_edit_buttons"> ...
<|file_sep|>original/app/views/questions/show.html.erb <div class="question_show"> <section class="main-question"> <h2 class="question-title-tag"><%= @question.title %></h2> <div class="question-body"> <p class="question-text"><%= @question.body %><p> </div> <div class = "question_edit_buttons">...
bed028c202f9c70a485dd8a71dc00dd30e0009b4
app/views/questions/show.html.erb
app/views/questions/show.html.erb
HTML+ERB
<|file_sep|>original/_includes/breadcrumbs.html {% if page.categories and page.categories != empty %} <nav class="breadcrumbs"> <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <a href="{{ site.url }}" itemprop="url"> <span itemprop="title">Home</span> </a> </span> <span ...
{% if page.categories and page.categories != empty %} <nav class="breadcrumbs"> <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <a href="{{ site.url }}" itemprop="url"> <span itemprop="title">Home</span> </a> › <span itemscope itemtype="http://data-vocabulary.org/Breadcr...
<|file_sep|>original/_includes/breadcrumbs.html {% if page.categories and page.categories != empty %} <nav class="breadcrumbs"> <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <a href="{{ site.url }}" itemprop="url"> <span itemprop="title">Home</span> </a> </span> <span ...
004a511ee8bf2e8ed78d6e00f753896653f12650
_includes/breadcrumbs.html
_includes/breadcrumbs.html
HTML
<|file_sep|>original/src/main/java/com/jakewharton/telecine/TelecineActivity.java @OnClick(R.id.launch) void onLaunchClicked() { Timber.d("Attempting to acquire permission to screen capture."); MediaProjectionManager manager = (MediaProjectionManager) getSystemService(MEDIA_PROJECTION_SERVICE); I...
MediaProjectionManager manager = (MediaProjectionManager) getSystemService(MEDIA_PROJECTION_SERVICE); Intent intent = manager.createScreenCaptureIntent(); startActivityForResult(intent, CREATE_SCREEN_CAPTURE); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent ...
<|file_sep|>original/src/main/java/com/jakewharton/telecine/TelecineActivity.java @OnClick(R.id.launch) void onLaunchClicked() { Timber.d("Attempting to acquire permission to screen capture."); MediaProjectionManager manager = (MediaProjectionManager) getSystemService(MEDIA_PROJECTION_SERVICE); I...
be2ed67f8cdc06a40224d741d8e611bbe2eb6f4a
src/main/java/com/jakewharton/telecine/TelecineActivity.java
src/main/java/com/jakewharton/telecine/TelecineActivity.java
Java
<|file_sep|>lib/shex/extensions/test.rb.diff original: class ShEx::Test < ShEx::Extension("http://shex.io/extensions/Test/") # (see ShEx::Extension#visit) def visit(code: nil, matched: nil, depth: 0, **options) str = if md = /^ *(fail|print) *\( *(?:(\"(?:[^\\"]|\\")*\")|([spo])) *\) *$/.match(code.to_s) ...
module ShEx Test = Class.new(ShEx::Extension("http://shex.io/extensions/Test/")) do # (see ShEx::Extension#visit) def visit(code: nil, matched: nil, depth: 0, **options) str = if md = /^ *(fail|print) *\( *(?:(\"(?:[^\\"]|\\")*\")|([spo])) *\) *$/.match(code.to_s) md[2] || case md[3] wh...
<|file_sep|>lib/shex/extensions/test.rb.diff original: class ShEx::Test < ShEx::Extension("http://shex.io/extensions/Test/") # (see ShEx::Extension#visit) def visit(code: nil, matched: nil, depth: 0, **options) str = if md = /^ *(fail|print) *\( *(?:(\"(?:[^\\"]|\\")*\")|([spo])) *\) *$/.match(code.to_s) ...
b1c8b0f45bf1e93f85325828f62ede12cd8415b6
lib/shex/extensions/test.rb
lib/shex/extensions/test.rb
Ruby
<|file_sep|>original/docs/release-notes/version-4.5.15.rst ============== Version 4.5.15 ============== Version 4.5.15 of mod_wsgi can be obtained from: https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.15 <|file_sep|>current/docs/release-notes/version-4.5.15.rst ============== Version 4.5.15 ========...
============== Version 4.5.15 ============== Version 4.5.15 of mod_wsgi can be obtained from: https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.15 Bugs Fixed ---------- * Incorrect version for mod_wsgi was being reported in server token.
<|file_sep|>original/docs/release-notes/version-4.5.15.rst ============== Version 4.5.15 ============== Version 4.5.15 of mod_wsgi can be obtained from: https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.15 <|file_sep|>current/docs/release-notes/version-4.5.15.rst ============== Version 4.5.15 ========...
606b76c185ecfe329124b178695d448ebab4941e
docs/release-notes/version-4.5.15.rst
docs/release-notes/version-4.5.15.rst
reStructuredText
<|file_sep|>original/python/torque-and-development.py #!/bin/python3 import math import os import random import re import sys # Complete the roadsAndLibraries function below. def roadsAndLibraries(n, c_lib, c_road, cities): print("n {}, c_lib {}, c_road {}, cities {}".format(n, c_lib, c_road, cities)) return...
#!/bin/python3 import math import os import random import re import sys # Note the name of the file is based on this URL: # https://www.hackerrank.com/challenges/torque-and-development/problem # The problem name is "Roads and Libraries" def roadsAndLibraries(n, c_lib, c_road, cities): print("n {}, c_lib {}, c_r...
<|file_sep|>original/python/torque-and-development.py #!/bin/python3 import math import os import random import re import sys # Complete the roadsAndLibraries function below. def roadsAndLibraries(n, c_lib, c_road, cities): print("n {}, c_lib {}, c_road {}, cities {}".format(n, c_lib, c_road, cities)) return...
6373e170c77079e304435d4c2e68201e29a7ecce
python/torque-and-development.py
python/torque-and-development.py
Python
<|file_sep|>.travis.yml.diff original: # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details updated: # See https://github.com/silverstripe/silverstripe-travis-support for setup details <|file_sep|>.travis.yml.diff original: - 5.6 - 7.0 updated: <|file_sep|>.travis.yml.diff origi...
matrix: include: - php: 5.6 env: DB=MYSQL CORE_RELEASE=3 - php: 5.6 env: DB=MYSQL CORE_RELEASE=3.1 - php: 5.6 env: DB=PGSQL CORE_RELEASE=3.2 - php: 7.1 env: DB=MYSQL CORE_RELEASE=3.6 before_script: - composer self-update || true - git clone git://github.com/silverstripe/s...
<|file_sep|>.travis.yml.diff original: # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details updated: # See https://github.com/silverstripe/silverstripe-travis-support for setup details <|file_sep|>.travis.yml.diff original: - 5.6 - 7.0 updated: <|file_sep|>.travis.yml.diff origi...
0f187ae0245044adc5f22f9b270e177de6eae21b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/tests.py class DocsTestCase(TestCase): def setUp(self): self.client = Client() def test_index(self): response = self.client.get(reverse(views.index)) self.assertEqual(response.status_code, 200) def test_doc_pages(self): names = os.listdir("docs/o...
self.client = Client() def test_index(self): response = self.client.get(reverse(views.index)) self.assertEqual(response.status_code, 200) def test_doc_pages(self): names = os.listdir("docs/other") pages = [x.replace("_plain", "").replace(".md", "") for x in names] ...
<|file_sep|>original/docs/tests.py class DocsTestCase(TestCase): def setUp(self): self.client = Client() def test_index(self): response = self.client.get(reverse(views.index)) self.assertEqual(response.status_code, 200) def test_doc_pages(self): names = os.listdir("docs/o...
c4cd02672c81a486f6397ea099b9ed1e95b05df6
docs/tests.py
docs/tests.py
Python
<|file_sep|>original/library/socket/basicsocket/getsockname_spec.rb end it "returns the sockaddr associacted with the socket" do @socket = TCPServer.new("127.0.0.1", SocketSpecs.port) sockaddr = Socket.unpack_sockaddr_in(@socket.getsockname) sockaddr.should == [SocketSpecs.port, "127.0.0.1"] end it...
end it "returns the sockaddr associacted with the socket" do @socket = TCPServer.new("127.0.0.1", SocketSpecs.port) sockaddr = Socket.unpack_sockaddr_in(@socket.getsockname) sockaddr.should == [SocketSpecs.port, "127.0.0.1"] end it "works on sockets listening in ipaddr_any" do @socket = TCPServ...
<|file_sep|>original/library/socket/basicsocket/getsockname_spec.rb end it "returns the sockaddr associacted with the socket" do @socket = TCPServer.new("127.0.0.1", SocketSpecs.port) sockaddr = Socket.unpack_sockaddr_in(@socket.getsockname) sockaddr.should == [SocketSpecs.port, "127.0.0.1"] end it...
596cdf954686b1bddd81b411392d921717e68e1e
library/socket/basicsocket/getsockname_spec.rb
library/socket/basicsocket/getsockname_spec.rb
Ruby
<|file_sep|>original/README.md # LoadTestCC -- Command&Control for Distributed Load Tests Framework for running multi-client distributed load tests. Consists of: - A Command & Control WebApi for orchestrating remote agents - A library to be used in agent processes, that connects to the C&C and manages local test client...
# LoadTestCC -- Command&Control for Distributed Load Tests Framework for running multi-client distributed load tests. Consists of: - A Command & Control WebApi for orchestrating remote agents - A library to be used in agent processes, that connects to the C&C and manages local test clients. Based on .NET Core (ASP.NET...
<|file_sep|>original/README.md # LoadTestCC -- Command&Control for Distributed Load Tests Framework for running multi-client distributed load tests. Consists of: - A Command & Control WebApi for orchestrating remote agents - A library to be used in agent processes, that connects to the C&C and manages local test client...
7a763e7a8ea3ef074761dbd9723115f8eb51b7df
README.md
README.md
Markdown
<|file_sep|>original/playbooks/roles/elasticsearch/defaults/main.yml --- elasticsearch_version: 1.7 elasticsearch_plugins: kopf: source: lmenezes/elasticsearch-kopf cloud-aws: source: elasticsearch/elasticsearch-cloud-aws/2.4.1 elasticsearch_deps: - default-jdk <|file_sep|>current/playbooks/roles/elasti...
--- elasticsearch_version: 1.7 elasticsearch_plugins: kopf: source: lmenezes/elasticsearch-kopf cloud-aws: source: elasticsearch/elasticsearch-cloud-aws/2.7.1 elasticsearch_deps: - default-jdk
<|file_sep|>original/playbooks/roles/elasticsearch/defaults/main.yml --- elasticsearch_version: 1.7 elasticsearch_plugins: kopf: source: lmenezes/elasticsearch-kopf cloud-aws: source: elasticsearch/elasticsearch-cloud-aws/2.4.1 elasticsearch_deps: - default-jdk <|file_sep|>current/playbooks/roles/elasti...
cb047ae2707d774eb4eaa52c4334abe9a805b1c2
playbooks/roles/elasticsearch/defaults/main.yml
playbooks/roles/elasticsearch/defaults/main.yml
YAML
<|file_sep|>original/.travis.yml # See https://github.com/silverstripe/silverstripe-travis-support for setup details language: php php: - 5.3 - 5.4 - 5.5 - 5.6 env: - DB=MYSQL CORE_RELEASE=3.5 matrix: include: - php: 7.1 env: DB=MYSQL CORE_RELEASE=3.6 - php: 7.1 env: DB=MYSQL CORE_RE...
# See https://github.com/silverstripe/silverstripe-travis-support for setup details language: php dist: precise php: - 5.3 - 5.4 - 5.5 - 5.6 env: - DB=MYSQL CORE_RELEASE=3.5 matrix: include: - php: 7.1 env: DB=MYSQL CORE_RELEASE=3.6 - php: 7.1 env: DB=MYSQL CORE_RELEASE=3 COVERAGE="...
<|file_sep|>original/.travis.yml # See https://github.com/silverstripe/silverstripe-travis-support for setup details language: php php: - 5.3 - 5.4 - 5.5 - 5.6 env: - DB=MYSQL CORE_RELEASE=3.5 matrix: include: - php: 7.1 env: DB=MYSQL CORE_RELEASE=3.6 - php: 7.1 env: DB=MYSQL CORE_RE...
48dfd03a4404ad77ded2972c3d6fadac2f0ffef7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.cfg [build_sphinx] all_files = 1 build-dir = doc/build source-dir = doc/source [egg_info] tag_build =. tag_date = false tag_svn_revision = 0 [compile_catalog] directory = heat/locale domain = heat [update_catalog] domain = heat output_dir = heat/locale input_file = heat/locale/heat.pot [e...
[build_sphinx] all_files = 1 build-dir = doc/build source-dir = doc/source [egg_info] tag_build = tag_date = false tag_svn_revision = 0 [compile_catalog] directory = heat/locale domain = heat [update_catalog] domain = heat output_dir = heat/locale input_file = heat/locale/heat.pot [extract_messages] keywords = _ g...
<|file_sep|>original/setup.cfg [build_sphinx] all_files = 1 build-dir = doc/build source-dir = doc/source [egg_info] tag_build =. tag_date = false tag_svn_revision = 0 [compile_catalog] directory = heat/locale domain = heat [update_catalog] domain = heat output_dir = heat/locale input_file = heat/locale/heat.pot [e...
deab965eaeaa22de24ea70da64e5f07bca2b8ca6
setup.cfg
setup.cfg
INI
<|file_sep|>app/scripts/Account/containers/LoginRegisterContainer.scss.diff original: font-family: SourceSansPro; updated: <|file_sep|>app/scripts/Account/containers/LoginRegisterContainer.scss.diff original: updated: background-color: white; <|file_sep|>original/app/scripts/Account/containers/LoginRegisterCon...
text-align: center; color: white; } form { background-color: white; .form-group { padding: 10px; padding: 10px 20px; border-bottom: 1px solid #eee!important; } .flex { .form-group:not(:last-child) { border-right: 1px solid #eee; } } .control-la...
<|file_sep|>app/scripts/Account/containers/LoginRegisterContainer.scss.diff original: font-family: SourceSansPro; updated: <|file_sep|>app/scripts/Account/containers/LoginRegisterContainer.scss.diff original: updated: background-color: white; <|file_sep|>original/app/scripts/Account/containers/LoginRegisterCon...
2bc19eb66d0188b24dad8e0548eccd4c06812172
app/scripts/Account/containers/LoginRegisterContainer.scss
app/scripts/Account/containers/LoginRegisterContainer.scss
SCSS
<|file_sep|>original/travis_deploy.sh git config --global user.email ${GH_EMAIL} git config --global user.name "Michael Droettboom" # Create a new "orphaned" branch -- we don't need history for # the built products git checkout --orphan $GH_PAGESBRANCH # This will delete all of the ...
# Create a new "orphaned" branch -- we don't need history for # the built products git checkout --orphan $GH_PAGESBRANCH # This will delete all of the git-managed files here, but not # the results of the build git rm -rf . # Copy the built files to the root cp ...
<|file_sep|>original/travis_deploy.sh git config --global user.email ${GH_EMAIL} git config --global user.name "Michael Droettboom" # Create a new "orphaned" branch -- we don't need history for # the built products git checkout --orphan $GH_PAGESBRANCH # This will delete all of the ...
0fcddab7ff9c4585fd460eeac5c199975d60c5c3
travis_deploy.sh
travis_deploy.sh
Shell
<|file_sep|>original/lib/policies/rate-limit/rate-limit.js const RateLimit = require('express-rate-limit'); const RedisStore = require('rate-limit-redis'); const logger = require('../../logger').policy; module.exports = (params) => { if (params.rateLimitBy) { params.keyGenerator = (req) => { try { ...
const RateLimit = require('express-rate-limit'); const RedisStore = require('rate-limit-redis'); const logger = require('../../logger').policy; module.exports = (params) => { if (params.rateLimitBy) { params.keyGenerator = (req) => { try { return req.egContext.evaluateAsTemplateString(params.rateLi...
<|file_sep|>original/lib/policies/rate-limit/rate-limit.js const RateLimit = require('express-rate-limit'); const RedisStore = require('rate-limit-redis'); const logger = require('../../logger').policy; module.exports = (params) => { if (params.rateLimitBy) { params.keyGenerator = (req) => { try { ...
1f2dac22c64a768aac02f2b9a1246dfcb9e9d75a
lib/policies/rate-limit/rate-limit.js
lib/policies/rate-limit/rate-limit.js
JavaScript
<|file_sep|>original/config.py # -*- coding: utf-8 -*- DOMAIN = 'studyindenmark-newscontrol.appspot.com' MAIL_SENDER = "Per Thulin <per@youtify.com>" <|file_sep|>current/config.py # -*- coding: utf-8 -*- DOMAIN = 'studyindenmark-newscontrol.appspot.com' MAIL_SENDER = "Per Thulin <per@youtify.com>" <|file_sep|>updated...
# -*- coding: utf-8 -*- DOMAIN = 'studyindenmark-newscontrol.appspot.com' MAIL_SENDER = "Study in Denmark <studyindenmark@gmail.com>"
<|file_sep|>original/config.py # -*- coding: utf-8 -*- DOMAIN = 'studyindenmark-newscontrol.appspot.com' MAIL_SENDER = "Per Thulin <per@youtify.com>" <|file_sep|>current/config.py # -*- coding: utf-8 -*- DOMAIN = 'studyindenmark-newscontrol.appspot.com' MAIL_SENDER = "Per Thulin <per@youtify.com>" <|file_sep|>updated...
3e66c6546eda367bfef4038a4bb512862a9dd01f
config.py
config.py
Python
<|file_sep|>original/src/app/components/Header/styles.css margin: 0 auto; height: 65px; display: flex; z-index: 2; position: relative; justify-content: space-between; align-items: center; } } .mainHeaderActive { transition: background-color .2s,top .5s,opacity .2s; .mainHeaderSheet{...
margin: 0 auto; height: 65px; display: flex; z-index: 2; position: relative; justify-content: space-between; align-items: center; } } .mainHeaderActive { transition: background-color .2s,top .5s,opacity .2s; .mainHeaderSheet{ background-color: $bg-mainHeader; background-imag...
<|file_sep|>original/src/app/components/Header/styles.css margin: 0 auto; height: 65px; display: flex; z-index: 2; position: relative; justify-content: space-between; align-items: center; } } .mainHeaderActive { transition: background-color .2s,top .5s,opacity .2s; .mainHeaderSheet{...
cf4ceb46bd3c64553ff6d8221dd6ab4447ac4b45
src/app/components/Header/styles.css
src/app/components/Header/styles.css
CSS
<|file_sep|>original/src/objectRoleModel.js import {BaseModel} from 'nxus-storage' export default BaseModel.extend({ attributes: { role: { model: 'users-role' }, object: { model: 'subclass-must-define' }, user: { model: 'users-user' } } }) <|file_sep|>current/src/objectRol...
attributes: { role: { model: 'users-role' }, object: { model: 'subclass-must-define' }, user: { model: 'users-user' } }, roleUsers(object) { return this.find({object: object}).populate('role').populate('user').then((roles) => { let ret = {} for (let r of ...
<|file_sep|>original/src/objectRoleModel.js import {BaseModel} from 'nxus-storage' export default BaseModel.extend({ attributes: { role: { model: 'users-role' }, object: { model: 'subclass-must-define' }, user: { model: 'users-user' } } }) <|file_sep|>current/src/objectRol...
9d269914032336e81f7b2a3f15d202454902c238
src/objectRoleModel.js
src/objectRoleModel.js
JavaScript
<|file_sep|>package.json.diff original: "version": "0.0.8", updated: "version": "0.1.0", <|file_sep|>original/package.json "description": "HAPI Plugin for Sequelize", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url":...
"description": "HAPI Plugin for Sequelize", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/codeandfury/node-hapi-sequelize" }, "author": "Phil Hess <phess@andculture.com>", "license": "MIT", ...
<|file_sep|>package.json.diff original: "version": "0.0.8", updated: "version": "0.1.0", <|file_sep|>original/package.json "description": "HAPI Plugin for Sequelize", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url":...
81b3bfb4eb7f2f09992499a6fd82199e4745e4bd
package.json
package.json
JSON
<|file_sep|>s4v1.py.diff original: updated: # ORIGINAL VERSION - Leaves file open # def write_to_file(filename, data_sample): # example = csv.writer(open(filename, 'w', encoding='utf-8'), dialect='excel') # example is the variable of the new file that is open and which we can write to (using utf-8 encoding and an exc...
from s3v3 import * import csv # ORIGINAL VERSION - Leaves file open # def write_to_file(filename, data_sample): # example = csv.writer(open(filename, 'w', encoding='utf-8'), dialect='excel') # example is the variable of the new file that is open and which we can write to (using utf-8 encoding and an excel dialect). ...
<|file_sep|>s4v1.py.diff original: updated: # ORIGINAL VERSION - Leaves file open # def write_to_file(filename, data_sample): # example = csv.writer(open(filename, 'w', encoding='utf-8'), dialect='excel') # example is the variable of the new file that is open and which we can write to (using utf-8 encoding and an exc...
263ffc507d693854aec3fe826964b3c9031cdad8
s4v1.py
s4v1.py
Python
<|file_sep|>tools/build.production.config.js.diff original: var smushit = require('node-smushit'); updated: <|file_sep|>original/tools/build.production.config.js criticalCSS.generate({ inline: true, base: 'build/', src: 'index.html', dest: 'build/index.html', dimensions: [{ height: 640, width: 360 ...
// Inline critical CSS criticalCSS.generate({ inline: true, base: 'build/', src: 'index.html', dest: 'build/index.html', dimensions: [{ height: 640, width: 360 }, { height: 1080, width: 1920 }], minify: true }).then(function (output) { // Create files version versionInstance.run(); ...
<|file_sep|>tools/build.production.config.js.diff original: var smushit = require('node-smushit'); updated: <|file_sep|>original/tools/build.production.config.js criticalCSS.generate({ inline: true, base: 'build/', src: 'index.html', dest: 'build/index.html', dimensions: [{ height: 640, width: 360 ...
9cbe730346dabc580ad48c8d9f1f9432ff212e13
tools/build.production.config.js
tools/build.production.config.js
JavaScript
<|file_sep|>.travis.yml.diff original: - tip updated: <|file_sep|>.travis.yml.diff original: go: tip - os: osx updated: <|file_sep|>original/.travis.yml exclude: - os: osx go: tip - os: osx go: 1.8.3 - os: linux go: 1.9 include: - os: linux go: 1.9 sudo: t...
- os: osx go: 1.8.3 - os: linux go: 1.9 include: - os: linux go: 1.9 sudo: true env: RESTIC_TEST_FUSE=1 branches: only: - master notifications: irc: channels: - "chat.freenode.net#restic" on_success: change on_failure: change
<|file_sep|>.travis.yml.diff original: - tip updated: <|file_sep|>.travis.yml.diff original: go: tip - os: osx updated: <|file_sep|>original/.travis.yml exclude: - os: osx go: tip - os: osx go: 1.8.3 - os: linux go: 1.9 include: - os: linux go: 1.9 sudo: t...
0a2219c5f70126b4d9c7926032b5ead29ef30fe2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.1 cryptography==1.8.1 PyYAML==3.12 pytest==3.1.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 t...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.1 cryptography==1.8.2 PyYAML==3.12 pytest==3.1.0
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.1 cryptography==1.8.1 PyYAML==3.12 pytest==3.1.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 t...
0591eb0debff9eaf704238ea45db6e5cd67246f8
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/test/periodic/NdbRadioMult.h #ifndef RADIOMULT_H #define RADIOMULT_H #include "NdbMF.h" /* ========= NdbRadioMult ============ */ class NdbRad ioMult : public NdbMF { protected: public: NdbRadioMult() : NdbMF(9, "Multiplicities for radioactive nuclide production") {} ~NdbRadioMult()...
#ifndef RADIOMULT_H #define RADIOMULT_H #include "NdbMF.h" /* ========= NdbRadioMult ============ */ class NdbRadioMult : public NdbMF { protected: public: NdbRadioMult() : NdbMF(9, "Multiplicities for radioactive nuclide production") {} ~NdbRadioMult() {} ClassDef(NdbRadioMult,1) }; // NdbRadioMult ...
<|file_sep|>original/test/periodic/NdbRadioMult.h #ifndef RADIOMULT_H #define RADIOMULT_H #include "NdbMF.h" /* ========= NdbRadioMult ============ */ class NdbRad ioMult : public NdbMF { protected: public: NdbRadioMult() : NdbMF(9, "Multiplicities for radioactive nuclide production") {} ~NdbRadioMult()...
65b1cd480ce57f66f2fdc8527b12b9a24a93f92f
test/periodic/NdbRadioMult.h
test/periodic/NdbRadioMult.h
C
<|file_sep|>original/unittests/Tooling/CMakeLists.txt add_clang_unittest(ToolingTests CommentHandlerTest.cpp CompilationDatabaseTest.cpp ToolingTest.cpp RecursiveASTVisitorTest.cpp RefactoringTest.cpp RewriterTest.cpp RefactoringCallbacksTest.cpp ) target_link_libraries(ToolingTests clangAST clangT...
add_clang_unittest(ToolingTests CommentHandlerTest.cpp CompilationDatabaseTest.cpp ToolingTest.cpp RecursiveASTVisitorTest.cpp RefactoringTest.cpp RewriterTest.cpp RefactoringCallbacksTest.cpp ) target_link_libraries(ToolingTests clangAST clangASTMatchers clangTooling clangRewrite )
<|file_sep|>original/unittests/Tooling/CMakeLists.txt add_clang_unittest(ToolingTests CommentHandlerTest.cpp CompilationDatabaseTest.cpp ToolingTest.cpp RecursiveASTVisitorTest.cpp RefactoringTest.cpp RewriterTest.cpp RefactoringCallbacksTest.cpp ) target_link_libraries(ToolingTests clangAST clangT...
62fb1e31b000e032610e883f216707ccb603ce89
unittests/Tooling/CMakeLists.txt
unittests/Tooling/CMakeLists.txt
Text
<|file_sep|>.travis/install_z3.sh.diff original: echo "install_z3.sh download_dir install_dir" updated: echo "install_z3_yices.sh download_dir install_dir" <|file_sep|>.travis/install_z3.sh.diff original: #download z3 updated: #download z3 and yices <|file_sep|>.travis/install_z3.sh.diff original: updated: curl http...
} if [ "$#" -ne "2" ]; then usage fi DOWNLOAD_DIR=$1 INSTALL_DIR=$2 mkdir -p $DOWNLOAD_DIR cd $DOWNLOAD_DIR #download z3 and yices curl https://s3-us-west-2.amazonaws.com/s2n-public-test-dependencies/z3-2017-04-04-Ubuntu14.04-64 > z3 curl http://saw.galois.com/builds/yices/yices_smt2-linux-static > yices_smt2 sudo...
<|file_sep|>.travis/install_z3.sh.diff original: echo "install_z3.sh download_dir install_dir" updated: echo "install_z3_yices.sh download_dir install_dir" <|file_sep|>.travis/install_z3.sh.diff original: #download z3 updated: #download z3 and yices <|file_sep|>.travis/install_z3.sh.diff original: updated: curl http...
126d0aa71a5c9c1bb692048c8c7dfcf759c900a9
.travis/install_z3.sh
.travis/install_z3.sh
Shell
<|file_sep|>original/README.md # Karma-runner/mocha testing Base project for playing with the karma test runner and the mocha testing framework ## Install Requires npm and nodejs ```bash # Install command line tools $ npm install # Install client js packages $ $(npm bin)/bower install ``` or ```bash <|file_sep...
# Karma-runner/mocha testing [![Build Status](https://travis-ci.org/homburg/karma-mocha-testing.svg?branch=master)](https://travis-ci.org/homburg/karma-mocha-testing) Base project for playing with the karma test runner and the mocha testing framework ## Install Requires npm and nodejs ```bash # Install command li...
<|file_sep|>original/README.md # Karma-runner/mocha testing Base project for playing with the karma test runner and the mocha testing framework ## Install Requires npm and nodejs ```bash # Install command line tools $ npm install # Install client js packages $ $(npm bin)/bower install ``` or ```bash <|file_sep...
2397b06dd5f5ec40c2c1665e9a36536cdd98643a
README.md
README.md
Markdown
<|file_sep|>original/webpack.website-prod.js const merge = require('webpack-merge'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const devConfig = require('./webpack.website-dev.js'); module.exports = merge(devConfig, { mode: 'production', devtool: false, plugins: [ new UglifyJsPlugin() ] }...
const merge = require('webpack-merge'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const devConfig = require('./webpack.website-dev.js'); module.exports = merge(devConfig, { mode: 'production', devtool: false, plugins: [ new UglifyJsPlugin(), new webpack.DefinePlugin({ PRODUCTION: ...
<|file_sep|>original/webpack.website-prod.js const merge = require('webpack-merge'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const devConfig = require('./webpack.website-dev.js'); module.exports = merge(devConfig, { mode: 'production', devtool: false, plugins: [ new UglifyJsPlugin() ] }...
0e97d37b322165f7e71b40c145eced2e2cde6192
webpack.website-prod.js
webpack.website-prod.js
JavaScript
<|file_sep|>original/lib/tasks/iso.rake namespace :iso do namespace :rankings do task :adjust_scores => :environment do Photograph.adjust_scores end end namespace :stats do task :reset_user_counters => :environment do User.find_each do |user| user.received_recommendations_count.re...
namespace :iso do namespace :maintenance do task :repair_image_permissions => :environment do bucket = $s3_client.buckets.find(ENV['S3_BUCKET']) to_fix = [] Photograph.find_each do |p| #if p.image_uid =~ /2013\// to_fix << p #end end to_fix.each do |p| ...
<|file_sep|>original/lib/tasks/iso.rake namespace :iso do namespace :rankings do task :adjust_scores => :environment do Photograph.adjust_scores end end namespace :stats do task :reset_user_counters => :environment do User.find_each do |user| user.received_recommendations_count.re...
5d6ca4336ae8bddb08ae6117d5f487a09a0accb7
lib/tasks/iso.rake
lib/tasks/iso.rake
Ruby
<|file_sep|>original/master/www/js/disco.js $(document).ready(function(){ $.ajaxSetup({cache: false}); $.getJSON("/disco/version", function (data){ $("#version").text(data); }); }); function format_size(num){ units = ['KB', 'MB', 'GB', 'TB']; for (i = 0; i < units.length; i++) { if ...
$(document).ready(function(){ $.ajaxSetup({cache: false}); $.getJSON("/disco/version", function (data){ $("#version").text(data); }); }); function format_size(num){ units = ['KB', 'MB', 'GB', 'TB']; for (i = 0; i < units.length; i++) { // Don't use 1024 here otherwise (1023).toPreci...
<|file_sep|>original/master/www/js/disco.js $(document).ready(function(){ $.ajaxSetup({cache: false}); $.getJSON("/disco/version", function (data){ $("#version").text(data); }); }); function format_size(num){ units = ['KB', 'MB', 'GB', 'TB']; for (i = 0; i < units.length; i++) { if ...
79bb6d71c761857b32392b004b181a5618b01133
master/www/js/disco.js
master/www/js/disco.js
JavaScript
<|file_sep|>director/views.py.diff original: from django.views.generic import View updated: from accounts.views import BetaTokenView <|file_sep|>director/views.py.diff original: class HomeView(View): updated: class HomeView(BetaTokenView): """ Home page view. Care needs to be taken that this view returns ...
from django.shortcuts import redirect from django.urls import reverse from accounts.views import BetaTokenView class HomeView(BetaTokenView): """ Home page view. Care needs to be taken that this view returns a 200 response (not a redirect) for unauthenticated users. This is because GCP load balancer...
<|file_sep|>director/views.py.diff original: from django.views.generic import View updated: from accounts.views import BetaTokenView <|file_sep|>director/views.py.diff original: class HomeView(View): updated: class HomeView(BetaTokenView): """ Home page view. Care needs to be taken that this view returns ...
a14256e715d51728ad4c2bde7ec52f13def6b2a6
director/views.py
director/views.py
Python
<|file_sep|>src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs.diff original: HelpText = "Generate json file with example metadata.")] updated: HelpText = "Generate a metadata example file.")] <|file_sep|>src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs.diff original: HelpTex...
{ OutputDirectory = "outputDirectory", GenerateMetadataExampleFile = true }); yield return new Example("Generate a Noark 5 test selection file", new GenerateOptions { ...
<|file_sep|>src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs.diff original: HelpText = "Generate json file with example metadata.")] updated: HelpText = "Generate a metadata example file.")] <|file_sep|>src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs.diff original: HelpTex...
dcc4a75094353c3f002e61f6fe20a4e04e32b469
src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs
src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs
C#
<|file_sep|>original/subprojects/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy <|file_sep|>current/subprojects/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy <|file_sep|>updated/subprojects/workers/src/integTest/g...
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
<|file_sep|>original/subprojects/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy <|file_sep|>current/subprojects/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy <|file_sep|>updated/subprojects/workers/src/integTest/g...
471919ba4b65fd8951e96cb05cca95b3a4f1f56e
subprojects/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy
subprojects/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy
Groovy
<|file_sep|>original/test/page7.lua <|file_sep|>current/test/page7.lua <|file_sep|>updated/test/page7.lua
-- reflect the request information as JSON json = require "json" response = json.encode(mg.request_info) mg.response.status = 200 mg.response.http_headers["Content-Type"] = "application/json; charset=utf-8"; mg.response.http_headers["Content-Length"] = #response; mg.response.send() mg.write(response)
<|file_sep|>original/test/page7.lua <|file_sep|>current/test/page7.lua <|file_sep|>updated/test/page7.lua -- reflect the request information as JSON json = require "json" response = json.encode(mg.request_info) mg.response.status = 200 mg.response.http_headers["Content-Type"] = "application/json; charset=utf-8"; mg...
08520c1bc778e692d08ab55b652c29e7b5f001e7
test/page7.lua
test/page7.lua
Lua
<|file_sep|>original/fq_default_poly/test/t-init.c <|file_sep|>current/fq_default_poly/test/t-init.c <|file_sep|>updated/fq_default_poly/test/t-init.c
/* Copyright (C) 2021 William Hart This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) a...
<|file_sep|>original/fq_default_poly/test/t-init.c <|file_sep|>current/fq_default_poly/test/t-init.c <|file_sep|>updated/fq_default_poly/test/t-init.c /* Copyright (C) 2021 William Hart This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of th...
82d08a5310905d7f242501ea4f8d21e4a3ba88f0
fq_default_poly/test/t-init.c
fq_default_poly/test/t-init.c
C
<|file_sep|>original/CHANGELOG.md ## 0.3. * Fix ember-data snippets importing `DS` instead `ember-data` ## 0.3.0 * Add Object snippet * Fix view snippet ## 0.2.0 * Use shorter names. e.x.`route` instead of `ember-route` * Add snippet keyword triggers * Add more module snippets (Components, Views, Mixins, Adapters, Se...
## 0.3.1 * Fix ember-data snippets importing `DS` instead `ember-data` ## 0.3.0 * Add Object snippet * Fix view snippet ## 0.2.0 * Use shorter names. e.x.`route` instead of `ember-route` * Add snippet keyword triggers * Add more module snippets (Components, Views, Mixins, Adapters, Serializers, Transforms) * Add `Emb...
<|file_sep|>original/CHANGELOG.md ## 0.3. * Fix ember-data snippets importing `DS` instead `ember-data` ## 0.3.0 * Add Object snippet * Fix view snippet ## 0.2.0 * Use shorter names. e.x.`route` instead of `ember-route` * Add snippet keyword triggers * Add more module snippets (Components, Views, Mixins, Adapters, Se...
9b972be58ef03fa9a944b781a2d6c1289194a8ea
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/assets/base.html var electron = require('electron') var localLog = console.log var localError = console.error var remoteLog = electron.remote.getGlobal('console').log var remoteError = electron.remote.getGlobal('console').error console.log = function (...args) {...
<!DOCTYPE html> <html> <head></head> <body></body> </html>
<|file_sep|>original/assets/base.html var electron = require('electron') var localLog = console.log var localError = console.error var remoteLog = electron.remote.getGlobal('console').log var remoteError = electron.remote.getGlobal('console').error console.log = function (...args) {...
23dab3a6645400f3a3f29b75996ac7e5fa92138c
assets/base.html
assets/base.html
HTML
<|file_sep|>original/README.md # YouTube Background Playback Xposed module: Enable background playback in YouTube ## How to install Simply grab the module from [~~the Xposed Module Repository~~](pylerSM/YouTubeBackgroundPlayback#336). To build from source on your own device, feel free to clone this repository and u...
# YouTube Background Playback Xposed module: Enable background playback in YouTube ## How to install [~~Simply grab the module from the Xposed Module Repository.~~](https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/336) To build from source on your own device, feel free to clone this repository and use Gr...
<|file_sep|>original/README.md # YouTube Background Playback Xposed module: Enable background playback in YouTube ## How to install Simply grab the module from [~~the Xposed Module Repository~~](pylerSM/YouTubeBackgroundPlayback#336). To build from source on your own device, feel free to clone this repository and u...
53a08ef8ca5360e3ce52ba9deab3b753a90cfb2f
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "gulp-cssmin": "^0.1.7", updated: <|file_sep|>original/package.json "url": "developer@s2:dndlib.js" }, "author": "", "license": "MIT", "devDependencies": { "babel-plugin-transform-es2015-modules-umd": "^6.22.0", "babel-preset-env": "^1.1.8", "babel-po...
"type": "git", "url": "developer@s2:dndlib.js" }, "author": "", "license": "MIT", "devDependencies": { "babel-plugin-transform-es2015-modules-umd": "^6.22.0", "babel-preset-env": "^1.1.8", "babel-polyfill": "6.23.0", "gulp": "^3.9.1", "gulp-autoprefixer": "^3.1.1", "gulp-add-src"...
<|file_sep|>package.json.diff original: "gulp-cssmin": "^0.1.7", updated: <|file_sep|>original/package.json "url": "developer@s2:dndlib.js" }, "author": "", "license": "MIT", "devDependencies": { "babel-plugin-transform-es2015-modules-umd": "^6.22.0", "babel-preset-env": "^1.1.8", "babel-po...
ab7b00f852ac9ba423f58f96ee5d3865ea1aca7b
package.json
package.json
JSON
<|file_sep|>content/combinators-over-iterables-in-es2015/generators.js.diff original: export function* first(iterable) { updated: export function* head(iterable) { <|file_sep|>content/combinators-over-iterables-in-es2015/generators.js.diff original: // export function* rest(iterable) { updated: export function* last(it...
let first = true; for (const value of iterable) { if (first) { first = false; } else { yield value; } } } export function* init(iterable) { let previousValue; for (const value of first(iterable)) { previousValue = value; } for (const value of iterable) { yield previousValu...
<|file_sep|>content/combinators-over-iterables-in-es2015/generators.js.diff original: export function* first(iterable) { updated: export function* head(iterable) { <|file_sep|>content/combinators-over-iterables-in-es2015/generators.js.diff original: // export function* rest(iterable) { updated: export function* last(it...
685dac40c0a3cb4af66a0d7ed5a1b44d3564502c
content/combinators-over-iterables-in-es2015/generators.js
content/combinators-over-iterables-in-es2015/generators.js
JavaScript
<|file_sep|>original/lib/similarweb/client.rb def initialize(args = {}) args.each do |key, value| send(:"#{key}=", value) end @http_client = Faraday.new(:url => base_url) end def base_url @base_url ||= "http://api.similarweb.com/Site/" end protected def reques...
send(:"#{key}=", value) end @http_client = Faraday.new(:url => base_url) end def base_url @base_url ||= "http://api.similarweb.com/Site/" end protected def request(uri, params = {}, http_method = :get) parse_response(http_client.public_send(http_method, "#{uri}?For...
<|file_sep|>original/lib/similarweb/client.rb def initialize(args = {}) args.each do |key, value| send(:"#{key}=", value) end @http_client = Faraday.new(:url => base_url) end def base_url @base_url ||= "http://api.similarweb.com/Site/" end protected def reques...
d0818fc4daaa9b16f5c49f966d335ce73d71f30d
lib/similarweb/client.rb
lib/similarweb/client.rb
Ruby
<|file_sep|>build/publish.sh.diff original: updated: if [ -z $1 ]; then echo "Please specify the version. Use one of patch, minor or major." exit 1 fi if [ -n "$(git status --porcelain)" ]; then echo "There are uncommitted changes. Clean them up first"; exit 1 fi <|file_sep|>original/build/publish.sh #!/bin/...
#!/bin/bash if [ -z $1 ]; then echo "Please specify the version. Use one of patch, minor or major." exit 1 fi if [ -n "$(git status --porcelain)" ]; then echo "There are uncommitted changes. Clean them up first"; exit 1 fi NEW_VERSION=$(npm version $1) npm run build git commit -am "Updating dist to version $...
<|file_sep|>build/publish.sh.diff original: updated: if [ -z $1 ]; then echo "Please specify the version. Use one of patch, minor or major." exit 1 fi if [ -n "$(git status --porcelain)" ]; then echo "There are uncommitted changes. Clean them up first"; exit 1 fi <|file_sep|>original/build/publish.sh #!/bin/...
24c454ac1b7309d14b5a56b260dd8f30e0134b2a
build/publish.sh
build/publish.sh
Shell
<|file_sep|>original/package.json { "name": "postcss-wee-syntax", "version": "1.1.0", "description": "Custom syntax used in the minimal front-end framework", "main": "index.js", "scripts": { "test": "mocha ./tests/*.js", "report-coverage": "istanbul cover ./node_modules/.bin/_mocha ./tests/*.js --repo...
{ "name": "postcss-wee-syntax", "version": "1.1.0", "description": "Custom syntax used in the minimal front-end framework", "main": "index.js", "scripts": { "test": "mocha ./tests/*.js", "test:parser": "mocha ./tests/parse.js", "test:stringifier": "mocha ./tests/stringify.js", "report-coverage"...
<|file_sep|>original/package.json { "name": "postcss-wee-syntax", "version": "1.1.0", "description": "Custom syntax used in the minimal front-end framework", "main": "index.js", "scripts": { "test": "mocha ./tests/*.js", "report-coverage": "istanbul cover ./node_modules/.bin/_mocha ./tests/*.js --repo...
21f697975cd169b0a74d3acb37225e1cd14e899e
package.json
package.json
JSON
<|file_sep|>original/docs/InstallingAndVerifying.md <|file_sep|>current/docs/InstallingAndVerifying.md <|file_sep|>updated/docs/InstallingAndVerifying.md
Getting The Code ================= There are two ways to use this library in your applications. You can either: 1. Use [Composer](https://getcomposer.org/), or 2. `require_once()` a single `.phar` file in your application. Option 1: Using Composer ------------------------- Run this inside the directory of your comp...
<|file_sep|>original/docs/InstallingAndVerifying.md <|file_sep|>current/docs/InstallingAndVerifying.md <|file_sep|>updated/docs/InstallingAndVerifying.md Getting The Code ================= There are two ways to use this library in your applications. You can either: 1. Use [Composer](https://getcomposer.org/), or 2....
529dedd39b247ab8b40b495bee997e4ed815d8f6
docs/InstallingAndVerifying.md
docs/InstallingAndVerifying.md
Markdown
<|file_sep|>tools/cloud-build/daily-tests/slurm-tests.yml.diff original: command: srun -N 1 ls -laF {{ mounts | join(' ') }} updated: shell: srun -N 1 ls -laF {{ mounts | join(' ') }} && sleep 120 <|file_sep|>original/tools/cloud-build/daily-tests/slurm-tests.yml when: item not in partition_output.stdout loop: ...
when: item not in partition_output.stdout loop: "{{ partitions }}" - name: Get mount info stat: path: "{{ item }}" register: stat_mounts loop: "{{ mounts }}" - name: Check if mount exists fail: msg: "{{ item.item }} not mounted" when: not item.stat.exists loop: "{{ stat_mounts.results }}" - na...
<|file_sep|>tools/cloud-build/daily-tests/slurm-tests.yml.diff original: command: srun -N 1 ls -laF {{ mounts | join(' ') }} updated: shell: srun -N 1 ls -laF {{ mounts | join(' ') }} && sleep 120 <|file_sep|>original/tools/cloud-build/daily-tests/slurm-tests.yml when: item not in partition_output.stdout loop: ...
d1c0d7cbe4f6475ed64721a1eb675f31761abd1a
tools/cloud-build/daily-tests/slurm-tests.yml
tools/cloud-build/daily-tests/slurm-tests.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "7" before_install: "npm install -g npm && npm cache clean" script: "npm run-script travis" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "7" before_install: "npm ...
language: node_js node_js: - "4" - "6" - "7" before_install: "npm install -g npm && npm cache clean" script: "npm run-script travis"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "7" before_install: "npm install -g npm && npm cache clean" script: "npm run-script travis" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "7" before_install: "npm ...
b68a0e51386369d739bcf495bb325fe59feff0d3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/packages/fuzzy-finder/lib/fuzzy-finder.coffee if project.getPath()? PathLoader = require './path-loader' @loadPathsTask = PathLoader.startTask (paths) => @projectPaths = paths for editSession in project.getEditSessions() editSession.lastOpened = state[editSession.get...
if project.getPath()? PathLoader = require './path-loader' @loadPathsTask = PathLoader.startTask (paths) => @projectPaths = paths for editSession in project.getEditSessions() editSession.lastOpened = state[editSession.getPath()] deactivate: -> if @loadPathsTask? @loadPathsTask.t...
<|file_sep|>original/src/packages/fuzzy-finder/lib/fuzzy-finder.coffee if project.getPath()? PathLoader = require './path-loader' @loadPathsTask = PathLoader.startTask (paths) => @projectPaths = paths for editSession in project.getEditSessions() editSession.lastOpened = state[editSession.get...
645aa65e9bb9ec6a0edfb37a27f397d335194673
src/packages/fuzzy-finder/lib/fuzzy-finder.coffee
src/packages/fuzzy-finder/lib/fuzzy-finder.coffee
CoffeeScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" before_install: - npm install -g npm before_script: - npm install env: APPINSIGHTS_INSTRUMENTATION_KEY=dcf0a10e-4ebb-4842-81af-ab4c5376a7f7 <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" -...
language: node_js node_js: - "0.11" - "0.10" - "0.8" before_install: - npm install -g npm before_script: - npm install
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" before_install: - npm install -g npm before_script: - npm install env: APPINSIGHTS_INSTRUMENTATION_KEY=dcf0a10e-4ebb-4842-81af-ab4c5376a7f7 <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" -...
136f59dce5b49bcd8878858b8361968791660c8b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties # Version values used in build-init templates scalatest=3.0.1 scala-xml=1.0.6 scala-library=2.11.8 testng=6.10 slf4j=1.7.21 scala=2.12 groovy=2.4.7 junit=4.12 spock=1.0-groovy-2.4 guava=20.0 <...
# Version values used in build-init templates scalatest=3.0.1 scala-xml=1.0.6 scala-library=2.11.8 testng=6.10 slf4j=1.7.21 scala=2.11 groovy=2.4.7 junit=4.12 spock=1.0-groovy-2.4 guava=20.0
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties # Version values used in build-init templates scalatest=3.0.1 scala-xml=1.0.6 scala-library=2.11.8 testng=6.10 slf4j=1.7.21 scala=2.12 groovy=2.4.7 junit=4.12 spock=1.0-groovy-2.4 guava=20.0 <...
6881a0a6c21c68941be76fc1c066c8e075fbfa5b
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
INI
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 flake8==3.5.0 # pyup: != 2.6.0 sh==1.12.14 binaryornot==0.4.4 # Testing pytest==3.10.0 pep8==1.7.1 pyflakes==2.0.0 tox==3.5.3 pytest-cookies==0.3.0 <|file_sep|>current/requirements.txt cookiecutter==1.6.0 flake8==3.5.0 # pyup: != 2.6.0 sh==1.12.14 binaryornot==...
cookiecutter==1.6.0 flake8==3.5.0 # pyup: != 2.6.0 sh==1.12.14 binaryornot==0.4.4 # Testing pytest==3.10.1 pep8==1.7.1 pyflakes==2.0.0 tox==3.5.3 pytest-cookies==0.3.0
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 flake8==3.5.0 # pyup: != 2.6.0 sh==1.12.14 binaryornot==0.4.4 # Testing pytest==3.10.0 pep8==1.7.1 pyflakes==2.0.0 tox==3.5.3 pytest-cookies==0.3.0 <|file_sep|>current/requirements.txt cookiecutter==1.6.0 flake8==3.5.0 # pyup: != 2.6.0 sh==1.12.14 binaryornot==...
7401ab86f6601fbd6df6bde6c522a9c5a4386c70
requirements.txt
requirements.txt
Text
<|file_sep|>original/lexer_test.go package eparser import ( "testing" ) func TestLex(t *testing.T) { l := newLexer() res, errs := l.Lex("a **= (7 ** (3 + 4 - 2)) << 1.23 % 0.3") expected := []tokenType{ IDENT, POW_EQ, LPAREN, INT, POW, LPAREN, INT, ADD, INT, SUB, INT, RPAREN, RPAREN, LSH, FLOAT, REM, FLOAT, E...
package eparser import ( "testing" ) func TestLex(t *testing.T) { l := newLexer() res, errs := l.Lex("some_var123 **= (7 ** (3 + 4 - 2)) << 1.23 % 0.3") expected := []tokenType{ IDENT, POW_EQ, LPAREN, INT, POW, LPAREN, INT, ADD, INT, SUB, INT, RPAREN, RPAREN, LSH, FLOAT, REM, FLOAT, EOL, } if errs != nil {...
<|file_sep|>original/lexer_test.go package eparser import ( "testing" ) func TestLex(t *testing.T) { l := newLexer() res, errs := l.Lex("a **= (7 ** (3 + 4 - 2)) << 1.23 % 0.3") expected := []tokenType{ IDENT, POW_EQ, LPAREN, INT, POW, LPAREN, INT, ADD, INT, SUB, INT, RPAREN, RPAREN, LSH, FLOAT, REM, FLOAT, E...
a2b8d636f3207a7d27b2f9512c5185d269936e2d
lexer_test.go
lexer_test.go
Go
<|file_sep|>core/kernel/__dir___spec.rb.diff original: ruby_version_is ""..."2.7" do updated: ruby_version_is ""..."2.8" do <|file_sep|>original/core/kernel/__dir___spec.rb eval("__dir__", nil, "foo.rb").should == "." eval("__dir__", nil, "foo/bar.rb").should == "foo" end end ruby_version_is ""...
eval("__dir__", nil, "foo.rb").should == "." eval("__dir__", nil, "foo/bar.rb").should == "foo" end end ruby_version_is ""..."2.8" do context "when used in eval with top level binding" do it "returns the real name of the directory containing the currently-executing file" do eval("...
<|file_sep|>core/kernel/__dir___spec.rb.diff original: ruby_version_is ""..."2.7" do updated: ruby_version_is ""..."2.8" do <|file_sep|>original/core/kernel/__dir___spec.rb eval("__dir__", nil, "foo.rb").should == "." eval("__dir__", nil, "foo/bar.rb").should == "foo" end end ruby_version_is ""...
5eaf9b2f41f1a26d7a7720d2e9873f1f998e383e
core/kernel/__dir___spec.rb
core/kernel/__dir___spec.rb
Ruby
<|file_sep|>original/dashboard/package.json { "name": "wolfia", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "core-js": "^3.4.8", "vue": "^2.6.10", "vue-router...
{ "name": "wolfia", "version": "0.42.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "core-js": "^3.4.8", "vue": "^2.6.10", "vue-router": "^3.1.3" }, "devDependencies": { ...
<|file_sep|>original/dashboard/package.json { "name": "wolfia", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "core-js": "^3.4.8", "vue": "^2.6.10", "vue-router...
72c6b7b6312215f397547a408152f1738d54b307
dashboard/package.json
dashboard/package.json
JSON
<|file_sep|>app/models/json_schemas/operator.json.diff original: "imported_from_feed_onestop_id": { updated: "imported_from_feed_onestop_id": { <|file_sep|>original/app/models/json_schemas/operator.json "type": "array", "uniqueItems": true, "items": { "type": "string", "format": ...
"type": "string", "format": "stop-onestop-id" } }, "doesNotServe": { "type": "array", "uniqueItems": true, "items": { "type": "string", "format": "stop-onestop-id" } }, "imported_from_feed_onestop_id": { "type": "string", "format"...
<|file_sep|>app/models/json_schemas/operator.json.diff original: "imported_from_feed_onestop_id": { updated: "imported_from_feed_onestop_id": { <|file_sep|>original/app/models/json_schemas/operator.json "type": "array", "uniqueItems": true, "items": { "type": "string", "format": ...
20fb5a4facf5ab111254ae2d32b5194257d128ee
app/models/json_schemas/operator.json
app/models/json_schemas/operator.json
JSON
<|file_sep|>odie.py.diff original: import config # pylint: disable=unused-import updated: <|file_sep|>original/odie.py #! /usr/bin/env python3 import config # pylint: disable=unused-import from functools import partial from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login impor...
#! /usr/bin/env python3 from functools import partial from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login import LoginManager app = Flask("odie", template_folder='admin/templates', static_folder='admin/static') import config # pylint: disable=unused-import app.config.from_objec...
<|file_sep|>odie.py.diff original: import config # pylint: disable=unused-import updated: <|file_sep|>original/odie.py #! /usr/bin/env python3 import config # pylint: disable=unused-import from functools import partial from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login impor...
9da75318a5d8cf646442912f46e89ec2e6b13fb3
odie.py
odie.py
Python
<|file_sep|>original/pyflation/analysis/tests/test_deltaprel.py self.Vphi = np.arange(24).reshape((4,3,2)) self.phidot = self.Vphi self.H = np.arange(8).reshape((4,1,2)) def test_shape(self): """Test whether the soundspeeds are shaped correctly.""" arr = deltaprel.s...
self.Vphi = np.arange(24).reshape((4,3,2)) self.phidot = self.Vphi self.H = np.arange(8).reshape((4,1,2)) def test_shape(self): """Test whether the soundspeeds are shaped correctly.""" arr = deltaprel.soundspeeds(self.Vphi, self.phidot, self.H) assert_(arr.s...
<|file_sep|>original/pyflation/analysis/tests/test_deltaprel.py self.Vphi = np.arange(24).reshape((4,3,2)) self.phidot = self.Vphi self.H = np.arange(8).reshape((4,1,2)) def test_shape(self): """Test whether the soundspeeds are shaped correctly.""" arr = deltaprel.s...
efda61fab238c278791245af9a89c6d70d2425e7
pyflation/analysis/tests/test_deltaprel.py
pyflation/analysis/tests/test_deltaprel.py
Python
<|file_sep|>recipes/sympy/meta.yaml.diff original: {% set version="1.0" %} updated: {% set version = "1.1" %} <|file_sep|>original/recipes/sympy/meta.yaml {% set version="1.0" %} package: name: sympy version: {{ version }} source: fn: sympy-{{ version }}.tar.gz url: https://pypi.python.org/packages/source/s/s...
{% set version = "1.1" %} package: name: sympy version: {{ version }} source: fn: sympy-{{ version }}.tar.gz url: https://pypi.io/packages/source/s/sympy/sympy-{{ version }}.tar.gz md5: e1b7a2b14066fc99c1cf22cedba56be8 build: number: 0 script: python setup.py install requirements: build: - fastc...
<|file_sep|>recipes/sympy/meta.yaml.diff original: {% set version="1.0" %} updated: {% set version = "1.1" %} <|file_sep|>original/recipes/sympy/meta.yaml {% set version="1.0" %} package: name: sympy version: {{ version }} source: fn: sympy-{{ version }}.tar.gz url: https://pypi.python.org/packages/source/s/s...
a24469a92d187342ff3186d93d2af0a10d0237c9
recipes/sympy/meta.yaml
recipes/sympy/meta.yaml
YAML
<|file_sep|>static/social-relay/well-known-schema-v1.json.diff original: updated: "scope": { "type": "string", "pattern": "^all|tags$" }, <|file_sep|>static/social-relay/well-known-schema-v1.json.diff original: "items": {"type": "string"} updated: "items": {"type": "string"}, "uni...
"type": "object", "properties": { "subscribe": { "type": "boolean" }, "scope": { "type": "string", "pattern": "^all|tags$" }, "tags": { "type": "array", "items": {"type": "string"}, "uniqueItems": true } }, "required": [ "subscribe", "scope", ...
<|file_sep|>static/social-relay/well-known-schema-v1.json.diff original: updated: "scope": { "type": "string", "pattern": "^all|tags$" }, <|file_sep|>static/social-relay/well-known-schema-v1.json.diff original: "items": {"type": "string"} updated: "items": {"type": "string"}, "uni...
4b71efd0ca252cec9f501ccdb3b59ef2a43dd28b
static/social-relay/well-known-schema-v1.json
static/social-relay/well-known-schema-v1.json
JSON
<|file_sep|>original/layouts/partials/head.html <meta name="author" content=""> <!-- Mobile Specific Metas –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- FONT –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link hr...
<meta name="author" content=""> <!-- Mobile Specific Metas –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- FONT –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link href="//fonts.googleapis.com/css?family=Raleway:40...
<|file_sep|>original/layouts/partials/head.html <meta name="author" content=""> <!-- Mobile Specific Metas –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- FONT –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link hr...
5d2b8f2a72ede68effd0bb78dcfc15701e03c0dc
layouts/partials/head.html
layouts/partials/head.html
HTML
<|file_sep|>original/app/views/tools/hunkerdown.html.haml .page-header %h1 Hunker Down .page-body %p Narrow down your followers and following to only mutuals - by unfollowing non-mutuals, and softblocking non-mutual followers <|file_sep|>current/app/views/tools/hunkerdown.html.haml .page-header %h1 Hunker Down ...
.page-header %h1 Hunker Down .page-body %p Narrow down your followers and following to only mutuals - by unfollowing non-mutuals, and softblocking non-mutual followers. Best used when making your account private!
<|file_sep|>original/app/views/tools/hunkerdown.html.haml .page-header %h1 Hunker Down .page-body %p Narrow down your followers and following to only mutuals - by unfollowing non-mutuals, and softblocking non-mutual followers <|file_sep|>current/app/views/tools/hunkerdown.html.haml .page-header %h1 Hunker Down ...
60b02164be0324f6b1ebd65af3a956cb05fedad2
app/views/tools/hunkerdown.html.haml
app/views/tools/hunkerdown.html.haml
Haml
<|file_sep|>original/examples/realtime-feeds-indexer/src/main/java/eu/mosaic_cloud/examples/realtime_feeds/indexer/IndexerComponentLauncher.java <|file_sep|>current/examples/realtime-feeds-indexer/src/main/java/eu/mosaic_cloud/examples/realtime_feeds/indexer/IndexerComponentLauncher.java <|file_sep|>updated/examples/...
/* * #%L * mosaic-cloudlets * %% * Copyright (C) 2010 - 2012 Institute e-Austria Timisoara (Romania) * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
<|file_sep|>original/examples/realtime-feeds-indexer/src/main/java/eu/mosaic_cloud/examples/realtime_feeds/indexer/IndexerComponentLauncher.java <|file_sep|>current/examples/realtime-feeds-indexer/src/main/java/eu/mosaic_cloud/examples/realtime_feeds/indexer/IndexerComponentLauncher.java <|file_sep|>updated/examples/...
f3960411f0e9f49a3f52d5e080337e9e2b821a68
examples/realtime-feeds-indexer/src/main/java/eu/mosaic_cloud/examples/realtime_feeds/indexer/IndexerComponentLauncher.java
examples/realtime-feeds-indexer/src/main/java/eu/mosaic_cloud/examples/realtime_feeds/indexer/IndexerComponentLauncher.java
Java
<|file_sep|>original/recipes/python_abi/conda_build_config.yaml python_abi_tag: - cp27mu - cp34m - cp35m - cp36m - cp37m - cp38 - pypy27_pp73 - pypy36_pp73 python_requirement: - 2.7.* - 3.4.* - 3.5.* - 3.6.* - 3.7.* - 3.8.* - 2.7.* _73_pypy - 3.6.* _73_pypy python_version: <|file_sep|>current/recipes/...
python_abi_tag: - cp27mu # [linux] - cp27m # [not linux] - cp34m - cp35m - cp36m - cp37m - cp38 - pypy27_pp73 - pypy36_pp73 python_requirement: - 2.7.* - 3.4.* - 3.5.* - 3.6.* - 3.7.* - 3.8.* - 2.7.* _73_pypy - 3.6.* _73_pypy
<|file_sep|>original/recipes/python_abi/conda_build_config.yaml python_abi_tag: - cp27mu - cp34m - cp35m - cp36m - cp37m - cp38 - pypy27_pp73 - pypy36_pp73 python_requirement: - 2.7.* - 3.4.* - 3.5.* - 3.6.* - 3.7.* - 3.8.* - 2.7.* _73_pypy - 3.6.* _73_pypy python_version: <|file_sep|>current/recipes/...
843b5e69ec955c21583f9a9d5678d2c11294fbe2
recipes/python_abi/conda_build_config.yaml
recipes/python_abi/conda_build_config.yaml
YAML
<|file_sep|>original/package.json { "name": "postgres-array", "main": "index.js", "version": "0.0.0", "description": "Parse postgres array columns", "license": "MIT", "repository": "bendrucker/postgres-array", "author": { "name": "Ben Drucker", "email": "bvdrucker@gmail.com", "url": "bendrucke...
{ "name": "postgres-array", "main": "index.js", "version": "1.0.0", "description": "Parse postgres array columns", "license": "MIT", "repository": "bendrucker/postgres-array", "author": { "name": "Ben Drucker", "email": "bvdrucker@gmail.com", "url": "bendrucker.me" }, "engines": { "nod...
<|file_sep|>original/package.json { "name": "postgres-array", "main": "index.js", "version": "0.0.0", "description": "Parse postgres array columns", "license": "MIT", "repository": "bendrucker/postgres-array", "author": { "name": "Ben Drucker", "email": "bvdrucker@gmail.com", "url": "bendrucke...
8baf2461a28f15b313e2be7a5e0e30bcdf6375ec
package.json
package.json
JSON
<|file_sep|>original/datasets/scrnaseq/scrnaseq-knit.sh #!/bin/bash #SBATCH -J knit-sc #SBATCH -n 8 #SBATCH -N 1 #SBATCH -p shared #SBATCH --mem 125G #SBATCH -t 0-4:00 #SBATCH -o render-%j.out #SBATCH -e render-%j.err export RSTUDIO_PANDOC="/n/sw/fasrcsw/apps/Core/rstudio/0.98.1103-fasrc01/bin/pandoc/" # change file...
#!/bin/bash #SBATCH -J knit-sc #SBATCH -n 8 #SBATCH -N 1 #SBATCH -p shared #SBATCH --mem 125G #SBATCH -t 0-4:00 #SBATCH -o render-%j.out #SBATCH -e render-%j.err module load pandoc export RSTUDIO_PANDOC="/n/sw/fasrcsw/apps/Core/pandoc/2.0.2-fasrc01/bin/pandoc/" # change filename to Rmd to be knitted # make sure numbe...
<|file_sep|>original/datasets/scrnaseq/scrnaseq-knit.sh #!/bin/bash #SBATCH -J knit-sc #SBATCH -n 8 #SBATCH -N 1 #SBATCH -p shared #SBATCH --mem 125G #SBATCH -t 0-4:00 #SBATCH -o render-%j.out #SBATCH -e render-%j.err export RSTUDIO_PANDOC="/n/sw/fasrcsw/apps/Core/rstudio/0.98.1103-fasrc01/bin/pandoc/" # change file...
6ac64f3c7d4482028ecd6b8d17642b0843fa50ea
datasets/scrnaseq/scrnaseq-knit.sh
datasets/scrnaseq/scrnaseq-knit.sh
Shell
<|file_sep|>original/packages/youtube/package.js 'client/style.css', 'client/router.js', 'client/list-vdos.html', 'client/list-vdos.js', 'client/insert-vdo.html', 'client/insert-vdo.js' ], 'client') api.export(['notifBadYoutubeId'], 'client') api.export('Vdos', 'server') api.export([ ...
'client/style.css', 'client/router.js', 'client/list-vdos.html', 'client/list-vdos.js', 'client/insert-vdo.html', 'client/insert-vdo.js' ], 'client') api.export(['notifBadYoutubeId'], 'client') api.export('Vdos', 'server') api.export([ 'youtubeIdCheckLength', 'queryValueByFieldNa...
<|file_sep|>original/packages/youtube/package.js 'client/style.css', 'client/router.js', 'client/list-vdos.html', 'client/list-vdos.js', 'client/insert-vdo.html', 'client/insert-vdo.js' ], 'client') api.export(['notifBadYoutubeId'], 'client') api.export('Vdos', 'server') api.export([ ...
7d8217e5404375885c14539d5a3cdd6799755154
packages/youtube/package.js
packages/youtube/package.js
JavaScript
<|file_sep|>original/tests/README.md Tests === This is a suite of tests written for jasmine-node. To run them you must have node installed, and the jasmine-node module. Once installed the tests can be run on the command line in the test folder with the command ```jasmine-node .```. For best results run the command f...
For best results run the command from the top-level tests directory. For example, to run just the unit tests: * `PS C:\src\Bundler\tests> jasmine-node .\unit\` Or to run a particular suite of tests: * `PS C:\src\Bundler\tests> jasmine-node .\unit\styleguide\styleguide-spec.js` If you want to run all t...
<|file_sep|>original/tests/README.md Tests === This is a suite of tests written for jasmine-node. To run them you must have node installed, and the jasmine-node module. Once installed the tests can be run on the command line in the test folder with the command ```jasmine-node .```. For best results run the command f...
e8bc38ab2fa7941e6d2943ded9de3fb74783b1cf
tests/README.md
tests/README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - npm --version <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g npm@2 - npm install -g grunt-cli - "export DISPLAY_PORT=:99" - "export DISPLAY=$DISPLAY_PORT.0" - "/sbin/start-stop-daemon --start --quiet ...
language: node_js node_js: - "0.10" before_install: - npm install -g npm@2 - npm --version - npm install -g grunt-cli before_script: - phantomjs --version - grunt install
<|file_sep|>.travis.yml.diff original: updated: - npm --version <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g npm@2 - npm install -g grunt-cli - "export DISPLAY_PORT=:99" - "export DISPLAY=$DISPLAY_PORT.0" - "/sbin/start-stop-daemon --start --quiet ...
c967a13cd3aa2c0a2fd5396be3f4bb751f7945ef
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/hakimel/reveal.js.git" }, "engines": { "node": "~0.8.0" }, "dependencies": { "underscore": "~1.3.3", "express": "~2.5.9", "mustache": "~0.4.0", "socket.io": "~0.9.13" }, "devDependencies": { "grunt-cont...
"type": "git", "url": "git://github.com/hakimel/reveal.js.git" }, "engines": { "node": "~0.8.0" }, "dependencies": { "underscore": "~1.3.3", "express": "~2.5.9", "mustache": "~0.4.0", "socket.io": "~0.9.13", "connect": "2.7.6" }, "devDependencies": { "grunt-contrib-jshint...
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/hakimel/reveal.js.git" }, "engines": { "node": "~0.8.0" }, "dependencies": { "underscore": "~1.3.3", "express": "~2.5.9", "mustache": "~0.4.0", "socket.io": "~0.9.13" }, "devDependencies": { "grunt-cont...
8a24219d5c32b9fc4c02e0e86019b5301e0f3ba2
package.json
package.json
JSON
<|file_sep|>original/custom/aliases.zsh alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' alias grep='grep --color=auto' alias rm='trash' alias tigs='tig status' alias rb='rbenv' alias be='bundle exec' alias pt='pstree' alias bi='bundle install --path=vendor/bundle --binstubs=.binstubs' alias vless='/usr/local/opt/v...
alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' alias grep='grep --color=auto' alias rm='trash' alias tigs='tig status' alias rb='rbenv' alias be='bundle exec' alias pt='pstree' alias bi='bundle install --path=vendor/bundle --binstubs=.binstubs' alias vless='/usr/local/opt/vim/share/vim/vim74/macros/less.sh' alias...
<|file_sep|>original/custom/aliases.zsh alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' alias grep='grep --color=auto' alias rm='trash' alias tigs='tig status' alias rb='rbenv' alias be='bundle exec' alias pt='pstree' alias bi='bundle install --path=vendor/bundle --binstubs=.binstubs' alias vless='/usr/local/opt/v...
7626b1f1497318f5db62f32e047e9350f9ba905e
custom/aliases.zsh
custom/aliases.zsh
Shell
<|file_sep|>original/angular/0070-unit-of-measure-input/readme.md <|file_sep|>current/angular/0070-unit-of-measure-input/readme.md <|file_sep|>updated/angular/0070-unit-of-measure-input/readme.md
# Unit of Measure Input In this exercise we created a reusable Angular component for entering a value plus a unit of measure. The sample code can be found [on Stackblitz](https://stackblitz.com/edit/angular-uom-input).
<|file_sep|>original/angular/0070-unit-of-measure-input/readme.md <|file_sep|>current/angular/0070-unit-of-measure-input/readme.md <|file_sep|>updated/angular/0070-unit-of-measure-input/readme.md # Unit of Measure Input In this exercise we created a reusable Angular component for entering a value plus a unit of meas...
7be1cf544b4e46cbc918919a11f5ff4d12115d6c
angular/0070-unit-of-measure-input/readme.md
angular/0070-unit-of-measure-input/readme.md
Markdown
<|file_sep|>lib/plugins/tnms.rb.diff original: page = Nokogiri::HTML(open('http://www.tnms.tv/rating/default.asp')) station = page.css('tr.margin2')[0].css('td')[2].text title = page.css('tr.margin2')[0].css('td')[1].text[0...-3] m.reply "TNmS Rank 1: #{station} - #{title}" updated: ...
with_num(m, '.', 'tnms', 1) end def with_num(m, prefix, tnms, num) return m.reply 'invalid num bru' if num.to_i < 1 return m.reply 'less than 21 bru' if num.to_i > 20 rank = num.to_i - 1 page = Nokogiri::HTML(open('http://www.tnms.tv/rating/default.asp')) sta...
<|file_sep|>lib/plugins/tnms.rb.diff original: page = Nokogiri::HTML(open('http://www.tnms.tv/rating/default.asp')) station = page.css('tr.margin2')[0].css('td')[2].text title = page.css('tr.margin2')[0].css('td')[1].text[0...-3] m.reply "TNmS Rank 1: #{station} - #{title}" updated: ...
c3f561c317d429f8587d3c05dd5f4368a31adb5b
lib/plugins/tnms.rb
lib/plugins/tnms.rb
Ruby
<|file_sep|>.forestry/front_matter/templates/event.yml.diff original: updated: hidden: true <|file_sep|>.forestry/front_matter/templates/event.yml.diff original: label: title updated: label: Event title description: 'Example: "2020 SV Alumni Reunion"' <|file_sep|>.forestry/front_matter/templates/event.yml.diff...
name: layout label: layout hidden: true - type: text name: title label: Event title description: 'Example: "2020 SV Alumni Reunion"' - type: file name: img-url label: List image config: maxSize: 2 - type: datetime name: date label: date - type: text name: event-type label: Type of event ...
<|file_sep|>.forestry/front_matter/templates/event.yml.diff original: updated: hidden: true <|file_sep|>.forestry/front_matter/templates/event.yml.diff original: label: title updated: label: Event title description: 'Example: "2020 SV Alumni Reunion"' <|file_sep|>.forestry/front_matter/templates/event.yml.diff...
c11f8a8d4989ff039bfbb5fefa9815ef15746897
.forestry/front_matter/templates/event.yml
.forestry/front_matter/templates/event.yml
YAML
<|file_sep|>ReadForbidden.java.diff original: String tcln = args[0]; ClassLoader cl = ClassLoader.getSystemClassLoader(); Class newClass = cl.loadClass(tcln); Forbidden forbidden = (Forbidden) newClass.getAnnotation(Forbidden.class); updated: <|file_sep|>ReadForbidden.java.diff original: for (String s : forb...
System.exit(-1); } String grep = "egrep '(java/lang/ClassLoader|java\\.lang\\.ClassLoader|java/lang/reflect|java\\.lang\\.reflect"; ClassLoader cl = ClassLoader.getSystemClassLoader(); for (String tcln : args) { Class newClass = cl.loadClass(tcln); Forbidden forbidden = (Forbidden) newClass.getAnnota...
<|file_sep|>ReadForbidden.java.diff original: String tcln = args[0]; ClassLoader cl = ClassLoader.getSystemClassLoader(); Class newClass = cl.loadClass(tcln); Forbidden forbidden = (Forbidden) newClass.getAnnotation(Forbidden.class); updated: <|file_sep|>ReadForbidden.java.diff original: for (String s : forb...
db3b9b0e010a953fe8107fd80d6cbf2deaced5de
ReadForbidden.java
ReadForbidden.java
Java
<|file_sep|>js/components/module-port.js.diff original: updated: var dom = app.dom || require('../dom.js'); <|file_sep|>original/js/components/module-port.js var jCore = require('jcore'); var helper = app.helper || require('../helper.js'); var ModulePort = helper.inherits(function(props) { ModulePort.sup...
this.label = this.prop(props.label); this.name = this.prop(props.name); this.type = this.prop(props.type); this.socketDisabled = this.prop(props.socketDisabled); this.plugDisabled = this.prop(props.plugDisabled); this.visible = this.prop(false); this.element = this.prop(null); }, jCore.Co...
<|file_sep|>js/components/module-port.js.diff original: updated: var dom = app.dom || require('../dom.js'); <|file_sep|>original/js/components/module-port.js var jCore = require('jcore'); var helper = app.helper || require('../helper.js'); var ModulePort = helper.inherits(function(props) { ModulePort.sup...
49fddaeaa3932174cf4aae1b68eaf9ff6f622972
js/components/module-port.js
js/components/module-port.js
JavaScript
<|file_sep|>docs/creating-projects.markdown.diff original: Kanboard can handle multiple projects. updated: Kanboard can handle multiple projects. There are two kinds of project: - Project with mutliple users (you work in team) - Private project for a single user <|file_sep|>docs/creating-projects.markdown.diff origina...
- Only administrators can create those projects - User management is available From the dashboard, click on the link **New project**. Then the form appears: ![Project creation form](http://kanboard.net/screenshots/documentation/project-creation-form.png) It's very easy, you just have to find a name for your project...
<|file_sep|>docs/creating-projects.markdown.diff original: Kanboard can handle multiple projects. updated: Kanboard can handle multiple projects. There are two kinds of project: - Project with mutliple users (you work in team) - Private project for a single user <|file_sep|>docs/creating-projects.markdown.diff origina...
fd22b955751075e4a69df9c1d24995f15b991be7
docs/creating-projects.markdown
docs/creating-projects.markdown
Markdown
<|file_sep|>.travis.yml.diff original: user: $PYPI_USER password: $PYPI_PASSWORD updated: user: linkyndy password: secure: "K7lrgkEOm9bDf7EEBQqGxDjnjAVBpQTOec9PmFgB/C8YWUJhhI8mhs/b6JCh32p9AQACbUn/2BBUVqWnTL0exBPQNsVzkpUeaj9OZJD8kFjx0uv5YwDzjEufh1dMJNUYzx2J3KGcDvn6aKSP0RXxLCFF97a6WYc9YN8tutlSLbQ=" <|file_sep...
dist: xenial language: python python: - 2.7 - 3.4 - 3.5 - 3.6 - 3.7 addons: - rethinkdb: 2.3 install: - pip install .[dev] script: pytest deploy: provider: pypi user: linkyndy password: secure: "K7lrgkEOm9bDf7EEBQqGxDjnjAVBpQTOec9PmFgB/C8YWUJhhI8mhs/b6JCh32p9AQACbUn/2BBUVqWnTL0exBPQNsVzkpUeaj9OZ...
<|file_sep|>.travis.yml.diff original: user: $PYPI_USER password: $PYPI_PASSWORD updated: user: linkyndy password: secure: "K7lrgkEOm9bDf7EEBQqGxDjnjAVBpQTOec9PmFgB/C8YWUJhhI8mhs/b6JCh32p9AQACbUn/2BBUVqWnTL0exBPQNsVzkpUeaj9OZJD8kFjx0uv5YwDzjEufh1dMJNUYzx2J3KGcDvn6aKSP0RXxLCFF97a6WYc9YN8tutlSLbQ=" <|file_sep...
70887696bc6f2ffd7f715372af87f7cc1b418315
.travis.yml
.travis.yml
YAML
<|file_sep|>original/t/02perlcritic.t } ## Gotta have our code my $CODE = './Safe.pm'; if (! -e $CODE) { plan (skip_all => qq{Perl::Critic cannot find "$CODE" to test with\n}); } plan tests => 1; Test::Perl::Critic->import( -profile => $PROFILE ); critic_ok($CODE); #all_critic_ok(); __DATA__ plan tests => 1; my $...
require Test::Perl::Critic; }; if ($@) { plan (skip_all => 'Test::Perl::Critic needed to run this test'); } ## Gotta have a profile my $PROFILE = '.perlcriticrc'; if (! -e $PROFILE) { plan (skip_all => qq{Perl::Critic profile "$PROFILE" not found\n}); } ## Gotta have our code my $CODE = './Safe.pm'; if (! -e $...
<|file_sep|>original/t/02perlcritic.t } ## Gotta have our code my $CODE = './Safe.pm'; if (! -e $CODE) { plan (skip_all => qq{Perl::Critic cannot find "$CODE" to test with\n}); } plan tests => 1; Test::Perl::Critic->import( -profile => $PROFILE ); critic_ok($CODE); #all_critic_ok(); __DATA__ plan tests => 1; my $...
1cd4b468d6b9e9eb933a1f12731ff45c84ada872
t/02perlcritic.t
t/02perlcritic.t
Perl
<|file_sep|>source/addons/responsive_controls/ResponsiveSizing.gd.diff original: export(Vector2) var minimumParentSize updated: export(Vector2) var minimumParentSize = Vector2() <|file_sep|>original/source/addons/responsive_controls/ResponsiveSizing.gd tool extends Control # Minimum size the parent Control must have i...
tool extends Control # Minimum size the parent Control must have in order to trigger this Responsive Sizing export(Vector2) var minimumParentSize = Vector2() # Whether or not this Responsive Sizing is visible in the set size export(bool) var isVisible = true # Checks if this Responsive Sizing is eligible under the s...
<|file_sep|>source/addons/responsive_controls/ResponsiveSizing.gd.diff original: export(Vector2) var minimumParentSize updated: export(Vector2) var minimumParentSize = Vector2() <|file_sep|>original/source/addons/responsive_controls/ResponsiveSizing.gd tool extends Control # Minimum size the parent Control must have i...
0b48df9444934c0e25564e990545410d4d64dc29
source/addons/responsive_controls/ResponsiveSizing.gd
source/addons/responsive_controls/ResponsiveSizing.gd
GDScript
<|file_sep|>original/app/Console/Commands/DeletePosts.php <|file_sep|>current/app/Console/Commands/DeletePosts.php <|file_sep|>updated/app/Console/Commands/DeletePosts.php
<?php namespace Rogue\Console\Commands; use Illuminate\Console\Command; use Rogue\Models\Post; class DeletePosts extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'rogue:deleteposts {ids* : A space-...
<|file_sep|>original/app/Console/Commands/DeletePosts.php <|file_sep|>current/app/Console/Commands/DeletePosts.php <|file_sep|>updated/app/Console/Commands/DeletePosts.php <?php namespace Rogue\Console\Commands; use Illuminate\Console\Command; use Rogue\Models\Post; class DeletePosts extends Command { /** ...
3d7e8398fc7cfda6a505acdb743f2d9894af4827
app/Console/Commands/DeletePosts.php
app/Console/Commands/DeletePosts.php
PHP
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 script: - bundle exec rake unit_tests notifications: webhooks: https://www.buildheroes.com/api/projects/588c9dffdc8f0deff4d89d87bf370e8dba8a8a95/builds irc: channels: ["chat.freenode.net##jenkins-api-client"] u...
language: ruby rvm: - 2.2.10 - 2.3.8 - 2.4.10 - 2.5.8 - 2.6.6 - 2.7.1 script: - bundle exec rake unit_tests notifications: webhooks: https://www.buildheroes.com/api/projects/588c9dffdc8f0deff4d89d87bf370e8dba8a8a95/builds irc: channels: ["chat.freenode.net##jenkins-api-client"] use_notice: ...
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 script: - bundle exec rake unit_tests notifications: webhooks: https://www.buildheroes.com/api/projects/588c9dffdc8f0deff4d89d87bf370e8dba8a8a95/builds irc: channels: ["chat.freenode.net##jenkins-api-client"] u...
1daaa98e69fa48a65da5c71806642f973d771d5a
.travis.yml
.travis.yml
YAML
<|file_sep|>index.js.diff original: const template = fs.readFileSync('./template.md', {encoding: 'utf-8'}); updated: const defaultTemplate = fs.readFileSync('./template.md', {encoding: 'utf-8'}); <|file_sep|>index.js.diff original: updated: <|file_sep|>original/index.js threshold: 0.2, keys: [{ na...
weight: 0.8 }, { name: 'body', weight: 0.2 }] }); const results = fuse.search(theIssue.title); if (results.length > 0) { let template; try { // Try to get issue template from the repository const params = context.repo({path: '.github/DUPLICA...
<|file_sep|>index.js.diff original: const template = fs.readFileSync('./template.md', {encoding: 'utf-8'}); updated: const defaultTemplate = fs.readFileSync('./template.md', {encoding: 'utf-8'}); <|file_sep|>index.js.diff original: updated: <|file_sep|>original/index.js threshold: 0.2, keys: [{ na...
07eb76fb3d19873e834ac2728d1480792df87878
index.js
index.js
JavaScript