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/blueprints/component-test/qunit-files/tests/__testType__/__path__/__test__.js
import { moduleForComponent, test } from 'ember-qunit';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
moduleForComponent('<%= componentPathName %>', '<%= friendlyTestDescript... | import { moduleForComponent, test } from 'ember-qunit';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
moduleForComponent('<%= componentPathName %>', '<%= friendlyTestDescription %>', {
<% if (testType === 'integration' ) { %>integration: true<% } else if(testType === 'un... | <|file_sep|>original/blueprints/component-test/qunit-files/tests/__testType__/__path__/__test__.js
import { moduleForComponent, test } from 'ember-qunit';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
moduleForComponent('<%= componentPathName %>', '<%= friendlyTestDescript... | af1a6f5289a4ec08fa40e3c8357789fe904f4b37 | blueprints/component-test/qunit-files/tests/__testType__/__path__/__test__.js | blueprints/component-test/qunit-files/tests/__testType__/__path__/__test__.js | JavaScript |
<|file_sep|>original/docker/heat/heat-base/extend_start.sh
#!/bin/bash
if [[ ! -d "/var/log/kolla/heat" ]]; then
mkdir -p /var/log/kolla/heat
fi
if [[ $(stat -c %a /var/log/kolla/heat) != "755" ]]; then
chmod 755 /var/log/kolla/heat
fi
. /usr/local/bin/kolla_heat_extend_start
<|file_sep|>current/docker/heat/h... | #!/bin/bash
if [[ ! -d "/var/log/kolla/heat" ]]; then
mkdir -p /var/log/kolla/heat
fi
if [[ $(stat -c %a /var/log/kolla/heat) != "755" ]]; then
chmod 755 /var/log/kolla/heat
fi
# Assume the service runs on top of Apache when user is root
if [[ $USER == 'root' ]]; then
# NOTE(pbourke): httpd will not clean... | <|file_sep|>original/docker/heat/heat-base/extend_start.sh
#!/bin/bash
if [[ ! -d "/var/log/kolla/heat" ]]; then
mkdir -p /var/log/kolla/heat
fi
if [[ $(stat -c %a /var/log/kolla/heat) != "755" ]]; then
chmod 755 /var/log/kolla/heat
fi
. /usr/local/bin/kolla_heat_extend_start
<|file_sep|>current/docker/heat/h... | 3b7e44adeec11b1fec6c28fbf924f8b6cdfab1d3 | docker/heat/heat-base/extend_start.sh | docker/heat/heat-base/extend_start.sh | Shell |
<|file_sep|>original/src/main/java/GPG.java
<|file_sep|>current/src/main/java/GPG.java
<|file_sep|>updated/src/main/java/GPG.java | package se.soy.gpg;
public class GPG {
// FIXME Remove when done
static<T> void println(T arg) { System.out.println(arg); }
public static void main(String[] args) {
println("main");
GPG.encrypt().armor().recipient("0xrecipient").output();
/*
GPG.encrypt().armor().recipient("0xrecipient").output(... | <|file_sep|>original/src/main/java/GPG.java
<|file_sep|>current/src/main/java/GPG.java
<|file_sep|>updated/src/main/java/GPG.java
package se.soy.gpg;
public class GPG {
// FIXME Remove when done
static<T> void println(T arg) { System.out.println(arg); }
public static void main(String[] args) {
println("ma... | a3ab298162a84e8ad717ba3f13fe4d7fdd5745d0 | src/main/java/GPG.java | src/main/java/GPG.java | Java |
<|file_sep|>original/jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java
<|file_sep|>current/jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java
<|file_sep|>updated/jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java | package org.menacheri.protocols.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.handler.codec.embedder.DecoderEmbedder;
import org.jboss.netty.handler.codec.embedder.EncoderEmbedder;
import org.jboss.net... | <|file_sep|>original/jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java
<|file_sep|>current/jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java
<|file_sep|>updated/jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java
packa... | be4e2a752a4a8de676e1594c41efbf29e4a33b41 | jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java | jetserver/src/test/java/org/menacheri/protocols/impl/MessageBufferProtocolTest.java | Java |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: go
go:
- 1.7.x
sudo: false
cache:
directories:
- vendor
install:
- go get github.com/Masterminds/glide
script:
- make test
- make build | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: go
go:
- 1.7.x
sudo: false
cache:
directories:
- vendor
install:
- go get github.com/Masterminds/glide
script:
- make test
- make build | 25236aed6b88036e44a6cfeba1e5585ba8d4fb11 | .travis.yml | .travis.yml | YAML |
<|file_sep|>build/oggm/run_test.py.diff
original:
import pytest_mpl.plugin
updated:
<|file_sep|>original/build/oggm/run_test.py
#!/usr/bin/env python
import os
os.environ["MPLBACKEND"] = 'agg'
import matplotlib
matplotlib.use('agg')
import pytest
import pytest_mpl.plugin
import oggm
import sys
import ssl
ssl._crea... | #!/usr/bin/env python
import os
os.environ["MPLBACKEND"] = 'agg'
import matplotlib
matplotlib.use('agg')
import pytest
import oggm
import sys
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
initial_dir = os.getcwd()
oggm_file = os.path.abspath(oggm.__file__)
oggm_dir = os.path.dirname... | <|file_sep|>build/oggm/run_test.py.diff
original:
import pytest_mpl.plugin
updated:
<|file_sep|>original/build/oggm/run_test.py
#!/usr/bin/env python
import os
os.environ["MPLBACKEND"] = 'agg'
import matplotlib
matplotlib.use('agg')
import pytest
import pytest_mpl.plugin
import oggm
import sys
import ssl
ssl._crea... | 03b180bf1dad2f7f82dec177b1fece369bdcf5e6 | build/oggm/run_test.py | build/oggm/run_test.py | Python |
<|file_sep|>original/Resources/doc/index.md
Getting Started With HWIOAuthBundle
=====================================
## Installation
Will follow soon.
<|file_sep|>current/Resources/doc/index.md
Getting Started With HWIOAuthBundle
=====================================
## Installation
Will follow soon.
<|file_sep|>u... | Getting Started With HWIOAuthBundle
=====================================
## Installation
Will follow soon. For now check out the reference configuration below.
## Reference configuration
``` yaml
# app/config.yml
hwi_oauth:
# configuration of oauth resource oweners to use
resource_owners:
github:
... | <|file_sep|>original/Resources/doc/index.md
Getting Started With HWIOAuthBundle
=====================================
## Installation
Will follow soon.
<|file_sep|>current/Resources/doc/index.md
Getting Started With HWIOAuthBundle
=====================================
## Installation
Will follow soon.
<|file_sep|>u... | 73016645b62af430e28fbc625ad795a4251d36e0 | Resources/doc/index.md | Resources/doc/index.md | Markdown |
<|file_sep|>original/bw-util-deployment/pom.xml
<groupId>org.bedework</groupId>
<artifactId>bw-util-deployment</artifactId>
<version>4.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<dependencies>
<!-- Bedework -->
<dependency>
<groupId>org.bedework</groupId>
<artifactId>bw-util-args<... | <dependencies>
<!-- Bedework -->
<dependency>
<groupId>org.bedework</groupId>
<artifactId>bw-util-args</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.bedework</groupId>
<artifactId>bw-util-dav</artifactId>
<version>${proj... | <|file_sep|>original/bw-util-deployment/pom.xml
<groupId>org.bedework</groupId>
<artifactId>bw-util-deployment</artifactId>
<version>4.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<dependencies>
<!-- Bedework -->
<dependency>
<groupId>org.bedework</groupId>
<artifactId>bw-util-args<... | 11369dfdb89ad6ea093ddabc83097204ef595729 | bw-util-deployment/pom.xml | bw-util-deployment/pom.xml | XML |
<|file_sep|>original/README.md
# code-reviewer
Helps code reviews on GitHub pull requests using a Trello board.
<|file_sep|>current/README.md
# code-reviewer
Helps code reviews on GitHub pull requests using a Trello board.
<|file_sep|>updated/README.md | # code-reviewer
Helps code reviews on GitHub pull requests using a Trello board.
[Create a consumer token](https://trello.com/1/authorize?key=5fb96cf3838f76d61a98e9c74da8ccf6&name=CodeReviewer&expiration=never&response_type=token&scope=read,write).
| <|file_sep|>original/README.md
# code-reviewer
Helps code reviews on GitHub pull requests using a Trello board.
<|file_sep|>current/README.md
# code-reviewer
Helps code reviews on GitHub pull requests using a Trello board.
<|file_sep|>updated/README.md
# code-reviewer
Helps code reviews on GitHub pull requests u... | 52057b2cb10242bfbc1a338e830b65be41b54332 | README.md | README.md | Markdown |
<|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==2.2.1
Werkzeug==0.16.0
django-debug-toolbar==2.0
ipdb==0.12.2
factory-boy==2.12.0
lxml==4.4.1
django-coverage-plugin==1.6.0
coverage==4.5.4
coveralls==1.8.2
vcrpy==2.1.0
sphinxcontrib-programoutput==0.15
<|file_sep|>c... | # Local development dependencies go here
-r base.txt
Sphinx==2.2.1
Werkzeug==0.16.0
django-debug-toolbar==2.0
ipdb==0.12.2
factory-boy==2.12.0
lxml==4.4.1
django-coverage-plugin==1.6.0
coverage==4.5.4
coveralls==1.8.2
vcrpy==2.1.1
sphinxcontrib-programoutput==0.15 | <|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==2.2.1
Werkzeug==0.16.0
django-debug-toolbar==2.0
ipdb==0.12.2
factory-boy==2.12.0
lxml==4.4.1
django-coverage-plugin==1.6.0
coverage==4.5.4
coveralls==1.8.2
vcrpy==2.1.0
sphinxcontrib-programoutput==0.15
<|file_sep|>c... | d8b81aeefcbce636e407cf6471334b8202a8501b | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>_posts/2014-06-19-author-override.md.diff
original:
``` yaml
updated:
{% highlight yaml %}
<|file_sep|>original/_posts/2014-06-19-author-override.md
category: articles
tags: [sample post, readability, test]
author:
name: Billy Rick
avatar: bio-photo-alt.jpg
comments: true
share: true
---
For those of y... | category: articles
tags: [sample post, readability, test]
author:
name: Billy Rick
avatar: bio-photo-alt.jpg
comments: true
share: true
---
For those of you who may have content written by multiple authors on your site, here's a new feature I added to So Simple.
Traditionally you would assign a global author for ... | <|file_sep|>_posts/2014-06-19-author-override.md.diff
original:
``` yaml
updated:
{% highlight yaml %}
<|file_sep|>original/_posts/2014-06-19-author-override.md
category: articles
tags: [sample post, readability, test]
author:
name: Billy Rick
avatar: bio-photo-alt.jpg
comments: true
share: true
---
For those of y... | db87fcb1f61813206467f539726ec0d44bd7b48e | _posts/2014-06-19-author-override.md | _posts/2014-06-19-author-override.md | Markdown |
<|file_sep|>original/requirements.txt
anyjson>=0.2.4
argparse
eventlet>=0.9.17
greenlet>=0.3.1
httplib2
iso8601>=0.1.4
kombu>=1.0.4
netaddr
python-quantumclient>=2.2.0,<3.0.0
pyudev
sqlalchemy>=0.7.8,<=0.7.99
WebOb>=1.2
python-keystoneclient>=0.2.0
alembic>=0.4.1
oslo.config>=1.1.0
six
stevedore>=0.9
# Cisco plugin de... | anyjson>=0.2.4
argparse
eventlet>=0.9.17
greenlet>=0.3.1
httplib2
iso8601>=0.1.4
kombu>=1.0.4
netaddr
python-quantumclient>=2.2.0,<3.0.0
pyudev
sqlalchemy>=0.7.8,<=0.7.99
WebOb>=1.2
python-keystoneclient>=0.2.0
alembic>=0.4.1
http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a2.tar.gz#egg=oslo.config-1.2.0a2
s... | <|file_sep|>original/requirements.txt
anyjson>=0.2.4
argparse
eventlet>=0.9.17
greenlet>=0.3.1
httplib2
iso8601>=0.1.4
kombu>=1.0.4
netaddr
python-quantumclient>=2.2.0,<3.0.0
pyudev
sqlalchemy>=0.7.8,<=0.7.99
WebOb>=1.2
python-keystoneclient>=0.2.0
alembic>=0.4.1
oslo.config>=1.1.0
six
stevedore>=0.9
# Cisco plugin de... | 85b7c4cfb456584281024855c30b26ebe8bc98bb | requirements.txt | requirements.txt | Text |
<|file_sep|>original/Casks/shapes.rb
cask :v1 => 'shapes' do
version '4.4'
sha256 '520c4fb4dc3580f713fd98e26cadf8495febe1bd0e553d3b8dbd2ebd9cad672f'
url "http://shapesapp.com/dist/Shapes_#{version}.zip"
name 'Shapes'
appcast 'http://shapesapp.com/appcast/shapes4.rss',
:sha256 => '128a50bf57ca205718... | cask :v1 => 'shapes' do
version '4.4'
sha256 'b32ef0bdb153a170b0cfdd477b7055baa642635f8301e6c088c0babd91f65282'
url "http://shapesapp.com/dist/Shapes_#{version}.zip"
name 'Shapes'
appcast 'http://shapesapp.com/appcast/shapes4.rss',
:sha256 => '128a50bf57ca205718efbc69076f800da79dfd6d08e4705da216e75... | <|file_sep|>original/Casks/shapes.rb
cask :v1 => 'shapes' do
version '4.4'
sha256 '520c4fb4dc3580f713fd98e26cadf8495febe1bd0e553d3b8dbd2ebd9cad672f'
url "http://shapesapp.com/dist/Shapes_#{version}.zip"
name 'Shapes'
appcast 'http://shapesapp.com/appcast/shapes4.rss',
:sha256 => '128a50bf57ca205718... | cde485dfc15c01bb656d1a242aa3c14a8c312897 | Casks/shapes.rb | Casks/shapes.rb | Ruby |
<|file_sep|>original/src/sas/qtgui/Perspectives/Corfunc/media/fdr-pdfs.rst
.. fdr-pdfs.rst
.. _FDR:
Fibre Diffraction Review References
===================================
:download:`Fibre_Diffraction_Review_1994_3_25-29.pdf <Fibre_Diffraction_Review_1994_3_25-29.pdf>`
:download:`Fibre_Diffraction_Review_2004_12_24.... | .. fdr-pdfs.rst
:orphan:
.. _FDR:
Fibre Diffraction Review References
===================================
:download:`Fibre_Diffraction_Review_1994_3_25-29.pdf <Fibre_Diffraction_Review_1994_3_25-29.pdf>`
:download:`Fibre_Diffraction_Review_2004_12_24.pdf <Fibre_Diffraction_Review_2004_12_24.pdf>`
:download:`Fibre_D... | <|file_sep|>original/src/sas/qtgui/Perspectives/Corfunc/media/fdr-pdfs.rst
.. fdr-pdfs.rst
.. _FDR:
Fibre Diffraction Review References
===================================
:download:`Fibre_Diffraction_Review_1994_3_25-29.pdf <Fibre_Diffraction_Review_1994_3_25-29.pdf>`
:download:`Fibre_Diffraction_Review_2004_12_24.... | 4e8383e8d12770b717a4a598b4dd380bd578e92f | src/sas/qtgui/Perspectives/Corfunc/media/fdr-pdfs.rst | src/sas/qtgui/Perspectives/Corfunc/media/fdr-pdfs.rst | reStructuredText |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project ... | a94b3c7e180c7372dd66e45291717086a6c34070 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/config/initializers/flow_preview.rb
# If an env var isn't to specify showing drafts we'll decide it based on Rails
# environment
show_drafts = ENV["SHOW_DRAFT_FLOWS"] ? true : !Rails.env.production?
FLOW_REGISTRY_OPTIONS = { show_drafts: show_drafts }.freeze
# Uncomment the following to run smart... | # If an env var isn't to specify showing drafts we'll decide it based on Rails
# environment
show_drafts = ENV["SHOW_DRAFT_FLOWS"] ? true : !Rails.env.production?
FLOW_REGISTRY_OPTIONS = { show_drafts: show_drafts } # rubocop:disable Style/MutableConstant
# Uncomment the following to run smartanswers with the test fl... | <|file_sep|>original/config/initializers/flow_preview.rb
# If an env var isn't to specify showing drafts we'll decide it based on Rails
# environment
show_drafts = ENV["SHOW_DRAFT_FLOWS"] ? true : !Rails.env.production?
FLOW_REGISTRY_OPTIONS = { show_drafts: show_drafts }.freeze
# Uncomment the following to run smart... | 71b961053d2366720ee3646d670088a35e03963c | config/initializers/flow_preview.rb | config/initializers/flow_preview.rb | Ruby |
<|file_sep|>bin/build-sprite-string.js.diff
original:
import defaultAttrs from '../src/default-attrs.json';
updated:
import DEFAULT_ATTRS from '../src/default-attrs.json';
<|file_sep|>bin/build-sprite-string.js.diff
original:
return `<svg xmlns="${defaultAttrs.xmlns}"><defs>${symbols}</defs></svg>`;
updated:
return... | function buildSpriteString(icons) {
const symbols = Object.keys(icons)
.map(icon => toSvgSymbol(icon, icons[icon]))
.join('');
return `<svg xmlns="${DEFAULT_ATTRS.xmlns}"><defs>${symbols}</defs></svg>`;
}
/**
* Create an SVG symbol string.
* @param {string} name - Icon name
* @param {string} contents -... | <|file_sep|>bin/build-sprite-string.js.diff
original:
import defaultAttrs from '../src/default-attrs.json';
updated:
import DEFAULT_ATTRS from '../src/default-attrs.json';
<|file_sep|>bin/build-sprite-string.js.diff
original:
return `<svg xmlns="${defaultAttrs.xmlns}"><defs>${symbols}</defs></svg>`;
updated:
return... | d33cb6ecf918fdba60396c74d1c49993ca9cc656 | bin/build-sprite-string.js | bin/build-sprite-string.js | JavaScript |
<|file_sep|>mistraldashboard/test/helpers.py.diff
original:
def create_stubs(stubs_to_create={}):
return helpers.create_stubs(stubs_to_create)
updated:
<|file_sep|>mistraldashboard/test/helpers.py.diff
original:
use_mox = False
updated:
<|file_sep|>original/mistraldashboard/test/helpers.py
# License for ... | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from openstack_dashboard.test import helpers
from mistraldashboard.test.test_data import utils
class MistralTestsMixin(object):
def _... | <|file_sep|>mistraldashboard/test/helpers.py.diff
original:
def create_stubs(stubs_to_create={}):
return helpers.create_stubs(stubs_to_create)
updated:
<|file_sep|>mistraldashboard/test/helpers.py.diff
original:
use_mox = False
updated:
<|file_sep|>original/mistraldashboard/test/helpers.py
# License for ... | 04c32537f7925aaeb54d8d7aa6da34ce85479c2c | mistraldashboard/test/helpers.py | mistraldashboard/test/helpers.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
cache:
bundler: true
directories:
- travis-phantomjs
- node_modules
before_install:
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis-phantomjs; mkdir -p $PWD/travis-phantomjs; fi"
- "if [ $(phantomjs --version) !=... | language: node_js
node_js:
- "4"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
bundler: true
directories:
- travis-phantomjs
- node_modules
before_install: | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
cache:
bundler: true
directories:
- travis-phantomjs
- node_modules
before_install:
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis-phantomjs; mkdir -p $PWD/travis-phantomjs; fi"
- "if [ $(phantomjs --version) !=... | 73f473732712cf12a46722b5c1504120389cb6a6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gradle/compose.versions.toml
[versions]
compose = "1.2.0-alpha08"
accompanist = "0.24.7-alpha"
[libraries]
activity = "androidx.activity:activity-compose:1.6.0-alpha01"
foundation = { module = "androidx.compose.foundation:foundation", version.ref="compose" }
animation = { module = "androidx.compos... | [versions]
compose = "1.2.0-alpha08"
accompanist = "0.24.7-alpha"
[libraries]
activity = "androidx.activity:activity-compose:1.6.0-alpha03"
foundation = { module = "androidx.compose.foundation:foundation", version.ref="compose" }
animation = { module = "androidx.compose.animation:animation", version.ref="compose" }
ui... | <|file_sep|>original/gradle/compose.versions.toml
[versions]
compose = "1.2.0-alpha08"
accompanist = "0.24.7-alpha"
[libraries]
activity = "androidx.activity:activity-compose:1.6.0-alpha01"
foundation = { module = "androidx.compose.foundation:foundation", version.ref="compose" }
animation = { module = "androidx.compos... | 7abb40789776d1cf088bc959df3404769594f1ab | gradle/compose.versions.toml | gradle/compose.versions.toml | TOML |
<|file_sep|>original/src/text/TextItem.js
* http://lehni.org/ & http://jonathanpuckey.com/
*
* All rights reserved.
*/
var TextItem = this.TextItem = Item.extend({
beans: true,
initialize: function() {
this.base();
point = Point.read(arguments, 0, 1);
this.content = null;
this.setCharacterStyle(this._pr... | * http://lehni.org/ & http://jonathanpuckey.com/
*
* All rights reserved.
*/
var TextItem = this.TextItem = Item.extend({
beans: true,
initialize: function() {
this.base();
this.content = null;
this.setCharacterStyle(this._project.getCurrentStyle());
this.setParagraphStyle();
},
getCharacterStyle: fu... | <|file_sep|>original/src/text/TextItem.js
* http://lehni.org/ & http://jonathanpuckey.com/
*
* All rights reserved.
*/
var TextItem = this.TextItem = Item.extend({
beans: true,
initialize: function() {
this.base();
point = Point.read(arguments, 0, 1);
this.content = null;
this.setCharacterStyle(this._pr... | e5198fea40ab93f1f1ba02e0d0b41efeffd9f9e6 | src/text/TextItem.js | src/text/TextItem.js | JavaScript |
<|file_sep|>original/doom_emacs/init.el
markdown
(csharp +unity)
(haskell +dante)
(org
+attach
+babel
+export
+present)
(cc +lsp)
ocaml
:term
term
:app
;;(email +gmail) ; emacs as an email client
;;(rss +org) ; emacs as an RSS reader
;;(write ; emacs as a word processor (latex... | markdown
(csharp +unity)
(haskell +dante)
(org
+attach
+babel
+export
+present)
(cc +lsp)
ocaml
idris
:term
term
:app
;;(email +gmail) ; emacs as an email client
;;(rss +org) ; emacs as an RSS reader
;;(write ; emacs as a word processor (latex + org + markdown)
;; +wordnut ... | <|file_sep|>original/doom_emacs/init.el
markdown
(csharp +unity)
(haskell +dante)
(org
+attach
+babel
+export
+present)
(cc +lsp)
ocaml
:term
term
:app
;;(email +gmail) ; emacs as an email client
;;(rss +org) ; emacs as an RSS reader
;;(write ; emacs as a word processor (latex... | 3699b18fda3416d05d9516ba7903cbdb76fde4c0 | doom_emacs/init.el | doom_emacs/init.el | Emacs Lisp |
<|file_sep|>original/steam-condenser.gemspec
s.version = SteamCondenser::VERSION
s.platform = Gem::Platform::RUBY
s.authors = [ 'Sebastian Staudt' ]
s.email = [ 'koraktor@gmail.com' ]
s.homepage = 'http://koraktor.de/steam-condenser'
s.license = 'BSD'
s.summary = 'Steam Condens... | s.version = SteamCondenser::VERSION
s.platform = Gem::Platform::RUBY
s.authors = [ 'Sebastian Staudt' ]
s.email = [ 'koraktor@gmail.com' ]
s.homepage = 'http://koraktor.de/steam-condenser'
s.license = 'BSD'
s.summary = 'Steam Condenser - A Steam query library'
s.description =... | <|file_sep|>original/steam-condenser.gemspec
s.version = SteamCondenser::VERSION
s.platform = Gem::Platform::RUBY
s.authors = [ 'Sebastian Staudt' ]
s.email = [ 'koraktor@gmail.com' ]
s.homepage = 'http://koraktor.de/steam-condenser'
s.license = 'BSD'
s.summary = 'Steam Condens... | e37e44865fc37d8eddb3732ee268f6e5b3c0e8da | steam-condenser.gemspec | steam-condenser.gemspec | Ruby |
<|file_sep|>original/codespan-lsp/Cargo.toml
[package]
name = "codespan-lsp"
version = "0.7.0" # CODESPAN
license = "Apache-2.0"
authors = ["Markus Westerlind <marwes91@gmail.com>"]
description = "Conversions between codespan types and Language Server Protocol types"
homepage = "https://github.com/brendanzab/codespan"
... | [package]
name = "codespan-lsp"
version = "0.7.0" # CODESPAN
license = "Apache-2.0"
authors = ["Markus Westerlind <marwes91@gmail.com>"]
description = "Conversions between codespan types and Language Server Protocol types"
homepage = "https://github.com/brendanzab/codespan"
repository = "https://github.com/brendanzab/c... | <|file_sep|>original/codespan-lsp/Cargo.toml
[package]
name = "codespan-lsp"
version = "0.7.0" # CODESPAN
license = "Apache-2.0"
authors = ["Markus Westerlind <marwes91@gmail.com>"]
description = "Conversions between codespan types and Language Server Protocol types"
homepage = "https://github.com/brendanzab/codespan"
... | bfbf63948c00abda98bd4799e1552bcbfec85b2b | codespan-lsp/Cargo.toml | codespan-lsp/Cargo.toml | TOML |
<|file_sep|>opwen_email_server/utils/temporary.py.diff
original:
updated:
from typing import Generator
<|file_sep|>original/opwen_email_server/utils/temporary.py
from os import remove
from tempfile import mkstemp
def create_tempfilename() -> str:
file_descriptor, filename = mkstemp()
close(file_descriptor)
... | from tempfile import mkstemp
from typing import Generator
def create_tempfilename() -> str:
file_descriptor, filename = mkstemp()
close(file_descriptor)
return filename
@contextmanager
def removing(path: str) -> Generator[str, None, None]:
try:
yield path
finally:
_remove_if_exis... | <|file_sep|>opwen_email_server/utils/temporary.py.diff
original:
updated:
from typing import Generator
<|file_sep|>original/opwen_email_server/utils/temporary.py
from os import remove
from tempfile import mkstemp
def create_tempfilename() -> str:
file_descriptor, filename = mkstemp()
close(file_descriptor)
... | abfe0538769145ac83031062ce3b22d2622f18bf | opwen_email_server/utils/temporary.py | opwen_email_server/utils/temporary.py | Python |
<|file_sep|>original/README.md
```
3. Check the Laravel installation is running properly before proceeding.
4. Add the connexion package to composer.json by adding a repositories section and requiring the package as follows (note the minimum-stability setting is just until tymon/jwt-auth reaches v 1.0.0 - at the momen... | 3. Check the Laravel installation is running properly before proceeding.
4. Add the connexion package to composer.json by adding a repositories section and requiring the package as follows (note the minimum-stability setting is just until tymon/jwt-auth reaches v 1.0.0 - at the moment it is a RC:
```
"repositories": [... | <|file_sep|>original/README.md
```
3. Check the Laravel installation is running properly before proceeding.
4. Add the connexion package to composer.json by adding a repositories section and requiring the package as follows (note the minimum-stability setting is just until tymon/jwt-auth reaches v 1.0.0 - at the momen... | 250972162f264f6a6cf5f0a3f96b3cd9f0d2791b | README.md | README.md | Markdown |
<|file_sep|>original/lib/love-provider.coffee
fs = require 'fs'
path = require 'path'
module.exports =
selector: '.source.lua'
disableForSelector: '.source.lua .comment, .source.lua .string'
inclusionPriority: 10
excludeLowerPriority: true
getSuggestions: ( { editor, bufferPosition, scopeDescript... | fs = require 'fs'
path = require 'path'
module.exports =
selector: '.source.lua'
disableForSelector: '.source.lua .comment, .source.lua .string'
inclusionPriority: 10
excludeLowerPriority: true
filterSuggestions: true
getSuggestions: ( { editor, bufferPosition, scopeDescriptor, prefix, activa... | <|file_sep|>original/lib/love-provider.coffee
fs = require 'fs'
path = require 'path'
module.exports =
selector: '.source.lua'
disableForSelector: '.source.lua .comment, .source.lua .string'
inclusionPriority: 10
excludeLowerPriority: true
getSuggestions: ( { editor, bufferPosition, scopeDescript... | 6e2780fc1f109faf50f86997e831c1e77d7b46e3 | lib/love-provider.coffee | lib/love-provider.coffee | CoffeeScript |
<|file_sep|>original/tardis/io/tests/data/tardis_model_abund.csv
C,Si,Mg,Ni56,Ni58
0,0.1,0,0.1,0
0,0.1,0,0.1,0
0,0.1,0,0,0.1
0,0.2,0.1,0,0
0,0.2,0.1,0,0
0,0.2,0.1,0,0.1
0,0.2,0.1,0,0.6
0,0.2,0.1,0,0
0.5,0,0,0,0
0.5,0,0,0,0
<|file_sep|>current/tardis/io/tests/data/tardis_model_abund.csv
C,Si,Mg,Ni56,Ni58
0,0.1,0,0.1,0
0... | C,Mg,Si,Ni56,Ni58
0,0,0.1,0.1,0
0,0,0.1,0.1,0
0,0,0.1,0,0.1
0,0.1,0.2,0,0
0,0.1,0.2,0,0
0,0.1,0.2,0,0.1
0,0.1,0.2,0,0.6
0,0.1,0.2,0,0
0.5,0,0,0,0
0.5,0,0,0,0 | <|file_sep|>original/tardis/io/tests/data/tardis_model_abund.csv
C,Si,Mg,Ni56,Ni58
0,0.1,0,0.1,0
0,0.1,0,0.1,0
0,0.1,0,0,0.1
0,0.2,0.1,0,0
0,0.2,0.1,0,0
0,0.2,0.1,0,0.1
0,0.2,0.1,0,0.6
0,0.2,0.1,0,0
0.5,0,0,0,0
0.5,0,0,0,0
<|file_sep|>current/tardis/io/tests/data/tardis_model_abund.csv
C,Si,Mg,Ni56,Ni58
0,0.1,0,0.1,0
0... | 58d7a20785ee3921c3207b27982a05656578be4b | tardis/io/tests/data/tardis_model_abund.csv | tardis/io/tests/data/tardis_model_abund.csv | CSV |
<|file_sep|>original/README.md
### Requirements
```
PHP 5.4 or higher
WordPress 4.0.1
```
The required PHP version will always be the oldest major release that has not
received its end-of-life announcement.
The required WordPress version will always be the most recent point release of
the previous major release bran... | The required PHP version will always be the oldest major release that has not
received its end-of-life announcement.
The required WordPress version will always be the most recent point release of
the previous major release branch.
For both PHP and WordPress requirements, although this library may work with a
version ... | <|file_sep|>original/README.md
### Requirements
```
PHP 5.4 or higher
WordPress 4.0.1
```
The required PHP version will always be the oldest major release that has not
received its end-of-life announcement.
The required WordPress version will always be the most recent point release of
the previous major release bran... | 159fd7d90a96070347dd9b7b2218e3031c5886da | README.md | README.md | Markdown |
<|file_sep|>original/Package.swift
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "PKHUD",
platforms: [
.iOS(.v8),
],
products: [
.library(
name: "PKHUD",
targets: ["PKHUD"]
),
],
targets: [
.target(
... | // swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "PKHUD",
platforms: [
.iOS(.v9),
],
products: [
.library(
name: "PKHUD",
targets: ["PKHUD"]
),
],
targets: [
.target(
name: "PKHUD",
... | <|file_sep|>original/Package.swift
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "PKHUD",
platforms: [
.iOS(.v8),
],
products: [
.library(
name: "PKHUD",
targets: ["PKHUD"]
),
],
targets: [
.target(
... | f385c5623ecc7db66c9891f0a4de75f89bda1095 | Package.swift | Package.swift | Swift |
<|file_sep|>original/src/is/isArrayLike/isArrayLike.js
/**
* Checks if value is array-like.
* A value is considered array-like if it’s not a function and has a `value.length` that’s an
* integer greater than or equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.
* @param {*} value The value to check.
*... | /**
* Checks if value is array-like.
* A value is considered array-like if it’s not a function and has a `value.length` that’s an
* integer greater than or equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.
* @param {*} value The value to check.
* @return {Boolean} Returns true if value is array-like,... | <|file_sep|>original/src/is/isArrayLike/isArrayLike.js
/**
* Checks if value is array-like.
* A value is considered array-like if it’s not a function and has a `value.length` that’s an
* integer greater than or equal to 0 and less than or equal to `Number.MAX_SAFE_INTEGER`.
* @param {*} value The value to check.
*... | c75e162718129ce1038442dabd81f4915a238c53 | src/is/isArrayLike/isArrayLike.js | src/is/isArrayLike/isArrayLike.js | JavaScript |
<|file_sep|>original/requirements.txt
Flask==1.0.3
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.0
SQLAlchemy==1.3.3
WTForms==2.2.1
coverage==4.5.3
pytest==4.5.0
pytest-cov==2.7.1
pytest-flask==0.15.0
Flask-HTTPAuth==3.2.4
<|file_sep|>current/requirements.txt
Flask==1.0.3
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.0
SQLAlchem... | Flask==1.0.3
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.0
SQLAlchemy==1.3.3
WTForms==2.2.1
coverage==4.5.3
pytest==4.5.0
pytest-cov==2.7.1
pytest-flask==0.15.0
Flask-HTTPAuth==3.3.0 | <|file_sep|>original/requirements.txt
Flask==1.0.3
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.0
SQLAlchemy==1.3.3
WTForms==2.2.1
coverage==4.5.3
pytest==4.5.0
pytest-cov==2.7.1
pytest-flask==0.15.0
Flask-HTTPAuth==3.2.4
<|file_sep|>current/requirements.txt
Flask==1.0.3
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.0
SQLAlchem... | 17039df298167cae7fc274d3aca49c10dfac4b50 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/_posts/2018-04-06-speculative66-issue-18.md
<|file_sep|>current/_posts/2018-04-06-speculative66-issue-18.md
<|file_sep|>updated/_posts/2018-04-06-speculative66-issue-18.md | ---
title: Stone Son Published in Speculative66, Issue 18
date: 2018-04-06
tags: stone-son digital publish speculative66
---
"Stone Son" was published in Issue 18 of [_Speculative66_](http://speculative66.weebly.com/), a digital literary magazine of speculative flash fiction.
<!--more-->
Last year I published a story... | <|file_sep|>original/_posts/2018-04-06-speculative66-issue-18.md
<|file_sep|>current/_posts/2018-04-06-speculative66-issue-18.md
<|file_sep|>updated/_posts/2018-04-06-speculative66-issue-18.md
---
title: Stone Son Published in Speculative66, Issue 18
date: 2018-04-06
tags: stone-son digital publish speculative66
---
... | cb7297933af1bc693f04c46eb79757bc8414de94 | _posts/2018-04-06-speculative66-issue-18.md | _posts/2018-04-06-speculative66-issue-18.md | Markdown |
<|file_sep|>sklist/Source.cpp.diff
original:
updated:
#include <vector>
#include <initializer_list>
#include <algorithm>
#include <random>
<|file_sep|>sklist/Source.cpp.diff
original:
updated:
#include <ctime>
<|file_sep|>sklist/Source.cpp.diff
original:
updated:
constexpr int border = 8000000;
<|file_sep|>sklis... | sll.push_back(i);
}
int val;
std::cout << "Please enter a number to search: ";
while (std::cin >> val) {
clock_t t;
t = clock();
/*if (sl.search(val)) {
std::cout << val << " was found" << std::endl;
}
else {
std::cout << val <... | <|file_sep|>sklist/Source.cpp.diff
original:
updated:
#include <vector>
#include <initializer_list>
#include <algorithm>
#include <random>
<|file_sep|>sklist/Source.cpp.diff
original:
updated:
#include <ctime>
<|file_sep|>sklist/Source.cpp.diff
original:
updated:
constexpr int border = 8000000;
<|file_sep|>sklis... | e8e58a393a5aa9129f4ce43b4413de510ff142c6 | sklist/Source.cpp | sklist/Source.cpp | C++ |
<|file_sep|>app/soc/views/helper/decorators.py.diff
original:
def view_wrapper(request, *args, **kwds):
updated:
def view_wrapper(*args, **kwds):
<|file_sep|>original/app/soc/views/helper/decorators.py
from google.appengine.runtime import DeadlineExceededError
from django import http
def view(func):
"""Decorat... | from google.appengine.runtime import DeadlineExceededError
from django import http
def view(func):
"""Decorator that insists that exceptions are handled by view."""
@wraps(func)
def view_wrapper(*args, **kwds):
try:
return func(*args, **kwds)
except DeadlineExceededError:
logging.exception(... | <|file_sep|>app/soc/views/helper/decorators.py.diff
original:
def view_wrapper(request, *args, **kwds):
updated:
def view_wrapper(*args, **kwds):
<|file_sep|>original/app/soc/views/helper/decorators.py
from google.appengine.runtime import DeadlineExceededError
from django import http
def view(func):
"""Decorat... | e53c1d6b592784cf0d94f31aa798e7a4563a9164 | app/soc/views/helper/decorators.py | app/soc/views/helper/decorators.py | Python |
<|file_sep|>packages/db/dbcleaner.yaml.diff
original:
hash: 71983f40c1ada034d2ec504a6229218c64a8ec9a251f35625ca34ef4ee3d1cdf
updated:
hash: 32c2851fad495a42b8fefc00c21a7889bd237df4cef9f1417834d4af9afdfcdb
<|file_sep|>packages/db/dbcleaner.yaml.diff
original:
base: ! '>=4.4 && <4.10'
updated:
base: ! '>=4.4 && <5.0'... | text: -any
postgresql-simple: -any
maintainer: hackage@stackbuilders.com
synopsis: Clean database tables automatically around hspec tests
changelog: ''
basic-deps:
base: ! '>=4.4 && <5.0'
text: -any
postgresql-simple: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.1.3'
author: Stack Builders
latest: '0... | <|file_sep|>packages/db/dbcleaner.yaml.diff
original:
hash: 71983f40c1ada034d2ec504a6229218c64a8ec9a251f35625ca34ef4ee3d1cdf
updated:
hash: 32c2851fad495a42b8fefc00c21a7889bd237df4cef9f1417834d4af9afdfcdb
<|file_sep|>packages/db/dbcleaner.yaml.diff
original:
base: ! '>=4.4 && <4.10'
updated:
base: ! '>=4.4 && <5.0'... | 32d810ecca7c767641d72c41605cef755c6a6731 | packages/db/dbcleaner.yaml | packages/db/dbcleaner.yaml | YAML |
<|file_sep|>original/lib/tasks/ui.rake
<|file_sep|>current/lib/tasks/ui.rake
<|file_sep|>updated/lib/tasks/ui.rake | # frozen_string_literal: true
namespace :ui do
def log_info(message)
puts message
end
def setup_token(project_anchor)
unless project_anchor.token
puts "INFO skipping no token for #{project_anchor.project.name} (project_anchor_id : #{project_anchor.id})"
return
end
puts "*** setup of ... | <|file_sep|>original/lib/tasks/ui.rake
<|file_sep|>current/lib/tasks/ui.rake
<|file_sep|>updated/lib/tasks/ui.rake
# frozen_string_literal: true
namespace :ui do
def log_info(message)
puts message
end
def setup_token(project_anchor)
unless project_anchor.token
puts "INFO skipping no token for #{... | c7767a76ea6cd871d7c02651662576c24f196cd2 | lib/tasks/ui.rake | lib/tasks/ui.rake | Ruby |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r test.txt
black==18.9b0
pre-commit==1.14.3
Sphinx==1.8.4
django-extensions==2.1.4
Werkzeug==0.14.1
django-debug-toolbar==1.11
# improved REPL
ipdb==0.11
pytest-django==3.4.5
# pytest-sugar==0.9.2
<|file_sep|>current/requirements... | # Local development dependencies go here
-r test.txt
black==18.9b0
pre-commit==1.14.3
Sphinx==1.8.4
django-extensions==2.1.5
Werkzeug==0.14.1
django-debug-toolbar==1.11
# improved REPL
ipdb==0.11
pytest-django==3.4.5
# pytest-sugar==0.9.2 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r test.txt
black==18.9b0
pre-commit==1.14.3
Sphinx==1.8.4
django-extensions==2.1.4
Werkzeug==0.14.1
django-debug-toolbar==1.11
# improved REPL
ipdb==0.11
pytest-django==3.4.5
# pytest-sugar==0.9.2
<|file_sep|>current/requirements... | be5b5bbb16c777175a710ae088f6d33ebb62fbcf | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/.travis.yml
# Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install ."
script:
# Run the Python unit tests
- "python setup.py test"
# Run the example scripts
- "cd examples/"
... | # Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
- "2.7"
install:
- "pip install ."
script:
# Run the Python unit tests
- "python setup.py test"
# Run the example scripts
- "cd examples/"
- ./run_examples.sh | <|file_sep|>original/.travis.yml
# Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install ."
script:
# Run the Python unit tests
- "python setup.py test"
# Run the example scripts
- "cd examples/"
... | e2db5e0bbfee8c2bf86328566a98c6b25847ef8e | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/components/x-toggle.js.diff
original:
updated:
var observer = Ember.observer;
var on = Ember.on;
var computed = Ember.computed;
<|file_sep|>app/components/x-toggle.js.diff
original:
inputClasses: Ember.observer('themeClass', 'inputCheckbox', function () {
updated:
inputClasses: on('init', observer... |
input.set('classNames', inputClasses.concat(['x-toggle', themeClass]));
}
}),
themeClass: computed('theme', function () {
var theme = this.get('theme') || 'default';
return 'x-toggle-' + theme;
}),
generatedId: computed(function () {
return this.get('elementId') + '-x-toggle';
}),
... | <|file_sep|>app/components/x-toggle.js.diff
original:
updated:
var observer = Ember.observer;
var on = Ember.on;
var computed = Ember.computed;
<|file_sep|>app/components/x-toggle.js.diff
original:
inputClasses: Ember.observer('themeClass', 'inputCheckbox', function () {
updated:
inputClasses: on('init', observer... | ac4df0c99a4ccab30d8f3d242211c0155ebb619f | app/components/x-toggle.js | app/components/x-toggle.js | JavaScript |
<|file_sep|>original/release.sh
# Report any problem to <nicolas.despres@gmail.com>
#::END::
#
set -o errexit
set -o nounset
export LC_ALL=C
unset CDPATH
# ========= #
# Functions #
# ========= #
for version in 2.7.10 3.2.3 3.2.6 3.3.6 3.4.3
do
PYENV_VERSION=$version python -m unittest test_pyloc
done
python setu... | #::END::
#
set -o errexit
set -o nounset
export LC_ALL=C
unset CDPATH
# ========= #
# Functions #
# ========= #
for version in 2.7.10 3.2.3 3.2.6 3.3.6 3.4.3
do
PYENV_VERSION=$version python -m unittest test_pyloc
done
rm -rf dist build pyloc.egg-info
python setup.py sdist
python setup.py bdist_wheel --universal
... | <|file_sep|>original/release.sh
# Report any problem to <nicolas.despres@gmail.com>
#::END::
#
set -o errexit
set -o nounset
export LC_ALL=C
unset CDPATH
# ========= #
# Functions #
# ========= #
for version in 2.7.10 3.2.3 3.2.6 3.3.6 3.4.3
do
PYENV_VERSION=$version python -m unittest test_pyloc
done
python setu... | 7674892c785ad53b2a704275cfde2fde86a3792a | release.sh | release.sh | Shell |
<|file_sep|>original/view_with_multiline_label_in_scrollview.swift
<|file_sep|>current/view_with_multiline_label_in_scrollview.swift
<|file_sep|>updated/view_with_multiline_label_in_scrollview.swift | // IDECodeSnippetTitle: View with multiline label in scrollview
// IDECodeSnippetCompletionPrefix: swift_scrollview-multiline-label
// IDECodeSnippetCompletionScopes: TopLevel
// IDECodeSnippetLanguage: Xcode.SourceCodeLanguage.Swift
// IDECodeSnippetSummary: View with multiline label in scrollview
import UIKit
final ... | <|file_sep|>original/view_with_multiline_label_in_scrollview.swift
<|file_sep|>current/view_with_multiline_label_in_scrollview.swift
<|file_sep|>updated/view_with_multiline_label_in_scrollview.swift
// IDECodeSnippetTitle: View with multiline label in scrollview
// IDECodeSnippetCompletionPrefix: swift_scrollview-mul... | 258faea86d8b2ad8f215bb799b91027d017304ad | view_with_multiline_label_in_scrollview.swift | view_with_multiline_label_in_scrollview.swift | Swift |
<|file_sep|>original/gulp/continuous-integration.js
'use strict';
var gulp = require('gulp');
gulp.task(
'ci',
['coding-standards', 'test', 'protractor', 'protractor:dist']
);
<|file_sep|>current/gulp/continuous-integration.js
'use strict';
var gulp = require('gulp');
gulp.task(
'ci',
['coding-standards... | 'use strict';
var gulp = require('gulp');
gulp.task(
'ci',
['coding-standards', 'test', 'protractor']
); | <|file_sep|>original/gulp/continuous-integration.js
'use strict';
var gulp = require('gulp');
gulp.task(
'ci',
['coding-standards', 'test', 'protractor', 'protractor:dist']
);
<|file_sep|>current/gulp/continuous-integration.js
'use strict';
var gulp = require('gulp');
gulp.task(
'ci',
['coding-standards... | ce3ee6f2131314d395734ef0e69b89a5f62cf51d | gulp/continuous-integration.js | gulp/continuous-integration.js | JavaScript |
<|file_sep|>blueprint/blueprint-bundle/src/main/java/org/apache/aries/blueprint/uberbundle/UberActivator.java.diff
original:
public void stop(BundleContext arg0)
updated:
public void stop(BundleContext context)
<|file_sep|>original/blueprint/blueprint-bundle/src/main/java/org/apache/aries/blueprint/uberbundle/UberA... | import org.apache.aries.proxy.impl.ProxyManagerActivator;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class UberActivator implements BundleActivator
{
private BlueprintExtender blueprintActivator = new BlueprintExtender();
private ProxyManagerActivator proxyActivator... | <|file_sep|>blueprint/blueprint-bundle/src/main/java/org/apache/aries/blueprint/uberbundle/UberActivator.java.diff
original:
public void stop(BundleContext arg0)
updated:
public void stop(BundleContext context)
<|file_sep|>original/blueprint/blueprint-bundle/src/main/java/org/apache/aries/blueprint/uberbundle/UberA... | c8cfee1ecdca1c6412e6e912a0cbfd1e606bcbfb | blueprint/blueprint-bundle/src/main/java/org/apache/aries/blueprint/uberbundle/UberActivator.java | blueprint/blueprint-bundle/src/main/java/org/apache/aries/blueprint/uberbundle/UberActivator.java | Java |
<|file_sep|>src/net/zschech/gwt/comet/client/impl/CometTransport.java.diff
original:
updated:
import com.google.gwt.core.client.Duration;
<|file_sep|>original/src/net/zschech/gwt/comet/client/impl/CometTransport.java
* @author Richard Zschech
*/
public abstract class CometTransport {
protected CometClient client... | * @author Richard Zschech
*/
public abstract class CometTransport {
protected CometClient client;
protected CometListener listener;
public void initiate(CometClient client, CometListener listener) {
this.client = client;
this.listener = listener;
}
public abstract void connect();
public abstract voi... | <|file_sep|>src/net/zschech/gwt/comet/client/impl/CometTransport.java.diff
original:
updated:
import com.google.gwt.core.client.Duration;
<|file_sep|>original/src/net/zschech/gwt/comet/client/impl/CometTransport.java
* @author Richard Zschech
*/
public abstract class CometTransport {
protected CometClient client... | 985a968274ed4bce3d54f7294464a9b1ba1f7887 | src/net/zschech/gwt/comet/client/impl/CometTransport.java | src/net/zschech/gwt/comet/client/impl/CometTransport.java | Java |
<|file_sep|>original/array/2133.cc
<|file_sep|>current/array/2133.cc
<|file_sep|>updated/array/2133.cc | class Solution {
public:
bool checkValid(vector<vector<int>>& matrix) {
for (int i = 0; i < matrix.size(); ++i) {
std::vector<int> check(matrix.size()+1, 0);
for (int j = 0; j < matrix[0].size(); ++j) {
if (check[matrix[i][j]] == 1) return false;
check... | <|file_sep|>original/array/2133.cc
<|file_sep|>current/array/2133.cc
<|file_sep|>updated/array/2133.cc
class Solution {
public:
bool checkValid(vector<vector<int>>& matrix) {
for (int i = 0; i < matrix.size(); ++i) {
std::vector<int> check(matrix.size()+1, 0);
for (int j = 0; j < m... | aaa4ba86bf8c63d25da280428e0b1e4a5954b5b5 | array/2133.cc | array/2133.cc | C++ |
<|file_sep|>original/requirements/common.txt
django>=1.5
django-cms>=2.4
djangocms-text-ckeditor>=2.0
Pillow
<|file_sep|>current/requirements/common.txt
django>=1.5
django-cms>=2.4
djangocms-text-ckeditor>=2.0
Pillow
<|file_sep|>updated/requirements/common.txt | django
django-cms>=2.4
djangocms-text-ckeditor>=2.0
Pillow | <|file_sep|>original/requirements/common.txt
django>=1.5
django-cms>=2.4
djangocms-text-ckeditor>=2.0
Pillow
<|file_sep|>current/requirements/common.txt
django>=1.5
django-cms>=2.4
djangocms-text-ckeditor>=2.0
Pillow
<|file_sep|>updated/requirements/common.txt
django
django-cms>=2.4
djangocms-text-ckeditor>=2.0
Pillow | ad445c767b169c99113ad0125f0705cf3a96073a | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>original/README.md
================
Resize, rename, and upload images to AWS S3
## Usage
```javascript
var Upload = require('s3-uploader');
var client = new Upload('my_s3_bucket', {
path: '/images' // path to store images inside the bucket
url: 'https://some.domain.com/images' /... | ================
Resize, rename, and upload images to AWS S3
## Usage
```javascript
var Upload = require('s3-uploader');
var client = new Upload('my_s3_bucket', {
awsBucketPath: '/images',
awsBucketUrl: 'https://some.domain.com/images',
version: [{
maxHeight: 780,
maxWidth: 780
},{
maxHeight: 32... | <|file_sep|>original/README.md
================
Resize, rename, and upload images to AWS S3
## Usage
```javascript
var Upload = require('s3-uploader');
var client = new Upload('my_s3_bucket', {
path: '/images' // path to store images inside the bucket
url: 'https://some.domain.com/images' /... | a9e10ed1148b3489109300b09611670365b95ee4 | README.md | README.md | Markdown |
<|file_sep|>original/update_manifest.py
<|file_sep|>current/update_manifest.py
<|file_sep|>updated/update_manifest.py | #!/usr/bin/python
import json
import os
import sys
import tempfile
import urllib2
import zipfile
# Get the manifest urls.
req = urllib2.Request(
"https://www.bungie.net//platform/Destiny/Manifest/",
headers={'X-API-Key': sys.argv[1]},
)
resp = json.loads(urllib2.urlopen(req).read())
if resp['ErrorCode'] != 1:... | <|file_sep|>original/update_manifest.py
<|file_sep|>current/update_manifest.py
<|file_sep|>updated/update_manifest.py
#!/usr/bin/python
import json
import os
import sys
import tempfile
import urllib2
import zipfile
# Get the manifest urls.
req = urllib2.Request(
"https://www.bungie.net//platform/Destiny/Manifes... | 4b344091370263a98630623fdb6a083b680a9403 | update_manifest.py | update_manifest.py | Python |
<|file_sep|>original/annocfg.py
<|file_sep|>current/annocfg.py
<|file_sep|>updated/annocfg.py |
class AnnotatedCFG(object):
def __init__(self):
pass
def should_take_exit(self, addr_from, addr_to):
return False
def should_execute_statement(self, addr):
return False
def get_run(self, addr):
return None
def get_whitelisted_statement(self, addr):
return [] | <|file_sep|>original/annocfg.py
<|file_sep|>current/annocfg.py
<|file_sep|>updated/annocfg.py
class AnnotatedCFG(object):
def __init__(self):
pass
def should_take_exit(self, addr_from, addr_to):
return False
def should_execute_statement(self, addr):
return False
def get_run(self, addr):
return None
... | 4630a1410f4a31865a7293eae67c7f10e06fba67 | annocfg.py | annocfg.py | Python |
<|file_sep|>original/README.md
# dsawl
## What is it?
This is a set of tools for machine learning. As of now, list of implemented utilities is as follows:
* Out-of-fold feature generation, an alternative to one-hot encoding that is more memory efficient if some categorical variables take a lot of distinct values. See ... | [](https://travis-ci.org/Nikolay-Lysenko/dsawl)
# dsawl
## What is it?
This is a set of tools for machine learning. As of now, list of implemented utilities is as follows:
* Out-of-fold feature generation, an alternative to one-hot encoding... | <|file_sep|>original/README.md
# dsawl
## What is it?
This is a set of tools for machine learning. As of now, list of implemented utilities is as follows:
* Out-of-fold feature generation, an alternative to one-hot encoding that is more memory efficient if some categorical variables take a lot of distinct values. See ... | 7f71562371108dcc025ecb3f6f96f7bb40187ad9 | README.md | README.md | Markdown |
<|file_sep|>original/openfisca_france/parameters/impot_revenu/reductions_impots/mohist/taux.yaml
description: Taux
reference: openfisca
unit: /1
values:
2008-01-01:
value: 0.25
2012-01-01:
value: 0.18
<|file_sep|>current/openfisca_france/parameters/impot_revenu/reductions_impots/mohist/taux.yaml
description... | description: Taux
reference: openfisca
unit: /1
values:
2008-01-01:
value: 0.25
2011-01-01:
value: 0.22
2012-01-01:
value: 0.18 | <|file_sep|>original/openfisca_france/parameters/impot_revenu/reductions_impots/mohist/taux.yaml
description: Taux
reference: openfisca
unit: /1
values:
2008-01-01:
value: 0.25
2012-01-01:
value: 0.18
<|file_sep|>current/openfisca_france/parameters/impot_revenu/reductions_impots/mohist/taux.yaml
description... | 72340332dc492c78d4d02eac329778fa87164423 | openfisca_france/parameters/impot_revenu/reductions_impots/mohist/taux.yaml | openfisca_france/parameters/impot_revenu/reductions_impots/mohist/taux.yaml | YAML |
<|file_sep|>original/examples/todomvc/src/deps.cljs
{:npm-dev-deps {"shadow-cljs" "2.8.69"
"karma" "4.3.0"
"karma-chrome-launcher" "3.1.0"
"karma-cljs-test" "0.1.0"
"karma-junit-reporter" "1.2.0"}}
<|file_sep|>current/examp... | {:npm-dev-deps {"shadow-cljs" "2.8.69"
"karma" "4.4.1"
"karma-chrome-launcher" "3.1.0"
"karma-cljs-test" "0.1.0"
"karma-junit-reporter" "1.2.0"}} | <|file_sep|>original/examples/todomvc/src/deps.cljs
{:npm-dev-deps {"shadow-cljs" "2.8.69"
"karma" "4.3.0"
"karma-chrome-launcher" "3.1.0"
"karma-cljs-test" "0.1.0"
"karma-junit-reporter" "1.2.0"}}
<|file_sep|>current/examp... | c733fd11aa9d133d40428596aff108eb49c829bc | examples/todomvc/src/deps.cljs | examples/todomvc/src/deps.cljs | Clojure |
<|file_sep|>README.md.diff
original:
updated:
- Building a list of factories
<|file_sep|>original/README.md
## Features
Supported:
- Defining reusable factories
- Overriding fields
- Associations: Defining fields as instances of other factories
Not Supported:
- Aliases
- Sequences
- Building a list of factories
Not ... | ## Features
Supported:
- Defining reusable factories
- Overriding fields
- Associations: Defining fields as instances of other factories
- Building a list of factories
Not Supported:
- Aliases
- Sequences
Not Planned to be supported:
- Factory Inheritance
- Lazily setting fields (based off of other properties)
- Call... | <|file_sep|>README.md.diff
original:
updated:
- Building a list of factories
<|file_sep|>original/README.md
## Features
Supported:
- Defining reusable factories
- Overriding fields
- Associations: Defining fields as instances of other factories
Not Supported:
- Aliases
- Sequences
- Building a list of factories
Not ... | a28ca4ea0d20c7f0aae40b341a3ffc30326d91a0 | README.md | README.md | Markdown |
<|file_sep|>original/app/src/main/java/pl/mg6/likeornot/commons/Collections.kt
package pl.mg6.likeornot.commons
fun <T> List<T>.batch(chunkSize: Int): List<List<T>> {
if (chunkSize <= 0) {
throw IllegalArgumentException("chunkSize must be greater than 0")
}
val list = mutableListOf<MutableList<T>>(... | package pl.mg6.likeornot.commons
fun <T> List<T>.batch(chunkSize: Int): List<List<T>> {
if (chunkSize <= 0) {
throw IllegalArgumentException("chunkSize must be greater than 0")
}
val list = mutableListOf<MutableList<T>>()
for (i in 0 until size) {
if (i % chunkSize == 0) {
l... | <|file_sep|>original/app/src/main/java/pl/mg6/likeornot/commons/Collections.kt
package pl.mg6.likeornot.commons
fun <T> List<T>.batch(chunkSize: Int): List<List<T>> {
if (chunkSize <= 0) {
throw IllegalArgumentException("chunkSize must be greater than 0")
}
val list = mutableListOf<MutableList<T>>(... | 53f79091541434b97b0c6c14b97c5c027b40078b | app/src/main/java/pl/mg6/likeornot/commons/Collections.kt | app/src/main/java/pl/mg6/likeornot/commons/Collections.kt | Kotlin |
<|file_sep|>original/CHANGELOG.rst
Changelog
=========
Only important changes are mentioned in this file. See the `commit log <https://github.com/eliksir/sendgrid-subuser-api/commits/master>`_ for all changes.
0.3 (2014-03-11)
--------------------
* [Feature] Delete subuser support
* [Fix] Only return subuser with e... | Changelog
=========
Only important changes are mentioned in this file. See the `commit log <https://github.com/eliksir/sendgrid-subuser-api/commits/master>`_ for all changes.
0.3.1 (2020-06-10)
--------------------
* [Fix] Improve PHP7 compatibility
0.3 (2014-03-11)
--------------------
* [Feature] Delete subuser ... | <|file_sep|>original/CHANGELOG.rst
Changelog
=========
Only important changes are mentioned in this file. See the `commit log <https://github.com/eliksir/sendgrid-subuser-api/commits/master>`_ for all changes.
0.3 (2014-03-11)
--------------------
* [Feature] Delete subuser support
* [Fix] Only return subuser with e... | 1d53a39cb3f3d2e5322886ca613bc8c318b14c2d | CHANGELOG.rst | CHANGELOG.rst | reStructuredText |
<|file_sep|>original/.travis.yml
sudo: false
language: go
<|file_sep|>current/.travis.yml
sudo: false
language: go
<|file_sep|>updated/.travis.yml | sudo: false
language: go
go:
- 1.10.x
- master
os:
- linux
- osx
dist: trusty
script:
- env GO111MODULE=on go build
- env GO111MODULE=on go test | <|file_sep|>original/.travis.yml
sudo: false
language: go
<|file_sep|>current/.travis.yml
sudo: false
language: go
<|file_sep|>updated/.travis.yml
sudo: false
language: go
go:
- 1.10.x
- master
os:
- linux
- osx
dist: trusty
script:
- env GO111MODULE=on go build
- env GO111MODULE=on go test | cace533398b36991036b6cd97dc1ffb667e60e89 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/vhdl/write_back.vhd.diff
original:
regdest_in : in std_logic_vector(31 downto 0);
updated:
regdest_in : in std_logic_vector(4 downto 0);
<|file_sep|>original/src/vhdl/write_back.vhd
entity write_back is
port(
clk : in std_logic;
rst : in std_logic;
writeback_in : in std_logic_vector(31 downto 0);... |
entity write_back is
port(
clk : in std_logic;
rst : in std_logic;
writeback_in : in std_logic_vector(31 downto 0);
regdest_in : in std_logic_vector(4 downto 0);
writeback_out : out std_logic_vector(31 downto 0);
regdest_out : out std_logic_vector(4 downto 0)
);
end entity write_back;
architecture behavioral ... | <|file_sep|>src/vhdl/write_back.vhd.diff
original:
regdest_in : in std_logic_vector(31 downto 0);
updated:
regdest_in : in std_logic_vector(4 downto 0);
<|file_sep|>original/src/vhdl/write_back.vhd
entity write_back is
port(
clk : in std_logic;
rst : in std_logic;
writeback_in : in std_logic_vector(31 downto 0);... | 3ea2713c7260cdf52b0e9e5440e8b7f6c3f65d25 | src/vhdl/write_back.vhd | src/vhdl/write_back.vhd | VHDL |
<|file_sep|>original/spec/models/user_model_spec.rb
require 'rails_helper'
describe User do
it "should be associated with picks" do
user = User.create(
username:"lemons",
password_digest: "peelinglemons",
email: 2)
pick = user.picks.create(
number: "342047591204",
game: "powerba... | require 'rails_helper'
describe User do
xit "should be associated with picks" do
user = User.create(
username:"lemons",
password_digest: "peelinglemons",
email: 2)
pick = user.picks.create(
number: "342047591204",
game: "powerball",
draw_date: "2015-01-12 03:11:34")
ex... | <|file_sep|>original/spec/models/user_model_spec.rb
require 'rails_helper'
describe User do
it "should be associated with picks" do
user = User.create(
username:"lemons",
password_digest: "peelinglemons",
email: 2)
pick = user.picks.create(
number: "342047591204",
game: "powerba... | 054b1b53d8d3756f2a168a489cc91469369672c5 | spec/models/user_model_spec.rb | spec/models/user_model_spec.rb | Ruby |
<|file_sep|>original/.braids.json
{
"vendor/tools/buildr_plus": {
"url": "https://github.com/realityforge/buildr_plus.git",
"branch": "master",
"revision": "ce969830149304e9045f768fb5596b8109638503"
},
"vendor/tools/dbt": {
"url": "https://github.com/realityforge/dbt.git",
"branch": "master",
... | {
"vendor/tools/buildr_plus": {
"url": "https://github.com/realityforge/buildr_plus.git",
"branch": "master",
"revision": "e8091d5c15a346e5f8802e54b6bc979552135dae"
},
"vendor/tools/dbt": {
"url": "https://github.com/realityforge/dbt.git",
"branch": "master",
"revision": "554139d3ea275bd54... | <|file_sep|>original/.braids.json
{
"vendor/tools/buildr_plus": {
"url": "https://github.com/realityforge/buildr_plus.git",
"branch": "master",
"revision": "ce969830149304e9045f768fb5596b8109638503"
},
"vendor/tools/dbt": {
"url": "https://github.com/realityforge/dbt.git",
"branch": "master",
... | 31ffe1ecd16e043be2a4e28f46fb5d3a75980746 | .braids.json | .braids.json | JSON |
<|file_sep|>original/composer.json
"homepage": "",
"role": "Lead Developer"
}],
"support": {
"irc": "irc://irc.freenode.org/daphnetf"
},
"require": {
"php": ">=5.5.9"
},
"extra": {
"display-name": "Moderator autosubscribe",
"soft-requir... | "time": "2016-05-06",
"license": "BSD-2-Clause",
"authors": [{
"name": "Axel Lehmann",
"email": "lehmann.4178656ch@gmail.com",
"homepage": "",
"role": "Lead Developer"
}],
"support": {
"irc": "irc://irc.freenode.org/daphnetf"
},
"re... | <|file_sep|>original/composer.json
"homepage": "",
"role": "Lead Developer"
}],
"support": {
"irc": "irc://irc.freenode.org/daphnetf"
},
"require": {
"php": ">=5.5.9"
},
"extra": {
"display-name": "Moderator autosubscribe",
"soft-requir... | 24d6768c3247b1fa76c4b31d16ba102143f77af7 | composer.json | composer.json | JSON |
<|file_sep|>original/tests/conftest.py
@contextlib.contextmanager
def db(self):
with sqlite3.connect(self.db_path) as db:
yield db
@pytest.fixture
def sandbox(tmpdir):
ret = Sandbox(tmpdir.strpath)
with ret.db() as db:
create_schema(db)
populate_metric_ids(db, tuple... | @contextlib.contextmanager
def db(self):
with sqlite3.connect(self.db_path) as db:
yield db
@pytest.fixture
def sandbox(tmpdir):
ret = Sandbox(tmpdir.strpath)
with ret.db() as db:
create_schema(db)
populate_metric_ids(db, tuple(), False)
return ret
@pytest.yi... | <|file_sep|>original/tests/conftest.py
@contextlib.contextmanager
def db(self):
with sqlite3.connect(self.db_path) as db:
yield db
@pytest.fixture
def sandbox(tmpdir):
ret = Sandbox(tmpdir.strpath)
with ret.db() as db:
create_schema(db)
populate_metric_ids(db, tuple... | 453e2c9c30c98a6077acefff7d36a277b77c052c | tests/conftest.py | tests/conftest.py | Python |
<|file_sep|>usr/local/sbin/pfSsh.php.diff
original:
echo " exit\n";
updated:
echo " multiline\n";
echo " exit";
<|file_sep|>original/usr/local/sbin/pfSsh.php
echo ".\n\n";
$shell_active = true;
echo "Example commands:\n\n";
echo " print_r(\$config);\n";
echo " \$config['interfaces']['lan']['ipaddr'] =... | echo " exit";
while($shell_active == true) {
echo "\n\npfSense shell> ";
$command = chop(fgets($fp));
if($command == "exit") {
$shell_active = false;
echo "\n";
break;
}
if($command == "multiline" or $command == "ml") {
echo "\nmultiline... | <|file_sep|>usr/local/sbin/pfSsh.php.diff
original:
echo " exit\n";
updated:
echo " multiline\n";
echo " exit";
<|file_sep|>original/usr/local/sbin/pfSsh.php
echo ".\n\n";
$shell_active = true;
echo "Example commands:\n\n";
echo " print_r(\$config);\n";
echo " \$config['interfaces']['lan']['ipaddr'] =... | 40a1b7af9051e7d8bb9525f4a64ea966a97e3ef1 | usr/local/sbin/pfSsh.php | usr/local/sbin/pfSsh.php | PHP |
<|file_sep|>build.py.diff
original:
updated:
from os.path import join, realpath, dirname
<|file_sep|>build.py.diff
original:
config = get_ini_conf("config.ini")
updated:
config_file = join(dirname(realpath(__file__)), "config.ini")
config = get_ini_conf(config_file)
<|file_sep|>original/build.py
if sys... | raw_input = input
config_file = join(dirname(realpath(__file__)), "config.ini")
config = get_ini_conf(config_file)
# Find cached module name
if "module_name" not in config or not config["module_name"]:
module_name = str(raw_input("Enter a module name: "))
config["module_name"] ... | <|file_sep|>build.py.diff
original:
updated:
from os.path import join, realpath, dirname
<|file_sep|>build.py.diff
original:
config = get_ini_conf("config.ini")
updated:
config_file = join(dirname(realpath(__file__)), "config.ini")
config = get_ini_conf(config_file)
<|file_sep|>original/build.py
if sys... | 348cff3fef4c1bcbbb091ddae9ac407179e08011 | build.py | build.py | Python |
<|file_sep|>README.md.diff
original:
# rollback-on-exception
updated:
## Summary
<|file_sep|>original/README.md
# rollback-on-exception
Initiate rollback on any exception in a grails service marked as transactional.
## Source code
Source code is available at github:
https://github.com/mbezjak/rollback-on-exception
##... | ## Summary
Initiate rollback on any exception in a grails service marked as transactional.
## Rationale
When service class is marked as transactional, grails will use spring to setup
proxy around your service. Long story short, here is a quote for
`DefaultTransactionAttribute` from spring API documentation:
Trans... | <|file_sep|>README.md.diff
original:
# rollback-on-exception
updated:
## Summary
<|file_sep|>original/README.md
# rollback-on-exception
Initiate rollback on any exception in a grails service marked as transactional.
## Source code
Source code is available at github:
https://github.com/mbezjak/rollback-on-exception
##... | 87d924b90bf7518cd69f58d7aca4b014596c1690 | README.md | README.md | Markdown |
<|file_sep|>sample/app/laika-bare-minimum.json.diff
original:
"name": "laika",
updated:
<|file_sep|>sample/app/laika-bare-minimum.json.diff
original:
updated:
"instance_max": 1,
"instance_min": 1,
<|file_sep|>sample/app/laika-bare-minimum.json.diff
original:
"instance_min": 1,
"instance_max": 1,
upd... | "instance_max": 1,
"instance_min": 1,
"instance_type": "t2.nano",
"public_ports": {
"80": {
"sources": [
"0.0.0.0/0"
]
}
},
"services": {
"http-env-echo": {
"image": "pebbletech/laika:latest",
"ports": {
"80": 8080
}
... | <|file_sep|>sample/app/laika-bare-minimum.json.diff
original:
"name": "laika",
updated:
<|file_sep|>sample/app/laika-bare-minimum.json.diff
original:
updated:
"instance_max": 1,
"instance_min": 1,
<|file_sep|>sample/app/laika-bare-minimum.json.diff
original:
"instance_min": 1,
"instance_max": 1,
upd... | 6139cb334bff9ead0b59d3e60be515618a8d0a48 | sample/app/laika-bare-minimum.json | sample/app/laika-bare-minimum.json | JSON |
<|file_sep|>README.md.diff
original:
/globalmarketchest
**Open gui to select global, local or admin of your choice**
updated:
<|file_sep|>README.md.diff
original:
/globalmarketchest open [group_name]
**Open global shop with the groupe_name**
updated:
**Help**
<|file_sep|>README.md.diff
original:
/globalmar... | globalmarketchest.*:
# ==== Global Shop ====
# Can create or use a globalshop
globalmarketchest.globalshop.*:
# Can create a globalshop
globalmarketchest.globalshop.createshop:
# Can open shop
globalmarketchest.globalshop.openshop:
# Can create an auction
globalmarketchest.globalshop.createauction:
# Can create b... | <|file_sep|>README.md.diff
original:
/globalmarketchest
**Open gui to select global, local or admin of your choice**
updated:
<|file_sep|>README.md.diff
original:
/globalmarketchest open [group_name]
**Open global shop with the groupe_name**
updated:
**Help**
<|file_sep|>README.md.diff
original:
/globalmar... | 5073bcfbca618d19186bd345cb741da74f5579b3 | README.md | README.md | Markdown |
<|file_sep|>original/tests/test_compute_abundance.py
'scaff4': 1.25
}
],
# Test the case where a read can be found several times on the same scaffolds.
# this behavior is tolerated but is not intented to occur often
['scaffolds_multiple_reads.blast',
{ '159': ... | 'scaff4': 1.25
}
],
# Test the case where a read can be found several times on the same scaffolds.
# this behavior is tolerated but is not intented to occur often
['scaffolds_multiple_reads.blast',
{ '159': 0.5,
'161': 1,
'175': 0.5,
... | <|file_sep|>original/tests/test_compute_abundance.py
'scaff4': 1.25
}
],
# Test the case where a read can be found several times on the same scaffolds.
# this behavior is tolerated but is not intented to occur often
['scaffolds_multiple_reads.blast',
{ '159': ... | 47044ea3f5ec426358de8a7c735da70f72a9738e | tests/test_compute_abundance.py | tests/test_compute_abundance.py | Python |
<|file_sep|>original/package.json
"start": "node_modules/.bin/webpack-dev-server --config config/webpack.config.js --progress --colors --port 2992 --content-base build/public",
"build": "node_modules/.bin/webpack --config config/webpack.config.js --progress --profile --colors"
},
"dependencies": {
"auto... | "start": "node_modules/.bin/webpack-dev-server --config config/webpack.config.js --progress --colors --port 2992 --content-base build/public",
"build": "node_modules/.bin/webpack --config config/webpack.config.js --progress --profile --colors"
},
"dependencies": {
"autoprefixer-loader": "^2.0.0",
"b... | <|file_sep|>original/package.json
"start": "node_modules/.bin/webpack-dev-server --config config/webpack.config.js --progress --colors --port 2992 --content-base build/public",
"build": "node_modules/.bin/webpack --config config/webpack.config.js --progress --profile --colors"
},
"dependencies": {
"auto... | 464fc0dede5ed3af4b0352270371db13f83933db | package.json | package.json | JSON |
<|file_sep|>src/main/python/dlfa/solvers/__init__.py.diff
original:
updated:
from .multiple_choice_memory_network import MultipleChoiceMemoryNetworkSolver
<|file_sep|>original/src/main/python/dlfa/solvers/__init__.py
from .nn_solver import NNSolver
from .lstm_solver import LSTMSolver
from .tree_lstm_solver import Tree... | from .nn_solver import NNSolver
from .lstm_solver import LSTMSolver
from .tree_lstm_solver import TreeLSTMSolver
from .memory_network import MemoryNetworkSolver
from .differentiable_search import DifferentiableSearchSolver
from .multiple_choice_memory_network import MultipleChoiceMemoryNetworkSolver
concrete_solvers =... | <|file_sep|>src/main/python/dlfa/solvers/__init__.py.diff
original:
updated:
from .multiple_choice_memory_network import MultipleChoiceMemoryNetworkSolver
<|file_sep|>original/src/main/python/dlfa/solvers/__init__.py
from .nn_solver import NNSolver
from .lstm_solver import LSTMSolver
from .tree_lstm_solver import Tree... | 91b0bcad27f12c29681235079960ee272275e0bd | src/main/python/dlfa/solvers/__init__.py | src/main/python/dlfa/solvers/__init__.py | Python |
<|file_sep|>original/client/app/app.styl
.footer
opacity 0.6
text-align center
.footer a
opacity 0.8
text-decoration: none;
font-weight: 500;
.footer a:hover
opacity 1.0
// display md-dialog on top of leaflet
md-backdrop.md-dialog-backdrop
z-index 1010 !important
.md-dialog-container
z-index 1020... | .editable-click
color inherit
border-bottom none
.editable-click:hover
opacity 0.8
color inherit
.footer
opacity 0.6
text-align center
.footer a
opacity 0.8
text-decoration: none;
font-weight: 500;
.footer a:hover
opacity 1.0 | <|file_sep|>original/client/app/app.styl
.footer
opacity 0.6
text-align center
.footer a
opacity 0.8
text-decoration: none;
font-weight: 500;
.footer a:hover
opacity 1.0
// display md-dialog on top of leaflet
md-backdrop.md-dialog-backdrop
z-index 1010 !important
.md-dialog-container
z-index 1020... | dd155e2594897c67ab25d1ace58fbd59358f6abd | client/app/app.styl | client/app/app.styl | Stylus |
<|file_sep|>original/tox.ini
[tox]
envlist=py27,py3{3,4,5,6,7,8}
[testenv]
setenv = PYTHONPATH = ""
commands=
python tests/test_yasi.py
deps=
!py34: -rrequirements.txt
[testenv:py34]
deps=
argparse
<|file_sep|>current/tox.ini
[tox]
envlist=py27,py3{3,4,5,6,7,8}
[testenv]
setenv = PYTHONPATH = ""
commands... | [tox]
envlist=py27,py3{4,5,6,7,8}
[testenv]
setenv = PYTHONPATH = ""
commands=
python tests/test_yasi.py
deps=
!py34: -rrequirements.txt
[testenv:py34]
deps=
argparse | <|file_sep|>original/tox.ini
[tox]
envlist=py27,py3{3,4,5,6,7,8}
[testenv]
setenv = PYTHONPATH = ""
commands=
python tests/test_yasi.py
deps=
!py34: -rrequirements.txt
[testenv:py34]
deps=
argparse
<|file_sep|>current/tox.ini
[tox]
envlist=py27,py3{3,4,5,6,7,8}
[testenv]
setenv = PYTHONPATH = ""
commands... | adbdcab86b5ad338853c5ff37e06f581f7218183 | tox.ini | tox.ini | INI |
<|file_sep|>original/README.md
[](https://circleci.com/gh/zchn/ethereum-analyzer/tree/master)
<|file_sep|>current/README.md
[](https://circlec... | [](https://travis-ci.org/zchn/ethereum-analyzer) | <|file_sep|>original/README.md
[](https://circleci.com/gh/zchn/ethereum-analyzer/tree/master)
<|file_sep|>current/README.md
[](https://circlec... | 441ee2ed02bb2a82842657558224ea19fd6fa8ab | README.md | README.md | Markdown |
<|file_sep|>original/src/lib/hooks.ts
<|file_sep|>current/src/lib/hooks.ts
<|file_sep|>updated/src/lib/hooks.ts | /*
* Copyright (C) 2012-2022 Online-Go.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This pr... | <|file_sep|>original/src/lib/hooks.ts
<|file_sep|>current/src/lib/hooks.ts
<|file_sep|>updated/src/lib/hooks.ts
/*
* Copyright (C) 2012-2022 Online-Go.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the ... | 77b7bc9833b0ca1ca02709003e2875837bb4bff8 | src/lib/hooks.ts | src/lib/hooks.ts | TypeScript |
<|file_sep|>original/src/Stripe.net/Entities/Issuing/Authorizations/VerificationData.cs
public string AddressLine1Check { get; set; }
/// <summary>
/// One of <c>match</c>, <c>mismatch</c>, or <c>not_provided</c>.
/// </summary>
[JsonProperty("address_zip_check")]
public... | public string AddressZipCheck { get; set; }
/// <summary>
/// One of <c>success</c>, <c>failure</c>, <c>exempt</c>, or <c>none</c>.
/// </summary>
[JsonProperty("authentication")]
public string Authentication { get; set; }
/// <summary>
/// One of <c>mat... | <|file_sep|>original/src/Stripe.net/Entities/Issuing/Authorizations/VerificationData.cs
public string AddressLine1Check { get; set; }
/// <summary>
/// One of <c>match</c>, <c>mismatch</c>, or <c>not_provided</c>.
/// </summary>
[JsonProperty("address_zip_check")]
public... | 0b280b32de15585d04b7c305404f76e8c0344efc | src/Stripe.net/Entities/Issuing/Authorizations/VerificationData.cs | src/Stripe.net/Entities/Issuing/Authorizations/VerificationData.cs | C# |
<|file_sep|>original/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/event/interfaces/ExceptionInterface.java
package net.kencochrane.raven.sentrystub.event.interfaces;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ExceptionInterface {
@JsonProperty(value = "type")
private Stri... | package net.kencochrane.raven.sentrystub.event.interfaces;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ExceptionInterface {
@JsonProperty(value = "type")
private String type;
@JsonProperty(value = "value")
private String value;
@JsonProperty(value = "module")
private Str... | <|file_sep|>original/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/event/interfaces/ExceptionInterface.java
package net.kencochrane.raven.sentrystub.event.interfaces;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ExceptionInterface {
@JsonProperty(value = "type")
private Stri... | a2460e091638c5f432762714c1a1bdf979f1fe43 | sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/event/interfaces/ExceptionInterface.java | sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/event/interfaces/ExceptionInterface.java | Java |
<|file_sep|>original/license.public-domain.txt
<|file_sep|>current/license.public-domain.txt
<|file_sep|>updated/license.public-domain.txt | The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.
You can copy, modify, distribute and perform the work, even for commerci... | <|file_sep|>original/license.public-domain.txt
<|file_sep|>current/license.public-domain.txt
<|file_sep|>updated/license.public-domain.txt
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, includin... | c635c7fb6fe10bad97c5768285c1743c5cfa90cc | license.public-domain.txt | license.public-domain.txt | Text |
<|file_sep|>filesystem_windows_test.go.diff
original:
p := link.path.prepend(fs.root)
updated:
from := link.path.prepend(fs.root)
to := fsPath{link.to}.prepend(fs.root)
<|file_sep|>filesystem_windows_test.go.diff
original:
output, err := exec.Command("cmd", "/c", "mklink", "/J", p.String(), link.to).CombinedOut... | // directory junctions for links.
func (fs filesystemState) setupUsingJunctions(t *testing.T) {
fs.setupDirs(t)
fs.setupFiles(t)
fs.setupJunctions(t)
}
func (fs filesystemState) setupJunctions(t *testing.T) {
for _, link := range fs.links {
from := link.path.prepend(fs.root)
to := fsPath{link.to}.prepend(fs.ro... | <|file_sep|>filesystem_windows_test.go.diff
original:
p := link.path.prepend(fs.root)
updated:
from := link.path.prepend(fs.root)
to := fsPath{link.to}.prepend(fs.root)
<|file_sep|>filesystem_windows_test.go.diff
original:
output, err := exec.Command("cmd", "/c", "mklink", "/J", p.String(), link.to).CombinedOut... | d0ea5d5f730c5136152f99f05268b899b65ef4ff | filesystem_windows_test.go | filesystem_windows_test.go | Go |
<|file_sep|>.github/workflows/maven.yml.diff
original:
java: [ 11, 14 ]
updated:
java: [ 11, 15 ]
<|file_sep|>original/.github/workflows/maven.yml
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 11, 14 ]
exp... | jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 11, 15 ]
experimental: [false]
include:
- java: 16-ea
experimental: true
steps:
- uses: actions/checkout@v2.3.2
- name: Set up JDK $... | <|file_sep|>.github/workflows/maven.yml.diff
original:
java: [ 11, 14 ]
updated:
java: [ 11, 15 ]
<|file_sep|>original/.github/workflows/maven.yml
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 11, 14 ]
exp... | e2b50fae13b81826317689555edfa4089b5c28fe | .github/workflows/maven.yml | .github/workflows/maven.yml | YAML |
<|file_sep|>original/.travis.yml
env:
- DEP_ENV=devtest
before_install:
- chmod +x gradlew
language: java
jdk:
- oraclejdk8
branches:
only:
- devtest
- master
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
... | env:
- DEP_ENV=devtest
before_install:
- chmod +x gradlew
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
branches:
only:
- devtest
- master
| <|file_sep|>original/.travis.yml
env:
- DEP_ENV=devtest
before_install:
- chmod +x gradlew
language: java
jdk:
- oraclejdk8
branches:
only:
- devtest
- master
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
... | 92fb308fbb960cc98787a276d5a601afe3c94e92 | .travis.yml | .travis.yml | YAML |
<|file_sep|>views/index.haml.diff
original:
%a(href='#{App::GITHUB_REPOS_URI}')
Watch changes
updated:
%a(href='#{App::GITHUB_REPOS_URI}') Watch changes
<|file_sep|>original/views/index.haml
kana/vim-textobj-user/master/doc/textobj-user.txt
%li
\...
#footer
... | %a(href='/github/kana/vim-textobj-user/master/doc/textobj-user.txt.html')
kana/vim-textobj-user/master/doc/textobj-user.txt
%li
\...
#footer
%address
= App::NAME
@@VERSION@@
—
Copyright © 2011
%a(href='http://whileim... | <|file_sep|>views/index.haml.diff
original:
%a(href='#{App::GITHUB_REPOS_URI}')
Watch changes
updated:
%a(href='#{App::GITHUB_REPOS_URI}') Watch changes
<|file_sep|>original/views/index.haml
kana/vim-textobj-user/master/doc/textobj-user.txt
%li
\...
#footer
... | 5f829bb5e23f010b9c471edffca0300291294128 | views/index.haml | views/index.haml | Haml |
<|file_sep|>original/docs-site/publish.sh
npm run build
mkdir -p tmp
if [ ! -d "tmp/gh-pages" ]; then
git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages
fi
cd tmp/gh-pages
git pull
find . -maxdepth 1 ! -name '.git' ! -name '.' -exec rm -r {} \;
cp -r $DIR/{bu... | npm run build
mkdir -p tmp
if [ ! -d "tmp/gh-pages" ]; then
git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages
fi
cd tmp/gh-pages
git pull
find . -maxdepth 1 ! -name '.git' ! -name '.' -exec rm -r {} \;
cp -r $DIR/{bundle.js,index.html,style.css,images,CNAME}... | <|file_sep|>original/docs-site/publish.sh
npm run build
mkdir -p tmp
if [ ! -d "tmp/gh-pages" ]; then
git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages
fi
cd tmp/gh-pages
git pull
find . -maxdepth 1 ! -name '.git' ! -name '.' -exec rm -r {} \;
cp -r $DIR/{bu... | bf8ce271519f422357c51805e7eb5d2a78be3b7a | docs-site/publish.sh | docs-site/publish.sh | Shell |
<|file_sep|>README.md.diff
original:
# YunoHost installation script
updated:
# YunoHost installation scripts
<|file_sep|>README.md.diff
original:
The script supports a number of positionnal arguments:
updated:
The script supports a number of positional arguments:
<|file_sep|>README.md.diff
original:
This is usefull for... |
## Advanced usage
The script supports a number of positional arguments:
$ bash install_yunohostv2 -h
Usage :
install_yunohostv2 [-a] [-d <DISTRIB>] [-h]
Options :
-a Enable automatic mode. No questions are asked.
This does not perform the post-install step.
-d C... | <|file_sep|>README.md.diff
original:
# YunoHost installation script
updated:
# YunoHost installation scripts
<|file_sep|>README.md.diff
original:
The script supports a number of positionnal arguments:
updated:
The script supports a number of positional arguments:
<|file_sep|>README.md.diff
original:
This is usefull for... | b47bd6a4c218ee4bde75fd64da5150f752819a71 | README.md | README.md | Markdown |
<|file_sep|>original/todo.org
** TODO cope with overlap multibytes
* HTML transformations
** TODO filepos offset links
** TODO mbp:pagebreak tags
** TODO font sizes
** DONE A-with-ring entries
CLOSED: [2014-01-01 Wed 19:29]
Example: in LastColony get a sequence like
6e 'n'
c3a2 U+00E2
c280 U+0080
c299 U+0099
7... | ** DONE A-with-ring entries
CLOSED: [2014-01-01 Wed 19:29]
Example: in LastColony get a sequence like
6e 'n'
c3a2 U+00E2
c280 U+0080
c299 U+0099
73 's'
at a place where you'd expect a single quote mark (i.e. U+0039 or U+2019).
** TODO validate HTML to find other problems
* Testing framework
** DONE better way ... | <|file_sep|>original/todo.org
** TODO cope with overlap multibytes
* HTML transformations
** TODO filepos offset links
** TODO mbp:pagebreak tags
** TODO font sizes
** DONE A-with-ring entries
CLOSED: [2014-01-01 Wed 19:29]
Example: in LastColony get a sequence like
6e 'n'
c3a2 U+00E2
c280 U+0080
c299 U+0099
7... | 37fe3854322347bd57bac4fddfaa4c627e53afe1 | todo.org | todo.org | Org |
<|file_sep|>conf/db/migration/default/V001__Create_security_tables.sql.diff
original:
updated:
-- Application users.
<|file_sep|>conf/db/migration/default/V001__Create_security_tables.sql.diff
original:
USERNAME VARCHAR NOT NULL,
updated:
FIRSTNAME VARCHAR NOT NULL,
LASTNAME VARCHAR,
FULLNAME VARCHAR,
EMAIL ... | ID UUID PRIMARY KEY NOT NULL,
FIRSTNAME VARCHAR NOT NULL,
LASTNAME VARCHAR,
FULLNAME VARCHAR,
EMAIL VARCHAR,
AVATAR VARCHAR,
CREATION_TIME_UTC TIMESTAMP NOT NULL,
UPDATE_TIME_UTC TIMESTAMP NOT NULL,
IS_SOFT_DELETED BOOLEAN NOT NULL DEFAULT FALSE
);
-- Entries that link application users to authentica... | <|file_sep|>conf/db/migration/default/V001__Create_security_tables.sql.diff
original:
updated:
-- Application users.
<|file_sep|>conf/db/migration/default/V001__Create_security_tables.sql.diff
original:
USERNAME VARCHAR NOT NULL,
updated:
FIRSTNAME VARCHAR NOT NULL,
LASTNAME VARCHAR,
FULLNAME VARCHAR,
EMAIL ... | a911ff5df95ceeda30eb4c767c12e018ff6466f4 | conf/db/migration/default/V001__Create_security_tables.sql | conf/db/migration/default/V001__Create_security_tables.sql | SQL |
<|file_sep|>original/Assets/Scripts/HarryPotterUnity/Cards/PlayRequirements/InputRequirement.cs
public int FromHandActionInputRequired { get { return _fromHandActionInputRequired; } }
public int InPlayActionInputRequired { get { return _inPlayActionInputRequired; } }
private void Awake()
... | public int FromHandActionInputRequired { get { return _fromHandActionInputRequired; } }
public int InPlayActionInputRequired { get { return _inPlayActionInputRequired; } }
private void Awake()
{
_cardInfo = GetComponent<BaseCard>();
if (GetComponent<InputGatherer... | <|file_sep|>original/Assets/Scripts/HarryPotterUnity/Cards/PlayRequirements/InputRequirement.cs
public int FromHandActionInputRequired { get { return _fromHandActionInputRequired; } }
public int InPlayActionInputRequired { get { return _inPlayActionInputRequired; } }
private void Awake()
... | 431b5517d15cb177050b99d4dd1a456110e4526a | Assets/Scripts/HarryPotterUnity/Cards/PlayRequirements/InputRequirement.cs | Assets/Scripts/HarryPotterUnity/Cards/PlayRequirements/InputRequirement.cs | C# |
<|file_sep|>.travis.yml.diff
original:
- "9"
updated:
- "10"
<|file_sep|>.travis.yml.diff
original:
- "6"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "9"
- "8"
- "6"
branches:
only:
- master
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --versi... | language: node_js
node_js:
- "10"
- "8"
branches:
only:
- master
script:
- npm test
after_success:
- npm run coveralls
cache: yarn | <|file_sep|>.travis.yml.diff
original:
- "9"
updated:
- "10"
<|file_sep|>.travis.yml.diff
original:
- "6"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "9"
- "8"
- "6"
branches:
only:
- master
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --versi... | 3f29b1baa6f9640b48ad56736ecf6dd90565eede | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/com.notriddle.budget.txt.diff
original:
Web Site:http://www.notriddle.com
updated:
Web Site:https://www.notriddle.com
<|file_sep|>metadata/com.notriddle.budget.txt.diff
original:
Donate:http://www.notriddle.com/donate/
updated:
Donate:https://www.notriddle.com/donate/
<|file_sep|>metadata/com.notri... | You put money into the envelopes at payday, and take it out as you spend.
An envelope can represent anything — a bank account, money set aside for
groceries, or the cash you're saving to buy that new Android phone off-contract.
Think of a cheque book, only more flexible.
.
Repo Type:git
Repo:https://github.com/notrid... | <|file_sep|>metadata/com.notriddle.budget.txt.diff
original:
Web Site:http://www.notriddle.com
updated:
Web Site:https://www.notriddle.com
<|file_sep|>metadata/com.notriddle.budget.txt.diff
original:
Donate:http://www.notriddle.com/donate/
updated:
Donate:https://www.notriddle.com/donate/
<|file_sep|>metadata/com.notri... | dc1cf79caecf48b6b5b7262c69d9353c2fbb3cc1 | metadata/com.notriddle.budget.txt | metadata/com.notriddle.budget.txt | Text |
<|file_sep|>original/README.md
# Bindex
This gem adds `Exception#bindings` method to every exception.
`Exception#bindings` gets populated with `Binding` objects in the context of
the traces in which the exception bubbled up when it was raised.
## Usage
The code is in alpha quality! Give it a thought, before using i... | This gem adds `Exception#bindings` method to every exception.
`Exception#bindings` gets populated with `Binding` objects in the context of
the traces in which the exception bubbled up when it was raised.
## Usage
The code is in alpha quality! Give it a thought, before using it. With that in
mind, just raise an excep... | <|file_sep|>original/README.md
# Bindex
This gem adds `Exception#bindings` method to every exception.
`Exception#bindings` gets populated with `Binding` objects in the context of
the traces in which the exception bubbled up when it was raised.
## Usage
The code is in alpha quality! Give it a thought, before using i... | 1d25ac3c8e2fca8423b88618ab0b45a420f66b74 | README.md | README.md | Markdown |
<|file_sep|>original/org/MickMad/index.md
<|file_sep|>current/org/MickMad/index.md
<|file_sep|>updated/org/MickMad/index.md | ---
layout: org
title: MickMad - Michele Perla
---
Computer Engineering Undergraduate @ "Sapienza" University of Rome in Dec. 2013
Service Desk Operator @ Capgemini Italia SPA in Rome, Italy
SW/HW/FW Application Developer and Engineer @ myself
Prog/Death/Thrash Guitarist/Producer
Projects page: https://hackaday.io/Mi... | <|file_sep|>original/org/MickMad/index.md
<|file_sep|>current/org/MickMad/index.md
<|file_sep|>updated/org/MickMad/index.md
---
layout: org
title: MickMad - Michele Perla
---
Computer Engineering Undergraduate @ "Sapienza" University of Rome in Dec. 2013
Service Desk Operator @ Capgemini Italia SPA in Rome, Italy
S... | d805ebda3c49d5265ef044bb7fb891d344f5f189 | org/MickMad/index.md | org/MickMad/index.md | Markdown |
<|file_sep|>original/src/SofaChamps/Bundle/BowlPickemBundle/Resources/views/howto.html.twig
{% extends "SofaChampsBowlPickemBundle::layout.html.twig" %}
{% block content %}
<div class="jumbotron">
<h1>How To Play</h1>
<ol id="steps">
<li>Pick a winner for each game: <br /><img src="img... | {% extends "SofaChampsBowlPickemBundle::layout.html.twig" %}
{% block content %}
<div class="jumbotron">
<h1>How To Play</h1>
<ol id="steps">
<li>Pick a winner for each game: <br /><img src="{{ asset('img/howtoplay/step1-pick-winner.png') }}" alt="Step 1" /></li>
<li>Drag g... | <|file_sep|>original/src/SofaChamps/Bundle/BowlPickemBundle/Resources/views/howto.html.twig
{% extends "SofaChampsBowlPickemBundle::layout.html.twig" %}
{% block content %}
<div class="jumbotron">
<h1>How To Play</h1>
<ol id="steps">
<li>Pick a winner for each game: <br /><img src="img... | 5a3d29f2bef6833438f8caa18185b80e2e3d392d | src/SofaChamps/Bundle/BowlPickemBundle/Resources/views/howto.html.twig | src/SofaChamps/Bundle/BowlPickemBundle/Resources/views/howto.html.twig | Twig |
<|file_sep|>original/contrib/bookmark-buku.sh
<|file_sep|>current/contrib/bookmark-buku.sh
<|file_sep|>updated/contrib/bookmark-buku.sh | #!/usr/bin/env bash
# newsboat bookmarking plugin for buku
# (c) 2021 Greg Fitzgerald <gregf@beastie.tech>
#
# Heavily inspired by bookmark-pinboard.sh
#
# Add the following to your newsboat config, and adjust the path as needed.
# bookmark-cmd ~/bin/bookmark-buku.sh
# bookmark-interactive yes
url="$1"
title="$2" #yo... | <|file_sep|>original/contrib/bookmark-buku.sh
<|file_sep|>current/contrib/bookmark-buku.sh
<|file_sep|>updated/contrib/bookmark-buku.sh
#!/usr/bin/env bash
# newsboat bookmarking plugin for buku
# (c) 2021 Greg Fitzgerald <gregf@beastie.tech>
#
# Heavily inspired by bookmark-pinboard.sh
#
# Add the following to your ... | 8c31661c386597998650f1678aad248185af3dc2 | contrib/bookmark-buku.sh | contrib/bookmark-buku.sh | Shell |
<|file_sep|>original/Applications/Specware/bin/linux/specware-batch.sh
# specware-batch.sh <<EOF
# proc ${SPECWARE4}/Library/CGen/Deep/C
# proc ${SPECWARE4}/Library/CGen/Deep/CPrettyPrinter_Tests
# ctext ${SPECWARE4}/Library/CGen/Deep/CPrettyPrinter_Tests
# e 1+1
# e run_test
# e 2+3
# quit
# EOF
# If this isn't set... | # proc ${SPECWARE4}/Library/CGen/Deep/C
# proc ${SPECWARE4}/Library/CGen/Deep/CPrettyPrinter_Tests
# ctext ${SPECWARE4}/Library/CGen/Deep/CPrettyPrinter_Tests
# e 1+1
# e run_test
# e 2+3
# quit
# EOF
# If SWPATH isn't set, things currently fail in a confusing way:
# To override this, set SWPATH before calling this s... | <|file_sep|>original/Applications/Specware/bin/linux/specware-batch.sh
# specware-batch.sh <<EOF
# proc ${SPECWARE4}/Library/CGen/Deep/C
# proc ${SPECWARE4}/Library/CGen/Deep/CPrettyPrinter_Tests
# ctext ${SPECWARE4}/Library/CGen/Deep/CPrettyPrinter_Tests
# e 1+1
# e run_test
# e 2+3
# quit
# EOF
# If this isn't set... | 36a1e49bd5c8de5240886667b9f6837820b38c1e | Applications/Specware/bin/linux/specware-batch.sh | Applications/Specware/bin/linux/specware-batch.sh | Shell |
<|file_sep|>original/doc/HOWTO_MODULE.md
<|file_sep|>current/doc/HOWTO_MODULE.md
<|file_sep|>updated/doc/HOWTO_MODULE.md | # Writing a bumblebee-status module
## Introduction
Adding a new module to `bumblebee-status` is straight-forward:
- Add a new Python module in `modules/contrib/`. The name of the
module will be the name that the user needs to specify when
invoking `bumblebee-status` (i.e. a module called `modules/contrib/test.py... | <|file_sep|>original/doc/HOWTO_MODULE.md
<|file_sep|>current/doc/HOWTO_MODULE.md
<|file_sep|>updated/doc/HOWTO_MODULE.md
# Writing a bumblebee-status module
## Introduction
Adding a new module to `bumblebee-status` is straight-forward:
- Add a new Python module in `modules/contrib/`. The name of the
module will b... | 4f87f65f7148dd41c13356c1e0012d188eeb66f1 | doc/HOWTO_MODULE.md | doc/HOWTO_MODULE.md | Markdown |
<|file_sep|>original/core/src/main/scala/org/http4s/internal/BackendBuilder.scala
* until the backend is ready to process requests.
*/
def resource: Resource[F, A]
/** Returns the backend as a single-element stream. The stream
* does not emit until the backend is ready to process requests.
* The b... | * until the backend is ready to process requests.
*/
def resource: Resource[F, A]
/** Returns the backend as a single-element stream. The stream
* does not emit until the backend is ready to process requests.
* The backend is shut down when the stream is finalized.
*/
def stream: Stream[F, A... | <|file_sep|>original/core/src/main/scala/org/http4s/internal/BackendBuilder.scala
* until the backend is ready to process requests.
*/
def resource: Resource[F, A]
/** Returns the backend as a single-element stream. The stream
* does not emit until the backend is ready to process requests.
* The b... | 20cc24b05596db57de7c1c4ff67996386302eef7 | core/src/main/scala/org/http4s/internal/BackendBuilder.scala | core/src/main/scala/org/http4s/internal/BackendBuilder.scala | Scala |
<|file_sep|>original/create_schemas_and_tables.py
#! /usr/bin/env python3
import os
import subprocess
ODIE_DIR = os.path.dirname(__file__)
subprocess.call([os.path.join(ODIE_DIR, 'create_garfield_models.py')])
subprocess.call([os.path.join(ODIE_DIR, 'create_fsmi_models.py')])
<|file_sep|>current/create_schemas_and_t... | #! /usr/bin/env python3
import os
import subprocess
ODIE_DIR = os.path.dirname(__file__)
# due to Flask-SQLA only using a single MetaData object even when handling multiple
# databases, we can't create let it create all our models at once (otherwise it
# tries to create Enums in all databases, which will fail due to... | <|file_sep|>original/create_schemas_and_tables.py
#! /usr/bin/env python3
import os
import subprocess
ODIE_DIR = os.path.dirname(__file__)
subprocess.call([os.path.join(ODIE_DIR, 'create_garfield_models.py')])
subprocess.call([os.path.join(ODIE_DIR, 'create_fsmi_models.py')])
<|file_sep|>current/create_schemas_and_t... | c3aad1ab31b84cce97555c56ec44986addca5ee8 | create_schemas_and_tables.py | create_schemas_and_tables.py | Python |
<|file_sep|>original/standard-library/build.sh
>$project_root/generated/standard-library.reuse echo "
$(cat $project_root/standard-library/boolean.reuse)
$(cat $project_root/standard-library/pair.reuse)
$(cat $project_root/standard-library/maybe.reuse)
$(cat $project_root/standard-library/indexed-iterator.reuse)
$(cat... | $(cat $project_root/standard-library/state.reuse)
$(cat $project_root/standard-library/dictionary.reuse)
"
if [ "$1" == "--diagnostics" ]; then
2>&1 echo "[standard-library/build.sh] reusec --language haskell"
fi
$project_root/reusec --language haskell\
--output $project_root/generated/Reuse.... | <|file_sep|>original/standard-library/build.sh
>$project_root/generated/standard-library.reuse echo "
$(cat $project_root/standard-library/boolean.reuse)
$(cat $project_root/standard-library/pair.reuse)
$(cat $project_root/standard-library/maybe.reuse)
$(cat $project_root/standard-library/indexed-iterator.reuse)
$(cat... | a595ba9577c8662d4aa3e8aaafe7bba49078dbb4 | standard-library/build.sh | standard-library/build.sh | Shell |
<|file_sep|>original/rails_generators/form_builder/templates/forms_helper.rb
module FormsHelper
end
<|file_sep|>current/rails_generators/form_builder/templates/forms_helper.rb
module FormsHelper
end
<|file_sep|>updated/rails_generators/form_builder/templates/forms_helper.rb | module FormsHelper
def remove_child_link(name, f)
f.hidden_field(:_delete) + link_to_function(name, "remove_fields(this)")
end
def add_child_link(name, f, method)
fields = new_child_fields(f, method)
link_to_function(name, h("insert_fields(this, \"#{method}\", \"#{escape_javascript(fields)}\")")... | <|file_sep|>original/rails_generators/form_builder/templates/forms_helper.rb
module FormsHelper
end
<|file_sep|>current/rails_generators/form_builder/templates/forms_helper.rb
module FormsHelper
end
<|file_sep|>updated/rails_generators/form_builder/templates/forms_helper.rb
module FormsHelper
def remove_child_link... | 8b633fe3b05dc02aa8b4a3d25b749e2bde8e0fcb | rails_generators/form_builder/templates/forms_helper.rb | rails_generators/form_builder/templates/forms_helper.rb | Ruby |
<|file_sep|>original/css/less/base/blockquote.less
// Blockquote
// ----------------------------------------------------------------------------/
blockquote {
.margin-bottom(@blockquote-leading, @unit: rem);
.font-size(@blockquote-font-size);
font-family: @blockquote-font-family;
font-style: @blockquote-font-style;... | // Blockquote
// ----------------------------------------------------------------------------/
blockquote {
.margin-bottom(@blockquote-leading, @unit: rem);
.font-size(@blockquote-font-size);
font-family: @blockquote-font-family;
font-style: @blockquote-font-style;
small:before {
content: "— ";
}
small {
... | <|file_sep|>original/css/less/base/blockquote.less
// Blockquote
// ----------------------------------------------------------------------------/
blockquote {
.margin-bottom(@blockquote-leading, @unit: rem);
.font-size(@blockquote-font-size);
font-family: @blockquote-font-family;
font-style: @blockquote-font-style;... | c1877b6e5dc230340f92cc83a3fc2a1020ba54de | css/less/base/blockquote.less | css/less/base/blockquote.less | Less |
<|file_sep|>original/hosted_zones.go
package aws
// This list is copied from
// http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints
// It currently cannot be generated from the API json.
var hostedZoneIDsMap = map[string]string{
"us-east-1": "Z3AQBSTGFYJSTF",
"us-west-2": "Z... | package aws
// This list is copied from
// http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints
// It currently cannot be generated from the API json.
var hostedZoneIDsMap = map[string]string{
"us-east-1": "Z3AQBSTGFYJSTF",
"us-west-2": "Z3BJ6K6RIION7M",
"us-west-1": "Z... | <|file_sep|>original/hosted_zones.go
package aws
// This list is copied from
// http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints
// It currently cannot be generated from the API json.
var hostedZoneIDsMap = map[string]string{
"us-east-1": "Z3AQBSTGFYJSTF",
"us-west-2": "Z... | 729b63e5ec145441b226333ddd050da1a3cf0b44 | hosted_zones.go | hosted_zones.go | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.