prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/DEVELOPERS.md
# Developer Guide
## Tests
See `test/test.py`.
## Making Releases
Install the Python packages:
```
pip3 install wheel twine pystache pypandoc gitchangelog
```
Release with:
```
./release.sh
```
<|file_sep|>current/DEVELOPERS.md
# Developer Guide
## Tests
See `test/test.py`.
... | # Developer Guide
## Tests
Tests are located in `test/test.py`. To run them:
- Install `requirements.txt` and `requirements.dev.txt`
- Run `pytest test/test.py`
## Making Releases
Install the Python packages:
```
pip3 install wheel twine pystache pypandoc gitchangelog
```
Release with:
```
./release.sh | <|file_sep|>original/DEVELOPERS.md
# Developer Guide
## Tests
See `test/test.py`.
## Making Releases
Install the Python packages:
```
pip3 install wheel twine pystache pypandoc gitchangelog
```
Release with:
```
./release.sh
```
<|file_sep|>current/DEVELOPERS.md
# Developer Guide
## Tests
See `test/test.py`.
... | b6024f5e18688a99be30ef0eddd6a64b75331ee4 | DEVELOPERS.md | DEVELOPERS.md | Markdown |
<|file_sep|>original/Ressources/Private/Layouts/Page.html
{namespace t3bc=T3b\T3bCommon\ViewHelpers}
<t3bc:resource.css src="EXT:t3b_frontend/Resources/Public/Stylesheets/main.css" />
<t3bc:resource.js src="EXT:t3b_frontend/Resources/Public/Javascripts/Libaries/modernizr-2.6.2.min.js" />
<f:render partial="Page/Head... | {namespace t3bc=T3b\T3bCommon\ViewHelpers}
<t3bc:resource.css src="EXT:t3b_frontend/Ressources/Public/Stylesheets/main.css" />
<t3bc:resource.js src="EXT:t3b_frontend/Ressources/Public/Javascripts/Libaries/modernizr-2.6.2.min.js" />
<f:render partial="Page/Header" arguments="{_all}" />
<main class="site-content" rol... | <|file_sep|>original/Ressources/Private/Layouts/Page.html
{namespace t3bc=T3b\T3bCommon\ViewHelpers}
<t3bc:resource.css src="EXT:t3b_frontend/Resources/Public/Stylesheets/main.css" />
<t3bc:resource.js src="EXT:t3b_frontend/Resources/Public/Javascripts/Libaries/modernizr-2.6.2.min.js" />
<f:render partial="Page/Head... | 4f3167101c4225b71b3c464d6c386c0c2143b25b | Ressources/Private/Layouts/Page.html | Ressources/Private/Layouts/Page.html | HTML |
<|file_sep|>vex_via_wrapper.py.diff
original:
def get_events(iq=False):
updated:
def get_events(is_iq: bool=False) -> list:
"""Get a list of iq events or edr events.
Args:
is_iq: True for vex iq tournaments, False for vex edr(default).
Returns:
A 2D array of the events.
"""
<|file_sep... | event_id: The id of the event.
Returns:
A 2D array of the divisions.
"""
data = requests.get(DIVISION_URL.format(event_id)).text.split("\r\n")[1:-1]
return [division.split(",") for division in data]
def get_matches(event_id: str, division: str) -> list:
"""Get a list of the match... | <|file_sep|>vex_via_wrapper.py.diff
original:
def get_events(iq=False):
updated:
def get_events(is_iq: bool=False) -> list:
"""Get a list of iq events or edr events.
Args:
is_iq: True for vex iq tournaments, False for vex edr(default).
Returns:
A 2D array of the events.
"""
<|file_sep... | 4c69a59f99fd5f425c31e3fdcbf6e3f78d82d9e4 | vex_via_wrapper.py | vex_via_wrapper.py | Python |
<|file_sep|>original/.github/workflows/python-app.yml
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8... | - uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r re... | <|file_sep|>original/.github/workflows/python-app.yml
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8... | ba0a9d99f660eb63625b8826ce50250f70fbd577 | .github/workflows/python-app.yml | .github/workflows/python-app.yml | YAML |
<|file_sep|>doc/content/docs/hacking_itk_wasm.md.diff
original:
updated:
Thank you for contributing a pull request!
**Welcome to the ITK community!**
We are glad you are here and appreciate your contribution. Please keep in mind our [community participation guidelines](https://github.com/InsightSoftwareConsortium/I... | ```bash
npm run doc:www
```
Create a debug build (see also: [the debugging example](../example/debugging.html)):
```bash
git clean -fdx
# pull the latest debug Docker images
./src/docker/pull.sh
npm run build:debug
```
### Contributing
We use [semantic-release](https://github.com/semantic-release/semantic-release) f... | <|file_sep|>doc/content/docs/hacking_itk_wasm.md.diff
original:
updated:
Thank you for contributing a pull request!
**Welcome to the ITK community!**
We are glad you are here and appreciate your contribution. Please keep in mind our [community participation guidelines](https://github.com/InsightSoftwareConsortium/I... | ff26ca1d4cda1776c28ad91f998e22a181185759 | doc/content/docs/hacking_itk_wasm.md | doc/content/docs/hacking_itk_wasm.md | Markdown |
<|file_sep|>original/eng/pipelines/fluent_java_mgmt_docs.yml
<|file_sep|>current/eng/pipelines/fluent_java_mgmt_docs.yml
<|file_sep|>updated/eng/pipelines/fluent_java_mgmt_docs.yml | trigger: none #this is not a CI, the pipeline will be triggered manually
jobs:
- job: 'Publish API docs for the fluent management java SDK'
steps:
- powershell: |
copy eng/repo-docs/index.html $(Build.ArtifactStagingDirectory)
displayName: 'Copy index to artifact staging'
- tas... | <|file_sep|>original/eng/pipelines/fluent_java_mgmt_docs.yml
<|file_sep|>current/eng/pipelines/fluent_java_mgmt_docs.yml
<|file_sep|>updated/eng/pipelines/fluent_java_mgmt_docs.yml
trigger: none #this is not a CI, the pipeline will be triggered manually
jobs:
- job: 'Publish API docs for the fluent management jav... | f6f698ffcb35f1d6db066fd6fc2527bcdc0c0725 | eng/pipelines/fluent_java_mgmt_docs.yml | eng/pipelines/fluent_java_mgmt_docs.yml | YAML |
<|file_sep|>original/_posts/2016-11-12-orange-twists.md
tags:
- bread
- breakfast
- dessert
excerpt:
header:
teaser:
---
## INGREDIENTS
* 1 recipe [Basic Sweet Dough](!SITE_URL!/basic-sweet-dough)
* 2 tablespoons butter *melted*
* ½ cup sugar
* 2 tablespoons grated orange peel/zest
## INSTRUCTIONS
1. Roll ... | tags:
- bread
- breakfast
- dessert
excerpt:
header:
teaser:
---
## INGREDIENTS
* 1 recipe [Basic Sweet Dough](/basic-sweet-dough)
* 2 tablespoons butter *melted*
* ½ cup sugar
* 2 tablespoons grated orange peel/zest
## INSTRUCTIONS
1. Roll out dough to 18x12-inch rectangle. Brush with butter.
2. Combine s... | <|file_sep|>original/_posts/2016-11-12-orange-twists.md
tags:
- bread
- breakfast
- dessert
excerpt:
header:
teaser:
---
## INGREDIENTS
* 1 recipe [Basic Sweet Dough](!SITE_URL!/basic-sweet-dough)
* 2 tablespoons butter *melted*
* ½ cup sugar
* 2 tablespoons grated orange peel/zest
## INSTRUCTIONS
1. Roll ... | fc0121deb0d0c6b488def76d80e6a90c11d1951c | _posts/2016-11-12-orange-twists.md | _posts/2016-11-12-orange-twists.md | Markdown |
<|file_sep|>original/junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java
<|file_sep|>current/junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java
<|file_sep|>updated/junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java | /* This file is part of SableCC ( http://sablecc.org ).
*
* See the NOTICE file distributed with this work for copyright information.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | <|file_sep|>original/junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java
<|file_sep|>current/junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java
<|file_sep|>updated/junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java
/* This file is part of SableCC ( http://sablecc.org ).
*
* ... | 5a22a71f6d6478e6447e4a6890f084e9f9f7bf3d | junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java | junit-tests/org/sablecc/sablecc/launcher/OptionArgumentTest.java | Java |
<|file_sep|>original/src/modtypes/socket.h
#pragma once
#include "../main.h"
class Socket {
public:
virtual ~Socket() {}
virtual unsigned int apiVersion() = 0;
virtual void connect(const std::string& server, const std::string& port, const std::string& bind = "") {}
virtual std::string receive() { return ""; }... | #pragma once
#include "../main.h"
class Socket {
public:
virtual ~Socket() {}
virtual unsigned int apiVersion() = 0;
virtual void connect(const std::string& server, const std::string& port, const std::string& bindAddr = "") {}
virtual std::string receive() { return ""; }
virtual void send(const std::string&... | <|file_sep|>original/src/modtypes/socket.h
#pragma once
#include "../main.h"
class Socket {
public:
virtual ~Socket() {}
virtual unsigned int apiVersion() = 0;
virtual void connect(const std::string& server, const std::string& port, const std::string& bind = "") {}
virtual std::string receive() { return ""; }... | 10e6aefe5410267b5998df8417a16a1674e2f12b | src/modtypes/socket.h | src/modtypes/socket.h | C |
<|file_sep|>original/campus02/base/templates/rest_framework/api.html
<|file_sep|>current/campus02/base/templates/rest_framework/api.html
<|file_sep|>updated/campus02/base/templates/rest_framework/api.html | {% extends "rest_framework/base.html" %}
{% load staticfiles %}
{% block bootstrap_theme %}
{% include "base/stylesheets.html" %}
{% endblock %}
{% block title %}
CAMPUS02 - API
{% endblock %}
{% block branding %}
<a class="navbar-brand" href="{% url 'base:index' %}">
<span class="glyphicon glyphicon-blackboard">... | <|file_sep|>original/campus02/base/templates/rest_framework/api.html
<|file_sep|>current/campus02/base/templates/rest_framework/api.html
<|file_sep|>updated/campus02/base/templates/rest_framework/api.html
{% extends "rest_framework/base.html" %}
{% load staticfiles %}
{% block bootstrap_theme %}
{% include "base/st... | a0e4d9be025b6a30b0a8ab0c5ef75cd1631688b7 | campus02/base/templates/rest_framework/api.html | campus02/base/templates/rest_framework/api.html | HTML |
<|file_sep|>original/app/assets/javascripts/components/DiscoverComponents/ResultList.js.jsx
return (
<ResultItem title={result.title} description={result.description} link={result.link} points={result.points} categoryName={result.category_name} image={result.image} >
</ResultItem>
... | return (
<ResultItem title={result.title} description={result.description} link={result.link} points={result.points} categoryName={result.category_name} image={result.image} >
</ResultItem>
);
});
return (
<div className="result_list_wrapper">
... | <|file_sep|>original/app/assets/javascripts/components/DiscoverComponents/ResultList.js.jsx
return (
<ResultItem title={result.title} description={result.description} link={result.link} points={result.points} categoryName={result.category_name} image={result.image} >
</ResultItem>
... | 2ea315257b555e69b535b2992e2a11f09ad34c87 | app/assets/javascripts/components/DiscoverComponents/ResultList.js.jsx | app/assets/javascripts/components/DiscoverComponents/ResultList.js.jsx | JSX |
<|file_sep|>app/views/shop/products/_summary.html.haml.diff
original:
updated:
%i.ofn-i_057-expand
<|file_sep|>original/app/views/shop/products/_summary.html.haml
.product-thumb
%a{"ng-click" => "triggerProductModal()"}
%img{"bo-src" => "product.primaryImageOrMissing", "ng-click" => "triggerProductModal(... | .product-thumb
%a{"ng-click" => "triggerProductModal()"}
%img{"bo-src" => "product.primaryImageOrMissing", "ng-click" => "triggerProductModal()"}
.row.summary
.small-9.medium-10.large-11.columns.summary-header
%h3
%a{"ng-click" => "triggerProductModal()"}
{{ product.name }}
%i.ofn-i_0... | <|file_sep|>app/views/shop/products/_summary.html.haml.diff
original:
updated:
%i.ofn-i_057-expand
<|file_sep|>original/app/views/shop/products/_summary.html.haml
.product-thumb
%a{"ng-click" => "triggerProductModal()"}
%img{"bo-src" => "product.primaryImageOrMissing", "ng-click" => "triggerProductModal(... | 813ef463a23ff9c5757f03212ccfae4e72dbe624 | app/views/shop/products/_summary.html.haml | app/views/shop/products/_summary.html.haml | Haml |
<|file_sep|>tests/integration/test04.sh.diff
original:
strings </dev/urandom | head -n1000 | compile_input
updated:
COUNT=10000
strings </dev/urandom | head -n $COUNT | compile_input
<|file_sep|>original/tests/integration/test04.sh
#!/bin/bash -e
. $(dirname $0)/helper.sh
strings </dev/urandom | head -n1000 | compil... | #!/bin/bash -e
. $(dirname $0)/helper.sh
COUNT=10000
strings </dev/urandom | head -n $COUNT | compile_input
num_keys=$(wc -l <$COMPILE_INPUT)
echo "Inserted $num_keys items" | compile_output
query_input <$COMPILE_INPUT
yes "Found" | head -n $COUNT | query_output
runtest "-e" | <|file_sep|>tests/integration/test04.sh.diff
original:
strings </dev/urandom | head -n1000 | compile_input
updated:
COUNT=10000
strings </dev/urandom | head -n $COUNT | compile_input
<|file_sep|>original/tests/integration/test04.sh
#!/bin/bash -e
. $(dirname $0)/helper.sh
strings </dev/urandom | head -n1000 | compil... | bab5a644ff8b734a72d816218edb7cc08eb61349 | tests/integration/test04.sh | tests/integration/test04.sh | Shell |
<|file_sep|>original/.travis.yml
language: c
before_script:
- echo "deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install valac-0.18 libglib2.0-dev gobject-introspection libgirepository1.0-dev
script:
... | language: c
before_script:
- echo "deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
- sudo apt-get -qq update
- sudo apt-get -qq install valac-0.18 libglib2.0-dev gobject-introspection libgirepository1.0-dev
script:
- ./waf configure --pref... | <|file_sep|>original/.travis.yml
language: c
before_script:
- echo "deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install valac-0.18 libglib2.0-dev gobject-introspection libgirepository1.0-dev
script:
... | 511ff34b555bd47efa6fa6d8e0645f697510a4e6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
rvm: 2.2.2
before_script: bundle exec berks install
script: bundle exec thor test:all
<|file_sep|>current/.travis.yml
language: ruby
rvm: 2.2.2
before_script: bundle exec berks install
script: bundle exec thor test:all
<|file_sep|>updated/.travis.yml | language: ruby
rvm: 2.2.2
before_script: bundle exec berks install
script: bundle exec thor test:all
sudo: false | <|file_sep|>original/.travis.yml
language: ruby
rvm: 2.2.2
before_script: bundle exec berks install
script: bundle exec thor test:all
<|file_sep|>current/.travis.yml
language: ruby
rvm: 2.2.2
before_script: bundle exec berks install
script: bundle exec thor test:all
<|file_sep|>updated/.travis.yml
language: ruby
rvm: 2... | 3f00c28b06a3aae972757fcc8f93e2d4dc84ddd1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/config.js
import DefaultConfig from 'anyware/lib/game-logic/config/default-config';
import GAMES from 'anyware/lib/game-logic/constants/games';
class Config extends DefaultConfig {
constructor() {
super();
this.CLIENT_CONNECTION_OPTIONS = {
protocol: "wss",
username: "an... | import DefaultConfig from 'anyware/lib/game-logic/config/default-config';
import GAMES from 'anyware/lib/game-logic/constants/games';
class Config extends DefaultConfig {
constructor() {
super();
this.DEBUG.console = true;
this.CLIENT_CONNECTION_OPTIONS = {
protocol: "wss",
username: "anywa... | <|file_sep|>original/src/config.js
import DefaultConfig from 'anyware/lib/game-logic/config/default-config';
import GAMES from 'anyware/lib/game-logic/constants/games';
class Config extends DefaultConfig {
constructor() {
super();
this.CLIENT_CONNECTION_OPTIONS = {
protocol: "wss",
username: "an... | 5abc414fc9e8249a1a89f4c7d5aa9e9c4f821e7d | src/config.js | src/config.js | JavaScript |
<|file_sep|>include/probes_mysql.h.diff
original:
#include <my_global.h>
updated:
<|file_sep|>include/probes_mysql.h.diff
original:
updated:
#ifdef __linux__
/*
On Linux, generated probes header may include C++ header
<limits> which conflicts with min and max macros from my_global.h .
To fix, temporarily unde... | On Linux, generated probes header may include C++ header
<limits> which conflicts with min and max macros from my_global.h .
To fix, temporarily undefine the macros.
*/
#pragma push_macro("min")
#pragma push_macro("max")
#undef min
#undef max
#endif
#include "probes_mysql_dtrace.h"
#ifdef __linux__
#pragma pop_... | <|file_sep|>include/probes_mysql.h.diff
original:
#include <my_global.h>
updated:
<|file_sep|>include/probes_mysql.h.diff
original:
updated:
#ifdef __linux__
/*
On Linux, generated probes header may include C++ header
<limits> which conflicts with min and max macros from my_global.h .
To fix, temporarily unde... | c0a4377575c734ce8872d804229f852240d5b661 | include/probes_mysql.h | include/probes_mysql.h | C |
<|file_sep|>original/.travis.yml
language: go
go:
- tip
- "1.11"
- "1.10"
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
before_install:
- go get golang.org/x/tools/cmd/cover
script:
- go test -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)
<|file_sep|>cu... | language: go
go:
- tip
- "1.12"
- "1.11"
- "1.10"
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
before_install:
- go get golang.org/x/tools/cmd/cover
script:
- go test -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash) | <|file_sep|>original/.travis.yml
language: go
go:
- tip
- "1.11"
- "1.10"
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
before_install:
- go get golang.org/x/tools/cmd/cover
script:
- go test -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)
<|file_sep|>cu... | dcbe005b50ed85ca924cbde16a3240f003c8df10 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/cloud_cost_tracker.rb
# Returns a slightly-modified version of the default Ruby Logger
def self.default_logger
logger = ::Logger.new(STDOUT)
logger.sev_threshold = Logger::INFO
logger.formatter = proc {|lvl, time, prog, msg|
"#{lvl} #{time.strftime '%Y-%m-%d %H:%M:%S %Z'}... | # Load all ruby files from 'cloud_cost_tracker' directory
Dir[File.join(File.dirname(__FILE__), "cloud_cost_tracker/**/*.rb")].each {|f| require f}
module CloudCostTracker
# The default polling interval in seconds
# This. can be overriden when a CloudCostTracker::Tracker is created, either
# in the +accounts+ d... | <|file_sep|>original/lib/cloud_cost_tracker.rb
# Returns a slightly-modified version of the default Ruby Logger
def self.default_logger
logger = ::Logger.new(STDOUT)
logger.sev_threshold = Logger::INFO
logger.formatter = proc {|lvl, time, prog, msg|
"#{lvl} #{time.strftime '%Y-%m-%d %H:%M:%S %Z'}... | baf62670cda68d6883d198a11f6952608cde6d75 | lib/cloud_cost_tracker.rb | lib/cloud_cost_tracker.rb | Ruby |
<|file_sep|>src/index.js.diff
original:
import ReactDOM from 'react-dom'
updated:
<|file_sep|>src/index.js.diff
original:
updated:
refCallback = (container) => {
if (!container) {
this.removeSVG()
return
}
this.container = container
this.renderSVG()
}
<|file_sep|>src/index.js.diff
or... | })
}
removeSVG() {
this.container.removeChild(this.container.firstChild)
}
componentWillReceiveProps(nextProps) {
this.removeSVG()
this.renderSVG(nextProps)
}
shouldComponentUpdate() {
return false
}
render() {
return <div ref={this.refCallback} />
}
} | <|file_sep|>src/index.js.diff
original:
import ReactDOM from 'react-dom'
updated:
<|file_sep|>src/index.js.diff
original:
updated:
refCallback = (container) => {
if (!container) {
this.removeSVG()
return
}
this.container = container
this.renderSVG()
}
<|file_sep|>src/index.js.diff
or... | 14d6537cd2000ae28320366934d769846f3610cf | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/docker-compose.yml
version: '2'
services:
db:
image: mysql:5.7.16
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: usr_myapplication
MYSQL_PASSWORD: pwd_myapplication
volumes:
- "./.data/db:/var/lib/mysql"
web:
image: nginx:1.10.1-alpine
environment... | version: '2'
services:
db:
image: mysql:5.7.16
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: usr_myapplication
MYSQL_PASSWORD: pwd_myapplication
networks:
- my-network
volumes:
- "./.data/db:/var/lib/mysql"
web:
image: nginx:1.10.1-alpine
environment:
... | <|file_sep|>original/docker-compose.yml
version: '2'
services:
db:
image: mysql:5.7.16
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: usr_myapplication
MYSQL_PASSWORD: pwd_myapplication
volumes:
- "./.data/db:/var/lib/mysql"
web:
image: nginx:1.10.1-alpine
environment... | c55ef9bd38a7e9bf0acaf4ab2aeca64037f1efac | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>requirements-osx.txt.diff
original:
pyobjc-framework-Accounts==2.4
pyobjc-framework-AddressBook==2.4
pyobjc-framework-AppleScriptKit==2.4
pyobjc-framework-AppleScriptObjC==2.4
pyobjc-framework-Automator==2.4
pyobjc-framework-CFNetwork==2.4
pyobjc-framework-CalendarStore==2.4
pyobjc-framework-Cocoa==2.4
pyob... | pyobjc==2.4
pyobjc-core==2.4
pyobjc-framework-CoreLocation==2.4 | <|file_sep|>requirements-osx.txt.diff
original:
pyobjc-framework-Accounts==2.4
pyobjc-framework-AddressBook==2.4
pyobjc-framework-AppleScriptKit==2.4
pyobjc-framework-AppleScriptObjC==2.4
pyobjc-framework-Automator==2.4
pyobjc-framework-CFNetwork==2.4
pyobjc-framework-CalendarStore==2.4
pyobjc-framework-Cocoa==2.4
pyob... | e0405f3a4950b304ccf4e1e7b21f3dfd2a7e1e5c | requirements-osx.txt | requirements-osx.txt | Text |
<|file_sep|>original/src/store/modules/users.spec.js
storeMocks = {
auth: {
actions: {
login: jest.fn(),
},
},
}
store = createStore({
users: require('./users'),
...storeMocks,
})
})
it('can signup', async () => {
let signupData = { email: 'foo@... | },
},
}
store = createStore({
users: require('./users'),
...storeMocks,
})
})
it('can signup', async () => {
let signupData = { email: 'foo@foo.com', password: 'foo' }
mockCreate.mockImplementation(user => user)
await store.dispatch('users/signup', signupData)
... | <|file_sep|>original/src/store/modules/users.spec.js
storeMocks = {
auth: {
actions: {
login: jest.fn(),
},
},
}
store = createStore({
users: require('./users'),
...storeMocks,
})
})
it('can signup', async () => {
let signupData = { email: 'foo@... | cd27c9c88623f0659fb0a58b59add58e26461fb0 | src/store/modules/users.spec.js | src/store/modules/users.spec.js | JavaScript |
<|file_sep|>.config/fish/functions/🗄__gitconfig.fish.diff
original:
if begin
git config --file $global_config user.name >/dev/null
updated:
if git config --file $global_config user.name >/dev/null
<|file_sep|>.config/fish/functions/🗄__gitconfig.fish.diff
original:
end
updated:
<|file_sep|... | echo "🗄 Git configuration"
echo
createdirs ~/.config/git
set -l global_config ~/.config/git/config
# Just print the current config when values are set.
if git config --file $global_config user.name >/dev/null
and git config --file $global_config user.email >/dev/null
cat ... | <|file_sep|>.config/fish/functions/🗄__gitconfig.fish.diff
original:
if begin
git config --file $global_config user.name >/dev/null
updated:
if git config --file $global_config user.name >/dev/null
<|file_sep|>.config/fish/functions/🗄__gitconfig.fish.diff
original:
end
updated:
<|file_sep|... | 2960ecdd7e2b6b07b92ac953a109dc68254c210f | .config/fish/functions/🗄__gitconfig.fish | .config/fish/functions/🗄__gitconfig.fish | fish |
<|file_sep|>original/NetBeansJavaSEPortable/App/AppInfo/Launcher/NetBeansJavaSEPortable.ini
[DirectoriesCleanupIfEmpty]
1=%APPDATA%\Netbeans
[FileWrite1]
Type=ConfigWrite
File=%PAL:AppDir%\netbeans\etc\netbeans.conf
Entry=netbeans_default_userdir
Value=="%PAL:DataDir%\Config"
[FileWrite2]
Type=ConfigWrite
File=%PAL:... |
[DirectoriesCleanupIfEmpty]
1=%APPDATA%\Netbeans
[FileWrite1]
Type=ConfigWrite
File=%PAL:AppDir%\netbeans\etc\netbeans.conf
Entry=netbeans_default_userdir
Value=="%PAL:DataDir%\Config"
[FileWrite2]
Type=ConfigWrite
File=%PAL:AppDir%\netbeans\etc\netbeans.conf
Entry=netbeans_default_cachedir
Value=="%PAL:DataDir%\Cac... | <|file_sep|>original/NetBeansJavaSEPortable/App/AppInfo/Launcher/NetBeansJavaSEPortable.ini
[DirectoriesCleanupIfEmpty]
1=%APPDATA%\Netbeans
[FileWrite1]
Type=ConfigWrite
File=%PAL:AppDir%\netbeans\etc\netbeans.conf
Entry=netbeans_default_userdir
Value=="%PAL:DataDir%\Config"
[FileWrite2]
Type=ConfigWrite
File=%PAL:... | fa35f040b27e2ee9e08089a1b6118c1f45720fe9 | NetBeansJavaSEPortable/App/AppInfo/Launcher/NetBeansJavaSEPortable.ini | NetBeansJavaSEPortable/App/AppInfo/Launcher/NetBeansJavaSEPortable.ini | INI |
<|file_sep|>original/content/2014-02-26-working-with-opensuses-kernel-source.md
<|file_sep|>current/content/2014-02-26-working-with-opensuses-kernel-source.md
<|file_sep|>updated/content/2014-02-26-working-with-opensuses-kernel-source.md | ---
title: Working with openSUSE's Kernel Source
author: Andrew Wafaa
layout: post
kind: article
created_at: 2014-02-26
permalink: /working-with-opensuses-kernel-source/
categories:
- openSUSE
tags:
- Kernel
- Code
---
#
This is more for my own self reference as I go through fits and starts of having to touch t... | <|file_sep|>original/content/2014-02-26-working-with-opensuses-kernel-source.md
<|file_sep|>current/content/2014-02-26-working-with-opensuses-kernel-source.md
<|file_sep|>updated/content/2014-02-26-working-with-opensuses-kernel-source.md
---
title: Working with openSUSE's Kernel Source
author: Andrew Wafaa
layout: po... | fd8126a9876dfbe2460a18b22dbe11c049b27cb2 | content/2014-02-26-working-with-opensuses-kernel-source.md | content/2014-02-26-working-with-opensuses-kernel-source.md | Markdown |
<|file_sep|>original/default/data/ui/nav/default.xml
<nav search_view="search" color="#004f82">
<collection label="Palo Alto Networks">
<a href="app/Splunk_TA_paloalto">Configuration</a>
<divider />
<a href="http://pansplunk.readthedocs.io" target="_blank">Documentation</a>
<a href="http://answers.sp... | <nav search_view="search" color="#004f82">
<collection label="Palo Alto Networks">
<a href="/app/Splunk_TA_paloalto/configuration">Configuration</a>
<divider />
<a href="http://pansplunk.readthedocs.io" target="_blank">Documentation</a>
<a href="http://answers.splunk.com/ask/?appid=491" target="_blan... | <|file_sep|>original/default/data/ui/nav/default.xml
<nav search_view="search" color="#004f82">
<collection label="Palo Alto Networks">
<a href="app/Splunk_TA_paloalto">Configuration</a>
<divider />
<a href="http://pansplunk.readthedocs.io" target="_blank">Documentation</a>
<a href="http://answers.sp... | a8f0131383ba0816ce8a5397e50d3ecc1679a6ab | default/data/ui/nav/default.xml | default/data/ui/nav/default.xml | XML |
<|file_sep|>original/composer.json
"email": "daghostman.dimitrov@gmail.com"
}
],
"license": "MIT",
"require": {
"php": "^7.0 || ^7.1",
"roave/security-advisories": "dev-master",
"psr/http-message": "^1.0",
"zendframework/zend-diactoros": "^1.3",
"h... | "email": "daghostman.dimitrov@gmail.com"
}
],
"license": "MIT",
"require": {
"php": "^7.0 || ^7.1",
"roave/security-advisories": "dev-master",
"psr/http-message": "^1.0",
"zendframework/zend-diactoros": "^1.3",
"http-interop/http-middleware": "0.4"... | <|file_sep|>original/composer.json
"email": "daghostman.dimitrov@gmail.com"
}
],
"license": "MIT",
"require": {
"php": "^7.0 || ^7.1",
"roave/security-advisories": "dev-master",
"psr/http-message": "^1.0",
"zendframework/zend-diactoros": "^1.3",
"h... | 5e39e83d27089152e11e2ea5bcfc1d7b6c8583c3 | composer.json | composer.json | JSON |
<|file_sep|>original/resources/views/sitenavigation/show.blade.php
@extends('scaffold-interface.layouts.app')
@section('title',$Sitenavigation->PageTitle)
@section('head')
<script>
{!!$Sitenavigation->PageJavaScript!!}
</script>
<style>
{!!$Sitenavigation->PageCSS!!}
</style>
<met... | @extends('scaffold-interface.layouts.app')
@section('title', $Sitenavigation->LinkText)
@section('head')
<script>
{!!$Sitenavigation->PageJavaScript!!}
</script>
<style>
{!!$Sitenavigation->PageCSS!!}
</style>
<meta name="keywords" content="{!!$Sitenavigation->PageKeywords!!}">
@e... | <|file_sep|>original/resources/views/sitenavigation/show.blade.php
@extends('scaffold-interface.layouts.app')
@section('title',$Sitenavigation->PageTitle)
@section('head')
<script>
{!!$Sitenavigation->PageJavaScript!!}
</script>
<style>
{!!$Sitenavigation->PageCSS!!}
</style>
<met... | a18cca47e266a5b9c9a7aa361d74343d41b5c6e1 | resources/views/sitenavigation/show.blade.php | resources/views/sitenavigation/show.blade.php | PHP |
<|file_sep|>original/src/js/myui/BackgroundPanel.js
getDefaultProps: function () {
return {
backgroundSize: 'auto',
backgroundRepeat: 'no-repeat',
backgroundPosition: "50% 50%",
opacity: 1,
};
},
render: function () {
var before = <spa... | getDefaultProps: function () {
return {
backgroundSize: 'auto',
backgroundRepeat: 'no-repeat',
backgroundPosition: "50% 50%",
opacity: 1,
};
},
render: function () {
// would normally use a ::before pseudo element
// http://sta... | <|file_sep|>original/src/js/myui/BackgroundPanel.js
getDefaultProps: function () {
return {
backgroundSize: 'auto',
backgroundRepeat: 'no-repeat',
backgroundPosition: "50% 50%",
opacity: 1,
};
},
render: function () {
var before = <spa... | 1fd745d2e7abe9f1eb941c4987ee72e135f31321 | src/js/myui/BackgroundPanel.js | src/js/myui/BackgroundPanel.js | JavaScript |
<|file_sep|>original/plugins/npm/npm.plugin.zsh
eval "$(npm completion 2>/dev/null)"
<|file_sep|>current/plugins/npm/npm.plugin.zsh
eval "$(npm completion 2>/dev/null)"
<|file_sep|>updated/plugins/npm/npm.plugin.zsh | eval "$(npm completion 2>/dev/null)"
# Install and save to dependencies
alias npms="npm i -S "
# Install and save to dev-dependencies
alias npmd="npm i -D " | <|file_sep|>original/plugins/npm/npm.plugin.zsh
eval "$(npm completion 2>/dev/null)"
<|file_sep|>current/plugins/npm/npm.plugin.zsh
eval "$(npm completion 2>/dev/null)"
<|file_sep|>updated/plugins/npm/npm.plugin.zsh
eval "$(npm completion 2>/dev/null)"
# Install and save to dependencies
alias npms="npm i -S "
# Insta... | 704254e57da10e72d2af13e6fc47229a0c70736a | plugins/npm/npm.plugin.zsh | plugins/npm/npm.plugin.zsh | Shell |
<|file_sep|>original/requirements.txt
biplist
dmgbuild
ds-store
mac-alias
pystache
requests
schedule
six
wheel
wxPython
<|file_sep|>current/requirements.txt
biplist
dmgbuild
ds-store
mac-alias
pystache
requests
schedule
six
wheel
wxPython
<|file_sep|>updated/requirements.txt | biplist
dmgbuild
ds-store
mac-alias
pyinstaller
pystache
requests
schedule
six
wheel
wxPython | <|file_sep|>original/requirements.txt
biplist
dmgbuild
ds-store
mac-alias
pystache
requests
schedule
six
wheel
wxPython
<|file_sep|>current/requirements.txt
biplist
dmgbuild
ds-store
mac-alias
pystache
requests
schedule
six
wheel
wxPython
<|file_sep|>updated/requirements.txt
biplist
dmgbuild
ds-store
mac-alias
pyinstal... | 63c51642154190e1eb6f380533d6cef32ce04b8d | requirements.txt | requirements.txt | Text |
<|file_sep|>Tests/Integration/BlockRepositoryTest.php.diff
original:
updated:
use Faker\Factory;
<|file_sep|>original/Tests/Integration/BlockRepositoryTest.php
<?php namespace Modules\Block\Tests\Integration;
class BlockRepositoryTest extends BaseBlockTest
{
/** @test */
public function it_creates_blocks()
... | public function it_creates_blocks()
{
$block = $this->block->create(['name' => 'testBlock', 'en' => ['body' => 'lorem en'], 'fr' => ['body' => 'lorem fr']]);
$blocks = $this->block->all();
$this->assertCount(1, $blocks);
$this->assertEquals('testBlock', $block->name);
$t... | <|file_sep|>Tests/Integration/BlockRepositoryTest.php.diff
original:
updated:
use Faker\Factory;
<|file_sep|>original/Tests/Integration/BlockRepositoryTest.php
<?php namespace Modules\Block\Tests\Integration;
class BlockRepositoryTest extends BaseBlockTest
{
/** @test */
public function it_creates_blocks()
... | 8e87598d8b641647100f4e05508995948f1282f0 | Tests/Integration/BlockRepositoryTest.php | Tests/Integration/BlockRepositoryTest.php | PHP |
<|file_sep|>original/Developers/Bear_Installation_Tool.rst
<|file_sep|>current/Developers/Bear_Installation_Tool.rst
<|file_sep|>updated/Developers/Bear_Installation_Tool.rst | Bear Installation Tool
======================
coala features a Bear Installation Tool that helps installing bears one by one
or all of them. This tool is helpful as it also manages to install the bears'
external dependencies.
Installation
------------
To install the tool, simply run:
::
$ pip3 install coala-in... | <|file_sep|>original/Developers/Bear_Installation_Tool.rst
<|file_sep|>current/Developers/Bear_Installation_Tool.rst
<|file_sep|>updated/Developers/Bear_Installation_Tool.rst
Bear Installation Tool
======================
coala features a Bear Installation Tool that helps installing bears one by one
or all of them. T... | 9785208f495d84f82963c22d069f0a0f8af81966 | Developers/Bear_Installation_Tool.rst | Developers/Bear_Installation_Tool.rst | reStructuredText |
<|file_sep|>original/utilities/string.rb
module Utilities
class String
def self.is_capitalised_word?(line)
/[^[A-Z&&[^\s]]]/.match(line).nil? ? true : false
end
end
end
<|file_sep|>current/utilities/string.rb
module Utilities
class String
def self.is_capitalised_word?(line)
/[^[A-Z&&[^\s]]]/.mat... | module Utilities
class String
def self.is_capitalised_word?(line)
line.split('').each do |elt|
return false unless ('A'..'Z').include? elt
end
true
end
end
end | <|file_sep|>original/utilities/string.rb
module Utilities
class String
def self.is_capitalised_word?(line)
/[^[A-Z&&[^\s]]]/.match(line).nil? ? true : false
end
end
end
<|file_sep|>current/utilities/string.rb
module Utilities
class String
def self.is_capitalised_word?(line)
/[^[A-Z&&[^\s]]]/.mat... | 4ee2d09298a1895176cce67d0efb004b7a0237a1 | utilities/string.rb | utilities/string.rb | Ruby |
<|file_sep|>original/vendor/vendors.php
#!/usr/bin/env php
<?php
set_time_limit(0);
$vendorDir = __DIR__;
$deps = array(
array('symfony', 'http://github.com/symfony/symfony', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
array('knp-menu', 'http://github.com/knplabs/KnpMe... | #!/usr/bin/env php
<?php
set_time_limit(0);
$vendorDir = __DIR__;
$deps = array(
array('symfony', 'http://github.com/symfony/symfony', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
array('knp-menu', 'http://github.com/KnpLabs/KnpMenu.git', 'origin/master'),
);
foreach (... | <|file_sep|>original/vendor/vendors.php
#!/usr/bin/env php
<?php
set_time_limit(0);
$vendorDir = __DIR__;
$deps = array(
array('symfony', 'http://github.com/symfony/symfony', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
array('knp-menu', 'http://github.com/knplabs/KnpMe... | a0f7859b40ee6979195a6588899ef95f8ded733b | vendor/vendors.php | vendor/vendors.php | PHP |
<|file_sep|>original/.travis.yml
go:
- 1.4
- 1.5
- 1.6
env:
- GIMME_OS=linux GIMME_ARCH=386
- GIMME_OS=linux GIMME_ARCH=amd64
- GIMME_OS=linux GIMME_ARCH=arm
- GIMME_OS=darwin GIMME_ARCH=386
- GIMME_OS=darwin GIMME_ARCH=amd64
- GIMME_OS=windows GIMME_ARCH=386
- GIMME_OS=windows GIMME_ARCH=amd64
in... | go:
- 1.4
- 1.5
- 1.6
env:
- GIMME_OS=linux GIMME_ARCH=386
- GIMME_OS=linux GIMME_ARCH=amd64
- GIMME_OS=linux GIMME_ARCH=arm
- GIMME_OS=darwin GIMME_ARCH=386
- GIMME_OS=darwin GIMME_ARCH=amd64
- GIMME_OS=windows GIMME_ARCH=386
- GIMME_OS=windows GIMME_ARCH=amd64
install:
- go get -u github.com/g... | <|file_sep|>original/.travis.yml
go:
- 1.4
- 1.5
- 1.6
env:
- GIMME_OS=linux GIMME_ARCH=386
- GIMME_OS=linux GIMME_ARCH=amd64
- GIMME_OS=linux GIMME_ARCH=arm
- GIMME_OS=darwin GIMME_ARCH=386
- GIMME_OS=darwin GIMME_ARCH=amd64
- GIMME_OS=windows GIMME_ARCH=386
- GIMME_OS=windows GIMME_ARCH=amd64
in... | 7d40f4b16492d45f6189f09f484a8d6ead76ac19 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/web/locales/kk/cross-locale.ftl
## Languages
get-involved-email =
.label = Email
get-involved-opt-in = Ия, маған электрондық хаттар жіберіп тұрыңыз. Мен осы тілдің Common Voice жобасында дамуы туралы хабардар болғым келеді.
get-involved-submit = Жіберу
get-involved-success-title = Сіз { $langu... | ## Languages
get-involved-email =
.label = Email
get-involved-opt-in = Ия, маған электрондық хаттар жіберіп тұрыңыз. Мен осы тілдің Common Voice жобасында дамуы туралы хабардар болғым келеді.
get-involved-submit = Жіберу
get-involved-privacy-info = Біз Сіздің ақпараттыңызды мұқият қарауға уәде етеміз. Бұл туралы <... | <|file_sep|>original/web/locales/kk/cross-locale.ftl
## Languages
get-involved-email =
.label = Email
get-involved-opt-in = Ия, маған электрондық хаттар жіберіп тұрыңыз. Мен осы тілдің Common Voice жобасында дамуы туралы хабардар болғым келеді.
get-involved-submit = Жіберу
get-involved-success-title = Сіз { $langu... | 3f0ff2e05877cfa5f19d18a3fc2b5de6bee5c371 | web/locales/kk/cross-locale.ftl | web/locales/kk/cross-locale.ftl | FreeMarker |
<|file_sep|>original/bin/import_all_country_data.sh
#!/usr/bin/env bash
echo 'Started. See import_all_country.log for progres...'
time find data/cache/country_data -type f -name '*_12.xlsm' ! -name '~$*' -print -exec date --iso-8601=seconds \; -exec php htdocs/index.php import jmp {} \; &> import_all_country.log
<|fil... | #!/usr/bin/env bash
echo 'Started. See import_all_country.log for progres...'
truncate -s 0 data/logs/all.log
time find data/cache/country_data -type f -name '*_12.xlsm' ! -name '~$*' -print -exec date --iso-8601=seconds \; -exec php htdocs/index.php import jmp {} \; &> import_all_country.log | <|file_sep|>original/bin/import_all_country_data.sh
#!/usr/bin/env bash
echo 'Started. See import_all_country.log for progres...'
time find data/cache/country_data -type f -name '*_12.xlsm' ! -name '~$*' -print -exec date --iso-8601=seconds \; -exec php htdocs/index.php import jmp {} \; &> import_all_country.log
<|fil... | a6f11c530f375aeb6e7ed4cce0c0c5dd00755617 | bin/import_all_country_data.sh | bin/import_all_country_data.sh | Shell |
<|file_sep|>original/setup.cfg
[bumpversion]
current_version = 0.1.8
commit = True
tag = True
[bumpversion:file:setup.py]
[bumpversion:file:yagocd/__init__.py]
[wheel]
universal = 1
[flake8]
exclude = docs
[aliases]
test=pytest
<|file_sep|>current/setup.cfg
[bumpversion]
current_version = 0.1.8
commit = True
tag =... | [bumpversion]
current_version = 0.1.8
commit = True
tag = True
[bumpversion:file:setup.py]
[bumpversion:file:yagocd/__init__.py]
[wheel]
universal = 1
[flake8]
exclude = docs
[aliases]
test = pytest
| <|file_sep|>original/setup.cfg
[bumpversion]
current_version = 0.1.8
commit = True
tag = True
[bumpversion:file:setup.py]
[bumpversion:file:yagocd/__init__.py]
[wheel]
universal = 1
[flake8]
exclude = docs
[aliases]
test=pytest
<|file_sep|>current/setup.cfg
[bumpversion]
current_version = 0.1.8
commit = True
tag =... | e53ef2f66e88d6002214719be6c0c58a81b21a7f | setup.cfg | setup.cfg | INI |
<|file_sep|>original/src/CommandInterface.php
<?php
/**
* This file is part of the nigelgreenway/demander package.
*
* (c) Nigel Greenway <nigel_greenway@me.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Demander;
... | <?php
/**
* This file is part of the nigelgreenway/demander package.
*
* (c) Nigel Greenway <nigel_greenway@me.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Demander;
/**
* Interface for a Command Message
*
* ... | <|file_sep|>original/src/CommandInterface.php
<?php
/**
* This file is part of the nigelgreenway/demander package.
*
* (c) Nigel Greenway <nigel_greenway@me.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Demander;
... | 096600b5ef5641563f311199f210aae6ab4a62e6 | src/CommandInterface.php | src/CommandInterface.php | PHP |
<|file_sep|>original/netbox/tenancy/api/serializers.py
class Meta(TenantGroupSerializer.Meta):
pass
#
# Tenants
#
class TenantSerializer(CustomFieldSerializer, serializers.ModelSerializer):
group = TenantGroupNestedSerializer()
class Meta:
model = Tenant
fields = ['id', 'name', ... |
class Meta(TenantGroupSerializer.Meta):
pass
#
# Tenants
#
class TenantSerializer(CustomFieldSerializer, serializers.ModelSerializer):
group = TenantGroupNestedSerializer()
class Meta:
model = Tenant
fields = ['id', 'name', 'slug', 'group', 'description', 'comments', 'custom_fie... | <|file_sep|>original/netbox/tenancy/api/serializers.py
class Meta(TenantGroupSerializer.Meta):
pass
#
# Tenants
#
class TenantSerializer(CustomFieldSerializer, serializers.ModelSerializer):
group = TenantGroupNestedSerializer()
class Meta:
model = Tenant
fields = ['id', 'name', ... | 97c0f23c676de7e726e938bf0b61087834cf9fd9 | netbox/tenancy/api/serializers.py | netbox/tenancy/api/serializers.py | Python |
<|file_sep|>original/requirements.txt
Django>=1.8,<1.9
pytest-django
django-extensions
ipython
django-debug-toolbar
django-bootstrap3
django-activelink
djangorestframework
django-datetime-widget
Markdown
redis
Pillow
git+git://github.com/benjaoming/django-wiki.git
influxdb
django-resized
<|file_sep|>current/requirement... | Django>=1.8,<1.9
pytest-django
django-extensions
ipython
django-debug-toolbar
django-bootstrap3
django-activelink
djangorestframework
django-datetime-widget
Markdown
redis
Pillow
git+git://github.com/benjaoming/django-wiki.git@93d7cb12cdb6cae3ae088564b7cd9f7cf5b79831
influxdb
django-resized | <|file_sep|>original/requirements.txt
Django>=1.8,<1.9
pytest-django
django-extensions
ipython
django-debug-toolbar
django-bootstrap3
django-activelink
djangorestframework
django-datetime-widget
Markdown
redis
Pillow
git+git://github.com/benjaoming/django-wiki.git
influxdb
django-resized
<|file_sep|>current/requirement... | 3a10b95c156525f28d65f679bfd27e4a2b5ee3e4 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/package.json
"dependencies": {
"generic-pool": "2.0.3",
"buffer-writer": "1.0.0",
"pgpass": "0.0.1",
"nan": "~0.6.0",
"packet-reader": "0.2.0",
"pg-types": "1.0.0"
},
"devDependencies": {
"jshint": "1.1.0",
"semver": "~1.1.4",
"async": "0.2.10"
},
"scri... | "generic-pool": "2.0.3",
"buffer-writer": "1.0.0",
"pgpass": "0.0.1",
"nan": "~0.6.0",
"packet-reader": "0.2.0",
"pg-types": "1.0.0"
},
"devDependencies": {
"jshint": "1.1.0",
"semver": "~1.1.4",
"async": "0.2.10"
},
"scripts": {
"changelog": "npm i github-changes && ./no... | <|file_sep|>original/package.json
"dependencies": {
"generic-pool": "2.0.3",
"buffer-writer": "1.0.0",
"pgpass": "0.0.1",
"nan": "~0.6.0",
"packet-reader": "0.2.0",
"pg-types": "1.0.0"
},
"devDependencies": {
"jshint": "1.1.0",
"semver": "~1.1.4",
"async": "0.2.10"
},
"scri... | 128f9c071c51a3a7d5f52631552f4cb0f11d5d2e | package.json | package.json | JSON |
<|file_sep|>original/ci/tasks/license-finder-report.yml
---
platform: linux
image_resource:
type: docker-image
source: {repository: ruby, tag: '2.2-slim' }
inputs:
- name: boshrelease
- name: boshrelease-ci
- name: version
outputs:
- name: license-finder-reports
run:
path: ./boshrelease-ci/ci/tasks/license-fin... | ---
platform: linux
image_resource:
type: docker-image
source: {repository: dingotiles/dingo-postgresql-release-pipeline}
inputs:
- name: boshrelease
- name: boshrelease-ci
- name: version
outputs:
- name: license-finder-reports
run:
path: ./boshrelease-ci/ci/tasks/license-finder-report.sh | <|file_sep|>original/ci/tasks/license-finder-report.yml
---
platform: linux
image_resource:
type: docker-image
source: {repository: ruby, tag: '2.2-slim' }
inputs:
- name: boshrelease
- name: boshrelease-ci
- name: version
outputs:
- name: license-finder-reports
run:
path: ./boshrelease-ci/ci/tasks/license-fin... | 68639a6df610dcb67acc772b1d68633b6f318e89 | ci/tasks/license-finder-report.yml | ci/tasks/license-finder-report.yml | YAML |
<|file_sep|>client/css/match.scss.diff
original:
updated:
$player-colors: #F15854, #60BD68, #5DA5DA, #FAA43A,
#4D4D4D, #B276B2, #FAA43A, #F17CB0;
<|file_sep|>original/client/css/match.scss
.player { font-weight: bold; }
.player1 { color: #F15854; }
.player2 { color: #60BD68; }
.player3 { col... | .win-token {
display: inline-block;
border-radius: 50%;
margin-right: 0.5em;
vertical-align: middle;
width: 1em;
height: 1em;
}
.token-right {
float: right;
margin-right: 0;
}
.player { font-weight: bold; }
@for $i from 1 through length($player-colors) {
.player#{$i} {... | <|file_sep|>client/css/match.scss.diff
original:
updated:
$player-colors: #F15854, #60BD68, #5DA5DA, #FAA43A,
#4D4D4D, #B276B2, #FAA43A, #F17CB0;
<|file_sep|>original/client/css/match.scss
.player { font-weight: bold; }
.player1 { color: #F15854; }
.player2 { color: #60BD68; }
.player3 { col... | 8e324586423f2a0c13a3c07bb023683450ffc7b2 | client/css/match.scss | client/css/match.scss | SCSS |
<|file_sep|>original/app/UserProfile.php
class UserProfile extends Model{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'users_profile';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
... | class UserProfile extends Model{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'users_profile';
/**
* The primary key for the model.
*
* @var string
*/
protected $primaryKey = 'user_id';
/**
* The attributes that are m... | <|file_sep|>original/app/UserProfile.php
class UserProfile extends Model{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'users_profile';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
... | 688a6f31d385f952a0228883e6846dbf7f4309d2 | app/UserProfile.php | app/UserProfile.php | PHP |
<|file_sep|>appveyor.yml.diff
original:
updated:
# disable built-in tests.
test: off
<|file_sep|>original/appveyor.yml
branches:
except:
- /travis-.*/
install:
ps: |
Import-Module '.\appveyor-tool.ps1'
Bootstrap
build_script:
- ps: .\build.ps1 -Target "Appveyor"
artifacts:
- path... | Import-Module '.\appveyor-tool.ps1'
Bootstrap
build_script:
- ps: .\build.ps1 -Target "Appveyor"
# disable built-in tests.
test: off
artifacts:
- path: package\*.nupkg
# - path: package\*.msi
deploy:
- provider: NuGet
server: https://www.myget.org/F/nunit/api/v2
api_key:
... | <|file_sep|>appveyor.yml.diff
original:
updated:
# disable built-in tests.
test: off
<|file_sep|>original/appveyor.yml
branches:
except:
- /travis-.*/
install:
ps: |
Import-Module '.\appveyor-tool.ps1'
Bootstrap
build_script:
- ps: .\build.ps1 -Target "Appveyor"
artifacts:
- path... | fd3caf40f6d4f79f67f77521c31cfd8f65bf2bed | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.5.1)
project(happy-network-train)
set(HAPPY_N_TRAIN_TARGET_VERSION "0.0.1" CACHE STRING "happy-network-train version")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_COMPILER_ID "Clang")
se... | cmake_minimum_required(VERSION 3.5.1)
project(happy-network-train)
set(HAPPY_N_TRAIN_TARGET_VERSION "0.0.1" CACHE STRING "happy-network-train version")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_COMPILER_ID "Clang")
set(CMAKE_CXX_COMPILER "clang++")
set(... | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.5.1)
project(happy-network-train)
set(HAPPY_N_TRAIN_TARGET_VERSION "0.0.1" CACHE STRING "happy-network-train version")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_COMPILER_ID "Clang")
se... | cc8c7dbd191ec1a0f0d9954ed38aa0f870b78b52 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
- composer dump-autoload -o
script:
- vendor/bin/phpspec run
- vendor/bin/phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- 5.... | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
- composer dump-autoload -o
script:
- vendor/bin/phpspec run
- vendor/bin/phpunit | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
- composer dump-autoload -o
script:
- vendor/bin/phpspec run
- vendor/bin/phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- 5.... | 07261b3a96d9640c423aac0938dbb9ff007add00 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/install-guide/source/ceilometer-cinder.rst
.. code-block:: console
# systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
#. Restart the Block Storage services on the storage nodes:
.. code-block:: console
# systemctl restart ope... | .. code-block:: console
# systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
#. Restart the Block Storage services on the storage nodes:
.. code-block:: console
# systemctl restart openstack-cinder-volume.service
.. only:: ubuntu or debian
#. Rest... | <|file_sep|>original/doc/install-guide/source/ceilometer-cinder.rst
.. code-block:: console
# systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
#. Restart the Block Storage services on the storage nodes:
.. code-block:: console
# systemctl restart ope... | 3f5a14dc10836a6f1c4d5a199e9963c62f63c11b | doc/install-guide/source/ceilometer-cinder.rst | doc/install-guide/source/ceilometer-cinder.rst | reStructuredText |
<|file_sep|>original/recipes/pygraphblas/meta.yaml
test:
imports:
- pygraphblas
commands:
- python -c "from pygraphblas import Vector, INT64 ; v = Vector.sparse(INT64, 10) ; assert v.size == 10"
about:
home: https://github.com/michelp/pygraphblas
license: Apache-2.0
license_family: Apache
license_... | test:
imports:
- pygraphblas
commands:
- python -c "from pygraphblas import Vector, INT64 ; v = Vector.sparse(INT64, 10) ; assert v.size == 10"
about:
home: https://github.com/michelp/pygraphblas
license: Apache-2.0
license_family: Apache
license_file: LICENSE
summary: 'GraphBLAS for Python'
de... | <|file_sep|>original/recipes/pygraphblas/meta.yaml
test:
imports:
- pygraphblas
commands:
- python -c "from pygraphblas import Vector, INT64 ; v = Vector.sparse(INT64, 10) ; assert v.size == 10"
about:
home: https://github.com/michelp/pygraphblas
license: Apache-2.0
license_family: Apache
license_... | c3ad3ebb477af6ae64a1bba637f865e64f56f91c | recipes/pygraphblas/meta.yaml | recipes/pygraphblas/meta.yaml | YAML |
<|file_sep|>original/ocw-ui/backend/tests/test_directory_helpers.py
<|file_sep|>current/ocw-ui/backend/tests/test_directory_helpers.py
<|file_sep|>updated/ocw-ui/backend/tests/test_directory_helpers.py | import os
import unittest
from webtest import TestApp
from ..run_webservices import app
from ..directory_helpers import _get_clean_directory_path
test_app = TestApp(app)
class TestDirectoryPathCleaner(unittest.TestCase):
PATH_LEADER = '/tmp/foo'
VALID_CLEAN_DIR = '/tmp/foo/bar'
if not os.path.exists(PAT... | <|file_sep|>original/ocw-ui/backend/tests/test_directory_helpers.py
<|file_sep|>current/ocw-ui/backend/tests/test_directory_helpers.py
<|file_sep|>updated/ocw-ui/backend/tests/test_directory_helpers.py
import os
import unittest
from webtest import TestApp
from ..run_webservices import app
from ..directory_helpers im... | dbfa14401c0b50eb1a3cac413652cb975ee9d41f | ocw-ui/backend/tests/test_directory_helpers.py | ocw-ui/backend/tests/test_directory_helpers.py | Python |
<|file_sep|>original/travis_midgard.sh
#!/bin/bash
# Install Midgard2 library dependencies from OBS
sudo apt-get install -y dbus libglib2.0-dev libgda-4.0-4 libgda-4.0-dev libxml2-dev libdbus-1-dev libdbus-glib-1-dev valgrind python-gobject libgirepository1.0-dev libgirepository-1.0-1 libgda-4.0-mysql libgda-4.0-postg... | #!/bin/bash
# Install Midgard2 library dependencies from OBS
sudo apt-get install -y dbus libglib2.0-dev libgda-4.0-4 libgda-4.0-dev libxml2-dev libdbus-1-dev libdbus-glib-1-dev valgrind python-gobject libgirepository1.0-dev libgirepository-1.0-1 libgda-4.0-mysql libgda-4.0-postgres gir1.2-freedesktop gobject-introspe... | <|file_sep|>original/travis_midgard.sh
#!/bin/bash
# Install Midgard2 library dependencies from OBS
sudo apt-get install -y dbus libglib2.0-dev libgda-4.0-4 libgda-4.0-dev libxml2-dev libdbus-1-dev libdbus-glib-1-dev valgrind python-gobject libgirepository1.0-dev libgirepository-1.0-1 libgda-4.0-mysql libgda-4.0-postg... | 2daff04ad04c9fe3ac479b6b7f3a00e678502ac1 | travis_midgard.sh | travis_midgard.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.1.0"
- PUPPET_VERSION="~> 3.2.0"
- PUPPET_VERSION="~> 3.3.0"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- PUPPET_VERSION="~> 3.7.0"
<|file_sep|>.travis.yml.diff
original:
- rvm: 1.9.3
env:... | - master
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 3.5.0"
- PUPPET_VERSION="~> 3.... | <|file_sep|>.travis.yml.diff
original:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.1.0"
- PUPPET_VERSION="~> 3.2.0"
- PUPPET_VERSION="~> 3.3.0"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- PUPPET_VERSION="~> 3.7.0"
<|file_sep|>.travis.yml.diff
original:
- rvm: 1.9.3
env:... | 399fced9f1e423bff1b1c060b08d463e7aae35c0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/layouts/partials/article-header.html
{{ if .IsPage }}
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
{{ else }}
<h2><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>
{{ end }}
<footer class="post-info">{{ .Site.Data.l10n.article.posted_on }} <span clas... | {{ if .IsPage }}
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
{{ else }}
<h2><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>
{{ end }}
<footer class="post-info">{{ .Site.Data.l10n.article.posted_on }} <span class="post-meta"><time datetime="{{ .Date.Format "2006.01.02"... | <|file_sep|>original/layouts/partials/article-header.html
{{ if .IsPage }}
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
{{ else }}
<h2><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h2>
{{ end }}
<footer class="post-info">{{ .Site.Data.l10n.article.posted_on }} <span clas... | 5846b054cd1a19445f3ec8c42997f98dc29c9678 | layouts/partials/article-header.html | layouts/partials/article-header.html | HTML |
<|file_sep|>app/features/album/album_creator.rb.diff
original:
filenames = valid_keys.map { |key| key.gsub("#{prefix}/", '') }
updated:
<|file_sep|>original/app/features/album/album_creator.rb
attr_reader :title, :prefix
def initialize(title)
@title = title
@prefix = title.to_url
end
def insert_a... | attr_reader :title, :prefix
def initialize(title)
@title = title
@prefix = title.to_url
end
def insert_all_photos
@added_images_count = 0
puts "attempting to import #{valid_keys.count} images"
valid_keys.each do |filename|
insert_photo(filename)
end
puts "imported #{@added_im... | <|file_sep|>app/features/album/album_creator.rb.diff
original:
filenames = valid_keys.map { |key| key.gsub("#{prefix}/", '') }
updated:
<|file_sep|>original/app/features/album/album_creator.rb
attr_reader :title, :prefix
def initialize(title)
@title = title
@prefix = title.to_url
end
def insert_a... | 12768ca26c06db09519829db5fcbe3e0ef29beae | app/features/album/album_creator.rb | app/features/album/album_creator.rb | Ruby |
<|file_sep|>original/misc/make-gopath.sh
export GOPATH="$HOME/gopath/"
mkdir "$GOPATH"
if ! grep -q '^export GOPATH=' ~/.bashrc; then
echo "export GOPATH=~/gopath/" >> ~/.bashrc
fi
echo "setting go path to: $GOPATH"
fi
echo "gopath is: $GOPATH"
# some versions of golang apparently require this to run go... | if ! env | grep -q '^GOBIN='; then
export GOBIN="${GOPATH}bin/"
mkdir "$GOBIN"
if ! grep -q '^export GOBIN=' ~/.bashrc; then
echo 'export GOBIN="${GOPATH}bin/"' >> ~/.bashrc
fi
echo "setting go bin to: $GOBIN"
fi
echo "gobin is: $GOBIN"
# add gobin to $PATH
if ! env | grep '^PATH=' | grep -q "$GOBIN"; t... | <|file_sep|>original/misc/make-gopath.sh
export GOPATH="$HOME/gopath/"
mkdir "$GOPATH"
if ! grep -q '^export GOPATH=' ~/.bashrc; then
echo "export GOPATH=~/gopath/" >> ~/.bashrc
fi
echo "setting go path to: $GOPATH"
fi
echo "gopath is: $GOPATH"
# some versions of golang apparently require this to run go... | 3cf8c4a6e8869f2433cf793b07f6c5c2519088a7 | misc/make-gopath.sh | misc/make-gopath.sh | Shell |
<|file_sep|>README.md.diff
original:
Rank-1 Dictionary Learning in PyFlink. If you like Java or you want something that is probably more stable and doesn't use the incomplete Flink Python API, an implementation is available at [quinngroup/flink-r1dl](https://github.com/quinngroup/flink-r1dl).
updated:
Rank-1 Dictionary... | # PyFlink R1DL
Rank-1 Dictionary Learning in PyFlink, featured in [_Implementing dictionary learning in Apache Flink, Or: How I learned to relax and love iterations_](http://ieeexplore.ieee.org/document/7840869/).
If you like Java or you want something that is probably more stable and doesn't use the incomplete Flink... | <|file_sep|>README.md.diff
original:
Rank-1 Dictionary Learning in PyFlink. If you like Java or you want something that is probably more stable and doesn't use the incomplete Flink Python API, an implementation is available at [quinngroup/flink-r1dl](https://github.com/quinngroup/flink-r1dl).
updated:
Rank-1 Dictionary... | a01c8d5409713d68940acc7fe397613512aad131 | README.md | README.md | Markdown |
<|file_sep|>layouts/prefeituras-regionais/list.html.diff
original:
<ul class="subprefectures__list">
updated:
<ul class="subprefectures__list js-filterable">
<|file_sep|>original/layouts/prefeituras-regionais/list.html
</section>
{{ end }}
{{ with $subprefectures.subprefectures }}
<section class="subprefe... | </section>
{{ end }}
{{ with $subprefectures.subprefectures }}
<section class="subprefectures">
<p><b>{{ len . }}</b> {{ i18n "regionalPrefecture" (len .) }}.</p>
<ul class="subprefectures__list js-filterable">
{{ range sort . "name" "asc" }}
<li id="subprefectures-{{ .id }}" class="subprefectur... | <|file_sep|>layouts/prefeituras-regionais/list.html.diff
original:
<ul class="subprefectures__list">
updated:
<ul class="subprefectures__list js-filterable">
<|file_sep|>original/layouts/prefeituras-regionais/list.html
</section>
{{ end }}
{{ with $subprefectures.subprefectures }}
<section class="subprefe... | c4c287bb3d95485ca969c3ec3e39979906ef44ec | layouts/prefeituras-regionais/list.html | layouts/prefeituras-regionais/list.html | HTML |
<|file_sep|>original/research/requirements.txt
git+https://github.com/marcusrehm/neo4jupyter.git@master
aiofiles==0.3.2
aiohttp==2.3.7
beautifulsoup4==4.6.0
geopy==1.11.0
grequests==0.3.0
humanize==0.5.1
igraph==0.1.11
ipython-cypher==0.2.5
ipython==5.1.0
jgraph==0.2.1
networkx==1.11
nltk==3.2.1
pandas>=0.18.1
py2neo==... | git+https://github.com/marcusrehm/neo4jupyter.git@master
aiofiles==0.3.2
aiohttp==2.3.7
beautifulsoup4==4.6.0
geopy==1.11.0
grequests==0.3.0
humanize==0.5.1
igraph==0.1.11
ipython-cypher==0.2.5
ipython==6.2.1
jgraph==0.2.1
networkx==1.11
nltk==3.2.1
pandas>=0.18.1
py2neo==3.1.2
pycpfcnpj==1.0.2
scikit-learn==0.18.1
sea... | <|file_sep|>original/research/requirements.txt
git+https://github.com/marcusrehm/neo4jupyter.git@master
aiofiles==0.3.2
aiohttp==2.3.7
beautifulsoup4==4.6.0
geopy==1.11.0
grequests==0.3.0
humanize==0.5.1
igraph==0.1.11
ipython-cypher==0.2.5
ipython==5.1.0
jgraph==0.2.1
networkx==1.11
nltk==3.2.1
pandas>=0.18.1
py2neo==... | a342167d6399194d28eb6af5ebcd80667a51ad7b | research/requirements.txt | research/requirements.txt | Text |
<|file_sep|>original/lib/CMakeLists.txt
project(librmc)
set(LIBRARY_VERSION "1.1.0")
set(LIBRARY_SOVERSION "1")
set(LIBRMC_LINK_LIBRARIES gmp)
file(GLOB librmc_SOURCES rmc/*.c)
if (WITH_DEBUG)
add_definitions(ENABLE_DEBUG)
endif (WITH_DEBUG)
if (WITH_STATIC_LIB)
add_library(rmc STATIC ${librmc_SOURCES})
... | project(librmc)
set(LIBRARY_VERSION "1.1.0")
set(LIBRARY_SOVERSION "1")
set(LIBRMC_LINK_LIBRARIES gmp)
file(GLOB librmc_SOURCES rmc/*.c)
if (WITH_DEBUG)
add_definitions(-DENABLE_DEBUG)
endif (WITH_DEBUG)
if (WITH_STATIC_LIB)
add_library(rmc STATIC ${librmc_SOURCES})
else (WITH_STATIC_LIB)
add_librar... | <|file_sep|>original/lib/CMakeLists.txt
project(librmc)
set(LIBRARY_VERSION "1.1.0")
set(LIBRARY_SOVERSION "1")
set(LIBRMC_LINK_LIBRARIES gmp)
file(GLOB librmc_SOURCES rmc/*.c)
if (WITH_DEBUG)
add_definitions(ENABLE_DEBUG)
endif (WITH_DEBUG)
if (WITH_STATIC_LIB)
add_library(rmc STATIC ${librmc_SOURCES})
... | e628430ddd1d31fd08c3ad6092946685a3a27cb7 | lib/CMakeLists.txt | lib/CMakeLists.txt | Text |
<|file_sep|>original/circle-runner.sh
#!/bin/bash
set -e
i=0
files=""
TEST_NSES=$(find test -name "*.clj" |sed s/test\\///|sed s/\\//\\./g|sed s/".clj$"//|sed s/"_"/"-"/g|tr '\n' ' '|sort)
echo "Testing " $TEST_NSES
for file in $TEST_NSES
do
if [ $(($i % $CIRCLE_NODE_TOTAL)) -eq $CIRCLE_NODE_INDEX ]
then
f... | #!/bin/bash
set -e
if [ $CIRCLE_BRANCH == "master" ]; then
export TEST_CHECK_FACTOR=20
fi
i=0
files=""
TEST_NSES=$(find test -name "*.clj" |sed s/test\\///|sed s/\\//\\./g|sed s/".clj$"//|sed s/"_"/"-"/g|tr '\n' ' '|sort)
echo "Testing " $TEST_NSES
for file in $TEST_NSES
do
if [ $(($i % $CIRCLE_NODE_TOTAL)) -... | <|file_sep|>original/circle-runner.sh
#!/bin/bash
set -e
i=0
files=""
TEST_NSES=$(find test -name "*.clj" |sed s/test\\///|sed s/\\//\\./g|sed s/".clj$"//|sed s/"_"/"-"/g|tr '\n' ' '|sort)
echo "Testing " $TEST_NSES
for file in $TEST_NSES
do
if [ $(($i % $CIRCLE_NODE_TOTAL)) -eq $CIRCLE_NODE_INDEX ]
then
f... | 2445f01342e9b1212e586e605dffc52ac87831ce | circle-runner.sh | circle-runner.sh | Shell |
<|file_sep|>tviit/models.py.diff
original:
import uuid
updated:
from django.db import models
from django.utils.deconstruct import deconstructible
from django.dispatch import receiver
from django.forms import ModelForm
import uuid, os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@deconstructi... | verbose_name="Tviit sender",
)
content = models.TextField(max_length=160)
created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)
image = models.ImageField(upload_to=path_and_rename, null=True, blank=True)
reply = models.ForeignKey("self", null=Tr... | <|file_sep|>tviit/models.py.diff
original:
import uuid
updated:
from django.db import models
from django.utils.deconstruct import deconstructible
from django.dispatch import receiver
from django.forms import ModelForm
import uuid, os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@deconstructi... | c1e17f9501fb9afc69f9fba288fa9e4cfac262e2 | tviit/models.py | tviit/models.py | Python |
<|file_sep|>original/spec/integration/portal/portal_offering_spec.rb
generate_default_project_and_jnlps_with_factories
learner = Factory(:full_portal_learner)
user = learner.student.user
user.register
user.activate
user.save!
# log in as this learner
visit "/"
within("#project-s... | generate_default_project_and_jnlps_with_factories
learner = Factory(:full_portal_learner)
user = learner.student.user
user.register
user.activate
user.save!
# log in as this learner
visit "/"
within("#project-signin") do
fill_in("login", :with => user.login)
fill_in(... | <|file_sep|>original/spec/integration/portal/portal_offering_spec.rb
generate_default_project_and_jnlps_with_factories
learner = Factory(:full_portal_learner)
user = learner.student.user
user.register
user.activate
user.save!
# log in as this learner
visit "/"
within("#project-s... | d7f577af82c7672fc0ef8216ad3013eee996fb64 | spec/integration/portal/portal_offering_spec.rb | spec/integration/portal/portal_offering_spec.rb | Ruby |
<|file_sep|>original/README.md
droplet
=======
[](https://travis-ci.org/exekias/droplet)
<|file_sep|>current/README.md
droplet
=======
[](https://travis-ci.org/exekias/droplet)... | droplet
=======
[](https://travis-ci.org/exekias/droplet) | <|file_sep|>original/README.md
droplet
=======
[](https://travis-ci.org/exekias/droplet)
<|file_sep|>current/README.md
droplet
=======
[](https://travis-ci.org/exekias/droplet)... | dcc0257b7382e15c23b53355878b77a5171c98be | README.md | README.md | Markdown |
<|file_sep|>original/validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift
<|file_sep|>current/validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift
<|file_sep|>updated/validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift | // RUN: not --crash %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
extension{protocol a{class a{protocol C{func<}}func<}}{<T | <|file_sep|>original/validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift
<|file_sep|>current/validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift
<|file_sep|>updated/validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift
// RUN: not --cra... | 42e60dee8aff9ef4568e0de084341c98cedff89a | validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift | validation-test/compiler_crashers/28210-swift-declcontext-getprotocolself.swift | Swift |
<|file_sep|>original/requirements.txt
Django==1.4
Jinja2==2.6
South==0.7.3
distribute==0.6.15
jingo==0.4
psycopg2==2.4.1
wsgiref==0.1.2
oauth==1.0.1
#svn+http://python-flickr-api.googlecode.com/svn/trunk/#egg=flickr_api
git+https://github.com/auzigog/python-flickr-api.git#egg=flickr_api
git+https://github.com/auzigog/j... | Django==1.4
Jinja2==2.6
South==0.7.3
distribute==0.6.15
jingo==0.4
psycopg2==2.4.1
wsgiref==0.1.2
oauth==1.0.1
#svn+http://python-flickr-api.googlecode.com/svn/trunk/#egg=flickr_api
git+https://github.com/auzigog/python-flickr-api.git@a355563386de0ca8dd497f88bc1376dfd7439c9a#egg=flickr_api
git+https://github.com/auzigo... | <|file_sep|>original/requirements.txt
Django==1.4
Jinja2==2.6
South==0.7.3
distribute==0.6.15
jingo==0.4
psycopg2==2.4.1
wsgiref==0.1.2
oauth==1.0.1
#svn+http://python-flickr-api.googlecode.com/svn/trunk/#egg=flickr_api
git+https://github.com/auzigog/python-flickr-api.git#egg=flickr_api
git+https://github.com/auzigog/j... | 9aa6be8f4c61df4403451a335f732759e4a29621 | requirements.txt | requirements.txt | Text |
<|file_sep|>firebase.json.diff
original:
"value": "no-cache"
updated:
"value": "max-age=0"
<|file_sep|>original/firebase.json
{
"source": "/**/",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache"
}
]
},
... | {
"source": "/**/",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=0"
}
]
},
{
"source": "/**/*.html",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=0"
}... | <|file_sep|>firebase.json.diff
original:
"value": "no-cache"
updated:
"value": "max-age=0"
<|file_sep|>original/firebase.json
{
"source": "/**/",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache"
}
]
},
... | 3fba500a61cbd4ce4b85526876f0de301eba7e5a | firebase.json | firebase.json | JSON |
<|file_sep|>original/README.md
# flatten-list
Flatten an array or array-like objects.
Reduces nested arrays or array-like objects (like `arguments` or `NodeList` in
the browser) to a single array.
## Example
```js
var flatten = require('flatten-list');
flatten([1, [2, 3]]); // [1, 2, 3]
flatten([1, 2, 3]); // [1, ... | # flatten-list
[](https://travis-ci.org/conradz/flatten-list)
[](https://gemnasium.com/conradz/flatten-list)
Flatten an array or array-like objects.
Reduces nested arrays or array-like o... | <|file_sep|>original/README.md
# flatten-list
Flatten an array or array-like objects.
Reduces nested arrays or array-like objects (like `arguments` or `NodeList` in
the browser) to a single array.
## Example
```js
var flatten = require('flatten-list');
flatten([1, [2, 3]]); // [1, 2, 3]
flatten([1, 2, 3]); // [1, ... | b1a4f1662612597cfe983fb7229799c1072b35dc | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- "5.11"
- "5.10"
updated:
- "6"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
- "5.11"
- "5.10"
- "4"
- "4.3"
- "4.2"
- "0.12"
before_script:
- npm install -g istanbul codecov
script: istanbul cover ./node_modules/mocha/bin/_mocha --re... | language: node_js
node_js:
- "node"
- "6"
- "4"
- "0.12"
before_script:
- npm install -g istanbul codecov
script: istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && codecov | <|file_sep|>.travis.yml.diff
original:
- "5.11"
- "5.10"
updated:
- "6"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
- "5.11"
- "5.10"
- "4"
- "4.3"
- "4.2"
- "0.12"
before_script:
- npm install -g istanbul codecov
script: istanbul cover ./node_modules/mocha/bin/_mocha --re... | bff7ee5f401cda217a1ef1544443aed6d4f2a85c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/examples/first-recording-search.php
<|file_sep|>current/examples/first-recording-search.php
<|file_sep|>updated/examples/first-recording-search.php | <pre><?php
use Guzzle\Http\Client;
use MusicBrainz\Filters\RecordingFilter;
use MusicBrainz\MusicBrainz;
require dirname(__DIR__) . '/vendor/autoload.php';
//Create new MusicBrainz object
$brainz = new MusicBrainz(new Client(), 'username', 'password');
$brainz->setUserAgent('ApplicationName', '0.2', 'http://example.... | <|file_sep|>original/examples/first-recording-search.php
<|file_sep|>current/examples/first-recording-search.php
<|file_sep|>updated/examples/first-recording-search.php
<pre><?php
use Guzzle\Http\Client;
use MusicBrainz\Filters\RecordingFilter;
use MusicBrainz\MusicBrainz;
require dirname(__DIR__) . '/vendor/autolo... | 587c8a7fc48fe07a45894aab03d990f9a7b0ded2 | examples/first-recording-search.php | examples/first-recording-search.php | PHP |
<|file_sep|>original/teamcity-run.sh
<|file_sep|>current/teamcity-run.sh
<|file_sep|>updated/teamcity-run.sh | #!/bin/bash
set -e
source ~/.bash_profile
# use nginx 'dist' config and restart nginx
vagrant ssh-config | ssh -F /dev/stdin default 'sudo cp /vagrant/vagrant-conf/nginx/ci-conf/nginx.conf /usr/local/nginx/conf;sudo service nginx reload'
# start SWA (but detached so we don't block)
vagrant ssh-config | ssh -F /dev/st... | <|file_sep|>original/teamcity-run.sh
<|file_sep|>current/teamcity-run.sh
<|file_sep|>updated/teamcity-run.sh
#!/bin/bash
set -e
source ~/.bash_profile
# use nginx 'dist' config and restart nginx
vagrant ssh-config | ssh -F /dev/stdin default 'sudo cp /vagrant/vagrant-conf/nginx/ci-conf/nginx.conf /usr/local/nginx/co... | 946fb15e40cc1220ce4df538ae173c898922f163 | teamcity-run.sh | teamcity-run.sh | Shell |
<|file_sep|>regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/pipeline/DataQueue.java.diff
original:
updated:
import com.google.common.collect.EvictingQueue;
<|file_sep|>regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/pipeline/DataQueue.java.diff
original:
import java.util... |
import java.util.Queue;
public class DataQueue implements DataCollector.Listener {
private static final int MAX_SIZE = 256;
private final Queue<DataPoint> mDeque;
private long mNextSequence;
public DataQueue() {
this.mDeque = EvictingQueue.create(MAX_SIZE);
}
@Override
public vo... | <|file_sep|>regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/pipeline/DataQueue.java.diff
original:
updated:
import com.google.common.collect.EvictingQueue;
<|file_sep|>regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/pipeline/DataQueue.java.diff
original:
import java.util... | 930018e5b8e96f4830332ab0cf2a34bbe58c3056 | regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/pipeline/DataQueue.java | regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/pipeline/DataQueue.java | Java |
<|file_sep|>py_skiplist/iterators.py.diff
original:
from itertools import dropwhile, count, cycle
updated:
from itertools import dropwhile, count, repeat
<|file_sep|>py_skiplist/iterators.py.diff
original:
return (next(dropwhile(lambda _: random.randint(1, int(1. / p)) == 1, count())) for _ in cycle([1]))
updated:
... | from itertools import dropwhile, count, repeat
import random
def geometric(p):
return (next(dropwhile(lambda _: random.randint(1, int(1. / p)) == 1, count())) for _ in repeat(1))
# Simple deterministic distribution for testing internals of the skiplist.
uniform = repeat | <|file_sep|>py_skiplist/iterators.py.diff
original:
from itertools import dropwhile, count, cycle
updated:
from itertools import dropwhile, count, repeat
<|file_sep|>py_skiplist/iterators.py.diff
original:
return (next(dropwhile(lambda _: random.randint(1, int(1. / p)) == 1, count())) for _ in cycle([1]))
updated:
... | 88e0ec5ff58f7dabb531749472a410498c8e7827 | py_skiplist/iterators.py | py_skiplist/iterators.py | Python |
<|file_sep|>original/log.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'log'
s.version = '0.2.0.0'
s.summary = 'Logging to STD IO with levels, tagging, and coloring'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage ... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'log'
s.version = '0.3.0.0'
s.summary = 'Logging to STD IO with levels, tagging, and coloring'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage = 'https://github.com/eventide-pr... | <|file_sep|>original/log.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'log'
s.version = '0.2.0.0'
s.summary = 'Logging to STD IO with levels, tagging, and coloring'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage ... | 950aa673b6f3962b8c6d8feceff45636effbc280 | log.gemspec | log.gemspec | Ruby |
<|file_sep|>original/metadata/horse.amazin.my.stratum0.statuswidget.txt
* Manage status (open/close/inherit)
* Open door using your authorized SSH key
.
Repo Type:git
Repo:https://github.com/Valodim/Stratum0Widget
Build:4.0.1-foss,21
commit=v4.0.1
subdir=app
gradle=foss
Build:5.0.0-foss,22
commit=v5.... | * Manage status (open/close/inherit)
* Open door using your authorized SSH key
.
Repo Type:git
Repo:https://github.com/Valodim/Stratum0Widget
Build:4.0.1-foss,21
commit=v4.0.1
subdir=app
gradle=foss
Build:5.0.0-foss,22
commit=v5.0.0
subdir=app
gradle=foss
Auto Update Mode:Version v%v
Update ... | <|file_sep|>original/metadata/horse.amazin.my.stratum0.statuswidget.txt
* Manage status (open/close/inherit)
* Open door using your authorized SSH key
.
Repo Type:git
Repo:https://github.com/Valodim/Stratum0Widget
Build:4.0.1-foss,21
commit=v4.0.1
subdir=app
gradle=foss
Build:5.0.0-foss,22
commit=v5.... | d8a631bb8bd4d3b89803b41eb6f9b25b3f662b9e | metadata/horse.amazin.my.stratum0.statuswidget.txt | metadata/horse.amazin.my.stratum0.statuswidget.txt | Text |
<|file_sep|>libraries/db.php.diff
original:
if (!isset(self::$_instances[$driver])) {
updated:
$instanceName = $driver . ':' . $config['host'] . ':' . $config['port'];
if (!isset(self::$_instances[$instanceName])) {
<|file_sep|>libraries/db.php.diff
original:
self::$_instances[$driv... | <?php
final class Db
{
protected static $_instances = Array();
public static function factory($driver = Null, $config)
{
$driver = isset($driver) ? $driver : App::instance()->config['database']['driver'];
$instanceName = $driver . ':' . $config['host'] . ':' . $config['port'];
if ... | <|file_sep|>libraries/db.php.diff
original:
if (!isset(self::$_instances[$driver])) {
updated:
$instanceName = $driver . ':' . $config['host'] . ':' . $config['port'];
if (!isset(self::$_instances[$instanceName])) {
<|file_sep|>libraries/db.php.diff
original:
self::$_instances[$driv... | 214fc6ee47f1c0cfcf6977dd81122640fade2c7e | libraries/db.php | libraries/db.php | PHP |
<|file_sep|>original/src/Exception/NormalisationException.php
<|file_sep|>current/src/Exception/NormalisationException.php
<|file_sep|>updated/src/Exception/NormalisationException.php | <?php
/**
* Created by PhpStorm.
* User: Danny
* Date: 30/06/15
* Time: 20:27
*/
namespace Silktide\Reposition\Exception;
class NormalisationException extends \Exception
{
} | <|file_sep|>original/src/Exception/NormalisationException.php
<|file_sep|>current/src/Exception/NormalisationException.php
<|file_sep|>updated/src/Exception/NormalisationException.php
<?php
/**
* Created by PhpStorm.
* User: Danny
* Date: 30/06/15
* Time: 20:27
*/
namespace Silktide\Reposition\Exception;
clas... | 3c7e97c236d9f098d5b63ef16c429696bd576050 | src/Exception/NormalisationException.php | src/Exception/NormalisationException.php | PHP |
<|file_sep|>original/hieradata/node/asset-slave-1.backend.publishing.service.gov.uk.yaml
lv:
data:
pv:
- '/dev/sdc1'
- '/dev/sdd1'
vg: 'uploads'
cache:
pv:
- '/dev/sda1'
vg: 'duplicity'
mount:
/mnt/uploads:
disk: '/dev/mapper/uploads-data'
govuk_lvm: 'data'
mountopt... |
lv:
data:
pv:
- '/dev/sdc1'
- '/dev/sdd1'
vg: 'uploads'
cache:
pv:
- '/dev/sda1'
- '/dev/sde1'
vg: 'duplicity'
mount:
/mnt/uploads:
disk: '/dev/mapper/uploads-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
percent_threshold_warning: 5
percent_thresho... | <|file_sep|>original/hieradata/node/asset-slave-1.backend.publishing.service.gov.uk.yaml
lv:
data:
pv:
- '/dev/sdc1'
- '/dev/sdd1'
vg: 'uploads'
cache:
pv:
- '/dev/sda1'
vg: 'duplicity'
mount:
/mnt/uploads:
disk: '/dev/mapper/uploads-data'
govuk_lvm: 'data'
mountopt... | 8be60814ceb2b6969ea821d1b25c450a44dc9b27 | hieradata/node/asset-slave-1.backend.publishing.service.gov.uk.yaml | hieradata/node/asset-slave-1.backend.publishing.service.gov.uk.yaml | YAML |
<|file_sep|>examples/LKE_example.py.diff
original:
sys.path.insert(0, '../pygraphc/clustering')
from ClusterUtility import *
from ClusterEvaluation import *
updated:
sys.path.insert(0, '../pygraphc/evaluation')
from ExternalEvaluation import *
<|file_sep|>examples/LKE_example.py.diff
original:
original_logs = myparser.... | from ExternalEvaluation import *
ip_address = '161.166.232.17'
standard_path = '/home/hudan/Git/labeled-authlog/dataset/' + ip_address
standard_file = standard_path + 'auth.log.anon.labeled'
analyzed_file = 'auth.log.anon'
prediction_file = 'lke-result-' + ip_address + '.txt'
OutputPath = './results'
para = Para(path=... | <|file_sep|>examples/LKE_example.py.diff
original:
sys.path.insert(0, '../pygraphc/clustering')
from ClusterUtility import *
from ClusterEvaluation import *
updated:
sys.path.insert(0, '../pygraphc/evaluation')
from ExternalEvaluation import *
<|file_sep|>examples/LKE_example.py.diff
original:
original_logs = myparser.... | 0945e04edcb4739069f4263bbd022bff4320606e | examples/LKE_example.py | examples/LKE_example.py | Python |
<|file_sep|>original/src/com/codingbat/test/AllTests.java
<|file_sep|>current/src/com/codingbat/test/AllTests.java
<|file_sep|>updated/src/com/codingbat/test/AllTests.java | package com.codingbat.test;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
import com.codingbat.array1.Array1Test;
import com.codingbat.array2.Array2Test;
import com.codingbat.string1.String1Test;
import com.codingbat.string2.String2Test;
import com.codin... | <|file_sep|>original/src/com/codingbat/test/AllTests.java
<|file_sep|>current/src/com/codingbat/test/AllTests.java
<|file_sep|>updated/src/com/codingbat/test/AllTests.java
package com.codingbat.test;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
import... | 4019aaa9f303848f915160b06096f8b0518a8c5e | src/com/codingbat/test/AllTests.java | src/com/codingbat/test/AllTests.java | Java |
<|file_sep|>original/circle.yml
machine:
node:
version: 6.9.2
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/lab
- npm run test -- --output $CIRCLE_TEST_REPORTS/junit/test-results.xml --reporter junit
<|file_sep|>current/circle.yml
machine:
node:
version: 6.9.2
test:
override:
- mkdir -p $C... | machine:
node:
version: 8.1.0
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/lab
- npm run test -- --output $CIRCLE_TEST_REPORTS/junit/test-results.xml --reporter junit | <|file_sep|>original/circle.yml
machine:
node:
version: 6.9.2
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/lab
- npm run test -- --output $CIRCLE_TEST_REPORTS/junit/test-results.xml --reporter junit
<|file_sep|>current/circle.yml
machine:
node:
version: 6.9.2
test:
override:
- mkdir -p $C... | ab483229cbe4ca013d568e873a37bbe6d303c2ba | circle.yml | circle.yml | YAML |
<|file_sep|>bashrc.d/50virtualenvwrapper.sh.diff
original:
# If virtualenvwrapper.sh is not if available, there's nothing to do
type virtualenvwrapper.sh &>/dev/null || return
updated:
if ! type virtualenvwrapper.sh &>/dev/null; then
# virtualenvwrapper.sh is not available so just add some simple, but
# helpful... | # The use_env call below is a reusable command to activate/create a new Python
# virtualenv, requiring only a single declarative line of code in your .env files.
# It only performs an action if the requested virtualenv is not the current one.
# Modified snippet from: https://github.com/kennethreitz/auto... | <|file_sep|>bashrc.d/50virtualenvwrapper.sh.diff
original:
# If virtualenvwrapper.sh is not if available, there's nothing to do
type virtualenvwrapper.sh &>/dev/null || return
updated:
if ! type virtualenvwrapper.sh &>/dev/null; then
# virtualenvwrapper.sh is not available so just add some simple, but
# helpful... | cd1d277a24a2fbf6d98693f47bfc6de336d74277 | bashrc.d/50virtualenvwrapper.sh | bashrc.d/50virtualenvwrapper.sh | Shell |
<|file_sep|>ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs.diff
original:
updated:
using PropertyChanged;
<|file_sep|>original/ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs
Token = stored.Token;
}
public string Account { get; set; }
public string Token { get; set;... | Account = stored.Account;
Token = stored.Token;
}
public string Account { get; set; }
public string Token { get; set; }
public string Message { get; private set; }
[DependsOn(nameof(Account), nameof(Token))]
public bool CanLogin => !IsNullOrEmp... | <|file_sep|>ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs.diff
original:
updated:
using PropertyChanged;
<|file_sep|>original/ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs
Token = stored.Token;
}
public string Account { get; set; }
public string Token { get; set;... | 5ae1c92b39436eb5944333c98b9555f4aec190a7 | ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs | ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs | C# |
<|file_sep|>original/test/integration/targets/foreman_inventory/test_foreman_inventory.yml
<|file_sep|>current/test/integration/targets/foreman_inventory/test_foreman_inventory.yml
<|file_sep|>updated/test/integration/targets/foreman_inventory/test_foreman_inventory.yml | ---
- hosts: localhost
vars:
foreman_stub_host: "{{ lookup('env', 'FOREMAN_HOST') }}"
foreman_stub_port: "{{ lookup('env', 'FOREMAN_PORT') }}"
foreman_stub_api_path: /api/v2
foreman_stub_host_uri: "http://{{ foreman_stub_host }}:{{ foreman_stub_port }}"
foreman_stub_api_uri: "{{ foreman_stub_host_... | <|file_sep|>original/test/integration/targets/foreman_inventory/test_foreman_inventory.yml
<|file_sep|>current/test/integration/targets/foreman_inventory/test_foreman_inventory.yml
<|file_sep|>updated/test/integration/targets/foreman_inventory/test_foreman_inventory.yml
---
- hosts: localhost
vars:
foreman_stub... | 87eca24969a74f6f46162d4deb1bd411b018bb2f | test/integration/targets/foreman_inventory/test_foreman_inventory.yml | test/integration/targets/foreman_inventory/test_foreman_inventory.yml | YAML |
<|file_sep|>original/suspenders.gemspec
weLaika's fork of the famous thoughbot suspenders gem.
HERE
s.email = 'info@welaika.com'
s.executables = ['welaika-suspenders']
s.extra_rdoc_files = %w[README.md LICENSE]
s.files = `git ls-files`.split("\n")
s.homepage = 'http://github.com/welaika/welaika-suspenders'... | weLaika's fork of the famous thoughbot suspenders gem.
HERE
s.email = 'info@welaika.com'
s.executables = ['welaika-suspenders']
s.extra_rdoc_files = %w[README.md LICENSE]
s.files = `git ls-files`.split("\n")
s.homepage = 'http://github.com/welaika/welaika-suspenders'
s.license = 'MIT'
s.name = 'welaika... | <|file_sep|>original/suspenders.gemspec
weLaika's fork of the famous thoughbot suspenders gem.
HERE
s.email = 'info@welaika.com'
s.executables = ['welaika-suspenders']
s.extra_rdoc_files = %w[README.md LICENSE]
s.files = `git ls-files`.split("\n")
s.homepage = 'http://github.com/welaika/welaika-suspenders'... | a406288c96da49b7331d84e5b4865ab3316d7928 | suspenders.gemspec | suspenders.gemspec | Ruby |
<|file_sep|>original/tops_connect.gemspec
spec.name = 'tops_connect'
spec.version = TopsConnect::VERSION
spec.authors = ['Steven Hoffman']
spec.email = ['shoffman@valenciamgmt.com']
spec.summary = 'Make use of the Tops Connect API'
spec.homepage = 'https://github.com/ValenciaMgmt/tops_connect'
spec.licen... | spec.name = 'tops_connect'
spec.version = TopsConnect::VERSION
spec.authors = ['Steven Hoffman']
spec.email = ['shoffman@valenciamgmt.com']
spec.summary = 'Make use of the Tops Connect API'
spec.homepage = 'https://github.com/ValenciaMgmt/tops_connect'
spec.license = 'MIT'
spec.files = `git ls-files -... | <|file_sep|>original/tops_connect.gemspec
spec.name = 'tops_connect'
spec.version = TopsConnect::VERSION
spec.authors = ['Steven Hoffman']
spec.email = ['shoffman@valenciamgmt.com']
spec.summary = 'Make use of the Tops Connect API'
spec.homepage = 'https://github.com/ValenciaMgmt/tops_connect'
spec.licen... | 3775f91820c928dbbf998be5e4b28db99a2196ca | tops_connect.gemspec | tops_connect.gemspec | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g grunt-cli
script:
- grunt --stack build metrics publish:latest
email:
on_failure: change
on_success: never
env:
global:
- S3_BUCKET_NAME=builds.handlebarsjs.com
- secure: ! 'PJaukuvkBBsSDOqb... | language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
script:
- grunt --stack build metrics publish:latest
email:
on_failure: change
on_success: never
env:
global:
- S3_BUCKET_NAME=builds.handlebarsjs.com
- secure: ! 'PJaukuvkBBsSDOqbIcNSSMgb96VVEaIt/eq9GPjXPeFbSd3h... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g grunt-cli
script:
- grunt --stack build metrics publish:latest
email:
on_failure: change
on_success: never
env:
global:
- S3_BUCKET_NAME=builds.handlebarsjs.com
- secure: ! 'PJaukuvkBBsSDOqb... | 83b5e10d703fb07f45b69fd444dcf154c06d6999 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/templates/generate_stuff.rb
generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('sc... | generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('scaffold widget name:string category:string instock... | <|file_sep|>original/templates/generate_stuff.rb
generate('rspec:install')
generate('controller wombats index') # plural
generate('controller welcome index') # singular
generate('integration_test widgets')
generate('mailer Notifications signup')
generate('model thing name:string')
generate('helper things')
generate('sc... | 06031aa02f24e1de3d1257b172c2a2ea53ed1b5f | templates/generate_stuff.rb | templates/generate_stuff.rb | Ruby |
<|file_sep|>original/README.md
# Helix
<|file_sep|>current/README.md
# Helix
<|file_sep|>updated/README.md | [](https://ci.hackerexperience.com/job/HackerExperience/Helix/master)
# Helix | <|file_sep|>original/README.md
# Helix
<|file_sep|>current/README.md
# Helix
<|file_sep|>updated/README.md
[](https://ci.hackerexperience.com/job/HackerExperience/Helix/master)
# Helix | 7e29f140318b1de28e58661b7ff1fe70f256bf92 | README.md | README.md | Markdown |
<|file_sep|>original/recipes/click-completion/meta.yaml
run:
- python
- six
- click
- jinja2
test:
imports:
- click_completion
about:
home: https://github.com/click-contrib/click-completion
license: MIT
license_file: LICENCE
license_family: MIT
summary: Enhanced completion for Click... | - jinja2
run:
- python
- six
- click
- jinja2
test:
imports:
- click_completion
about:
home: https://github.com/click-contrib/click-completion
license: MIT
license_family: MIT
summary: Enhanced completion for Click
extra:
recipe-maintainers:
- epruesse | <|file_sep|>original/recipes/click-completion/meta.yaml
run:
- python
- six
- click
- jinja2
test:
imports:
- click_completion
about:
home: https://github.com/click-contrib/click-completion
license: MIT
license_file: LICENCE
license_family: MIT
summary: Enhanced completion for Click... | c977487fba4efa267eab43a0b8562c9ed07097d9 | recipes/click-completion/meta.yaml | recipes/click-completion/meta.yaml | YAML |
<|file_sep|>original/docker/services/containers-common.yaml
heat_template_version: ocata
description: >
Contains a static list of common things necessary for containers
outputs:
volumes:
description: Common volumes for the containers.
value:
- /etc/hosts:/etc/hosts:ro
- /etc/localtime:/etc/loc... | heat_template_version: ocata
description: >
Contains a static list of common things necessary for containers
outputs:
volumes:
description: Common volumes for the containers.
value:
- /etc/hosts:/etc/hosts:ro
- /etc/localtime:/etc/localtime:ro
# OpenSSL trusted CAs
- /etc/pki/ca-tr... | <|file_sep|>original/docker/services/containers-common.yaml
heat_template_version: ocata
description: >
Contains a static list of common things necessary for containers
outputs:
volumes:
description: Common volumes for the containers.
value:
- /etc/hosts:/etc/hosts:ro
- /etc/localtime:/etc/loc... | f8f295be3ec1e1bced79aa37845edcbafa90577f | docker/services/containers-common.yaml | docker/services/containers-common.yaml | YAML |
<|file_sep|>original/petfinder.rb
require 'dotenv'
Dotenv.load
require 'petfinder'
require 'sinatra'
require 'json'
api_key = ENV['PETFINDER_API_KEY']
api_secret = ENV['PETFINDER_API_SECRET']
petfinder = Petfinder::Client.new(api_key, api_secret)
get '/pets' do
pets = petfinder.find_pets('cat', '49505')
names =... | require 'petfinder'
require 'sinatra'
require 'json'
api_key = ENV['PETFINDER_API_KEY']
api_secret = ENV['PETFINDER_API_SECRET']
petfinder = Petfinder::Client.new(api_key, api_secret)
get '/pets' do
pets = petfinder.find_pets('cat', '49505')
names = pets.map { |pet| pet.name }
{:names => names}.to_json
end
ge... | <|file_sep|>original/petfinder.rb
require 'dotenv'
Dotenv.load
require 'petfinder'
require 'sinatra'
require 'json'
api_key = ENV['PETFINDER_API_KEY']
api_secret = ENV['PETFINDER_API_SECRET']
petfinder = Petfinder::Client.new(api_key, api_secret)
get '/pets' do
pets = petfinder.find_pets('cat', '49505')
names =... | 6e2b0087bd61152b94c47459390293239d7d8384 | petfinder.rb | petfinder.rb | Ruby |
<|file_sep|>original/lib/worms.rb
require 'rubygems'
require 'gosu'
require 'rmagick'
require 'execjs'
WIDTH, HEIGHT = 600, 600
NULL_PIXEL = Magick::Pixel.from_color('none')
require_relative 'worms/version'
require_relative 'worms/js_play'
require_relative 'worms/js_play_params'
require_relative 'worms/map'
require_... | require 'rubygems'
require 'gosu'
require 'rmagick'
require 'execjs'
WIDTH, HEIGHT = 768, 600
NULL_PIXEL = Magick::Pixel.from_color('none')
require_relative 'worms/version'
require_relative 'worms/js_play'
require_relative 'worms/js_play_params'
require_relative 'worms/map'
require_relative 'worms/player'
require_re... | <|file_sep|>original/lib/worms.rb
require 'rubygems'
require 'gosu'
require 'rmagick'
require 'execjs'
WIDTH, HEIGHT = 600, 600
NULL_PIXEL = Magick::Pixel.from_color('none')
require_relative 'worms/version'
require_relative 'worms/js_play'
require_relative 'worms/js_play_params'
require_relative 'worms/map'
require_... | 8a3353203e1406d5d6c545946ec4499a6a7cde8b | lib/worms.rb | lib/worms.rb | Ruby |
<|file_sep|>metadata/de.bahnhoefe.deutschlands.bahnhofsfotos.yml.diff
original:
updated:
- versionName: 12.3.1
versionCode: 53
commit: 12.3.1
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/de.bahnhoefe.deutschlands.bahnhofsfotos.yml
gradle:
- yes
- versionName: 12.2.5
... | gradle:
- yes
- versionName: 12.3.0
versionCode: 52
commit: 12.3.0
subdir: app
gradle:
- yes
- versionName: 12.3.1
versionCode: 53
commit: 12.3.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 12.3.1
CurrentVersionC... | <|file_sep|>metadata/de.bahnhoefe.deutschlands.bahnhofsfotos.yml.diff
original:
updated:
- versionName: 12.3.1
versionCode: 53
commit: 12.3.1
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/de.bahnhoefe.deutschlands.bahnhofsfotos.yml
gradle:
- yes
- versionName: 12.2.5
... | 7d28605d0a47d18b4cbeb3bd06486dde754e9889 | metadata/de.bahnhoefe.deutschlands.bahnhofsfotos.yml | metadata/de.bahnhoefe.deutschlands.bahnhofsfotos.yml | YAML |
<|file_sep|>original/pkgs/applications/misc/opencpn/default.nix
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext
glib portaudio ];
cmakeFlags = [
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
"-DGTK2_GLIBCONFIG_INCLU... | };
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext
glib portaudio ];
cmakeFlags = [
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
];
enableParallelB... | <|file_sep|>original/pkgs/applications/misc/opencpn/default.nix
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext
glib portaudio ];
cmakeFlags = [
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
"-DGTK2_GLIBCONFIG_INCLU... | 2ebfacd249476b7454c3c0daebc4f1b59027b0d7 | pkgs/applications/misc/opencpn/default.nix | pkgs/applications/misc/opencpn/default.nix | Nix |
<|file_sep|>original/tests/test_java_mode.py
<|file_sep|>current/tests/test_java_mode.py
<|file_sep|>updated/tests/test_java_mode.py | import editor_manager
import editor_common
import curses
import curses.ascii
import keytab
from ped_test_util import read_str,validate_screen,editor_test_suite,play_macro,screen_size,match_attr
def test_java_mode(testdir,capsys):
with capsys.disabled():
def main(stdscr):
lines_to_test = [
... | <|file_sep|>original/tests/test_java_mode.py
<|file_sep|>current/tests/test_java_mode.py
<|file_sep|>updated/tests/test_java_mode.py
import editor_manager
import editor_common
import curses
import curses.ascii
import keytab
from ped_test_util import read_str,validate_screen,editor_test_suite,play_macro,screen_size,ma... | cd3f59026b9026d62537b38d4e9d70a740e88018 | tests/test_java_mode.py | tests/test_java_mode.py | Python |
<|file_sep|>original/composer.json
],
"homepage": "https://arda.pw/",
"license": "MIT",
"authors": [{
"name": "Arda Kilicdagi",
"email": "arda@kilicdagi.com"
}],
"require": {
"php": ">=5.6.4",
"guzzlehttp/guzzle": "6.5.2",
"illuminate/database": "6.14.0",
"symfony/console": "5.0.4",
... | ],
"homepage": "https://arda.pw/",
"license": "MIT",
"authors": [{
"name": "Arda Kilicdagi",
"email": "arda@kilicdagi.com"
}],
"require": {
"php": ">=5.6.4",
"guzzlehttp/guzzle": "6.5.2",
"illuminate/database": "6.15.0",
"symfony/console": "5.0.4",
"symfony/yaml": "5.0.4"
},
... | <|file_sep|>original/composer.json
],
"homepage": "https://arda.pw/",
"license": "MIT",
"authors": [{
"name": "Arda Kilicdagi",
"email": "arda@kilicdagi.com"
}],
"require": {
"php": ">=5.6.4",
"guzzlehttp/guzzle": "6.5.2",
"illuminate/database": "6.14.0",
"symfony/console": "5.0.4",
... | 48a3666764d290d01c6088089aa7d8a2be9a845b | composer.json | composer.json | JSON |
<|file_sep|>test/400-bay-water.py.diff
original:
updated:
# osm_id: 43950409 name: San Pablo Bay
<|file_sep|>original/test/400-bay-water.py
assert_has_feature(
14, 2623, 6318, 'water',
{ 'kind': 'bay', 'label_placement': 'yes' })
<|file_sep|>current/test/400-bay-water.py
# osm_id: 43950409 name: San Pablo Bay
... | # osm_id: 43950409 name: San Pablo Bay
assert_has_feature(
14, 2623, 6318, 'water',
{ 'kind': 'bay', 'label_placement': 'yes' })
# osm_id: 360566115 name: Byron strait
assert_has_feature(
14, 15043, 8311, 'water',
{ 'kind': 'strait', 'label_placement': 'yes' })
# osm_id: -1451065 name: Horsens Fjord
a... | <|file_sep|>test/400-bay-water.py.diff
original:
updated:
# osm_id: 43950409 name: San Pablo Bay
<|file_sep|>original/test/400-bay-water.py
assert_has_feature(
14, 2623, 6318, 'water',
{ 'kind': 'bay', 'label_placement': 'yes' })
<|file_sep|>current/test/400-bay-water.py
# osm_id: 43950409 name: San Pablo Bay
... | 29e491c5505d2068b46eb489044455968e53ab70 | test/400-bay-water.py | test/400-bay-water.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.