prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/Mod.cs
using ICities;
using MetroOverhaul.OptionsFramework.Extensions;
namespace MetroOverhaul
{
public class Mod : IUserMod
{
public string Name => "Metro Overhaul";
public string Description => "Brings metro depots, ground and elevated metro tracks";
public void... | using ICities;
using MetroOverhaul.OptionsFramework.Extensions;
namespace MetroOverhaul
{
public class Mod : IUserMod
{
#if IS_PATCH
public const bool isPatch = true;
#else
public const bool isPatch = false;
#endif
public string Name => "Metro Overhaul" + (isPatch ? " [Patched]" : "")... | <|file_sep|>original/Mod.cs
using ICities;
using MetroOverhaul.OptionsFramework.Extensions;
namespace MetroOverhaul
{
public class Mod : IUserMod
{
public string Name => "Metro Overhaul";
public string Description => "Brings metro depots, ground and elevated metro tracks";
public void... | 2c34a9de89bad3632a3b41a5d0f80d60b62e5823 | Mod.cs | Mod.cs | C# |
<|file_sep|>original/requirements/base.txt
djangorestframework==3.3.3
django==1.9.7
colorlog==2.6.0
docopt==0.6.2
django-mptt==0.8.5
djangorestframework-csv==1.4.1
tqdm==4.8.3 # progress bars
requests==2.10.0
https://github.com/cherrypy/cherrypy/archive/v6.2.0.zip#egg=cherrypy
https://github.com/lea... | djangorestframework==3.3.3
django==1.9.7
colorlog==2.6.0
docopt==0.6.2
django-mptt==0.8.5
djangorestframework-csv==1.4.1
tqdm==4.8.3 # progress bars
requests==2.10.0
https://github.com/cherrypy/cherrypy/archive/v6.2.0.zip#egg=cherrypy
https://github.com/learningequality/barbequeue/archive/e4f32.zip#... | <|file_sep|>original/requirements/base.txt
djangorestframework==3.3.3
django==1.9.7
colorlog==2.6.0
docopt==0.6.2
django-mptt==0.8.5
djangorestframework-csv==1.4.1
tqdm==4.8.3 # progress bars
requests==2.10.0
https://github.com/cherrypy/cherrypy/archive/v6.2.0.zip#egg=cherrypy
https://github.com/lea... | 94f954799d538009dbdd76378586656c05b6e58d | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/src/main/webapp/repo/commit/one.html
<div id="main" role="main" class="lift:surround?with=default;at=content">
<div class="top_menu">
<nav class="repo_menu">
<ul>
<li class="lift:RepoOps.renderSourceTreeDefaultLink repo_menu_link"></li>
<li c... |
<div id="main" role="main" class="lift:surround?with=default;at=content">
<div class="top_menu">
<nav class="repo_menu">
<ul>
<li class="lift:CommitOps.renderSourceTreeDefaultLink repo_menu_link"></li>
<li class="lift:CommitOps.renderCommitsDefaultLink repo_menu_... | <|file_sep|>original/src/main/webapp/repo/commit/one.html
<div id="main" role="main" class="lift:surround?with=default;at=content">
<div class="top_menu">
<nav class="repo_menu">
<ul>
<li class="lift:RepoOps.renderSourceTreeDefaultLink repo_menu_link"></li>
<li c... | 1808c906fc8f0ce3831afa4fbf190d021046f815 | src/main/webapp/repo/commit/one.html | src/main/webapp/repo/commit/one.html | HTML |
<|file_sep|>original/bootstrap-grid/sass/bootstrap/_helper-classes.scss
text-align: left;
}
.block-right {
text-align: right;
}
.block-justify {
text-align: justify;
}
.block-center > *, .block-left > *, .block-right > *, .block-justify > * {
float: none;
}
.block-justify:after {
content: "";
width: 100%;
d... | text-align: left;
}
.block-right {
text-align: right;
}
.block-justify {
text-align: justify;
}
.block-center > *, .block-left > *, .block-right > *, .block-justify > * {
float: none;
}
.block-justify:after {
content: "";
width: 100%;
display: inline-block;
font-size: 0.000001%;
} | <|file_sep|>original/bootstrap-grid/sass/bootstrap/_helper-classes.scss
text-align: left;
}
.block-right {
text-align: right;
}
.block-justify {
text-align: justify;
}
.block-center > *, .block-left > *, .block-right > *, .block-justify > * {
float: none;
}
.block-justify:after {
content: "";
width: 100%;
d... | 5de53c4ea42234432c783e912c3b8307810b559a | bootstrap-grid/sass/bootstrap/_helper-classes.scss | bootstrap-grid/sass/bootstrap/_helper-classes.scss | SCSS |
<|file_sep|>src/MemcacheCachePool.php.diff
original:
return $this->cache->get($key);
updated:
if (false === $result = unserialize($this->cache->get($key))) {
return [false, null];
}
return $result;
<|file_sep|>original/src/MemcacheCachePool.php
{
return $this->ca... | }
protected function clearAllObjectsFromCache()
{
return $this->cache->flush();
}
protected function clearOneObjectFromCache($key)
{
$this->cache->delete($key);
return true;
}
protected function storeItemInCache($key, CacheItemInterface $item, $ttl)
{
... | <|file_sep|>src/MemcacheCachePool.php.diff
original:
return $this->cache->get($key);
updated:
if (false === $result = unserialize($this->cache->get($key))) {
return [false, null];
}
return $result;
<|file_sep|>original/src/MemcacheCachePool.php
{
return $this->ca... | de488ce9b4fd1746b8c33c3192abb3fd2cdc5187 | src/MemcacheCachePool.php | src/MemcacheCachePool.php | PHP |
<|file_sep|>original/requirements.txt
Django>=1.4.3,<1.6
logan>=0.5.4,<0.6
South>=0.7.6,<0.8
gunicorn>=0.13.4,<0.14
feedparser>=5.1.3,<5.2
eventlet>=0.12.1,<0.13
mock>=1.0.1,<1.1
lxml>=2.3,<2.4
coverage>=3.6,<3.7
nose>=1.2.1,<1.3
django-nose>=1.1,<1.2
surlex
pytz
<|file_sep|>current/requirements.txt
Django>=1.4.3,<1.6
... | Django>=1.4.5,<1.6
logan>=0.5.4,<0.6
South>=0.7.6,<0.8
gunicorn>=0.13.4,<0.14
feedparser>=5.1.3,<5.2
eventlet>=0.12.1,<0.13
mock>=1.0.1,<1.1
lxml>=2.3,<2.4
coverage>=3.6,<3.7
nose>=1.2.1,<1.3
django-nose>=1.1,<1.2
surlex
pytz | <|file_sep|>original/requirements.txt
Django>=1.4.3,<1.6
logan>=0.5.4,<0.6
South>=0.7.6,<0.8
gunicorn>=0.13.4,<0.14
feedparser>=5.1.3,<5.2
eventlet>=0.12.1,<0.13
mock>=1.0.1,<1.1
lxml>=2.3,<2.4
coverage>=3.6,<3.7
nose>=1.2.1,<1.3
django-nose>=1.1,<1.2
surlex
pytz
<|file_sep|>current/requirements.txt
Django>=1.4.3,<1.6
... | a94e710f4b0fc33c2e3cb4a9cf289a1f17777012 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
# go-irleak
IRLeak is a project to create a low-cost device for continuous home energy auditing.
<|file_sep|>current/README.md
# go-irleak
IRLeak is a project to create a low-cost device for continuous home energy auditing.
<|file_sep|>updated/README.md | # go-irleak
IRLeak is a project from the Mobile and Pervasive Sensor Systems Lab at University of Maryland, Baltimore County, to create a low-cost device for continuous home energy auditing. `go-irleak` is a server for collecting data associated with the project and storing it in a database. It's meant to be run behin... | <|file_sep|>original/README.md
# go-irleak
IRLeak is a project to create a low-cost device for continuous home energy auditing.
<|file_sep|>current/README.md
# go-irleak
IRLeak is a project to create a low-cost device for continuous home energy auditing.
<|file_sep|>updated/README.md
# go-irleak
IRLeak is a project ... | 19786e6af9a65dfe23b759d4ae220c3c2e0a0e96 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.2
- 2.2.5
- 2.3.1
gemfile:
- gemfiles/Gemfile.activemodel-3.2.x
- gemfiles/Gemfile.activemodel-4.0.x
- gemfiles/Gemfile.activemodel-4.1.x
- gemfiles/Gemfile.activemodel-4.2.x
- gemfiles/Gemfile.activemodel-5.0.x
script:
... | language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.2
- 2.2.5
- 2.3.1
- 2.3.4
- 2.4.1
gemfile:
- gemfiles/Gemfile.activemodel-3.2.x
- gemfiles/Gemfile.activemodel-4.0.x
- gemfiles/Gemfile.activemodel-4.1.x
- gemfiles/Gemfile.activemodel-4.2.x
- gemfiles/Gemfile.activemodel-5.0.x
script:
- bundle ex... | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.2
- 2.2.5
- 2.3.1
gemfile:
- gemfiles/Gemfile.activemodel-3.2.x
- gemfiles/Gemfile.activemodel-4.0.x
- gemfiles/Gemfile.activemodel-4.1.x
- gemfiles/Gemfile.activemodel-4.2.x
- gemfiles/Gemfile.activemodel-5.0.x
script:
... | 64ae36f2daf137ae830c5598edabc06632b5cc9c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/sinan/src/sin_event.erl
<|file_sep|>current/lib/sinan/src/sin_event.erl
<|file_sep|>updated/lib/sinan/src/sin_event.erl | %%%-------------------------------------------------------------------
%%% @author Eric Merritt <cyberlync@gmail.com>
%%% @doc
%%% Provides a nice interface to the eventing system.
%%% @end
%%% @copyright (C) 2007, Eric Merritt
%%% Created : 18 Nov 2007 by Eric Merritt <cyberlync@gmail.com>
%%%----------------------... | <|file_sep|>original/lib/sinan/src/sin_event.erl
<|file_sep|>current/lib/sinan/src/sin_event.erl
<|file_sep|>updated/lib/sinan/src/sin_event.erl
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <cyberlync@gmail.com>
%%% @doc
%%% Provides a nice interface to the eventin... | 6576ff1097bfc5a04d621f0942a1b2829b224d6c | lib/sinan/src/sin_event.erl | lib/sinan/src/sin_event.erl | Erlang |
<|file_sep|>original/composer.json
{
"name": "icanhazstring/systemctl-php",
"description": "PHP wrapper for systemctl",
"type": "library",
"require": {
"php": "^7.2",
"symfony/process": "^4.4 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"squizlabs/php_c... | {
"name": "icanhazstring/systemctl-php",
"description": "PHP wrapper for systemctl",
"type": "library",
"require": {
"php": "^7.2",
"symfony/process": "^4.4 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.0",
"squizlabs/php_codesniffer": "^3.5",
... | <|file_sep|>original/composer.json
{
"name": "icanhazstring/systemctl-php",
"description": "PHP wrapper for systemctl",
"type": "library",
"require": {
"php": "^7.2",
"symfony/process": "^4.4 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"squizlabs/php_c... | 67e0c85f585e62b097acaa1c01e0edb72f59e99a | composer.json | composer.json | JSON |
<|file_sep|>original/.vscode/launch.json
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "nodeunit",
"type": "node",
"request... | // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "nodeunit",
"type": "node",
"request": "launch",
"program": "C:\\... | <|file_sep|>original/.vscode/launch.json
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "nodeunit",
"type": "node",
"request... | 0e07c8f82090a648923983d92268596763abd6e0 | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>scripts/install_go.sh.diff
original:
GO_VERSION="1.8.3"
updated:
GO_VERSION="1.9"
<|file_sep|>scripts/install_go.sh.diff
original:
GO_MD5="32ec5ac6020a0dbae5fadd1ff6dfdaf7"
updated:
GO_MD5="4577d9ba083ac86de78012c04a2981be"
<|file_sep|>original/scripts/install_go.sh
if [ ! -f $GoInstallDir/go/bin/go ]; ... | GO_MD5="4577d9ba083ac86de78012c04a2981be"
URL=https://buildpacks.cloudfoundry.org/dependencies/go/go${GO_VERSION}.linux-amd64-${GO_MD5:0:8}.tar.gz
echo "-----> Download go ${GO_VERSION}"
curl -s -L --retry 15 --retry-delay 2 $URL -o /tmp/go.tar.gz
DOWNLOAD_MD5=$(md5sum /tmp/go.tar.gz | cut -d ' ' -f 1)
i... | <|file_sep|>scripts/install_go.sh.diff
original:
GO_VERSION="1.8.3"
updated:
GO_VERSION="1.9"
<|file_sep|>scripts/install_go.sh.diff
original:
GO_MD5="32ec5ac6020a0dbae5fadd1ff6dfdaf7"
updated:
GO_MD5="4577d9ba083ac86de78012c04a2981be"
<|file_sep|>original/scripts/install_go.sh
if [ ! -f $GoInstallDir/go/bin/go ]; ... | 6db72772ce07d3b1a5a057025536cf99db25cf7b | scripts/install_go.sh | scripts/install_go.sh | Shell |
<|file_sep|>original/requirements.txt
djangorestframework==3.1.3
django-tables2-simplefilter==0.1
django-tables2==1.0.4
django-bootstrap3==6.1.0
dnspython==1.12.0
fpconst==0.7.2
future==0.14.3
gunicorn==19.3.0
httplib2==0.9.1
icalendar==3.9.0
kombu=3.0
mercurial==3.4.1
oauth2client==1.4.11
pyasn1==0.1.7
pyasn1-modules=... | djangorestframework==3.1.3
django-tables2-simplefilter==0.1
django-tables2==1.0.4
django-bootstrap3==6.1.0
dnspython==1.12.0
fpconst==0.7.2
future==0.14.3
gunicorn==19.3.0
httplib2==0.9.1
icalendar==3.9.0
kombu
mercurial==3.4.1
oauth2client==1.4.11
pyasn1==0.1.7
pyasn1-modules==0.0.5
python-dateutil==2.4.2
python-ldap=... | <|file_sep|>original/requirements.txt
djangorestframework==3.1.3
django-tables2-simplefilter==0.1
django-tables2==1.0.4
django-bootstrap3==6.1.0
dnspython==1.12.0
fpconst==0.7.2
future==0.14.3
gunicorn==19.3.0
httplib2==0.9.1
icalendar==3.9.0
kombu=3.0
mercurial==3.4.1
oauth2client==1.4.11
pyasn1==0.1.7
pyasn1-modules=... | bce2f5026a742046cfb06ae54e86a365463e5c85 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.config/dotnet-tools.json
{
"version": 1,
"isRoot": true,
"tools": {
"gitversion.tool": {
"version": "5.2.4",
"commands": [
"dotnet-gitversion"
]
}
}
}
<|file_sep|>current/.config/dotnet-tools.json
{
"version": 1,
"isRoot": true,
"tools": {
"gitve... | {
"version": 1,
"isRoot": true,
"tools": {
"gitversion.tool": {
"version": "5.1.2",
"commands": [
"dotnet-gitversion"
]
}
}
} | <|file_sep|>original/.config/dotnet-tools.json
{
"version": 1,
"isRoot": true,
"tools": {
"gitversion.tool": {
"version": "5.2.4",
"commands": [
"dotnet-gitversion"
]
}
}
}
<|file_sep|>current/.config/dotnet-tools.json
{
"version": 1,
"isRoot": true,
"tools": {
"gitve... | e063e5f6010e6950c1ecd00f4d4dae069056388d | .config/dotnet-tools.json | .config/dotnet-tools.json | JSON |
<|file_sep|>original/js/contribjs.js
console.log('eu.wemove.contribjs');
<|file_sep|>current/js/contribjs.js
console.log('eu.wemove.contribjs');
<|file_sep|>updated/js/contribjs.js | // set default amount based on param donation_amount in url
var name = 'donation_amount';
var da = decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20'))||null;
if (da > 0) {
da = da.replace('.', '\\.');
jQuery(".price-set-row input[data-a... | <|file_sep|>original/js/contribjs.js
console.log('eu.wemove.contribjs');
<|file_sep|>current/js/contribjs.js
console.log('eu.wemove.contribjs');
<|file_sep|>updated/js/contribjs.js
// set default amount based on param donation_amount in url
var name = 'donation_amount';
var da = decodeURIComponent((new RegExp('[?|&]' +... | 9be7b5a049e47eadeb5e5e5662cf3f30e45c54dd | js/contribjs.js | js/contribjs.js | JavaScript |
<|file_sep|>ResourceManager.php.diff
original:
* Guzzle client.
updated:
* Guzzle backend client.
<|file_sep|>original/ResourceManager.php
* Event dispatcher.
* @param string $backendBaseUrl
* Backend server base URL.
* @param array|Collection $clientConfig
* Backend Guzzle clie... | * Event dispatcher.
* @param string $backendBaseUrl
* Backend server base URL.
* @param array|Collection $clientConfig
* Backend Guzzle client options.
*/
public function __construct(EventDispatcherInterface $dispatcher, $backendBaseUrl, $clientConfig = NULL)
{
$this-... | <|file_sep|>ResourceManager.php.diff
original:
* Guzzle client.
updated:
* Guzzle backend client.
<|file_sep|>original/ResourceManager.php
* Event dispatcher.
* @param string $backendBaseUrl
* Backend server base URL.
* @param array|Collection $clientConfig
* Backend Guzzle clie... | 578d72a801564f2a7389c90057be2e236cddf850 | ResourceManager.php | ResourceManager.php | PHP |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.4.2
- tip
sudo: false
before_install:
- gotools=golang.org/x/tools
install:
- go get -d -t -v ./...
- go get -v $gotools/cmd/cover
- go get -v $gotools/cmd/vet
- go get -v github.com/bradfitz/goimports
- go get -v github.com/golang/lint/golint
script... | language: go
go:
- 1.4.2
sudo: false
before_install:
- gotools=golang.org/x/tools
install:
- go get -d -t -v ./...
- go get -v $gotools/cmd/cover
- go get -v $gotools/cmd/vet
- go get -v github.com/bradfitz/goimports
- go get -v github.com/golang/lint/golint
script:
- export PATH=$PATH:$HOME/gopath/bin
... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.4.2
- tip
sudo: false
before_install:
- gotools=golang.org/x/tools
install:
- go get -d -t -v ./...
- go get -v $gotools/cmd/cover
- go get -v $gotools/cmd/vet
- go get -v github.com/bradfitz/goimports
- go get -v github.com/golang/lint/golint
script... | 87f92e7f4fab0efb498aba4d34396f3b83a1e83d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java
<|file_sep|>current/gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java
<|file_sep|>updated/gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java | package com.google.android.gnd.persistence.remote;
public class UploadProgress {
private final UploadState state;
private final int total;
private final int progress;
public UploadProgress(UploadState state) {
this(state, 0, 0);
}
public UploadProgress(UploadState state, int total, int progress) {
... | <|file_sep|>original/gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java
<|file_sep|>current/gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java
<|file_sep|>updated/gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java
package com.googl... | ec4661286f53929d332a96648fe36b67c8f5a14d | gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java | gnd/src/main/java/com/google/android/gnd/persistence/remote/UploadProgress.java | Java |
<|file_sep|>original/serverbackup.sh
<|file_sep|>current/serverbackup.sh
<|file_sep|>updated/serverbackup.sh | #!/bin/bash
# Check if we are running as root
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
backup_destination=/media/redbackup/UbuntuServer
user_to_backup=pascalbaljet
echo Backup destination: "$backup_destination"
echo User to backup: "$user_to_backup"
# Create all necessary directories
e... | <|file_sep|>original/serverbackup.sh
<|file_sep|>current/serverbackup.sh
<|file_sep|>updated/serverbackup.sh
#!/bin/bash
# Check if we are running as root
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
backup_destination=/media/redbackup/UbuntuServer
user_to_backup=pascalbaljet
echo Backup ... | 0df8bbfded9f0c608971815650fee9d5dd875e05 | serverbackup.sh | serverbackup.sh | Shell |
<|file_sep|>dlib/meta.yaml.diff
original:
updated:
build:
number: 1
<|file_sep|>dlib/meta.yaml.diff
original:
- boost_python
updated:
- boost
<|file_sep|>original/dlib/meta.yaml
- python
- cmake # [win]
- boost_python
- jpeg
- libpng
- sqlite
run:
- python
- boost_python
- jpeg... | build:
- python
- cmake # [win]
- boost
- jpeg
- libpng
- sqlite
run:
- python
- boost
- jpeg
- libpng
- sqlite
test:
imports:
- dlib
about:
home: http://dlib.net/ | <|file_sep|>dlib/meta.yaml.diff
original:
updated:
build:
number: 1
<|file_sep|>dlib/meta.yaml.diff
original:
- boost_python
updated:
- boost
<|file_sep|>original/dlib/meta.yaml
- python
- cmake # [win]
- boost_python
- jpeg
- libpng
- sqlite
run:
- python
- boost_python
- jpeg... | 5a7fdc0e31176459e779402e48347db75f246fac | dlib/meta.yaml | dlib/meta.yaml | YAML |
<|file_sep|>original/appveyor.yml
---
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- ruby --version
- gem --version
- bundle install
build: off
test_script:
- bundle exec rake spec
environment:
matrix:
- ruby_version: "30-x64"
- ruby_version: "27-x64"
- ruby_version: "26-x64"
- ruby... | ---
image: Visual Studio 2019
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- ruby --version
- gem --version
- bundle install
build: off
test_script:
- bundle exec rake spec
environment:
matrix:
- ruby_version: "30-x64"
- ruby_version: "27-x64"
- ruby_version: "26-x64"
- ruby_versio... | <|file_sep|>original/appveyor.yml
---
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- ruby --version
- gem --version
- bundle install
build: off
test_script:
- bundle exec rake spec
environment:
matrix:
- ruby_version: "30-x64"
- ruby_version: "27-x64"
- ruby_version: "26-x64"
- ruby... | 519ae9d9ebe87b6bc39425f173ea706ce65afc5c | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/vars/jplJIRA.groovy
End job with error if
- The project doen't exist in JIRA, and
- JIRA_FAIL_ON_ERROR env variable (or failOnError parameter) is set on "true"
Parameters:
* cfg jplConfig object
cfg usage:
- cfg.jira.*
*/
def checkProjectExists(cfg) {
if (cfg.jira.projectKey !... | End job with error if
- The project doen't exist in JIRA, and
- JIRA_FAIL_ON_ERROR env variable (or failOnError parameter) is set on "true"
Parameters:
* cfg jplConfig object
cfg usage:
- cfg.jira.*
*/
def checkProjectExists(cfg) {
if (cfg.jira.projectKey != '') {
script {
prin... | <|file_sep|>original/vars/jplJIRA.groovy
End job with error if
- The project doen't exist in JIRA, and
- JIRA_FAIL_ON_ERROR env variable (or failOnError parameter) is set on "true"
Parameters:
* cfg jplConfig object
cfg usage:
- cfg.jira.*
*/
def checkProjectExists(cfg) {
if (cfg.jira.projectKey !... | 51c4b6bb7e23e5a3d96b6169f2262c062ab013a1 | vars/jplJIRA.groovy | vars/jplJIRA.groovy | Groovy |
<|file_sep|>original/base/check_test.cpp
#include "base/common.h"
TEST(CheckTest, CheckTrueSucceedsTest) {
CHECK(1);
CHECK(42);
}
TEST(CheckTest, AssertionsAndChecksTest) {
CHECK(2 + 2 == 4); // NOLINT
ASSERT_TRUE(2 + 2 == 4); // NOLINT
ASSERT_EQ(5, 2 + 2);
ASSERT_LE(2 + 2, 5);
printf("Passed al... | #include "base/common.h"
TEST(CheckTest, CheckTrueSucceedsTest) {
CHECK(1);
CHECK(42);
}
TEST(CheckTest, AssertionsAndChecksTest) {
CHECK(2 + 2 == 4); // NOLINT
ASSERT_TRUE(2 + 2 == 4); // NOLINT
ASSERT_EQ(4, 2 + 2);
ASSERT_LE(2 + 2, 5);
printf("Passed all ASSERT macros, now EXPECT macros\n");
... | <|file_sep|>original/base/check_test.cpp
#include "base/common.h"
TEST(CheckTest, CheckTrueSucceedsTest) {
CHECK(1);
CHECK(42);
}
TEST(CheckTest, AssertionsAndChecksTest) {
CHECK(2 + 2 == 4); // NOLINT
ASSERT_TRUE(2 + 2 == 4); // NOLINT
ASSERT_EQ(5, 2 + 2);
ASSERT_LE(2 + 2, 5);
printf("Passed al... | f31036d8a5b3e16c6ac442db6cde43f93767820c | base/check_test.cpp | base/check_test.cpp | C++ |
<|file_sep|>original/src/moderation/templates/moderation/image_diff.html
<img src="{{ left_image.url }}"><img style="margin-left: 10px;" src="{{ right_image.url }}">
<|file_sep|>current/src/moderation/templates/moderation/image_diff.html
<img src="{{ left_image.url }}"><img style="margin-left: 10px;" src="{{ right_imag... | {% if left_image %}
<img src="{{ left_image.url }}">
{% else %}
None
{% endif %}
{% if right_image %}
<img style="margin-left: 10px;" src="{{ right_image.url }}">
{% else %}
None
{% endif %} | <|file_sep|>original/src/moderation/templates/moderation/image_diff.html
<img src="{{ left_image.url }}"><img style="margin-left: 10px;" src="{{ right_image.url }}">
<|file_sep|>current/src/moderation/templates/moderation/image_diff.html
<img src="{{ left_image.url }}"><img style="margin-left: 10px;" src="{{ right_imag... | bf2e31df0b2a1293451e2b9d919754f129e14cbd | src/moderation/templates/moderation/image_diff.html | src/moderation/templates/moderation/image_diff.html | HTML |
<|file_sep|>original/update-docs.sh
TMP_DIR="$(mktemp -d)"
echo "Using tempory directory $TMP_DIR"
cp -r $DIR/build/doc $TMP_DIR/doc
# checkout gh-pages
git checkout gh-pages
# remove the old docs, and not hidden files
rm -rf $(ls $DIR)
# copy them over
cp $TMP_DIR/doc/html/{ $(ls -dm */ $TMP_DIR/doc/html) } $DIR... | TMP_DIR="$(mktemp -d)"
echo "Using tempory directory $TMP_DIR"
cp -r $DIR/build/doc $TMP_DIR/doc
# checkout gh-pages
git checkout gh-pages
# remove the old docs, and not hidden files
rm -rf $(ls $DIR)
# copy them over
cd $TMP_DIR
ls $TMP_DIR/doc/html | xargs cp {} $DIR/
# delete the tempory directory
rm -r $TMP_D... | <|file_sep|>original/update-docs.sh
TMP_DIR="$(mktemp -d)"
echo "Using tempory directory $TMP_DIR"
cp -r $DIR/build/doc $TMP_DIR/doc
# checkout gh-pages
git checkout gh-pages
# remove the old docs, and not hidden files
rm -rf $(ls $DIR)
# copy them over
cp $TMP_DIR/doc/html/{ $(ls -dm */ $TMP_DIR/doc/html) } $DIR... | 2a64171754038e9327d1ba8e160de87337a900cd | update-docs.sh | update-docs.sh | Shell |
<|file_sep|>glib/GLib.cs.diff
original:
static bool SystemDispatch (IOChannel source, IOCondition condition, IntPtr data)
{
Bus.System.Iterate ();
return true;
}
static bool SessionDispatch (IOChannel source, IOCondition condition, IntPtr data)
{
Bus.Session.Iterate ();
return true;
}
updated:... |
initialized = true;
}
public static void Init (Connection conn)
{
IOFunc dispatchHandler = delegate (IOChannel source, IOCondition condition, IntPtr data) {
conn.Iterate ();
return true;
};
Init (conn, dispatchHandler);
}
public static void Init (Connection conn, IOFunc dispatchHandler... | <|file_sep|>glib/GLib.cs.diff
original:
static bool SystemDispatch (IOChannel source, IOCondition condition, IntPtr data)
{
Bus.System.Iterate ();
return true;
}
static bool SessionDispatch (IOChannel source, IOCondition condition, IntPtr data)
{
Bus.Session.Iterate ();
return true;
}
updated:... | 54632c9feaa8590427cf6d3bd8c3b0b2e00d9fe5 | glib/GLib.cs | glib/GLib.cs | C# |
<|file_sep|>original/.travis.yml
language: java
matrix:
include:
- jdk: oraclejdk8
script:
- mvn -N io.takari:maven:wrapper
<|file_sep|>current/.travis.yml
language: java
matrix:
include:
- jdk: oraclejdk8
script:
- mvn -N io.takari:maven:wrapper
<|file_sep|>updated/.travis.yml | language: java
matrix:
include:
- jdk: oraclejdk8
script:
- mvn -N io.takari:maven:wrapper
- mvn install | <|file_sep|>original/.travis.yml
language: java
matrix:
include:
- jdk: oraclejdk8
script:
- mvn -N io.takari:maven:wrapper
<|file_sep|>current/.travis.yml
language: java
matrix:
include:
- jdk: oraclejdk8
script:
- mvn -N io.takari:maven:wrapper
<|file_sep|>updated/.travis.yml
language: java
matrix:
... | 98de0dece7e6670b5002f0ed22b83ee001cf0491 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Fig
===
[](https://travis-ci.org/docker/fig)
[](http://badge.fury.io/py/fig)
Fast, isolated development environments using Docker.
Define your app's environment with Dock... | Fig
===
[](https://app.wercker.com/project/bykey/0d0c60a19c7df950ff68329caa7123ae)
Fast, isolated development environments using Docker.
Define your app's environment with Docker so it can be reproduced anywhe... | <|file_sep|>original/README.md
Fig
===
[](https://travis-ci.org/docker/fig)
[](http://badge.fury.io/py/fig)
Fast, isolated development environments using Docker.
Define your app's environment with Dock... | 3535270ef0471fb6c43740d301904f7fc23b84cf | README.md | README.md | Markdown |
<|file_sep|>app/controllers/comments_controller.rb.diff
original:
before_action :find_comment, only: %i[edit update destroy]
updated:
before_action :find_comment, only: %i[edit update destroy comment_owner]
before_action :comment_owner, only: %i[edit update destroy]
<|file_sep|>original/app/controllers/comments_c... |
def comment_params
params.fetch(:comment, {}).permit(
:content
)
end
def find_post
@post = Post.find(params[:post_id])
end
def find_comment
@comment = @post.comments.find(params[:id])
end
def comment_owner
flash[:notice] = 'Only owner of the comment can delete or update' unle... | <|file_sep|>app/controllers/comments_controller.rb.diff
original:
before_action :find_comment, only: %i[edit update destroy]
updated:
before_action :find_comment, only: %i[edit update destroy comment_owner]
before_action :comment_owner, only: %i[edit update destroy]
<|file_sep|>original/app/controllers/comments_c... | 5ebb06d50baf18ff398c80f91f95c49b2c90f269 | app/controllers/comments_controller.rb | app/controllers/comments_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
script:
# need to skip pylint on 3.5 since it doesn't work yet.
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pylint basilisk --rcfile=.pylintrc; fi
- coverage run --source=basilisk -m basilisk.tests &&... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
services:
- redis
- elasticsearch
script:
# need to skip pylint on 3.5 since it doesn't work yet.
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pylint basilisk --rcfile=.pylintrc; fi
- coverage run --source=basilisk -m basilisk.tes... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
script:
# need to skip pylint on 3.5 since it doesn't work yet.
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pylint basilisk --rcfile=.pylintrc; fi
- coverage run --source=basilisk -m basilisk.tests &&... | 5acc8fdbc444becf33e971ad5cb1a313f564ad60 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Alexa.NET/Response/CardImage.cs.diff
original:
[JsonProperty("smallImageUrl")]
[JsonRequired]
updated:
[JsonProperty("smallImageUrl",NullValueHandling = NullValueHandling.Ignore)]
<|file_sep|>original/Alexa.NET/Response/CardImage.cs
using Newtonsoft.Json;
namespace Alexa.NET.Respon... | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl",NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl", NullValueHandling = NullValueHandling.Ignore)]
p... | <|file_sep|>Alexa.NET/Response/CardImage.cs.diff
original:
[JsonProperty("smallImageUrl")]
[JsonRequired]
updated:
[JsonProperty("smallImageUrl",NullValueHandling = NullValueHandling.Ignore)]
<|file_sep|>original/Alexa.NET/Response/CardImage.cs
using Newtonsoft.Json;
namespace Alexa.NET.Respon... | 30dca2a094ce63eeede1278835cb4f63f7640468 | Alexa.NET/Response/CardImage.cs | Alexa.NET/Response/CardImage.cs | C# |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
-... | node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
-... | 1d3fa164c855e3a64e389dea9c6ab6104c892212 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/client/head.jade
head
title Live Basket-Ball Stats
meta(charset="utf-8")
meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no")
<|file_sep|>current/client/head.jade
head
title Live Basket-Ball Stats
meta(charset="utf-8")
meta(name="viewport" con... | head
title Live Basket-Ball Stats
meta(charset="utf-8")
meta(
name="viewport"
content="width=device-width,
initial-scale=1,
shrink-to-fit=no"
)
link(
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css"
integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmL... | <|file_sep|>original/client/head.jade
head
title Live Basket-Ball Stats
meta(charset="utf-8")
meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no")
<|file_sep|>current/client/head.jade
head
title Live Basket-Ball Stats
meta(charset="utf-8")
meta(name="viewport" con... | 46225477d4249603b251a49fc377f959e623ecd1 | client/head.jade | client/head.jade | Jade |
<|file_sep|>original/package.json
{
"name": "grunt-filerev-usemin",
"description": "Replace references to grunt-filerev files.",
"version": "1.2.1",
"license": "MIT",
"homepage": "https://github.com/Lanfei/grunt-filerev-usemin",
"author": {
"name": "Lanfei",
"email": "CooLanfei@163.com",
"url": ... | {
"name": "grunt-filerev-usemin",
"description": "Replace references to grunt-filerev files.",
"version": "1.2.2",
"license": "MIT",
"homepage": "https://github.com/Lanfei/grunt-filerev-usemin",
"author": {
"name": "Lanfei",
"email": "CooLanfei@163.com",
"url": "http://www.clanfei.com"
},
"r... | <|file_sep|>original/package.json
{
"name": "grunt-filerev-usemin",
"description": "Replace references to grunt-filerev files.",
"version": "1.2.1",
"license": "MIT",
"homepage": "https://github.com/Lanfei/grunt-filerev-usemin",
"author": {
"name": "Lanfei",
"email": "CooLanfei@163.com",
"url": ... | 886343f78fbcd8d809669f35b8885b7f9e44bd24 | package.json | package.json | JSON |
<|file_sep|>original/test/react-native-cli/features/built-app.feature
Feature: Tests against a React Native app that was initialized using the Bugsnag React Native CLI
Scenario: Build app sends JavaScript and Native handled errors
When I notify a handled JavaScript error
And I wait to receive a request
Then the ... | Feature: Tests against a React Native app that was initialized using the Bugsnag React Native CLI
Scenario: Build app sends JavaScript and Native handled errors
When I notify a handled JavaScript error
And I wait to receive a request
Then the event "unhandled" is false
And the event "exceptions.0.errorClass" e... | <|file_sep|>original/test/react-native-cli/features/built-app.feature
Feature: Tests against a React Native app that was initialized using the Bugsnag React Native CLI
Scenario: Build app sends JavaScript and Native handled errors
When I notify a handled JavaScript error
And I wait to receive a request
Then the ... | 8ce623c10b7a50bf7438811fcbd0a8d0675ccd05 | test/react-native-cli/features/built-app.feature | test/react-native-cli/features/built-app.feature | Cucumber |
<|file_sep|>.travis.yml.diff
original:
dist: trusty
sudo: required
updated:
<|file_sep|>original/.travis.yml
language: rust
dist: trusty
sudo: required
rust: nightly
env:
- LLVM_CONFIG=~/llvm/build/bin/llvm-config
cache:
directories:
- $HOME/llvm
before_install:
- cd ~
- git clone https://github.com/rust-l... | language: rust
rust: nightly
env:
- LLVM_CONFIG=$(which llvm-config-3.8) CXX=$(which g++-4.9)
addons:
apt:
sources:
- llvm-toolchain-precise
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- llvm-3.8
- llvm-3.8-dev
script:
- cd $TRAVIS_BUILD_D... | <|file_sep|>.travis.yml.diff
original:
dist: trusty
sudo: required
updated:
<|file_sep|>original/.travis.yml
language: rust
dist: trusty
sudo: required
rust: nightly
env:
- LLVM_CONFIG=~/llvm/build/bin/llvm-config
cache:
directories:
- $HOME/llvm
before_install:
- cd ~
- git clone https://github.com/rust-l... | 0ae7fc1af1662e6b019113a460660581ef4e76bc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/com.moonpi.swiftnotes.txt
Summary:Take notes
Description:
Note taking app focusing on simplicity and speed. It offers you a quick and
easy way to stay organized, capture your thoughts, reminders or anything
that's on your mind, any time, anywhere. No extra unnecessary features, just
notes.... | Summary:Take notes
Description:
Note taking app focusing on simplicity and speed. It offers you a quick and
easy way to stay organized, capture your thoughts, reminders or anything
that's on your mind, any time, anywhere. No extra unnecessary features, just
notes.
.
Repo Type:git
Repo:https://github.com/adrianchifor/S... | <|file_sep|>original/metadata/com.moonpi.swiftnotes.txt
Summary:Take notes
Description:
Note taking app focusing on simplicity and speed. It offers you a quick and
easy way to stay organized, capture your thoughts, reminders or anything
that's on your mind, any time, anywhere. No extra unnecessary features, just
notes.... | 8db4797a24390ee9e3e6df6ff1938b9ec2752f82 | metadata/com.moonpi.swiftnotes.txt | metadata/com.moonpi.swiftnotes.txt | Text |
<|file_sep|>original/.github/workflows/test.yml
jobs:
build:
runs-on: ubuntu-latest
name: Test on Rails ${{ matrix.rails_version }}
strategy:
matrix:
rails_version:
- ~> 5.1.0
- ~> 5.2.0
- ~> 6.0.0
- ~> 6.1.0
- ~> 7.0.0
container: docker... |
jobs:
build:
runs-on: ubuntu-latest
name: Test on Rails ${{ matrix.rails_version }}
strategy:
matrix:
include:
- rails_version: ~> 7.0.0
ruby_version: 3.1
- rails_version: ~> 6.1.0
ruby_version: '3.0'
- rails_version: ~> 6.0.0
... | <|file_sep|>original/.github/workflows/test.yml
jobs:
build:
runs-on: ubuntu-latest
name: Test on Rails ${{ matrix.rails_version }}
strategy:
matrix:
rails_version:
- ~> 5.1.0
- ~> 5.2.0
- ~> 6.0.0
- ~> 6.1.0
- ~> 7.0.0
container: docker... | 17d7a0f9d8f9ddd07cae2a794f7fea97cda2b3ee | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/Fabula/src/eu/theunitry/fabula/UNFabula.java
/**
______ _ _
| ___| | | | | 1.0
| |_ __ _| |__ _ _| | __ _
| _/ _` | '_ \| | | | |/ _` |
| || (_| | |_) | |_| | | (_| |
\_| \__,_|_.__/ \__,_|_|\__,_|
© The Unitry, 2015
**/
package eu.th... | /**
______ _ _
| ___| | | | | 0.2
| |_ __ _| |__ _ _| | __ _
| _/ _` | '_ \| | | | |/ _` |
| || (_| | |_) | |_| | | (_| |
\_| \__,_|_.__/ \__,_|_|\__,_|
© The Unitry, 2015
**/
package eu.theunitry.fabula;
import eu.theunitry.fabula.UNGameEngine.graphics.... | <|file_sep|>original/Fabula/src/eu/theunitry/fabula/UNFabula.java
/**
______ _ _
| ___| | | | | 1.0
| |_ __ _| |__ _ _| | __ _
| _/ _` | '_ \| | | | |/ _` |
| || (_| | |_) | |_| | | (_| |
\_| \__,_|_.__/ \__,_|_|\__,_|
© The Unitry, 2015
**/
package eu.th... | 899f64c45c301873c52b463198f9f2654a389a71 | Fabula/src/eu/theunitry/fabula/UNFabula.java | Fabula/src/eu/theunitry/fabula/UNFabula.java | Java |
<|file_sep|>original/run-nofib.bat
<|file_sep|>current/run-nofib.bat
<|file_sep|>updated/run-nofib.bat | @ECHO OFF
if not "%1" == "" goto continue
for %%i in (imaginary) do for %%j in (yca\%%i\*.yca) do call %0 %%j
goto end
:continue
echo Processing %1
firstify %1 -himl > %1.txt 2>&1
:end | <|file_sep|>original/run-nofib.bat
<|file_sep|>current/run-nofib.bat
<|file_sep|>updated/run-nofib.bat
@ECHO OFF
if not "%1" == "" goto continue
for %%i in (imaginary) do for %%j in (yca\%%i\*.yca) do call %0 %%j
goto end
:continue
echo Processing %1
firstify %1 -himl > %1.txt 2>&1
:end | 98a1d7b6d3e85435edb74bfa9f8f8a5329916836 | run-nofib.bat | run-nofib.bat | Batchfile |
<|file_sep|>original/t/03-doctests.sh
<|file_sep|>current/t/03-doctests.sh
<|file_sep|>updated/t/03-doctests.sh | #!/bin/bash
# Load testing framework
. ./testlib.sh
# Test setup
. ./test_setup.sh
TEST_SUITE_NAME="Run python doctests"
# Don't count the total number of tests
TOTAL_TESTS=
run_doctests() {
DIR=$1
cd $DIR
FILES=*.py
for f in $FILES; do
python -m doctest $f
assert_ran_ok "Python doc... | <|file_sep|>original/t/03-doctests.sh
<|file_sep|>current/t/03-doctests.sh
<|file_sep|>updated/t/03-doctests.sh
#!/bin/bash
# Load testing framework
. ./testlib.sh
# Test setup
. ./test_setup.sh
TEST_SUITE_NAME="Run python doctests"
# Don't count the total number of tests
TOTAL_TESTS=
run_doctests() {
DIR=$1... | 95ed00b3d73e6b679a185448cc413e0ec082d263 | t/03-doctests.sh | t/03-doctests.sh | Shell |
<|file_sep|>original/server/dummy/dummy_server.py
class JsonPostResponder(RequestHandlerClass):
def _get_content_from_stream(self, length, stream):
return stream.read(length)
def do_POST(self):
content_length = int(self.headers['Content-Length'])
content = self._get_content_from_stream... |
SERVER_NAME = ''
SERVER_PORT = 9000
class JsonPostResponder(RequestHandlerClass):
def _get_content_from_stream(self, length, stream):
return stream.read(length)
def do_POST(self):
content_length = int(self.headers['Content-Length'])
content = self._get_content_from_stream(content_leng... | <|file_sep|>original/server/dummy/dummy_server.py
class JsonPostResponder(RequestHandlerClass):
def _get_content_from_stream(self, length, stream):
return stream.read(length)
def do_POST(self):
content_length = int(self.headers['Content-Length'])
content = self._get_content_from_stream... | eab249a092da21d47b07fd9918d4b28dcbc6089b | server/dummy/dummy_server.py | server/dummy/dummy_server.py | Python |
<|file_sep|>original/app/scripts/controllers/explore.js
angular.module('visualizerApp')
.controller('ExploreController', ['$scope', '$upload', '$location', '$http', '$timeout', '$filter', 'jsonFactory', function ($scope, $upload, $location, $http, $timeout, $filter, jsonFactory) {
$scope.fileApiSupport = jsonFact... | angular.module('visualizerApp')
.controller('ExploreController', ['$scope', '$upload', '$location', '$http', '$timeout', '$filter', 'jsonFactory', function ($scope, $upload, $location, $http, $timeout, $filter, jsonFactory) {
$scope.fileApiSupport = jsonFactory.fileApiSupport;
$scope.repos = [];
$scope.fi... | <|file_sep|>original/app/scripts/controllers/explore.js
angular.module('visualizerApp')
.controller('ExploreController', ['$scope', '$upload', '$location', '$http', '$timeout', '$filter', 'jsonFactory', function ($scope, $upload, $location, $http, $timeout, $filter, jsonFactory) {
$scope.fileApiSupport = jsonFact... | 990cbb2d4a88fd430d37bd6db5ecccd752550a4e | app/scripts/controllers/explore.js | app/scripts/controllers/explore.js | JavaScript |
<|file_sep|>dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java.diff
original:
updated:
dataSource.setUser(config.getUsername());
dataSource.setPassword(config.getPassword());
<|file_sep|>original/dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java
{
public MySqlDataSource(M... | public MySqlDataSource(MySqlDataSourceConfig config)
{
super(createMySQLConnectionPoolDataSource(config),
config.getMaxConnections(),
config.getMaxConnectionWait());
}
private static MysqlConnectionPoolDataSource createMySQLConnectionPoolDataSource(MySqlDataSourc... | <|file_sep|>dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java.diff
original:
updated:
dataSource.setUser(config.getUsername());
dataSource.setPassword(config.getPassword());
<|file_sep|>original/dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java
{
public MySqlDataSource(M... | 8402d0d7aedac9147e3c9cfb24385ab0ebd84403 | dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java | dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java | Java |
<|file_sep|>original/Changelog.md
# Changelog
Not all changes will be here, but the important ones will be for sure.
## 0.2.1
* Added [using, order and limit clauses](https://github.com/jnunemaker/cassanity/compare/414d780...3aeb254) to column family select
## 0.2.0
*
<|file_sep|>current/Changelog.md
# Changelog
... | # Changelog
Not all changes will be here, but the important ones will be for sure.
## 0.2.1
* Added [using, order and limit clauses](https://github.com/jnunemaker/cassanity/compare/414d780...3aeb254) to column family select | <|file_sep|>original/Changelog.md
# Changelog
Not all changes will be here, but the important ones will be for sure.
## 0.2.1
* Added [using, order and limit clauses](https://github.com/jnunemaker/cassanity/compare/414d780...3aeb254) to column family select
## 0.2.0
*
<|file_sep|>current/Changelog.md
# Changelog
... | ed9a01de78bdb68fc17159723794de0c220f5ea7 | Changelog.md | Changelog.md | Markdown |
<|file_sep|>migrate/index.js.diff
original:
promises.push(sqlModel.User.create({
updated:
let userReq = sqlModel.User.create({
<|file_sep|>migrate/index.js.diff
original:
}));
updated:
});
<|file_sep|>migrate/index.js.diff
original:
promises.push(user.logs.map(log => {
... | });
let logReq = sqlModel.Logs.bulkCreate(user.logs.map(log => {
return {
userID: user.googleId,
time: log.time,
message: log.message,
level: log.level
}
}));
promises.push(userReq);
promises.push(logReq);
... | <|file_sep|>migrate/index.js.diff
original:
promises.push(sqlModel.User.create({
updated:
let userReq = sqlModel.User.create({
<|file_sep|>migrate/index.js.diff
original:
}));
updated:
});
<|file_sep|>migrate/index.js.diff
original:
promises.push(user.logs.map(log => {
... | 28a144d15ebab7c5eaae35fc8fd432962da25046 | migrate/index.js | migrate/index.js | JavaScript |
<|file_sep|>original/app/controllers/api/resources_controller.rb
render :nothing => true
end
protected
def ensure_klass
begin
@klass = params[:klass].classify.constantize
rescue => e
render :json => { :error => e }, :status => :bad_request
end
end
def find_instance
result = ... | render :nothing => true
end
protected
def ensure_klass
begin
@klass = params[:klass].classify.constantize
rescue => e
render :json => { :error => e }, :status => :bad_request
end
end
def find_instance
result = @klass.where(:uuid => params[:uuid])
if @klass.new.respond_to... | <|file_sep|>original/app/controllers/api/resources_controller.rb
render :nothing => true
end
protected
def ensure_klass
begin
@klass = params[:klass].classify.constantize
rescue => e
render :json => { :error => e }, :status => :bad_request
end
end
def find_instance
result = ... | 61907ff9d9e2a3a2954b53d742d2cc8a738bd6b8 | app/controllers/api/resources_controller.rb | app/controllers/api/resources_controller.rb | Ruby |
<|file_sep|>original/.github/workflows/delivery.yml
<|file_sep|>current/.github/workflows/delivery.yml
<|file_sep|>updated/.github/workflows/delivery.yml | name: delivery
on: [push, pull_request]
jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Run Chef Delivery
uses: actionshub/chef-delivery@master
env:
CHEF_LICENSE: accept-no-persist | <|file_sep|>original/.github/workflows/delivery.yml
<|file_sep|>current/.github/workflows/delivery.yml
<|file_sep|>updated/.github/workflows/delivery.yml
name: delivery
on: [push, pull_request]
jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
... | 62472fcd34472608bf7ec086763f911ecf5866f5 | .github/workflows/delivery.yml | .github/workflows/delivery.yml | YAML |
<|file_sep|>original/dtool/src/parser-inc/Python.h
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
// ... | // with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
// This file, and all the other files in this directory, aren't
// intended to be compiled--they're just parsed by CPPParser (and
// interrogate) in lieu of the actual system headers, to generate... | <|file_sep|>original/dtool/src/parser-inc/Python.h
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
// ... | 31a192f27be2444149748705c855e24f0e44a20d | dtool/src/parser-inc/Python.h | dtool/src/parser-inc/Python.h | C |
<|file_sep|>original/lib/test/TikiTestCase.php
<?php
// (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/*
* ... | <?php
// (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/*
* Created on Jan 30, 2009
*
* Parent class of a... | <|file_sep|>original/lib/test/TikiTestCase.php
<?php
// (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/*
* ... | 71415de5039ad7d859a06fdbe1b4c7a20bd726bd | lib/test/TikiTestCase.php | lib/test/TikiTestCase.php | PHP |
<|file_sep|>app/assets/stylesheets/components/search/_search-main.scss.diff
original:
@include responsive(width, calc(100vw - 2*#{$gutter-small}), rem-calc(600), rem-calc(600));
updated:
background-color: $white;
height: 100vh;
<|file_sep|>app/assets/stylesheets/components/search/_search-main.sc... | transform: translateY(-50%);
@include breakpoint($small) {
left: rem-calc(16);
top: 50%;
}
}
&__input {
@include breakpoint-down($small) {
border: none;
border-bottom: black 1px solid;
border-radius: 0;
margin-t... | <|file_sep|>app/assets/stylesheets/components/search/_search-main.scss.diff
original:
@include responsive(width, calc(100vw - 2*#{$gutter-small}), rem-calc(600), rem-calc(600));
updated:
background-color: $white;
height: 100vh;
<|file_sep|>app/assets/stylesheets/components/search/_search-main.sc... | d270dda908b0bb94acdf26d2780996b1639244fa | app/assets/stylesheets/components/search/_search-main.scss | app/assets/stylesheets/components/search/_search-main.scss | SCSS |
<|file_sep|>original/UIImageColors.podspec
Pod::Spec.new do |spec|
spec.name = "UIImageColors"
spec.version = "1.1.1"
spec.license = "MIT"
spec.summary = "iTunes style color fetcher for UIImage."
spec.homepage = "https://github.com/jathu/UIImageColors"
spec.authors = { "Jathu Satku... | Pod::Spec.new do |spec|
spec.name = "UIImageColors"
spec.version = "1.1.1"
spec.license = "MIT"
spec.summary = "iTunes style color fetcher for UIImage."
spec.homepage = "https://github.com/jathu/UIImageColors"
spec.authors = { "Jathu Satkunarajah" => "https://twitter.com/jathu" }
... | <|file_sep|>original/UIImageColors.podspec
Pod::Spec.new do |spec|
spec.name = "UIImageColors"
spec.version = "1.1.1"
spec.license = "MIT"
spec.summary = "iTunes style color fetcher for UIImage."
spec.homepage = "https://github.com/jathu/UIImageColors"
spec.authors = { "Jathu Satku... | 6140fd2e8b24e1faf8cb4525e148ea7a13545f43 | UIImageColors.podspec | UIImageColors.podspec | Ruby |
<|file_sep|>original/composer.json
}
],
"require": {
"php": ">=5.3",
"guzzle/guzzle": "~3.7",
"knplabs/knp-snappy": "~0.3"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"autoload": {
"psr-4": { "Campaign\\": "src/"}
},
"autoload-dev... | }
],
"require": {
"php": ">=5.3",
"guzzle/guzzle": "~3.7",
"knplabs/knp-snappy": "~0.3"
},
"require-dev": {
"phpunit/phpunit": "~4.2"
},
"autoload": {
"psr-4": { "Campaign\\": "src/"}
},
"autoload-dev": {
"psr-4": { "Campaign\\T... | <|file_sep|>original/composer.json
}
],
"require": {
"php": ">=5.3",
"guzzle/guzzle": "~3.7",
"knplabs/knp-snappy": "~0.3"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"autoload": {
"psr-4": { "Campaign\\": "src/"}
},
"autoload-dev... | cf75e27d9ecca4f37bcf1473a0964a6572848d26 | composer.json | composer.json | JSON |
<|file_sep|>original/README.rst
.. image:: https://readthedocs.org/projects/python-twitch-stream/badge/
:target: http://python-twitch-stream.readthedocs.org/en/latest/
.. image:: https://travis-ci.org/317070/python-twitch-stream.svg
:target: https://travis-ci.org/317070/python-twitch-stream
.. image:: https:/... | .. image:: https://readthedocs.org/projects/python-twitch-stream/badge/
:target: http://python-twitch-stream.readthedocs.org/en/latest/
.. image:: https://travis-ci.org/317070/python-twitch-stream.svg
:target: https://travis-ci.org/317070/python-twitch-stream
.. image:: https://coveralls.io/repos/317070/pytho... | <|file_sep|>original/README.rst
.. image:: https://readthedocs.org/projects/python-twitch-stream/badge/
:target: http://python-twitch-stream.readthedocs.org/en/latest/
.. image:: https://travis-ci.org/317070/python-twitch-stream.svg
:target: https://travis-ci.org/317070/python-twitch-stream
.. image:: https:/... | 0330857d44df42bd9da1d9044036982454861b97 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/app/controllers/jmd/appearances_controller.rb
class Jmd::AppearancesController < Jmd::BaseController
load_and_authorize_resource :contest, only: :index
# Set up filters
has_scope :in_contest, only: :index
has_scope :advanced_from_contest, only: :index
has_scope :in_contest_category, onl... | class Jmd::AppearancesController < Jmd::BaseController
load_and_authorize_resource :contest, only: :index
# Set up filters
has_scope :in_contest, only: :index
has_scope :advanced_from_contest, only: :index
has_scope :in_contest_category, only: :index
has_scope :in_age_group, only: :index
has_scope :on_d... | <|file_sep|>original/app/controllers/jmd/appearances_controller.rb
class Jmd::AppearancesController < Jmd::BaseController
load_and_authorize_resource :contest, only: :index
# Set up filters
has_scope :in_contest, only: :index
has_scope :advanced_from_contest, only: :index
has_scope :in_contest_category, onl... | 435fdce0eb2c28019a753620b606f3cd554cd795 | app/controllers/jmd/appearances_controller.rb | app/controllers/jmd/appearances_controller.rb | Ruby |
<|file_sep|>original/mod_proxy_scgi-X-Sendfile-patch.txt
<|file_sep|>current/mod_proxy_scgi-X-Sendfile-patch.txt
<|file_sep|>updated/mod_proxy_scgi-X-Sendfile-patch.txt | Index: modules/proxy/mod_proxy_scgi.c
===================================================================
--- modules/proxy/mod_proxy_scgi.c (revision 1672954)
+++ modules/proxy/mod_proxy_scgi.c (working copy)
@@ -419,6 +419,9 @@
if (conf->internal_redirect && r->status == HTTP_OK) {
location = apr_tabl... | <|file_sep|>original/mod_proxy_scgi-X-Sendfile-patch.txt
<|file_sep|>current/mod_proxy_scgi-X-Sendfile-patch.txt
<|file_sep|>updated/mod_proxy_scgi-X-Sendfile-patch.txt
Index: modules/proxy/mod_proxy_scgi.c
===================================================================
--- modules/proxy/mod_proxy_scgi.c (revisio... | edf987bc2f7d56f5b941d5d14ae5e2482a01771d | mod_proxy_scgi-X-Sendfile-patch.txt | mod_proxy_scgi-X-Sendfile-patch.txt | Text |
<|file_sep|>WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/CreateMessageRequest.java.diff
original:
updated:
import javax.validation.constraints.Size;
<|file_sep|>WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/CreateMessageRequest.java.diff
original:
updated:
/**
... | @Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class CreateMessageRequest {
/**
* The message contents (up to 2000 characters).
*/
@Size(min = 1, max = 2000)
private String content;
/**
* A nonce that can be used for optimistic message sending.
*/
private String ... | <|file_sep|>WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/CreateMessageRequest.java.diff
original:
updated:
import javax.validation.constraints.Size;
<|file_sep|>WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/CreateMessageRequest.java.diff
original:
updated:
/**
... | 01740eac1ecaacf349162f3d9430453fedc7c0f6 | WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/CreateMessageRequest.java | WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/CreateMessageRequest.java | Java |
<|file_sep|>metadata.yaml.diff
original:
fuel_version: ['6.0']
updated:
fuel_version: ['6.0','6.1']
<|file_sep|>original/metadata.yaml
version: 1.0.0
# Description
description: Enables LBaaS for Neutron, works in multinode mode only
# Required fuel version
fuel_version: ['6.0']
# The plugin is compatible with releases... | - os: ubuntu
version: 2014.2-6.0
mode: ['multinode','ha']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
- os: centos
version: 2014.2-6.0
mode: ['multinode','ha']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/centos
- ... | <|file_sep|>metadata.yaml.diff
original:
fuel_version: ['6.0']
updated:
fuel_version: ['6.0','6.1']
<|file_sep|>original/metadata.yaml
version: 1.0.0
# Description
description: Enables LBaaS for Neutron, works in multinode mode only
# Required fuel version
fuel_version: ['6.0']
# The plugin is compatible with releases... | 5a61cac9525f6c75d9e8245fea0bc25d16e26b26 | metadata.yaml | metadata.yaml | YAML |
<|file_sep|>original/example/zen.dart
import "dart:html";
import "package:github/browser.dart";
import "common.dart";
GitHub github;
DivElement $zen;
void main() {
init("readme.dart", onReady: () {
github = createGitHubClient();
$zen = querySelector("#zen");
loadZen();
});
}
void loadZen() {
gith... | import "dart:html";
import "package:github/browser.dart";
import "common.dart";
GitHub github;
DivElement $zen;
void main() {
init("zen.dart", onReady: () {
github = createGitHubClient();
$zen = querySelector("#zen");
loadZen();
});
}
void loadZen() {
github.zen().then((zen) => $zen.appendText(ze... | <|file_sep|>original/example/zen.dart
import "dart:html";
import "package:github/browser.dart";
import "common.dart";
GitHub github;
DivElement $zen;
void main() {
init("readme.dart", onReady: () {
github = createGitHubClient();
$zen = querySelector("#zen");
loadZen();
});
}
void loadZen() {
gith... | 10ca8f716ec357bbf2ff037b3eecea93d6d5feec | example/zen.dart | example/zen.dart | Dart |
<|file_sep|>src/File/Command/GetSystemMaxUploadSize.php.diff
original:
$post = str_replace('M', '', ini_get('post_max_size'));
$file = str_replace('M', '', ini_get('upload_max_filesize'));
updated:
$post = $this->getSize('post_max_size');
$file = $this->getSize('upload_max_filesize');
<|... | *
* @return int
*/
public function handle()
{
$post = $this->getSize('post_max_size');
$file = $this->getSize('upload_max_filesize');
return $file > $post ? $post : $file;
}
/**
* Get php.ini value and convert it to Mb if needed.
*
* @param $key
... | <|file_sep|>src/File/Command/GetSystemMaxUploadSize.php.diff
original:
$post = str_replace('M', '', ini_get('post_max_size'));
$file = str_replace('M', '', ini_get('upload_max_filesize'));
updated:
$post = $this->getSize('post_max_size');
$file = $this->getSize('upload_max_filesize');
<|... | 3c5d796a287eaf9b572073b1991df9b43bac8355 | src/File/Command/GetSystemMaxUploadSize.php | src/File/Command/GetSystemMaxUploadSize.php | PHP |
<|file_sep|>javascript/src/createLocation.ts.diff
original:
line?: number
updated:
line: number
<|file_sep|>original/javascript/src/createLocation.ts
import * as messages from '@cucumber/messages'
export default function createLocation(props: {
line?: number
column?: number
}): messages.Location {
const loca... | import * as messages from '@cucumber/messages'
export default function createLocation(props: {
line: number
column?: number
}): messages.Location {
return { ...props }
} | <|file_sep|>javascript/src/createLocation.ts.diff
original:
line?: number
updated:
line: number
<|file_sep|>original/javascript/src/createLocation.ts
import * as messages from '@cucumber/messages'
export default function createLocation(props: {
line?: number
column?: number
}): messages.Location {
const loca... | b4c569e3df4ba7fd3402f79968421231dba1086c | javascript/src/createLocation.ts | javascript/src/createLocation.ts | TypeScript |
<|file_sep|>original/lib/generators/spree_autosuggest/install/install_generator.rb
module SpreeAutosuggest
module Generators
class InstallGenerator < Rails::Generators::Base
def add_javascripts
append_file "app/assets/javascripts/store/all.js", "//= require store/spree_autosuggest\n"
end
... | module SpreeAutosuggest
module Generators
class InstallGenerator < Rails::Generators::Base
def add_javascripts
append_file "app/assets/javascripts/spree/frontend.js", "//= require store/spree_autosuggest\n"
end
def add_migrations
run 'bundle exec rake railties:install:migration... | <|file_sep|>original/lib/generators/spree_autosuggest/install/install_generator.rb
module SpreeAutosuggest
module Generators
class InstallGenerator < Rails::Generators::Base
def add_javascripts
append_file "app/assets/javascripts/store/all.js", "//= require store/spree_autosuggest\n"
end
... | a9546860ebdb8c7e76c571b1d06ba49a2fada142 | lib/generators/spree_autosuggest/install/install_generator.rb | lib/generators/spree_autosuggest/install/install_generator.rb | Ruby |
<|file_sep|>app/mixins/preload_data.js.diff
original:
updated:
promises.push(
new AjaxPromise("/auth/current_user_profile", "GET", this.session.get("authToken"))
.then(data => {
this.store.pushPayload(data);
this.store.push('user', data.user_profile);
})
... | promises.push(
new AjaxPromise("/auth/current_user_profile", "GET", this.session.get("authToken"))
.then(data => {
this.store.pushPayload(data);
this.store.push('user', data.user_profile);
})
);
var offer_params = this.session.get("isAdminApp") ?
... | <|file_sep|>app/mixins/preload_data.js.diff
original:
updated:
promises.push(
new AjaxPromise("/auth/current_user_profile", "GET", this.session.get("authToken"))
.then(data => {
this.store.pushPayload(data);
this.store.push('user', data.user_profile);
})
... | dfc7b9259d22635e2fb4bf2c1f81e2751f54f444 | app/mixins/preload_data.js | app/mixins/preload_data.js | JavaScript |
<|file_sep|>test/qunit.js.diff
original:
updated:
const fs = require("fs");
<|file_sep|>original/test/qunit.js
let qUnit = require("qunit");
qUnit.setup({
log: {
errors: true,
tests: true,
globalSummary: true,
testing: true
},
maxBlockDuration: 2000
});
// one code and te... | log: {
errors: true,
tests: true,
globalSummary: true,
testing: true
},
maxBlockDuration: 2000
});
qUnit.run(fs.readdirSync("test")
.filter(name => -1 === ["adapter", "qunit.js"].indexOf(name))
.map(name => {
return {
code: "test/adapter/qunit.js"... | <|file_sep|>test/qunit.js.diff
original:
updated:
const fs = require("fs");
<|file_sep|>original/test/qunit.js
let qUnit = require("qunit");
qUnit.setup({
log: {
errors: true,
tests: true,
globalSummary: true,
testing: true
},
maxBlockDuration: 2000
});
// one code and te... | d6c6ad8beb0376474c6a1ee936c20dec0d7b8b06 | test/qunit.js | test/qunit.js | JavaScript |
<|file_sep|>original/app.json
"scripts": {
"postdeploy": "echo Done."
},
"env": {
"NPM_CONFIG_PRODUCTION": {
"description": "Enable/disable installing dev-dependencies (must be false for Telepathy to function)",
"value": "false"
},
"NODE_MODULES_CACHE": {
"description": "Enable/d... | "scripts": {
"postdeploy": "echo Done."
},
"env": {
"NPM_CONFIG_PRODUCTION": {
"description": "Enable/disable installing dev-dependencies (must be false for Telepathy to function)",
"value": "false"
},
"NODE_MODULES_CACHE": {
"description": "Enable/disable caching node_modules",
... | <|file_sep|>original/app.json
"scripts": {
"postdeploy": "echo Done."
},
"env": {
"NPM_CONFIG_PRODUCTION": {
"description": "Enable/disable installing dev-dependencies (must be false for Telepathy to function)",
"value": "false"
},
"NODE_MODULES_CACHE": {
"description": "Enable/d... | 6f9c578c287f59be9af2a1ede4ccc953b31d8b52 | app.json | app.json | JSON |
<|file_sep|>Casks/logitech-gaming-software.rb.diff
original:
version '8.53.10'
sha256 '60ce2aacf33ab523333328128ce96239e6e4bb90f6100d1d7d3d40fce28185a9'
updated:
version '8.60.313'
sha256 'f83d5c573fc4236454471158d88153cb970996211b1cbd27180f906fccc7d9c1'
<|file_sep|>Casks/logitech-gaming-software.rb.diff
origin... | cask 'logitech-gaming-software' do
version '8.60.313'
sha256 'f83d5c573fc4236454471158d88153cb970996211b1cbd27180f906fccc7d9c1'
url "http://download01.logitech.com/web/ftp/pub/techsupport/gaming/LogitechSetup_#{version}.zip"
name 'Logitech Gaming Software'
homepage 'http://support.logitech.com/en_us/download... | <|file_sep|>Casks/logitech-gaming-software.rb.diff
original:
version '8.53.10'
sha256 '60ce2aacf33ab523333328128ce96239e6e4bb90f6100d1d7d3d40fce28185a9'
updated:
version '8.60.313'
sha256 'f83d5c573fc4236454471158d88153cb970996211b1cbd27180f906fccc7d9c1'
<|file_sep|>Casks/logitech-gaming-software.rb.diff
origin... | fc2d6860d965e2f274fc58b1513ac5a65ac88374 | Casks/logitech-gaming-software.rb | Casks/logitech-gaming-software.rb | Ruby |
<|file_sep|>dddp/msg.py.diff
original:
import collections
updated:
from dddp import THREAD_LOCAL as this
<|file_sep|>dddp/msg.py.diff
original:
_SERIALIZER = None
updated:
def serializer_factory():
"""Make a new DDP serializer."""
return get_serializer('ddp')()
<|file_sep|>original/dddp/msg.py
_SERIALIZER = ... |
def serializer_factory():
"""Make a new DDP serializer."""
return get_serializer('ddp')()
def obj_change_as_msg(obj, msg):
"""Generate a DDP msg for obj with specified msg type."""
serializer = this.get('serializer', serializer_factory)
data = serializer.serialize([obj])[0]
name = data['mode... | <|file_sep|>dddp/msg.py.diff
original:
import collections
updated:
from dddp import THREAD_LOCAL as this
<|file_sep|>dddp/msg.py.diff
original:
_SERIALIZER = None
updated:
def serializer_factory():
"""Make a new DDP serializer."""
return get_serializer('ddp')()
<|file_sep|>original/dddp/msg.py
_SERIALIZER = ... | 5768d1ebcfec46e564c8b420773d911c243327ff | dddp/msg.py | dddp/msg.py | Python |
<|file_sep|>original/strings/reversewords.go
s++
e--
}
}
// ReverseWords returns a new string containing the words from s in reverse order.
func ReverseWords(s string) string {
r := []byte(s)
reverseBytes(r, 0, len(s)-1) // Reverse whole sentence.
p := 0
for q := p; q < len(r); q++ { // Reverse each world in... | s++
e--
}
}
// ReverseWords returns a new string containing the words from s in reverse order.
func ReverseWords(s string) string {
r := []byte(s)
reverseBytes(r, 0, len(s)-1) // Reverse whole sentence.
p := 0
for q := p; q < len(r); q++ { // Reverse each world in the reversed sentence.
if r[q] == ' ' {
... | <|file_sep|>original/strings/reversewords.go
s++
e--
}
}
// ReverseWords returns a new string containing the words from s in reverse order.
func ReverseWords(s string) string {
r := []byte(s)
reverseBytes(r, 0, len(s)-1) // Reverse whole sentence.
p := 0
for q := p; q < len(r); q++ { // Reverse each world in... | fa56a8d684ce6563125be018252f7d667ff227b3 | strings/reversewords.go | strings/reversewords.go | Go |
<|file_sep|>original/config.h
/* Uncomment to compile with tcpd/libwrap support. */
//#define WITH_WRAP
/* Compile with database upgrading support? If disabled, mosquitto won't
* automatically upgrade old database versions. */
//#define WITH_DB_UPGRADE
/* Compile with memory tracking support? If disabled, mosquitto ... | /* Uncomment to compile with tcpd/libwrap support. */
//#define WITH_WRAP
/* Compile with database upgrading support? If disabled, mosquitto won't
* automatically upgrade old database versions. */
//#define WITH_DB_UPGRADE
/* Compile with memory tracking support? If disabled, mosquitto won't track
* heap memory usa... | <|file_sep|>original/config.h
/* Uncomment to compile with tcpd/libwrap support. */
//#define WITH_WRAP
/* Compile with database upgrading support? If disabled, mosquitto won't
* automatically upgrade old database versions. */
//#define WITH_DB_UPGRADE
/* Compile with memory tracking support? If disabled, mosquitto ... | c1464c4787ee7dcb3fc4c0fc0622cb7f336a4fe6 | config.h | config.h | C |
<|file_sep|>original/src/header/index.js
<h1 className={styles.title}>Langri-Sha</h1>
<nav className={styles.nav}>
{[
[
'Stack Overflow', 'https://stackoverflow.com/users/44041/filip-dupanovi%C4%87?tab=profile',
'StackOverflow profile #SOreadytohelp 💓'
],
[
... | 'Stack Overflow', 'https://stackoverflow.com/users/44041/filip-dupanovi%C4%87?tab=profile',
'StackOverflow profile #SOreadytohelp 💓'
],
[
'Keybase', 'https://keybase.io/langrisha',
'Identity details on Keybase.io'
],
[
'GitHub', 'https:/... | <|file_sep|>original/src/header/index.js
<h1 className={styles.title}>Langri-Sha</h1>
<nav className={styles.nav}>
{[
[
'Stack Overflow', 'https://stackoverflow.com/users/44041/filip-dupanovi%C4%87?tab=profile',
'StackOverflow profile #SOreadytohelp 💓'
],
[
... | 19cd561f5a82561d1df560bf7201c414fffa49c2 | src/header/index.js | src/header/index.js | JavaScript |
<|file_sep|>original/README.md
```
This is also required everytime you switch branch or pull code and the submodule changed.
# Compressing video
Input videos must be a multiple of 64 high and wide, in y4m format.
```
cargo run --bin rav1e --release input.y4m output.ivf
```
# Decompressing video
```
mkdir aom_test... | ```
This is also required everytime you switch branch or pull code and the submodule changed.
# Compressing video
Input videos must be a multiple of 64 high and wide, in y4m format.
```
cargo run --bin rav1e -- input.y4m -o output.ivf
```
# Decompressing video
```
mkdir aom_test
cd aom_test
../aom_build/aom/confi... | <|file_sep|>original/README.md
```
This is also required everytime you switch branch or pull code and the submodule changed.
# Compressing video
Input videos must be a multiple of 64 high and wide, in y4m format.
```
cargo run --bin rav1e --release input.y4m output.ivf
```
# Decompressing video
```
mkdir aom_test... | 6274fe450bc844847e12c947449c23f02551ee3b | README.md | README.md | Markdown |
<|file_sep|>CMakeLists.txt.diff
original:
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
updated:
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_D... | set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
# Ncurses library
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})
# SFX assets
file(COPY src/spcinv/sfx DESTINATION ${CMAKE_BINARY_DIR}/bin)
# Space invaders library
file(G... | <|file_sep|>CMakeLists.txt.diff
original:
#set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
updated:
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_D... | cdd88d2edd905ef81ccef48a3579d8f2547803fb | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/test/unit/img2base64/formatter/data_uri_test.rb
require 'helper'
require 'img2base64/formatter/data_uri'
class Img2Base64::Formatter::DataURITest < MiniTest::Unit::TestCase
def test_to_formatted_s_formats_file
file = MiniTest::Mock.new
file.expect :mime_type, 'image/jpg'
file.expect ... | require 'helper'
require 'img2base64/formatter/data_uri'
class Img2Base64::Formatter::DataURITest < MiniTest::Unit::TestCase
def test_to_formatted_s_formats_file
file = MiniTest::Mock.new
file.expect :mime_type, 'image/jpg'
file.expect :encode, 'ABC123=='
formatter = Img2Base64::Formatter::DataURI.ne... | <|file_sep|>original/test/unit/img2base64/formatter/data_uri_test.rb
require 'helper'
require 'img2base64/formatter/data_uri'
class Img2Base64::Formatter::DataURITest < MiniTest::Unit::TestCase
def test_to_formatted_s_formats_file
file = MiniTest::Mock.new
file.expect :mime_type, 'image/jpg'
file.expect ... | b20eca68844fda9fa010f1f821b2e8b4e23d32da | test/unit/img2base64/formatter/data_uri_test.rb | test/unit/img2base64/formatter/data_uri_test.rb | Ruby |
<|file_sep|>original/roles/python/vars/main.yml
- nose
- pytest
- pytest-xdist
- scipy
- scikit-learn
- statsmodels
- seaborn
- plotly
- requests
- scrapy
- sqlalchemy
- beautifulsoup4
- openpyxl
- psycopg2-binary
- pylint
- invoke
- flake8
- pyyaml
- tmuxp
- libtmux
- bpsrende... | - pytest
- pytest-xdist
- scipy
- scikit-learn
- statsmodels
- seaborn
- plotly
- requests
- scrapy
- sqlalchemy
- beautifulsoup4
- openpyxl
- psycopg2-binary
- pylint
- invoke
- flake8
- pyyaml
- tmuxp
- libtmux
- bpsrender
- ansible | <|file_sep|>original/roles/python/vars/main.yml
- nose
- pytest
- pytest-xdist
- scipy
- scikit-learn
- statsmodels
- seaborn
- plotly
- requests
- scrapy
- sqlalchemy
- beautifulsoup4
- openpyxl
- psycopg2-binary
- pylint
- invoke
- flake8
- pyyaml
- tmuxp
- libtmux
- bpsrende... | 16cd63d9d6f8378e56f66ce2bf80fbe8d3d73f48 | roles/python/vars/main.yml | roles/python/vars/main.yml | YAML |
<|file_sep|>original/app/common/templates/head.html
<link href="{{ assetPath }}stylesheets/spotlight.css" media="screen" rel="stylesheet" type="text/css">
<|file_sep|>current/app/common/templates/head.html
<link href="{{ assetPath }}stylesheets/spotlight.css" media="screen" rel="stylesheet" type="text/css">
<|file_sep|... | <link href="{{ assetPath }}stylesheets/spotlight.css" media="screen" rel="stylesheet" type="text/css">
<script id="ga-params" type="text/javascript">
var GOVUK = GOVUK || {};
GOVUK.Analytics = GOVUK.Analytics || {};
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26179049-1']);
if(document.domain=='www.... | <|file_sep|>original/app/common/templates/head.html
<link href="{{ assetPath }}stylesheets/spotlight.css" media="screen" rel="stylesheet" type="text/css">
<|file_sep|>current/app/common/templates/head.html
<link href="{{ assetPath }}stylesheets/spotlight.css" media="screen" rel="stylesheet" type="text/css">
<|file_sep|... | 36c2a7e6a828254c7819bf0553b173d6a585a146 | app/common/templates/head.html | app/common/templates/head.html | HTML |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | bash-completer
==============
bash-completer is a tool meant to ease completion on scripts executed in a bash environment.
After installation of the tool, one can include the proper library in her script and define single functions for completion.
These functions will be used automatically to complete possible actions... | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
bash-completer
==============
bash-completer is a tool meant to ease completion on scripts executed in a bash environment.
After installation of the tool, one can include the proper library in her script and define single func... | 8478fab6b41a85714063b5ceac7fdfa8dd82725f | README.md | README.md | Markdown |
<|file_sep|>original/super_accessors.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'super_accessors/version'
Gem::Specification.new do |spec|
spec.name = "super_accessors"
spec.version = SuperAccessors::VERSION
spec.authors = ["eddie"]
spec.email = ["eddie... | spec.name = "super_accessors"
spec.version = SuperAccessors::VERSION
spec.authors = ["eddie"]
spec.email = ["eddie@visionbundles.com"]
spec.description = %q{Make activerecord support split datetime attributes, store specific datatypes (Integer, String, Boolean)}
spec.summary ... | <|file_sep|>original/super_accessors.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'super_accessors/version'
Gem::Specification.new do |spec|
spec.name = "super_accessors"
spec.version = SuperAccessors::VERSION
spec.authors = ["eddie"]
spec.email = ["eddie... | 3054c3085688d45e62f234fcf0ded86fd95d68a1 | super_accessors.gemspec | super_accessors.gemspec | Ruby |
<|file_sep|>original/app/templates/_stylesheets.html
<!--[if gt IE 8]><!-->
<link type="text/css" rel="stylesheet" media="screen" href="{{ asset_fingerprinter.get_url('stylesheets/application.css') }}" />
<!--<![endif]-->
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" media="screen" href="{{ asset_fingerprin... | <!--[if gt IE 8]><!-->
<link type="text/css" rel="stylesheet" media="screen" href="{{ asset_fingerprinter.get_url('stylesheets/application.css') }}" />
<!--<![endif]-->
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" media="screen" href="{{ asset_fingerprinter.get_url('stylesheets/application-ie6.css') }}" />... | <|file_sep|>original/app/templates/_stylesheets.html
<!--[if gt IE 8]><!-->
<link type="text/css" rel="stylesheet" media="screen" href="{{ asset_fingerprinter.get_url('stylesheets/application.css') }}" />
<!--<![endif]-->
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" media="screen" href="{{ asset_fingerprin... | edd6b4538ece2664e2de14f94a9bda1982aab49e | app/templates/_stylesheets.html | app/templates/_stylesheets.html | HTML |
<|file_sep|>original/README.md
# Numbers Ruby SDK
**flowroute-numbers-ruby** is a Ruby API Wrapper that provides methods for interacting with [v1](https://developer.flowroute.com/api/numbers/overview) of the Flowroute API. These methods can be used to accomplish the following:
* Search for purchasable phone numbers
*... | # Numbers Ruby SDK
**flowroute-numbers-ruby** is a Ruby API Wrapper that provides methods for interacting with [v1](https://developer.flowroute.com/api/numbers/overview) of the Flowroute API. These methods can be used to accomplish the following:
* Search for purchasable phone numbers
* Purchase phone numbers
* View ... | <|file_sep|>original/README.md
# Numbers Ruby SDK
**flowroute-numbers-ruby** is a Ruby API Wrapper that provides methods for interacting with [v1](https://developer.flowroute.com/api/numbers/overview) of the Flowroute API. These methods can be used to accomplish the following:
* Search for purchasable phone numbers
*... | 7c4c90f13efd8589ff5a3543018700b83c79a645 | README.md | README.md | Markdown |
<|file_sep|>original/lib/github/repo.rb
subtitle: @link,
arg: @link,
text: {
copy: @link,
largetype: @link
}
}
end
class << self
def from_storage_string(storage_string)
name, link = storage_string.split(',')
new(name, link)
e... | subtitle: @link,
arg: @link,
text: {
copy: @link,
largetype: @link
}
}
end
class << self
def from_storage_string(storage_string)
name, link = storage_string.split(',')
new(name, link)
end
def from_api_response(api_resp... | <|file_sep|>original/lib/github/repo.rb
subtitle: @link,
arg: @link,
text: {
copy: @link,
largetype: @link
}
}
end
class << self
def from_storage_string(storage_string)
name, link = storage_string.split(',')
new(name, link)
e... | f708c450a641836fad308f8a01aa386a80a970b9 | lib/github/repo.rb | lib/github/repo.rb | Ruby |
<|file_sep|>original/.github/workflows/release.yml
<|file_sep|>current/.github/workflows/release.yml
<|file_sep|>updated/.github/workflows/release.yml | on:
push:
branches:
- master
jobs:
release:
name: Release to GitHub
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build v86
run: make build/libv86.js useacpi=true
- name: Release to GitHub
uses: marvinp... | <|file_sep|>original/.github/workflows/release.yml
<|file_sep|>current/.github/workflows/release.yml
<|file_sep|>updated/.github/workflows/release.yml
on:
push:
branches:
- master
jobs:
release:
name: Release to GitHub
runs-on: ubuntu-latest
steps:
- name: Checkout repository
... | e99ba6e33ecbff292d449d8b31e03fe0ac472734 | .github/workflows/release.yml | .github/workflows/release.yml | YAML |
<|file_sep|>original/rules/temporary-hrdata.js
function (user, context, callback) {
// This is a rule to specifically allow access to _HRData for specific ClientIDs
// _HRData comes from WorkDay, through LDAP Connector
// Ideally the RPs who need this data should request it directly from WorkDay, so this is a wor... | function (user, context, callback) {
// This is a rule to specifically allow access to _HRData for specific ClientIDs
// _HRData comes from WorkDay, through LDAP Connector
// Ideally the RPs who need this data should request it directly from WorkDay, so this is a work-around.
// Applications that are ALLOWED t... | <|file_sep|>original/rules/temporary-hrdata.js
function (user, context, callback) {
// This is a rule to specifically allow access to _HRData for specific ClientIDs
// _HRData comes from WorkDay, through LDAP Connector
// Ideally the RPs who need this data should request it directly from WorkDay, so this is a wor... | f0a2fefc7eced759ad5c639c85df44194c3a89f8 | rules/temporary-hrdata.js | rules/temporary-hrdata.js | JavaScript |
<|file_sep|>package.json.diff
original:
"request": "~2.1.1"
updated:
"request": "~2.1.1",
"coffee-script": "~1.1.2"
<|file_sep|>original/package.json
},
"dependencies": {
"express": "~2.4.6",
"jade": "~0.14.2",
"mongoose": "~2.0.2",
"redis-url": "~0.0.1",
"redis": "~0.6.7",
"coff... | "express": "~2.4.6",
"jade": "~0.14.2",
"mongoose": "~2.0.2",
"redis-url": "~0.0.1",
"redis": "~0.6.7",
"coffee-resque": "~0.1.4",
"resque": "~0.0.3",
"socket.io": "~0.7.10",
"date-utils": "~1.2.3",
"npm": "~1.0.13",
"request": "~2.1.1",
"coffee-script": "~1.1.2"
},
... | <|file_sep|>package.json.diff
original:
"request": "~2.1.1"
updated:
"request": "~2.1.1",
"coffee-script": "~1.1.2"
<|file_sep|>original/package.json
},
"dependencies": {
"express": "~2.4.6",
"jade": "~0.14.2",
"mongoose": "~2.0.2",
"redis-url": "~0.0.1",
"redis": "~0.6.7",
"coff... | bdba2c52b27a54253485b7c5c8c166dfc91c2bd0 | package.json | package.json | JSON |
<|file_sep|>original/environment_ci.yml
name: dask_distance_env
channels:
- conda-forge
dependencies:
- pip==9.0.1
- wheel==0.29.0
- coverage==4.0.3
- python-coveralls==2.7.0
- pytest==3.0.5
- dask==0.13.0
- numpy==1.11.3
- scipy==0.19.1
<|file_sep|>current/environment_ci.yml
name: dask_distance_env... | name: dask_distance_env
channels:
- conda-forge
dependencies:
- pip==9.0.1
- wheel==0.29.0
- coverage==4.0.3
- python-coveralls==2.7.0
- pytest==3.0.5
- flake8==3.2.1
- dask==0.13.0
- numpy==1.11.3
- scipy==0.19.1 | <|file_sep|>original/environment_ci.yml
name: dask_distance_env
channels:
- conda-forge
dependencies:
- pip==9.0.1
- wheel==0.29.0
- coverage==4.0.3
- python-coveralls==2.7.0
- pytest==3.0.5
- dask==0.13.0
- numpy==1.11.3
- scipy==0.19.1
<|file_sep|>current/environment_ci.yml
name: dask_distance_env... | 4b2f4b9cb304bdcfc08e5548d74a2d1b29d9bc66 | environment_ci.yml | environment_ci.yml | YAML |
<|file_sep|>original/.travis.yml
dotnet: 2.1.4
env:
- FrameworkPathOverride=/usr/lib/mono/4.5/
jobs:
include:
- stage: test
mono: none
script:
- dotnet build ./ISOv4Plugin.sln -c Release -f netstandard2.0
- stage: deploy
if: tag =~ ^v\d+\.\d+\.\d+
mono: 5.8.0
script:
... | dotnet: 2.1.4
env:
- FrameworkPathOverride=/usr/lib/mono/4.5/
jobs:
include:
- stage: test
mono: none
script:
- dotnet build ./ISOv4Plugin/ISOv4Plugin.csproj -c Release -f netstandard2.0
- stage: deploy
if: tag =~ ^v\d+\.\d+\.\d+
mono: 5.8.0
script:
- VERSION=... | <|file_sep|>original/.travis.yml
dotnet: 2.1.4
env:
- FrameworkPathOverride=/usr/lib/mono/4.5/
jobs:
include:
- stage: test
mono: none
script:
- dotnet build ./ISOv4Plugin.sln -c Release -f netstandard2.0
- stage: deploy
if: tag =~ ^v\d+\.\d+\.\d+
mono: 5.8.0
script:
... | 71fe2847099e109e62c097f6e02bf310ce2466d7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/test-make-requirements.sh
#!/usr/bin/env bash
set -e
# source utils for logging functions log_group_{begin,end} and log_{success,fail}
source ./scripts/bash-utils.sh
log_group_begin "Check: make requirements"
trap log_group_end EXIT
log_fail "Developer-induced failure"
exit 1
make requi... | #!/usr/bin/env bash
set -e
# source utils for logging functions log_group_{begin,end} and log_{success,fail}
source ./scripts/bash-utils.sh
log_group_begin "Check: make requirements"
trap log_group_end EXIT
make requirements
git --no-pager diff
git update-index -q --refresh
if ! git diff-index --quiet HEAD --; then
... | <|file_sep|>original/scripts/test-make-requirements.sh
#!/usr/bin/env bash
set -e
# source utils for logging functions log_group_{begin,end} and log_{success,fail}
source ./scripts/bash-utils.sh
log_group_begin "Check: make requirements"
trap log_group_end EXIT
log_fail "Developer-induced failure"
exit 1
make requi... | d8e675d01873234ad026ea3cedf5817ec99f6db3 | scripts/test-make-requirements.sh | scripts/test-make-requirements.sh | Shell |
<|file_sep|>original/hdinsight-genomics-adam/readme.md
# Create HDInsight Linux cluster running the genomics analysis platform called ADAM
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FExchMaster%2Fazure-quickstart-templates%2Fmaster%2Fhdinsight-genomics-ada... | # Create HDInsight Linux cluster running the genomics analysis platform called ADAM
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FExchMaster%2Fazure-quickstart-templates%2Fmaster%2Fhdinsight-genomics-adam%2Fazuredeploy.json" target="_blank">
<img src="ht... | <|file_sep|>original/hdinsight-genomics-adam/readme.md
# Create HDInsight Linux cluster running the genomics analysis platform called ADAM
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FExchMaster%2Fazure-quickstart-templates%2Fmaster%2Fhdinsight-genomics-ada... | 797258315f2124a7bb096d99d19c621ffbac9417 | hdinsight-genomics-adam/readme.md | hdinsight-genomics-adam/readme.md | Markdown |
<|file_sep|>original/builder/run.sh
#!/bin/bash
haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
/usr/bin/supervisord
<|file_sep|>current/builder/run.sh
#!/bin/bash
haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
/usr/bin/supervisord
<|file_sep|>updated/builder/run.sh | #!/bin/bash
if [[ -n $AUTO_BAMBOO_HOST ]]; then
sed -i "s/^.*Endpoint\": \"\(http:\/\/haproxy-ip-address:8000\)\".*$/ \"EndPoint\": \"$HOST\",/" \
${CONFIG_PATH:=config/production.example.json}
fi
haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
/usr/bin/supervisord | <|file_sep|>original/builder/run.sh
#!/bin/bash
haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
/usr/bin/supervisord
<|file_sep|>current/builder/run.sh
#!/bin/bash
haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
/usr/bin/supervisord
<|file_sep|>updated/builder/run.sh
#!/bin/bash
if [[ -n $AUTO_B... | 1d284b20e31fe942871822feae6f78d2393501dd | builder/run.sh | builder/run.sh | Shell |
<|file_sep|>src/components/BaseFile.vue.diff
original:
<label class="file-select">
<div class="select-button">
<span v-if="label">{{ label }}</span>
updated:
<label class="file-select ma-5">
<div
class="select-button"
@dragover="dragover"
@dragleave="dragleave"
@drop="drop"
... | }
</script>
<style scoped>
.file-select > .select-button {
padding: 3rem;
border-radius: 0.3rem;
border: 4px dashed #eaebec;
text-align: center;
font-weight: bold;
cursor: pointer;
}
.file-select > input[type='file'] {
display: none;
}
.file-hover {
background-color: #95e995;
}
</style> | <|file_sep|>src/components/BaseFile.vue.diff
original:
<label class="file-select">
<div class="select-button">
<span v-if="label">{{ label }}</span>
updated:
<label class="file-select ma-5">
<div
class="select-button"
@dragover="dragover"
@dragleave="dragleave"
@drop="drop"
... | c3dcd238019e66115758eabf0a14736f81664da6 | src/components/BaseFile.vue | src/components/BaseFile.vue | Vue |
<|file_sep|>original/t/02-groups.t
<|file_sep|>current/t/02-groups.t
<|file_sep|>updated/t/02-groups.t | use Test::Nginx::Socket no_plan;
use Test::More;
# We'll run multiple tests against same config.
# So just generate it for every test programatically.
my $servroot = $Test::Nginx::Socket::ServRoot;
$ENV{TEST_NGINX_SERVROOT} = $servroot;
add_block_preprocessor(sub {
my $block = shift;
$block->set_value(http_co... | <|file_sep|>original/t/02-groups.t
<|file_sep|>current/t/02-groups.t
<|file_sep|>updated/t/02-groups.t
use Test::Nginx::Socket no_plan;
use Test::More;
# We'll run multiple tests against same config.
# So just generate it for every test programatically.
my $servroot = $Test::Nginx::Socket::ServRoot;
$ENV{TEST_NGINX_... | 5aac7c2e2e4d64d20182d71bc7ea8759912f8cf2 | t/02-groups.t | t/02-groups.t | Perl |
<|file_sep|>original/content/META-INF/vault/filter.xml
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/acme"/>
<filter root="/etc/designs/acme"/>
<filter root="/content/acme"/>
</workspaceFilter>
<|file_sep|>current/content/META-INF/vault/filter.xml
<?xml version="... | <?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/acme"/>
<filter root="/etc/designs/acme"/>
<filter root="/content/acme"/>
<filter root="/etc/tags/Acme"/>
<filter root="/etc/tags/acmeideas"/>
</workspaceFilter> | <|file_sep|>original/content/META-INF/vault/filter.xml
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/acme"/>
<filter root="/etc/designs/acme"/>
<filter root="/content/acme"/>
</workspaceFilter>
<|file_sep|>current/content/META-INF/vault/filter.xml
<?xml version="... | 2e804348f02437e6bac9cc36a8780361ff105678 | content/META-INF/vault/filter.xml | content/META-INF/vault/filter.xml | XML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '11'
- '10'
- '8'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '11'
- '10'
- '8'
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '12'
- '11'
- '10'
- '8' | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '11'
- '10'
- '8'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '11'
- '10'
- '8'
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '12'
- '11'
- '10'
- '8' | c0b1d929b4ad8c250700ad48b33be083e1f83af4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/htmlContent/search-results.html
<table class="bottom-panel-table table table-striped table-condensed row-highlight">
<tbody>
{{#searchList}}
<tr class="file-section" data-file-index="{{fileIndex}}">
{{#replace}}<td class="checkbox-column"><input type="checkbox" c... | <table class="bottom-panel-table table table-striped table-condensed row-highlight">
<tbody>
{{#searchList}}
<tr class="file-section" data-file-index="{{fileIndex}}">
{{#replace}}<td class="checkbox-column"><input type="checkbox" class="check-one-file" {{#isChecked}}checked="true"{{/isCh... | <|file_sep|>original/src/htmlContent/search-results.html
<table class="bottom-panel-table table table-striped table-condensed row-highlight">
<tbody>
{{#searchList}}
<tr class="file-section" data-file-index="{{fileIndex}}">
{{#replace}}<td class="checkbox-column"><input type="checkbox" c... | b3e0a0e53ba7a99061dd73d8d6e79be9cbd1c3f7 | src/htmlContent/search-results.html | src/htmlContent/search-results.html | HTML |
<|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.15",... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.15",
"core-js": "3.17.3",
"mocha": "9.1.1... | <|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.15",... | 694155e32af684c7c485596f3a2d8337cd8afb74 | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>original/packages/re/regex-tdfa-quasiquoter.yaml
<|file_sep|>current/packages/re/regex-tdfa-quasiquoter.yaml
<|file_sep|>updated/packages/re/regex-tdfa-quasiquoter.yaml | homepage: http://github.com/erisco/regex-tdfa-quasiquoter
changelog-type: ''
hash: 583d33362dd298923ae9017c5531edce9b69125030193173129003c7976050e3
test-bench-deps: {}
maintainer: eric.brisco@gmail.com
synopsis: ! 'Quasi-quoter for TDFA (extended POSIX) regular
expressions.'
changelog: ''
basic-deps:
base: ! '>=4.... | <|file_sep|>original/packages/re/regex-tdfa-quasiquoter.yaml
<|file_sep|>current/packages/re/regex-tdfa-quasiquoter.yaml
<|file_sep|>updated/packages/re/regex-tdfa-quasiquoter.yaml
homepage: http://github.com/erisco/regex-tdfa-quasiquoter
changelog-type: ''
hash: 583d33362dd298923ae9017c5531edce9b69125030193173129003... | cfdd8f99d2d31c3e741e69321e7d9ae56a047940 | packages/re/regex-tdfa-quasiquoter.yaml | packages/re/regex-tdfa-quasiquoter.yaml | YAML |
<|file_sep|>original/benchmarks/bench_skan.py
def timer():
time = []
t0 = process_time()
yield time
t1 = process_time()
time.append(t1 - t0)
def bench_suite():
times = OrderedDict()
skeleton = np.load('infected3.npz')['skeleton']
with timer() as t_build_graph:
g, indices, degre... | def timer():
time = []
t0 = process_time()
yield time
t1 = process_time()
time.append(t1 - t0)
def bench_suite():
times = OrderedDict()
skeleton = np.load(os.path.join(rundir, 'infected3.npz'))['skeleton']
with timer() as t_build_graph:
g, indices, degrees = csr.skeleton_to_csg... | <|file_sep|>original/benchmarks/bench_skan.py
def timer():
time = []
t0 = process_time()
yield time
t1 = process_time()
time.append(t1 - t0)
def bench_suite():
times = OrderedDict()
skeleton = np.load('infected3.npz')['skeleton']
with timer() as t_build_graph:
g, indices, degre... | 963164d60bf9295233cf8050c6499a500f7c4ce7 | benchmarks/bench_skan.py | benchmarks/bench_skan.py | Python |
<|file_sep|>lib/infinity_test/core/continuous_test_server.rb.diff
original:
delegate :infinity_and_beyond, to: :base
updated:
delegate :infinity_and_beyond, :notifications, to: :base
<|file_sep|>lib/infinity_test/core/continuous_test_server.rb.diff
original:
run_strategy
updated:
notify!(run... | end
# Run strategy based on the choosed ruby strategy.
#
def run_strategy
# PENDING: run_before_callbacks
strategy.run
# PENDING: run_after_callbacks
end
def notify!(strategy_result)
Core::Notifier.notify!(
notify_library: notifications,
... | <|file_sep|>lib/infinity_test/core/continuous_test_server.rb.diff
original:
delegate :infinity_and_beyond, to: :base
updated:
delegate :infinity_and_beyond, :notifications, to: :base
<|file_sep|>lib/infinity_test/core/continuous_test_server.rb.diff
original:
run_strategy
updated:
notify!(run... | dee11417be8a8dbc2dde29ee1ced1e2847e13d69 | lib/infinity_test/core/continuous_test_server.rb | lib/infinity_test/core/continuous_test_server.rb | Ruby |
<|file_sep|>original/foundry/templates/basic/foundry/inclusion_tags/navbar.html
{% if object_list %}
<div class="foundry-container foundry-navbar">
<div class="items">
{% for link in object_list %}
<div class="item {% ifequal link active_link%}active{% endifequal %} {% if forloop.first %... | {% if object_list %}
<div class="foundry-container foundry-navbar">
<div class="items">
{% for link in object_list %}<div class="item {% ifequal link active_link%}active{% endifequal %} {% if forloop.first %}first{% endif %} {% if forloop.last %}last{% endif %}"><a href="{{ link.get_absolute_url... | <|file_sep|>original/foundry/templates/basic/foundry/inclusion_tags/navbar.html
{% if object_list %}
<div class="foundry-container foundry-navbar">
<div class="items">
{% for link in object_list %}
<div class="item {% ifequal link active_link%}active{% endifequal %} {% if forloop.first %... | c9cca67f3c1b85ea48d03d56d65b52cc7d6d7399 | foundry/templates/basic/foundry/inclusion_tags/navbar.html | foundry/templates/basic/foundry/inclusion_tags/navbar.html | HTML |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.2
- 1.3
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
install:
- go get github.com/stretchr/testify/assert
- go get github.com/dgryski/go-jump
- go get g... | language: go
go:
- 1.2
- 1.3
- 1.4
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
install:
- go get github.com/stretchr/testify/assert
- go get github.com/dgryski/go-jump
- go get github.com/GaryBoone/GoStats/stats... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.2
- 1.3
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
install:
- go get github.com/stretchr/testify/assert
- go get github.com/dgryski/go-jump
- go get g... | 4a1d08de5356cf41fca82889db33bbaebc07dc96 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/scala/omnibus/api/Rest.scala
import akka.io.IO
import spray.can.Http
import omnibus.configuration._
import omnibus.api.endpoint.HttpEndpointActor
import omnibus.core.{CoreActors, Core}
trait Rest {
this: CoreActors with Core =>
val rootService = system.actorOf(HttpEndpointActor.pro... |
import akka.io.IO
import spray.can.Http
import omnibus.configuration._
import omnibus.api.endpoint.HttpEndpointActor
import omnibus.core.{CoreActors, Core}
trait Rest {
this: CoreActors with Core =>
val rootService = system.actorOf(HttpEndpointActor.props(this), "omnibus-http")
}
trait Web {
this: Rest wit... | <|file_sep|>original/src/main/scala/omnibus/api/Rest.scala
import akka.io.IO
import spray.can.Http
import omnibus.configuration._
import omnibus.api.endpoint.HttpEndpointActor
import omnibus.core.{CoreActors, Core}
trait Rest {
this: CoreActors with Core =>
val rootService = system.actorOf(HttpEndpointActor.pro... | 88b65982a38fa057d4d7e2c60f406f7c5e1c1370 | src/main/scala/omnibus/api/Rest.scala | src/main/scala/omnibus/api/Rest.scala | Scala |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.