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/bin/requirements.txt
cachetools==3.1.1
certifi==2019.11.28
chardet==3.0.4
coverage==4.5.4
google-api-python-client==1.7.11
google-auth==1.7.2
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
httplib2==0.14.0
idna==2.8
oauth2client==4.1.3
oauthlib==3.1.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
py... | cachetools==3.1.1
certifi==2019.11.28
chardet==3.0.4
coverage==4.5.4
google-api-python-client==1.7.11
google-auth==1.8.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
httplib2==0.14.0
idna==2.8
oauth2client==4.1.3
oauthlib==3.1.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
python-slugify==4.0.0
pytube==9.5.3
requests... | <|file_sep|>original/bin/requirements.txt
cachetools==3.1.1
certifi==2019.11.28
chardet==3.0.4
coverage==4.5.4
google-api-python-client==1.7.11
google-auth==1.7.2
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
httplib2==0.14.0
idna==2.8
oauth2client==4.1.3
oauthlib==3.1.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
py... | 25170cfa32f760796e7a5faf364a24344a6e1000 | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>original/data_test.py
c = GoogleAPIClient()
if c.access_token is None:
print 'Open the following URL in your Web browser and grant access'
print authentication_request_url
print
print 'Enter the authorization code here:'
code = raw_input('> ')
c.get_token_pair(code)
data.Chann... | if c.access_token is None:
print 'Open the following URL in your Web browser and grant access'
print authentication_request_url
print
print 'Enter the authorization code here:'
code = raw_input('> ')
c.get_token_pair(code)
data.Channel.fetch_user_channel(c)
s = data.Session()
me = s.query(da... | <|file_sep|>original/data_test.py
c = GoogleAPIClient()
if c.access_token is None:
print 'Open the following URL in your Web browser and grant access'
print authentication_request_url
print
print 'Enter the authorization code here:'
code = raw_input('> ')
c.get_token_pair(code)
data.Chann... | 7f4d233c48bcdcd327286f3c2ce4f3e2942e6c3c | data_test.py | data_test.py | Python |
<|file_sep|>original/javascript/NocaptchaField.js
var _noCaptchaFields=_noCaptchaFields || [];
function noCaptchaFieldRender() {
for(var i=0;i<_noCaptchaFields.length;i++) {
var field=document.getElementById('Nocaptcha-'+_noCaptchaFields[i]);
var options={
'sitekey': field.getAttribute(... | var _noCaptchaFields=_noCaptchaFields || [];
function noCaptchaFieldRender() {
for(var i=0;i<_noCaptchaFields.length;i++) {
var field=document.getElementById('Nocaptcha-'+_noCaptchaFields[i]);
var options={
'sitekey': field.getAttribute('data-sitekey'),
'theme': field.getAtt... | <|file_sep|>original/javascript/NocaptchaField.js
var _noCaptchaFields=_noCaptchaFields || [];
function noCaptchaFieldRender() {
for(var i=0;i<_noCaptchaFields.length;i++) {
var field=document.getElementById('Nocaptcha-'+_noCaptchaFields[i]);
var options={
'sitekey': field.getAttribute(... | 14e97545ba507765cd186b549981e0ebc55f1dff | javascript/NocaptchaField.js | javascript/NocaptchaField.js | JavaScript |
<|file_sep|>package.json.diff
original:
"dotenv": "^1.2.x",
updated:
<|file_sep|>original/package.json
"url": "git://github.com/swlkr/tacit.git"
},
"main": "lib/tacit.js",
"scripts": {
"test": "./node_modules/.bin/mocha"
},
"engines": {
"node": "4.x"
},
"dependencies": {
"dotenv": "^1... | },
"main": "lib/tacit.js",
"scripts": {
"test": "./node_modules/.bin/mocha"
},
"engines": {
"node": "4.x"
},
"dependencies": {
"mssql": "^2.3.x",
"q": "1.x",
"tsqljs": "0.0.3"
},
"devDependencies": {
"dotenv": "^1.2.0",
"chai": "^1.9.1",
"chai-as-promised": "^4.1.1",
... | <|file_sep|>package.json.diff
original:
"dotenv": "^1.2.x",
updated:
<|file_sep|>original/package.json
"url": "git://github.com/swlkr/tacit.git"
},
"main": "lib/tacit.js",
"scripts": {
"test": "./node_modules/.bin/mocha"
},
"engines": {
"node": "4.x"
},
"dependencies": {
"dotenv": "^1... | 5287c5b0365a2886436630a5365e529c9367bb79 | package.json | package.json | JSON |
<|file_sep|>original/api_v3/lib/types/resource/KalturaAssetParamsResourceContainer.php
* @var int
*/
public $assetParamsId;
public function validateEntry(entry $dbEntry)
{
parent::validateEntry($dbEntry);
$this->validatePropertyNotNull('resource');
$this->validatePropertyNotNull('assetParamsId');
}... | public $assetParamsId;
public function validateEntry(entry $dbEntry)
{
parent::validateEntry($dbEntry);
$this->validatePropertyNotNull('resource');
$this->validatePropertyNotNull('assetParamsId');
}
public function toObject ( $object_to_fill = null , $props_to_skip = array() )
{
if(!$object_to_fi... | <|file_sep|>original/api_v3/lib/types/resource/KalturaAssetParamsResourceContainer.php
* @var int
*/
public $assetParamsId;
public function validateEntry(entry $dbEntry)
{
parent::validateEntry($dbEntry);
$this->validatePropertyNotNull('resource');
$this->validatePropertyNotNull('assetParamsId');
}... | d5e574ab84cdcaaeb3538a19658c27a4bea20bd0 | api_v3/lib/types/resource/KalturaAssetParamsResourceContainer.php | api_v3/lib/types/resource/KalturaAssetParamsResourceContainer.php | PHP |
<|file_sep|>original/build/tasks/bootstrap-atom.coffee
cp = require '../../script/utils/child-process-wrapper.js'
workDir = null
module.exports = (grunt) ->
grunt.registerTask 'bootstrap-atom', 'Bootstraps Atom', ->
done = @async()
process.chdir(grunt.config.get('workDir'))
cp.safeExec 'node script/boo... | cp = require '../../script/utils/child-process-wrapper.js'
workDir = null
module.exports = (grunt) ->
grunt.registerTask 'bootstrap-atom', 'Bootstraps Atom', ->
done = @async()
process.chdir(grunt.config.get('workDir'))
cp.safeSpawn 'node script/bootstrap --no-quiet', ->
done() | <|file_sep|>original/build/tasks/bootstrap-atom.coffee
cp = require '../../script/utils/child-process-wrapper.js'
workDir = null
module.exports = (grunt) ->
grunt.registerTask 'bootstrap-atom', 'Bootstraps Atom', ->
done = @async()
process.chdir(grunt.config.get('workDir'))
cp.safeExec 'node script/boo... | 6b54fd5cd965bd7568d756ca7e68fc1b59189705 | build/tasks/bootstrap-atom.coffee | build/tasks/bootstrap-atom.coffee | CoffeeScript |
<|file_sep|>original/tests/test_elements_have_owner.py
<|file_sep|>current/tests/test_elements_have_owner.py
<|file_sep|>updated/tests/test_elements_have_owner.py | """
For all relevant model elements, check if there is at least one "owner"
("owner" is a derived union).
This is needed to display all elements in the tree view.
"""
import itertools
import pytest
import gaphor.SysML.diagramitems
import gaphor.UML.diagramitems
from gaphor import UML
from gaphor.core.modeling impor... | <|file_sep|>original/tests/test_elements_have_owner.py
<|file_sep|>current/tests/test_elements_have_owner.py
<|file_sep|>updated/tests/test_elements_have_owner.py
"""
For all relevant model elements, check if there is at least one "owner"
("owner" is a derived union).
This is needed to display all elements in the tr... | 3912416390ebe5df3c883b280cc6acac5169c1f7 | tests/test_elements_have_owner.py | tests/test_elements_have_owner.py | Python |
<|file_sep|>src/Flowcode/FinancialBundle/Resources/config/doctrine/Document.Document.orm.yml.diff
original:
updated:
type:
type: string
length: 255
<|file_sep|>original/src/Flowcode/FinancialBundle/Resources/config/doctrine/Document.Document.orm.yml
nullable: true
da... | nullable: true
date:
type: datetime
balance:
type: float
nullable: true
dueDate:
type: datetime
nullable: true
total:
type: float
totalPayed:
type: float
nullable: true
... | <|file_sep|>src/Flowcode/FinancialBundle/Resources/config/doctrine/Document.Document.orm.yml.diff
original:
updated:
type:
type: string
length: 255
<|file_sep|>original/src/Flowcode/FinancialBundle/Resources/config/doctrine/Document.Document.orm.yml
nullable: true
da... | f321af1cb1716b3049a93206ee8fc3abfa5b1856 | src/Flowcode/FinancialBundle/Resources/config/doctrine/Document.Document.orm.yml | src/Flowcode/FinancialBundle/Resources/config/doctrine/Document.Document.orm.yml | YAML |
<|file_sep|>original/composer.json
"email": "decebal.dobrica@gmail.com",
"homepage": "http://decebalonprogramming.net",
"role": "Developer"
}
],
"require": {
"php": ">=7.2.0",
"henrikbjorn/phpspec-code-coverage": "~3.0"
},
"require-dev": {
... | "email": "decebal.dobrica@gmail.com",
"homepage": "http://decebalonprogramming.net",
"role": "Developer"
}
],
"require": {
"php": ">=7.2.0",
"henrikbjorn/phpspec-code-coverage": "~3.0"
},
"require-dev": {
"phpunit/phpunit": "8.5.0",
... | <|file_sep|>original/composer.json
"email": "decebal.dobrica@gmail.com",
"homepage": "http://decebalonprogramming.net",
"role": "Developer"
}
],
"require": {
"php": ">=7.2.0",
"henrikbjorn/phpspec-code-coverage": "~3.0"
},
"require-dev": {
... | f75c0fc11d3a0b101d1960e7b1b27a7614ff0118 | composer.json | composer.json | JSON |
<|file_sep|>original/README.md

[Panamax](http://panamax.io) is a containerized app creator with an open-source app marketplace hosted in GitHub. Panamax provides a friendly interface for users of Docker... | 
[](https://imagelayers.io/?images=centurylink/panamax-marathon-adapter:latest 'Get your own badge on imagelayers.io')
[Panamax]... | <|file_sep|>original/README.md

[Panamax](http://panamax.io) is a containerized app creator with an open-source app marketplace hosted in GitHub. Panamax provides a friendly interface for users of Docker... | b215f55bf2372c30568e700dc9a9dab2ea1635f5 | README.md | README.md | Markdown |
<|file_sep|>original/src/lt/objs/notifos.cljs
(set-msg! msg))
(statusbar/loader-inc))
(defn done-working
([]
(statusbar/loader-dec))
([msg]
(set-msg! msg)
(statusbar/loader-dec)))
(defn msg* [m opts]
(let [m (if (string? m)
m
(pr-str m))]
(object/merge! statusbar/statu... | (set-msg! msg))
(statusbar/loader-inc))
(defn done-working
([]
(statusbar/loader-dec))
([msg]
(set-msg! msg)
(statusbar/loader-dec)))
(defn msg* [m & [opts]]
(let [m (if (string? m)
m
(pr-str m))]
(object/merge! statusbar/statusbar-loader (merge {:message m :class ""} ... | <|file_sep|>original/src/lt/objs/notifos.cljs
(set-msg! msg))
(statusbar/loader-inc))
(defn done-working
([]
(statusbar/loader-dec))
([msg]
(set-msg! msg)
(statusbar/loader-dec)))
(defn msg* [m opts]
(let [m (if (string? m)
m
(pr-str m))]
(object/merge! statusbar/statu... | ea62e8c780629940ae18d79bf79e24bb995ad40a | src/lt/objs/notifos.cljs | src/lt/objs/notifos.cljs | Clojure |
<|file_sep|>original/CHANGELOG.md
# master
### Views
- Multiput now supports softdeleting related models. (#24)
- Deleting models which don't have a "deleted" attribute now results in hard delete. (#42)
- Filtering on datetime fields allows filtering on (milli)second instead of date granulatity. (#41)
- The `_store`,... | # master
### Views
- Multiput now supports softdeleting related models. (#24)
- Deleting models which don't have a "deleted" attribute now results in hard delete. (#42)
- Filtering on datetime fields allows filtering on (milli)second instead of date granulatity. (#41)
- The `_store`, `_store_field` and `_store__<fiel... | <|file_sep|>original/CHANGELOG.md
# master
### Views
- Multiput now supports softdeleting related models. (#24)
- Deleting models which don't have a "deleted" attribute now results in hard delete. (#42)
- Filtering on datetime fields allows filtering on (milli)second instead of date granulatity. (#41)
- The `_store`,... | 105b53dcdaf3b2789b0db1cfdcb53967ac7e41d3 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/src/test/java/com/uwetrottmann/getglue/BaseTestCase.java
import junit.framework.TestCase;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import java.io.IOException;
public abstract class BaseTestCase exten... | import junit.framework.TestCase;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import java.io.IOException;
public abstract class BaseTestCase extends TestCase {
protected static final String CLIENT_ID = "7FD930E5C9D030F6... | <|file_sep|>original/src/test/java/com/uwetrottmann/getglue/BaseTestCase.java
import junit.framework.TestCase;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import java.io.IOException;
public abstract class BaseTestCase exten... | 8fc1dbcd7ad9d07def439cb1f9ff3ea6e06519a0 | src/test/java/com/uwetrottmann/getglue/BaseTestCase.java | src/test/java/com/uwetrottmann/getglue/BaseTestCase.java | Java |
<|file_sep|>src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java.diff
original:
updated:
import com.github.aureliano.achmed.os.fs.IFileProvider;
<|file_sep|>original/src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java
import com.github.aureliano.achmed.types.OS;
import com.github.aureliano... | import com.github.aureliano.achmed.types.OperatingSystemFamily;
public interface IOperatingSystem {
public abstract Linux prototype();
public abstract IPackageManager getDefaultPackageManager();
public abstract IService getDefaultServiceManager();
public abstract IFileProvider getDefaultFileProvider();
p... | <|file_sep|>src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java.diff
original:
updated:
import com.github.aureliano.achmed.os.fs.IFileProvider;
<|file_sep|>original/src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java
import com.github.aureliano.achmed.types.OS;
import com.github.aureliano... | 22c867ca7a0287a1fa5db0adacbe62151e5f089b | src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java | src/main/java/com/github/aureliano/achmed/os/IOperatingSystem.java | Java |
<|file_sep|>setup.py.diff
original:
extensions = [ Extension( 'SuchTree', sourcefiles ) ]
updated:
extensions = [ Extension( 'SuchTree', sourcefiles, include_dirs=[numpy.get_include()]) ]
<|file_sep|>setup.py.diff
original:
extensions = cythonize( extensions, language_level = "3",
include_path =... | #!/usr/bin/env python
from setuptools import Extension, setup
from Cython.Build import cythonize
import numpy
sourcefiles = [ 'SuchTree/SuchTree.pyx' ]
extensions = [ Extension( 'SuchTree', sourcefiles, include_dirs=[numpy.get_include()]) ]
extensions = cythonize( extensions, language_level = "3" )
setup(
ext_... | <|file_sep|>setup.py.diff
original:
extensions = [ Extension( 'SuchTree', sourcefiles ) ]
updated:
extensions = [ Extension( 'SuchTree', sourcefiles, include_dirs=[numpy.get_include()]) ]
<|file_sep|>setup.py.diff
original:
extensions = cythonize( extensions, language_level = "3",
include_path =... | 315bc9ada4452517df245b74b55a96c05209ef8a | setup.py | setup.py | Python |
<|file_sep|>original/application/config/development/application.php
<?php
return array(
'key' => "6d022a8b71d4f6a0d3b89f587257eb70",
);
<|file_sep|>current/application/config/development/application.php
<?php
return array(
'key' => "6d022a8b71d4f6a0d3b89f587257eb70",
);
<|file_sep|>updated/application/config/deve... | <?php
return array(
'key' => "6d022a8b71d4f6a0d3b89f587257eb70",
'profiler' => true,
); | <|file_sep|>original/application/config/development/application.php
<?php
return array(
'key' => "6d022a8b71d4f6a0d3b89f587257eb70",
);
<|file_sep|>current/application/config/development/application.php
<?php
return array(
'key' => "6d022a8b71d4f6a0d3b89f587257eb70",
);
<|file_sep|>updated/application/config/deve... | 4d73893cafa40c6e3e79698965cf130414648075 | application/config/development/application.php | application/config/development/application.php | PHP |
<|file_sep|>original/app/assets/javascripts/martian_components/components/utils/full_height_header.coffee
@autoInit: ->
$('[full-height-header]').each (i, el) => new @($(el))
constructor: (@el) ->
@component = @el.data('component')
if @component
@inner = @component.inner
else
@inner = ... | @autoInit: ->
$('[full-height-header]').each (i, el) => new @($(el))
constructor: (@el) ->
@component = @el.data('component')
if @component
@inner = @component.inner
else
@inner = @el
@lastWidth = null
@offset = @inner.offset().top
@compute()
$(window).on 'resize', @c... | <|file_sep|>original/app/assets/javascripts/martian_components/components/utils/full_height_header.coffee
@autoInit: ->
$('[full-height-header]').each (i, el) => new @($(el))
constructor: (@el) ->
@component = @el.data('component')
if @component
@inner = @component.inner
else
@inner = ... | 2cbe71c629045989132e7bd97ce5b5716537b475 | app/assets/javascripts/martian_components/components/utils/full_height_header.coffee | app/assets/javascripts/martian_components/components/utils/full_height_header.coffee | CoffeeScript |
<|file_sep|>original/docs/requirements.txt
sphinx==1.7.4
sphinx-issues==0.4.0
git+https://github.com/sloria/alabaster.git@sloria
<|file_sep|>current/docs/requirements.txt
sphinx==1.7.4
sphinx-issues==0.4.0
git+https://github.com/sloria/alabaster.git@sloria
<|file_sep|>updated/docs/requirements.txt | sphinx==1.7.5
sphinx-issues==0.4.0
git+https://github.com/sloria/alabaster.git@sloria | <|file_sep|>original/docs/requirements.txt
sphinx==1.7.4
sphinx-issues==0.4.0
git+https://github.com/sloria/alabaster.git@sloria
<|file_sep|>current/docs/requirements.txt
sphinx==1.7.4
sphinx-issues==0.4.0
git+https://github.com/sloria/alabaster.git@sloria
<|file_sep|>updated/docs/requirements.txt
sphinx==1.7.5
sphinx-... | 8f7588d08940a855be0494004cc354262368251e | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/buildTestSuiteBundle.sh
fi
rm dist/test-SelfTest.wgt 2> /dev/null
rm release/widget-testsuite-$1.zip 2> /dev/null # Remove an already generated bundle.
rm -Rf $TMP_DIR 2> /dev/null
mkdir $TMP_DIR
#cp dist/jil-test-signed/test* $TMP_DIR
cp dist/unsigned/test* $TMP_DIR
cp ReleaseNotes.txt $TMP_DIR... | fi
rm dist/test-SelfTest.wgt 2> /dev/null
rm release/widget-testsuite-$1.zip 2> /dev/null # Remove an already generated bundle.
rm -Rf $TMP_DIR 2> /dev/null
mkdir $TMP_DIR
#cp dist/jil-test-signed/test* $TMP_DIR
cp dist/unsigned/test* $TMP_DIR
cp dist/unsigned/util* $TMP_DIR
cp ReleaseNotes.txt $TMP_DIR
cp all-tests... | <|file_sep|>original/buildTestSuiteBundle.sh
fi
rm dist/test-SelfTest.wgt 2> /dev/null
rm release/widget-testsuite-$1.zip 2> /dev/null # Remove an already generated bundle.
rm -Rf $TMP_DIR 2> /dev/null
mkdir $TMP_DIR
#cp dist/jil-test-signed/test* $TMP_DIR
cp dist/unsigned/test* $TMP_DIR
cp ReleaseNotes.txt $TMP_DIR... | 4d79ef735272027dca92054eae77630bf0b0f25b | buildTestSuiteBundle.sh | buildTestSuiteBundle.sh | Shell |
<|file_sep|>metadata.rb.diff
original:
updated:
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
<|file_sep|>metadata.rb.diff
original:
supports 'centos'
supports 'debian'
supports 'fedora'
supports 'redhat'
supports 'suse'
supports 'ubuntu'
supports 'windows'
updated:
%w(fedora ubuntu debian r... | name 'subversion'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Installs subversion'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.3.0'
%w(fedora ubuntu debian redhat centos suse scientific oracle amazon windows).each do |o... | <|file_sep|>metadata.rb.diff
original:
updated:
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
<|file_sep|>metadata.rb.diff
original:
supports 'centos'
supports 'debian'
supports 'fedora'
supports 'redhat'
supports 'suse'
supports 'ubuntu'
supports 'windows'
updated:
%w(fedora ubuntu debian r... | f72b72ba573ce547581414662a778de313d9218f | metadata.rb | metadata.rb | Ruby |
<|file_sep|>test/valid_response.js.diff
original:
client.query("integrate 2x", function(err, result) {
t.notOk(err, "err should be null")
t.type(result, "object")
t.ok(result.length)
t.equal(result.length, 2, "result length should be 2")
t.equal(result[0].primary, true, "first pod should be primar... | t.ok(result.length)
t.equal(result.length, 2, "result length should be 2")
t.equal(result[0].primary, true, "first pod should be primary")
t.equal(result[0].subpods[0].value, ' integral 2 x dx = x^2+constant', 'result should be constant')
t.ok(result[0].subpods[0].image, "result should hav... | <|file_sep|>test/valid_response.js.diff
original:
client.query("integrate 2x", function(err, result) {
t.notOk(err, "err should be null")
t.type(result, "object")
t.ok(result.length)
t.equal(result.length, 2, "result length should be 2")
t.equal(result[0].primary, true, "first pod should be primar... | eee44ccb383daf47cad99c134826877b2ee63a37 | test/valid_response.js | test/valid_response.js | JavaScript |
<|file_sep|>lib/chess_board.js.diff
original:
var army1 = parsedArgs.army1;
var army2 = parsedArgs.army2;
updated:
var armyData = [];
armyData.push({
army: parsedArgs.army1,
key: 'army1',
activePieces: []
});
armyData.push({
army: parsedArgs.army2,
key: 'army1',
activePieces: []
... |
existing_piece = spaces.get({ row: row, col: col });
if (existing_piece === undefined) {
addToActivePieces(piece);
spaces.set({ item: piece, row: row, col: col });
} else {
throw('space taken');
}
}
function dataFor(army) {
data = _.find(armyData, function(data) {
retu... | <|file_sep|>lib/chess_board.js.diff
original:
var army1 = parsedArgs.army1;
var army2 = parsedArgs.army2;
updated:
var armyData = [];
armyData.push({
army: parsedArgs.army1,
key: 'army1',
activePieces: []
});
armyData.push({
army: parsedArgs.army2,
key: 'army1',
activePieces: []
... | c7044bc2ed4339e3212f14486c2dc3dd245d2b1c | lib/chess_board.js | lib/chess_board.js | JavaScript |
<|file_sep|>original/packages/pundle-chunk-generator-css/src/index.js
}
const publicPath = context.getPublicPath(chunk)
const sourceMapUrl = context.getPublicPath({ ...chunk, format: 'css.map' })
if (sourceMapUrl && file.sourceMap) {
contents = `${
typeof contents === 'string'... | }
const publicPath = context.getPublicPath(chunk)
const sourceMapUrl = context.getPublicPath({ ...chunk, format: 'css.map' })
if (sourceMapUrl && file.sourceMap) {
contents = `${
typeof contents === 'string' ? contents : contents.toString()
}\n/*# sourceMappingURL=${pa... | <|file_sep|>original/packages/pundle-chunk-generator-css/src/index.js
}
const publicPath = context.getPublicPath(chunk)
const sourceMapUrl = context.getPublicPath({ ...chunk, format: 'css.map' })
if (sourceMapUrl && file.sourceMap) {
contents = `${
typeof contents === 'string'... | eeffa2b9c9b9a2c9392b3da18c84d88659d039e2 | packages/pundle-chunk-generator-css/src/index.js | packages/pundle-chunk-generator-css/src/index.js | JavaScript |
<|file_sep|>.conda_deploy.sh.diff
original:
conda config --set anaconda_upload no;
updated:
conda config --set anaconda_upload no
<|file_sep|>original/.conda_deploy.sh
if [[ "${CONDA}" == "true" ]]; then
conda config --set anaconda_upload no;
conda install -n root conda-build anaconda-client
echo... | if [[ "${CONDA}" == "true" ]]; then
conda config --set anaconda_upload no
conda install -n root conda-build anaconda-client
echo "Building package"
conda build .
echo "Deploying to Anaconda.org..."
anaconda -t $ANACONDA_TOKEN upload --force --no-progress ${HOME}/miniconda/conda-bld/**/${PACK... | <|file_sep|>.conda_deploy.sh.diff
original:
conda config --set anaconda_upload no;
updated:
conda config --set anaconda_upload no
<|file_sep|>original/.conda_deploy.sh
if [[ "${CONDA}" == "true" ]]; then
conda config --set anaconda_upload no;
conda install -n root conda-build anaconda-client
echo... | f6635c770f76438f30bb9afcf0921efc366ea5eb | .conda_deploy.sh | .conda_deploy.sh | Shell |
<|file_sep|>original/src/components/_blank-prop-component/blank-prop-component.vue
<style src="./blank-prop-component.css" />
<script>
export default {
components: { },
props: ['tip', 'active', 'author'] // The list of supported custom attributes
};
</script>
<template>
<!-- How to bind custom attributes to H... | <style src="./blank-prop-component.css" />
<script>
export default {
components: { },
props: { // List of supported custom attributes, where key is attribute name and value is an attribute value type
tip: String,
author: String,
active: Boolean
},
// props: ['tip', 'author'] // ALternative simplifie... | <|file_sep|>original/src/components/_blank-prop-component/blank-prop-component.vue
<style src="./blank-prop-component.css" />
<script>
export default {
components: { },
props: ['tip', 'active', 'author'] // The list of supported custom attributes
};
</script>
<template>
<!-- How to bind custom attributes to H... | d71b8a8e85ec3b8470c0c2b81a4d493c3d3c06d4 | src/components/_blank-prop-component/blank-prop-component.vue | src/components/_blank-prop-component/blank-prop-component.vue | Vue |
<|file_sep|>original/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} -- %msg%n</pattern>
</encoder>
... | <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M\(%line\) -- %msg%n</pattern>
</encoder>
</appender>
<logger name="io.github.bo... | <|file_sep|>original/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} -- %msg%n</pattern>
</encoder>
... | 41966bb00931ed2e0f5ece9021596715402c9e15 | src/test/resources/logback-test.xml | src/test/resources/logback-test.xml | XML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
- 2.0.0
deploy:
provider: heroku
api_key:
secure: VdM7Phmni7L27niI/gG8MUX8gsCuRZmdU0UauJ1bcpqfzVX+tnSLYuW2TstOQAGzlZ4aaYtT9uocVk15shDKrlMYngITD76eKpQyTLP+mjt/t+dlQRM6oI4DRr5xM15D7qR6+bFxiNeSxA9s/oPYtT8gkC9Oc8fYsFniDqspxeQ=
app: isberlinhappytoday
on... | language: ruby
rvm:
- 2.1
- 2.0.0
deploy:
provider: heroku
api_key:
secure: Mqmb+bIj3BFSqLJTVjDTMNkNzsNPz3jZw2BOOSfv0+2XiVpW4CLpOdPqdZLKjBEp2nnP+peQok5M1gdvg7vY5s32BWed2UjRjdRBfDhgH/NyvksnyHmGtzkA2eh7zXPQ8WXY3QQfkyY9lySka4/wuX/DODUA0sVuondvP3Fchsg=
app: isberlinhappytoday
on:
branch: master
rvm: 2.0... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
- 2.0.0
deploy:
provider: heroku
api_key:
secure: VdM7Phmni7L27niI/gG8MUX8gsCuRZmdU0UauJ1bcpqfzVX+tnSLYuW2TstOQAGzlZ4aaYtT9uocVk15shDKrlMYngITD76eKpQyTLP+mjt/t+dlQRM6oI4DRr5xM15D7qR6+bFxiNeSxA9s/oPYtT8gkC9Oc8fYsFniDqspxeQ=
app: isberlinhappytoday
on... | b1588ceee3b4043f26472d2c3626e81aa028c54a | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/views/backend/spree/admin/shared/_navigation_footer.html.erb.diff
original:
<ul id="login-nav" class="inline-menu">
updated:
<|file_sep|>original/lib/views/backend/spree/admin/shared/_navigation_footer.html.erb
<% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="u... | <% if spree_current_user %>
<li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
<li data-hook="user-logout-link" class='fa fa... | <|file_sep|>lib/views/backend/spree/admin/shared/_navigation_footer.html.erb.diff
original:
<ul id="login-nav" class="inline-menu">
updated:
<|file_sep|>original/lib/views/backend/spree/admin/shared/_navigation_footer.html.erb
<% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="u... | 2a82c9db44afd961e18f6a9f0c25d6e2a6124637 | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb | HTML+ERB |
<|file_sep|>MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs.diff
original:
public AdditionalDetailItem(int id, string label, string value)
updated:
public AdditionalDetailItem(long id, string label, string value)
<|file_sep|>original/MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs
{
... | {
/// <summary>Instance of a custom asset detail data point/summary>
public class AdditionalDetailItem
{
public AdditionalDetailItem(long id, string label, string value)
{
Id = id;
Label = label;
Value = value;
}
/// <summary>Identifier of the custom detail</summary>
public ... | <|file_sep|>MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs.diff
original:
public AdditionalDetailItem(int id, string label, string value)
updated:
public AdditionalDetailItem(long id, string label, string value)
<|file_sep|>original/MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs
{
... | 6290ed09bc9f64e8fcb3b9eddfdc195dc0150f2a | MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs | MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs | C# |
<|file_sep|>original/.github/stale.yml
[I'm a bot](https://github.com/probot/stale) so this may be in error! If this
issue should remain open, could someone (the author, a team member, or any
interested party) please comment to that effect?
The team would be especially grateful if such a comment included de... |
[I'm a bot](https://github.com/probot/stale) so this may be in error! If this
issue should remain open, could someone (the author, a team member, or any
interested party) please comment to that effect?
The team would be especially grateful if such a comment included details such
as:
* Is this still re... | <|file_sep|>original/.github/stale.yml
[I'm a bot](https://github.com/probot/stale) so this may be in error! If this
issue should remain open, could someone (the author, a team member, or any
interested party) please comment to that effect?
The team would be especially grateful if such a comment included de... | 812a426c844819c3a847100a0adb98d8d2c8ffd9 | .github/stale.yml | .github/stale.yml | YAML |
<|file_sep|>original/misc-scripts/ontology/sql/patch_84_85_b.sql
<|file_sep|>current/misc-scripts/ontology/sql/patch_84_85_b.sql
<|file_sep|>updated/misc-scripts/ontology/sql/patch_84_85_b.sql | -- Copyright [1999-2016] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
--
-- 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/... | <|file_sep|>original/misc-scripts/ontology/sql/patch_84_85_b.sql
<|file_sep|>current/misc-scripts/ontology/sql/patch_84_85_b.sql
<|file_sep|>updated/misc-scripts/ontology/sql/patch_84_85_b.sql
-- Copyright [1999-2016] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
--
-- Licensed under... | f6cb0afe70d93022bd68327bffd051afa33922e7 | misc-scripts/ontology/sql/patch_84_85_b.sql | misc-scripts/ontology/sql/patch_84_85_b.sql | SQL |
<|file_sep|>original/osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs
<|file_sep|>current/osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs
<|file_sep|>updated/osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osuTK.Input;
namespace osu.Game.Tests.Visual.Gameplay
{
public class TestSceneRepl... | <|file_sep|>original/osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs
<|file_sep|>current/osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs
<|file_sep|>updated/osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the... | 9083b28114039b18078b0b0cc1402d15de88ed87 | osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs | osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs | C# |
<|file_sep|>syntax/apiblueprint.vim.diff
original:
syntax region apibRequestSection start=/^+ Request (.*)$/ end=/$/ oneline
updated:
syntax region apibRequestSection start=/^+ Request/ end=/$/ oneline
<|file_sep|>original/syntax/apiblueprint.vim
" Metadata
syntax region apibMarkdownMetadata start=/\%^.*:.*$/ end=/^$/... |
" Metadata
syntax region apibMarkdownMetadata start=/\%^.*:.*$/ end=/^$/ contains=apibMarkdownMetadataKey,apibMarkdownMetadataValue fold
syntax match apibMarkdownMetadataKey /^[^:]*\ze:/ contained
syntax match apibMarkdownMetadataValue /:.*/ contained
highlight link apibMarkdownMetadataKey Function
syntax region api... | <|file_sep|>syntax/apiblueprint.vim.diff
original:
syntax region apibRequestSection start=/^+ Request (.*)$/ end=/$/ oneline
updated:
syntax region apibRequestSection start=/^+ Request/ end=/$/ oneline
<|file_sep|>original/syntax/apiblueprint.vim
" Metadata
syntax region apibMarkdownMetadata start=/\%^.*:.*$/ end=/^$/... | 4ade62223897d4260d21a22109428cf73923f2ee | syntax/apiblueprint.vim | syntax/apiblueprint.vim | VimL |
<|file_sep|>app/assets/javascripts/views/input_preview.js.jsx.diff
original:
<span className="input-group-btn">
<button type="submit" onSubmit={this.onSubmit} className="btn btn-primary">{this.props.buttonText}</button>
updated:
<span className={"input-group-btn"}>
<button ty... | },
onChange: function(e) {
var value = e.target.value;
this.setState({
inputPreview: this.state.transform(value)
});
},
buttonState: function() {
return this.state.inputPreview.length >= 2 ? false : true;
},
transform: function(text) {
return text.replace(/[^\w-\.]+/g, '-').toL... | <|file_sep|>app/assets/javascripts/views/input_preview.js.jsx.diff
original:
<span className="input-group-btn">
<button type="submit" onSubmit={this.onSubmit} className="btn btn-primary">{this.props.buttonText}</button>
updated:
<span className={"input-group-btn"}>
<button ty... | 131148762812038c80f82a4a77cd1aef89d1cade | app/assets/javascripts/views/input_preview.js.jsx | app/assets/javascripts/views/input_preview.js.jsx | JSX |
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get install python3
updated:
- sudo apt-get install python3 ruby
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
before_install:
- sudo apt-get update
- sudo apt-get install python3
script:
- cargo build
- cargo test
- cd examples/ ; make
<|file_... | language: rust
rust:
- nightly
before_install:
- sudo apt-get update
- sudo apt-get install python3 ruby
script:
- cargo build
- cargo test
- gem install test-unit
- cd examples/ ; make | <|file_sep|>.travis.yml.diff
original:
- sudo apt-get install python3
updated:
- sudo apt-get install python3 ruby
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
before_install:
- sudo apt-get update
- sudo apt-get install python3
script:
- cargo build
- cargo test
- cd examples/ ; make
<|file_... | 630c6f9d98fb14412992a6708e0a01eb2bc876b9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/tr/transformers-lift.yaml.diff
original:
hash: 804781f12dd171fcd499eb1fc6dd99253392447668e96b18030b95c759a42a94
updated:
hash: f835105e4a6fdc30b22f752741985cbad9f08cb84422f643c034ab755732c194
<|file_sep|>packages/tr/transformers-lift.yaml.diff
original:
transformers: ! '>=0.5.4.0'
updated:
tran... | hash: f835105e4a6fdc30b22f752741985cbad9f08cb84422f643c034ab755732c194
test-bench-deps: {}
maintainer: Vladislav Zavialov <vlad.z.4096@gmail.com>
synopsis: Ad-hoc type classes for lifting
changelog: ''
basic-deps:
writer-cps-transformers: ! '>=0.1.1.3'
base: ! '>=4.6 && <4.11'
transformers: ! '>=0.4.2.0'
all-vers... | <|file_sep|>packages/tr/transformers-lift.yaml.diff
original:
hash: 804781f12dd171fcd499eb1fc6dd99253392447668e96b18030b95c759a42a94
updated:
hash: f835105e4a6fdc30b22f752741985cbad9f08cb84422f643c034ab755732c194
<|file_sep|>packages/tr/transformers-lift.yaml.diff
original:
transformers: ! '>=0.5.4.0'
updated:
tran... | 063bce82f0f1b0d3e3141719c985853c9d58deeb | packages/tr/transformers-lift.yaml | packages/tr/transformers-lift.yaml | YAML |
<|file_sep|>.github/workflows/pythonpackage.yml.diff
original:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
updated:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
<|file_sep|>.github/workflows/pythonpackage.yml.diff
original:
python -m pip install poetry
poetry install --no-ansi
updated:
... |
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v1
- name: Build distribution
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
run: |
pip install wheel
python ... | <|file_sep|>.github/workflows/pythonpackage.yml.diff
original:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
updated:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
<|file_sep|>.github/workflows/pythonpackage.yml.diff
original:
python -m pip install poetry
poetry install --no-ansi
updated:
... | 558d3ac4c7f31e21c9d545834b47ec547186550f | .github/workflows/pythonpackage.yml | .github/workflows/pythonpackage.yml | YAML |
<|file_sep|>jedi/api/replstartup.py.diff
original:
updated:
import jedi.utils
from jedi import __version__ as __jedi_version__
<|file_sep|>jedi/api/replstartup.py.diff
original:
import jedi.utils
updated:
print('REPL completion using Jedi %s' % __jedi_version__)
<|file_sep|>jedi/api/replstartup.py.diff
original:
upda... | Then you will be able to use Jedi completer in your Python interpreter::
$ python
Python 2.7.2+ (default, Jul 20 2012, 22:15:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.path.join().split().in<TAB> # do... | <|file_sep|>jedi/api/replstartup.py.diff
original:
updated:
import jedi.utils
from jedi import __version__ as __jedi_version__
<|file_sep|>jedi/api/replstartup.py.diff
original:
import jedi.utils
updated:
print('REPL completion using Jedi %s' % __jedi_version__)
<|file_sep|>jedi/api/replstartup.py.diff
original:
upda... | ae8b0d5eab43a349f33d3eb907565cb2931e15cd | jedi/api/replstartup.py | jedi/api/replstartup.py | Python |
<|file_sep|>original/tests/08_crypto.t
<|file_sep|>current/tests/08_crypto.t
<|file_sep|>updated/tests/08_crypto.t | <?php
include(dirname(__FILE__).'/wrapper.php');
loadlib('random');
plan(7);
$data1 = '1234:iloveth'; # Simple model of what we encrypt in lib_login
#
# Basic tests with random keys
#
$random_key1 = random_string(32); # Random key 1
$random_key2 = random_string(32); # Different random key 2
$encrypted1 ... | <|file_sep|>original/tests/08_crypto.t
<|file_sep|>current/tests/08_crypto.t
<|file_sep|>updated/tests/08_crypto.t
<?php
include(dirname(__FILE__).'/wrapper.php');
loadlib('random');
plan(7);
$data1 = '1234:iloveth'; # Simple model of what we encrypt in lib_login
#
# Basic tests with random keys
#
$rando... | 6352c461180a9796404cfcee73213d5d8826a673 | tests/08_crypto.t | tests/08_crypto.t | Perl |
<|file_sep|>original/appveyor.yml
image: Visual Studio 2015
cache:
- '%HOMEDRIVE%%HOMEPATH%\.node-gyp'
- '%APPDATA%\npm-cache'
environment:
nodejs_version: "7.4.0"
NODE_PRE_GYP_GITHUB_TOKEN:
secure: izXdqKc3Q97YCK/iHmkf5704WRhBwZXVBn2G+MX/NgyxVJPfwTkZxc8WMET/QZOh
platform:
- x86
- x64
build: off
in... | image: Visual Studio 2015
cache:
- '%HOMEDRIVE%%HOMEPATH%\.node-gyp'
- '%APPDATA%\npm-cache'
environment:
nodejs_version: "8"
NODE_PRE_GYP_GITHUB_TOKEN:
secure: izXdqKc3Q97YCK/iHmkf5704WRhBwZXVBn2G+MX/NgyxVJPfwTkZxc8WMET/QZOh
platform:
- x86
- x64
build: off
install:
- ps: Install-Product node $e... | <|file_sep|>original/appveyor.yml
image: Visual Studio 2015
cache:
- '%HOMEDRIVE%%HOMEPATH%\.node-gyp'
- '%APPDATA%\npm-cache'
environment:
nodejs_version: "7.4.0"
NODE_PRE_GYP_GITHUB_TOKEN:
secure: izXdqKc3Q97YCK/iHmkf5704WRhBwZXVBn2G+MX/NgyxVJPfwTkZxc8WMET/QZOh
platform:
- x86
- x64
build: off
in... | 7c6ce3b92249cea26d853ac0b40dfc9bf0f0002b | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/examples/scribuntoConsole.js
var bot = require( 'nodemw' ),
readline = require( 'readline' ),
rl = readline.createInterface( {
input: process.stdin,
output: process.stdout
} ),
client = new Bot( {
protocol: 'https',
server: 'dev.fandom.com',
path: ''
} ),
params = {
action: 'scrib... | var Bot = require( 'nodemw' ),
readline = require( 'readline' ),
rl = readline.createInterface( {
input: process.stdin,
output: process.stdout
} ),
client = new Bot( {
protocol: 'https',
server: 'dev.fandom.com',
path: ''
} ),
params = {
action: 'scribunto-console',
title: 'Module:CLI/testcases/titl... | <|file_sep|>original/examples/scribuntoConsole.js
var bot = require( 'nodemw' ),
readline = require( 'readline' ),
rl = readline.createInterface( {
input: process.stdin,
output: process.stdout
} ),
client = new Bot( {
protocol: 'https',
server: 'dev.fandom.com',
path: ''
} ),
params = {
action: 'scrib... | bdadb8db1c2ba6c0481fa7fc54d67f762731a3d6 | examples/scribuntoConsole.js | examples/scribuntoConsole.js | JavaScript |
<|file_sep|>original/deploying-cert-cvc.md
<|file_sep|>current/deploying-cert-cvc.md
<|file_sep|>updated/deploying-cert-cvc.md | How to update cert-cvc from the upstream svn version
Assuming you are in the ejbca folder:
1. Sync the git repo with the upstream svn repo using `git svn rebase`
2. `cd cert-cvc`
3. Find the commit containing the version of cert-cvc that JMRTD is asking for, e.g., using `git log pom.xml`
4. Checkout that commit, ... | <|file_sep|>original/deploying-cert-cvc.md
<|file_sep|>current/deploying-cert-cvc.md
<|file_sep|>updated/deploying-cert-cvc.md
How to update cert-cvc from the upstream svn version
Assuming you are in the ejbca folder:
1. Sync the git repo with the upstream svn repo using `git svn rebase`
2. `cd cert-cvc`
3. Find... | 6320d613375cee1c60eb9ea54b13f1e8a45fb144 | deploying-cert-cvc.md | deploying-cert-cvc.md | Markdown |
<|file_sep|>original/init.sh
source bash-toolbox/lib/colorme.sh
source bash-toolbox/lib/include.sh
source bash-toolbox/lib/package.sh
<|file_sep|>current/init.sh
source bash-toolbox/lib/colorme.sh
source bash-toolbox/lib/include.sh
source bash-toolbox/lib/package.sh
<|file_sep|>updated/init.sh | source ${projectDir}bash-toolbox/lib/colorme.sh
source ${projectDir}bash-toolbox/lib/include.sh
source ${projectDir}bash-toolbox/lib/package.sh | <|file_sep|>original/init.sh
source bash-toolbox/lib/colorme.sh
source bash-toolbox/lib/include.sh
source bash-toolbox/lib/package.sh
<|file_sep|>current/init.sh
source bash-toolbox/lib/colorme.sh
source bash-toolbox/lib/include.sh
source bash-toolbox/lib/package.sh
<|file_sep|>updated/init.sh
source ${projectDir}bash-... | 266f819d83036f0de344bf72fc46f7933b9533e2 | init.sh | init.sh | Shell |
<|file_sep|>packages/re/rev-state.yaml.diff
original:
hash: e2b26a836091c59797356c4358e0b1d1374e349e8a79a5f927d017cffb9f8518
updated:
hash: de8db922a675a68ac8ac03f80fabaed250fe332a20f7b3bd8272238088e3d135
<|file_sep|>original/packages/re/rev-state.yaml
homepage: https://github.com/DanBurton/rev-state#readme
changelog-t... | homepage: https://github.com/DanBurton/rev-state#readme
changelog-type: ''
hash: de8db922a675a68ac8ac03f80fabaed250fe332a20f7b3bd8272238088e3d135
test-bench-deps:
base: -any
rev-state: -any
maintainer: danburton.email@gmail.com
synopsis: Reverse State monad transformer
changelog: ''
basic-deps:
base: ! '>=4.8 && ... | <|file_sep|>packages/re/rev-state.yaml.diff
original:
hash: e2b26a836091c59797356c4358e0b1d1374e349e8a79a5f927d017cffb9f8518
updated:
hash: de8db922a675a68ac8ac03f80fabaed250fe332a20f7b3bd8272238088e3d135
<|file_sep|>original/packages/re/rev-state.yaml
homepage: https://github.com/DanBurton/rev-state#readme
changelog-t... | 8a918d7fc748694b4612041888f58ee63e494a84 | packages/re/rev-state.yaml | packages/re/rev-state.yaml | YAML |
<|file_sep|>original/docs/installation.rst
:download:`ubuntu-install.sh`
.. literalinclude:: ubuntu-install.sh
:language: sh
Save the script to a file, and then run it:
.. code-block:: console
alice@mercury:~$ sh ubuntu-install.sh
The ``flocker-deploy`` command line program will now be available in ``flocker... | :download:`ubuntu-install.sh`
.. literalinclude:: ubuntu-install.sh
:language: sh
Save the script to a file, and then run it:
.. code-block:: console
alice@mercury:~$ sh ubuntu-install.sh
The ``flocker-deploy`` command line program will now be available in ``flocker-tutorial/bin/``:
.. code-block:: console
... | <|file_sep|>original/docs/installation.rst
:download:`ubuntu-install.sh`
.. literalinclude:: ubuntu-install.sh
:language: sh
Save the script to a file, and then run it:
.. code-block:: console
alice@mercury:~$ sh ubuntu-install.sh
The ``flocker-deploy`` command line program will now be available in ``flocker... | b52fd83c165419eacd04c0a97c98e7db13424366 | docs/installation.rst | docs/installation.rst | reStructuredText |
<|file_sep|>original/requirements.txt
base58==0.2.3
boto3==1.4.0
botocore==1.4.50
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.8.0
python-dateutil==2.5.3
python-slugify==1.2.1
requests>=2.10.0
six==1.10.0
tqdm==4.8.4
Werkzeug==0.11.11
wheel==0.29.0
wsgi-request-logger==0.4.... | base58==0.2.3
boto3==1.4.0
botocore==1.4.51
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.8.0
python-dateutil==2.5.3
python-slugify==1.2.1
requests>=2.10.0
six==1.10.0
tqdm==4.8.4
Werkzeug==0.11.11
wheel==0.29.0
wsgi-request-logger==0.4.5 | <|file_sep|>original/requirements.txt
base58==0.2.3
boto3==1.4.0
botocore==1.4.50
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.8.0
python-dateutil==2.5.3
python-slugify==1.2.1
requests>=2.10.0
six==1.10.0
tqdm==4.8.4
Werkzeug==0.11.11
wheel==0.29.0
wsgi-request-logger==0.4.... | 767f26b939d4fcfd263b71eed2c2a64015414335 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/_shows/78_79/sejanus.md
---
title: Sejanus
season: In-house
period:
season_sort: 300
venue: New Theatre
cast:
- role: Sejanus
name: Peter Cantrell
crew:
- role: Director
name: Simon Shepherd
---
<|file_sep|>current/_shows/78_79/sejanus.md
---
title: Sejanus
season: In-house
period:
seaso... | ---
title: Sejanus
season: In House
period:
season_sort: 300
venue: New Theatre
cast:
- role: Sejanus
name: Peter Cantrell
crew:
- role: Director
name: Simon Shepherd
---
| <|file_sep|>original/_shows/78_79/sejanus.md
---
title: Sejanus
season: In-house
period:
season_sort: 300
venue: New Theatre
cast:
- role: Sejanus
name: Peter Cantrell
crew:
- role: Director
name: Simon Shepherd
---
<|file_sep|>current/_shows/78_79/sejanus.md
---
title: Sejanus
season: In-house
period:
seaso... | 6660b92aa5cc8e012582409d484f1ee99a40173a | _shows/78_79/sejanus.md | _shows/78_79/sejanus.md | Markdown |
<|file_sep|>original/src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java
<|file_sep|>current/src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java
<|file_sep|>updated/src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java |
package net.restlesscoder.sandbox;
import java.util.function.Predicate;
public class EqualsPredicate {
public static void main(final String... args) {
// Why do we need Predicate.isEqual anyway?
// Why not just use obj::equals?
// Here's why!
final Object obj = null;
Predicate<Object> objEqualsSafe = P... | <|file_sep|>original/src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java
<|file_sep|>current/src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java
<|file_sep|>updated/src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java
package net.restlesscoder.sandbox;
import java.util.function.Predicate;
... | 6cd25e3530e27184ded8ec68bba82f56cdcafdfe | src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java | src/main/java/net/restlesscoder/sandbox/EqualsPredicate.java | Java |
<|file_sep|>tests/manual/index.html.diff
original:
<link rel="stylesheet" href="../../dest/taggd.css">
updated:
<link rel="stylesheet" href="../../dist/taggd.css">
<|file_sep|>original/tests/manual/index.html
<link rel="stylesheet" href="themes/taggd-frame.css">
</head>
<body>
<img src="../assets/512x256.jpg" ... | <link rel="stylesheet" href="themes/taggd-frame.css">
</head>
<body>
<img src="../assets/512x256.jpg" alt="" id="image">
<button id="btn-generate-output">Get tags</button>
<pre id="output"></pre>
<script src="../../dist/taggd.js"></script>
<script src="../functions.js"></script>
<script>
var image... | <|file_sep|>tests/manual/index.html.diff
original:
<link rel="stylesheet" href="../../dest/taggd.css">
updated:
<link rel="stylesheet" href="../../dist/taggd.css">
<|file_sep|>original/tests/manual/index.html
<link rel="stylesheet" href="themes/taggd-frame.css">
</head>
<body>
<img src="../assets/512x256.jpg" ... | 2c16fe4f40ef5b05b4db97c294c3b76527e10960 | tests/manual/index.html | tests/manual/index.html | HTML |
<|file_sep|>original/apps/store/themes/store/js/asset.js
$('#btn-add-gadget').click(function () {
var elem = $(this);
asset.process(elem.data('type'), elem.data('aid'), location.href, elem);
});
$('#btn-remove-subscribe').click(function () {
var elem = $(this);
asset.unsubsc... | $('#btn-add-gadget').click(function () {
var elem = $(this);
asset.process(elem.data('type'), elem.data('aid'), location.href, elem);
});
$('#btn-remove-subscribe').click(function () {
var elem = $(this);
asset.unsubscribeBookmark(elem.data('type'), elem.data('aid'), locatio... | <|file_sep|>original/apps/store/themes/store/js/asset.js
$('#btn-add-gadget').click(function () {
var elem = $(this);
asset.process(elem.data('type'), elem.data('aid'), location.href, elem);
});
$('#btn-remove-subscribe').click(function () {
var elem = $(this);
asset.unsubsc... | 7e1b3afc32af4e72fa2c6feb043d36f395cfa5c4 | apps/store/themes/store/js/asset.js | apps/store/themes/store/js/asset.js | JavaScript |
<|file_sep|>SampleApp/README.md.diff
original:
Android credit card scanning example for card.io
================================================
updated:
card.io for Android example
===========================
This sample shows how to integrate card.io in Android.
<|file_sep|>SampleApp/README.md.diff
original:
2. Inte... | card.io for Android example
===========================
This sample shows how to integrate card.io in Android.
To give it a try:
1. Clone this repo.
2. `$ cd SampleApp`
3. `$ android update project -p .`
4. `$ ant debug install`
5. Run the demo app!
That's it!!
Questions? Comments? Contact us via https://card.io/s... | <|file_sep|>SampleApp/README.md.diff
original:
Android credit card scanning example for card.io
================================================
updated:
card.io for Android example
===========================
This sample shows how to integrate card.io in Android.
<|file_sep|>SampleApp/README.md.diff
original:
2. Inte... | ffbb074e944e2abf93cd66f099d93d958ebb09ab | SampleApp/README.md | SampleApp/README.md | Markdown |
<|file_sep|>lib/components/form/switch-button.js.diff
original:
onClick: PropTypes.func
updated:
onClick: PropTypes.func,
switchLocations: PropTypes.func
<|file_sep|>lib/components/form/switch-button.js.diff
original:
updated:
static defaultProps = {
content: 'Switch'
}
<|file_sep|>lib/components... |
_onClick = () => {
this.props.switchLocations()
}
render () {
const { content } = this.props
return (
<Button className='switch-button'
onClick={this._onClick || this.props.onClick}
>{content}</Button>
)
}
}
const mapStateToProps = (state, ownProps) => {
return {}
}
c... | <|file_sep|>lib/components/form/switch-button.js.diff
original:
onClick: PropTypes.func
updated:
onClick: PropTypes.func,
switchLocations: PropTypes.func
<|file_sep|>lib/components/form/switch-button.js.diff
original:
updated:
static defaultProps = {
content: 'Switch'
}
<|file_sep|>lib/components... | 7fb56ee7a857d1c737a6292f37867c37fb385e66 | lib/components/form/switch-button.js | lib/components/form/switch-button.js | JavaScript |
<|file_sep|>original/docs/client/index.rst
Available Clients
=================
The following clients are officially recognized as production-ready, and support the current Sentry
protocol:
* Python (`raven-python <http://github.com/getsentry/raven-python>`_)
* PHP (`raven-php <http://github.com/getsentry/raven-php>`_... | Available Clients
=================
The following clients are officially recognized as production-ready, and support the current Sentry
protocol:
* Python (`raven-python <http://github.com/getsentry/raven-python>`_)
* PHP (`raven-php <http://github.com/getsentry/raven-php>`_)
* Java (`raven-java <https://github.com/k... | <|file_sep|>original/docs/client/index.rst
Available Clients
=================
The following clients are officially recognized as production-ready, and support the current Sentry
protocol:
* Python (`raven-python <http://github.com/getsentry/raven-python>`_)
* PHP (`raven-php <http://github.com/getsentry/raven-php>`_... | 565e4f282a35b7dec6927e5965eb97df48d89e15 | docs/client/index.rst | docs/client/index.rst | reStructuredText |
<|file_sep|>original/package.json
{
"repository": {
"type": "git",
"url": "git@github.com:mgarbacz/nordrassil.git"
},
"scripts": {
"b": "./node_modules/.bin/brunch build",
"bp": "./node_modules/.bin/brunch build --production",
"w": "./node_modules/.bin/brunch watch",
"ws": "./node_modules/... | {
"repository": {
"type": "git",
"url": "git@github.com:mgarbacz/nordrassil.git"
},
"scripts": {
"build": "./node_modules/.bin/brunch build",
"build-prod": "./node_modules/.bin/brunch build --production",
"watch": "./node_modules/.bin/brunch watch",
"serve": "./node_modules/.bin/brunch wat... | <|file_sep|>original/package.json
{
"repository": {
"type": "git",
"url": "git@github.com:mgarbacz/nordrassil.git"
},
"scripts": {
"b": "./node_modules/.bin/brunch build",
"bp": "./node_modules/.bin/brunch build --production",
"w": "./node_modules/.bin/brunch watch",
"ws": "./node_modules/... | 1c6b4191178d35ffd5bdfe4ebcb696e6f6f192be | package.json | package.json | JSON |
<|file_sep|>original/config/deploy/genigames-dev.rb
# genigames ungamed
set :user, "deploy"
set :deploy_to, "/web/portal"
set :domain, "genigames.dev.concord.org"
server domain, :app, :web
role :db, domain, :primary => true
set :branch, "gv-r32"
<|file_sep|>current/config/deploy/genigames-dev.rb
# genigames ungamed
set... | # genigames ungamed
set :user, "deploy"
set :deploy_to, "/web/portal"
set :domain, "genigames.dev.concord.org"
server domain, :app, :web
role :db, domain, :primary => true
set :branch, "gv-r32"
set :asset_env, "RAILS_GROUPS=assets RAILS_RELATIVE_URL_ROOT=/portal" | <|file_sep|>original/config/deploy/genigames-dev.rb
# genigames ungamed
set :user, "deploy"
set :deploy_to, "/web/portal"
set :domain, "genigames.dev.concord.org"
server domain, :app, :web
role :db, domain, :primary => true
set :branch, "gv-r32"
<|file_sep|>current/config/deploy/genigames-dev.rb
# genigames ungamed
set... | 318fc0fdda78c70e1a064888515ea03b1fa1c25c | config/deploy/genigames-dev.rb | config/deploy/genigames-dev.rb | Ruby |
<|file_sep|>Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs.diff
original:
using Composite.C1Console.Workflow;
updated:
<|file_sep|>original/Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs
using System;
using System.Collections.Generic;
using System.Net.Mail... | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace CompositeC1Contrib.Email.C1Console.Workflows
{
public sealed class EditConfigurableSystemNetMailClientQueueWorkflow : EditMailQueueWorkflow
{
public EditConfigurableSystemNetMailClientQueueWorkflow() : base("\\InstalledPac... | <|file_sep|>Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs.diff
original:
using Composite.C1Console.Workflow;
updated:
<|file_sep|>original/Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs
using System;
using System.Collections.Generic;
using System.Net.Mail... | 964ff36c2a3a4816b4bc78ebc5bf274ced9854e1 | Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs | Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs | C# |
<|file_sep|>original/data/tcam.pc.cmake
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Tcam
Description: Camera control and image acquisition library
Version: @TCAM_VERSION@
Requires: @tcam_pkgconfig_dependencies@
Libs: -L${libdir} -ltcam
Cflags: -I${in... | prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Tcam
Description: Camera control and image acquisition library
Version: @TCAM_VERSION@
Requires: @tcam_pkgconfig_dependencies@
Libs: -L${libdir} -ltcam -ltcamprop
Cflags: -I${includedir}/ | <|file_sep|>original/data/tcam.pc.cmake
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Tcam
Description: Camera control and image acquisition library
Version: @TCAM_VERSION@
Requires: @tcam_pkgconfig_dependencies@
Libs: -L${libdir} -ltcam
Cflags: -I${in... | 10f4656295dd91091719f0c2e5b85e5c220f2e90 | data/tcam.pc.cmake | data/tcam.pc.cmake | CMake |
<|file_sep|>original/libimagentryview/Cargo.toml
[package]
name = "libimagentryview"
version = "0.2.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
[dependencies]
log = "0.3"
toml = "0.1.25"
glob = "0.2.11"
[dependencies.libimagstore]
path = "../libimagstore"
[dependencies.libimagerror]
path = "../libimagerr... | [package]
name = "libimagentryview"
version = "0.2.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
[dependencies]
log = "0.3"
toml = "0.2.*"
glob = "0.2.11"
[dependencies.libimagstore]
path = "../libimagstore"
[dependencies.libimagerror]
path = "../libimagerror"
| <|file_sep|>original/libimagentryview/Cargo.toml
[package]
name = "libimagentryview"
version = "0.2.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
[dependencies]
log = "0.3"
toml = "0.1.25"
glob = "0.2.11"
[dependencies.libimagstore]
path = "../libimagstore"
[dependencies.libimagerror]
path = "../libimagerr... | ba8100be0ee2f83d1b0853418cc4620fc3602d52 | libimagentryview/Cargo.toml | libimagentryview/Cargo.toml | TOML |
<|file_sep|>react-component-template/index.jsx.diff
original:
updated:
import {addons} from 'react/addons'
const {shouldComponentUpdate} = addons.PureRenderMixin
<|file_sep|>original/react-component-template/index.jsx
import React, {PropTypes, Component} from 'react'
const namespace = '{{camelName}}'
export default c... | import React, {PropTypes, Component} from 'react'
import {addons} from 'react/addons'
const {shouldComponentUpdate} = addons.PureRenderMixin
const namespace = '{{camelName}}'
export default class {{PascalName}} extends Component {
// use the pure-render mixin without the mixin. This allows us to use es6
// classes... | <|file_sep|>react-component-template/index.jsx.diff
original:
updated:
import {addons} from 'react/addons'
const {shouldComponentUpdate} = addons.PureRenderMixin
<|file_sep|>original/react-component-template/index.jsx
import React, {PropTypes, Component} from 'react'
const namespace = '{{camelName}}'
export default c... | 30efb3f8ad16d41591c722f428ccf8e9c109473a | react-component-template/index.jsx | react-component-template/index.jsx | JSX |
<|file_sep|>original/packages/sy/system-linux-proc.yaml
<|file_sep|>current/packages/sy/system-linux-proc.yaml
<|file_sep|>updated/packages/sy/system-linux-proc.yaml | homepage: https://github.com/erikd/system-linux-proc
changelog-type: markdown
hash: 4aad6287c91e44a84ff22fbac4d4e33fd00735a79ff721c43344c1f619a31dce
test-bench-deps:
base: ! '>=4.8 && <5.0'
hedgehog: -any
maintainer: erikd@mega-nerd.com
synopsis: A library for accessing the /proc filesystem in Linux
changelog: ! '#... | <|file_sep|>original/packages/sy/system-linux-proc.yaml
<|file_sep|>current/packages/sy/system-linux-proc.yaml
<|file_sep|>updated/packages/sy/system-linux-proc.yaml
homepage: https://github.com/erikd/system-linux-proc
changelog-type: markdown
hash: 4aad6287c91e44a84ff22fbac4d4e33fd00735a79ff721c43344c1f619a31dce
tes... | d5899171e5698efb9fbab7a835e80f1967269437 | packages/sy/system-linux-proc.yaml | packages/sy/system-linux-proc.yaml | YAML |
<|file_sep|>original/src/main/resources/com/semperos/screwdriver/js/extension/process-rjs.js
//Create a runner that will run a separate build for each item
//in the configs array. Thanks to @jwhitley for this cleverness
for (var i = 0; i < __Screwdriver.rjs.moduleConfigs.length; i++) {
requirejs.optimize(__Screwdri... | //Create a runner that will run a separate build for each item
//in the configs array. Thanks to @jwhitley for this cleverness
print("Starting RequireJS (r.js) Optimizer...");
for (var i = 0; i < __Screwdriver.rjs.moduleConfigs.length; i++) {
requirejs.optimize(__Screwdriver.rjs.moduleConfigs[i], function(x) {
... | <|file_sep|>original/src/main/resources/com/semperos/screwdriver/js/extension/process-rjs.js
//Create a runner that will run a separate build for each item
//in the configs array. Thanks to @jwhitley for this cleverness
for (var i = 0; i < __Screwdriver.rjs.moduleConfigs.length; i++) {
requirejs.optimize(__Screwdri... | 2747aa2c950deb95a99ef937c23c8d7db17d5f86 | src/main/resources/com/semperos/screwdriver/js/extension/process-rjs.js | src/main/resources/com/semperos/screwdriver/js/extension/process-rjs.js | JavaScript |
<|file_sep|>original/packages/stylelint-config-strateg/package.json
},
"author": "Strateg Marknadsföring AB",
"license": "MIT",
"bugs": {
"url": "https://github.com/strt/css/issues"
},
"homepage": "https://github.com/strt/css#readme",
"dependencies": {
"stylelint-config-alexandernanberg": "^1.2.0"... | "repository": {
"type": "git",
"url": "git+https://github.com/strt/css.git"
},
"author": "Strateg Marknadsföring AB",
"license": "MIT",
"bugs": {
"url": "https://github.com/strt/css/issues"
},
"homepage": "https://github.com/strt/css#readme",
"dependencies": {
"stylelint-config-alexander... | <|file_sep|>original/packages/stylelint-config-strateg/package.json
},
"author": "Strateg Marknadsföring AB",
"license": "MIT",
"bugs": {
"url": "https://github.com/strt/css/issues"
},
"homepage": "https://github.com/strt/css#readme",
"dependencies": {
"stylelint-config-alexandernanberg": "^1.2.0"... | 85efdcbf1422304e979448869d6810200d3c3cd8 | packages/stylelint-config-strateg/package.json | packages/stylelint-config-strateg/package.json | JSON |
<|file_sep|>metadata/it.niedermann.nextcloud.deck.yml.diff
original:
updated:
- versionName: 0.0.3
versionCode: 3
commit: 0.0.3
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/it.niedermann.nextcloud.deck.yml
Repo: https://github.com/stefan-niedermann/nextcloud-deck.git
Builds:
- ve... | gradle:
- yes
- versionName: 0.0.2
versionCode: 2
commit: 0.0.2
subdir: app
gradle:
- yes
- versionName: 0.0.3
versionCode: 3
commit: 0.0.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.0.3
CurrentVersionCode: 3 | <|file_sep|>metadata/it.niedermann.nextcloud.deck.yml.diff
original:
updated:
- versionName: 0.0.3
versionCode: 3
commit: 0.0.3
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/it.niedermann.nextcloud.deck.yml
Repo: https://github.com/stefan-niedermann/nextcloud-deck.git
Builds:
- ve... | 70454b327e0c6703c3be2493b7858cda13b21627 | metadata/it.niedermann.nextcloud.deck.yml | metadata/it.niedermann.nextcloud.deck.yml | YAML |
<|file_sep|>original/lib/alipay/sign/rsa.rb
require 'openssl'
require 'base64'
module Alipay
module Sign
class RSA
def self.sign(key, string)
rsa = OpenSSL::PKey::RSA.new(key)
Base64.encode64(rsa.sign('sha1', string))
end
def self.verify?(string, sign)
rsa = OpenSSL::PK... | require 'openssl'
require 'base64'
module Alipay
module Sign
class RSA
def self.sign(key, string)
rsa = OpenSSL::PKey::RSA.new(key)
Base64.encode64(rsa.sign('sha1', string))
end
def self.verify?(key, string, sign)
rsa = OpenSSL::PKey::RSA.new(key)
rsa.verify('sh... | <|file_sep|>original/lib/alipay/sign/rsa.rb
require 'openssl'
require 'base64'
module Alipay
module Sign
class RSA
def self.sign(key, string)
rsa = OpenSSL::PKey::RSA.new(key)
Base64.encode64(rsa.sign('sha1', string))
end
def self.verify?(string, sign)
rsa = OpenSSL::PK... | f0ef7e8d506e68076d0a1337251a289a75b1ae71 | lib/alipay/sign/rsa.rb | lib/alipay/sign/rsa.rb | Ruby |
<|file_sep|>original/.travis.yml
go:
- 1.7
install:
# WORKING DIR
# $HOME/gopath/src/github.com/QubitProducts/bamboo
- export PATH=$PATH:$HOME/gopath/bin
# Install build dependencies
- go get bitbucket.org/tebeka/go2xunit
- go get github.com/smartystreets/assertions
- go get -t github.com/smartystree... |
go:
- 1.7
install:
# WORKING DIR
# $HOME/gopath/src/github.com/QubitProducts/bamboo
- export PATH=$PATH:$HOME/gopath/bin
# Install build dependencies
- go get github.com/tebeka/go2xunit
- go get github.com/smartystreets/assertions
- go get -t github.com/smartystreets/goconvey
- go get -v -u github.... | <|file_sep|>original/.travis.yml
go:
- 1.7
install:
# WORKING DIR
# $HOME/gopath/src/github.com/QubitProducts/bamboo
- export PATH=$PATH:$HOME/gopath/bin
# Install build dependencies
- go get bitbucket.org/tebeka/go2xunit
- go get github.com/smartystreets/assertions
- go get -t github.com/smartystree... | 12d8397ff9cd7d36bf5e983570f266bcb279d14d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
This is still in alpha mode, largely untested, created for dog-feeding purpose and as such
it will surely eat your laundry and do nasty things. Feel free to use it, without any
guarantee about the result.
## Functionalities
* Radial distribution functions;
* Convertion from one file for... | ## Functionalities
* Radial distribution functions;
* Convertion from one file format to another.
## Get it, build it
To build it you can run
```bash
git clone --recursive https://github.com/chemfiles/cfiles
cd cfiles
mkdir build
cd build
cmake ..
make install
```
> Note: on CentOS 7 with GCC 4.8, `cfiles` rely on... | <|file_sep|>original/README.md
This is still in alpha mode, largely untested, created for dog-feeding purpose and as such
it will surely eat your laundry and do nasty things. Feel free to use it, without any
guarantee about the result.
## Functionalities
* Radial distribution functions;
* Convertion from one file for... | e238feea2d1392be10a597efd0ee9bdc9a83ff32 | README.md | README.md | Markdown |
<|file_sep|>build.sbt.diff
original:
updated:
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
)
<|file_sep|>original/build.sbt
version := "0.1"
scalaVersion := "2.11.4"
libraryDependencies ++= Seq(
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"co... | version := "0.1"
scalaVersion := "2.11.4"
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
)
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.0.0",
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"com.typesafe.akka" ... | <|file_sep|>build.sbt.diff
original:
updated:
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
)
<|file_sep|>original/build.sbt
version := "0.1"
scalaVersion := "2.11.4"
libraryDependencies ++= Seq(
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"co... | a20b4430125b266b0c9a3beeed1374f792d29422 | build.sbt | build.sbt | Scala |
<|file_sep|>original/test/unit/PropositionTest.js
it('should include a moduleID', function() {
assert.equal(Proposition.prototype.moduleID, 'Proposition');
});
describe('new Proposition( options, element )', function() {
it('should return a new Proposition widget', func... | var proposition = new Proposition(data);
assert.instanceOf(
proposition, Base,
'Proposition widgets inherit from Base.'
);
assert.instanceOf(
proposition, Proposition,
'Proposi... | <|file_sep|>original/test/unit/PropositionTest.js
it('should include a moduleID', function() {
assert.equal(Proposition.prototype.moduleID, 'Proposition');
});
describe('new Proposition( options, element )', function() {
it('should return a new Proposition widget', func... | 743bc142aa4c8cd11f16ebda2a1b153114af4b92 | test/unit/PropositionTest.js | test/unit/PropositionTest.js | JavaScript |
<|file_sep|>original/django_project/core/settings/test_travis.py
# -*- coding: utf-8 -*-
from .test import * # noqa
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'gis',
'USER': 'postgres',
'PASSWORD': '',
'HOST': 'localhost',
... | # -*- coding: utf-8 -*-
from .test import * # noqa
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'test_db',
'USER': 'postgres',
'PASSWORD': '',
'HOST': 'localhost',
# Set to empty string for default.
'PORT': '',
}... | <|file_sep|>original/django_project/core/settings/test_travis.py
# -*- coding: utf-8 -*-
from .test import * # noqa
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'gis',
'USER': 'postgres',
'PASSWORD': '',
'HOST': 'localhost',
... | fdf014fb0602cbba476b0e35d451f43e86be7cdc | django_project/core/settings/test_travis.py | django_project/core/settings/test_travis.py | Python |
<|file_sep|>lib/EventEmitter/Node.pm6.diff
original:
updated:
=begin pod
=begin NAME
EventEmitter::Node - Node.js like event handling
=end NAME
=begin SYNOPSIS
=begin code
use EventEmitter::Node;
class Foo does EventEmitter::Node {
}
my $foo = Foo.new;
$foo.on('message', { say $_ });
$foo.e... | #| Add a subscription to the named "event". Returning the L<doc:Tap>
#| object. The callback should be a L<doc:Code> object that will receive
#| a single positional argument in C<$_>
method on( Str $event, &callback --> Tap ) {
if ( not %!supplies{$event}:exists ) {
%!supplies{$event} = S... | <|file_sep|>lib/EventEmitter/Node.pm6.diff
original:
updated:
=begin pod
=begin NAME
EventEmitter::Node - Node.js like event handling
=end NAME
=begin SYNOPSIS
=begin code
use EventEmitter::Node;
class Foo does EventEmitter::Node {
}
my $foo = Foo.new;
$foo.on('message', { say $_ });
$foo.e... | c912ae7b3ffaaa5346c5291420aa2d451d80641e | lib/EventEmitter/Node.pm6 | lib/EventEmitter/Node.pm6 | Perl6 |
<|file_sep|>original/app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java
<|file_sep|>current/app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java
<|file_sep|>updated/app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java | package com.averi.worldscribe.views;
import com.averi.worldscribe.Category;
/**
* Created by mark on 23/08/16.
*
* Interface for Activities that contain a {@link BottomBar} View.
*/
public interface BottomBarActivity {
/**
* Responds to the user pressing a Category button on the BottomBar.
* @param ... | <|file_sep|>original/app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java
<|file_sep|>current/app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java
<|file_sep|>updated/app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java
package com.averi.worldscribe.views;
import com.a... | 9f86e825b387cb5971a1d2b0f4b4fe5869964aba | app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java | app/src/main/java/com/averi/worldscribe/views/BottomBarActivity.java | Java |
<|file_sep|>t/005_client.t.diff
original:
use_ok("Eixo::Rest::Client");
updated:
use_ok("Eixo::Docker::Api");
<|file_sep|>t/005_client.t.diff
original:
my $a = Eixo::Rest::Client->new($ENV{DOCKER_TEST_HOST});
updated:
my $a = Eixo::Docker::Api->new($ENV{DOCKER_TEST_HOST});
<|file_sep|>t/005_client.t.dif... | eval{
$a->noExiste;
};
ok($@ =~ /UNKNOW METHOD/, 'Non-existent Client methods launch exception');
my $process_data = {
onSuccess => sub {return $_[0]},
};
my $callback = sub {$_[0]};
my $h = $a->containers->getAll(
GET_DATA => {all => 1},
PROCESS_DATA =... | <|file_sep|>t/005_client.t.diff
original:
use_ok("Eixo::Rest::Client");
updated:
use_ok("Eixo::Docker::Api");
<|file_sep|>t/005_client.t.diff
original:
my $a = Eixo::Rest::Client->new($ENV{DOCKER_TEST_HOST});
updated:
my $a = Eixo::Docker::Api->new($ENV{DOCKER_TEST_HOST});
<|file_sep|>t/005_client.t.dif... | 69c81fd1f6bb0c24ec470a002a552e347c09299e | t/005_client.t | t/005_client.t | Perl |
<|file_sep|>original/examples/backplane_demo.py
Backplane("HELLO").start()
p = Producer()
pr = Printer()
time.sleep(1)
pub = PublishTo("HELLO")
sub = SubscribeTo("HELLO")
print "pub", pub, repr(pub), pub.input
pipeline(p, pub)
pipeline(sub, pr)
start(p, pr, sub)
time.sleep(1.0)
stop(p, pr, sub)
wait_for(p, pr, ... |
Backplane("HELLO").start()
p = Producer()
pr = Printer()
time.sleep(1)
pub = PublishTo("HELLO")
sub = SubscribeTo("HELLO")
print("pub", pub, repr(pub), pub.input)
pipeline(p, pub)
pipeline(sub, pr)
start(p, pr, sub)
time.sleep(1.0)
stop(p, pr, sub)
wait_for(p, pr, sub) | <|file_sep|>original/examples/backplane_demo.py
Backplane("HELLO").start()
p = Producer()
pr = Printer()
time.sleep(1)
pub = PublishTo("HELLO")
sub = SubscribeTo("HELLO")
print "pub", pub, repr(pub), pub.input
pipeline(p, pub)
pipeline(sub, pr)
start(p, pr, sub)
time.sleep(1.0)
stop(p, pr, sub)
wait_for(p, pr, ... | 6e660da290db674eebb0c353662e5400bc735397 | examples/backplane_demo.py | examples/backplane_demo.py | Python |
<|file_sep|>original/data/explorations/tar_about.yaml
<|file_sep|>current/data/explorations/tar_about.yaml
<|file_sep|>updated/data/explorations/tar_about.yaml | default_skin: conversation_v1
param_changes: []
param_specs: {}
schema_version: 1
states:
- content:
- type: text
value: "<b>Using Tar</b><p>Open source software is commonly released in the\
\form of archives called tarballs. The tar program creates, unpacks, and\
\ manipulates such archives.</p><p>When... | <|file_sep|>original/data/explorations/tar_about.yaml
<|file_sep|>current/data/explorations/tar_about.yaml
<|file_sep|>updated/data/explorations/tar_about.yaml
default_skin: conversation_v1
param_changes: []
param_specs: {}
schema_version: 1
states:
- content:
- type: text
value: "<b>Using Tar</b><p>Open source... | 33dd660022ac29c14147c6a020de18aaf8cd45aa | data/explorations/tar_about.yaml | data/explorations/tar_about.yaml | YAML |
<|file_sep|>original/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/StandaloneSessionClusterEntrypoint.java
<|file_sep|>current/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/StandaloneSessionClusterEntrypoint.java
<|file_sep|>updated/flink-runtime/src/main/java/org/apache/flink/runt... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | <|file_sep|>original/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/StandaloneSessionClusterEntrypoint.java
<|file_sep|>current/flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/StandaloneSessionClusterEntrypoint.java
<|file_sep|>updated/flink-runtime/src/main/java/org/apache/flink/runt... | 9af8036f3d42e6f4c2180e254e35faa8777e0292 | flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/StandaloneSessionClusterEntrypoint.java | flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/StandaloneSessionClusterEntrypoint.java | Java |
<|file_sep|>original/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=1.6 # Apache-2.0
Jinja2>=2.8 # BSD License (3 clause)
Babel!=2.3.0... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=1.6 # Apache-2.0
Jinja2>=2.8 # BSD License (3 clause)
oslo.serialization>=1.10.0 # Apache-2.0
psutil<2.0... | <|file_sep|>original/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=1.6 # Apache-2.0
Jinja2>=2.8 # BSD License (3 clause)
Babel!=2.3.0... | aaf93641d4ae167b78cc51bc45354c475568dfdf | requirements.txt | requirements.txt | Text |
<|file_sep|>src/main/webapp/components/BuildSnapshotContainer.js.diff
original:
updated:
import {Wrapper} from "./Wrapper";
<|file_sep|>src/main/webapp/components/BuildSnapshotContainer.js.diff
original:
<div>
updated:
<Wrapper>
<|file_sep|>original/src/main/webapp/components/BuildSnapshotContainer.js
import *... | import * as React from "react";
import {Wrapper} from "./Wrapper";
/**
* Container Component for BuildSnapshots.
*
* @param {*} props input property containing an array of build data to be
* rendered through BuildSnapshot.
*/
export const BuildSnapshotContainer = (props) => {
return (
<Wrapper>
snapsho... | <|file_sep|>src/main/webapp/components/BuildSnapshotContainer.js.diff
original:
updated:
import {Wrapper} from "./Wrapper";
<|file_sep|>src/main/webapp/components/BuildSnapshotContainer.js.diff
original:
<div>
updated:
<Wrapper>
<|file_sep|>original/src/main/webapp/components/BuildSnapshotContainer.js
import *... | 9ca57d8961b71ed49616fd20773f9a04b3881f3f | src/main/webapp/components/BuildSnapshotContainer.js | src/main/webapp/components/BuildSnapshotContainer.js | JavaScript |
<|file_sep|>original/source/XeroApi/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The followi... |
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed... | <|file_sep|>original/source/XeroApi/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The followi... | a0d47c5293a97a47a96f77e2f25d1b0fc733e564 | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/src/test/coffee/MeducationFrontEndSpec.coffee
describe "Meducation Front-end Application Module", () ->
it "should be available as a module", () ->
frontEndApplicationModule = angular.module "meducationFrontEnd"
expect(frontEndApplicationModule.name).toBe "meducationFrontEnd"
<|file_sep|>... | describe 'Meducation Front-end Application Module', () ->
it 'should be available as a module', () ->
frontEndApplicationModule = angular.module 'meducationFrontEnd'
expect(frontEndApplicationModule.name).toBe 'meducationFrontEnd' | <|file_sep|>original/src/test/coffee/MeducationFrontEndSpec.coffee
describe "Meducation Front-end Application Module", () ->
it "should be available as a module", () ->
frontEndApplicationModule = angular.module "meducationFrontEnd"
expect(frontEndApplicationModule.name).toBe "meducationFrontEnd"
<|file_sep|>... | d8e0cdc6cc1a0c8891b84ef2c72377cb25eb5bb9 | src/test/coffee/MeducationFrontEndSpec.coffee | src/test/coffee/MeducationFrontEndSpec.coffee | CoffeeScript |
<|file_sep|>original/clojure-dev/tasks/main.yml
---
- name: Install leiningen
get_url: url=https://raw.github.com/technomancy/leiningen/stable/bin/lein
dest=/usr/local/bin/lein
owner=root group=root mode=0755
- name: Temporarily downgrade leiningen
replace: dest=/usr/local/bin/lein regexp='L... |
---
- name: Install leiningen
get_url: url=https://raw.github.com/technomancy/leiningen/stable/bin/lein
dest=/usr/local/bin/lein
owner=root group=root mode=0755
- name: Force-download leiningen's jars
sudo: True
sudo_user: "{{ interactive_user }}"
command: lein help creates=/home/{{ inte... | <|file_sep|>original/clojure-dev/tasks/main.yml
---
- name: Install leiningen
get_url: url=https://raw.github.com/technomancy/leiningen/stable/bin/lein
dest=/usr/local/bin/lein
owner=root group=root mode=0755
- name: Temporarily downgrade leiningen
replace: dest=/usr/local/bin/lein regexp='L... | 7a5fdcce0dc03359cc61c3b3a131517488062451 | clojure-dev/tasks/main.yml | clojure-dev/tasks/main.yml | YAML |
<|file_sep|>original/main.go
service2 "github.com/ayufan/golang-kardianos-service"
)
type app struct {
logger service2.Logger
watcherDoneChannel chan bool
}
func (a *app) OnStop() {
defer recover()
close(a.watcherDoneChannel)
}
func (a *app) Run(logger service2.Logger) {
a.logger = logger
defer fu... | service2 "github.com/ayufan/golang-kardianos-service"
)
type app struct {
logger service2.Logger
watcherDoneChannel chan bool
}
func (a *app) OnStop() {
defer recover()
if a.watcherDoneChannel != nil {
close(a.watcherDoneChannel)
}
}
func (a *app) Run(logger service2.Logger) {
a.logger = logger
... | <|file_sep|>original/main.go
service2 "github.com/ayufan/golang-kardianos-service"
)
type app struct {
logger service2.Logger
watcherDoneChannel chan bool
}
func (a *app) OnStop() {
defer recover()
close(a.watcherDoneChannel)
}
func (a *app) Run(logger service2.Logger) {
a.logger = logger
defer fu... | d0e5eded1d1207c9123fb9fd6bcbdb8a95975ecd | main.go | main.go | Go |
<|file_sep|>original/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcoming
### Initial version
- Extracted handlebars-engine from `customize`
<|file_sep|>current/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcomi... | # Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## v0.0.1 - 2015-06-29
### Initial version
- Extracted handlebars-engine from `customize` | <|file_sep|>original/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcoming
### Initial version
- Extracted handlebars-engine from `customize`
<|file_sep|>current/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcomi... | 5ed67b4412ca8523a7cb8501744d5bb1499b7dd9 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==2.9.2
pytest-django==2.9.1
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==2.9.2
pytest-django==2.9.1
<|file_sep|>updated/{{cookiecutter.repo_name}}/requirements/testing.txt | -r base.txt
pytest==3.0.0
pytest-django==2.9.1 | <|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==2.9.2
pytest-django==2.9.1
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==2.9.2
pytest-django==2.9.1
<|file_sep|>updated/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base... | 84059f3e7219cf09b74d53183b8c6c5e1e074cd0 | {{cookiecutter.repo_name}}/requirements/testing.txt | {{cookiecutter.repo_name}}/requirements/testing.txt | Text |
<|file_sep|>original/_posts/2016-05-21-python-simple-ciphertext.md
---
layout: post
title: "Python Simple Ciphertext"
date: 2016-05-21 14:32:04 +0700
categories: [python, security]
---
Simply how to make a ciphertext only with 1 line. in this sample, the plaintext is result encoded from hexa.
```python
>>> #hex_en... | ---
layout: post
title: "Python Simple Ciphertext"
date: 2016-05-21 14:32:04 +0700
categories: [python, security]
---
Simply how to make a ciphertext only with 1 line. in this sample, the plaintext is result encoded from hexa. and then, just changing all integer `3` to `6` and also otherwise from `6` to `3`.
```py... | <|file_sep|>original/_posts/2016-05-21-python-simple-ciphertext.md
---
layout: post
title: "Python Simple Ciphertext"
date: 2016-05-21 14:32:04 +0700
categories: [python, security]
---
Simply how to make a ciphertext only with 1 line. in this sample, the plaintext is result encoded from hexa.
```python
>>> #hex_en... | 563cea898f9d010b096c0d39c711531e60943bfc | _posts/2016-05-21-python-simple-ciphertext.md | _posts/2016-05-21-python-simple-ciphertext.md | Markdown |
<|file_sep|>original/app/templates/student-action.html
<li>
<a ng-href="#/students/{{student.id}}/edit">
Edit Student
</a>
</li>
<li>
<a ng-href="#/students/{{student.id}}/labels">
Edit Labels
</a>
<li>
<a ng-href="#/students/{{student.id}}/audits/new">
Log Audit
</a>
</li>
<li>
<a ng-href=... | <li>
<a ng-href="#/students/{{student.id}}/edit">
Edit Student
</a>
</li>
<li>
<a ng-href="#/students/{{student.id}}/labels">
Edit Labels
</a>
</li>
<li>
<a ng-href="#/students/{{student.id}}/cop_in/new">
Add Change of Program In
</a>
<li>
<a ng-href="#/students/{{student.id}}/cop_out/new">... | <|file_sep|>original/app/templates/student-action.html
<li>
<a ng-href="#/students/{{student.id}}/edit">
Edit Student
</a>
</li>
<li>
<a ng-href="#/students/{{student.id}}/labels">
Edit Labels
</a>
<li>
<a ng-href="#/students/{{student.id}}/audits/new">
Log Audit
</a>
</li>
<li>
<a ng-href=... | e3f72197bcd1ba3983cad1125aa459c7ec939c34 | app/templates/student-action.html | app/templates/student-action.html | HTML |
<|file_sep|>original/addon/styles/partials/_uni-modal.scss
&__header {
@include flex();
@include space-between();
text-align: left;
}
&__close-button svg {
width: 20px;
height: 20px;
fill: color('primary');
}
.content {
margin: 30px 0;
max-width: columns(8);
}
.controls... |
&__header {
@include flex();
@include space-between();
text-align: left;
}
&__close-button svg {
width: 20px;
height: 20px;
fill: color('text', 'close');
}
.content {
margin: 30px 0;
max-width: columns(8);
}
.controls {
@include flex();
@include align-items-cent... | <|file_sep|>original/addon/styles/partials/_uni-modal.scss
&__header {
@include flex();
@include space-between();
text-align: left;
}
&__close-button svg {
width: 20px;
height: 20px;
fill: color('primary');
}
.content {
margin: 30px 0;
max-width: columns(8);
}
.controls... | 83e28588118b1e2efabf97254af8ebba668188d1 | addon/styles/partials/_uni-modal.scss | addon/styles/partials/_uni-modal.scss | SCSS |
<|file_sep|>application.py.diff
original:
updated:
from sentry_sdk.integrations.redis import RedisIntegration
<|file_sep|>original/application.py
import sentry_sdk
from flask import Flask
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations import logging
from app import create_app
... | import sentry_sdk
from flask import Flask
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations.redis import RedisIntegration
from sentry_sdk.integrations import logging
from app import create_app
sentry_sdk.init(
dsn=os.environ['SENTRY_DSN'],
integrations=[FlaskIntegration()... | <|file_sep|>application.py.diff
original:
updated:
from sentry_sdk.integrations.redis import RedisIntegration
<|file_sep|>original/application.py
import sentry_sdk
from flask import Flask
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations import logging
from app import create_app
... | 1bc174d357423964191625faad6733466320face | application.py | application.py | Python |
<|file_sep|>original/packages/babel-plugin-transform-es2015-modules-reify/package.json
},
"keywords": [
"modules",
"import",
"export",
"transform",
"babel",
"plugin",
"babel-plugin",
"reify",
"meteor"
],
"license": "MIT",
"engines": {
"node": ">=4"
},
"dependencies"... | },
"keywords": [
"modules",
"import",
"export",
"transform",
"babel",
"plugin",
"babel-plugin",
"reify",
"meteor"
],
"license": "MIT",
"engines": {
"node": ">=4"
},
"dependencies": {
"babel-types": "^6.24.1",
"reify": "^0.9.0"
}
} | <|file_sep|>original/packages/babel-plugin-transform-es2015-modules-reify/package.json
},
"keywords": [
"modules",
"import",
"export",
"transform",
"babel",
"plugin",
"babel-plugin",
"reify",
"meteor"
],
"license": "MIT",
"engines": {
"node": ">=4"
},
"dependencies"... | 768252d7a8ef85656c4bfda93c9e18ae2761cdbc | packages/babel-plugin-transform-es2015-modules-reify/package.json | packages/babel-plugin-transform-es2015-modules-reify/package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
cache: cargo
<|file_sep|>original/.travis.yml
- nightly
matrix:
allow_failures:
- rust: nightly
env:
global:
secure: m/9uIj9YUvDtVj4qelwVCYzXbaJ3M+zqeazDXDrvClIB6CSt1PaPxcKSdcUPm74+9CBKBX6XRxjz8M1... | - stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
env:
global:
secure: m/9uIj9YUvDtVj4qelwVCYzXbaJ3M+zqeazDXDrvClIB6CSt1PaPxcKSdcUPm74+9CBKBX6XRxjz8M1Dgtu1nHPfP8BzcyAgXcpGYpBkIW1cjcwi6p9LRQS7Dg3VWZlAgSvEqEDSOLjCxtmtQ2Spea4CrLfq2nsO2O86hbSsi6M=
addons:
apt:
packages:
- libma... | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
cache: cargo
<|file_sep|>original/.travis.yml
- nightly
matrix:
allow_failures:
- rust: nightly
env:
global:
secure: m/9uIj9YUvDtVj4qelwVCYzXbaJ3M+zqeazDXDrvClIB6CSt1PaPxcKSdcUPm74+9CBKBX6XRxjz8M1... | 0e7ed257edc4e58a0a90e9194696adfe15ff5520 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/vumi/transports/httprpc/tests/test_auth.py
<|file_sep|>current/vumi/transports/httprpc/tests/test_auth.py
<|file_sep|>updated/vumi/transports/httprpc/tests/test_auth.py | # -*- coding: utf-8 -*-
"""Tests for vumi.transports.httprpc.auth."""
from twisted.web.resource import IResource
from twisted.cred.credentials import UsernamePassword
from twisted.cred.error import UnauthorizedLogin
from vumi.tests.helpers import VumiTestCase
from vumi.transports.httprpc.auth import HttpRpcRealm, St... | <|file_sep|>original/vumi/transports/httprpc/tests/test_auth.py
<|file_sep|>current/vumi/transports/httprpc/tests/test_auth.py
<|file_sep|>updated/vumi/transports/httprpc/tests/test_auth.py
# -*- coding: utf-8 -*-
"""Tests for vumi.transports.httprpc.auth."""
from twisted.web.resource import IResource
from twisted.... | 5d394aa1f2df7a36a90b3dee2436ae3b5742d60e | vumi/transports/httprpc/tests/test_auth.py | vumi/transports/httprpc/tests/test_auth.py | Python |
<|file_sep|>opsworks-sidekiq/templates/default/sidekiq.conf.erb.diff
original:
setgid deploy
updated:
setgid www-data
<|file_sep|>opsworks-sidekiq/templates/default/sidekiq.conf.erb.diff
original:
# TERM is sent by sidekiqctl when stopping sidekiq. Without declaring these as normal exit codes, it just respawns.
normal... |
description "Sidekiq Background Worker"
# no "start on", we don't want to automatically start
stop on (stopping workers or runlevel [06])
# change to match your deployment user
setuid deploy
setgid www-data
respawn
respawn limit 3 30
# TERM and USR1 are sent by sidekiqctl when stopping sidekiq. Without declaring ... | <|file_sep|>opsworks-sidekiq/templates/default/sidekiq.conf.erb.diff
original:
setgid deploy
updated:
setgid www-data
<|file_sep|>opsworks-sidekiq/templates/default/sidekiq.conf.erb.diff
original:
# TERM is sent by sidekiqctl when stopping sidekiq. Without declaring these as normal exit codes, it just respawns.
normal... | 9cc34ac8391bee46bb20ed1a830e1c66541f1609 | opsworks-sidekiq/templates/default/sidekiq.conf.erb | opsworks-sidekiq/templates/default/sidekiq.conf.erb | HTML+ERB |
<|file_sep|>original/src/lists/lists.macros.html
{#
* Renders a List of links
* @param {array} data - Collection of heading, links, and hrefs to populate the list
* @param {boolean} [action_link=false] - Action link that is the last item, has an icon
* @param {string} [action_link_icon=arrow] - Option to specif... | {#
* Renders a List of links
* @param {array} data - Collection of heading, links, and hrefs to populate the list
* @param {boolean} [action_link=false] - Action link that is the last item, has an icon
* @param {string} [action_link_icon=arrow] - Option to specify different icon for the action link
* @param {... | <|file_sep|>original/src/lists/lists.macros.html
{#
* Renders a List of links
* @param {array} data - Collection of heading, links, and hrefs to populate the list
* @param {boolean} [action_link=false] - Action link that is the last item, has an icon
* @param {string} [action_link_icon=arrow] - Option to specif... | ee4fb3d94f819f4aa0c5d985dd46c2026918dd66 | src/lists/lists.macros.html | src/lists/lists.macros.html | HTML |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- jruby-9.0.0.0
env:
- RSPEC_VERSION=2.14
- RSPEC_VERSION=2.99
- RSPEC_VERSION=3.0
- RSPEC_VERSION=3.1
- RSPEC_VERSION=3.2
- RSPEC_VERSION=3.3
- RSPEC_VERSION=3.4
- RSPEC_VERSION=head
before_instal... | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- jruby-9.0.0.0
env:
- RSPEC_VERSION=2.14
- RSPEC_VERSION=2.99
- RSPEC_VERSION=3.0
- RSPEC_VERSION=3.4
- RSPEC_VERSION=head
before_install: gem update --remote bundler
script: bundle exec rake ci
sudo: false
cache: bundle... | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- jruby-9.0.0.0
env:
- RSPEC_VERSION=2.14
- RSPEC_VERSION=2.99
- RSPEC_VERSION=3.0
- RSPEC_VERSION=3.1
- RSPEC_VERSION=3.2
- RSPEC_VERSION=3.3
- RSPEC_VERSION=3.4
- RSPEC_VERSION=head
before_instal... | 4fd27b35ef9a21aeabaf613012a168c90d611ebe | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/Attachment.php.diff
original:
updated:
/**
* @param $supportTarget
*/
<|file_sep|>original/src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/Attachment.php
<?php
namespace Oro\src\Oro\Bundle\EmailBundle\Tests\Unit\Fixtures\Entity;
us... | {
protected $supportTarget = true;
/**
* @param $supportTarget
*/
public function setSupportTarget($supportTarget)
{
$this->supportTarget = $supportTarget;
}
/**
* @param string $targetClass
*
* @return bool
*/
public function supportTarget($targetClas... | <|file_sep|>src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/Attachment.php.diff
original:
updated:
/**
* @param $supportTarget
*/
<|file_sep|>original/src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/Attachment.php
<?php
namespace Oro\src\Oro\Bundle\EmailBundle\Tests\Unit\Fixtures\Entity;
us... | 754c73bec1513c805712f7171f65fffb179796ab | src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/Attachment.php | src/Oro/Bundle/EmailBundle/Tests/Unit/Fixtures/Entity/Attachment.php | PHP |
<|file_sep|>original/.travis.yml
sudo: false
language: java
before_script:
- test "x$RUN_CHECKSTYLE" != 'x' || ant -Djava.awt.headless=true download_jars install
- test "x$RUN_CHECKSTYLE" != 'xtrue' || ant -Djava.awt.headless=true download_checkstyle
# skip default "install" command
install: true
matrix:
inclu... | sudo: false
language: java
before_script:
- test "x$RUN_CHECKSTYLE" != 'x' || ant -Djava.awt.headless=true download_jars install
- test "x$RUN_CHECKSTYLE" != 'xtrue' || ant -Djava.awt.headless=true download_checkstyle
# skip default "install" command
install: true
matrix:
include:
- jdk: oraclejdk8
e... | <|file_sep|>original/.travis.yml
sudo: false
language: java
before_script:
- test "x$RUN_CHECKSTYLE" != 'x' || ant -Djava.awt.headless=true download_jars install
- test "x$RUN_CHECKSTYLE" != 'xtrue' || ant -Djava.awt.headless=true download_checkstyle
# skip default "install" command
install: true
matrix:
inclu... | 5900e56a0b86375083c276fdfddbd545983df8cd | .travis.yml | .travis.yml | YAML |
<|file_sep|>content/home/getting-started.md.diff
original:
-moz-box-shadow: @style @c;
updated:
<|file_sep|>original/content/home/getting-started.md
.box-shadow(@style, rgba(0, 0, 0, @alpha));
}
.box {
color: saturate(@base, 5%);
border-color: lighten(@base, 30%);
div { .box-shadow(0 0 5px, 30%) }
}
```
... | .box-shadow(@style, rgba(0, 0, 0, @alpha));
}
.box {
color: saturate(@base, 5%);
border-color: lighten(@base, 30%);
div { .box-shadow(0 0 5px, 30%) }
}
```
compiles to
```css
.box {
color: #fe33ac;
border-color: #fdcdea;
}
.box div {
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 5px ... | <|file_sep|>content/home/getting-started.md.diff
original:
-moz-box-shadow: @style @c;
updated:
<|file_sep|>original/content/home/getting-started.md
.box-shadow(@style, rgba(0, 0, 0, @alpha));
}
.box {
color: saturate(@base, 5%);
border-color: lighten(@base, 30%);
div { .box-shadow(0 0 5px, 30%) }
}
```
... | a58d839daa693946ef94ab476de029df060bae77 | content/home/getting-started.md | content/home/getting-started.md | Markdown |
<|file_sep|>original/README.md
[](https://travis-ci.org/flegall/haste-map-webpack-resolver)
# haste-map-webpack-resolver
A webpack resolver plugin using facebook's haste-map
<|file_sep|>current/README.md
[](https://travis-ci.org/flegall/haste-map-webpack-resolver)
# haste-map-webpack-resolver
A webpack resolver plugin using facebook's haste map.
If like me, you're tired of relative paths for module imports and would like to use... | <|file_sep|>original/README.md
[](https://travis-ci.org/flegall/haste-map-webpack-resolver)
# haste-map-webpack-resolver
A webpack resolver plugin using facebook's haste-map
<|file_sep|>current/README.md
[
# Build and assign bookin... | # Prepare booking parameters
booking_params = {
:value_date => value_date,
:reference_type => self.class.name,
:reference_id => self.id
}
booking_params.merge!(params)
# Build and assign booking
booking = booking_template.build_book... | <|file_sep|>original/lib/has_accounts/model.rb
# Prepare booking parameters
booking_params = {
:value_date => value_date,
:reference_type => self.class.name,
:reference_id => self.id
}
booking_params.merge!(params)
# Build and assign bookin... | 1782ae7034437b4b5a80f5bdaf68c21656ec16b2 | lib/has_accounts/model.rb | lib/has_accounts/model.rb | Ruby |
<|file_sep|>spec/dummy/app/themes/default/views/thredded/shared/_top_nav.html.erb.diff
original:
<!-- always -->
updated:
<|file_sep|>spec/dummy/app/themes/default/views/thredded/shared/_top_nav.html.erb.diff
original:
<!-- <svg viewBox="0 0 32 32"><use xlink:href="#search1"></use></svg> -->
updated:
<|file... | <% end %>
</li>
<% end %>
<li class="main--nav--user">
<%= link_to "/users/#{current_user}" do %>
<span><%= current_user %></span>
<% end %>
</li>
<li class="main--nav--sign-out">
<%= link_to main_app.session_path, method: :delete do %>
... | <|file_sep|>spec/dummy/app/themes/default/views/thredded/shared/_top_nav.html.erb.diff
original:
<!-- always -->
updated:
<|file_sep|>spec/dummy/app/themes/default/views/thredded/shared/_top_nav.html.erb.diff
original:
<!-- <svg viewBox="0 0 32 32"><use xlink:href="#search1"></use></svg> -->
updated:
<|file... | e959f38f6e7dfd3c901d5ed0e85c89fec8e04308 | spec/dummy/app/themes/default/views/thredded/shared/_top_nav.html.erb | spec/dummy/app/themes/default/views/thredded/shared/_top_nav.html.erb | HTML+ERB |
<|file_sep|>mfnf/latex_template.tex.diff
original:
\documentclass{book}
updated:
\documentclass[a4paper]{book}
<|file_sep|>original/mfnf/latex_template.tex
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepac... | \documentclass[a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage[a4paper]{geometry}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage[space]{grffile}
\newcommand*{\R}{\mathbb{R}}
\newcommand*{\N}{\mathbb{N}}
\newcommand*{\Z}{\mathbb{Z}}
\newcom... | <|file_sep|>mfnf/latex_template.tex.diff
original:
\documentclass{book}
updated:
\documentclass[a4paper]{book}
<|file_sep|>original/mfnf/latex_template.tex
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepac... | c1e8d21f33cdcd6c996f15a460e409c9796a48ec | mfnf/latex_template.tex | mfnf/latex_template.tex | TeX |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.