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/main.cpp
{
QApplication a(argc, argv);
QtBasedFileSystem file_system;
App app(&file_system);
app.addNodeFactory(new AdditionNFDelegate);
app.addNodeFactory(new ConstantNFDelegate);
app.addNodeFactory(new PrinterNFDelegate);
app.addNodeFactory(new TextFileNFDelegate);
... | {
QApplication a(argc, argv);
QtBasedFileSystem file_system;
App app(&file_system);
app.addNodeFactory(new AdditionNFDelegate);
app.addNodeFactory(new ConstantNFDelegate);
app.addNodeFactory(new PrinterNFDelegate);
app.addNodeFactory(new TextFileNFDelegate);
app.loadScriptNodes("Nodin/... | <|file_sep|>original/main.cpp
{
QApplication a(argc, argv);
QtBasedFileSystem file_system;
App app(&file_system);
app.addNodeFactory(new AdditionNFDelegate);
app.addNodeFactory(new ConstantNFDelegate);
app.addNodeFactory(new PrinterNFDelegate);
app.addNodeFactory(new TextFileNFDelegate);
... | 138fd34d1a1628fcb1a4449dacc41f9cf4e38527 | main.cpp | main.cpp | C++ |
<|file_sep|>bin/bt-connect.sh.diff
original:
declare -A DEVICES
DEVICES['Nude Super-M']='A0:E9:DB:5C:FD:44'
DEVICES['Zeus']='60:E3:27:09:12:DE'
updated:
declare -A MAC_ADDRESSES PULSE_SINKS
MAC_ADDRESSES['Nude Super-M']='A0:E9:DB:5C:FD:44'
MAC_ADDRESSES['Zeus']='60:E3:27:09:12:DE'
PULSE_SINKS['Nude Super-M']='bluez_sin... |
declare -A MAC_ADDRESSES PULSE_SINKS
MAC_ADDRESSES['Nude Super-M']='A0:E9:DB:5C:FD:44'
MAC_ADDRESSES['Zeus']='60:E3:27:09:12:DE'
PULSE_SINKS['Nude Super-M']='bluez_sink.A0_E9_DB_5C_FD_44'
declare -a DEVICES=("${!MAC_ADDRESSES[@]}")
rfkill unblock bluetooth
systemctl is-active bluetooth >/dev/null || sudo systemctl s... | <|file_sep|>bin/bt-connect.sh.diff
original:
declare -A DEVICES
DEVICES['Nude Super-M']='A0:E9:DB:5C:FD:44'
DEVICES['Zeus']='60:E3:27:09:12:DE'
updated:
declare -A MAC_ADDRESSES PULSE_SINKS
MAC_ADDRESSES['Nude Super-M']='A0:E9:DB:5C:FD:44'
MAC_ADDRESSES['Zeus']='60:E3:27:09:12:DE'
PULSE_SINKS['Nude Super-M']='bluez_sin... | 4c458624bd96d6fa5b469506cc67a18fab830892 | bin/bt-connect.sh | bin/bt-connect.sh | Shell |
<|file_sep|>101-data-lake-store-encryption-adls/metadata.json.diff
original:
"dateUpdated": "2020-09-13",
"environments": ["AzureCloud"]
updated:
"dateUpdated": "2017-08-14"
<|file_sep|>original/101-data-lake-store-encryption-adls/metadata.json
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schem... | {
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy Data Lake Store account with encryption(Data Lake)",
"description": "This template allows you to deploy an Azure Data Lake Store account with data encryption enabled. This account uses the ... | <|file_sep|>101-data-lake-store-encryption-adls/metadata.json.diff
original:
"dateUpdated": "2020-09-13",
"environments": ["AzureCloud"]
updated:
"dateUpdated": "2017-08-14"
<|file_sep|>original/101-data-lake-store-encryption-adls/metadata.json
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schem... | 25f11f090dfcd7c5e9397c5ca6f8d86b66caeef5 | 101-data-lake-store-encryption-adls/metadata.json | 101-data-lake-store-encryption-adls/metadata.json | JSON |
<|file_sep|>original/test/src/runner.js
/**
* Created by Aaron on 7/6/2015.
*/
import assert from 'assert';
export function runTests( build, tests ) {
assert( build === 'compat' || build === 'modern', 'Only modern and compat builds are supported' );
let Scriptor;
describe( `requiring ${build} build`, ... | /**
* Created by Aaron on 7/6/2015.
*/
import assert from 'assert';
import Promise from 'bluebird';
Promise.longStackTraces();
export function runTests( build, tests ) {
assert( build === 'compat' || build === 'modern', 'Only modern and compat builds are supported' );
let Scriptor;
describe( `requir... | <|file_sep|>original/test/src/runner.js
/**
* Created by Aaron on 7/6/2015.
*/
import assert from 'assert';
export function runTests( build, tests ) {
assert( build === 'compat' || build === 'modern', 'Only modern and compat builds are supported' );
let Scriptor;
describe( `requiring ${build} build`, ... | 650113ce75fb74ceb6d420e24ff79bd4e4e8d602 | test/src/runner.js | test/src/runner.js | JavaScript |
<|file_sep|>original/scripts/generate-bcrypt-hashed-password.py
It's intended use is for creating known passwords to replace user passwords in cleaned up databases.
Cost-factor is the log2 number of rounds of hashing to use for the salt. It's worth researching how many rounds you need
for your use context, but recent ... | It's intended use is for creating known passwords to replace user passwords in cleaned up databases.
Cost-factor is the log2 number of rounds of hashing to use for the salt. It's worth researching how many rounds you need
for your use context, but recent recommendations are 10-12 as a minimum.
Usage:
scripts/generate... | <|file_sep|>original/scripts/generate-bcrypt-hashed-password.py
It's intended use is for creating known passwords to replace user passwords in cleaned up databases.
Cost-factor is the log2 number of rounds of hashing to use for the salt. It's worth researching how many rounds you need
for your use context, but recent ... | 40d204c996e41a030dac240c99c66a25f8f8586e | scripts/generate-bcrypt-hashed-password.py | scripts/generate-bcrypt-hashed-password.py | Python |
<|file_sep|>original/build.sbt
name := "qdb-spark-connector"
version := "1.0.0-SNAPSHOT"
resolvers += "QuasarDB Maven Repository" at "https://maven.quasardb.net/"
spName := "quasardb/spark-connector"
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.10.5", "2.11.7")
sparkVersion := "1.5.2"
sparkComponents ++= Se... | name := "qdb-spark-connector"
version := "1.0.0-SNAPSHOT"
resolvers += "QuasarDB Maven Repository" at "https://maven.quasardb.net/"
spName := "quasardb/spark-connector"
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.10.5", "2.11.7")
sparkVersion := "2.2.0"
sparkComponents ++= Seq("streaming", "sql")
organiza... | <|file_sep|>original/build.sbt
name := "qdb-spark-connector"
version := "1.0.0-SNAPSHOT"
resolvers += "QuasarDB Maven Repository" at "https://maven.quasardb.net/"
spName := "quasardb/spark-connector"
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.10.5", "2.11.7")
sparkVersion := "1.5.2"
sparkComponents ++= Se... | 701c09bb0e37193b834030027f5e89f8492991cb | build.sbt | build.sbt | Scala |
<|file_sep|>src/elements/skewify/styled-components/SkewSpan.js.diff
original:
style: ({ isActive, severity }) =>
updated:
style: ({ isActive, severity, theme }) =>
<|file_sep|>src/elements/skewify/styled-components/SkewSpan.js.diff
original:
transform: `scale(${randomScale(0.25, severity)}) rotate(${rando... | transform: `scale(${randomScale(
0.25,
severity
)}) rotate(${randomRotate(
15,
severity
)}deg) translate(${randomTranslate(
0.125,
severity
)}em, ${randomTranslate(0.125, severity)}em)`
}
: {
... | <|file_sep|>src/elements/skewify/styled-components/SkewSpan.js.diff
original:
style: ({ isActive, severity }) =>
updated:
style: ({ isActive, severity, theme }) =>
<|file_sep|>src/elements/skewify/styled-components/SkewSpan.js.diff
original:
transform: `scale(${randomScale(0.25, severity)}) rotate(${rando... | 0fe51e39ed0752a3904cd96a7e0814016193af32 | src/elements/skewify/styled-components/SkewSpan.js | src/elements/skewify/styled-components/SkewSpan.js | JavaScript |
<|file_sep|>src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs.diff
original:
vsgd <- function() {
updated:
.rtvs.vsgd <- function() {
<|file_sep|>original/src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs
public static Task<REvaluationResult> GetGlobalEnvironmentVariables(this IRSessionEval... |
public static Task<REvaluationResult> GetGlobalEnvironmentVariables(this IRSessionEvaluation evaluation) {
return evaluation.EvaluateNonReentrantAsync($".rtvs.datainspect.env_vars(.GlobalEnv)\n");
}
public static Task<REvaluationResult> SetVsGraphicsDevice(this IRSessionEvaluation ... | <|file_sep|>src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs.diff
original:
vsgd <- function() {
updated:
.rtvs.vsgd <- function() {
<|file_sep|>original/src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs
public static Task<REvaluationResult> GetGlobalEnvironmentVariables(this IRSessionEval... | 204a2337dd5c20bf4b36e771b89e334b5b089a8a | src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs | src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs | C# |
<|file_sep|>original/modules/phpunit/metadata.json
{
"name": "cargomedia-phpunit",
"version": "0.0.1",
"author": "Cargo Media",
"license": "MIT",
"summary": "phpunit",
"source": "https://github.com/cargomedia/puppet-packages",
"operatingsystem_support": [
{
"operatingsystem": "Debian",
"op... | {
"name": "cargomedia-phpunit",
"version": "0.0.1",
"author": "Cargo Media",
"license": "MIT",
"summary": "phpunit",
"source": "https://github.com/cargomedia/puppet-packages",
"operatingsystem_support": [
{
"operatingsystem": "Debian",
"operatingsystemrelease": ["8"]
}
],
"dependen... | <|file_sep|>original/modules/phpunit/metadata.json
{
"name": "cargomedia-phpunit",
"version": "0.0.1",
"author": "Cargo Media",
"license": "MIT",
"summary": "phpunit",
"source": "https://github.com/cargomedia/puppet-packages",
"operatingsystem_support": [
{
"operatingsystem": "Debian",
"op... | f03cbbe357619d8f2c028ca3c44fdc6bd17efb5e | modules/phpunit/metadata.json | modules/phpunit/metadata.json | JSON |
<|file_sep|>migrations/0020_change_ds_name_to_non_uniqe.py.diff
original:
updated:
import peewee
<|file_sep|>original/migrations/0020_change_ds_name_to_non_uniqe.py
from redash.models import db
from playhouse.migrate import PostgresqlMigrator, migrate
if __name__ == '__main__':
migrator = PostgresqlMigrator(db.da... | from redash.models import db
import peewee
from playhouse.migrate import PostgresqlMigrator, migrate
if __name__ == '__main__':
migrator = PostgresqlMigrator(db.database)
with db.database.transaction():
# Change the uniqueness constraint on data source name to be (org, name):
success = False
... | <|file_sep|>migrations/0020_change_ds_name_to_non_uniqe.py.diff
original:
updated:
import peewee
<|file_sep|>original/migrations/0020_change_ds_name_to_non_uniqe.py
from redash.models import db
from playhouse.migrate import PostgresqlMigrator, migrate
if __name__ == '__main__':
migrator = PostgresqlMigrator(db.da... | 07f96a22afe2d010809d03077d9cdd5ecb43d017 | migrations/0020_change_ds_name_to_non_uniqe.py | migrations/0020_change_ds_name_to_non_uniqe.py | Python |
<|file_sep|>original/README.md
# Jon Phenow's dotfiles
## install
```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/jphenow/dotfiles/master/script/install.sh)"
```
### iTerm
* Load profile from this folder
* Load KeyMap from this folder
<|file_sep|>current/README.md
# Jon Phenow's dotfiles
## install
... | # Jon Phenow's dotfiles
## install
```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/jphenow/dotfiles/master/script/install.sh)"
```
### iTerm
* Load profile from this folder
* Load KeyMap from this folder
## Other useful day-to-day tools
* [k9s](https://k9scli.io/) | <|file_sep|>original/README.md
# Jon Phenow's dotfiles
## install
```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/jphenow/dotfiles/master/script/install.sh)"
```
### iTerm
* Load profile from this folder
* Load KeyMap from this folder
<|file_sep|>current/README.md
# Jon Phenow's dotfiles
## install
... | fd8d24c38e0774329405f383e5db11c929c45789 | README.md | README.md | Markdown |
<|file_sep|>original/app/templates/play/level/tome/cast_button.jade
button.btn.btn-lg.btn-illustrated.cast-button(title=castVerbose)
span(data-i18n="play_level.tome_run_button_ran") Ran
if !observing
if mirror
.ladder-submission-view
else
button.btn.btn-lg.btn-illustrated.submit-button(title=castRealTime... | button.btn.btn-lg.btn-illustrated.cast-button(title=castVerbose)
span(data-i18n="play_level.tome_run_button_ran") Ran
if !observing
if mirror
.ladder-submission-view
else
button.btn.btn-lg.btn-illustrated.submit-button(title=castRealTimeVerbose)
span(data-i18n="play_level.tome_submit_button") Submi... | <|file_sep|>original/app/templates/play/level/tome/cast_button.jade
button.btn.btn-lg.btn-illustrated.cast-button(title=castVerbose)
span(data-i18n="play_level.tome_run_button_ran") Ran
if !observing
if mirror
.ladder-submission-view
else
button.btn.btn-lg.btn-illustrated.submit-button(title=castRealTime... | f95426dbd98ec80b50605ba35a7d4c6642667dd5 | app/templates/play/level/tome/cast_button.jade | app/templates/play/level/tome/cast_button.jade | Jade |
<|file_sep|>original/_config.yml
title: Rarotonga, Cook Islands
description: My holiday to the Rarotonga
url: http://stevenocchipinti.github.com/2016-CookIslands-Rarotonga-Blog
baseurl: ""
paginate_path: page/
permalink: :title/
markdown: kramdown
highlighter: rouge
gems: [jekyll-paginate]
paginate: 20
google_analyt... | title: Rarotonga, Cook Islands
description: My holiday to the Rarotonga
url: http://stevenocchipinti.github.com/2016-CookIslands-Rarotonga-Blog
baseurl: ""
paginate_path: page/
permalink: :title/
markdown: kramdown
highlighter: rouge
gems: [jekyll-paginate]
paginate: 20
google_analytics: "UA-38345732-5" | <|file_sep|>original/_config.yml
title: Rarotonga, Cook Islands
description: My holiday to the Rarotonga
url: http://stevenocchipinti.github.com/2016-CookIslands-Rarotonga-Blog
baseurl: ""
paginate_path: page/
permalink: :title/
markdown: kramdown
highlighter: rouge
gems: [jekyll-paginate]
paginate: 20
google_analyt... | dc548157b3fa19db7d02c1152aa536c7e19af477 | _config.yml | _config.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy
updated:
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION --file requirements.txt
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
before_install:
- sudo apt-get updat... | language: python
python:
- "3.4"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran r-base
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/tr... | <|file_sep|>.travis.yml.diff
original:
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy
updated:
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION --file requirements.txt
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
before_install:
- sudo apt-get updat... | bc3c9c3a2873878ffa1dc38b423c9176853e4ecf | .travis.yml | .travis.yml | YAML |
<|file_sep|>coffee/controller/cabin.coffee.diff
original:
updated:
request = require 'request'
fs = require 'fs'
<|file_sep|>coffee/controller/cabin.coffee.diff
original:
exports.getImage = (request, reply) ->
cabin.getCabin request.params.id, (err, data) ->
updated:
exports.fetchImage = (id, reply) ->
cabin.getCa... |
exports.getCabin = (request, reply) ->
cabin.getCabin request.params.id, (err, data) ->
return reply().redirect '/' if err
reply.view 'cabin',
site: site
user: request.auth.credentials
cabin: data
title: 'Endre hytte'
exports.fetchImage = (id, reply) ->
cabin.getCabin id, (err, dat... | <|file_sep|>coffee/controller/cabin.coffee.diff
original:
updated:
request = require 'request'
fs = require 'fs'
<|file_sep|>coffee/controller/cabin.coffee.diff
original:
exports.getImage = (request, reply) ->
cabin.getCabin request.params.id, (err, data) ->
updated:
exports.fetchImage = (id, reply) ->
cabin.getCa... | ce11605293ea5b7ab574b68c0cbac9209f14fa30 | coffee/controller/cabin.coffee | coffee/controller/cabin.coffee | CoffeeScript |
<|file_sep|>lib/app_stats/stats.rb.diff
original:
updated:
LINES_OF_CODE_SEARCH = "find . -iname "*.rb" -type f -exec cat {} \; | wc -l | grep -v \"0\" #{PIPE_MINUS_COVERAGE} #{PIPE_MINUS_CURRENT_FILE} | sort -rn"
<|file_sep|>original/lib/app_stats/stats.rb
require 'app_stats/stats'
module AppStats
module Stat... | #Sort the Ruby files in your project by number of has_many
PIPE_MINUS_COVERAGE = '| grep -v "coverage"'
CURRENT_FILE = File.basename(__FILE__)
PIPE_MINUS_CURRENT_FILE = "| grep -v \"#{CURRENT_FILE}\""
HAS_MANY_SEARCH = "ack \" has_many \" -c | awk -F \":\" '{print $2,$1}' | grep -v \"0\" #{PIPE_MINU... | <|file_sep|>lib/app_stats/stats.rb.diff
original:
updated:
LINES_OF_CODE_SEARCH = "find . -iname "*.rb" -type f -exec cat {} \; | wc -l | grep -v \"0\" #{PIPE_MINUS_COVERAGE} #{PIPE_MINUS_CURRENT_FILE} | sort -rn"
<|file_sep|>original/lib/app_stats/stats.rb
require 'app_stats/stats'
module AppStats
module Stat... | a46c6fb8e571ea641d2daa5826c1a29ab8b02c1e | lib/app_stats/stats.rb | lib/app_stats/stats.rb | Ruby |
<|file_sep|>original/src/plugins/swhv-swek/sources/ComesepSource/src/org/helioviewer/jhv/plugins/swek/sources/comesep/ComesepEventStream.java
package org.helioviewer.jhv.plugins.swek.sources.comesep;
public class ComesepEventStream {
}
<|file_sep|>current/src/plugins/swhv-swek/sources/ComesepSource/src/org/helioviewe... | package org.helioviewer.jhv.plugins.swek.sources.comesep;
import java.util.LinkedList;
import java.util.Queue;
import org.helioviewer.jhv.data.datatype.event.JHVEvent;
import org.helioviewer.jhv.plugins.swek.sources.SWEKEventStream;
public class ComesepEventStream implements SWEKEventStream {
/** Queue with eve... | <|file_sep|>original/src/plugins/swhv-swek/sources/ComesepSource/src/org/helioviewer/jhv/plugins/swek/sources/comesep/ComesepEventStream.java
package org.helioviewer.jhv.plugins.swek.sources.comesep;
public class ComesepEventStream {
}
<|file_sep|>current/src/plugins/swhv-swek/sources/ComesepSource/src/org/helioviewe... | ac2bdd1ebe5478f7ed928d387a3c4b0c62889e4f | src/plugins/swhv-swek/sources/ComesepSource/src/org/helioviewer/jhv/plugins/swek/sources/comesep/ComesepEventStream.java | src/plugins/swhv-swek/sources/ComesepSource/src/org/helioviewer/jhv/plugins/swek/sources/comesep/ComesepEventStream.java | Java |
<|file_sep|>.travis.yml.diff
original:
updated:
- docker pull cleverage/process-bundle:sf3
<|file_sep|>.travis.yml.diff
original:
updated:
- docker pull cleverage/process-bundle:sf5
<|file_sep|>.travis.yml.diff
original:
updated:
# Tests should be done in reversed order to check most important versions first... | language: php
services:
- docker
before_script:
- docker pull cleverage/process-bundle:sf3
- docker pull cleverage/process-bundle:sf4
- docker pull cleverage/process-bundle:sf5
# Tests should be done in reversed order to check most important versions first
script:
- docker run -it --mount type=bind... | <|file_sep|>.travis.yml.diff
original:
updated:
- docker pull cleverage/process-bundle:sf3
<|file_sep|>.travis.yml.diff
original:
updated:
- docker pull cleverage/process-bundle:sf5
<|file_sep|>.travis.yml.diff
original:
updated:
# Tests should be done in reversed order to check most important versions first... | 40e8fd1831fccbbb401e66abd6fb58652dec9bbb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.py
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/... | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit-xml-output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/db_atlass/python-junit-xml-out... | <|file_sep|>original/setup.py
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='junit_xml_output',
author = 'David Black',
author_email = 'dblack@atlassian.com',
url = 'https://bitbucket.org/... | b656fb28a9ff2fc797ec5f74c07830b3b255b2b4 | setup.py | setup.py | Python |
<|file_sep|>static/js/utils/Dispatcher.js.diff
original:
var listener;
updated:
var listener, context, fn;
<|file_sep|>original/static/js/utils/Dispatcher.js
function addListener(type, context, fn) {
var listeners = this._listeners;
if (!listeners) { listeners = this._listeners = {}; }
if (!listeners[type]) {... | });
}
function triggerListeners(type, event) {
var listeners = this._listeners && this._listeners[type];
if (!listeners) { return; }
var listener, context, fn;
for (var i = 0, il = listeners.length; i < il; i ++) {
listener = listeners[i];
context = listener.context;
fn = listener.fn;
if (... | <|file_sep|>static/js/utils/Dispatcher.js.diff
original:
var listener;
updated:
var listener, context, fn;
<|file_sep|>original/static/js/utils/Dispatcher.js
function addListener(type, context, fn) {
var listeners = this._listeners;
if (!listeners) { listeners = this._listeners = {}; }
if (!listeners[type]) {... | 892f231388ff965d891066317ba46caa6af73398 | static/js/utils/Dispatcher.js | static/js/utils/Dispatcher.js | JavaScript |
<|file_sep|>tests/performance-test/src/main/resources/log4j.properties.diff
original:
log4j.rootLogger=error,STDOUT
updated:
log4j.rootLogger=warn,STDOUT
<|file_sep|>original/tests/performance-test/src/main/resources/log4j.properties
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the L... | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# #L%
###
## Root logger
log4j.rootLogger=warn,STDOUT
##
## Appenders
##
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
##
## Layout... | <|file_sep|>tests/performance-test/src/main/resources/log4j.properties.diff
original:
log4j.rootLogger=error,STDOUT
updated:
log4j.rootLogger=warn,STDOUT
<|file_sep|>original/tests/performance-test/src/main/resources/log4j.properties
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the L... | 0ded7458ce3a8dc783b593e7379baa35c6c01b36 | tests/performance-test/src/main/resources/log4j.properties | tests/performance-test/src/main/resources/log4j.properties | INI |
<|file_sep|>original/Cargo.toml
description = "Library for serializing the RSS web content syndication format"
repository = "https://github.com/rust-syndication/rss"
documentation = "https://docs.rs/rss/"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["rss", "feed", "parser", "parsing"]
include = ["src/*",... | description = "Library for serializing the RSS web content syndication format"
repository = "https://github.com/rust-syndication/rss"
documentation = "https://docs.rs/rss/"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["rss", "feed", "parser", "parsing"]
include = ["src/*", "Cargo.toml", "LICENSE-MIT", "L... | <|file_sep|>original/Cargo.toml
description = "Library for serializing the RSS web content syndication format"
repository = "https://github.com/rust-syndication/rss"
documentation = "https://docs.rs/rss/"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["rss", "feed", "parser", "parsing"]
include = ["src/*",... | c8777604a7240bf11dd076130b650221d2e82dff | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/.rubocop_basic.yml
Layout/IndentationConsistency:
EnforcedStyle: rails
Layout/IndentationWidth:
Enabled: true
Layout/EndOfLine:
EnforcedStyle: lf
Layout/TrailingBlankLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Metrics/LineLength:
Max: 100
RSpec/NotToNot:
Enabl... |
Layout/IndentationWidth:
Enabled: true
Layout/EndOfLine:
EnforcedStyle: lf
Layout/TrailingBlankLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Metrics/LineLength:
Max: 100
RSpec/NotToNot:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes | <|file_sep|>original/.rubocop_basic.yml
Layout/IndentationConsistency:
EnforcedStyle: rails
Layout/IndentationWidth:
Enabled: true
Layout/EndOfLine:
EnforcedStyle: lf
Layout/TrailingBlankLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Metrics/LineLength:
Max: 100
RSpec/NotToNot:
Enabl... | 4af0de2d1d5dac7fc5f09ed0061f8a2463db2ae4 | .rubocop_basic.yml | .rubocop_basic.yml | YAML |
<|file_sep|>original/assets/javascripts/custom_rx_operators.coffee
Rx = require 'rx/index.js'
R = require 'ramda'
Rx.Observable.fromTime = (timesAndValues, scheduler) ->
timers = R.keys(timesAndValues)
.map (relativeTime) -> [parseInt(relativeTime), timesAndValues[relativeTime]]
.map ([time, value]) ->
... | Rx = require 'rx/index.js'
R = require 'ramda'
Rx.Observable.fromTime = (timesAndValues, scheduler) ->
timers = R.keys(timesAndValues)
.map (relativeTime) -> [parseInt(relativeTime), timesAndValues[relativeTime]]
.map ([time, value]) ->
Rx.Observable.timer(time, scheduler).map R.I(value)
Rx.Observab... | <|file_sep|>original/assets/javascripts/custom_rx_operators.coffee
Rx = require 'rx/index.js'
R = require 'ramda'
Rx.Observable.fromTime = (timesAndValues, scheduler) ->
timers = R.keys(timesAndValues)
.map (relativeTime) -> [parseInt(relativeTime), timesAndValues[relativeTime]]
.map ([time, value]) ->
... | 88fd39299d718d402886cbb99b1ca2b7ed62629f | assets/javascripts/custom_rx_operators.coffee | assets/javascripts/custom_rx_operators.coffee | CoffeeScript |
<|file_sep|>original/config/initializers/cors.rb
# Be sure to restart your server when you modify this file.
# Avoid CORS issues when API is called from the frontend app.
# Handle Cross-Origin Resource Sharing (CORS) in order to accept cross-origin AJAX requests.
# Read more: https://github.com/cyu/rack-cors
Rails.a... |
Rails.application.config.middleware.insert_before 0, Rack::Cors do
allow do
origins Rails.env.development? ? 'localhost:4000' : 'tebukuro.shinosakarb.org'
resource '*',
headers: :any,
credentials: true,
expose: ['access-token', 'expiry', 'token-type', 'uid', 'client'],
methods: [:ge... | <|file_sep|>original/config/initializers/cors.rb
# Be sure to restart your server when you modify this file.
# Avoid CORS issues when API is called from the frontend app.
# Handle Cross-Origin Resource Sharing (CORS) in order to accept cross-origin AJAX requests.
# Read more: https://github.com/cyu/rack-cors
Rails.a... | 70bb92a461842b32929e88a042fb1b33d02059bd | config/initializers/cors.rb | config/initializers/cors.rb | Ruby |
<|file_sep|>lib/transam_core/transam_object_key.rb.diff
original:
updated:
<|file_sep|>lib/transam_core/transam_object_key.rb.diff
original:
updated:
# Only generate an objecrt key if one is not set. This allows objects to be
# replaced but maintain the same object key
<|file_sep|>lib/transam_core/transam_ob... | end
validates :object_key, :presence => true, :uniqueness => true, :length => { is: 12 }
end
# Only generate an objecrt key if one is not set. This allows objects to be
# replaced but maintain the same object key
def generate_object_key(column)
if self[column].blank?
begin
# Note Tim... | <|file_sep|>lib/transam_core/transam_object_key.rb.diff
original:
updated:
<|file_sep|>lib/transam_core/transam_object_key.rb.diff
original:
updated:
# Only generate an objecrt key if one is not set. This allows objects to be
# replaced but maintain the same object key
<|file_sep|>lib/transam_core/transam_ob... | 4378dfd7018af813412f1ba77bd4a61817e48805 | lib/transam_core/transam_object_key.rb | lib/transam_core/transam_object_key.rb | Ruby |
<|file_sep|>original/tests/TestCase.php
protected function expectCallableNever()
{
$mock = $this->createCallableMock();
$mock
->expects($this->never())
->method('__invoke');
return $mock;
}
protected function createCallableMock()
{
$stub = 'R... | ->expects($this->once())
->method('__invoke');
return $mock;
}
protected function expectCallableNever()
{
$mock = $this->createCallableMock();
$mock
->expects($this->never())
->method('__invoke');
return $mock;
}
pro... | <|file_sep|>original/tests/TestCase.php
protected function expectCallableNever()
{
$mock = $this->createCallableMock();
$mock
->expects($this->never())
->method('__invoke');
return $mock;
}
protected function createCallableMock()
{
$stub = 'R... | 680f2676912847ff3987b55b0639168637208707 | tests/TestCase.php | tests/TestCase.php | PHP |
<|file_sep|>original/tests_ci/test_install.sh
<|file_sep|>current/tests_ci/test_install.sh
<|file_sep|>updated/tests_ci/test_install.sh | #!/bin/sh -e
#
# Copyright 2013: Mirantis Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... | <|file_sep|>original/tests_ci/test_install.sh
<|file_sep|>current/tests_ci/test_install.sh
<|file_sep|>updated/tests_ci/test_install.sh
#!/bin/sh -e
#
# Copyright 2013: Mirantis Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in ... | 276a235b0f2e3ad40a6a31d4eb96c8a3b0262879 | tests_ci/test_install.sh | tests_ci/test_install.sh | Shell |
<|file_sep|>test/client-side.js.diff
original:
updated:
var serverRoute = require('../example-app/WikiApp').serverRoute;
<|file_sep|>original/test/client-side.js
var Router = require('react-router');
var clientRoute = require('../example-app/WikiApp').clientRoute;
before(function() {
global.document = req... |
before(function() {
global.document = require('jsdom').jsdom();
global.window = global.document.defaultView;
});
after(function() {
delete global.document;
delete global.window;
});
it('Renders the basic route', function () {
return serverRoute('/').then(function() {
return clientR... | <|file_sep|>test/client-side.js.diff
original:
updated:
var serverRoute = require('../example-app/WikiApp').serverRoute;
<|file_sep|>original/test/client-side.js
var Router = require('react-router');
var clientRoute = require('../example-app/WikiApp').clientRoute;
before(function() {
global.document = req... | 6bb4801ef68a92f713b1df4ed1fef2421d0d30ae | test/client-side.js | test/client-side.js | JavaScript |
<|file_sep|>original/medical_medication_us/models/medical_medicament.py
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',... |
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',
help='National Drug Code for medication'
)
gpi = fields.Integer(
string='GPI',
help='Generic Product Identifier',
)
gcn = ... | <|file_sep|>original/medical_medication_us/models/medical_medicament.py
# © 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
class MedicalMedicament(models.Model):
_inherit = 'medical.medicament'
ndc = fields.Char(
string='NDC',... | 3b215b5c6fea45f11f3e1969e6626b175a5b9b6a | medical_medication_us/models/medical_medicament.py | medical_medication_us/models/medical_medicament.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
matrix:
allow_failures:
- rvm: 1.8.7
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
matrix:
allow_failures:
- rvm: 1.8.7
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
matrix:
allow_failures:
- rvm: 1.8.7
- rvm: 1.9.2 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
matrix:
allow_failures:
- rvm: 1.8.7
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
matrix:
allow_failures:
- rvm: 1.8.7
<|file_sep|>updated/.travis.yml
language: ruby
... | fa92e88b5326cb7e4fedb83f91d98e0944260402 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/index.js
* @requires lodash.isplainobject
* @exports {string} RSAA
* @exports {function} isRSAA
* @exports {function} validateRSAA
* @exports {function} isValidRSAA
* @exports {error} InvalidRSAA
* @exports {error} InternalError
* @exports {error} RequestError
* @exports {error} ApiErr... | * @requires lodash.isplainobject
* @exports {string} RSAA
* @exports {function} isRSAA
* @exports {function} validateRSAA
* @exports {function} isValidRSAA
* @exports {error} InvalidRSAA
* @exports {error} InternalError
* @exports {error} RequestError
* @exports {error} ApiError
* @exports {function} getJSON
... | <|file_sep|>original/src/index.js
* @requires lodash.isplainobject
* @exports {string} RSAA
* @exports {function} isRSAA
* @exports {function} validateRSAA
* @exports {function} isValidRSAA
* @exports {error} InvalidRSAA
* @exports {error} InternalError
* @exports {error} RequestError
* @exports {error} ApiErr... | e932805f66869ed59ba8e46e0e5d2d54ca15e7b5 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/setup.py
from roku import __version__
from setuptools import setup, find_packages
import os
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='python-roku',
version=__version__,
description='Client for the Roku media player',
l... | from roku import __version__
from setuptools import setup, find_packages
import os
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='roku',
version=__version__,
description='Client for the Roku media player',
long_description=readme,
author='J... | <|file_sep|>original/setup.py
from roku import __version__
from setuptools import setup, find_packages
import os
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='python-roku',
version=__version__,
description='Client for the Roku media player',
l... | 2e95e3b9badf9c860b98bca6a4edb1d4fac358a9 | setup.py | setup.py | Python |
<|file_sep|>original/docs/reference/data_observatory.rst
Data Observatory
----------------
With CARTOframes it is possible to enrich your data by using our `Data Observatory <#data-observatory>`__
Catalog through the enrichment methods.
**Important:** The new Data Observatory 2.0 is accessible to selected CARTO Enter... | Data Observatory
----------------
With CARTOframes it is possible to enrich your data by using our `Data Observatory <#data-observatory>`__
Catalog through the enrichment methods.
.. automodule:: cartoframes.data.observatory
:noindex:
:members:
:member-order: bysource
:exclude-members: get_datasets_sp... | <|file_sep|>original/docs/reference/data_observatory.rst
Data Observatory
----------------
With CARTOframes it is possible to enrich your data by using our `Data Observatory <#data-observatory>`__
Catalog through the enrichment methods.
**Important:** The new Data Observatory 2.0 is accessible to selected CARTO Enter... | b54c0ac49e603d619e65ac522798bbcc1c71ceed | docs/reference/data_observatory.rst | docs/reference/data_observatory.rst | reStructuredText |
<|file_sep|>original/json_schemas/suppliers.json
"type": "string",
"pattern": "^[0-9]+$"
},
"eSourcingId": {
"type": "string",
"pattern": "^[0-9]+$"
},
"clients": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0
}
},
"require... | "dunsNumber": {
"type": "string",
"pattern": "^[0-9]+$"
},
"eSourcingId": {
"type": "string",
"pattern": "^[0-9]+$"
},
"clients": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0
}
},
"required": [
"id",
"name"
... | <|file_sep|>original/json_schemas/suppliers.json
"type": "string",
"pattern": "^[0-9]+$"
},
"eSourcingId": {
"type": "string",
"pattern": "^[0-9]+$"
},
"clients": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0
}
},
"require... | 2859af773982aa6060baf2b355d466a749f37fa3 | json_schemas/suppliers.json | json_schemas/suppliers.json | JSON |
<|file_sep|>original/install_files/ansible-base/roles/development/tasks/main.yml
- apt
- development
# TODO: this is copied from roles/common/tasks/create_users.yml
# A more DRY solution would be better. This task is necessary
# to ensure that the default user exists in DigitalOcean instances,
# which are used... | - apt
- development
- name: install apt package deps for dev environment
apt:
pkg: "{{ item }}"
state: latest
with_items: dev_deps
tags:
- apt
- development
- name: install pip dependencies for securedrop
pip:
requirements: "{{ securedrop_pip_requirements }}"
tags:
- pip
... | <|file_sep|>original/install_files/ansible-base/roles/development/tasks/main.yml
- apt
- development
# TODO: this is copied from roles/common/tasks/create_users.yml
# A more DRY solution would be better. This task is necessary
# to ensure that the default user exists in DigitalOcean instances,
# which are used... | 1263f31f1469518740327c038cb932534493ce5c | install_files/ansible-base/roles/development/tasks/main.yml | install_files/ansible-base/roles/development/tasks/main.yml | YAML |
<|file_sep|>src/test/scala/io/hydrosphere/mist/PythonWrappersTest.scala.diff
original:
updated:
import scala.collection.JavaConverters._
<|file_sep|>src/test/scala/io/hydrosphere/mist/PythonWrappersTest.scala.diff
original:
import io.hydrosphere.mist.jobs.{FullJobConfiguration, MistJobConfiguration}
updated:
import io... | }
}
"Data wrapper" must {
"contain data" in {
val data = new java.util.HashMap[String, Any](1)
data.put("result", Seq(1, 2, 3).asJava)
val dataWrapper = new DataWrapper
dataWrapper.set(data)
assert(dataWrapper.get == Map("result" -> List(1, 2, 3)))
}
}
"Errror wrappe... | <|file_sep|>src/test/scala/io/hydrosphere/mist/PythonWrappersTest.scala.diff
original:
updated:
import scala.collection.JavaConverters._
<|file_sep|>src/test/scala/io/hydrosphere/mist/PythonWrappersTest.scala.diff
original:
import io.hydrosphere.mist.jobs.{FullJobConfiguration, MistJobConfiguration}
updated:
import io... | 9fabdba09be0e892616bc6b3ef674f2e03c15c6a | src/test/scala/io/hydrosphere/mist/PythonWrappersTest.scala | src/test/scala/io/hydrosphere/mist/PythonWrappersTest.scala | Scala |
<|file_sep|>original/src/AspectMock/Util/ArgumentsFormatter.php
namespace AspectMock\Util;
class ArgumentsFormatter
{
static function toString($args)
{
return implode(',',array_map('self::format', $args));
}
protected static function format($arg)
{
if ($arg instanceof \Closure) re... | namespace AspectMock\Util;
class ArgumentsFormatter
{
static function toString($args)
{
return implode(',',array_map('self::format', $args));
}
protected static function format($arg)
{
if ($arg instanceof \Closure) return "func()";
if (is_object($arg)) return '['.get_class... | <|file_sep|>original/src/AspectMock/Util/ArgumentsFormatter.php
namespace AspectMock\Util;
class ArgumentsFormatter
{
static function toString($args)
{
return implode(',',array_map('self::format', $args));
}
protected static function format($arg)
{
if ($arg instanceof \Closure) re... | 9370234823fb6eb69a97b5fb30334df31bc80860 | src/AspectMock/Util/ArgumentsFormatter.php | src/AspectMock/Util/ArgumentsFormatter.php | PHP |
<|file_sep|>original/init.groovy
gate.Gate.init()
import static gate.plugin.evaluation.tests.TestUtils.*;
import gate.plugin.evaluation.api.*;
<|file_sep|>current/init.groovy
gate.Gate.init()
import static gate.plugin.evaluation.tests.TestUtils.*;
import gate.plugin.evaluation.api.*;
<|file_sep|>updated/init.groovy | gate.Gate.init()
import static gate.plugin.evaluation.tests.TestUtils.*;
import gate.plugin.evaluation.api.*;
import static gate.Utils.*; | <|file_sep|>original/init.groovy
gate.Gate.init()
import static gate.plugin.evaluation.tests.TestUtils.*;
import gate.plugin.evaluation.api.*;
<|file_sep|>current/init.groovy
gate.Gate.init()
import static gate.plugin.evaluation.tests.TestUtils.*;
import gate.plugin.evaluation.api.*;
<|file_sep|>updated/init.groovy
gat... | b2f6d04ef838dc7c7b59c141aa6e81510a0fe30a | init.groovy | init.groovy | Groovy |
<|file_sep|>original/tests/functional/test_pip_runner_script.py
<|file_sep|>current/tests/functional/test_pip_runner_script.py
<|file_sep|>updated/tests/functional/test_pip_runner_script.py | import os
from pathlib import Path
from pip import __version__
from tests.lib import PipTestEnvironment
def test_runner_work_in_environments_with_no_pip(
script: PipTestEnvironment, pip_src: Path
) -> None:
runner = pip_src / "src" / "pip" / "__pip-runner__.py"
# Ensure there's no pip installed in the e... | <|file_sep|>original/tests/functional/test_pip_runner_script.py
<|file_sep|>current/tests/functional/test_pip_runner_script.py
<|file_sep|>updated/tests/functional/test_pip_runner_script.py
import os
from pathlib import Path
from pip import __version__
from tests.lib import PipTestEnvironment
def test_runner_work_... | 470b217e8ca8687414ff4cad39ca7cfe4710d956 | tests/functional/test_pip_runner_script.py | tests/functional/test_pip_runner_script.py | Python |
<|file_sep|>tests/tests/middleware.py.diff
original:
print request
updated:
self.assertEqual(request.auth_type, "type")
def test_invalid_bearer_token(self):
request = self.factory.get("/")
request.META["HTTP_AUTHORIZATION"] = "bearer invalid"
<|file_sep|>original/tests/tests/mid... | AuthenticationMiddleware().process_request(request)
self.assertEqual(request.auth_type, None)
self.assertFalse(hasattr(request, "acess_token"))
self.assertFalse(hasattr(request, "user"))
def test_invalid_handler(self):
request = self.factory.get("/")
req... | <|file_sep|>tests/tests/middleware.py.diff
original:
print request
updated:
self.assertEqual(request.auth_type, "type")
def test_invalid_bearer_token(self):
request = self.factory.get("/")
request.META["HTTP_AUTHORIZATION"] = "bearer invalid"
<|file_sep|>original/tests/tests/mid... | cab417f187b66b5ec2f98fc69dcb8f8e98c43b86 | tests/tests/middleware.py | tests/tests/middleware.py | Python |
<|file_sep|>original/pythagoras/pom-js.xml
<|file_sep|>current/pythagoras/pom-js.xml
<|file_sep|>updated/pythagoras/pom-js.xml | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>klay</artifactId>
... | <|file_sep|>original/pythagoras/pom-js.xml
<|file_sep|>current/pythagoras/pom-js.xml
<|file_sep|>updated/pythagoras/pom-js.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ma... | 03a8c62de644e245ef7822c0090c1ee36ef954aa | pythagoras/pom-js.xml | pythagoras/pom-js.xml | XML |
<|file_sep|>original/requirements.txt
FontTools[lxml,unicode,ufo]==3.34.0
fontMath==0.4.9
defcon[pens]==0.6.0
<|file_sep|>current/requirements.txt
FontTools[lxml,unicode,ufo]==3.34.0
fontMath==0.4.9
defcon[pens]==0.6.0
<|file_sep|>updated/requirements.txt | FontTools[lxml,unicode,ufo]==3.34.2
fontMath==0.4.9
defcon[pens]==0.6.0 | <|file_sep|>original/requirements.txt
FontTools[lxml,unicode,ufo]==3.34.0
fontMath==0.4.9
defcon[pens]==0.6.0
<|file_sep|>current/requirements.txt
FontTools[lxml,unicode,ufo]==3.34.0
fontMath==0.4.9
defcon[pens]==0.6.0
<|file_sep|>updated/requirements.txt
FontTools[lxml,unicode,ufo]==3.34.2
fontMath==0.4.9
defcon[pens]... | 3c2c66a7b12508d4e00556745400193056b31ed1 | requirements.txt | requirements.txt | Text |
<|file_sep|>heat_integrationtests/README.rst.diff
original:
updated:
<|file_sep|>heat_integrationtests/README.rst.diff
original:
updated:
<|file_sep|>heat_integrationtests/README.rst.diff
original:
updated:
<|file_sep|>original/heat_integrationtests/README.rst
cloud, however defaults match running against a r... |
# Define DEST
export DEST=/opt/stack
# create test resources and write tempest config
$DEST/heat/heat_integrationtests/prepare_test_env.sh
$DEST/heat/heat_integrationtests/prepare_test_network.sh
# run tempest selecting only these tests
cd $DEST/tempest
tempest run --regex heat_i... | <|file_sep|>heat_integrationtests/README.rst.diff
original:
updated:
<|file_sep|>heat_integrationtests/README.rst.diff
original:
updated:
<|file_sep|>heat_integrationtests/README.rst.diff
original:
updated:
<|file_sep|>original/heat_integrationtests/README.rst
cloud, however defaults match running against a r... | e494ef62b199ecd0862b7225b8763b1643d9325b | heat_integrationtests/README.rst | heat_integrationtests/README.rst | reStructuredText |
<|file_sep|>original/circle.yml
machine:
java:
version: openjdk7
test:
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- bash <(curl -s https://codecov.io/bash)
<|file_sep|>current/circle.yml
machine:
jav... | machine:
java:
version: openjdk7
test:
override:
- TERM=dumb ./gradlew --console=plain check jacocoTestReport
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- bash <(curl -s https://codecov.io/bash) | <|file_sep|>original/circle.yml
machine:
java:
version: openjdk7
test:
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- bash <(curl -s https://codecov.io/bash)
<|file_sep|>current/circle.yml
machine:
jav... | 739b202c97bd87b2f219a0774179d249ce7c9093 | circle.yml | circle.yml | YAML |
<|file_sep|>original/app/src/main/res/layout/view_tabs_count.xml
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<TextView
... | <?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<TextView
android:id="@+id/tabs_count_text"
android:layout_wi... | <|file_sep|>original/app/src/main/res/layout/view_tabs_count.xml
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<TextView
... | 27df9c3d08a7fdc7292e7f2748193ebd369f16f7 | app/src/main/res/layout/view_tabs_count.xml | app/src/main/res/layout/view_tabs_count.xml | XML |
<|file_sep|>original/src/main/java/com/theaccountant/accountabilityhack/processor/FteAantalProcessor.java
public final class FteAantalProcessor implements Processor {
public void process(final SchoolRegistry registry) throws IOException {
final CsvReader reader = new CsvReader("02.-po-fte-owtype-bestuur-br... | public final class FteAantalProcessor implements Processor {
public void process(final SchoolRegistry registry) throws IOException {
final CsvReader reader = new CsvReader("02.-po-fte-owtype-bestuur-brin-functie.csv");
while (reader.next()) {
final String brin = reader.get("BRIN_NUMMER"... | <|file_sep|>original/src/main/java/com/theaccountant/accountabilityhack/processor/FteAantalProcessor.java
public final class FteAantalProcessor implements Processor {
public void process(final SchoolRegistry registry) throws IOException {
final CsvReader reader = new CsvReader("02.-po-fte-owtype-bestuur-br... | 383c1668739c9ec3e47ad21ee0137465591e2401 | src/main/java/com/theaccountant/accountabilityhack/processor/FteAantalProcessor.java | src/main/java/com/theaccountant/accountabilityhack/processor/FteAantalProcessor.java | Java |
<|file_sep|>original/softwareplanet-cms/app/helpers/cms/source_code_helper.rb
module Cms
module SourceCodeHelper
# Escaped JavaScript there:
def open_in_editor sourceObj
#p sourceObj.class
editor_name = sourceObj.get_id.to_s
editor_name = "haml_editor" if (sourceObj.type == Cms::SourceType:... | module Cms
module SourceCodeHelper
# Escaped JavaScript there:
def open_in_editor sourceObj
#p sourceObj.class
editor_name = sourceObj.get_id.to_s
editor_name = "haml_editor" if (sourceObj.type == Cms::SourceType::LAYOUT)
editor_name = "haml_editor" if (sourceObj.type == Cms::SourceTy... | <|file_sep|>original/softwareplanet-cms/app/helpers/cms/source_code_helper.rb
module Cms
module SourceCodeHelper
# Escaped JavaScript there:
def open_in_editor sourceObj
#p sourceObj.class
editor_name = sourceObj.get_id.to_s
editor_name = "haml_editor" if (sourceObj.type == Cms::SourceType:... | 13658ae93d91abed7c15310dcaf16dd1492c78ee | softwareplanet-cms/app/helpers/cms/source_code_helper.rb | softwareplanet-cms/app/helpers/cms/source_code_helper.rb | Ruby |
<|file_sep|>original/uhdm-integration/build.sh
#!/bin/bash
set -e
set -x
if [ x"$TRAVIS" = xtrue ]; then
CPU_COUNT=2
fi
export PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig/"
export CXXFLAGS="$CXXFLAGS -I$BUILD_PREFIX/include"
export LDFLAGS="$CXXFLAGS -L$BUILD_PREFIX/lib -lrt -ltinfo"
make -j$CPU_COUNT surelog/par... | #!/bin/bash
set -e
set -x
if [ x"$TRAVIS" = xtrue ]; then
CPU_COUNT=2
fi
export PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig/"
export CXXFLAGS="$CXXFLAGS -I$BUILD_PREFIX/include"
export LDFLAGS="$CXXFLAGS -L$BUILD_PREFIX/lib -lrt -ltinfo"
make -j$CPU_COUNT surelog/parse
make -j$CPU_COUNT uhdm/build
make -j$CPU_COU... | <|file_sep|>original/uhdm-integration/build.sh
#!/bin/bash
set -e
set -x
if [ x"$TRAVIS" = xtrue ]; then
CPU_COUNT=2
fi
export PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig/"
export CXXFLAGS="$CXXFLAGS -I$BUILD_PREFIX/include"
export LDFLAGS="$CXXFLAGS -L$BUILD_PREFIX/lib -lrt -ltinfo"
make -j$CPU_COUNT surelog/par... | 4916df054cd40b87a4207fe52c11685389a86de8 | uhdm-integration/build.sh | uhdm-integration/build.sh | Shell |
<|file_sep|>original/test/integration/index.html
<|file_sep|>current/test/integration/index.html
<|file_sep|>updated/test/integration/index.html | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css">
<script src="../../node_modules/mocha/mocha.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script>
mocha.setup('bd... | <|file_sep|>original/test/integration/index.html
<|file_sep|>current/test/integration/index.html
<|file_sep|>updated/test/integration/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css">
<scri... | 526879ebad988e9cd6db1b78ae9eec834b2ce6e0 | test/integration/index.html | test/integration/index.html | HTML |
<|file_sep|>csviati/templates/layout.html.diff
original:
<div id="beta">Still in very early development. Please report bugs.</div>
updated:
<div id="beta">Notice a bug? Please <a href="https://github.com/markbrough/CSV-IATI-Converter/issues">report it</a>!</div>
<|file_sep|>original/csviati/templates/layout.html
</he... | </head>
<link href="{{ url_for('static', filename='style.css') }}" media="screen" rel="stylesheet" type="text/css" />
<body>
<div id="page-wrapper">
<div id="beta">Notice a bug? Please <a href="https://github.com/markbrough/CSV-IATI-Converter/issues">report it</a>!</div>
<h1 class="title">IATI CSV Conversion utility<... | <|file_sep|>csviati/templates/layout.html.diff
original:
<div id="beta">Still in very early development. Please report bugs.</div>
updated:
<div id="beta">Notice a bug? Please <a href="https://github.com/markbrough/CSV-IATI-Converter/issues">report it</a>!</div>
<|file_sep|>original/csviati/templates/layout.html
</he... | c6fd94e236f7b34f34abbcada9a7422b386b9c8a | csviati/templates/layout.html | csviati/templates/layout.html | HTML |
<|file_sep|>original/test-integration/success.json
"source_ami": "ami-11032472",
"ssh_username": "ec2-user",
"type": "amazon-ebs"
}
],
"post-processors": [
{
"ami_id": {
"test-integration/success_result.json": [
... | "source_ami": "ami-11032472",
"ssh_username": "ec2-user",
"type": "amazon-ebs"
}
],
"post-processors": [
{
"ami_id": {
"test-integration/success_result.json": [
"variables.built_ami",
"variabl... | <|file_sep|>original/test-integration/success.json
"source_ami": "ami-11032472",
"ssh_username": "ec2-user",
"type": "amazon-ebs"
}
],
"post-processors": [
{
"ami_id": {
"test-integration/success_result.json": [
... | 115ead22fcbfe9fde93726262c492efb4a3f8964 | test-integration/success.json | test-integration/success.json | JSON |
<|file_sep|>original/bundles/SyliusResourceBundle/installation.rst
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
new FOS\RestBundle\FOSRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle($this),
new Sylius\Bundle\ResourceBundle... | $bundles = array(
new FOS\RestBundle\FOSRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle($this),
new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(),
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
);
}
To benefit from ... | <|file_sep|>original/bundles/SyliusResourceBundle/installation.rst
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
new FOS\RestBundle\FOSRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle($this),
new Sylius\Bundle\ResourceBundle... | 3a9abd203e509bbf7c2ffbb8731161879a932cee | bundles/SyliusResourceBundle/installation.rst | bundles/SyliusResourceBundle/installation.rst | reStructuredText |
<|file_sep|>original/core/scss/components/_components.cards.scss
/////////////////////
// !COMPONENTS: CARDS
/////////////////////
// !Individual Card
.dcf-c-card {
@include sm1;
@include bg-white;
// border: 1px solid $color-border;
box-shadow: 0 0 2px 0 rgba(0,0,0,.25);
}
// !Card Image
.dcf-c-card img {
... | /////////////////////
// !COMPONENTS: CARDS
/////////////////////
// !Individual Card
.dcf-c-card {
@include mb0;
@include sm1;
@include bg-white;
// border: 1px solid $color-border;
box-shadow: 0 0 2px 0 rgba(0,0,0,.25);
}
// !Card Image
.dcf-c-card img {
@include block;
@include w100;
}
| <|file_sep|>original/core/scss/components/_components.cards.scss
/////////////////////
// !COMPONENTS: CARDS
/////////////////////
// !Individual Card
.dcf-c-card {
@include sm1;
@include bg-white;
// border: 1px solid $color-border;
box-shadow: 0 0 2px 0 rgba(0,0,0,.25);
}
// !Card Image
.dcf-c-card img {
... | ee5a64e865bec4fd4f8844facc47c88e19562c8b | core/scss/components/_components.cards.scss | core/scss/components/_components.cards.scss | SCSS |
<|file_sep|>easy/mocks/index.js.diff
original:
module.exports.EntityManager = require( 'easy/mocks/EntityManager.mock' )
module.exports.Request = require( 'easy/mocks/Request.mock' )
module.exports.Response = require( 'easy/mocks/Response.mock' )
updated:
module.exports.entityManager = require( 'easy/mocks/entityManage... | /*
* This file is part of the easy framework.
*
* (c) Julien Sergent <sergent.julien@icloud.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
module.exports.entityManager = require( 'easy/mocks/entityManager.mock' )
module.exports.req... | <|file_sep|>easy/mocks/index.js.diff
original:
module.exports.EntityManager = require( 'easy/mocks/EntityManager.mock' )
module.exports.Request = require( 'easy/mocks/Request.mock' )
module.exports.Response = require( 'easy/mocks/Response.mock' )
updated:
module.exports.entityManager = require( 'easy/mocks/entityManage... | e4a6559a38acab09c3078ad217d9b6bf492482eb | easy/mocks/index.js | easy/mocks/index.js | JavaScript |
<|file_sep|>original/layers/my-atomic-chrome/packages.el
;; -*- lexical-binding: t -*-
(defconst my-atomic-chrome-packages '(atomic-chrome))
(defun my-atomic-chrome/init-atomic-chrome ()
(use-package atomic-chrome
:defer t
:init
(when (and (daemonp) (display-assume-graphic-p))
(add-hook 'spacemacs... | ;; -*- lexical-binding: t -*-
(defconst my-atomic-chrome-packages '(atomic-chrome))
(defun my-atomic-chrome/init-atomic-chrome ()
(use-package atomic-chrome
:defer t
:init
(when (and (daemonp) (display-assume-graphic-p))
(add-hook 'spacemacs-post-user-config-hook #'atomic-chrome-start-server))
... | <|file_sep|>original/layers/my-atomic-chrome/packages.el
;; -*- lexical-binding: t -*-
(defconst my-atomic-chrome-packages '(atomic-chrome))
(defun my-atomic-chrome/init-atomic-chrome ()
(use-package atomic-chrome
:defer t
:init
(when (and (daemonp) (display-assume-graphic-p))
(add-hook 'spacemacs... | e066f3d0fdcd3e44a6fabc97749d8b4c1e10aae3 | layers/my-atomic-chrome/packages.el | layers/my-atomic-chrome/packages.el | Emacs Lisp |
<|file_sep|>original/solutions/beecrowd/1010/1010.lua
<|file_sep|>current/solutions/beecrowd/1010/1010.lua
<|file_sep|>updated/solutions/beecrowd/1010/1010.lua | local s = 0
while true do
local line = io.read()
if line == nil then break end
for b, c in string.gmatch(line, "%d+ (%d+) ([0-9.]+)") do
s = s + tonumber(b) * (tonumber(c) + 0.0)
end
end
print(string.format('VALOR A PAGAR: R$ %.2f', s)) | <|file_sep|>original/solutions/beecrowd/1010/1010.lua
<|file_sep|>current/solutions/beecrowd/1010/1010.lua
<|file_sep|>updated/solutions/beecrowd/1010/1010.lua
local s = 0
while true do
local line = io.read()
if line == nil then break end
for b, c in string.gmatch(line, "%d+ (%d+) ([0-9.]+)") do
... | 260469038e204a9bc04dcca68710d0e2749c18f7 | solutions/beecrowd/1010/1010.lua | solutions/beecrowd/1010/1010.lua | Lua |
<|file_sep|>original/config/environments/production.php
<?php
/** Production */
ini_set('display_errors', 0);
define('WP_DEBUG_DISPLAY', false);
define('SCRIPT_DEBUG', false);
/** Disable all file modifications including updates and update notifications */
define('DISALLOW_FILE_MODS', true);
<|file_sep|>current/config/... | <?php
/** Production */
ini_set('display_errors', 0);
define('WP_DEBUG_DISPLAY', false);
define('SCRIPT_DEBUG', false);
/** Disable all file modifications including updates and update notifications */
define('DISALLOW_FILE_MODS', true);
/**
* S3 Keys
*/
define('AS3CF_AWS_ACCESS_KEY_ID', env('AS3CF_AWS_ACCESS_KEY_ID'... | <|file_sep|>original/config/environments/production.php
<?php
/** Production */
ini_set('display_errors', 0);
define('WP_DEBUG_DISPLAY', false);
define('SCRIPT_DEBUG', false);
/** Disable all file modifications including updates and update notifications */
define('DISALLOW_FILE_MODS', true);
<|file_sep|>current/config/... | cb6145d241ea05ffdcef850fa1711e5c8e771612 | config/environments/production.php | config/environments/production.php | PHP |
<|file_sep|>original/hieradata/class/router_backend.yaml
---
mongodb::server::version: '2.0.8'
lv:
mongodb:
pv: '/dev/sdb1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongodb-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/li... | ---
lv:
mongodb:
pv: '/dev/sdb1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongodb-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/lib/automongodbackup:
disk: '/dev/mapper/backup-mongodb'
govuk_lvm: 'mongodb'
moun... | <|file_sep|>original/hieradata/class/router_backend.yaml
---
mongodb::server::version: '2.0.8'
lv:
mongodb:
pv: '/dev/sdb1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongodb-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/li... | a0fab6e88f6f3d243749b64366300a05a6d9fdf1 | hieradata/class/router_backend.yaml | hieradata/class/router_backend.yaml | YAML |
<|file_sep|>original/spec/naver/searchad/api/ad/service_spec.rb
<|file_sep|>current/spec/naver/searchad/api/ad/service_spec.rb
<|file_sep|>updated/spec/naver/searchad/api/ad/service_spec.rb | require 'spec_helper'
include Naver::Searchad::Api
describe Ad::Service do
subject(:this) { described_class.new }
before(:each) do
this.authorization = Auth.get_application_default
end
end | <|file_sep|>original/spec/naver/searchad/api/ad/service_spec.rb
<|file_sep|>current/spec/naver/searchad/api/ad/service_spec.rb
<|file_sep|>updated/spec/naver/searchad/api/ad/service_spec.rb
require 'spec_helper'
include Naver::Searchad::Api
describe Ad::Service do
subject(:this) { described_class.new }
before(:... | 167630a06efdef3eb04c02dc8a21ec45fe2e0e8d | spec/naver/searchad/api/ad/service_spec.rb | spec/naver/searchad/api/ad/service_spec.rb | Ruby |
<|file_sep|>update_from_git.sh.diff
original:
cd $WEBDIR && rm -r calendar/ css/ fonts/ images/ js/ reports/ favicon.ico index.php sitemap.xml.gz status.class.php template.html
updated:
cd $WEBDIR && rm -r calendar/ css/ fonts/ images/ js/ reports/ favicon.ico index.* sitemap.xml.gz status.class.php template.html
<|fil... | # painless and simple as possible
#
WEBDIR=/var/www/ritcraft.net/public_html
HOMEDIR=$HOME/websites/ritcraft.net
#####################################################
# Pull down the latest changes from GitHub #
#####################################################
cd $HOMEDIR && git pull
###############... | <|file_sep|>update_from_git.sh.diff
original:
cd $WEBDIR && rm -r calendar/ css/ fonts/ images/ js/ reports/ favicon.ico index.php sitemap.xml.gz status.class.php template.html
updated:
cd $WEBDIR && rm -r calendar/ css/ fonts/ images/ js/ reports/ favicon.ico index.* sitemap.xml.gz status.class.php template.html
<|fil... | 2dd78fa35cce69700d3cade5cdd21d6200e65969 | update_from_git.sh | update_from_git.sh | Shell |
<|file_sep|>contrib/bdii/README.md.diff
original:
This folder contains the HTCondor-CE provider for [BDII](http://gridinfo.web.cern.ch/sys-admins/bdii-releases) and
associated configuration intended for use with an HTCondor batch system.
updated:
This folder contains the HTCondor-CE [GLUE2] provider for and associated ... | Usage
-----
To report BDII data, use the following instructions
1. Install `htcondor-ce-bdii` on each of your site's HTCondor-CE's:
yum install htcondor-ce-bdii
1. Start and enable BDII on only one of your HTCondor-CE's.
Alternatively, you may install `htcondor-ce-bdii` on a non-CE host running BDII and ... | <|file_sep|>contrib/bdii/README.md.diff
original:
This folder contains the HTCondor-CE provider for [BDII](http://gridinfo.web.cern.ch/sys-admins/bdii-releases) and
associated configuration intended for use with an HTCondor batch system.
updated:
This folder contains the HTCondor-CE [GLUE2] provider for and associated ... | 191e876d0a05cb1b13ba0c2a6167a74147aa39aa | contrib/bdii/README.md | contrib/bdii/README.md | Markdown |
<|file_sep|>original/requirements.txt
# 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.5.0
fonttools[lxml,ufo]==4.4.3
<|file_sep|>current/requirements.txt
# 'lxml' is not a primary require... | # 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.5.0
fonttools[ufo,lxml]==4.5.0 | <|file_sep|>original/requirements.txt
# 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.5.0
fonttools[lxml,ufo]==4.4.3
<|file_sep|>current/requirements.txt
# 'lxml' is not a primary require... | 8704bb64a891720c5f491259df40ae36af927f00 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
dist: focal
services:
- mysql
language: ruby
env: CODECLIMATE_REPO_TOKEN=b1b9b856c0aa49c7733aedea0b460b1c118c2ff1296db77bdcf762e6e8ff91c5
before_install:
- yes | gem update --system --force
- gem install bundler
- nvm install 'lts/*'
- nvm use 'lts/*'
install:
- bundle insta... | dist: focal
services:
- mysql
language: ruby
env: CC_TEST_REPORTER_ID=b1b9b856c0aa49c7733aedea0b460b1c118c2ff1296db77bdcf762e6e8ff91c5
before_install:
- yes | gem update --system --force
- gem install bundler
- nvm install 'lts/*'
- nvm use 'lts/*'
install:
- bundle install --jobs=3 --retry=3
- yarn insta... | <|file_sep|>original/.travis.yml
dist: focal
services:
- mysql
language: ruby
env: CODECLIMATE_REPO_TOKEN=b1b9b856c0aa49c7733aedea0b460b1c118c2ff1296db77bdcf762e6e8ff91c5
before_install:
- yes | gem update --system --force
- gem install bundler
- nvm install 'lts/*'
- nvm use 'lts/*'
install:
- bundle insta... | 13046b5a81b2064b42c3681b1dfb74d47b8c3b08 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/helpers/spree/api/api_helpers_decorator.rb.diff
original:
@@order_attributes = []
updated:
@order_attributes = []
<|file_sep|>original/app/helpers/spree/api/api_helpers_decorator.rb
Spree::Api::ApiHelpers.class_eval do
alias_method :orig_order_attributes, :order_attributes
@@order_attributes =... | Spree::Api::ApiHelpers.class_eval do
alias_method :orig_order_attributes, :order_attributes
@order_attributes = []
def self.extended_order_attributes
@order_attributes
end
def order_attributes
orig_order_attributes + Spree::Api::ApiHelpers.extended_order_attributes
end
end | <|file_sep|>app/helpers/spree/api/api_helpers_decorator.rb.diff
original:
@@order_attributes = []
updated:
@order_attributes = []
<|file_sep|>original/app/helpers/spree/api/api_helpers_decorator.rb
Spree::Api::ApiHelpers.class_eval do
alias_method :orig_order_attributes, :order_attributes
@@order_attributes =... | 593fa6b6ea536f14ba6a1c458eb874788425ab45 | app/helpers/spree/api/api_helpers_decorator.rb | app/helpers/spree/api/api_helpers_decorator.rb | Ruby |
<|file_sep|>original/packages/io/io-string-like.yaml
<|file_sep|>current/packages/io/io-string-like.yaml
<|file_sep|>updated/packages/io/io-string-like.yaml | homepage: https://github.com/clintonmead/io-string-like#readme
changelog-type: ''
hash: cf97ad47d201c715954ffaf6bc055e792861731ab6c50c56272504c4519c25c3
test-bench-deps: {}
maintainer: clintonmead@gmail.com
synopsis: Classes to handle Prelude style IO functions for different datatypes
changelog: ''
basic-deps:
bytest... | <|file_sep|>original/packages/io/io-string-like.yaml
<|file_sep|>current/packages/io/io-string-like.yaml
<|file_sep|>updated/packages/io/io-string-like.yaml
homepage: https://github.com/clintonmead/io-string-like#readme
changelog-type: ''
hash: cf97ad47d201c715954ffaf6bc055e792861731ab6c50c56272504c4519c25c3
test-ben... | 50051519049e862e4ea17ee153bf20f538b3e52a | packages/io/io-string-like.yaml | packages/io/io-string-like.yaml | YAML |
<|file_sep|>original/articles/topics/guides/index.md
useCase: development
---
<div class="topic-page-header">
<div data-name="example" class="topic-page-badge"></div>
<h1>Guides</h1>
<p>
In addition to the docs featured on the documentation homepage, there are other materials many find useful. The following ... | useCase: development
---
<div class="topic-page-header">
<div data-name="example" class="topic-page-badge"></div>
<h1>Guides</h1>
<p>
In addition to the docs featured on the documentation homepage, there are other materials many find useful. The following is a list of commonly-used docs, guides, and tutorial... | <|file_sep|>original/articles/topics/guides/index.md
useCase: development
---
<div class="topic-page-header">
<div data-name="example" class="topic-page-badge"></div>
<h1>Guides</h1>
<p>
In addition to the docs featured on the documentation homepage, there are other materials many find useful. The following ... | a770a7b15a919af61526c7eceb3acd86846e575e | articles/topics/guides/index.md | articles/topics/guides/index.md | Markdown |
<|file_sep|>original/_posts/2015-08-20-myo-kyaw-talks-about-foundation.markdown
---
layout: post
title: "ZURB Foundation - A more customizable front end framework"
subtitle: "Learn to build unique sites with Foundation"
date: 2015-08-20 12:00:00
author: "Myo T Kyaw"
header-img: "img/home-office2.jp... | ---
layout: post
title: "ZURB Foundation - A more customizable front end framework"
subtitle: "Learn to build unique sites with Foundation"
date: 2015-08-20 12:00:00
author: "Myo T Kyaw"
header-img: "img/home-office2.jpg"
---
## Background on Myo
Myo is an apprentice at the Firehose Project codin... | <|file_sep|>original/_posts/2015-08-20-myo-kyaw-talks-about-foundation.markdown
---
layout: post
title: "ZURB Foundation - A more customizable front end framework"
subtitle: "Learn to build unique sites with Foundation"
date: 2015-08-20 12:00:00
author: "Myo T Kyaw"
header-img: "img/home-office2.jp... | 2b4219629268bbeec19f8eed03a4d11356d850e6 | _posts/2015-08-20-myo-kyaw-talks-about-foundation.markdown | _posts/2015-08-20-myo-kyaw-talks-about-foundation.markdown | Markdown |
<|file_sep|>original/core/packages.el
(package! visual-fill-column)
(package! restart-emacs)
;; core-editor.el
(package! ace-link)
(package! ace-window)
(package! avy)
(package! command-log-mode)
(package! dtrt-indent)
(package! expand-region)
(package! helpful)
(package! pcre2el)
(package! smartparens)
(package! undo... | ;; core-editor.el
(package! ace-link)
(package! ace-window)
(package! avy)
(package! command-log-mode)
(package! dtrt-indent)
(package! expand-region)
(package! helpful)
(package! pcre2el)
(package! smartparens)
(package! undo-tree)
;; core-projects.el
(package! projectile)
;; core-keybinds.el
(package! which-key)
(p... | <|file_sep|>original/core/packages.el
(package! visual-fill-column)
(package! restart-emacs)
;; core-editor.el
(package! ace-link)
(package! ace-window)
(package! avy)
(package! command-log-mode)
(package! dtrt-indent)
(package! expand-region)
(package! helpful)
(package! pcre2el)
(package! smartparens)
(package! undo... | 1d99ee5017d325fd1e665ae5e1dd260984cfb9fa | core/packages.el | core/packages.el | Emacs Lisp |
<|file_sep|>original/.travis.yml
language: groovy
jdk:
- openjdk7
- oraclejdk8
env:
global:
- GRADLE_OPTS="-Xmx1024m -Xms256m -XX:MaxPermSize=256m -XX:PermSize=256m"
script:
- ./gradlew clean build uploadArchives --full-stacktrace
- cd samples/example && ./gradlew clean webResourceCompile --full-stacktra... | language: groovy
jdk:
- openjdk7
- oraclejdk8
env:
global:
- GRADLE_OPTS="-Xmx1536m -Xms256m -XX:MaxPermSize=256m -XX:PermSize=256m"
script:
- ./gradlew clean build uploadArchives --full-stacktrace
- cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../
after_success:
... | <|file_sep|>original/.travis.yml
language: groovy
jdk:
- openjdk7
- oraclejdk8
env:
global:
- GRADLE_OPTS="-Xmx1024m -Xms256m -XX:MaxPermSize=256m -XX:PermSize=256m"
script:
- ./gradlew clean build uploadArchives --full-stacktrace
- cd samples/example && ./gradlew clean webResourceCompile --full-stacktra... | 9be901e182629f41e491bb9b4f5c38371eadcf04 | .travis.yml | .travis.yml | YAML |
<|file_sep|>test/fixtures/Gruntfile-execArgv.js.diff
original:
updated:
var util = require('../../');
<|file_sep|>original/test/fixtures/Gruntfile-execArgv.js
module.exports = function(grunt) {
grunt.registerTask('default', function(text) {
var done = this.async();
grunt.util.spawn({
grunt: true,
... | module.exports = function(grunt) {
var util = require('../../');
grunt.registerTask('default', function(text) {
var done = this.async();
util.spawn({
grunt: true,
args: ['--gruntfile', 'Gruntfile-execArgv-child.js'],
}, function(err, result, code) {
var matches = result.stdout.match(... | <|file_sep|>test/fixtures/Gruntfile-execArgv.js.diff
original:
updated:
var util = require('../../');
<|file_sep|>original/test/fixtures/Gruntfile-execArgv.js
module.exports = function(grunt) {
grunt.registerTask('default', function(text) {
var done = this.async();
grunt.util.spawn({
grunt: true,
... | 32d179e240ee52163820580ef6278be919cc4510 | test/fixtures/Gruntfile-execArgv.js | test/fixtures/Gruntfile-execArgv.js | JavaScript |
<|file_sep|>blueprints/ember-cli-qunit/index.js.diff
original:
{ name: 'qunit', target: '~1.19.0' },
updated:
{ name: 'qunit', target: '~1.20.0' },
<|file_sep|>original/blueprints/ember-cli-qunit/index.js
module.exports = {
normalizeEntityName: function(... | module.exports = {
normalizeEntityName: function() {
// this prevents an error when the entityName is
// not specified (since that doesn't actually matter
// to us
},
afterInstall: function() {
return this.addBowerPackagesToProject([
{ name: 'qunit', target: '~1.20... | <|file_sep|>blueprints/ember-cli-qunit/index.js.diff
original:
{ name: 'qunit', target: '~1.19.0' },
updated:
{ name: 'qunit', target: '~1.20.0' },
<|file_sep|>original/blueprints/ember-cli-qunit/index.js
module.exports = {
normalizeEntityName: function(... | 50f34d2221d1c2f5ce9b87dca1028584eaa7b674 | blueprints/ember-cli-qunit/index.js | blueprints/ember-cli-qunit/index.js | JavaScript |
<|file_sep|>original/src/resources/views/administrator/users/datatables/roles.blade.php
@foreach($user->roles()->pluck('name')->all() as $role)
<span class="badge badge-info">{!! $role !!}</span>
@endforeach
<|file_sep|>current/src/resources/views/administrator/users/datatables/roles.blade.php
@foreach($user->rol... | @foreach($user->roles()->pluck('name')->all() as $role)
<span class="badge badge-info">{!! $role !!}</span>
@endforeach | <|file_sep|>original/src/resources/views/administrator/users/datatables/roles.blade.php
@foreach($user->roles()->pluck('name')->all() as $role)
<span class="badge badge-info">{!! $role !!}</span>
@endforeach
<|file_sep|>current/src/resources/views/administrator/users/datatables/roles.blade.php
@foreach($user->rol... | a442ed2eec65367773e1c18cede9ddaa64e3c491 | src/resources/views/administrator/users/datatables/roles.blade.php | src/resources/views/administrator/users/datatables/roles.blade.php | PHP |
<|file_sep|>original/gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java
<|file_sep|>current/gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java
<|file_sep|>updated/gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java | package org.genericsystem.cv.application;
import org.genericsystem.cv.AbstractApp;
import org.genericsystem.cv.Img;
import org.genericsystem.cv.utils.NativeLibraryLoader;
import org.opencv.core.Scalar;
import org.opencv.imgcodecs.Imgcodecs;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import ... | <|file_sep|>original/gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java
<|file_sep|>current/gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java
<|file_sep|>updated/gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java
package org.genericsystem.cv.... | e9c038d5f7228d7e6b7a901efe7741635f70159c | gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java | gs-cv/src/main/java/org/genericsystem/cv/application/MeshgridRadonTest.java | Java |
<|file_sep|>original/src/styles/global.scss
@import '~semantic-ui-css/components/reset.css';
@import '~semantic-ui-css/components/site.css';
@import '~semantic-ui-css/components/label.css';
@import '~semantic-ui-css/components/icon.css';
<|file_sep|>current/src/styles/global.scss
@import '~semantic-ui-css/components/re... | @import '~semantic-ui-css/components/reset.css';
@import '~semantic-ui-css/components/site.css';
@import '~semantic-ui-css/components/icon.css'; | <|file_sep|>original/src/styles/global.scss
@import '~semantic-ui-css/components/reset.css';
@import '~semantic-ui-css/components/site.css';
@import '~semantic-ui-css/components/label.css';
@import '~semantic-ui-css/components/icon.css';
<|file_sep|>current/src/styles/global.scss
@import '~semantic-ui-css/components/re... | 826fd1a109c42ffdd8229451320046b14c78819e | src/styles/global.scss | src/styles/global.scss | SCSS |
<|file_sep|>elm/App.elm.diff
original:
type alias Model = Int
updated:
type alias Artist =
{ id: Int
, name: String
}
type alias Model =
List Artist
<|file_sep|>elm/App.elm.diff
original:
42
updated:
[]
<|file_sep|>original/elm/App.elm
main : Signal Html
main =
Signal.map view model
model : Signal Mo... | main : Signal Html
main =
Signal.map view model
model : Signal Model
model = Signal.foldp update init
<| Signal.mergeMany [actions.signal]
actions : Signal.Mailbox Action
actions =
Signal.mailbox NoOp
-- VIEW
view : Model -> Html
view model =
Html.div [] [ Html.text "TODO" ] | <|file_sep|>elm/App.elm.diff
original:
type alias Model = Int
updated:
type alias Artist =
{ id: Int
, name: String
}
type alias Model =
List Artist
<|file_sep|>elm/App.elm.diff
original:
42
updated:
[]
<|file_sep|>original/elm/App.elm
main : Signal Html
main =
Signal.map view model
model : Signal Mo... | a7fb5aa16b7aab3cd81b313766743ba9eedf0f32 | elm/App.elm | elm/App.elm | Elm |
<|file_sep|>app/assets/stylesheets/thredded/components/_form-list.scss.diff
original:
label + label {
updated:
label ~ label {
<|file_sep|>original/app/assets/stylesheets/thredded/components/_form-list.scss
margin-bottom: $thredded-small-spacing;
}
label {
transition: all 0.15s ease-out 0s;
}
labe... | margin-bottom: $thredded-small-spacing;
}
label {
transition: all 0.15s ease-out 0s;
}
label ~ label {
display: inline-block;
font-weight: normal;
margin-right: 15px;
}
}
.thredded--form-list--admin-options {
label {
cursor: pointer;
display: inline-block;
margin-bottom: 0... | <|file_sep|>app/assets/stylesheets/thredded/components/_form-list.scss.diff
original:
label + label {
updated:
label ~ label {
<|file_sep|>original/app/assets/stylesheets/thredded/components/_form-list.scss
margin-bottom: $thredded-small-spacing;
}
label {
transition: all 0.15s ease-out 0s;
}
labe... | fb6c01562043756d14cac5aa0f4fd889320caedc | app/assets/stylesheets/thredded/components/_form-list.scss | app/assets/stylesheets/thredded/components/_form-list.scss | SCSS |
<|file_sep|>client/src/utils/index.js.diff
original:
updated:
import React from 'react';
import { FormGroup, ControlLabel, FormControl, Col } from 'react-bootstrap';
<|file_sep|>original/client/src/utils/index.js
export function diffObjects(prev, cur) {
let newValues = Object.assign({}, prev, cur);
let diff = {};... | for (const [key, value] of Object.entries(newValues)) {
if (prev[key] !== value) {
diff[key] = value;
}
}
return diff;
}
export function cloneObject(obj) {
return Object.assign({}, obj);
}
export function FieldGroup({ id, label, ...props }) {
return (
<FormGroup controlId={id}>
<Col... | <|file_sep|>client/src/utils/index.js.diff
original:
updated:
import React from 'react';
import { FormGroup, ControlLabel, FormControl, Col } from 'react-bootstrap';
<|file_sep|>original/client/src/utils/index.js
export function diffObjects(prev, cur) {
let newValues = Object.assign({}, prev, cur);
let diff = {};... | 87122e3056721999402f8b7cc9408b86de4719b1 | client/src/utils/index.js | client/src/utils/index.js | JavaScript |
<|file_sep|>original/README.md
## Filters
* **beautify** Retabs HTML code. htmlbeautifier 0.0.6.
* **crop** Extracts the specified rectangle from the image. RMagick 2.13.1.
* **sprockets** Runs the content through [Sprockets](http://getsprockets.org). Sprockets 2.
* **svg_to_png** Converts an SVG to PNG. Batik 1.7.
*... | ## Filters
* **beautify** Retabs HTML code. htmlbeautifier 0.0.6.
* **crop** Extracts the specified rectangle from the image. RMagick 2.13.1.
* **sprockets** Runs the content through [Sprockets](http://getsprockets.org). Sprockets 2.
* **svg_to_png** Converts an SVG to PNG. Batik 1.7.
* **yuicompressor** Compress the ... | <|file_sep|>original/README.md
## Filters
* **beautify** Retabs HTML code. htmlbeautifier 0.0.6.
* **crop** Extracts the specified rectangle from the image. RMagick 2.13.1.
* **sprockets** Runs the content through [Sprockets](http://getsprockets.org). Sprockets 2.
* **svg_to_png** Converts an SVG to PNG. Batik 1.7.
*... | 44f515f9df982d82eced6461e957583d18c1ee4c | README.md | README.md | Markdown |
<|file_sep|>original/vagrant_script/conf_jepsen.sh
#!/bin/sh
# Clone/fetch jepsen fork and branch $1
mkdir -p /jepsen
cd /jepsen
branch="${1:-dev}"
if ! git clone -b $branch https://github.com/bogdando/jepsen
then
cd ./jepsen
git remote update
git pull --ff-only
cd -
fi
mkdir -p logs
sync
exit 0
<|file_sep|>cur... | #!/bin/sh
# Clone/fetch jepsen fork and branch $1
rm -rf /jepsen
mkdir -p /jepsen
cd /jepsen
branch="${1:-dev}"
if ! git clone -b $branch https://github.com/bogdando/jepsen
then
cd ./jepsen
git remote update
git pull --ff-only
cd -
fi
mkdir -p logs
sync
exit 0 | <|file_sep|>original/vagrant_script/conf_jepsen.sh
#!/bin/sh
# Clone/fetch jepsen fork and branch $1
mkdir -p /jepsen
cd /jepsen
branch="${1:-dev}"
if ! git clone -b $branch https://github.com/bogdando/jepsen
then
cd ./jepsen
git remote update
git pull --ff-only
cd -
fi
mkdir -p logs
sync
exit 0
<|file_sep|>cur... | 4fd7425293c4799fb42e167576f1a72e40ccb30a | vagrant_script/conf_jepsen.sh | vagrant_script/conf_jepsen.sh | Shell |
<|file_sep|>lib/uuid_mixin.rb.diff
original:
before_validation :set_guid, :on => :create if respond_to?(:before_validation)
updated:
default_value_for(:guid, :allows_nil => false) { SecureRandom.uuid }
<|file_sep|>lib/uuid_mixin.rb.diff
original:
super.tap { |obj| obj.guid = nil }
updated:
super.tap { |... | module UuidMixin
extend ActiveSupport::Concern
included do
default_value_for(:guid, :allows_nil => false) { SecureRandom.uuid }
validates :guid, :uniqueness => true, :presence => true
end
def dup
super.tap { |obj| obj.guid = SecureRandom.uuid }
end
private
def default_name_to_guid
self... | <|file_sep|>lib/uuid_mixin.rb.diff
original:
before_validation :set_guid, :on => :create if respond_to?(:before_validation)
updated:
default_value_for(:guid, :allows_nil => false) { SecureRandom.uuid }
<|file_sep|>lib/uuid_mixin.rb.diff
original:
super.tap { |obj| obj.guid = nil }
updated:
super.tap { |... | 8fca0594471bb2d621ceafe750b45bec34a6ad46 | lib/uuid_mixin.rb | lib/uuid_mixin.rb | Ruby |
<|file_sep|>requirements.txt.diff
original:
appdirs==1.4.3
updated:
<|file_sep|>requirements.txt.diff
original:
colorama==0.3.7
updated:
colorama==0.3.9
<|file_sep|>requirements.txt.diff
original:
coverage==4.2
updated:
coverage==4.4.2
<|file_sep|>requirements.txt.diff
original:
flake8==3.2.0
updated:
flake8==3.5.0
<|... | colorama==0.3.9
configparser==3.5.0
coverage==4.4.2
enum34==1.1.6
flake8==3.5.0
flake8-polyfill==1.0.1
funcsigs==1.0.2
functools32==3.2.3.post2
isort==4.2.15
jsonschema==2.6.0
mando==0.6.4
mccabe==0.6.1
mock==2.0.0
nose==1.3.7
pbr==3.1.1
pycodestyle==2.3.1
pyflakes==1.6.0
radon==2.1.1
rednose==1.2.3
six==1.11.0
termsty... | <|file_sep|>requirements.txt.diff
original:
appdirs==1.4.3
updated:
<|file_sep|>requirements.txt.diff
original:
colorama==0.3.7
updated:
colorama==0.3.9
<|file_sep|>requirements.txt.diff
original:
coverage==4.2
updated:
coverage==4.4.2
<|file_sep|>requirements.txt.diff
original:
flake8==3.2.0
updated:
flake8==3.5.0
<|... | d508cd6f7c63ee782c9cbac2d4a46d9b63773318 | requirements.txt | requirements.txt | Text |
<|file_sep|>README.md.diff
original:
You'll want to clone cargo using --recursive on git, to clone in it's submodule dependencies.
updated:
You'll want to clone cargo using --recursive on git, to clone in it's submodule
dependencies.
<|file_sep|>original/README.md
Cargo downloads your Rust project’s dependencies and co... | Cargo downloads your Rust project’s dependencies and compiles your project.
Learn more at http://crates.io/.
## Compiling cargo
You'll want to clone cargo using --recursive on git, to clone in it's submodule
dependencies.
```
$ git clone --recursive https://github.com/rust-lang/cargo
```
or
```
$ git submodule init
... | <|file_sep|>README.md.diff
original:
You'll want to clone cargo using --recursive on git, to clone in it's submodule dependencies.
updated:
You'll want to clone cargo using --recursive on git, to clone in it's submodule
dependencies.
<|file_sep|>original/README.md
Cargo downloads your Rust project’s dependencies and co... | eb7a16376f432c50d55c8ce83fe03cb903c911c5 | README.md | README.md | Markdown |
<|file_sep|>original/_posts/2017-03-27-on-removing-a-slack-team.markdown
<|file_sep|>current/_posts/2017-03-27-on-removing-a-slack-team.markdown
<|file_sep|>updated/_posts/2017-03-27-on-removing-a-slack-team.markdown | ---
title: "On removing a slack team you're no longer part of AKA Slack App Catch-22"
date: 2017-03-27 07:30:00
---
Imagine your account was removed from a Slack team. That team still has an icon in the app though. It's useless to you now, so you want to remove it. You right click and remove the team, but to your s... | <|file_sep|>original/_posts/2017-03-27-on-removing-a-slack-team.markdown
<|file_sep|>current/_posts/2017-03-27-on-removing-a-slack-team.markdown
<|file_sep|>updated/_posts/2017-03-27-on-removing-a-slack-team.markdown
---
title: "On removing a slack team you're no longer part of AKA Slack App Catch-22"
date: 2017-0... | d383bf06908408abd44078099115c31d7dc49508 | _posts/2017-03-27-on-removing-a-slack-team.markdown | _posts/2017-03-27-on-removing-a-slack-team.markdown | Markdown |
<|file_sep|>original/assets/stylesheets/elements/_table.scss
margin: 0 0 $baseline-grid-unit * 4;
text-align: left;
@include media(tablet) {
margin-bottom: $baseline-grid-unit * 8;
}
}
th,
td {
@include core-font(16);
border-bottom: 1px solid $grey-2;
padding: ($baseline-grid-u... | margin-bottom: $baseline-grid-unit * 8;
}
}
th,
td {
@include core-font(16);
border-bottom: 1px solid $grey-2;
padding: ($baseline-grid-unit * 2);
vertical-align: top;
}
th {
@include bold-font(16);
text-align: left;
}
[align="right"] {
text-align: right;
}
} | <|file_sep|>original/assets/stylesheets/elements/_table.scss
margin: 0 0 $baseline-grid-unit * 4;
text-align: left;
@include media(tablet) {
margin-bottom: $baseline-grid-unit * 8;
}
}
th,
td {
@include core-font(16);
border-bottom: 1px solid $grey-2;
padding: ($baseline-grid-u... | ca412e87bf93d531f71510ae05fbc86f0e35c44e | assets/stylesheets/elements/_table.scss | assets/stylesheets/elements/_table.scss | SCSS |
<|file_sep|>original/lib/miq_automation_engine/service_models/miq_ae_service_service_orchestration.rb
module MiqAeMethodService
class MiqAeServiceServiceOrchestration < MiqAeServiceService
require_relative "mixins/miq_ae_service_service_orchestration_mixin"
include MiqAeServiceServiceOrchestrationMixin
e... | module MiqAeMethodService
class MiqAeServiceServiceOrchestration < MiqAeServiceService
require_relative "mixins/miq_ae_service_service_orchestration_mixin"
include MiqAeServiceServiceOrchestrationMixin
expose :stack_name
expose :stack_name=
expose :stack_ems_ref
expose :stack_options
expo... | <|file_sep|>original/lib/miq_automation_engine/service_models/miq_ae_service_service_orchestration.rb
module MiqAeMethodService
class MiqAeServiceServiceOrchestration < MiqAeServiceService
require_relative "mixins/miq_ae_service_service_orchestration_mixin"
include MiqAeServiceServiceOrchestrationMixin
e... | f8c10570997b3355f0ac13d3bf7db388caec6e73 | lib/miq_automation_engine/service_models/miq_ae_service_service_orchestration.rb | lib/miq_automation_engine/service_models/miq_ae_service_service_orchestration.rb | Ruby |
<|file_sep|>original/test/cookbooks/test/recipes/centos-6-helper.rb
# CentOS 6 on Bento requires the iptables modules loading
%w(ip_tables iptable_filter iptable_mangle iptable_nat).each do |mod|
next if node['kernel']['modules'].keys.include?(mod)
begin
kernel_module mod do
action :load
end
rescu... | # CentOS 6 on Bento requires the iptables modules loading
%w(ip_tables iptable_filter iptable_mangle iptable_nat).each do |mod|
next if node['kernel']['modules'].keys.include?(mod)
kernel_module mod do
returns [0, 1]
action :load
end
end | <|file_sep|>original/test/cookbooks/test/recipes/centos-6-helper.rb
# CentOS 6 on Bento requires the iptables modules loading
%w(ip_tables iptable_filter iptable_mangle iptable_nat).each do |mod|
next if node['kernel']['modules'].keys.include?(mod)
begin
kernel_module mod do
action :load
end
rescu... | 220eac5c970e90395eacb839217c64495bfaa64e | test/cookbooks/test/recipes/centos-6-helper.rb | test/cookbooks/test/recipes/centos-6-helper.rb | Ruby |
<|file_sep|>original/.readthedocs.yml
---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.7
install:
- method: pip
path: .
<|file_sep|>current/.readthedocs.yml
---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.7
install:
- method: pip
path: .
<|f... | ---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.9
install:
- method: pip
path: . | <|file_sep|>original/.readthedocs.yml
---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.7
install:
- method: pip
path: .
<|file_sep|>current/.readthedocs.yml
---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.7
install:
- method: pip
path: .
<|f... | d267acd6abef4346d4ab187e1cf3c9430c2b0106 | .readthedocs.yml | .readthedocs.yml | YAML |
<|file_sep|>server/templates/app.js.diff
original:
updated:
var pendingRequest = undefined;
<|file_sep|>server/templates/app.js.diff
original:
updated:
if (pendingRequest) {
pendingRequest.abort();
}
<|file_sep|>original/server/templates/app.js
return;
}
var query = $("#query").val();
for (var x=0... | if (e.which === 0) {
return;
}
var query = $("#query").val();
if (pendingRequest) {
pendingRequest.abort();
}
for (var x=0; x<timeouts.length; x++) {
clearTimeout(timeouts[x]);
}
pendingRequest = $.getJSON(
"/search",
{query: query},
function processQueryResult(data) {
$(... | <|file_sep|>server/templates/app.js.diff
original:
updated:
var pendingRequest = undefined;
<|file_sep|>server/templates/app.js.diff
original:
updated:
if (pendingRequest) {
pendingRequest.abort();
}
<|file_sep|>original/server/templates/app.js
return;
}
var query = $("#query").val();
for (var x=0... | 165bec0706f54ff1f3eee8bc0d58c3bdf3213c34 | server/templates/app.js | server/templates/app.js | JavaScript |
<|file_sep|>original/package.json
"lodash": "4.11.2",
"nomnom": "1.8.1"
},
"devDependencies": {
"ava": "0.14.0",
"babel-eslint": "6.0.4",
"babel-preset-es2015": "6.6.0",
"bluebird": "3.3.5",
"chai": "3.5.0",
"diff": "^2.2.2",
"eslint": "2.9.0",
"eslint-config-airbnb-base": "2... | "lodash": "4.11.2",
"nomnom": "1.8.1"
},
"devDependencies": {
"ava": "0.14.0",
"babel-eslint": "6.0.4",
"babel-preset-es2015": "6.6.0",
"bluebird": "3.3.5",
"chai": "3.5.0",
"diff": "^2.2.2",
"eslint": "2.9.0",
"eslint-config-airbnb-base": "3.0.0",
"eslint-plugin-import":... | <|file_sep|>original/package.json
"lodash": "4.11.2",
"nomnom": "1.8.1"
},
"devDependencies": {
"ava": "0.14.0",
"babel-eslint": "6.0.4",
"babel-preset-es2015": "6.6.0",
"bluebird": "3.3.5",
"chai": "3.5.0",
"diff": "^2.2.2",
"eslint": "2.9.0",
"eslint-config-airbnb-base": "2... | bef2e89aa763c8f105d02380a49e760d6c1219cb | package.json | package.json | JSON |
<|file_sep|>original/.codeclimate.yml
eslint:
enabled: true
checks:
fatal:
enabled: false
duplication:
enabled: true
config:
languages:
- javascript
checks:
Similar code:
enabled: false
fixme:
enabled: true
checks:
XXX:
enabled: fal... | checks:
fatal:
enabled: false
duplication:
enabled: true
config:
languages:
- javascript
checks:
Similar code:
enabled: false
fixme:
enabled: true
checks:
XXX:
enabled: false
ratings:
paths:
- "**.js"
exclude_paths:
- "**.test.js" | <|file_sep|>original/.codeclimate.yml
eslint:
enabled: true
checks:
fatal:
enabled: false
duplication:
enabled: true
config:
languages:
- javascript
checks:
Similar code:
enabled: false
fixme:
enabled: true
checks:
XXX:
enabled: fal... | 887d76762aeb0420c6795b8736d89772ff226782 | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/ImportHelsinkiRoadLinksToPostgres.md
<|file_sep|>current/ImportHelsinkiRoadLinksToPostgres.md
<|file_sep|>updated/ImportHelsinkiRoadLinksToPostgres.md | // TODO: How to acquire shape file?
1. Create SQL script from shape file:
`shp2pgsql -s 3067 -g geom -I -S -W LATIN1 tieviiva.shp public.hkiroads > hkiroads.sql`
-s 3067 -> Use correct projection (ETRS89 / ETRS-TM35FIN)
-g geom -> Write road link geometry to `geom` column
-I -> Create spatial index on the geometry
-S... | <|file_sep|>original/ImportHelsinkiRoadLinksToPostgres.md
<|file_sep|>current/ImportHelsinkiRoadLinksToPostgres.md
<|file_sep|>updated/ImportHelsinkiRoadLinksToPostgres.md
// TODO: How to acquire shape file?
1. Create SQL script from shape file:
`shp2pgsql -s 3067 -g geom -I -S -W LATIN1 tieviiva.shp public.hkiroads... | 27478917a27a50b4b5e252736af7afacea1bf369 | ImportHelsinkiRoadLinksToPostgres.md | ImportHelsinkiRoadLinksToPostgres.md | Markdown |
<|file_sep|>original/vmdb/app/models/configuration_manager_foreman.rb
unknown_task_exception(options)
invoke_tasks_queue(options)
end
end
def self.create_audit_event(options)
msg = "'#{options[:task]}' initiated for #{options[:ids].length} #{ui_lookup(:table => 'ext_management_systems').plurali... | refresh_ems(options[:ids])
create_audit_event(options)
else
options[:userid] ||= "system"
unknown_task_exception(options)
invoke_tasks_queue(options)
end
end
def self.create_audit_event(options)
msg = "'#{options[:task]}' initiated for #{options[:ids].length} #{ui_lookup(:... | <|file_sep|>original/vmdb/app/models/configuration_manager_foreman.rb
unknown_task_exception(options)
invoke_tasks_queue(options)
end
end
def self.create_audit_event(options)
msg = "'#{options[:task]}' initiated for #{options[:ids].length} #{ui_lookup(:table => 'ext_management_systems').plurali... | 3ac8e9d415b8f37e90b72e97083835c69e93018b | vmdb/app/models/configuration_manager_foreman.rb | vmdb/app/models/configuration_manager_foreman.rb | Ruby |
<|file_sep|>original/volunteering/templates/volunteering/tags/assignment_detail.html
{{ assignment.duty.event.date|date:"D j M" }}
({{ assignment.duty.event.name }}),
{{ assignment.duty.start_time|time:"g:i A" }} - {{ assignment.duty.end_time|time:"g:i A" }}
for {{ assignment.duty.activity.name|lower }} {% if assignmen... | {% load firstof from future %}
{{ assignment.duty.event.date|date:"D j M" }}
({{ assignment.duty.event.name }}),
{{ assignment.duty.start_time|time:"g:i A" }} - {{ assignment.duty.end_time|time:"g:i A" }}
for {{ assignment.duty.activity.name|lower }} {% if assignment.actual_location %} at the {% firstof assignment.actu... | <|file_sep|>original/volunteering/templates/volunteering/tags/assignment_detail.html
{{ assignment.duty.event.date|date:"D j M" }}
({{ assignment.duty.event.name }}),
{{ assignment.duty.start_time|time:"g:i A" }} - {{ assignment.duty.end_time|time:"g:i A" }}
for {{ assignment.duty.activity.name|lower }} {% if assignmen... | 2afe70d7a64d301f6c6209059c0e16e6f79c3671 | volunteering/templates/volunteering/tags/assignment_detail.html | volunteering/templates/volunteering/tags/assignment_detail.html | HTML |
<|file_sep|>original/app/src/main/java/com/satsumasoftware/timetable/framework/ClassTimeGroup.kt
import org.threeten.bp.LocalTime
import java.util.*
/**
* A data structure merely to group [ClassTime] objects with the same start and end dates as each
* other.
*
* @property startTime The start time all `ClassTime`s... |
import org.threeten.bp.LocalTime
import java.util.*
/**
* A data structure merely to group [ClassTime] objects with the same start and end dates as each
* other.
*
* @property startTime The start time all `ClassTime`s in this group will have
* @property endTime The end time all `ClassTime`s in this group will ha... | <|file_sep|>original/app/src/main/java/com/satsumasoftware/timetable/framework/ClassTimeGroup.kt
import org.threeten.bp.LocalTime
import java.util.*
/**
* A data structure merely to group [ClassTime] objects with the same start and end dates as each
* other.
*
* @property startTime The start time all `ClassTime`s... | 06dfef69cf5357b65a4dd45d3cf5649131ced2dc | app/src/main/java/com/satsumasoftware/timetable/framework/ClassTimeGroup.kt | app/src/main/java/com/satsumasoftware/timetable/framework/ClassTimeGroup.kt | Kotlin |
<|file_sep|>original/LICENSE.txt
The MIT License (MIT)
Copyright (c) 2015 Fatih Cetinkaya (http://github.com/cmfatih/catbox-couchbase)
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without rest... | The MIT License (MIT)
Copyright (c) 2015 Yieldbot, Inc. (http://github.com/yieldbot/catbox-couchbase)
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limita... | <|file_sep|>original/LICENSE.txt
The MIT License (MIT)
Copyright (c) 2015 Fatih Cetinkaya (http://github.com/cmfatih/catbox-couchbase)
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without rest... | 05ab42da1459d8a62ba785132e46c0f3660a2988 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/.github/workflows/release.yml
with:
cond: "${{ startsWith(github.ref, 'refs/tags/') }}"
if_true: ${{ github.ref }}
if_false: ${{ steps.bumpr.outputs.next_version }}
# Setup Go for building reviewdog binary.
- uses: actions/setup-go@v2
if: "... | with:
cond: "${{ startsWith(github.ref, 'refs/tags/') }}"
if_true: ${{ github.ref }}
if_false: ${{ steps.bumpr.outputs.next_version }}
# Setup Go for building reviewdog binary.
- uses: actions/setup-go@v2
if: "steps.tag.outputs.value != ''"
with:
... | <|file_sep|>original/.github/workflows/release.yml
with:
cond: "${{ startsWith(github.ref, 'refs/tags/') }}"
if_true: ${{ github.ref }}
if_false: ${{ steps.bumpr.outputs.next_version }}
# Setup Go for building reviewdog binary.
- uses: actions/setup-go@v2
if: "... | 9ed16369e3f1eb3a8f01d787af8b6ff1cbe1b626 | .github/workflows/release.yml | .github/workflows/release.yml | YAML |
<|file_sep|>original/pattsgui/aboutdialog.py
<|file_sep|>current/pattsgui/aboutdialog.py
<|file_sep|>updated/pattsgui/aboutdialog.py | ##
## patts-qt - Qt GUI client for PATTS
## Copyright (C) 2015 Delwink, LLC
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU Affero General Public License as published by
## the Free Software Foundation, version 3 only.
##
## This program is distributed i... | <|file_sep|>original/pattsgui/aboutdialog.py
<|file_sep|>current/pattsgui/aboutdialog.py
<|file_sep|>updated/pattsgui/aboutdialog.py
##
## patts-qt - Qt GUI client for PATTS
## Copyright (C) 2015 Delwink, LLC
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the G... | 08392cf690ba8f8025ddee7eb494810de5c94bcc | pattsgui/aboutdialog.py | pattsgui/aboutdialog.py | Python |
<|file_sep|>original/app/assets/stylesheets/structures/_guide.sass
// .guide-meta
//
// *************************************
.guide
animation: guide-slide 5s infinite linear
animation-play-state: paused
background-image: image-url('bg-pattern.svg')
background-position: 0 0
background-repeat: repeat
mi... | // .guide-meta
//
// *************************************
.guide
animation: guide-slide 5s infinite linear
animation-play-state: paused
background-image: image-url('bg-pattern.svg')
background-position: 0 0
background-repeat: repeat
min-height: 5em
position: relative
+state
animation-play-sta... | <|file_sep|>original/app/assets/stylesheets/structures/_guide.sass
// .guide-meta
//
// *************************************
.guide
animation: guide-slide 5s infinite linear
animation-play-state: paused
background-image: image-url('bg-pattern.svg')
background-position: 0 0
background-repeat: repeat
mi... | f3d20363ae584fb5adf428dc8329ae325797557a | app/assets/stylesheets/structures/_guide.sass | app/assets/stylesheets/structures/_guide.sass | Sass |
<|file_sep|>original/.travis.yml
---
language: node_js
node_js:
- 0.10
- 0.11
- iojs-v1
before_install:
- npm install -g gulp
install:
- npm install
script:
- npm test
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d696c168d603e493c877
<|file_sep|>current/.travis.yml
---
lang... | ---
language: node_js
node_js:
- 0.10
- 0.11
- iojs-v1.0.4
before_install:
- npm install -g gulp
install:
- npm install
script:
- npm test
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d696c168d603e493c877 | <|file_sep|>original/.travis.yml
---
language: node_js
node_js:
- 0.10
- 0.11
- iojs-v1
before_install:
- npm install -g gulp
install:
- npm install
script:
- npm test
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d696c168d603e493c877
<|file_sep|>current/.travis.yml
---
lang... | c4ccf3936437b0f98719490acea7d50df2fdad42 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.