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/test/integration/default/minitest/test_default.rb
require "minitest/autorun"
require "minitest/reporters"
Minitest::Reporters.use! [Minitest::Reporters::JUnitReporter.new(reports_dir="/tmp/result/junit")]
describe 'check R version' do
it "check R version" do
system('echo "q()" > /tmp/showve... | require "minitest/autorun"
require "minitest/reporters"
Minitest::Reporters.use! [Minitest::Reporters::JUnitReporter.new(reports_dir="/tmp/result/junit")]
describe 'check R version' do
it "check R version" do
system('echo "q()" > /tmp/showversion.R')
system('/usr/local/R-devel/bin/R CMD BATCH /tmp/showversi... | <|file_sep|>original/test/integration/default/minitest/test_default.rb
require "minitest/autorun"
require "minitest/reporters"
Minitest::Reporters.use! [Minitest::Reporters::JUnitReporter.new(reports_dir="/tmp/result/junit")]
describe 'check R version' do
it "check R version" do
system('echo "q()" > /tmp/showve... | f91798e94f06db24fec75dbc2e10eee06f40fe15 | test/integration/default/minitest/test_default.rb | test/integration/default/minitest/test_default.rb | Ruby |
<|file_sep|>original/correos_project/correos/managers.py
from dateutil.parser import parse
class EmailManager(models.Manager):
def create_from_message(self, mailfrom, rcpttos, data):
from .models import Recipient
message = message_from_string(data)
realnames = {}
for rcptto in mess... | from dateutil.parser import parse
class EmailManager(models.Manager):
def create_from_message(self, mailfrom, rcpttos, data):
from .models import Recipient
message = message_from_string(data)
realnames = {}
for rcptto in message['To'].split(','):
realname, email = utils... | <|file_sep|>original/correos_project/correos/managers.py
from dateutil.parser import parse
class EmailManager(models.Manager):
def create_from_message(self, mailfrom, rcpttos, data):
from .models import Recipient
message = message_from_string(data)
realnames = {}
for rcptto in mess... | d0ccfd4558b9dcf1610140c9df95cec284f0fbe3 | correos_project/correos/managers.py | correos_project/correos/managers.py | Python |
<|file_sep|>original/clair/health.go
"fmt"
"net/http"
"os"
"strconv"
"strings"
)
func IsHealthy() bool {
Config()
healthUri := strings.Replace(uri, "6060", strconv.Itoa(healthPort), 1)
response, err := http.Get(healthUri + "/health")
if err != nil {
fmt.Fprintf(os.Stderr, "requesting Clair health: %v", er... | "fmt"
"net/http"
"os"
"strconv"
"strings"
)
func IsHealthy() bool {
Config()
healthURI := strings.Replace(uri, "6060/v1", strconv.Itoa(healthPort), 1) + "/health"
response, err := http.Get(healthURI)
if err != nil {
fmt.Fprintf(os.Stderr, "requesting Clair health: %v", err)
return false
}
defer respons... | <|file_sep|>original/clair/health.go
"fmt"
"net/http"
"os"
"strconv"
"strings"
)
func IsHealthy() bool {
Config()
healthUri := strings.Replace(uri, "6060", strconv.Itoa(healthPort), 1)
response, err := http.Get(healthUri + "/health")
if err != nil {
fmt.Fprintf(os.Stderr, "requesting Clair health: %v", er... | 42271b7c7bb2d83627f0e09990f670ac32b8d311 | clair/health.go | clair/health.go | Go |
<|file_sep|>original/test_runner.gemspec
require 'test_runner/version'
Gem::Specification.new do |s|
# 1.8.x is not supported
s.required_ruby_version = '>= 1.9.3'
s.name = 'test_runner'
s.version = TestRunner::VERSION
s.date = TestRunner::DATE
s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
... |
Gem::Specification.new do |s|
# 1.8.x is not supported
s.required_ruby_version = '>= 1.9.3'
s.name = 'test_runner'
s.version = TestRunner::VERSION
s.date = TestRunner::DATE
s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
s.description = s.summary = 'TestRunner'
s.description += '.' # avoi... | <|file_sep|>original/test_runner.gemspec
require 'test_runner/version'
Gem::Specification.new do |s|
# 1.8.x is not supported
s.required_ruby_version = '>= 1.9.3'
s.name = 'test_runner'
s.version = TestRunner::VERSION
s.date = TestRunner::DATE
s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
... | aeb031f790c4eba21896c08415339640445b0e49 | test_runner.gemspec | test_runner.gemspec | Ruby |
<|file_sep|>original/templates/_includes/footer.html
<p>
Copyright © 2013 - {{ AUTHOR }} -
<span class="credit">Powered by <a href="http://getpelican.com">Pelican</a></span>
</p>
<|file_sep|>current/templates/_includes/footer.html
<p>
Copyright © 2013 - {{ AUTHOR }} -
<span class="credit">Powered by <... | <p>
{% if LICENSE %}
{{ LICENSE }}
{% else %}
Copyright © 2014 - {{ AUTHOR }} -
{% endif %}
<span class="credit">Powered by <a href="http://getpelican.com">Pelican</a></span>
</p> | <|file_sep|>original/templates/_includes/footer.html
<p>
Copyright © 2013 - {{ AUTHOR }} -
<span class="credit">Powered by <a href="http://getpelican.com">Pelican</a></span>
</p>
<|file_sep|>current/templates/_includes/footer.html
<p>
Copyright © 2013 - {{ AUTHOR }} -
<span class="credit">Powered by <... | 9ce9a770b54361232260a6a04c322ab8205430be | templates/_includes/footer.html | templates/_includes/footer.html | HTML |
<|file_sep|>lib/linkeddata.rb.diff
original:
updated:
# @see http://rubygems.org/gems/json/ld
require 'json/ld'
<|file_sep|>lib/linkeddata.rb.diff
original:
updated:
# @see http://rubygems.org/gems/rdf-microdata
require 'rdf/microdata'
<|file_sep|>original/lib/linkeddata.rb
# @see http://rubygems.org/gems... |
# @see http://rubygems.org/gems/rdf-rdfa
require 'rdf/rdfa'
# @see http://rubygems.org/gems/rdf-rdfxml
require 'rdf/rdfxml'
# @see http://rubygems.org/gems/rdf-trix
require 'rdf/trix'
# @see http://rubygems.org/gems/rdf-turtle
require 'rdf/turtle'
# @see http://rubygems.org/gems/sparql-client
b... | <|file_sep|>lib/linkeddata.rb.diff
original:
updated:
# @see http://rubygems.org/gems/json/ld
require 'json/ld'
<|file_sep|>lib/linkeddata.rb.diff
original:
updated:
# @see http://rubygems.org/gems/rdf-microdata
require 'rdf/microdata'
<|file_sep|>original/lib/linkeddata.rb
# @see http://rubygems.org/gems... | dffbf1b8555e442135de501bf78b21f123a07a85 | lib/linkeddata.rb | lib/linkeddata.rb | Ruby |
<|file_sep|>AngularBasic/webpack.config.ts.diff
original:
updated:
if (!prod && aot) { console.warn("Vendor dll bundle will not be used as AOT is enabled"); }
<|file_sep|>original/AngularBasic/webpack.config.ts
const prod = isProd(env);
const aot = isAOT(env);
const bundleConfig: Configuration = webpac... | const prod = isProd(env);
const aot = isAOT(env);
if (!prod && aot) { console.warn("Vendor dll bundle will not be used as AOT is enabled"); }
const bundleConfig: Configuration = webpackMerge(WebpackCommonConfig(env, "main"), {
entry: {
app: [
"./ClientApp/main.ts",
... | <|file_sep|>AngularBasic/webpack.config.ts.diff
original:
updated:
if (!prod && aot) { console.warn("Vendor dll bundle will not be used as AOT is enabled"); }
<|file_sep|>original/AngularBasic/webpack.config.ts
const prod = isProd(env);
const aot = isAOT(env);
const bundleConfig: Configuration = webpac... | cba84223b4544b93f619113d96e749bd6b58368c | AngularBasic/webpack.config.ts | AngularBasic/webpack.config.ts | TypeScript |
<|file_sep|>original/README.md
[](https://travis-ci.org/winebarrel/fluent-plugin-dd)
## Installation
$ gem install fluent-plugin-dd
## Configuration
```
<match datadog.**>
type dd
dd_api_key ...
#dd_app_key_key ...
#host... | [](https://travis-ci.org/winebarrel/fluent-plugin-dd)
## Installation
$ gem install fluent-plugin-dd
## Configuration
```
<match datadog.**>
@type dd
dd_api_key ...
#dd_app_key_key ...
#host my_host.example.com
#device... | <|file_sep|>original/README.md
[](https://travis-ci.org/winebarrel/fluent-plugin-dd)
## Installation
$ gem install fluent-plugin-dd
## Configuration
```
<match datadog.**>
type dd
dd_api_key ...
#dd_app_key_key ...
#host... | 41b805765ac0c300caf3d2463218fad77a831416 | README.md | README.md | Markdown |
<|file_sep|>original/ubuntu_server_console.txt
In the grub command line, run vbeinfo to find resolutions
/etc/default/grub:
GRUB_GFXMODE=2560x1440x32
or
GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep
# disable console screen blanking (which may not re-enable on certain graphics cards and monitors)
GRUB_CMDLINE_LINUX_DEF... | In the grub command line, run vbeinfo to find resolutions
/etc/default/grub:
GRUB_GFXMODE=2560x1440x32
or
GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep
# disable console screen blanking (which may not re-enable on certain graphics cards and monitors)
GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0"
$ update-grub
Configure... | <|file_sep|>original/ubuntu_server_console.txt
In the grub command line, run vbeinfo to find resolutions
/etc/default/grub:
GRUB_GFXMODE=2560x1440x32
or
GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep
# disable console screen blanking (which may not re-enable on certain graphics cards and monitors)
GRUB_CMDLINE_LINUX_DEF... | 1236b633d9ed8a32ec583ebf48199a5b17b846e0 | ubuntu_server_console.txt | ubuntu_server_console.txt | Text |
<|file_sep|>original/.github/workflows/ci.yml
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: 'Build RRG executable'
uses: actions-rs/cargo@v1
with:
command: build
- name: 'Run RRG tests'
uses: actions-rs/cargo@v1
... | submodules: true
- name: 'Install the Rust toolchain'
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: 'Build RRG executable'
uses: actions-rs/cargo@v1
with:
command: build
- name: 'Run RRG tests'
uses:... | <|file_sep|>original/.github/workflows/ci.yml
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: 'Build RRG executable'
uses: actions-rs/cargo@v1
with:
command: build
- name: 'Run RRG tests'
uses: actions-rs/cargo@v1
... | 7487eb12c269a60ff0751085b55cd5f0ab6e546d | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/.drone.yml
build:
image: bjodah/bjodahimg16:v1.2
commands:
- ./scripts/ci.sh
- (cd examples/; ipython2 nbconvert --to=html --ExecutePreprocessor.enabled=True --ExecutePreprocessor.timeout=300 *.ipynb)
- (cd examples/; ../scripts/render_index.sh *.html)
- python3 -m pip install s... | build:
image: bjodah/bjodahimg16:v1.3
commands:
- ./scripts/ci.sh
- (cd examples/; ipython2 nbconvert --to=html --ExecutePreprocessor.enabled=True --ExecutePreprocessor.timeout=300 *.ipynb)
- (cd examples/; ../scripts/render_index.sh *.html)
- python3 -m pip install sphinx sphinx_rtd_theme
- ./s... | <|file_sep|>original/.drone.yml
build:
image: bjodah/bjodahimg16:v1.2
commands:
- ./scripts/ci.sh
- (cd examples/; ipython2 nbconvert --to=html --ExecutePreprocessor.enabled=True --ExecutePreprocessor.timeout=300 *.ipynb)
- (cd examples/; ../scripts/render_index.sh *.html)
- python3 -m pip install s... | bd8c24d1f77ccb166b3210d81d9468f7789813ad | .drone.yml | .drone.yml | YAML |
<|file_sep|>tests/test_track_bed.py.diff
original:
updated:
from chromosomer.track.bed import Writer
from itertools import izip
<|file_sep|>original/tests/test_track_bed.py
class TestBedReader(unittest.TestCase):
def setUp(self):
self.__correct_file = os.path.join(
'data', 'bed', 'correct.bed'... | def test_records(self):
"""
Check if the parser reads a file in the BED format in the
correct way.
"""
# test against the correct input file
parser = Reader(self.__correct_file)
for record in parser.records():
self.assertIsInstance(record, BedRecor... | <|file_sep|>tests/test_track_bed.py.diff
original:
updated:
from chromosomer.track.bed import Writer
from itertools import izip
<|file_sep|>original/tests/test_track_bed.py
class TestBedReader(unittest.TestCase):
def setUp(self):
self.__correct_file = os.path.join(
'data', 'bed', 'correct.bed'... | 75f236f8fd0ba368197da3070002b60233a01d49 | tests/test_track_bed.py | tests/test_track_bed.py | Python |
<|file_sep|>packages/do/dot.yaml.diff
original:
hash: db728d5f9d2d91a0b30f65b690c8d97bdaa060f0cd617e0d7ea40d92a569d194
updated:
hash: 818328638a12925b04cf9f01c5ca5c015a5f50d8dd90842d905d6d465fbc88b5
<|file_sep|>original/packages/do/dot.yaml
homepage: https://github.com/andrewthad/dot#readme
changelog-type: ''
hash: db7... | homepage: https://github.com/andrewthad/dot#readme
changelog-type: ''
hash: 818328638a12925b04cf9f01c5ca5c015a5f50d8dd90842d905d6d465fbc88b5
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: Data types and encoding for graphviz dot files
changelog: ''
basic-deps:
impure-containers: ! '>=0.3 && <0.6'... | <|file_sep|>packages/do/dot.yaml.diff
original:
hash: db728d5f9d2d91a0b30f65b690c8d97bdaa060f0cd617e0d7ea40d92a569d194
updated:
hash: 818328638a12925b04cf9f01c5ca5c015a5f50d8dd90842d905d6d465fbc88b5
<|file_sep|>original/packages/do/dot.yaml
homepage: https://github.com/andrewthad/dot#readme
changelog-type: ''
hash: db7... | 1412137a52b7ee78fffbe3d4e52c57a60ca50341 | packages/do/dot.yaml | packages/do/dot.yaml | YAML |
<|file_sep|>findaconf/tests/test_site_routes.py.diff
original:
from unittest import TestCase
updated:
<|file_sep|>findaconf/tests/test_site_routes.py.diff
original:
updated:
from unittest import TestCase
<|file_sep|>findaconf/tests/test_site_routes.py.diff
original:
updated:
<|file_sep|>original/findaconf/tests/tes... | assert resp.mimetype == 'text/html'
def test_find(self):
resp = self.app.get('/find', data={'query': 'sociology',
'month': 'February',
'year': 2015,
'region': 'Europe',
... | <|file_sep|>findaconf/tests/test_site_routes.py.diff
original:
from unittest import TestCase
updated:
<|file_sep|>findaconf/tests/test_site_routes.py.diff
original:
updated:
from unittest import TestCase
<|file_sep|>findaconf/tests/test_site_routes.py.diff
original:
updated:
<|file_sep|>original/findaconf/tests/tes... | 9bc9ec9468459ab49530e6463255cca38aba721c | findaconf/tests/test_site_routes.py | findaconf/tests/test_site_routes.py | Python |
<|file_sep|>original/metadata/nl.asymmetrics.droidshows.txt
Issue Tracker:https://github.com/ltGuillaume/DroidShows/issues
Auto Name:DroidShows
Summary:TV series browser and tracker
Description:
TV Series/TV Shows browser and tracker based on [[org.droidseries]]. It
helps you manage your favorite TV shows and keep tra... | Issue Tracker:https://github.com/ltGuillaume/DroidShows/issues
Auto Name:DroidShows
Summary:TV series browser and tracker
Description:
TV Series/TV Shows browser and tracker based on [[org.droidseries]]. It
helps you manage your favorite TV shows and keep track of the episodes
that you have or have not seen.
.
Repo T... | <|file_sep|>original/metadata/nl.asymmetrics.droidshows.txt
Issue Tracker:https://github.com/ltGuillaume/DroidShows/issues
Auto Name:DroidShows
Summary:TV series browser and tracker
Description:
TV Series/TV Shows browser and tracker based on [[org.droidseries]]. It
helps you manage your favorite TV shows and keep tra... | 19795c209f5bf926e1f9153588b61acc172e6a0a | metadata/nl.asymmetrics.droidshows.txt | metadata/nl.asymmetrics.droidshows.txt | Text |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Twist</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= flash[:notice] %>
<%= flash[:alert] %>
<menu>... | <head>
<title>Twist</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= flash[:notice] %>
<%= flash[:alert] %>
<menu>
<% if user_signed_in? %>
<%= link_to "Sign out", user_session_path, ... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Twist</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= flash[:notice] %>
<%= flash[:alert] %>
<menu>... | e0051ca409ddd327d3841b1f0eb5a5da1823eab5 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/scripts/extra/start_portal.zsh
#!/usr/bin/env zsh
#
# Currently DIT4C portal's SSH REPL is provided by Ammonite-SSHD, which uses
# jline2 for terminal interactions. Unfortunately, this means it requires a
# TTY to work correctly.
#
# This script wraps the entire portal server in its own pseudo-term... | #!/usr/bin/env zsh
#
# Currently DIT4C portal's SSH REPL is provided by Ammonite-SSHD, which uses
# jline2 for terminal interactions. Unfortunately, this means it requires a
# TTY to work correctly.
#
# This script wraps the entire portal server in its own pseudo-terminal as a
# workaround.
#
zmodload zsh/zpty
zpty -... | <|file_sep|>original/scripts/extra/start_portal.zsh
#!/usr/bin/env zsh
#
# Currently DIT4C portal's SSH REPL is provided by Ammonite-SSHD, which uses
# jline2 for terminal interactions. Unfortunately, this means it requires a
# TTY to work correctly.
#
# This script wraps the entire portal server in its own pseudo-term... | 1e5dab55e0dc60717e981671ed80ed19ce4809ac | scripts/extra/start_portal.zsh | scripts/extra/start_portal.zsh | Shell |
<|file_sep|>original/freeciv/patches/tutorial_ruleset.patch
diff --git a/data/scenarios/tutorial.sav b/data/scenarios/tutorial.sav
index 09e4614..c13385a 100644
--- a/data/scenarios/tutorial.sav
+++ b/data/scenarios/tutorial.sav
@@ -15,3 +15,3 @@ reason="Scenario"
revision="2.5.99-alpha"
-rulesetdir="civ2civ3"
+rulese... | diff --git a/data/scenarios/tutorial.sav b/data/scenarios/tutorial.sav
index 09e4614..c13385a 100644
--- a/data/scenarios/tutorial.sav
+++ b/data/scenarios/tutorial.sav
@@ -15,3 +15,3 @@ reason="Scenario"
revision="2.5.99-alpha"
-rulesetdir="civ2civ3"
+rulesetdir="classic"
improvement_size=68
@@ -313,3 +313,2 @@ set=... | <|file_sep|>original/freeciv/patches/tutorial_ruleset.patch
diff --git a/data/scenarios/tutorial.sav b/data/scenarios/tutorial.sav
index 09e4614..c13385a 100644
--- a/data/scenarios/tutorial.sav
+++ b/data/scenarios/tutorial.sav
@@ -15,3 +15,3 @@ reason="Scenario"
revision="2.5.99-alpha"
-rulesetdir="civ2civ3"
+rulese... | d69a7f8355314a4bb34f4212d7931bd889746776 | freeciv/patches/tutorial_ruleset.patch | freeciv/patches/tutorial_ruleset.patch | Diff |
<|file_sep|>original/index.md
---
layout: page
title: About
tags: [Ryan Bart, hydrology, ecohydrology, personal website]
image:
feature: panorama_bristlecone_2008.jpg
credit: Ancient Bristlecone Pine Forest
creditlink: http://ryanrbart.com
share: false
---
I am an Postdoctoral Scholar in the [Tague Ecohydrology... | ---
layout: page
title: About
tags: [Ryan Bart, hydrology, ecohydrology, personal website]
image:
feature: panorama_bristlecone_2008.jpg
credit: Ancient Bristlecone Pine Forest
creditlink: http://ryanrbart.com
share: false
---
I am an Postdoctoral Scholar in the [Tague Ecohydrology Lab](http://tagueteamlab.org/... | <|file_sep|>original/index.md
---
layout: page
title: About
tags: [Ryan Bart, hydrology, ecohydrology, personal website]
image:
feature: panorama_bristlecone_2008.jpg
credit: Ancient Bristlecone Pine Forest
creditlink: http://ryanrbart.com
share: false
---
I am an Postdoctoral Scholar in the [Tague Ecohydrology... | 248794a6f4d057f342966e03f614bd29311eae22 | index.md | index.md | Markdown |
<|file_sep|>docker/release.backend/Dockerfile.diff
original:
ENV LANG=en_US.UTF-8 \
updated:
ENV CLOJURE_VERSION=1.10.0.442 \
LANG=en_US.UTF-8 \
<|file_sep|>original/docker/release.backend/Dockerfile
FROM openjdk:8-jre
LABEL maintainer="Monogramm Maintainers <opensource at monogramm dot io>"
ENV LANG=en_US.UTF-8 ... | FROM openjdk:8-jre
LABEL maintainer="Monogramm Maintainers <opensource at monogramm dot io>"
ENV CLOJURE_VERSION=1.10.0.442 \
LANG=en_US.UTF-8 \
LC_ALL=C.UTF-8
RUN set -ex; \
wget "https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh"; \
chmod +x "linux-install-$CLOJURE_VERSION.sh";... | <|file_sep|>docker/release.backend/Dockerfile.diff
original:
ENV LANG=en_US.UTF-8 \
updated:
ENV CLOJURE_VERSION=1.10.0.442 \
LANG=en_US.UTF-8 \
<|file_sep|>original/docker/release.backend/Dockerfile
FROM openjdk:8-jre
LABEL maintainer="Monogramm Maintainers <opensource at monogramm dot io>"
ENV LANG=en_US.UTF-8 ... | 00b56eaf6c8b0d2bb831dee167427ce8760df231 | docker/release.backend/Dockerfile | docker/release.backend/Dockerfile | unknown |
<|file_sep|>original/lib/bookmarks/web/views/partial_list.haml
.list{:id => "list-#{list.id}"}
.list_header
%table{:class => 'list_header_table'}
%tr
%td
.title&= list.title
%td
.actions.right
.edit&= "#{list.users.size} user#{list.users.size > 1 ? 's' : ''}"
%a{:href => "javascript:... | .list{:id => "list-#{list.id}"}
.list_header
%table{:class => 'list_header_table'}
%tr
%td
.title&= list.title
%td
.actions.right
.edit&= "#{list.users.size} user#{list.users.size > 1 ? 's' : ''}"
%a{:href => "javascript:window.location = 'http://bm.smattr.de/bookmarks/quick_new?titl... | <|file_sep|>original/lib/bookmarks/web/views/partial_list.haml
.list{:id => "list-#{list.id}"}
.list_header
%table{:class => 'list_header_table'}
%tr
%td
.title&= list.title
%td
.actions.right
.edit&= "#{list.users.size} user#{list.users.size > 1 ? 's' : ''}"
%a{:href => "javascript:... | ada1c96b64c34526a7150c710530f1a39eef6e24 | lib/bookmarks/web/views/partial_list.haml | lib/bookmarks/web/views/partial_list.haml | Haml |
<|file_sep|>original/source/navigation/track.ts
// dive into nested navigators
if (route.routes) {
return getCurrentRouteName(route)
}
return route.routeName
}
export function trackScreenChanges(
prevState: NavigationState,
currentState: NavigationState,
) {
const currentScreen = getCurrentRouteName(currentSt... | // dive into nested navigators
if (route.routes) {
return getCurrentRouteName(route)
}
return route.routeName
}
export function trackScreenChanges(
prevState: NavigationState,
currentState: NavigationState,
): void {
const currentScreen = getCurrentRouteName(currentState)
const prevScreen = getCurrentRouteNa... | <|file_sep|>original/source/navigation/track.ts
// dive into nested navigators
if (route.routes) {
return getCurrentRouteName(route)
}
return route.routeName
}
export function trackScreenChanges(
prevState: NavigationState,
currentState: NavigationState,
) {
const currentScreen = getCurrentRouteName(currentSt... | ec20ef1cf72c24b0e3e0bec29ab3630e900beefb | source/navigation/track.ts | source/navigation/track.ts | TypeScript |
<|file_sep|>.travis.yml.diff
original:
- env: TEST_TYPE=test-compile failsafe:integration-test
updated:
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
<|file_sep|>.travis.yml.diff
original:
- TEST_TYPE=test
- TEST_TYPE=test-compile failsafe:integration-test
updated:
- TEST_TYPE=acceptance-te... | - env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
env:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACC... | <|file_sep|>.travis.yml.diff
original:
- env: TEST_TYPE=test-compile failsafe:integration-test
updated:
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
<|file_sep|>.travis.yml.diff
original:
- TEST_TYPE=test
- TEST_TYPE=test-compile failsafe:integration-test
updated:
- TEST_TYPE=acceptance-te... | 9ffa8357cf27e12095b548db258ceb74b22c56a3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.release-it.json
{
"git": {
"changelog": null,
"commitMessage": "Craft v${version} release",
"requireCleanWorkingDir": false,
"tagAnnotation": "Release v${version}",
"tagName": "v${version}"
},
"github": {
"assets": ["dist/*.mjs", "dist/*.js"],
"draft": true,
"... | {
"git": {
"commitMessage": "Craft v${version} release",
"requireCleanWorkingDir": false,
"tagAnnotation": "Release v${version}",
"tagName": "v${version}"
},
"github": {
"assets": ["dist/*.mjs", "dist/*.js"],
"draft": true,
"release": true,
"releaseName": "v${version}"
},
"hook... | <|file_sep|>original/.release-it.json
{
"git": {
"changelog": null,
"commitMessage": "Craft v${version} release",
"requireCleanWorkingDir": false,
"tagAnnotation": "Release v${version}",
"tagName": "v${version}"
},
"github": {
"assets": ["dist/*.mjs", "dist/*.js"],
"draft": true,
"... | 87c69004f1a2438504e48208963cb883c8f79b60 | .release-it.json | .release-it.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
- "7"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
- "7"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "6"
- "7"
git:
submodules: false | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
- "7"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
- "7"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "6"
- "7"
git:
submodules: false | 134ed2f925d0aadae33403b4eb993120f9c0d363 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/memdash.gemspec
gem.name = 'memdash'
gem.version = '0.0.1'
gem.authors = ['Brian Ryckbost', 'Steve Richert']
gem.email = ['bryckbost@gmail.com', 'steve.richert@gmail.com']
gem.description = 'A dashboard for your memcache'
gem.summary = 'A dashboard for your memcache'
... | gem.name = 'memdash'
gem.version = '0.0.1'
gem.authors = ['Brian Ryckbost', 'Steve Richert']
gem.email = ['bryckbost@gmail.com', 'steve.richert@gmail.com']
gem.description = 'A dashboard for your memcache'
gem.summary = 'A dashboard for your memcache'
gem.homepage = 'https://github.co... | <|file_sep|>original/memdash.gemspec
gem.name = 'memdash'
gem.version = '0.0.1'
gem.authors = ['Brian Ryckbost', 'Steve Richert']
gem.email = ['bryckbost@gmail.com', 'steve.richert@gmail.com']
gem.description = 'A dashboard for your memcache'
gem.summary = 'A dashboard for your memcache'
... | 71225f9b339ffe87afa6e72b86d5e07860d7454a | memdash.gemspec | memdash.gemspec | Ruby |
<|file_sep|>original/app/components/buttons/bluetoothButton.js
}
/>);
} else {
bluetoothButton = (<WideButton
style={styles.offStyle}
textStyle={styles.offTextStyle}
text={'Turn Bluetooth on'}
onPress={() => {
Alert.alert(
'Bluetooth',
'Go to settings ... | }
/>);
} else {
bluetoothButton = (<WideButton
style={styles.offStyle}
textStyle={styles.offTextStyle}
text={'Turn Bluetooth on'}
onPress={() => {
Alert.alert(
'Bluetooth',
'Go to Settings > Bluetooth to turn on Bluetooth.',
);
}}
/>)... | <|file_sep|>original/app/components/buttons/bluetoothButton.js
}
/>);
} else {
bluetoothButton = (<WideButton
style={styles.offStyle}
textStyle={styles.offTextStyle}
text={'Turn Bluetooth on'}
onPress={() => {
Alert.alert(
'Bluetooth',
'Go to settings ... | f5c36f3c927451595beef75c561532b4e2df6e13 | app/components/buttons/bluetoothButton.js | app/components/buttons/bluetoothButton.js | JavaScript |
<|file_sep|>app/assets/javascripts/neighborly/projects/updates/index.js.coffee.diff
original:
updated:
this.parseXFBML()
<|file_sep|>original/app/assets/javascripts/neighborly/projects/updates/index.js.coffee
onCreate: (e, data) ->
this.$('.new_update').trigger('reset')
@$results.prepend data
... |
onCreate: (e, data) ->
this.$('.new_update').trigger('reset')
@$results.prepend data
this.parseXFBML()
onDestroy: (e)->
$(e.currentTarget).remove()
initialize: ->
_.bindAll(this, 'parseXFBML')
this.$loader = this.$('.updates-loading img')
this.$loaderDiv = this.$... | <|file_sep|>app/assets/javascripts/neighborly/projects/updates/index.js.coffee.diff
original:
updated:
this.parseXFBML()
<|file_sep|>original/app/assets/javascripts/neighborly/projects/updates/index.js.coffee
onCreate: (e, data) ->
this.$('.new_update').trigger('reset')
@$results.prepend data
... | f69c918972f68cf68d942bf40c17d18dedec162f | app/assets/javascripts/neighborly/projects/updates/index.js.coffee | app/assets/javascripts/neighborly/projects/updates/index.js.coffee | CoffeeScript |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/wortex17/jsod.git"
},
"bugs": {
"url": "https://github.com/Wortex17/jsod/issues"
},
"main": "lib",
"scripts": {
"test": "mocha spec",
"preversion": "npm test",
"prepublish": "npm test"
},
"d... | "repository": {
"type": "git",
"url": "git://github.com/wortex17/jsod.git"
},
"bugs": {
"url": "https://github.com/Wortex17/jsod/issues"
},
"main": "lib",
"scripts": {
"test": "mocha spec",
"test-cover": "istanbul cover node_modules\\mocha\\bin\\_mocha -- spec",
"preversion": "npm te... | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/wortex17/jsod.git"
},
"bugs": {
"url": "https://github.com/Wortex17/jsod/issues"
},
"main": "lib",
"scripts": {
"test": "mocha spec",
"preversion": "npm test",
"prepublish": "npm test"
},
"d... | 6b0ca47b7d500baa9da1e0eae317c2ad2ce03e16 | package.json | package.json | JSON |
<|file_sep|>original/components/arkady.pevzner/timeline-example/timeline-example.js
BEST.module('arkady.pevzner:timeline-example', {
behaviors: {
'#ui-el' : {
size: [100, 100],
style: function(myStyle) {
return myStyle;
},
position: function(m... | BEST.module('arkady.pevzner:timeline-example', {
behaviors: {
'#ui-el' : {
size: [100, 100],
style: function(myStyle) {
return myStyle;
},
position: function(myTimeline, time) {
return BEST.helpers.piecewise(myTimeline)(time);
... | <|file_sep|>original/components/arkady.pevzner/timeline-example/timeline-example.js
BEST.module('arkady.pevzner:timeline-example', {
behaviors: {
'#ui-el' : {
size: [100, 100],
style: function(myStyle) {
return myStyle;
},
position: function(m... | e99c5893fd0d072068268e0d1a33e679b7f9b342 | components/arkady.pevzner/timeline-example/timeline-example.js | components/arkady.pevzner/timeline-example/timeline-example.js | JavaScript |
<|file_sep|>original/tests/Checkout/CartBuilderTest.php
<|file_sep|>current/tests/Checkout/CartBuilderTest.php
<|file_sep|>updated/tests/Checkout/CartBuilderTest.php | <?php
namespace TddWizard\Fixtures\Checkout;
use Magento\Quote\Model\Quote\Item;
use PHPUnit\Framework\TestCase;
use TddWizard\Fixtures\Catalog\ProductBuilder;
use TddWizard\Fixtures\Catalog\ProductFixture;
class CartBuilderTest extends TestCase
{
/**
* @var ProductFixture
*/
private $productFixtur... | <|file_sep|>original/tests/Checkout/CartBuilderTest.php
<|file_sep|>current/tests/Checkout/CartBuilderTest.php
<|file_sep|>updated/tests/Checkout/CartBuilderTest.php
<?php
namespace TddWizard\Fixtures\Checkout;
use Magento\Quote\Model\Quote\Item;
use PHPUnit\Framework\TestCase;
use TddWizard\Fixtures\Catalog\Produc... | bd7c1c99356087665a8f0e53b59a285d948176ec | tests/Checkout/CartBuilderTest.php | tests/Checkout/CartBuilderTest.php | PHP |
<|file_sep|>original/_config.yml
title: Dev.Opera
url: http://dev.opera.com/
permalink: /:categories/:title/
future: false
markdown: kramdown
kramdown:
auto_ids: true
transliterated_header_ids: true
include:
- '.htaccess'
exclude:
- 'node_modules'
- 'Gruntfile.js'
- 'package.json'
- 'install.sh'
- 'README.md'
- '... | - '.htaccess'
exclude:
- 'node_modules'
- 'Gruntfile.js'
- 'package.json'
- 'install.sh'
- 'README.md'
- 'LICENSE.md'
- 'CONTRIBUTING.md'
- '*.scss'
defaults:
- scope:
path: 'articles'
type: 'post'
values:
category: 'articles'
language: 'en'
- scope:
path: 'blog'
type: 'post... | <|file_sep|>original/_config.yml
title: Dev.Opera
url: http://dev.opera.com/
permalink: /:categories/:title/
future: false
markdown: kramdown
kramdown:
auto_ids: true
transliterated_header_ids: true
include:
- '.htaccess'
exclude:
- 'node_modules'
- 'Gruntfile.js'
- 'package.json'
- 'install.sh'
- 'README.md'
- '... | 240731f4cb90649f80a783162c776bfa3aca4981 | _config.yml | _config.yml | YAML |
<|file_sep|>spec/api_classes/auth_spec.rb.diff
original:
LastFM::Auth.unrestricted_methods.should == [:get_token]
updated:
LastFM::Auth.should respond_to(:get_token)
<|file_sep|>original/spec/api_classes/auth_spec.rb
require "spec_helper"
describe LastFM::Auth do
it "should define unrestricted methods" do
... | require "spec_helper"
describe LastFM::Auth do
it "should define unrestricted methods" do
LastFM::Auth.should respond_to(:get_token)
end
it "should define restricted methods" do
LastFM::Auth.should respond_to(:get_mobile_session, :get_session)
end
end | <|file_sep|>spec/api_classes/auth_spec.rb.diff
original:
LastFM::Auth.unrestricted_methods.should == [:get_token]
updated:
LastFM::Auth.should respond_to(:get_token)
<|file_sep|>original/spec/api_classes/auth_spec.rb
require "spec_helper"
describe LastFM::Auth do
it "should define unrestricted methods" do
... | a87e11fe3be4b3ddbf810c5ea9b2de0bbc5437a1 | spec/api_classes/auth_spec.rb | spec/api_classes/auth_spec.rb | Ruby |
<|file_sep|>original/requirements.txt
gi
configparser
alignak_backend_client
<|file_sep|>current/requirements.txt
gi
configparser
alignak_backend_client
<|file_sep|>updated/requirements.txt | gi
configparser
-e git+git://github.com/Alignak-monitoring-contrib/alignak-backend-client.git@develop#egg=alignak_backend_client | <|file_sep|>original/requirements.txt
gi
configparser
alignak_backend_client
<|file_sep|>current/requirements.txt
gi
configparser
alignak_backend_client
<|file_sep|>updated/requirements.txt
gi
configparser
-e git+git://github.com/Alignak-monitoring-contrib/alignak-backend-client.git@develop#egg=alignak_backend_client | 8c8be566b33fbc375a9fa5418ca3b10e6ba663fc | requirements.txt | requirements.txt | Text |
<|file_sep|>original/Resources/views/Locale/Grid/Field/name.html.twig
<i class="{{ data.code|slice(3, 2)|lower }} flag"></i> {{ data.name }}
<|file_sep|>current/Resources/views/Locale/Grid/Field/name.html.twig
<i class="{{ data.code|slice(3, 2)|lower }} flag"></i> {{ data.name }}
<|file_sep|>updated/Resources/views/Loc... | <i class="{{ data.code|slice(3, 2)|lower }} flag"></i> {{ data.code }} {{ data.name }} | <|file_sep|>original/Resources/views/Locale/Grid/Field/name.html.twig
<i class="{{ data.code|slice(3, 2)|lower }} flag"></i> {{ data.name }}
<|file_sep|>current/Resources/views/Locale/Grid/Field/name.html.twig
<i class="{{ data.code|slice(3, 2)|lower }} flag"></i> {{ data.name }}
<|file_sep|>updated/Resources/views/Loc... | 9dee1c0c63996f053585d8bc1ffe4b6c57cdaaec | Resources/views/Locale/Grid/Field/name.html.twig | Resources/views/Locale/Grid/Field/name.html.twig | Twig |
<|file_sep|>original/index.php
<?php
if(have_posts()) :
while(have_posts()) :
?>
<p>
<?php
the_post(); ?>
<div class="alert alert-info">
<?php edit_post_link( 'Edit this page ', '', '' ); ?> · <a href="<?php _e(get_delete_post_lin... | if(have_posts()) :
while(have_posts()) :
?>
<p>
<?php
the_post(); ?>
<div class="alert alert-info">
<?php edit_post_link( 'Edit this page ', '', '' ); ?> · <a href="<?php _e(get_delete_post_link()); ?>">Delete this page</a>
</... | <|file_sep|>original/index.php
<?php
if(have_posts()) :
while(have_posts()) :
?>
<p>
<?php
the_post(); ?>
<div class="alert alert-info">
<?php edit_post_link( 'Edit this page ', '', '' ); ?> · <a href="<?php _e(get_delete_post_lin... | 531e60a00aae26a9f8d135ade309719812787f0c | index.php | index.php | PHP |
<|file_sep|>original/app/models/spree/variant_decorator.rb
Spree::Variant.class_eval do
include ActionView::Helpers::NumberHelper
attr_accessible :option_values
def to_hash
actual_price = self.price
#actual_price += Calculator::Vat.calculate_tax_on(self) if Spree::Config[:show_price_inc_vat]
... | Spree::Variant.class_eval do
include ActionView::Helpers::NumberHelper
attr_accessible :option_values
def to_hash
actual_price = self.price
#actual_price += Calculator::Vat.calculate_tax_on(self) if Spree::Config[:show_price_inc_vat]
{
:id => self.id,
:count => self.count_on... | <|file_sep|>original/app/models/spree/variant_decorator.rb
Spree::Variant.class_eval do
include ActionView::Helpers::NumberHelper
attr_accessible :option_values
def to_hash
actual_price = self.price
#actual_price += Calculator::Vat.calculate_tax_on(self) if Spree::Config[:show_price_inc_vat]
... | 93c4f6bcb7cc964ec5754c159939196f5ab159bb | app/models/spree/variant_decorator.rb | app/models/spree/variant_decorator.rb | Ruby |
<|file_sep|>src/tests/gopigo_stub.py.diff
original:
calls.append('set_speed({0}'.format(speed))
updated:
calls.append('set_speed({0})'.format(speed))
def set_left_speed(speed):
calls.append('set_left_speed({0})'.format(speed))
def set_right_speed(speed):
calls.append('set_right_speed({0})'.format(speed))
<|file_s... | def set_speed(speed):
calls.append('set_speed({0})'.format(speed))
def set_left_speed(speed):
calls.append('set_left_speed({0})'.format(speed))
def set_right_speed(speed):
calls.append('set_right_speed({0})'.format(speed))
def stop():
calls.append('stop()')
def fwd():
calls.append('fwd()')
def trim_write(trim... | <|file_sep|>src/tests/gopigo_stub.py.diff
original:
calls.append('set_speed({0}'.format(speed))
updated:
calls.append('set_speed({0})'.format(speed))
def set_left_speed(speed):
calls.append('set_left_speed({0})'.format(speed))
def set_right_speed(speed):
calls.append('set_right_speed({0})'.format(speed))
<|file_s... | 42710918df931a6839364e58548dcce2d1346324 | src/tests/gopigo_stub.py | src/tests/gopigo_stub.py | Python |
<|file_sep|>original/app/views/artists/show.html.erb
<div class="row">
<div class="col s12">
<ul class="tabs">
<li class="tab col s3"><a class="active" href="#test1">Collections</a></li>
<li class="tab col s3 "><a href="#test2">About</a></li>
<li class="tab col s3"><a href="#test3">E... | <div class="row">
<div class="col s12">
<ul class="tabs">
<li class="tab col s3"><a class="active" href="#test1">Collections</a></li>
<li class="tab col s3 "><a href="#test2">About</a></li>
<li class="tab col s3"><a href="#test3">Events</a></li>
</ul>
</div>
<div id="te... | <|file_sep|>original/app/views/artists/show.html.erb
<div class="row">
<div class="col s12">
<ul class="tabs">
<li class="tab col s3"><a class="active" href="#test1">Collections</a></li>
<li class="tab col s3 "><a href="#test2">About</a></li>
<li class="tab col s3"><a href="#test3">E... | f6bede715987be33347d2fe48cfd9ea5b621b662 | app/views/artists/show.html.erb | app/views/artists/show.html.erb | HTML+ERB |
<|file_sep|>original/colour/examples/difference/examples_delta_e_luo2006.py
<|file_sep|>current/colour/examples/difference/examples_delta_e_luo2006.py
<|file_sep|>updated/colour/examples/difference/examples_delta_e_luo2006.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Showcases *Delta E* colour difference computation objects based on
*Luo et al. (2006)* *CAM02-LCD*, *CAM02-SCD*, and *CAM02-UCS* colourspaces.
"""
import colour
from colour.utilities.verbose import message_box
message_box('"Delta E - Luo et al. (2006)" Computations')... | <|file_sep|>original/colour/examples/difference/examples_delta_e_luo2006.py
<|file_sep|>current/colour/examples/difference/examples_delta_e_luo2006.py
<|file_sep|>updated/colour/examples/difference/examples_delta_e_luo2006.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Showcases *Delta E* colour difference com... | fe726fc182c9422856f2607842052df71e26acee | colour/examples/difference/examples_delta_e_luo2006.py | colour/examples/difference/examples_delta_e_luo2006.py | Python |
<|file_sep|>original/analysis_options.yaml
# Allow importing .template.dart files without an analyzer error.
uri_has_not_been_generated: ignore
# Ignore our own deprecated symbols.
deprecated_member_use_from_same_package: ignore
exclude:
- .dart_tool/**
- build/**
# TODO(https://github.co... | # Allow importing .template.dart files without an analyzer error.
uri_has_not_been_generated: ignore
# Ignore our own deprecated symbols.
deprecated_member_use_from_same_package: ignore
exclude:
- .dart_tool/**
- build/**
# TODO(https://github.com/dart-lang/angular/issues/1508)
- exam... | <|file_sep|>original/analysis_options.yaml
# Allow importing .template.dart files without an analyzer error.
uri_has_not_been_generated: ignore
# Ignore our own deprecated symbols.
deprecated_member_use_from_same_package: ignore
exclude:
- .dart_tool/**
- build/**
# TODO(https://github.co... | eb31287e9ab8a9b62f14da19b2f0196c3695c34d | analysis_options.yaml | analysis_options.yaml | YAML |
<|file_sep|>app/src/script/component/VoteRadioButtons.jsx.diff
original:
updated:
getInitialState() {
return {
ballotValue: null,
}
},
<|file_sep|>app/src/script/component/VoteRadioButtons.jsx.diff
original:
updated:
var button_opts = {};
if (this.state.ballotValu... | <label className="vote-label">
<input type="radio" name="ballot" value={index}
onChange={(e) => this.setState({ballotValue: index})}/>
<i>
<Title text={labe... | <|file_sep|>app/src/script/component/VoteRadioButtons.jsx.diff
original:
updated:
getInitialState() {
return {
ballotValue: null,
}
},
<|file_sep|>app/src/script/component/VoteRadioButtons.jsx.diff
original:
updated:
var button_opts = {};
if (this.state.ballotValu... | 5d22c6cc4e6161192822827c44f11b9fd73f86a8 | app/src/script/component/VoteRadioButtons.jsx | app/src/script/component/VoteRadioButtons.jsx | JSX |
<|file_sep|>www/bridge.open.js.diff
original:
tmp = cordova.file.tempDirectory,
updated:
ios = cordova.file.cacheDirectory,
<|file_sep|>original/www/bridge.open.js
if (typeof error === 'function') error(code);
return code;
}
uri = encodeURI(uri);
function downloadAndOpen(url) {
var f... | if (typeof error === 'function') error(code);
return code;
}
uri = encodeURI(uri);
function downloadAndOpen(url) {
var ft = new FileTransfer(),
ios = cordova.file.cacheDirectory,
ext = cordova.file.externalCacheDirectory,
dir = (ios) ? ios : ext,
name = url.substring... | <|file_sep|>www/bridge.open.js.diff
original:
tmp = cordova.file.tempDirectory,
updated:
ios = cordova.file.cacheDirectory,
<|file_sep|>original/www/bridge.open.js
if (typeof error === 'function') error(code);
return code;
}
uri = encodeURI(uri);
function downloadAndOpen(url) {
var f... | 1307f51cf564a91c58e65beee117df9f7969954b | www/bridge.open.js | www/bridge.open.js | JavaScript |
<|file_sep|>lib/index.js.diff
original:
const trackers = [];
let isFinished = false;
let onFinished = () => {};
function tryToFinish () {
if (all(pluck(trackers, 'executed')) && !isFinished) {
isFinished = true;
onFinished(pluck(trackers, 'args'));
}
}
updated:
const state = createIniti... | tryToFinish(state);
};
},
finished (callback) {
state.onFinished = callback;
}
};
};
function createInitialState () {
return {
trackers: [],
isFinished: false,
onFinished: () => {}
};
}
function tryToFinish (state) {
if (all(pluck(state.trackers, 'executed')) && !s... | <|file_sep|>lib/index.js.diff
original:
const trackers = [];
let isFinished = false;
let onFinished = () => {};
function tryToFinish () {
if (all(pluck(trackers, 'executed')) && !isFinished) {
isFinished = true;
onFinished(pluck(trackers, 'args'));
}
}
updated:
const state = createIniti... | 15ee2ff765ca72b0636ba1523abd5c738e10864a | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>original/requirements/prod.txt
python-engineio==2.0.1
python-socketio==1.8.4
# Celery
celery==3.1.23
redis==2.10.6
# Octave interaction
scipy==0.17.1
-e git://github.com/suever/oct2py.git@16db760302111a32d40cc47c5a155cc12897ae3f#egg=oct2py
numpy==1.11.1
# Octave packages
sympy
# Database
SQLAlchemy==1.1... | python-engineio==2.0.1
python-socketio==1.8.4
# Celery
celery==3.1.23
redis==2.10.6
# Octave interaction
scipy==0.17.1
-e git://github.com/suever/oct2py.git@16db760302111a32d40cc47c5a155cc12897ae3f#egg=oct2py
numpy==1.13.3
# Octave packages
sympy
# Database
SQLAlchemy==1.1.14
Flask-SQLAlchemy==2.3.0
# App manageme... | <|file_sep|>original/requirements/prod.txt
python-engineio==2.0.1
python-socketio==1.8.4
# Celery
celery==3.1.23
redis==2.10.6
# Octave interaction
scipy==0.17.1
-e git://github.com/suever/oct2py.git@16db760302111a32d40cc47c5a155cc12897ae3f#egg=oct2py
numpy==1.11.1
# Octave packages
sympy
# Database
SQLAlchemy==1.1... | 512fe462f9108bd19cf52f7b8d2d29cb17fd518b | requirements/prod.txt | requirements/prod.txt | Text |
<|file_sep|>README.md.diff
original:
updated:
# Saves the MIT license text from spdx to LICENSE
<|file_sep|>README.md.diff
original:
updated:
Please note you will most likely need to update the LICENSE file with your information
<|file_sep|>original/README.md
# get-license
`get-license` is a simple command line too... | # get-license
`get-license` is a simple command line tool that fetches license text from https://spdx.org/ and prints it to standard output
### Example Usage
```bash
# Saves the MIT license text from spdx to LICENSE
get-license MIT > LICENSE
```
Please note you will most likely need to update the LICENSE file with y... | <|file_sep|>README.md.diff
original:
updated:
# Saves the MIT license text from spdx to LICENSE
<|file_sep|>README.md.diff
original:
updated:
Please note you will most likely need to update the LICENSE file with your information
<|file_sep|>original/README.md
# get-license
`get-license` is a simple command line too... | 2fa66f87859d3720305632f68c95b246872294df | README.md | README.md | Markdown |
<|file_sep|>original/client/admin/core/blocks/page_head/page_head.styl
// Page header block (under breadcrubmbs): title + description
//
@import "nodeca.core/client/common/_variables"
.page-head
margin-top 1.5rem
margin-bottom 1rem
.page-actions
margin-top -.25rem
.page-head__title
margin 0
font-weigh... | //
@import "nodeca.core/client/common/_variables"
.page-head
margin-top 1.5rem
margin-bottom 1rem
.page-actions
margin-top -.25rem
.page-head__title
margin 0
font-weight normal
font-size $font-size-h3
//color $brand-primary
.page-head__descr
font-size $font-size-xs
color $body-color-secondary... | <|file_sep|>original/client/admin/core/blocks/page_head/page_head.styl
// Page header block (under breadcrubmbs): title + description
//
@import "nodeca.core/client/common/_variables"
.page-head
margin-top 1.5rem
margin-bottom 1rem
.page-actions
margin-top -.25rem
.page-head__title
margin 0
font-weigh... | ee40caffa61f1b562bb15e81bcee477fd901acb0 | client/admin/core/blocks/page_head/page_head.styl | client/admin/core/blocks/page_head/page_head.styl | Stylus |
<|file_sep|>original/lib/vSphere/util/vm_helpers.rb
end
def get_vm_state(vm)
vm.runtime.powerState
end
def powered_on?(vm)
get_vm_state(vm).eql?(VmState::POWERED_ON)
end
def powered_off?(vm)
get_vm_state(vm).eql?(VmState::POWERED_OFF)
... | get_vm_state(vm).eql?(VmState::POWERED_ON)
end
def powered_off?(vm)
get_vm_state(vm).eql?(VmState::POWERED_OFF)
end
def suspended?(vm)
get_vm_state(vm).eql?(VmState::SUSPENDED)
end
# Enumerate VM snapshot tree
#
# This meth... | <|file_sep|>original/lib/vSphere/util/vm_helpers.rb
end
def get_vm_state(vm)
vm.runtime.powerState
end
def powered_on?(vm)
get_vm_state(vm).eql?(VmState::POWERED_ON)
end
def powered_off?(vm)
get_vm_state(vm).eql?(VmState::POWERED_OFF)
... | 861e8a10c81eb1323bbca04aa6cfe2741deaed1b | lib/vSphere/util/vm_helpers.rb | lib/vSphere/util/vm_helpers.rb | Ruby |
<|file_sep|>original/qa/common.sh
. /etc/pcp.env
export PCP_STDERR=""
case `pwd`
in
*/qa)
export PATH=.:`cd ..; pwd`:$PATH
;;
*)
echo "Warning: not in qa directory, I'm confused"
pwd
status=1
exit
;;
esac
# get offset into an archive relative to the first pmResult
# past the preamble
#
# Usage: _a... | . /etc/pcp.env
export PCP_STDERR=""
export PATH=.:$PATH
# get offset into an archive relative to the first pmResult
# past the preamble
#
# Usage: _arch_start archive [offset]
#
_arch_start()
{
pmdumplog -z $1 \
| $PCP_AWK_PROG '
/^[0-9][0-9]:[0-9][0-9]:/ { if ($3 ~ /pmcd.pmlogger.host/) next
split($1, ... | <|file_sep|>original/qa/common.sh
. /etc/pcp.env
export PCP_STDERR=""
case `pwd`
in
*/qa)
export PATH=.:`cd ..; pwd`:$PATH
;;
*)
echo "Warning: not in qa directory, I'm confused"
pwd
status=1
exit
;;
esac
# get offset into an archive relative to the first pmResult
# past the preamble
#
# Usage: _a... | 2b42b317689966d290b39b71ab0912d7d38710f4 | qa/common.sh | qa/common.sh | Shell |
<|file_sep|>original/setup.cfg
[wheel]
universal = 1
[pycodestyle]
max-line-length = 140
ignore = E402,E731
exclude = .git,__pycache__,.tox,docs,tests,build,dist,examples
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[pycodestyle]
max-line-length = 140
ignore = E402,E731
exclude = .git,__pycache__,.tox,docs,tes... | [wheel]
universal = 1
[pycodestyle]
max-line-length = 140
ignore = E402,E731
exclude = .git,__pycache__,.tox,docs,tests,build,dist,examples
[metadata]
license_file = LICENSE | <|file_sep|>original/setup.cfg
[wheel]
universal = 1
[pycodestyle]
max-line-length = 140
ignore = E402,E731
exclude = .git,__pycache__,.tox,docs,tests,build,dist,examples
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[pycodestyle]
max-line-length = 140
ignore = E402,E731
exclude = .git,__pycache__,.tox,docs,tes... | 0e07a5064582c60a5260c47a58f20fbbc6f5e99f | setup.cfg | setup.cfg | INI |
<|file_sep|>original/app/models/error_template.rb
class ErrorTemplate < ActiveRecord::Base
belongs_to :execution_environment
has_and_belongs_to_many :error_template_attributes
end
<|file_sep|>current/app/models/error_template.rb
class ErrorTemplate < ActiveRecord::Base
belongs_to :execution_environment
has_and_... | class ErrorTemplate < ActiveRecord::Base
belongs_to :execution_environment
has_and_belongs_to_many :error_template_attributes
def to_s
"#{id} [#{name}]"
end
end | <|file_sep|>original/app/models/error_template.rb
class ErrorTemplate < ActiveRecord::Base
belongs_to :execution_environment
has_and_belongs_to_many :error_template_attributes
end
<|file_sep|>current/app/models/error_template.rb
class ErrorTemplate < ActiveRecord::Base
belongs_to :execution_environment
has_and_... | fdee3c3efc9629a80f590a7a6f63f721c230e34f | app/models/error_template.rb | app/models/error_template.rb | Ruby |
<|file_sep|>original/HISTORY.rst
.. :changelog:
Release history
---------------
0.4.0 (2016-10-30)
++++++++++++++++++
**Features**
- Refactored tests and added seperate test files for each module.
- Updated documentation on readthedocs.io to include section about
bucket.
0.3.0 (2016-10-28)
++++++++++++++++++
**... | .. :changelog:
Release history
---------------
0.4.1 (2016-10-30)
++++++++++++++++++
- Updated docstrings to sphinx style
- Added documentation for gstorage.utils
0.4.0 (2016-10-30)
++++++++++++++++++
**Features**
- Refactored tests and added seperate test files for each module.
- Updated documentation on readthe... | <|file_sep|>original/HISTORY.rst
.. :changelog:
Release history
---------------
0.4.0 (2016-10-30)
++++++++++++++++++
**Features**
- Refactored tests and added seperate test files for each module.
- Updated documentation on readthedocs.io to include section about
bucket.
0.3.0 (2016-10-28)
++++++++++++++++++
**... | dbc8ff8cdd502d235e4b36c31579e735b7b9bca1 | HISTORY.rst | HISTORY.rst | reStructuredText |
<|file_sep|>original/ci/images/get-jdk-url.sh
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u282b08.tar.gz"
;;
java11)
echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk... | #!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz"
;;
java11)
echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_linux_hotspot_... | <|file_sep|>original/ci/images/get-jdk-url.sh
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u282b08.tar.gz"
;;
java11)
echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk... | e5a9defbc5d06c27a8eac18dcb433a81d57d1645 | ci/images/get-jdk-url.sh | ci/images/get-jdk-url.sh | Shell |
<|file_sep|>setup.py.diff
original:
from setuptools import setup
updated:
from setuptools import setup, find_packages
<|file_sep|>original/setup.py
setup(name='ramp',
version=version,
description="Rapid machine learning prototyping",
long_description=open("README.md").read(),
classifiers=[
... |
setup(name='ramp',
version=version,
description="Rapid machine learning prototyping",
long_description=open("README.md").read(),
classifiers=[
'License :: OSI Approved :: BSD License'
],
keywords='machine learning data analysis statistics mining',
author='Ken Van Har... | <|file_sep|>setup.py.diff
original:
from setuptools import setup
updated:
from setuptools import setup, find_packages
<|file_sep|>original/setup.py
setup(name='ramp',
version=version,
description="Rapid machine learning prototyping",
long_description=open("README.md").read(),
classifiers=[
... | 5f0f0a75b380392b6e15acfcf46b30853dd2fb7b | setup.py | setup.py | Python |
<|file_sep|>metadata/de.jkliemann.parkendd.txt.diff
original:
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:0.2.0-alpha
Current Version Code:3
updated:
Build:0.1.1,2
commit=v0.1.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/de.jkliemann.parkendd.txt
Auto Name:ParkenDD
Summary... | homepage are only available in German at the moment.
.
Repo Type:git
Repo:https://github.com/jklmnn/ParkenDD
Build:0.1.0,1
commit=71fdddb4509930af0b4fc202e9b42e18ac0f1525
subdir=app
gradle=yes
Build:0.1.1,2
commit=v0.1.1
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Ta... | <|file_sep|>metadata/de.jkliemann.parkendd.txt.diff
original:
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:0.2.0-alpha
Current Version Code:3
updated:
Build:0.1.1,2
commit=v0.1.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/de.jkliemann.parkendd.txt
Auto Name:ParkenDD
Summary... | c028826e389664c42e58f72ca5cf7085a1dd8c92 | metadata/de.jkliemann.parkendd.txt | metadata/de.jkliemann.parkendd.txt | Text |
<|file_sep|>src/Test/Benchmark.hs.diff
original:
import Text.Read
updated:
<|file_sep|>original/src/Test/Benchmark.hs
import General.GetOpt
import Text.Read
import Development.Shake
import Test.Type
import Development.Shake.FilePath
data Opts = Depth Int | Breadth Int
opts = [Option "" ["depth" ] (ReqArg (fmap Dept... | import General.GetOpt
import Development.Shake
import Test.Type
import Development.Shake.FilePath
data Opts = Depth Int | Breadth Int
opts = [Option "" ["depth" ] (ReqArg (fmap Depth . readEither) "INT") ""
,Option "" ["breadth"] (ReqArg (fmap Breadth . readEither) "INT") ""]
readEither = Right . read -- F... | <|file_sep|>src/Test/Benchmark.hs.diff
original:
import Text.Read
updated:
<|file_sep|>original/src/Test/Benchmark.hs
import General.GetOpt
import Text.Read
import Development.Shake
import Test.Type
import Development.Shake.FilePath
data Opts = Depth Int | Breadth Int
opts = [Option "" ["depth" ] (ReqArg (fmap Dept... | 5ede5b5d76f658644834931c268ea1b2208be508 | src/Test/Benchmark.hs | src/Test/Benchmark.hs | Haskell |
<|file_sep|>original/bitcoin/Dockerfile-0.17.1
<|file_sep|>current/bitcoin/Dockerfile-0.17.1
<|file_sep|>updated/bitcoin/Dockerfile-0.17.1 | FROM alpine:3.7
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>
ENV build_deps="autoconf automake build-base"
ENV lib_deps="libtool db-dev boost-dev openssl-dev libevent-dev"
RUN apk add --update curl $build_deps $lib_deps && \
curl -sSL https://github.com/bitcoin/bitcoin/archive/v0.17.1.tar.gz | tar -xzf - && \... | <|file_sep|>original/bitcoin/Dockerfile-0.17.1
<|file_sep|>current/bitcoin/Dockerfile-0.17.1
<|file_sep|>updated/bitcoin/Dockerfile-0.17.1
FROM alpine:3.7
MAINTAINER Dmitrii Kuzmenkov <dmitrii@kuzmenkov.me>
ENV build_deps="autoconf automake build-base"
ENV lib_deps="libtool db-dev boost-dev openssl-dev libevent-dev"... | 720abcedfc85629eb80592e245a1dd809346d809 | bitcoin/Dockerfile-0.17.1 | bitcoin/Dockerfile-0.17.1 | Groff |
<|file_sep|>webpack.config.babel.js.diff
original:
import packageConfig from './package.json';
updated:
<|file_sep|>webpack.config.babel.js.diff
original:
loaders: [
{
exclude: /node_modules/,
loader: 'babel-loader',
query: {
plugins: [
['transform-es2015-for-of'... | }]
],
presets: ['es2015']
},
test: /\.js$/
}, {
exclude: /node_modules\/(?!html-tags).+/,
loader: 'json-loader',
test: /\.json$/
}]
},
output: {
filename: 'uphold-sdk-javascript.js',
library: 'uphold-sdk-javascript',
libraryTarget: 'commonj... | <|file_sep|>webpack.config.babel.js.diff
original:
import packageConfig from './package.json';
updated:
<|file_sep|>webpack.config.babel.js.diff
original:
loaders: [
{
exclude: /node_modules/,
loader: 'babel-loader',
query: {
plugins: [
['transform-es2015-for-of'... | 011d3f2af278150c57c20e70ce5d0ccf69c070d0 | webpack.config.babel.js | webpack.config.babel.js | JavaScript |
<|file_sep|>src/MiniJavaCompiler.java.diff
original:
{
updated:
{
<|file_sep|>original/src/MiniJavaCompiler.java
NameAnalysisVisitor nameAnalysis = new NameAnalysisVisitor(symbolTable);
nameAnalysis.visit(program);
for (String error : nameAnalysis.getErrors())
Syste... | NameAnalysisVisitor nameAnalysis = new NameAnalysisVisitor(symbolTable);
nameAnalysis.visit(program);
for (String error : nameAnalysis.getErrors())
System.out.println(error);
TypeCheckVisitor typeChecker = new TypeCheckVisitor(symbolTable);
typeChecker.visit(program)... | <|file_sep|>src/MiniJavaCompiler.java.diff
original:
{
updated:
{
<|file_sep|>original/src/MiniJavaCompiler.java
NameAnalysisVisitor nameAnalysis = new NameAnalysisVisitor(symbolTable);
nameAnalysis.visit(program);
for (String error : nameAnalysis.getErrors())
Syste... | b2fe615c136abfb2767b800ebe03d61310313c1b | src/MiniJavaCompiler.java | src/MiniJavaCompiler.java | Java |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpcs --standard=phpcs.xml -spn --encoding=utf-8 src/ --report-width... | language: php
php:
- 5.6
- 7.0
- hhvm
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpcs --standard=phpcs.xml -spn --encoding=utf-8 src/ --report-width=150
- if [ "$TRAVIS_PHP_VERSION" != "5.5... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpcs --standard=phpcs.xml -spn --encoding=utf-8 src/ --report-width... | 6fd11a99e86463f7dd46ef1d6409485805304f4b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/js/app/controllers/application_controller.js
App.ApplicationController = Em.Controller.extend({
metadata: null
});
<|file_sep|>current/src/js/app/controllers/application_controller.js
App.ApplicationController = Em.Controller.extend({
metadata: null
});
<|file_sep|>updated/src/js/app/contro... | App.ApplicationController = Em.Controller.extend({
metadata: null,
init: function(){
this.namespace.set('document_title', this.namespace.title);
},
metadata_watcher: function(){
'use strict';
var metadata = this.get('metadata'),
title = this.namespace.title;
debugger;
console.log(... | <|file_sep|>original/src/js/app/controllers/application_controller.js
App.ApplicationController = Em.Controller.extend({
metadata: null
});
<|file_sep|>current/src/js/app/controllers/application_controller.js
App.ApplicationController = Em.Controller.extend({
metadata: null
});
<|file_sep|>updated/src/js/app/contro... | c42ab492dce9562c105ba6cfda780bee0ec5bdbf | src/js/app/controllers/application_controller.js | src/js/app/controllers/application_controller.js | JavaScript |
<|file_sep|>original/bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy
<|file_sep|>current/bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy
<|file_sep|>updated/bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.gro... | package com.msgilligan.bitcoinj.rpc.tx
import com.msgilligan.bitcoinj.BaseRegTestSpec
import org.bitcoinj.core.Coin
import org.bitcoinj.core.Transaction
import org.bitcoinj.script.Script
import org.bitcoinj.script.ScriptBuilder
import org.bitcoinj.script.ScriptOpCodes
import spock.lang.Stepwise
import spock.lang.Unrol... | <|file_sep|>original/bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy
<|file_sep|>current/bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy
<|file_sep|>updated/bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.gro... | f2be5da8ddcdc0691b5342696df592d79f27681f | bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy | bitcoinj-rpcclient/src/integ/groovy/com/msgilligan/bitcoinj/rpc/tx/OpReturnSpec.groovy | Groovy |
<|file_sep|>original/requirements.txt
-e .
coverage==4.5.3
mypy==0.701
prospector==1.1.6.2
pytest==4.4.1
pytest-cov==2.7.1
pytest-django==3.4.8
sphinx_rtd_theme==0.4.3
tox==3.9.0
<|file_sep|>current/requirements.txt
-e .
coverage==4.5.3
mypy==0.701
prospector==1.1.6.2
pytest==4.4.1
pytest-cov==2.7.1
pytest-django==3.4.... | -e .
coverage==4.5.3
mypy==0.701
prospector==1.1.6.2
pytest==4.4.2
pytest-cov==2.7.1
pytest-django==3.4.8
sphinx_rtd_theme==0.4.3
tox==3.9.0 | <|file_sep|>original/requirements.txt
-e .
coverage==4.5.3
mypy==0.701
prospector==1.1.6.2
pytest==4.4.1
pytest-cov==2.7.1
pytest-django==3.4.8
sphinx_rtd_theme==0.4.3
tox==3.9.0
<|file_sep|>current/requirements.txt
-e .
coverage==4.5.3
mypy==0.701
prospector==1.1.6.2
pytest==4.4.1
pytest-cov==2.7.1
pytest-django==3.4.... | 626c10c3f2b47f7f12e113ce01c41e1ae1b5a02c | requirements.txt | requirements.txt | Text |
<|file_sep|>original/composer.json
"homepage": "https://github.com/crossjoin/Browscap",
"license": "MIT",
"authors": [
{
"name": "Christoph Ziegenberg",
"email": "christoph@ziegenberg.com"
}
],
"support": {
"issues": "https://github.com/crossjoin/Brows... | "homepage": "https://github.com/crossjoin/Browscap",
"license": "MIT",
"authors": [
{
"name": "Christoph Ziegenberg",
"email": "christoph@ziegenberg.com"
}
],
"support": {
"issues": "https://github.com/crossjoin/Browscap/issues",
"source": "htt... | <|file_sep|>original/composer.json
"homepage": "https://github.com/crossjoin/Browscap",
"license": "MIT",
"authors": [
{
"name": "Christoph Ziegenberg",
"email": "christoph@ziegenberg.com"
}
],
"support": {
"issues": "https://github.com/crossjoin/Brows... | 3f3bf68753e0b3507c1c8adbc58f666ac8304aaa | composer.json | composer.json | JSON |
<|file_sep|>original/winwebcheck.cpp
<|file_sep|>current/winwebcheck.cpp
<|file_sep|>updated/winwebcheck.cpp | #pragma once
#include <Windows.h>
#include <WinINet.h>
#include <IOStream>
#include <String>
#pragma comment(lib, "WinINet.lib")
std::string replaceAll(std::string subject, const std::string& search,
const std::string& replace) {
size_t pos = 0;
while ((pos = subject.find(search, pos)) != std::string::np... | <|file_sep|>original/winwebcheck.cpp
<|file_sep|>current/winwebcheck.cpp
<|file_sep|>updated/winwebcheck.cpp
#pragma once
#include <Windows.h>
#include <WinINet.h>
#include <IOStream>
#include <String>
#pragma comment(lib, "WinINet.lib")
std::string replaceAll(std::string subject, const std::string& search,
co... | ff06e84c217d23338a4b60faa86103086f100ae3 | winwebcheck.cpp | winwebcheck.cpp | C++ |
<|file_sep|>original/lib/dotenv/rails.rb
def load
Dotenv.load(
root.join(".env.local"),
root.join(".env.#{Rails.env}"),
root.join('.env')
)
end
# Internal: `Rails.root` is nil in Rails 4.1 before the application is
# initialized, so this falls back to the `RAILS_ROOT... | def load
Dotenv.load(
root.join(".env.local"),
root.join(".env.#{Rails.env}"),
root.join('.env')
)
end
# Internal: `Rails.root` is nil in Rails 4.1 before the application is
# initialized, so this falls back to the `RAILS_ROOT` environment variable,
# or the curr... | <|file_sep|>original/lib/dotenv/rails.rb
def load
Dotenv.load(
root.join(".env.local"),
root.join(".env.#{Rails.env}"),
root.join('.env')
)
end
# Internal: `Rails.root` is nil in Rails 4.1 before the application is
# initialized, so this falls back to the `RAILS_ROOT... | 0fcc6a11d307db37478961d758558af107a530cd | lib/dotenv/rails.rb | lib/dotenv/rails.rb | Ruby |
<|file_sep|>original/scripts/install-on-travis.sh
virtualenv "$VIRTUAL_ENV"
fi
source "$VIRTUAL_ENV/bin/activate"
fi
# Install the required Python packages.
pip install pip-accel
pip-accel install coveralls
pip-accel install --requirement=requirements.txt
pip-accel install --requirement=requirements-checks.txt... | pip install pip-accel
pip-accel install coveralls
pip-accel install --requirement=requirements.txt
pip-accel install --requirement=requirements-checks.txt
# On Linux workers we replace the default Node.js and npm install.
if [ "$TRAVIS_OS_NAME" = linux ]; then
pip-accel install debuntu-tools
rm -r /home/travis/.nv... | <|file_sep|>original/scripts/install-on-travis.sh
virtualenv "$VIRTUAL_ENV"
fi
source "$VIRTUAL_ENV/bin/activate"
fi
# Install the required Python packages.
pip install pip-accel
pip-accel install coveralls
pip-accel install --requirement=requirements.txt
pip-accel install --requirement=requirements-checks.txt... | 22713e6b549355bd97608ebacac9adbd6ceecb3d | scripts/install-on-travis.sh | scripts/install-on-travis.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
before_script:
# rand 0.4.2 requires rust 1.15, and rand-0.3.22 requires rand-0.4 :/
# manually hacking the lockfile due to the limitations of cargo#2773
- cargo generate-lockfile
- sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' C... | include:
- rust: 1.12.0
before_script:
# rand 0.4.2 requires rust 1.15, and rand-0.3.22 requires rand-0.4 :/
# manually hacking the lockfile due to the limitations of cargo#2773
- cargo generate-lockfile
- sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' Cargo.lock
-... | <|file_sep|>.travis.yml.diff
original:
updated:
before_script:
# rand 0.4.2 requires rust 1.15, and rand-0.3.22 requires rand-0.4 :/
# manually hacking the lockfile due to the limitations of cargo#2773
- cargo generate-lockfile
- sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' C... | 718ca3e9619b9b9c9514acae5bd21dc8ba7d7d72 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/createReducer.js.diff
original:
updated:
const dispatchedType = action.type;
<|file_sep|>original/src/createReducer.js
newState = fromJS(newState);
}
/* Iterate through each specified action */
actions.forEach((expectedAction) => {
const expectedType = expectedAction.type;... | if (!Iterable.isIterable(newState)) {
newState = fromJS(newState);
}
/* Iterate through each specified action */
actions.forEach((expectedAction) => {
const expectedType = expectedAction.type;
const isRegExp = (expectedType instanceof RegExp);
/* Determine if dispatched action ... | <|file_sep|>src/createReducer.js.diff
original:
updated:
const dispatchedType = action.type;
<|file_sep|>original/src/createReducer.js
newState = fromJS(newState);
}
/* Iterate through each specified action */
actions.forEach((expectedAction) => {
const expectedType = expectedAction.type;... | 8f690b01072a62f3190e878bf4b8e2e0177f2806 | src/createReducer.js | src/createReducer.js | JavaScript |
<|file_sep|>examples/objects_list_refcount.php.diff
original:
public $otherObject;
public $otherObject2;
updated:
<|file_sep|>examples/objects_list_refcount.php.diff
original:
$objectAref2 =& $objectA;
updated:
<|file_sep|>examples/objects_list_refcount.php.diff
original:
$objectB->otherObject = $objectA;
$ob... | }
class MyClassB {
}
class MyClassC {
}
$objectA = new MyClassA();
$objectB = new MyClassB();
$objectA2 = $objectA;
$objectA3 = $objectA;
echo " * zval references have been copied\n";
meminfo_objects_list(fopen('php://stdout', 'w'));
$objectARef1 = &$objectA;
$objectARef2 = $objectA;
echo " * objectA turned into ... | <|file_sep|>examples/objects_list_refcount.php.diff
original:
public $otherObject;
public $otherObject2;
updated:
<|file_sep|>examples/objects_list_refcount.php.diff
original:
$objectAref2 =& $objectA;
updated:
<|file_sep|>examples/objects_list_refcount.php.diff
original:
$objectB->otherObject = $objectA;
$ob... | b0b4d9b7211e8a1caeb057819135a6f102e4fbf2 | examples/objects_list_refcount.php | examples/objects_list_refcount.php | PHP |
<|file_sep|>src/main/java/infra/config/WebMvcConfig.java.diff
original:
updated:
import org.springframework.context.annotation.Bean;
<|file_sep|>src/main/java/infra/config/WebMvcConfig.java.diff
original:
updated:
import org.springframework.web.servlet.mvc.WebContentInterceptor;
<|file_sep|>original/src/main/java/inf... | import org.springframework.web.servlet.mvc.WebContentInterceptor;
@Configuration
@EnableWebMvc
public class WebMvcConfig extends WebMvcConfigurerAdapter {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/**").addResourceLocations("/static/app/... | <|file_sep|>src/main/java/infra/config/WebMvcConfig.java.diff
original:
updated:
import org.springframework.context.annotation.Bean;
<|file_sep|>src/main/java/infra/config/WebMvcConfig.java.diff
original:
updated:
import org.springframework.web.servlet.mvc.WebContentInterceptor;
<|file_sep|>original/src/main/java/inf... | 09a3b79f4c98a5f608b8309383f9ffc25a1aefb9 | src/main/java/infra/config/WebMvcConfig.java | src/main/java/infra/config/WebMvcConfig.java | Java |
<|file_sep|>original/registry-rails.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/registry/rails/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Juan Felipe Alvarez Saldarriaga"]
gem.email = ["nebiros@gmail.com"]
gem.description = <<-EOF
A container fo... | # -*- encoding: utf-8 -*-
require File.expand_path('../lib/registry/rails/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Juan Felipe Alvarez Saldarriaga"]
gem.email = ["nebiros@gmail.com"]
gem.description = <<-EOF
A container for storing objects and values in the applicat... | <|file_sep|>original/registry-rails.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/registry/rails/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Juan Felipe Alvarez Saldarriaga"]
gem.email = ["nebiros@gmail.com"]
gem.description = <<-EOF
A container fo... | cd8cca75e4a6f9183321e6af1aa0c68a55470412 | registry-rails.gemspec | registry-rails.gemspec | Ruby |
<|file_sep|>original/build.sbt
import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.1.8"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= S... | import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.1.9"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= Seq(
ws,
"com.jason-... | <|file_sep|>original/build.sbt
import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.1.8"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= S... | 4c826bbb96b565989f77c299a8b064a6566e0ccc | build.sbt | build.sbt | Scala |
<|file_sep|>original/composer.json
{
"name": "thybag/php-sharepoint-lists-api",
"version": "0.5",
"type": "library",
"description": "A simple PHP API to make working with SharePoint lists easy",
"homepage": "https://github.com/thybag/PHP-SharePoint-Lists-API",
"license": "MIT",
"authors": [
... | {
"name": "thybag/php-sharepoint-lists-api",
"version": "0.5",
"type": "library",
"description": "A simple PHP API to make working with SharePoint lists easy",
"homepage": "https://github.com/thybag/PHP-SharePoint-Lists-API",
"license": "MIT",
"authors": [
{
"name": "Carl... | <|file_sep|>original/composer.json
{
"name": "thybag/php-sharepoint-lists-api",
"version": "0.5",
"type": "library",
"description": "A simple PHP API to make working with SharePoint lists easy",
"homepage": "https://github.com/thybag/PHP-SharePoint-Lists-API",
"license": "MIT",
"authors": [
... | 19393883226d6d9fd8d0b7f2d65875706d0d2574 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7
before_install:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then composer require satooshi/php-coveralls:dev-master --no-update; fi;
install:
- composer update --prefer-source
before_script:
- mkdir -p build/l... |
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7
before_install:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then composer require satooshi/php-coveralls:^1.0 --no-update; fi;
install:
- composer update --prefer-source
before_script:
- mkdir -p build/logs
script:
- phpunit --coverage-c... | <|file_sep|>original/.travis.yml
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7
before_install:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then composer require satooshi/php-coveralls:dev-master --no-update; fi;
install:
- composer update --prefer-source
before_script:
- mkdir -p build/l... | 033063a2419c747750d052295834376ed7021d54 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# kevindelord.io
## Local environment
To reboot on a local machine:
```
$> ./reboot.sh
```
And test using:
http://127.0.0.1:4000/
## Add a new post
Execute the following script:
```
$> ./create_new_post.py
```
<|file_sep|>current/README.md
# kevindelord.io
## Local environment
T... | # [kevindelord.io](http://kevindelord.io)
## Local environment
To reboot on a local machine:
```
$> ./reboot.sh
```
And test using:
http://127.0.0.1:4000/
## Add a new post
Execute the following script:
```
$> ./create_new_post.py
``` | <|file_sep|>original/README.md
# kevindelord.io
## Local environment
To reboot on a local machine:
```
$> ./reboot.sh
```
And test using:
http://127.0.0.1:4000/
## Add a new post
Execute the following script:
```
$> ./create_new_post.py
```
<|file_sep|>current/README.md
# kevindelord.io
## Local environment
T... | 0ab6c22f0dd064e3c495f7f3c46f56599dc78756 | README.md | README.md | Markdown |
<|file_sep|>original/pages/search_indexes.py
"""Django haystack `SearchIndex` module."""
from pages.models import Page
from haystack.indexes import SearchIndex, CharField, DateTimeField
from haystack import site
class PageIndex(SearchIndex):
"""Search index for pages content."""
text = CharField(document=Tru... | """Django haystack `SearchIndex` module."""
from pages.models import Page
from haystack.indexes import SearchIndex, CharField, DateTimeField
from haystack import site
class PageIndex(SearchIndex):
"""Search index for pages content."""
text = CharField(document=True, use_template=True)
title = CharField(m... | <|file_sep|>original/pages/search_indexes.py
"""Django haystack `SearchIndex` module."""
from pages.models import Page
from haystack.indexes import SearchIndex, CharField, DateTimeField
from haystack import site
class PageIndex(SearchIndex):
"""Search index for pages content."""
text = CharField(document=Tru... | 7bd82f6feb1a34dd7b855cfe2f421232229e19db | pages/search_indexes.py | pages/search_indexes.py | Python |
<|file_sep|>app/helpers/container_helper/textual_summary.rb.diff
original:
%i(name state restart_count backing_ref)
updated:
%i(name state restart_count backing_ref command)
<|file_sep|>original/app/helpers/container_helper/textual_summary.rb
#
# Items
#
def textual_name
@record.name
end
def ... |
def textual_name
@record.name
end
def textual_state
@record.state
end
def textual_restart_count
@record.restart_count
end
def textual_backing_ref
{:label => "Backing Ref (Container ID)", :value => @record.backing_ref}
end
def textual_command
{:label => "Command", :value => @re... | <|file_sep|>app/helpers/container_helper/textual_summary.rb.diff
original:
%i(name state restart_count backing_ref)
updated:
%i(name state restart_count backing_ref command)
<|file_sep|>original/app/helpers/container_helper/textual_summary.rb
#
# Items
#
def textual_name
@record.name
end
def ... | 6fc57053b4d87395687011437a714a2735a394be | app/helpers/container_helper/textual_summary.rb | app/helpers/container_helper/textual_summary.rb | Ruby |
<|file_sep|>components/island/IslandGroup.js.diff
original:
import Box from '../box';
updated:
import Box, { pickBoxProps } from '../box';
<|file_sep|>components/island/IslandGroup.js.diff
original:
const { children, className, color, dark, size } = this.props;
updated:
const { children, className, color, dark,... | class IslandGroup extends PureComponent {
render() {
const { children, className, color, dark, size, ...otherProps } = this.props;
const boxProps = pickBoxProps(otherProps);
const isDark = elementIsDark(color, dark);
const classNames = cx(theme['segmented'], theme['island'], theme[color], { [theme['... | <|file_sep|>components/island/IslandGroup.js.diff
original:
import Box from '../box';
updated:
import Box, { pickBoxProps } from '../box';
<|file_sep|>components/island/IslandGroup.js.diff
original:
const { children, className, color, dark, size } = this.props;
updated:
const { children, className, color, dark,... | 58f469a86d5e86751dc98b3a00fbd218a3673340 | components/island/IslandGroup.js | components/island/IslandGroup.js | JavaScript |
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-2.0
- ree
- jruby
- ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-2.0
- ree
- jruby
- ruby-head
<|file_sep|>updated/.travis.yml | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx
- rbx-2.0
- ree
- jruby
- ruby-head | <|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-2.0
- ree
- jruby
- ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-2.0
- ree
- jruby
- ruby-head
<|file_sep|>updated/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx
- rbx-2.0
- ree
- jr... | 2ec7150e5bbd97dc9da2a889a0a8c9fbe19f0ae0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_posts/2016-8-1-Honest_Pokmon_Go_Trailer.md
---
date: 2016-08-01 15:32:47-05:00
embed_url: https://youtu.be/oD-KCkpcsvA
layout: post
tags:
- gaming
timestamp: 1470083567
title: "Honest Pok\xE9mon Go Trailer"
type: video
---
<iframe width="480" height="270" src="https://www.youtube.com/embed/oD-KCk... | ---
date: 2016-08-01 15:32:47-05:00
embed_url: https://youtu.be/oD-KCkpcsvA
layout: post
tags:
- gaming
- humor
timestamp: 1470083567
title: "Honest Pok\xE9mon Go Trailer"
type: video
---
<iframe width="480" height="270" src="https://www.youtube.com/embed/oD-KCkpcsvA?feature=oembed" frameborder="0" allowfullscreen></i... | <|file_sep|>original/_posts/2016-8-1-Honest_Pokmon_Go_Trailer.md
---
date: 2016-08-01 15:32:47-05:00
embed_url: https://youtu.be/oD-KCkpcsvA
layout: post
tags:
- gaming
timestamp: 1470083567
title: "Honest Pok\xE9mon Go Trailer"
type: video
---
<iframe width="480" height="270" src="https://www.youtube.com/embed/oD-KCk... | 27396721397913e9fba39b45acbfbe7aebb84922 | _posts/2016-8-1-Honest_Pokmon_Go_Trailer.md | _posts/2016-8-1-Honest_Pokmon_Go_Trailer.md | Markdown |
<|file_sep|>original/src/Sylius/Bundle/ShopBundle/Resources/views/Common/Form/_login.html.twig
<div class="one field" id="sylius-api-login">
{{ form_errors(form.email, sylius_test_form_attribute('login-errors')) }}
{% set ajax_user_check_action_path = path('sylius_shop_ajax_user_check_action') %}
{{ form_r... | <div class="one field" id="sylius-api-login">
{% set ajax_user_check_action_path = path('sylius_shop_ajax_user_check_action') %}
{{ form_row(form.email, sylius_test_form_attribute('login-email')|sylius_merge_recursive({'attr': {'data-url': ajax_user_check_action_path}})) }}
<div class="ui action input" id... | <|file_sep|>original/src/Sylius/Bundle/ShopBundle/Resources/views/Common/Form/_login.html.twig
<div class="one field" id="sylius-api-login">
{{ form_errors(form.email, sylius_test_form_attribute('login-errors')) }}
{% set ajax_user_check_action_path = path('sylius_shop_ajax_user_check_action') %}
{{ form_r... | 13f18df8b5d633fb54bf2ee7a3ff0d1f50d8eefb | src/Sylius/Bundle/ShopBundle/Resources/views/Common/Form/_login.html.twig | src/Sylius/Bundle/ShopBundle/Resources/views/Common/Form/_login.html.twig | Twig |
<|file_sep|>dataeng/resources/retirement-partner-report-cleanup.sh.diff
original:
updated:
# This section is for long term use
# python scripts/delete_expired_partner_gdpr_reports.py \
# --config_file=$WORKSPACE/user-retirement-secure/$ENVIRONMENT.yml \
# --google_secrets_file=$WORKSPACE/user-retirement-secure... |
# prepare tubular
cd $WORKSPACE/tubular
# snapshot the current latest versions of pip and setuptools.
pip install 'pip==21.0.1' 'setuptools==53.0.0'
pip install -r requirements.txt
# Call the script to cleanup the reports
# This section is for long term use
# python scripts/delete_expired_partner_gdpr_reports.py \
# ... | <|file_sep|>dataeng/resources/retirement-partner-report-cleanup.sh.diff
original:
updated:
# This section is for long term use
# python scripts/delete_expired_partner_gdpr_reports.py \
# --config_file=$WORKSPACE/user-retirement-secure/$ENVIRONMENT.yml \
# --google_secrets_file=$WORKSPACE/user-retirement-secure... | 24e09041c6ccaacfa4ff4c5932fc39358e7656fd | dataeng/resources/retirement-partner-report-cleanup.sh | dataeng/resources/retirement-partner-report-cleanup.sh | Shell |
<|file_sep|>config/initializers/scheduled_tasks.rb.diff
original:
# Ensure the jobs run only in a web server.
if defined?(Rack::Server)
fire_up_those_scheduled_tasks!
# Make this thing work in Passenger, too.
elsif defined?(PhusionPassenger)
updated:
# First of all, look for Passenger
if defined?(Phusi... | loop { timers.wait }
end
end
# First of all, look for Passenger
if defined?(PhusionPassenger)
Rails.logger.info "Passenger detected."
PhusionPassenger.on_event(:starting_worker_process) do |forked|
fire_up_those_scheduled_tasks!
end
# Check for Rack::Server (we don't want these run... | <|file_sep|>config/initializers/scheduled_tasks.rb.diff
original:
# Ensure the jobs run only in a web server.
if defined?(Rack::Server)
fire_up_those_scheduled_tasks!
# Make this thing work in Passenger, too.
elsif defined?(PhusionPassenger)
updated:
# First of all, look for Passenger
if defined?(Phusi... | bf85bba6e8d68c7aa451828ac638c607f14c46d8 | config/initializers/scheduled_tasks.rb | config/initializers/scheduled_tasks.rb | Ruby |
<|file_sep|>scripts/install_java.sh.diff
original:
updated:
# shellcheck disable=SC1091
readonly OS_VERSION=$(. /etc/os-release; echo "$VERSION")
<|file_sep|>original/scripts/install_java.sh
#!/bin/bash
set -eu -o pipefail
# shellcheck disable=SC1091
readonly OS_ID=$(. /etc/os-release; echo "$ID")
echo 'Install Open... | set -eu -o pipefail
# shellcheck disable=SC1091
readonly OS_ID=$(. /etc/os-release; echo "$ID")
# shellcheck disable=SC1091
readonly OS_VERSION=$(. /etc/os-release; echo "$VERSION")
echo 'Install OpenJDK Development Kit'
case $OS_ID in
ol)
case ${OS_VERSION%%.*} in
6)
sudo yum -y install java-1.8.... | <|file_sep|>scripts/install_java.sh.diff
original:
updated:
# shellcheck disable=SC1091
readonly OS_VERSION=$(. /etc/os-release; echo "$VERSION")
<|file_sep|>original/scripts/install_java.sh
#!/bin/bash
set -eu -o pipefail
# shellcheck disable=SC1091
readonly OS_ID=$(. /etc/os-release; echo "$ID")
echo 'Install Open... | bb0ab7ebf068a3f0d968bf737709bb827ba4fe3c | scripts/install_java.sh | scripts/install_java.sh | Shell |
<|file_sep|>packages/ng/ngx-export-tools.yaml.diff
original:
hash: b36a28d7cbd1152692247002d6bfc9361f02d415aac98d9831fc6e461bb353d0
updated:
hash: 512b4d0da75ec13695b6ddad987258deb10eb82ac61bef476a4579a139fa0a6a
<|file_sep|>packages/ng/ngx-export-tools.yaml.diff
original:
changelog: ! '### 0.1.0.0
- Initial version... | maintainer: Alexey Radkov <alexey.radkov@gmail.com>
synopsis: Extra tools for Nginx haskell module
changelog: ! "### 0.1.1.0\n\n- Re-export `CInt` and `CUInt` like in module *NgxExport*
instead of\n `unsafePerformIO`.\n\n### 0.1.0.0\n\n- Initial version.\n\n"
basic-deps:
bytestring: ! '>=0.10.0.0'
base: ! '>=4.8... | <|file_sep|>packages/ng/ngx-export-tools.yaml.diff
original:
hash: b36a28d7cbd1152692247002d6bfc9361f02d415aac98d9831fc6e461bb353d0
updated:
hash: 512b4d0da75ec13695b6ddad987258deb10eb82ac61bef476a4579a139fa0a6a
<|file_sep|>packages/ng/ngx-export-tools.yaml.diff
original:
changelog: ! '### 0.1.0.0
- Initial version... | 0670d751777376973b6e4e0686a3d9d89e8c1b47 | packages/ng/ngx-export-tools.yaml | packages/ng/ngx-export-tools.yaml | YAML |
<|file_sep|>original/package.json
{
"name": "spdx",
"description": "parse SPDX license expressions",
"version": "0.4.1",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (http://kemitchell.com)",
"bugs": "https://github.com/kemitchell/spdx.js/issues",
"dependencies": {
"spdx-license-ids": "^1.0.0"
},... | {
"name": "spdx",
"description": "parse SPDX license expressions",
"version": "0.4.1",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (http://kemitchell.com)",
"bugs": "https://github.com/kemitchell/spdx.js/issues",
"dependencies": {
"spdx-license-ids": "^1.0.0"
},
"devDependencies": {
"jison... | <|file_sep|>original/package.json
{
"name": "spdx",
"description": "parse SPDX license expressions",
"version": "0.4.1",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (http://kemitchell.com)",
"bugs": "https://github.com/kemitchell/spdx.js/issues",
"dependencies": {
"spdx-license-ids": "^1.0.0"
},... | 900ef3ed20900528db52839b06b5216c2999cd43 | package.json | package.json | JSON |
<|file_sep|>lib/rails/dairylog.rb.diff
original:
@sayer = `which cowsay`.chomp + ' -n'
updated:
@sayer = `which cowsay`.chomp
<|file_sep|>lib/rails/dairylog.rb.diff
original:
res, _ok = Open3.capture2(@sayer, stdin_data: str)
updated:
res, _ok = Open3.capture2(sayer, stdin_data: str)... | cowsay(str)
else
gossip(cowsay(str), moo-1)
end
end
def cowsay(str)
res, _ok = Open3.capture2(sayer, stdin_data: str)
res
end
def sayer
@sayer + " -n -f #{all_cows.sample}"
end
def all_cows
@all_cows ||=
... | <|file_sep|>lib/rails/dairylog.rb.diff
original:
@sayer = `which cowsay`.chomp + ' -n'
updated:
@sayer = `which cowsay`.chomp
<|file_sep|>lib/rails/dairylog.rb.diff
original:
res, _ok = Open3.capture2(@sayer, stdin_data: str)
updated:
res, _ok = Open3.capture2(sayer, stdin_data: str)... | 458d4473b2427482985eead0d2ec7ffe9845d253 | lib/rails/dairylog.rb | lib/rails/dairylog.rb | Ruby |
<|file_sep|>original/TypeGap/Resources/GeneratedNotice.ts
//////////////////////////////////////////////////////////////////
//// ////
//// THIS FILE IS AUTO GENERATED ////
//// Changes you make to this file will lost the next time ... | /* tslint:disable */
//////////////////////////////////////////////////////////////////
//// ////
//// THIS FILE IS AUTO GENERATED ////
//// Changes you make to this file will lost the next time ////
//// the auto genera... | <|file_sep|>original/TypeGap/Resources/GeneratedNotice.ts
//////////////////////////////////////////////////////////////////
//// ////
//// THIS FILE IS AUTO GENERATED ////
//// Changes you make to this file will lost the next time ... | 423ce83f971f33dab5ad74e9d03ceadc310a8fc3 | TypeGap/Resources/GeneratedNotice.ts | TypeGap/Resources/GeneratedNotice.ts | TypeScript |
<|file_sep|>original/README.md
```
## How to contribute
To contribute, you should first read the `How it works` section.
Any contribution is welcome and I answer quickly.
## How it works
CVulkan is a C module generated by a Python script. To proceed, the script `vulkan_generator.py`
computes a model of Vulkan API b... | To contribute, you should first read the `How it works` section.
Any contribution is welcome and I answer quickly.
## How it works
CVulkan is a C module generated by a Python script. To proceed, the script `vulkan_generator.py`
computes a model of Vulkan API based on `vk.xml` (the file from Kronos describing the API)... | <|file_sep|>original/README.md
```
## How to contribute
To contribute, you should first read the `How it works` section.
Any contribution is welcome and I answer quickly.
## How it works
CVulkan is a C module generated by a Python script. To proceed, the script `vulkan_generator.py`
computes a model of Vulkan API b... | 8bc6f57f59dd4cdffefba25e45579a439b912d8e | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# lumira-extension-da-windowseventlog
Sample code that illustrates Lumira's Data Access Extension capabilities using the Windows event log as a data source. See this blog post for the associated tutorial: [Lumira Data Access Extensions Step by Step](http://scn.sap.com/blogs/ddalley/2015/0... | # lumira-extension-da-windowseventlog
Sample code that illustrates Lumira's Data Access Extension capabilities using the Windows event log as a data source. See this blog post for the associated tutorial: [Lumira Data Access Extensions Step by Step](http://scn.sap.com/community/lumira/blog/2015/01/08/lumira-data-access... | <|file_sep|>original/README.md
# lumira-extension-da-windowseventlog
Sample code that illustrates Lumira's Data Access Extension capabilities using the Windows event log as a data source. See this blog post for the associated tutorial: [Lumira Data Access Extensions Step by Step](http://scn.sap.com/blogs/ddalley/2015/0... | 83b1d46a56a0741d072050cbb9be617d0c7a42f1 | README.md | README.md | Markdown |
<|file_sep|>src/models/UserModel.js.diff
original:
updated:
import bcrypt from 'bcrypt';
<|file_sep|>src/models/UserModel.js.diff
original:
created: { type: Date, default: Date.now },
updated:
created: {
type: Date,
default: Date.now,
},
<|file_sep|>src/models/UserModel.js.diff
original:
email: String,... | unique: true,
required: true,
},
password: {
type: String,
required: true,
select: false,
},
});
UserSchema.pre('save', function preSave(next) {
if (this.isModified('password') || this.isNew) {
bcrypt.genSalt(10, (saltErr, salt) => {
if (saltErr) return next(saltErr);
retur... | <|file_sep|>src/models/UserModel.js.diff
original:
updated:
import bcrypt from 'bcrypt';
<|file_sep|>src/models/UserModel.js.diff
original:
created: { type: Date, default: Date.now },
updated:
created: {
type: Date,
default: Date.now,
},
<|file_sep|>src/models/UserModel.js.diff
original:
email: String,... | 677e51734e8df39413935b8578d2301179afb43f | src/models/UserModel.js | src/models/UserModel.js | JavaScript |
<|file_sep|>original/docker-compose.yml
<|file_sep|>current/docker-compose.yml
<|file_sep|>updated/docker-compose.yml | app:
image: node:6.3.1
volumes:
- .:/project
- ~/.npm:/root/.npm
working_dir: /project
expose:
- "8080"
environment:
VIRTUAL_HOST: ma-cave.test
VIRTUAL_PORT: 8080
entrypoint: npm
command: start | <|file_sep|>original/docker-compose.yml
<|file_sep|>current/docker-compose.yml
<|file_sep|>updated/docker-compose.yml
app:
image: node:6.3.1
volumes:
- .:/project
- ~/.npm:/root/.npm
working_dir: /project
expose:
- "8080"
environment:
VIRTUAL_HOST: ma-cave.test
VIRTUAL_PORT: 8080
entry... | 564107e7b68cfb2e0dc6e6f896c919b4215b696a | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>addon/components/bootstrap-datepicker.js.diff
original:
element = this.$();
updated:
element = this.$(),
value = this.get('value');
<|file_sep|>original/addon/components/bootstrap-datepicker.js
todayBtn: this.get('todayBtn') || false
}).
on('changeDate', function(... | todayHighlight: this.get('todayHighlight') || false,
todayBtn: this.get('todayBtn') || false
}).
on('changeDate', function(event) {
Ember.run(function() {
self.didSelectDate(event);
});
});
if (value) {
element.datepicker('setDate', new Date(value))... | <|file_sep|>addon/components/bootstrap-datepicker.js.diff
original:
element = this.$();
updated:
element = this.$(),
value = this.get('value');
<|file_sep|>original/addon/components/bootstrap-datepicker.js
todayBtn: this.get('todayBtn') || false
}).
on('changeDate', function(... | 627a6aacd0f29cc9437ce19382fc2b5bee3338bc | addon/components/bootstrap-datepicker.js | addon/components/bootstrap-datepicker.js | JavaScript |
<|file_sep|>original/accelerator/tests/contexts/analyze_judging_context.py
from accelerator.tests.contexts.judge_feedback_context import (
JudgeFeedbackContext,
)
from accelerator.models import (
JUDGING_FEEDBACK_STATUS_COMPLETE,
JudgeApplicationFeedback,
)
class AnalyzeJudgingContext(JudgeFeedbackContext... | from accelerator.tests.contexts.judge_feedback_context import (
JudgeFeedbackContext,
)
from accelerator.models import (
JUDGING_FEEDBACK_STATUS_COMPLETE,
JudgeApplicationFeedback,
)
class AnalyzeJudgingContext(JudgeFeedbackContext):
def __init__(self,
type="reads",
n... | <|file_sep|>original/accelerator/tests/contexts/analyze_judging_context.py
from accelerator.tests.contexts.judge_feedback_context import (
JudgeFeedbackContext,
)
from accelerator.models import (
JUDGING_FEEDBACK_STATUS_COMPLETE,
JudgeApplicationFeedback,
)
class AnalyzeJudgingContext(JudgeFeedbackContext... | b059f5128576d468ab0109da8d01bfdc50f6db56 | accelerator/tests/contexts/analyze_judging_context.py | accelerator/tests/contexts/analyze_judging_context.py | Python |
<|file_sep|>original/COPYRIGHTS.md
Trajectories mod for KSP (Kerbal Space Program)
-----------------------------------------------
Copyright© (c) 2014-2017 Youen Toupin, (aka neuoy).
Copyright© (c) 2014-2018 A.Korsunsky, (aka fat-lobyte).
Copyright© (c) 2017-2018 S.Gray, (aka PiezPiedPy).
Trajectories is availabl... | Trajectories mod for KSP (Kerbal Space Program)
-----------------------------------------------
Copyright© (c) 2014-2017 Youen Toupin, (aka neuoy).
Copyright© (c) 2014-2018 A.Korsunsky, (aka fat-lobyte).
Copyright© (c) 2017-2018 S.Gray, (aka PiezPiedPy).
Trajectories is available under the terms of GPL-3.0-or-lat... | <|file_sep|>original/COPYRIGHTS.md
Trajectories mod for KSP (Kerbal Space Program)
-----------------------------------------------
Copyright© (c) 2014-2017 Youen Toupin, (aka neuoy).
Copyright© (c) 2014-2018 A.Korsunsky, (aka fat-lobyte).
Copyright© (c) 2017-2018 S.Gray, (aka PiezPiedPy).
Trajectories is availabl... | 4a24391e636b1b0a23719f2c164bb2ddea3da8ad | COPYRIGHTS.md | COPYRIGHTS.md | Markdown |
<|file_sep|>db/migrate/20160127002624_create_administrators.rb.diff
original:
updated:
t.string :email, null: false
t.string :email_for_index, null: false
t.string :hashed_password
t.boolean :suspended, null: false, default: false
<|file_sep|>original/db/migrate/20160127002624_create_administra... | class CreateAdministrators < ActiveRecord::Migration
def change
create_table :administrators do |t|
t.string :email, null: false
t.string :email_for_index, null: false
t.string :hashed_password
t.boolean :suspended, null: false, default: false
t.timestamps null: false
end
ad... | <|file_sep|>db/migrate/20160127002624_create_administrators.rb.diff
original:
updated:
t.string :email, null: false
t.string :email_for_index, null: false
t.string :hashed_password
t.boolean :suspended, null: false, default: false
<|file_sep|>original/db/migrate/20160127002624_create_administra... | 37e5e2a5ce3da3f6ca702f76b5a25d2f1d8043aa | db/migrate/20160127002624_create_administrators.rb | db/migrate/20160127002624_create_administrators.rb | Ruby |
<|file_sep|>original/src/Language/K3/Effects/Core.hs
{-# LANGUAGE TypeFamilies #-}
-- | Data Representations for K3 Effects
module Language.K3.Effects.Core where
import Language.K3.Core.Annotation
import Language.K3.Core.Common
data EffectKind
= FAtom
| FSymbol
| FFunction
deriving (Eq, Read, Show)
da... | {-# LANGUAGE TypeFamilies #-}
-- | Data Representations for K3 Effects
module Language.K3.Effects.Core where
import Language.K3.Core.Annotation
import Language.K3.Core.Common
data Kind
= FAtom
| FSymbol
| FFunction
deriving (Eq, Read, Show)
data instance Annotation EffectKind = KAnnotation deriving (E... | <|file_sep|>original/src/Language/K3/Effects/Core.hs
{-# LANGUAGE TypeFamilies #-}
-- | Data Representations for K3 Effects
module Language.K3.Effects.Core where
import Language.K3.Core.Annotation
import Language.K3.Core.Common
data EffectKind
= FAtom
| FSymbol
| FFunction
deriving (Eq, Read, Show)
da... | 46e2041f1dc467e311dd05bd05caa88824969783 | src/Language/K3/Effects/Core.hs | src/Language/K3/Effects/Core.hs | Haskell |
<|file_sep|>original/.travis.yml
- '4.0'
- '8.0'
sudo: false
after_script: bash <(curl -s https://codecov.io/bash)
deploy:
- provider: npm
email: tituswormer@gmail.com
api_key:
secure: Z7AkW+j5Gtezu7en7R3PBiC6ACSPJ9WR8IIITZU6/8/q+ItSWwRie4/ZXyKj+ao9jekLCn/8ibqFtYmH5qwi8T/As+GiH7Ddt1CGjO1pWDuIa37R/kB09j5... | language: node_js
node_js:
- '4.0'
- '8.0'
sudo: false
after_script: bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: emeA6MAuW+ZPLZoUITVdWfkWfHolCny9s4PiwroMoCiEKnFvTf7gUE5vrJmIMDNuq8iSatmC2Zi/t0fZT6Fn3xpwugfpeU0QLL1p9erJkZKeDJi98b/7xCaNBwseYa/pWMaF2f2Od31k2qWEj5JiTs5AjsouJXM... | <|file_sep|>original/.travis.yml
- '4.0'
- '8.0'
sudo: false
after_script: bash <(curl -s https://codecov.io/bash)
deploy:
- provider: npm
email: tituswormer@gmail.com
api_key:
secure: Z7AkW+j5Gtezu7en7R3PBiC6ACSPJ9WR8IIITZU6/8/q+ItSWwRie4/ZXyKj+ao9jekLCn/8ibqFtYmH5qwi8T/As+GiH7Ddt1CGjO1pWDuIa37R/kB09j5... | 1b83793cfa88f0801903de1e1d514a7a97297d54 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/plugins/symfony2/symfony2.plugin.zsh
# Symfony2 basic command completion
_symfony2_get_command_list () {
app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
}
_symfony2 () {
if [ -f app/console ]; then
compadd `_symfony2_get_command_list`
fi
}
compdef ... | # Symfony2 basic command completion
_symfony2_get_command_list () {
php app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
}
_symfony2 () {
if [ -f app/console ]; then
compadd `_symfony2_get_command_list`
fi
}
compdef _symfony2 app/console
compdef _symfony2 sf
#Alias
ali... | <|file_sep|>original/plugins/symfony2/symfony2.plugin.zsh
# Symfony2 basic command completion
_symfony2_get_command_list () {
app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
}
_symfony2 () {
if [ -f app/console ]; then
compadd `_symfony2_get_command_list`
fi
}
compdef ... | 8c74d80fd6cdc7e1b48e7eb321a3e3a22674c3be | plugins/symfony2/symfony2.plugin.zsh | plugins/symfony2/symfony2.plugin.zsh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.