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/build.sbt
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
... | organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (isSnapshot.value) {
So... | <|file_sep|>original/build.sbt
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
... | 5a682ddbe7b00f317fc2723390d639922cfdb0b9 | build.sbt | build.sbt | Scala |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
before_install:
# We need GraphViz to draw figures of graphs and lattices:
- "sudo apt-get install graphviz 2>&1 | tail -n 2"
# We need these to call GraphViz from Python:
- "pip install pydot pyparsing --use-mirrors | tail -n 2"
# We need NumPy, whi... | language: python
python:
- "2.7"
before_install:
# We need GraphViz to draw figures of graphs and lattices:
- "sudo apt-get install graphviz 2>&1 | tail -n 2"
# We need these to call GraphViz from Python:
- "pip install pydot pyparsing --use-mirrors | tail -n 2"
# We need NumPy, which currently isn't directly avail... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
before_install:
# We need GraphViz to draw figures of graphs and lattices:
- "sudo apt-get install graphviz 2>&1 | tail -n 2"
# We need these to call GraphViz from Python:
- "pip install pydot pyparsing --use-mirrors | tail -n 2"
# We need NumPy, whi... | 0a3dfbfdf4e54cf9fbe0c49d2537bbebc3045e83 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
## Installation
```bash
$ npm install lineman-livereload --save-dev
```
## License
The MIT License (MIT)
Copyright (c) 2014 Daxos, http://daxos.com [<hello@daxos.com>](mailto://hello@daxos.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softw... | ## Installation
```bash
$ npm install lineman-livereload --save-dev
```
## License
The MIT License (MIT)
Copyright (c) 2014 Daxos, http://daxos.com [<hello@daxos.com>](mailto://hello@daxos.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated docume... | <|file_sep|>original/README.md
## Installation
```bash
$ npm install lineman-livereload --save-dev
```
## License
The MIT License (MIT)
Copyright (c) 2014 Daxos, http://daxos.com [<hello@daxos.com>](mailto://hello@daxos.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softw... | 7209406815758a69c6fbabaff8223b81ddf1e6fd | README.md | README.md | Markdown |
<|file_sep|>original/_notes/tool/linux/system/systemctl.md
---
---
## Usage
```shell
systemctl COMMAND
```
| Command | Description |
| --- | --- |
| `halt` | Terminates all services and processes, but does not power-off the system. |
| `poweroff` | Terminates all services and processes, then power-off the system. |
... |
## Usage
```shell
systemctl COMMAND
```
| Command | Description |
| --- | --- |
| `halt` | Terminates all services and processes, but does not power-off the system. |
| `poweroff` | Terminates all services and processes, then power-off the system. |
| `reboot` | Same as `poweroff`, but start the system again. |
| `s... | <|file_sep|>original/_notes/tool/linux/system/systemctl.md
---
---
## Usage
```shell
systemctl COMMAND
```
| Command | Description |
| --- | --- |
| `halt` | Terminates all services and processes, but does not power-off the system. |
| `poweroff` | Terminates all services and processes, then power-off the system. |
... | 3a14c8727193b1a50ec7df966e66aa82100d42f2 | _notes/tool/linux/system/systemctl.md | _notes/tool/linux/system/systemctl.md | Markdown |
<|file_sep|>original/package.json
{
"name": "deployjs",
"version": "0.0.1",
"description": "Deploy JS applications with a single command",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"cli": "^1.0.1"... | {
"name": "deployjs",
"version": "0.0.1",
"description": "Deploy JS applications with a single command",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"dependencies": {
"cli": "^1.0.1",
"console-ui": "^1.0.3",
... | <|file_sep|>original/package.json
{
"name": "deployjs",
"version": "0.0.1",
"description": "Deploy JS applications with a single command",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"cli": "^1.0.1"... | f1c843979e699e5223d1de844ccfb9a3e9cbba3b | package.json | package.json | JSON |
<|file_sep|>td/challenge295/pacman.erl.diff
original:
updated:
getFields() ->
io:fread("", "~s").
handleNumberOfMoves(invalid_number_of_moves) ->
void;
handleNumberOfMoves(_) ->
getFields().
<|file_sep|>original/td/challenge295/pacman.erl
-module(pacman).
-export([getMaxPacgums/0]).
getNumberOfMoves({ok, [N]}) ... | -export([getMaxPacgums/0]).
getNumberOfMoves({ok, [N]}) ->
N;
getNumberOfMoves(_) ->
invalid_number_of_moves.
getFields() ->
io:fread("", "~s").
handleNumberOfMoves(invalid_number_of_moves) ->
void;
handleNumberOfMoves(_) ->
getFields().
getMaxPacgums() ->
N = getNumberOfMoves(io:fread("", "~d")),
io:forma... | <|file_sep|>td/challenge295/pacman.erl.diff
original:
updated:
getFields() ->
io:fread("", "~s").
handleNumberOfMoves(invalid_number_of_moves) ->
void;
handleNumberOfMoves(_) ->
getFields().
<|file_sep|>original/td/challenge295/pacman.erl
-module(pacman).
-export([getMaxPacgums/0]).
getNumberOfMoves({ok, [N]}) ... | c8615528eebabee53382ced8fd7821085ce1a8b3 | td/challenge295/pacman.erl | td/challenge295/pacman.erl | Erlang |
<|file_sep|>setup.py.diff
original:
from hamcrest import __version__
updated:
<|file_sep|>setup.py.diff
original:
updated:
import re
matched = re.match('__version__.*', read(os.path.join('hamcrest', '__init__.py')))
if matched:
exec(matched.group())
<|file_sep|>original/setup.py
platforms=['All'],
keywor... | keywords = 'hamcrest matchers pyunit unit test testing unittest unittesting',
url = 'http://code.google.com/p/hamcrest/',
download_url = 'http://pypi.python.org/packages/source/P/PyHamcrest/PyHamcrest-%s.tar.gz' % __version__,
packages = find_packages(),
test_suite = 'hamcrest-unit-test.alltests',
... | <|file_sep|>setup.py.diff
original:
from hamcrest import __version__
updated:
<|file_sep|>setup.py.diff
original:
updated:
import re
matched = re.match('__version__.*', read(os.path.join('hamcrest', '__init__.py')))
if matched:
exec(matched.group())
<|file_sep|>original/setup.py
platforms=['All'],
keywor... | 823179066c9a7c101a18e9c2d7ccb2a9ccf7f1cb | setup.py | setup.py | Python |
<|file_sep|>docker/heat/heat.json.diff
original:
{"containerPort": 9292},
updated:
{"containerPort": 9292}
<|file_sep|>docker/heat/heat.json.diff
original:
},
updated:
}
<|file_sep|>docker/heat/heat.json.diff
original:
},
updated:
}
<|file_sep|>ori... | {
"name": "DB_ROOT_PASSWORD",
"value": "password"
},
{
"name": "HEAT_DB_PASSWORD",
"value": "heatdbpassword"
},
{
"name": "KEYSTONE_ADMIN_TOKEN",
"value": "ADMINTOKEN"
... | <|file_sep|>docker/heat/heat.json.diff
original:
{"containerPort": 9292},
updated:
{"containerPort": 9292}
<|file_sep|>docker/heat/heat.json.diff
original:
},
updated:
}
<|file_sep|>docker/heat/heat.json.diff
original:
},
updated:
}
<|file_sep|>ori... | 73d1ada4da2b94bf26e957fe7b408aabf3876364 | docker/heat/heat.json | docker/heat/heat.json | JSON |
<|file_sep|>.travis.yml.diff
original:
updated:
- gemfiles/2.3.gemfile
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
gemfile:
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile
notifications:
email: false
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
gemfile:
- gemfil... | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
gemfile:
- gemfiles/2.3.gemfile
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile | <|file_sep|>.travis.yml.diff
original:
updated:
- gemfiles/2.3.gemfile
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
gemfile:
- gemfiles/3.0.gemfile
- gemfiles/3.1.gemfile
notifications:
email: false
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
gemfile:
- gemfil... | 91ac190ac0b9928be49375765ac070608ea060ea | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/jobs/tcp_router/templates/bpm.yml.erb
---
processes:
- name: tcp_router
env:
GODEBUG: tls13=0
hooks:
pre_start: /var/vcap/jobs/tcp_router/bin/bpm-pre-start
additional_volumes:
- path: /var/vcap/data/tcp_router/config
writable: true
capabilities:
- NET_BIND_SERVICE
- SY... | ---
processes:
- name: tcp_router
hooks:
pre_start: /var/vcap/jobs/tcp_router/bin/bpm-pre-start
additional_volumes:
- path: /var/vcap/data/tcp_router/config
writable: true
capabilities:
- NET_BIND_SERVICE
- SYS_RESOURCE
executable: /var/vcap/jobs/tcp_router/bin/tcp_router_ctl | <|file_sep|>original/jobs/tcp_router/templates/bpm.yml.erb
---
processes:
- name: tcp_router
env:
GODEBUG: tls13=0
hooks:
pre_start: /var/vcap/jobs/tcp_router/bin/bpm-pre-start
additional_volumes:
- path: /var/vcap/data/tcp_router/config
writable: true
capabilities:
- NET_BIND_SERVICE
- SY... | eee294269b34a50baffbce8244515f27f0364d82 | jobs/tcp_router/templates/bpm.yml.erb | jobs/tcp_router/templates/bpm.yml.erb | HTML+ERB |
<|file_sep|>.rubocop.yml.diff
original:
- 'spec/support/factories.rb'
updated:
- 'spec/factories.rb'
Style/SymbolArray:
Enabled: false
<|file_sep|>original/.rubocop.yml
inherit_from:
- '.thoughtbot.rubocop.yml'
Style/BlockDelimiters:
Enabled: true
Exclude:
- 'spec/**/*_spec.rb'
Style/BracesAround... | - '.thoughtbot.rubocop.yml'
Style/BlockDelimiters:
Enabled: true
Exclude:
- 'spec/**/*_spec.rb'
Style/BracesAroundHashParameters:
Enabled: true
Exclude:
- 'spec/**/*_spec.rb'
- 'spec/factories.rb'
Style/SymbolArray:
Enabled: false
Layout/IndentHash:
Enabled: true
Exclude:
- 'spec/**/... | <|file_sep|>.rubocop.yml.diff
original:
- 'spec/support/factories.rb'
updated:
- 'spec/factories.rb'
Style/SymbolArray:
Enabled: false
<|file_sep|>original/.rubocop.yml
inherit_from:
- '.thoughtbot.rubocop.yml'
Style/BlockDelimiters:
Enabled: true
Exclude:
- 'spec/**/*_spec.rb'
Style/BracesAround... | 2ee3270b2a0200e6aadd04d4b1e78c523aefe15f | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/README.markdown
Physics-editor-sample is a simple cocos2d loader for the [Physics-editor.](http://code.google.com/p/box2d-editor/)
The loader currently only works with box2d, but it shouldn't be hard to change out the box2d specific code with
Chipmunk.
<|file_sep|>current/README.markdown
Physics-e... | Physics-editor-sample is a simple cocos2d loader for the [Physics-editor(version 2.0).](http://code.google.com/p/box2d-editor/)
The loader currently only works with box2d, but it shouldn't be hard to change out the box2d specific code with
Chipmunk. | <|file_sep|>original/README.markdown
Physics-editor-sample is a simple cocos2d loader for the [Physics-editor.](http://code.google.com/p/box2d-editor/)
The loader currently only works with box2d, but it shouldn't be hard to change out the box2d specific code with
Chipmunk.
<|file_sep|>current/README.markdown
Physics-e... | debf7b95fbb7ff8d3d463b25e8ef26abf8456842 | README.markdown | README.markdown | Markdown |
<|file_sep|>original/tools/mugen-converter/src/generator.cpp
CharacterGenerator::CharacterGenerator(const std::string & filename):
filename(filename){
}
CharacterGenerator::~CharacterGenerator(){
}
void CharacterGenerator::output(const std::string & file){
Mugen::PythonStream out;
out.open(file);
out << "... | CharacterGenerator::CharacterGenerator(const std::string & filename):
filename(filename){
}
CharacterGenerator::~CharacterGenerator(){
}
void CharacterGenerator::output(const std::string & file){
Mugen::PythonStream out;
out.open(file);
out << "import mugen" << PythonStream::endl;
out << "class TestC... | <|file_sep|>original/tools/mugen-converter/src/generator.cpp
CharacterGenerator::CharacterGenerator(const std::string & filename):
filename(filename){
}
CharacterGenerator::~CharacterGenerator(){
}
void CharacterGenerator::output(const std::string & file){
Mugen::PythonStream out;
out.open(file);
out << "... | 38de7fc1ce3055403c78b36e0b7ba92e98ffacf3 | tools/mugen-converter/src/generator.cpp | tools/mugen-converter/src/generator.cpp | C++ |
<|file_sep|>original/.travis.yml
osx_image: xcode8.0
language: objective-c
rvm:
- 2.2
before_install:
- gem install bundler -v '>= 1.13.4' --no-doc
- gem install scan --no-doc
- gem install cocoapods --no-doc
script:
- set -o pipefail && scan --project 'Waxwing/Waxwing.xcodeproj'
# - pod lib lint
<|file_sep|>current/... | osx_image: xcode8.1
language: objective-c
rvm:
- 2.2
before_install:
- gem install bundler -v '>= 1.13.4' --no-doc
- gem install scan --no-doc
- gem install cocoapods --no-doc
script:
- set -o pipefail && scan --project 'Waxwing/Waxwing.xcodeproj'
# - pod lib lint | <|file_sep|>original/.travis.yml
osx_image: xcode8.0
language: objective-c
rvm:
- 2.2
before_install:
- gem install bundler -v '>= 1.13.4' --no-doc
- gem install scan --no-doc
- gem install cocoapods --no-doc
script:
- set -o pipefail && scan --project 'Waxwing/Waxwing.xcodeproj'
# - pod lib lint
<|file_sep|>current/... | a360f4065841ce6dcfe475cc832c19674271e089 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Casks/atom.rb
cask :v1 => 'atom' do
version '1.0.5'
sha256 'ed4c55e059195111d9d12ec379849d8d3509062496fcf61102fc98d1ff8ba12e'
# github.com is the official download host per the vendor homepage
url "https://github.com/atom/atom/releases/download/v#{version}/atom-mac.zip"
appcast 'https://... | cask :v1 => 'atom' do
version '1.0.6'
sha256 '212643e118a6d1844a6dfb03481b314a99db7f0f5c7c37e5f528399cf626dbdf'
# github.com is the official download host per the vendor homepage
url "https://github.com/atom/atom/releases/download/v#{version}/atom-mac.zip"
appcast 'https://github.com/atom/atom/releases.atom'... | <|file_sep|>original/Casks/atom.rb
cask :v1 => 'atom' do
version '1.0.5'
sha256 'ed4c55e059195111d9d12ec379849d8d3509062496fcf61102fc98d1ff8ba12e'
# github.com is the official download host per the vendor homepage
url "https://github.com/atom/atom/releases/download/v#{version}/atom-mac.zip"
appcast 'https://... | 5b7c2d1ac8c4b8761eb95e3ce05c2e5cff335070 | Casks/atom.rb | Casks/atom.rb | Ruby |
<|file_sep|>original/docs/languages.rst
* Compile the translations for use:
.. code-block::
pybabel compile -d application/translations
* If any python or html text strings have been newly tagged for translation
run:
.. code-block::
pybabel extract -F babel.cfg -k lazy_gettext -o messages.pot .
* To ... |
* Compile the translations for use:
.. code-block::
pybabel compile -d application/translations
* If any python or html text strings have been newly tagged for translation
run:
.. code-block::
pybabel extract -F babel.cfg -o messages.pot .
* To get the new translations added to the .po files:
.. cod... | <|file_sep|>original/docs/languages.rst
* Compile the translations for use:
.. code-block::
pybabel compile -d application/translations
* If any python or html text strings have been newly tagged for translation
run:
.. code-block::
pybabel extract -F babel.cfg -k lazy_gettext -o messages.pot .
* To ... | edca455d4e6896f6e08395065a6d40dc032cd0f6 | docs/languages.rst | docs/languages.rst | reStructuredText |
<|file_sep|>cookbooks/ondemand_base/recipes/ubuntu.rb.diff
original:
#Use experience recipes
updated:
#User experience and tools recipes
<|file_sep|>original/cookbooks/ondemand_base/recipes/ubuntu.rb
#Base recipes necessary for a functioning system
include_recipe "ubuntu"
include_recipe "apt"
#include_recipe "ad-likew... | #Base recipes necessary for a functioning system
include_recipe "ubuntu"
include_recipe "apt"
#include_recipe "ad-likewise"
#include_recipe "sudo"
include_recipe "openssh"
include_recipe "ntp"
#User experience and tools recipes
include_recipe "vim"
include_recipe "man"
include_recipe "networking_basic"
# Install use... | <|file_sep|>cookbooks/ondemand_base/recipes/ubuntu.rb.diff
original:
#Use experience recipes
updated:
#User experience and tools recipes
<|file_sep|>original/cookbooks/ondemand_base/recipes/ubuntu.rb
#Base recipes necessary for a functioning system
include_recipe "ubuntu"
include_recipe "apt"
#include_recipe "ad-likew... | 020121cf8605f2ec2d895c791528529c5ee0dc69 | cookbooks/ondemand_base/recipes/ubuntu.rb | cookbooks/ondemand_base/recipes/ubuntu.rb | Ruby |
<|file_sep|>nsq/sockets/__init__.py.diff
original:
logger.warn('Snappy compression not supported')
updated:
logger.debug('Snappy compression not supported')
<|file_sep|>original/nsq/sockets/__init__.py
try:
from .snappy import SnappySocket
except ImportError: # pragma: no cover
logger.warn('Snappy comp... | try:
from .snappy import SnappySocket
except ImportError: # pragma: no cover
logger.debug('Snappy compression not supported')
SnappySocket = None
# Deflate support
try:
from .deflate import DeflateSocket
except ImportError: # pragma: no cover
logger.debug('Deflate compression not supported')
... | <|file_sep|>nsq/sockets/__init__.py.diff
original:
logger.warn('Snappy compression not supported')
updated:
logger.debug('Snappy compression not supported')
<|file_sep|>original/nsq/sockets/__init__.py
try:
from .snappy import SnappySocket
except ImportError: # pragma: no cover
logger.warn('Snappy comp... | 502a5cb7179aaedf68f3f16bf8d2ef7eb1ad0032 | nsq/sockets/__init__.py | nsq/sockets/__init__.py | Python |
<|file_sep|>original/lib/defexp.awk
# awk script to convert symbol export table formats
# converts an msvc .def file to an darwin ld export-symbols-list file
# we only support the most basic module definition syntax
# skip comments
/^\w*#.*/ {next}
/^\w*;.*/ {next}
# remember and propagate the library name
/LIBRARY/... | # awk script to convert symbol export table formats
# converts an msvc .def file to an darwin ld export-symbols-list file
# we only support the most basic module definition syntax
# skip comments
/^\w*#.*/ {next}
/^\w*;.*/ {next}
# remember and propagate the library name
/LIBRARY/ {name = $2; print "# export list fo... | <|file_sep|>original/lib/defexp.awk
# awk script to convert symbol export table formats
# converts an msvc .def file to an darwin ld export-symbols-list file
# we only support the most basic module definition syntax
# skip comments
/^\w*#.*/ {next}
/^\w*;.*/ {next}
# remember and propagate the library name
/LIBRARY/... | 1b7afe9dca60a1bee2f52612eedec9e199e20142 | lib/defexp.awk | lib/defexp.awk | Awk |
<|file_sep|>src/FluentNHibernate.Framework/SessionSource.cs.diff
original:
using NHibernate.Dialect;
updated:
<|file_sep|>src/FluentNHibernate.Framework/SessionSource.cs.diff
original:
string[] drops = _configuration.GenerateDropSchemaScript(Dialect.GetDialect());
updated:
string[] drops = _con... | }
public void BuildSchema()
{
ISession session = CreateSession();
IDbConnection connection = session.Connection;
string[] drops = _configuration.GenerateDropSchemaScript(_sessionFactory.Dialect);
executeScripts(drops, connection);
st... | <|file_sep|>src/FluentNHibernate.Framework/SessionSource.cs.diff
original:
using NHibernate.Dialect;
updated:
<|file_sep|>src/FluentNHibernate.Framework/SessionSource.cs.diff
original:
string[] drops = _configuration.GenerateDropSchemaScript(Dialect.GetDialect());
updated:
string[] drops = _con... | fc459071868ec616ac50ec31d7d3180518ce9adf | src/FluentNHibernate.Framework/SessionSource.cs | src/FluentNHibernate.Framework/SessionSource.cs | C# |
<|file_sep|>original/test-tal.lisp
(defun test-parse ()
(let* ((it.bese.yaclml.xmls::*strip-comments* nil)
(str (arnesi:read-string-from-file "/home/ACCELERATION/nathan/lisp/gainesville-green/templates/faq.tal"))
(form2 (cxml:parse str
(make-interner *uri-to-package*
(cxml:make-whitespace-normalize... | (in-package :ucw)
(defun test-parse ()
(let* ((it.bese.yaclml.xmls::*strip-comments* nil)
(str (arnesi:read-string-from-file "/home/ACCELERATION/nathan/lisp/gainesville-green/templates/faq.tal"))
(form2 (cxml:parse str
(make-interner *uri-to-package*
(cxml:make-whitespace-normalizer
(cxml-... | <|file_sep|>original/test-tal.lisp
(defun test-parse ()
(let* ((it.bese.yaclml.xmls::*strip-comments* nil)
(str (arnesi:read-string-from-file "/home/ACCELERATION/nathan/lisp/gainesville-green/templates/faq.tal"))
(form2 (cxml:parse str
(make-interner *uri-to-package*
(cxml:make-whitespace-normalize... | a87f1c26c89ecda60cb5755ddfcc8d1626319749 | test-tal.lisp | test-tal.lisp | Common Lisp |
<|file_sep|>original/to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java
<|file_sep|>current/to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java
<|file_sep|>updated/to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java | package to.etc.domui.converter;
import java.util.*;
import to.etc.domui.trouble.*;
import to.etc.domui.util.*;
import to.etc.util.*;
/**
* Converter to convert a computer "size" to a size in bytes, KB, MB, GB etc.
*
* @author <a href="mailto:jal@etc.to">Frits Jalvingh</a>
* Created on Jul 30, 2009
*/
public cla... | <|file_sep|>original/to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java
<|file_sep|>current/to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java
<|file_sep|>updated/to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java
package to.etc.domui.converter;
import java.util.*;
import to.etc.... | 4ffdcb2133b7eb281c8ecc8c03b46dc029a8684a | to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java | to.etc.domui/src/to/etc/domui/converter/LongSizeConverter.java | Java |
<|file_sep|>original/cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py
<|file_sep|>current/cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py
<|file_sep|>updated/cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py | from django.test import TestCase
from django.utils import timezone
from dateutil.relativedelta import relativedelta
from freezegun import freeze_time
from core.tests.mommy_utils import make_recipe
from cla_eventlog.models import Log
from legalaid.models import Case
class FindAndDeleteOldCases(TestCase):
def crea... | <|file_sep|>original/cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py
<|file_sep|>current/cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py
<|file_sep|>updated/cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py
from django.test import TestCase
from django.ut... | b846a96e10eaac0bb9e90086198ce1175758adb6 | cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py | cla_backend/apps/cla_eventlog/tests/test_find_and_delete_old_cases.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
# File copied from:
# http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
# Use new trusty images, should yield newer compilers and packages
sudo: required
dist: precise
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
include:
- compiler: gcc
... | packages:
- clang-3.6
env: COMPILER=clang++-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: COMPILER=clang++-3.7
before_install:
- ... | <|file_sep|>.travis.yml.diff
original:
updated:
# File copied from:
# http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
# Use new trusty images, should yield newer compilers and packages
sudo: required
dist: precise
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
include:
- compiler: gcc
... | 792cb725046908a323b6df5da1dc6a9d13fe54c0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>scripts/fix_merged_user_quickfiles.py.diff
original:
from django.db.models import F
updated:
from django.db.models import F, Count
<|file_sep|>scripts/fix_merged_user_quickfiles.py.diff
original:
qs = QuickFilesNode.objects.exclude(_contributors=F('creator'))
updated:
qs = QuickFilesNode.obj... |
def main():
dry = '--dry' in sys.argv
if not dry:
# If we're not running in dry mode log everything to a file
script_utils.add_file_logger(logger, __file__)
with transaction.atomic():
qs = QuickFilesNode.objects.exclude(_contributors=F('creator')).annotate(contrib_count=Count('_cont... | <|file_sep|>scripts/fix_merged_user_quickfiles.py.diff
original:
from django.db.models import F
updated:
from django.db.models import F, Count
<|file_sep|>scripts/fix_merged_user_quickfiles.py.diff
original:
qs = QuickFilesNode.objects.exclude(_contributors=F('creator'))
updated:
qs = QuickFilesNode.obj... | 3588f5e30e40f82fb085d01063af64b838528b6a | scripts/fix_merged_user_quickfiles.py | scripts/fix_merged_user_quickfiles.py | Python |
<|file_sep|>original/lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_using/README.md
<|file_sep|>current/lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_using/README.md
<|file_sep|>updated/lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_... | Coercion to Boolean compared to lazy evaluation counterpart
> false | :WTF?
=> true
> true & :WTF?
=> true
Even with very large object on RHS, no efficiency gained by coercion
Because of method call implementation?
Other than tricky coercion, only gain is that it is ever so slightly faster
... | <|file_sep|>original/lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_using/README.md
<|file_sep|>current/lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_using/README.md
<|file_sep|>updated/lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_... | 7136a96716adf3293665f31b0109e45bc2bd8b62 | lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_using/README.md | lib/blog_snippets/eager_logical_operators_a_ruby_pattern_to_continue_never_using/README.md | Markdown |
<|file_sep|>original/src/main/groovy/io/jetpacker/api/common/VersionComparator.groovy
package io.jetpacker.api.common
import org.apache.maven.artifact.versioning.DefaultArtifactVersion
/**
* Created by wolf on 23/11/16.
*/
class VersionComparator implements Comparator<String> {
@Override
int compare(String ... | package io.jetpacker.api.common
import org.apache.maven.artifact.versioning.DefaultArtifactVersion
/**
* Created by wolf on 23/11/16.
*/
class VersionComparator implements Comparator<String> {
@Override
int compare(String version1, String version2) {
return new DefaultArtifactVersion(version2) <=> n... | <|file_sep|>original/src/main/groovy/io/jetpacker/api/common/VersionComparator.groovy
package io.jetpacker.api.common
import org.apache.maven.artifact.versioning.DefaultArtifactVersion
/**
* Created by wolf on 23/11/16.
*/
class VersionComparator implements Comparator<String> {
@Override
int compare(String ... | 80f8b1ebbc620d5e49f8242570eacf916423f2ab | src/main/groovy/io/jetpacker/api/common/VersionComparator.groovy | src/main/groovy/io/jetpacker/api/common/VersionComparator.groovy | Groovy |
<|file_sep|>text_serializer.go.diff
original:
s.w.WriteString(e.Timestamp)
s.w.WriteRune(' ')
updated:
<|file_sep|>original/text_serializer.go
}
func (s *textSerializer) Write(e *Entry) error {
s.mu.Lock()
s.w.WriteString(e.Timestamp)
s.w.WriteRune(' ')
s.w.WriteRune('[')
s.w.WriteString(e.Level)
s.w.Write... | }
func (s *textSerializer) Write(e *Entry) error {
s.mu.Lock()
s.w.WriteRune('[')
s.w.WriteString(e.Level)
s.w.WriteRune(']')
s.w.WriteRune(' ')
s.w.WriteString(e.Timestamp)
s.w.WriteString(e.Message)
s.w.WriteRune(' ')
for k, v := range e.Data {
s.w.WriteString(k)
s.w.WriteRune('=')
s.w.WriteStrin... | <|file_sep|>text_serializer.go.diff
original:
s.w.WriteString(e.Timestamp)
s.w.WriteRune(' ')
updated:
<|file_sep|>original/text_serializer.go
}
func (s *textSerializer) Write(e *Entry) error {
s.mu.Lock()
s.w.WriteString(e.Timestamp)
s.w.WriteRune(' ')
s.w.WriteRune('[')
s.w.WriteString(e.Level)
s.w.Write... | 329221c95484d5d9e1e382a8537bfd1d959f0803 | text_serializer.go | text_serializer.go | Go |
<|file_sep|>app/views/content/form/_text_input.html.erb.diff
original:
updated:
class_name = f.object.class.name.downcase
<|file_sep|>original/app/views/content/form/_text_input.html.erb
<%
field_id = "#{f.object.class.name.downcase}_#{attribute}"
# TODO: Enable autocomplete when we can actually hide the dropdo... | <%
field_id = "#{f.object.class.name.downcase}_#{attribute}"
class_name = f.object.class.name.downcase
# TODO: Enable autocomplete when we can actually hide the dropdown if someone tabs out of a field.
# Not the easiest thing in the world to do, apparently.
%>
<div class="input-field content-field">
<... | <|file_sep|>app/views/content/form/_text_input.html.erb.diff
original:
updated:
class_name = f.object.class.name.downcase
<|file_sep|>original/app/views/content/form/_text_input.html.erb
<%
field_id = "#{f.object.class.name.downcase}_#{attribute}"
# TODO: Enable autocomplete when we can actually hide the dropdo... | 1f3e7964b7db644e68de2db11503ca2cf6b9fac1 | app/views/content/form/_text_input.html.erb | app/views/content/form/_text_input.html.erb | HTML+ERB |
<|file_sep|>original/extension/manifest.json
"128": "icons/visbug.png"
}
},
"web_accessible_resources": [
"tuts/accessibility.gif",
"tuts/align.gif",
"tuts/boxshadow.gif",
"tuts/font.gif",
"tuts/guides.gif",
"tuts/hueshift.gif",
"tuts/inspector.gif",
"tuts/margin.gif",
... | },
"browser_action": {
"default_title": "VisBug",
"default_icon": {
"128": "icons/visbug.png"
}
},
"web_accessible_resources": [
"tuts/*"
],
"commands": {
"_execute_browser_action": {
"suggested_key": {
"windows": "Alt+Shift+D",
"mac": "Alt+Shift+D",
"... | <|file_sep|>original/extension/manifest.json
"128": "icons/visbug.png"
}
},
"web_accessible_resources": [
"tuts/accessibility.gif",
"tuts/align.gif",
"tuts/boxshadow.gif",
"tuts/font.gif",
"tuts/guides.gif",
"tuts/hueshift.gif",
"tuts/inspector.gif",
"tuts/margin.gif",
... | 32d3b21537e3b1d39a2289d5c50a87e878ec003b | extension/manifest.json | extension/manifest.json | JSON |
<|file_sep|>users/templates/users/create.html.diff
original:
updated:
{% extends "admin/base_site.html" %}
{% load i18n %}{% load admin_static bootstrapped_goodies_tags %}
<|file_sep|>users/templates/users/create.html.diff
original:
updated:
{% block title%}
Add user | {{ site_title|default:_('Django site admin') }}
... | <li><a href="/admin/auth/">Authentication and Authorization</a></li>
<li><a href="/admin/auth/user/">Users</a></li>
</ul>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-xs-10 col-sm-8 col-md-6 col-lg-6 col-xs-offset-1 col-sm-offset-2 col-md-offset-3 col-lg-offset-3">
<form action="" met... | <|file_sep|>users/templates/users/create.html.diff
original:
updated:
{% extends "admin/base_site.html" %}
{% load i18n %}{% load admin_static bootstrapped_goodies_tags %}
<|file_sep|>users/templates/users/create.html.diff
original:
updated:
{% block title%}
Add user | {{ site_title|default:_('Django site admin') }}
... | 9abeff4cf37ac095b89c358e15f8b953cfc152d4 | users/templates/users/create.html | users/templates/users/create.html | HTML |
<|file_sep|>original/requirements.txt
setuptools
wheel
pip==1.5.6
junit-xml
devpi-client==2.0.1
devpi-server==2.0.3
nose>=1.0
mock
coverage
<|file_sep|>current/requirements.txt
setuptools
wheel
pip==1.5.6
junit-xml
devpi-client==2.0.1
devpi-server==2.0.3
nose>=1.0
mock
coverage
<|file_sep|>updated/requirements.txt | setuptools
wheel
pip==1.5.6
six
https://github.com/MatthiasBach/python-junit-xml/tarball/py32
devpi-client==2.0.1
devpi-server==2.0.3
nose>=1.0
mock
coverage | <|file_sep|>original/requirements.txt
setuptools
wheel
pip==1.5.6
junit-xml
devpi-client==2.0.1
devpi-server==2.0.3
nose>=1.0
mock
coverage
<|file_sep|>current/requirements.txt
setuptools
wheel
pip==1.5.6
junit-xml
devpi-client==2.0.1
devpi-server==2.0.3
nose>=1.0
mock
coverage
<|file_sep|>updated/requirements.txt
... | 2840d74ece29c2dc98cba6d7fac3a868284314e0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/build/dist/docker-compose-ngrok.yml
version: '3'
services:
ngrok:
image: fnichol/ngrok
links:
- web
network_mode: bridge
<|file_sep|>current/build/dist/docker-compose-ngrok.yml
version: '3'
services:
ngrok:
image: fnichol/ngrok
links:
- web
network_mode: bridg... | version: '3'
services:
ngrok:
image: ngrok/ngrok
links:
- web
network_mode: bridge
| <|file_sep|>original/build/dist/docker-compose-ngrok.yml
version: '3'
services:
ngrok:
image: fnichol/ngrok
links:
- web
network_mode: bridge
<|file_sep|>current/build/dist/docker-compose-ngrok.yml
version: '3'
services:
ngrok:
image: fnichol/ngrok
links:
- web
network_mode: bridg... | 93cd38734cbb25baee01a81d144759e154ef1b55 | build/dist/docker-compose-ngrok.yml | build/dist/docker-compose-ngrok.yml | YAML |
<|file_sep|>original/c_src/build_deps.sh
;;
*)
if [ x"$DEBUG" = x"1" ]; then
LIBRE2="obj/dbg/libre2.a"
else
LIBRE2="obj/libre2.a"
fi
test -f re2/$LIBRE2 && exit 0
RE2_REV=${RE2_REV:-2018-02-01}
case $(git config --get remote.origin.url) in
git@github.com*|https://... | ;;
*)
if [ x"$DEBUG" = x"1" ]; then
LIBRE2="obj/dbg/libre2.a"
else
LIBRE2="obj/libre2.a"
fi
test -f re2/$LIBRE2 && exit 0
RE2_REV=${RE2_REV:-2018-03-01}
case $(git config --get remote.origin.url) in
git@github.com*|https://github.com*|git://github.com*)
... | <|file_sep|>original/c_src/build_deps.sh
;;
*)
if [ x"$DEBUG" = x"1" ]; then
LIBRE2="obj/dbg/libre2.a"
else
LIBRE2="obj/libre2.a"
fi
test -f re2/$LIBRE2 && exit 0
RE2_REV=${RE2_REV:-2018-02-01}
case $(git config --get remote.origin.url) in
git@github.com*|https://... | 6529582bf1885a33651bddc0f1a076d75a401a76 | c_src/build_deps.sh | c_src/build_deps.sh | Shell |
<|file_sep|>original/public/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Community Pupple: The Ripple Effect</title>
</head>
<body>
<p>Hello World.</p>
</body>
</html>
<|file_sep|>current/public/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Community Ripple: The Ripple Effect</title>
</head>
<body>
<p>Hello World.</p>
</body>
</html> | <|file_sep|>original/public/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Community Pupple: The Ripple Effect</title>
</head>
<body>
<p>Hello World.</p>
</body>
</html>
<|file_sep|>current/public/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
... | 27a0dc52fa7683ae81ba9e2f3498fbf0ceeeaa1e | public/index.html | public/index.html | HTML |
<|file_sep|>original/web/locales/ff/cross-locale.ftl
<|file_sep|>current/web/locales/ff/cross-locale.ftl
<|file_sep|>updated/web/locales/ff/cross-locale.ftl | ## Languages
contribute = Addu balla maa
get-involved-button = Ar yantu e amen
get-involved-title = Addu ballal maa e { $lang }
get-involved-text = A jaaraama e katojinal maa e addude balle e { $lang }. Amina ngolla tiiɗɗe ngam heɓlude ɗemngal kala ngam mbaawa fuɗɗaade kadi jokkude humpitde guumuuji huutoraade iimeel.... | <|file_sep|>original/web/locales/ff/cross-locale.ftl
<|file_sep|>current/web/locales/ff/cross-locale.ftl
<|file_sep|>updated/web/locales/ff/cross-locale.ftl
## Languages
contribute = Addu balla maa
get-involved-button = Ar yantu e amen
get-involved-title = Addu ballal maa e { $lang }
get-involved-text = A jaaraama e... | be215d563e8c6c8c49ecdd6a4d1eb3022891aec8 | web/locales/ff/cross-locale.ftl | web/locales/ff/cross-locale.ftl | FreeMarker |
<|file_sep|>original/chat/src/main/res/layout/item_qiscus_chat_system_event.xml
<|file_sep|>current/chat/src/main/res/layout/item_qiscus_chat_system_event.xml
<|file_sep|>updated/chat/src/main/res/layout/item_qiscus_chat_system_event.xml | <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2016 Qiscus.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
... | <|file_sep|>original/chat/src/main/res/layout/item_qiscus_chat_system_event.xml
<|file_sep|>current/chat/src/main/res/layout/item_qiscus_chat_system_event.xml
<|file_sep|>updated/chat/src/main/res/layout/item_qiscus_chat_system_event.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2016 Qiscus.
~
... | aa09482755a2295a7e1da359d6b866edaf1ac030 | chat/src/main/res/layout/item_qiscus_chat_system_event.xml | chat/src/main/res/layout/item_qiscus_chat_system_event.xml | XML |
<|file_sep|>original/src/send-email.js
}
});
function sendMail(emailAddress, emailContent, cb){
const emailTemplate = fs.readFileSync(path.join(__dirname, 'templates', 'views', 'email.hbs'), 'utf8');
const template = handelbars.compile(emailTemplate);
const emailBody = template(emailContent);
const mailOpt... | }
});
function sendMail(emailAddress, emailContent, cb){
const emailTemplate = fs.readFileSync(path.join(__dirname, 'templates', 'views', 'email.hbs'), 'utf8');
const template = handelbars.compile(emailTemplate);
const emailBody = template(emailContent);
const mailOptions = {
from: '"CAMHS 😀" <welcome... | <|file_sep|>original/src/send-email.js
}
});
function sendMail(emailAddress, emailContent, cb){
const emailTemplate = fs.readFileSync(path.join(__dirname, 'templates', 'views', 'email.hbs'), 'utf8');
const template = handelbars.compile(emailTemplate);
const emailBody = template(emailContent);
const mailOpt... | 415a06e25d9be110256270295a87c9237b1d0bf6 | src/send-email.js | src/send-email.js | JavaScript |
<|file_sep|>original/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
NoMoreIdeas::Application.config.session_store :cookie_store, key: '_no-more-ideas_session'
<|file_sep|>current/config/initializers/session_store.rb
# Be sure to restart your server when you modify this... | # Be sure to restart your server when you modify this file.
NoMoreIdeas::Application.config.session_store :cookie_store, key: '_no_more_ideas_session' | <|file_sep|>original/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
NoMoreIdeas::Application.config.session_store :cookie_store, key: '_no-more-ideas_session'
<|file_sep|>current/config/initializers/session_store.rb
# Be sure to restart your server when you modify this... | 50d75304db7d2df314d88177269a309849cf7b64 | config/initializers/session_store.rb | config/initializers/session_store.rb | Ruby |
<|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
testinfra==1.9.0
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
testinfra==1.9.0
tox==2.9.1
<|file_sep|>updated/requirements.txt | docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
testinfra==1.9.1
tox==2.9.1 | <|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
testinfra==1.9.0
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.2.5
python-vagrant==0.5.15
testinfra==1.9.0
tox==2.9.1
<|file_sep|>updated/requirements.txt
docker==2.6.1
mo... | 92921d1ac6300c50c83f6564aab3e2eb24983c18 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/requirements/base.txt
Django==1.11.16
djangorestframework==3.9.1
django-filter==1.1.0
django-crispy-forms==1.7.2
dj-database-url==0.5.0
django-rest-swagger==2.2.0
django-secure==1.0.1
django-csp==3.5
django-csp-reports==1.2
whitenoise==4.1.2
django-excel==0.0.10
pyexcel==0.5.10
pyexcel-xls==0.5.8
p... | Django==1.11.16
djangorestframework==3.9.1
django-filter==1.1.0
django-crispy-forms==1.7.2
dj-database-url==0.5.0
django-rest-swagger==2.2.0
django-secure==1.0.1
django-csp==3.5
django-csp-reports==1.2
whitenoise==4.1.2
django-excel==0.0.10
pyexcel==0.5.10
pyexcel-xls==0.5.8
pyexcel-xlsx==0.5.7
pytz==2018.9
future==0.1... | <|file_sep|>original/requirements/base.txt
Django==1.11.16
djangorestframework==3.9.1
django-filter==1.1.0
django-crispy-forms==1.7.2
dj-database-url==0.5.0
django-rest-swagger==2.2.0
django-secure==1.0.1
django-csp==3.5
django-csp-reports==1.2
whitenoise==4.1.2
django-excel==0.0.10
pyexcel==0.5.10
pyexcel-xls==0.5.8
p... | b6654e90f0eb20a0012e03fb4a463af5c6ba7b14 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java
<|file_sep|>current/ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java
<|file_sep|>updated/ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java | package com.google.sps.servlets;
import com.google.gson.Gson;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... | <|file_sep|>original/ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java
<|file_sep|>current/ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java
<|file_sep|>updated/ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java
package com.google.sps.servlets;
import com.go... | d399383de20161863b17ebfee5a4c2993298e107 | ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java | ancar/portfolio/src/main/java/com/google/sps/servlets/MapServlet.java | Java |
<|file_sep|>app/views/housing_forms/index.html.erb.diff
original:
<tr>
<th>Name</th>
<th>Uri</th>
<th></th>
<th></th>
<th></th>
</tr>
updated:
<|file_sep|>app/views/housing_forms/index.html.erb.diff
original:
<td><%= housing_form.uri %></td>
<td><%= link_to 'Show', housing_form %></td>... | <p id="notice"><%= notice %></p>
<h1>Available housing forms</h1>
<table>
<% @housing_forms.each do |housing_form| %>
<tr>
<td><%= housing_form.name %></td>
<td><%= button_to 'Add to cart', line_items_path(housing_form_id: housing_form) %></td>
</tr>
<% end %>
</table>
<br /> | <|file_sep|>app/views/housing_forms/index.html.erb.diff
original:
<tr>
<th>Name</th>
<th>Uri</th>
<th></th>
<th></th>
<th></th>
</tr>
updated:
<|file_sep|>app/views/housing_forms/index.html.erb.diff
original:
<td><%= housing_form.uri %></td>
<td><%= link_to 'Show', housing_form %></td>... | 25be865532900ece3569d6c1dad23d6f3afd7330 | app/views/housing_forms/index.html.erb | app/views/housing_forms/index.html.erb | HTML+ERB |
<|file_sep|>original/spec/chef/gitlab-ee/recipes/sentinel_spec.rb
<|file_sep|>current/spec/chef/gitlab-ee/recipes/sentinel_spec.rb
<|file_sep|>updated/spec/chef/gitlab-ee/recipes/sentinel_spec.rb | require 'chef_helper'
describe 'gitlab::redis' do
let(:chef_run) { ChefSpec::SoloRunner.new(step_into: %w(redis sentinel_service account)).converge('gitlab-ee::default') }
let(:redis_master_ip) { '1.1.1.1' }
let(:redis_announce_ip) { '10.10.10.10' }
let(:redis_master_password) { 'blahblahblah' }
before do
... | <|file_sep|>original/spec/chef/gitlab-ee/recipes/sentinel_spec.rb
<|file_sep|>current/spec/chef/gitlab-ee/recipes/sentinel_spec.rb
<|file_sep|>updated/spec/chef/gitlab-ee/recipes/sentinel_spec.rb
require 'chef_helper'
describe 'gitlab::redis' do
let(:chef_run) { ChefSpec::SoloRunner.new(step_into: %w(redis sentine... | 7330b4f183933a77b045d78ea8613d2b1e6ee189 | spec/chef/gitlab-ee/recipes/sentinel_spec.rb | spec/chef/gitlab-ee/recipes/sentinel_spec.rb | Ruby |
<|file_sep|>original/app/views/campaign_pages/index.slim
h3 = t('.title')
table.table-striped.table
thead
tr
th = t('common.name')
th = t('common.featured')
th = t('common.active')
th Actions
th
tbody
- [*@campaign_pages].each do |pag... | h3 = t('.title')
table.table-striped.table
thead
tr
th = t('common.name')
th = t('common.featured')
th = t('common.active')
th Actions
th
tbody
- @campaign_pages.each do |page|
tr
td = link_to page.title, page
... | <|file_sep|>original/app/views/campaign_pages/index.slim
h3 = t('.title')
table.table-striped.table
thead
tr
th = t('common.name')
th = t('common.featured')
th = t('common.active')
th Actions
th
tbody
- [*@campaign_pages].each do |pag... | e5a42a857c4d0563cec8fe1a46caf279095a4503 | app/views/campaign_pages/index.slim | app/views/campaign_pages/index.slim | Slim |
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=0.9.2,<0.10
coverage>=3.6
discover
fixtures>=0.3.14
mock... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=0.10.0,<0.11
coverage>=3.6
discover
fixtures>=0.3.14
mock>=1.0
python-subunit>=0.0.18
requests-mock... | <|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=0.9.2,<0.10
coverage>=3.6
discover
fixtures>=0.3.14
mock... | f2e3ff62cb3fbb3b68deb0288b32ab82e8750bdf | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>src/DataEnricher/Processor/JmesPath.php.diff
original:
use JmesPath\search as jmespath_search;
updated:
use function JmesPath\search as jmespath_search;
use JmesPath\Utils;
<|file_sep|>src/DataEnricher/Processor/JmesPath.php.diff
original:
updated:
static::objectivy($result);
<|file_sep|>o... | public function applyToNode(Node $node)
{
$path = $node->getInstruction($this);
$input = $node->getResult();
$result = jmespath_search($path, $input);
static::objectivy($result);
$node->setResult($result);
}
/**
* Cast associated arrays... | <|file_sep|>src/DataEnricher/Processor/JmesPath.php.diff
original:
use JmesPath\search as jmespath_search;
updated:
use function JmesPath\search as jmespath_search;
use JmesPath\Utils;
<|file_sep|>src/DataEnricher/Processor/JmesPath.php.diff
original:
updated:
static::objectivy($result);
<|file_sep|>o... | b192a7299d026aaf82f9f00dacbf7f7eee476774 | src/DataEnricher/Processor/JmesPath.php | src/DataEnricher/Processor/JmesPath.php | PHP |
<|file_sep|>original/tests/install_tests.py
logging.Handler.__init__(self, *args, **kwargs)
def emit(self, record):
self.messages[record.levelname.lower()].append(record.getMessage())
def reset(self):
self.messages = {
'debug': [],
'info': [],
'warni... | logging.Handler.__init__(self, *args, **kwargs)
def emit(self, record):
self.messages[record.levelname.lower()].append(record.getMessage())
def reset(self):
self.messages = {
'debug': [],
'info': [],
'warning': [],
'error': [],
... | <|file_sep|>original/tests/install_tests.py
logging.Handler.__init__(self, *args, **kwargs)
def emit(self, record):
self.messages[record.levelname.lower()].append(record.getMessage())
def reset(self):
self.messages = {
'debug': [],
'info': [],
'warni... | 9a8d552b9424c11d6a58fcf38abea6bc2d55b1f0 | tests/install_tests.py | tests/install_tests.py | Python |
<|file_sep|>original/rust/strprintf/Cargo.toml
[package]
name = "strprintf"
version = "0.1.0"
authors = ["Alexander Batischev <eual.jp@gmail.com>"]
[dependencies]
libc = "0.2"
<|file_sep|>current/rust/strprintf/Cargo.toml
[package]
name = "strprintf"
version = "0.1.0"
authors = ["Alexander Batischev <eual.jp@gmail.com... | [package]
name = "strprintf"
version = "0.1.0"
authors = ["Alexander Batischev <eual.jp@gmail.com>"]
edition = "2018"
[dependencies]
libc = "0.2" | <|file_sep|>original/rust/strprintf/Cargo.toml
[package]
name = "strprintf"
version = "0.1.0"
authors = ["Alexander Batischev <eual.jp@gmail.com>"]
[dependencies]
libc = "0.2"
<|file_sep|>current/rust/strprintf/Cargo.toml
[package]
name = "strprintf"
version = "0.1.0"
authors = ["Alexander Batischev <eual.jp@gmail.com... | 1bbae2661c52b1da13f1891a360047bde5f8b231 | rust/strprintf/Cargo.toml | rust/strprintf/Cargo.toml | TOML |
<|file_sep|>wcfsetup/install/files/lib/system/worker/RegisteredWorker.class.php.diff
original:
return WCF::getLanguage()->get(\sprintf(
updated:
return WCF::getLanguage()->getDynamicVariable(\sprintf(
<|file_sep|>original/wcfsetup/install/files/lib/system/worker/RegisteredWorker.class.php
public fun... | public function getName(): string
{
return WCF::getLanguage()->getDynamicVariable(\sprintf(
'wcf.acp.rebuildData.%s',
$this->getIdentifier(),
));
}
public function getDescription(): string
{
return WCF::getLanguage()->getDynamicVariable(\sprintf(
... | <|file_sep|>wcfsetup/install/files/lib/system/worker/RegisteredWorker.class.php.diff
original:
return WCF::getLanguage()->get(\sprintf(
updated:
return WCF::getLanguage()->getDynamicVariable(\sprintf(
<|file_sep|>original/wcfsetup/install/files/lib/system/worker/RegisteredWorker.class.php
public fun... | 79e60dd5d296fcdbe6308d995c32cd4e5d6e95b3 | wcfsetup/install/files/lib/system/worker/RegisteredWorker.class.php | wcfsetup/install/files/lib/system/worker/RegisteredWorker.class.php | PHP |
<|file_sep|>original/playbooks/edx-west/prod-app.yml
- "{{ secure_dir }}/vars/edxapp_{{ env }}_vars.yml"
- "{{ secure_dir }}/vars/edxapp_{{ env }}_users.yml"
- "{{ secure_dir }}/vars/shib_lagunita_vars.yml"
roles:
- common
- supervisor
- role: user
tags: users
- role: nginx
ngi... | - "{{ secure_dir }}/vars/edxapp_{{ env }}_vars.yml"
- "{{ secure_dir }}/vars/edxapp_{{ env }}_users.yml"
- "{{ secure_dir }}/vars/shib_lagunita_vars.yml"
roles:
- common
- supervisor
- role: user
tags: users
- role: nginx
nginx_sites:
- lms
- cms
- verif... | <|file_sep|>original/playbooks/edx-west/prod-app.yml
- "{{ secure_dir }}/vars/edxapp_{{ env }}_vars.yml"
- "{{ secure_dir }}/vars/edxapp_{{ env }}_users.yml"
- "{{ secure_dir }}/vars/shib_lagunita_vars.yml"
roles:
- common
- supervisor
- role: user
tags: users
- role: nginx
ngi... | bf040863448d4530653f045c0a12bbc83c1876bf | playbooks/edx-west/prod-app.yml | playbooks/edx-west/prod-app.yml | YAML |
<|file_sep|>original/requirements.txt
Flask==1.0
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
Werkzeug==0.15.3
<|file_sep|>current/requirements.txt
Flask==1.0
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
Werkzeug==0.15.3
<|file_sep|>updated/requirements.txt | Flask==1.0
itsdangerous==0.24
Jinja2==2.11.3
MarkupSafe==0.23
Werkzeug==0.15.3 | <|file_sep|>original/requirements.txt
Flask==1.0
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
Werkzeug==0.15.3
<|file_sep|>current/requirements.txt
Flask==1.0
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
Werkzeug==0.15.3
<|file_sep|>updated/requirements.txt
Flask==1.0
itsdangerous==0.24
Jinja2==2.11.3
MarkupSafe=... | 22f0557ed8cfed5e5d2980adf31ede0edc2bf14c | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/src/main/res/values-large/dimens.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="small_text_size">25sp</dimen>
<dimen name="medium_text_size">35sp</dimen>
<dimen name="large_text_size">45sp</dimen>
</resources>
<|file_sep|>current/app/src/main/res/values-large/... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="small_text_size">25sp</dimen>
<dimen name="medium_text_size">35sp</dimen>
<dimen name="large_text_size">40sp</dimen>
</resources> | <|file_sep|>original/app/src/main/res/values-large/dimens.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="small_text_size">25sp</dimen>
<dimen name="medium_text_size">35sp</dimen>
<dimen name="large_text_size">45sp</dimen>
</resources>
<|file_sep|>current/app/src/main/res/values-large/... | 04bc8884cecd4c6acb49b498b5e55aa29d293a52 | app/src/main/res/values-large/dimens.xml | app/src/main/res/values-large/dimens.xml | XML |
<|file_sep|>original/docs/developers/twig/action_extension.md
<|file_sep|>current/docs/developers/twig/action_extension.md
<|file_sep|>updated/docs/developers/twig/action_extension.md | # Action Twig Extension
Action extension's purpose is to let developers display a set of action buttons without a hassle.
## Usage
### Button Templates
Action extension has a set of button templates available and that makes easy to place some of the common action buttons to your Twigs. Those templates are:
* back
*... | <|file_sep|>original/docs/developers/twig/action_extension.md
<|file_sep|>current/docs/developers/twig/action_extension.md
<|file_sep|>updated/docs/developers/twig/action_extension.md
# Action Twig Extension
Action extension's purpose is to let developers display a set of action buttons without a hassle.
## Usage
... | c627eb87f76d1686e449b0673cd6bd9840e87b7e | docs/developers/twig/action_extension.md | docs/developers/twig/action_extension.md | Markdown |
<|file_sep|>README.md.diff
original:
Mobihelp SDK lets you provide in-app support to your mobile app customers.
updated:
Mobihelp SDK lets you provide in-app support to your mobile app users.
<|file_sep|>original/README.md
Mobihelp for Android
=========
Mobihelp SDK lets you provide in-app support to your mobile app ... | Mobihelp for Android
=========
Mobihelp SDK lets you provide in-app support to your mobile app users.
- Customers can view and search solutions in your knowledge base.
- Customers can start a conversation/submit a ticket easily from within your App.
- App and Device Information, Debug logs, Custom Data and Brea... | <|file_sep|>README.md.diff
original:
Mobihelp SDK lets you provide in-app support to your mobile app customers.
updated:
Mobihelp SDK lets you provide in-app support to your mobile app users.
<|file_sep|>original/README.md
Mobihelp for Android
=========
Mobihelp SDK lets you provide in-app support to your mobile app ... | 73c78ec89b350e7585730ef1eb28f423990b233e | README.md | README.md | Markdown |
<|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.21.4
pyyaml>=4.2b1
pandas==1.3.4
scipy==1.7.3
astropy==5.0
matplotlib==3.4.3
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.21.4
pyyaml>=4.2b1
pandas==1.3.4
scipy==1.7.3
astropy==5.0
matplotlib==3.4.3
tables==3.6.1
<|file_sep|>u... | numpy==1.21.4
pyyaml>=4.2b1
pandas==1.3.4
scipy==1.7.3
astropy==5.0
matplotlib==3.5.0
tables==3.6.1 | <|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.21.4
pyyaml>=4.2b1
pandas==1.3.4
scipy==1.7.3
astropy==5.0
matplotlib==3.4.3
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.21.4
pyyaml>=4.2b1
pandas==1.3.4
scipy==1.7.3
astropy==5.0
matplotlib==3.4.3
tables==3.6.1
<|file_sep|>u... | aac825c24315e2b9df2cf22be33199c6b6fbca70 | sweetercat/data/requirements.txt | sweetercat/data/requirements.txt | Text |
<|file_sep|>src/test/test_projects/flutter_hello_world/lib/broken.dart.diff
original:
updated:
import 'dart:async';
<|file_sep|>src/test/test_projects/flutter_hello_world/lib/broken.dart.diff
original:
class MyBrokenApp extends StatelessWidget {
updated:
class MyBrokenApp extends StatefulWidget {
@override
_MyBro... | @override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(primarySwatch: Colors.blue),
home: shouldBeBroken ? MyBrokenHomePage() : MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
MyHomePage({Key key}) : super(key: key);
... | <|file_sep|>src/test/test_projects/flutter_hello_world/lib/broken.dart.diff
original:
updated:
import 'dart:async';
<|file_sep|>src/test/test_projects/flutter_hello_world/lib/broken.dart.diff
original:
class MyBrokenApp extends StatelessWidget {
updated:
class MyBrokenApp extends StatefulWidget {
@override
_MyBro... | d7771e0b87c16812cc401648ff13043d881f6896 | src/test/test_projects/flutter_hello_world/lib/broken.dart | src/test/test_projects/flutter_hello_world/lib/broken.dart | Dart |
<|file_sep|>original/.travis.yml
branches:
only:
- master
language: python
python:
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
addons:
postgresql: "9.3"
services:
- mysql
before_script:
- pip install aiomysql aiopg
- psql -c 'create database test... | branches:
only:
- master
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "nightly" # currently points to 3.7-dev
addons:
postgresql: "9.3"
services:
- mysql
before_script:
- pip install aiomysql aiopg
- psql -c 'create database test;' -U postgres
- psql test -c 'CREATE EXTENSION IF NOT EXIST... | <|file_sep|>original/.travis.yml
branches:
only:
- master
language: python
python:
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
addons:
postgresql: "9.3"
services:
- mysql
before_script:
- pip install aiomysql aiopg
- psql -c 'create database test... | 67ea7cf6669a4a1b8f97104c5cbd7674922d63d6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/AFMobilePayRequestHandler.podspec
Pod::Spec.new do |s|
s.name = 'AFMobilePayRequestHandler'
s.version = '1.0.2'
s.summary = 'Send and request money via Danske Banks MobilePay app.'
s.homepage = 'https://github.com/Fogh/AFMobilePayRequestHandler'
s.license ... | Pod::Spec.new do |s|
s.name = 'AFMobilePayRequestHandler'
s.version = '1.0.2'
s.summary = 'Send and request money via Danske Banks MobilePay app.'
s.homepage = 'https://github.com/Fogh/AFMobilePayRequestHandler'
s.license = 'MIT'
s.author = { 'Anders Fogh Eriksen' => ... | <|file_sep|>original/AFMobilePayRequestHandler.podspec
Pod::Spec.new do |s|
s.name = 'AFMobilePayRequestHandler'
s.version = '1.0.2'
s.summary = 'Send and request money via Danske Banks MobilePay app.'
s.homepage = 'https://github.com/Fogh/AFMobilePayRequestHandler'
s.license ... | b8aaa24571dcbe133acd0be0761d60ad9dc6cf3c | AFMobilePayRequestHandler.podspec | AFMobilePayRequestHandler.podspec | Ruby |
<|file_sep|>original/ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java
<|file_sep|>current/ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java
<|file_sep|>updated/ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java | package com.ushahidi.android.data.entity;
import com.ushahidi.android.BuildConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricGradleTestRunner;
import org.robolectric.annotation.Config;
import static com.google.common.truth.Truth.assertThat;
/**
* @author Ushahidi Tea... | <|file_sep|>original/ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java
<|file_sep|>current/ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java
<|file_sep|>updated/ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java
package com.ushahidi.android.... | c22f914b1915d1a3aa03d492bff095811587403f | ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java | ushahidi/src/test/java/com/ushahidi/android/data/entity/FormEntityTest.java | Java |
<|file_sep|>original/src/Features/Core/Portable/Shared/Options/ServiceComponentOnOffOptions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.Code... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Shared.Options
{
/// <summary>
/// options to indicate whether a certain compo... | <|file_sep|>original/src/Features/Core/Portable/Shared/Options/ServiceComponentOnOffOptions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.Code... | fb6d55b00fc58f87d28b6c464d2afc7facb167cc | src/Features/Core/Portable/Shared/Options/ServiceComponentOnOffOptions.cs | src/Features/Core/Portable/Shared/Options/ServiceComponentOnOffOptions.cs | C# |
<|file_sep|>original/src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php
<|file_sep|>current/src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php
<|file_sep|>updated/src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php | <?php
namespace Frontend\Modules\Blog\Tests\Action;
use Common\WebTestCase;
class ArchiveTest extends WebTestCase
{
public function testArchiveContainsBlogPosts()
{
$client = static::createClient();
$this->loadFixtures(
$client,
array(
'Backend\Modules... | <|file_sep|>original/src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php
<|file_sep|>current/src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php
<|file_sep|>updated/src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php
<?php
namespace Frontend\Modules\Blog\Tests\Action;
use Common\WebTestCase;
class Archive... | 1b1e2027baa5dc10cb108c80a4608374915ceb77 | src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php | src/Frontend/Modules/Blog/Tests/Action/ArchiveTest.php | PHP |
<|file_sep|>package.json.diff
original:
"build": "browserify -r ./index.js:solid.js > dist/solid.js"
updated:
"build": "browserify -r ./index.js:solid.js -d -p [minifyify --map dist/solid.js.map.json --output dist/solid.js.map.json] > dist/solid.min.js"
<|file_sep|>original/package.json
"linked",
"data"... | "data"
],
"author": "Andrei Sambra <andrei@fcns.eu>",
"license": "MIT",
"bugs": {
"url": "https://github.com/solid/solid.js/issues"
},
"homepage": "https://github.com/solid/solid.js",
"dependencies": {
"rdflib": "^0.2.10",
"xhr2": "*"
},
"devDependencies": {
"browserify": "*",
... | <|file_sep|>package.json.diff
original:
"build": "browserify -r ./index.js:solid.js > dist/solid.js"
updated:
"build": "browserify -r ./index.js:solid.js -d -p [minifyify --map dist/solid.js.map.json --output dist/solid.js.map.json] > dist/solid.min.js"
<|file_sep|>original/package.json
"linked",
"data"... | a5fb3b08224b414defccf4fe16d7e45ed6e51397 | package.json | package.json | JSON |
<|file_sep|>original/SeriesGuide/src/main/res/layout/item_discover_header.xml
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/textViewGridHeader"
android:layout_width="wrap_content"
... | <?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/textViewGridHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/inlin... | <|file_sep|>original/SeriesGuide/src/main/res/layout/item_discover_header.xml
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/textViewGridHeader"
android:layout_width="wrap_content"
... | c18037a1e0590e146eb68143440ca53f33674f4c | SeriesGuide/src/main/res/layout/item_discover_header.xml | SeriesGuide/src/main/res/layout/item_discover_header.xml | XML |
<|file_sep|>README.rst.diff
original:
```python
INSTALLED_APPS = (
# ...
'permission',
)
```
updated:
.. code:: python
INSTALLED_APPS = (
# ...
'permission',
)
<|file_sep|>README.rst.diff
original:
```python
AUTHENTICATION_BACKENDS = (... | Configuration
~~~~~~~~~~~~~
1. Put ``permission`` into your ``INSTALLED_APPS`` at settings
module
.. code:: python
INSTALLED_APPS = (
# ...
'permission',
)
2. Add extra authorization backend
.. code:: python
AUTHENTICATION_BACKENDS = (
'djan... | <|file_sep|>README.rst.diff
original:
```python
INSTALLED_APPS = (
# ...
'permission',
)
```
updated:
.. code:: python
INSTALLED_APPS = (
# ...
'permission',
)
<|file_sep|>README.rst.diff
original:
```python
AUTHENTICATION_BACKENDS = (... | 501364340f3430e9ab77b60f0ee0c51223d80762 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/.github/ISSUE_TEMPLATE/scraper_bug_report.md
---
name: Scraper bug report
about: Report a scraper that is not working correctly
title: ''
labels: bug
assignees: ''
---
Thanks for filing a bug report with us! To help get the issue fixed, please fill in the information below.
**The URL of the rec... | ---
name: Scraper bug report
about: Report a scraper that is not working correctly
title: ''
labels: bug
assignees: ''
---
Thanks for filing a bug report with us!
If your request is about a website that is not supported, please open a 'new scraper' issue request instead.
To help get the issue fixed, please fill in ... | <|file_sep|>original/.github/ISSUE_TEMPLATE/scraper_bug_report.md
---
name: Scraper bug report
about: Report a scraper that is not working correctly
title: ''
labels: bug
assignees: ''
---
Thanks for filing a bug report with us! To help get the issue fixed, please fill in the information below.
**The URL of the rec... | 042087160b54c6fd1ec66e3f7c9d13c74ecd6c52 | .github/ISSUE_TEMPLATE/scraper_bug_report.md | .github/ISSUE_TEMPLATE/scraper_bug_report.md | Markdown |
<|file_sep|>composer.json.diff
original:
"symfony/symfony": ">=2.1,<=2.2.*-dev",
updated:
"symfony/symfony": "2.3.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
<|file_sep|>original/composer.json
{
"name": "James Moey",
"email": "james.moey@tradingpursuits.com"
}... | {
"name": "James Moey",
"email": "james.moey@tradingpursuits.com"
}
],
"require": {
"php": ">=5.3.2",
"symfony/symfony": "2.3.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"jms/serializer-bundle": "0.12.*@dev",
"jms/di-extra-bundle": "1.3... | <|file_sep|>composer.json.diff
original:
"symfony/symfony": ">=2.1,<=2.2.*-dev",
updated:
"symfony/symfony": "2.3.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
<|file_sep|>original/composer.json
{
"name": "James Moey",
"email": "james.moey@tradingpursuits.com"
}... | 1e78e00c16a552fd32b87e213a31697d6cc3b2c4 | composer.json | composer.json | JSON |
<|file_sep|>setup.py.diff
original:
version='0.0.1',
updated:
version='0.1.1',
<|file_sep|>original/setup.py
# -*- coding: utf-8 -*-
# HACK for `nose.collector` to work on python 2.7.3 and earlier
import multiprocessing
from setuptools import setup, find_packages
setup(name='quantized-mesh-tile',
ve... | # -*- coding: utf-8 -*-
# HACK for `nose.collector` to work on python 2.7.3 and earlier
import multiprocessing
from setuptools import setup, find_packages
setup(name='quantized-mesh-tile',
version='0.1.1',
description='Quantized-Mesh format reader and writer',
author='Loicc Gaer',
author_email... | <|file_sep|>setup.py.diff
original:
version='0.0.1',
updated:
version='0.1.1',
<|file_sep|>original/setup.py
# -*- coding: utf-8 -*-
# HACK for `nose.collector` to work on python 2.7.3 and earlier
import multiprocessing
from setuptools import setup, find_packages
setup(name='quantized-mesh-tile',
ve... | df66df626012bab0cf6a5887e7f11ca64ca9d02c | setup.py | setup.py | Python |
<|file_sep|>original/lib/pairs_one_web/controllers/healthcheck_controller.ex
defmodule PairsOneWeb.HealthcheckController do
use PairsOneWeb.Web, :controller
def index(conn, _params) do
json(conn, %{
port: System.get_env("PORT"),
release_sha: Application.get_env(:pairs_one, :release_sha)
})
en... | defmodule PairsOneWeb.HealthcheckController do
use PairsOneWeb.Web, :controller
def index(conn, _params) do
:ok = Exredis.Api.set(:redis, "foo", "bar")
json(conn, %{
port: System.get_env("PORT"),
release_sha: Application.get_env(:pairs_one, :release_sha)
})
end
def crash(_conn, _param... | <|file_sep|>original/lib/pairs_one_web/controllers/healthcheck_controller.ex
defmodule PairsOneWeb.HealthcheckController do
use PairsOneWeb.Web, :controller
def index(conn, _params) do
json(conn, %{
port: System.get_env("PORT"),
release_sha: Application.get_env(:pairs_one, :release_sha)
})
en... | bcd539c24c732502ebeac718dc9c68850b97e736 | lib/pairs_one_web/controllers/healthcheck_controller.ex | lib/pairs_one_web/controllers/healthcheck_controller.ex | Elixir |
<|file_sep|>original/client/forum/section/section.styl
margin-top 10px
text-align center
// display subsections only if first page is visible
.forum-section-root .forum-sections
display none
.forum-section-root__m-first-page .forum-sections
display block
// disable pager if we have prefetch
.js .forum-sectio... |
.forum-section-root__m-first-page .forum-sections
display block
// disable pager if we have prefetch
.js .forum-section__page-links
display none
// TODO: move to separate block when menu complete
.forum-section__tracking
margin-top baseLineHeight
shortable()
.forum-section__tracking-btn
margin-right .5em
... | <|file_sep|>original/client/forum/section/section.styl
margin-top 10px
text-align center
// display subsections only if first page is visible
.forum-section-root .forum-sections
display none
.forum-section-root__m-first-page .forum-sections
display block
// disable pager if we have prefetch
.js .forum-sectio... | cd2dfc8abef1c2374a542d9bf2ad837d564dfb3d | client/forum/section/section.styl | client/forum/section/section.styl | Stylus |
<|file_sep|>lib/fullslate/client.rb.diff
original:
@emails = params["emails"].each do |email_obj|
updated:
@emails = params["emails"].map do |email_obj|
<|file_sep|>original/lib/fullslate/client.rb
if params["emails"]
@emails = params["emails"].each do |email_obj|
email_obj["add... |
if params["emails"]
@emails = params["emails"].map do |email_obj|
email_obj["address"]
end
else
@emails = Array.new
end
if params["phone_numbers"]
@phone_numbers = params["phone_numbers"].map do |phone_number_obj|
phone_number_obj["phone_numb... | <|file_sep|>lib/fullslate/client.rb.diff
original:
@emails = params["emails"].each do |email_obj|
updated:
@emails = params["emails"].map do |email_obj|
<|file_sep|>original/lib/fullslate/client.rb
if params["emails"]
@emails = params["emails"].each do |email_obj|
email_obj["add... | ae22ecec6e8cbd52b28c092a3e087ae37bf50665 | lib/fullslate/client.rb | lib/fullslate/client.rb | Ruby |
<|file_sep|>original/composer.json
"psr-4": {
"Thumper\\Test\\": "tests"
}
},
"require": {
"php": "^5.3.3|^7.0",
"php-amqplib/php-amqplib": "^2.6"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"scrutinizer/ocular": "^1.3",
"squizlabs/p... | "psr-4": {
"Thumper\\Test\\": "tests"
}
},
"require": {
"php": "^5.3.3|^7.0",
"php-amqplib/php-amqplib": "^2.6"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"scrutinizer/ocular": "^1.2",
"squizlabs/php_codesniffer": "^2.6"
},
... | <|file_sep|>original/composer.json
"psr-4": {
"Thumper\\Test\\": "tests"
}
},
"require": {
"php": "^5.3.3|^7.0",
"php-amqplib/php-amqplib": "^2.6"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"scrutinizer/ocular": "^1.3",
"squizlabs/p... | 23083491daaf5011f834c3a7c989b7c4f9edd73e | composer.json | composer.json | JSON |
<|file_sep|>original/_posts/2015-01-28-roll-call.md
---
title: 'Wednesday Standup Roll Call: 1/28/15'
author: Jesse Rosato
layout: post
permalink: /roll-call-01-28-2015/
main_image:
-
categories:
- roll call
tags:
- Roll Call
- Wednesday Standups
---
#Roll Call!
Wednesday Standups are our weekly standup meeting... | ---
title: 'Wednesday Standup Roll Call: 1/28/15'
author: Jesse Rosato
layout: post
permalink: /roll-call-01-28-2015/
main_image:
-
categories:
- roll call
tags:
- Roll Call
- Wednesday Standups
---
#Roll Call!
Wednesday Standups are our weekly standup meeting, where we meet up to hear from a great speaker, and... | <|file_sep|>original/_posts/2015-01-28-roll-call.md
---
title: 'Wednesday Standup Roll Call: 1/28/15'
author: Jesse Rosato
layout: post
permalink: /roll-call-01-28-2015/
main_image:
-
categories:
- roll call
tags:
- Roll Call
- Wednesday Standups
---
#Roll Call!
Wednesday Standups are our weekly standup meeting... | 9fdcdc7a511add07a459bd37bb26e2ed718edca3 | _posts/2015-01-28-roll-call.md | _posts/2015-01-28-roll-call.md | Markdown |
<|file_sep|>samples/example1.js.diff
original:
updated:
/* global, GF */
/**
* Conceptual sample of how to use Genev
*/
<|file_sep|>samples/example1.js.diff
original:
var chromosomeStructre = {
updated:
var chromosome = { // all of these will hold double values from 0 to 1
<|file_sep|>samples/example1.js.diff
ori... |
// Sample GENE_STRUCTURE
var chromosome = { // all of these will hold double values from 0 to 1
weight1: 0,
weight2: 0,
weight3: 0,
weight4: 0,
weight5: 0
};
// Sample fitness function
var fitfunc = function (chromo) { // must take a chromosome
var score = Math.random();
return score;
};
// Initializing the n... | <|file_sep|>samples/example1.js.diff
original:
updated:
/* global, GF */
/**
* Conceptual sample of how to use Genev
*/
<|file_sep|>samples/example1.js.diff
original:
var chromosomeStructre = {
updated:
var chromosome = { // all of these will hold double values from 0 to 1
<|file_sep|>samples/example1.js.diff
ori... | d8e341ab3f03af72453f205012522793e176c04a | samples/example1.js | samples/example1.js | JavaScript |
<|file_sep|>code/type_null_true_false.rb.diff
original:
def if_value(values)
puts '"if value":'
values.each { |k, v| puts "#{k} - #{v ? 'true' : 'false'}" }
updated:
def check(label, fn, values)
puts label
values.each do |value|
begin
result = fn.call(value) ? 'true' : 'false'
rescue => e
re... | def check(label, fn, values)
puts label
values.each do |value|
begin
result = fn.call(value) ? 'true' : 'false'
rescue => e
result = "error: #{e}"
end
printf(" %-9p - %s\n", value, result)
end
puts ''
end
values = ['string', '', [1, 2, 3], [], 5, 0, true, false, nil]
check('if val... | <|file_sep|>code/type_null_true_false.rb.diff
original:
def if_value(values)
puts '"if value":'
values.each { |k, v| puts "#{k} - #{v ? 'true' : 'false'}" }
updated:
def check(label, fn, values)
puts label
values.each do |value|
begin
result = fn.call(value) ? 'true' : 'false'
rescue => e
re... | 437444d8572d6713f1b3036c9dc69641b452351f | code/type_null_true_false.rb | code/type_null_true_false.rb | Ruby |
<|file_sep|>app/views/rate_categories/_form.html.haml.diff
original:
= f.input :name
updated:
= show_attribute('rate_category.name', @rate_category.name)
<|file_sep|>original/app/views/rate_categories/_form.html.haml
.box-content
= simple_form_for @rate_category, html: { class: "basic home" } do |f|
= f.e... | .box-content
= simple_form_for @rate_category, html: { class: "basic home" } do |f|
= f.error_notification class: "warning"
%h2.group-title Schablon
= show_attribute('rate_category.name', @rate_category.name)
= show_attribute('rate_category.description', @rate_category.description)
= show_attribu... | <|file_sep|>app/views/rate_categories/_form.html.haml.diff
original:
= f.input :name
updated:
= show_attribute('rate_category.name', @rate_category.name)
<|file_sep|>original/app/views/rate_categories/_form.html.haml
.box-content
= simple_form_for @rate_category, html: { class: "basic home" } do |f|
= f.e... | 79429836295981dcc65ef1c8421db12d37f76e0b | app/views/rate_categories/_form.html.haml | app/views/rate_categories/_form.html.haml | Haml |
<|file_sep|>original/gulpfile.js
return gulp.src(paths.assetsScss + '**/*.scss')
.pipe(sass({
includePaths: [
'node_modules/govuk_frontend_toolkit/stylesheets'
]
}).on('error', sass.logError))
.pipe(gulp.dest(paths.publicCss))
.pipe(rename({ suffix: '.min' }))
.pipe(cssnano())
... | .pipe(rename({ suffix: '.min' }))
.pipe(cssnano())
.pipe(gulp.dest(paths.publicCss))
})
// Images build task ---------------------
// Copies images to /public/images
// ---------------------------------------
gulp.task('images', () => {
return gulp.src(paths.assetsImg + '**/*')
.pipe(gulp.dest(paths... | <|file_sep|>original/gulpfile.js
return gulp.src(paths.assetsScss + '**/*.scss')
.pipe(sass({
includePaths: [
'node_modules/govuk_frontend_toolkit/stylesheets'
]
}).on('error', sass.logError))
.pipe(gulp.dest(paths.publicCss))
.pipe(rename({ suffix: '.min' }))
.pipe(cssnano())
... | 6d0df03ae599e6bae9d9b914c35fdbba7267b86d | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>original/docker/heat/heat-api/extend_start.sh
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
heat-manage db_sync
CURRENT_HEAT_DOMAIN_NAME=$(openstack do... | #!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
heat-manage db_sync
CURRENT_HEAT_DOMAIN_NAME=$(openstack domain list | grep heat | awk '{print $4}')
if [[ "heat... | <|file_sep|>original/docker/heat/heat-api/extend_start.sh
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
heat-manage db_sync
CURRENT_HEAT_DOMAIN_NAME=$(openstack do... | a66678b138c11b11c892805abd10abc47b127181 | docker/heat/heat-api/extend_start.sh | docker/heat/heat-api/extend_start.sh | Shell |
<|file_sep|>original/noweats/__init__.py
"""
The NowEats application scrapes Twitter for what people are eating now.
"""
<|file_sep|>current/noweats/__init__.py
"""
The NowEats application scrapes Twitter for what people are eating now.
"""
<|file_sep|>updated/noweats/__init__.py | """
The NowEats application scrapes Twitter for what people are eating now.
"""
import analysis
import collection
import extraction | <|file_sep|>original/noweats/__init__.py
"""
The NowEats application scrapes Twitter for what people are eating now.
"""
<|file_sep|>current/noweats/__init__.py
"""
The NowEats application scrapes Twitter for what people are eating now.
"""
<|file_sep|>updated/noweats/__init__.py
"""
The NowEats application scrapes Twi... | d6fcedb2b479da20cbe061bcba52758a18a6ed0b | noweats/__init__.py | noweats/__init__.py | Python |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
- tip
sudo: false
<|file_sep|>current/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
- tip
sudo: false
<|file_sep|>updated/.travis.yml | language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
# - tip
sudo: false | <|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
- tip
sudo: false
<|file_sep|>current/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
- tip
sudo: false
<|file_sep|>updated/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
# - tip
sudo: false | 9a7a6db5f52577252296aa555176448838c5dcb3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>gulpfile.coffee.diff
original:
gulp.src(["./Resources/**/*.js"])
updated:
gulp.src("./Resources/**/*.js")
<|file_sep|>gulpfile.coffee.diff
original:
updated:
gulp.task "resources", ->
gulp.src(["./Resources/**/*", "!./Resources/**/*.js", "!./Resources/**/*.coffee"])
.pipe(gulp.dest(resourceDir))
... | .pipe(gulp.dest(resourceDir))
gulp.task "resources", ->
gulp.src(["./Resources/**/*", "!./Resources/**/*.js", "!./Resources/**/*.coffee"])
.pipe(gulp.dest(resourceDir))
gulp.task "tiapp", ->
gulp.src("./tiapp.xml")
.pipe(gulp.dest(prefix))
gulp.task "precompile", ["js", "coffee", "resources", "tiapp"... | <|file_sep|>gulpfile.coffee.diff
original:
gulp.src(["./Resources/**/*.js"])
updated:
gulp.src("./Resources/**/*.js")
<|file_sep|>gulpfile.coffee.diff
original:
updated:
gulp.task "resources", ->
gulp.src(["./Resources/**/*", "!./Resources/**/*.js", "!./Resources/**/*.coffee"])
.pipe(gulp.dest(resourceDir))
... | b77172ce1d635472811d26391129bc4859a52f5d | gulpfile.coffee | gulpfile.coffee | CoffeeScript |
<|file_sep|>src/picturepark-sdk-v1-angular/projects/picturepark-sdk-v1-angular-ui/src/lib/features-module/language-switch/language-switch.component.ts.diff
original:
updated:
import { TranslatePipe } from '../../shared-module/pipes/translate.pipe';
<|file_sep|>src/picturepark-sdk-v1-angular/projects/picturepark-sdk-v1... | templateUrl: './language-switch.component.html',
styleUrls: ['./language-switch.component.scss'],
})
export class LanguageSwitchComponent {
languages: Language[];
get selectedLanguageCode(): string {
return this.languageService.currentLanguage.ietf;
}
constructor(private languageService: LanguageServi... | <|file_sep|>src/picturepark-sdk-v1-angular/projects/picturepark-sdk-v1-angular-ui/src/lib/features-module/language-switch/language-switch.component.ts.diff
original:
updated:
import { TranslatePipe } from '../../shared-module/pipes/translate.pipe';
<|file_sep|>src/picturepark-sdk-v1-angular/projects/picturepark-sdk-v1... | f5952435dd00a9906995b7426b2664f8c3da3729 | src/picturepark-sdk-v1-angular/projects/picturepark-sdk-v1-angular-ui/src/lib/features-module/language-switch/language-switch.component.ts | src/picturepark-sdk-v1-angular/projects/picturepark-sdk-v1-angular-ui/src/lib/features-module/language-switch/language-switch.component.ts | TypeScript |
<|file_sep|>README.md.diff
original:
To build the compiler, you need to install the [eddi-commons](http://github.com/wichtounet/eddi-commons/) library.
Then, you juste have to use cmake to build the compiler :
updated:
You juste have to use cmake to build the compiler :
<|file_sep|>original/README.md
Then, you just... | $ git clone git://github.com/wichtounet/eddic.git
$ cd eddic
$ cmake .
$ make
## Usage ##
You can compile an EDDI source file using the compiler easily. For example, with one of the provided sample :
$ cd eddic
$ ./bin/eddic samples/simple.eddi
That will create a a.outfile in the current fo... | <|file_sep|>README.md.diff
original:
To build the compiler, you need to install the [eddi-commons](http://github.com/wichtounet/eddi-commons/) library.
Then, you juste have to use cmake to build the compiler :
updated:
You juste have to use cmake to build the compiler :
<|file_sep|>original/README.md
Then, you just... | 8c45191ac6ef452308664d8a2dfae0d2ab4146e9 | README.md | README.md | Markdown |
<|file_sep|>original/app/controllers/api/v1/performances_controller.rb
module Api::V1
class PerformancesController < Api::ApiController
def index
competition = Competition.find(params[:competition_id])
@venue = Venue.find(params[:venue_id])
# Parse given date assuming competition's local time z... | module Api::V1
class PerformancesController < Api::ApiController
def index
competition = Competition.find(params[:competition_id])
@venue = Venue.find(params[:venue_id])
# Parse given date assuming competition's local time zone
local_tz = competition.host.time_zone
@date = local_tz.... | <|file_sep|>original/app/controllers/api/v1/performances_controller.rb
module Api::V1
class PerformancesController < Api::ApiController
def index
competition = Competition.find(params[:competition_id])
@venue = Venue.find(params[:venue_id])
# Parse given date assuming competition's local time z... | dd651919e67aa459d209f01fb70eab4ce271b193 | app/controllers/api/v1/performances_controller.rb | app/controllers/api/v1/performances_controller.rb | Ruby |
<|file_sep|>tools/dev/run.sh.diff
original:
go get github.com/skelterjohn/rerun
updated:
go get -u -a github.com/skelterjohn/rerun
<|file_sep|>original/tools/dev/run.sh
#!/bin/sh
# install rerun
go get github.com/skelterjohn/rerun
# get dev-tool dependencies
go get github.com/GeertJohan/ango/tools/dev
# run dev-tool... | #!/bin/sh
# install rerun
go get -u -a github.com/skelterjohn/rerun
# get dev-tool dependencies
go get -u -a github.com/GeertJohan/ango/tools/dev
# run dev-tool
go run tools/dev/*.go | <|file_sep|>tools/dev/run.sh.diff
original:
go get github.com/skelterjohn/rerun
updated:
go get -u -a github.com/skelterjohn/rerun
<|file_sep|>original/tools/dev/run.sh
#!/bin/sh
# install rerun
go get github.com/skelterjohn/rerun
# get dev-tool dependencies
go get github.com/GeertJohan/ango/tools/dev
# run dev-tool... | 872267d1da7c247d62c1313f3ec4dfa6ad84e058 | tools/dev/run.sh | tools/dev/run.sh | Shell |
<|file_sep|>original/scss/_choose-an-avatar.scss
.avatar {
@extend %main-content;
}
.avatar__text {
@extend %main-text;
margin: 0;
@media screen and (min-width: 768px) {
margin: 40px 0;
}
}
.avatar__title {
padding: 0 20px;
}
.carousel {
height: $medium-image * 2;
perspective: 200px;
<|file_s... | .avatar {
@extend %main-content;
& + .buttons {
text-align: center;
background-color: $dark-blue;
padding: 10px 0;
@media screen and (min-width: 768px) {
width: 40%;
}
.button {
background-color: $transparent;
}
}
}
.avatar__text {
@extend %main-text;
margin: 0; | <|file_sep|>original/scss/_choose-an-avatar.scss
.avatar {
@extend %main-content;
}
.avatar__text {
@extend %main-text;
margin: 0;
@media screen and (min-width: 768px) {
margin: 40px 0;
}
}
.avatar__title {
padding: 0 20px;
}
.carousel {
height: $medium-image * 2;
perspective: 200px;
<|file_s... | 50f416ca27d7ec69ca6fa7eca3550010082e2b63 | scss/_choose-an-avatar.scss | scss/_choose-an-avatar.scss | SCSS |
<|file_sep|>Harmony/Transpilers.cs.diff
original:
updated:
using System;
<|file_sep|>original/Harmony/Transpilers.cs
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstructi... | using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode? callOpcode = null)
{
... | <|file_sep|>Harmony/Transpilers.cs.diff
original:
updated:
using System;
<|file_sep|>original/Harmony/Transpilers.cs
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstructi... | fb3bac68a370747344b5b28cba8fae93abe59f70 | Harmony/Transpilers.cs | Harmony/Transpilers.cs | C# |
<|file_sep|>Source/server.swift.diff
original:
let deadline = 5.seconds.fromNow()
updated:
<|file_sep|>Source/server.swift.diff
original:
let (buffer, _) = try socket.read(upTo: 4096, deadline: deadline)
updated:
let (buffer, _) = try socket.read(upTo: 1536, deadline: .never)
<|file_sep|>original/... | // override
public func dispatch(message: OSCMessage) {
dispatcher.dispatch(message: message)
}
public func listen() {
while true {
do {
let (buffer, _) = try socket.read(upTo: 1536, deadline: .never)
let msg = OSCMessage(data: buffer.bytes )
/// might crash during dispa... | <|file_sep|>Source/server.swift.diff
original:
let deadline = 5.seconds.fromNow()
updated:
<|file_sep|>Source/server.swift.diff
original:
let (buffer, _) = try socket.read(upTo: 4096, deadline: deadline)
updated:
let (buffer, _) = try socket.read(upTo: 1536, deadline: .never)
<|file_sep|>original/... | 2af223b6c6acae6b8b7d9677a8c196031e66edd7 | Source/server.swift | Source/server.swift | Swift |
<|file_sep|>original/vim/plugin/settings/window-killer.vim
" Use Q to intelligently close a window
" (if there are multiple windows into the same buffer)
" or kill the buffer entirely if it's the last window looking into that buffer
function! CloseWindowOrKillBuffer()
if(bufwinnr('%')) > 1
wincmd c
else
bd... | " Use Q to intelligently close a window
" (if there are multiple windows into the same buffer)
" or kill the buffer entirely if it's the last window looking into that buffer
function! CloseWindowOrKillBuffer()
let number_of_windows_to_this_buffer = len(filter(range(1, winnr('$')), "winbufnr(v:val) == bufnr('%')"))
... | <|file_sep|>original/vim/plugin/settings/window-killer.vim
" Use Q to intelligently close a window
" (if there are multiple windows into the same buffer)
" or kill the buffer entirely if it's the last window looking into that buffer
function! CloseWindowOrKillBuffer()
if(bufwinnr('%')) > 1
wincmd c
else
bd... | 5716eaa23974997fae9ac9a5d44293319d07b6a4 | vim/plugin/settings/window-killer.vim | vim/plugin/settings/window-killer.vim | VimL |
<|file_sep|>original/lib/socializer/engine.rb
routing_specs: true,
controller_specs: true,
request_specs: true
generator.helper false
generator.integration_tool :rspec
generator.fixture_replacement :factory_bo... | routing_specs: true,
controller_specs: true,
request_specs: true
generator.helper false
generator.integration_tool :rspec
generator.fixture_replacement :factory_bot, dir: "spec/factories"
end
initiali... | <|file_sep|>original/lib/socializer/engine.rb
routing_specs: true,
controller_specs: true,
request_specs: true
generator.helper false
generator.integration_tool :rspec
generator.fixture_replacement :factory_bo... | 703f836e7b1d8a5321275d6ec3d062f54d359f5e | lib/socializer/engine.rb | lib/socializer/engine.rb | Ruby |
<|file_sep|>original/ideascaly/utils.py
def parse_a_href(atag):
start = atag.find('"') + 1
end = atag.find('"', start)
return atag[start:end]
def convert_to_utf8_str(arg):
# written by Michael Norton (http://docondev.blogspot.com/)
if isinstance(arg, six.text_type):
arg = arg.encode('utf... |
def parse_a_href(atag):
start = atag.find('"') + 1
end = atag.find('"', start)
return atag[start:end]
def convert_to_utf8_str(arg):
# written by Michael Norton (http://docondev.blogspot.com/)
if isinstance(arg, bytes):
arg = arg.decode('ascii')
if isinstance(arg, six.text_type):
... | <|file_sep|>original/ideascaly/utils.py
def parse_a_href(atag):
start = atag.find('"') + 1
end = atag.find('"', start)
return atag[start:end]
def convert_to_utf8_str(arg):
# written by Michael Norton (http://docondev.blogspot.com/)
if isinstance(arg, six.text_type):
arg = arg.encode('utf... | 0163e8821288db826b595051a6312b19c66e05f0 | ideascaly/utils.py | ideascaly/utils.py | Python |
<|file_sep|>original/packages/system/public/views/index.html
<section data-ng-controller="IndexController">
<h1 style="margin-bottom: 20px;">Manage an online personal diary</h1>
<p style="text-align: center;" data-ng-hide="global.authenticated">Create, edit, and view diary entries online with this web application! If... | <section data-ng-controller="IndexController">
<h1 style="margin-bottom: 30px;">Manage an online personal diary</h1>
<p style="text-align: center;">Create, edit, and view diary entries online with this web application!</p>
</section> | <|file_sep|>original/packages/system/public/views/index.html
<section data-ng-controller="IndexController">
<h1 style="margin-bottom: 20px;">Manage an online personal diary</h1>
<p style="text-align: center;" data-ng-hide="global.authenticated">Create, edit, and view diary entries online with this web application! If... | 4eeece38dd4161d434104886766cc441605db46b | packages/system/public/views/index.html | packages/system/public/views/index.html | HTML |
<|file_sep|>original/src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distribu... | // You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See ... | <|file_sep|>original/src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distribu... | d81771bf145e7e0de2e8734a962b21611429be56 | src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs | src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs | C# |
<|file_sep|>original/config/export_config.sh
#!/bin/bash
echo "Exporting configuration..."
echo "Updating Atom package list..."
apm ls --installed --bare | grep -oP '[a-z0-9\-]+(?=@)' > ./atom/packages.txt
<|file_sep|>current/config/export_config.sh
#!/bin/bash
echo "Exporting configuration..."
echo "Updating Atom ... | #!/bin/bash
echo "Exporting configuration..."
echo "Updating Atom package list..."
apm ls --installed --bare | grep -oP '(.+)(?=@)' > ./atom/packages.txt | <|file_sep|>original/config/export_config.sh
#!/bin/bash
echo "Exporting configuration..."
echo "Updating Atom package list..."
apm ls --installed --bare | grep -oP '[a-z0-9\-]+(?=@)' > ./atom/packages.txt
<|file_sep|>current/config/export_config.sh
#!/bin/bash
echo "Exporting configuration..."
echo "Updating Atom ... | 7bdf1f29a0d472da6a68a361e095d98563dd96f4 | config/export_config.sh | config/export_config.sh | Shell |
<|file_sep|>original/VIDEOS.md
# Videos
## Deep Dives
* [Button](https://www.youtube.com/watch?v=xt_RufAnVvk)
* [PropProvider/propConnect](https://www.youtube.com/watch?v=eRq2DyAxMxo)
* [Portal](https://www.youtube.com/watch?v=6QWxh4-akRE)
## Live Coding
* [ESC Stack Handling](https://youtu.be/MK8fNPs5mE0)
* [Input... | # Videos
## Deep Dives
* [Button](https://www.youtube.com/watch?v=xt_RufAnVvk)
* [Event Handling](https://www.youtube.com/watch?v=9wQxdl4Ao3U)
* [PropProvider/propConnect](https://www.youtube.com/watch?v=eRq2DyAxMxo)
* [Portal](https://www.youtube.com/watch?v=6QWxh4-akRE)
## Live Coding
* [ESC Stack Handling](https... | <|file_sep|>original/VIDEOS.md
# Videos
## Deep Dives
* [Button](https://www.youtube.com/watch?v=xt_RufAnVvk)
* [PropProvider/propConnect](https://www.youtube.com/watch?v=eRq2DyAxMxo)
* [Portal](https://www.youtube.com/watch?v=6QWxh4-akRE)
## Live Coding
* [ESC Stack Handling](https://youtu.be/MK8fNPs5mE0)
* [Input... | 20cd43e31a6c1ae246b78c8d576374df16cf26d5 | VIDEOS.md | VIDEOS.md | Markdown |
<|file_sep|>original/.travis.yml
language: php
php:
- "5.3"
- "5.4"
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
before_script:
- composer install --dev
script:
- (cd test ; phpunit -c phpunit.xml)
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; ... | language: php
php:
- "5.3"
- "5.4"
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
before_script:
- composer install --dev
script:
- (cd test ; vendor/bin/phpunit -c phpunit.xml)
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then while read -r lin... | <|file_sep|>original/.travis.yml
language: php
php:
- "5.3"
- "5.4"
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
before_script:
- composer install --dev
script:
- (cd test ; phpunit -c phpunit.xml)
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; ... | 5ac225bf50af5f3bec921b590b163ba97aad525f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb
<|file_sep|>current/core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb
<|file_sep|>updated/core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb | class AddTimestampsToSpreePrices < ActiveRecord::Migration[5.2]
def up
add_timestamps :spree_prices, default: Time.current
change_column_default :spree_prices, :created_at, nil
change_column_default :spree_prices, :updated_at, nil
end
def down
remove_column :spree_prices, :created_at
remove_c... | <|file_sep|>original/core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb
<|file_sep|>current/core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb
<|file_sep|>updated/core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb
class AddTimestampsToSpreePrices < ActiveRecord::Migration[5.2... | 8ed042c39a2245f17c5e3c9480393b699d47b1b5 | core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb | core/db/migrate/20180915160001_add_timestamps_to_spree_prices.rb | Ruby |
<|file_sep|>original/app/models/account.js
uid: { type: String, default: ''},
// Could this be better?
//user: { type: Schema.Types.ObjectId, ref: 'User' },
// Is email duplicated with User?
email: { type: String, default: ''},
tokens: {
kind : {type: String, default: ''},
... | uid: { type: String, default: ''},
// Could this be better?
//user: { type: Schema.Types.ObjectId, ref: 'User' },
// Is email duplicated with User?
email: { type: String, default: ''},
tokens: {
kind : {type: String, default: ''},
token : {type: String, default:... | <|file_sep|>original/app/models/account.js
uid: { type: String, default: ''},
// Could this be better?
//user: { type: Schema.Types.ObjectId, ref: 'User' },
// Is email duplicated with User?
email: { type: String, default: ''},
tokens: {
kind : {type: String, default: ''},
... | 609e022fe21ca52f678c04bddd4a150e9f112787 | app/models/account.js | app/models/account.js | JavaScript |
<|file_sep|>original/.travis.yml
# travis-ci config for pipdeptree
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
addons:
apt:
packages:
- graphviz
before_install:
- pip install -U pip>=8.0.2
- make test-env
install: pip install .
script: py.test -v
after_script: m... |
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
addons:
apt:
packages:
- graphviz
before_install:
- pip install -U pip>=8.0.2
- pip install graphviz
- make test-env
install: pip install .
script: py.test -v
after_script: make clean clean-env
sudo: false | <|file_sep|>original/.travis.yml
# travis-ci config for pipdeptree
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
addons:
apt:
packages:
- graphviz
before_install:
- pip install -U pip>=8.0.2
- make test-env
install: pip install .
script: py.test -v
after_script: m... | 3c3df7f82ca086047d35840c1a14fc4da056cc7f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/genmb_test.py
<|file_sep|>current/tests/genmb_test.py
<|file_sep|>updated/tests/genmb_test.py | """Tests for the general many-body problem."""
import pytest
from sympy import IndexedBase
from drudge import GenMBDrudge, CR, AN
@pytest.fixture(scope='module')
def genmb(spark_ctx):
"""Initialize the environment for a free algebra."""
dr = GenMBDrudge(spark_ctx)
return dr
def test_genmb_has_basic_p... | <|file_sep|>original/tests/genmb_test.py
<|file_sep|>current/tests/genmb_test.py
<|file_sep|>updated/tests/genmb_test.py
"""Tests for the general many-body problem."""
import pytest
from sympy import IndexedBase
from drudge import GenMBDrudge, CR, AN
@pytest.fixture(scope='module')
def genmb(spark_ctx):
"""In... | 307071147378990f1b038c0c29adb6d7f1ec8939 | tests/genmb_test.py | tests/genmb_test.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.