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/h2o-algos/src/main/java/hex/schemas/PCAModelV3.java
package hex.schemas;
import hex.pca.PCAModel;
import water.api.*;
public class PCAModelV3 extends ModelSchema<PCAModel, PCAModelV3, PCAModel.PCAParameters, PCAV3.PCAParametersV3, PCAModel.PCAOutput, PCAModelV3.PCAModelOutputV3> {
public static... | package hex.schemas;
import hex.pca.PCAModel;
import water.api.*;
public class PCAModelV3 extends ModelSchema<PCAModel, PCAModelV3, PCAModel.PCAParameters, PCAV3.PCAParametersV3, PCAModel.PCAOutput, PCAModelV3.PCAModelOutputV3> {
public static final class PCAModelOutputV3 extends ModelOutputSchema<PCAModel.PCAOutpu... | <|file_sep|>original/h2o-algos/src/main/java/hex/schemas/PCAModelV3.java
package hex.schemas;
import hex.pca.PCAModel;
import water.api.*;
public class PCAModelV3 extends ModelSchema<PCAModel, PCAModelV3, PCAModel.PCAParameters, PCAV3.PCAParametersV3, PCAModel.PCAOutput, PCAModelV3.PCAModelOutputV3> {
public static... | d1fcca58943456c5e200a324e98f02d658fdf31e | h2o-algos/src/main/java/hex/schemas/PCAModelV3.java | h2o-algos/src/main/java/hex/schemas/PCAModelV3.java | Java |
<|file_sep|>original/package.json
"version": "1.0.0",
"description": "Simple but configurable range validator for node",
"main": "index.js",
"scripts": {
"test": "mocha test/rangeValidator.js",
"test:watch": "npm run test -- -w"
},
"repository": {
"type": "git",
"url": "git+https://github.co... | "description": "Simple but configurable range validator for node",
"main": "index.js",
"scripts": {
"test": "mocha test/rangeValidator.js",
"test:watch": "npm run test -- -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mikeyhogarth/range-validator.git"
},
"author": "Mi... | <|file_sep|>original/package.json
"version": "1.0.0",
"description": "Simple but configurable range validator for node",
"main": "index.js",
"scripts": {
"test": "mocha test/rangeValidator.js",
"test:watch": "npm run test -- -w"
},
"repository": {
"type": "git",
"url": "git+https://github.co... | a63ad5ded292529951db2ffd2341202ae9a0db86 | package.json | package.json | JSON |
<|file_sep|>original/bluebottle/tasks/templates/tasks/mails/task_status_closed.mail.txt
{% extends "base.mail.txt" %}
{% load i18n %}
{% block content %}
{% blocktrans with receiver_name=to.short_name %}
Hello {{receiver_name}}
Hello {{ receiver_name }}
The scheduled date of your task "{{ title }}" has been reache... | {% extends "base.mail.txt" %}
{% load i18n %}
{% block content %}
{% blocktrans with receiver_name=to.short_name %}
Hello {{ receiver_name }}
The scheduled date of your task "{{ title }}" has been reached.
No candidates have been accepted, therefore the task is set to closed.
Please confirm the candidates to set y... | <|file_sep|>original/bluebottle/tasks/templates/tasks/mails/task_status_closed.mail.txt
{% extends "base.mail.txt" %}
{% load i18n %}
{% block content %}
{% blocktrans with receiver_name=to.short_name %}
Hello {{receiver_name}}
Hello {{ receiver_name }}
The scheduled date of your task "{{ title }}" has been reache... | e2968785e748b96a78ea9d3f3e7b05df52bde277 | bluebottle/tasks/templates/tasks/mails/task_status_closed.mail.txt | bluebottle/tasks/templates/tasks/mails/task_status_closed.mail.txt | Text |
<|file_sep|>original/Cargo.toml
name = "sxd-document"
version = "0.1.0"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
description = "A Rust XML DOM library"
readme = "README.md"
keywords = ["xml"]
homepage = "https://github.com/shepmaster/sxd-document"
repository = "https://github.com/shepmaster/sxd-document"... | name = "sxd-document"
version = "0.1.0"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
description = "A Rust XML DOM library"
readme = "README.md"
keywords = ["xml"]
homepage = "https://github.com/shepmaster/sxd-document"
repository = "https://github.com/shepmaster/sxd-document"
documentation = "https://shepma... | <|file_sep|>original/Cargo.toml
name = "sxd-document"
version = "0.1.0"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
description = "A Rust XML DOM library"
readme = "README.md"
keywords = ["xml"]
homepage = "https://github.com/shepmaster/sxd-document"
repository = "https://github.com/shepmaster/sxd-document"... | 1acc6f68d1aa5e3b38aad8775ea564f6e2597e2e | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>metadata/souch.smp.txt.diff
original:
updated:
Build:0.4,5
commit=v0.4
subdir=app
gradle=yes
<|file_sep|>original/metadata/souch.smp.txt
Build:0.2,2
commit=7e7a933845cf424da1969fa6591e80bdbe75c944
subdir=app
gradle=yes
Build:0.3,3
commit=v0.3
subdir=app
gradle=yes
Bu... |
Build:0.3,3
commit=v0.3
subdir=app
gradle=yes
Build:0.3.1,4
commit=v0.3.1
subdir=app
gradle=yes
Build:0.4,5
commit=v0.4
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.4
Current Version Code:5
| <|file_sep|>metadata/souch.smp.txt.diff
original:
updated:
Build:0.4,5
commit=v0.4
subdir=app
gradle=yes
<|file_sep|>original/metadata/souch.smp.txt
Build:0.2,2
commit=7e7a933845cf424da1969fa6591e80bdbe75c944
subdir=app
gradle=yes
Build:0.3,3
commit=v0.3
subdir=app
gradle=yes
Bu... | e5c0f5b5f5b9fbe0c59d555e46f56ffeba58b1a5 | metadata/souch.smp.txt | metadata/souch.smp.txt | Text |
<|file_sep|>tests/unit-tests/LoaderTests.hs.diff
original:
updated:
import Control.Monad (forM_)
<|file_sep|>tests/unit-tests/LoaderTests.hs.diff
original:
import Data.Text (Text)
updated:
import Data.Functor (void)
import Data.Text (Text, pack)
<|file_sep|>tests/unit-tests/LoaderTests.hs.diff
original:
stdLibLoader :... | stdLibLoader = contramapName pack $ filesystemLoader stdLibDir "e"
loadsAFile = do fraw <- TIO.readFile (stdLibDir </> "Byte.e")
lr <- (stdLibLoader ^. load) "Byte" & runExceptT
assertEqual "load result" (Right fraw) (fmap snd lr)
recognizesBadNames =
[".Byte", "Byte.", "Control..Mon... | <|file_sep|>tests/unit-tests/LoaderTests.hs.diff
original:
updated:
import Control.Monad (forM_)
<|file_sep|>tests/unit-tests/LoaderTests.hs.diff
original:
import Data.Text (Text)
updated:
import Data.Functor (void)
import Data.Text (Text, pack)
<|file_sep|>tests/unit-tests/LoaderTests.hs.diff
original:
stdLibLoader :... | 355535397f911924f131f4d3df5514fb078a3bad | tests/unit-tests/LoaderTests.hs | tests/unit-tests/LoaderTests.hs | Haskell |
<|file_sep|>src/app/progress/ActivityModifier.tsx.diff
original:
updated:
import RichDestinyText from 'app/dim-ui/RichDestinyText';
<|file_sep|>src/app/progress/ActivityModifier.tsx.diff
original:
import React from 'react';
updated:
<|file_sep|>original/src/app/progress/ActivityModifier.tsx
const modifier = defs.Ac... | const modifier = defs.ActivityModifier.get(modifierHash);
const modifierName = modifier.displayProperties.name;
const modifierIcon = modifier.displayProperties.icon;
if (!modifier || (!modifierName && !modifierIcon)) {
return null;
}
return (
<div className="milestone-modifier">
{Boolean(mod... | <|file_sep|>src/app/progress/ActivityModifier.tsx.diff
original:
updated:
import RichDestinyText from 'app/dim-ui/RichDestinyText';
<|file_sep|>src/app/progress/ActivityModifier.tsx.diff
original:
import React from 'react';
updated:
<|file_sep|>original/src/app/progress/ActivityModifier.tsx
const modifier = defs.Ac... | 39240848d0bd3112aa248ba14ecbc9405922dede | src/app/progress/ActivityModifier.tsx | src/app/progress/ActivityModifier.tsx | TypeScript |
<|file_sep|>app/views/alerts/new.html.haml.diff
original:
updated:
= f.input :description, :as => :text, :input_html => { :value => params[:description] }
<|file_sep|>original/app/views/alerts/new.html.haml
%section.new.alert{ :"data-fancybox" => true, :"data-replace" => "section.new.alert" }
%h2= t('views.ale... | %section.new.alert{ :"data-fancybox" => true, :"data-replace" => "section.new.alert" }
%h2= t('views.alerts.new.header')
- if request.xhr?
= render 'shared/flash', :flash => flash
.row
= semantic_form_for [relic, alert], :remote => true do |f|
%p.description= t('views.alerts.new.description')
... | <|file_sep|>app/views/alerts/new.html.haml.diff
original:
updated:
= f.input :description, :as => :text, :input_html => { :value => params[:description] }
<|file_sep|>original/app/views/alerts/new.html.haml
%section.new.alert{ :"data-fancybox" => true, :"data-replace" => "section.new.alert" }
%h2= t('views.ale... | 749d57860220c57a4b223e68766176707b8e8742 | app/views/alerts/new.html.haml | app/views/alerts/new.html.haml | Haml |
<|file_sep|>original/appveyor.yml
version: 1.0.{build}
environment:
matrix:
- Configuration: Release
- Configuration: Debug
notifications:
- provider: HipChat
room: 409390
auth_token:
secure: RW8+2GpOWo3PcoM3ehoI+mbfUr7h508RtTDyszpR6/E=
on_build_success: false
on_build_failure: true
on_build_statu... | version: 1.0.{build}
environment:
matrix:
- Configuration: Release
- Configuration: Debug
before_build:
- appveyor DownloadFile https://raw.githubusercontent.com/dbolkensteyn/pr-analysis/ondemand/msbuild-sonarqube-runner-begin.cmd && msbuild-sonarqube-runner-begin
after_build:
- appveyor DownloadFile https... | <|file_sep|>original/appveyor.yml
version: 1.0.{build}
environment:
matrix:
- Configuration: Release
- Configuration: Debug
notifications:
- provider: HipChat
room: 409390
auth_token:
secure: RW8+2GpOWo3PcoM3ehoI+mbfUr7h508RtTDyszpR6/E=
on_build_success: false
on_build_failure: true
on_build_statu... | 94f41a77268770052abc40e75ca3cab589b577ef | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>metadata/app.reading.stoic.stoicreading.txt.diff
original:
updated:
Build:0.8.2,7
commit=0.8.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/app.reading.stoic.stoicreading.txt
the freed slave Epictetus, and Seneca. It contains other, less well known, Stoic
texts too.
.
Repo Type:git
Rep... | Repo:https://github.com/zikalify/StoicReading
Build:0.7.1,4
commit=0.7.1
subdir=app
gradle=yes
Build:0.8.0,5
commit=0.8.0
subdir=app
gradle=yes
Build:0.8.2,7
commit=0.8.2
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags ^[0-9.]+$
Current Version:0.8.2
Curr... | <|file_sep|>metadata/app.reading.stoic.stoicreading.txt.diff
original:
updated:
Build:0.8.2,7
commit=0.8.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/app.reading.stoic.stoicreading.txt
the freed slave Epictetus, and Seneca. It contains other, less well known, Stoic
texts too.
.
Repo Type:git
Rep... | 5e11605d896fab13828d3cf3e0227bf4a477c125 | metadata/app.reading.stoic.stoicreading.txt | metadata/app.reading.stoic.stoicreading.txt | Text |
<|file_sep|>original/borealis.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'borealis/version'
Gem::Specification.new do |gem|
gem.name = "borealis"
gem.version = Borealis::VERSION
gem.authors = ["Josh Steiner"]
gem.email... | require 'borealis/version'
Gem::Specification.new do |gem|
gem.name = "borealis"
gem.version = Borealis::VERSION
gem.authors = ["Josh Steiner"]
gem.email = ["josh@jsteiner.me"]
gem.description = %q{Finds top colors in a given image.}
gem.summary = %q{Finds top colors in... | <|file_sep|>original/borealis.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'borealis/version'
Gem::Specification.new do |gem|
gem.name = "borealis"
gem.version = Borealis::VERSION
gem.authors = ["Josh Steiner"]
gem.email... | 1fd9e3d652438d3fe964275bc1f8533bf94ef553 | borealis.gemspec | borealis.gemspec | Ruby |
<|file_sep|>original/sample_spec.rb
<|file_sep|>current/sample_spec.rb
<|file_sep|>updated/sample_spec.rb | our_watcher = ScoreButt.new
our_watcher.watch do
host '192.168.1.5' do
http
smtp
ftp
telnet
ssh
end
host '192.168.2.5' do
https
ntp
ssh
bonjour
end
end | <|file_sep|>original/sample_spec.rb
<|file_sep|>current/sample_spec.rb
<|file_sep|>updated/sample_spec.rb
our_watcher = ScoreButt.new
our_watcher.watch do
host '192.168.1.5' do
http
smtp
ftp
telnet
ssh
end
host '192.168.2.5' do
https
ntp
ssh
bonjour
end
end | 32a43d525d1b37ae7cafcf75d728b2e88bbfcb67 | sample_spec.rb | sample_spec.rb | Ruby |
<|file_sep|>energy/models.py.diff
original:
from sqlalchemy.sql import text
updated:
from sqlalchemy import MetaData, Table, Column, DateTime, Float, between
from sqlalchemy.sql import select, text
<|file_sep|>energy/models.py.diff
original:
updated:
metadata = MetaData()
meter_readings = Table('interval_readings', m... | )
def get_energy_chart_data(meterId, start_date="2016-09-01",
end_date="2016-10-01"):
""" Return json object for flot chart
"""
engine = create_engine('sqlite:///../data/'+ str(meterId) + '.db', echo=True)
conn = engine.connect()
s = select([meter_readings]).where(between(... | <|file_sep|>energy/models.py.diff
original:
from sqlalchemy.sql import text
updated:
from sqlalchemy import MetaData, Table, Column, DateTime, Float, between
from sqlalchemy.sql import select, text
<|file_sep|>energy/models.py.diff
original:
updated:
metadata = MetaData()
meter_readings = Table('interval_readings', m... | 88fd32be09bc20ce734f272b7d3a54a71958e6b4 | energy/models.py | energy/models.py | Python |
<|file_sep|>original/PackagesList.cmake
#
# See documentation in Trilinos preCopyrightTrilinos/ExtraExternalRepositories.cmake
#
SET( DataTransferKit_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS
DataTransferKit . SS
)
TRIBITS_DISABLE_PACKAGE_ON_PLATFORMS(DataTransferKit Windows)
<|file_sep|>current/Packages... | #
# See documentation in Trilinos preCopyrightTrilinos/ExtraExternalRepositories.cmake
#
SET( DataTransferKit_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS
DataTransferKit . ST
)
TRIBITS_DISABLE_PACKAGE_ON_PLATFORMS(DataTransferKit Windows) | <|file_sep|>original/PackagesList.cmake
#
# See documentation in Trilinos preCopyrightTrilinos/ExtraExternalRepositories.cmake
#
SET( DataTransferKit_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS
DataTransferKit . SS
)
TRIBITS_DISABLE_PACKAGE_ON_PLATFORMS(DataTransferKit Windows)
<|file_sep|>current/Packages... | fe74deccb24d49135337d489cf834a801caea546 | PackagesList.cmake | PackagesList.cmake | CMake |
<|file_sep|>original/lib/assembly.h
// Define SYMBOL_NAME to add the appropriate symbol prefix; we can't use
// USER_LABEL_PREFIX directly because of cpp brokenness.
#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__)
#define SYMBOL_NAME(name) name
#define SEPARATOR @
#else
#define SYMBOL_NAME(name... |
// Define SYMBOL_NAME to add the appropriate symbol prefix; we can't use
// USER_LABEL_PREFIX directly because of cpp brokenness.
#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__)
#define SYMBOL_NAME(name) name
#define SEPARATOR @
#else
#define SYMBOL_NAME(name) #__USER_LABEL_PREFIX__ ##name
#def... | <|file_sep|>original/lib/assembly.h
// Define SYMBOL_NAME to add the appropriate symbol prefix; we can't use
// USER_LABEL_PREFIX directly because of cpp brokenness.
#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__)
#define SYMBOL_NAME(name) name
#define SEPARATOR @
#else
#define SYMBOL_NAME(name... | 6f608d521539a6c6d492185c964853021ba4a5a3 | lib/assembly.h | lib/assembly.h | C |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 8
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 8
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 6
- 8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
before_install:
- eval "${MATRIX_EVAL}" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 8
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 8
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 6
- 8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EV... | 8c661e4fa2865befb78000917083fab36e815e43 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/embodiment/Learning/behavior/CMakeLists.txt
LINK_LIBRARIES (
Control
behavior
comboreduct
util
${PROJECT_LIBRARIES}
)
ADD_CXXTEST(BehaviorDescriptionMatcherUTest)
ADD_CXXTEST(CompositeBehaviorDescriptionUTest)
ADD_CXXTEST(BehaviorCategoryUTest)
ADD_CXXTEST(BDRetrieverUTest)
LINK_LIBR... |
INCLUDE_DIRECTORIES (
${PYTHON_INCLUDE_PATH}
)
LINK_LIBRARIES (
Control
behavior
comboreduct
util
${PROJECT_LIBRARIES}
)
ADD_CXXTEST(BehaviorDescriptionMatcherUTest)
ADD_CXXTEST(CompositeBehaviorDescriptionUTest)
ADD_CXXTEST(BehaviorCategoryUTest)
ADD_CXXTEST(BDRetrieverUTest)
LINK_LIBRARIES(
oac
lslib | <|file_sep|>original/tests/embodiment/Learning/behavior/CMakeLists.txt
LINK_LIBRARIES (
Control
behavior
comboreduct
util
${PROJECT_LIBRARIES}
)
ADD_CXXTEST(BehaviorDescriptionMatcherUTest)
ADD_CXXTEST(CompositeBehaviorDescriptionUTest)
ADD_CXXTEST(BehaviorCategoryUTest)
ADD_CXXTEST(BDRetrieverUTest)
LINK_LIBR... | f6a37eae5b86b40ee55bbc67401fd24d44647d76 | tests/embodiment/Learning/behavior/CMakeLists.txt | tests/embodiment/Learning/behavior/CMakeLists.txt | Text |
<|file_sep|>original/app/controllers/index.rb
get '/login' do
erb :login
end
post '/login' do
#create a new session w/ conditional logic
redirect '/'
end
get '/signup' do
erb :sign_up
#sign up form
end
post '/signup' do
#create user, set the session
redirect '/'
end
get '/logout' do
redirect '/'
<|f... | get '/login' do
erb :login
end
post '/login' do
#create a new session w/ conditional logic
redirect '/'
end
get '/signup' do
erb :signup
#sign up form
end
post '/signup' do
#create user, set the session
redirect '/'
end
get '/logout' do
redirect '/' | <|file_sep|>original/app/controllers/index.rb
get '/login' do
erb :login
end
post '/login' do
#create a new session w/ conditional logic
redirect '/'
end
get '/signup' do
erb :sign_up
#sign up form
end
post '/signup' do
#create user, set the session
redirect '/'
end
get '/logout' do
redirect '/'
<|f... | 6b661d35e26367f1a7c15e8b583f1d73a76c99e4 | app/controllers/index.rb | app/controllers/index.rb | Ruby |
<|file_sep|>README.md.diff
original:
A 3D Physics-oriented Data Analysis Tool on BBVA Data API.
updated:
An experimental 3D physics-oriented data analysis tool for the [BBVA Innova Challenge MX](http://bbvaopen4u.com/content/innovachallenge-mx).
<|file_sep|>README.md.diff
original:
BBVA Physics Data Lab es una herramie... | BBVA Physics Data Lab
=====================
An experimental 3D physics-oriented data analysis tool for the [BBVA Innova Challenge MX](http://bbvaopen4u.com/content/innovachallenge-mx).
You can access [documentation site](http://luque.github.io/BBVA-Physics-Data-Lab/) and [demo](http://luque.github.io/BBVA-Physics-Dat... | <|file_sep|>README.md.diff
original:
A 3D Physics-oriented Data Analysis Tool on BBVA Data API.
updated:
An experimental 3D physics-oriented data analysis tool for the [BBVA Innova Challenge MX](http://bbvaopen4u.com/content/innovachallenge-mx).
<|file_sep|>README.md.diff
original:
BBVA Physics Data Lab es una herramie... | e8472dd4e0a7b669d5c25eb0119082c8273d0d18 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0 | f74c55596fbf4b6f386494ba7b3c9050d9e24c24 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tests/rust/bitflags.rs.diff
original:
updated:
bitflags! {
#[repr(C)]
pub struct DebugFlags: u32 {
/// Flag with the topmost bit set of the u32
const BIGGEST_ALLOWED = 1 << 31;
}
}
<|file_sep|>original/tests/rust/bitflags.rs
/// Constants shared by multiple CSS Box Alignmen... | /// 'normal'
const NORMAL = 1;
/// 'start'
const START = 1 << 1;
/// 'end'
const END = 1 << 2;
/// 'flex-start'
const FLEX_START = 1 << 3;
}
}
bitflags! {
#[repr(C)]
pub struct DebugFlags: u32 {
/// Flag with the topmost bit set of the... | <|file_sep|>tests/rust/bitflags.rs.diff
original:
updated:
bitflags! {
#[repr(C)]
pub struct DebugFlags: u32 {
/// Flag with the topmost bit set of the u32
const BIGGEST_ALLOWED = 1 << 31;
}
}
<|file_sep|>original/tests/rust/bitflags.rs
/// Constants shared by multiple CSS Box Alignmen... | 977d95b0ff3ce586cb768de12cb375370be0992d | tests/rust/bitflags.rs | tests/rust/bitflags.rs | Rust |
<|file_sep|>omnisocial.gemspec.diff
original:
gem.homepage = 'http://github.com/timriley/omnisocial'
updated:
gem.homepage = 'http://github.com/icelab/omnisocial'
<|file_sep|>original/omnisocial.gemspec
require 'omnisocial/version'
require 'bundler'
Gem::Specification.new do |gem|
gem.name ... |
require 'omnisocial/version'
require 'bundler'
Gem::Specification.new do |gem|
gem.name = 'omnisocial'
gem.version = Omnisocial::VERSION
gem.platform = Gem::Platform::RUBY
gem.authors = ['Tim Riley']
gem.email = 'tim@openmonkey.com'
gem.homepage = 'http://github.co... | <|file_sep|>omnisocial.gemspec.diff
original:
gem.homepage = 'http://github.com/timriley/omnisocial'
updated:
gem.homepage = 'http://github.com/icelab/omnisocial'
<|file_sep|>original/omnisocial.gemspec
require 'omnisocial/version'
require 'bundler'
Gem::Specification.new do |gem|
gem.name ... | 46705c722ff0c46085f440da15670b620b5e26dd | omnisocial.gemspec | omnisocial.gemspec | Ruby |
<|file_sep|>original/app/assets/javascripts/utils.js.coffee
@resizeColumnHeaders()
resizeColumnHeaders: ->
$headers = $('.columns .column-header')
return unless $headers.length
$headers.css('height', '')
heights = $headers.find('h2').map ->
$(this).outerHeight()
max = Math.max.apply... | @resizeColumnHeaders()
resizeColumnHeaders: ->
$headers = $('.columns .column-header')
return unless $headers.length
$headers.css('height', '')
heights = $headers.find('h2').map ->
$(this).outerHeight()
max = null
try
max = Math.max.apply(Math, heights)
catch error
... | <|file_sep|>original/app/assets/javascripts/utils.js.coffee
@resizeColumnHeaders()
resizeColumnHeaders: ->
$headers = $('.columns .column-header')
return unless $headers.length
$headers.css('height', '')
heights = $headers.find('h2').map ->
$(this).outerHeight()
max = Math.max.apply... | 48dec56e150fd1f518248291bbe46ff8fe130782 | app/assets/javascripts/utils.js.coffee | app/assets/javascripts/utils.js.coffee | CoffeeScript |
<|file_sep|>.travis.yml.diff
original:
updated:
- "5.0"
- "4.0"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "4.0"
- "iojs"
after_success:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5.0"
- "4.0"
... | language: node_js
node_js:
- "5.0"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
after_success:
- npm run coveralls | <|file_sep|>.travis.yml.diff
original:
updated:
- "5.0"
- "4.0"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "4.0"
- "iojs"
after_success:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5.0"
- "4.0"
... | a303e814b87c9f6f273ad7568295833e38fd6647 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Application/MainBundle/Controller/ArticleController.php.diff
original:
updated:
<|file_sep|>src/Application/MainBundle/Controller/ArticleController.php.diff
original:
updated:
<|file_sep|>src/Application/MainBundle/Controller/ArticleController.php.diff
original:
updated:
<|file... |
$em = $this->getDoctrine()->getManager();
$qb = $em->createQueryBuilder();
$query = $qb
->from('\Application\MainBundle\Entity\Article', 'a')
->select('a')
->getQuery()
;
$query->setHint(
\Doctrine\ORM\Query::HINT_CUS... | <|file_sep|>src/Application/MainBundle/Controller/ArticleController.php.diff
original:
updated:
<|file_sep|>src/Application/MainBundle/Controller/ArticleController.php.diff
original:
updated:
<|file_sep|>src/Application/MainBundle/Controller/ArticleController.php.diff
original:
updated:
<|file... | f6b44b426f5af91cbf0fbf8b122b696e86988728 | src/Application/MainBundle/Controller/ArticleController.php | src/Application/MainBundle/Controller/ArticleController.php | PHP |
<|file_sep|>original/test2/arrays/qualified_type_checks.c
<|file_sep|>current/test2/arrays/qualified_type_checks.c
<|file_sep|>updated/test2/arrays/qualified_type_checks.c | // RUN: %ucc -fsyntax-only %s
typedef int array[3];
const array yo; // int const yo[3];
// ^~ no const here
h(array); // int h(int [3]);
i(const array); // int i(int const [3]);
// ^~ no const here
j(int[const]); // int j(int *const);
_Static_assert(_Ge... | <|file_sep|>original/test2/arrays/qualified_type_checks.c
<|file_sep|>current/test2/arrays/qualified_type_checks.c
<|file_sep|>updated/test2/arrays/qualified_type_checks.c
// RUN: %ucc -fsyntax-only %s
typedef int array[3];
const array yo; // int const yo[3];
// ^~ no const here
h(array... | f9b5db764f7c403b5b47a546d69bf7c35d6bbfae | test2/arrays/qualified_type_checks.c | test2/arrays/qualified_type_checks.c | C |
<|file_sep|>original/package.sh
<|file_sep|>current/package.sh
<|file_sep|>updated/package.sh | #!/bin/bash
DEPLOY_DIR="cloudmine-framework-release"
ARCHIVE_NAME="$DEPLOY_DIR.tgz"
echo "Removing old build directory..."
rm -rf "./ios/build"
echo "Re-building release framework..."
env --unset=CC xcodebuild -scheme "CloudMine Universal Framework" -configuration Release -workspace cm-ios.xcworkspace
echo "Beginni... | <|file_sep|>original/package.sh
<|file_sep|>current/package.sh
<|file_sep|>updated/package.sh
#!/bin/bash
DEPLOY_DIR="cloudmine-framework-release"
ARCHIVE_NAME="$DEPLOY_DIR.tgz"
echo "Removing old build directory..."
rm -rf "./ios/build"
echo "Re-building release framework..."
env --unset=CC xcodebuild -scheme "Cl... | db3b440a2b25ac6f00aa0accb2f6d2254aef232e | package.sh | package.sh | Shell |
<|file_sep|>utils.py.diff
original:
args = command[1]
updated:
args = command[1:] if len(command) > 1 else None
<|file_sep|>original/utils.py
def add_cmd(name, alias=None, owner=False, admin=False):
def real_command(func):
commands[name] = func
if alias:
commands[alias] = func
... | if alias:
commands[alias] = func
return real_command
def call_command(bot, event, irc):
command = ' '.join(event.arguments).split(' ')
args = command[1:] if len(command) > 1 else None
name = command[0][1:]
try:
commands[name](bot, event, irc, args)
except KeyError:... | <|file_sep|>utils.py.diff
original:
args = command[1]
updated:
args = command[1:] if len(command) > 1 else None
<|file_sep|>original/utils.py
def add_cmd(name, alias=None, owner=False, admin=False):
def real_command(func):
commands[name] = func
if alias:
commands[alias] = func
... | b9a16863a1baca989ccec66a88b4218aad676160 | utils.py | utils.py | Python |
<|file_sep|>src/coffee/managers/day-sched.litcoffee.diff
original:
tableNodes = d3.select('#day-sched-table')
.selectAll('tr')
.data(state.schedule)
.html(nodeHTML)
.classed 'info', (entry) ->
... | current: CurrentDSItem
Table Management
----------------
We use D3 to set the data within the table.
nodeHTML = (entry) ->
dateString = FormatTime(FromUNIX(entry.start), false)
"<td>#{dateString}</td>
<td>#{entry.displayName}</td>"
inputStream.onValu... | <|file_sep|>src/coffee/managers/day-sched.litcoffee.diff
original:
tableNodes = d3.select('#day-sched-table')
.selectAll('tr')
.data(state.schedule)
.html(nodeHTML)
.classed 'info', (entry) ->
... | ea160e405b66f02a5c4004f1c58b76ff678e52c6 | src/coffee/managers/day-sched.litcoffee | src/coffee/managers/day-sched.litcoffee | Literate CoffeeScript |
<|file_sep|>original/python/fusion_engine_client/messages/__init__.py
# Navigation solution messages.
PoseMessage.MESSAGE_TYPE: PoseMessage,
PoseAuxMessage.MESSAGE_TYPE: PoseAuxMessage,
GNSSInfoMessage.MESSAGE_TYPE: GNSSInfoMessage,
GNSSSatelliteMessage.MESSAGE_TYPE: GNSSSatelliteMessage,
# Sen... | PoseAuxMessage.MESSAGE_TYPE: PoseAuxMessage,
GNSSInfoMessage.MESSAGE_TYPE: GNSSInfoMessage,
GNSSSatelliteMessage.MESSAGE_TYPE: GNSSSatelliteMessage,
# Sensor measurement messages.
IMUMeasurement.MESSAGE_TYPE: IMUMeasurement,
# ROS messages.
ros.PoseMessage.MESSAGE_TYPE: ros.PoseMessage,
... | <|file_sep|>original/python/fusion_engine_client/messages/__init__.py
# Navigation solution messages.
PoseMessage.MESSAGE_TYPE: PoseMessage,
PoseAuxMessage.MESSAGE_TYPE: PoseAuxMessage,
GNSSInfoMessage.MESSAGE_TYPE: GNSSInfoMessage,
GNSSSatelliteMessage.MESSAGE_TYPE: GNSSSatelliteMessage,
# Sen... | 37fa40a9b5260f8090adaa8c15d3767c0867574f | python/fusion_engine_client/messages/__init__.py | python/fusion_engine_client/messages/__init__.py | Python |
<|file_sep|>original/provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml
<|file_sep|>current/provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml
<|file_sep|>updated/provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml | ---
__postgresql_version: "10"
__postgresql_data_dir: "/var/lib/postgresql/{{ __postgresql_version }}/main"
__postgresql_bin_path: "/usr/lib/postgresql/{{ __postgresql_version }}/bin"
__postgresql_config_path: "/etc/postgresql/{{ __postgresql_version }}/main"
__postgresql_daemon: postgresql
__postgresql_packages:
- p... | <|file_sep|>original/provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml
<|file_sep|>current/provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml
<|file_sep|>updated/provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml
---
__postgresql_version: "10"
__postgresql_data_dir: "/var/lib/postgresql... | c9411100f10008f5641b50ae075b451557398be5 | provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml | provisioning/roles/geerlingguy.postgresql/vars/Ubuntu-18.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js # don't install any environment
node_js:
- stable
before_script:
- npm install --ignore-scripts
script:
- npm run postinstall
deploy:
provider: pages
local_dir: deploy
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:... | language: node_js # don't install any environment
node_js:
- stable
before_script:
- npm install bower -g
- npm install --ignore-scripts
script:
- npm run postinstall
deploy:
provider: pages
local_dir: deploy
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
bra... | <|file_sep|>original/.travis.yml
language: node_js # don't install any environment
node_js:
- stable
before_script:
- npm install --ignore-scripts
script:
- npm run postinstall
deploy:
provider: pages
local_dir: deploy
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:... | 523df00b3010ea113ec5cd8698ae813b169b5a7d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb
module RuboCop
module Cop
module Cask
# This cop checks for version.before_comma and version.after_comma
class UrlLegacyCommaSeparators < Base
include OnUrlStanza
extend AutoCorrector
MSG_CSV = ... | module RuboCop
module Cop
module Cask
# This cop checks for version.before_comma and version.after_comma
class UrlLegacyCommaSeparators < Base
include OnUrlStanza
extend AutoCorrector
MSG_CSV = "Use 'version.csv.first' instead of 'version.before_comma' and 'version.csv.second'... | <|file_sep|>original/Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb
module RuboCop
module Cop
module Cask
# This cop checks for version.before_comma and version.after_comma
class UrlLegacyCommaSeparators < Base
include OnUrlStanza
extend AutoCorrector
MSG_CSV = ... | cc2b99c8cfa2e08d44505674e25f0360378bbc7c | Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb | Library/Homebrew/rubocops/cask/url_legacy_comma_separators.rb | Ruby |
<|file_sep|>.scrutinizer.yml.diff
original:
checks:
php: true
updated:
build:
tests:
override:
- php-scrutinizer-run
<|file_sep|>original/.scrutinizer.yml
checks:
php: true
tools:
external_code_coverage: true
filter:
excluded_paths:
- 'tests/*'
<|file_sep|>current/.scru... | build:
tests:
override:
- php-scrutinizer-run
tools:
external_code_coverage: true
filter:
excluded_paths:
- 'tests/'
dependency_paths:
- 'vendor/' | <|file_sep|>.scrutinizer.yml.diff
original:
checks:
php: true
updated:
build:
tests:
override:
- php-scrutinizer-run
<|file_sep|>original/.scrutinizer.yml
checks:
php: true
tools:
external_code_coverage: true
filter:
excluded_paths:
- 'tests/*'
<|file_sep|>current/.scru... | 3e2927848e5553cc484bd020fd6b1602eb971585 | .scrutinizer.yml | .scrutinizer.yml | YAML |
<|file_sep|>original/exercises/concept/exceptions/simple_calculator.rb
class SimpleCalculator
ALLOWED_OPERATIONS = ['+', '/', '*']
UnsupportedOperation = Class.new(StandardError)
def self.calculate(first_operand, second_operand, operation)
raise NotImplementedError, 'Please implement the SimpleCalculator.ca... | class SimpleCalculator
ALLOWED_OPERATIONS = ['+', '/', '*']
def self.calculate(first_operand, second_operand, operation)
raise NotImplementedError, 'Please implement the SimpleCalculator.calculate method'
end
end | <|file_sep|>original/exercises/concept/exceptions/simple_calculator.rb
class SimpleCalculator
ALLOWED_OPERATIONS = ['+', '/', '*']
UnsupportedOperation = Class.new(StandardError)
def self.calculate(first_operand, second_operand, operation)
raise NotImplementedError, 'Please implement the SimpleCalculator.ca... | 55635b896f4b9a4f96e8f275fd996bcf482cdb2e | exercises/concept/exceptions/simple_calculator.rb | exercises/concept/exceptions/simple_calculator.rb | Ruby |
<|file_sep|>Casks/handbrake.rb.diff
original:
url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.8-MacOSX.6_GUI_x86_64.dmg'
updated:
url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.9-MacOSX.6_GUI_x86_64.dmg'
<|file_sep|>original/Casks/handbrake.rb
class Handbrake < Cask
url 'http://handbrake.fr/rot... | class Handbrake < Cask
url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.9-MacOSX.6_GUI_x86_64.dmg'
homepage 'http://handbrake.fr/'
version '0.9.9'
sha1 '9b6f0259f3378b0cc136378d7859162aa95c0eb7'
link :app, 'HandBrake.app'
end | <|file_sep|>Casks/handbrake.rb.diff
original:
url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.8-MacOSX.6_GUI_x86_64.dmg'
updated:
url 'http://handbrake.fr/rotation.php?file=HandBrake-0.9.9-MacOSX.6_GUI_x86_64.dmg'
<|file_sep|>original/Casks/handbrake.rb
class Handbrake < Cask
url 'http://handbrake.fr/rot... | fc9b46e7816d2f1ef6f22f31ca99fcd0fa057c88 | Casks/handbrake.rb | Casks/handbrake.rb | Ruby |
<|file_sep|>original/requirements.txt
fonttools[ufo,lxml,unicode]==4.37.4; platform_python_implementation == 'CPython'
fonttools[unicode,ufo]==4.34.0; platform_python_implementation != 'CPython'
cu2qu==1.6.7.post1
glyphsLib==6.0.6
ufo2ft==2.28.0
MutatorMath==3.0.1
fontMath==0.9.1
defcon[lxml]==0.10.0; platform_python_i... | fonttools[ufo,lxml,unicode]==4.37.4; platform_python_implementation == 'CPython'
fonttools[ufo,unicode]==4.37.4; platform_python_implementation != 'CPython'
cu2qu==1.6.7.post1
glyphsLib==6.0.6
ufo2ft==2.28.0
MutatorMath==3.0.1
fontMath==0.9.1
defcon[lxml]==0.10.0; platform_python_implementation == 'CPython'
defcon==0.1... | <|file_sep|>original/requirements.txt
fonttools[ufo,lxml,unicode]==4.37.4; platform_python_implementation == 'CPython'
fonttools[unicode,ufo]==4.34.0; platform_python_implementation != 'CPython'
cu2qu==1.6.7.post1
glyphsLib==6.0.6
ufo2ft==2.28.0
MutatorMath==3.0.1
fontMath==0.9.1
defcon[lxml]==0.10.0; platform_python_i... | ba836d8551b0414f97b2b39c1fabc0c8376effee | requirements.txt | requirements.txt | Text |
<|file_sep|>original/pkgs/tools/networking/s3cmd/git.nix
{ stdenv, fetchgit, pythonPackages }:
pythonPackages.buildPythonPackage rec {
name = "s3cmd-1.5-pre-81e3842f7a";
src = fetchgit {
url = "https://github.com/s3tools/s3cmd.git";
rev = "81e3842f7afbc8c629f408f4d7dc22058f7bd536";
sha256 = "13... | { stdenv, fetchgit, pythonPackages }:
pythonPackages.buildPythonPackage rec {
name = "s3cmd-1.5-pre-81e3842f7a";
src = fetchgit {
url = "https://github.com/s3tools/s3cmd.git";
rev = "81e3842f7afbc8c629f408f4d7dc22058f7bd536";
sha256 = "13jqw19ws5my8r856j1p7xydwpyp8agnzxkjv6pa7h72wl7rz90i";
};... | <|file_sep|>original/pkgs/tools/networking/s3cmd/git.nix
{ stdenv, fetchgit, pythonPackages }:
pythonPackages.buildPythonPackage rec {
name = "s3cmd-1.5-pre-81e3842f7a";
src = fetchgit {
url = "https://github.com/s3tools/s3cmd.git";
rev = "81e3842f7afbc8c629f408f4d7dc22058f7bd536";
sha256 = "13... | d7182bdf2bcd9d1863506d7d532dcd844764bc80 | pkgs/tools/networking/s3cmd/git.nix | pkgs/tools/networking/s3cmd/git.nix | Nix |
<|file_sep|>original/kivy/tests/test_widget_walk.py
<|file_sep|>current/kivy/tests/test_widget_walk.py
<|file_sep|>updated/kivy/tests/test_widget_walk.py | import unittest
class FileWidgetWalk(unittest.TestCase):
def test_walk_large_tree(self):
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.label import Label
from kivy.uix.widget import walk, walk_reverse
''' the tree
BoxLayout
BoxLayout
Label
... | <|file_sep|>original/kivy/tests/test_widget_walk.py
<|file_sep|>current/kivy/tests/test_widget_walk.py
<|file_sep|>updated/kivy/tests/test_widget_walk.py
import unittest
class FileWidgetWalk(unittest.TestCase):
def test_walk_large_tree(self):
from kivy.uix.boxlayout import BoxLayout
from kivy.u... | 9c70a5d65b1c06f62751dfb4fcdd4d6a60a5eb71 | kivy/tests/test_widget_walk.py | kivy/tests/test_widget_walk.py | Python |
<|file_sep|>original/app/views/fasta_data/merge.html.slim
h3
= 'Merged data'
.row
.col-md-12
= form_tag Settings.ncbi_blast_api, method: :get, target: '_blank', enforce_utf8: false do
= hidden_field_tag 'CMD', 'Web'
= hidden_field_tag 'PAGE_TYPE', 'BlastSearch'
= hidden_field_tag 'LINK_LOC', '... | h3
= 'Merged data'
.row
.col-md-12
= form_tag Settings.ncbi_blast_api, method: :put, target: '_blank', enforce_utf8: false do
= hidden_field_tag 'CMD', 'Web'
= hidden_field_tag 'PAGE_TYPE', 'BlastSearch'
= hidden_field_tag 'LINK_LOC', 'blasthome'
= text_area_tag 'QUERY', @content, class:... | <|file_sep|>original/app/views/fasta_data/merge.html.slim
h3
= 'Merged data'
.row
.col-md-12
= form_tag Settings.ncbi_blast_api, method: :get, target: '_blank', enforce_utf8: false do
= hidden_field_tag 'CMD', 'Web'
= hidden_field_tag 'PAGE_TYPE', 'BlastSearch'
= hidden_field_tag 'LINK_LOC', '... | 402f6115e4592e66a822adcbf17c0b903a1f568c | app/views/fasta_data/merge.html.slim | app/views/fasta_data/merge.html.slim | Slim |
<|file_sep|>api-stub/routes.js.diff
original:
updated:
var contests = { "contests": [
{id: 1, name: "Goodbye 2013", starts: "4pm, 31st January 2014", duration: "75 minutes", already_registered: "32"},
{id: 2, name: "Welcome 2014", starts: "4pm, 7th January 2014", duration: "75 minutes", already_registe... | // have to be repeated for each end point.
server.namespace('/api', function() {
var contests = { "contests": [
{id: 1, name: "Goodbye 2013", starts: "4pm, 31st January 2014", duration: "75 minutes", already_registered: "32"},
{id: 2, name: "Welcome 2014", starts: "4pm, 7th January 2014", duration:... | <|file_sep|>api-stub/routes.js.diff
original:
updated:
var contests = { "contests": [
{id: 1, name: "Goodbye 2013", starts: "4pm, 31st January 2014", duration: "75 minutes", already_registered: "32"},
{id: 2, name: "Welcome 2014", starts: "4pm, 7th January 2014", duration: "75 minutes", already_registe... | 26c9dd93bd8e9bd8c2cdc43eb46a2fb060bad743 | api-stub/routes.js | api-stub/routes.js | JavaScript |
<|file_sep|>original/assets/js/jquery.ghostHunter-init.js
$("#search-field").ghostHunter({
results : "#search-results",
onKeyUp : true,
info_template : "<p>Found {{amount}} posts</p>",
result_template : "<a href='{{link}}'><p><h2>{{title}}</h2><h4>{{pubDate}}</h4>{{description}}</p></a>"
});
<|file_se... | $("#search-field").ghostHunter({
results : "#search-results",
onKeyUp : true,
info_template : "<p>Results: {{amount}}</p>",
result_template : "<a href='{{link}}'><p><h2>{{title}}</h2><h4>{{pubDate}}</h4>{{description}}</p></a>"
}); | <|file_sep|>original/assets/js/jquery.ghostHunter-init.js
$("#search-field").ghostHunter({
results : "#search-results",
onKeyUp : true,
info_template : "<p>Found {{amount}} posts</p>",
result_template : "<a href='{{link}}'><p><h2>{{title}}</h2><h4>{{pubDate}}</h4>{{description}}</p></a>"
});
<|file_se... | f019469201eebdbb85880f871101da65599557e0 | assets/js/jquery.ghostHunter-init.js | assets/js/jquery.ghostHunter-init.js | JavaScript |
<|file_sep|>_layouts/post.html.diff
original:
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}
{% if page.category %} • Category: <a href="/categories/#{{ page.category }}">{{ page.catego... | <a href="/tags/#{{ tag }}">{{ tag }}</a> {% endfor %} {% endif %}
{% if page.author %} • {{ page.author }}{% endif %}
{% if page.meta %} • {{ page.meta }}{% endif %}
</p>
</header>
<article class="post-content">
{{ content }}
<... | <|file_sep|>_layouts/post.html.diff
original:
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}
{% if page.category %} • Category: <a href="/categories/#{{ page.category }}">{{ page.catego... | dd1b5fbc10d3b03c956caeb5e33c3edde6722f33 | _layouts/post.html | _layouts/post.html | HTML |
<|file_sep|>original/src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java
<|file_sep|>current/src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java
<|file_sep|>updated/src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java | package nom.bdezonia.zorbage.type.data.float64.complex;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import nom.bdezonia.zorbage.algorithm.MatrixMaximumAbsoluteColumnSumNorm;
import nom.bdezonia.zorbage.algorithm.MatrixMaximumAbsoluteRowSumNorm;
import nom.bdezonia.zorbage.groups.G;
import nom.b... | <|file_sep|>original/src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java
<|file_sep|>current/src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java
<|file_sep|>updated/src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java
package nom.bdezonia.zorbage.... | c1ced318b52137a4f17221503cf3d48c2f575900 | src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java | src/test/java/nom/bdezonia/zorbage/type/data/float64/complex/TestNorms.java | Java |
<|file_sep|>original/db/seeds/prisons/SPI-spring-hill.yml
---
name: Spring Hill
nomis_id: SPI
address: |-
Grendon Underwood
postcode: HP18 0TL
email_address: socialvisits.springhill@hmps.gsi.gov.uk
phone_no: 01296 445000
enabled: true
recurring:
sat:
- 1345-1600
sun:
- 1345-1600
anomalous:
2016-01-15:
- 1... | ---
name: Spring Hill
nomis_id: SPI
address: |-
Grendon Underwood
postcode: HP18 0TL
email_address: socialvisits.springhill@hmps.gsi.gov.uk
phone_no: 01296 445000
enabled: true
recurring:
fri:
- 1345-1600
sat:
- 1345-1600
sun:
- 1345-1600
anomalous:
2016-01-15:
- 1345-1600
2016-01-22:
- 1345-1600 | <|file_sep|>original/db/seeds/prisons/SPI-spring-hill.yml
---
name: Spring Hill
nomis_id: SPI
address: |-
Grendon Underwood
postcode: HP18 0TL
email_address: socialvisits.springhill@hmps.gsi.gov.uk
phone_no: 01296 445000
enabled: true
recurring:
sat:
- 1345-1600
sun:
- 1345-1600
anomalous:
2016-01-15:
- 1... | 067874d57f374e9f980b884535ced40c995d323d | db/seeds/prisons/SPI-spring-hill.yml | db/seeds/prisons/SPI-spring-hill.yml | YAML |
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
Provide details on what you were trying to do (and why).
**What happened**
A clear and concise description of what happen.
**Expected behavior**
A clear and concise description of what you expected to happen.
**To Reproduce**
Steps to reproduce the behavior; ... | Provide details on what you were trying to do (and why).
**What happened**
A clear and concise description of what happen.
**Expected behavior**
A clear and concise description of what you expected to happen.
**To Reproduce**
Steps to reproduce the behavior; include the exact CLI commands and verbose output:
1. Run ... | <|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
Provide details on what you were trying to do (and why).
**What happened**
A clear and concise description of what happen.
**Expected behavior**
A clear and concise description of what you expected to happen.
**To Reproduce**
Steps to reproduce the behavior; ... | e0599a42401fad1b13c6312603375cf449ac0698 | .github/ISSUE_TEMPLATE/bug_report.md | .github/ISSUE_TEMPLATE/bug_report.md | Markdown |
<|file_sep|>app/assets/javascripts/_analytics.js.diff
original:
GOVUK.Tracker.load();
updated:
GOVUK.Analytics.load();
<|file_sep|>app/assets/javascripts/_analytics.js.diff
original:
updated:
// wrapper function for calls to window.ga, used by all Google Analytics trackers
function sendToGa() {
if (typeof... | configureProfile(id, cookieDomain);
anonymizeIp();
function configureProfile(id, cookieDomain) {
sendToGa('create', id, {'cookieDomain': cookieDomain, 'allowLinker': true });
}
function anonymizeIp() {
// https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced... | <|file_sep|>app/assets/javascripts/_analytics.js.diff
original:
GOVUK.Tracker.load();
updated:
GOVUK.Analytics.load();
<|file_sep|>app/assets/javascripts/_analytics.js.diff
original:
updated:
// wrapper function for calls to window.ga, used by all Google Analytics trackers
function sendToGa() {
if (typeof... | fd1fcc6f35f2e36290fe1143edcea2334e079267 | app/assets/javascripts/_analytics.js | app/assets/javascripts/_analytics.js | JavaScript |
<|file_sep|>original/app/views/ops/_diagnostics_savedreports.html.haml
%h3= _("Report Results by User")
- if @sb[:orphaned_records].blank?
= render :partial => 'layouts/info_msg', :locals => {:message => _("No Records Found.")}
- else
%table.table.table-striped.table-bordered
%thead
%tr
%th.table... |
- if @sb[:orphaned_records].blank?
= render :partial => 'layouts/info_msg', :locals => {:message => _("No Records Found.")}
- else
%table.table.table-striped.table-bordered
%thead
%tr
%th.table-view-pf-select
%th= _("Username")
%th= _("Count")
%tbody
- @sb[:orphaned_reco... | <|file_sep|>original/app/views/ops/_diagnostics_savedreports.html.haml
%h3= _("Report Results by User")
- if @sb[:orphaned_records].blank?
= render :partial => 'layouts/info_msg', :locals => {:message => _("No Records Found.")}
- else
%table.table.table-striped.table-bordered
%thead
%tr
%th.table... | 99e768ebcdc09d7e0b428243bab7472130508dd2 | app/views/ops/_diagnostics_savedreports.html.haml | app/views/ops/_diagnostics_savedreports.html.haml | Haml |
<|file_sep|>original/db/migrate/007_add_missing_indexes.rb
<|file_sep|>current/db/migrate/007_add_missing_indexes.rb
<|file_sep|>updated/db/migrate/007_add_missing_indexes.rb | class AddMissingIndexes < ActiveRecord::Migration
def up
add_index :jenkins_settings, :project_id
add_index :jenkins_jobs, :project_id
add_index :jenkins_jobs, :repository_id
add_index :jenkins_jobs, [:project_id, :name], unique: true
add_index :jenkins_builds, :jenkins_job_id
add_index :je... | <|file_sep|>original/db/migrate/007_add_missing_indexes.rb
<|file_sep|>current/db/migrate/007_add_missing_indexes.rb
<|file_sep|>updated/db/migrate/007_add_missing_indexes.rb
class AddMissingIndexes < ActiveRecord::Migration
def up
add_index :jenkins_settings, :project_id
add_index :jenkins_jobs, :project... | 3bd512d29dcd3692cb26d2bdac9ccded3677c4e8 | db/migrate/007_add_missing_indexes.rb | db/migrate/007_add_missing_indexes.rb | Ruby |
<|file_sep|>original/scripts/roles/cikit-selenium/defaults/main.yml
selenium_dependencies:
- src: http://chromedriver.storage.googleapis.com/2.14/chromedriver_linux64.zip
dest: /var/lib/chrome-driver/chromedriver.zip
unzip: yes
service: no
# The "selenium" variable can be found in global "config.yml".
... | ---
selenium_dependencies:
- src: http://chromedriver.storage.googleapis.com/2.14/chromedriver_linux64.zip
dest: /var/lib/chrome-driver/chromedriver.zip
unzip: yes
service: no
# The "selenium" variable can be found in global "config.yml".
- src: "{{ selenium }}"
dest: /var/lib/selenium/selenium.ja... | <|file_sep|>original/scripts/roles/cikit-selenium/defaults/main.yml
selenium_dependencies:
- src: http://chromedriver.storage.googleapis.com/2.14/chromedriver_linux64.zip
dest: /var/lib/chrome-driver/chromedriver.zip
unzip: yes
service: no
# The "selenium" variable can be found in global "config.yml".
... | 9143b76b542df26fe03621993fbac0b31c9a7156 | scripts/roles/cikit-selenium/defaults/main.yml | scripts/roles/cikit-selenium/defaults/main.yml | YAML |
<|file_sep|>original/app/src/main/res/layout/activity_exercise_detail.xml
tools:context="com.example.rcos.gomueller.ExerciseDetailActivity">
<ListView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@android:id/list"
android:choiceMode="multi... | android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="History"
android:id="@+... | <|file_sep|>original/app/src/main/res/layout/activity_exercise_detail.xml
tools:context="com.example.rcos.gomueller.ExerciseDetailActivity">
<ListView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@android:id/list"
android:choiceMode="multi... | 49e4c4433b70d4d22524667b8b56889d9ad3f641 | app/src/main/res/layout/activity_exercise_detail.xml | app/src/main/res/layout/activity_exercise_detail.xml | XML |
<|file_sep|>src/DefinitionLoader.php.diff
original:
public function getFactoryDirectory()
updated:
public function getDefinitionDirectory()
<|file_sep|>src/DefinitionLoader.php.diff
original:
updated:
* Get a recursive iterator for all files in the given directory.
*
* @param string $directory... | {
$filenames[] = $file->getRealPath();
}
}
return $filenames;
}
/**
* Load all the definition files.
*
* @return void
*/
public function loadDefinitions()
{
foreach ($this->getDefinitionFiles() as $file)
{
... | <|file_sep|>src/DefinitionLoader.php.diff
original:
public function getFactoryDirectory()
updated:
public function getDefinitionDirectory()
<|file_sep|>src/DefinitionLoader.php.diff
original:
updated:
* Get a recursive iterator for all files in the given directory.
*
* @param string $directory... | ba4d030282526c202a113a5656394abab1cdc378 | src/DefinitionLoader.php | src/DefinitionLoader.php | PHP |
<|file_sep|>miner.h.diff
original:
updated:
#include <stdbool.h>
<|file_sep|>original/miner.h
#define _CGMINER_MINER_H
#include <stdint.h>
struct work {
uint8_t *midstate;
uint8_t *data;
};
#ifndef MAX
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#endif
#ifndef MIN
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#endif
typ... | #ifndef _CGMINER_MINER_H
#define _CGMINER_MINER_H
#include <stdint.h>
#include <stdbool.h>
struct work {
uint8_t *midstate;
uint8_t *data;
};
#ifndef MAX
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#endif
#ifndef MIN
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#endif
#endif | <|file_sep|>miner.h.diff
original:
updated:
#include <stdbool.h>
<|file_sep|>original/miner.h
#define _CGMINER_MINER_H
#include <stdint.h>
struct work {
uint8_t *midstate;
uint8_t *data;
};
#ifndef MAX
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#endif
#ifndef MIN
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#endif
typ... | cb39939355915d400a9ea0f0bee5e6fcc5dfeb37 | miner.h | miner.h | C |
<|file_sep|>original/docker-compose.yml
- 3000:3000
volumes:
- .:/usr/src/app
- gems:/bundles
- ./config/database.yml:/usr/src/app/config/database.yml
- ./config/application.example.yml:/usr/src/app/config/application.yml
depends_on:
- db
environment:
ADMIN_EMAIL: o... | volumes:
- .:/usr/src/app
- gems:/bundles
- ./config/database.yml:/usr/src/app/config/database.yml
- ./config/application.example.yml:/usr/src/app/config/application.yml
depends_on:
- db
environment:
ADMIN_EMAIL: ofn@example.com
ADMIN_PASSWORD: ofn123
command: >... | <|file_sep|>original/docker-compose.yml
- 3000:3000
volumes:
- .:/usr/src/app
- gems:/bundles
- ./config/database.yml:/usr/src/app/config/database.yml
- ./config/application.example.yml:/usr/src/app/config/application.yml
depends_on:
- db
environment:
ADMIN_EMAIL: o... | c0d02c8d42e92607a90ce33cd182950383743d18 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/wsme/tests/test_spore.py
class TestSpore(unittest.TestCase):
def test_spore(self):
spore = wsme.spore.getdesc(WSTestRoot())
print(spore)
spore = json.loads(spore)
assert len(spore['methods']) == 40, str(len(spore['methods']))
m = spore['methods']['a... |
m = spore['methods']['argtypes_setbytesarray']
assert m['path'] == '/argtypes/setbytesarray'
assert m['optional_params'] == ['value']
assert m['method'] == 'POST'
m = spore['methods']['argtypes_setdecimal']
assert m['path'] == '/argtypes/setdecimal'
assert m['re... | <|file_sep|>original/wsme/tests/test_spore.py
class TestSpore(unittest.TestCase):
def test_spore(self):
spore = wsme.spore.getdesc(WSTestRoot())
print(spore)
spore = json.loads(spore)
assert len(spore['methods']) == 40, str(len(spore['methods']))
m = spore['methods']['a... | db45239e050e6699a2c49fe4156b100c42481c9f | wsme/tests/test_spore.py | wsme/tests/test_spore.py | Python |
<|file_sep|>original/README.md
# zend-code
`Zend\Code\Generator` provides facilities to generate arbitrary code using an
object-oriented interface, both to create new code as well as to update existing
code. While the current implementation is limited to generating PHP code, you
can easily extend the base class in ord... | # zend-code
[](https://secure.travis-ci.org/zendframework/zend-code)
[](https://coveralls.io/r/zendframework/zend-code)
`Zend\Code\Genera... | <|file_sep|>original/README.md
# zend-code
`Zend\Code\Generator` provides facilities to generate arbitrary code using an
object-oriented interface, both to create new code as well as to update existing
code. While the current implementation is limited to generating PHP code, you
can easily extend the base class in ord... | a56373f8374c008f7d0a826e13f243b9767bc18a | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# UtilityJS
The missing utility functions for JavaScript, inspired by php, ruby, python buili-in functions.
<|file_sep|>current/README.md
# UtilityJS
The missing utility functions for JavaScript, inspired by php, ruby, python buili-in functions.
<|file_sep|>updated/README.md | # UtilityJS
The missing utility functions for JavaScript, inspired by php, ruby, python built-in functions. | <|file_sep|>original/README.md
# UtilityJS
The missing utility functions for JavaScript, inspired by php, ruby, python buili-in functions.
<|file_sep|>current/README.md
# UtilityJS
The missing utility functions for JavaScript, inspired by php, ruby, python buili-in functions.
<|file_sep|>updated/README.md
# UtilityJS
T... | d29d58773215bedf5ca03163abfb43810ceed885 | README.md | README.md | Markdown |
<|file_sep|>source/webserver.sh.diff
original:
echo "sudo $0 start"
updated:
echo "$0 start"
<|file_sep|>original/source/webserver.sh
fi
else
if [ "$1" = "stop" ]; then
echo "Stopping $progname ...."
webserverPID=$( pgrep -f $progname )
sudo kill $webserverPID
fi
fi
if [ -z "$( pgrep -f $prog... | fi
else
if [ "$1" = "stop" ]; then
echo "Stopping $progname ...."
webserverPID=$( pgrep -f $progname )
sudo kill $webserverPID
fi
fi
if [ -z "$( pgrep -f $progname )" ]; then
echo "$progname is Not Running ..."
echo "To Start $progname execute command below"
echo "$0 start"
else
web... | <|file_sep|>source/webserver.sh.diff
original:
echo "sudo $0 start"
updated:
echo "$0 start"
<|file_sep|>original/source/webserver.sh
fi
else
if [ "$1" = "stop" ]; then
echo "Stopping $progname ...."
webserverPID=$( pgrep -f $progname )
sudo kill $webserverPID
fi
fi
if [ -z "$( pgrep -f $prog... | be80de200174f2e9388b7d94759e049842085bca | source/webserver.sh | source/webserver.sh | Shell |
<|file_sep|>original/f8a_jobs/graph_sync.py
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
logger = logging.getLogger(__name__)
def _api_call(url, params={}):
url = "%s%s" % (configuration.DATA_IMPORTER_ENDPOINT, "/api/v1/pending")
try:
logger.info("API Cal... | import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
logger = logging.getLogger(__name__)
def _api_call(url, params={}):
try:
logger.info("API Call for url: %s, params: %s" % (url, params))
r = requests.get(url, params=params)
if r is None:
... | <|file_sep|>original/f8a_jobs/graph_sync.py
import f8a_jobs.defaults as configuration
import requests
import traceback
import logging
logger = logging.getLogger(__name__)
def _api_call(url, params={}):
url = "%s%s" % (configuration.DATA_IMPORTER_ENDPOINT, "/api/v1/pending")
try:
logger.info("API Cal... | f1760fe01ae82289d8de2bb9323271edb80d4c08 | f8a_jobs/graph_sync.py | f8a_jobs/graph_sync.py | Python |
<|file_sep|>jquery.touchclick.js.diff
original:
$(this).on('touchstart', $.event.special.touchclick.touchstart);
$(this).on('touchmove', $.event.special.touchclick.touchmove);
$(this).on('touchend', $.event.special.touchclick.touchend);
updated:
$(this).on... | event.type = "touchclick";
$(this).trigger(event.type, arguments);
},
teardown: function () {
if (typeof window.ontouchstart !== "undefined") {
$(this).off("touchstart", $.event.special.touchclick.touchstart);
$(this).off("touchmove", ... | <|file_sep|>jquery.touchclick.js.diff
original:
$(this).on('touchstart', $.event.special.touchclick.touchstart);
$(this).on('touchmove', $.event.special.touchclick.touchmove);
$(this).on('touchend', $.event.special.touchclick.touchend);
updated:
$(this).on... | bb61d714a0d7fbd97a6d4341ff9744424691db60 | jquery.touchclick.js | jquery.touchclick.js | JavaScript |
<|file_sep|>app/views/layouts/_delete_confirm.html.erb.diff
original:
<span class="delete-confirm-control-group">
<a class='btn btn-danger delete-button'>
updated:
<span class="delete-confirm-control-group">
<%= link_to '#', class: 'btn btn-danger delete-button' do %>
<% if defined?(display_label) %>
<%... | <span class="delete-confirm-control-group">
<%= link_to '#', class: 'btn btn-danger delete-button' do %>
<% if defined?(display_label) %>
<%= display_label %>
<% else %>
<i class="icon-trash"></i>
<% end %>
<% end %>
<%= link_to path_to_item, method: :delete, class: 'btn btn-danger delete... | <|file_sep|>app/views/layouts/_delete_confirm.html.erb.diff
original:
<span class="delete-confirm-control-group">
<a class='btn btn-danger delete-button'>
updated:
<span class="delete-confirm-control-group">
<%= link_to '#', class: 'btn btn-danger delete-button' do %>
<% if defined?(display_label) %>
<%... | bc0cf5952188fce212be7941a790e61a4813531b | app/views/layouts/_delete_confirm.html.erb | app/views/layouts/_delete_confirm.html.erb | HTML+ERB |
<|file_sep|>original/composer.json
"type": "symfony-bundle",
"minimum-stability": "dev",
"authors": [
{
"name": "Sebastian Kueck",
"email": "seb.kueck@gmail.com"
}
],
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.1",
"m... | {
"name": "Sebastian Kueck",
"email": "seb.kueck@gmail.com"
}
],
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.1",
"mtdowling/cron-expression": "1.0.*"
},
"require-dev": {
"symfony/finder": "~2.1",
"symfony/... | <|file_sep|>original/composer.json
"type": "symfony-bundle",
"minimum-stability": "dev",
"authors": [
{
"name": "Sebastian Kueck",
"email": "seb.kueck@gmail.com"
}
],
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.1",
"m... | 1283054bd6f174bfc7aea69cbf4fc425cabf3ebb | composer.json | composer.json | JSON |
<|file_sep|>original/metadata/fr.mobdev.blooddonation.txt
Repo:https://git.mob-dev.fr/Schoumi/BloodDonation.git
Build:3.0,8
commit=release-v3.0
subdir=app
gradle=yes
Build:3.3,11
commit=release-v3.3
subdir=app
gradle=yes
Build:3.4,12
commit=release-v3.4
subdir=app
gradle=yes
Auto... | Repo:https://git.mob-dev.fr/Schoumi/BloodDonation.git
Build:3.0,8
commit=release-v3.0
subdir=app
gradle=yes
Build:3.3,11
commit=release-v3.3
subdir=app
gradle=yes
Build:3.4,12
commit=release-v3.4
subdir=app
gradle=yes
Auto Update Mode:Version release-v%v
Update Check Mode:Tags
Cu... | <|file_sep|>original/metadata/fr.mobdev.blooddonation.txt
Repo:https://git.mob-dev.fr/Schoumi/BloodDonation.git
Build:3.0,8
commit=release-v3.0
subdir=app
gradle=yes
Build:3.3,11
commit=release-v3.3
subdir=app
gradle=yes
Build:3.4,12
commit=release-v3.4
subdir=app
gradle=yes
Auto... | b3876773ef680fc2342b251c6f01546e1a8b7957 | metadata/fr.mobdev.blooddonation.txt | metadata/fr.mobdev.blooddonation.txt | Text |
<|file_sep|>ruby/spec/bson/element_spec.rb.diff
original:
let(:element) do
described_class.new("name", "value")
updated:
context "when the field is a string" do
let(:element) do
described_class.new("name", "value")
end
let(:encoded) do
element.to_bson
end
i... | it "encodes the type + field + value" do
expect(encoded).to eq(
"#{String::BSON_TYPE}#{"name".to_bson_cstring}#{"value".to_bson}"
)
end
end
context "when the field is a symbol" do
let(:element) do
described_class.new(:name, "value")
end
let(:enc... | <|file_sep|>ruby/spec/bson/element_spec.rb.diff
original:
let(:element) do
described_class.new("name", "value")
updated:
context "when the field is a string" do
let(:element) do
described_class.new("name", "value")
end
let(:encoded) do
element.to_bson
end
i... | 18dec38f958d2a45e20465b4d1a8f69df671a1cc | ruby/spec/bson/element_spec.rb | ruby/spec/bson/element_spec.rb | Ruby |
<|file_sep|>original/sources/Curse/enigmatica2expert.json
"description": "An Expert Questing Modpack for Minecraft 1.12.2!",
"channels": [
{
"name": "build",
"interface": "json",
"mirror": true,
"releases": [
{
"version"... | "description": "An Expert Questing Modpack for Minecraft 1.12.2!",
"channels": [
{
"name": "build",
"interface": "json",
"mirror": true,
"releases": [
{
"version": "1.56",
"url": "https://s3.amazonaws... | <|file_sep|>original/sources/Curse/enigmatica2expert.json
"description": "An Expert Questing Modpack for Minecraft 1.12.2!",
"channels": [
{
"name": "build",
"interface": "json",
"mirror": true,
"releases": [
{
"version"... | 91d2c49173d0a4405b00dbfc258e0c2ab32ad382 | sources/Curse/enigmatica2expert.json | sources/Curse/enigmatica2expert.json | JSON |
<|file_sep|>README.md.diff
original:
TEDDY-BEAR:
updated:
### TEDDY-BEAR:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
SNAKE:
updated:
### SNAKE:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
looms... | building building massive finds
building building looms
### CARROT:
delicious looms looms
looms chicken chicken yo how
delicious is rises
### SNOW:
sugar sugar rises
white is white white sugar yo
cold err cold how grows | <|file_sep|>README.md.diff
original:
TEDDY-BEAR:
updated:
### TEDDY-BEAR:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
SNAKE:
updated:
### SNAKE:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
looms... | 57aabadfe8d2de784b579315e26f8d312cb289ee | README.md | README.md | Markdown |
<|file_sep|>original/recipes-core/images/core-image-pelux.bb
#
# Copyright (C) 2016 Pelagicore AB
#
DESCRIPTION = "Image for creating a Pelux image"
inherit core-image-bistro
# Pelux components
IMAGE_INSTALL += "softwarecontainer"
<|file_sep|>current/recipes-core/images/core-image-pelux.bb
#
# Copyright (C) 2016 ... | #
# Copyright (C) 2016 Pelagicore AB
#
DESCRIPTION = "Image for creating a Pelux image"
require recipes-core/images/core-image-bistro.bb
# Pelux components
IMAGE_INSTALL += "softwarecontainer" | <|file_sep|>original/recipes-core/images/core-image-pelux.bb
#
# Copyright (C) 2016 Pelagicore AB
#
DESCRIPTION = "Image for creating a Pelux image"
inherit core-image-bistro
# Pelux components
IMAGE_INSTALL += "softwarecontainer"
<|file_sep|>current/recipes-core/images/core-image-pelux.bb
#
# Copyright (C) 2016 ... | 86fee44042939cb1ab6ccde6f0acf43851571453 | recipes-core/images/core-image-pelux.bb | recipes-core/images/core-image-pelux.bb | BitBake |
<|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
# - 5.3 # requires old distro
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
sudo: false
install:
- composer install --no-interaction
script:
- vendor/bin/phpunit --coverage-text
<|file_sep|>current/.trav... | language: php
php:
# - 5.3 # requires old distro
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm # ignore errors, see below
# lock distro so new future defaults will not break the build
dist: trusty
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm | <|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
# - 5.3 # requires old distro
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
sudo: false
install:
- composer install --no-interaction
script:
- vendor/bin/phpunit --coverage-text
<|file_sep|>current/.trav... | 5ddbf4b631ba9ee838da85ef6c39018183313b96 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/ruby/optional/ffi/struct_layout_spec.rb
<|file_sep|>current/spec/ruby/optional/ffi/struct_layout_spec.rb
<|file_sep|>updated/spec/ruby/optional/ffi/struct_layout_spec.rb | require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
describe "FFI::Struct.layout" do
context 'when class name is not set' do
it 'should not raise a error' do
lambda {
klass = Class.new(FFI::Struct)
klass.layout :any, :int
}.should_not raise_error
end
end
e... | <|file_sep|>original/spec/ruby/optional/ffi/struct_layout_spec.rb
<|file_sep|>current/spec/ruby/optional/ffi/struct_layout_spec.rb
<|file_sep|>updated/spec/ruby/optional/ffi/struct_layout_spec.rb
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
describe "FFI::Struct.layout" do
context 'wh... | 05ebd68b1fd86d53b11dbdce338efc8691005cdc | spec/ruby/optional/ffi/struct_layout_spec.rb | spec/ruby/optional/ffi/struct_layout_spec.rb | Ruby |
<|file_sep|>original/test/test_mirror.dart
// Possibility to use mirrors currently blocked by lack of VariableMirror.type implementation
// Full support required: For example in class Article we have to reflect on comments as a List of Comment.
// class Article {
// ...
// List<Comment> comments
// ... | // List<Comment> comments
// }
//
main() {
var domainModelLib = currentMirrorSystem().libraries['domain_model'];
domainModelLib.classes.forEach((name,classMirror) {
if (classMirror.superinterfaces.length > 0 && classMirror.superinterfaces[0].simpleName == 'PersistentObject') {
... | <|file_sep|>original/test/test_mirror.dart
// Possibility to use mirrors currently blocked by lack of VariableMirror.type implementation
// Full support required: For example in class Article we have to reflect on comments as a List of Comment.
// class Article {
// ...
// List<Comment> comments
// ... | 6d18ad920ddb6ca63e0701de9ca03dc09f6eef72 | test/test_mirror.dart | test/test_mirror.dart | Dart |
<|file_sep|>original/.travis.yml
sudo: false
cache: bundler
language: ruby
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.8
- 2.6.6
- 2.7.1
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
- AR=5.0.3
- AR=5.1.1
- AR=5.2.2
- AR=6.0.3.3
matrix:
exclude:
<|file_sep|>current/.t... | cache: bundler
language: ruby
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.8
- 2.6.6
- 2.7.1
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
- AR=5.0.3
- AR=5.1.1
- AR=5.2.2
- AR=6.0.3.3
matrix:
exclude:
- rvm: 2.1.10 | <|file_sep|>original/.travis.yml
sudo: false
cache: bundler
language: ruby
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.8
- 2.6.6
- 2.7.1
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
- AR=5.0.3
- AR=5.1.1
- AR=5.2.2
- AR=6.0.3.3
matrix:
exclude:
<|file_sep|>current/.t... | cc1a7b06a3b5e94e95ff183449572bfd2ba1b7e9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/reborncore.cfg
# Configuration file
misc {
# Enable version checker
B:"Check for new versions"=true
# Disable this is you don't want seasonal easter eggs
B:"Enable Seasonal Easter Eggs"=true
# Wrench required to pick machine. If now wrenched than machine frame will dro... | # Configuration file
misc {
# Enable version checker
B:"Check for new versions"=false
# Disable this is you don't want seasonal easter eggs
B:"Enable Seasonal Easter Eggs"=true
# Wrench required to pick machine. If now wrenched than machine frame will drop instead.
B:"Wrench required"=true
... | <|file_sep|>original/config/reborncore.cfg
# Configuration file
misc {
# Enable version checker
B:"Check for new versions"=true
# Disable this is you don't want seasonal easter eggs
B:"Enable Seasonal Easter Eggs"=true
# Wrench required to pick machine. If now wrenched than machine frame will dro... | d9cc0180b9a794a5e693ad2ac333008251201f25 | config/reborncore.cfg | config/reborncore.cfg | INI |
<|file_sep|>.travis.yml.diff
original:
- "6"
- "5"
updated:
- "7"
<|file_sep|>.travis.yml.diff
original:
- WEBPACK_VERSION=1.13.1 EXTRACT_TEXT_VERSION=1
- WEBPACK_VERSION=2.2.1 EXTRACT_TEXT_VERSION=2.0.0
updated:
- WEBPACK_VERSION=1 EXTRACT_TEXT_VERSION=1
- WEBPACK_VERSION=2 EXTRACT_TEXT_VERSION=2... | language: node_js
node_js:
- "7"
- "4"
env:
matrix:
- WEBPACK_VERSION=1 EXTRACT_TEXT_VERSION=1
- WEBPACK_VERSION=2 EXTRACT_TEXT_VERSION=2
matrix:
fast_finish: true
allow_failures:
- node_js: "4"
env: WEBPACK_VERSION=2 EXTRACT_TEXT_VERSION=2
before_script:
- npm rm webpack extract-text-web... | <|file_sep|>.travis.yml.diff
original:
- "6"
- "5"
updated:
- "7"
<|file_sep|>.travis.yml.diff
original:
- WEBPACK_VERSION=1.13.1 EXTRACT_TEXT_VERSION=1
- WEBPACK_VERSION=2.2.1 EXTRACT_TEXT_VERSION=2.0.0
updated:
- WEBPACK_VERSION=1 EXTRACT_TEXT_VERSION=1
- WEBPACK_VERSION=2 EXTRACT_TEXT_VERSION=2... | cab2d3bd03b6bb2b04504276317df6b6a8412c62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# life-sdl
A simple implementation of Conway's Game of Life made using SDL2.
<|file_sep|>current/README.md
# life-sdl
A simple implementation of Conway's Game of Life made using SDL2.
<|file_sep|>updated/README.md | # life-sdl
A simple implementation of Conway's Game of Life made using SDL2.
## Screenshots
(coming soon)
## Dependencies
- [SDL2](https://www.libsdl.org/download-2.0.php)
- Some C++ compiler. (The included makefile uses g++.)
## Keybinds
* q
* Quits the game.
* Space
* Pauses/Unpauses the game.
* If hi... | <|file_sep|>original/README.md
# life-sdl
A simple implementation of Conway's Game of Life made using SDL2.
<|file_sep|>current/README.md
# life-sdl
A simple implementation of Conway's Game of Life made using SDL2.
<|file_sep|>updated/README.md
# life-sdl
A simple implementation of Conway's Game of Life made using SDL2... | 1c81ce65184fc03401e18d3ffaeafc984e7473d9 | README.md | README.md | Markdown |
<|file_sep|>original/metadata/com.gimranov.zandy.app.txt
Repo Type:git
Repo:https://github.com/ajlyon/zandy.git
#The author must have forgot to bump manifest for the tag
Build:1.3.6,20
commit=1.3.6
subdir=app
forceversion=yes
forcevercode=yes
extlibs=android/android-support-v4.jar
Build:1.3.7,1370... | Repo Type:git
Repo:https://github.com/ajlyon/zandy.git
#The author must have forgot to bump manifest for the tag
Build:1.3.6,20
commit=1.3.6
subdir=app
forceversion=yes
forcevercode=yes
extlibs=android/android-support-v4.jar
Build:1.3.7,1370
commit=1.3.7
subdir=app
extlibs=android/andr... | <|file_sep|>original/metadata/com.gimranov.zandy.app.txt
Repo Type:git
Repo:https://github.com/ajlyon/zandy.git
#The author must have forgot to bump manifest for the tag
Build:1.3.6,20
commit=1.3.6
subdir=app
forceversion=yes
forcevercode=yes
extlibs=android/android-support-v4.jar
Build:1.3.7,1370... | 3e7ae7e87b263df2b1d88660be824fdb5afa81f7 | metadata/com.gimranov.zandy.app.txt | metadata/com.gimranov.zandy.app.txt | Text |
<|file_sep|>original/spec/mal_external_eval_spec.rb
<|file_sep|>current/spec/mal_external_eval_spec.rb
<|file_sep|>updated/spec/mal_external_eval_spec.rb | require_relative 'spec_helper'
describe 'Mal' do
describe '.typespec' do
it 'allows shorthand typespecs to be created without module prefixing' do
matcher = Mal.typespec { Maybe(String) }
expect(matcher.inspect).to eq('Maybe(String)')
end
end
end | <|file_sep|>original/spec/mal_external_eval_spec.rb
<|file_sep|>current/spec/mal_external_eval_spec.rb
<|file_sep|>updated/spec/mal_external_eval_spec.rb
require_relative 'spec_helper'
describe 'Mal' do
describe '.typespec' do
it 'allows shorthand typespecs to be created without module prefixing' do
matc... | 652027104eb5e7e7adc8fb91ad5ad580baf8b138 | spec/mal_external_eval_spec.rb | spec/mal_external_eval_spec.rb | Ruby |
<|file_sep|>original/client/src/components/advancedSelectWidget/AdvancedSingleSelect.js
function handleAddItem(newItem) {
FieldHelper.handleSingleSelectAddItem(newItem, props.onChange)
}
function handleRemoveItem(oldItem) {
FieldHelper.handleSingleSelectRemoveItem(oldItem, props.onChange)
}
}
Advanced... |
function handleAddItem(newItem) {
FieldHelper.handleSingleSelectAddItem(newItem, props.onChange)
}
function handleRemoveItem(oldItem) {
FieldHelper.handleSingleSelectRemoveItem(oldItem, props.onChange)
}
}
AdvancedSingleSelect.propTypes = {
...advancedSelectPropTypes,
value: PropTypes.object,
va... | <|file_sep|>original/client/src/components/advancedSelectWidget/AdvancedSingleSelect.js
function handleAddItem(newItem) {
FieldHelper.handleSingleSelectAddItem(newItem, props.onChange)
}
function handleRemoveItem(oldItem) {
FieldHelper.handleSingleSelectRemoveItem(oldItem, props.onChange)
}
}
Advanced... | 04ad49650b7aca55d03a7a90097a038d6195345a | client/src/components/advancedSelectWidget/AdvancedSingleSelect.js | client/src/components/advancedSelectWidget/AdvancedSingleSelect.js | JavaScript |
<|file_sep|>original/src/Middleware/SessionTimeout.php
<|file_sep|>current/src/Middleware/SessionTimeout.php
<|file_sep|>updated/src/Middleware/SessionTimeout.php | <?php
namespace Unicodeveloper\Http\Middleware;
use Closure;
use Illuminate\Session\Store;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Config;
class SessionTimeout {
/**
* [$session description]
* @var [type]
*/
protected $session;
/**
* Time for user to rema... | <|file_sep|>original/src/Middleware/SessionTimeout.php
<|file_sep|>current/src/Middleware/SessionTimeout.php
<|file_sep|>updated/src/Middleware/SessionTimeout.php
<?php
namespace Unicodeveloper\Http\Middleware;
use Closure;
use Illuminate\Session\Store;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Fa... | fd63b9012c986e9edb0c6c242129b823244dadbd | src/Middleware/SessionTimeout.php | src/Middleware/SessionTimeout.php | PHP |
<|file_sep|>original/README.md
# my-scraper
<|file_sep|>current/README.md
# my-scraper
<|file_sep|>updated/README.md | # my-scraper
[](https://travis-ci.org/mono0x/my-scraper) | <|file_sep|>original/README.md
# my-scraper
<|file_sep|>current/README.md
# my-scraper
<|file_sep|>updated/README.md
# my-scraper
[](https://travis-ci.org/mono0x/my-scraper) | 632eb1e1e62defb4c769d7381cb81d142557afce | README.md | README.md | Markdown |
<|file_sep|>original/src/util/filters.js
const substringMatches = [];
data.forEach(i => {
const name = i.name.toLowerCase();
if (name.split(' ').includes(textFilter)) {
exactMatches.push(i);
} else if (name.includes(textFilter)) {
substringMatches.push(i);
}
});
return exactMatches.... | const substringMatches = [];
data.forEach(i => {
const name = i.name.toLowerCase();
if (name.split(' ').includes(textFilter)) {
exactMatches.push(i);
} else if (name.includes(textFilter)) {
substringMatches.push(i);
}
});
// return in ascending order
return substringMatches.concat... | <|file_sep|>original/src/util/filters.js
const substringMatches = [];
data.forEach(i => {
const name = i.name.toLowerCase();
if (name.split(' ').includes(textFilter)) {
exactMatches.push(i);
} else if (name.includes(textFilter)) {
substringMatches.push(i);
}
});
return exactMatches.... | 10fd21e05457f0225d39102002565cff2fff264f | src/util/filters.js | src/util/filters.js | JavaScript |
<|file_sep|>assets/materialize/js/init.js.diff
original:
$('li div.collapsible-header').on('click',function(e){
updated:
/*$('li div.collapsible-header').on('click',function(e){
<|file_sep|>assets/materialize/js/init.js.diff
original:
});
updated:
});*/
<|file_sep|>original/assets/materialize/js/init.js
}
});
// Exp... | }
});*/
// Expand "Home" upon loading Edit page
$("document").ready(function() {
setTimeout(function() {
$("ul li:first-child div").trigger('click');
},10);
});
// Sign-up form: Auto generate username based on first name and llast name inputs
$('#last_name').on('blur',function(e) {
if( document.getEleme... | <|file_sep|>assets/materialize/js/init.js.diff
original:
$('li div.collapsible-header').on('click',function(e){
updated:
/*$('li div.collapsible-header').on('click',function(e){
<|file_sep|>assets/materialize/js/init.js.diff
original:
});
updated:
});*/
<|file_sep|>original/assets/materialize/js/init.js
}
});
// Exp... | 8712432a2c9d555ecdbae0b9c549f6554dd9be6d | assets/materialize/js/init.js | assets/materialize/js/init.js | JavaScript |
<|file_sep|>recipes/curesim/build.sh.diff
original:
updated:
STRANGEDIR=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
<|file_sep|>recipes/curesim/build.sh.diff
original:
updated:
mkdir -p $STRANGEDIR
<|file_sep|>recipes/curesim/build.sh.diff
original:
cp CuReSim1.3/CuReSim.jar $PREFIX/bin
cp curesim $PREFIX/bin... | #!/bin/bash -u -f -e -o pipefail
STRANGEDIR=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
mkdir -p $PREFIX/bin
mkdir -p $STRANGEDIR
cp CuReSim1.3/CuReSim.jar $STRANGEDIR
cp curesim $STRANGEDIR
(cd ${PREFIX}/bin && ln -s ${STRANGEDIR}/curesim)
| <|file_sep|>recipes/curesim/build.sh.diff
original:
updated:
STRANGEDIR=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
<|file_sep|>recipes/curesim/build.sh.diff
original:
updated:
mkdir -p $STRANGEDIR
<|file_sep|>recipes/curesim/build.sh.diff
original:
cp CuReSim1.3/CuReSim.jar $PREFIX/bin
cp curesim $PREFIX/bin... | 56678075a28f93ebc4bed27105ca053647a9d614 | recipes/curesim/build.sh | recipes/curesim/build.sh | Shell |
<|file_sep|>original/.buildkite/pipeline.sh
- wait
- command: .buildkite/steps/test.sh
name: "Launch :cloudformation: stack"
agents:
queue: aws-stack
artifact_paths: "build/*.json"
- wait
- command: "bats tests"
name: "Run tests on :buildkite: agent"
timeout_in_minutes: 5
env:
... | - wait
- command: .buildkite/steps/test.sh
name: "Launch :cloudformation: stack"
agents:
queue: aws-stack
artifact_paths: "build/*.json"
- wait
- command: "/usr/local/bin/bats tests"
name: "Run tests on :buildkite: agent"
timeout_in_minutes: 5
env:
BUILDKITE_SECRETS_KEY: $... | <|file_sep|>original/.buildkite/pipeline.sh
- wait
- command: .buildkite/steps/test.sh
name: "Launch :cloudformation: stack"
agents:
queue: aws-stack
artifact_paths: "build/*.json"
- wait
- command: "bats tests"
name: "Run tests on :buildkite: agent"
timeout_in_minutes: 5
env:
... | 99ed2114ad8fbe71e04b62597c6a5a1b15071d6e | .buildkite/pipeline.sh | .buildkite/pipeline.sh | Shell |
<|file_sep|>composer.json.diff
original:
"illuminate/container": "~5.1",
updated:
"illuminate/container": "~5.1 | ^6.0",
<|file_sep|>original/composer.json
],
"psr-4": {
"Valet\\": "cli/Valet/"
}
},
"require": {
"php": ">=5.6",
"illuminate/cont... | ],
"psr-4": {
"Valet\\": "cli/Valet/"
}
},
"require": {
"php": ">=5.6",
"illuminate/container": "~5.1 | ^6.0",
"mnapoli/silly": "~1.0",
"symfony/process": "~2.7|~3.0|~4.0",
"nategood/httpful": "~0.2",
"tightenco/collect": "^5.3 ... | <|file_sep|>composer.json.diff
original:
"illuminate/container": "~5.1",
updated:
"illuminate/container": "~5.1 | ^6.0",
<|file_sep|>original/composer.json
],
"psr-4": {
"Valet\\": "cli/Valet/"
}
},
"require": {
"php": ">=5.6",
"illuminate/cont... | e814cfc49a90fe61d7b4c48070d56f6ae3e76d24 | composer.json | composer.json | JSON |
<|file_sep|>original/app/config/services.yml
# Learn more about services, parameters and containers at
# http://symfony.com/doc/current/book/service_container.html
parameters:
# parameter_name: value
services:
# service_name:
# class: AppBundle\Directory\ClassName
# arguments: ["@another_service_na... | # Learn more about services, parameters and containers at
# http://symfony.com/doc/current/book/service_container.html
parameters:
# parameter_name: value
services:
# service_name:
# class: AppBundle\Directory\ClassName
# arguments: ["@another_service_name", "plain_value", "%parameter_name%"]
#... | <|file_sep|>original/app/config/services.yml
# Learn more about services, parameters and containers at
# http://symfony.com/doc/current/book/service_container.html
parameters:
# parameter_name: value
services:
# service_name:
# class: AppBundle\Directory\ClassName
# arguments: ["@another_service_na... | 8acbb16d104c94b3be5d09219191b8c00e32efdc | app/config/services.yml | app/config/services.yml | YAML |
<|file_sep|>original/src/Sync/ExtSyncSemaphore.php
<|file_sep|>current/src/Sync/ExtSyncSemaphore.php
<|file_sep|>updated/src/Sync/ExtSyncSemaphore.php | <?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\SemaphoreException;
/**
* A wrapper for a semaphore based on the "sync" extension.
*/
class ExtSyncSemaphore implements SemaphoreInterface
{
/**
* @var \SyncSemaphore A semaphore instance.
*/
private $semaphore;
/**
... | <|file_sep|>original/src/Sync/ExtSyncSemaphore.php
<|file_sep|>current/src/Sync/ExtSyncSemaphore.php
<|file_sep|>updated/src/Sync/ExtSyncSemaphore.php
<?php
namespace Icicle\Concurrent\Sync;
use Icicle\Concurrent\Exception\SemaphoreException;
/**
* A wrapper for a semaphore based on the "sync" extension.
*/
class... | ff2f0682d6964c39de9b5fbdfee2ac9291499c9d | src/Sync/ExtSyncSemaphore.php | src/Sync/ExtSyncSemaphore.php | PHP |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
before_install:
- sudo apt-get install liblapack-dev gfortran
- pip install -r requirements.txt
- pip install pytest
install:
- python setup.py install
script:
- (cd tests && py.test test*.py)
<|file_sep|>current/.travis.yml
l... | language: python
python:
- "2.7"
before_install:
- sudo apt-get update
- sudo apt-get install python-numpy python-scipy cython libatlas-dev liblapack-dev gfortran
- pip install -r requirements.txt
- pip install pytest
install:
- python setup.py install
script:
- (cd tests && py.test test... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
before_install:
- sudo apt-get install liblapack-dev gfortran
- pip install -r requirements.txt
- pip install pytest
install:
- python setup.py install
script:
- (cd tests && py.test test*.py)
<|file_sep|>current/.travis.yml
l... | aa38bbd7be695d54c3c0a09c30245c63db70f747 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/helperClasses/safeMath/SafeMath.php
<|file_sep|>current/app/helperClasses/safeMath/SafeMath.php
<|file_sep|>updated/app/helperClasses/safeMath/SafeMath.php | <?php
/**
* This file is part of the Stippers project (available here: https://github.com/Stannieman/stippers/).
* The license and all terms en conditions that apply to Stippers also apply to this file.
*
* @author Stan Wijckmans
*
* Class with methods to do safe math operations.
*/
abstract class SafeMath {... | <|file_sep|>original/app/helperClasses/safeMath/SafeMath.php
<|file_sep|>current/app/helperClasses/safeMath/SafeMath.php
<|file_sep|>updated/app/helperClasses/safeMath/SafeMath.php
<?php
/**
* This file is part of the Stippers project (available here: https://github.com/Stannieman/stippers/).
* The license and all... | 45819b1dd120d3714454af82523dd7d05e22ce20 | app/helperClasses/safeMath/SafeMath.php | app/helperClasses/safeMath/SafeMath.php | PHP |
<|file_sep|>original/avr/bi/scripts/package_ce_avr.sh
<|file_sep|>current/avr/bi/scripts/package_ce_avr.sh
<|file_sep|>updated/avr/bi/scripts/package_ce_avr.sh | #!/usr/bin/bash
# Should this include trisano.jar, authentication stuff?
rm -rf tmp
mkdir -p tmp/warehouse/build_metadata
cp warehouse_init.sql etl.sh dw.sql dw.png ../schema/TriSano.OLAP.xml tmp/warehouse
pushd build_metadata
cp build_metadata.sh build_metadata.rb build_metadata_schema.sql ../tmp/warehouse/build_met... | <|file_sep|>original/avr/bi/scripts/package_ce_avr.sh
<|file_sep|>current/avr/bi/scripts/package_ce_avr.sh
<|file_sep|>updated/avr/bi/scripts/package_ce_avr.sh
#!/usr/bin/bash
# Should this include trisano.jar, authentication stuff?
rm -rf tmp
mkdir -p tmp/warehouse/build_metadata
cp warehouse_init.sql etl.sh dw.sq... | 9969e3792d04f08941a8dee6629f75ff3548bd87 | avr/bi/scripts/package_ce_avr.sh | avr/bi/scripts/package_ce_avr.sh | Shell |
<|file_sep|>original/help.md
---
layout: page
permalink: /help/
---
<section class="features">
<div class="grid">
<div class="unit one-third">
<h2>Questions</h2>
<p>
The <a href="https://groups.google.com/forum/?hl=en#!forum/clara-rules">Clara Rules Google Group</a> is the best place for
questi... | ---
layout: page
permalink: /help/
---
<section class="features">
<div class="grid">
<div class="unit one-third">
<h2>Questions</h2>
<p>
The <a href="https://groups.google.com/forum/?hl=en#!forum/clara-rules">Clara Rules Google Group</a> is the best place for questions, problems, or other discussion.... | <|file_sep|>original/help.md
---
layout: page
permalink: /help/
---
<section class="features">
<div class="grid">
<div class="unit one-third">
<h2>Questions</h2>
<p>
The <a href="https://groups.google.com/forum/?hl=en#!forum/clara-rules">Clara Rules Google Group</a> is the best place for
questi... | 177a50c7615888cc4ac43851ed44557796b02e06 | help.md | help.md | Markdown |
<|file_sep|>original/.github/workflows/merge-dependabot-upgrades.yml
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Tests"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ gith... | name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Tests"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedo... | <|file_sep|>original/.github/workflows/merge-dependabot-upgrades.yml
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Tests"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ gith... | d3d69343f2184181889d5a9854971f4f69aaba44 | .github/workflows/merge-dependabot-upgrades.yml | .github/workflows/merge-dependabot-upgrades.yml | YAML |
<|file_sep|>original/src/js/hc-scripts/index.js
const yargs = require('yargs');
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled rejection at: Promise', promise, 'reason', reason);
});
yargs
.command(require('./create-admin'))
.command(require('./create-token'))
.command(requir... | const yargs = require('yargs');
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled rejection at: Promise', promise, 'reason', reason);
});
yargs
.command(require('./create-admin'))
.command(require('./create-token'))
.command(require('./unfinished-applications'))
.command(requi... | <|file_sep|>original/src/js/hc-scripts/index.js
const yargs = require('yargs');
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled rejection at: Promise', promise, 'reason', reason);
});
yargs
.command(require('./create-admin'))
.command(require('./create-token'))
.command(requir... | d4109c08dd6eb9b695a26a27eae8d5bf67eed244 | src/js/hc-scripts/index.js | src/js/hc-scripts/index.js | JavaScript |
<|file_sep|>original/app/assets/javascripts/trade/templates/search.handlebars
<h2>
Welcome to the Shipments Database
</h2>
{{ partial 'trade/search/filters' }}
{{ partial 'trade/search/loading_modal' }}
{{ partial 'trade/flash' }}
{{outlet}}
<|file_sep|>current/app/assets/javascripts/trade/templates/search.handleb... | <h2>
Welcome to the CITES Trade Database
</h2>
{{ partial 'trade/search/filters' }}
{{ partial 'trade/search/loading_modal' }}
{{ partial 'trade/flash' }}
{{outlet}} | <|file_sep|>original/app/assets/javascripts/trade/templates/search.handlebars
<h2>
Welcome to the Shipments Database
</h2>
{{ partial 'trade/search/filters' }}
{{ partial 'trade/search/loading_modal' }}
{{ partial 'trade/flash' }}
{{outlet}}
<|file_sep|>current/app/assets/javascripts/trade/templates/search.handleb... | 6665a1db7a4409c95bbfbb7d62f00174bb71f037 | app/assets/javascripts/trade/templates/search.handlebars | app/assets/javascripts/trade/templates/search.handlebars | Handlebars |
<|file_sep|>original/.rubocop.yml
- 'tmp/**/*'
TargetRubyVersion: 2.0
Style/Encoding:
EnforcedStyle: never
Enabled: true
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Layout/IndentHeredoc:
EnforcedStyle: powerpack
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*.rb'
Lint/UselessA... | - 'tmp/**/*'
TargetRubyVersion: 2.0
Style/Encoding:
EnforcedStyle: never
Enabled: true
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Layout/EndOfLine:
EnforcedStyle: lf
Layout/IndentHeredoc:
EnforcedStyle: powerpack
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*.rb'
Lint/Use... | <|file_sep|>original/.rubocop.yml
- 'tmp/**/*'
TargetRubyVersion: 2.0
Style/Encoding:
EnforcedStyle: never
Enabled: true
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Layout/IndentHeredoc:
EnforcedStyle: powerpack
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*.rb'
Lint/UselessA... | 277a5ca22c2f5efe70955717a86f4052aa2dba86 | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/doc/pascal/lalrpop/Cargo.toml
[package]
name = "pascal"
version = "0.11.0"
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
build = "build.rs"
[build-dependencies.lalrpop]
path = "../../../lalrpop"
[dependencies]
docopt = "0.6"
lalrpop-util = "0.11.0"
rustc-serialize = "0.3"
<|file_sep|>current/do... | [package]
name = "pascal"
version = "0.11.0"
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
build = "build.rs"
[build-dependencies.lalrpop]
path = "../../../lalrpop"
[dependencies]
docopt = "0.6"
lalrpop-util = { version = "0.12.1", path = "../../../lalrpop-util" }
rustc-serialize = "0.3" | <|file_sep|>original/doc/pascal/lalrpop/Cargo.toml
[package]
name = "pascal"
version = "0.11.0"
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
build = "build.rs"
[build-dependencies.lalrpop]
path = "../../../lalrpop"
[dependencies]
docopt = "0.6"
lalrpop-util = "0.11.0"
rustc-serialize = "0.3"
<|file_sep|>current/do... | 1fe5cf46c445175b65a1c5d58ec82e0fac42e6c9 | doc/pascal/lalrpop/Cargo.toml | doc/pascal/lalrpop/Cargo.toml | TOML |
<|file_sep|>original/packages/re/resource-pool-monad.yaml
<|file_sep|>current/packages/re/resource-pool-monad.yaml
<|file_sep|>updated/packages/re/resource-pool-monad.yaml | homepage: https://github.com/srijs/haskell-resource-pool-monad
changelog-type: ''
hash: 080985d2f2b1d0a3311e69f497f25fd8cc3ef7e0932585c6cbd73b0b85e4f335
test-bench-deps: {}
maintainer: srijs@airpost.net
synopsis: A monadic interface for resource-pool
changelog: ''
basic-deps:
free: ! '>=4.12'
base: ! '>=4.8 && <5.0... | <|file_sep|>original/packages/re/resource-pool-monad.yaml
<|file_sep|>current/packages/re/resource-pool-monad.yaml
<|file_sep|>updated/packages/re/resource-pool-monad.yaml
homepage: https://github.com/srijs/haskell-resource-pool-monad
changelog-type: ''
hash: 080985d2f2b1d0a3311e69f497f25fd8cc3ef7e0932585c6cbd73b0b85... | 484e282debf26dba435da5d3b54127f336e8221c | packages/re/resource-pool-monad.yaml | packages/re/resource-pool-monad.yaml | YAML |
<|file_sep|>original/.codeclimate.yml
plugins:
rubocop:
enabled: true
channel: rubocop-1-18-3
<|file_sep|>current/.codeclimate.yml
plugins:
rubocop:
enabled: true
channel: rubocop-1-18-3
<|file_sep|>updated/.codeclimate.yml | plugins:
rubocop:
enabled: true
channel: rubocop-1-18-3
reek:
enabled: true
brakeman:
enabled: true
bundler-audit:
enabled: true
fixme:
enabled: true
shellcheck:
enabled: true | <|file_sep|>original/.codeclimate.yml
plugins:
rubocop:
enabled: true
channel: rubocop-1-18-3
<|file_sep|>current/.codeclimate.yml
plugins:
rubocop:
enabled: true
channel: rubocop-1-18-3
<|file_sep|>updated/.codeclimate.yml
plugins:
rubocop:
enabled: true
channel: rubocop-1-18-3
reek:
... | d1a99e85f5f252f86effe1ca873a47acce6ab9fe | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>core/src/index/get-fields-to-index.ts.diff
original:
import {Map} from 'tsfun';
updated:
import { Map } from 'tsfun';
<|file_sep|>core/src/index/get-fields-to-index.ts.diff
original:
return !categoriesMap[categoryName]
updated:
const fields = !categoriesMap[categoryName]
<|file_sep|>original/core/sr... | import { Map } from 'tsfun';
import { Category } from '../model/category';
const defaultFieldsToIndex = ['identifier', 'shortDescription'];
export function getFieldsToIndex(categoriesMap: Map<Category>, categoryName: string): string[] {
const fields = !categoriesMap[categoryName]
? []
: Categor... | <|file_sep|>core/src/index/get-fields-to-index.ts.diff
original:
import {Map} from 'tsfun';
updated:
import { Map } from 'tsfun';
<|file_sep|>core/src/index/get-fields-to-index.ts.diff
original:
return !categoriesMap[categoryName]
updated:
const fields = !categoriesMap[categoryName]
<|file_sep|>original/core/sr... | 833ee9ec0195607d5c4f955a57db1f9034acc304 | core/src/index/get-fields-to-index.ts | core/src/index/get-fields-to-index.ts | TypeScript |
<|file_sep|>original/index.js
'use strict';
var execFile = require('child_process').execFile;
module.exports = function (str, cb) {
execFile('osascript', ['-e', str], function (err, stdout) {
if (err) {
cb(err);
return;
}
cb(err, stdout.trim());
});
};
<|file_sep|>current/index.js
'use strict';
var exec... | 'use strict';
var execFile = require('child_process').execFile;
module.exports = function (str, cb) {
if (process.platform !== 'darwin') {
throw new Error('Only OS X systems are supported');
}
execFile('osascript', ['-e', str], function (err, stdout) {
if (err) {
cb(err);
return;
}
cb(err, stdout.tr... | <|file_sep|>original/index.js
'use strict';
var execFile = require('child_process').execFile;
module.exports = function (str, cb) {
execFile('osascript', ['-e', str], function (err, stdout) {
if (err) {
cb(err);
return;
}
cb(err, stdout.trim());
});
};
<|file_sep|>current/index.js
'use strict';
var exec... | 0c2e09addecb2384efe3bc310c0afee033586d86 | index.js | index.js | JavaScript |
<|file_sep|>original/setup.py
version = _locals['__version__']
setup(
name='releases',
version=version,
description='A Sphinx extension for changelog manipulation',
author='Jeff Forcier',
author_email='jeff@bitprophet.org',
url='https://github.com/bitprophet/releases',
packages=['releases']... | version = _locals['__version__']
setup(
name='releases',
version=version,
description='A Sphinx extension for changelog manipulation',
author='Jeff Forcier',
author_email='jeff@bitprophet.org',
url='https://github.com/bitprophet/releases',
packages=['releases'],
install_requires=['seman... | <|file_sep|>original/setup.py
version = _locals['__version__']
setup(
name='releases',
version=version,
description='A Sphinx extension for changelog manipulation',
author='Jeff Forcier',
author_email='jeff@bitprophet.org',
url='https://github.com/bitprophet/releases',
packages=['releases']... | 5cb584cba4c968c7c366d51d8fc3c61cc71d80b0 | setup.py | setup.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.