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|>src/Symfony/Bundle/WebServerBundle/DependencyInjection/WebServerExtension.php.diff
original:
updated:
use Symfony\Bridge\Monolog\Formatter\ConsoleFormatter;
<|file_sep|>original/src/Symfony/Bundle/WebServerBundle/DependencyInjection/WebServerExtension.php
* file that was distributed with this source code.... | use Symfony\Bridge\Monolog\Formatter\ConsoleFormatter;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
/**
* @author Robin Chalas <robin.... | <|file_sep|>src/Symfony/Bundle/WebServerBundle/DependencyInjection/WebServerExtension.php.diff
original:
updated:
use Symfony\Bridge\Monolog\Formatter\ConsoleFormatter;
<|file_sep|>original/src/Symfony/Bundle/WebServerBundle/DependencyInjection/WebServerExtension.php
* file that was distributed with this source code.... | b505ac7aec3ca71de137045e4549b09cd6791c02 | src/Symfony/Bundle/WebServerBundle/DependencyInjection/WebServerExtension.php | src/Symfony/Bundle/WebServerBundle/DependencyInjection/WebServerExtension.php | PHP |
<|file_sep|>translator/models.py.diff
original:
from django.utils.decorators import classproperty
updated:
<|file_sep|>original/translator/models.py
# coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from ta... | # coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from taggit.managers import TaggableManager
from translator.util import get_key
try:
# Django 3.1 and above
from django.utils.functional import classproperty
except ImportError:
from django.uti... | <|file_sep|>translator/models.py.diff
original:
from django.utils.decorators import classproperty
updated:
<|file_sep|>original/translator/models.py
# coding=utf-8
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.decorators import classproperty
from ta... | e6c9ceb3f838a613d182a3fdea961ca1f73e90c4 | translator/models.py | translator/models.py | Python |
<|file_sep|>original/osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
using osuTK;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
public class TestSceneCatchPlayerLegacySkin : LegacySkinPlayerTestScene
{
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();... | using osuTK;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
public class TestSceneCatchPlayerLegacySkin : LegacySkinPlayerTestScene
{
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
[Test]
public void TestLegacyHUDComboCounterHidden([Values] bool wi... | <|file_sep|>original/osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
using osuTK;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
public class TestSceneCatchPlayerLegacySkin : LegacySkinPlayerTestScene
{
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();... | a730349629c5b3f39a0107980a39bbb5161125cf | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | C# |
<|file_sep|>dataprep-backend-common/src/main/java/org/talend/dataprep/exception/TDPExceptionController.java.diff
original:
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
updated:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;... | public class TDPExceptionController {
public static final Logger LOGGER = LoggerFactory.getLogger(TDPExceptionController.class);
@ExceptionHandler(InternalException.class)
public @ResponseBody String handleInternalError(HttpServletResponse response, InternalException e) {
response.setStatus(HttpSe... | <|file_sep|>dataprep-backend-common/src/main/java/org/talend/dataprep/exception/TDPExceptionController.java.diff
original:
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
updated:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;... | 715e59c6078d69f6b5e1f4f19125b81e535586c4 | dataprep-backend-common/src/main/java/org/talend/dataprep/exception/TDPExceptionController.java | dataprep-backend-common/src/main/java/org/talend/dataprep/exception/TDPExceptionController.java | Java |
<|file_sep|>original/metadata/eu.prismsw.lampshade.txt
Repo Type:git
Repo:https://github.com/prismsw/Lampshade.git
Build:1.1.7,117
commit=v1.1.7
subdir=Lampshade
srclibs=ActionBarSherlock@6e3f2bb5
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties
Build:... | srclibs=ActionBarSherlock@6e3f2bb5
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties
Build:1.3.3,133
commit=v1.3.3
subdir=lampshade
maven=yes
prebuild=sed -i -e 's@/opt/android-sdk@$$SDK$$@g' -e '103,134d' pom.xml
target=android-21
Build:1.3... | <|file_sep|>original/metadata/eu.prismsw.lampshade.txt
Repo Type:git
Repo:https://github.com/prismsw/Lampshade.git
Build:1.1.7,117
commit=v1.1.7
subdir=Lampshade
srclibs=ActionBarSherlock@6e3f2bb5
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties
Build:... | 009c48619b8aea781f35b40e80f2d821de82ae62 | metadata/eu.prismsw.lampshade.txt | metadata/eu.prismsw.lampshade.txt | Text |
<|file_sep|>original/package.json
"file modification time",
"changed file",
"updated file",
"file size",
"replace text"
],
"engines": {
"node": ">= 0.8.0"
},
"peerDependencies": {
"grunt": "~0.4.1"
},
"homepage": "https://github.com/anseki/grunt-task-helper",
"repository": {
... | "file modification time",
"changed file",
"updated file",
"file size",
"replace text"
],
"engines": {
"node": ">= 0.8.0"
},
"peerDependencies": {
"grunt": ">=0.4.0"
},
"homepage": "https://github.com/anseki/grunt-task-helper",
"repository": {
"type": "git",
"url": "git:... | <|file_sep|>original/package.json
"file modification time",
"changed file",
"updated file",
"file size",
"replace text"
],
"engines": {
"node": ">= 0.8.0"
},
"peerDependencies": {
"grunt": "~0.4.1"
},
"homepage": "https://github.com/anseki/grunt-task-helper",
"repository": {
... | b13aa26dd90927676c4e3af16fa94d7793d98018 | package.json | package.json | JSON |
<|file_sep|>original/README.rst
====
|frigg|
A simple request mocker that caches requests to files.
Usage
-----
The example below will put the content of fixtures/example.com
into the body of the request and if it does not exist. ::
@rmoq.activate()
def test_remote_call():
response = requests.get(... | ====
|frigg|
A simple request mocker that caches requests to files.
Usage
-----
The example below will put the content of fixtures/example.com.txt
into the body of the request and if it does not exist the content
will be downloaded and stored in fixtures/example.com.txt. ::
@rmoq.activate()
def test_remot... | <|file_sep|>original/README.rst
====
|frigg|
A simple request mocker that caches requests to files.
Usage
-----
The example below will put the content of fixtures/example.com
into the body of the request and if it does not exist. ::
@rmoq.activate()
def test_remote_call():
response = requests.get(... | 53b79196c109b9aa9f0a6da5b67a147a5f15437c | README.rst | README.rst | reStructuredText |
<|file_sep|>.github/autolabeler.yml.diff
original:
'accessibility': []
updated:
<|file_sep|>.github/autolabeler.yml.diff
original:
'api: addons': []
'api: stories': []
updated:
<|file_sep|>.github/autolabeler.yml.diff
original:
'app: aurelia ': []
updated:
<|file_sep|>original/.github/autolabeler.yml
'addon: graphql... | 'addon: centered': ["addons/centered/**"]
'addon: events ': ["addons/events/**"]
'addon: graphql ': ["addons/graphql/**"]
'addon: info': ["addons/info/**"]
'addon: jest': ["addons/jest/**"]
'addon: knobs': ["addons/knobs/**"]
'addon: links': ["addons/links/**"]
'addon: notes': ["addons/notes/**"]
'addon: options': ["ad... | <|file_sep|>.github/autolabeler.yml.diff
original:
'accessibility': []
updated:
<|file_sep|>.github/autolabeler.yml.diff
original:
'api: addons': []
'api: stories': []
updated:
<|file_sep|>.github/autolabeler.yml.diff
original:
'app: aurelia ': []
updated:
<|file_sep|>original/.github/autolabeler.yml
'addon: graphql... | 119e7c599b33cfe74492aa76db0bc615e2ebf34a | .github/autolabeler.yml | .github/autolabeler.yml | YAML |
<|file_sep|>src/main/scala/com/codahale/jerkson/ser/CaseClassSerializer.scala.diff
original:
import org.codehaus.jackson.annotate.JsonIgnore
updated:
import org.codehaus.jackson.annotate.{JsonIgnore, JsonIgnoreProperties}
<|file_sep|>src/main/scala/com/codahale/jerkson/ser/CaseClassSerializer.scala.diff
original:
upda... | import org.codehaus.jackson.map.annotate.JsonCachable
import java.lang.reflect.Modifier
@JsonCachable
class CaseClassSerializer[A <: Product](klass: Class[_]) extends JsonSerializer[A] {
val jsonIgnoreProperties = Option(klass.getAnnotation(classOf[JsonIgnoreProperties]))
val jsonIgnoreArray = jsonIgnoreProperties... | <|file_sep|>src/main/scala/com/codahale/jerkson/ser/CaseClassSerializer.scala.diff
original:
import org.codehaus.jackson.annotate.JsonIgnore
updated:
import org.codehaus.jackson.annotate.{JsonIgnore, JsonIgnoreProperties}
<|file_sep|>src/main/scala/com/codahale/jerkson/ser/CaseClassSerializer.scala.diff
original:
upda... | 4f38f6f91f325f4822658ea94fecfa0314d96e82 | src/main/scala/com/codahale/jerkson/ser/CaseClassSerializer.scala | src/main/scala/com/codahale/jerkson/ser/CaseClassSerializer.scala | Scala |
<|file_sep|>original/CodeFights/arrayMaxConsecutiveSum.py
<|file_sep|>current/CodeFights/arrayMaxConsecutiveSum.py
<|file_sep|>updated/CodeFights/arrayMaxConsecutiveSum.py | #!/usr/local/bin/python
# Code Fights Array Max Consecutive Sum Problem
def arrayMaxConsecutiveSum(inputArray, k):
rolling_sum = sum(inputArray[:k])
max_sum = rolling_sum
i = 0
for j in range(k, len(inputArray)):
rolling_sum = rolling_sum + inputArray[j] - inputArray[i]
max_sum = max(r... | <|file_sep|>original/CodeFights/arrayMaxConsecutiveSum.py
<|file_sep|>current/CodeFights/arrayMaxConsecutiveSum.py
<|file_sep|>updated/CodeFights/arrayMaxConsecutiveSum.py
#!/usr/local/bin/python
# Code Fights Array Max Consecutive Sum Problem
def arrayMaxConsecutiveSum(inputArray, k):
rolling_sum = sum(inputAr... | 7881a0561dd74cfb792c06f824fde22e9764ea4c | CodeFights/arrayMaxConsecutiveSum.py | CodeFights/arrayMaxConsecutiveSum.py | Python |
<|file_sep|>original/.travis.yml
# Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt
# command to run tests using coverage, e.g.... | # Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt
# command to run tests using coverage, e.g. python setup.py test
script: cov... | <|file_sep|>original/.travis.yml
# Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt
# command to run tests using coverage, e.g.... | 4f459c5b02759d571971480ccb9af62eeb783514 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tsconfig.json.diff
original:
"target": "es6",
updated:
"target": "es2018",
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "out",
"lib": [
"es6"
],
"sourceMap": true,
"rootDir": "src",
"strict": true, /* enable all strict ty... | {
"compilerOptions": {
"module": "commonjs",
"target": "es2018",
"outDir": "out",
"lib": [
"es2018"
],
"sourceMap": true,
"rootDir": "src",
"strict": true, /* enable all strict type-checking options */
/* Additional Checks */
"noImplicitReturns": true, /* Report error when not all code paths in... | <|file_sep|>tsconfig.json.diff
original:
"target": "es6",
updated:
"target": "es2018",
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "out",
"lib": [
"es6"
],
"sourceMap": true,
"rootDir": "src",
"strict": true, /* enable all strict ty... | 1dd2f53d668e0a06d55aa68466ba86c5ebe12de5 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>app/src/main/java/com/example/android/androidsimulator/AddContactsActivity.java.diff
original:
updated:
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
<|file_sep|>app/src/main/java/com/example/android/androidsimulator/AddContactsActivity.java.diff
original:
updated:... | SharedPreferences preferences;
SharedPreferences.Editor editor;
EditText nameContact;
EditText numberContact;
Button buttonAddContact;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_add_cont... | <|file_sep|>app/src/main/java/com/example/android/androidsimulator/AddContactsActivity.java.diff
original:
updated:
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
<|file_sep|>app/src/main/java/com/example/android/androidsimulator/AddContactsActivity.java.diff
original:
updated:... | 789367476ffcc9a4b458c3e555a89fdc69d214f1 | app/src/main/java/com/example/android/androidsimulator/AddContactsActivity.java | app/src/main/java/com/example/android/androidsimulator/AddContactsActivity.java | Java |
<|file_sep|>zerver/migrations/0232_make_archive_transaction_field_not_nullable.py.diff
original:
updated:
<|file_sep|>zerver/migrations/0232_make_archive_transaction_field_not_nullable.py.diff
original:
updated:
"""
Tables cannot have data deleted from them and be altered in a single transaction,
but we ... | atomic = False
dependencies = [
('zerver', '0231_add_archive_transaction_model'),
]
operations = [
migrations.RunSQL("""
BEGIN;
DELETE FROM zerver_archivedusermessage;
DELETE FROM zerver_archivedreaction;
DELETE FROM zerver_archivedsubmessage;
DE... | <|file_sep|>zerver/migrations/0232_make_archive_transaction_field_not_nullable.py.diff
original:
updated:
<|file_sep|>zerver/migrations/0232_make_archive_transaction_field_not_nullable.py.diff
original:
updated:
"""
Tables cannot have data deleted from them and be altered in a single transaction,
but we ... | b8839302c0a4d8ada99a695f8829027fa433e05e | zerver/migrations/0232_make_archive_transaction_field_not_nullable.py | zerver/migrations/0232_make_archive_transaction_field_not_nullable.py | Python |
<|file_sep|>original/module/pipeAll.js
/**
* @module 1-liners/pipeAll
*
* @description
*
* Pipe arguments through an array of functions.
*
* @example
*
* const pipeAll = require('1-liners/pipeAll');
*
* pipeAll([f, g, h])(1, 2) === h(g(f(1, 2)));
*
*/
export default (fns) => fns.reverse().reduce( (f... | /**
* @module 1-liners/pipeAll
*
* @description
*
* Pipe arguments through an array of functions.
*
* @example
*
* const pipeAll = require('1-liners/pipeAll');
*
* pipeAll([f, g, h])(1, 2) === h(g(f(1, 2)));
*
*/
export default (fns) => fns.reduceRight( (f, g) => (...args) => f(g(...args)) ); | <|file_sep|>original/module/pipeAll.js
/**
* @module 1-liners/pipeAll
*
* @description
*
* Pipe arguments through an array of functions.
*
* @example
*
* const pipeAll = require('1-liners/pipeAll');
*
* pipeAll([f, g, h])(1, 2) === h(g(f(1, 2)));
*
*/
export default (fns) => fns.reverse().reduce( (f... | a181a6eacd0f766b57df4477d50ba9a5f792ab58 | module/pipeAll.js | module/pipeAll.js | JavaScript |
<|file_sep|>original/package.json
"url": "git://github.com/whiteout-io/mimeparser.git"
},
"main": "src/mimeparser",
"dependencies": {
"mimefuncs": "~0.3.5",
"wo-addressparser": "~0.1.3"
},
"devDependencies": {
"chai": "~1.8.1",
"grunt": "~0.4.1",
"grunt-mocha-phantomjs": "~0.4.0",
... | "url": "git://github.com/whiteout-io/mimeparser.git"
},
"main": "src/mimeparser",
"dependencies": {
"mimefuncs": "~0.3.5",
"wo-addressparser": "~0.1.3"
},
"devDependencies": {
"chai": "~1.8.1",
"grunt": "~0.4.1",
"grunt-mocha-phantomjs": "~0.4.0",
"grunt-contrib-connect": "~0.6.0",... | <|file_sep|>original/package.json
"url": "git://github.com/whiteout-io/mimeparser.git"
},
"main": "src/mimeparser",
"dependencies": {
"mimefuncs": "~0.3.5",
"wo-addressparser": "~0.1.3"
},
"devDependencies": {
"chai": "~1.8.1",
"grunt": "~0.4.1",
"grunt-mocha-phantomjs": "~0.4.0",
... | 4b50db41346492820c6b2a015e9987f1cf13ae1c | package.json | package.json | JSON |
<|file_sep|>original/Source/Qvision.Umbraco.PollIt/Controllers/ApiControllers/AnswerApiController.cs
public class AnswerApiController : UmbracoAuthorizedJsonController
{
[HttpPost]
public HttpResponseMessage Post(Answer answer)
{
var result = AnswerRepository.Current.Save(ans... | public class AnswerApiController : UmbracoAuthorizedJsonController
{
[HttpPost]
public HttpResponseMessage Post(Answer answer)
{
var result = AnswerRepository.Current.Save(answer);
if (result != null)
{
PollItCacheRefresher.ClearCache(... | <|file_sep|>original/Source/Qvision.Umbraco.PollIt/Controllers/ApiControllers/AnswerApiController.cs
public class AnswerApiController : UmbracoAuthorizedJsonController
{
[HttpPost]
public HttpResponseMessage Post(Answer answer)
{
var result = AnswerRepository.Current.Save(ans... | fa4e997380a25b47817edbb2e3cbff6740505575 | Source/Qvision.Umbraco.PollIt/Controllers/ApiControllers/AnswerApiController.cs | Source/Qvision.Umbraco.PollIt/Controllers/ApiControllers/AnswerApiController.cs | C# |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"noImplicitAny": false,
"module": "es2015",
"target": "es5",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"noEmitHelpers": true... | {
"compilerOptions": {
"noImplicitAny": false,
"module": "commonjs",
"target": "es5",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"noEmitHelpers": true,
"noEmitOnError": true,
... | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"noImplicitAny": false,
"module": "es2015",
"target": "es5",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"noEmitHelpers": true... | 79915abc7b4f68297028e3321e948cd3bbd46018 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/README.md
# DHCP4 - A DHCP library written in Go.
## Author
http://richard.warburton.it/
## Quick Start
See example_test.go for how to use this library to create a basic server.
## Documentation
http://godoc.org/github.com/krolaw/dhcp4
## Thanks
Special thanks to https://github.com/pietern for ... | # DHCP4 - A DHCP library written in Go.
## Author
http://richard.warburton.it/
## Quick Start
See example_test.go for how to use this library to create a basic server.
## Documentation
http://godoc.org/github.com/krolaw/dhcp4
## Thanks
Special thanks to https://github.com/pietern for suggesting how to use go.net
to... | <|file_sep|>original/README.md
# DHCP4 - A DHCP library written in Go.
## Author
http://richard.warburton.it/
## Quick Start
See example_test.go for how to use this library to create a basic server.
## Documentation
http://godoc.org/github.com/krolaw/dhcp4
## Thanks
Special thanks to https://github.com/pietern for ... | 3641f97e147595e8dd20d02aa0101bfb7dd79c2c | README.md | README.md | Markdown |
<|file_sep|>config/routes.rb.diff
original:
ActionController::Routing::Routes.draw do |map|
updated:
# Rails 3 depreciates ActionController::Routing::Routes
routes = (Rails.respond_to?(:application) ? Rails.application.routes : ActionController::Routing::Routes)
routes.draw do |map|
<|file_sep|>original/config/routes... | # Rails 3 depreciates ActionController::Routing::Routes
routes = (Rails.respond_to?(:application) ? Rails.application.routes : ActionController::Routing::Routes)
routes.draw do |map|
if Authorization::activate_authorization_rules_browser?
map.resources :authorization_rules, :only => [:index],
:collectio... | <|file_sep|>config/routes.rb.diff
original:
ActionController::Routing::Routes.draw do |map|
updated:
# Rails 3 depreciates ActionController::Routing::Routes
routes = (Rails.respond_to?(:application) ? Rails.application.routes : ActionController::Routing::Routes)
routes.draw do |map|
<|file_sep|>original/config/routes... | ad95b833bfbac7952c625add9181448bf476b447 | config/routes.rb | config/routes.rb | Ruby |
<|file_sep|>scripts/configuration-bash.sh.diff
original:
pushd ~/
updated:
<|file_sep|>original/scripts/configuration-bash.sh
echo
echo "Configuring bash with bash-it"
brew install grc
brew install coreutils
cp files/dircolors.ansi-dark ~/.dircolors
cp files/.inputrc ~/.inputrc
rm -rf ~/.bash_it
pushd ~/
git clone htt... | echo
echo "Configuring bash with bash-it"
brew install grc
brew install coreutils
cp files/dircolors.ansi-dark ~/.dircolors
cp files/.inputrc ~/.inputrc
rm -rf ~/.bash_it
git clone https://github.com/Bash-it/bash-it.git ~/.bash_it
cp files/add_user_initials_to_git_prompt_info.bash ~/.bash_it/custom
cp files/bobby_pivot... | <|file_sep|>scripts/configuration-bash.sh.diff
original:
pushd ~/
updated:
<|file_sep|>original/scripts/configuration-bash.sh
echo
echo "Configuring bash with bash-it"
brew install grc
brew install coreutils
cp files/dircolors.ansi-dark ~/.dircolors
cp files/.inputrc ~/.inputrc
rm -rf ~/.bash_it
pushd ~/
git clone htt... | 9b89735847e5a517b8185c34505beee8429903a0 | scripts/configuration-bash.sh | scripts/configuration-bash.sh | Shell |
<|file_sep|>original/sqlcipher_flutter_libs/pubspec.yaml
name: sqlcipher_flutter_libs
description: Flutter plugin to include native SQLCipher libraries in your app
version: 0.0.1
homepage: https://github.com/simolus3/sqlite3.dart/tree/master/slcipher_flutter_libs
issue_tracker: https://github.com/simolus3/sqlite3.dart/... | name: sqlcipher_flutter_libs
description: Flutter plugin to include native SQLCipher libraries in your app
version: 0.0.1
homepage: https://github.com/simolus3/sqlite3.dart/tree/master/slcipher_flutter_libs
issue_tracker: https://github.com/simolus3/sqlite3.dart/issues
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ... | <|file_sep|>original/sqlcipher_flutter_libs/pubspec.yaml
name: sqlcipher_flutter_libs
description: Flutter plugin to include native SQLCipher libraries in your app
version: 0.0.1
homepage: https://github.com/simolus3/sqlite3.dart/tree/master/slcipher_flutter_libs
issue_tracker: https://github.com/simolus3/sqlite3.dart/... | f01c09933b9d0cc0f4098408f855ff00769a5757 | sqlcipher_flutter_libs/pubspec.yaml | sqlcipher_flutter_libs/pubspec.yaml | YAML |
<|file_sep|>original/roles/nginx/defaults/main.yml
---
nginx_path: /etc/nginx
nginx_logs_root: /var/log/nginx
nginx_user: www-data
nginx_fastcgi_buffers: 8 8k
nginx_fastcgi_buffer_size: 8k
nginx_ssl_path: "{{ nginx_path }}/ssl"
# HSTS defaults
nginx_hsts_max_age: 31536000
nginx_hsts_include_subdomains: true
nginx_hsts... | ---
nginx_path: /etc/nginx
nginx_logs_root: /var/log/nginx
nginx_user: www-data
nginx_fastcgi_buffers: 8 8k
nginx_fastcgi_buffer_size: 8k
nginx_ssl_path: "{{ nginx_path }}/ssl"
# HSTS defaults
nginx_hsts_max_age: 31536000
nginx_hsts_include_subdomains: true
nginx_hsts_preload: true
# Fastcgi cache params
nginx_cache_... | <|file_sep|>original/roles/nginx/defaults/main.yml
---
nginx_path: /etc/nginx
nginx_logs_root: /var/log/nginx
nginx_user: www-data
nginx_fastcgi_buffers: 8 8k
nginx_fastcgi_buffer_size: 8k
nginx_ssl_path: "{{ nginx_path }}/ssl"
# HSTS defaults
nginx_hsts_max_age: 31536000
nginx_hsts_include_subdomains: true
nginx_hsts... | 52f636d809f9d2bfdc8db7244831a69db4f9650a | roles/nginx/defaults/main.yml | roles/nginx/defaults/main.yml | YAML |
<|file_sep|>original/requirements/production.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
boto3==1.4.7 # AWS S3 Europe
boto==2.47.0 # e24cloud files
django-storages==1.6.3
Collectfa... |
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
boto3==1.4.7 # AWS S3 Europe
boto==2.48.0 # e24cloud files
django-storages==1.6.3
Collectfast==0.5.2
# Email backends for Mailgun, Postmark... | <|file_sep|>original/requirements/production.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
boto3==1.4.7 # AWS S3 Europe
boto==2.47.0 # e24cloud files
django-storages==1.6.3
Collectfa... | 30a37e408520587c90aa20791684b77bc86774b4 | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>app/services/pickup_cards.rb.diff
original:
validate_cards_available
pickup_card if errors.none?
updated:
number_of_pickups.times { pickup_card }
<|file_sep|>app/services/pickup_cards.rb.diff
original:
def validate_cards_available
# TODO this seems to imply the shuffle service needs ... | end
def errors
@errors ||= []
end
private
def pickup_card
if round.deck.any?
card = round.deck.pickup
player.pickup!(card)
else
errors.push "no cards in deck"
end
end
def end_turn
round.game.round_counter += 1
end
end | <|file_sep|>app/services/pickup_cards.rb.diff
original:
validate_cards_available
pickup_card if errors.none?
updated:
number_of_pickups.times { pickup_card }
<|file_sep|>app/services/pickup_cards.rb.diff
original:
def validate_cards_available
# TODO this seems to imply the shuffle service needs ... | ee2753021cc29dc7118f758b8945ddfe626a9088 | app/services/pickup_cards.rb | app/services/pickup_cards.rb | Ruby |
<|file_sep|>original/package.json
"bugs": {
"url": "https://github.com/DemocracyOS/notifier/issues"
},
"homepage": "https://github.com/DemocracyOS/notifier",
"dependencies": {
"agenda": "DemocracyOS/agenda",
"async": "2.1.2",
"debug": "2.2.0",
"defaults-deep": "0.2.3",
"pug": "2.0.0-beta... | "bugs": {
"url": "https://github.com/DemocracyOS/notifier/issues"
},
"homepage": "https://github.com/DemocracyOS/notifier",
"dependencies": {
"agenda": "DemocracyOS/agenda",
"async": "2.1.2",
"debug": "2.2.0",
"defaults-deep": "0.2.3",
"pug": "2.0.0-beta6",
"moment": "2.15.2",
"m... | <|file_sep|>original/package.json
"bugs": {
"url": "https://github.com/DemocracyOS/notifier/issues"
},
"homepage": "https://github.com/DemocracyOS/notifier",
"dependencies": {
"agenda": "DemocracyOS/agenda",
"async": "2.1.2",
"debug": "2.2.0",
"defaults-deep": "0.2.3",
"pug": "2.0.0-beta... | 58202386934caaf0db4330dcd8c372d50d0b2868 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
- ruby-head
before_install:
- "gem update --system"
- "gem update bundler"
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
- ruby-head
before_ins... | language: ruby
cache: bundler
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
before_install:
- "gem update --system"
- "gem update bundler" | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
- ruby-head
before_install:
- "gem update --system"
- "gem update bundler"
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
- ruby-head
before_ins... | abae44e3d0eb7022df562b7c366bd2f418d324fc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/recipe/build.sh
#!/bin/bash
cd source
chmod +x configure install-sh
./configure --prefix="$PREFIX" \
--disable-samples \
--disable-extras \
--disable-layout \
--disable-tests \
--enable-static
make -j$CPU_COUNT
make check
make install
rm -rf $PREFIX/sbin
<|file_sep|>current/... | #!/bin/bash
cd source
chmod +x configure install-sh
./configure --prefix="$PREFIX" \
--enable-rpath \
--disable-samples \
--disable-extras \
--disable-layout \
--disable-tests \
--enable-static
make -j$CPU_COUNT
make check
make install
rm -rf $PREFIX/sbin | <|file_sep|>original/recipe/build.sh
#!/bin/bash
cd source
chmod +x configure install-sh
./configure --prefix="$PREFIX" \
--disable-samples \
--disable-extras \
--disable-layout \
--disable-tests \
--enable-static
make -j$CPU_COUNT
make check
make install
rm -rf $PREFIX/sbin
<|file_sep|>current/... | 63677826e7bf27c4b74e491af54eb9a20d596a0c | recipe/build.sh | recipe/build.sh | Shell |
<|file_sep|>www/CMakeLists.txt.diff
original:
set (npm "npm")
updated:
# TODO: This will probably not hold on any platform but windows:
set (npm "npm.cmd")
<|file_sep|>www/CMakeLists.txt.diff
original:
updated:
message ("-- Downloading and installing dependencies via npm")
<|file_sep|>original/www/CMakeLists.txt
set (... | # TODO: This will probably not hold on any platform but windows:
set (npm "npm.cmd")
set (npm_args "install")
message ("-- Downloading and installing dependencies via npm")
execute_process(COMMAND ${npm} ${npm_args}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
file(GLOB_RECURSE app ${CMAKE_SOURCE_DI... | <|file_sep|>www/CMakeLists.txt.diff
original:
set (npm "npm")
updated:
# TODO: This will probably not hold on any platform but windows:
set (npm "npm.cmd")
<|file_sep|>www/CMakeLists.txt.diff
original:
updated:
message ("-- Downloading and installing dependencies via npm")
<|file_sep|>original/www/CMakeLists.txt
set (... | 249d224fd44e71c40466fdfe2dc1a17e0a29a412 | www/CMakeLists.txt | www/CMakeLists.txt | Text |
<|file_sep|>original/app/src/main/AndroidManifest.xml
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity android:na... |
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity android:name=".MainActivity">
<intent-filter>
... | <|file_sep|>original/app/src/main/AndroidManifest.xml
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity android:na... | 6af0cee26129466d0ee09a1d42671aa8b7e2e61a | app/src/main/AndroidManifest.xml | app/src/main/AndroidManifest.xml | XML |
<|file_sep|>SVNetworking/SVNetworking/SVNetworking.h.diff
original:
updated:
#import <SVNetworking/SVRemoteDataRequestResource.h>
<|file_sep|>original/SVNetworking/SVNetworking/SVNetworking.h
//
// SVNetworking.h
// SVNetworking
//
// Created by Nate Stedman on 3/14/14.
// Copyright (c) 2014 Svpply. All rights res... | //
// SVNetworking.h
// SVNetworking
//
// Created by Nate Stedman on 3/14/14.
// Copyright (c) 2014 Svpply. All rights reserved.
//
#import <SVNetworking/NSObject+SVBindings.h>
#import <SVNetworking/NSObject+SVMultibindings.h>
#import <SVNetworking/SVDataRequest.h>
#import <SVNetworking/SVDiskCache.h>
#import <SV... | <|file_sep|>SVNetworking/SVNetworking/SVNetworking.h.diff
original:
updated:
#import <SVNetworking/SVRemoteDataRequestResource.h>
<|file_sep|>original/SVNetworking/SVNetworking/SVNetworking.h
//
// SVNetworking.h
// SVNetworking
//
// Created by Nate Stedman on 3/14/14.
// Copyright (c) 2014 Svpply. All rights res... | 5781c503d06f05637262564eafbb324adb39b344 | SVNetworking/SVNetworking/SVNetworking.h | SVNetworking/SVNetworking/SVNetworking.h | C |
<|file_sep|>original/easy_thumbnails/migrations/__init__.py
<|file_sep|>current/easy_thumbnails/migrations/__init__.py
<|file_sep|>updated/easy_thumbnails/migrations/__init__.py | """
Django migrations for easy_thumbnails app
This package does not contain South migrations. South migrations can be found
in the ``south_migrations`` package.
"""
SOUTH_ERROR_MESSAGE = """\n
For South support, customize the SOUTH_MIGRATION_MODULES setting like so:
SOUTH_MIGRATION_MODULES = {
'easy_thu... | <|file_sep|>original/easy_thumbnails/migrations/__init__.py
<|file_sep|>current/easy_thumbnails/migrations/__init__.py
<|file_sep|>updated/easy_thumbnails/migrations/__init__.py
"""
Django migrations for easy_thumbnails app
This package does not contain South migrations. South migrations can be found
in the ``south... | d6c5f3f8ae7a830b49ebb87fdda4b0b1d0bbf916 | easy_thumbnails/migrations/__init__.py | easy_thumbnails/migrations/__init__.py | Python |
<|file_sep|>original/src/delir-core/plugin-example/package.json
{
"name": "delir-plugin-example",
"version": "0.0.0",
"description": "Example plugin for Delir",
"main": "dist/index.js",
"repository": "git@github.com:Ragg-/delir-plugin-example.git",
"author": "Ragg <ragg.devpr@gmail.com>",
"license": "MIT"... | {
"name": "delir-plugin-example",
"version": "0.0.0",
"description": "Example plugin for Delir",
"main": "dist/index.js",
"repository": "git@github.com:Ragg-/delir-plugin-example.git",
"author": "Ragg <ragg.devpr@gmail.com>",
"license": "MIT",
"scripts": {
"dev": "./node_modules/.bin/webpack --watch... | <|file_sep|>original/src/delir-core/plugin-example/package.json
{
"name": "delir-plugin-example",
"version": "0.0.0",
"description": "Example plugin for Delir",
"main": "dist/index.js",
"repository": "git@github.com:Ragg-/delir-plugin-example.git",
"author": "Ragg <ragg.devpr@gmail.com>",
"license": "MIT"... | 958d51d23e4fd7661f2409066839d26f4b02a40c | src/delir-core/plugin-example/package.json | src/delir-core/plugin-example/package.json | JSON |
<|file_sep|>original/src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java
<|file_sep|>current/src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java
<|file_sep|>updated/src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java | package org.simpleframework.xml.core;
import java.io.StringWriter;
import junit.framework.TestCase;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Path;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.Serializer;
public class PathConstructorAmbiguityTest extends TestCas... | <|file_sep|>original/src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java
<|file_sep|>current/src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java
<|file_sep|>updated/src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java
package org.simpleframewor... | a48405fa62172b4e6e7196183144fe21dff13357 | src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java | src/test/java/org/simpleframework/xml/core/PathConstructorAmbiguityTest.java | Java |
<|file_sep|>original/README.md
# timed_roslaunch
refer to [Can I run a bash script using roslaunch?](http://answers.ros.org/question/51474/can-i-run-a-bash-script-using-roslaunch/)
<|file_sep|>current/README.md
# timed_roslaunch
refer to [Can I run a bash script using roslaunch?](http://answers.ros.org/question/51474/c... | # timed_roslaunch
refer to [Can I run a bash script using roslaunch?](http://answers.ros.org/question/51474/can-i-run-a-bash-script-using-roslaunch/)
## Usage
This script can delay the launch of a roslaunch file.
Place it in the 'scripts' folder of your catkin package
and make sure that the file is executable (chmod ... | <|file_sep|>original/README.md
# timed_roslaunch
refer to [Can I run a bash script using roslaunch?](http://answers.ros.org/question/51474/can-i-run-a-bash-script-using-roslaunch/)
<|file_sep|>current/README.md
# timed_roslaunch
refer to [Can I run a bash script using roslaunch?](http://answers.ros.org/question/51474/c... | f225317048d50c22998ec6a2d8581286e400908b | README.md | README.md | Markdown |
<|file_sep|>original/ephemera/patch_release.md
<|file_sep|>current/ephemera/patch_release.md
<|file_sep|>updated/ephemera/patch_release.md | # Building Kubernetes patch releases
This document describes the process for creating Kubernetes patch releases and communicating publishing
status regarding known issues impacting the current release.
## Process
After a Kubernetes minor release, patch releases are managed by the Kubenretes patch release manager.
Th... | <|file_sep|>original/ephemera/patch_release.md
<|file_sep|>current/ephemera/patch_release.md
<|file_sep|>updated/ephemera/patch_release.md
# Building Kubernetes patch releases
This document describes the process for creating Kubernetes patch releases and communicating publishing
status regarding known issues impacti... | 2d7a08e7329a0a4d0f901e323d28da0d313d06e4 | ephemera/patch_release.md | ephemera/patch_release.md | Markdown |
<|file_sep|>original/run.sh
#!/bin/bash
LOGSTASH_CONFIG_FILE="/opt/logstash.conf"
LOGSTASH_CONFIG_URL=${LOGSTASH_CONFIG_URL:-}
if [ -z "${LOGSTASH_CONFIG_URL}" ]; then
LOGSTASH_CONFIG_URL="https://gist.github.com/pblittle/8778567/raw/b6ea950e17fbd2b657c850b11f34d1d754c327d2/logstash.conf"
fi
wget $LOGSTASH_CONFI... | #!/bin/bash
LOGSTASH_CONFIG_FILE="/opt/logstash.conf"
LOGSTASH_CONFIG_URL=${LOGSTASH_CONFIG_URL:-}
if [ -z "${LOGSTASH_CONFIG_URL}" ]; then
LOGSTASH_CONFIG_URL="https://gist.github.com/pblittle/8778567/raw/logstash.conf"
fi
wget $LOGSTASH_CONFIG_URL -O $LOGSTASH_CONFIG_FILE
sed -e "s/ES_HOST/${ES_PORT_9200_TCP_... | <|file_sep|>original/run.sh
#!/bin/bash
LOGSTASH_CONFIG_FILE="/opt/logstash.conf"
LOGSTASH_CONFIG_URL=${LOGSTASH_CONFIG_URL:-}
if [ -z "${LOGSTASH_CONFIG_URL}" ]; then
LOGSTASH_CONFIG_URL="https://gist.github.com/pblittle/8778567/raw/b6ea950e17fbd2b657c850b11f34d1d754c327d2/logstash.conf"
fi
wget $LOGSTASH_CONFI... | e4b0e4ce8893181a02569aefc587f170c1fc939e | run.sh | run.sh | Shell |
<|file_sep|>original/app/views/admin_spam_addresses/index.html.erb
<% @title = 'Spam Addresses' %>
<h1><%= @title %></h1>
<div class="row">
<div class="span12">
<%= form_for(@spam_address, :html => { :class => 'form-inline' }) do |f| -%>
<%= error_messages_for @spam_address %>
<%= ... | <% @title = 'Spam Addresses' %>
<h1><%= @title %></h1>
<div class="row">
<div class="span12">
<p>
Incoming mail that gets redirected to the holding pen will be
rejected if it is sent <code>To:</code> an address on this
list.
</p>
</div>
</div>
<hr />
<div ... | <|file_sep|>original/app/views/admin_spam_addresses/index.html.erb
<% @title = 'Spam Addresses' %>
<h1><%= @title %></h1>
<div class="row">
<div class="span12">
<%= form_for(@spam_address, :html => { :class => 'form-inline' }) do |f| -%>
<%= error_messages_for @spam_address %>
<%= ... | 4f84ec8a12479ec8ca96e4a143696b737dba37ca | app/views/admin_spam_addresses/index.html.erb | app/views/admin_spam_addresses/index.html.erb | HTML+ERB |
<|file_sep|>original/src/ServiceStack.Common/Web/HttpHeaders.cs
public const string XForwardedFor = "X-Forwarded-For";
public const string XRealIp = "X-Real-IP";
public const string Referer = "Referer";
public const string CacheControl = "Cache-Control";
public const string I... | public const string XForwardedFor = "X-Forwarded-For";
public const string XRealIp = "X-Real-IP";
public const string Referer = "Referer";
public const string CacheControl = "Cache-Control";
public const string IfModifiedSince = "If-Modified-Since";
public const stri... | <|file_sep|>original/src/ServiceStack.Common/Web/HttpHeaders.cs
public const string XForwardedFor = "X-Forwarded-For";
public const string XRealIp = "X-Real-IP";
public const string Referer = "Referer";
public const string CacheControl = "Cache-Control";
public const string I... | 9c3e74131f01a804661539b3f00f4010a4946390 | src/ServiceStack.Common/Web/HttpHeaders.cs | src/ServiceStack.Common/Web/HttpHeaders.cs | C# |
<|file_sep|>original/README.md
## Usage
```php
use Which1ispink\Session\Session;
// this needs to be called in your bootstrapping code like an index.php file
Session::init();
// setting a session variable
Session::set('username', 'some_username);
// getting said variable later
Session::get('username');
// get all... |
## Usage
```php
use Which1ispink\Session\Session;
// this needs to be called in your bootstrapping code like an index.php file
Session::init();
// setting a session variable
Session::set('username', 'some_username');
// getting said variable later
Session::get('username');
// get all session contents
Session::all... | <|file_sep|>original/README.md
## Usage
```php
use Which1ispink\Session\Session;
// this needs to be called in your bootstrapping code like an index.php file
Session::init();
// setting a session variable
Session::set('username', 'some_username);
// getting said variable later
Session::get('username');
// get all... | df7fbe16989ed42fc52118638b93d02d62bb762b | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# fsun:template-elements
A Meteor package providing commonly used template elements to simplify Meteor
application development. Users can compose javascript objects to control
the display and callback actions of the elements.
The package works with bootstrap and fontawesome, but it does ... | # fsun:template-elements
[](https://travis-ci.org/sf-wind/meteor-template-elements)
A Meteor package providing commonly used template elements to simplify Meteor
application development. Users can compose javascript objects to con... | <|file_sep|>original/README.md
# fsun:template-elements
A Meteor package providing commonly used template elements to simplify Meteor
application development. Users can compose javascript objects to control
the display and callback actions of the elements.
The package works with bootstrap and fontawesome, but it does ... | fde85a570b1946a29cbc53d33847dc6fce34a5d8 | README.md | README.md | Markdown |
<|file_sep|>original/src/config/config.php
/*
|--------------------------------------------------------------------------
| XSLTProcessor settings
|--------------------------------------------------------------------------
*/
'xsl' => array(
'phpfunctions' => true,
'profiling' => t... | /*
|--------------------------------------------------------------------------
| XSLTProcessor settings
|--------------------------------------------------------------------------
*/
'xsl' => array(
'phpfunctions' => true,
'profiling' => true,
// directory relative to `app`... | <|file_sep|>original/src/config/config.php
/*
|--------------------------------------------------------------------------
| XSLTProcessor settings
|--------------------------------------------------------------------------
*/
'xsl' => array(
'phpfunctions' => true,
'profiling' => t... | e0f3ce4bef355c1c3e54db331dbadc33c6c824c8 | src/config/config.php | src/config/config.php | PHP |
<|file_sep|>original/src/greuh_liberation.Default/init.sqf
enableSaving [ false, false ];
[] call compileFinal preprocessFileLineNumbers "scripts\shared\liberation_functions.sqf";
[] call compileFinal preprocessFileLineNumbers "scripts\shared\init_sectors.sqf";
[] call compileFinal preprocessFileLineNumbers "scripts\s... | build_confirmed = 0;
enableSaving [ false, false ];
[] call compileFinal preprocessFileLineNumbers "scripts\shared\liberation_functions.sqf";
[] call compileFinal preprocessFileLineNumbers "scripts\shared\init_sectors.sqf";
[] call compileFinal preprocessFileLineNumbers "scripts\shared\fetch_params.sqf";
[] call compi... | <|file_sep|>original/src/greuh_liberation.Default/init.sqf
enableSaving [ false, false ];
[] call compileFinal preprocessFileLineNumbers "scripts\shared\liberation_functions.sqf";
[] call compileFinal preprocessFileLineNumbers "scripts\shared\init_sectors.sqf";
[] call compileFinal preprocessFileLineNumbers "scripts\s... | ddf2ff54c919f4db0981f94a5aa8df48c45d9b03 | src/greuh_liberation.Default/init.sqf | src/greuh_liberation.Default/init.sqf | SQF |
<|file_sep|>original/packages/sa/safe-tensor.yaml
<|file_sep|>current/packages/sa/safe-tensor.yaml
<|file_sep|>updated/packages/sa/safe-tensor.yaml | homepage: https://github.com/nilsalex/safe-tensor#readme
changelog-type: markdown
hash: 9803b51c95bacb065c95360e387ced73d513d0e90a7ce23f7079cb8747857dea
test-bench-deps: {}
maintainer: nils.alex@fau.de
synopsis: Dependently typed tensor algebra
changelog: |
# Changelog
## [0.1.0.0] - 2020-07-07
Initial release.
... | <|file_sep|>original/packages/sa/safe-tensor.yaml
<|file_sep|>current/packages/sa/safe-tensor.yaml
<|file_sep|>updated/packages/sa/safe-tensor.yaml
homepage: https://github.com/nilsalex/safe-tensor#readme
changelog-type: markdown
hash: 9803b51c95bacb065c95360e387ced73d513d0e90a7ce23f7079cb8747857dea
test-bench-deps: ... | 824a25f414dc793688520f098dc8a483f8227a3d | packages/sa/safe-tensor.yaml | packages/sa/safe-tensor.yaml | YAML |
<|file_sep|>original/requirements.txt
docker==3.4.0
molecule==2.15.0
pytest==3.6.1
python-vagrant==0.5.15
tox==3.0.0
<|file_sep|>current/requirements.txt
docker==3.4.0
molecule==2.15.0
pytest==3.6.1
python-vagrant==0.5.15
tox==3.0.0
<|file_sep|>updated/requirements.txt | docker==3.4.0
molecule==2.15.0
pytest==3.6.2
python-vagrant==0.5.15
tox==3.0.0 | <|file_sep|>original/requirements.txt
docker==3.4.0
molecule==2.15.0
pytest==3.6.1
python-vagrant==0.5.15
tox==3.0.0
<|file_sep|>current/requirements.txt
docker==3.4.0
molecule==2.15.0
pytest==3.6.1
python-vagrant==0.5.15
tox==3.0.0
<|file_sep|>updated/requirements.txt
docker==3.4.0
molecule==2.15.0
pytest==3.6.2
pytho... | 8c2f1f6cd81af69457eb0a2c66023cf090513ed8 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/gem/tests/test_celery.py
<|file_sep|>current/gem/tests/test_celery.py
<|file_sep|>updated/gem/tests/test_celery.py | from django.test import TestCase
from mock import patch
class TestCelery(TestCase):
@patch('django.core.management.call_command')
def test_ensure_search_index_doesnt_call_command(self, call_command_patch):
from gem.celery import ensure_search_index_updated
ensure_search_index_updated('sender'... | <|file_sep|>original/gem/tests/test_celery.py
<|file_sep|>current/gem/tests/test_celery.py
<|file_sep|>updated/gem/tests/test_celery.py
from django.test import TestCase
from mock import patch
class TestCelery(TestCase):
@patch('django.core.management.call_command')
def test_ensure_search_index_doesnt_call_... | cc4d601b2b3e12ad3087f8cb959940192e945df3 | gem/tests/test_celery.py | gem/tests/test_celery.py | Python |
<|file_sep|>routes/main-routes.js.diff
original:
// Import node module
updated:
// Dependencies
<|file_sep|>routes/main-routes.js.diff
original:
import Home from '../src/home';
updated:
// Components
import Home from '../src/pages/home';
<|file_sep|>routes/main-routes.js.diff
original:
// Arrow functions
router.get('/'... | // Dependencies
import express from 'express';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
// Components
import Home from '../src/pages/home';
const router = express.Router();
// Export object
export default router.get('/', (req, res) => {
let html = ReactDOMServer.renderToString(<Hom... | <|file_sep|>routes/main-routes.js.diff
original:
// Import node module
updated:
// Dependencies
<|file_sep|>routes/main-routes.js.diff
original:
import Home from '../src/home';
updated:
// Components
import Home from '../src/pages/home';
<|file_sep|>routes/main-routes.js.diff
original:
// Arrow functions
router.get('/'... | 2e9fa3c2f76f528bdeeb82bbd97676a2445d37cf | routes/main-routes.js | routes/main-routes.js | JavaScript |
<|file_sep|>original/app/src/grunt/cssmin.js
/*
* CSSMIN: Compress CSS files
*/
module.exports = {
/*
* TARGET: Concats and minified library css
*/
installLibCss: {
options: {
compatibility: 'ie8',
relativeTo: 'css/',
target: 'css/'
},
fil... | /*
* CSSMIN: Compress CSS files
*/
module.exports = {
/*
* TARGET: Concats and minified library css
*/
installLibCss: {
options: {
compatibility: 'ie8',
rebase: true
},
files: {
'<%= path.dest.css %>/lib.css': [
'<%= path.s... | <|file_sep|>original/app/src/grunt/cssmin.js
/*
* CSSMIN: Compress CSS files
*/
module.exports = {
/*
* TARGET: Concats and minified library css
*/
installLibCss: {
options: {
compatibility: 'ie8',
relativeTo: 'css/',
target: 'css/'
},
fil... | 26f895209cf3f7d45d8d22a8d770f7867cb1e6e6 | app/src/grunt/cssmin.js | app/src/grunt/cssmin.js | JavaScript |
<|file_sep|>original/test/test_category.rb
<|file_sep|>current/test/test_category.rb
<|file_sep|>updated/test/test_category.rb | # frozen_string_literal: true
$LOAD_PATH.unshift(__dir__)
require 'helper'
describe Dimples::Category do
before do
@site = Dimples::Site.new(test_configuration)
end
describe 'with a custom name in the configuration' do
before { @category = Dimples::Category.new(@site, 'windows') }
it 'sets the co... | <|file_sep|>original/test/test_category.rb
<|file_sep|>current/test/test_category.rb
<|file_sep|>updated/test/test_category.rb
# frozen_string_literal: true
$LOAD_PATH.unshift(__dir__)
require 'helper'
describe Dimples::Category do
before do
@site = Dimples::Site.new(test_configuration)
end
describe 'wi... | fdab20625cf26291cfdff50a4ce8f11b8ca67ecb | test/test_category.rb | test/test_category.rb | Ruby |
<|file_sep|>original/manifest.json
{
"name": "Scherbifyer",
"description": "Make the current page scherbinin as hell",
"version": "2.0",
"permissions": [
"activeTab", "http://*/*", "https://*/*"
],
"background": {
"scripts": ["background.js"],
"persistent": false
},
"browser_action": {
"... | {
"name": "Scherbifyer",
"description": "Make the current page scherbinin as hell",
"version": "0.1",
"permissions": [
"activeTab", "http://*/*", "https://*/*"
],
"background": {
"scripts": ["background.js"],
"persistent": false
},
"browser_action": {
"default_title": "Make the current p... | <|file_sep|>original/manifest.json
{
"name": "Scherbifyer",
"description": "Make the current page scherbinin as hell",
"version": "2.0",
"permissions": [
"activeTab", "http://*/*", "https://*/*"
],
"background": {
"scripts": ["background.js"],
"persistent": false
},
"browser_action": {
"... | 8aa6bb344e48e0eaa1b196c1bb2f9a11b067b578 | manifest.json | manifest.json | JSON |
<|file_sep|>original/.github/workflows/main.yml
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Installing dependencies
run: |
sudo apt update && sudo apt install make -y
git clone http... | name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- name: Installing dependencies
run: |
sudo apt update && sudo apt install make -y
git clone https://github.com/estesp/manifest-tool && cd manifes... | <|file_sep|>original/.github/workflows/main.yml
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Installing dependencies
run: |
sudo apt update && sudo apt install make -y
git clone http... | 20c4e18d290a83e5f5f66533d09a19a0559f0067 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/testsuite/tests/typing-warnings/pr9244.ml
<|file_sep|>current/testsuite/tests/typing-warnings/pr9244.ml
<|file_sep|>updated/testsuite/tests/typing-warnings/pr9244.ml | (* TEST
flags = " -w A "
* expect
*)
module type U = sig end
[%%expect {|
module type U = sig end
|}]
module M : sig
module F2 (_ : U) : U
end = struct
module X = struct
let x = 13
end
module F1 (_ : U) = X
module F2 (M : U) = F1 (M)
end
[%%expect {| | <|file_sep|>original/testsuite/tests/typing-warnings/pr9244.ml
<|file_sep|>current/testsuite/tests/typing-warnings/pr9244.ml
<|file_sep|>updated/testsuite/tests/typing-warnings/pr9244.ml
(* TEST
flags = " -w A "
* expect
*)
module type U = sig end
[%%expect {|
module type U = sig end
|}]
module M : sig
modu... | 1c03659e340d0a959c2f4801b18caa24727859fb | testsuite/tests/typing-warnings/pr9244.ml | testsuite/tests/typing-warnings/pr9244.ml | OCaml |
<|file_sep|>original/app/views/shared/_project_filter.html.haml
= form_tag project_entities_path, method: 'get' do
%fieldset
%ul.nav.nav-pills.nav-stacked
%li{class: ("active" if params[:scope].blank?)}
= link_to project_filter_path(scope: nil) do
Everyone's
%li{class: ("active" if p... | = form_tag project_entities_path, method: 'get' do
%fieldset
- if current_user
%ul.nav.nav-pills.nav-stacked
%li{class: ("active" if params[:scope].blank?)}
= link_to project_filter_path(scope: nil) do
Everyone's
%li{class: ("active" if params[:scope] == 'assigned-to-me... | <|file_sep|>original/app/views/shared/_project_filter.html.haml
= form_tag project_entities_path, method: 'get' do
%fieldset
%ul.nav.nav-pills.nav-stacked
%li{class: ("active" if params[:scope].blank?)}
= link_to project_filter_path(scope: nil) do
Everyone's
%li{class: ("active" if p... | e21f727d49caf1e9320c1a8de77f2af2ad88e899 | app/views/shared/_project_filter.html.haml | app/views/shared/_project_filter.html.haml | Haml |
<|file_sep|>vim/plugin/settings/conqueterm.vim.diff
original:
" Run the current file in a ConqueTerm, great for ruby tests
let g:ConqueTerm_InsertOnEnter = 0
updated:
let g:ConqueTerm_InsertOnEnter = 1
<|file_sep|>original/vim/plugin/settings/conqueterm.vim
" Run the current file in a ConqueTerm, great for ruby tests
l... | let g:ConqueTerm_InsertOnEnter = 1
let g:ConqueTerm_CWInsert = 1
let g:ConqueTerm_Color = 2
let g:ConqueTerm_ReadUnfocused = 1 " update conqueterm buffer while we're not looking (for running tests)
" Open up a variety of commands in the ConqueTerm
nmap <silent> <Leader>cc :execute 'ConqueTermSplit script/console --irb... | <|file_sep|>vim/plugin/settings/conqueterm.vim.diff
original:
" Run the current file in a ConqueTerm, great for ruby tests
let g:ConqueTerm_InsertOnEnter = 0
updated:
let g:ConqueTerm_InsertOnEnter = 1
<|file_sep|>original/vim/plugin/settings/conqueterm.vim
" Run the current file in a ConqueTerm, great for ruby tests
l... | 0eab6e9ad66bbbaa21dbaa11ec4d2855ff8764e1 | vim/plugin/settings/conqueterm.vim | vim/plugin/settings/conqueterm.vim | VimL |
<|file_sep|>original/requirements.txt
google-api-python-client==1.6.2
requests==2.20.0
pykube==0.14.0
tarsnapper==0.4.0
aiochannel==0.2.2
structlog[dev]==17.2.0
attrs==17.3.0
pendulum==0.8.0
confcollect==0.2.3
isodate==0.5.4
python-dateutil==2.6.0
aiohttp==3.5.4
aiostream==0.2.4
boto3==1.5.25
yarl==1.1.1
# python-digit... | google-api-python-client==1.6.2
requests==2.20.0
pykube==0.14.0
tarsnapper==0.4.0
aiochannel==0.2.2
structlog[dev]==17.2.0
attrs==17.3.0
pendulum==0.8.0
confcollect==0.2.3
isodate==0.5.4
python-dateutil==2.6.0
aiohttp==3.5.4
aiostream==0.2.4
boto3==1.5.25
yarl==1.1.1
python-digitalocean==1.15.0 | <|file_sep|>original/requirements.txt
google-api-python-client==1.6.2
requests==2.20.0
pykube==0.14.0
tarsnapper==0.4.0
aiochannel==0.2.2
structlog[dev]==17.2.0
attrs==17.3.0
pendulum==0.8.0
confcollect==0.2.3
isodate==0.5.4
python-dateutil==2.6.0
aiohttp==3.5.4
aiostream==0.2.4
boto3==1.5.25
yarl==1.1.1
# python-digit... | 124025398a96ac892ef56fb1e76841f3e561aa64 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.lando.yml
tooling:
npm:
service: node
gulp:
service: node
robo:
service: appserver
cmd: /app/vendor/bin/robo
test:
service: appserver
cmd:
- /app/vendor/bin/robo
- test
drush:
service: appserver
cmd:
- drush
- --uri=https://dgreat.l... | globals:
gulp-cli: "latest"
tooling:
npm:
service: node
gulp:
service: node
robo:
service: appserver
cmd: /app/vendor/bin/robo
test:
service: appserver
cmd:
- /app/vendor/bin/robo
- test
drush:
service: appserver
cmd: drush --uri=https://dgreat.lndo.site
... | <|file_sep|>original/.lando.yml
tooling:
npm:
service: node
gulp:
service: node
robo:
service: appserver
cmd: /app/vendor/bin/robo
test:
service: appserver
cmd:
- /app/vendor/bin/robo
- test
drush:
service: appserver
cmd:
- drush
- --uri=https://dgreat.l... | 229f84b0eb061c883f03e40f3d8c5c79abca43f6 | .lando.yml | .lando.yml | YAML |
<|file_sep|>setup.cfg.diff
original:
# F812: list comprehension redefines ...
updated:
<|file_sep|>setup.cfg.diff
original:
# H233: Python 3.x incompatible use of print operator
# H301: one import per line
updated:
<|file_sep|>setup.cfg.diff
original:
# H401: docstring should not start with a space
# H403: multi line... |
[metadata]
description-file = readme.md
[nosetests]
exclude-dir=tests_django
[flake8]
# H202: assertRaises Exception too broad
# H306: imports not in alphabetical order (time, os)
# F401 imported but unused
# W391 blank line at end of file
ignore = H202,H306,F401,W391
max_line_length = 175
exclude =
.eggs,
.... | <|file_sep|>setup.cfg.diff
original:
# F812: list comprehension redefines ...
updated:
<|file_sep|>setup.cfg.diff
original:
# H233: Python 3.x incompatible use of print operator
# H301: one import per line
updated:
<|file_sep|>setup.cfg.diff
original:
# H401: docstring should not start with a space
# H403: multi line... | 4ea94053fa9a7b182cfc8dca18d358c2990c77eb | setup.cfg | setup.cfg | INI |
<|file_sep|>original/docs/requirements.txt
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
Django==2.0
-e .
<|file_sep|>current/docs/requirements.txt
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
Django==2.0
-e .
<|file_sep|>updated/docs/requirements.txt | sphinx==1.6.6
sphinx-rtd-theme==0.2.4
Django==2.0
-e . | <|file_sep|>original/docs/requirements.txt
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
Django==2.0
-e .
<|file_sep|>current/docs/requirements.txt
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
Django==2.0
-e .
<|file_sep|>updated/docs/requirements.txt
sphinx==1.6.6
sphinx-rtd-theme==0.2.4
Django==2.0
-e . | 8cb54ee5bf9b09ba93afbb9f2eca1c5ae2dcf5d0 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/fish/.config/fish/config.fish
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing pe... | # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# E... | <|file_sep|>original/fish/.config/fish/config.fish
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing pe... | e0e29b1487efe04ab0a41908445433e7588474df | fish/.config/fish/config.fish | fish/.config/fish/config.fish | fish |
<|file_sep|>asyncio_irc/connection.py.diff
original:
self.send(b'USER meshybot 0 * :MeshyBot7')
self.send(b'NICK meshybot')
updated:
self.send('USER meshybot 0 * :MeshyBot7')
self.send('NICK meshybot')
<|file_sep|>original/asyncio_irc/connection.py
def handle(self, raw_message):
... | message = Message(raw_message)
for listener in self.listeners:
listener.handle(self, message)
def on_connect(self):
"""Upon connection to the network, send user's credentials."""
self.send('USER meshybot 0 * :MeshyBot7')
self.send('NICK meshybot')
def send(s... | <|file_sep|>asyncio_irc/connection.py.diff
original:
self.send(b'USER meshybot 0 * :MeshyBot7')
self.send(b'NICK meshybot')
updated:
self.send('USER meshybot 0 * :MeshyBot7')
self.send('NICK meshybot')
<|file_sep|>original/asyncio_irc/connection.py
def handle(self, raw_message):
... | 0f20599968b2ab848f8e3fde912f8d0ecdfba509 | asyncio_irc/connection.py | asyncio_irc/connection.py | Python |
<|file_sep|>gocat.go.diff
original:
if len(ARGV) >= 1 {
updated:
if len(ARGV) == 0 {
// Read stdin only
io.Copy(os.Stdout, os.Stdin)
} else {
// Read ARGV only
<|file_sep|>original/gocat.go
if filename == "--" {
continue
}
// - means read stdin as a special case
if filename == "-" {
filen... | continue
}
// - means read stdin as a special case
if filename == "-" {
filename = "/dev/stdin"
}
// Otherwise we're after a file itself
f, err := os.Open(filename)
if err != nil {
fmt.Fprintf(os.Stderr, "gocat: %s: No such file or directory\n", filename)
continue
}
// Copy... | <|file_sep|>gocat.go.diff
original:
if len(ARGV) >= 1 {
updated:
if len(ARGV) == 0 {
// Read stdin only
io.Copy(os.Stdout, os.Stdin)
} else {
// Read ARGV only
<|file_sep|>original/gocat.go
if filename == "--" {
continue
}
// - means read stdin as a special case
if filename == "-" {
filen... | b036222a738c50f73e9f376da31424f73a58cd79 | gocat.go | gocat.go | Go |
<|file_sep|>src/nodemgr/database_nodemgr/common.py.diff
original:
"--debug"])
updated:
"--debug"], close_fds=True)
<|file_sep|>original/src/nodemgr/database_nodemgr/common.py
#
# Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
#
import subprocess
cla... | #
# Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
#
import subprocess
class CassandraManager(object):
def __init__(self, cassandra_repair_logdir):
self.cassandra_repair_logdir = cassandra_repair_logdir
def status(self):
subprocess.Popen(["contrail-cassandra-status",
... | <|file_sep|>src/nodemgr/database_nodemgr/common.py.diff
original:
"--debug"])
updated:
"--debug"], close_fds=True)
<|file_sep|>original/src/nodemgr/database_nodemgr/common.py
#
# Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
#
import subprocess
cla... | 612810cd1acbffe925a74e005e766b09349d2606 | src/nodemgr/database_nodemgr/common.py | src/nodemgr/database_nodemgr/common.py | Python |
<|file_sep|>src/style/_nav.scss.diff
original:
updated:
position: sticky;
top: 0;
<|file_sep|>original/src/style/_nav.scss
.nav {
padding: .5rem 1rem;
border-bottom: 1px solid lightgray;
> .nav-link {
display: inline;
box-sizing: border-box;
padding: .5rem 1rem;
text-decoration: none !im... | .nav {
position: sticky;
top: 0;
padding: .5rem 1rem;
border-bottom: 1px solid lightgray;
background-color: white;
> .nav-link {
display: inline;
box-sizing: border-box;
padding: .5rem 1rem;
text-decoration: none !important;
color: #337ab7 !important;
border-radius: .25rem .25r... | <|file_sep|>src/style/_nav.scss.diff
original:
updated:
position: sticky;
top: 0;
<|file_sep|>original/src/style/_nav.scss
.nav {
padding: .5rem 1rem;
border-bottom: 1px solid lightgray;
> .nav-link {
display: inline;
box-sizing: border-box;
padding: .5rem 1rem;
text-decoration: none !im... | 57951dcac55e53d07fd56197021e38da9a852d95 | src/style/_nav.scss | src/style/_nav.scss | SCSS |
<|file_sep|>original/pyxform/tests_v1/test_audit.py
xml__contains=[
'<meta>',
'<audit/>',
'</meta>',
'<bind nodeset="/meta_audit/meta/audit" type="binary"/>'],
)
def test_audit_random_name(self):
self.assertPyxformXform(
... | | survey | | | |
| | type | name | label |
| | audit | bobby | |
""",
xml__contains=[
'<meta>',
'<audit/>',
'</meta>',
'<bind nodeset="/meta_aud... | <|file_sep|>original/pyxform/tests_v1/test_audit.py
xml__contains=[
'<meta>',
'<audit/>',
'</meta>',
'<bind nodeset="/meta_audit/meta/audit" type="binary"/>'],
)
def test_audit_random_name(self):
self.assertPyxformXform(
... | 76e436daef154bdf6acd1b0569f6fa2baa61addd | pyxform/tests_v1/test_audit.py | pyxform/tests_v1/test_audit.py | Python |
<|file_sep|>original/DilipadTopicModelling/experiment_number_of_topics.py
<|file_sep|>current/DilipadTopicModelling/experiment_number_of_topics.py
<|file_sep|>updated/DilipadTopicModelling/experiment_number_of_topics.py | import logging
import glob
from multiprocessing import Process
from CPTCorpus import CPTCorpus
from CPT_Gibbs import GibbsSampler
def run_sampler(corpus, nTopics, nIter, beta, out_dir):
sampler = GibbsSampler(corpus, nTopics=nTopics, nIter=nIter,
alpha=(50.0/n), beta=beta, beta_o=beta,... | <|file_sep|>original/DilipadTopicModelling/experiment_number_of_topics.py
<|file_sep|>current/DilipadTopicModelling/experiment_number_of_topics.py
<|file_sep|>updated/DilipadTopicModelling/experiment_number_of_topics.py
import logging
import glob
from multiprocessing import Process
from CPTCorpus import CPTCorpus
fr... | 1f0660579f35b1913bb4dc5f973532ec47d4de26 | DilipadTopicModelling/experiment_number_of_topics.py | DilipadTopicModelling/experiment_number_of_topics.py | Python |
<|file_sep|>original/test/compatibility_test.rb
<|file_sep|>current/test/compatibility_test.rb
<|file_sep|>updated/test/compatibility_test.rb | require File.expand_path('../test_helper', __FILE__)
# Test ensures that values stored by previous versions of the gem will
# roundtrip and decrypt correctly in this and future versions. This is important
# for data stored in databases and allows consumers of the gem to upgrade with
# confidence in the future.
#
class... | <|file_sep|>original/test/compatibility_test.rb
<|file_sep|>current/test/compatibility_test.rb
<|file_sep|>updated/test/compatibility_test.rb
require File.expand_path('../test_helper', __FILE__)
# Test ensures that values stored by previous versions of the gem will
# roundtrip and decrypt correctly in this and futur... | 7c137c0fc57a20a82d7c7a003045ea65e13540b8 | test/compatibility_test.rb | test/compatibility_test.rb | Ruby |
<|file_sep|>original/prolific.file/package.json
"type": "git",
"url": "http://github.com/bigeasy/prolific.git"
},
"dependencies":
{
"abend": "1.0.x",
"arguable": ... | "type": "git",
"url": "http://github.com/bigeasy/prolific.git"
},
"dependencies":
{
"abend": "1.0.x",
"arguable": "4.0.x",
"c... | <|file_sep|>original/prolific.file/package.json
"type": "git",
"url": "http://github.com/bigeasy/prolific.git"
},
"dependencies":
{
"abend": "1.0.x",
"arguable": ... | 933bfd10f919fe790ea010122d43f91485de6b8c | prolific.file/package.json | prolific.file/package.json | JSON |
<|file_sep|>original/RELEASING.md
This document describes the steps for creating a new VAST release.
1. Verify that the preconditions of a release are statisfied:
- The current master HEAD builds successfully: [![Build Status][ci-badge]][ci-url]
- The documentation in `README.md` , the man page (`doc/vast.1.md` a... |
This document describes the steps for creating a new VAST release.
1. Verify that the preconditions of a release are statisfied:
- The current master HEAD builds successfully: [![Build Status][ci-badge]][ci-url]
- The documentation in `README.md` , the man page (`doc/vast.1.md` and
`doc/cli`), and the [docs w... | <|file_sep|>original/RELEASING.md
This document describes the steps for creating a new VAST release.
1. Verify that the preconditions of a release are statisfied:
- The current master HEAD builds successfully: [![Build Status][ci-badge]][ci-url]
- The documentation in `README.md` , the man page (`doc/vast.1.md` a... | bcdf7e329016be9e50e93459d52719b7488dc97b | RELEASING.md | RELEASING.md | Markdown |
<|file_sep|>builder/files/boot/device-init.yaml.diff
original:
- "/var/local/rpi-consul_v0.6.4.tar.gz"
- "/var/local/rpi-swarm_v1.2.2.tar.gz"
updated:
- /var/local/rpi-consul_0.6.4.tar.gz
- /var/local/rpi-swarm_1.2.2.tar.gz
<|file_sep|>original/builder/files/boot/device-init.yaml
# hostname for your Hyp... | # hostname for your HypriotOS device
hostname: black-pearl
docker:
images:
- /var/local/rpi-consul_0.6.4.tar.gz
- /var/local/rpi-swarm_1.2.2.tar.gz
clusterlab:
service:
run_on_boot: false
# optional wireless network settings
wifi:
interfaces:
# wlan0:
# ssid: "MyNetwork"
# password: "... | <|file_sep|>builder/files/boot/device-init.yaml.diff
original:
- "/var/local/rpi-consul_v0.6.4.tar.gz"
- "/var/local/rpi-swarm_v1.2.2.tar.gz"
updated:
- /var/local/rpi-consul_0.6.4.tar.gz
- /var/local/rpi-swarm_1.2.2.tar.gz
<|file_sep|>original/builder/files/boot/device-init.yaml
# hostname for your Hyp... | 3bdf7f629d53db17bb4bd805ea976acea1b4b4b5 | builder/files/boot/device-init.yaml | builder/files/boot/device-init.yaml | YAML |
<|file_sep|>Wangscape/OptionsManager.cpp.diff
original:
updated:
#include <boost/filesystem.hpp>
<|file_sep|>original/Wangscape/OptionsManager.cpp
throw std::runtime_error("Could not open options file");
}
std::string str{std::istreambuf_iterator<char>(ifs),
std::istreambuf_iterat... | if (!ifs.good())
{
throw std::runtime_error("Could not open options file");
}
std::string str{std::istreambuf_iterator<char>(ifs),
std::istreambuf_iterator<char>()};
mOptions = spotify::json::decode<Options>(str.c_str());
mOptions.filename = filename;
// TODO(h... | <|file_sep|>Wangscape/OptionsManager.cpp.diff
original:
updated:
#include <boost/filesystem.hpp>
<|file_sep|>original/Wangscape/OptionsManager.cpp
throw std::runtime_error("Could not open options file");
}
std::string str{std::istreambuf_iterator<char>(ifs),
std::istreambuf_iterat... | dded742f1d9e0e923811ee45f238dcaaca6d6665 | Wangscape/OptionsManager.cpp | Wangscape/OptionsManager.cpp | C++ |
<|file_sep|>masters/master.chromium.webrtc/master_builders_cfg.py.diff
original:
{'name': 'Linux Builder', 'recipe': 'chromium', 'category': 'linux'},
{'name': 'Linux Tester', 'recipe': 'chromium', 'category': 'linux'},
updated:
{'name': 'Linux Builder', 'category': 'linux'},
{'name': 'Linux Tester', 'c... | specs = [
{'name': 'Win Builder', 'category': 'win'},
{'name': 'WinXP Tester', 'category': 'win'},
{'name': 'Win7 Tester', 'category': 'win'},
{'name': 'Win8 Tester', 'category': 'win'},
{'name': 'Win10 Tester', 'category': 'win'},
{'name': 'Mac Builder', 'category': 'mac'},
{'name': 'Mac ... | <|file_sep|>masters/master.chromium.webrtc/master_builders_cfg.py.diff
original:
{'name': 'Linux Builder', 'recipe': 'chromium', 'category': 'linux'},
{'name': 'Linux Tester', 'recipe': 'chromium', 'category': 'linux'},
updated:
{'name': 'Linux Builder', 'category': 'linux'},
{'name': 'Linux Tester', 'c... | 04fbd65f90a3ce821fed76377ce7858ae0dd56ee | masters/master.chromium.webrtc/master_builders_cfg.py | masters/master.chromium.webrtc/master_builders_cfg.py | Python |
<|file_sep|>original/features/step_definitions/flavor_steps.rb
directory_table[name] = path
end
Given /^a home directory called '(.+)' in '(.+)'$/ do |name, virtual_path|
actual_path = expand(virtual_path)
Dir.mkdir actual_path, 0700
directory_table[name] = actual_path
end
Given /^a repository '(.+)' with ver... | directory_table[name] = path
end
Given /^a home directory called '(.+)' in '(.+)'$/ do |name, virtual_path|
actual_path = expand(virtual_path)
Dir.mkdir actual_path, 0700
directory_table[name] = actual_path
end
Given /^a repository '(.+)' with versions '(.+)'$/ do |basename, versions|
repository_path = expa... | <|file_sep|>original/features/step_definitions/flavor_steps.rb
directory_table[name] = path
end
Given /^a home directory called '(.+)' in '(.+)'$/ do |name, virtual_path|
actual_path = expand(virtual_path)
Dir.mkdir actual_path, 0700
directory_table[name] = actual_path
end
Given /^a repository '(.+)' with ver... | 1bce365d416ad738807f5f331d8e55ab1d9dda8b | features/step_definitions/flavor_steps.rb | features/step_definitions/flavor_steps.rb | Ruby |
<|file_sep|>original/bin/jsdotmd.js
#!/usr/bin/env node
const jsdotmd = require('../lib')
const program = require('commander')
const path = require('path')
program
.usage('[options] <source> <destination')
.option(
'-l, --langCodes <items>',
'List of language codes that are compiled into the destination, ... | #!/usr/bin/env node
const jsdotmd = require('../lib')
const program = require('commander')
const path = require('path')
program
.usage('[options] <source> <destination>')
.option(
'-l, --langCodes <items>',
'List of language codes that are compiled into the destination, separated by commas. Default: js,ja... | <|file_sep|>original/bin/jsdotmd.js
#!/usr/bin/env node
const jsdotmd = require('../lib')
const program = require('commander')
const path = require('path')
program
.usage('[options] <source> <destination')
.option(
'-l, --langCodes <items>',
'List of language codes that are compiled into the destination, ... | 7b016b0d0a50d3e4b023f40befb641d51a4a69d6 | bin/jsdotmd.js | bin/jsdotmd.js | JavaScript |
<|file_sep|>original/package.json
"scripts": {
"test": "make test"
},
"main": "dist/FakeRest.min.js",
"author": "François Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"devDependencies": {
"array.prototype.findindex": "^1.0.0",
"babel-core": "^5.4.3",
"babel-loader": "^5.1.2",
"ba... | "description": "Patch XMLHttpRequest to fake a REST server based on JSON data. ",
"scripts": {
"test": "make test"
},
"main": "dist/FakeRest.min.js",
"author": "François Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"devDependencies": {
"array.prototype.findindex": "^1.0.0",
"babel-core... | <|file_sep|>original/package.json
"scripts": {
"test": "make test"
},
"main": "dist/FakeRest.min.js",
"author": "François Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"devDependencies": {
"array.prototype.findindex": "^1.0.0",
"babel-core": "^5.4.3",
"babel-loader": "^5.1.2",
"ba... | 25a581cfd50ed0c00dda592d25cc4bc9a3eb5ffc | package.json | package.json | JSON |
<|file_sep|>original/Cargo.toml
[package]
name = "hacknslash"
version = "0.1.0"
authors = ["Mikko Kaistinen <mikko.kaistinen@kapsi.fi>"]
[dependencies]
sdl2 = "0.22.0"
sdl2_image = "0.22.0"
chrono = "0.2"
conv = "0.3.3"
<|file_sep|>current/Cargo.toml
[package]
name = "hacknslash"
version = "0.1.0"
authors = ["Mikko Ka... | [package]
name = "hacknslash"
version = "0.1.0"
authors = ["Mikko Kaistinen <mikko.kaistinen@kapsi.fi>"]
[dependencies]
sdl2 = "0.22.0"
sdl2_image = "0.22.0"
chrono = "0.2.25"
conv = "0.3.3" | <|file_sep|>original/Cargo.toml
[package]
name = "hacknslash"
version = "0.1.0"
authors = ["Mikko Kaistinen <mikko.kaistinen@kapsi.fi>"]
[dependencies]
sdl2 = "0.22.0"
sdl2_image = "0.22.0"
chrono = "0.2"
conv = "0.3.3"
<|file_sep|>current/Cargo.toml
[package]
name = "hacknslash"
version = "0.1.0"
authors = ["Mikko Ka... | d60e0de995c37de49f7e84670600bb2ddf4d2b69 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/test/Analysis/RegionInfo/outgoing_edge_1.ll
br i1 true, label %bb4, label %bb8
bb4:
br label %bb5
bb5:
br label %bb6
bb6:
br label %bb1
bb7:
br label %bb5
bb8:
ret i8 1
}
; CHECK: [0] bb => <Function Return>
; CHECK-NEXT: [1] bb1 => bb8
; CHECK-NEXT: End Region tree
<|file... | br i1 true, label %bb4, label %bb8
bb4:
br label %bb5
bb5:
br label %bb6
bb6:
br label %bb1
bb7:
br label %bb5
bb8:
ret i8 1
}
; CHECK: [0] bb => <Function Return>
; CHECK-NEXT: [1] bb1 => bb8
; CHECK-NEXT: End region tree | <|file_sep|>original/test/Analysis/RegionInfo/outgoing_edge_1.ll
br i1 true, label %bb4, label %bb8
bb4:
br label %bb5
bb5:
br label %bb6
bb6:
br label %bb1
bb7:
br label %bb5
bb8:
ret i8 1
}
; CHECK: [0] bb => <Function Return>
; CHECK-NEXT: [1] bb1 => bb8
; CHECK-NEXT: End Region tree
<|file... | 29bebdffbbdb1960794319cc200458afd4e067e9 | test/Analysis/RegionInfo/outgoing_edge_1.ll | test/Analysis/RegionInfo/outgoing_edge_1.ll | LLVM |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.2.2
- jruby-19mode
- rbx-2
env: SERMONAUDIO_MEMBER_ID=example SERMONAUDIO_PASSWORD=example
before_install:
- gem install nokogiri -v 1.6.6.2 -- --use-system-libraries
bundler_args: --without development
cache: bundler
script:... | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.2.2
- jruby-19mode
- rbx-2
env: SERMONAUDIO_MEMBER_ID=example SERMONAUDIO_PASSWORD=example
before_install:
- gem install nokogiri -v 1.6.6.2 -- --use-system-libraries
bundler_args: --without development
cache: bundler
script: bundle exec rspec
notifications:... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.2.2
- jruby-19mode
- rbx-2
env: SERMONAUDIO_MEMBER_ID=example SERMONAUDIO_PASSWORD=example
before_install:
- gem install nokogiri -v 1.6.6.2 -- --use-system-libraries
bundler_args: --without development
cache: bundler
script:... | e72a88a0fb30d6ae6b038e9e53b1aa78db6e374b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/version.go
package lib
const (
Version = "2.2.1"
)
<|file_sep|>current/lib/version.go
package lib
const (
Version = "2.2.1"
)
<|file_sep|>updated/lib/version.go | package lib
const (
// Version is the version number the client believes it is
Version = "2.2.1"
) | <|file_sep|>original/lib/version.go
package lib
const (
Version = "2.2.1"
)
<|file_sep|>current/lib/version.go
package lib
const (
Version = "2.2.1"
)
<|file_sep|>updated/lib/version.go
package lib
const (
// Version is the version number the client believes it is
Version = "2.2.1"
) | bdd73de656fa67d3c58e182cfa9209697b3d7358 | lib/version.go | lib/version.go | Go |
<|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>updated/requirement... | ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.6
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1 | <|file_sep|>original/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>current/requirements.txt
ansible-lint==4.2.0
docker==4.2.2
flake8==3.8.3
molecule==3.0.5
pytest==5.4.3
testinfra==5.2.1
tox==3.16.1
<|file_sep|>updated/requirement... | f2b6eec016765df6b585d1d2c32b32e0f9997148 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml | name: Build examples
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build all example sketches
uses: pfeerick/arduino-builder-action@master
with:
board: "arduino:avr:uno" | <|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml
name: Build examples
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build all example sketches
uses: pfeeri... | 9e5c994ea2e67b612a412b955e003595a446b9be | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>src/scss/_desktop-view.scss.diff
original:
body {
background: tomato;
}
updated:
$brewitCurrent: #7ec78a;//bright green
$brewitCurrentText: #000;//black???
$brewitCurrentStep: #4d4d4f;//Thunder
$brewitCurrentOf: #545c56;//Feldgrau
$brewitInactive: #ebeced;//lightgray
$brewitInactiveText:#99999d;//inact... | }
ul.menu {
display: block;
float: right;
margin-top: 4ex;
li {
display: inline-block;
margin-left: 0.7em;
a {
text-decoration: none;
}
}
}
}//nav.menu
}//.heading
.container {
.recipe-list-options... | <|file_sep|>src/scss/_desktop-view.scss.diff
original:
body {
background: tomato;
}
updated:
$brewitCurrent: #7ec78a;//bright green
$brewitCurrentText: #000;//black???
$brewitCurrentStep: #4d4d4f;//Thunder
$brewitCurrentOf: #545c56;//Feldgrau
$brewitInactive: #ebeced;//lightgray
$brewitInactiveText:#99999d;//inact... | 17c30ac8239092481a1433abbc291549bc405499 | src/scss/_desktop-view.scss | src/scss/_desktop-view.scss | SCSS |
<|file_sep|>original/emacs/modes/dired-conf.el
;;; dired-conf.el -- Settings for dired-mode
(eval-when-compile
(require 'dired)
(require 'dired-aux))
(setq dired-listing-switches "-lRA --ignore='.git' --group-directories-first"
dired-auto-revert-buffer t
dired-isearch-filenames t)
<|file_sep|>current/e... | ;;; dired-conf.el -- Settings for dired-mode
(eval-when-compile
(require 'dired)
(require 'dired-aux))
(setq dired-listing-switches "-lRA --ignore='.git' --group-directories-first"
dired-auto-revert-buffer t
dired-isearch-filenames t)
(defun pjones:dired-show-only-matching-files (regexp)
(interactiv... | <|file_sep|>original/emacs/modes/dired-conf.el
;;; dired-conf.el -- Settings for dired-mode
(eval-when-compile
(require 'dired)
(require 'dired-aux))
(setq dired-listing-switches "-lRA --ignore='.git' --group-directories-first"
dired-auto-revert-buffer t
dired-isearch-filenames t)
<|file_sep|>current/e... | 494cb8e9419feaf0cf9a573091cc2129c64b53dc | emacs/modes/dired-conf.el | emacs/modes/dired-conf.el | Emacs Lisp |
<|file_sep|>original/app/helpers/effective_resources_wizard_helper.rb
# frozen_string_literal: true
module EffectiveResourcesWizardHelper
def render_wizard_sidebar(resource, numbers: true, &block)
sidebar = content_tag(:div, class: 'nav list-group wizard-sidebar') do
resource.required_steps.map.with_index... | # frozen_string_literal: true
module EffectiveResourcesWizardHelper
def render_wizard_sidebar(resource, numbers: true, horizontal: false, &block)
klasses = ['wizard-sidebar', 'list-group', ('list-group-horizontal' if horizontal)].compact.join(' ')
sidebar = content_tag(:div, class: klasses) do
resour... | <|file_sep|>original/app/helpers/effective_resources_wizard_helper.rb
# frozen_string_literal: true
module EffectiveResourcesWizardHelper
def render_wizard_sidebar(resource, numbers: true, &block)
sidebar = content_tag(:div, class: 'nav list-group wizard-sidebar') do
resource.required_steps.map.with_index... | 31edef56adc23390745a168a24c547c949ad3442 | app/helpers/effective_resources_wizard_helper.rb | app/helpers/effective_resources_wizard_helper.rb | Ruby |
<|file_sep|>original/hel/utils/tests/__init__.py
# -*- coding: utf-8 -*-
# http://stackoverflow.com/a/8866661
def are_equal(a, b):
unmatched = list(b)
for element in a:
try:
unmatched.remove(element)
except ValueError:
return False
return not unmatched
<|file_sep|>cur... | # -*- coding: utf-8 -*-
# http://stackoverflow.com/a/8866661
def are_equal(a, b):
unmatched = list(b)
for element in a:
try:
unmatched.remove(element)
except ValueError:
return False
return not unmatched | <|file_sep|>original/hel/utils/tests/__init__.py
# -*- coding: utf-8 -*-
# http://stackoverflow.com/a/8866661
def are_equal(a, b):
unmatched = list(b)
for element in a:
try:
unmatched.remove(element)
except ValueError:
return False
return not unmatched
<|file_sep|>cur... | 729de81f7d76b50d1d6810bc23fab45c60020091 | hel/utils/tests/__init__.py | hel/utils/tests/__init__.py | Python |
<|file_sep|>original/data/transition-sites/ssac.yml
<|file_sep|>current/data/transition-sites/ssac.yml
<|file_sep|>updated/data/transition-sites/ssac.yml | ---
site: ssac
whitehall_slug: social-security-advisory-committee
title: Social Security Advisory Committee
redirection_date: 7th April 2014
homepage: https://www.gov.uk/government/organisations/social-security-advisory-committee
tna_timestamp: 20131002112547
host: ssac.independent.gov.uk | <|file_sep|>original/data/transition-sites/ssac.yml
<|file_sep|>current/data/transition-sites/ssac.yml
<|file_sep|>updated/data/transition-sites/ssac.yml
---
site: ssac
whitehall_slug: social-security-advisory-committee
title: Social Security Advisory Committee
redirection_date: 7th April 2014
homepage: https://www.g... | 05e08191aad98bd31c764d8aaf92f84ed486c905 | data/transition-sites/ssac.yml | data/transition-sites/ssac.yml | YAML |
<|file_sep|>content/sysadmin/konfiguration/recipes/remotedatamodel.en.md.diff
original:
> Only add lines that you do not already have. (e.g. do not add a second "easydb-server:" line, you probably already have it)
updated:
Only add lines that you do not already have. (e.g. do not add a second "easydb-server:" line, you... |
## Configuration
To the configuration file easydb5-master.yml, which you created during [Installation](../../../installation), add the lines:
```yaml
easydb-server:
default_client:
datamodel:
uid: 12345678-90ab-cdef-1234-567890abcdef
server: https://schema.easydb.de/objectstore
instance: prod... | <|file_sep|>content/sysadmin/konfiguration/recipes/remotedatamodel.en.md.diff
original:
> Only add lines that you do not already have. (e.g. do not add a second "easydb-server:" line, you probably already have it)
updated:
Only add lines that you do not already have. (e.g. do not add a second "easydb-server:" line, you... | ca438ee5018c73e179c65d80d916696eb7dd0c77 | content/sysadmin/konfiguration/recipes/remotedatamodel.en.md | content/sysadmin/konfiguration/recipes/remotedatamodel.en.md | Markdown |
<|file_sep|>test/automated.rb.diff
original:
require_relative 'test_init'
updated:
ENV['TEST_BENCH_EXCLUDE_PATTERN'] ||= '/_|sketch|(_init\.rb|_tests\.rb)\z'
ENV['TEST_BENCH_TESTS_DIR'] ||= 'test/automated'
<|file_sep|>original/test/automated.rb
require_relative 'test_init'
TestBench::Runner.(
'automated/**/*.rb',
... | ENV['TEST_BENCH_EXCLUDE_PATTERN'] ||= '/_|sketch|(_init\.rb|_tests\.rb)\z'
ENV['TEST_BENCH_TESTS_DIR'] ||= 'test/automated'
require_relative './test_init'
require 'test_bench/cli'
TestBench::CLI.() or exit 1 | <|file_sep|>test/automated.rb.diff
original:
require_relative 'test_init'
updated:
ENV['TEST_BENCH_EXCLUDE_PATTERN'] ||= '/_|sketch|(_init\.rb|_tests\.rb)\z'
ENV['TEST_BENCH_TESTS_DIR'] ||= 'test/automated'
<|file_sep|>original/test/automated.rb
require_relative 'test_init'
TestBench::Runner.(
'automated/**/*.rb',
... | 790ce1c3cd4555dc323f451bab6e8a85da188279 | test/automated.rb | test/automated.rb | Ruby |
<|file_sep|>original/composer.json
"name": "Nicolas Vincent",
"role": "developer"
},
{
"name" : "Eric Mann",
"email": "eric.mann@10up.com",
"role" : "developer"
},
{
"name" : "John P. Bloch",
"email": "john.bloch@10up.com",
"role" : "developer"
}
],
"require-dev" : {
"10up/wp_... | "role": "developer"
},
{
"name" : "Eric Mann",
"email": "eric.mann@10up.com",
"role" : "developer"
},
{
"name" : "John P. Bloch",
"email": "john.bloch@10up.com",
"role" : "developer"
}
],
"require-dev" : {
"10up/wp_mock" : "dev-master",
"phpunit/phpunit": "*@stable"
},
"aut... | <|file_sep|>original/composer.json
"name": "Nicolas Vincent",
"role": "developer"
},
{
"name" : "Eric Mann",
"email": "eric.mann@10up.com",
"role" : "developer"
},
{
"name" : "John P. Bloch",
"email": "john.bloch@10up.com",
"role" : "developer"
}
],
"require-dev" : {
"10up/wp_... | a2e0deb86ca74396fa31a5ae28efbdc9beae647e | composer.json | composer.json | JSON |
<|file_sep|>original/src/FeatureBrowser/Cli/GenerateCommand.php
<|file_sep|>current/src/FeatureBrowser/Cli/GenerateCommand.php
<|file_sep|>updated/src/FeatureBrowser/Cli/GenerateCommand.php | <?php
namespace FeatureBrowser\FeatureBrowser\Cli;
use Symfony\Component\Console\Command\Command as BaseCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
final class GenerateCommand extends BaseCommand
{
} | <|file_sep|>original/src/FeatureBrowser/Cli/GenerateCommand.php
<|file_sep|>current/src/FeatureBrowser/Cli/GenerateCommand.php
<|file_sep|>updated/src/FeatureBrowser/Cli/GenerateCommand.php
<?php
namespace FeatureBrowser\FeatureBrowser\Cli;
use Symfony\Component\Console\Command\Command as BaseCommand;
use Symfony\C... | f97499854b7ad3e0969c60fe01081030305b8909 | src/FeatureBrowser/Cli/GenerateCommand.php | src/FeatureBrowser/Cli/GenerateCommand.php | PHP |
<|file_sep|>original/.bashrc.d/Darwin/jdk.sh
# Switch JDK
jdk_ln=$HOME/.local/opt/jdk
jdk() {
rm -f "$jdk_ln"
ln -s "$(/usr/libexec/java_home -v 1.$1)" "$jdk_ln"
}
<|file_sep|>current/.bashrc.d/Darwin/jdk.sh
# Switch JDK
jdk_ln=$HOME/.local/opt/jdk
jdk() {
rm -f "$jdk_ln"
ln -s "$(/usr/libexec/java_... | # Switch JDK
jdk_ln=$HOME/.local/opt/jdk
jdk() {
rm -f "$jdk_ln"
ln -s "$(/usr/libexec/java_home -v $1)" "$jdk_ln"
} | <|file_sep|>original/.bashrc.d/Darwin/jdk.sh
# Switch JDK
jdk_ln=$HOME/.local/opt/jdk
jdk() {
rm -f "$jdk_ln"
ln -s "$(/usr/libexec/java_home -v 1.$1)" "$jdk_ln"
}
<|file_sep|>current/.bashrc.d/Darwin/jdk.sh
# Switch JDK
jdk_ln=$HOME/.local/opt/jdk
jdk() {
rm -f "$jdk_ln"
ln -s "$(/usr/libexec/java_... | 5ba82000ef5d20ee1a9e9d4b7b032de00566322e | .bashrc.d/Darwin/jdk.sh | .bashrc.d/Darwin/jdk.sh | Shell |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
## How to Report
For more information on how to re... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines]... | 2f4a69e11258ff258e9f52acc92195c142634f97 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/.github/workflows/valgrind.yml
name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: ... | name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: steinwurf/valgrind-action/.github/workflows/action.y... | <|file_sep|>original/.github/workflows/valgrind.yml
name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: ... | 6d48030ea1202a1e602c716c54e5b4392f14e03c | .github/workflows/valgrind.yml | .github/workflows/valgrind.yml | YAML |
<|file_sep|>tests/690-file.swift.diff
original:
updated:
import assert;
import io;
<|file_sep|>tests/690-file.swift.diff
original:
import io;
updated:
// Check that we can extract filename from file
<|file_sep|>tests/690-file.swift.diff
original:
[ "set <<output>> <<input>>" ];
// SKIP-THIS-TEST: Issue #453
// Issue ... | import assert;
import io;
// Check that we can extract filename from file
(string output)
echo_filename(file input) "funcs" "0.0"
[ "set <<output>> [ turbine::local_file_path <<input>> ]" ];
main {
file f = input_file("alice.txt");
string s = echo_filename(f);
printf("filename: %s", s);
assertEqual(s, "alice... | <|file_sep|>tests/690-file.swift.diff
original:
updated:
import assert;
import io;
<|file_sep|>tests/690-file.swift.diff
original:
import io;
updated:
// Check that we can extract filename from file
<|file_sep|>tests/690-file.swift.diff
original:
[ "set <<output>> <<input>>" ];
// SKIP-THIS-TEST: Issue #453
// Issue ... | e58f7f89ec36b461bfa163fa92047bd8e7e6113a | tests/690-file.swift | tests/690-file.swift | Swift |
<|file_sep|>frontend/core/engine/frontend.php.diff
original:
// require
require_once 'external/facebook.php';
updated:
$config = array(
'appId' => $facebookApplicationId,
'secret' => $facebookApplicationSecret,
);
<|file_sep|>frontend/core/engine/frontend.php.diff
original:
$facebook = new Facebo... | if($facebookApplicationId != '' && $facebookApplicationSecret != '')
{
$config = array(
'appId' => $facebookApplicationId,
'secret' => $facebookApplicationSecret,
);
// create instance
$facebook = new Facebook($config);
// grab the signed request, if a user is logged in the access token wil... | <|file_sep|>frontend/core/engine/frontend.php.diff
original:
// require
require_once 'external/facebook.php';
updated:
$config = array(
'appId' => $facebookApplicationId,
'secret' => $facebookApplicationSecret,
);
<|file_sep|>frontend/core/engine/frontend.php.diff
original:
$facebook = new Facebo... | 743650a450c893bfc0c78d2b4fab8cebcb0ba122 | frontend/core/engine/frontend.php | frontend/core/engine/frontend.php | PHP |
<|file_sep|>README.md.diff
original:
Use `path('webmention/', include(webmention.urls))` for newer projects
updated:
* Use `path('webmention/', include(webmention.urls))` for newer projects
<|file_sep|>original/README.md
[webmention](https://www.w3.org/TR/webmention/) for Django projects.
## Installation
`$ ... |
[webmention](https://www.w3.org/TR/webmention/) for Django projects.
## Installation
`$ pip install django-webmention`
* Add `webmention` to `INSTALLED_APPS`
* Run `manage.py migrate webmention`
* Add `url(r'^webmention', include('webmention.urls', namespace='webmention'))` to top-level `urls.py`
* Use `path('w... | <|file_sep|>README.md.diff
original:
Use `path('webmention/', include(webmention.urls))` for newer projects
updated:
* Use `path('webmention/', include(webmention.urls))` for newer projects
<|file_sep|>original/README.md
[webmention](https://www.w3.org/TR/webmention/) for Django projects.
## Installation
`$ ... | 683e105810d29758204a53804f5a46bac24d870e | README.md | README.md | Markdown |
<|file_sep|>original/build.xml
</git>
</target>
<!-- Synchronize repositories -->
<target name="info" description="Report info about this repo">
<echo>java is ${java.version}</echo>
<echo>user dir is ${user.dir}</echo>
<git command="branch" />
</target>
<!-- From https://gist.github.com/dave... | </git>
</target>
<!-- Synchronize repositories -->
<target name="info" description="Report info about this repo">
<echo>java is ${java.version}</echo>
<echo>user dir is ${user.dir}</echo>
<git command="branch" />
</target>
<!-- Create directory per branch, checkout branch, add cache -->
<t... | <|file_sep|>original/build.xml
</git>
</target>
<!-- Synchronize repositories -->
<target name="info" description="Report info about this repo">
<echo>java is ${java.version}</echo>
<echo>user dir is ${user.dir}</echo>
<git command="branch" />
</target>
<!-- From https://gist.github.com/dave... | 544d5530032b8a7df6e84de6fbe148958f9bc0cf | build.xml | build.xml | XML |
<|file_sep|>original/drafts/mps-gol.md
[Software Craftsmen](http://manifesto.softwarecraftsmanship.org/). Soon there is
the #gdcr15, reason enough to make the [Game of Life](https://en.wikipedia.org/wiki/Conway's_Game_of_Life)
a topic of a blog post.
Here is an example in Java:
. Soon there is
the #gdcr15, reason enough to make the [Game of Life](https://en.wikipedia.org/wiki/Conway's_Game_of_Life)
a topic of a blog post.
Here is an example in Java:

else
class_dir = File.expand_path("../../../manifests/groups", __FILE__)
Dir.glob("#{class_dir}/*.pp").collect { |dir|
dir.gsub(/^#{class_dir}\/(.+)\.pp$/, 'users::groups... | <|file_sep|>original/modules/users/spec/classes/users_spec.rb
<|file_sep|>current/modules/users/spec/classes/users_spec.rb
<|file_sep|>updated/modules/users/spec/classes/users_spec.rb
require_relative '../../../../spec_helper'
# get the list of groups
def class_list
if ENV["classes"]
ENV["classes"].split(",")
... | 0cc6f4fc8a97423dab1fea018ee7558f4fce8492 | modules/users/spec/classes/users_spec.rb | modules/users/spec/classes/users_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
<|file_sep|>updated/.travis.yml | language: java
jdk:
- oraclejdk8
before_install:
- chmod a+x gradlew | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
<|file_sep|>updated/.travis.yml
language: java
jdk:
- oraclejdk8
before_install:
- chmod a+x gradlew | b9088826755047213259c84f7af248bd390649fc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements-test.txt
-r requirements.txt
coverage
coveralls
mock>=1.0.1
nose>=1.3.0
django-nose>=1.2
flake8
https://github.com/nephila/djangocms-helper/archive/develop.zip
tox>=1.8
<|file_sep|>current/requirements-test.txt
-r requirements.txt
coverage
coveralls
mock>=1.0.1
nose>=1.3.0
django-nose>... | -r requirements.txt
coverage
coveralls
mock>=1.0.1
nose>=1.3.0
django-nose>=1.2
flake8
djangocms-helper>=0.7
tox>=1.8 | <|file_sep|>original/requirements-test.txt
-r requirements.txt
coverage
coveralls
mock>=1.0.1
nose>=1.3.0
django-nose>=1.2
flake8
https://github.com/nephila/djangocms-helper/archive/develop.zip
tox>=1.8
<|file_sep|>current/requirements-test.txt
-r requirements.txt
coverage
coveralls
mock>=1.0.1
nose>=1.3.0
django-nose>... | c106b101b17e0b1452daadf94747f4e52f2e1a58 | requirements-test.txt | requirements-test.txt | Text |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.