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|>name/context_processors.py.diff
original:
updated:
from name.models import NAME_TYPE_CHOICES
<|file_sep|>original/name/context_processors.py
def baseurl(request):
"""
Return a BASE_URL template context for the current request
"""
if request.is_secure():
scheme = 'https://'
els... | from name.models import NAME_TYPE_CHOICES
def baseurl(request):
"""
Return a BASE_URL template context for the current request
"""
if request.is_secure():
scheme = 'https://'
else:
scheme = 'http://'
return {
'BASE_URL': scheme + request.get_host(),
}
def name_ty... | <|file_sep|>name/context_processors.py.diff
original:
updated:
from name.models import NAME_TYPE_CHOICES
<|file_sep|>original/name/context_processors.py
def baseurl(request):
"""
Return a BASE_URL template context for the current request
"""
if request.is_secure():
scheme = 'https://'
els... | dfbebf26f52db94c9fc8e1056c39013d8cdb2656 | name/context_processors.py | name/context_processors.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.0
sudo: false
env:
global:
SPEC_OPTS=--backtrace --color
bundler_args: --deployment --without development
cache: bundler
before_install:
- gem install bundler
- bundle --version
before_script:
- cp config/database.ci.yml config/database.yml
- cp... | language: ruby
rvm:
- 2.2.0
sudo: false
env:
global:
SPEC_OPTS=--color
bundler_args: --deployment --without development
cache: bundler
before_install:
- gem install bundler
- bundle --version
before_script:
- cp config/database.ci.yml config/database.yml
- cp .env.example .env
- psql -c 'create databa... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.0
sudo: false
env:
global:
SPEC_OPTS=--backtrace --color
bundler_args: --deployment --without development
cache: bundler
before_install:
- gem install bundler
- bundle --version
before_script:
- cp config/database.ci.yml config/database.yml
- cp... | 60971d2d4b8cbc4bc3d3ee4512204b971547af90 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Bar.py
"""
def __init__(self):
PlotInfo.__init__(self, "bar")
self.width=0.8
self.color="black"
self.edgeColor=None
self.hatch=None
def draw(self, axis):
PlotInfo.draw(self, axis)
kwdict = self.getAttributes()
... | """
def __init__(self):
PlotInfo.__init__(self, "bar")
self.width=0.8
self.color="black"
self.edgeColor=None
self.hatch=None
def draw(self, axis):
if self.xTickLabelPoints is None:
self.xTickLabelPoints = \
[x + (self.width / ... | <|file_sep|>original/Bar.py
"""
def __init__(self):
PlotInfo.__init__(self, "bar")
self.width=0.8
self.color="black"
self.edgeColor=None
self.hatch=None
def draw(self, axis):
PlotInfo.draw(self, axis)
kwdict = self.getAttributes()
... | eafafd3d90024c552a6a607871c1441e358eb927 | Bar.py | Bar.py | Python |
<|file_sep|>original/config.toml
[[menu.main]]
name = "Twitter Timeline"
url = "https://twitter.com/_zorbash"
weight = 101
[[menu.main]]
name = "Goodreads Profile"
url = "https://www.goodreads.com/user/show/13437694-dimitrios"
weight = 102
[params]
description = "Code spells, smells and sourcery"
hide... | [[menu.main]]
name = "Twitter Timeline"
url = "https://twitter.com/_zorbash"
weight = 101
[[menu.main]]
name = "Goodreads Profile"
url = "https://www.goodreads.com/user/show/13437694-dimitrios"
weight = 102
[[menu.main]]
name = "SpeakerDeck Profile"
url = "https://speakerdeck.com/zorbash"
weight = 1... | <|file_sep|>original/config.toml
[[menu.main]]
name = "Twitter Timeline"
url = "https://twitter.com/_zorbash"
weight = 101
[[menu.main]]
name = "Goodreads Profile"
url = "https://www.goodreads.com/user/show/13437694-dimitrios"
weight = 102
[params]
description = "Code spells, smells and sourcery"
hide... | f5cf4e016a1bc836737d5731d90b64b3db4fbf6d | config.toml | config.toml | TOML |
<|file_sep|>original/src/test/resources/symbol_error/RedeclaredField.java
class RedeclaredField {
public static void main(String[] args) {
}
}
class RedeclaredFieldTest {
int a;
int b; // Redeclared field.
public int foo(int b, long[] c, boolean d) {
return 2;
}
}
<|file_sep|>current/sr... | class RedeclaredField {
public static void main(String[] args) {
}
}
class RedeclaredFieldTest {
int a;
long a; // Redeclared field.
public int foo(int b, long[] c, boolean d) {
return 2;
}
} | <|file_sep|>original/src/test/resources/symbol_error/RedeclaredField.java
class RedeclaredField {
public static void main(String[] args) {
}
}
class RedeclaredFieldTest {
int a;
int b; // Redeclared field.
public int foo(int b, long[] c, boolean d) {
return 2;
}
}
<|file_sep|>current/sr... | 799a1f81bba1ee39b35e688dbbbe904414292e4e | src/test/resources/symbol_error/RedeclaredField.java | src/test/resources/symbol_error/RedeclaredField.java | Java |
<|file_sep|>original/static/locales/sl/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-what=Kaj
navigation-how=Kako
navigation-more=Več
navigation-developers=Razvijalci
# Header
call-to-action=Več o tem
# What
# How
save=Shranite
# More
# Developers
<|file_sep|>current/stat... | # Title tag
# Navigation
navigation-toggle=Preklopi navigacioj
navigation-title=Pontoon Intro
navigation-what=Kaj
navigation-how=Kako
navigation-more=Več
navigation-developers=Razvijalci
# Header
call-to-action=Več o tem
# What
# How
save=Shranite
# More
# Developers | <|file_sep|>original/static/locales/sl/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-what=Kaj
navigation-how=Kako
navigation-more=Več
navigation-developers=Razvijalci
# Header
call-to-action=Več o tem
# What
# How
save=Shranite
# More
# Developers
<|file_sep|>current/stat... | 84cd2f34107c932fbfcac1bbe5243e24fb6a9b2d | static/locales/sl/messages.properties | static/locales/sl/messages.properties | INI |
<|file_sep|>media/sermons/index.html.diff
original:
<h2>Podcast</h2>
updated:
<|file_sep|>original/media/sermons/index.html
---
layout: page
---
<p id="breadcrumbs">
<a href="{{ site.baseurl }}/">Home</a> › Media › Sermons
</p>
<h1>Sermons</h1>
<h2>Podcast</h2>
<a href="https://itunes.apple.com/us/... | ---
layout: page
---
<p id="breadcrumbs">
<a href="{{ site.baseurl }}/">Home</a> › Media › Sermons
</p>
<h1>Sermons</h1>
<a href="https://itunes.apple.com/us/podcast/lifestone-church/id968942229"><img src="{{ site.baseurl }}/assets/images/itunes.png" style="float: left; width: 100px" /></a>
<a href="... | <|file_sep|>media/sermons/index.html.diff
original:
<h2>Podcast</h2>
updated:
<|file_sep|>original/media/sermons/index.html
---
layout: page
---
<p id="breadcrumbs">
<a href="{{ site.baseurl }}/">Home</a> › Media › Sermons
</p>
<h1>Sermons</h1>
<h2>Podcast</h2>
<a href="https://itunes.apple.com/us/... | d64cc9ccbeaf3d64cb5ad7361b29ba6246fc0603 | media/sermons/index.html | media/sermons/index.html | HTML |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(se3313_lab3)
find_package(Threads REQUIRED)
find_package(Boost 1.58 REQUIRED date_time) # No libs required
set(CMAKE_CXX_STANDARD 11)
include_directories(SYSTEM ${Boost_INCLUDE_DIR}
lib/include)
in... | cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(se3313_lab3)
find_package(Threads REQUIRED)
find_package(Boost 1.58 REQUIRED date_time) # No libs required
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_BUILD_TYPE Debug)
include_directories(SYSTEM ${Boost_INCLUDE_DIR}
lib/include)
include_di... | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(se3313_lab3)
find_package(Threads REQUIRED)
find_package(Boost 1.58 REQUIRED date_time) # No libs required
set(CMAKE_CXX_STANDARD 11)
include_directories(SYSTEM ${Boost_INCLUDE_DIR}
lib/include)
in... | f4a5f51593b4864df4cf64aaab716fc620ac8abd | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/Casks/sickbeard.rb
<|file_sep|>current/Casks/sickbeard.rb
<|file_sep|>updated/Casks/sickbeard.rb | class Sickbeard < Cask
url 'http://sickbeard.lad1337.de/download.php?f=SickBeard-OSX-master-13.05.25.dmg'
homepage 'http://sickbeard.lad1337.de/'
version '13.05.25'
sha1 '830fafa783858cd6636ce0177d246804e0d1adf7'
link 'SickBeard.app'
end | <|file_sep|>original/Casks/sickbeard.rb
<|file_sep|>current/Casks/sickbeard.rb
<|file_sep|>updated/Casks/sickbeard.rb
class Sickbeard < Cask
url 'http://sickbeard.lad1337.de/download.php?f=SickBeard-OSX-master-13.05.25.dmg'
homepage 'http://sickbeard.lad1337.de/'
version '13.05.25'
sha1 '830fafa783858cd6636ce... | b8293212544c9b03c8b1182f9abf91f5e5037387 | Casks/sickbeard.rb | Casks/sickbeard.rb | Ruby |
<|file_sep|>original/phpunit.xml
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
printerClass="PHPUnit_TextUI_Resul... | convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
printerClass="PHPUnit_TextUI_ResultPrinter"
processIsolation="false"
stopOnError="false"
stopOnFailure="fa... | <|file_sep|>original/phpunit.xml
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
printerClass="PHPUnit_TextUI_Resul... | fc922c730d39d3cdfced25be8bfc3cc394a9898c | phpunit.xml | phpunit.xml | XML |
<|file_sep|>public/sass/elements/_tables.scss.diff
original:
// Right align headings for numeric content
&.numeric {
text-align: right;
}
updated:
}
// Right align table header cells and table cells with a numeric class
.numeric {
text-align: right;
<|file_sep|>original/public/sass/elements... | }
// Right align table header cells and table cells with a numeric class
.numeric {
text-align: right;
}
// Allow a qualifying element, only table data cells should use tabular numbers
// scss-lint:disable QualifyingElement
td.numeric {
font-family: $toolkit-font-stack-tabular;
}
}
.table-fon... | <|file_sep|>public/sass/elements/_tables.scss.diff
original:
// Right align headings for numeric content
&.numeric {
text-align: right;
}
updated:
}
// Right align table header cells and table cells with a numeric class
.numeric {
text-align: right;
<|file_sep|>original/public/sass/elements... | 87987cef8093f89be6d08c08d1d89e10bde2e654 | public/sass/elements/_tables.scss | public/sass/elements/_tables.scss | SCSS |
<|file_sep|>original/team_info.md
<|file_sep|>current/team_info.md
<|file_sep|>updated/team_info.md | ---
layout: page
title: Team Information
---
## Team Members
* Isaac Chan
* Daniel Elmer
* Matthew Sherar
* Yohanna Gadelrab
* Dylan Liu
* Kainoa Lloyd
### Contact Person
* Kainoa Lloyd - **13krl1 [AT] queensu [DOT] ca** | <|file_sep|>original/team_info.md
<|file_sep|>current/team_info.md
<|file_sep|>updated/team_info.md
---
layout: page
title: Team Information
---
## Team Members
* Isaac Chan
* Daniel Elmer
* Matthew Sherar
* Yohanna Gadelrab
* Dylan Liu
* Kainoa Lloyd
### Contact Person
* Kainoa Lloyd - **13krl1 [AT] queensu [DOT]... | a194b1fe3e997993d7566d1e1502ad3f26fda09d | team_info.md | team_info.md | Markdown |
<|file_sep|>refugee_manager/static/js/recurring_form.js.diff
original:
if ($("#id_count").val() > 1) {
show_frequency();
} else {
hide_frequency();
}
});
updated:
if ($("#id_count").val() > 1) {
show_frequency();
} else {
hide_frequency();
}
});
<|file_se... | $("#id_until").datepicker();
$('#id_refugee_case').change(function() {
if ($(this).val()) {
$('#id_employment_case').val('');
}
});
$('#id_employment_case').change(function() {
if ($(this).val()) {
$('#id_refugee_case').val('');
}
});
});
fu... | <|file_sep|>refugee_manager/static/js/recurring_form.js.diff
original:
if ($("#id_count").val() > 1) {
show_frequency();
} else {
hide_frequency();
}
});
updated:
if ($("#id_count").val() > 1) {
show_frequency();
} else {
hide_frequency();
}
});
<|file_se... | 9ab0c4cc0ec33672e269522e749cf3509b358912 | refugee_manager/static/js/recurring_form.js | refugee_manager/static/js/recurring_form.js | JavaScript |
<|file_sep|>original/install-diglog-unix64.sh
#!/bin/sh
dighome=~/diglog
mkdir $dighome
cd $dighome
wget http://john-lazzaro.github.io/chipmunk/pickup/sources/psys-1.61.tar.gz
wget http://john-lazzaro.github.io/chipmunk/pickup/sources/log-5.66.tar.gz
wget http://www.ensiie.fr/~christophe.mouilleron/Teaching/ARMA/dig... | #!/bin/sh
dighome=~/diglog
mkdir $dighome
cd $dighome
wget http://john-lazzaro.github.io/chipmunk/pickup/sources/psys-1.61.tar.gz
wget http://john-lazzaro.github.io/chipmunk/pickup/sources/log-5.66.tar.gz
wget https://ar1.se/GuO0RElRWT
tar xzf psys-1.61.tar.gz
tar xzf log-5.66.tar.gz
patch -p1 < diglog.patch
mkdir... | <|file_sep|>original/install-diglog-unix64.sh
#!/bin/sh
dighome=~/diglog
mkdir $dighome
cd $dighome
wget http://john-lazzaro.github.io/chipmunk/pickup/sources/psys-1.61.tar.gz
wget http://john-lazzaro.github.io/chipmunk/pickup/sources/log-5.66.tar.gz
wget http://www.ensiie.fr/~christophe.mouilleron/Teaching/ARMA/dig... | 27d2368d01d05f3e86e31dbe5ddffff16baa87ee | install-diglog-unix64.sh | install-diglog-unix64.sh | Shell |
<|file_sep|>original/osbrain/tests/test_agentaddress.py
<|file_sep|>current/osbrain/tests/test_agentaddress.py
<|file_sep|>updated/osbrain/tests/test_agentaddress.py | import pytest
import zmq
from osbrain.core import AgentAddressKind
from osbrain.core import AgentAddressRole
def twin_list(elements):
result = elements[:]
result[1::2] = elements[::2]
result[::2] = elements[1::2]
return result
def test_kind():
"""
This test aims to cover basic AgentAddressK... | <|file_sep|>original/osbrain/tests/test_agentaddress.py
<|file_sep|>current/osbrain/tests/test_agentaddress.py
<|file_sep|>updated/osbrain/tests/test_agentaddress.py
import pytest
import zmq
from osbrain.core import AgentAddressKind
from osbrain.core import AgentAddressRole
def twin_list(elements):
result = el... | da97cd5378e849de9c0bfc959186db5564e04cfa | osbrain/tests/test_agentaddress.py | osbrain/tests/test_agentaddress.py | Python |
<|file_sep|>original/instana/instrumentation/urllib3.py
span.set_tag(ext.HTTP_URL, args[1])
span.set_tag(ext.HTTP_METHOD, args[0])
instana.internal_tracer.inject(span.context, opentracing.Format.HTTP_HEADERS, kwargs["headers"])
rv = wrapped(*args, **kwargs)
span.set_tag(ext.HTT... | span.set_tag(ext.HTTP_METHOD, args[0])
instana.internal_tracer.inject(span.context, opentracing.Format.HTTP_HEADERS, kwargs["headers"])
rv = wrapped(*args, **kwargs)
span.set_tag(ext.HTTP_STATUS_CODE, rv.status)
if 500 <= rv.status <= 599:
span.set_tag("error", True... | <|file_sep|>original/instana/instrumentation/urllib3.py
span.set_tag(ext.HTTP_URL, args[1])
span.set_tag(ext.HTTP_METHOD, args[0])
instana.internal_tracer.inject(span.context, opentracing.Format.HTTP_HEADERS, kwargs["headers"])
rv = wrapped(*args, **kwargs)
span.set_tag(ext.HTT... | 226a4c1af180f0bf1924a84c76d1d2b300557e9b | instana/instrumentation/urllib3.py | instana/instrumentation/urllib3.py | Python |
<|file_sep|>original/source/search.json.erb
<%
entries = []
blog.articles.each do |article|
entry = {
title: article.title,
url: article.url,
content: article.body,
type: 'article'
}
entries << entry
end
data.projects.each do |slug, project|
entry = {
title: project.title,
url: 'projects... | <%
entries = []
blog.articles.each do |article|
entry = {
title: article.title,
url: article.url,
content: article.body,
type: 'article'
}
entries << entry
end
%><%=entries.to_json %> | <|file_sep|>original/source/search.json.erb
<%
entries = []
blog.articles.each do |article|
entry = {
title: article.title,
url: article.url,
content: article.body,
type: 'article'
}
entries << entry
end
data.projects.each do |slug, project|
entry = {
title: project.title,
url: 'projects... | 94c47859b42c876256d05fefc30b6e9c99a9cb7a | source/search.json.erb | source/search.json.erb | HTML+ERB |
<|file_sep|>original/frontend/src/app/Services/chatbot.service.spec.ts
<|file_sep|>current/frontend/src/app/Services/chatbot.service.spec.ts
<|file_sep|>updated/frontend/src/app/Services/chatbot.service.spec.ts | /*
* Copyright (c) 2014-2020 Bjoern Kimminich.
* SPDX-License-Identifier: MIT
*/
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'
import { fakeAsync, inject, TestBed, tick } from '@angular/core/testing'
import { ChatbotService } from './chatbot.service'
describe('Chatb... | <|file_sep|>original/frontend/src/app/Services/chatbot.service.spec.ts
<|file_sep|>current/frontend/src/app/Services/chatbot.service.spec.ts
<|file_sep|>updated/frontend/src/app/Services/chatbot.service.spec.ts
/*
* Copyright (c) 2014-2020 Bjoern Kimminich.
* SPDX-License-Identifier: MIT
*/
import { HttpClientTes... | 3a3cd78552f091ebc09ddaa2497fef0d3b3c0316 | frontend/src/app/Services/chatbot.service.spec.ts | frontend/src/app/Services/chatbot.service.spec.ts | TypeScript |
<|file_sep|>original/src/kubernetes/prometheus-proxy/prometheus-proxy-deployment.yaml
- name: scrape
containerPort: 8080
- name: rsocket
containerPort: 7001
resources:
limits:
cpu: 1.0
memory: 2048Mi
reques... | serviceAccountName: prometheus-proxy
containers:
- name: prometheus-proxy
image: micrometermetrics/prometheus-rsocket-proxy:latest
imagePullPolicy: Always
ports:
- name: scrape
containerPort: 8080
- name: rsocket
conta... | <|file_sep|>original/src/kubernetes/prometheus-proxy/prometheus-proxy-deployment.yaml
- name: scrape
containerPort: 8080
- name: rsocket
containerPort: 7001
resources:
limits:
cpu: 1.0
memory: 2048Mi
reques... | aa920255a0658e380e1dcb3b1bf6f436a275ad48 | src/kubernetes/prometheus-proxy/prometheus-proxy-deployment.yaml | src/kubernetes/prometheus-proxy/prometheus-proxy-deployment.yaml | YAML |
<|file_sep|>source/Visualizer/DataProvider.cs.diff
original:
plugin.Initialize(initializeString);
updated:
InitializePlugin(plugin, initializeString);
<|file_sep|>source/Visualizer/DataProvider.cs.diff
original:
updated:
InitializePlugin(plugin, initializeString);
... | public IPlugin GetPlugin(string pluginName)
{
return _pluginFactory.GetPlugin(pluginName);
}
public static void Export(IPlugin plugin, ApplicationDataModel.ApplicationDataModel applicationDataModel, string initializeString, string exportPath)
{
Initialize... | <|file_sep|>source/Visualizer/DataProvider.cs.diff
original:
plugin.Initialize(initializeString);
updated:
InitializePlugin(plugin, initializeString);
<|file_sep|>source/Visualizer/DataProvider.cs.diff
original:
updated:
InitializePlugin(plugin, initializeString);
... | ecee4d4bca1d58216b68fb55c19f53ab824f3ba6 | source/Visualizer/DataProvider.cs | source/Visualizer/DataProvider.cs | C# |
<|file_sep|>original/requirements.txt
numpy
pandas
mock
scipy
joblib
flufl.lock
-e git+ssh://git@stash.ihme.washington.edu:7999/cc/db_tools.git#egg=db_tools
-e git+ssh://git@stash.ihme.washington.edu:7999/cste/ceam-inputs.git#egg=ceam_inputs
-e git+ssh://git@stash.ihme.washington.edu:7999/cste/ceam-public-health.git#eg... | numpy
pandas
mock
scipy
joblib
flufl.lock
-e git+ssh://git@stash.ihme.washington.edu:7999/cp/db_tools.git#egg=db_tools
-e git+ssh://git@stash.ihme.washington.edu:7999/cste/ceam-inputs.git#egg=ceam_inputs
-e git+ssh://git@stash.ihme.washington.edu:7999/cste/ceam-public-health.git#egg=ceam_public_health | <|file_sep|>original/requirements.txt
numpy
pandas
mock
scipy
joblib
flufl.lock
-e git+ssh://git@stash.ihme.washington.edu:7999/cc/db_tools.git#egg=db_tools
-e git+ssh://git@stash.ihme.washington.edu:7999/cste/ceam-inputs.git#egg=ceam_inputs
-e git+ssh://git@stash.ihme.washington.edu:7999/cste/ceam-public-health.git#eg... | 63d4b5c2d7f244254064da9f1ce6b47bf7e36ea8 | requirements.txt | requirements.txt | Text |
<|file_sep|>packages/sa/safe-access.yaml.diff
original:
hash: 0887ba77d0e33a7b9962cb65b8596b7d4da537022862871dd9432a500c42fe3a
updated:
hash: 086ed6b580b47ae066466f2e41ab10e8d4ccb79d51d751ec0427dedc1858ad70
<|file_sep|>packages/sa/safe-access.yaml.diff
original:
updated:
- '0.3.3.0'
<|file_sep|>original/packages/sa/sa... | base: ! '>=4.8 && <4.11'
mtl: ! '>=2.2.1'
transformers: ! '>=0.3.0.0'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1.0'
- '0.2.1.1'
- '0.2.1.2'
- '0.3.0.0'
- '0.3.1.0'
- '0.3.2.0'
- '0.3.2.1'
- '0.3.3.0'
author: Thomas Feron
latest: '0.3.3.0'
description-type: haddock
description: This is a small capability-based... | <|file_sep|>packages/sa/safe-access.yaml.diff
original:
hash: 0887ba77d0e33a7b9962cb65b8596b7d4da537022862871dd9432a500c42fe3a
updated:
hash: 086ed6b580b47ae066466f2e41ab10e8d4ccb79d51d751ec0427dedc1858ad70
<|file_sep|>packages/sa/safe-access.yaml.diff
original:
updated:
- '0.3.3.0'
<|file_sep|>original/packages/sa/sa... | 23edde09534357f48ab2c3cdf26b1bbdb8ce0f1a | packages/sa/safe-access.yaml | packages/sa/safe-access.yaml | YAML |
<|file_sep|>original/tests/requirements.txt
hiredis==0.2.0
flake8==3.5.0
coverage==4.5.1
pytest==3.8.2
pytest-cov==2.6.0
pytest-xdist==1.23.2
async-timeout==3.0.1
<|file_sep|>current/tests/requirements.txt
hiredis==0.2.0
flake8==3.5.0
coverage==4.5.1
pytest==3.8.2
pytest-cov==2.6.0
pytest-xdist==1.23.2
async-timeout==3... | hiredis==0.2.0
flake8==3.5.0
coverage==4.5.1
pytest==3.9.2
pytest-cov==2.6.0
pytest-xdist==1.23.2
async-timeout==3.0.1 | <|file_sep|>original/tests/requirements.txt
hiredis==0.2.0
flake8==3.5.0
coverage==4.5.1
pytest==3.8.2
pytest-cov==2.6.0
pytest-xdist==1.23.2
async-timeout==3.0.1
<|file_sep|>current/tests/requirements.txt
hiredis==0.2.0
flake8==3.5.0
coverage==4.5.1
pytest==3.8.2
pytest-cov==2.6.0
pytest-xdist==1.23.2
async-timeout==3... | e504b396ce5cfa02f06f32a1ebf8b103b1e86a77 | tests/requirements.txt | tests/requirements.txt | Text |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
coverage==4.5.3
coveralls==1.8.0
cssselect==1.0.3
flake8==3.7.7
freezegun==0.3.12
lxml==4.3.3
mock==3.0.5
pytest==4.6.0
pytest-cov==2.7.1
requests-mock==1.6.0
watchdog==0.9.0
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.3.0#egg=digit... | -r requirements.txt
coverage==4.5.3
coveralls==1.8.0
cssselect==1.0.3
flake8==3.7.7
freezegun==0.3.12
lxml==4.3.3
mock==3.0.5
pytest==4.6.2
pytest-cov==2.7.1
requests-mock==1.6.0
watchdog==0.9.0
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.3.0#egg=digitalmarketplace-test-utils==2.3.0 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
coverage==4.5.3
coveralls==1.8.0
cssselect==1.0.3
flake8==3.7.7
freezegun==0.3.12
lxml==4.3.3
mock==3.0.5
pytest==4.6.0
pytest-cov==2.7.1
requests-mock==1.6.0
watchdog==0.9.0
git+https://github.com/alphagov/digitalmarketplace-test-utils.git@2.3.0#egg=digit... | a5da1a49effff7f08f635bfde88b276b093d6c0d | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/lib/railjet/form.rb
module Railjet
module Form
extend ::ActiveSupport::Concern
include Railjet::Validator
included do
const_set(:Error, Class.new(Railjet::FormError))
def initialize(attributes = {})
super(attributes.to_h)
end
end
end
end
<|file... | module Railjet
module Form
extend ::ActiveSupport::Concern
include Railjet::Validator
included do
const_set(:Error, Class.new(Railjet::FormError))
def initialize(attributes = {})
super(attributes.respond_to?(:to_unsafe_h) ? attributes.to_unsafe_h : attributes)
end
en... | <|file_sep|>original/lib/railjet/form.rb
module Railjet
module Form
extend ::ActiveSupport::Concern
include Railjet::Validator
included do
const_set(:Error, Class.new(Railjet::FormError))
def initialize(attributes = {})
super(attributes.to_h)
end
end
end
end
<|file... | 42842e4d0c8242208685f7da7afd88ea5e3c8c4d | lib/railjet/form.rb | lib/railjet/form.rb | Ruby |
<|file_sep|>original/Assets/GLTF/Scripts/GLTFComponent.cs
using UnityEngine;
using System.Threading;
using UnityEngine.Networking;
namespace GLTF {
class GLTFComponent : MonoBehaviour
{
public string Url;
public Shader Shader;
public bool Multithreaded = true;
IEnumerator Start()
... | using System.Collections;
using UnityEngine;
using System.Threading;
using UnityEngine.Networking;
namespace GLTF {
class GLTFComponent : MonoBehaviour
{
public string Url;
public Shader Shader;
public bool Multithreaded = true;
IEnumerator Start()
{
var loader =... | <|file_sep|>original/Assets/GLTF/Scripts/GLTFComponent.cs
using UnityEngine;
using System.Threading;
using UnityEngine.Networking;
namespace GLTF {
class GLTFComponent : MonoBehaviour
{
public string Url;
public Shader Shader;
public bool Multithreaded = true;
IEnumerator Start()
... | 308480bfdc39634cc715989abb312edaf8f84c4b | Assets/GLTF/Scripts/GLTFComponent.cs | Assets/GLTF/Scripts/GLTFComponent.cs | C# |
<|file_sep|>original/base/templates/partials/searchbar.html
<div class="search-container">
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" class="search js-search" data-hotkey="/" id="id_q" name="q" placeholder="What are you looking for?" value="{{ value }}">
<button type="submit"><... | <div class="search-container">
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" class="search js-search" data-hotkey="/" id="id_q" name="q" placeholder="What are you looking for?" value="{{ value }}">
<button type="submit"><span class="ss-icon ss-search"></span></button>
</div>
{# <d... | <|file_sep|>original/base/templates/partials/searchbar.html
<div class="search-container">
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" class="search js-search" data-hotkey="/" id="id_q" name="q" placeholder="What are you looking for?" value="{{ value }}">
<button type="submit"><... | 3fd3132e177d3b85672e24d685eebacb721d936a | base/templates/partials/searchbar.html | base/templates/partials/searchbar.html | HTML |
<|file_sep|>original/app/views/backend/pages/edit_translation.html.erb
<% breadcrumb.add @model.description, edit_backend_page_path(@model) %>
<% breadcrumb.add t('b.edit') %>
<%= render 'backend/breadcrumbs' %>
<%= render 'backend/pages/tabs', active: params[:translation_locale].to_sym %>
<%= render 'backend/general_... | <% breadcrumb.add @model.description, edit_backend_page_path(@model) %>
<% breadcrumb.add t('b.edit') %>
<%= render 'backend/breadcrumbs' %>
<%= render 'backend/pages/tabs', active: params[:translation_locale].to_sym %>
<%= render 'backend/general_form_error', object: @translation %>
<%= simple_form_for([:backend, @t... | <|file_sep|>original/app/views/backend/pages/edit_translation.html.erb
<% breadcrumb.add @model.description, edit_backend_page_path(@model) %>
<% breadcrumb.add t('b.edit') %>
<%= render 'backend/breadcrumbs' %>
<%= render 'backend/pages/tabs', active: params[:translation_locale].to_sym %>
<%= render 'backend/general_... | d60dfcd5c60b404ba2d51eb8e44a66105af0e246 | app/views/backend/pages/edit_translation.html.erb | app/views/backend/pages/edit_translation.html.erb | HTML+ERB |
<|file_sep|>original/demo/examples/label/index.js
export default () => {
return [
label().text('Default Label')),
label({ context: 'action' }).text('Action Label')),
label({ context: 'positive' }).text('Positive Label')),
label({ context: 'warning' }).text('Warning Label')),
label({ context: 'nega... | export default () => {
return [
label().text('Default Label'),
label({ context: 'action' }).text('Action Label'),
label({ context: 'positive' }).text('Positive Label'),
label({ context: 'warning' }).text('Warning Label'),
label({ context: 'negative' }).text('Negative Label'),
label({ context: ... | <|file_sep|>original/demo/examples/label/index.js
export default () => {
return [
label().text('Default Label')),
label({ context: 'action' }).text('Action Label')),
label({ context: 'positive' }).text('Positive Label')),
label({ context: 'warning' }).text('Warning Label')),
label({ context: 'nega... | 5c42a902975f223dd7a158a0943b2756b966d898 | demo/examples/label/index.js | demo/examples/label/index.js | JavaScript |
<|file_sep|>lib/ab/test.rb.diff
original:
@start_at ||= hash['start_at'].nil? ? DateTime.new(0) : DateTime.parse(hash['start_at'])
updated:
@start_at ||= parse_time('start_at', 0)
<|file_sep|>lib/ab/test.rb.diff
original:
@end_at ||= hash['end_at'].nil? ? DateTime.new(3000) : DateTime.parse(hash['end_... |
def start_at
@start_at ||= parse_time('start_at', 0)
end
def end_at
@end_at ||= parse_time('end_at', 3000)
end
def weight_sum
variants.map(&:chance_weight).inject(:+)
end
private
def parse_time(name, default)
value = hash[name]
value.nil? ? DateTime.new... | <|file_sep|>lib/ab/test.rb.diff
original:
@start_at ||= hash['start_at'].nil? ? DateTime.new(0) : DateTime.parse(hash['start_at'])
updated:
@start_at ||= parse_time('start_at', 0)
<|file_sep|>lib/ab/test.rb.diff
original:
@end_at ||= hash['end_at'].nil? ? DateTime.new(3000) : DateTime.parse(hash['end_... | 268783260ac1732e70afd5e92a9a99479112b5b4 | lib/ab/test.rb | lib/ab/test.rb | Ruby |
<|file_sep|>rb/spec/integration/selenium/webdriver/mouse_spec.rb.diff
original:
end
updated:
<|file_sep|>original/rb/spec/integration/selenium/webdriver/mouse_spec.rb
droppable = driver.find_element(:id => "droppable")
driver.mouse.down draggable
driver.mouse.move_to droppable
... | droppable = driver.find_element(:id => "droppable")
driver.mouse.down draggable
driver.mouse.move_to droppable
driver.mouse.up droppable
text = droppable.find_element(:tag_name => "p").text
text.should == "Dropped!"
end
it "double cl... | <|file_sep|>rb/spec/integration/selenium/webdriver/mouse_spec.rb.diff
original:
end
updated:
<|file_sep|>original/rb/spec/integration/selenium/webdriver/mouse_spec.rb
droppable = driver.find_element(:id => "droppable")
driver.mouse.down draggable
driver.mouse.move_to droppable
... | 150052ef8fbbd90f59cd301cc22b4ccd9e2021e3 | rb/spec/integration/selenium/webdriver/mouse_spec.rb | rb/spec/integration/selenium/webdriver/mouse_spec.rb | Ruby |
<|file_sep|>original/scripts/classroom/setup_ruby_primer.sh
#!/bin/bash
if [ ! -f /root/.extendingrc ]; then
echo "Installing the Puppet Enterprise ruby packages."
for i in $(ls /root/puppet-enterprise/packages/el-6-i386/pe-ruby*);
do
rpm -Uvh $i;
done
for i in $(ls /root/puppet-enterprise/packages/el-6-i... | #!/bin/bash
if [ ! -f /root/.extendingrc ]; then
echo "Installing the Puppet Enterprise ruby packages."
yum localinstall --disablerepo=* /root/puppet-enterprise/packages/el-6-i386/pe-ruby*
touch .extendingrc
echo "Please run 'exec bash' or 'exec zsh' to update your PATH."
else
echo "This script has already in... | <|file_sep|>original/scripts/classroom/setup_ruby_primer.sh
#!/bin/bash
if [ ! -f /root/.extendingrc ]; then
echo "Installing the Puppet Enterprise ruby packages."
for i in $(ls /root/puppet-enterprise/packages/el-6-i386/pe-ruby*);
do
rpm -Uvh $i;
done
for i in $(ls /root/puppet-enterprise/packages/el-6-i... | 08abd16fed569076ed31010e541dbfbc388b6fe6 | scripts/classroom/setup_ruby_primer.sh | scripts/classroom/setup_ruby_primer.sh | Shell |
<|file_sep|>original/t9n.coffee
class T9n
@get: (x, prefix='') ->
_get(x, prefix)
@map: (language, map) ->
if not i18n.map[language]
i18n.map[language] = {}
_extend(i18n.map[language], map)
i18n.dep.changed()
_get = (x, prefix='') ->
prefix = (if prefix then prefix + '.' else '')
# ... |
class T9n
@get: (x, prefix='') ->
_get(x, prefix)
@map: (language, map) ->
if not i18n.map[language]
i18n.map[language] = {}
_extend(i18n.map[language], map)
#i18n._dep.changed()
_get = (x, prefix='') ->
prefix = (if prefix then prefix + '.' else '')
# console.log "_get: " + (i18n... | <|file_sep|>original/t9n.coffee
class T9n
@get: (x, prefix='') ->
_get(x, prefix)
@map: (language, map) ->
if not i18n.map[language]
i18n.map[language] = {}
_extend(i18n.map[language], map)
i18n.dep.changed()
_get = (x, prefix='') ->
prefix = (if prefix then prefix + '.' else '')
# ... | c3bbafccbd6f368aa2de47f45737a2e20334fc43 | t9n.coffee | t9n.coffee | CoffeeScript |
<|file_sep|>original/client/views/pages/partials/page_settings/page_settings.js
Session.set('pageSettings', null);
},
'submit #page-slug': function (e, tmpl) {
e.preventDefault();
var slug = tmpl.find('#pageSlug').value;
Pages.update({ _id: this._id }, {
$set: { slug: slug }
});
... |
Session.set('pageSettings', null);
},
'submit #page-slug': function (e, tmpl) {
e.preventDefault();
var slug = tmpl.find('#pageSlug').value;
if (slug.length > 0) {
Pages.update({ _id: this._id }, {
$set: { slug: slug }
});
App.setAlert('Added a new page slug.', 'suc... | <|file_sep|>original/client/views/pages/partials/page_settings/page_settings.js
Session.set('pageSettings', null);
},
'submit #page-slug': function (e, tmpl) {
e.preventDefault();
var slug = tmpl.find('#pageSlug').value;
Pages.update({ _id: this._id }, {
$set: { slug: slug }
});
... | 0dfb6e7111d794d8d37571c336aba48fdddf807e | client/views/pages/partials/page_settings/page_settings.js | client/views/pages/partials/page_settings/page_settings.js | JavaScript |
<|file_sep|>original/monkeylearn/extraction.py
def __init__(self, token, base_endpoint=DEFAULT_BASE_ENDPOINT):
self.token = token
self.endpoint = base_endpoint + 'extractors/'
def extract(self, module_id, text_list, batch_size=DEFAULT_BATCH_SIZE,
sleep_if_throttled=True):
... |
def extract(self, module_id, text_list, batch_size=DEFAULT_BATCH_SIZE,
sleep_if_throttled=True):
text_list = list(text_list)
self.check_batch_limits(text_list, batch_size)
url = self.endpoint + module_id + '/extract/'
res = []
responses = []
for i in ... | <|file_sep|>original/monkeylearn/extraction.py
def __init__(self, token, base_endpoint=DEFAULT_BASE_ENDPOINT):
self.token = token
self.endpoint = base_endpoint + 'extractors/'
def extract(self, module_id, text_list, batch_size=DEFAULT_BATCH_SIZE,
sleep_if_throttled=True):
... | f3eee368e13ee37048d52bde0d067efea057fef8 | monkeylearn/extraction.py | monkeylearn/extraction.py | Python |
<|file_sep|>original/random_projection.py
"""
Random projection, Assignment 1c
"""
<|file_sep|>current/random_projection.py
"""
Random projection, Assignment 1c
"""
<|file_sep|>updated/random_projection.py | """
Random projection, Assignment 1c
"""
import numpy as np
import matplotlib.pylab as plt
import random, mnist_dataloader
from numpy import dtype
"""
Generate random projection matrix R
@param: k, the reduced number of dimensions
@param: d, the original number of dimensions
@return: R, the generated random projection... | <|file_sep|>original/random_projection.py
"""
Random projection, Assignment 1c
"""
<|file_sep|>current/random_projection.py
"""
Random projection, Assignment 1c
"""
<|file_sep|>updated/random_projection.py
"""
Random projection, Assignment 1c
"""
import numpy as np
import matplotlib.pylab as plt
import random, mnist_da... | 2c15d96a7d77269fbe41e5b2940873fc849d411a | random_projection.py | random_projection.py | Python |
<|file_sep|>original/tasks/dev.js
import gulp from 'gulp';
const runSequence = require('run-sequence').use(gulp);
gulp.task('setup-watchers', (callback) => {
process.env.WEBPACK_WATCH = true;
gulp.watch(['src/pivotal-ui/components/**/*.scss'], ['monolith-hologram', 'monolith-build-css-from-cache']);
gulp.watch([... | import gulp from 'gulp';
const runSequence = require('run-sequence').use(gulp);
gulp.task('setup-watchers', (callback) => {
process.env.WEBPACK_WATCH = true;
gulp.watch(['src/pivotal-ui/components/**/*.scss'], ['monolith-hologram', 'monolith-build-css-from-cache']);
gulp.watch(['src/pivotal-ui-react/**/*.js'], [... | <|file_sep|>original/tasks/dev.js
import gulp from 'gulp';
const runSequence = require('run-sequence').use(gulp);
gulp.task('setup-watchers', (callback) => {
process.env.WEBPACK_WATCH = true;
gulp.watch(['src/pivotal-ui/components/**/*.scss'], ['monolith-hologram', 'monolith-build-css-from-cache']);
gulp.watch([... | f1dd55b31009b9640cd75058f9eab61a753763cc | tasks/dev.js | tasks/dev.js | JavaScript |
<|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>updated/requirements.txt | molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.12.0
tox==3.0.0 | <|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>updated/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagr... | 352707b0f23c995d247c0533ecf29343539a7ff2 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/FiveCalls/FiveCallsTests/ContactLogsTests.swift
func testLoadsEmptyContactLogs() {
let logs = ContactLogs.load()
let expected: [ContactLog] = []
XCTAssertEqual(logs.all, expected)
}
func testSavingLog() {
let dateFormatter = DateFormatter()
d... | func testLoadsEmptyContactLogs() {
let logs = ContactLogs.load()
let expected: [ContactLog] = []
XCTAssertEqual(logs.all, expected)
}
func testSavingLog() {
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-dd"
let date = dateFormatt... | <|file_sep|>original/FiveCalls/FiveCallsTests/ContactLogsTests.swift
func testLoadsEmptyContactLogs() {
let logs = ContactLogs.load()
let expected: [ContactLog] = []
XCTAssertEqual(logs.all, expected)
}
func testSavingLog() {
let dateFormatter = DateFormatter()
d... | 5ece57bbeac8c110417311470c30ba691e44affa | FiveCalls/FiveCallsTests/ContactLogsTests.swift | FiveCalls/FiveCallsTests/ContactLogsTests.swift | Swift |
<|file_sep|>original/composer.json
{
"name": "dts/ebay-sdk",
"description": "An eBay SDK for PHP. Use the eBay API in your PHP projects.",
"keywords": ["ebay", "api", "sdk"],
"homepage": "https://github.com/davidtsadler/ebay-sdk",
"type": "library",
"license": "Apache-2.0",
"authors": [
... | {
"name": "dts/ebay-sdk",
"description": "An eBay SDK for PHP. Use the eBay API in your PHP projects.",
"keywords": ["ebay", "api", "sdk"],
"homepage": "http://devbay.net/",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "David T. Sadler",
... | <|file_sep|>original/composer.json
{
"name": "dts/ebay-sdk",
"description": "An eBay SDK for PHP. Use the eBay API in your PHP projects.",
"keywords": ["ebay", "api", "sdk"],
"homepage": "https://github.com/davidtsadler/ebay-sdk",
"type": "library",
"license": "Apache-2.0",
"authors": [
... | a18a25649d412c16615d89e6669f0f1dc1497abc | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
[](https://travis-ci.org/skyylex/ReactiveBeaver)
# ReactiveBeaver (preparing first version)
#### NOT released.
ePub parser for iOS and OS X.
Core parts are designed to be functional and are written in Reac... | [](https://travis-ci.org/skyylex/ReactiveBeaver)
# ReactiveBeaver (preparing first version)
#### NOT released.
ePub parser for iOS and OS X.
Core parts are designed to be functional and are written in ReactiveCocoa.
### Main goals and p... | <|file_sep|>original/README.md
[](https://travis-ci.org/skyylex/ReactiveBeaver)
# ReactiveBeaver (preparing first version)
#### NOT released.
ePub parser for iOS and OS X.
Core parts are designed to be functional and are written in Reac... | cb28e44a57cfab53717e5312d8a4b6510e3d02a9 | README.md | README.md | Markdown |
<|file_sep|>original/app/views/layouts/listnav/_cloud_volume.html.haml
- if @record.try(:name)
#accordion.panel-group
= miq_accordion_panel(truncate(@record.name, :length => truncate_length), true, "icon") do
= render(:partial => "layouts/quadicon",
:locals => {:mode => :icon,
... | :size => 72,
:typ => :listnav})
= miq_accordion_panel(_("Properties"), false, "cloud_volume_prop") do
%ul.nav.nav-pills.nav-stacked
%li
= link_to(_('Summary'), {:action => 'show', :id => @record, :display => 'main'}, :title => _("Show Summary"))
=... | <|file_sep|>original/app/views/layouts/listnav/_cloud_volume.html.haml
- if @record.try(:name)
#accordion.panel-group
= miq_accordion_panel(truncate(@record.name, :length => truncate_length), true, "icon") do
= render(:partial => "layouts/quadicon",
:locals => {:mode => :icon,
... | dc812a9c362965bd3613d6fba54d7647a84c280d | app/views/layouts/listnav/_cloud_volume.html.haml | app/views/layouts/listnav/_cloud_volume.html.haml | Haml |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.2
virtualenv:
system_site_packages: true
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then sudo apt-get install python-numpy; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then sudo apt-get install python3-numpy; fi
install:
- if ... | language: python
python:
- 2.7
- 3.2
virtualenv:
system_site_packages: true
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then sudo apt-get install python-numpy; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then sudo apt-get install python3-numpy; fi
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]... | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.2
virtualenv:
system_site_packages: true
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then sudo apt-get install python-numpy; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then sudo apt-get install python3-numpy; fi
install:
- if ... | a557cca301fe8333d5779d43aac7550a78c5ae65 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/vent/extras/rmq_es_connector/healthcheck/requirements.txt
flask==1.0.2
healthcheck==1.3.3
six==1.12.0
<|file_sep|>current/vent/extras/rmq_es_connector/healthcheck/requirements.txt
flask==1.0.2
healthcheck==1.3.3
six==1.12.0
<|file_sep|>updated/vent/extras/rmq_es_connector/healthcheck/requirements.t... | flask==1.0.3
healthcheck==1.3.3
six==1.12.0 | <|file_sep|>original/vent/extras/rmq_es_connector/healthcheck/requirements.txt
flask==1.0.2
healthcheck==1.3.3
six==1.12.0
<|file_sep|>current/vent/extras/rmq_es_connector/healthcheck/requirements.txt
flask==1.0.2
healthcheck==1.3.3
six==1.12.0
<|file_sep|>updated/vent/extras/rmq_es_connector/healthcheck/requirements.t... | fb4b8aaa3b0ef83888c1042044870a71db91a769 | vent/extras/rmq_es_connector/healthcheck/requirements.txt | vent/extras/rmq_es_connector/healthcheck/requirements.txt | Text |
<|file_sep|>original/extras.d/40-fix-db-user.sh
<|file_sep|>current/extras.d/40-fix-db-user.sh
<|file_sep|>updated/extras.d/40-fix-db-user.sh | # Something is busted with mysql and the default user, so we'll just fix it..
if [[ "$1" == "stack" && "$2" == "install" ]]; then
if is_service_enabled mysql; then
sudo mysqladmin -u root password $DATABASE_PASSWORD || true
sudo mysql -uroot -p$DATABASE_PASSWORD -h127.0.0.1 -e "GRANT ALL PRIVILEGES ... | <|file_sep|>original/extras.d/40-fix-db-user.sh
<|file_sep|>current/extras.d/40-fix-db-user.sh
<|file_sep|>updated/extras.d/40-fix-db-user.sh
# Something is busted with mysql and the default user, so we'll just fix it..
if [[ "$1" == "stack" && "$2" == "install" ]]; then
if is_service_enabled mysql; then
... | 02478f45e1a79d8948d6dc7d27d01753d866ecb8 | extras.d/40-fix-db-user.sh | extras.d/40-fix-db-user.sh | Shell |
<|file_sep|>original/requirements.txt
django-oscar>=2.0,<2.1
# Testing
coverage==4.5.4
django-webtest==1.9.7
factory-boy>=2.10,<2.11
pytest-django>=3.5,<3.6
tox>=2.9,<2.10
freezegun>=0.3,<0.4
sorl-thumbnail
<|file_sep|>current/requirements.txt
django-oscar>=2.0,<2.1
# Testing
coverage==4.5.4
django-webtest==1.9.7
fac... | django-oscar>=2.0,<2.1
# Testing
coverage==4.5.4
django-webtest==1.9.7
factory-boy>=2.10,<2.13
pytest-django>=3.5,<3.6
tox>=2.9,<2.10
freezegun>=0.3,<0.4
sorl-thumbnail | <|file_sep|>original/requirements.txt
django-oscar>=2.0,<2.1
# Testing
coverage==4.5.4
django-webtest==1.9.7
factory-boy>=2.10,<2.11
pytest-django>=3.5,<3.6
tox>=2.9,<2.10
freezegun>=0.3,<0.4
sorl-thumbnail
<|file_sep|>current/requirements.txt
django-oscar>=2.0,<2.1
# Testing
coverage==4.5.4
django-webtest==1.9.7
fac... | 2a87724fbcc313c6cb9c4ae24517287b878da60f | requirements.txt | requirements.txt | Text |
<|file_sep|>original/test/actors/TwitterHandlerSpec.scala
import com.typesafe.config.ConfigFactory
val myConfig = ConfigFactory.load("local.conf").getConfig("twitter")
val cb = new ConfigurationBuilder()
cb.setDebugEnabled(true)
.setOAuthConsumerKey(myConfig.getString("consumer.key"))
.set... | import com.typesafe.config.ConfigFactory
val myConfig = ConfigFactory.load("local.conf").getConfig("twitter")
val cb = new ConfigurationBuilder()
cb.setDebugEnabled(true)
.setOAuthConsumerKey(myConfig.getString("consumer.key"))
.setOAuthConsumerSecret(myConfig.getString("consumer.secret"))... | <|file_sep|>original/test/actors/TwitterHandlerSpec.scala
import com.typesafe.config.ConfigFactory
val myConfig = ConfigFactory.load("local.conf").getConfig("twitter")
val cb = new ConfigurationBuilder()
cb.setDebugEnabled(true)
.setOAuthConsumerKey(myConfig.getString("consumer.key"))
.set... | cc93c0a64faa467db36ba5d79c32093f11f09af3 | test/actors/TwitterHandlerSpec.scala | test/actors/TwitterHandlerSpec.scala | Scala |
<|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Matthias Noback",
"email": "matthiasnoback@gmail.com",
"homepage": "http://php-and-symfony.matthiasnoback.nl"
}
],
"require": {
"symfony/dependency-injection": "2.*"
... | "homepage": "http://php-and-symfony.matthiasnoback.nl"
}
],
"require": {
"symfony/dependency-injection": "2.*"
},
"require-dev": {
"symfony/config": "2.*",
"phpunit/phpunit": "3.7.*",
"symfony/expression-language": "2.4.*"
},
"target-dir": "Mat... | <|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Matthias Noback",
"email": "matthiasnoback@gmail.com",
"homepage": "http://php-and-symfony.matthiasnoback.nl"
}
],
"require": {
"symfony/dependency-injection": "2.*"
... | a80c4fcf3f3f4f659739654ae3666575101af858 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.8.2
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.8.2
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>updated/requirements/doc.txt | -r ./base.txt
sphinx==1.8.3
alagitpull==0.0.21
releases==1.6.1 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.8.2
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.8.2
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>updated/requirements/doc.txt
-r ./base.txt
sphinx==1.8.3
alagitpull==0.0.21
releases==1.6.1 | d431dfa31b1bfdbd5d9df8e2273a3ac703442ae0 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>src/plugins/index.js.diff
original:
export const add = (ref, plugins) => {
updated:
export const add = (ref, plugins = {}) => {
<|file_sep|>original/src/plugins/index.js
}
export const remove = (ref) => {
let mainIndex = indices[ref]
for (let type in mainIndex) {
let typeIndex = mainIndex[type]
... | }
}
export const remove = (ref) => {
let mainIndex = indices[ref]
for (let type in mainIndex) {
let typeIndex = mainIndex[type]
for (let name in typeIndex) {
registers[type].remove(name)
}
}
delete indices[ref]
}
export const has = (ref) => ref in indices
export const list = () => Objec... | <|file_sep|>src/plugins/index.js.diff
original:
export const add = (ref, plugins) => {
updated:
export const add = (ref, plugins = {}) => {
<|file_sep|>original/src/plugins/index.js
}
export const remove = (ref) => {
let mainIndex = indices[ref]
for (let type in mainIndex) {
let typeIndex = mainIndex[type]
... | 48b04d42ceb838454a49351251b2a6f9f8e8ca00 | src/plugins/index.js | src/plugins/index.js | JavaScript |
<|file_sep|>original/Snittlistan.Test/SerializationTest.cs
// Assert
TestData.VerifyTeam(match.AwayTeam);
}
[Fact]
public void CanSerialize4x4Match()
{
// Arrange
var serializer = Store.Conventions.CreateSerializer();
var build... | var builder = new StringBuilder();
// Act
serializer.Serialize(new StringWriter(builder), DbSeed.Create4x4Match());
string text = builder.ToString();
var match = serializer.Deserialize<Match4x4>(new JsonTextReader(new StringReader(text)));
// Ass... | <|file_sep|>original/Snittlistan.Test/SerializationTest.cs
// Assert
TestData.VerifyTeam(match.AwayTeam);
}
[Fact]
public void CanSerialize4x4Match()
{
// Arrange
var serializer = Store.Conventions.CreateSerializer();
var build... | 1885cefbd0ebb06d65ed0eb2b0bea014dae8295c | Snittlistan.Test/SerializationTest.cs | Snittlistan.Test/SerializationTest.cs | C# |
<|file_sep|>original/app/javascript/packs/application.js
/* eslint no-console:0 */
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack... | /* eslint no-console:0 */
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
//... | <|file_sep|>original/app/javascript/packs/application.js
/* eslint no-console:0 */
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack... | 2a85ba5738f4451885c2dc591e196d3281453efc | app/javascript/packs/application.js | app/javascript/packs/application.js | JavaScript |
<|file_sep|>tests/test_main.py.diff
original:
updated:
from qtpy import QtCore, QtGui, QtWidgets, QtWebEngineWidgets
def assert_pyside():
import PySide
assert QtCore.QEvent is PySide.QtCore.QEvent
assert QtGui.QPainter is PySide.QtGui.QPainter
assert QtWidgets.QWidget is PySide.QtGui.QWidget
ass... |
QT_API = os.environ.get('QT_API', None)
if QT_API == 'pyside':
assert_pyside()
elif QT_API in ('pyqt', 'pyqt4'):
assert_pyqt4()
elif QT_API == 'pyqt5':
assert_pyqt5()
else:
# We should then be loading, in order of decreasing preference, PyQt5,
# PyQt4, and P... | <|file_sep|>tests/test_main.py.diff
original:
updated:
from qtpy import QtCore, QtGui, QtWidgets, QtWebEngineWidgets
def assert_pyside():
import PySide
assert QtCore.QEvent is PySide.QtCore.QEvent
assert QtGui.QPainter is PySide.QtGui.QPainter
assert QtWidgets.QWidget is PySide.QtGui.QWidget
ass... | 6a9fb4f8ad3c8fda2b12688be5058e95d5e995e7 | tests/test_main.py | tests/test_main.py | Python |
<|file_sep|>original/wicket-examples/src/java/wicket/examples/hangman/Home.html
<html xmlns:wicket="http://wicket.sourceforge.net/">
<head>
<title>Wicket Examples - hangman</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<span wicket:id="mainNavigation"/>
<p>This softwar... | <html xmlns:wicket="http://wicket.sourceforge.net/">
<head>
<title>Wicket Examples - hangman</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<span wicket:id="mainNavigation"/>
<p>This software plays a game of hangman.
<br>
A word is chosen at random and displaye... | <|file_sep|>original/wicket-examples/src/java/wicket/examples/hangman/Home.html
<html xmlns:wicket="http://wicket.sourceforge.net/">
<head>
<title>Wicket Examples - hangman</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<span wicket:id="mainNavigation"/>
<p>This softwar... | 8afd62fe17666b07771d737408e3c1b52edf3509 | wicket-examples/src/java/wicket/examples/hangman/Home.html | wicket-examples/src/java/wicket/examples/hangman/Home.html | HTML |
<|file_sep|>original/app/templates/_travis.yml
language: "node_js"
node_js:
- "0.10"
- "0.8"
- "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls"
<|file_sep|>current/app/templates/_travis.yml
lang... | language: "node_js"
node_js:
- "0.10"
- "0.8"
- "0.6"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls" | <|file_sep|>original/app/templates/_travis.yml
language: "node_js"
node_js:
- "0.10"
- "0.8"
- "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls"
<|file_sep|>current/app/templates/_travis.yml
lang... | 65038145825a113778f5129af8bccfdb08adcc68 | app/templates/_travis.yml | app/templates/_travis.yml | YAML |
<|file_sep|>original/cs-engine/1.13/release-notes.md
title: CS Docker Engine 1.13 release notes
description: Commercially supported Docker Engine release notes
keywords: docker, engine, install, release notes
---
This document describes the latest changes, additions, known issues, and fixes
for the commercially suppo... | title: CS Docker Engine 1.13 release notes
description: Commercially supported Docker Engine release notes
keywords: docker, engine, install, release notes
---
This document describes the latest changes, additions, known issues, and fixes
for the commercially supported Docker Engine (CS Engine).
The CS Engine is fun... | <|file_sep|>original/cs-engine/1.13/release-notes.md
title: CS Docker Engine 1.13 release notes
description: Commercially supported Docker Engine release notes
keywords: docker, engine, install, release notes
---
This document describes the latest changes, additions, known issues, and fixes
for the commercially suppo... | 4142b8ffcefe496158e47dec6913344f224a95e9 | cs-engine/1.13/release-notes.md | cs-engine/1.13/release-notes.md | Markdown |
<|file_sep|>original/src/main/scala/io/scalac/amqp/impl/QueuePublisher.scala
import com.rabbitmq.client.{ShutdownSignalException, ShutdownListener, Connection}
import io.scalac.amqp.Delivery
import org.reactivestreams.{Subscriber, Publisher}
private[amqp] class QueuePublisher(connection: Connection, queue: String,... |
import com.rabbitmq.client.{ShutdownSignalException, ShutdownListener, Connection}
import io.scalac.amqp.Delivery
import org.reactivestreams.{Subscriber, Publisher}
private[amqp] class QueuePublisher(connection: Connection, queue: String, prefetch: Int = 20)
extends Publisher[Delivery] {
require(prefetch > 0, ... | <|file_sep|>original/src/main/scala/io/scalac/amqp/impl/QueuePublisher.scala
import com.rabbitmq.client.{ShutdownSignalException, ShutdownListener, Connection}
import io.scalac.amqp.Delivery
import org.reactivestreams.{Subscriber, Publisher}
private[amqp] class QueuePublisher(connection: Connection, queue: String,... | 438767b7591e1fbf62d51cb767dd4de413e8bc63 | src/main/scala/io/scalac/amqp/impl/QueuePublisher.scala | src/main/scala/io/scalac/amqp/impl/QueuePublisher.scala | Scala |
<|file_sep|>original/README.md
# Localization Checker
iOS & Mac projects localization checker.
<|file_sep|>current/README.md
# Localization Checker
iOS & Mac projects localization checker.
<|file_sep|>updated/README.md | # Localization Checker
iOS & Mac projects localization checker.
# ctag Support
The repository contains a file called `generate-ctags.sh`. This will generate 2 ctag files (`tags` and `vendor.tags`), if you have `exurbetant-ctags` installed.
These files help some editors with autocompletion, especially vim. | <|file_sep|>original/README.md
# Localization Checker
iOS & Mac projects localization checker.
<|file_sep|>current/README.md
# Localization Checker
iOS & Mac projects localization checker.
<|file_sep|>updated/README.md
# Localization Checker
iOS & Mac projects localization checker.
# ctag Support
The repository... | 6c429ca9ebe9deb4cad9cc256220092c34577f06 | README.md | README.md | Markdown |
<|file_sep|>infect/infect.py.diff
original:
def install(self):
updated:
def install(self): # pragma: nocover
<|file_sep|>infect/infect.py.diff
original:
def upload(self):
updated:
def upload(self): # pragma: nocover
<|file_sep|>infect/infect.py.diff
original:
def uninstall(self):
updated:
def ... | if os.path.islink(dest):
return self.Codes.symlink['destination_already_linked']
if os.path.isfile(dest) or os.path.isdir(dest):
return self.Codes.symlink['destination_exists']
os.symlink(target, dest)
return self.Codes.symlink['success']
def uninstall(sel... | <|file_sep|>infect/infect.py.diff
original:
def install(self):
updated:
def install(self): # pragma: nocover
<|file_sep|>infect/infect.py.diff
original:
def upload(self):
updated:
def upload(self): # pragma: nocover
<|file_sep|>infect/infect.py.diff
original:
def uninstall(self):
updated:
def ... | 6e80afd8f4317101a94f0d0114901da736f9912d | infect/infect.py | infect/infect.py | Python |
<|file_sep|>app/assets/stylesheets/trip-index.css.diff
original:
.col-md-3 {
text-align: center;
updated:
.col-md-4 {
/*text-align: center;*/
<|file_sep|>original/app/assets/stylesheets/trip-index.css
.col-md-3 {
text-align: center;
/*border: 2px solid blue;*/
height: 150px;
/*background-color: red;*/
}
.wishli... | .col-md-4 {
/*text-align: center;*/
/*border: 2px solid blue;*/
/*height: 250px;*/
/*background-color: red;*/
}
.wishlist-button {
display: none;
} | <|file_sep|>app/assets/stylesheets/trip-index.css.diff
original:
.col-md-3 {
text-align: center;
updated:
.col-md-4 {
/*text-align: center;*/
<|file_sep|>original/app/assets/stylesheets/trip-index.css
.col-md-3 {
text-align: center;
/*border: 2px solid blue;*/
height: 150px;
/*background-color: red;*/
}
.wishli... | 1da702bd4f6244521549f0129a9e640d5f6be0ba | app/assets/stylesheets/trip-index.css | app/assets/stylesheets/trip-index.css | CSS |
<|file_sep|>original/docs/tips/09-componentWillReceiveProps-not-triggered-after-mounting.md
---
id: componentWillReceiveProps-not-triggered-after-mounting
title: componentWillReceiveProps Not Triggered After Mounting
layout: tips
permalink: componentWillReceiveProps-not-triggered-after-mounting.html
prev: controlled-in... | ---
id: componentWillReceiveProps-not-triggered-after-mounting
title: componentWillReceiveProps Not Triggered After Mounting
layout: tips
permalink: componentWillReceiveProps-not-triggered-after-mounting.html
prev: controlled-input-null-value.html
next: props-in-getInitialState-as-anti-pattern.html
---
`componentWillR... | <|file_sep|>original/docs/tips/09-componentWillReceiveProps-not-triggered-after-mounting.md
---
id: componentWillReceiveProps-not-triggered-after-mounting
title: componentWillReceiveProps Not Triggered After Mounting
layout: tips
permalink: componentWillReceiveProps-not-triggered-after-mounting.html
prev: controlled-in... | 4a9ed4a204524afd6c6bad0d1ff50b2d6464f065 | docs/tips/09-componentWillReceiveProps-not-triggered-after-mounting.md | docs/tips/09-componentWillReceiveProps-not-triggered-after-mounting.md | Markdown |
<|file_sep|>original/_posts/2019-07-01-passion.md
<|file_sep|>current/_posts/2019-07-01-passion.md
<|file_sep|>updated/_posts/2019-07-01-passion.md | ---
layout: post
title: "Passion"
author: Mark Z. Danielewski, House of Leaves
source: https://www.goodreads.com/quotes/138477-passion-has-little-to-do-with-euphoria-and-everything-to
description: ""
category:
tags: []
---
{% include JB/setup %}
Passion has little to do with euphoria and everything to do with patience... | <|file_sep|>original/_posts/2019-07-01-passion.md
<|file_sep|>current/_posts/2019-07-01-passion.md
<|file_sep|>updated/_posts/2019-07-01-passion.md
---
layout: post
title: "Passion"
author: Mark Z. Danielewski, House of Leaves
source: https://www.goodreads.com/quotes/138477-passion-has-little-to-do-with-euphoria-and-... | 8c5be39a22d9378bae7532467a39ef2489f2054f | _posts/2019-07-01-passion.md | _posts/2019-07-01-passion.md | Markdown |
<|file_sep|>spec/service_methods/miq_ae_service_classification_spec.rb.diff
original:
include AutomationSpecHelper
updated:
<|file_sep|>spec/service_methods/miq_ae_service_classification_spec.rb.diff
original:
def setup_model(method_script)
create_ae_model_with_method(:method_script => method_script,
... | describe MiqAeMethodService::MiqAeServiceClassification do
before do
@cat1 = FactoryGirl.create(:classification_department_with_tags)
@cat2 = FactoryGirl.create(:classification_cost_center_with_tags)
@cat_array = Classification.categories.collect(&:name)
@tags_array = @cat2.entries.collect(&:name)
e... | <|file_sep|>spec/service_methods/miq_ae_service_classification_spec.rb.diff
original:
include AutomationSpecHelper
updated:
<|file_sep|>spec/service_methods/miq_ae_service_classification_spec.rb.diff
original:
def setup_model(method_script)
create_ae_model_with_method(:method_script => method_script,
... | 11df86075aca6468daf3611cfb7b6eb42701b74e | spec/service_methods/miq_ae_service_classification_spec.rb | spec/service_methods/miq_ae_service_classification_spec.rb | Ruby |
<|file_sep|>lib/GADS/Schema/ResultSet/Current.pm.diff
original:
updated:
use Log::Report 'linkspace';
<|file_sep|>original/lib/GADS/Schema/ResultSet/Current.pm
sub import_hash
{ my ($self, $record, %params) = @_;
my $schema = $self->result_source->schema;
my $current = $self->create({
instance_id ... |
my $schema = $self->result_source->schema;
my $current = $self->create({
instance_id => $params{instance}->id,
serial => $record->{serial},
deleted => $record->{deleted},
deletedby => $record->{deletedby},
});
foreach my $r (@{$record->{records}})
{
... | <|file_sep|>lib/GADS/Schema/ResultSet/Current.pm.diff
original:
updated:
use Log::Report 'linkspace';
<|file_sep|>original/lib/GADS/Schema/ResultSet/Current.pm
sub import_hash
{ my ($self, $record, %params) = @_;
my $schema = $self->result_source->schema;
my $current = $self->create({
instance_id ... | d7916c1d5e9d9eb6d5e043a203cdd857563897d3 | lib/GADS/Schema/ResultSet/Current.pm | lib/GADS/Schema/ResultSet/Current.pm | Perl |
<|file_sep|>original/lib/header/colors.py
<|file_sep|>current/lib/header/colors.py
<|file_sep|>updated/lib/header/colors.py | """ANSI escape sequence objects.
This is designed to place ANSI escape sequences in format strings.
Colors and attributes are selected by using object attributes in
format strings.
For example,
'{0.red}Hello, {0.green}World!{0.reset}'.format(colors())
This prints "Hello, " in red, and "World" in green, and rese... | <|file_sep|>original/lib/header/colors.py
<|file_sep|>current/lib/header/colors.py
<|file_sep|>updated/lib/header/colors.py
"""ANSI escape sequence objects.
This is designed to place ANSI escape sequences in format strings.
Colors and attributes are selected by using object attributes in
format strings.
For example... | 3aa10577f292a2962f66926fb021ed4a1b6fc493 | lib/header/colors.py | lib/header/colors.py | Python |
<|file_sep|>original/resources/assets/app.scss
// @TODO: Why is this happening here?
.container > .wrapper {
width: 100%;
}
// Add a new `.-centered` variation to the Container Block.
.container .container__block {
&.-centered {
@include media($tablet) {
@include span(9 of 12);
@include push(2);
... | // @TODO: Why is this happening here?
.container > .wrapper {
width: 100%;
}
// Add a new `.-centered` variation to the Container Block.
.container .container__block {
&.-centered {
@include media($tablet) {
float: none;
max-width: 600px;
margin: $base-spacing auto;
text-align: center;
... | <|file_sep|>original/resources/assets/app.scss
// @TODO: Why is this happening here?
.container > .wrapper {
width: 100%;
}
// Add a new `.-centered` variation to the Container Block.
.container .container__block {
&.-centered {
@include media($tablet) {
@include span(9 of 12);
@include push(2);
... | ce0709c3038a6f05f6ccaaf08fd1fb85fb80b5ad | resources/assets/app.scss | resources/assets/app.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
updated:
- "3.2"
<|file_sep|>original/.travis.yml
- "3.3"
env:
- DJANGO_VERSION=1.6.2
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.4.10
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4.10
install:
- pip install -q django==$DJANGO_VERSION coverage==... | - "3.2"
- "3.3"
env:
- DJANGO_VERSION=1.6.2
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.4.10
matrix:
exclude:
- python: "3.2"
env: DJANGO_VERSION=1.4.10
- python: "3.3"
env: DJANGO_VERSION=1.4.10
install:
- pip install -q django==$DJANGO_VERSION coverage==3.6 --use-mirrors
- pip ins... | <|file_sep|>.travis.yml.diff
original:
updated:
- "3.2"
<|file_sep|>original/.travis.yml
- "3.3"
env:
- DJANGO_VERSION=1.6.2
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.4.10
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4.10
install:
- pip install -q django==$DJANGO_VERSION coverage==... | 48c17622796d4a6c1b235150a9a29a38b23f4bc9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
bundler_args: --without development
script: "bundle exec rake spec"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
- rbx-18mode
- rbx-19mode # currently in active development, may or may not work for your project
- ruby... | bundler_args: --without development
script: "bundle exec rake spec"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode # JRuby in 1.8 mode
# - jruby-19mode # JRuby in 1.9 mode
- rbx-18mode
- rbx-19mode # currently in active development, may or may not work for your project
- ruby-head
- ree
gemfile:
- gemf... | <|file_sep|>original/.travis.yml
bundler_args: --without development
script: "bundle exec rake spec"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
- rbx-18mode
- rbx-19mode # currently in active development, may or may not work for your project
- ruby... | 7ba834ec51e045271255de3f9e17b23d2719a1dc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/PhpPact/Standalone/Installer/Service/InstallerPosixPreinstalled.php
/**
* {@inheritdoc}
*/
public function install(string $destinationDir): Scripts
{
$scripts = new Scripts(
'pact-mock-service',
'pact-stub-service',
'pact-provide... | /**
* {@inheritdoc}
*/
public function install(string $destinationDir): Scripts
{
$scripts = new Scripts(
'pact-mock-service',
'pact-stub-service',
'pact-provider-verifier',
'pact-message',
'pact-broker'
);
return... | <|file_sep|>original/src/PhpPact/Standalone/Installer/Service/InstallerPosixPreinstalled.php
/**
* {@inheritdoc}
*/
public function install(string $destinationDir): Scripts
{
$scripts = new Scripts(
'pact-mock-service',
'pact-stub-service',
'pact-provide... | 852ab5e476ac6e1b9a7eda578ffe77a358a84e09 | src/PhpPact/Standalone/Installer/Service/InstallerPosixPreinstalled.php | src/PhpPact/Standalone/Installer/Service/InstallerPosixPreinstalled.php | PHP |
<|file_sep|>original/.travis.yml
########################################################################
# Copyright (c) 2016 Rogue Wave Software Inc. and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompani... | ########################################################################
# Copyright (c) 2016 Rogue Wave Software Inc. and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is avai... | <|file_sep|>original/.travis.yml
########################################################################
# Copyright (c) 2016 Rogue Wave Software Inc. and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompani... | 1bfdc1234879421ee5bd3f124ce89cbe0a65d218 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.azure-pipelines/40-run-phpcs.yml
- task: CacheBeta@0
inputs:
key: phpcs | $(Agent.OS) | $(Build.SourceVersion)
path: ${{ parameters.cacheDirectory }}
restoreKeys: |
phpcs | $(Agent.OS)
phpcs
displayName: 'Cache PHP_CodeSniffer State'
- script: mkdir -... | - task: CacheBeta@0
inputs:
key: phpcs | $(Agent.OS) | $(Build.SourceVersion)
path: ${{ parameters.cacheDirectory }}
restoreKeys: |
phpcs | $(Agent.OS)
phpcs
displayName: 'Cache PHP_CodeSniffer State'
- script: mkdir -p ${{ parameters.cacheDirectory }}
displayName: 'Cr... | <|file_sep|>original/.azure-pipelines/40-run-phpcs.yml
- task: CacheBeta@0
inputs:
key: phpcs | $(Agent.OS) | $(Build.SourceVersion)
path: ${{ parameters.cacheDirectory }}
restoreKeys: |
phpcs | $(Agent.OS)
phpcs
displayName: 'Cache PHP_CodeSniffer State'
- script: mkdir -... | 4f0c355ba64b7af83fb85e362c7ee635473b4c8a | .azure-pipelines/40-run-phpcs.yml | .azure-pipelines/40-run-phpcs.yml | YAML |
<|file_sep|>original/package.json
"test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git@github.com:rexxars/commonmark-react-renderer.git"
},
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
"license": "MIT",
"devDependencies": {
"chai": "^2.3.0",
"eslint": "... | "test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git@github.com:rexxars/commonmark-react-renderer.git"
},
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
"license": "MIT",
"devDependencies": {
"chai": "^2.3.0",
"eslint": "^0.21.1",
"eslint-config-vaffe... | <|file_sep|>original/package.json
"test": "mocha --reporter spec"
},
"repository": {
"type": "git",
"url": "git@github.com:rexxars/commonmark-react-renderer.git"
},
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
"license": "MIT",
"devDependencies": {
"chai": "^2.3.0",
"eslint": "... | fd7e5d189554fa603b04fa7f1554a680ebb2b67f | package.json | package.json | JSON |
<|file_sep|>original/tests/asicworld/run-test.sh
#!/bin/bash
OPTIND=1
seed="" # default to no seed specified
while getopts "S:" opt
do
case "$opt" in
S) arg="${OPTARG#"${OPTARG%%[![:space:]]*}"}" # remove leading space
seed="SEED=$arg" ;;
esac
done
shift "$((OPTIND-1))"
exec ${MAKE:-make} -f ../tools/... | #!/bin/bash
OPTIND=1
seed="" # default to no seed specified
while getopts "S:" opt
do
case "$opt" in
S) arg="${OPTARG#"${OPTARG%%[![:space:]]*}"}" # remove leading space
seed="SEED=$arg" ;;
esac
done
shift "$((OPTIND-1))"
exec ${MAKE:-make} -f ../tools/autotest.mk $seed EXTRA_FLAGS+="-e" *.v | <|file_sep|>original/tests/asicworld/run-test.sh
#!/bin/bash
OPTIND=1
seed="" # default to no seed specified
while getopts "S:" opt
do
case "$opt" in
S) arg="${OPTARG#"${OPTARG%%[![:space:]]*}"}" # remove leading space
seed="SEED=$arg" ;;
esac
done
shift "$((OPTIND-1))"
exec ${MAKE:-make} -f ../tools/... | 34153adef408bc226430f05d14cd4af9384359f9 | tests/asicworld/run-test.sh | tests/asicworld/run-test.sh | Shell |
<|file_sep|>original/src/CMakeLists.txt
file(GLOB_RECURSE LIBIPSET_SRC libipset/*.c)
add_library(libipset SHARED ${LIBIPSET_SRC})
set_target_properties(libipset PROPERTIES
COMPILE_DEFINITIONS G_LOG_DOMAIN="ipset"
OUTPUT_NAME ipset
SOVERSION 1.1.0)
target_link_libraries(libipset
${GLIB_LIBRARIES})
inst... | OUTPUT_NAME ipset
SOVERSION 1.1.0)
target_link_libraries(libipset
${GLIB_LIBRARIES})
install(TARGETS libipset
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib)
#-----------------------------------------------------------------------
# Utility commands
file(GLOB_RECURSE IPSETBUILD_SRC ipsetbuild/*.... | <|file_sep|>original/src/CMakeLists.txt
file(GLOB_RECURSE LIBIPSET_SRC libipset/*.c)
add_library(libipset SHARED ${LIBIPSET_SRC})
set_target_properties(libipset PROPERTIES
COMPILE_DEFINITIONS G_LOG_DOMAIN="ipset"
OUTPUT_NAME ipset
SOVERSION 1.1.0)
target_link_libraries(libipset
${GLIB_LIBRARIES})
inst... | 3bb5858f02bbd7408d5fe79de2776f5a45efd42f | src/CMakeLists.txt | src/CMakeLists.txt | Text |
<|file_sep|>spec/github/git_data/references/delete_spec.rb.diff
original:
updated:
it { expect { subject.delete }.to raise_error(Github::Error::Validations) }
<|file_sep|>original/spec/github/git_data/references/delete_spec.rb
context "resouce delete" do
let(:body) { '' }
let(:status) { 204 }
it {... |
context "resouce delete" do
let(:body) { '' }
let(:status) { 204 }
it { should respond_to :remove }
it { expect { subject.delete }.to raise_error(Github::Error::Validations) }
it "should fail to delete resource if 'ref' input is missing" do
expect { subject.delete user, repo }.to raise_e... | <|file_sep|>spec/github/git_data/references/delete_spec.rb.diff
original:
updated:
it { expect { subject.delete }.to raise_error(Github::Error::Validations) }
<|file_sep|>original/spec/github/git_data/references/delete_spec.rb
context "resouce delete" do
let(:body) { '' }
let(:status) { 204 }
it {... | 49f3b12c96a75461b9a6e9831650e18e8d769b89 | spec/github/git_data/references/delete_spec.rb | spec/github/git_data/references/delete_spec.rb | Ruby |
<|file_sep|>original/docs/peer-to-peer.md
tchannel will wait for init response to finish; However when making
a peer to peer request this is your responsibility
You can pass in `options.host` to wait for a connection to that
host to open; your `cb` will be called when it's opened.
We may give your `cb` an `err` if th... | tchannel will wait for init response to finish; However when making
a peer to peer request this is your responsibility
You can pass in `options.host` to wait for a connection to that
host to open; your `cb` will be called when it's opened.
We may give your `cb` an `err` if the connection failed
## `subChannel.reques... | <|file_sep|>original/docs/peer-to-peer.md
tchannel will wait for init response to finish; However when making
a peer to peer request this is your responsibility
You can pass in `options.host` to wait for a connection to that
host to open; your `cb` will be called when it's opened.
We may give your `cb` an `err` if th... | aff4882cde7f3a799cb0ebb38c62d89530075043 | docs/peer-to-peer.md | docs/peer-to-peer.md | Markdown |
<|file_sep|>original/app/authenticated/cluster/notifier/index/controller.js
import Controller from '@ember/controller';
export default Controller.extend({
modalService: service('modal'),
globalStore: service(),
queryParams: ['type'],
currentType: 'slack',
notifiers: alias('model.notifiers'),
actions: ... | import Controller from '@ember/controller';
export default Controller.extend({
modalService: service('modal'),
globalStore: service(),
queryParams: ['type'],
currentType: 'slack',
notifiers: alias('model.notifiers'),
actions: {
showNewEditModal() {
get(this, 'modalService').toggleModal('noti... | <|file_sep|>original/app/authenticated/cluster/notifier/index/controller.js
import Controller from '@ember/controller';
export default Controller.extend({
modalService: service('modal'),
globalStore: service(),
queryParams: ['type'],
currentType: 'slack',
notifiers: alias('model.notifiers'),
actions: ... | 9d4635d9a4306279a8abceea26b7a402ac133b05 | app/authenticated/cluster/notifier/index/controller.js | app/authenticated/cluster/notifier/index/controller.js | JavaScript |
<|file_sep|>bin/rhel_unpack_salt.sh.diff
original:
updated:
rm salt-*.src.rpm
<|file_sep|>original/bin/rhel_unpack_salt.sh
#!/bin/bash
set -e
export SALT_SOURCES="/salt"
if [ -d $SALT_SOURCES ]; then
rm -rf $SALT_SOURCES
fi
mkdir -p /usr/src/packages/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir /usr/src/pack... | #!/bin/bash
set -e
export SALT_SOURCES="/salt"
if [ -d $SALT_SOURCES ]; then
rm -rf $SALT_SOURCES
fi
mkdir -p /usr/src/packages/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir /usr/src/packages' > ~/.rpmmacros
echo '%_tmppath %{_topdir}/tmp' >> ~/.rpmmacros
rm salt-*.src.rpm
yumdownloader --source salt
rpm -ivh ... | <|file_sep|>bin/rhel_unpack_salt.sh.diff
original:
updated:
rm salt-*.src.rpm
<|file_sep|>original/bin/rhel_unpack_salt.sh
#!/bin/bash
set -e
export SALT_SOURCES="/salt"
if [ -d $SALT_SOURCES ]; then
rm -rf $SALT_SOURCES
fi
mkdir -p /usr/src/packages/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir /usr/src/pack... | c313feac4066f99a3efc62f4e84f1c7116626ddc | bin/rhel_unpack_salt.sh | bin/rhel_unpack_salt.sh | Shell |
<|file_sep|>package.json.diff
original:
"author": "Rev. Wicks Cherrycoke",
updated:
"author": "JonDare, based on Rev. Wicks Cherrycoke work",
<|file_sep|>package.json.diff
original:
{"value": "80.82.78.170",
"label": "80.82.78.170"},
updated:
<|file_sep|>original/package.json
"jetpack"
],
"pre... | "title": "Sci-Hub Domain",
"type": "menulist",
"value": "sci-hub.ac",
"options": [
{"value": "sci-hub.bz",
"label": "sci-hub.bz"},
{"value": "sci-hub.cc",
"label": "sci-hub.cc"},
{"value": "sci-hub.io",
"label": "sci-hub.io"},
{"value": "sci-hub.ac",
"... | <|file_sep|>package.json.diff
original:
"author": "Rev. Wicks Cherrycoke",
updated:
"author": "JonDare, based on Rev. Wicks Cherrycoke work",
<|file_sep|>package.json.diff
original:
{"value": "80.82.78.170",
"label": "80.82.78.170"},
updated:
<|file_sep|>original/package.json
"jetpack"
],
"pre... | 9b78242a3655c4b90dde0a27864982e73217e55b | package.json | package.json | JSON |
<|file_sep|>original/README.md
REvalidate
==========
A simple library to validate that uses a recursive call to validate more than one rule at once.
<|file_sep|>current/README.md
REvalidate
==========
A simple library to validate that uses a recursive call to validate more than one rule at once.
<|file_sep|>updated/R... | REvalidate
==========
[](https://travis-ci.org/tcorral/REvalidate)
A simple library to validate that uses a recursive call to validate more than one rule at once. | <|file_sep|>original/README.md
REvalidate
==========
A simple library to validate that uses a recursive call to validate more than one rule at once.
<|file_sep|>current/README.md
REvalidate
==========
A simple library to validate that uses a recursive call to validate more than one rule at once.
<|file_sep|>updated/R... | 05c2ee1cce7424aaef4ab52f9f903c4334b647b8 | README.md | README.md | Markdown |
<|file_sep|>original/.rubocop.yml
AllCops:
Exclude:
- 'vendor/**/*'
- 'scripts/vendor/**/*'
- 'platform-tests/src/platform/vendor/**/*'
- 'tools/metrics/vendor/**/*'
TargetRubyVersion: 2.2
Metrics/BlockLength:
# FIXME: Remove when upstream PR is released:
# https://github.com/alphagov/govuk-lint... | AllCops:
Exclude:
- 'vendor/**/*'
- 'scripts/vendor/**/*'
- 'platform-tests/src/platform/vendor/**/*'
- 'tools/metrics/vendor/**/*'
TargetRubyVersion: 2.5
Metrics/BlockLength:
# FIXME: Remove when upstream PR is released:
# https://github.com/alphagov/govuk-lint/pull/87
Enabled: true
Exclude... | <|file_sep|>original/.rubocop.yml
AllCops:
Exclude:
- 'vendor/**/*'
- 'scripts/vendor/**/*'
- 'platform-tests/src/platform/vendor/**/*'
- 'tools/metrics/vendor/**/*'
TargetRubyVersion: 2.2
Metrics/BlockLength:
# FIXME: Remove when upstream PR is released:
# https://github.com/alphagov/govuk-lint... | bb74557453c6fad898ccf35a9690e318012084ca | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/metadata/com.dp.logcatapp.txt
License:MIT
Web Site:
Source Code:https://github.com/darshanparajuli/LogcatReader
Issue Tracker:https://github.com/darshanparajuli/LogcatReader/issues
Auto Name:Logcat Reader
Summary:A simple app to view logs
Description:
Logcat Reader makes it easy to view and save t... | Source Code:https://github.com/darshanparajuli/LogcatReader
Issue Tracker:https://github.com/darshanparajuli/LogcatReader/issues
Auto Name:Logcat Reader
Summary:A simple app to view logs
Description:
Logcat Reader makes it easy to view and save the device logs.
.
Repo Type:git
Repo:https://github.com/darshanparajuli/... | <|file_sep|>original/metadata/com.dp.logcatapp.txt
License:MIT
Web Site:
Source Code:https://github.com/darshanparajuli/LogcatReader
Issue Tracker:https://github.com/darshanparajuli/LogcatReader/issues
Auto Name:Logcat Reader
Summary:A simple app to view logs
Description:
Logcat Reader makes it easy to view and save t... | 691d80550914203f0805dbc8aac23f35c1fbffd1 | metadata/com.dp.logcatapp.txt | metadata/com.dp.logcatapp.txt | Text |
<|file_sep|>Sources/Euler/Functions.swift.diff
original:
updated:
// The functional composition operator.
<|file_sep|>original/Sources/Euler/Functions.swift
// MARK: Composition
infix operator ∘ : MultiplicationPrecedence
public func ∘ <T>(lhs: @escaping (T) -> (T), rhs: @escaping (T) -> (T)) -> (T) -> (T) {
retu... | // MARK: Composition
// The functional composition operator.
infix operator ∘ : MultiplicationPrecedence
/// Returns the composition of two functions.
///
/// - Parameters:
/// - lhs: A function.
/// - rhs: Another function.
public func ∘ <T>(lhs: @escaping (T) -> (T), rhs: @escaping (T) -> (T)) -> (T) -> (T) {
... | <|file_sep|>Sources/Euler/Functions.swift.diff
original:
updated:
// The functional composition operator.
<|file_sep|>original/Sources/Euler/Functions.swift
// MARK: Composition
infix operator ∘ : MultiplicationPrecedence
public func ∘ <T>(lhs: @escaping (T) -> (T), rhs: @escaping (T) -> (T)) -> (T) -> (T) {
retu... | da37f6cc23d9d0ba6367c01863df12d573df7fc7 | Sources/Euler/Functions.swift | Sources/Euler/Functions.swift | Swift |
<|file_sep|>ISSUE_TEMPLATE.md.diff
original:
* For general questions or discussion post in [Gitter](https://gitter.im/piotrmurach/tty)
updated:
* For general questions or discussion post on StackOverflow
<|file_sep|>original/ISSUE_TEMPLATE.md
* For general questions or discussion post in [Gitter](https://gitter.im/piot... | * For general questions or discussion post on StackOverflow
### Describe the problem
A brief description of the issue/feature.
### Steps to reproduce the problem
```
Your code here to reproduce the issue
```
### Actual behaviour
What happened? This could be a description, log output, error raised etc...
### Expecte... | <|file_sep|>ISSUE_TEMPLATE.md.diff
original:
* For general questions or discussion post in [Gitter](https://gitter.im/piotrmurach/tty)
updated:
* For general questions or discussion post on StackOverflow
<|file_sep|>original/ISSUE_TEMPLATE.md
* For general questions or discussion post in [Gitter](https://gitter.im/piot... | 7ef8d2479e166113ea232237a3512af9bedcffb1 | ISSUE_TEMPLATE.md | ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs
public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Charms, Transfiguration, Potions, Quidditch
}
[UsedImplicitly, SerializeField]
private Less... | public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Charms, Transfiguration, Potions, Quidditch
}
[UsedImplicitly, SerializeField]
private LessonTypes _lessonType;
public LessonTypes LessonType {
get... | <|file_sep|>original/Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs
public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Charms, Transfiguration, Potions, Quidditch
}
[UsedImplicitly, SerializeField]
private Less... | c7dff8a2a0be7e69f18235acad6157ca2c3d9a21 | Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs | Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs | C# |
<|file_sep|>original/.travis.yml
language: php
php:
- "5.6"
- "nightly"
- "hhvm"
sudo: false
before_script:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
- cat ~/.composer/config.json
- printf '{"config":{"github-oauth":{"github.com":"%s"}}}' "$COMPOSER_GITHUB_API"
- printf '{"c... | language: php
php:
- "5.6"
- "nightly"
- "hhvm"
sudo: false
before_script:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
- cat ~/.composer/config.json
- echo '{"config":{"github-oauth":{"github.com":"%s"}}}' "$COMPOSER_GITHUB_API"
- printf '{"config":{"github-oauth":{"github.com... | <|file_sep|>original/.travis.yml
language: php
php:
- "5.6"
- "nightly"
- "hhvm"
sudo: false
before_script:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
- cat ~/.composer/config.json
- printf '{"config":{"github-oauth":{"github.com":"%s"}}}' "$COMPOSER_GITHUB_API"
- printf '{"c... | f6702385308397529a4c80eb960cf68f9389b2cf | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/rosie/requirements.txt
brutils==1.0.1
geopy>=1.11.0
numpy==1.14.2
# scipy must come before scikit-learn in order to build the wheel in docker image
scipy==1.0.1
scikit-learn==0.19.1
serenata-toolbox==15.0.0
<|file_sep|>current/rosie/requirements.txt
brutils==1.0.1
geopy>=1.11.0
numpy==1.14.2
# scip... | brutils==1.0.1
geopy>=1.11.0
numpy==1.14.2
# scipy must come before scikit-learn in order to build the wheel in docker image
scipy==1.0.1
scikit-learn==0.19.1
serenata-toolbox<13 | <|file_sep|>original/rosie/requirements.txt
brutils==1.0.1
geopy>=1.11.0
numpy==1.14.2
# scipy must come before scikit-learn in order to build the wheel in docker image
scipy==1.0.1
scikit-learn==0.19.1
serenata-toolbox==15.0.0
<|file_sep|>current/rosie/requirements.txt
brutils==1.0.1
geopy>=1.11.0
numpy==1.14.2
# scip... | 56aba207cdb4aeb32e60330b6b04264e1d1a6fd9 | rosie/requirements.txt | rosie/requirements.txt | Text |
<|file_sep|>original/src/main/java/data/ResponseBuilder.java
package data;
import util.UserAuthUtil;
public class ResponseBuilder {
public static String toJson(boolean isLoggedIn, String redirectURL) {
// sample output (logged in): { "isLoggedIn" : {"logoutURL"}, "isLoggedOut" : {}}
// sample output (logged... | package data;
import util.UserAuthUtil;
public class ResponseBuilder {
public static String toJson(boolean isLoggedIn, String redirectURL) {
// logged in: { "isLoggedIn":{"/_ah/logout?continue=%2FLogin"}, "isLoggedOut":{""}}
// logged out: { "isLoggedIn":{""}, "isLoggedOut":{"/_ah/login?continue=%2FLogin"}}... | <|file_sep|>original/src/main/java/data/ResponseBuilder.java
package data;
import util.UserAuthUtil;
public class ResponseBuilder {
public static String toJson(boolean isLoggedIn, String redirectURL) {
// sample output (logged in): { "isLoggedIn" : {"logoutURL"}, "isLoggedOut" : {}}
// sample output (logged... | 17665a5c21bec5c8ffc123e12690838358bbd646 | src/main/java/data/ResponseBuilder.java | src/main/java/data/ResponseBuilder.java | Java |
<|file_sep|>original/snorp.net/layout/skeleton/_base.html
<!DOCTYPE html>
<html>
<head>
<title>snorp.net -- {{page.title}}</title>
{% block feeds %}
<link href="/blog/atom.xml" rel="alternate" title="{{site.name}}" type="application/atom+xml"/>
{% endblock %}
{% block css %}
<link href='http://f... | <!DOCTYPE html>
<html>
<head>
<title>snorp.net -- {{page.title}}</title>
{% block feeds %}
<link href="/blog/atom.xml" rel="alternate" title="{{site.name}}" type="application/atom+xml"/>
{% endblock %}
{% block css %}
<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet... | <|file_sep|>original/snorp.net/layout/skeleton/_base.html
<!DOCTYPE html>
<html>
<head>
<title>snorp.net -- {{page.title}}</title>
{% block feeds %}
<link href="/blog/atom.xml" rel="alternate" title="{{site.name}}" type="application/atom+xml"/>
{% endblock %}
{% block css %}
<link href='http://f... | 3beb80a621cf7f0b0d40d5bf1b3a457fbfd65460 | snorp.net/layout/skeleton/_base.html | snorp.net/layout/skeleton/_base.html | HTML |
<|file_sep|>original/requirements.txt
fonttools[lxml,ufo,unicode]==4.21.1
cu2qu==1.6.7
glyphsLib==5.3.0
ufo2ft[pathops]==2.19.1
MutatorMath==2.1.2
fontMath==0.6.0
defcon[lxml]==0.7.2
booleanOperations==0.9.0
ufoLib2==0.8.0
attrs==20.2.0
cffsubr==0.2.7
<|file_sep|>current/requirements.txt
fonttools[lxml,ufo,unicode]==4.... | fonttools[lxml,ufo,unicode]==4.21.1
cu2qu==1.6.7
glyphsLib==5.3.2
ufo2ft[pathops]==2.19.1
MutatorMath==2.1.2
fontMath==0.6.0
defcon[lxml]==0.7.2
booleanOperations==0.9.0
ufoLib2==0.8.0
attrs==20.2.0
cffsubr==0.2.7 | <|file_sep|>original/requirements.txt
fonttools[lxml,ufo,unicode]==4.21.1
cu2qu==1.6.7
glyphsLib==5.3.0
ufo2ft[pathops]==2.19.1
MutatorMath==2.1.2
fontMath==0.6.0
defcon[lxml]==0.7.2
booleanOperations==0.9.0
ufoLib2==0.8.0
attrs==20.2.0
cffsubr==0.2.7
<|file_sep|>current/requirements.txt
fonttools[lxml,ufo,unicode]==4.... | bbcc77a9599b8a3f320a08b1c5a9149b1afdbb32 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/views/search/events.rhtml
<%= search_page_title( @titles[:events], @category ) %>
<%= render :partial => 'events/agenda' %>
<|file_sep|>current/app/views/search/events.rhtml
<%= search_page_title( @titles[:events], @category ) %>
<%= render :partial => 'events/agenda' %>
<|file_sep|>updated/a... | <%= search_page_title( Environment.default.name + "'s " + @titles[:events], @category ) %>
<%= render :partial => 'events/agenda' %> | <|file_sep|>original/app/views/search/events.rhtml
<%= search_page_title( @titles[:events], @category ) %>
<%= render :partial => 'events/agenda' %>
<|file_sep|>current/app/views/search/events.rhtml
<%= search_page_title( @titles[:events], @category ) %>
<%= render :partial => 'events/agenda' %>
<|file_sep|>updated/a... | a8c13b20b6e2a70f62a8b74033fd1b79994de7a3 | app/views/search/events.rhtml | app/views/search/events.rhtml | RHTML |
<|file_sep|>composer.json.diff
original:
"minimum-stability": "stable",
updated:
"minimum-stability": "dev",
<|file_sep|>original/composer.json
"CKEditor",
"wysiwyg",
"widget"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "MrAnger",
"email": "slava.sharapov1992@gmail.com"
... | "keywords": [
"CKEditor",
"wysiwyg",
"widget"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "MrAnger",
"email": "slava.sharapov1992@gmail.com"
}
],
"support": {
"issues": "https://github.com/MrAnger/yii2-ckeditor/issues",
"source": "https://github.com/MrAnger/y... | <|file_sep|>composer.json.diff
original:
"minimum-stability": "stable",
updated:
"minimum-stability": "dev",
<|file_sep|>original/composer.json
"CKEditor",
"wysiwyg",
"widget"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "MrAnger",
"email": "slava.sharapov1992@gmail.com"
... | 1a8fe0fca0ccdca557c657e7903bf1081489c505 | composer.json | composer.json | JSON |
<|file_sep|>settings.gradle.kts.diff
original:
rootProject.name = "sdf"
updated:
rootProject.name = "sdf.root"
<|file_sep|>original/settings.gradle.kts
rootProject.name = "sdf"
pluginManagement {
repositories {
maven("https://artifacts.metaborg.org/content/groups/public/")
}
}
enableFeaturePreview("GRADLE_MET... | rootProject.name = "sdf.root"
pluginManagement {
repositories {
maven("https://artifacts.metaborg.org/content/groups/public/")
}
}
if(org.gradle.util.VersionNumber.parse(gradle.gradleVersion).major < 6) {
enableFeaturePreview("GRADLE_METADATA")
}
fun includeProject(id: String, path: String = "org.metaborg.... | <|file_sep|>settings.gradle.kts.diff
original:
rootProject.name = "sdf"
updated:
rootProject.name = "sdf.root"
<|file_sep|>original/settings.gradle.kts
rootProject.name = "sdf"
pluginManagement {
repositories {
maven("https://artifacts.metaborg.org/content/groups/public/")
}
}
enableFeaturePreview("GRADLE_MET... | 66ca7fd84e59386fa0dd059a4814d0cf5febaf09 | settings.gradle.kts | settings.gradle.kts | Kotlin |
<|file_sep|>lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb.diff
original:
updated:
extends org.realityforge.replicant.client.transport.DataLoaderService
<|file_sep|>original/lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb
/* DO NOT EDIT: File is auto-g... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_gwt_data_loader_service_interface_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public interface <%= repository.imit.gwt_data_loader_service_interface_name %>
extends org.realityforge.replicant.cl... | <|file_sep|>lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb.diff
original:
updated:
extends org.realityforge.replicant.client.transport.DataLoaderService
<|file_sep|>original/lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb
/* DO NOT EDIT: File is auto-g... | dc055a6fd4e474ecd05d3055604a1b7df33520c2 | lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb | lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.0"
- "2.2.0"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.0"
- "2.2.0"
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- "2.1.0"
- "2.2.0"
- "2.3.0" | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.0"
- "2.2.0"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.0"
- "2.2.0"
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- "2.1.0"
- "2.2.0"
- "2.3.0" | bb58ecd425310b1d9b3de5cdc75e0778618f6223 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
os: linux
dist: trusty
sudo: required
cache:
directories:
- $HOME/.m2
before_script:
- "sudo apt install -y maven gtk+3.0 stalonetray"
- "export DISPLAY=:99.0"
- "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- "sleep 3"
- "stalonetray &"
- "sleep 3"
- "rm ~/.m... |
os: linux
dist: trusty
sudo: required
cache:
directories:
- $HOME/.m2
before_script:
- "sudo apt install -qq -y maven gtk+3.0 stalonetray"
- "touch ~/.stalonetrayrc"
- "export DISPLAY=:99.0"
- "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- "sleep 3"
- "stalonetray &"
- "sleep 3"
- "rm ~/.m... | <|file_sep|>original/.travis.yml
os: linux
dist: trusty
sudo: required
cache:
directories:
- $HOME/.m2
before_script:
- "sudo apt install -y maven gtk+3.0 stalonetray"
- "export DISPLAY=:99.0"
- "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- "sleep 3"
- "stalonetray &"
- "sleep 3"
- "rm ~/.m... | ec35b2da7eeac504acbfb862205de4e6cba44f54 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/cloudbuild.yaml
- '-c'
- |
cd functions && npm install
# Install node packages for web
- name: 'gcr.io/cloud-builders/npm'
waitFor: ['-']
entrypoint: 'bash'
args:
- '-c'
- |
cd web && npm install
# Install node packages for web-ng
- name: 'gcr... | - '-c'
- |
cd web && npm install
# Install node packages for web-ng
- name: 'gcr.io/cloud-builders/npm'
waitFor: ['-']
entrypoint: 'bash'
args:
- '-c'
- |
cd web-ng && npm install
# Run eslint for web-ng
- name: 'gcr.io/cloud-builders/npm'
waitFor: ['-']
e... | <|file_sep|>original/cloudbuild.yaml
- '-c'
- |
cd functions && npm install
# Install node packages for web
- name: 'gcr.io/cloud-builders/npm'
waitFor: ['-']
entrypoint: 'bash'
args:
- '-c'
- |
cd web && npm install
# Install node packages for web-ng
- name: 'gcr... | d01f56136317e65ba152a05dcce2ef8e8af10c37 | cloudbuild.yaml | cloudbuild.yaml | YAML |
<|file_sep|>original/lib/captains.js
* @api private
*/
module.exports = function LowLevelLogger ( ) {
var _stdout = console.log.bind(console);
var _stderr = console.error.bind(console);
// Emulate winston's output stream conventions
// (so that existing tests will pass)
return {
crit: _stderr,
error: _stde... | * @api private
*/
module.exports = function LowLevelLogger ( ) {
var _stdout = console.log.bind(console);
var _stderr = console.error.bind(console);
// Emulate winston's output stream conventions
// (so that existing tests will pass)
return {
crit: _stderr,
error: _stderr,
warn: _stdout,
info: _stdout,... | <|file_sep|>original/lib/captains.js
* @api private
*/
module.exports = function LowLevelLogger ( ) {
var _stdout = console.log.bind(console);
var _stderr = console.error.bind(console);
// Emulate winston's output stream conventions
// (so that existing tests will pass)
return {
crit: _stderr,
error: _stde... | 2686098a723a042626aea50b3cce274d7413e438 | lib/captains.js | lib/captains.js | JavaScript |
<|file_sep|>_layouts/contact.html.diff
original:
updated:
<h3>GitHub</h3>
<iframe src="https://ghbtns.com/github-btn.html?user=ederchristian&type=follow&size=large" frameborder="0" scrolling="0" height="30px"></iframe>
<|file_sep|>_layouts/contact.html.diff
original:
<h3>GitHub</h3>
<iframe src="https://gh... | <h1 class="post-title">{{ page.title | escape }}</h1>
</div>
<div class="email">
<h3>Email</h3>
<p>ederchristian92 at gmail dot com</p>
<hr>
</div>
<div class="social-media">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<h3>GitHub</h3>
<iframe src="https://ghbtns.com/github-btn.html?user=ederchristian&t... | <|file_sep|>_layouts/contact.html.diff
original:
updated:
<h3>GitHub</h3>
<iframe src="https://ghbtns.com/github-btn.html?user=ederchristian&type=follow&size=large" frameborder="0" scrolling="0" height="30px"></iframe>
<|file_sep|>_layouts/contact.html.diff
original:
<h3>GitHub</h3>
<iframe src="https://gh... | 309202f68ebc6e1a792ead66469ce0c9f83dce45 | _layouts/contact.html | _layouts/contact.html | HTML |
<|file_sep|>original/README.md
# wiretap.js
Put a wiretap on javascript element events
Use before adding events using jQuery or pure javascript.
Usage:
```javascript
new Tap({
add: function() {
//fire when an event is bound to element
},
before: function() {
//fire just before an event executes, arguments are ... | # wiretap.js
Put a wiretap on javascript element events
Use before adding events using jQuery or pure javascript.
Usage:
```javascript
new Tap({
add: function() {
//fire when an event is bound to element
},
before: function() {
//fire just before an event executes, arguments are automatic
},
after: function(... | <|file_sep|>original/README.md
# wiretap.js
Put a wiretap on javascript element events
Use before adding events using jQuery or pure javascript.
Usage:
```javascript
new Tap({
add: function() {
//fire when an event is bound to element
},
before: function() {
//fire just before an event executes, arguments are ... | aa5ef726982b27994befea8b1a484f2cfb2e4316 | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.